Skip to content

feat: stream Headless progress with resolved identity - #2

Merged
RobertTLange merged 5 commits into
mainfrom
term_stream
Apr 30, 2026
Merged

feat: stream Headless progress with resolved identity#2
RobertTLange merged 5 commits into
mainfrom
term_stream

Conversation

@RobertTLange

Copy link
Copy Markdown
Owner

What changed

  • Stream concise timestamped Headless progress to stderr for normal agent runs.
  • Parse Headless JSON traces for final answers, usage, and tool-call summaries across supported agents.
  • Label progress as ask[agent-model-reasoning], resolving auto via Headless --print-command and Codex config defaults where available.
  • Recover stale/orphaned staged-workspace locks after interrupted runs.

Why

This makes long-running ask calls observable without changing stdout or JSON output, while avoiding stale workspace lock crashes from interrupted runs.

How to test

  • npm test
  • git diff --check
  • npm install -g .

@RobertTLange
RobertTLange merged commit 837fa40 into main Apr 30, 2026
2 checks passed
@RobertTLange
RobertTLange deleted the term_stream branch April 30, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant