You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance task reconciler logging and migrate shared mocks
• Add tool ID to interpreter args and result logging for tool call context tracking
• Refactor interpreter result logging to output structured JSON with tool ID and content fields
• Migrate CommandRunner and UserInfo mocks from frontend/cli/cmd/mocks to shared/mocks for cross-package reusability
• Update test imports in daemon_install_test, root_test, and task_list_test
• Enhance task_list_test request matching with CmpEqual helper and protocol buffer comparison
• Update agent names in model_provider_test (coder → edit, architect → plan)
• Add quick agent to default agent list
This improves tool call debuggability through granular logging, enables mock
reuse across packages, and strengthens test reliability with better request
matching.
Co-authored-by: construct-agent <noreply@construct.sh>
Copy file name to clipboardExpand all lines: backend/tool/codeact/read_file.go
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,7 @@ Returns an object containing the file content as a string:
26
26
}
27
27
%[1]s
28
28
29
-
If the file doesn't exist or cannot be read, it will throw an exception describing the issue. The content will be returned with line numbers prefixed to each line.
30
-
The line numbers are not part of the actual file content, they are just for you to understand the file structure.
29
+
If the file doesn't exist or cannot be read, it will throw an exception describing the issue.
31
30
32
31
When reading a specific line range, the content will include context comments:
33
32
- %[2]s// skipped X lines%[2]s at the beginning if start_line > 1
0 commit comments