@nomad-e/bluma-cli 0.26.1 → 2026.27.0-darwin-arm64
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/LICENSE +189 -70
- package/README.md +2 -162
- package/THIRD-PARTY-NOTICES.txt +46201 -0
- package/bin/bluma-core +0 -0
- package/package.json +24 -124
- package/third-party/option-ext/.cargo_vcs_info.json +6 -0
- package/third-party/option-ext/Cargo.toml +22 -0
- package/third-party/option-ext/LICENSE.txt +373 -0
- package/third-party/option-ext/README.md +67 -0
- package/third-party/option-ext/src/impl.rs +20 -0
- package/third-party/option-ext/src/lib.rs +71 -0
- package/assets/bg.png +0 -0
- package/assets/bg1.png +0 -0
- package/assets/bluma.png +0 -0
- package/assets/image.png +0 -0
- package/dist/assets/bg.png +0 -0
- package/dist/assets/bg1.png +0 -0
- package/dist/assets/bluma.png +0 -0
- package/dist/assets/image.png +0 -0
- package/dist/config/native_tools.json +0 -1151
- package/dist/config/plan_mode_instructions.md +0 -218
- package/dist/config/skills/factorai-sh/SKILL.md +0 -98
- package/dist/config/skills/git-commit/LICENSE.txt +0 -18
- package/dist/config/skills/git-commit/SKILL.md +0 -300
- package/dist/config/skills/git-commit/references/REFERENCE.md +0 -253
- package/dist/config/skills/git-commit/scripts/validate_commit_msg.py +0 -163
- package/dist/config/skills/git-pr/LICENSE.txt +0 -18
- package/dist/config/skills/git-pr/SKILL.md +0 -293
- package/dist/config/skills/git-pr/references/REFERENCE.md +0 -256
- package/dist/config/skills/git-pr/scripts/validate_commits.py +0 -120
- package/dist/config/skills/git-release/LICENSE.txt +0 -18
- package/dist/config/skills/git-release/SKILL.md +0 -408
- package/dist/config/skills/pdf/LICENSE.txt +0 -26
- package/dist/config/skills/pdf/SKILL.md +0 -736
- package/dist/config/skills/pdf/references/DOCUMENT_TYPES.md +0 -59
- package/dist/config/skills/pdf/references/FORMS.md +0 -69
- package/dist/config/skills/pdf/references/REFERENCE.md +0 -52
- package/dist/config/skills/pdf/scripts/__pycache__/create_report.cpython-312.pyc +0 -0
- package/dist/config/skills/pdf/scripts/create_report.py +0 -936
- package/dist/config/skills/pdf/scripts/merge_pdfs.py +0 -48
- package/dist/config/skills/skill-creator/LICENSE.txt +0 -26
- package/dist/config/skills/skill-creator/SKILL.md +0 -229
- package/dist/config/skills/xlsx/LICENSE.txt +0 -18
- package/dist/config/skills/xlsx/SKILL.md +0 -340
- package/dist/config/skills/xlsx/references/REFERENCE.md +0 -337
- package/dist/config/skills/xlsx/scripts/office/__init__.py +0 -2
- package/dist/config/skills/xlsx/scripts/office/pack.py +0 -58
- package/dist/config/skills/xlsx/scripts/office/soffice.py +0 -180
- package/dist/config/skills/xlsx/scripts/office/unpack.py +0 -63
- package/dist/config/skills/xlsx/scripts/office/validate.py +0 -122
- package/dist/config/skills/xlsx/scripts/recalc.py +0 -152
- package/dist/main.js +0 -47918
- package/dist/native/bluma-clipboard.linux-x64-gnu.node +0 -0
- package/dist/native/index.d.ts +0 -38
- package/dist/native/index.js +0 -319
- package/dist/native/package.json +0 -38
- package/dist/scaffold/.eslintrc.json +0 -3
- package/dist/scaffold/app/globals.css +0 -46
- package/dist/scaffold/app/layout.tsx +0 -19
- package/dist/scaffold/app/page.tsx +0 -124
- package/dist/scaffold/components/ui/README.md +0 -12
- package/dist/scaffold/components/ui/accordion.jsx +0 -42
- package/dist/scaffold/components/ui/alert-dialog.jsx +0 -80
- package/dist/scaffold/components/ui/alert.jsx +0 -33
- package/dist/scaffold/components/ui/aspect-ratio.jsx +0 -5
- package/dist/scaffold/components/ui/avatar.jsx +0 -28
- package/dist/scaffold/components/ui/badge.jsx +0 -24
- package/dist/scaffold/components/ui/breadcrumb.jsx +0 -72
- package/dist/scaffold/components/ui/button.jsx +0 -40
- package/dist/scaffold/components/ui/calendar.jsx +0 -56
- package/dist/scaffold/components/ui/card.jsx +0 -38
- package/dist/scaffold/components/ui/carousel.jsx +0 -168
- package/dist/scaffold/components/ui/chart.jsx +0 -76
- package/dist/scaffold/components/ui/checkbox.jsx +0 -22
- package/dist/scaffold/components/ui/collapsible.jsx +0 -7
- package/dist/scaffold/components/ui/command.jsx +0 -100
- package/dist/scaffold/components/ui/context-menu.jsx +0 -137
- package/dist/scaffold/components/ui/dialog.jsx +0 -72
- package/dist/scaffold/components/ui/drawer.jsx +0 -68
- package/dist/scaffold/components/ui/dropdown-menu.jsx +0 -143
- package/dist/scaffold/components/ui/form.jsx +0 -88
- package/dist/scaffold/components/ui/hover-card.jsx +0 -22
- package/dist/scaffold/components/ui/input-otp.jsx +0 -49
- package/dist/scaffold/components/ui/input.jsx +0 -19
- package/dist/scaffold/components/ui/label.jsx +0 -15
- package/dist/scaffold/components/ui/menubar.jsx +0 -161
- package/dist/scaffold/components/ui/navigation-menu.jsx +0 -95
- package/dist/scaffold/components/ui/pagination.jsx +0 -77
- package/dist/scaffold/components/ui/popover.jsx +0 -25
- package/dist/scaffold/components/ui/progress.jsx +0 -19
- package/dist/scaffold/components/ui/radio-group.jsx +0 -29
- package/dist/scaffold/components/ui/resizable.jsx +0 -27
- package/dist/scaffold/components/ui/scroll-area.jsx +0 -31
- package/dist/scaffold/components/ui/select.jsx +0 -117
- package/dist/scaffold/components/ui/separator.jsx +0 -22
- package/dist/scaffold/components/ui/sheet.jsx +0 -81
- package/dist/scaffold/components/ui/skeleton.jsx +0 -7
- package/dist/scaffold/components/ui/slider.jsx +0 -19
- package/dist/scaffold/components/ui/sonner.jsx +0 -22
- package/dist/scaffold/components/ui/switch.jsx +0 -23
- package/dist/scaffold/components/ui/table.jsx +0 -61
- package/dist/scaffold/components/ui/tabs.jsx +0 -43
- package/dist/scaffold/components/ui/textarea.jsx +0 -18
- package/dist/scaffold/components/ui/toast.jsx +0 -85
- package/dist/scaffold/components/ui/toaster.jsx +0 -33
- package/dist/scaffold/components/ui/toggle-group.jsx +0 -41
- package/dist/scaffold/components/ui/toggle.jsx +0 -30
- package/dist/scaffold/components/ui/tooltip.jsx +0 -22
- package/dist/scaffold/hooks/use-toast.ts +0 -101
- package/dist/scaffold/lib/utils.ts +0 -6
- package/dist/scaffold/next.config.js +0 -5
- package/dist/scaffold/next.config.mjs +0 -15
- package/dist/scaffold/next.config.ts +0 -19
- package/dist/scaffold/package.json +0 -70
- package/dist/scaffold/postcss.config.js +0 -6
- package/dist/scaffold/tailwind.config.ts +0 -57
- package/dist/scaffold/tsconfig.json +0 -20
|
@@ -1,1151 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"nativeTools": [
|
|
3
|
-
{
|
|
4
|
-
"type": "function",
|
|
5
|
-
"function": {
|
|
6
|
-
"name": "todo",
|
|
7
|
-
"description": "Manages a simple task list to plan and track work towards completing objectives. The agent provides an array of tasks with descriptions and completion status. Use this tool to organize work into manageable steps.",
|
|
8
|
-
"parameters": {
|
|
9
|
-
"type": "object",
|
|
10
|
-
"properties": {
|
|
11
|
-
"tasks": {
|
|
12
|
-
"type": "array",
|
|
13
|
-
"items": {
|
|
14
|
-
"type": "object",
|
|
15
|
-
"properties": {
|
|
16
|
-
"description": {
|
|
17
|
-
"type": "string",
|
|
18
|
-
"description": "Clear description of the task to be done"
|
|
19
|
-
},
|
|
20
|
-
"isComplete": {
|
|
21
|
-
"type": "boolean",
|
|
22
|
-
"description": "Whether the task is completed (true) or pending (false)"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"required": [
|
|
26
|
-
"description",
|
|
27
|
-
"isComplete"
|
|
28
|
-
]
|
|
29
|
-
},
|
|
30
|
-
"description": "Array of tasks with their descriptions and completion status. Example: [{\"description\": \"Setup project structure\", \"isComplete\": true}, {\"description\": \"Implement authentication\", \"isComplete\": false}]"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"required": [
|
|
34
|
-
"tasks"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"type": "function",
|
|
41
|
-
"function": {
|
|
42
|
-
"name": "edit_tool",
|
|
43
|
-
"description": "Replaces exact text in file(s) or creates files.\n\n MANDATORY: Always call `read_file_lines` on the target file immediately before this tool. Never edit from memory or context — file content may have changed. Copy `old_string` verbatim from the read output.\n\n**Two modes (provide ONE, not both):**\n1. **Single-edit:** `file_path` + `old_string` + `new_string` (omit `edits`).\n2. **Batch:** non-empty `edits[]` with `{file_path, old_string, new_string}` per item (omit single-edit fields).\n\n**Prefer batching:** use `edits` with multiple entries in **one** call when you need several replacements. Order matters on the same path.\n\n**Avoid line-by-line surgery:** batch related changes or use one wide `old_string` block.\n- After `read_file_lines`, copy a **contiguous block** with unique context into `old_string`.\n- Include 2–3 lines of surrounding context to make `old_string` unique in the file.\n- If no match, re-read the file — do not guess or adjust blindly.\n- Match indentation and whitespace **exactly** as it appears in the file.\n\n**Checklist before calling:**\n1. Did I call `read_file_lines` on this file in this turn?\n2. Is `old_string` copied verbatim from that output?\n3. Does the indentation match exactly?\n4. Is `old_string` unique in the file (no accidental double-replace)?\n\nNew file: `old_string` must be empty string.",
|
|
44
|
-
"parameters": {
|
|
45
|
-
"type": "object",
|
|
46
|
-
"properties": {
|
|
47
|
-
"file_path": {
|
|
48
|
-
"type": "string",
|
|
49
|
-
"description": "Single-edit mode: path to the file. Do not set when using `edits[]`."
|
|
50
|
-
},
|
|
51
|
-
"old_string": {
|
|
52
|
-
"type": "string",
|
|
53
|
-
"description": "Single-edit mode: exact text to replace. Empty string only to create a new file."
|
|
54
|
-
},
|
|
55
|
-
"new_string": {
|
|
56
|
-
"type": "string",
|
|
57
|
-
"description": "Single-edit mode: replacement text."
|
|
58
|
-
},
|
|
59
|
-
"expected_replacements": {
|
|
60
|
-
"type": "integer",
|
|
61
|
-
"description": "Single-edit mode: occurrences to replace (default 1).",
|
|
62
|
-
"default": 1
|
|
63
|
-
},
|
|
64
|
-
"edits": {
|
|
65
|
-
"type": "array",
|
|
66
|
-
"maxItems": 64,
|
|
67
|
-
"description": "Batch mode: several edits in one call. When set, omit file_path/old_string/new_string at the top level.",
|
|
68
|
-
"items": {
|
|
69
|
-
"type": "object",
|
|
70
|
-
"properties": {
|
|
71
|
-
"file_path": {
|
|
72
|
-
"type": "string",
|
|
73
|
-
"description": "Target file for this replacement."
|
|
74
|
-
},
|
|
75
|
-
"old_string": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"description": "Exact snippet to replace; empty only when creating that path as a new file."
|
|
78
|
-
},
|
|
79
|
-
"new_string": {
|
|
80
|
-
"type": "string",
|
|
81
|
-
"description": "New content for that replacement."
|
|
82
|
-
},
|
|
83
|
-
"expected_replacements": {
|
|
84
|
-
"type": "integer",
|
|
85
|
-
"description": "Occurrences to replace for this entry (default 1).",
|
|
86
|
-
"default": 1
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
"required": [
|
|
90
|
-
"file_path",
|
|
91
|
-
"old_string",
|
|
92
|
-
"new_string"
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"anyOf": [
|
|
98
|
-
{
|
|
99
|
-
"required": [
|
|
100
|
-
"file_path",
|
|
101
|
-
"old_string",
|
|
102
|
-
"new_string"
|
|
103
|
-
]
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"required": [
|
|
107
|
-
"edits"
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
]
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"type": "function",
|
|
116
|
-
"function": {
|
|
117
|
-
"name": "file_write",
|
|
118
|
-
"description": "Writes full file contents directly into the workspace. Use this when creating a new file or replacing an entire file body is cleaner than edit_tool. In sandbox mode this is ideal for generated outputs, configs, and artifact staging.",
|
|
119
|
-
"parameters": {
|
|
120
|
-
"type": "object",
|
|
121
|
-
"properties": {
|
|
122
|
-
"filepath": {
|
|
123
|
-
"type": "string",
|
|
124
|
-
"description": "Absolute or relative path to the file inside the current workspace."
|
|
125
|
-
},
|
|
126
|
-
"content": {
|
|
127
|
-
"type": "string",
|
|
128
|
-
"description": "Full file content to write."
|
|
129
|
-
},
|
|
130
|
-
"overwrite": {
|
|
131
|
-
"type": "boolean",
|
|
132
|
-
"description": "Whether an existing file may be overwritten. Defaults to true.",
|
|
133
|
-
"default": true
|
|
134
|
-
},
|
|
135
|
-
"create_directories": {
|
|
136
|
-
"type": "boolean",
|
|
137
|
-
"description": "Create missing parent directories before writing. Defaults to true.",
|
|
138
|
-
"default": true
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"required": [
|
|
142
|
-
"filepath",
|
|
143
|
-
"content"
|
|
144
|
-
]
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
"type": "function",
|
|
150
|
-
"function": {
|
|
151
|
-
"name": "spawn_agent",
|
|
152
|
-
"description": "Spawns a background worker agent for a bounded subtask. Use this when work can run in parallel or should be delegated. The returned session_id can be used with wait_agent or list_agents.",
|
|
153
|
-
"parameters": {
|
|
154
|
-
"type": "object",
|
|
155
|
-
"properties": {
|
|
156
|
-
"task": {
|
|
157
|
-
"type": "string",
|
|
158
|
-
"description": "Concrete task for the worker agent to execute."
|
|
159
|
-
},
|
|
160
|
-
"title": {
|
|
161
|
-
"type": "string",
|
|
162
|
-
"description": "Optional short title for the worker session."
|
|
163
|
-
},
|
|
164
|
-
"agent_type": {
|
|
165
|
-
"type": "string",
|
|
166
|
-
"description": "Optional worker role label such as worker, verifier, or planner.",
|
|
167
|
-
"default": "worker"
|
|
168
|
-
},
|
|
169
|
-
"context": {
|
|
170
|
-
"type": "object",
|
|
171
|
-
"description": "Optional structured context to pass to the worker."
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"required": [
|
|
175
|
-
"task"
|
|
176
|
-
]
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"type": "function",
|
|
182
|
-
"function": {
|
|
183
|
-
"name": "wait_agent",
|
|
184
|
-
"description": "Waits for a worker agent session to finish and returns its latest result event. Use this after spawn_agent when the next step depends on the worker output.",
|
|
185
|
-
"parameters": {
|
|
186
|
-
"type": "object",
|
|
187
|
-
"properties": {
|
|
188
|
-
"session_id": {
|
|
189
|
-
"type": "string",
|
|
190
|
-
"description": "Worker session id returned by spawn_agent."
|
|
191
|
-
},
|
|
192
|
-
"timeout_ms": {
|
|
193
|
-
"type": "integer",
|
|
194
|
-
"description": "Maximum time to wait before returning without completion.",
|
|
195
|
-
"default": 30000
|
|
196
|
-
},
|
|
197
|
-
"poll_interval_ms": {
|
|
198
|
-
"type": "integer",
|
|
199
|
-
"description": "Polling interval for checking worker completion.",
|
|
200
|
-
"default": 1000
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
"required": [
|
|
204
|
-
"session_id"
|
|
205
|
-
]
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
"type": "function",
|
|
211
|
-
"function": {
|
|
212
|
-
"name": "list_agents",
|
|
213
|
-
"description": "Lists known agent and worker sessions. Use this to inspect active or completed delegated work.",
|
|
214
|
-
"parameters": {
|
|
215
|
-
"type": "object",
|
|
216
|
-
"properties": {
|
|
217
|
-
"parent_session_id": {
|
|
218
|
-
"type": "string",
|
|
219
|
-
"description": "Optional parent session id to filter child workers."
|
|
220
|
-
},
|
|
221
|
-
"status": {
|
|
222
|
-
"type": "string",
|
|
223
|
-
"description": "Optional status filter such as running, completed, error, or cancelled."
|
|
224
|
-
}
|
|
225
|
-
},
|
|
226
|
-
"required": []
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"type": "function",
|
|
232
|
-
"function": {
|
|
233
|
-
"name": "ls_tool",
|
|
234
|
-
"description": "Lists files and subdirectories with advanced support for pagination and filtering. Automatically ignores common unnecessary files/directories like '.venv', 'node_modules', etc.",
|
|
235
|
-
"parameters": {
|
|
236
|
-
"type": "object",
|
|
237
|
-
"properties": {
|
|
238
|
-
"directory_path": {
|
|
239
|
-
"type": "string",
|
|
240
|
-
"description": "Path of the directory to list. Defaults to '.' (current directory).",
|
|
241
|
-
"default": "."
|
|
242
|
-
},
|
|
243
|
-
"recursive": {
|
|
244
|
-
"type": "boolean",
|
|
245
|
-
"description": "If True, lists recursively all subdirectories.",
|
|
246
|
-
"default": false
|
|
247
|
-
},
|
|
248
|
-
"ignore_patterns": {
|
|
249
|
-
"type": "array",
|
|
250
|
-
"items": {
|
|
251
|
-
"type": "string"
|
|
252
|
-
},
|
|
253
|
-
"description": "Additional patterns to ignore (beyond defaults). E.g., ['test_*', '*.tmp']"
|
|
254
|
-
},
|
|
255
|
-
"start_index": {
|
|
256
|
-
"type": "integer",
|
|
257
|
-
"description": "Starting index for pagination (0-based).",
|
|
258
|
-
"default": 0
|
|
259
|
-
},
|
|
260
|
-
"end_index": {
|
|
261
|
-
"type": "integer",
|
|
262
|
-
"description": "Ending index for pagination (exclusive). If not provided, lists everything from start_index."
|
|
263
|
-
},
|
|
264
|
-
"show_hidden": {
|
|
265
|
-
"type": "boolean",
|
|
266
|
-
"description": "If True, shows files/directories starting with '.'.",
|
|
267
|
-
"default": false
|
|
268
|
-
},
|
|
269
|
-
"file_extensions": {
|
|
270
|
-
"type": "array",
|
|
271
|
-
"items": {
|
|
272
|
-
"type": "string"
|
|
273
|
-
},
|
|
274
|
-
"description": "List of extensions to filter (e.g., ['.ts', '.js', '.md']). If not provided, shows all file types."
|
|
275
|
-
},
|
|
276
|
-
"max_depth": {
|
|
277
|
-
"type": "integer",
|
|
278
|
-
"description": "Maximum depth for recursive listing. If not provided, there is no limit."
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"required": []
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"type": "function",
|
|
287
|
-
"function": {
|
|
288
|
-
"name": "count_file_lines",
|
|
289
|
-
"description": "Counts and returns the total number of lines in a text file. Useful for quickly determining file size or checking if a file is empty before reading it.",
|
|
290
|
-
"parameters": {
|
|
291
|
-
"type": "object",
|
|
292
|
-
"properties": {
|
|
293
|
-
"filepath": {
|
|
294
|
-
"type": "string",
|
|
295
|
-
"description": "Path to the file to count lines from. Can be relative or absolute."
|
|
296
|
-
},
|
|
297
|
-
"file_path": {
|
|
298
|
-
"type": "string",
|
|
299
|
-
"description": "Alias for filepath, accepted for consistency with edit/file tools."
|
|
300
|
-
}
|
|
301
|
-
},
|
|
302
|
-
"required": [
|
|
303
|
-
"filepath"
|
|
304
|
-
]
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"type": "function",
|
|
310
|
-
"function": {
|
|
311
|
-
"name": "read_file_lines",
|
|
312
|
-
"description": "Reads a slice of a text FILE. ONLY works on files — never pass a directory path. If you are unsure what files exist inside a directory, call ls_tool first. Supports offset+limit or start_line+end_line; defaults to reading up to 2000 lines from line 1. Use line_number_prefix to get cat -n style output.",
|
|
313
|
-
"parameters": {
|
|
314
|
-
"type": "object",
|
|
315
|
-
"properties": {
|
|
316
|
-
"filepath": {
|
|
317
|
-
"type": "string",
|
|
318
|
-
"description": "Path to the file to read (absolute or workspace-relative, ~ is supported). Must point to a file, not a directory."
|
|
319
|
-
},
|
|
320
|
-
"file_path": {
|
|
321
|
-
"type": "string",
|
|
322
|
-
"description": "Alias for filepath."
|
|
323
|
-
},
|
|
324
|
-
"offset": {
|
|
325
|
-
"type": "integer",
|
|
326
|
-
"description": "1-based start line (alias of start_line). Defaults to 1."
|
|
327
|
-
},
|
|
328
|
-
"start_line": {
|
|
329
|
-
"type": "integer",
|
|
330
|
-
"description": "1-based start line. Defaults to 1 if omitted."
|
|
331
|
-
},
|
|
332
|
-
"end_line": {
|
|
333
|
-
"type": "integer",
|
|
334
|
-
"description": "1-based end line, inclusive. Use instead of limit when you know the exact range."
|
|
335
|
-
},
|
|
336
|
-
"limit": {
|
|
337
|
-
"type": "integer",
|
|
338
|
-
"description": "Number of lines to read from start. end_line = start + limit - 1. Ignored if end_line is set."
|
|
339
|
-
},
|
|
340
|
-
"line_number_prefix": {
|
|
341
|
-
"type": "boolean",
|
|
342
|
-
"description": "If true, prefix each line with its line number (cat -n style: ' 1|content')."
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
"required": [
|
|
346
|
-
"filepath"
|
|
347
|
-
]
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"type": "function",
|
|
353
|
-
"function": {
|
|
354
|
-
"name": "find_by_name",
|
|
355
|
-
"description": "Search for files and directories by name using glob patterns. Automatically ignores common directories like node_modules, .git, etc. Use this to quickly locate files in a project.",
|
|
356
|
-
"parameters": {
|
|
357
|
-
"type": "object",
|
|
358
|
-
"properties": {
|
|
359
|
-
"pattern": {
|
|
360
|
-
"type": "string",
|
|
361
|
-
"description": "Glob pattern to search for. Supports: * (wildcard), ? (single char), ** (recursive). Examples: '*.ts', 'test_*.py', 'README*'"
|
|
362
|
-
},
|
|
363
|
-
"directory": {
|
|
364
|
-
"type": "string",
|
|
365
|
-
"description": "Directory to search in. Defaults to current working directory.",
|
|
366
|
-
"default": "."
|
|
367
|
-
},
|
|
368
|
-
"extensions": {
|
|
369
|
-
"type": "array",
|
|
370
|
-
"items": {
|
|
371
|
-
"type": "string"
|
|
372
|
-
},
|
|
373
|
-
"description": "File extensions to filter (e.g., ['.ts', '.js']). If not provided, matches all."
|
|
374
|
-
},
|
|
375
|
-
"max_depth": {
|
|
376
|
-
"type": "integer",
|
|
377
|
-
"description": "Maximum directory depth to search. Default is 10.",
|
|
378
|
-
"default": 10
|
|
379
|
-
},
|
|
380
|
-
"include_hidden": {
|
|
381
|
-
"type": "boolean",
|
|
382
|
-
"description": "Include hidden files/directories (starting with .).",
|
|
383
|
-
"default": false
|
|
384
|
-
},
|
|
385
|
-
"exclude_patterns": {
|
|
386
|
-
"type": "array",
|
|
387
|
-
"items": {
|
|
388
|
-
"type": "string"
|
|
389
|
-
},
|
|
390
|
-
"description": "Additional patterns to exclude beyond defaults."
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
"required": [
|
|
394
|
-
"pattern"
|
|
395
|
-
]
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
"type": "function",
|
|
401
|
-
"function": {
|
|
402
|
-
"name": "grep_search",
|
|
403
|
-
"description": "Search for text patterns within files. Supports regex, case sensitivity, and context lines. Automatically skips binary files and common non-source directories. Use this to find code, strings, or patterns across a project.",
|
|
404
|
-
"parameters": {
|
|
405
|
-
"type": "object",
|
|
406
|
-
"properties": {
|
|
407
|
-
"query": {
|
|
408
|
-
"type": "string",
|
|
409
|
-
"description": "Text or regex pattern to search for."
|
|
410
|
-
},
|
|
411
|
-
"path": {
|
|
412
|
-
"type": "string",
|
|
413
|
-
"description": "File or directory path to search. Can be a specific file or a directory for recursive search."
|
|
414
|
-
},
|
|
415
|
-
"case_insensitive": {
|
|
416
|
-
"type": "boolean",
|
|
417
|
-
"description": "Ignore case when matching. Default is true.",
|
|
418
|
-
"default": true
|
|
419
|
-
},
|
|
420
|
-
"is_regex": {
|
|
421
|
-
"type": "boolean",
|
|
422
|
-
"description": "Treat query as a regular expression. Default is false (literal match).",
|
|
423
|
-
"default": false
|
|
424
|
-
},
|
|
425
|
-
"include_patterns": {
|
|
426
|
-
"type": "array",
|
|
427
|
-
"items": {
|
|
428
|
-
"type": "string"
|
|
429
|
-
},
|
|
430
|
-
"description": "Glob patterns for files to include (e.g., ['*.ts', '*.js']). If not provided, searches all text files."
|
|
431
|
-
},
|
|
432
|
-
"max_results": {
|
|
433
|
-
"type": "integer",
|
|
434
|
-
"description": "Maximum number of matches to return. Default is 100.",
|
|
435
|
-
"default": 100
|
|
436
|
-
},
|
|
437
|
-
"context_lines": {
|
|
438
|
-
"type": "integer",
|
|
439
|
-
"description": "Number of lines to show before/after each match. Default is 0.",
|
|
440
|
-
"default": 0
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
"required": [
|
|
444
|
-
"query",
|
|
445
|
-
"path"
|
|
446
|
-
]
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
},
|
|
450
|
-
{
|
|
451
|
-
"type": "function",
|
|
452
|
-
"function": {
|
|
453
|
-
"name": "view_file_outline",
|
|
454
|
-
"description": "Shows the structure of a code file: classes, functions, methods, interfaces, with line numbers. Useful for understanding file organization before editing. Supports TypeScript, JavaScript, Python, Java, Go, Rust, Ruby, PHP, C#, Swift, Kotlin, Scala, C/C++.",
|
|
455
|
-
"parameters": {
|
|
456
|
-
"type": "object",
|
|
457
|
-
"properties": {
|
|
458
|
-
"file_path": {
|
|
459
|
-
"type": "string",
|
|
460
|
-
"description": "Path to the file to analyze."
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
|
-
"required": [
|
|
464
|
-
"file_path"
|
|
465
|
-
]
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
{
|
|
470
|
-
"type": "function",
|
|
471
|
-
"function": {
|
|
472
|
-
"name": "shell_command",
|
|
473
|
-
"description": "Execute a shell command. The command runs in background and returns a command_id. Use command_status to check progress and get output. Security: blocks sudo, rm -rf, fork bombs, and other dangerous commands. Output is limited to 30KB/200 lines to avoid context overflow.",
|
|
474
|
-
"parameters": {
|
|
475
|
-
"type": "object",
|
|
476
|
-
"properties": {
|
|
477
|
-
"command": {
|
|
478
|
-
"type": "string",
|
|
479
|
-
"description": "The shell command to execute. Examples: 'npm install', 'git status', 'docker build', 'pytest'. Cross-platform (bash/sh on Unix, cmd on Windows)."
|
|
480
|
-
},
|
|
481
|
-
"cwd": {
|
|
482
|
-
"type": "string",
|
|
483
|
-
"description": "Working directory. Defaults to current directory."
|
|
484
|
-
},
|
|
485
|
-
"timeout": {
|
|
486
|
-
"type": "integer",
|
|
487
|
-
"description": "Timeout in seconds. 0 = no timeout. Default is 0.",
|
|
488
|
-
"default": 0
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
"required": [
|
|
492
|
-
"command"
|
|
493
|
-
]
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
},
|
|
497
|
-
{
|
|
498
|
-
"type": "function",
|
|
499
|
-
"function": {
|
|
500
|
-
"name": "command_status",
|
|
501
|
-
"description": "Check the status of a command started with shell_command. Returns status, output, and exit code.",
|
|
502
|
-
"parameters": {
|
|
503
|
-
"type": "object",
|
|
504
|
-
"properties": {
|
|
505
|
-
"command_id": {
|
|
506
|
-
"type": "string",
|
|
507
|
-
"description": "The command ID returned by shell_command."
|
|
508
|
-
},
|
|
509
|
-
"wait_seconds": {
|
|
510
|
-
"type": "integer",
|
|
511
|
-
"description": "Optionally wait up to N seconds for the command to complete before returning status. Default is 0 (no wait).",
|
|
512
|
-
"default": 0
|
|
513
|
-
},
|
|
514
|
-
"output_limit": {
|
|
515
|
-
"type": "integer",
|
|
516
|
-
"description": "Maximum characters of output to return. Default is 10000.",
|
|
517
|
-
"default": 10000
|
|
518
|
-
}
|
|
519
|
-
},
|
|
520
|
-
"required": [
|
|
521
|
-
"command_id"
|
|
522
|
-
]
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"type": "function",
|
|
528
|
-
"function": {
|
|
529
|
-
"name": "send_command_input",
|
|
530
|
-
"description": "Send input to a running background command's stdin. Useful for commands that expect user input like confirmations (y/n).",
|
|
531
|
-
"parameters": {
|
|
532
|
-
"type": "object",
|
|
533
|
-
"properties": {
|
|
534
|
-
"command_id": {
|
|
535
|
-
"type": "string",
|
|
536
|
-
"description": "The command ID of the running command."
|
|
537
|
-
},
|
|
538
|
-
"input": {
|
|
539
|
-
"type": "string",
|
|
540
|
-
"description": "The input to send to the command. Include newline if needed to submit."
|
|
541
|
-
}
|
|
542
|
-
},
|
|
543
|
-
"required": [
|
|
544
|
-
"command_id",
|
|
545
|
-
"input"
|
|
546
|
-
]
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
"type": "function",
|
|
552
|
-
"function": {
|
|
553
|
-
"name": "kill_command",
|
|
554
|
-
"description": "Terminate a running background command.",
|
|
555
|
-
"parameters": {
|
|
556
|
-
"type": "object",
|
|
557
|
-
"properties": {
|
|
558
|
-
"command_id": {
|
|
559
|
-
"type": "string",
|
|
560
|
-
"description": "The command ID of the command to kill."
|
|
561
|
-
}
|
|
562
|
-
},
|
|
563
|
-
"required": [
|
|
564
|
-
"command_id"
|
|
565
|
-
]
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
{
|
|
570
|
-
"type": "function",
|
|
571
|
-
"function": {
|
|
572
|
-
"name": "task_boundary",
|
|
573
|
-
"description": "Indicate the start of a task or make an update to the current task. Use this to organize complex work into phases (PLANNING, EXECUTION, VERIFICATION). The UI will show this as a structured task view with progress tracking. **IMPORTANT: All 4 fields are required and must not be empty.**",
|
|
574
|
-
"parameters": {
|
|
575
|
-
"type": "object",
|
|
576
|
-
"properties": {
|
|
577
|
-
"task_name": {
|
|
578
|
-
"type": "string",
|
|
579
|
-
"minLength": 1,
|
|
580
|
-
"description": "Name of the task, e.g. 'Implementing Authentication'. Use the same name to update an existing task. **REQUIRED: Must not be empty.**"
|
|
581
|
-
},
|
|
582
|
-
"mode": {
|
|
583
|
-
"type": "string",
|
|
584
|
-
"enum": [
|
|
585
|
-
"PLANNING",
|
|
586
|
-
"EXECUTION",
|
|
587
|
-
"VERIFICATION"
|
|
588
|
-
],
|
|
589
|
-
"description": "Current mode: PLANNING (research/design), EXECUTION (implementing), VERIFICATION (testing). **REQUIRED.**"
|
|
590
|
-
},
|
|
591
|
-
"task_status": {
|
|
592
|
-
"type": "string",
|
|
593
|
-
"minLength": 1,
|
|
594
|
-
"description": "Current activity, e.g. 'Creating authentication middleware'. Describes what you are about to do. **REQUIRED: Must not be empty.**"
|
|
595
|
-
},
|
|
596
|
-
"task_summary": {
|
|
597
|
-
"type": "string",
|
|
598
|
-
"minLength": 1,
|
|
599
|
-
"description": "Summary of what has been accomplished so far. Should be concise but comprehensive. **REQUIRED: Must not be empty.**"
|
|
600
|
-
}
|
|
601
|
-
},
|
|
602
|
-
"required": [
|
|
603
|
-
"task_name",
|
|
604
|
-
"mode",
|
|
605
|
-
"task_status",
|
|
606
|
-
"task_summary"
|
|
607
|
-
]
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
"type": "function",
|
|
613
|
-
"function": {
|
|
614
|
-
"name": "search_web",
|
|
615
|
-
"description": "Search for programming solutions across developer-focused sources: Reddit (programming subreddits), GitHub (issues/discussions), StackOverflow, and X (link only). Use this to find solutions, best practices, and community discussions about errors or implementation approaches. NEW: Supports domain filtering and rate limiting.",
|
|
616
|
-
"parameters": {
|
|
617
|
-
"type": "object",
|
|
618
|
-
"properties": {
|
|
619
|
-
"query": {
|
|
620
|
-
"type": "string",
|
|
621
|
-
"description": "Search query, e.g. 'typescript cannot find module', 'react useEffect infinite loop fix'. Must be 2-500 characters."
|
|
622
|
-
},
|
|
623
|
-
"sources": {
|
|
624
|
-
"type": "array",
|
|
625
|
-
"items": {
|
|
626
|
-
"type": "string",
|
|
627
|
-
"enum": [
|
|
628
|
-
"reddit",
|
|
629
|
-
"github",
|
|
630
|
-
"stackoverflow",
|
|
631
|
-
"x"
|
|
632
|
-
]
|
|
633
|
-
},
|
|
634
|
-
"description": "Which sources to search. Default: ['reddit', 'github', 'stackoverflow']",
|
|
635
|
-
"default": [
|
|
636
|
-
"reddit",
|
|
637
|
-
"github",
|
|
638
|
-
"stackoverflow"
|
|
639
|
-
]
|
|
640
|
-
},
|
|
641
|
-
"max_results": {
|
|
642
|
-
"type": "integer",
|
|
643
|
-
"description": "Maximum total results to return. Default is 10, max is 50.",
|
|
644
|
-
"default": 10,
|
|
645
|
-
"maximum": 50,
|
|
646
|
-
"minimum": 1
|
|
647
|
-
},
|
|
648
|
-
"allowed_domains": {
|
|
649
|
-
"type": "array",
|
|
650
|
-
"items": {
|
|
651
|
-
"type": "string"
|
|
652
|
-
},
|
|
653
|
-
"description": "Only include search results from these domains (e.g., ['github.com', 'reddit.com']). Cannot be used with blocked_domains."
|
|
654
|
-
},
|
|
655
|
-
"blocked_domains": {
|
|
656
|
-
"type": "array",
|
|
657
|
-
"items": {
|
|
658
|
-
"type": "string"
|
|
659
|
-
},
|
|
660
|
-
"description": "Never include search results from these domains (e.g., ['spam-site.com']). Cannot be used with allowed_domains."
|
|
661
|
-
},
|
|
662
|
-
"max_uses": {
|
|
663
|
-
"type": "integer",
|
|
664
|
-
"description": "Maximum number of sources to search (rate limiting). Default is 8, max is 20.",
|
|
665
|
-
"default": 8,
|
|
666
|
-
"maximum": 20,
|
|
667
|
-
"minimum": 1
|
|
668
|
-
}
|
|
669
|
-
},
|
|
670
|
-
"required": [
|
|
671
|
-
"query"
|
|
672
|
-
]
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
"type": "function",
|
|
678
|
-
"function": {
|
|
679
|
-
"name": "web_fetch",
|
|
680
|
-
"description": "Fetch the contents of a remote URL and return cleaned text for analysis. Use this when you already know the exact page to inspect and want the content itself, not just search results.",
|
|
681
|
-
"parameters": {
|
|
682
|
-
"type": "object",
|
|
683
|
-
"properties": {
|
|
684
|
-
"url": {
|
|
685
|
-
"type": "string",
|
|
686
|
-
"description": "HTTP or HTTPS URL to fetch."
|
|
687
|
-
},
|
|
688
|
-
"max_chars": {
|
|
689
|
-
"type": "integer",
|
|
690
|
-
"description": "Optional response truncation limit in characters. Defaults to 12000."
|
|
691
|
-
}
|
|
692
|
-
},
|
|
693
|
-
"required": [
|
|
694
|
-
"url"
|
|
695
|
-
]
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
"type": "function",
|
|
701
|
-
"function": {
|
|
702
|
-
"name": "read_artifact",
|
|
703
|
-
"description": "Read an artifact from the current session artifacts directory (.bluma/artifacts/<session>/). Use to retrieve plans or notes saved with create_artifact in this task.",
|
|
704
|
-
"parameters": {
|
|
705
|
-
"type": "object",
|
|
706
|
-
"properties": {
|
|
707
|
-
"filename": {
|
|
708
|
-
"type": "string",
|
|
709
|
-
"description": "Name of the artifact file to read. Examples: 'implementation_plan.md', 'task.md'."
|
|
710
|
-
}
|
|
711
|
-
},
|
|
712
|
-
"required": [
|
|
713
|
-
"filename"
|
|
714
|
-
]
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
"type": "function",
|
|
720
|
-
"function": {
|
|
721
|
-
"name": "load_skill",
|
|
722
|
-
"description": "Load a specialized skill to enhance your capabilities for a specific task. Skills provide domain-specific knowledge and best practices. Use this when you need expertise in testing, deployment, git conventions, frameworks, or other specialized areas. The skill will be loaded into context and available for the current task.",
|
|
723
|
-
"parameters": {
|
|
724
|
-
"type": "object",
|
|
725
|
-
"properties": {
|
|
726
|
-
"skill_name": {
|
|
727
|
-
"type": "string",
|
|
728
|
-
"description": "Exact skill name from the <available_skills> list in the system prompt (e.g. git-commit, git-pr, pdf). Do not invent names — use only names listed there."
|
|
729
|
-
}
|
|
730
|
-
},
|
|
731
|
-
"required": [
|
|
732
|
-
"skill_name"
|
|
733
|
-
]
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"type": "function",
|
|
739
|
-
"function": {
|
|
740
|
-
"name": "coding_memory",
|
|
741
|
-
"description": "CRUD for durable coding notes on disk (~/.bluma/coding_memory.json), separate from chat. There is **no** action to wipe all entries: delete only one id at a time with `remove`.",
|
|
742
|
-
"parameters": {
|
|
743
|
-
"type": "object",
|
|
744
|
-
"properties": {
|
|
745
|
-
"action": {
|
|
746
|
-
"type": "string",
|
|
747
|
-
"description": "add=new note | list=all entries with ids | search=filter by query | remove=delete one entry by id | update=change note and/or tags for one id",
|
|
748
|
-
"enum": [
|
|
749
|
-
"add",
|
|
750
|
-
"list",
|
|
751
|
-
"search",
|
|
752
|
-
"remove",
|
|
753
|
-
"update"
|
|
754
|
-
]
|
|
755
|
-
},
|
|
756
|
-
"id": {
|
|
757
|
-
"type": "integer",
|
|
758
|
-
"description": "Required for remove and update. Obtain from list, search, or the id shown in the system prompt snapshot."
|
|
759
|
-
},
|
|
760
|
-
"note": {
|
|
761
|
-
"type": "string",
|
|
762
|
-
"description": "For add: full note text. For update: new note text (non-empty); omit if only changing tags."
|
|
763
|
-
},
|
|
764
|
-
"tags": {
|
|
765
|
-
"type": "array",
|
|
766
|
-
"items": {
|
|
767
|
-
"type": "string"
|
|
768
|
-
},
|
|
769
|
-
"description": "For add: optional tags. For update: optional new tag list (replaces tags when provided)."
|
|
770
|
-
},
|
|
771
|
-
"query": {
|
|
772
|
-
"type": "string",
|
|
773
|
-
"description": "Required for search. Matches note text and tags."
|
|
774
|
-
}
|
|
775
|
-
},
|
|
776
|
-
"required": [
|
|
777
|
-
"action"
|
|
778
|
-
]
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
"type": "function",
|
|
784
|
-
"function": {
|
|
785
|
-
"name": "ask_user_question",
|
|
786
|
-
"description": "Ask the user one or more multiple-choice questions in the terminal (AskUserQuestion). Blocks until they answer. Supports multiple questions, option previews, and optional multi-select.",
|
|
787
|
-
"parameters": {
|
|
788
|
-
"type": "object",
|
|
789
|
-
"properties": {
|
|
790
|
-
"questions": {
|
|
791
|
-
"type": "array",
|
|
792
|
-
"items": {
|
|
793
|
-
"type": "object",
|
|
794
|
-
"properties": {
|
|
795
|
-
"question": {
|
|
796
|
-
"type": "string",
|
|
797
|
-
"description": "Question text"
|
|
798
|
-
},
|
|
799
|
-
"header": {
|
|
800
|
-
"type": "string",
|
|
801
|
-
"description": "Short section title"
|
|
802
|
-
},
|
|
803
|
-
"multiSelect": {
|
|
804
|
-
"type": "boolean",
|
|
805
|
-
"description": "Allow selecting multiple options for this question."
|
|
806
|
-
},
|
|
807
|
-
"options": {
|
|
808
|
-
"type": "array",
|
|
809
|
-
"items": {
|
|
810
|
-
"type": "object",
|
|
811
|
-
"properties": {
|
|
812
|
-
"label": {
|
|
813
|
-
"type": "string"
|
|
814
|
-
},
|
|
815
|
-
"description": {
|
|
816
|
-
"type": "string"
|
|
817
|
-
},
|
|
818
|
-
"preview": {
|
|
819
|
-
"type": "string",
|
|
820
|
-
"description": "Optional rendered preview shown beside the options."
|
|
821
|
-
}
|
|
822
|
-
},
|
|
823
|
-
"required": [
|
|
824
|
-
"label"
|
|
825
|
-
]
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
},
|
|
829
|
-
"required": [
|
|
830
|
-
"question",
|
|
831
|
-
"options"
|
|
832
|
-
]
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
},
|
|
836
|
-
"required": [
|
|
837
|
-
"questions"
|
|
838
|
-
]
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"type": "function",
|
|
844
|
-
"function": {
|
|
845
|
-
"name": "enter_plan_mode",
|
|
846
|
-
"description": "Enter plan-only mode (EnterPlanMode parity). While active, edits, writes, shell, spawn_agent, and artifact creation require user confirmation even if normally auto-approved.",
|
|
847
|
-
"parameters": {
|
|
848
|
-
"type": "object",
|
|
849
|
-
"properties": {
|
|
850
|
-
"reason": {
|
|
851
|
-
"type": "string",
|
|
852
|
-
"description": "Why planning mode is being entered."
|
|
853
|
-
}
|
|
854
|
-
}
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
{
|
|
859
|
-
"type": "function",
|
|
860
|
-
"function": {
|
|
861
|
-
"name": "exit_plan_mode",
|
|
862
|
-
"description": "Leave plan mode (ExitPlanMode parity). Restores normal auto-approve rules.",
|
|
863
|
-
"parameters": {
|
|
864
|
-
"type": "object",
|
|
865
|
-
"properties": {
|
|
866
|
-
"summary": {
|
|
867
|
-
"type": "string",
|
|
868
|
-
"description": "Optional short summary of the plan for the transcript."
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
{
|
|
875
|
-
"type": "function",
|
|
876
|
-
"function": {
|
|
877
|
-
"name": "task_create",
|
|
878
|
-
"description": "Create a session task (TaskCreate-style). Tasks are scoped to this session.",
|
|
879
|
-
"parameters": {
|
|
880
|
-
"type": "object",
|
|
881
|
-
"properties": {
|
|
882
|
-
"title": {
|
|
883
|
-
"type": "string"
|
|
884
|
-
},
|
|
885
|
-
"detail": {
|
|
886
|
-
"type": "string"
|
|
887
|
-
},
|
|
888
|
-
"status": {
|
|
889
|
-
"type": "string",
|
|
890
|
-
"enum": [
|
|
891
|
-
"pending",
|
|
892
|
-
"in_progress",
|
|
893
|
-
"completed",
|
|
894
|
-
"cancelled"
|
|
895
|
-
]
|
|
896
|
-
}
|
|
897
|
-
},
|
|
898
|
-
"required": [
|
|
899
|
-
"title"
|
|
900
|
-
]
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
},
|
|
904
|
-
{
|
|
905
|
-
"type": "function",
|
|
906
|
-
"function": {
|
|
907
|
-
"name": "task_list",
|
|
908
|
-
"description": "List all session tasks.",
|
|
909
|
-
"parameters": {
|
|
910
|
-
"type": "object",
|
|
911
|
-
"properties": {}
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
"type": "function",
|
|
917
|
-
"function": {
|
|
918
|
-
"name": "task_get",
|
|
919
|
-
"description": "Get one task by id.",
|
|
920
|
-
"parameters": {
|
|
921
|
-
"type": "object",
|
|
922
|
-
"properties": {
|
|
923
|
-
"task_id": {
|
|
924
|
-
"type": "string"
|
|
925
|
-
}
|
|
926
|
-
},
|
|
927
|
-
"required": [
|
|
928
|
-
"task_id"
|
|
929
|
-
]
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
},
|
|
933
|
-
{
|
|
934
|
-
"type": "function",
|
|
935
|
-
"function": {
|
|
936
|
-
"name": "task_update",
|
|
937
|
-
"description": "Update task fields.",
|
|
938
|
-
"parameters": {
|
|
939
|
-
"type": "object",
|
|
940
|
-
"properties": {
|
|
941
|
-
"task_id": {
|
|
942
|
-
"type": "string"
|
|
943
|
-
},
|
|
944
|
-
"title": {
|
|
945
|
-
"type": "string"
|
|
946
|
-
},
|
|
947
|
-
"detail": {
|
|
948
|
-
"type": "string"
|
|
949
|
-
},
|
|
950
|
-
"status": {
|
|
951
|
-
"type": "string",
|
|
952
|
-
"enum": [
|
|
953
|
-
"pending",
|
|
954
|
-
"in_progress",
|
|
955
|
-
"completed",
|
|
956
|
-
"cancelled"
|
|
957
|
-
]
|
|
958
|
-
}
|
|
959
|
-
},
|
|
960
|
-
"required": [
|
|
961
|
-
"task_id"
|
|
962
|
-
]
|
|
963
|
-
}
|
|
964
|
-
}
|
|
965
|
-
},
|
|
966
|
-
{
|
|
967
|
-
"type": "function",
|
|
968
|
-
"function": {
|
|
969
|
-
"name": "task_stop",
|
|
970
|
-
"description": "Mark a task as cancelled (TaskStop-style).",
|
|
971
|
-
"parameters": {
|
|
972
|
-
"type": "object",
|
|
973
|
-
"properties": {
|
|
974
|
-
"task_id": {
|
|
975
|
-
"type": "string"
|
|
976
|
-
}
|
|
977
|
-
},
|
|
978
|
-
"required": [
|
|
979
|
-
"task_id"
|
|
980
|
-
]
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"type": "function",
|
|
986
|
-
"function": {
|
|
987
|
-
"name": "list_mcp_resources",
|
|
988
|
-
"description": "List resources exposed by connected MCP servers (ListMcpResourcesTool parity).",
|
|
989
|
-
"parameters": {
|
|
990
|
-
"type": "object",
|
|
991
|
-
"properties": {
|
|
992
|
-
"server": {
|
|
993
|
-
"type": "string",
|
|
994
|
-
"description": "Optional: filter to one server name from config."
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
},
|
|
1000
|
-
{
|
|
1001
|
-
"type": "function",
|
|
1002
|
-
"function": {
|
|
1003
|
-
"name": "read_mcp_resource",
|
|
1004
|
-
"description": "Read a resource URI from a named MCP server (ReadMcpResourceTool parity).",
|
|
1005
|
-
"parameters": {
|
|
1006
|
-
"type": "object",
|
|
1007
|
-
"properties": {
|
|
1008
|
-
"server": {
|
|
1009
|
-
"type": "string",
|
|
1010
|
-
"description": "MCP server name as in bluma-mcp.json"
|
|
1011
|
-
},
|
|
1012
|
-
"uri": {
|
|
1013
|
-
"type": "string",
|
|
1014
|
-
"description": "Resource URI from list_mcp_resources"
|
|
1015
|
-
}
|
|
1016
|
-
},
|
|
1017
|
-
"required": [
|
|
1018
|
-
"server",
|
|
1019
|
-
"uri"
|
|
1020
|
-
]
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
"type": "function",
|
|
1026
|
-
"function": {
|
|
1027
|
-
"name": "cron_create",
|
|
1028
|
-
"description": "Schedule a one-shot or repeating user-visible reminder in this CLI session (CronCreate parity). Fires via user_overlay; timers end when the process exits.",
|
|
1029
|
-
"parameters": {
|
|
1030
|
-
"type": "object",
|
|
1031
|
-
"properties": {
|
|
1032
|
-
"delay_seconds": {
|
|
1033
|
-
"type": "integer",
|
|
1034
|
-
"description": "Seconds until first fire (1–604800)"
|
|
1035
|
-
},
|
|
1036
|
-
"prompt": {
|
|
1037
|
-
"type": "string",
|
|
1038
|
-
"description": "Text injected as a scheduled user message"
|
|
1039
|
-
},
|
|
1040
|
-
"repeat_interval_seconds": {
|
|
1041
|
-
"type": "integer",
|
|
1042
|
-
"description": "If set, repeat every N seconds after first fire (min 30)"
|
|
1043
|
-
}
|
|
1044
|
-
},
|
|
1045
|
-
"required": [
|
|
1046
|
-
"delay_seconds",
|
|
1047
|
-
"prompt"
|
|
1048
|
-
]
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
},
|
|
1052
|
-
{
|
|
1053
|
-
"type": "function",
|
|
1054
|
-
"function": {
|
|
1055
|
-
"name": "cron_list",
|
|
1056
|
-
"description": "List scheduled session cron jobs.",
|
|
1057
|
-
"parameters": {
|
|
1058
|
-
"type": "object",
|
|
1059
|
-
"properties": {}
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
"type": "function",
|
|
1065
|
-
"function": {
|
|
1066
|
-
"name": "cron_delete",
|
|
1067
|
-
"description": "Cancel a scheduled job by id from cron_list.",
|
|
1068
|
-
"parameters": {
|
|
1069
|
-
"type": "object",
|
|
1070
|
-
"properties": {
|
|
1071
|
-
"job_id": {
|
|
1072
|
-
"type": "string"
|
|
1073
|
-
}
|
|
1074
|
-
},
|
|
1075
|
-
"required": [
|
|
1076
|
-
"job_id"
|
|
1077
|
-
]
|
|
1078
|
-
}
|
|
1079
|
-
}
|
|
1080
|
-
},
|
|
1081
|
-
{
|
|
1082
|
-
"type": "function",
|
|
1083
|
-
"function": {
|
|
1084
|
-
"name": "notebook_edit",
|
|
1085
|
-
"description": "Edit a Jupyter .ipynb file (list/get/set/append/delete cells).",
|
|
1086
|
-
"parameters": {
|
|
1087
|
-
"type": "object",
|
|
1088
|
-
"properties": {
|
|
1089
|
-
"filepath": {
|
|
1090
|
-
"type": "string"
|
|
1091
|
-
},
|
|
1092
|
-
"operation": {
|
|
1093
|
-
"type": "string",
|
|
1094
|
-
"enum": [
|
|
1095
|
-
"list_cells",
|
|
1096
|
-
"get_cell",
|
|
1097
|
-
"set_cell_source",
|
|
1098
|
-
"append_markdown_cell",
|
|
1099
|
-
"delete_cell"
|
|
1100
|
-
]
|
|
1101
|
-
},
|
|
1102
|
-
"cell_index": {
|
|
1103
|
-
"type": "integer"
|
|
1104
|
-
},
|
|
1105
|
-
"source": {
|
|
1106
|
-
"type": "string"
|
|
1107
|
-
}
|
|
1108
|
-
},
|
|
1109
|
-
"required": [
|
|
1110
|
-
"filepath",
|
|
1111
|
-
"operation"
|
|
1112
|
-
]
|
|
1113
|
-
}
|
|
1114
|
-
}
|
|
1115
|
-
},
|
|
1116
|
-
{
|
|
1117
|
-
"type": "function",
|
|
1118
|
-
"function": {
|
|
1119
|
-
"name": "lsp_query",
|
|
1120
|
-
"description": "MVP LSP: go-to-definition or references for TS/JS via typescript-language-server (stdio). Set BLUMA_LSP_COMMAND to override. line is 1-based; character is 0-based UTF-16 offset.",
|
|
1121
|
-
"parameters": {
|
|
1122
|
-
"type": "object",
|
|
1123
|
-
"properties": {
|
|
1124
|
-
"filepath": {
|
|
1125
|
-
"type": "string"
|
|
1126
|
-
},
|
|
1127
|
-
"line": {
|
|
1128
|
-
"type": "integer"
|
|
1129
|
-
},
|
|
1130
|
-
"character": {
|
|
1131
|
-
"type": "integer",
|
|
1132
|
-
"description": "Default 0"
|
|
1133
|
-
},
|
|
1134
|
-
"operation": {
|
|
1135
|
-
"type": "string",
|
|
1136
|
-
"enum": [
|
|
1137
|
-
"definition",
|
|
1138
|
-
"references"
|
|
1139
|
-
],
|
|
1140
|
-
"description": "Default definition"
|
|
1141
|
-
}
|
|
1142
|
-
},
|
|
1143
|
-
"required": [
|
|
1144
|
-
"filepath",
|
|
1145
|
-
"line"
|
|
1146
|
-
]
|
|
1147
|
-
}
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
]
|
|
1151
|
-
}
|