fixo-cli 1.0.4 → 2.0.0
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.
Potentially problematic release.
This version of fixo-cli might be problematic. Click here for more details.
- package/CHANGELOG.md +62 -0
- package/README.md +18 -14
- package/dist/agent/agent-client.d.ts +28 -6
- package/dist/agent/agent-client.d.ts.map +1 -1
- package/dist/agent/agent-client.js +118 -39
- package/dist/agent/agent-client.js.map +1 -1
- package/dist/agent/agent-pool.d.ts +55 -6
- package/dist/agent/agent-pool.d.ts.map +1 -1
- package/dist/agent/agent-pool.js +120 -20
- package/dist/agent/agent-pool.js.map +1 -1
- package/dist/agent/auto-verifier.d.ts +55 -0
- package/dist/agent/auto-verifier.d.ts.map +1 -0
- package/dist/agent/auto-verifier.js +50 -0
- package/dist/agent/auto-verifier.js.map +1 -0
- package/dist/agent/command-parser.d.ts.map +1 -1
- package/dist/agent/command-parser.js +176 -0
- package/dist/agent/command-parser.js.map +1 -1
- package/dist/agent/context-builder.d.ts +24 -0
- package/dist/agent/context-builder.d.ts.map +1 -0
- package/dist/agent/context-builder.js +197 -0
- package/dist/agent/context-builder.js.map +1 -0
- package/dist/agent/conversation.d.ts +14 -1
- package/dist/agent/conversation.d.ts.map +1 -1
- package/dist/agent/conversation.js +53 -7
- package/dist/agent/conversation.js.map +1 -1
- package/dist/agent/mcp-bridge.js +1 -1
- package/dist/agent/mcp-bridge.js.map +1 -1
- package/dist/agent/orchestrator.d.ts +45 -0
- package/dist/agent/orchestrator.d.ts.map +1 -1
- package/dist/agent/orchestrator.js +140 -3
- package/dist/agent/orchestrator.js.map +1 -1
- package/dist/agent/parser-adapter.d.ts +17 -0
- package/dist/agent/parser-adapter.d.ts.map +1 -1
- package/dist/agent/parser-adapter.js +254 -2
- package/dist/agent/parser-adapter.js.map +1 -1
- package/dist/agent/predictive-gate.d.ts.map +1 -1
- package/dist/agent/predictive-gate.js +4 -1
- package/dist/agent/predictive-gate.js.map +1 -1
- package/dist/agent/providers-manager.d.ts +5 -0
- package/dist/agent/providers-manager.d.ts.map +1 -1
- package/dist/agent/providers-manager.js +119 -8
- package/dist/agent/providers-manager.js.map +1 -1
- package/dist/agent/repo-map.d.ts +18 -1
- package/dist/agent/repo-map.d.ts.map +1 -1
- package/dist/agent/repo-map.js +144 -54
- package/dist/agent/repo-map.js.map +1 -1
- package/dist/agent/retry.js +1 -2
- package/dist/agent/retry.js.map +1 -1
- package/dist/agent/single-agent.d.ts.map +1 -1
- package/dist/agent/single-agent.js +129 -22
- package/dist/agent/single-agent.js.map +1 -1
- package/dist/agent/skills.d.ts.map +1 -1
- package/dist/agent/skills.js +2 -1
- package/dist/agent/skills.js.map +1 -1
- package/dist/agent/subagent.js +2 -2
- package/dist/agent/subagent.js.map +1 -1
- package/dist/agent/task-router.d.ts +46 -0
- package/dist/agent/task-router.d.ts.map +1 -0
- package/dist/agent/task-router.js +352 -0
- package/dist/agent/task-router.js.map +1 -0
- package/dist/agent/telemetry.d.ts +29 -1
- package/dist/agent/telemetry.d.ts.map +1 -1
- package/dist/agent/telemetry.js +25 -10
- package/dist/agent/telemetry.js.map +1 -1
- package/dist/agent/tool-definitions.d.ts +3 -0
- package/dist/agent/tool-definitions.d.ts.map +1 -0
- package/dist/agent/tool-definitions.js +519 -0
- package/dist/agent/tool-definitions.js.map +1 -0
- package/dist/agent/tool-executor.d.ts +6 -1
- package/dist/agent/tool-executor.d.ts.map +1 -1
- package/dist/agent/tool-executor.js +99 -553
- package/dist/agent/tool-executor.js.map +1 -1
- package/dist/agent/tools/command-tools.d.ts +6 -0
- package/dist/agent/tools/command-tools.d.ts.map +1 -0
- package/dist/agent/tools/command-tools.js +104 -0
- package/dist/agent/tools/command-tools.js.map +1 -0
- package/dist/agent/tools/file-tools.d.ts +15 -0
- package/dist/agent/tools/file-tools.d.ts.map +1 -0
- package/dist/agent/tools/file-tools.js +551 -0
- package/dist/agent/tools/file-tools.js.map +1 -0
- package/dist/agent/tools/todo-tools.d.ts +3 -0
- package/dist/agent/tools/todo-tools.d.ts.map +1 -0
- package/dist/agent/tools/todo-tools.js +70 -0
- package/dist/agent/tools/todo-tools.js.map +1 -0
- package/dist/agent/web-impl.d.ts.map +1 -1
- package/dist/agent/web-impl.js +45 -0
- package/dist/agent/web-impl.js.map +1 -1
- package/dist/agent/worker-agent.d.ts +3 -1
- package/dist/agent/worker-agent.d.ts.map +1 -1
- package/dist/agent/worker-agent.js +51 -14
- package/dist/agent/worker-agent.js.map +1 -1
- package/dist/config.d.ts +242 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +79 -0
- package/dist/config.js.map +1 -1
- package/dist/git/git-manager.d.ts +33 -2
- package/dist/git/git-manager.d.ts.map +1 -1
- package/dist/git/git-manager.js +111 -15
- package/dist/git/git-manager.js.map +1 -1
- package/dist/git/git-ops.d.ts.map +1 -1
- package/dist/git/git-ops.js +2 -1
- package/dist/git/git-ops.js.map +1 -1
- package/dist/index.js +85 -8
- package/dist/index.js.map +1 -1
- package/dist/lsp/lsp-manager.js +1 -1
- package/dist/lsp/lsp-manager.js.map +1 -1
- package/dist/model-outcomes.d.ts.map +1 -1
- package/dist/model-outcomes.js +2 -1
- package/dist/model-outcomes.js.map +1 -1
- package/dist/planner.d.ts +0 -9
- package/dist/planner.d.ts.map +1 -1
- package/dist/planner.js +0 -9
- package/dist/planner.js.map +1 -1
- package/dist/project-memory.d.ts +12 -1
- package/dist/project-memory.d.ts.map +1 -1
- package/dist/project-memory.js +8 -6
- package/dist/project-memory.js.map +1 -1
- package/dist/runtime/loop-mitigation.d.ts +78 -7
- package/dist/runtime/loop-mitigation.d.ts.map +1 -1
- package/dist/runtime/loop-mitigation.js +122 -9
- package/dist/runtime/loop-mitigation.js.map +1 -1
- package/dist/runtime/os-sandbox.d.ts +100 -0
- package/dist/runtime/os-sandbox.d.ts.map +1 -0
- package/dist/runtime/os-sandbox.js +246 -0
- package/dist/runtime/os-sandbox.js.map +1 -0
- package/dist/runtime/run-inventory.d.ts +17 -0
- package/dist/runtime/run-inventory.d.ts.map +1 -0
- package/dist/runtime/run-inventory.js +49 -0
- package/dist/runtime/run-inventory.js.map +1 -0
- package/dist/runtime/staging.d.ts.map +1 -1
- package/dist/runtime/staging.js +4 -1
- package/dist/runtime/staging.js.map +1 -1
- package/dist/runtime/task-session.d.ts +14 -0
- package/dist/runtime/task-session.d.ts.map +1 -1
- package/dist/runtime/task-session.js +26 -0
- package/dist/runtime/task-session.js.map +1 -1
- package/dist/setup-wizard.d.ts +11 -3
- package/dist/setup-wizard.d.ts.map +1 -1
- package/dist/setup-wizard.js +113 -15
- package/dist/setup-wizard.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/ui/commands/context-commands.d.ts +7 -0
- package/dist/ui/commands/context-commands.d.ts.map +1 -0
- package/dist/ui/commands/context-commands.js +241 -0
- package/dist/ui/commands/context-commands.js.map +1 -0
- package/dist/ui/commands/index.d.ts +3 -0
- package/dist/ui/commands/index.d.ts.map +1 -0
- package/dist/ui/commands/index.js +46 -0
- package/dist/ui/commands/index.js.map +1 -0
- package/dist/ui/commands/info-commands.d.ts +15 -0
- package/dist/ui/commands/info-commands.d.ts.map +1 -0
- package/dist/ui/commands/info-commands.js +122 -0
- package/dist/ui/commands/info-commands.js.map +1 -0
- package/dist/ui/commands/model-commands.d.ts +5 -0
- package/dist/ui/commands/model-commands.d.ts.map +1 -0
- package/dist/ui/commands/model-commands.js +417 -0
- package/dist/ui/commands/model-commands.js.map +1 -0
- package/dist/ui/commands/session-commands.d.ts +5 -0
- package/dist/ui/commands/session-commands.d.ts.map +1 -0
- package/dist/ui/commands/session-commands.js +154 -0
- package/dist/ui/commands/session-commands.js.map +1 -0
- package/dist/ui/commands/task-commands.d.ts +8 -0
- package/dist/ui/commands/task-commands.d.ts.map +1 -0
- package/dist/ui/commands/task-commands.js +152 -0
- package/dist/ui/commands/task-commands.js.map +1 -0
- package/dist/ui/commands/types.d.ts +46 -0
- package/dist/ui/commands/types.d.ts.map +1 -0
- package/dist/ui/commands/types.js +2 -0
- package/dist/ui/commands/types.js.map +1 -0
- package/dist/ui/commands/workspace-commands.d.ts +8 -0
- package/dist/ui/commands/workspace-commands.d.ts.map +1 -0
- package/dist/ui/commands/workspace-commands.js +131 -0
- package/dist/ui/commands/workspace-commands.js.map +1 -0
- package/dist/ui/loading-animation.d.ts +24 -0
- package/dist/ui/loading-animation.d.ts.map +1 -0
- package/dist/ui/loading-animation.js +123 -0
- package/dist/ui/loading-animation.js.map +1 -0
- package/dist/ui/markdown-stream.js +2 -2
- package/dist/ui/markdown-stream.js.map +1 -1
- package/dist/ui/prompt.d.ts +7 -0
- package/dist/ui/prompt.d.ts.map +1 -1
- package/dist/ui/prompt.js +435 -1214
- package/dist/ui/prompt.js.map +1 -1
- package/dist/ui/render-primitives.d.ts +6 -0
- package/dist/ui/render-primitives.d.ts.map +1 -1
- package/dist/ui/render-primitives.js +30 -13
- package/dist/ui/render-primitives.js.map +1 -1
- package/dist/ui/render.d.ts.map +1 -1
- package/dist/ui/render.js +2 -0
- package/dist/ui/render.js.map +1 -1
- package/package.json +17 -3
- package/scripts/check-vendor-wasm.js +11 -0
- package/vendor/tree-sitter-go.wasm +0 -0
- package/vendor/tree-sitter-javascript.wasm +0 -0
- package/vendor/tree-sitter-python.wasm +0 -0
- package/vendor/tree-sitter-rust.wasm +0 -0
- package/vendor/tree-sitter-tsx.wasm +0 -0
- package/vendor/tree-sitter-typescript.wasm +0 -0
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
export const TOOL_DEFINITIONS = [
|
|
2
|
+
{
|
|
3
|
+
type: 'function',
|
|
4
|
+
function: {
|
|
5
|
+
name: 'read_file',
|
|
6
|
+
description: 'Read the full text contents of a file at the given path. Use this to understand existing code before making changes. Returns the file contents as a string. Files larger than the large-file gate (15 KiB / 350 lines by default) will return a [Context-Budget Guard] synthetic directive telling you to call extract_symbols or extract_imports first.',
|
|
7
|
+
parameters: {
|
|
8
|
+
type: 'object',
|
|
9
|
+
properties: {
|
|
10
|
+
path: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
description: 'The file path to read, relative to the workspace root or absolute.',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
required: ['path'],
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
type: 'function',
|
|
21
|
+
function: {
|
|
22
|
+
name: 'extract_symbols',
|
|
23
|
+
description: 'Extract symbol declarations (classes, functions, interfaces, types, consts) from a file. Output is capped at 100 entries. Cheaper than read_file for large files because it skips the body content.',
|
|
24
|
+
parameters: {
|
|
25
|
+
type: 'object',
|
|
26
|
+
properties: {
|
|
27
|
+
path: {
|
|
28
|
+
type: 'string',
|
|
29
|
+
description: 'The file path to inspect, relative to the workspace root or absolute.',
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
required: ['path'],
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: 'function',
|
|
38
|
+
function: {
|
|
39
|
+
name: 'extract_imports',
|
|
40
|
+
description: 'Extract import statements from a file. Output is capped at 100 entries. Cheaper than read_file for large files because it skips the body content.',
|
|
41
|
+
parameters: {
|
|
42
|
+
type: 'object',
|
|
43
|
+
properties: {
|
|
44
|
+
path: {
|
|
45
|
+
type: 'string',
|
|
46
|
+
description: 'The file path to inspect, relative to the workspace root or absolute.',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
required: ['path'],
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
type: 'function',
|
|
55
|
+
function: {
|
|
56
|
+
name: 'apply_patch',
|
|
57
|
+
description: 'Apply a unified diff patch to files in the workspace. Prefer this over write_file for editing existing files, and NEVER substitute it with `sed -i`, `patch < file`, or `python3 -c` — shell file-writing is sandbox-blocked.',
|
|
58
|
+
parameters: {
|
|
59
|
+
type: 'object',
|
|
60
|
+
properties: {
|
|
61
|
+
patch: { type: 'string', description: 'Unified diff patch text.' },
|
|
62
|
+
},
|
|
63
|
+
required: ['patch'],
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: 'function',
|
|
69
|
+
function: {
|
|
70
|
+
name: 'replace_range',
|
|
71
|
+
description: 'Replace inclusive 1-based line range in a file. Requires reading the file first.',
|
|
72
|
+
parameters: {
|
|
73
|
+
type: 'object',
|
|
74
|
+
properties: {
|
|
75
|
+
path: { type: 'string' },
|
|
76
|
+
startLine: { type: 'string' },
|
|
77
|
+
endLine: { type: 'string' },
|
|
78
|
+
content: { type: 'string' },
|
|
79
|
+
},
|
|
80
|
+
required: ['path', 'startLine', 'endLine', 'content'],
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
type: 'function',
|
|
86
|
+
function: {
|
|
87
|
+
name: 'insert_after',
|
|
88
|
+
description: 'Insert content after the first exact anchor match in a file. Requires reading the file first.',
|
|
89
|
+
parameters: {
|
|
90
|
+
type: 'object',
|
|
91
|
+
properties: {
|
|
92
|
+
path: { type: 'string' },
|
|
93
|
+
anchor: { type: 'string' },
|
|
94
|
+
content: { type: 'string' },
|
|
95
|
+
},
|
|
96
|
+
required: ['path', 'anchor', 'content'],
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: 'function',
|
|
102
|
+
function: {
|
|
103
|
+
name: 'rename_file',
|
|
104
|
+
description: 'Rename or move a workspace file.',
|
|
105
|
+
parameters: {
|
|
106
|
+
type: 'object',
|
|
107
|
+
properties: {
|
|
108
|
+
from: { type: 'string' },
|
|
109
|
+
to: { type: 'string' },
|
|
110
|
+
},
|
|
111
|
+
required: ['from', 'to'],
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: 'function',
|
|
117
|
+
function: {
|
|
118
|
+
name: 'write_file',
|
|
119
|
+
description: 'Write a complete file to disk. Use ONLY for new files or full rewrites where the prior content is irrelevant. Never use `run_command` with `cat > file`, heredocs, `tee`, `sed -i`, or `python3 -c`/`node -e` to write files — those are sandbox-blocked. For ANY change to an existing file you MUST use `str_replace` (single hunk) or `apply_patch` (multi-region). Rewriting an existing file with write_file when str_replace would do wastes tokens, defeats LSP granularity, and risks clobbering concurrent edits. Creates parent directories if missing.',
|
|
120
|
+
parameters: {
|
|
121
|
+
type: 'object',
|
|
122
|
+
properties: {
|
|
123
|
+
path: {
|
|
124
|
+
type: 'string',
|
|
125
|
+
description: 'The file path to write, relative to the workspace root or absolute.',
|
|
126
|
+
},
|
|
127
|
+
content: {
|
|
128
|
+
type: 'string',
|
|
129
|
+
description: 'The full file content to write.',
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
required: ['path', 'content'],
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
type: 'function',
|
|
138
|
+
function: {
|
|
139
|
+
name: 'run_command',
|
|
140
|
+
description: 'Execute a shell command and return its stdout and stderr output. Use this to run tests, build projects, install dependencies, or verify changes. Commands run in the workspace directory. DO NOT use this tool to write or edit files — shell-based file writing is sandbox-blocked, including: `>` / `>>` redirects, `cat > file <<EOF` heredocs, `tee`, `sed -i`, `mv`/`cp` into source paths, and interpreter payloads like `python3 -c "open(...,\'w\')"`, `node -e "fs.writeFileSync(...)"`. Attempts to write files this way will be rejected with a security error. For file writes use `write_file` (new files / full rewrites), `str_replace` (single-region edit), or `apply_patch` (multi-region diff) — they all go through the same atomic staging + LSP pre-save pipeline.',
|
|
141
|
+
parameters: {
|
|
142
|
+
type: 'object',
|
|
143
|
+
properties: {
|
|
144
|
+
command: {
|
|
145
|
+
type: 'string',
|
|
146
|
+
description: 'The shell command to execute.',
|
|
147
|
+
},
|
|
148
|
+
cwd: {
|
|
149
|
+
type: 'string',
|
|
150
|
+
description: 'Working directory for the command (optional, defaults to workspace root).',
|
|
151
|
+
},
|
|
152
|
+
},
|
|
153
|
+
required: ['command'],
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
type: 'function',
|
|
159
|
+
function: {
|
|
160
|
+
name: 'run_command_async',
|
|
161
|
+
description: 'Spawn a long-running command in the background and return immediately with a jobId. Use poll_command_status to retrieve output and kill_command to terminate. Output streams cap at 64 KiB each; the larger totalByte counters survive the cap. Rejected in PLAN mode. Workspace-escape and sensitive-file commands are blocked at spawn time by the same command-parser used by run_command.',
|
|
162
|
+
parameters: {
|
|
163
|
+
type: 'object',
|
|
164
|
+
properties: {
|
|
165
|
+
cmd: { type: 'string', description: 'The binary to spawn.' },
|
|
166
|
+
args: {
|
|
167
|
+
type: 'array',
|
|
168
|
+
items: { type: 'string' },
|
|
169
|
+
description: 'Argument vector.',
|
|
170
|
+
},
|
|
171
|
+
cwd: {
|
|
172
|
+
type: 'string',
|
|
173
|
+
description: 'Working directory (defaults to workspace root).',
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
required: ['cmd'],
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
type: 'function',
|
|
182
|
+
function: {
|
|
183
|
+
name: 'poll_command_status',
|
|
184
|
+
description: 'Read a snapshot of a background job. The snapshot includes status, exitCode, startedAt/exitedAt, and the (capped) stdout and stderr streams. tailLines truncates each stream to its last N lines; sinceBytes returns only the bytes after the given offset on stdout/stderr (delta fields).',
|
|
185
|
+
parameters: {
|
|
186
|
+
type: 'object',
|
|
187
|
+
properties: {
|
|
188
|
+
jobId: { type: 'string', description: 'The jobId returned by run_command_async.' },
|
|
189
|
+
tailLines: { type: 'integer', description: 'Truncate each stream to last N lines.' },
|
|
190
|
+
sinceBytes: { type: 'integer', description: 'Return only bytes after this offset.' },
|
|
191
|
+
},
|
|
192
|
+
required: ['jobId'],
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
type: 'function',
|
|
198
|
+
function: {
|
|
199
|
+
name: 'kill_command',
|
|
200
|
+
description: 'Send SIGTERM to a background job. No-op if the job has already exited.',
|
|
201
|
+
parameters: {
|
|
202
|
+
type: 'object',
|
|
203
|
+
properties: {
|
|
204
|
+
jobId: { type: 'string', description: 'The jobId to terminate.' },
|
|
205
|
+
},
|
|
206
|
+
required: ['jobId'],
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
type: 'function',
|
|
212
|
+
function: {
|
|
213
|
+
name: 'search_code',
|
|
214
|
+
description: 'Search for a text or regex pattern in workspace files. Returns matching lines with file paths and line numbers. Use this to find where functions, classes, or variables are defined or used.',
|
|
215
|
+
parameters: {
|
|
216
|
+
type: 'object',
|
|
217
|
+
properties: {
|
|
218
|
+
query: {
|
|
219
|
+
type: 'string',
|
|
220
|
+
description: 'The search pattern (plain text or regex).',
|
|
221
|
+
},
|
|
222
|
+
path: {
|
|
223
|
+
type: 'string',
|
|
224
|
+
description: 'Directory or file to search in (optional, defaults to workspace root).',
|
|
225
|
+
},
|
|
226
|
+
file_pattern: {
|
|
227
|
+
type: 'string',
|
|
228
|
+
description: 'Glob pattern to filter files, e.g., "*.ts" or "*.py" (optional).',
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
required: ['query'],
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
type: 'function',
|
|
237
|
+
function: {
|
|
238
|
+
name: 'list_dir',
|
|
239
|
+
description: 'List files and directories at the given path. Returns names, types (file/dir), and sizes.',
|
|
240
|
+
parameters: {
|
|
241
|
+
type: 'object',
|
|
242
|
+
properties: {
|
|
243
|
+
path: {
|
|
244
|
+
type: 'string',
|
|
245
|
+
description: 'The directory path to list (optional, defaults to workspace root).',
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
required: [],
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
type: 'function',
|
|
254
|
+
function: {
|
|
255
|
+
name: 'delete_file',
|
|
256
|
+
description: 'Delete a file at the given path from the workspace.',
|
|
257
|
+
parameters: {
|
|
258
|
+
type: 'object',
|
|
259
|
+
properties: {
|
|
260
|
+
path: {
|
|
261
|
+
type: 'string',
|
|
262
|
+
description: 'The file path to delete, relative to the workspace root or absolute.',
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
required: ['path'],
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
type: 'function',
|
|
271
|
+
function: {
|
|
272
|
+
name: 'create_branch',
|
|
273
|
+
description: 'Create and checkout a new Git branch.',
|
|
274
|
+
parameters: {
|
|
275
|
+
type: 'object',
|
|
276
|
+
properties: {
|
|
277
|
+
branchName: { type: 'string', description: 'The name of the branch to create.' },
|
|
278
|
+
},
|
|
279
|
+
required: ['branchName'],
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
type: 'function',
|
|
285
|
+
function: {
|
|
286
|
+
name: 'commit_changes',
|
|
287
|
+
description: 'Stage all current changes and commit them.',
|
|
288
|
+
parameters: {
|
|
289
|
+
type: 'object',
|
|
290
|
+
properties: {
|
|
291
|
+
message: { type: 'string', description: 'The commit message.' },
|
|
292
|
+
},
|
|
293
|
+
required: ['message'],
|
|
294
|
+
},
|
|
295
|
+
},
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
type: 'function',
|
|
299
|
+
function: {
|
|
300
|
+
name: 'push_branch',
|
|
301
|
+
description: 'Push the current active branch to origin or custom remote.',
|
|
302
|
+
parameters: {
|
|
303
|
+
type: 'object',
|
|
304
|
+
properties: {
|
|
305
|
+
remote: { type: 'string', description: 'The remote repository name (default: origin).' },
|
|
306
|
+
},
|
|
307
|
+
required: [],
|
|
308
|
+
},
|
|
309
|
+
},
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
type: 'function',
|
|
313
|
+
function: {
|
|
314
|
+
name: 'create_pull_request',
|
|
315
|
+
description: 'Create a pull request on GitHub for the current branch.',
|
|
316
|
+
parameters: {
|
|
317
|
+
type: 'object',
|
|
318
|
+
properties: {
|
|
319
|
+
baseBranch: { type: 'string', description: 'The base branch to merge into (default: main).' },
|
|
320
|
+
},
|
|
321
|
+
required: [],
|
|
322
|
+
},
|
|
323
|
+
},
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
type: 'function',
|
|
327
|
+
function: {
|
|
328
|
+
name: 'lsp_goto_definition',
|
|
329
|
+
description: 'Find definition coordinates for a symbol at a given 0-indexed line and character position using LSP.',
|
|
330
|
+
parameters: {
|
|
331
|
+
type: 'object',
|
|
332
|
+
properties: {
|
|
333
|
+
path: { type: 'string', description: 'File path containing the symbol.' },
|
|
334
|
+
line: { type: 'integer', description: '0-indexed line number.' },
|
|
335
|
+
character: { type: 'integer', description: '0-indexed character offset.' },
|
|
336
|
+
},
|
|
337
|
+
required: ['path', 'line', 'character'],
|
|
338
|
+
},
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
type: 'function',
|
|
343
|
+
function: {
|
|
344
|
+
name: 'lsp_find_references',
|
|
345
|
+
description: 'Find all reference locations for a symbol at a given 0-indexed line and character position using LSP.',
|
|
346
|
+
parameters: {
|
|
347
|
+
type: 'object',
|
|
348
|
+
properties: {
|
|
349
|
+
path: { type: 'string', description: 'File path containing the symbol.' },
|
|
350
|
+
line: { type: 'integer', description: '0-indexed line number.' },
|
|
351
|
+
character: { type: 'integer', description: '0-indexed character offset.' },
|
|
352
|
+
},
|
|
353
|
+
required: ['path', 'line', 'character'],
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
type: 'function',
|
|
359
|
+
function: {
|
|
360
|
+
name: 'lsp_hover',
|
|
361
|
+
description: 'Retrieve type information and documentation for a symbol at a given 0-indexed line and character position using LSP.',
|
|
362
|
+
parameters: {
|
|
363
|
+
type: 'object',
|
|
364
|
+
properties: {
|
|
365
|
+
path: { type: 'string', description: 'File path containing the symbol.' },
|
|
366
|
+
line: { type: 'integer', description: '0-indexed line number.' },
|
|
367
|
+
character: { type: 'integer', description: '0-indexed character offset.' },
|
|
368
|
+
},
|
|
369
|
+
required: ['path', 'line', 'character'],
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
type: 'function',
|
|
375
|
+
function: {
|
|
376
|
+
name: 'web_fetch',
|
|
377
|
+
description: 'Fetch a webpage using an HTTP GET request and return its content converted to Markdown. Use this to read documentation or external references.',
|
|
378
|
+
parameters: {
|
|
379
|
+
type: 'object',
|
|
380
|
+
properties: {
|
|
381
|
+
url: { type: 'string', description: 'The absolute URL to fetch.' },
|
|
382
|
+
},
|
|
383
|
+
required: ['url'],
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
type: 'function',
|
|
389
|
+
function: {
|
|
390
|
+
name: 'web_search',
|
|
391
|
+
description: 'Perform a web search for a given query and return a list of search results as Markdown snippets. Use this to find information on the web.',
|
|
392
|
+
parameters: {
|
|
393
|
+
type: 'object',
|
|
394
|
+
properties: {
|
|
395
|
+
query: { type: 'string', description: 'The search query.' },
|
|
396
|
+
},
|
|
397
|
+
required: ['query'],
|
|
398
|
+
},
|
|
399
|
+
},
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
type: 'function',
|
|
403
|
+
function: {
|
|
404
|
+
name: 'str_replace',
|
|
405
|
+
description: 'Use this tool by default for any in-place edit to an existing file. Performs a surgical, atomic replacement of oldString with newString. By default, oldString must be unique within the file (expectUnique=true) — non-unique matches are rejected with a clear error so the caller can narrow the snippet. Pass replaceAll=true to substitute every occurrence. Rejected in PLAN mode. Refused for platform-locked paths. Goes through the same atomic staging pipeline as write_file and the LSP pre-save gate before any disk mutation. NEVER substitute this with shell commands like `sed -i`, `python3 -c`, or `cat > file` — those are sandbox-blocked.',
|
|
406
|
+
parameters: {
|
|
407
|
+
type: 'object',
|
|
408
|
+
properties: {
|
|
409
|
+
path: {
|
|
410
|
+
type: 'string',
|
|
411
|
+
description: 'The file path to edit, relative to the workspace root or absolute.',
|
|
412
|
+
},
|
|
413
|
+
oldString: {
|
|
414
|
+
type: 'string',
|
|
415
|
+
description: 'The exact substring to replace. Must appear in the file.',
|
|
416
|
+
},
|
|
417
|
+
newString: {
|
|
418
|
+
type: 'string',
|
|
419
|
+
description: 'The replacement content.',
|
|
420
|
+
},
|
|
421
|
+
replaceAll: {
|
|
422
|
+
type: 'boolean',
|
|
423
|
+
description: 'If true, replace every occurrence. Default false.',
|
|
424
|
+
},
|
|
425
|
+
expectUnique: {
|
|
426
|
+
type: 'boolean',
|
|
427
|
+
description: 'If true (default), the operation aborts when oldString is not unique. Set to false to allow non-unique matches with the first occurrence replaced.',
|
|
428
|
+
},
|
|
429
|
+
},
|
|
430
|
+
required: ['path', 'oldString', 'newString'],
|
|
431
|
+
},
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
type: 'function',
|
|
436
|
+
function: {
|
|
437
|
+
name: 'todo_read',
|
|
438
|
+
description: 'Read the current project todo list from <cwd>/.fixo/todo_list.json. Returns a human-readable rendering of all items grouped into Open and Completed. A missing or unreadable file yields an empty list — by design.',
|
|
439
|
+
parameters: {
|
|
440
|
+
type: 'object',
|
|
441
|
+
properties: {},
|
|
442
|
+
required: [],
|
|
443
|
+
},
|
|
444
|
+
},
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
type: 'function',
|
|
448
|
+
function: {
|
|
449
|
+
name: 'todo_write',
|
|
450
|
+
description: 'Mutate the project todo list. Operations: add (content+blockedBy optional), set_status (id+status), remove (id), clear_done. Persisted atomically to <cwd>/.fixo/todo_list.json. Rejected in PLAN mode.',
|
|
451
|
+
parameters: {
|
|
452
|
+
type: 'object',
|
|
453
|
+
properties: {
|
|
454
|
+
op: {
|
|
455
|
+
type: 'string',
|
|
456
|
+
enum: ['add', 'set_status', 'remove', 'clear_done'],
|
|
457
|
+
description: 'The mutation to apply.',
|
|
458
|
+
},
|
|
459
|
+
content: {
|
|
460
|
+
type: 'string',
|
|
461
|
+
description: 'Item content (op=add only).',
|
|
462
|
+
},
|
|
463
|
+
id: {
|
|
464
|
+
type: 'string',
|
|
465
|
+
description: 'Item id (op=set_status, op=remove).',
|
|
466
|
+
},
|
|
467
|
+
status: {
|
|
468
|
+
type: 'string',
|
|
469
|
+
enum: ['pending', 'in_progress', 'done', 'cancelled'],
|
|
470
|
+
description: 'New status (op=set_status only).',
|
|
471
|
+
},
|
|
472
|
+
blockedBy: {
|
|
473
|
+
type: 'string',
|
|
474
|
+
description: 'Optional blocker description (op=add only).',
|
|
475
|
+
},
|
|
476
|
+
},
|
|
477
|
+
required: ['op'],
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
type: 'function',
|
|
483
|
+
function: {
|
|
484
|
+
name: 'glob_files',
|
|
485
|
+
description: 'High-performance filesystem pattern matcher. Returns paths matching the given glob pattern, relative to the workspace root. Built on Node 22+ native fs.promises.glob. By default, common build/VCS directories (node_modules, .git, dist, .fixo, .fixocli) are excluded. Symlinks are not followed and hidden files are excluded unless explicitly enabled. Capped at maxResults (default 1000, hard cap 5000).',
|
|
486
|
+
parameters: {
|
|
487
|
+
type: 'object',
|
|
488
|
+
properties: {
|
|
489
|
+
pattern: {
|
|
490
|
+
type: 'string',
|
|
491
|
+
description: 'Glob pattern, e.g. "src/**/*.ts" or "**/package.json".',
|
|
492
|
+
},
|
|
493
|
+
cwd: {
|
|
494
|
+
type: 'string',
|
|
495
|
+
description: 'Optional directory to scope the glob. Must resolve inside the workspace. Defaults to the workspace root.',
|
|
496
|
+
},
|
|
497
|
+
ignore: {
|
|
498
|
+
type: 'string',
|
|
499
|
+
description: 'Optional extra glob pattern (or comma-separated patterns) to add to the default skip set.',
|
|
500
|
+
},
|
|
501
|
+
maxResults: {
|
|
502
|
+
type: 'integer',
|
|
503
|
+
description: 'Maximum number of results to return. Default 1000, hard cap 5000.',
|
|
504
|
+
},
|
|
505
|
+
includeHidden: {
|
|
506
|
+
type: 'boolean',
|
|
507
|
+
description: 'If true, do not exclude dotfile entries from the match. Default false.',
|
|
508
|
+
},
|
|
509
|
+
followSymlinks: {
|
|
510
|
+
type: 'boolean',
|
|
511
|
+
description: 'If true, follow symbolic links during traversal. Default false (safer).',
|
|
512
|
+
},
|
|
513
|
+
},
|
|
514
|
+
required: ['pattern'],
|
|
515
|
+
},
|
|
516
|
+
},
|
|
517
|
+
},
|
|
518
|
+
];
|
|
519
|
+
//# sourceMappingURL=tool-definitions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-definitions.js","sourceRoot":"","sources":["../../src/agent/tool-definitions.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAyB;IACpD;QACE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE;YACR,IAAI,EAAE,WAAW;YACjB,WAAW,EACT,0VAA0V;YAC5V,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,oEAAoE;qBACvE;iBACF;gBACD,QAAQ,EAAE,CAAC,MAAM,CAAC;aACnB;SACF;KACF;IACD;QACE,IAAI,EAAE,UAAU;QAChB,QAAQ,EAAE;YACR,IAAI,EAAE,iBAAiB;YACvB,WAAW,EACT,qMAAqM;YACvM,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,uEAAuE;qBAC1E;i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GAAG,EAAE;wBACH,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,0GAA0G;qBAC7G;oBACD,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,2FAA2F;qBAC9F;oBACD,UAAU,EAAE;wBACV,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,mEAAmE;qBACjF;oBACD,aAAa,EAAE;wBACb,IAAI,EAAE,SAAS;wBACf,WAAW,EAAE,wEAAwE;qBACtF;oBACD,cAAc,EAAE;wBACd,IAAI,EAAE,SAAS;wBACf,WAAW,EACT,yEAAyE;qBAC5E;iBACF;gBACD,QAAQ,EAAE,CAAC,SAAS,CAAC;aACtB;SACF;KACF;CACF,CAAC"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool definitions and executor for the single-agent tool-calling loop.
|
|
3
|
+
* Provides: read_file, write_file, run_command, search_code, list_dir
|
|
4
|
+
*/
|
|
5
|
+
import { TOOL_DEFINITIONS } from './tool-definitions.js';
|
|
6
|
+
export { TOOL_DEFINITIONS };
|
|
1
7
|
import type { ChatToolDefinition } from '../shared/types.js';
|
|
2
8
|
import type { TaskSession } from '../runtime/task-session.js';
|
|
3
9
|
import { type PolicyProfile } from '../runtime/policy.js';
|
|
@@ -50,7 +56,6 @@ export declare function getActiveTools(mode?: string): ChatToolDefinition[];
|
|
|
50
56
|
* the dynamic-tool-masking layer of Pillar 5.
|
|
51
57
|
*/
|
|
52
58
|
export declare function classifyExecutionRole(task: string): 'BUILD' | 'READ_ONLY';
|
|
53
|
-
export declare const TOOL_DEFINITIONS: ChatToolDefinition[];
|
|
54
59
|
export interface ToolCallEvent {
|
|
55
60
|
tool: string;
|
|
56
61
|
args: Record<string, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-executor.d.ts","sourceRoot":"","sources":["../../src/agent/tool-executor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool-executor.d.ts","s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