claw-code-parity/rust/crates
Yeachan-Heo be2bce7f8e 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 claw-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
..
api Accept reasoning-style content blocks in the Rust API parser 2026-04-01 08:06:10 +00:00
commands feat: plugin hooks + tool registry + CLI integration 2026-04-01 07:11:42 +00:00
compat-harness wip: plugins progress 2026-04-01 07:09:06 +00:00
plugins Harden installed-plugin discovery against stale registry state 2026-04-01 07:34:55 +00:00
runtime feat: plugin hooks + tool registry + CLI integration 2026-04-01 07:11:42 +00:00
rusty-claude-cli Ignore reasoning blocks in runtime adapters without affecting tool/text flows 2026-04-01 08:06:10 +00:00
tools Ignore reasoning blocks in runtime adapters without affecting tool/text flows 2026-04-01 08:06:10 +00:00