Highlights
Reasoning-mode model support
- Preserve
reasoning/reasoning_content/reasoning_detailsacross turns so reasoning-mode models (e.g. DeepSeek v4-flash) no longer collapse into malformed text-shaped tool calls. - Merge streamed
reasoning_detailsfragments byindexto avoid duplicated/partial blocks. - Normalize
reasoning_contentacross assistant messages at send time, including post-compaction history. - Refactored to an opaque
extrasdict so future provider-specific fields (Anthropic thinking blocks, etc.) can be added without signature churn.
New extension surfaces
llm:requestandllm:chunkevents for wire-level observability (seeexamples/extensions/wire-log.ts).tool-protocol:extract-callsadvisable hook for custom tool-call extraction.
TUI fixes
- Render orphaned grouped-tool completions under a
(cont.)header. - Eagerly finalize tool groups when all members complete.
- Stop the spinner before rendering group aggregates / cont. headers (fixes overlap).
- ⎿ labels prefer
displayDetail(path / pattern) over the raw tool name.
Subagents
- Budget subagents by completion tokens instead of prompt+completion (fixes premature exhaustion after a few iterations).
Terminal passthrough & startup (#84)
- Parse OSC responses in stdin so tmux queries don't leak into bash.
- Extend string-sequence passthrough to DCS / APC / PM.
- Keep the startup banner in sync with the persisted default model.
- Preserve active mode when a provider re-registration drops it.
- Surface a warning when a saved model is missing from a provider's refreshed catalog.
Robustness
- Recover from tool throws and tighten the auth-error classifier (#82).
- Hard-fail at startup when no agent backend is available, instead of silently degrading (#83).
- Drop ctrl+t thinking label and simplify the OpenRouter default.
Docs
- Reframe README intro as a personal, complementary tool; drop upfront Claude Code name-drop.
agent-sh -e ...instead of dev-onlynpm start --in extension docs; fix staleExtensionContextimport path.- Add an "Updating" section to the usage guide.
Updating: npm install -g github:guanyilun/agent-sh