@abelxiaoxing/cadence 1.8.3 → 2.0.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.
Files changed (208) hide show
  1. package/README.md +324 -111
  2. package/THIRD_PARTY_NOTICES.md +15 -0
  3. package/agents/design-explorer.md +14 -26
  4. package/agents/diagnosis-worker.md +14 -25
  5. package/agents/implementation-worker.md +16 -35
  6. package/config/.env.example +2 -5
  7. package/config/workflow-task.example.json +7 -0
  8. package/docs/remote-access.md +60 -0
  9. package/docs/reuse-and-distribution.md +44 -0
  10. package/docs/service-management.md +108 -0
  11. package/licenses/bundled-web.txt +6245 -0
  12. package/licenses/pi-web-ui-MIT.txt +21 -0
  13. package/licenses/pi-web-ui-reuse.md +22 -0
  14. package/package.json +94 -21
  15. package/src/index.ts +22 -1807
  16. package/src/native-build.ts +6 -0
  17. package/src/native-client.ts +103 -0
  18. package/src/native-export.ts +58 -0
  19. package/src/native-history.ts +359 -0
  20. package/src/operator-cli.mjs +453 -1937
  21. package/src/plan-proposal.ts +87 -0
  22. package/src/sdk-worker.mjs +549 -0
  23. package/src/service/contracts/active.ts +82 -0
  24. package/src/service/contracts/budget.ts +148 -0
  25. package/src/service/contracts/build.ts +67 -0
  26. package/src/service/contracts/capture.ts +48 -0
  27. package/src/service/contracts/core.ts +33 -0
  28. package/src/service/contracts/current.ts +261 -0
  29. package/src/service/contracts/domain.ts +68 -0
  30. package/src/service/contracts/history.ts +2245 -0
  31. package/src/service/contracts/models.ts +139 -0
  32. package/src/service/coordination.ts +862 -0
  33. package/src/service/private-files.ts +204 -0
  34. package/src/service-cli.mjs +5592 -0
  35. package/src/service-client.ts +747 -0
  36. package/src/service-contract.ts +245 -0
  37. package/src/service-host.mjs +22382 -0
  38. package/src/service-http-client.ts +425 -0
  39. package/src/service-wire.ts +372 -0
  40. package/src/task-shell.ts +1045 -0
  41. package/src/task-store.ts +479 -0
  42. package/src/task-types.ts +184 -0
  43. package/src/verification-diagnostics.ts +29 -72
  44. package/src/worker-capture.mjs +1197 -0
  45. package/src/worker-public.mjs +1753 -0
  46. package/src/worker-redaction.mjs +608 -0
  47. package/src/worker-tools.mjs +202 -0
  48. package/web/dist/assets/KaTeX_AMS-Regular.ttf +0 -0
  49. package/web/dist/assets/KaTeX_AMS-Regular.woff +0 -0
  50. package/web/dist/assets/KaTeX_AMS-Regular.woff2 +0 -0
  51. package/web/dist/assets/KaTeX_Caligraphic-Bold.ttf +0 -0
  52. package/web/dist/assets/KaTeX_Caligraphic-Bold.woff +0 -0
  53. package/web/dist/assets/KaTeX_Caligraphic-Bold.woff2 +0 -0
  54. package/web/dist/assets/KaTeX_Caligraphic-Regular.ttf +0 -0
  55. package/web/dist/assets/KaTeX_Caligraphic-Regular.woff +0 -0
  56. package/web/dist/assets/KaTeX_Caligraphic-Regular.woff2 +0 -0
  57. package/web/dist/assets/KaTeX_Fraktur-Bold.ttf +0 -0
  58. package/web/dist/assets/KaTeX_Fraktur-Bold.woff +0 -0
  59. package/web/dist/assets/KaTeX_Fraktur-Bold.woff2 +0 -0
  60. package/web/dist/assets/KaTeX_Fraktur-Regular.ttf +0 -0
  61. package/web/dist/assets/KaTeX_Fraktur-Regular.woff +0 -0
  62. package/web/dist/assets/KaTeX_Fraktur-Regular.woff2 +0 -0
  63. package/web/dist/assets/KaTeX_Main-Bold.ttf +0 -0
  64. package/web/dist/assets/KaTeX_Main-Bold.woff +0 -0
  65. package/web/dist/assets/KaTeX_Main-Bold.woff2 +0 -0
  66. package/web/dist/assets/KaTeX_Main-BoldItalic.ttf +0 -0
  67. package/web/dist/assets/KaTeX_Main-BoldItalic.woff +0 -0
  68. package/web/dist/assets/KaTeX_Main-BoldItalic.woff2 +0 -0
  69. package/web/dist/assets/KaTeX_Main-Italic.ttf +0 -0
  70. package/web/dist/assets/KaTeX_Main-Italic.woff +0 -0
  71. package/web/dist/assets/KaTeX_Main-Italic.woff2 +0 -0
  72. package/web/dist/assets/KaTeX_Main-Regular.ttf +0 -0
  73. package/web/dist/assets/KaTeX_Main-Regular.woff +0 -0
  74. package/web/dist/assets/KaTeX_Main-Regular.woff2 +0 -0
  75. package/web/dist/assets/KaTeX_Math-BoldItalic.ttf +0 -0
  76. package/web/dist/assets/KaTeX_Math-BoldItalic.woff +0 -0
  77. package/web/dist/assets/KaTeX_Math-BoldItalic.woff2 +0 -0
  78. package/web/dist/assets/KaTeX_Math-Italic.ttf +0 -0
  79. package/web/dist/assets/KaTeX_Math-Italic.woff +0 -0
  80. package/web/dist/assets/KaTeX_Math-Italic.woff2 +0 -0
  81. package/web/dist/assets/KaTeX_SansSerif-Bold.ttf +0 -0
  82. package/web/dist/assets/KaTeX_SansSerif-Bold.woff +0 -0
  83. package/web/dist/assets/KaTeX_SansSerif-Bold.woff2 +0 -0
  84. package/web/dist/assets/KaTeX_SansSerif-Italic.ttf +0 -0
  85. package/web/dist/assets/KaTeX_SansSerif-Italic.woff +0 -0
  86. package/web/dist/assets/KaTeX_SansSerif-Italic.woff2 +0 -0
  87. package/web/dist/assets/KaTeX_SansSerif-Regular.ttf +0 -0
  88. package/web/dist/assets/KaTeX_SansSerif-Regular.woff +0 -0
  89. package/web/dist/assets/KaTeX_SansSerif-Regular.woff2 +0 -0
  90. package/web/dist/assets/KaTeX_Script-Regular.ttf +0 -0
  91. package/web/dist/assets/KaTeX_Script-Regular.woff +0 -0
  92. package/web/dist/assets/KaTeX_Script-Regular.woff2 +0 -0
  93. package/web/dist/assets/KaTeX_Size1-Regular.ttf +0 -0
  94. package/web/dist/assets/KaTeX_Size1-Regular.woff +0 -0
  95. package/web/dist/assets/KaTeX_Size1-Regular.woff2 +0 -0
  96. package/web/dist/assets/KaTeX_Size2-Regular.ttf +0 -0
  97. package/web/dist/assets/KaTeX_Size2-Regular.woff +0 -0
  98. package/web/dist/assets/KaTeX_Size2-Regular.woff2 +0 -0
  99. package/web/dist/assets/KaTeX_Size3-Regular.ttf +0 -0
  100. package/web/dist/assets/KaTeX_Size3-Regular.woff +0 -0
  101. package/web/dist/assets/KaTeX_Size3-Regular.woff2 +0 -0
  102. package/web/dist/assets/KaTeX_Size4-Regular.ttf +0 -0
  103. package/web/dist/assets/KaTeX_Size4-Regular.woff +0 -0
  104. package/web/dist/assets/KaTeX_Size4-Regular.woff2 +0 -0
  105. package/web/dist/assets/KaTeX_Typewriter-Regular.ttf +0 -0
  106. package/web/dist/assets/KaTeX_Typewriter-Regular.woff +0 -0
  107. package/web/dist/assets/KaTeX_Typewriter-Regular.woff2 +0 -0
  108. package/web/dist/assets/cadence.css +2 -0
  109. package/web/dist/assets/cadence.js +7 -0
  110. package/web/dist/assets/markdown.js +296 -0
  111. package/web/dist/assets/react.js +9 -0
  112. package/web/dist/assets/rolldown-runtime.js +1 -0
  113. package/web/dist/assets/timeline-client.js +41 -0
  114. package/web/dist/assets/vis-timeline.css +1274 -0
  115. package/web/dist/assets/vis-timeline.js +32 -0
  116. package/web/dist/index.html +18 -0
  117. package/web/dist/manifest.json +505 -0
  118. package/config/plan-draft.example.json +0 -125
  119. package/config/plan-draft.multiple-tasks.example.json +0 -375
  120. package/config/plan-draft.quick.example.json +0 -78
  121. package/config/routes.example.json +0 -39
  122. package/prompts/abel-design.md +0 -382
  123. package/prompts/abel-diagnose.md +0 -71
  124. package/prompts/abel-implement.md +0 -284
  125. package/prompts/abel-init.md +0 -52
  126. package/src/activation.ts +0 -44
  127. package/src/activity-contracts.ts +0 -82
  128. package/src/agent-registry.ts +0 -53
  129. package/src/apply-transaction.ts +0 -1437
  130. package/src/artifact-store.ts +0 -213
  131. package/src/build-windows-job.mjs +0 -95
  132. package/src/candidate-artifact.ts +0 -143
  133. package/src/candidate-patch.ts +0 -271
  134. package/src/candidate-workspace.ts +0 -80
  135. package/src/canonical.ts +0 -16
  136. package/src/change-contract-schema.ts +0 -191
  137. package/src/change-contract.ts +0 -324
  138. package/src/change-verification.ts +0 -1617
  139. package/src/child-budget.ts +0 -58
  140. package/src/child-model.ts +0 -142
  141. package/src/child-session.ts +0 -640
  142. package/src/contracts.ts +0 -2476
  143. package/src/control-contracts.ts +0 -382
  144. package/src/delivery-compiler.ts +0 -1805
  145. package/src/delivery-revision.ts +0 -42
  146. package/src/design-control.ts +0 -1299
  147. package/src/design-diagnostics.ts +0 -181
  148. package/src/design-journal.ts +0 -1773
  149. package/src/directory-sync.ts +0 -36
  150. package/src/durable-contracts.ts +0 -231
  151. package/src/durable-workflow.ts +0 -978
  152. package/src/evidence-draft.ts +0 -122
  153. package/src/execution-profile.ts +0 -64
  154. package/src/execution-retention.ts +0 -77
  155. package/src/file-snapshot.ts +0 -163
  156. package/src/implement-continuation.ts +0 -559
  157. package/src/implement-graph.ts +0 -690
  158. package/src/implement-plan.ts +0 -72
  159. package/src/install-config.d.mts +0 -6
  160. package/src/isolation-backend.ts +0 -353
  161. package/src/model-source.ts +0 -22
  162. package/src/openspec-cli.ts +0 -494
  163. package/src/operator-cli-entry.mjs +0 -24
  164. package/src/operator-tools.ts +0 -309
  165. package/src/package-candidate.ts +0 -227
  166. package/src/package-delivery.ts +0 -486
  167. package/src/package-state.ts +0 -320
  168. package/src/package-verification.ts +0 -635
  169. package/src/package-workflow.ts +0 -342
  170. package/src/packet-runtime.ts +0 -570
  171. package/src/parent-provider.ts +0 -375
  172. package/src/phase-execution.ts +0 -2259
  173. package/src/pi-adapter.ts +0 -19
  174. package/src/plan-draft-summary.ts +0 -527
  175. package/src/plan-draft.ts +0 -502
  176. package/src/remove-path.ts +0 -32
  177. package/src/route-policy.ts +0 -545
  178. package/src/run-state.ts +0 -420
  179. package/src/run-store.ts +0 -1179
  180. package/src/safe-path.ts +0 -77
  181. package/src/scoped-grep-worker.mjs +0 -23
  182. package/src/scoped-tools.ts +0 -775
  183. package/src/single-task-draft.ts +0 -142
  184. package/src/sqlite-schema.ts +0 -171
  185. package/src/state-root.ts +0 -215
  186. package/src/storage-schema.ts +0 -360
  187. package/src/subagent-activity.ts +0 -1417
  188. package/src/submit-tool.ts +0 -950
  189. package/src/task-ledger.ts +0 -1338
  190. package/src/transport-budget.ts +0 -52
  191. package/src/verification-capability.ts +0 -1191
  192. package/src/verification-environment-io.ts +0 -389
  193. package/src/verification-environment.ts +0 -162
  194. package/src/verification-identity.ts +0 -77
  195. package/src/verification-scan.ts +0 -64
  196. package/src/windows-job-backend.ts +0 -419
  197. package/src/windows-job.c +0 -149
  198. package/src/worker-broker.ts +0 -806
  199. package/src/workflow-engine.ts +0 -28
  200. package/src/workflow-policy.ts +0 -1679
  201. package/src/workflow-recovery-policy.ts +0 -97
  202. package/src/workflow-scheduling.ts +0 -105
  203. package/src/workflow-state-machine.ts +0 -4355
  204. package/src/workflow-status.ts +0 -576
  205. package/src/workspace-io-entry.mjs +0 -76
  206. package/src/workspace-io-worker.mjs +0 -1312
  207. package/src/workspace-io.ts +0 -89
  208. package/src/workspace-store.ts +0 -634
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 xing-shuyin
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,22 @@
1
+ # pi-web-ui presentation reuse
2
+
3
+ Cadence adapts source from [xing-shuyin/pi-web-ui](https://github.com/xing-shuyin/pi-web-ui), revision `e8bab487af208bc9a1ab60a821652323f598127f`.
4
+ Copyright (c) 2026 xing-shuyin.
5
+ The full existing [MIT license](pi-web-ui-MIT.txt) is retained unchanged.
6
+ This adaptation is not endorsed by the upstream author.
7
+
8
+ Adapted families include the three-pane workspace and drawers, nested navigation and plan editing, lazy transcript/tool cards, Markdown/stream/code/math/copy, readonly preview and diff, search/deep links, reconciliation, and the standalone run-trace client.
9
+ Cadence replaces upstream execution, arbitrary messaging, history repair, mutation, plugin and credential-storage boundaries with its finite typed shared service client.
10
+ Timeline geometry is explicitly ordinal; recorded worker-local clocks and native check duration remain independently labeled, never aligned into inferred overlap.
11
+ The source-level file/hash/modification inventory is `provenance/webui-reuse.json`.
12
+
13
+ The serial W6 revision adds a deterministic Vite build, explicit observation lifetime, action-specific confirmation and adapted tests.
14
+ It externalizes the timeline stylesheet and all 15 static style-inject literals from the exact reviewed vis standalone body without enabling inline stylesheet elements.
15
+ Local pure/SSR, HTTP and narrowly scoped empty-workspace/browser CSP tests are not complete workflow, accessibility or distribution qualification.
16
+
17
+ This note does not license third-party bundled dependencies under upstream's MIT license.
18
+ Actual emitted fonts match the available KaTeX 0.18.7 font provenance and separate full OFL/reserved-family notice inputs.
19
+ The actual vis standalone includes separately licensed embedded dependencies; its top-level MIT notice alone is insufficient.
20
+ `bundled-web.txt` now preserves the full React, Feather, unified/remark/rehype, highlight.js, KaTeX/OFL and actual vis embedded dependency notices, plus emitted Vite/Rolldown helper notices.
21
+ Repository `provenance/bundled-notices.json` binds rendered source bodies/output chunks, all60 font bodies and exact original notice slices; the builder and real pack audit enforce that closure.
22
+ The current package is an integrated delivery candidate pending independent final review, not a claim that unexecuted human/platform/provider lanes passed.
package/package.json CHANGED
@@ -1,25 +1,59 @@
1
1
  {
2
2
  "name": "@abelxiaoxing/cadence",
3
- "version": "1.8.3",
4
- "description": "Four explicit Abel workflow prompts with stage-isolated design and diagnosis, durable resumable implementation, and three package-owned professional Agents.",
3
+ "version": "2.0.0",
4
+ "description": "Shared Pi task workspace: native terminal and WebUI, persistent service, checks and human review.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "engines": {
8
- "node": ">=22.13.0"
8
+ "node": ">=22.19.0"
9
9
  },
10
10
  "keywords": [
11
11
  "pi-package",
12
12
  "abel",
13
13
  "workflow",
14
- "cadence",
15
- "openspec"
14
+ "cadence"
16
15
  ],
17
16
  "files": [
18
- "prompts",
19
17
  "skills",
20
18
  "config",
21
- "src",
22
19
  "agents",
20
+ "src/index.ts",
21
+ "src/install-config.mjs",
22
+ "src/native-build.ts",
23
+ "src/native-client.ts",
24
+ "src/native-export.ts",
25
+ "src/native-history.ts",
26
+ "src/operator-cli.mjs",
27
+ "src/plan-proposal.ts",
28
+ "src/sdk-worker.mjs",
29
+ "src/service-cli.mjs",
30
+ "src/service-client.ts",
31
+ "src/service-contract.ts",
32
+ "src/service-host.mjs",
33
+ "src/service-http-client.ts",
34
+ "src/service-wire.ts",
35
+ "src/service/contracts/active.ts",
36
+ "src/service/contracts/budget.ts",
37
+ "src/service/contracts/build.ts",
38
+ "src/service/contracts/capture.ts",
39
+ "src/service/contracts/core.ts",
40
+ "src/service/contracts/current.ts",
41
+ "src/service/contracts/domain.ts",
42
+ "src/service/contracts/history.ts",
43
+ "src/service/contracts/models.ts",
44
+ "src/service/coordination.ts",
45
+ "src/service/private-files.ts",
46
+ "src/startup-card.ts",
47
+ "src/task-shell.ts",
48
+ "src/task-store.ts",
49
+ "src/task-types.ts",
50
+ "src/verification-diagnostics.ts",
51
+ "src/worker-capture.mjs",
52
+ "src/worker-public.mjs",
53
+ "src/worker-redaction.mjs",
54
+ "src/worker-tools.mjs",
55
+ "web/dist",
56
+ "docs",
23
57
  "README.md",
24
58
  "LICENSE",
25
59
  "THIRD_PARTY_NOTICES.md",
@@ -29,9 +63,6 @@
29
63
  "extensions": [
30
64
  "./src/index.ts"
31
65
  ],
32
- "prompts": [
33
- "./prompts/*.md"
34
- ],
35
66
  "skills": [
36
67
  "./skills"
37
68
  ]
@@ -40,24 +71,34 @@
40
71
  "postinstall": "node src/install-config.mjs",
41
72
  "pack:check": "node scripts/pack-check.mjs",
42
73
  "traceability:check": "node scripts/traceability-check.mjs",
43
- "verify": "bun run check && bun run lint && bun run test && bun run pack:check",
44
- "check": "node scripts/check-syntax.mjs && bun scripts/build-workspace-io.mjs --check && tsc --noEmit",
74
+ "verify": "bun run check && bun run check:web && bun run build:web:check && bun run lint && bun run check:agents && bun run test && bun run test:web && bun run pack:check",
75
+ "verify:full": "bun run verify && bun run test:integration && bun run test:browser",
76
+ "check": "node scripts/check-syntax.mjs && bun scripts/build-operator.mjs --check && bun scripts/build-service.mjs --check && tsc --noEmit",
45
77
  "lint": "biome check . && rumdl check .",
46
- "test": "vitest run",
78
+ "test": "vitest run --config test/fast.config.ts --reporter=dot",
79
+ "test:integration": "vitest run --config test/integration.config.ts --reporter=verbose",
47
80
  "test:target": "vitest run",
48
81
  "check:agents": "node scripts/check-agents.mjs",
49
- "build:workspace-io": "bun scripts/build-workspace-io.mjs",
50
- "eval:workflow": "node --experimental-strip-types scripts/evaluate-workflow.mjs",
51
- "doctor": "node --experimental-strip-types src/operator-cli.mjs doctor",
52
- "runs": "node --experimental-strip-types src/operator-cli.mjs runs",
53
- "benchmark:verification": "node --experimental-strip-types scripts/benchmark-verification.mjs",
54
- "eval:matrix": "node --experimental-strip-types scripts/evaluate-matrix.mjs"
82
+ "doctor": "node src/operator-cli.mjs doctor",
83
+ "runs": "node src/operator-cli.mjs runs",
84
+ "build:operator": "bun scripts/build-operator.mjs",
85
+ "build:service": "bun scripts/build-service.mjs",
86
+ "check:web": "tsc -p web/tsconfig.json && tsc -p web/tsconfig.config.json",
87
+ "test:web": "vitest run --config web/vitest.config.ts",
88
+ "build:web": "node scripts/build-web.mjs",
89
+ "build:web:check": "node scripts/build-web.mjs --check",
90
+ "test:web:assets-browser": "bun run test:browser",
91
+ "build:check": "bun scripts/build-operator.mjs --check && bun scripts/build-service.mjs --check && bun run build:web:check",
92
+ "test:service": "vitest run --config test/service.config.ts",
93
+ "test:browser": "vitest run --config web/browser.config.ts",
94
+ "check:notices": "node scripts/audit-notices.mjs"
55
95
  },
56
96
  "peerDependencies": {
57
97
  "@earendil-works/pi-coding-agent": "*",
58
98
  "@earendil-works/pi-tui": "*",
59
99
  "typebox": "*",
60
- "@earendil-works/pi-ai": "*"
100
+ "@earendil-works/pi-ai": "*",
101
+ "undici": "^8.9.0"
61
102
  },
62
103
  "devDependencies": {
63
104
  "@biomejs/biome": "^2.4.16",
@@ -67,7 +108,33 @@
67
108
  "rumdl": "^0.2.10",
68
109
  "typescript": "^6.0.3",
69
110
  "vitest": "^4.1.8",
70
- "@earendil-works/pi-ai": "0.84.3"
111
+ "@earendil-works/pi-ai": "0.84.3",
112
+ "undici": "8.9.0",
113
+ "@types/ws": "8.18.1",
114
+ "react": "19.3.0",
115
+ "react-dom": "19.3.0",
116
+ "react-icons": "5.7.0",
117
+ "@types/react": "19.3.0",
118
+ "@types/react-dom": "19.3.0",
119
+ "react-markdown": "10.1.0",
120
+ "remark-gfm": "4.0.1",
121
+ "remark-breaks": "4.0.0",
122
+ "remark-math": "6.0.0",
123
+ "rehype-highlight": "7.0.2",
124
+ "rehype-katex": "7.0.1",
125
+ "rehype-raw": "7.0.0",
126
+ "rehype-sanitize": "6.0.0",
127
+ "highlight.js": "11.12.0",
128
+ "katex": "0.18.7",
129
+ "unified": "11.0.5",
130
+ "remark-parse": "11.0.0",
131
+ "micromark-util-types": "2.0.2",
132
+ "mdast-util-from-markdown": "2.0.3",
133
+ "mdast-util-math": "3.0.0",
134
+ "vis-timeline": "8.5.4",
135
+ "vite": "8.3.0",
136
+ "@vitejs/plugin-react": "6.1.1",
137
+ "playwright-core": "1.63.0"
71
138
  },
72
139
  "repository": {
73
140
  "type": "git",
@@ -76,5 +143,11 @@
76
143
  "homepage": "https://github.com/abelxiaoxing/cadence",
77
144
  "bugs": {
78
145
  "url": "https://github.com/abelxiaoxing/cadence/issues"
146
+ },
147
+ "dependencies": {
148
+ "ws": "8.21.3"
149
+ },
150
+ "bin": {
151
+ "cadence-service": "./src/service-cli.mjs"
79
152
  }
80
153
  }