mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
9993c73f90bd206b0d60bc8f88c1ea92ea185fd3
The test was failing because it only checked for file changes in a structured `output.files` array, but the actual implementation returns file changes in different formats depending on the tool type. The test now checks for file changes in two ways: 1. Structured `output.files` array (original check) 2. Structured tool outputs with `type: "file_write"` or `type: "file_edit"` which include a `filePath` field This matches how the claude-agent implementation structures tool results in the `buildStructuredToolResult` method (lines 1081-1162), which creates different output structures for file write/edit tools that include the filePath directly in the output object rather than in a files array. The test now properly detects when Claude creates files using either: - Legacy file change tracking via output.files array - Modern structured outputs for write_file/edit_file tools 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Languages
TypeScript
98.1%
JavaScript
1.3%
Shell
0.1%
Swift
0.1%