jazz-ai 0.9.8 → 0.9.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/README.md +230 -119
  2. package/dist/app-layer.d.ts +1 -2
  3. package/dist/app-layer.d.ts.map +1 -1
  4. package/dist/cli/catch-up-prompt.d.ts +3 -0
  5. package/dist/cli/catch-up-prompt.d.ts.map +1 -0
  6. package/dist/cli/cli-app.d.ts.map +1 -1
  7. package/dist/cli/commands/config.d.ts.map +1 -1
  8. package/dist/cli/commands/create-agent.d.ts.map +1 -1
  9. package/dist/cli/commands/wizard.d.ts +1 -1
  10. package/dist/cli/presentation/activity-reducer.d.ts +1 -3
  11. package/dist/cli/presentation/activity-reducer.d.ts.map +1 -1
  12. package/dist/cli/presentation/cli-presentation-service.d.ts +1 -0
  13. package/dist/cli/presentation/cli-presentation-service.d.ts.map +1 -1
  14. package/dist/cli/presentation/ink-presentation-service.d.ts +1 -0
  15. package/dist/cli/presentation/ink-presentation-service.d.ts.map +1 -1
  16. package/dist/cli/presentation/markdown-formatter.d.ts +3 -0
  17. package/dist/cli/presentation/markdown-formatter.d.ts.map +1 -1
  18. package/dist/cli/ui/ActivityView.d.ts.map +1 -1
  19. package/dist/cli/ui/App.d.ts.map +1 -1
  20. package/dist/cli/ui/OutputEntryView.d.ts.map +1 -1
  21. package/dist/cli/ui/components/ChatInput.d.ts +1 -1
  22. package/dist/cli/ui/components/ChatInput.d.ts.map +1 -1
  23. package/dist/cli/ui/components/PreWrappedText.d.ts +4 -0
  24. package/dist/cli/ui/components/PreWrappedText.d.ts.map +1 -0
  25. package/dist/cli/ui/components/TextInput.d.ts +1 -1
  26. package/dist/cli/ui/components/TextInput.d.ts.map +1 -1
  27. package/dist/cli/ui/types.d.ts +1 -1
  28. package/dist/cli/ui/types.d.ts.map +1 -1
  29. package/dist/core/agent/agent-runner.d.ts.map +1 -1
  30. package/dist/core/agent/context/summarizer.d.ts +6 -1
  31. package/dist/core/agent/context/summarizer.d.ts.map +1 -1
  32. package/dist/core/agent/execution/agent-loop.d.ts.map +1 -1
  33. package/dist/core/agent/prompts/coder/system.d.ts +1 -1
  34. package/dist/core/agent/prompts/coder/system.d.ts.map +1 -1
  35. package/dist/core/agent/prompts/default/system.d.ts +1 -1
  36. package/dist/core/agent/prompts/default/system.d.ts.map +1 -1
  37. package/dist/core/agent/prompts/researcher/system.d.ts +1 -1
  38. package/dist/core/agent/prompts/researcher/system.d.ts.map +1 -1
  39. package/dist/core/agent/prompts/shared.d.ts +1 -1
  40. package/dist/core/agent/prompts/shared.d.ts.map +1 -1
  41. package/dist/core/agent/tools/base-tool.d.ts +3 -0
  42. package/dist/core/agent/tools/base-tool.d.ts.map +1 -1
  43. package/dist/core/agent/tools/context-tools.d.ts +1 -0
  44. package/dist/core/agent/tools/context-tools.d.ts.map +1 -1
  45. package/dist/core/agent/tools/fs/cp.d.ts +7 -0
  46. package/dist/core/agent/tools/fs/cp.d.ts.map +1 -0
  47. package/dist/core/agent/tools/fs/edit.d.ts +10 -1
  48. package/dist/core/agent/tools/fs/edit.d.ts.map +1 -1
  49. package/dist/core/agent/tools/fs/index.d.ts +5 -1
  50. package/dist/core/agent/tools/fs/index.d.ts.map +1 -1
  51. package/dist/core/agent/tools/fs/mv.d.ts +7 -0
  52. package/dist/core/agent/tools/fs/mv.d.ts.map +1 -0
  53. package/dist/core/agent/tools/mcp-tools.d.ts +2 -1
  54. package/dist/core/agent/tools/mcp-tools.d.ts.map +1 -1
  55. package/dist/core/agent/tools/register-tools.d.ts +5 -6
  56. package/dist/core/agent/tools/register-tools.d.ts.map +1 -1
  57. package/dist/core/agent/tools/shell-tools.d.ts +1 -2
  58. package/dist/core/agent/tools/shell-tools.d.ts.map +1 -1
  59. package/dist/core/agent/tools/subagent-tools.d.ts.map +1 -1
  60. package/dist/core/agent/tools/todo-tools.d.ts +4 -0
  61. package/dist/core/agent/tools/todo-tools.d.ts.map +1 -0
  62. package/dist/core/interfaces/presentation.d.ts +1 -0
  63. package/dist/core/interfaces/presentation.d.ts.map +1 -1
  64. package/dist/core/interfaces/tool-registry.d.ts +1 -3
  65. package/dist/core/interfaces/tool-registry.d.ts.map +1 -1
  66. package/dist/core/presentation/quiet-presentation-service.d.ts +4 -0
  67. package/dist/core/presentation/quiet-presentation-service.d.ts.map +1 -0
  68. package/dist/core/types/errors.d.ts +1 -47
  69. package/dist/core/types/errors.d.ts.map +1 -1
  70. package/dist/core/types/output.d.ts +1 -1
  71. package/dist/core/types/output.d.ts.map +1 -1
  72. package/dist/core/utils/display-config.d.ts.map +1 -1
  73. package/dist/core/utils/error-handler.d.ts +2 -2
  74. package/dist/core/utils/error-handler.d.ts.map +1 -1
  75. package/dist/core/utils/logging-helpers.d.ts.map +1 -1
  76. package/dist/core/utils/runtime-detection.d.ts.map +1 -1
  77. package/dist/core/workflows/catch-up.d.ts +0 -1
  78. package/dist/core/workflows/catch-up.d.ts.map +1 -1
  79. package/dist/core/workflows/scheduler-service.d.ts.map +1 -1
  80. package/dist/main.js +911 -887
  81. package/dist/services/chat/session/agent-setup.d.ts +3 -2
  82. package/dist/services/chat/session/agent-setup.d.ts.map +1 -1
  83. package/dist/services/terminal.d.ts +2 -2
  84. package/dist/services/terminal.d.ts.map +1 -1
  85. package/package.json +3 -5
  86. package/skills/calendar/SKILL.md +21 -0
  87. package/skills/email/SKILL.md +23 -0
  88. package/skills/skill-creator/SKILL.md +1 -1
  89. package/skills/todo/SKILL.md +47 -221
  90. package/dist/cli/commands/auth/google.d.ts +0 -11
  91. package/dist/cli/commands/auth/google.d.ts.map +0 -1
  92. package/dist/core/agent/tools/calendar/createEvent.d.ts +0 -4
  93. package/dist/core/agent/tools/calendar/createEvent.d.ts.map +0 -1
  94. package/dist/core/agent/tools/calendar/deleteEvent.d.ts +0 -4
  95. package/dist/core/agent/tools/calendar/deleteEvent.d.ts.map +0 -1
  96. package/dist/core/agent/tools/calendar/getEvent.d.ts +0 -4
  97. package/dist/core/agent/tools/calendar/getEvent.d.ts.map +0 -1
  98. package/dist/core/agent/tools/calendar/getUpcoming.d.ts +0 -4
  99. package/dist/core/agent/tools/calendar/getUpcoming.d.ts.map +0 -1
  100. package/dist/core/agent/tools/calendar/index.d.ts +0 -22
  101. package/dist/core/agent/tools/calendar/index.d.ts.map +0 -1
  102. package/dist/core/agent/tools/calendar/listCalendars.d.ts +0 -4
  103. package/dist/core/agent/tools/calendar/listCalendars.d.ts.map +0 -1
  104. package/dist/core/agent/tools/calendar/listEvents.d.ts +0 -4
  105. package/dist/core/agent/tools/calendar/listEvents.d.ts.map +0 -1
  106. package/dist/core/agent/tools/calendar/quickAdd.d.ts +0 -4
  107. package/dist/core/agent/tools/calendar/quickAdd.d.ts.map +0 -1
  108. package/dist/core/agent/tools/calendar/searchEvents.d.ts +0 -4
  109. package/dist/core/agent/tools/calendar/searchEvents.d.ts.map +0 -1
  110. package/dist/core/agent/tools/calendar/updateEvent.d.ts +0 -4
  111. package/dist/core/agent/tools/calendar/updateEvent.d.ts.map +0 -1
  112. package/dist/core/agent/tools/calendar/utils.d.ts +0 -11
  113. package/dist/core/agent/tools/calendar/utils.d.ts.map +0 -1
  114. package/dist/core/agent/tools/gmail/addLabels.d.ts +0 -4
  115. package/dist/core/agent/tools/gmail/addLabels.d.ts.map +0 -1
  116. package/dist/core/agent/tools/gmail/batchModify.d.ts +0 -4
  117. package/dist/core/agent/tools/gmail/batchModify.d.ts.map +0 -1
  118. package/dist/core/agent/tools/gmail/createLabel.d.ts +0 -4
  119. package/dist/core/agent/tools/gmail/createLabel.d.ts.map +0 -1
  120. package/dist/core/agent/tools/gmail/deleteEmail.d.ts +0 -4
  121. package/dist/core/agent/tools/gmail/deleteEmail.d.ts.map +0 -1
  122. package/dist/core/agent/tools/gmail/deleteLabel.d.ts +0 -4
  123. package/dist/core/agent/tools/gmail/deleteLabel.d.ts.map +0 -1
  124. package/dist/core/agent/tools/gmail/getEmail.d.ts +0 -4
  125. package/dist/core/agent/tools/gmail/getEmail.d.ts.map +0 -1
  126. package/dist/core/agent/tools/gmail/index.d.ts +0 -30
  127. package/dist/core/agent/tools/gmail/index.d.ts.map +0 -1
  128. package/dist/core/agent/tools/gmail/listEmails.d.ts +0 -4
  129. package/dist/core/agent/tools/gmail/listEmails.d.ts.map +0 -1
  130. package/dist/core/agent/tools/gmail/listLabels.d.ts +0 -4
  131. package/dist/core/agent/tools/gmail/listLabels.d.ts.map +0 -1
  132. package/dist/core/agent/tools/gmail/removeLabels.d.ts +0 -4
  133. package/dist/core/agent/tools/gmail/removeLabels.d.ts.map +0 -1
  134. package/dist/core/agent/tools/gmail/searchEmails.d.ts +0 -4
  135. package/dist/core/agent/tools/gmail/searchEmails.d.ts.map +0 -1
  136. package/dist/core/agent/tools/gmail/sendEmail.d.ts +0 -4
  137. package/dist/core/agent/tools/gmail/sendEmail.d.ts.map +0 -1
  138. package/dist/core/agent/tools/gmail/trashEmail.d.ts +0 -4
  139. package/dist/core/agent/tools/gmail/trashEmail.d.ts.map +0 -1
  140. package/dist/core/agent/tools/gmail/updateLabel.d.ts +0 -4
  141. package/dist/core/agent/tools/gmail/updateLabel.d.ts.map +0 -1
  142. package/dist/core/agent/tools/gmail/utils.d.ts +0 -8
  143. package/dist/core/agent/tools/gmail/utils.d.ts.map +0 -1
  144. package/dist/core/interfaces/calendar.d.ts +0 -17
  145. package/dist/core/interfaces/calendar.d.ts.map +0 -1
  146. package/dist/core/interfaces/gmail.d.ts +0 -49
  147. package/dist/core/interfaces/gmail.d.ts.map +0 -1
  148. package/dist/core/presentation/headless-presentation-service.d.ts +0 -4
  149. package/dist/core/presentation/headless-presentation-service.d.ts.map +0 -1
  150. package/dist/core/types/calendar.d.ts +0 -95
  151. package/dist/core/types/calendar.d.ts.map +0 -1
  152. package/dist/core/types/gmail.d.ts +0 -34
  153. package/dist/core/types/gmail.d.ts.map +0 -1
  154. package/dist/services/calendar.d.ts +0 -48
  155. package/dist/services/calendar.d.ts.map +0 -1
  156. package/dist/services/gmail.d.ts +0 -114
  157. package/dist/services/gmail.d.ts.map +0 -1
  158. package/dist/services/google/auth.d.ts +0 -30
  159. package/dist/services/google/auth.d.ts.map +0 -1
