@askalf/dario 3.13.0 → 3.13.1

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.
Files changed (2) hide show
  1. package/dist/cc-template.js +10 -10
  2. package/package.json +1 -1
@@ -154,28 +154,28 @@ const TOOL_MAP = {
154
154
  },
155
155
  read: {
156
156
  ccTool: 'Read',
157
- translateArgs: (a) => ({ file_path: a.path || a.file_path || '' }),
158
- translateBack: (a) => ({ path: a.file_path ?? '' }),
157
+ translateArgs: (a) => ({ file_path: a.filePath || a.path || a.file_path || '' }),
158
+ translateBack: (a) => ({ path: a.file_path ?? '', filePath: a.file_path ?? '' }),
159
159
  },
160
160
  read_file: {
161
161
  ccTool: 'Read',
162
- translateArgs: (a) => ({ file_path: a.path || a.file_path || '' }),
163
- translateBack: (a) => ({ path: a.file_path ?? '' }),
162
+ translateArgs: (a) => ({ file_path: a.filePath || a.path || a.file_path || '' }),
163
+ translateBack: (a) => ({ path: a.file_path ?? '', filePath: a.file_path ?? '' }),
164
164
  },
165
165
  write: {
166
166
  ccTool: 'Write',
167
- translateArgs: (a) => ({ file_path: a.path || a.file_path || '', content: a.content || '' }),
168
- translateBack: (a) => ({ path: a.file_path ?? '', content: a.content ?? '' }),
167
+ translateArgs: (a) => ({ file_path: a.filePath || a.path || a.file_path || '', content: a.content || '' }),
168
+ translateBack: (a) => ({ path: a.file_path ?? '', filePath: a.file_path ?? '', content: a.content ?? '' }),
169
169
  },
170
170
  write_file: {
171
171
  ccTool: 'Write',
172
- translateArgs: (a) => ({ file_path: a.path || a.file_path || '', content: a.content || '' }),
173
- translateBack: (a) => ({ path: a.file_path ?? '', content: a.content ?? '' }),
172
+ translateArgs: (a) => ({ file_path: a.filePath || a.path || a.file_path || '', content: a.content || '' }),
173
+ translateBack: (a) => ({ path: a.file_path ?? '', filePath: a.file_path ?? '', content: a.content ?? '' }),
174
174
  },
175
175
  edit: {
176
176
  ccTool: 'Edit',
177
- translateArgs: (a) => ({ file_path: a.path || a.file_path || '', old_string: a.old || a.old_string || '', new_string: a.new || a.new_string || '' }),
178
- translateBack: (a) => ({ path: a.file_path ?? '', old: a.old_string ?? '', new: a.new_string ?? '' }),
177
+ translateArgs: (a) => ({ file_path: a.filePath || a.path || a.file_path || '', old_string: a.oldString || a.old || a.old_string || '', new_string: a.newString || a.new || a.new_string || '' }),
178
+ translateBack: (a) => ({ path: a.file_path ?? '', filePath: a.file_path ?? '', old: a.old_string ?? '', oldString: a.old_string ?? '', new: a.new_string ?? '', newString: a.new_string ?? '' }),
179
179
  },
180
180
  edit_file: { ccTool: 'Edit' },
181
181
  glob: { ccTool: 'Glob' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@askalf/dario",
3
- "version": "3.13.0",
3
+ "version": "3.13.1",
4
4
  "description": "A local LLM router. One endpoint, every provider — Claude subscriptions, OpenAI, OpenRouter, Groq, local LiteLLM, any OpenAI-compat endpoint — your tools don't need to change.",
5
5
  "type": "module",
6
6
  "bin": {