consciousness/poc-agent/src
Kent Overstreet b22d836287 refactor: extract tool call parsing into parsing.rs
Move parse_leaked_tool_calls, strip_leaked_artifacts, and their
helpers (normalize_xml_tags, parse_qwen_tag, parse_xml_tool_call,
parse_json_tool_call) from agent.rs into their own module.

These functions have zero dependency on Agent or ContextState —
they're pure text parsing. All 4 existing tests move with them.

Reduces agent.rs by ~200 lines.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Qwen 3.5 27B <noreply@qwen.ai>
2026-03-21 15:29:45 -04:00
..
api api: use debug formatting for reqwest errors to show full cause chain 2026-03-21 12:19:40 -04:00
tools refactor: clean up tool dispatch and extract helpers 2026-03-21 15:18:53 -04:00
agent.rs refactor: extract tool call parsing into parsing.rs 2026-03-21 15:29:45 -04:00
cli.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
config.rs cleanup: fix all build warnings, delete dead DMN context code 2026-03-20 14:20:34 -04:00
dmn.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
journal.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
lib.rs Add lib target to poc-agent, make poc-memory depend on it 2026-03-18 22:56:48 -04:00
log.rs cleanup: fix all build warnings, delete dead DMN context code 2026-03-20 14:20:34 -04:00
main.rs refactor: extract tool call parsing into parsing.rs 2026-03-21 15:29:45 -04:00
observe.rs Move poc-agent into workspace, improve agent prompts 2026-03-18 22:45:01 -04:00
parsing.rs refactor: extract tool call parsing into parsing.rs 2026-03-21 15:29:45 -04:00
tui.rs tui: fix scroll by using Paragraph::line_count() 2026-03-20 12:16:35 -04:00
types.rs cleanup: fix all build warnings, delete dead DMN context code 2026-03-20 14:20:34 -04:00
ui_channel.rs cleanup: fix all build warnings, delete dead DMN context code 2026-03-20 14:20:34 -04:00