package/README.md CHANGED
@@ -4,216 +4,327 @@
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
- ### Your AI agent that actually does things.
7
+ ### Your terminal. Your agent. Your rules.
8
8
 
9
- ![Jazz Demo](assets/hero.png)
9
+ ![Jazz Demo](assets/jazz_demo_800.gif)
10
+
11
+ Jazz is an AI agent that lives in your terminal and actually does things.
12
+ Not a chatbot. Not a wrapper around an API. A personal assistant you control,
13
+ that reads your files, manages your git, searches the web, handles your email,
14
+ and automates the workflows you're tired of doing by hand.
15
+
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)
10
17
 
11
18
  </div>
12
19
 
13
20
  ---
14
21
 
15
- **Why people love Jazz:**
22
+ ## Why Jazz?
16
23
 
17
- - **60+ builtin tools** Git, Gmail, filesystem, shell, HTTP, PDF, and more
18
- - ✅ **MCP support** — Connect to Notion, Slack, MongoDB, GitHub, PostgreSQL, and hundreds more
19
- - ✅ **Scheduled workflows** — Automate recurring tasks with cron-based scheduling
20
- - ✅ **Agent Skills** — Teach agents complex, multi-step procedures
21
- - ✅ **Any LLM provider** — OpenAI, Anthropic, Google, Mistral, Ollama, OpenRouter, and more
22
- - ✅ **Safety first** — Every high-risk action requires your explicit approval
24
+ Because your terminal should be smarter than a blinking cursor.
23
25
 
