module Riffer::Rig::Commands::Trace::Replay
Constants
- CONTROL
-
Prompts, prose and tool arguments are replayed verbatim, and hosts print command output raw: anything but tabs and newlines could drive a terminal. - LABEL_WIDTH
- SILENCE_THRESHOLD
- TIME_FORMAT
- UNSTAMPED
Public Instance Methods
(Array[Riffer::Rig::Stores::entry] entries) → Array[String]
Source
# File lib/riffer/rig/commands/trace/replay.rb, line 17 def lines(entries) turn = last_turn(entries) turn.zip([nil, *turn]).flat_map { |entry, previous| [silence(previous, entry), *activity(entry)] }.compact end