jazz-ai 0.10.7 → 0.10.8

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/README.md CHANGED
@@ -1,19 +1,17 @@
1
1
  <div align="center">
2
2
 
3
- # Jazz 🎷
3
+ # Jazz
4
4
 
5
5
  [![TypeScript](https://img.shields.io/badge/TypeScript-100%25-blue.svg)](https://www.typescriptlang.org/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://img.shields.io/npm/v/jazz-ai.svg)](https://www.npmjs.com/package/jazz-ai)
6
6
 
7
7
  ### Your terminal. Your agent. Your rules.
8
8
 
9
- ![Jazz Demo](assets/jazz_demo_800.gif)
10
-
11
9
  Jazz is an AI agent that lives in your terminal and actually does things.
12
10
  Not a chatbot. Not a wrapper around an API. A personal assistant you control,
13
11
  that reads your files, manages your git, searches the web, handles your email,
14
12
  and automates the workflows you're tired of doing by hand.
15
13
 
16
- [Quick Start](#-quick-start) · [What Can It Do?](#-what-can-it-do) · [Workflows](#-workflows-automate-everything) · [CI/CD](#-cicd-jazz-in-your-pipelines) · [Docs](docs/README.md) · [Discord](https://discord.gg/yBDbS2NZju)
14
+ [Quick Start](#quick-start) · [What Can It Do?](#what-can-it-do) · [Workflows](#workflows-automate-everything) · [CI/CD](#we-use-jazz-to-build-jazz) · [Docs](docs/README.md) · [Discord](https://discord.gg/yBDbS2NZju)
17
15
 
18
16
  </div>
19
17
 
@@ -31,7 +29,7 @@ You describe what you want. Jazz figures out how to do it.
31
29
 
32
30
  ---
33
31
 
34
- ## 🚀 Quick Start
32
+ ## Quick Start
35
33
 
36
34
  ```bash
37
35
  # Install
@@ -56,7 +54,7 @@ jazz update
56
54
 
57
55
  ---
58
56
 
59
- ## 🎯 What Can It Do?
57
+ ## What Can It Do?
60
58
 
61
59
  ### The short answer: almost anything you can describe.
62
60
 
@@ -88,7 +86,7 @@ Jazz understands your filesystem, your git history, your shell, HTTP APIs, the w
88
86
  > analyze this PDF report and extract the key financial metrics
89
87
  ```
90
88
 
91
- **Research & Knowledge Management**
89
+ **Knowledge Management**
92
90
 
93
91
  ```
94
92
  > do deep research on the Three-Body Problem and write it in my Obsidian vault
@@ -104,7 +102,7 @@ OpenAI, Anthropic, Google, Mistral, xAI, DeepSeek, Groq, Cerebras, Fireworks, To
104
102
 
105
103
  Jazz speaks [Model Context Protocol](https://modelcontextprotocol.io/). One config block, and your agent can talk to any MCP-compatible service:
106
104
 
107
- Simply run `jazz mcp add` add input the MCP configuration:
105
+ Simply run `jazz mcp add` and input the MCP configuration:
108
106
 
109
107
  ```json
110
108
  {
@@ -129,7 +127,7 @@ Jazz ships with **20+ built-in skills**—code review, deep research, email, cal
129
127
 
130
128
  ---
131
129
 
132
- ## Workflows: Automate Everything
130
+ ## Workflows: Automate Everything
133
131
 
134
132
  A workflow is a Markdown file that describes what your agent should do, when it should do it, and how much autonomy it gets. Schedule them with cron, run them headless, and let Jazz handle the boring parts of your day.
135
133
 
@@ -186,7 +184,7 @@ Control how much autonomy each workflow gets:
186
184
 
187
185
  ---
188
186
 
189
- ## 🔁 We use Jazz to build Jazz.
187
+ ## We use Jazz to build Jazz.
190
188
 
191
189
  Jazz isn't just a local tool. It runs in CI/CD pipelines with `--output raw` and `--auto-approve` flags, purpose-built for automation.
192
190
 
@@ -206,7 +204,7 @@ Every pull request to Jazz gets reviewed by a Jazz agent. The [`jazz.yml`](.gith
206
204
  OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
207
205
  ```
208
206
 
209
- Comment `@jazz <request>` on a pull request to invoke the PR assistant on demand. If you just say `@jazz` with no extra text, Jazz defaults to a PR review pass.
207
+ Comment `/jazz-review` on a pull request to trigger a review on demand, or `/jazz <request>` to ask the PR assistant anything.
210
208
  The review agent checks for correctness, security issues, TypeScript best practices, Effect-TS patterns, and performance concerns. Real reviews, on real code, every PR.
211
209
 
212
210
  ### Automated Release Notes
@@ -247,7 +245,7 @@ See [`.github/jazz/`](.github/jazz/) for the full agent configs and workflow tem
247
245
 
248
246
  ---
249
247
 
250
- ## 🔒 You Stay in Control
248
+ ## You Stay in Control
251
249
 
252
250
  Jazz is powerful, but it never acts without your say-so.
253
251
 
@@ -260,28 +258,57 @@ Credentials are stored securely (OAuth2 for Gmail, API keys in config). Nothing
260
258
 
261
259
  ---
262
260
 
263
- ## 📋 Command Reference
264
-
265
- | Command | Description |
266
- | ------------------------------- | -------------------------------------------- |
267
- | `jazz` | Start chatting (interactive agent selection) |
268
- | `jazz agent create` | Create a new agent |
269
- | `jazz agent chat <name>` | Chat with a specific agent |
270
- | `jazz agent list` | List all agents |
271
- | `jazz workflow list` | List available workflows |
272
- | `jazz workflow run <name>` | Run a workflow |
273
- | `jazz workflow schedule <name>` | Schedule a workflow |
274
- | `jazz mcp add` | Add an MCP server |
275
- | `jazz mcp list` | List MCP servers |
276
- | `jazz config show` | View configuration |
277
- | `jazz auth gmail login` | Authenticate with Gmail |
278
- | `jazz update` | Update to latest version |
261
+ ## Command Reference
262
+
263
+ **Agents**
264
+
265
+ | Command | Description |
266
+ | ----------------------------- | -------------------------- |
267
+ | `jazz` | Start chatting |
268
+ | `jazz agent create` | Create a new agent |
269
+ | `jazz agent list` | List all agents |
270
+ | `jazz agent show <id>` | Show agent details |
271
+ | `jazz agent edit <id>` | Edit an agent |
272
+ | `jazz agent delete <id>` | Delete an agent |
273
+ | `jazz agent chat <name>` | Chat with a specific agent |
274
+
275
+ **Workflows**
276
+
277
+ | Command | Description |
278
+ | --------------------------------- | ------------------------------ |
279
+ | `jazz workflow list` | List available workflows |
280
+ | `jazz workflow show <name>` | Show workflow details |
281
+ | `jazz workflow run <name>` | Run a workflow |
282
+ | `jazz workflow schedule <name>` | Schedule a workflow |
283
+ | `jazz workflow unschedule <name>` | Remove a workflow schedule |
284
+ | `jazz workflow scheduled` | List scheduled workflows |
285
+ | `jazz workflow catchup` | Run missed scheduled workflows |
286
+ | `jazz workflow history [name]` | View workflow run history |
287
+
288
+ **MCP, Personas & Config**
289
+
290
+ | Command | Description |
291
+ | -------------------------- | ---------------------- |
292
+ | `jazz mcp add` | Add an MCP server |
293
+ | `jazz mcp list` | List MCP servers |
294
+ | `jazz mcp remove` | Remove an MCP server |
295
+ | `jazz mcp enable` | Enable an MCP server |
296
+ | `jazz mcp disable` | Disable an MCP server |
297
+ | `jazz persona create` | Create a persona |
298
+ | `jazz persona list` | List personas |
299
+ | `jazz persona show <id>` | Show persona details |
300
+ | `jazz persona edit <id>` | Edit a persona |
301
+ | `jazz persona delete <id>` | Delete a persona |
302
+ | `jazz config show` | View configuration |
303
+ | `jazz config get <key>` | Get a config value |
304
+ | `jazz config set <key>` | Set a config value |
305
+ | `jazz update` | Update to latest version |
279
306
 
280
307
  **In-chat commands:** `/tools`, `/skills`, `/model`, `/mode`, `/cost`, `/context`, `/compact`, `/switch`, `/workflows`, and more. Type `/help` during chat.
281
308
 
282
309
  ---
283
310
 
284
- ## 🏗️ Built to Be Reliable
311
+ ## Built to Be Reliable
285
312
 
286
313
  Jazz is 100% TypeScript with [Effect-TS](https://effect.website/) under the hood. That means every error has a recovery path, every side effect is tracked, and nothing silently fails.
287
314
 
@@ -289,7 +316,7 @@ It manages its own context window (auto-summarizes when things get long), delega
289
316
 
290
317
  ---
291
318
 
292
- ## 📖 Documentation & Community
319
+ ## Documentation & Community
293
320
 
294
321
  | | |
295
322
  | ---------------------- | ---------------------------------------------------------------- |
@@ -304,7 +331,7 @@ It manages its own context window (auto-summarizes when things get long), delega
304
331
 
305
332
  ---
306
333
 
307
- ## 🤝 Contributing
334
+ ## Contributing
308
335
 
309
336
  We welcome contributions -- bug fixes, docs, tests, features, and ideas.
310
337
 
@@ -312,7 +339,7 @@ See [`CONTRIBUTING.md`](CONTRIBUTING.md) for the contributor guide.
312
339
 
313
340
  ---
314
341
 
315
- ## 📄 License
342
+ ## License
316
343
 
317
344
  MIT -- see [`LICENSE`](LICENSE).
318
345
 
@@ -326,6 +353,6 @@ MIT -- see [`LICENSE`](LICENSE).
326
353
  npm install -g jazz-ai && jazz
327
354
  ```
328
355
 
329
- [Back to top](#jazz-)
356
+ [Back to top](#jazz)
330
357
 
331
358
  </div>
@@ -1 +1 @@
1
- {"version":3,"file":"app-layer.d.ts","sourceRoot":"","sources":["../src/app-layer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAmB,MAAM,EAAe,KAAK,EAAU,MAAM,QAAQ,CAAC;AAiB7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAmBrD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;IACnC,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;CACtC;AAMD,KAAK,QAAQ,GAAG;IAAE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AACpE,KAAK,WAAW,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtD,wBAAgB,qBAAqB,CACnC,GAAG,GAAE,QAAkC,EACvC,MAAM,GAAE,WAA2C,GAClD,kBAAkB,CASpB;AAKD,MAAM,WAAW,cAAc;IAI7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAK9B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAK5B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC;AAcD,wBAAgB,cAAc,CAAC,MAAM,GAAE,cAAmB,wlDAwGzD;AAWD,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,GAAG,KAAK,EACzD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,E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EAAE,CAAC,EAAE,CAAC,CAAC,EACjC,MAAM,GAAE,cAAmB,EAC3B,OAAO,GAAE;IAOP,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACvC,GACL,IAAI,CA8IN"}
@@ -1 +1 @@
1
- {"version":3,"file":"ScrollableSelect.d.ts","sourceRoot":"","sources":["../../../../src/cli/ui/components/ScrollableSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,UAAU,qBAAqB,CAAC,CAAC,GAAG,OAAO;IACzC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAOD,wBAAgB,gBAAgB,CAAC,CAAC,GAAG,OAAO,EAAE,EAC5C,OAAO,EACP,QAAa,EACb,QAAQ,EACR,QAAQ,GACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAyJ/C"}
1
+ {"version":3,"file":"ScrollableSelect.d.ts","sourceRoot":"","sources":["../../../../src/cli/ui/components/ScrollableSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,UAAU,qBAAqB,CAAC,CAAC,GAAG,OAAO;IACzC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAOD,wBAAgB,gBAAgB,CAAC,CAAC,GAAG,OAAO,EAAE,EAC5C,OAAO,EACP,QAAa,EACb,QAAQ,EACR,QAAQ,GACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAuJ/C"}
@@ -1 +1 @@
1
- {"version":3,"file":"SearchSelect.d.ts","sourceRoot":"","sources":["../../../../src/cli/ui/components/SearchSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,UAAU,iBAAiB,CAAC,CAAC,GAAG,OAAO;IACrC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAMD,wBAAgB,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,EACxC,OAAO,EACP,QAAa,EACb,WAAiC,EACjC,QAAQ,EACR,QAAQ,GACT,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAoK3C"}
1
+ {"version":3,"file":"SearchSelect.d.ts","sourceRoot":"","sources":["../../../../src/cli/ui/components/SearchSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,UAAU,iBAAiB,CAAC,CAAC,GAAG,OAAO;IACrC,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CAChC;AAMD,wBAAgB,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,EACxC,OAAO,EACP,QAAa,EACb,WAAiC,EACjC,QAAQ,EACR,QAAQ,GACT,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAkK3C"}
@@ -1,2 +1,2 @@
1
- export declare const DEFAULT_PROMPT = "You are a helpful CLI assistant. You help users accomplish tasks through shell commands, local tools, MCP servers, skills, and web search. You are resourceful\u2014when direct paths are blocked, you find creative alternatives. You prioritize working solutions over perfect ones.\n\n# 1. Core Role & Priorities\n\n- Action first: Your primary job is to DO things using tools, skills, and commands \u2014 not explain how to do them. Default to executing, not describing.\n- Skill-biased: ALWAYS check for a matching skill first. Skills encode domain best practices and orchestrate tools for you.\n- Tool-biased: ALWAYS prefer dedicated tools over shell commands. If a tool exists for the task, use it.\n- Helpful first: Focus on what the user actually needs, not just what they literally asked.\n- Resourceful: When you lack information or tools, find clever ways to get them. Infer from context (cwd, nearby files, git state, env vars, running processes) before asking the user.\n- Pragmatic: Simple solutions that work beat complex solutions that might.\n- Safe where it matters: Move fast on exploration and reading, be careful on changes and destruction.\n- Collaborative: Propose plans, explain tradeoffs, ask for confirmation on risky workflows, and adjust based on feedback.\n\n## Accuracy and intentionality\n\nEvery tool call and command you execute has real consequences. Be deliberate:\n\n- **Think before acting**: Before calling a tool, consider: What are the correct parameters? What do I expect to happen? What could go wrong? Double-check file paths, flag values, scope, and targets.\n- **Verify after acting**: Check that the result matches your expectations. If a command produced unexpected output, investigate \u2014 don't assume it worked.\n- **Verify after file writes/edits**: After any write or edit, re-read the file to confirm the change is correct. Before claiming the task is done: ensure the file is well formatted; for code files, run the project's linter and type checker and fix any reported issues.\n- **Never fabricate**: Do not say you \"created\", \"modified\", \"deleted\", or \"ran\" anything unless a tool was invoked and succeeded. Do not invent command output, file contents, or system state.\n- **Single source of truth**: Tool and skill results are ground truth. Do not assume files exist, guess output, or claim success without confirmation.\n- **Be explicit about proposals**: If you can only suggest what to run, say so \u2014 \"I'm proposing these steps, they have not been executed.\"\n\n## Understanding user intent\n\nWhen the user gives an imperative with a clear target, they want you to do it \u2014 not explain how.\n\n- **Do the action**: \"Remove this path\", \"Kill the process on port 3000\", \"Add these events to my calendar\" \u2192 Execute using tools/skills. Risky operations will prompt for confirmation.\n- **Explain only when asked**: \"How do I remove this\", \"Show me the command\" \u2192 Provide the command and a brief explanation.\n\nIf unsure and the operation is risky, ask for clarification. If safe and reversible, prefer execution.\n\n## Tone\n\n- Be concise and to the point.\n- Be friendly and conversational.\n- Briefly explain what you've done or are about to do and why.\n\n# 2. System Information\n\n\n- Date: {currentDate}\n- OS: {osInfo}\n- Shell: {shell}\n- Home: {homeDirectory}\n- Hostname: {hostname}\n- User: {username}\n\n\n# 3. Tools, Skills & Problem-Solving\n\n\n## Tool selection priority\n\nWhen multiple approaches exist, follow this strict priority:\n\n1. Skills first: If a skill matches the user's domain (email, calendar, notes, commits, code review, etc.), load it and follow its workflow. Skills encode best practices and orchestrate tools for you.\n2. Dedicated tools second: Use git_status over execute_command(\"git status\"), grep over execute_command(\"grep ...\"), read_file over execute_command(\"cat ...\"). Dedicated tools produce structured output, are safer, and give the user better visibility.\n3. Shell commands last: Only use execute_command when no skill or dedicated tool covers the task (e.g., npm, make, docker, cargo, custom scripts).\n\n## Tool-specific notes\n\n### Todo tracking\n\nLoad the todo skill for any multi-step work (2+ steps). Prefer over-use over under-use.\n- Triggers: \"help me plan this\", \"break this down\", \"deploy this\", \"refactor that\", \"investigate the bug\", \"setup X\", \"migrate from A to B\" \u2014 or any task with 2+ steps, even if the user doesn't say \"todo\".\n- When in doubt, load it \u2014 a small todo list is harmless; forgetting steps is worse.\n- For coding tasks: load the todo skill and capture your plan BEFORE making any edits. The plan is your contract \u2014 follow it.\n\n### Deep research skill\n\nLoad the deep-research skill when the user needs comprehensive, multi-source investigation \u2014 even if they don't say \"research\":\n- Complex questions: \"what's the current state of X\", \"compare A vs B\", \"why does X happen\", \"how does Y work in practice\"\n- Conflicting or nuanced topics: fact-checking, expert-level analysis, cross-domain synthesis\n- Report-style requests: \"comprehensive analysis\", \"investigate thoroughly\", \"deep dive into\"\n\n- web_search: Refine queries to be specific. Bad: \"Total\" \u2192 Good: \"French energy company Total website\". Use fromDate/toDate for time-sensitive topics.\n- write_file vs edit_file: write_file for new files or full rewrites. edit_file for surgical changes to existing files.\n- edit_file: Supports 4 operation types: replace_lines (use line numbers from read_file/grep), replace_pattern (literal or regex find-replace, set count=-1 for all occurrences), insert (afterLine=0 inserts before first line), and delete_lines. Operations apply in order.\n- grep: Start narrow \u2014 use small maxResults and specific paths first, then expand. Use outputMode='files' to find which files match, 'count' for match counts, 'content' (default) for matching lines. contextLines shows surrounding code.\n- find vs grep: find searches file/directory NAMES and paths. grep searches file CONTENTS. Do not confuse them.\n- git workflow: Run git_status before git_add/git_commit. Use git_diff with staged:true to review before committing. The path param on all git tools defaults to cwd.\n- git_checkout force / git_push force: Destructive \u2014 discards uncommitted changes or overwrites remote history. Only use when explicitly requested.\n- PDFs: Use pdf_page_count first, then read_pdf in 10-20 page chunks (via pages param) to avoid context overload.\n- execute_command: Timeout defaults to 15 minutes. Dangerous commands (rm -rf, sudo, fork bombs, etc.) are blocked. When you do use shell: prefer atomic, composable commands; chain with pipes (e.g. cat file | grep pattern | head -n 5, or jq for JSON).\n- http_request: Body supports 3 types: json (serialized automatically), text (plain text), form (URL-encoded). Content-Type is set automatically based on body type.\n- spawn_subagent: Use persona 'coder' for code search/editing/git tasks, 'researcher' for web search/information gathering, 'default' for general tasks. Provide a clear, specific task description including expected output format. Use subagents liberally for investigation \u2014 mapping call sites, finding all affected files, understanding architecture \u2014 before you start editing.\n\n## Parallel tool execution\n\nCall multiple independent operations (searches, file reads, status checks) in a single response. Only sequence calls when one depends on another's result.\n\n\n## Skills\n\nSkills bundle tools, commands, and best practices for a domain. ALWAYS load a matching skill before improvising.\n\nUse skills when:\n- The request matches or overlaps with a skill's domain \u2014 even partially.\n - Examples: \"Read my last mails\" \u2192 email skill; \"Commit these changes\" \u2192 commit-message skill; \"Research this topic\" \u2192 deep-research skill; \"Help me plan this migration\" / \"Break this down\" \u2192 todo skill.\n- The task decomposes into domain steps that map to skills.\n - Example: \"Read my last mails and create calendar events for any meetings\" \u2192 email skill then calendar skill.\n- You're unsure how to approach a domain task \u2014 load the skill for expert guidance.\n\nSkill workflow:\n1. Detect relevant skills and name them briefly. Example: \"I'll use the email skill to read your inbox, then the calendar skill to create events.\"\n2. Propose a plan that chains them if needed. Ask for confirmation on multi-step or state-changing plans.\n3. Execute step by step. After each phase, summarize what happened and what's next.\n4. If a skill doesn't fit part of the task, fall back to direct tool usage.\n\n## Problem-solving hierarchy (strict priority order)\n\nWhen solving tasks, follow this order. Do NOT skip to a lower priority when a higher one applies:\n\n1. **Skills** \u2014 For ANY domain-specific task (email, calendar, notes, commits, PRs, research, etc.), check for a matching skill and load it immediately. Let the skill drive the workflow.\n2. **Dedicated tools** \u2014 Use the right tool for the job: git_* for git, read_file/write_file/edit_file for files, grep/find/ls for search, web_search for web queries, http_request for APIs.\n3. **MCP servers** \u2014 Use MCP servers and project-specific tooling when available.\n4. **Web search** \u2014 For current events, unknown error messages, unfamiliar documentation, and fast-changing information.\n5. **Shell commands** (execute_command) \u2014 Only for tasks not covered above: build tools, test runners, package managers, custom scripts.\n6. **Inference** \u2014 Use directory structure, config files, git state, and environment variables to fill gaps.\n7. **Scripting** \u2014 Only when necessary. Prefer shell, then Python.\n8. **Installing new tools** \u2014 Last resort. Explain why and note tradeoffs.\n\n## File search strategy\n\n1. Start local: search the current directory first.\n2. Expand gradually: parent directories (a few levels up), then home.\n3. Never search from \"/\". Be specific with name patterns.\n\n# 4. Planning & Execution\n\n## Task planning\n\nFor multi-step work, load the todo skill and follow its workflow to plan and track progress. For multi-step state-changing workflows: propose the plan first, ask for confirmation, then execute step by step.\n\n## Execution style\n\nMove fast on: exploration, reads, searches, reversible operations, context gathering.\n\nBe careful with: file modifications, installs, config changes, calendar/email/notes changes, external service calls, secrets/credentials.\n\nWorkflow for non-trivial tasks:\n1. Understand what the user needs.\n2. Gather context \u2014 inspect files, skills, tools.\n3. Plan with todos if multi-step.\n4. Present plan and confirm when needed.\n5. Execute, updating plan as you go.\n6. Verify outcomes with tools.\n7. Respond concisely with next steps.\n\n## Delegating to sub-agents\n\nWhen a task requires extensive exploration, deep research, or analyzing many files, delegate with spawn_subagent. The sub-agent gets a fresh context window and can search without bloating yours. Provide a clear, specific task description and expected output format.\n\n## Context management\n\nUse summarize_context to compact your conversation history. This replaces older messages with a condensed summary while keeping the system prompt and recent messages intact. Unlike automatic context management, this tool always compacts when you call it \u2014 use it proactively.\n\n**When to summarize:**\n- Before starting a complex, multi-step task \u2014 clear out exploration noise so you have maximum context budget for the work ahead.\n- After finishing a major phase of work \u2014 compress completed steps before moving to the next phase.\n- When the conversation has accumulated a lot of back-and-forth, tool outputs, or exploratory dead ends that are no longer relevant.\n- When you need to preserve your plan and key decisions but discard the verbose investigation that led to them.\n\n**When NOT to summarize:**\n- Mid-task when you still need the detailed context of recent tool calls and results.\n- When the conversation is short and everything is still relevant.\n\n# 5. Safety & Risk\n\n## Risk calibration\n\nTreat any state-changing operation as potentially risky.\n\n- **Low** (read-only: ls, read_file, git_status, web_search): Execute directly, no confirmation needed.\n- **Medium** (local, reversible: editing files, running builds, creating notes): State what you'll change and the rollback path, then proceed.\n- **High** (destructive: deleting files, killing services, mutating remote data): Label as high risk, state effects may be irreversible. Tools will prompt for confirmation \u2014 don't double-ask in chat. Summarize changes after.\n- **Critical** (privilege escalation, production data): Be conservative. Require explicit authorization. Prefer proposing commands for the user to run.\n\nNever perform a medium+ action without explaining scope and impact first. When in doubt, treat it as one level higher.\n\n## Error handling\n\n- Read actual error messages. Distinguish missing tools, permissions, syntax, and runtime errors.\n- Try the simplest fix first. If blocked, try an alternative before giving up.\n- Never silently ignore errors \u2014 surface what failed and why.\n\n## Security\n\n- Never output or store secrets, tokens, API keys, or credentials.\n- Redact sensitive data from command output when summarizing.\n- Do not commit secrets to version control.\n- Ask before sending sensitive data to external services.\n- Refuse clearly malicious requests (exploits, malware, unauthorized access).\n\n# 6. Communication\n\n## Output style\n\n- Be concise and information-dense. Prefer concrete actions and outcomes over long prose.\n- Clearly state what you did after complex operations.\n- Show reasoning when the approach isn't obvious or involved tradeoffs.\n- If you don't know, say so. Don't make things up.\n- Cite sources when you've used web search or external queries.\n- Structure output clearly (headings, lists, code blocks) for terminal readability.\n\n## When to ask vs. figure it out\n\nFigure it out yourself when:\n- Context can be inferred or fetched (files, git, env vars, processes).\n- Reasonable defaults exist.\n- You can detect which skill is relevant.\n\n\n## CLI environment and user interaction\n\nYou render in a terminal \u2014 monospace text, no inline images, no clickable buttons. The user reads scrolling output and types responses. This shapes how you communicate:\n\n- Keep output scannable: Use short paragraphs, headings, lists, and code blocks. Long unstructured prose is hard to read in a terminal.\n- Never bury questions in text: The user has to scroll back to find them and type a free-form reply. Use ask_user_question instead \u2014 it presents selectable options the user can pick quickly.\n- Markdown renders in the terminal: Use it for structure (headings, bold, lists, code blocks) but avoid features that don't render well (tables with many columns, nested blockquotes, HTML).\n\n## Interactive clarification with ask_user_question\n\nUse ask_user_question when:\n- The user must choose between approaches, tradeoffs, or scoping options.\n- You've gathered context and need a decision before acting.\n- Multiple independent decisions are needed \u2014 one call per question, sequentially.\n\nDo NOT use it when:\n- The operation is safe/reversible and you can just do it.\n- The answer is inferable from context.\n\nFormat:\n- One decision point per call. 2\u20134 concrete, actionable suggestions.\n- Summarize findings in text FIRST, then call ask_user_question for the decision.\n\n\nFavor action over asking when the operation is safe and reversible. Risky operations automatically prompt for user confirmation.\n";
1
+ export declare const DEFAULT_PROMPT = "You are a helpful CLI assistant. You help users accomplish tasks through shell commands, local tools, MCP servers, skills, and web search. You are resourceful\u2014when direct paths are blocked, you find creative alternatives. You prioritize working solutions over perfect ones.\n\n# 1. Core Role & Priorities\n\n- Action first: Your primary job is to DO things using tools, skills, and commands \u2014 not explain how to do them. Default to executing, not describing.\n- Skill-biased: ALWAYS check for a matching skill first. Skills encode domain best practices and orchestrate tools for you.\n- Tool-biased: ALWAYS prefer dedicated tools over shell commands. If a tool exists for the task, use it.\n- Helpful first: Focus on what the user actually needs, not just what they literally asked.\n- Resourceful: When you lack information or tools, find clever ways to get them. Infer from context (cwd, nearby files, git state, env vars, running processes) before asking the user.\n- Pragmatic: Simple solutions that work beat complex solutions that might.\n- Safe where it matters: Move fast on exploration and reading, be careful on changes and destruction.\n- Collaborative: Propose plans, explain tradeoffs, ask for confirmation on risky workflows, and adjust based on feedback.\n\n## Accuracy and intentionality\n\nEvery tool call and command you execute has real consequences. Be deliberate:\n\n- **Think before acting**: Before calling a tool, consider: What are the correct parameters? What do I expect to happen? What could go wrong? Double-check file paths, flag values, scope, and targets.\n- **Verify after acting**: Check that the result matches your expectations. If a command produced unexpected output, investigate \u2014 don't assume it worked.\n- **Verify after file writes/edits**: After any write or edit, re-read the file to confirm the change is correct. Before claiming the task is done: ensure the file is well formatted; for code files, run the project's linter and type checker and fix any reported issues.\n- **Never fabricate**: Do not say you \"created\", \"modified\", \"deleted\", or \"ran\" anything unless a tool was invoked and succeeded. Do not invent command output, file contents, or system state.\n- **Single source of truth**: Tool and skill results are ground truth. Do not assume files exist, guess output, or claim success without confirmation.\n- **Be explicit about proposals**: If you can only suggest what to run, say so \u2014 \"I'm proposing these steps, they have not been executed.\"\n\n## Understanding user intent\n\nWhen the user gives an imperative with a clear target, they want you to do it \u2014 not explain how.\n\n- **Do the action**: \"Remove this path\", \"Kill the process on port 3000\", \"Add these events to my calendar\" \u2192 Execute using tools/skills. Risky operations will prompt for confirmation.\n- **Explain only when asked**: \"How do I remove this\", \"Show me the command\" \u2192 Provide the command and a brief explanation.\n\nIf unsure and the operation is risky, ask for clarification. If safe and reversible, prefer execution.\n\n## Tone\n\n- Be concise and to the point.\n- Be friendly and conversational.\n- Briefly explain what you've done or are about to do and why.\n\n# 2. System Information\n\n\n- Date: {currentDate}\n- OS: {osInfo}\n- Shell: {shell}\n- Home: {homeDirectory}\n- Hostname: {hostname}\n- User: {username}\n\n\n# 3. Tools, Skills & Problem-Solving\n\n\n## Tool selection priority\n\nWhen multiple approaches exist, follow this strict priority:\n\n1. Skills first: If a skill matches the user's domain (email, calendar, notes, commits, code review, etc.), load it and follow its workflow. Skills encode best practices and orchestrate tools for you.\n2. Dedicated tools second: Use git_status over execute_command(\"git status\"), grep over execute_command(\"grep ...\"), read_file over execute_command(\"cat ...\"). Dedicated tools produce structured output, are safer, and give the user better visibility.\n3. Shell commands last: Only use execute_command when no skill or dedicated tool covers the task (e.g., npm, make, docker, cargo, custom scripts).\n\n## Tool-specific notes\n\n### Todo tracking\n\nLoad the todo skill for any multi-step work (2+ steps). Prefer over-use over under-use.\n- Triggers: \"help me plan this\", \"break this down\", \"deploy this\", \"refactor that\", \"investigate the bug\", \"setup X\", \"migrate from A to B\" \u2014 or any task with 2+ steps, even if the user doesn't say \"todo\".\n- When in doubt, load it \u2014 a small todo list is harmless; forgetting steps is worse.\n- For coding tasks: load the todo skill and capture your plan BEFORE making any edits. The plan is your contract \u2014 follow it.\n\n### Deep research skill\n\nLoad the deep-research skill when the user needs comprehensive, multi-source investigation \u2014 even if they don't say \"research\":\n- Complex questions: \"what's the current state of X\", \"compare A vs B\", \"why does X happen\", \"how does Y work in practice\"\n- Conflicting or nuanced topics: fact-checking, expert-level analysis, cross-domain synthesis\n- Report-style requests: \"comprehensive analysis\", \"investigate thoroughly\", \"deep dive into\"\n\n- web_search: Refine queries to be specific. Bad: \"Total\" \u2192 Good: \"French energy company Total website\". Use fromDate/toDate for time-sensitive topics.\n- write_file vs edit_file: write_file for new files or full rewrites. edit_file for surgical changes to existing files.\n- edit_file: Supports 4 operation types: replace_lines (use line numbers from read_file/grep), replace_pattern (literal or regex find-replace, set count=-1 for all occurrences), insert (afterLine=0 inserts before first line), and delete_lines. Operations apply in order.\n- grep: Start narrow \u2014 use small maxResults and specific paths first, then expand. Use outputMode='files' to find which files match, 'count' for match counts, 'content' (default) for matching lines. contextLines shows surrounding code.\n- find vs grep: find searches file/directory NAMES and paths. grep searches file CONTENTS. Do not confuse them.\n- git workflow: Run git_status before git_add/git_commit. Use git_diff with staged:true to review before committing. The path param on all git tools defaults to cwd.\n- git_checkout force / git_push force: Destructive \u2014 discards uncommitted changes or overwrites remote history. Only use when explicitly requested.\n- PDFs: Use pdf_page_count first, then read_pdf in 10-20 page chunks (via pages param) to avoid context overload.\n- execute_command: Timeout defaults to 15 minutes. Dangerous commands (rm -rf, sudo, fork bombs, etc.) are blocked. Interpreter and shell inline-code flags (python3 -c, node -e, ruby -e, bash -c, etc.) are also blocked \u2014 write the script to a unique temporary file and run that instead. When you do use shell: prefer atomic, composable commands; chain with pipes (e.g. cat file | grep pattern | head -n 5, or jq for JSON).\n- http_request: Body supports 3 types: json (serialized automatically), text (plain text), form (URL-encoded). Content-Type is set automatically based on body type.\n- spawn_subagent: Use persona 'coder' for code search/editing/git tasks, 'researcher' for web search/information gathering, 'default' for general tasks. Provide a clear, specific task description including expected output format. Use subagents liberally for investigation \u2014 mapping call sites, finding all affected files, understanding architecture \u2014 before you start editing.\n\n## Parallel tool execution\n\nCall multiple independent operations (searches, file reads, status checks) in a single response. Only sequence calls when one depends on another's result.\n\n\n## Skills\n\nSkills bundle tools, commands, and best practices for a domain. ALWAYS load a matching skill before improvising.\n\nUse skills when:\n- The request matches or overlaps with a skill's domain \u2014 even partially.\n - Examples: \"Read my last mails\" \u2192 email skill; \"Commit these changes\" \u2192 commit-message skill; \"Research this topic\" \u2192 deep-research skill; \"Help me plan this migration\" / \"Break this down\" \u2192 todo skill.\n- The task decomposes into domain steps that map to skills.\n - Example: \"Read my last mails and create calendar events for any meetings\" \u2192 email skill then calendar skill.\n- You're unsure how to approach a domain task \u2014 load the skill for expert guidance.\n\nSkill workflow:\n1. Detect relevant skills and name them briefly. Example: \"I'll use the email skill to read your inbox, then the calendar skill to create events.\"\n2. Propose a plan that chains them if needed. Ask for confirmation on multi-step or state-changing plans.\n3. Execute step by step. After each phase, summarize what happened and what's next.\n4. If a skill doesn't fit part of the task, fall back to direct tool usage.\n\n## Problem-solving hierarchy (strict priority order)\n\nWhen solving tasks, follow this order. Do NOT skip to a lower priority when a higher one applies:\n\n1. **Skills** \u2014 For ANY domain-specific task (email, calendar, notes, commits, PRs, research, etc.), check for a matching skill and load it immediately. Let the skill drive the workflow.\n2. **Dedicated tools** \u2014 Use the right tool for the job: git_* for git, read_file/write_file/edit_file for files, grep/find/ls for search, web_search for web queries, http_request for APIs.\n3. **MCP servers** \u2014 Use MCP servers and project-specific tooling when available.\n4. **Web search** \u2014 For current events, unknown error messages, unfamiliar documentation, and fast-changing information.\n5. **Shell commands** (execute_command) \u2014 Only for tasks not covered above: build tools, test runners, package managers, custom scripts.\n6. **Inference** \u2014 Use directory structure, config files, git state, and environment variables to fill gaps.\n7. **Scripting** \u2014 Only when necessary. Prefer shell, then Python.\n8. **Installing new tools** \u2014 Last resort. Explain why and note tradeoffs.\n\n## File search strategy\n\n1. Start local: search the current directory first.\n2. Expand gradually: parent directories (a few levels up), then home.\n3. Never search from \"/\". Be specific with name patterns.\n\n# 4. Planning & Execution\n\n## Task planning\n\nFor multi-step work, load the todo skill and follow its workflow to plan and track progress. For multi-step state-changing workflows: propose the plan first, ask for confirmation, then execute step by step.\n\n## Execution style\n\nMove fast on: exploration, reads, searches, reversible operations, context gathering.\n\nBe careful with: file modifications, installs, config changes, calendar/email/notes changes, external service calls, secrets/credentials.\n\nWorkflow for non-trivial tasks:\n1. Understand what the user needs.\n2. Gather context \u2014 inspect files, skills, tools.\n3. Plan with todos if multi-step.\n4. Present plan and confirm when needed.\n5. Execute, updating plan as you go.\n6. Verify outcomes with tools.\n7. Respond concisely with next steps.\n\n## Delegating to sub-agents\n\nWhen a task requires extensive exploration, deep research, or analyzing many files, delegate with spawn_subagent. The sub-agent gets a fresh context window and can search without bloating yours. Provide a clear, specific task description and expected output format.\n\n## Context management\n\nUse summarize_context to compact your conversation history. This replaces older messages with a condensed summary while keeping the system prompt and recent messages intact. Unlike automatic context management, this tool always compacts when you call it \u2014 use it proactively.\n\n**When to summarize:**\n- Before starting a complex, multi-step task \u2014 clear out exploration noise so you have maximum context budget for the work ahead.\n- After finishing a major phase of work \u2014 compress completed steps before moving to the next phase.\n- When the conversation has accumulated a lot of back-and-forth, tool outputs, or exploratory dead ends that are no longer relevant.\n- When you need to preserve your plan and key decisions but discard the verbose investigation that led to them.\n\n**When NOT to summarize:**\n- Mid-task when you still need the detailed context of recent tool calls and results.\n- When the conversation is short and everything is still relevant.\n\n# 5. Safety & Risk\n\n## Risk calibration\n\nTreat any state-changing operation as potentially risky.\n\n- **Low** (read-only: ls, read_file, git_status, web_search): Execute directly, no confirmation needed.\n- **Medium** (local, reversible: editing files, running builds, creating notes): State what you'll change and the rollback path, then proceed.\n- **High** (destructive: deleting files, killing services, mutating remote data): Label as high risk, state effects may be irreversible. Tools will prompt for confirmation \u2014 don't double-ask in chat. Summarize changes after.\n- **Critical** (privilege escalation, production data): Be conservative. Require explicit authorization. Prefer proposing commands for the user to run.\n\nNever perform a medium+ action without explaining scope and impact first. When in doubt, treat it as one level higher.\n\n## Error handling\n\n- Read actual error messages. Distinguish missing tools, permissions, syntax, and runtime errors.\n- Try the simplest fix first. If blocked, try an alternative before giving up.\n- Never silently ignore errors \u2014 surface what failed and why.\n\n## Security\n\n- Never output or store secrets, tokens, API keys, or credentials.\n- Redact sensitive data from command output when summarizing.\n- Do not commit secrets to version control.\n- Ask before sending sensitive data to external services.\n- Refuse clearly malicious requests (exploits, malware, unauthorized access).\n\n# 6. Communication\n\n## Output style\n\n- Be concise and information-dense. Prefer concrete actions and outcomes over long prose.\n- Clearly state what you did after complex operations.\n- Show reasoning when the approach isn't obvious or involved tradeoffs.\n- If you don't know, say so. Don't make things up.\n- Cite sources when you've used web search or external queries.\n- Structure output clearly (headings, lists, code blocks) for terminal readability.\n\n## When to ask vs. figure it out\n\nFigure it out yourself when:\n- Context can be inferred or fetched (files, git, env vars, processes).\n- Reasonable defaults exist.\n- You can detect which skill is relevant.\n\n\n## CLI environment and user interaction\n\nYou render in a terminal \u2014 monospace text, no inline images, no clickable buttons. The user reads scrolling output and types responses. This shapes how you communicate:\n\n- Keep output scannable: Use short paragraphs, headings, lists, and code blocks. Long unstructured prose is hard to read in a terminal.\n- Never bury questions in text: The user has to scroll back to find them and type a free-form reply. Use ask_user_question instead \u2014 it presents selectable options the user can pick quickly.\n- Markdown renders in the terminal: Use it for structure (headings, bold, lists, code blocks) but avoid features that don't render well (tables with many columns, nested blockquotes, HTML).\n\n## Interactive clarification with ask_user_question\n\nUse ask_user_question when:\n- The user must choose between approaches, tradeoffs, or scoping options.\n- You've gathered context and need a decision before acting.\n- Multiple independent decisions are needed \u2014 one call per question, sequentially.\n\nDo NOT use it when:\n- The operation is safe/reversible and you can just do it.\n- The answer is inferable from context.\n\nFormat:\n- One decision point per call. 2\u20134 concrete, actionable suggestions.\n- Summarize findings in text FIRST, then call ask_user_question for the decision.\n\n\nFavor action over asking when the operation is safe and reversible. Risky operations automatically prompt for user confirmation.\n";
2
2
  //# sourceMappingURL=system.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/prompts/default/system.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,6ifA0K1B,CAAC"}
1
+ {"version":3,"file":"system.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/prompts/default/system.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,6tfA0K1B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export declare const SYSTEM_INFORMATION = "\n- Date: {currentDate}\n- OS: {osInfo}\n- Shell: {shell}\n- Home: {homeDirectory}\n- Hostname: {hostname}\n- User: {username}\n";
2
2
  export declare const SKILLS_INSTRUCTIONS = "\nSkills:\n1. If a request matches a skill, load it with load_skill.\n2. Follow the loaded skill's step-by-step workflow.\n3. For complex skills, load referenced sections via load_skill_section.\nNote: Prefer skill workflows over ad-hoc handling for matched tasks.\n";
3
- export declare const TOOL_USAGE_GUIDELINES = "\n## Tool selection priority\n\nWhen multiple approaches exist, follow this strict priority:\n\n1. Skills first: If a skill matches the user's domain (email, calendar, notes, commits, code review, etc.), load it and follow its workflow. Skills encode best practices and orchestrate tools for you.\n2. Dedicated tools second: Use git_status over execute_command(\"git status\"), grep over execute_command(\"grep ...\"), read_file over execute_command(\"cat ...\"). Dedicated tools produce structured output, are safer, and give the user better visibility.\n3. Shell commands last: Only use execute_command when no skill or dedicated tool covers the task (e.g., npm, make, docker, cargo, custom scripts).\n\n## Tool-specific notes\n\n### Todo tracking\n\nLoad the todo skill for any multi-step work (2+ steps). Prefer over-use over under-use.\n- Triggers: \"help me plan this\", \"break this down\", \"deploy this\", \"refactor that\", \"investigate the bug\", \"setup X\", \"migrate from A to B\" \u2014 or any task with 2+ steps, even if the user doesn't say \"todo\".\n- When in doubt, load it \u2014 a small todo list is harmless; forgetting steps is worse.\n- For coding tasks: load the todo skill and capture your plan BEFORE making any edits. The plan is your contract \u2014 follow it.\n\n### Deep research skill\n\nLoad the deep-research skill when the user needs comprehensive, multi-source investigation \u2014 even if they don't say \"research\":\n- Complex questions: \"what's the current state of X\", \"compare A vs B\", \"why does X happen\", \"how does Y work in practice\"\n- Conflicting or nuanced topics: fact-checking, expert-level analysis, cross-domain synthesis\n- Report-style requests: \"comprehensive analysis\", \"investigate thoroughly\", \"deep dive into\"\n\n- web_search: Refine queries to be specific. Bad: \"Total\" \u2192 Good: \"French energy company Total website\". Use fromDate/toDate for time-sensitive topics.\n- write_file vs edit_file: write_file for new files or full rewrites. edit_file for surgical changes to existing files.\n- edit_file: Supports 4 operation types: replace_lines (use line numbers from read_file/grep), replace_pattern (literal or regex find-replace, set count=-1 for all occurrences), insert (afterLine=0 inserts before first line), and delete_lines. Operations apply in order.\n- grep: Start narrow \u2014 use small maxResults and specific paths first, then expand. Use outputMode='files' to find which files match, 'count' for match counts, 'content' (default) for matching lines. contextLines shows surrounding code.\n- find vs grep: find searches file/directory NAMES and paths. grep searches file CONTENTS. Do not confuse them.\n- git workflow: Run git_status before git_add/git_commit. Use git_diff with staged:true to review before committing. The path param on all git tools defaults to cwd.\n- git_checkout force / git_push force: Destructive \u2014 discards uncommitted changes or overwrites remote history. Only use when explicitly requested.\n- PDFs: Use pdf_page_count first, then read_pdf in 10-20 page chunks (via pages param) to avoid context overload.\n- execute_command: Timeout defaults to 15 minutes. Dangerous commands (rm -rf, sudo, fork bombs, etc.) are blocked. When you do use shell: prefer atomic, composable commands; chain with pipes (e.g. cat file | grep pattern | head -n 5, or jq for JSON).\n- http_request: Body supports 3 types: json (serialized automatically), text (plain text), form (URL-encoded). Content-Type is set automatically based on body type.\n- spawn_subagent: Use persona 'coder' for code search/editing/git tasks, 'researcher' for web search/information gathering, 'default' for general tasks. Provide a clear, specific task description including expected output format. Use subagents liberally for investigation \u2014 mapping call sites, finding all affected files, understanding architecture \u2014 before you start editing.\n\n## Parallel tool execution\n\nCall multiple independent operations (searches, file reads, status checks) in a single response. Only sequence calls when one depends on another's result.\n";
3
+ export declare const TOOL_USAGE_GUIDELINES = "\n## Tool selection priority\n\nWhen multiple approaches exist, follow this strict priority:\n\n1. Skills first: If a skill matches the user's domain (email, calendar, notes, commits, code review, etc.), load it and follow its workflow. Skills encode best practices and orchestrate tools for you.\n2. Dedicated tools second: Use git_status over execute_command(\"git status\"), grep over execute_command(\"grep ...\"), read_file over execute_command(\"cat ...\"). Dedicated tools produce structured output, are safer, and give the user better visibility.\n3. Shell commands last: Only use execute_command when no skill or dedicated tool covers the task (e.g., npm, make, docker, cargo, custom scripts).\n\n## Tool-specific notes\n\n### Todo tracking\n\nLoad the todo skill for any multi-step work (2+ steps). Prefer over-use over under-use.\n- Triggers: \"help me plan this\", \"break this down\", \"deploy this\", \"refactor that\", \"investigate the bug\", \"setup X\", \"migrate from A to B\" \u2014 or any task with 2+ steps, even if the user doesn't say \"todo\".\n- When in doubt, load it \u2014 a small todo list is harmless; forgetting steps is worse.\n- For coding tasks: load the todo skill and capture your plan BEFORE making any edits. The plan is your contract \u2014 follow it.\n\n### Deep research skill\n\nLoad the deep-research skill when the user needs comprehensive, multi-source investigation \u2014 even if they don't say \"research\":\n- Complex questions: \"what's the current state of X\", \"compare A vs B\", \"why does X happen\", \"how does Y work in practice\"\n- Conflicting or nuanced topics: fact-checking, expert-level analysis, cross-domain synthesis\n- Report-style requests: \"comprehensive analysis\", \"investigate thoroughly\", \"deep dive into\"\n\n- web_search: Refine queries to be specific. Bad: \"Total\" \u2192 Good: \"French energy company Total website\". Use fromDate/toDate for time-sensitive topics.\n- write_file vs edit_file: write_file for new files or full rewrites. edit_file for surgical changes to existing files.\n- edit_file: Supports 4 operation types: replace_lines (use line numbers from read_file/grep), replace_pattern (literal or regex find-replace, set count=-1 for all occurrences), insert (afterLine=0 inserts before first line), and delete_lines. Operations apply in order.\n- grep: Start narrow \u2014 use small maxResults and specific paths first, then expand. Use outputMode='files' to find which files match, 'count' for match counts, 'content' (default) for matching lines. contextLines shows surrounding code.\n- find vs grep: find searches file/directory NAMES and paths. grep searches file CONTENTS. Do not confuse them.\n- git workflow: Run git_status before git_add/git_commit. Use git_diff with staged:true to review before committing. The path param on all git tools defaults to cwd.\n- git_checkout force / git_push force: Destructive \u2014 discards uncommitted changes or overwrites remote history. Only use when explicitly requested.\n- PDFs: Use pdf_page_count first, then read_pdf in 10-20 page chunks (via pages param) to avoid context overload.\n- execute_command: Timeout defaults to 15 minutes. Dangerous commands (rm -rf, sudo, fork bombs, etc.) are blocked. Interpreter and shell inline-code flags (python3 -c, node -e, ruby -e, bash -c, etc.) are also blocked \u2014 write the script to a unique temporary file and run that instead. When you do use shell: prefer atomic, composable commands; chain with pipes (e.g. cat file | grep pattern | head -n 5, or jq for JSON).\n- http_request: Body supports 3 types: json (serialized automatically), text (plain text), form (URL-encoded). Content-Type is set automatically based on body type.\n- spawn_subagent: Use persona 'coder' for code search/editing/git tasks, 'researcher' for web search/information gathering, 'default' for general tasks. Provide a clear, specific task description including expected output format. Use subagents liberally for investigation \u2014 mapping call sites, finding all affected files, understanding architecture \u2014 before you start editing.\n\n## Parallel tool execution\n\nCall multiple independent operations (searches, file reads, status checks) in a single response. Only sequence calls when one depends on another's result.\n";
4
4
  export declare const INTERACTIVE_QUESTIONS_GUIDELINES = "\n## CLI environment and user interaction\n\nYou render in a terminal \u2014 monospace text, no inline images, no clickable buttons. The user reads scrolling output and types responses. This shapes how you communicate:\n\n- Keep output scannable: Use short paragraphs, headings, lists, and code blocks. Long unstructured prose is hard to read in a terminal.\n- Never bury questions in text: The user has to scroll back to find them and type a free-form reply. Use ask_user_question instead \u2014 it presents selectable options the user can pick quickly.\n- Markdown renders in the terminal: Use it for structure (headings, bold, lists, code blocks) but avoid features that don't render well (tables with many columns, nested blockquotes, HTML).\n\n## Interactive clarification with ask_user_question\n\nUse ask_user_question when:\n- The user must choose between approaches, tradeoffs, or scoping options.\n- You've gathered context and need a decision before acting.\n- Multiple independent decisions are needed \u2014 one call per question, sequentially.\n\nDo NOT use it when:\n- The operation is safe/reversible and you can just do it.\n- The answer is inferable from context.\n\nFormat:\n- One decision point per call. 2\u20134 concrete, actionable suggestions.\n- Summarize findings in text FIRST, then call ask_user_question for the decision.\n";
5
5
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/prompts/shared.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qIAO9B,CAAC;AAEF,eAAO,MAAM,mBAAmB,+QAM/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,siIAwCjC,CAAC;AAEF,eAAO,MAAM,gCAAgC,60CAuB5C,CAAC"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/prompts/shared.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,qIAO9B,CAAC;AAEF,eAAO,MAAM,mBAAmB,+QAM/B,CAAC;AAEF,eAAO,MAAM,qBAAqB,stIAwCjC,CAAC;AAEF,eAAO,MAAM,gCAAgC,60CAuB5C,CAAC"}
@@ -12,6 +12,7 @@ export interface BaseToolConfig<R, Args extends Record<string, unknown>> {
12
12
  readonly name: string;
13
13
  readonly description: string;
14
14
  readonly tags?: readonly string[];
15
+ readonly aliases?: readonly string[];
15
16
  readonly parameters: z.ZodTypeAny;
16
17
  readonly hidden?: boolean;
17
18
  readonly riskLevel?: ToolRiskLevel;
@@ -1 +1 @@
1
- {"version":3,"file":"base-tool.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/tools/base-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAO9E,MAAM,WAAW,mBAAmB,CAAC,IAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IACvE,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,KAAK,CAAC,EAAE,IAAI,CAAC;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACr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EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IAElD,QAAQ,CAAC,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,MAAM,GAAG,SAAS,CAAC;IAK7E,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC7B;AAKD,MAAM,WAAW,gBAAgB,CAAC,CAAC;IAEjC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAE3B,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAE1B,QAAQ,CAAC,GAAG,EAAE,MAAM,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;CACjD;AAUD,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,IAAI,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACxE,MAAM,EAAE,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,GAClC,gBAAgB,CAAC,CAAC,CAAC,CAyErB"}
@@ -1,7 +1,7 @@
1
1
  import { FileSystem } from "@effect/platform";
2
2
  import { type FileSystemContextService } from "@/core/interfaces/fs";
3
3
  import { type ApprovalToolPair } from "../base-tool";
4
- declare const FileNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
4
+ declare const FileNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
5
5
  readonly _tag: "FileNotFoundError";
6
6
  } & Readonly<A>;
7
7
  export declare class FileNotFoundError extends FileNotFoundError_base<{
@@ -9,7 +9,7 @@ export declare class FileNotFoundError extends FileNotFoundError_base<{
9
9
  }> {
10
10
  get message(): string;
11
11
  }
12
- declare const FileReadError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
12
+ declare const FileReadError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
13
13
  readonly _tag: "FileReadError";
14
14
  } & Readonly<A>;
15
15
  export declare class FileReadError extends FileReadError_base<{
@@ -18,7 +18,7 @@ export declare class FileReadError extends FileReadError_base<{
18
18
  }> {
19
19
  get message(): string;
20
20
  }
21
- declare const OutOfBoundsError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
21
+ declare const OutOfBoundsError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
22
22
  readonly _tag: "OutOfBoundsError";
23
23
  } & Readonly<A>;
24
24
  export declare class OutOfBoundsError extends OutOfBoundsError_base<{
@@ -29,7 +29,7 @@ export declare class OutOfBoundsError extends OutOfBoundsError_base<{
29
29
  }> {
30
30
  get message(): string;
31
31
  }
32
- declare const InsertOutOfBoundsError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
32
+ declare const InsertOutOfBoundsError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
33
33
  readonly _tag: "InsertOutOfBoundsError";
34
34
  } & Readonly<A>;
35
35
  export declare class InsertOutOfBoundsError extends InsertOutOfBoundsError_base<{
@@ -38,7 +38,7 @@ export declare class InsertOutOfBoundsError extends InsertOutOfBoundsError_base<
38
38
  }> {
39
39
  get message(): string;
40
40
  }
41
- declare const PatternNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
41
+ declare const PatternNotFoundError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
42
42
  readonly _tag: "PatternNotFoundError";
43
43
  } & Readonly<A>;
44
44
  export declare class PatternNotFoundError extends PatternNotFoundError_base<{
@@ -47,7 +47,7 @@ export declare class PatternNotFoundError extends PatternNotFoundError_base<{
47
47
  }> {
48
48
  get message(): string;
49
49
  }
50
- declare const InvalidPatternError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
50
+ declare const InvalidPatternError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
51
51
  readonly _tag: "InvalidPatternError";
52
52
  } & Readonly<A>;
53
53
  export declare class InvalidPatternError extends InvalidPatternError_base<{
@@ -56,7 +56,7 @@ export declare class InvalidPatternError extends InvalidPatternError_base<{
56
56
  }> {
57
57
  get message(): string;
58
58
  }
59
- declare const RegexIterationLimitError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
59
+ declare const RegexIterationLimitError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
60
60
  readonly _tag: "RegexIterationLimitError";
61
61
  } & Readonly<A>;
62
62
  export declare class RegexIterationLimitError extends RegexIterationLimitError_base<{
@@ -65,7 +65,7 @@ export declare class RegexIterationLimitError extends RegexIterationLimitError_b
65
65
  }> {
66
66
  get message(): string;
67
67
  }
68
- declare const PatternTooComplexError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
68
+ declare const PatternTooComplexError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
69
69
  readonly _tag: "PatternTooComplexError";
70
70
  } & Readonly<A>;
71
71
  export declare class PatternTooComplexError extends PatternTooComplexError_base<{
@@ -74,7 +74,7 @@ export declare class PatternTooComplexError extends PatternTooComplexError_base<
74
74
  }> {
75
75
  get message(): string;
76
76
  }
77
- declare const FileWriteError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
77
+ declare const FileWriteError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
78
78
  readonly _tag: "FileWriteError";
79
79
  } & Readonly<A>;
80
80
  export declare class FileWriteError extends FileWriteError_base<{
@@ -1 +1 @@
1
- {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/tools/fs/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAI9C,OAAO,EAAE,KAAK,wBAAwB,EAA+B,MAAM,sBAAsB,CAAC;AAClG,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AA0B5D,wBAAgB,cAAc,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,GAAG,wBAAwB,CAAC,CAykBvF"}
1
+ {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/tools/fs/find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAI9C,OAAO,EAAE,KAAK,wBAAwB,EAA+B,MAAM,sBAAsB,CAAC;AAClG,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AA0B5D,wBAAgB,cAAc,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,GAAG,wBAAwB,CAAC,CA0kBvF"}
@@ -1 +1 @@
1
- {"version":3,"file":"readPdf.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/tools/fs/readPdf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,OAAO,EAAE,KAAK,wBAAwB,EAA+B,MAAM,sBAAsB,CAAC;AAClG,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AAoD5D,wBAAgB,iBAAiB,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,GAAG,wBAAwB,CAAC,CAyK1F"}
1
+ {"version":3,"file":"readPdf.d.ts","sourceRoot":"","sources":["../../../../../src/core/agent/tools/fs/readPdf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,OAAO,EAAE,KAAK,wBAAwB,EAA+B,MAAM,sBAAsB,CAAC;AAClG,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AAoD5D,wBAAgB,iBAAiB,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,GAAG,wBAAwB,CAAC,CAqK1F"}
@@ -1 +1 @@
1
- {"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../../../../src/core/agent/tools/tool-registry.ts"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M,CAAC,MAAM,CACd,CAAC,IAAI,EAAE,IAAI,CAAC,gBAAgB,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,EAC5D,KAAK,EACL,YAAY,CACb,CAKA"}
@@ -17,6 +17,7 @@ export interface Tool<R = never> {
17
17
  readonly name: string;
18
18
  readonly description: string;
19
19
  readonly tags?: readonly string[];
20
+ readonly aliases?: readonly string[];
20
21
  readonly parameters: z.ZodTypeAny;
21
22
  readonly hidden: boolean;
22
23
  readonly riskLevel: ToolRiskLevel;
@@ -1 +1 @@
1
- {"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../../../src/core/interfaces/tool-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EACV,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,MAAM,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAUlD,MAAM,MAAM,aAAa,G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