@zhushanwen/zcode-subagent-cli 0.8.0 → 0.8.2
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-REEFBX67.js → chunk-Z6IPBSKG.js} +550 -48
- package/dist/index.cjs +550 -48
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +1 -1
- package/dist/main.cjs +550 -48
- package/dist/main.js +1 -1
- package/package.json +4 -1
package/dist/index.d.cts
CHANGED
|
@@ -243,6 +243,15 @@ declare class ZcodeEngine implements EnginePort {
|
|
|
243
243
|
id: string;
|
|
244
244
|
name?: string;
|
|
245
245
|
}>;
|
|
246
|
+
/**
|
|
247
|
+
* [engine-ref-translation D1] 派发期模型 ref 翻译(EnginePort 可选成员实装):
|
|
248
|
+
* pi 词汇 ref → zcode 原生 ref(zai-coding-cn/* → account:bigmodel-individual-*
|
|
249
|
+
* 大小写归一,2026-10-16 用户裁决(证据驱动修正目标家族)),其余透传。编排层在 record stamp 前调用——
|
|
250
|
+
* record/上报面呈现实际发给引擎的 ref;翻译失败抛错 = 显式失败(不静默回落)。
|
|
251
|
+
* 幂等:翻译产物(account:/个人 id)再入恒等,引擎内 resolveZcodeModelRef 的
|
|
252
|
+
* 同名翻译分支零冲突。
|
|
253
|
+
*/
|
|
254
|
+
translateModelRef(modelRef: string): string;
|
|
246
255
|
/** 模型 reasoning 值域缓存(目录 modelRules 值域;per-modelRef 记忆化——
|
|
247
256
|
* 目录文件在引擎进程生命周期内视为静态,重复 run 不重读)。 */
|
|
248
257
|
private reasoningMemo;
|
|
@@ -295,6 +304,10 @@ declare class ZcodeEngine implements EnginePort {
|
|
|
295
304
|
* COMMON_THOUGHT_LEVELS 之外的档位出声一行提示(措辞是「若不支持将被忽略/回落」的
|
|
296
305
|
* 或然警告,非无效断言);是否真不支持由目标模型决定,core 不做权威校验(引擎层
|
|
297
306
|
* 不掌握各模型值域)。
|
|
307
|
+
*
|
|
308
|
+
* [2026-10-14 措辞同步] thoughtLevel 下发值已改为「按目录值域解析后的档位」
|
|
309
|
+
* (reasoning 唯一生效通道,见 buildAppServerCreateParams 头注):有值域时
|
|
310
|
+
* off/minimal 归一最小档、非命中档取非最小档末值;无值域时维持恒等透传。
|
|
298
311
|
*/
|
|
299
312
|
private warnThoughtLevelUncommon;
|
|
300
313
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -243,6 +243,15 @@ declare class ZcodeEngine implements EnginePort {
|
|
|
243
243
|
id: string;
|
|
244
244
|
name?: string;
|
|
245
245
|
}>;
|
|
246
|
+
/**
|
|
247
|
+
* [engine-ref-translation D1] 派发期模型 ref 翻译(EnginePort 可选成员实装):
|
|
248
|
+
* pi 词汇 ref → zcode 原生 ref(zai-coding-cn/* → account:bigmodel-individual-*
|
|
249
|
+
* 大小写归一,2026-10-16 用户裁决(证据驱动修正目标家族)),其余透传。编排层在 record stamp 前调用——
|
|
250
|
+
* record/上报面呈现实际发给引擎的 ref;翻译失败抛错 = 显式失败(不静默回落)。
|
|
251
|
+
* 幂等:翻译产物(account:/个人 id)再入恒等,引擎内 resolveZcodeModelRef 的
|
|
252
|
+
* 同名翻译分支零冲突。
|
|
253
|
+
*/
|
|
254
|
+
translateModelRef(modelRef: string): string;
|
|
246
255
|
/** 模型 reasoning 值域缓存(目录 modelRules 值域;per-modelRef 记忆化——
|
|
247
256
|
* 目录文件在引擎进程生命周期内视为静态,重复 run 不重读)。 */
|
|
248
257
|
private reasoningMemo;
|
|
@@ -295,6 +304,10 @@ declare class ZcodeEngine implements EnginePort {
|
|
|
295
304
|
* COMMON_THOUGHT_LEVELS 之外的档位出声一行提示(措辞是「若不支持将被忽略/回落」的
|
|
296
305
|
* 或然警告,非无效断言);是否真不支持由目标模型决定,core 不做权威校验(引擎层
|
|
297
306
|
* 不掌握各模型值域)。
|
|
307
|
+
*
|
|
308
|
+
* [2026-10-14 措辞同步] thoughtLevel 下发值已改为「按目录值域解析后的档位」
|
|
309
|
+
* (reasoning 唯一生效通道,见 buildAppServerCreateParams 头注):有值域时
|
|
310
|
+
* off/minimal 归一最小档、非命中档取非最小档末值;无值域时维持恒等透传。
|
|
298
311
|
*/
|
|
299
312
|
private warnThoughtLevelUncommon;
|
|
300
313
|
/**
|