@hcmai/sdk 0.11.1 → 0.13.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/index.d.ts +10 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2576,6 +2576,16 @@ interface ChironSkill {
|
|
|
2576
2576
|
stages: string[];
|
|
2577
2577
|
/** 安装本技能前必须同时安装的其他 Chiron 技能 id;旧服务端缺省时视为空。 */
|
|
2578
2578
|
requires?: string[];
|
|
2579
|
+
/**
|
|
2580
|
+
* 这份技能改名前用过的 id(产品声明)。
|
|
2581
|
+
*
|
|
2582
|
+
* 🔴 光改目录名,每个存量项目仓会留下三样东西:孤儿目录、锁文件里的旧条目、
|
|
2583
|
+
* `AGENTS.md` 索引里指向旧文件的那一行 —— agent 于是同时读到同一份知识的新旧两份,
|
|
2584
|
+
* 而旧那份**再也不会更新**(`recordInstalled` 是合并写,不清理)。`sync` 靠这个键迁移。
|
|
2585
|
+
*
|
|
2586
|
+
* 旧服务端不带这个键:那种环境上改名本来也不会发生(技能来自同一个 jar)。
|
|
2587
|
+
*/
|
|
2588
|
+
renamedFrom?: string[];
|
|
2579
2589
|
bytes: number;
|
|
2580
2590
|
/** 新服务端提供完整 Skill 目录;旧服务端缺省时只消费 SKILL.md。 */
|
|
2581
2591
|
files?: ChironSkillFile[];
|