@vincentbanana/bananacli 0.8.7 → 0.8.9

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.en.md CHANGED
@@ -36,7 +36,7 @@ A multi-provider AI agent for the terminal, with a local GUI. It can read and wr
36
36
  | |_) | (_| | | | | (_| | |_) | (_| | | | |
37
37
  |____/ \__,_|_| |_|\__,_|_.__/ \__,_|_| |_|
38
38
 
39
- BananaCLI v0.8.7 · terminal + GUI
39
+ BananaCLI v0.8.8 · terminal + GUI
40
40
  ```
41
41
 
42
42
  - **No frontend framework**: the CLI uses Node built-ins only; runtime dependencies are `ws` and `@lydell/node-pty` (prebuilt native module).
package/README.md CHANGED
@@ -34,7 +34,7 @@
34
34
  | |_) | (_| | | | | (_| | |_) | (_| | | | |
35
35
  |____/ \__,_|_| |_|\__,_|_.__/ \__,_|_| |_|
36
36
 
37
- BananaCLI v0.8.7 · 终端 + 图形界面
37
+ BananaCLI v0.8.8 · 终端 + 图形界面
38
38
  ```
39
39
 
40
40
  - **无前端框架依赖**:CLI 只用 Node 内置模块;运行时依赖 `ws`(GUI/终端 WebSocket)和 `@lydell/node-pty`(预编译原生模块)。
@@ -135,11 +135,14 @@ export function defaultSystemPrompt(workspace) {
135
135
  '## 验收',
136
136
  '改了代码才跑测试 / 构建;没验证就别说“完成”;交付只说:改了什么 / 验证结果 / 未验证项。',
137
137
  '',
138
+ '## 长任务',
139
+ '长任务可以连续多步执行,不因为步数多就提前收尾;做到完成或确实卡住再停。',
140
+ '',
138
141
  '## 记忆与任务',
139
142
  '三步以上才用 todo,简单问题不建清单;项目根目录的 AGENT.md 优先遵守。',
140
143
  '',
141
144
  '## 沟通',
142
- '先给结论,再补必要解释,不复述每一步;',
145
+ '用用户提问的语言回答;先给结论,再补必要解释,不复述每一步;',
143
146
  `做 UI 先读 ${designRoot}/principles.md 与 tokens.md,交付前调用 ui_audit。`,
144
147
  ...(process.env['BANANA_PROMPT_SUFFIX']?.trim()
145
148
  ? [`\n## 实验提示词\n${process.env['BANANA_PROMPT_SUFFIX'].trim()}`]
@@ -174,7 +177,7 @@ function defaultConfig(workspace) {
174
177
  sessionDir: defaultSessionDir(),
175
178
  workspace,
176
179
  systemPrompt: defaultSystemPrompt(workspace),
177
- maxSteps: 24,
180
+ maxSteps: 500,
178
181
  maxContextChars: 160_000,
179
182
  allowOutsideWorkspace: false,
180
183
  showReasoning: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
- {
1
+ {
2
2
  "name": "@vincentbanana/bananacli",
3
- "version": "0.8.7",
3
+ "version": "0.8.9",
4
4
  "description": "A multi-provider AI agent for your terminal: file tools, shell, web search, persistent sessions, diff preview and undo",
5
5
  "type": "module",
6
6
  "engines": {