@strongflc/scode 0.1.31 → 0.1.33
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 +9 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -77,7 +77,13 @@ bun link && bun link s-code
|
|
|
77
77
|
"SCODE_MODEL_ROUTING": "fixed",
|
|
78
78
|
"SCODE_FAST_MODEL": "deepseek-v4-turbo",
|
|
79
79
|
"SCODE_MEDIUM_MODEL": "deepseek-v4-pro",
|
|
80
|
-
"SCODE_HEAVY_MODEL": "deepseek-v4-max"
|
|
80
|
+
"SCODE_HEAVY_MODEL": "deepseek-v4-max",
|
|
81
|
+
|
|
82
|
+
// 模型上下文窗口(token)。不配时按模型名推断,认不出走 128k 保守默认值;
|
|
83
|
+
// 自动压缩阈值 = 该值 × 75%。中转端点的模型名被改得认不出时建议显式配置。
|
|
84
|
+
"SCODE_CONTEXT_WINDOW": "200000",
|
|
85
|
+
// MCP 工具暴露方式:工具多时只发两个元工具,避免第三方 schema 撑爆工具区
|
|
86
|
+
"SCODE_MCP_TOOL_MODE": "auto"
|
|
81
87
|
},
|
|
82
88
|
|
|
83
89
|
// ═══════════════════════════════════════════════════════════════════
|
|
@@ -177,6 +183,8 @@ bun link && bun link s-code
|
|
|
177
183
|
| `SCODE_FAST_MODEL` | 轻量任务模型 | — |
|
|
178
184
|
| `SCODE_MEDIUM_MODEL` | 中量任务模型 | — |
|
|
179
185
|
| `SCODE_HEAVY_MODEL` | 重量任务模型 | — |
|
|
186
|
+
| `SCODE_CONTEXT_WINDOW` | 模型上下文窗口(token),决定自动压缩阈值(× 75%) | 正整数,默认按模型名推断 |
|
|
187
|
+
| `SCODE_MCP_TOOL_MODE` | MCP 工具暴露方式 | `"auto"`(默认,>12 个工具自动懒加载) / `"direct"` / `"lazy"` |
|
|
180
188
|
|
|
181
189
|
验证:`scode config`
|
|
182
190
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strongflc/scode",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33",
|
|
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.33",
|
|
37
|
+
"@strongflc/scode-darwin-x64": "0.1.33",
|
|
38
|
+
"@strongflc/scode-win32-x64": "0.1.33",
|
|
39
|
+
"@strongflc/scode-linux-x64": "0.1.33"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"dev": "bun run src/cli/index.ts",
|