@zhushanwen/zcode-subagent-cli 0.6.0 → 0.8.0
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/{chunk-PWNJ5JYZ.js → chunk-REEFBX67.js} +453 -90
- package/dist/index.cjs +493 -130
- package/dist/index.d.cts +17 -4
- package/dist/index.d.ts +17 -4
- package/dist/index.js +1 -1
- package/dist/main.cjs +496 -133
- package/dist/main.js +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -64,7 +64,11 @@ declare class EngineProtocolServer {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
interface ZcodeSourcePaths {
|
|
67
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* 个人 provider 注册表源(app-server 注册表对齐)——显式定型,直读指定路径
|
|
69
|
+
* (绕过副本 merge 视图与回落)。缺省走 readPersonalProviderView 的默认读链
|
|
70
|
+
* (副本存在 → merge 视图;缺失 → 回落真实文件)。
|
|
71
|
+
*/
|
|
68
72
|
personalProviderConfigPath?: string;
|
|
69
73
|
/** launcher 凭据注入的 v2 config 源(ZCODE_ENG_V2_CONFIG 消费——凭据供数面,与模型校验源无关)。缺省 ~/.zcode/v2/config.json。 */
|
|
70
74
|
v2ConfigPath?: string;
|
|
@@ -239,10 +243,19 @@ declare class ZcodeEngine implements EnginePort {
|
|
|
239
243
|
id: string;
|
|
240
244
|
name?: string;
|
|
241
245
|
}>;
|
|
242
|
-
/**
|
|
246
|
+
/** 模型 reasoning 值域缓存(目录 modelRules 值域;per-modelRef 记忆化——
|
|
243
247
|
* 目录文件在引擎进程生命周期内视为静态,重复 run 不重读)。 */
|
|
244
|
-
private
|
|
245
|
-
|
|
248
|
+
private reasoningMemo;
|
|
249
|
+
/**
|
|
250
|
+
* create 帧模型 reasoning 档择选(目录值域域内择档;2026-10-13 探针实测驱动):
|
|
251
|
+
* - 无 thinkingLevel:目录值域首值(最小档,现状保形——轻推理默认);
|
|
252
|
+
* - off 族(off/minimal,显式禁思考/最省):恒值域首值(最小档)——绝不落
|
|
253
|
+
* 非最小档末值回退(那是「请求思考」档位的回退,off 族落之即意图反转);
|
|
254
|
+
* - 其余 thinkingLevel:精确命中值域 → 用之;值域无精确名 → 取非最小档末值
|
|
255
|
+
* (请求了思考 = reasoning 开;plan 网关对部分模型拒收 disabled——目录域含
|
|
256
|
+
* disabled 但服务端只认非最小档,域与接受面漂移时显式意图走非最小档)。
|
|
257
|
+
*/
|
|
258
|
+
private reasoningLevelFor;
|
|
246
259
|
/**
|
|
247
260
|
* [u-h2 D2-2] 派发同步期 model 校验:委托 resolveZcodeModelRef(与 run prepare 期
|
|
248
261
|
* 显式路径同一函数——canonicalRef 归一化、短名缺省 provider、凭据与清单校验单一
|
package/dist/index.d.ts
CHANGED
|
@@ -64,7 +64,11 @@ declare class EngineProtocolServer {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
interface ZcodeSourcePaths {
|
|
67
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* 个人 provider 注册表源(app-server 注册表对齐)——显式定型,直读指定路径
|
|
69
|
+
* (绕过副本 merge 视图与回落)。缺省走 readPersonalProviderView 的默认读链
|
|
70
|
+
* (副本存在 → merge 视图;缺失 → 回落真实文件)。
|
|
71
|
+
*/
|
|
68
72
|
personalProviderConfigPath?: string;
|
|
69
73
|
/** launcher 凭据注入的 v2 config 源(ZCODE_ENG_V2_CONFIG 消费——凭据供数面,与模型校验源无关)。缺省 ~/.zcode/v2/config.json。 */
|
|
70
74
|
v2ConfigPath?: string;
|
|
@@ -239,10 +243,19 @@ declare class ZcodeEngine implements EnginePort {
|
|
|
239
243
|
id: string;
|
|
240
244
|
name?: string;
|
|
241
245
|
}>;
|
|
242
|
-
/**
|
|
246
|
+
/** 模型 reasoning 值域缓存(目录 modelRules 值域;per-modelRef 记忆化——
|
|
243
247
|
* 目录文件在引擎进程生命周期内视为静态,重复 run 不重读)。 */
|
|
244
|
-
private
|
|
245
|
-
|
|
248
|
+
private reasoningMemo;
|
|
249
|
+
/**
|
|
250
|
+
* create 帧模型 reasoning 档择选(目录值域域内择档;2026-10-13 探针实测驱动):
|
|
251
|
+
* - 无 thinkingLevel:目录值域首值(最小档,现状保形——轻推理默认);
|
|
252
|
+
* - off 族(off/minimal,显式禁思考/最省):恒值域首值(最小档)——绝不落
|
|
253
|
+
* 非最小档末值回退(那是「请求思考」档位的回退,off 族落之即意图反转);
|
|
254
|
+
* - 其余 thinkingLevel:精确命中值域 → 用之;值域无精确名 → 取非最小档末值
|
|
255
|
+
* (请求了思考 = reasoning 开;plan 网关对部分模型拒收 disabled——目录域含
|
|
256
|
+
* disabled 但服务端只认非最小档,域与接受面漂移时显式意图走非最小档)。
|
|
257
|
+
*/
|
|
258
|
+
private reasoningLevelFor;
|
|
246
259
|
/**
|
|
247
260
|
* [u-h2 D2-2] 派发同步期 model 校验:委托 resolveZcodeModelRef(与 run prepare 期
|
|
248
261
|
* 显式路径同一函数——canonicalRef 归一化、短名缺省 provider、凭据与清单校验单一
|