dsh-plugin-agentflow 0.2.2 → 0.2.3

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/README.md CHANGED
@@ -125,6 +125,17 @@ npm test # 插件自测(83 项)
125
125
 
126
126
  引擎侧测试在 `~/.dsh/agent-flow/test`(85 项)。
127
127
 
128
+ ## 发布
129
+
130
+ 发布由 **GitHub Release 触发**,不在本地手动 `npm publish`:
131
+
132
+ 1. 升 `package.json`(和 `package-lock.json`)的版本号
133
+ 2. 打 tag 并创建 Release:`gh release create v0.2.3 --title "v0.2.3" --notes-file notes.md`
134
+ 3. Release 发布后 [`.github/workflows/publish.yml`](.github/workflows/publish.yml) 自动执行:
135
+ `npm ci` → 语法检查 → 自测 → 构建客户端 → 校验提交的 `lib/client.js` 与源码构建一致 → 校验 tag 与 `package.json` 版本一致 → `npm publish --provenance`
136
+
137
+ 需要仓库 secret `NPM_TOKEN`:npm granular token,权限选 `Read and write (publish and stage)`,并勾选 `Bypass two-factor authentication`。
138
+
128
139
  ## License
129
140
 
130
141
  [MIT](./LICENSE)
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,31 @@
1
1
  {
2
2
  "name": "dsh-plugin-agentflow",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "DeepSeek Harness tool plugin: run AgentFlow (material-canvas agent orchestrator) boards from the model",
5
+ "keywords": [
6
+ "dsh",
7
+ "dsh-plugin",
8
+ "deepseek-harness",
9
+ "deepseek",
10
+ "cordis",
11
+ "cordis-plugin",
12
+ "agentflow",
13
+ "agent-orchestration",
14
+ "workflow",
15
+ "dag",
16
+ "canvas",
17
+ "ai-agent",
18
+ "llm-tools",
19
+ "agent-tools"
20
+ ],
21
+ "author": "CC ZHAO",
22
+ "license": "MIT",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/CC19990113/dsh-plugin-agentflow.git"
26
+ },
27
+ "homepage": "https://github.com/CC19990113/dsh-plugin-agentflow#readme",
28
+ "bugs": "https://github.com/CC19990113/dsh-plugin-agentflow/issues",
5
29
  "main": "index.js",
6
30
  "scripts": {
7
31
  "check": "node --check index.js && node --check lib/bridge.js && node --check scripts/sync-runtime.mjs",
@@ -9,21 +33,24 @@
9
33
  "build": "node scripts/build-client.mjs",
10
34
  "sync": "node scripts/sync-runtime.mjs"
11
35
  },
12
- "author": "",
13
- "license": "MIT",
36
+ "type": "module",
14
37
  "dependencies": {
15
38
  "@deepseek-ai/cordis": "^4.0.5",
16
39
  "@deepseek-ai/dsh-tools": "^0.2.1-rc.2"
17
40
  },
18
- "type": "module",
19
41
  "files": [
20
42
  "index.js",
21
43
  "lib/**/*.js",
22
44
  "runtime/**",
23
45
  "cordis.patch.yml",
24
46
  "scripts/**/*.mjs",
47
+ "docs/images/*.png",
25
48
  "README.md"
26
49
  ],
50
+ "publishConfig": {
51
+ "access": "public",
52
+ "provenance": true
53
+ },
27
54
  "dsh": {
28
55
  "bundle": {
29
56
  "patch": "./cordis.patch.yml"