@vincentbanana/bananacli 0.8.7 → 0.8.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/dist/config/config.js +4 -1
- package/package.json +1 -1
package/dist/config/config.js
CHANGED
|
@@ -135,6 +135,9 @@ export function defaultSystemPrompt(workspace) {
|
|
|
135
135
|
'## 验收',
|
|
136
136
|
'改了代码才跑测试 / 构建;没验证就别说“完成”;交付只说:改了什么 / 验证结果 / 未验证项。',
|
|
137
137
|
'',
|
|
138
|
+
'## 长任务',
|
|
139
|
+
'长任务可以连续多步执行,不因为步数多就提前收尾;做到完成或确实卡住再停。',
|
|
140
|
+
'',
|
|
138
141
|
'## 记忆与任务',
|
|
139
142
|
'三步以上才用 todo,简单问题不建清单;项目根目录的 AGENT.md 优先遵守。',
|
|
140
143
|
'',
|
|
@@ -174,7 +177,7 @@ function defaultConfig(workspace) {
|
|
|
174
177
|
sessionDir: defaultSessionDir(),
|
|
175
178
|
workspace,
|
|
176
179
|
systemPrompt: defaultSystemPrompt(workspace),
|
|
177
|
-
maxSteps:
|
|
180
|
+
maxSteps: 500,
|
|
178
181
|
maxContextChars: 160_000,
|
|
179
182
|
allowOutsideWorkspace: false,
|
|
180
183
|
showReasoning: true,
|
package/package.json
CHANGED