Expand description
zig continue — re-open the most recent step’s agent conversation
from the latest zig run.
Resolves a target zig session from the per-project session index
(~/.zig/projects/<id>/logs/index.json), reads its JSONL log to find
the last StepStarted event, and hands the recorded zag_session_id
to zag_agent::builder::AgentBuilder::resume for an interactive
resume of that step’s conversation.
This MVP intentionally does not replay workflow orchestration: skipping
completed steps would lose their saves outputs, so any later step
depending on them would have undefined variables. Real orchestration
replay needs persisted variable state, which is a separate change.
Structs§
- Continue
Options - Options for
zig continue. - Resume
Target - Resolved target for resumption.
Functions§
- continue_
run - Resume the most recent step’s agent session interactively. The terminal attaches to the resumed conversation; type follow-ups directly there.
- resolve
- Resolve which zag session to resume based on
opts. - resolve_
from_ log - Internal helper exposed for tests: given an already-loaded index entry
and its log path, pull out the last
StepStarted’s zag session id.