auto-model-router 0.4.8 → 0.4.10

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.
@@ -0,0 +1,487 @@
1
+ {
2
+ "harness": "kilo",
3
+ "capturedAtMs": 1788826917773,
4
+ "headers": {
5
+ "content-type": "application/json",
6
+ "user-agent": "Kilo-Code/7.5.15 ai-sdk/provider-utils/4.0.27 runtime/bun/1.3.14",
7
+ "x-omp-harness": "kilo",
8
+ "x-title": "Kilo Code",
9
+ "http-referer": "https://kilocode.ai"
10
+ },
11
+ "body": {
12
+ "model": "auto",
13
+ "max_tokens": 32000,
14
+ "messages": [
15
+ {
16
+ "role": "system",
17
+ "content": "You are Kilo, a highly skilled software engineer with extensive knowledge in many programming languages, frameworks, design patterns, and best practices.\n\n# Personality\n\n- Your goal is to accomplish the user's task, NOT engage in a back and forth conversation.\n- You accomplish tasks iteratively, breaking them down into clear steps and working through them methodically.\n- Do not ask for more inform\u00e2\u20ac\u00a6[12544 chars]"
18
+ },
19
+ {
20
+ "role": "user",
21
+ "content": [
22
+ {
23
+ "type": "text",
24
+ "text": "\"Reply with the single word ok\""
25
+ },
26
+ {
27
+ "type": "text",
28
+ "text": "\n\n<environment_details>\nMessage time: 2026-09-08T00:21:52Z\nWorking directory: C:\\Users\\drewa\\AppData\\Local\\Temp\\kilo-amr\nWorkspace root folder: C:\\\n</environment_details>"
29
+ }
30
+ ]
31
+ }
32
+ ],
33
+ "tools": [
34
+ {
35
+ "type": "function",
36
+ "function": {
37
+ "name": "background_process",
38
+ "description": "Run and manage long-running background processes.\n\nUse this tool only for processes that must keep running independently after this tool call returns, such as development servers, file watchers, local services, and test watchers (`npm run dev`, `next dev`, `vite`, or `bun --watch`).\n\nThis tool cannot wait: `start` returns immediately and never blocks your turn. Do not start `sleep`, timers, cooldo\u00e2\u20ac\u00a6[2229 chars]",
39
+ "parameters": {
40
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
41
+ "type": "object",
42
+ "properties": {
43
+ "action": {
44
+ "type": "string",
45
+ "enum": [
46
+ "start",
47
+ "list",
48
+ "status",
49
+ "logs",
50
+ "stop",
51
+ "restart"
52
+ ],
53
+ "description": "Operation to perform"
54
+ },
55
+ "command": {
56
+ "type": "string",
57
+ "description": "Required for start. Command to run as a tracked background process."
58
+ },
59
+ "id": {
60
+ "type": "string",
61
+ "description": "Required for status, logs, stop, and restart"
62
+ },
63
+ "workdir": {
64
+ "type": "string",
65
+ "description": "Working directory for start. Defaults to the project directory."
66
+ },
67
+ "description": {
68
+ "type": "string",
69
+ "description": "Short label shown in the sidebar"
70
+ },
71
+ "ready": {
72
+ "type": "object",
73
+ "properties": {
74
+ "pattern": {
75
+ "type": "string"
76
+ },
77
+ "port": {
78
+ "minimum": -9007199254740991,
79
+ "exclusiveMinimum": 0,
80
+ "type": "integer",
81
+ "maximum": 9007199254740991
82
+ },
83
+ "timeout": {
84
+ "minimum": -9007199254740991,
85
+ "exclusiveMinimum": 0,
86
+ "type": "integer",
87
+ "maximum": 9007199254740991
88
+ }
89
+ },
90
+ "description": "Optional readiness probe for start"
91
+ },
92
+ "inherit": {
93
+ "type": "boolean",
94
+ "description": "For subagents only: transfer the process to the parent session when this session ends"
95
+ },
96
+ "persistent": {
97
+ "type": "boolean",
98
+ "description": "Keep the process running and manageable after the session or Kilo exits"
99
+ }
100
+ },
101
+ "required": [
102
+ "action"
103
+ ]
104
+ }
105
+ }
106
+ },
107
+ {
108
+ "type": "function",
109
+ "function": {
110
+ "name": "bash",
111
+ "description": "Executes a given command in a persistent shell session with optional timeout, ensuring proper handling and security measures.\n\nBe aware: OS: win32, Shell: bash\n\nAll commands run in the current working directory by default. Use the `workdir` parameter if you need to run a command in a different directory. AVOID using `cd <directory> && <command>` patterns - use `workdir` instead.\n\nUse `C:\\Users\\dre\u00e2\u20ac\u00a6[5099 chars]",
112
+ "parameters": {
113
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
114
+ "type": "object",
115
+ "properties": {
116
+ "command": {
117
+ "type": "string",
118
+ "description": "The command to execute"
119
+ },
120
+ "timeout": {
121
+ "minimum": -9007199254740991,
122
+ "exclusiveMinimum": 0,
123
+ "type": "integer",
124
+ "maximum": 9007199254740991,
125
+ "description": "Optional timeout in milliseconds"
126
+ },
127
+ "workdir": {
128
+ "type": "string",
129
+ "description": "The working directory to run the command in. Defaults to the current directory. Use this instead of 'cd' commands."
130
+ },
131
+ "description": {
132
+ "type": "string",
133
+ "description": "Recommended: a clear, concise description of what this command does in 5-10 words. Examples:\nInput: ls\nOutput: Lists files in current directory\n\nInput: git status\nOutput: Shows working tree status\n\nInput: npm install\nOutput: Installs package dependencies\n\nInput: mkdir foo\nOutput: Creates directory 'foo'"
134
+ }
135
+ },
136
+ "required": [
137
+ "command"
138
+ ]
139
+ }
140
+ }
141
+ },
142
+ {
143
+ "type": "function",
144
+ "function": {
145
+ "name": "edit",
146
+ "description": "Performs exact string replacements in files. \n\nUsage:\n- You must use your `Read` tool at least once in the conversation before editing. This tool will error if you attempt an edit without reading the file. \n- When editing text from Read tool output, ensure you preserve the exact indentation (tabs/spaces) as it appears AFTER the line number prefix. The line number prefix format is: line number + co\u00e2\u20ac\u00a6[1369 chars]",
147
+ "parameters": {
148
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
149
+ "type": "object",
150
+ "properties": {
151
+ "filePath": {
152
+ "type": "string",
153
+ "description": "The absolute path to the file to modify"
154
+ },
155
+ "oldString": {
156
+ "type": "string",
157
+ "description": "The text to replace"
158
+ },
159
+ "newString": {
160
+ "type": "string",
161
+ "description": "The text to replace it with (must be different from oldString)"
162
+ },
163
+ "replaceAll": {
164
+ "type": "boolean",
165
+ "description": "Replace all occurrences of oldString (default false)"
166
+ }
167
+ },
168
+ "required": [
169
+ "filePath",
170
+ "oldString",
171
+ "newString"
172
+ ]
173
+ }
174
+ }
175
+ },
176
+ {
177
+ "type": "function",
178
+ "function": {
179
+ "name": "glob",
180
+ "description": "- Fast file pattern matching tool that works with any codebase size\n- Supports glob patterns like \"**/*.js\" or \"src/**/*.ts\"\n- Returns matching file paths\n- Use this tool when you need to find files by name patterns\n- When you are doing an open-ended search that may require multiple rounds of globbing and grepping, use the Task tool instead\n- You have the capability to call multiple tools in a sin\u00e2\u20ac\u00a6[517 chars]",
181
+ "parameters": {
182
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
183
+ "type": "object",
184
+ "properties": {
185
+ "pattern": {
186
+ "type": "string",
187
+ "description": "The glob pattern to match files against"
188
+ },
189
+ "path": {
190
+ "type": "string",
191
+ "description": "The directory to search in. If not specified, the current working directory will be used. IMPORTANT: Omit this field to use the default directory. DO NOT enter \"undefined\" or \"null\" - simply omit it for the default behavior. Must be a valid directory path if provided."
192
+ }
193
+ },
194
+ "required": [
195
+ "pattern"
196
+ ]
197
+ }
198
+ }
199
+ },
200
+ {
201
+ "type": "function",
202
+ "function": {
203
+ "name": "grep",
204
+ "description": "- Fast content search tool that works with any codebase size\n- Searches file contents using regular expressions\n- Supports full regex syntax (eg. \"log.*Error\", \"function\\s+\\w+\", etc.)\n- Filter files by pattern with the include parameter (eg. \"*.js\", \"*.{ts,tsx}\")\n- Returns file paths and line numbers with matching lines\n- Use this tool when you need to find files containing specific patterns\n- If \u00e2\u20ac\u00a6[922 chars]",
205
+ "parameters": {
206
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
207
+ "type": "object",
208
+ "properties": {
209
+ "pattern": {
210
+ "type": "string",
211
+ "description": "Pattern to search for in file contents (regex by default)"
212
+ },
213
+ "path": {
214
+ "type": "string",
215
+ "description": "The directory to search in. Defaults to the current working directory."
216
+ },
217
+ "include": {
218
+ "type": "string",
219
+ "description": "File pattern to include in the search (e.g. \"*.js\", \"*.{ts,tsx}\")"
220
+ },
221
+ "context": {
222
+ "minimum": 0,
223
+ "type": "integer",
224
+ "maximum": 9007199254740991,
225
+ "description": "Number of context lines to show before and after each match (default 0)"
226
+ },
227
+ "limit": {
228
+ "minimum": -9007199254740991,
229
+ "exclusiveMinimum": 0,
230
+ "type": "integer",
231
+ "maximum": 9007199254740991,
232
+ "description": "Maximum matching lines to return (default 100)"
233
+ },
234
+ "literal": {
235
+ "type": "boolean",
236
+ "description": "Treat pattern as plain text instead of a regex (default false)"
237
+ },
238
+ "ignoreCase": {
239
+ "type": "boolean",
240
+ "description": "Match without regard to letter case (default false)"
241
+ }
242
+ },
243
+ "required": [
244
+ "pattern"
245
+ ]
246
+ }
247
+ }
248
+ },
249
+ {
250
+ "type": "function",
251
+ "function": {
252
+ "name": "kilo_local_recall",
253
+ "description": "Search and read past conversations from the current project on this machine, including its git worktrees. Use this to recall previous work, find how something was implemented before, or retrieve context from another worktree in the same repo.\n\nTwo modes:\n1. **Search** - Exhaustively search all local sessions in the current project and its worktrees. Search covers titles, user and assistant text, f\u00e2\u20ac\u00a6[1389 chars]",
254
+ "parameters": {
255
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
256
+ "type": "object",
257
+ "properties": {
258
+ "mode": {
259
+ "type": "string",
260
+ "enum": [
261
+ "search",
262
+ "read"
263
+ ],
264
+ "description": "'search' to find sessions by title and transcript content, 'read' to get a session transcript"
265
+ },
266
+ "query": {
267
+ "type": "string",
268
+ "description": "Terms to find across session titles and transcript content (required for search mode)"
269
+ },
270
+ "sessionID": {
271
+ "type": "string",
272
+ "description": "Session ID to read the transcript of (required for read mode)"
273
+ },
274
+ "limit": {
275
+ "type": "number",
276
+ "description": "Maximum number of search results to return (default: 20, max: 50)"
277
+ }
278
+ },
279
+ "required": [
280
+ "mode"
281
+ ]
282
+ }
283
+ }
284
+ },
285
+ {
286
+ "type": "function",
287
+ "function": {
288
+ "name": "read",
289
+ "description": "Read a file or directory from the local filesystem. If the path does not exist, an error is returned.\n\nUsage:\n- The filePath parameter should be an absolute path.\n- By default, this tool returns up to 2000 lines from the start of the file.\n- The offset parameter is the line number to start from (1-indexed).\n- To read later sections, call this tool again with a larger offset.\n- Use the grep tool to\u00e2\u20ac\u00a6[1158 chars]",
290
+ "parameters": {
291
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
292
+ "type": "object",
293
+ "properties": {
294
+ "filePath": {
295
+ "type": "string",
296
+ "description": "The absolute path to the file or directory to read"
297
+ },
298
+ "offset": {
299
+ "minimum": 0,
300
+ "type": "integer",
301
+ "maximum": 9007199254740991,
302
+ "description": "The line number to start reading from (1-indexed)"
303
+ },
304
+ "limit": {
305
+ "minimum": 0,
306
+ "type": "integer",
307
+ "maximum": 9007199254740991,
308
+ "description": "The maximum number of lines to read (defaults to 2000)"
309
+ }
310
+ },
311
+ "required": [
312
+ "filePath"
313
+ ]
314
+ }
315
+ }
316
+ },
317
+ {
318
+ "type": "function",
319
+ "function": {
320
+ "name": "skill",
321
+ "description": "Load a specialized skill when the task at hand matches one of the skills listed in the system prompt.\n\nUse this tool to inject the skill's instructions and resources into current conversation. The output may contain detailed workflow guidance as well as references to scripts, files, etc in the same directory as the skill.\n\nThe skill name must match one of the skills listed in your system prompt.\n",
322
+ "parameters": {
323
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
324
+ "type": "object",
325
+ "properties": {
326
+ "name": {
327
+ "type": "string",
328
+ "description": "The name of the skill from available_skills"
329
+ }
330
+ },
331
+ "required": [
332
+ "name"
333
+ ]
334
+ }
335
+ }
336
+ },
337
+ {
338
+ "type": "function",
339
+ "function": {
340
+ "name": "task",
341
+ "description": "Launch a new agent to handle complex, multistep tasks autonomously.\n\nWhen using the Task tool, you must specify a subagent_type parameter to select which agent type to use.\n\nWhen NOT to use the Task tool:\n- If you want to read a specific file path, use the Read or Glob tool instead of the Task tool, to find the match more quickly\n- If you are searching for a specific class definition like \"class F\u00e2\u20ac\u00a6[3602 chars]",
342
+ "parameters": {
343
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
344
+ "type": "object",
345
+ "properties": {
346
+ "description": {
347
+ "type": "string",
348
+ "description": "A short (3-5 words) description of the task"
349
+ },
350
+ "prompt": {
351
+ "type": "string",
352
+ "description": "The task for the agent to perform"
353
+ },
354
+ "subagent_type": {
355
+ "type": "string",
356
+ "description": "The type of specialized agent to use for this task"
357
+ },
358
+ "task_id": {
359
+ "type": "string",
360
+ "description": "This should only be set if you mean to resume a previous task (you can pass a prior task_id and the task will continue the same subagent session as before instead of creating a fresh one)"
361
+ },
362
+ "command": {
363
+ "type": "string",
364
+ "description": "The command that triggered this task"
365
+ },
366
+ "background": {
367
+ "type": "boolean",
368
+ "description": "Run the agent in the background. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress"
369
+ }
370
+ },
371
+ "required": [
372
+ "description",
373
+ "prompt",
374
+ "subagent_type"
375
+ ]
376
+ }
377
+ }
378
+ },
379
+ {
380
+ "type": "function",
381
+ "function": {
382
+ "name": "todowrite",
383
+ "description": "Create and maintain a structured task list for the current coding session. Tracks progress, organizes multi-step work, and surfaces status to the user.\n\n## When to use\nUse proactively when:\n- The task requires 3+ distinct steps or actions (not just 3 tool calls for a single conceptual step)\n- The work is non-trivial and benefits from planning\n- The user provides multiple tasks (numbered or comma-s\u00e2\u20ac\u00a6[2351 chars]",
384
+ "parameters": {
385
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
386
+ "type": "object",
387
+ "properties": {
388
+ "todos": {
389
+ "type": "array",
390
+ "items": {
391
+ "type": "object",
392
+ "properties": {
393
+ "content": {
394
+ "type": "string",
395
+ "description": "Brief description of the task"
396
+ },
397
+ "status": {
398
+ "type": "string",
399
+ "description": "Current status of the task: pending, in_progress, completed, cancelled"
400
+ },
401
+ "priority": {
402
+ "type": "string",
403
+ "description": "Priority level of the task: high, medium, low"
404
+ }
405
+ },
406
+ "required": [
407
+ "content",
408
+ "status",
409
+ "priority"
410
+ ]
411
+ },
412
+ "description": "The updated todo list"
413
+ }
414
+ },
415
+ "required": [
416
+ "todos"
417
+ ]
418
+ }
419
+ }
420
+ },
421
+ {
422
+ "type": "function",
423
+ "function": {
424
+ "name": "webfetch",
425
+ "description": "- Fetches content from a specified URL\n- Takes a URL and optional format as input\n- Fetches the URL content, converts to requested format (markdown by default)\n- Returns the content in the specified format\n- Use this tool when you need to retrieve and analyze web content\n\nUsage notes:\n - IMPORTANT: if another tool is present that offers better web fetching capabilities, is more targeted to the ta\u00e2\u20ac\u00a6[750 chars]",
426
+ "parameters": {
427
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
428
+ "type": "object",
429
+ "properties": {
430
+ "url": {
431
+ "type": "string",
432
+ "description": "The URL to fetch content from"
433
+ },
434
+ "format": {
435
+ "type": "string",
436
+ "enum": [
437
+ "text",
438
+ "markdown",
439
+ "html"
440
+ ],
441
+ "description": "The format to return the content in (text, markdown, or html). Defaults to markdown.",
442
+ "default": "markdown"
443
+ },
444
+ "timeout": {
445
+ "type": "number",
446
+ "description": "Optional timeout in seconds (max 120)"
447
+ }
448
+ },
449
+ "required": [
450
+ "url"
451
+ ]
452
+ }
453
+ }
454
+ },
455
+ {
456
+ "type": "function",
457
+ "function": {
458
+ "name": "write",
459
+ "description": "Writes a file to the local filesystem.\n\nUsage:\n- This tool will overwrite the existing file if there is one at the provided path.\n- If this is an existing file, you MUST use the Read tool first to read the file's contents. This tool will fail if you did not read the file first.\n- ALWAYS prefer editing existing files in the codebase. NEVER write new files unless explicitly required.\n- NEVER proacti\u00e2\u20ac\u00a6[623 chars]",
460
+ "parameters": {
461
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
462
+ "type": "object",
463
+ "properties": {
464
+ "content": {
465
+ "type": "string",
466
+ "description": "The content to write to the file"
467
+ },
468
+ "filePath": {
469
+ "type": "string",
470
+ "description": "The absolute path to the file to write (must be absolute, not relative)"
471
+ }
472
+ },
473
+ "required": [
474
+ "content",
475
+ "filePath"
476
+ ]
477
+ }
478
+ }
479
+ }
480
+ ],
481
+ "tool_choice": "auto",
482
+ "stream": true,
483
+ "stream_options": {
484
+ "include_usage": true
485
+ }
486
+ }
487
+ }