cowork-flow 2.8.0 → 2.8.1

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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@
4
4
 
5
5
  ### Added
6
6
 
7
+ ## [2.8.1] - 2026-11-23
8
+
9
+ ### Fixed
10
+
11
+ - **ZCode 插件清单不再声明 hooks 键**:ZCode 加载器先按约定路径自动发现 `hooks/hooks.json`,再读清单 `hooks` 字段,同一文件被收集两次即报 "Duplicate plugin hooks file ignored"。清单键删除后由约定发现兜底,三条 hook 事件照常注册;qoder 无约定发现,其清单字段是 hooks 唯一入口,保持不变。`presets/zcode/.zcode-plugin/plugin.json` 快照随投影重新生成,两组测试锁定新行为并经变异自检验证守卫可失败。
12
+
7
13
  ## [2.8.0] - 2026-11-23
8
14
 
9
15
  ### Added
@@ -560,6 +566,7 @@
560
566
  此版本未保留本地条目正文,详情见 [GitHub Release](https://github.com/fishlikewater/cowork-flow/releases/tag/v0.0.47)。
561
567
 
562
568
  [Unreleased]: https://github.com/fishlikewater/cowork-flow/compare/v2.8.0...HEAD
569
+ [2.8.1]: https://github.com/fishlikewater/cowork-flow/compare/v2.8.0...v2.8.1
563
570
  [2.8.0]: https://github.com/fishlikewater/cowork-flow/compare/v2.7.5...v2.8.0
564
571
  [2.7.5]: https://github.com/fishlikewater/cowork-flow/compare/v2.7.4...v2.7.5
565
572
  [2.7.4]: https://github.com/fishlikewater/cowork-flow/compare/v2.7.3...v2.7.4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "CLI for installing and maintaining cowork-flow collaboration templates.",
5
5
  "keywords": [
6
6
  "ai-agent",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "AI 协作工作流引擎:任务生命周期、子代理调度、门禁与状态注入。将 cowork-flow 的完整工作流带入 Claude Code。",
5
5
  "displayName": "Cowork Flow",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "AI 协作工作流引擎:任务生命周期、子代理调度、门禁与状态注入。将 cowork-flow 的完整工作流带入 Codex。",
5
5
  "author": {
6
6
  "name": "fishlikewater",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "AI 协作工作流引擎:任务生命周期、子代理调度、门禁与状态注入。将 cowork-flow 的完整工作流带入 Kimi Code。",
5
5
  "author": {
6
6
  "name": "fishlikewater",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "AI 协作工作流引擎:任务生命周期、子代理调度、门禁与状态注入。将 cowork-flow 的完整工作流带入 Qoder。",
5
5
  "displayName": "Cowork Flow",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cowork-flow",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "AI 协作工作流引擎:任务生命周期、子代理调度、门禁与状态注入。将 cowork-flow 的完整工作流带入 ZCode。",
5
5
  "author": {
6
6
  "name": "fishlikewater",
@@ -8,7 +8,6 @@
8
8
  },
9
9
  "homepage": "https://github.com/fishlikewater/cowork-flow",
10
10
  "license": "MIT",
11
- "hooks": "hooks/hooks.json",
12
11
  "agents": "agents",
13
12
  "skills": "skills"
14
13
  }
@@ -76,7 +76,12 @@ function codexManifest(metadata, base) {
76
76
  // zcode maps author/authorUrl/homepage/version from the
77
77
  // manifest; its display name comes from the marketplace
78
78
  // listing, so none is declared here, and keywords is not
79
- // part of the schema either.
79
+ // part of the schema either. hooks/hooks.json stays undeclared
80
+ // on purpose: the loader auto-discovers that conventional path,
81
+ // and a manifest declaration of the same file gets collected a
82
+ // second time — the plugin page then reports "Duplicate plugin
83
+ // hooks file ignored". qoder has no conventional discovery, so
84
+ // its manifest declaration is the only hook route and must stay.
80
85
  function zcodeManifest(metadata, base) {
81
86
  const author = metadata.author;
82
87
  return {
@@ -84,7 +89,6 @@ function zcodeManifest(metadata, base) {
84
89
  author: { name: author.name, url: author.url },
85
90
  homepage: metadata.homepage,
86
91
  license: metadata.license,
87
- hooks: 'hooks/hooks.json',
88
92
  agents: 'agents',
89
93
  skills: 'skills'
90
94
  };
@@ -1 +1 @@
1
- 2.8.0
1
+ 2.8.1