mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
f96bde68b341823009233a0e7c72a51c45ba918c
Detect exec_command events with parsed_cmd.type === "read" and emit read_file timeline items instead of shell command items. This allows file reads (via cat, head, tail, etc.) to appear properly in the UI as file operations rather than generic shell commands. Changes: - Add ParsedCmdItemSchema for parsed_cmd array items - Add parsed_cmd field to ExecCommandBeginEventSchema and ExecCommandEndEventSchema - Add extractFileReadFromParsedCmd helper to detect file reads - Update exec_command_begin/end handlers to emit read_file timeline items - Update test prompt to allow cat-based file reads - Fix test assertion to find completed (not running) read_file calls 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Languages
TypeScript
98.1%
JavaScript
1.3%
Shell
0.1%
Swift
0.1%