@zhuan-ai/zhuanspec 2.17.11 → 2.17.13
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/core/init.js
CHANGED
|
@@ -1582,17 +1582,9 @@ export class InitCommand {
|
|
|
1582
1582
|
},
|
|
1583
1583
|
],
|
|
1584
1584
|
},
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
{
|
|
1589
|
-
type: 'command',
|
|
1590
|
-
command: 'zhuanspec-hook knowledge-references --json',
|
|
1591
|
-
statusMessage: '📖 Recording knowledge references...',
|
|
1592
|
-
async: true,
|
|
1593
|
-
},
|
|
1594
|
-
],
|
|
1595
|
-
},
|
|
1585
|
+
// knowledge-references hook 已下线:知识检索落盘改由 knowledge-agent-action
|
|
1586
|
+
// skill(search_knowledge.py / search_knowledge_no_code.py)在检索成功后直接完成,
|
|
1587
|
+
// 不再依赖 progress.json 的 phase 时序,避免重复记录。
|
|
1596
1588
|
],
|
|
1597
1589
|
Stop: [
|
|
1598
1590
|
{
|
|
@@ -65,12 +65,8 @@ const CODEX_DEFAULT_HOOKS = [
|
|
|
65
65
|
matcher: 'Read|Grep|Glob|Bash',
|
|
66
66
|
command: 'ZHUANSPEC_HOST=codex zhuanspec-hook knowledge-usage --json',
|
|
67
67
|
},
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
matcher: 'Skill|Read|Grep|Glob|Bash|Agent|TaskOutput|mcp__.*',
|
|
71
|
-
command: 'ZHUANSPEC_HOST=codex zhuanspec-hook knowledge-references --json',
|
|
72
|
-
statusMessage: '📖 Recording knowledge references...',
|
|
73
|
-
},
|
|
68
|
+
// knowledge-references hook 已下线:知识检索落盘改由 knowledge-agent-action
|
|
69
|
+
// skill 在检索成功后直接完成,避免重复记录。
|
|
74
70
|
{
|
|
75
71
|
event: 'Stop',
|
|
76
72
|
command: 'ZHUANSPEC_HOST=codex zhuanspec-hook summarize --json',
|