@strongflc/scode 0.1.33 → 0.1.35
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 +7 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -83,7 +83,11 @@ bun link && bun link s-code
|
|
|
83
83
|
// 自动压缩阈值 = 该值 × 75%。中转端点的模型名被改得认不出时建议显式配置。
|
|
84
84
|
"SCODE_CONTEXT_WINDOW": "200000",
|
|
85
85
|
// MCP 工具暴露方式:工具多时只发两个元工具,避免第三方 schema 撑爆工具区
|
|
86
|
-
"SCODE_MCP_TOOL_MODE": "auto"
|
|
86
|
+
"SCODE_MCP_TOOL_MODE": "auto",
|
|
87
|
+
// 单次任务的工具往返上限(默认 80)。大型单体仓库的调研类任务可以调高
|
|
88
|
+
"SCODE_MAX_TOOL_ITERATIONS": "120",
|
|
89
|
+
// 单次任务累计计费 token 上限(默认 1000000,不含缓存命中部分)
|
|
90
|
+
"SCODE_TASK_TOKEN_BUDGET": "2000000"
|
|
87
91
|
},
|
|
88
92
|
|
|
89
93
|
// ═══════════════════════════════════════════════════════════════════
|
|
@@ -185,6 +189,8 @@ bun link && bun link s-code
|
|
|
185
189
|
| `SCODE_HEAVY_MODEL` | 重量任务模型 | — |
|
|
186
190
|
| `SCODE_CONTEXT_WINDOW` | 模型上下文窗口(token),决定自动压缩阈值(× 75%) | 正整数,默认按模型名推断 |
|
|
187
191
|
| `SCODE_MCP_TOOL_MODE` | MCP 工具暴露方式 | `"auto"`(默认,>12 个工具自动懒加载) / `"direct"` / `"lazy"` |
|
|
192
|
+
| `SCODE_MAX_TOOL_ITERATIONS` | 单次任务工具往返上限 | 正整数,默认 80 |
|
|
193
|
+
| `SCODE_TASK_TOKEN_BUDGET` | 单次任务计费 token 上限(不含缓存命中) | 正整数,默认 1000000 |
|
|
188
194
|
|
|
189
195
|
验证:`scode config`
|
|
190
196
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strongflc/scode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.35",
|
|
4
4
|
"description": "本地化终端 AI 编程 Agent(s-code)—— 独立、架构透明同类替代品",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"LICENSE"
|
|
34
34
|
],
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@strongflc/scode-darwin-arm64": "0.1.
|
|
37
|
-
"@strongflc/scode-darwin-x64": "0.1.
|
|
38
|
-
"@strongflc/scode-win32-x64": "0.1.
|
|
39
|
-
"@strongflc/scode-linux-x64": "0.1.
|
|
36
|
+
"@strongflc/scode-darwin-arm64": "0.1.35",
|
|
37
|
+
"@strongflc/scode-darwin-x64": "0.1.35",
|
|
38
|
+
"@strongflc/scode-win32-x64": "0.1.35",
|
|
39
|
+
"@strongflc/scode-linux-x64": "0.1.35"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"dev": "bun run src/cli/index.ts",
|