24
- ---
26
+ Jazz is a personal assistant that lives where you already work. It can read your filesystem, manage your git repos, search the web, handle your email, run shell commands, talk to APIs -- and it does all of it autonomously, step by step, without you having to hold its hand. It's LLM provider agnostic, supports agent skills, and connects to anything through MCP.
25
27
 
26
- ## 📑 Table of Contents
28
+ Tell it to "analyze yesterday's unread emails and archive the newsletters" -- it connects to Gmail, reads your inbox, categorizes messages, and archives them. Tell it to "commit my changes with a good message" -- it runs `git diff`, reads the changes, writes a semantic commit message, and commits. Tell it to "find all security vulnerabilities in this codebase" -- it scans your files, analyzes patterns, and gives you a prioritized report.
27
29
 
28
- - [Why Jazz?](#why-jazz)
29
- - [Quick Start](#-quick-start)
30
- - [Usage Highlights](#-usage-highlights)
31
- - [Built for Production](#️-built-for-production)
32
- - [What's Next](#️-whats-next)
33
- - [Documentation & Community](#-documentation--community)
34
- - [Contributing](#-contributing)
30
+ You describe what you want. Jazz figures out how to do it.
35
31
 
36
32
  ---
37
33
 
38
- ## Why Jazz?
34
+ ## 🚀 Quick Start
39
35
 
40
- ### 🤖 Not Just Chat, Real Action
36
+ ```bash
37
+ # Install
38
+ npm install -g jazz-ai
39
+ bun add -g jazz-ai
40
+ pnpm add -g jazz-ai
41
+ yarn global add jazz-ai
41
42
 
42
- **Jazz doesn't just talk about work, it does the work.**
43
+ # Start chatting
44
+ jazz
45
+ ```
43
46
 
44
- Ask Jazz to `analyze yesterday's unread emails and archive newsletters`, it connects to Gmail, reads your inbox, categorizes messages, and archives them. Ask it to `commit my changes with a good message`, it runs `git diff`, analyzes your changes, generates a semantic commit message, and commits the code. Ask it to `find all TODO comments in the codebase`, it searches your files, extracts context, and organizes them by priority.
47
+ That's it. Jazz walks you through provider setup on first run.
45
48
 
46
- This isn't a chatbot, it's an autonomous agent that executes multi-step workflows, makes decisions, and gets things done.
49
+ > **Start using Jazz for free** -- choose [OpenRouter](https://openrouter.ai) as your provider and select the [`Free Models Router`](https://openrouter.ai/openrouter/free). No credit card, no commitment.
47
50
 
48
- ### 🎯 Purpose, Built for Workflows
51
+ Keep it updated:
49
52
 
50
- Jazz is designed from the ground up for autonomous agents that handle multi-step, real-world tasks with contextual awareness.
53
+ ```bash
54
+ jazz update
55
+ ```
51
56
 
52
- ### 🛠️ 60+ Tools, Ready to Use
57
+ ---
53
58
 
54
- Git, Gmail, filesystem, shell, web search, HTTP, PDF, and more. Just create an agent and start automating. See [`docs/integrations.md`](docs/integrations.md) for setup instructions.
59
+ ## 🎯 What Can It Do?
55
60
 
56
- **Plus MCP Support**: Connect to any [Model Context Protocol](https://modelcontextprotocol.io/) server — Notion, MongoDB, GitHub, Slack, PostgreSQL, and hundreds more. Your agents can use any MCP-compatible tool.
61
+ ### The short answer: almost anything you can describe.
57
62
 
58
- ### 🧠 Agent Skills, Built for Complex Workflows
63
+ Jazz understands your filesystem, your git history, your shell, HTTP APIs, the web, PDFs and it can connect to external services through MCP. But capabilities are just the foundation. What makes Jazz different is how it _combines_ them to solve your actual problems.
59
64
 
60
- **Jazz agents can learn and follow specialized procedures.**
65
+ ### Real examples, real workflows
61
66
 
62
- [Agent Skills](https://agentskills.io/home) provides a way to give agents detailed, multi-step instructions for specific domains without overloading their context window.
67
+ **Development**
63
68
 
64
- - **Progressive Disclosure**: Agents only load the instructions they need when they need them.
65
- - **Smart Discovery**: Agents automatically "see" available skills and decide which one to use based on your request.
66
- - **Local & Global**: Skills can be stored globally in `~/.jazz` or locally in your project.
67
- - **Interactive Inspection**: Use the `/skills` command during chat to browse and read available skills yourself.
69
+ ```
70
+ > review the last 5 commits and flag anything that looks risky
71
+ > find all TODO comments, group them by priority, and create a summary
72
+ > refactor this function to use async/await and update all callers
73
+ > generate a PR description from the current branch diff
74
+ ```
68
75
 
69
- ### ⏰ Workflows, Automated & Scheduled
76
+ **Email & Communication**
70
77
 
71
- **Jazz workflows let you automate recurring tasks and schedule them to run automatically.**
78
+ ```
79
+ > check my unread emails, summarize anything important, archive the rest
80
+ > draft a reply to the latest email from Sarah about the project timeline
81
+ ```
72
82
 
73
- Create `WORKFLOW.md` files that describe what the agent should do, then schedule them to run hourly, daily, or on any cron schedule:
83
+ **Research & Analysis**
74
84
 
75
- - **Scheduled Execution**: Run workflows on a cron schedule using your system scheduler (launchd on macOS, cron on Linux)
76
- - **Auto-Approve Policies**: Set risk-based auto-approval (`read-only`, `low-risk`, `high-risk`) for unattended execution
77
- - **Agent Selection**: Choose which agent runs each workflow
78
- - **Run History**: Track execution history, logs, and errors
79
- - **Catch-Up on Startup**: Optionally run missed workflows when Jazz starts
80
- - **Built-in Examples**: Email cleanup, weather briefings, tech digests, market analysis, and more
85
+ ```
86
+ > research the latest developments in WebAssembly and write a 2-page summary
87
+ > compare React Server Components vs Astro islands architecture with pros and cons
88
+ > analyze this PDF report and extract the key financial metrics
89
+ ```
81
90
 
82
- Example: Schedule a daily market analysis at 6 AM:
91
+ **Research & Knowledge Management**
83
92
 
84
- ```bash
85
- jazz workflow schedule market-analysis
86
93
  ```
94
+ > do deep research on the Three-Body Problem and write it in my Obsidian vault
95
+ ```
96
+
97
+ ### LLM Provider Agnostic
98
+
99
+ Jazz doesn't lock you in. Use whichever model fits the task or switch mid-conversation. Run locally with Ollama, go through OpenRouter for access to hundreds of models, or plug in your own endpoint.
100
+
101
+ OpenAI, Anthropic, Google, Mistral, xAI, DeepSeek, Groq, Cerebras, Fireworks, TogetherAI, Ollama, OpenRouter, and more.
87
102
 
88
- ### 🧠 Multi LLM, Model Agnostic
103
+ ### MCP: Connect to Everything
89
104
 
90
- Switch between OpenAI, Anthropic, Google, Mistral, xAI, DeepSeek, Ollama, Openrouter and more, even mid-conversation. Your agents aren't locked to one provider.
105
+ Jazz speaks [Model Context Protocol](https://modelcontextprotocol.io/). One config block, and your agent can talk to any MCP-compatible service:
91
106
 
92
- ### 🔒 Safety First
107
+ Simply run `jazz mcp add` add input the MCP configuration:
93
108
 
94
- **Every dangerous action requires your explicit approval.**
109
+ ```json
110
+ {
111
+ "mcpServers": {
112
+ "notion": {
113
+ "command": "npx",
114
+ "args": ["-y", "mcp-remote", "https://mcp.notion.com/mcp"]
115
+ },
116
+ "github": {
117
+ "command": "npx",
118
+ "args": ["-y", "@modelcontextprotocol/server-github"]
119
+ }
120
+ }
121
+ }
122
+ ```
123
+
124
+ ### Skills: Extend Your Agent
95
125
 
96
- - **Requires confirmation**: Git commits, file changes, sending emails, shell commands, API requests
97
- - **Executes automatically**: Reading files, searching, analyzing code, viewing data
98
- - **Secure credentials**: OAuth2 authentication, never logged or exposed
99
- - **Full audit trail**: Complete logs of every agent action for transparency and debugging
126
+ Skills are packaged expertise your agent loads on demand—proven playbooks for complex tasks instead of winging it every time. Think deep research with multi-source verification, structured code review, meeting notes that follow your format, PR descriptions from your conventions. You get consistency and domain expertise without stuffing the context window.
100
127
 
101
- You stay in control. Jazz won't delete files, push code, or send emails without showing you exactly what it will do and waiting for your "yes".
128
+ Jazz ships with **20+ built-in skills**—code review, deep research, email, calendar, PR descriptions, documentation, browser automation, Obsidian, budgeting, and more. Add your own from the ecosystem: Jazz follows the [`.agents` convention](https://agentskills.io), so any skill works. Run `npx skills add` to browse and install, or drop a skill in `~/.jazz/skills/` (global) or `./skills/` (project-local). Use `/skills` in chat to browse what's available.
102
129
 
103
130
  ---
104
131
 
105
- ## 🚀 Quick Start
132
+ ## Workflows: Automate Everything
106
133
 
107
- ### 1. Install the CLI
134
+ 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.
108
135
 
109
- ```bash
110
- # npm
111
- npm install -g jazz-ai
136
+ ### Built-in Workflows
112
137
 
113
- # bun
114
- bun add -g jazz-ai
138
+ Jazz ships with workflows ready to go:
115
139
 
116
- # pnpm
117
- pnpm add -g jazz-ai
140
+ | Workflow | Schedule | What it does |
141
+ | -------------------- | ------------- | ----------------------------------------------------------------- |
142
+ | **email-cleanup** | Hourly | Archive newsletters, organize promotions, flag important messages |
143
+ | **tech-digest** | Daily | Scan AI/tech news sources and compile a personalized digest |
144
+ | **weather-briefing** | Every morning | Weather forecast + outfit recommendations for your location |
145
+ | **market-analysis** | Daily | Stock/crypto analysis with buy/sell signals |
118
146
 
119
- # yarn
120
- yarn global add jazz-ai
147
+ ### Create Your Own
148
+
149
+ Any task you do repeatedly can become a workflow. Write a `WORKFLOW.md`:
150
+
151
+ ```yaml
152
+ ---
153
+ name: daily-standup-prep
154
+ description: Prepare my daily standup notes
155
+ schedule: "0 9 * * 1-5" # 9 AM, weekdays
156
+ agent: my-dev-agent
157
+ autoApprove: read-only
158
+ ---
121
159
  ```
122
160
 
123
- ### 2. Chat With Your Agent
161
+ ```markdown
162
+ Check my git activity from yesterday across all repos in ~/projects/.
163
+ Summarize what I worked on, what PRs I opened or reviewed,
164
+ and any blockers I mentioned in commit messages.
165
+ Format it as bullet points I can paste into Slack.
166
+ ```
124
167
 
125
- Simply run `jazz` to start a chat with your agent:
168
+ Then schedule it:
126
169
 
127
170
  ```bash
128
- jazz
171
+ jazz workflow schedule daily-standup-prep
129
172
  ```
130
173
 
131
- > [!TIP]
132
- > **Get started for free!** You can use Jazz for free by selecting **OpenRouter** as your provider and choosing [`Free Models Router`](https://openrouter.ai/openrouter/free).
174
+ Jazz uses `launchd` on macOS and `cron` on Linux. If your machine was asleep when a workflow was supposed to run, Jazz can catch up automatically on next launch.
133
175
 
134
- ### 3. Update Jazz
176
+ ### Auto-Approve Policies
135
177
 
136
- Keep Jazz up to date with the latest features and improvements:
178
+ Control how much autonomy each workflow gets:
137
179
 
138
- ```bash
139
- jazz update
140
- ```
180
+ | Policy | What it auto-approves |
181
+ | ----------- | ------------------------------------------- |
182
+ | `false` | Nothing -- always asks |
183
+ | `read-only` | Reading files, searching, web requests |
184
+ | `low-risk` | + archiving email, creating calendar events |
185
+ | `high-risk` | + file changes, shell commands, git push |
141
186
 
142
187
  ---
143
188
 
144
- ## 📚 Usage Highlights
145
-
146
- | Command | Description |
147
- | ------------------------------- | ---------------------------------------- |
148
- | `jazz agent create` | Create a new agent |
149
- | `jazz agent chat <name>` | Start chatting with an agent |
150
- | `jazz agent list` | List all your agents |
151
- | `jazz agent edit <id>` | Edit an existing agent |
152
- | `jazz workflow list` | List all available workflows |
153
- | `jazz workflow run <name>` | Run a workflow manually |
154
- | `jazz workflow schedule <name>` | Schedule a workflow to run automatically |
155
- | `jazz workflow scheduled` | Show scheduled workflows |
156
- | `jazz config show` | View your configuration |
157
- | `jazz auth gmail login` | Authenticate with Google (Gmail) |
158
- | `jazz update` | Update Jazz to the latest version |
189
+ ## 🔁 We use Jazz to build Jazz.
159
190
 
160
- ---
191
+ 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
+
193
+ ### Automated Code Review
194
+
195
+ Every pull request to Jazz gets reviewed by a Jazz agent. The [`jazz.yml`](.github/workflows/jazz.yml) workflow:
196
+
197
+ 1. Installs `jazz-ai` in the CI runner
198
+ 2. Runs a code review workflow against the PR diff
199
+ 3. Posts **inline review comments** directly on the PR -- on specific lines, with context
200
+
201
+ ```yaml
202
+ # .github/workflows/jazz.yml (simplified)
203
+ - name: Run Jazz code review
204
+ run: jazz --output raw workflow run code-review --auto-approve --agent ci-reviewer
205
+ env:
206
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
207
+ ```
208
+
209
+ The review agent checks for correctness, security issues, TypeScript best practices, Effect-TS patterns, and performance concerns. Real reviews, on real code, every PR.
210
+
211
+ ### Automated Release Notes
212
+
213
+ Every release gets its notes written by Jazz. The [`release.yml`](.github/workflows/release.yml) workflow:
214
+
215
+ 1. Bumps the version and creates a git tag
216
+ 2. Runs a Jazz agent to analyze all commits since the last release
217
+ 3. Generates release notes grouped by feature area
218
+ 4. Creates the GitHub Release with those notes
161
219
 
162
- ## 🏗️ Built for Production
220
+ No more "what changed in this release?" -- Jazz reads the commits, understands the changes, and writes release notes that actually make sense.
163
221
 
164
- Jazz is built with **100% TypeScript** and **Effect-TS** for production-grade reliability:
222
+ ### Run Jazz in Your Own Pipelines
165
223
 
166
- - **Type-Safe by Design**: Explicit error types and recovery paths ensure bulletproof error handling
167
- - **Security-First**: All state-changing operations require explicit approval; credentials stored securely, never logged
168
- - **Input Validation**: All external inputs validated and sanitized before processing
169
- - **Contextual Awareness**: Agents maintain working directory and conversation context across multi-step workflows
170
- - **Intelligent Orchestration**: Smart sequencing of tools with graceful error recovery and retry logic
171
- - **Complete Auditability**: Full logs of all agent actions for transparency and debugging
224
+ ```yaml
225
+ # Your .github/workflows/review.yml
226
+ name: AI Code Review
227
+ on: pull_request
228
+
229
+ jobs:
230
+ review:
231
+ runs-on: ubuntu-latest
232
+ steps:
233
+ - uses: actions/checkout@v4
234
+ with:
235
+ fetch-depth: 0
236
+
237
+ - run: npm install -g jazz-ai
238
+
239
+ - name: Run review
240
+ run: jazz --output raw workflow run my-review --auto-approve
241
+ env:
242
+ OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
243
+ ```
244
+
245
+ See [`.github/jazz/`](.github/jazz/) for the full agent configs and workflow templates we use.
172
246
 
173
247
  ---
174
248
 
175
- ## 🗺️ What's Next
249
+ ## 🔒 You Stay in Control
176
250
 
177
- Jazz is actively developed with exciting features coming.
178
- See [TODO.md](TODO.md) for the full roadmap and [docs/exploration/](docs/exploration/) for research on future features.
251
+ Jazz is powerful, but it never acts without your say-so.
252
+
253
+ **Requires approval:** File changes, git commits, shell commands, sending emails, API mutations
254
+ **Runs freely:** Reading files, searching, analyzing code, web lookups, viewing data
255
+
256
+ Every action is logged. You see exactly what Jazz wants to do before it does it. You can review, approve, deny, or modify. Full audit trail, always.
257
+
258
+ Credentials are stored securely (OAuth2 for Gmail, API keys in config). Nothing is logged or exposed.
179
259
 
180
260
  ---
181
261
 
182
- ## 📖 Documentation & Community
262
+ ## 📋 Command Reference
263
+
264
+ | Command | Description |
265
+ | ------------------------------- | -------------------------------------------- |
266
+ | `jazz` | Start chatting (interactive agent selection) |
267
+ | `jazz agent create` | Create a new agent |
268
+ | `jazz agent chat <name>` | Chat with a specific agent |
269
+ | `jazz agent list` | List all agents |
270
+ | `jazz workflow list` | List available workflows |
271
+ | `jazz workflow run <name>` | Run a workflow |
272
+ | `jazz workflow schedule <name>` | Schedule a workflow |
273
+ | `jazz mcp add` | Add an MCP server |
274
+ | `jazz mcp list` | List MCP servers |
275
+ | `jazz config show` | View configuration |
276
+ | `jazz auth gmail login` | Authenticate with Gmail |
277
+ | `jazz update` | Update to latest version |
278
+
279
+ **In-chat commands:** `/tools`, `/skills`, `/model`, `/mode`, `/cost`, `/context`, `/compact`, `/switch`, `/workflows`, and more. Type `/help` during chat.
183
280
 
184
- **Documentation:**
281
+ ---
185
282
 
186
- - **Full Documentation** [`docs/README.md`](docs/README.md)
187
- - **Examples** — [`examples/`](examples/)
188
- - **Tools Reference** — [`docs/tools-reference.md`](docs/tools-reference.md)
189
- - **Exploration** — [`docs/exploration/`](docs/exploration/) for future features and research
283
+ ## 🏗️ Built to Be Reliable
190
284
 
191
- **Community:**
285
+ 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.
192
286
 
193
- - **Discord Community** [Join us on Discord](https://discord.gg/yBDbS2NZju)
194
- - **GitHub Discussions** — [Discuss ideas](https://github.com/lvndry/jazz/discussions)
195
- - **Issue Tracker** — [File issues](https://github.com/lvndry/jazz/issues)
287
+ It manages its own context window (auto-summarizes when things get long), delegates deep tasks to sub-agents, and gracefully recovers from timeouts and failures. You can throw complex, multi-step problems at it and trust that it won't fall apart halfway through.
288
+
289
+ ---
290
+
291
+ ## 📖 Documentation & Community
292
+
293
+ | | |
294
+ | ---------------------- | ---------------------------------------------------------------- |
295
+ | **Full Documentation** | [`docs/README.md`](docs/README.md) |
296
+ | **Tools Reference** | [`docs/tools-reference.md`](docs/tools-reference.md) |
297
+ | **Integrations** | [`docs/integrations.md`](docs/integrations.md) |
298
+ | **Examples** (20+) | [`examples/`](examples/) |
299
+ | **Research & Roadmap** | [`docs/exploration/`](docs/exploration/) |
300
+ | **Discord** | [Join the community](https://discord.gg/yBDbS2NZju) |
301
+ | **Discussions** | [GitHub Discussions](https://github.com/lvndry/jazz/discussions) |
302
+ | **Issues** | [Report a bug](https://github.com/lvndry/jazz/issues) |
196
303
 
197
304
  ---
198
305
 
199
306
  ## 🤝 Contributing
200
307
 
201
- We welcome contributions of all kinds: bug fixes, docs, tests, and features.
308
+ We welcome contributions -- bug fixes, docs, tests, features, and ideas.
202
309
 
203
- - See [`CONTRIBUTING.md`](CONTRIBUTING.md) for the contributor guide and PR process
310
+ See [`CONTRIBUTING.md`](CONTRIBUTING.md) for the contributor guide.
204
311
 
205
312
  ---
206
313
 
207
314
  ## 📄 License
208
315
 
209
- MIT see [`LICENSE`](LICENSE).
316
+ MIT -- see [`LICENSE`](LICENSE).
210
317
 
211
318
  ---
212
319
 
213
320
  <div align="center">
214
321
 
215
- If Jazz helps you automate your work, please give the project a star on GitHub, it helps others find it!
322
+ **The sky is the limit.** Start automating.
323
+
324
+ ```bash
325
+ npm install -g jazz-ai && jazz
326
+ ```
216
327
 
217
- [Back to top](#jazz-)
328
+ [Back to top](#jazz-)
218
329
 
219
330
  </div>
@@ -5,9 +5,8 @@ export interface AppLayerConfig {
5
5
  verbose?: boolean | undefined;
6
6
  debug?: boolean | undefined;
7
7
  configPath?: string | undefined;
8
- headless?: boolean | undefined;
9
8
  }
10
- export declare function createAppLayer(config?: AppLayerConfig): Layer.Layer<import("./core/interfaces/logger").LoggerService | import("./core/interfaces/terminal").TerminalService | import("./core/skills/skill-service").SkillService | import("./core/interfaces/calendar").CalendarService | import("./core/interfaces/fs").FileSystemContextService | FileSystem.FileSystem | import("./core/interfaces/gmail").GmailService | import("./core/interfaces/llm").LLMService | import("./core/interfaces/mcp-server").MCPServerManager | import("./core/interfaces/agent-config").AgentConfigService | import("./core/interfaces/presentation").PresentationService | import("./core/interfaces/tool-registry").ToolRegistry | import("./core/interfaces/telemetry").TelemetryService | import("./core/interfaces/notification").NotificationService | import("./core/interfaces/storage").StorageService | import("./core/interfaces/agent-service").AgentService | import("./core/workflows").WorkflowService | import("./core/workflows").SchedulerService | import("./core/interfaces/chat-service").ChatService, Error | import("./core/types").ConfigurationError | import("./core/types").ConfigurationNotFoundError | import("./core/types").LLMConfigurationError, FileSystem.FileSystem | import("effect/Context").Tag<import("./core/interfaces/tool-registry").ToolRegistry, import("./core/interfaces/tool-registry").ToolRegistry> | import("effect/Context").Tag<import("./core/interfaces/agent-config").AgentConfigService, import("./core/interfaces/agent-config").AgentConfigService> | import("effect/Context").Tag<import("./core/interfaces/agent-service").AgentService, import("./core/interfaces/agent-service").AgentService>>;
9
+ export declare function createAppLayer(config?: AppLayerConfig): Layer.Layer<import("./core/interfaces/logger").LoggerService | import("./core/interfaces/terminal").TerminalService | import("./core/skills/skill-service").SkillService | import("./core/interfaces/fs").FileSystemContextService | FileSystem.FileSystem | import("./core/interfaces/llm").LLMService | import("./core/interfaces/mcp-server").MCPServerManager | import("./core/interfaces/agent-config").AgentConfigService | import("./core/interfaces/presentation").PresentationService | import("./core/interfaces/tool-registry").ToolRegistry | import("./core/interfaces/telemetry").TelemetryService | import("./core/interfaces/notification").NotificationService | import("./core/interfaces/agent-service").AgentService | import("./core/workflows").WorkflowService | import("./core/workflows").SchedulerService | import("./core/interfaces/storage").StorageService | import("./core/interfaces/chat-service").ChatService, Error | import("./core/types").ConfigurationError | import("./core/types").ConfigurationNotFoundError | import("./core/types").LLMConfigurationError, FileSystem.FileSystem | import("effect/Context").Tag<import("./core/interfaces/tool-registry").ToolRegistry, import("./core/interfaces/tool-registry").ToolRegistry> | import("effect/Context").Tag<import("./core/interfaces/agent-config").AgentConfigService, import("./core/interfaces/agent-config").AgentConfigService> | import("effect/Context").Tag<import("./core/interfaces/agent-service").AgentService, import("./core/interfaces/agent-service").AgentService>>;
11
10
  export declare function runCliEffect<R, E extends JazzError | Error>(effect: Effect.Effect<void, E, R>, config?: AppLayerConfig, options?: {
12
11
  readonly skipCatchUp?: boolean | undefined;
13
12
  }): void;
@@ -1 +1 @@
1
- {"version":3,"file":"app-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cAAc,CAAC,MAAM,GAAE,cAAmB,w/CA0GzD;AAWD,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,SAAS,SAAS,GAAG,KAAK,EACzD,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,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,CAyIN"}
@@ -0,0 +1,3 @@
1
+ import { Effect } from "effect";
2
+ export declare function promptInteractiveCatchUp(): Effect.Effect<void, never, import("@/core/interfaces/logger").LoggerService | import("@/core/interfaces/terminal").TerminalService | import("../core/skills/skill-service").SkillService | import("../core/interfaces/fs").FileSystemContextService | import("@effect/platform/FileSystem").FileSystem | import("../core/interfaces/llm").LLMService | import("../core/interfaces/mcp-server").MCPServerManager | import("../core/interfaces/agent-config").AgentConfigService | import("../core/interfaces/tool-registry").ToolRegistry | import("../core/interfaces/agent-service").AgentService | import("../core/workflows").WorkflowService | import("../core/workflows").SchedulerService>;
3
+ //# sourceMappingURL=catch-up-prompt.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catch-up-prompt.d.ts","sourceRoot":"","sources":["../../src/cli/catch-up-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAoDhC,wBAAgB,wBAAwB,qqBAmFvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"cli-app.d.ts","sourceRoot":"","sources":["../../src/cli/cli-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAwbhC,wBAAgB,YAAY,IAAI,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAuC5D"}
1
+ {"version":3,"file":"cli-app.d.ts","sourceRoot":"","sources":["../../src/cli/cli-app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAkYhC,wBAAgB,YAAY,IAAI,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAiD5D"}
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIhC,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE3F,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAUnE,wBAAgB,iBAAiB,IAAI,MAAM,CAAC,MAAM,CAChD,IAAI,EACJ,KAAK,EACL,kBAAkB,GAAG,eAAe,CACrC,CAuBA;AAMD,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,GACV,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,kBAAkB,GAAG,eAAe,CAAC,CAqBlE;AAKD,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,EACX,KAAK,CAAC,EAAE,MAAM,GACb,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,4BAA4B,EAAE,kBAAkB,GAAG,eAAe,CAAC,CA6GzF"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIhC,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE3F,OAAO,EAAE,4BAA4B,EAAE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,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,eAAe,GACf,kBAAkB,GAClB,gBAAgB,GAChB,aAAa,CAChB,CAqNA"}
1
+ {"version":3,"file":"create-agent.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/create-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAmBhC,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAChG,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAoB,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAChF,OAAO,EAAuB,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAC1F,OAAO,EAA2B,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC3F,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACrF,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,YAAY,EACZ,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAmE7B,wBAAgB,kBAAkB,IAAI,MAAM,CAAC,MAAM,CACjD,IAAI,EACF,YAAY,GACZ,uBAAuB,GACvB,uBAAuB,GACvB,eAAe,GACf,qBAAqB,EACrB,YAAY,GACZ,UAAU,GACV,YAAY,GACZ,eAAe,GACf,kBAAkB,GAClB,gBAAgB,GAChB,aAAa,CAChB,CAqNA"}
@@ -1,4 +1,4 @@
1
1
  import { Effect } from "effect";
2
2
  import { type AgentConfigService } from "@/core/interfaces/agent-config";
3
- export declare function wizardCommand(): Effect.Effect<void, Error, import("../../core/interfaces/tool-registry").ToolRequirements | import("../../core/interfaces/tool-registry").ToolRegistry | import("effect/Context").Tag<AgentConfigService, AgentConfigService> | import("../../core/interfaces/cli-options").CLIOptions | import("@/core/interfaces/agent-service").AgentService | import("../../core/workflows").WorkflowService | import("@/core/interfaces/chat-service").ChatService>;
3
+ export declare function wizardCommand(): Effect.Effect<void, Error, import("../../core/interfaces/tool-registry").ToolRequirements | import("../../core/interfaces/tool-registry").ToolRegistry | import("effect/Context").Tag<AgentConfigService, AgentConfigService> | import("@/core/interfaces/agent-service").AgentService | import("../../core/workflows").WorkflowService | import("../../core/interfaces/cli-options").CLIOptions | import("@/core/interfaces/chat-service").ChatService>;
4
4
  //# sourceMappingURL=wizard.d.ts.map
@@ -16,11 +16,9 @@ export interface ReducerAccumulator {
16
16
  }>;
17
17
  currentProvider: string | null;
18
18
  currentModel: string | null;
19
- flushedTextOffset: number;
20
- _cachedDisplayTextInput: string;
21
- _cachedDisplayTextOutput: string;
22
19
  _cachedReasoningInput: string;
23
20
  _cachedReasoningOutput: string;
21
+ responseHeaderPrinted: boolean;
24
22
  }
25
23
  export declare function createAccumulator(agentName: string): ReducerAccumulator;
26
24
  export interface ReducerResult {
@@ -1 +1 @@
1
- {"version":3,"file":"activity-reducer.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/activity-reducer.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1D,OAAO,KAAK,EAAc,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAEtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAc/C,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,MAAM,CAAC;IAMlB,QAAQ,EAAE,MAAM,CAAC;IAEjB,eAAe,EAAE,MAAM,CAAC;IAExB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,sBAAsB,EAAE,OAAO,CAAC;IAEhC,uBAAuB,EAAE,MAAM,CAAC;IAChC,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE;QAAE,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AAE,OAAO,CAAC;IAEhC,uBAAuB,EAAE,MAAM,CAAC;IAChC,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAElE,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAI5B,qBAAqB,EAAE,MAAM,CAAC;IAE9B,sBAAsB,EAAE,MAAM,CAAC;IAM/B,qBAAqB,EAAE,OAAO,CAAC;CAChC;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,kBAAkB,CAkBvE;AAMD,MAAM,WAAW,aAAa;IAE5B,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IAE/B,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AAoFD,wBAAgB,WAAW,CACzB,GAAG,EAAE,kBAAkB,EACvB,KAAK,EAAE,WAAW,EAClB,cAAc,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,EACxC,SAAS,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,cAAc,GAC3C,aAAa,CAqVf"}
@@ -29,6 +29,7 @@ export declare class CLIPresentationService implements PresentationService {
29
29
  createStreamingRenderer(config: StreamingRendererConfig): Effect.Effect<StreamingRenderer, never>;
30
30
  writeOutput(message: string): Effect.Effect<void, never>;
31
31
  writeBlankLine(): Effect.Effect<void, never>;
32
+ presentStatus(message: string, level: "info" | "success" | "warning" | "error" | "progress"): Effect.Effect<void, never>;
32
33
  requestApproval(request: ApprovalRequest): Effect.Effect<ApprovalOutcome, never>;
33
34
  signalToolExecutionStarted(): Effect.Effect<void, never>;
34
35
  requestUserInput(request: UserInputRequest): Effect.Effect<string, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"cli-presentation-service.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/cli-presentation-service.ts"],"names":[],"mappings":"AACA,OAA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C,IAAI,EAAE,KAAK,CAAC;IAM5C,aAAa,CACX,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAC3D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC;IAa7B,eAAe,CAAC,OAAO,EAAE,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,EAAE,KAAK,CAAC;IAiEhF,0BAA0B,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC;IAIxD,gBAAgB,CAAC,OAAO,EAAE,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;IA+BzE,iBAAiB,CAAC,OAAO,EAAE,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;CAiB5E;AAMD,eAAO,MAAM,2BAA2B,gDAoBvC,CAAC"}
@@ -27,6 +27,7 @@ export declare class InkStreamingRenderer implements StreamingRenderer {
27
27
  private clearAllToolTimeouts;
28
28
  private storeExpandableDiff;
29
29
  private throttledSetActivity;
30
+ private formatActivityText;
30
31
  private formatMarkdown;
31
32
  }
32
33
  export declare const InkPresentationServiceLayer: Layer.Layer<PresentationService, never, never>;
@@ -1 +1 @@
1
- {"version":3,"file":"ink-presentation-service.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/ink-presentation-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAU,MAAM,QAAQ,CAAC;AAM/C,OAAO,KAAK,EAEV,mBAAmB,EACnB,iBAAiB,EAGlB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AA0C1D,qBAAa,oBAAqB,YAAW,iBAAiB;IAc1D,OAAO,CAAC,QAAQ,CAAC,S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CAAC,SAAS;IAoDjB,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,mBAAmB;IA6B3B,OAAO,CAAC,oBAAoB;IA8B5B,OAAO,CAAC,kBAAkB;IAmB1B,OAAO,CAAC,cAAc;CAcvB;AAkhBD,eAAO,MAAM,2BAA2B,gDAgBvC,CAAC"}
@@ -12,6 +12,9 @@ export declare function formatEscapedText(text: string): string;
12
12
  export declare function formatStrikethrough(text: string): string;
13
13
  export declare function formatBold(text: string): string;
14
14
  export declare function formatItalic(text: string): string;
15
+ export declare function wrapToWidth(text: string, availableWidth: number): string;
16
+ export declare function getTerminalWidth(): number;
17
+ export declare function padLines(text: string, spaces: number): string;
15
18
  export declare function formatInlineCode(text: string): string;
16
19
  export declare function formatHeadings(text: string): string;
17
20
  export declare function formatBlockquotes(text: string): string;
@@ -1 +1 @@
1
- {"version":3,"file":"markdown-formatter.d.ts","sourceRoot":"","sources":["../../../src/cli/presentation/markdown-formatter.ts"],"names":[],"mappings":"AAqDA,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;CACjC;AAKD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;CAChC;AAKD,eAAO,MAAM,uBAAuB,EAAE,cAAyC,CAAC;AAKhF,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEnD;AAKD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAExD;AAKD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEtD;AAKD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIxD;AAKD,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,C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AAI,EAAE,MAAM,GAAG,MAAM,CAK9D;AAMD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAItD;AAKD,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAetE;AAKD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAqDzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"ActivityView.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/ActivityView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAkEtD,eAAO,MAAM,YAAY;cAGb,aAAa;EA0GvB,CAAC"}
1
+ {"version":3,"file":"ActivityView.d.ts","sourceRoot":"","sources":["../../../src/cli/ui/ActivityView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAmEtD,eAAO,MAAM,YAAY;cAGb,aAAa;EA4EvB,CAAC"}