ultraworkers-claw-code/rust/crates/tools
Yeachan-Heo 4c1eaa16e0 Ignore reasoning blocks in runtime adapters without affecting tool/text flows
After the parser can accept thinking-style blocks, the CLI and tools adapters must explicitly ignore them so only user-visible text and tool calls drive runtime behavior. This keeps reasoning metadata from surfacing as text or interfering with tool accumulation.

Constraint: Runtime behavior must remain unchanged for normal text/tool streaming
Rejected: Treat thinking blocks as assistant text | would leak hidden reasoning into visible output and session flow
Confidence: high
Scope-risk: narrow
Directive: If future features need persisted reasoning blocks, add a dedicated runtime representation instead of overloading text handling
Tested: cargo test -p rusty-claude-cli response_to_events_ignores_thinking_blocks -- --nocapture; cargo test -p tools response_to_events_ignores_thinking_blocks -- --nocapture
Not-tested: End-to-end interactive run against a live thinking-enabled model
2026-04-01 08:06:10 +00:00
..
src Ignore reasoning blocks in runtime adapters without affecting tool/text flows 2026-04-01 08:06:10 +00:00
.gitignore Polish Agent defaults and ignore crate-local agent artifacts 2026-03-31 20:46:06 +00:00
Cargo.toml feat: plugin subsystem progress 2026-04-01 07:11:25 +00:00