mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
The test was failing because it was checking for tool data in a `raw` field that no longer exists in the AgentToolCallData interface. The interface now uses a `result` field instead of `raw`. Updated all references from `snapshot.data.raw` to `snapshot.data.result` to match the current AgentToolCallData structure defined in packages/app/src/types/stream.ts: - Changed editTool search to use rawContainsText(snapshot.data.result, ...) - Changed readTool search to use rawContainsText(snapshot.data.result, ...) - Updated assertHydratedReplica callbacks to check data.result instead of data.raw - Removed fallback checks for data.raw since that field doesn't exist This appears to be a result of a refactoring where the `raw` field was renamed to `result` in the AgentToolCallData interface, but the test wasn't updated to match the new structure. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>