@causyne/agent 1.20.28 → 1.20.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@causyne/agent",
3
- "version": "1.20.28",
3
+ "version": "1.20.29",
4
4
  "description": "Agentic AI for software, tools, and computer workflows",
5
5
  "main": "bin/causyne.js",
6
6
  "type": "module",
@@ -67,9 +67,10 @@ export function compileToolObservation(params) {
67
67
  }
68
68
  }
69
69
  const rawPath = String(args.path ?? args.file_path ?? args.filePath ?? args.target ?? '').trim();
70
- const relPath = rawPath && workspace
70
+ const rawRel = rawPath && workspace
71
71
  ? (path.isAbsolute(rawPath) ? path.relative(workspace, rawPath) : rawPath)
72
72
  : rawPath;
73
+ const relPath = rawRel ? rawRel.replace(/\\/g, '/') : '';
73
74
  const lowerTool = normalizedTool.toLowerCase();
74
75
  // 1. File mutations (fs_write, fs_edit, MultiEdit, write_file, edit_file)
75
76
  if (['fs_write', 'fs_edit', 'multiedit', 'write_file', 'edit_file', 'replace_file_content', 'write', 'edit'].includes(lowerTool)) {
@@ -133,9 +133,10 @@ export function compileToolObservation(params: {
133
133
  const rawPath = String(
134
134
  args.path ?? args.file_path ?? args.filePath ?? args.target ?? ''
135
135
  ).trim();
136
- const relPath = rawPath && workspace
136
+ const rawRel = rawPath && workspace
137
137
  ? (path.isAbsolute(rawPath) ? path.relative(workspace, rawPath) : rawPath)
138
138
  : rawPath;
139
+ const relPath = rawRel ? rawRel.replace(/\\/g, '/') : '';
139
140
 
140
141
  const lowerTool = normalizedTool.toLowerCase();
141
142