wicked-crew 0.7.39 → 0.7.45

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 (380) hide show
  1. package/dist/api/audit.d.ts +3 -0
  2. package/dist/api/audit.d.ts.map +1 -1
  3. package/dist/api/audit.js +2 -0
  4. package/dist/api/audit.js.map +1 -1
  5. package/dist/api/capture.d.ts +149 -0
  6. package/dist/api/capture.d.ts.map +1 -0
  7. package/dist/api/capture.js +330 -0
  8. package/dist/api/capture.js.map +1 -0
  9. package/dist/api/chat-citations.d.ts +174 -0
  10. package/dist/api/chat-citations.d.ts.map +1 -0
  11. package/dist/api/chat-citations.js +528 -0
  12. package/dist/api/chat-citations.js.map +1 -0
  13. package/dist/api/chat-scope.d.ts +37 -1
  14. package/dist/api/chat-scope.d.ts.map +1 -1
  15. package/dist/api/chat-scope.js +131 -7
  16. package/dist/api/chat-scope.js.map +1 -1
  17. package/dist/api/chat-transcripts.d.ts +20 -1
  18. package/dist/api/chat-transcripts.d.ts.map +1 -1
  19. package/dist/api/chat-transcripts.js +29 -0
  20. package/dist/api/chat-transcripts.js.map +1 -1
  21. package/dist/api/delivery-cache.d.ts +2 -2
  22. package/dist/api/delivery-freeze.d.ts +66 -0
  23. package/dist/api/delivery-freeze.d.ts.map +1 -0
  24. package/dist/api/delivery-freeze.js +104 -0
  25. package/dist/api/delivery-freeze.js.map +1 -0
  26. package/dist/api/delivery-index.d.ts +53 -9
  27. package/dist/api/delivery-index.d.ts.map +1 -1
  28. package/dist/api/delivery-index.js +115 -22
  29. package/dist/api/delivery-index.js.map +1 -1
  30. package/dist/api/demo.d.ts +90 -0
  31. package/dist/api/demo.d.ts.map +1 -0
  32. package/dist/api/demo.js +492 -0
  33. package/dist/api/demo.js.map +1 -0
  34. package/dist/api/diagnostics.d.ts +64 -1
  35. package/dist/api/diagnostics.d.ts.map +1 -1
  36. package/dist/api/diagnostics.js +129 -1
  37. package/dist/api/diagnostics.js.map +1 -1
  38. package/dist/api/eval-sample.d.ts +6 -6
  39. package/dist/api/governance-steering.d.ts +2 -2
  40. package/dist/api/mcp.d.ts +282 -0
  41. package/dist/api/mcp.d.ts.map +1 -0
  42. package/dist/api/mcp.js +521 -0
  43. package/dist/api/mcp.js.map +1 -0
  44. package/dist/api/plan-schema.d.ts +56 -0
  45. package/dist/api/plan-schema.d.ts.map +1 -0
  46. package/dist/api/plan-schema.js +26 -0
  47. package/dist/api/plan-schema.js.map +1 -0
  48. package/dist/api/roster-standing.d.ts +15 -2
  49. package/dist/api/roster-standing.d.ts.map +1 -1
  50. package/dist/api/roster-standing.js +55 -3
  51. package/dist/api/roster-standing.js.map +1 -1
  52. package/dist/api/routes.d.ts +647 -59
  53. package/dist/api/routes.d.ts.map +1 -1
  54. package/dist/api/routes.js +906 -146
  55. package/dist/api/routes.js.map +1 -1
  56. package/dist/api/run-files.d.ts.map +1 -1
  57. package/dist/api/run-files.js +31 -2
  58. package/dist/api/run-files.js.map +1 -1
  59. package/dist/api/run-liveness.d.ts +41 -0
  60. package/dist/api/run-liveness.d.ts.map +1 -0
  61. package/dist/api/run-liveness.js +166 -0
  62. package/dist/api/run-liveness.js.map +1 -0
  63. package/dist/api/run-timing-index.d.ts +10 -0
  64. package/dist/api/run-timing-index.d.ts.map +1 -1
  65. package/dist/api/run-timing-index.js +24 -0
  66. package/dist/api/run-timing-index.js.map +1 -1
  67. package/dist/api/seat-health.d.ts.map +1 -1
  68. package/dist/api/seat-health.js +20 -4
  69. package/dist/api/seat-health.js.map +1 -1
  70. package/dist/api/seat-probe.d.ts +141 -0
  71. package/dist/api/seat-probe.d.ts.map +1 -0
  72. package/dist/api/seat-probe.js +257 -0
  73. package/dist/api/seat-probe.js.map +1 -0
  74. package/dist/api/seat-record.d.ts +40 -0
  75. package/dist/api/seat-record.d.ts.map +1 -0
  76. package/dist/api/seat-record.js +218 -0
  77. package/dist/api/seat-record.js.map +1 -0
  78. package/dist/api/seat-signin.d.ts.map +1 -1
  79. package/dist/api/seat-signin.js +3 -1
  80. package/dist/api/seat-signin.js.map +1 -1
  81. package/dist/api/seat-standing.d.ts +24 -4
  82. package/dist/api/seat-standing.d.ts.map +1 -1
  83. package/dist/api/seat-standing.js +50 -3
  84. package/dist/api/seat-standing.js.map +1 -1
  85. package/dist/api/server.d.ts +34 -48
  86. package/dist/api/server.d.ts.map +1 -1
  87. package/dist/api/server.js +316 -116
  88. package/dist/api/server.js.map +1 -1
  89. package/dist/api/skills.d.ts +3 -1
  90. package/dist/api/skills.d.ts.map +1 -1
  91. package/dist/api/skills.js +7 -2
  92. package/dist/api/skills.js.map +1 -1
  93. package/dist/api/stall-watchdog.d.ts +34 -3
  94. package/dist/api/stall-watchdog.d.ts.map +1 -1
  95. package/dist/api/stall-watchdog.js +107 -8
  96. package/dist/api/stall-watchdog.js.map +1 -1
  97. package/dist/api/steering-landing.d.ts +6 -6
  98. package/dist/api/steering-landing.d.ts.map +1 -1
  99. package/dist/api/steering-landing.js +7 -9
  100. package/dist/api/steering-landing.js.map +1 -1
  101. package/dist/api/testing.d.ts +6 -4
  102. package/dist/api/testing.d.ts.map +1 -1
  103. package/dist/api/testing.js +82 -47
  104. package/dist/api/testing.js.map +1 -1
  105. package/dist/campaign/boot-resume.d.ts +34 -0
  106. package/dist/campaign/boot-resume.d.ts.map +1 -0
  107. package/dist/campaign/boot-resume.js +45 -0
  108. package/dist/campaign/boot-resume.js.map +1 -0
  109. package/dist/campaigns/rollup.d.ts +4 -1
  110. package/dist/campaigns/rollup.d.ts.map +1 -1
  111. package/dist/campaigns/rollup.js +6 -1
  112. package/dist/campaigns/rollup.js.map +1 -1
  113. package/dist/campaigns/routes.d.ts +2 -2
  114. package/dist/cli/bearer.d.ts +27 -1
  115. package/dist/cli/bearer.d.ts.map +1 -1
  116. package/dist/cli/bearer.js +62 -2
  117. package/dist/cli/bearer.js.map +1 -1
  118. package/dist/cli/governance.d.ts +11 -0
  119. package/dist/cli/governance.d.ts.map +1 -1
  120. package/dist/cli/governance.js +8 -2
  121. package/dist/cli/governance.js.map +1 -1
  122. package/dist/cli/index.d.ts.map +1 -1
  123. package/dist/cli/index.js +140 -75
  124. package/dist/cli/index.js.map +1 -1
  125. package/dist/cli/mcp.d.ts +11 -0
  126. package/dist/cli/mcp.d.ts.map +1 -1
  127. package/dist/cli/mcp.js +40 -9
  128. package/dist/cli/mcp.js.map +1 -1
  129. package/dist/cli/service.d.ts +78 -0
  130. package/dist/cli/service.d.ts.map +1 -0
  131. package/dist/cli/service.js +334 -0
  132. package/dist/cli/service.js.map +1 -0
  133. package/dist/core/adapter.d.ts +247 -14
  134. package/dist/core/adapter.d.ts.map +1 -1
  135. package/dist/core/adapter.js +638 -161
  136. package/dist/core/adapter.js.map +1 -1
  137. package/dist/core/bridge-reaper.d.ts +4 -1
  138. package/dist/core/bridge-reaper.d.ts.map +1 -1
  139. package/dist/core/bridge-reaper.js +15 -1
  140. package/dist/core/bridge-reaper.js.map +1 -1
  141. package/dist/core/bus-notice.d.ts +27 -0
  142. package/dist/core/bus-notice.d.ts.map +1 -0
  143. package/dist/core/bus-notice.js +24 -0
  144. package/dist/core/bus-notice.js.map +1 -0
  145. package/dist/core/bus.d.ts +99 -0
  146. package/dist/core/bus.d.ts.map +1 -0
  147. package/dist/core/bus.js +176 -0
  148. package/dist/core/bus.js.map +1 -0
  149. package/dist/core/deliver-exclusions.d.ts +71 -0
  150. package/dist/core/deliver-exclusions.d.ts.map +1 -0
  151. package/dist/core/deliver-exclusions.js +110 -0
  152. package/dist/core/deliver-exclusions.js.map +1 -0
  153. package/dist/core/deliver-text.d.ts +61 -14
  154. package/dist/core/deliver-text.d.ts.map +1 -1
  155. package/dist/core/deliver-text.js +178 -30
  156. package/dist/core/deliver-text.js.map +1 -1
  157. package/dist/core/deliver-triage.d.ts +11 -2
  158. package/dist/core/deliver-triage.d.ts.map +1 -1
  159. package/dist/core/deliver-triage.js +19 -1
  160. package/dist/core/deliver-triage.js.map +1 -1
  161. package/dist/core/deliver.d.ts +161 -3
  162. package/dist/core/deliver.d.ts.map +1 -1
  163. package/dist/core/deliver.js +463 -25
  164. package/dist/core/deliver.js.map +1 -1
  165. package/dist/core/deliverable-floor.d.ts.map +1 -1
  166. package/dist/core/deliverable-floor.js +5 -7
  167. package/dist/core/deliverable-floor.js.map +1 -1
  168. package/dist/core/engine-bus.d.ts +40 -0
  169. package/dist/core/engine-bus.d.ts.map +1 -0
  170. package/dist/core/engine-bus.js +27 -0
  171. package/dist/core/engine-bus.js.map +1 -0
  172. package/dist/core/estate-mcp-client.d.ts +87 -5
  173. package/dist/core/estate-mcp-client.d.ts.map +1 -1
  174. package/dist/core/estate-mcp-client.js +90 -11
  175. package/dist/core/estate-mcp-client.js.map +1 -1
  176. package/dist/core/linked-issues.d.ts +46 -0
  177. package/dist/core/linked-issues.d.ts.map +1 -0
  178. package/dist/core/linked-issues.js +123 -0
  179. package/dist/core/linked-issues.js.map +1 -0
  180. package/dist/core/run-identity.d.ts +100 -0
  181. package/dist/core/run-identity.d.ts.map +1 -0
  182. package/dist/core/run-identity.js +178 -0
  183. package/dist/core/run-identity.js.map +1 -0
  184. package/dist/core/shutdown.d.ts +16 -0
  185. package/dist/core/shutdown.d.ts.map +1 -0
  186. package/dist/core/shutdown.js +39 -0
  187. package/dist/core/shutdown.js.map +1 -0
  188. package/dist/core/types.d.ts +15 -1
  189. package/dist/core/types.d.ts.map +1 -1
  190. package/dist/core/types.js +4 -0
  191. package/dist/core/types.js.map +1 -1
  192. package/dist/interactive/bridge-pool.d.ts +67 -3
  193. package/dist/interactive/bridge-pool.d.ts.map +1 -1
  194. package/dist/interactive/bridge-pool.js +129 -13
  195. package/dist/interactive/bridge-pool.js.map +1 -1
  196. package/dist/interactive/bridge-root.d.ts +9 -0
  197. package/dist/interactive/bridge-root.d.ts.map +1 -1
  198. package/dist/interactive/bridge-root.js +11 -4
  199. package/dist/interactive/bridge-root.js.map +1 -1
  200. package/dist/interactive/chat-events.d.ts +14 -9
  201. package/dist/interactive/chat-events.d.ts.map +1 -1
  202. package/dist/interactive/chat-events.js +55 -57
  203. package/dist/interactive/chat-events.js.map +1 -1
  204. package/dist/interactive/council-outcome.d.ts +1 -0
  205. package/dist/interactive/council-outcome.d.ts.map +1 -1
  206. package/dist/interactive/council-outcome.js +33 -0
  207. package/dist/interactive/council-outcome.js.map +1 -1
  208. package/dist/interactive/draft-events.d.ts +36 -17
  209. package/dist/interactive/draft-events.d.ts.map +1 -1
  210. package/dist/interactive/draft-events.js +121 -92
  211. package/dist/interactive/draft-events.js.map +1 -1
  212. package/dist/interactive/draft-skill.d.ts +59 -0
  213. package/dist/interactive/draft-skill.d.ts.map +1 -1
  214. package/dist/interactive/draft-skill.js +233 -0
  215. package/dist/interactive/draft-skill.js.map +1 -1
  216. package/dist/interactive/edit-events.d.ts +1 -14
  217. package/dist/interactive/edit-events.d.ts.map +1 -1
  218. package/dist/interactive/edit-events.js +37 -70
  219. package/dist/interactive/edit-events.js.map +1 -1
  220. package/dist/interactive/proxy-routes.d.ts +2 -2
  221. package/dist/interactive/proxy-routes.d.ts.map +1 -1
  222. package/dist/interactive/proxy-routes.js +4 -13
  223. package/dist/interactive/proxy-routes.js.map +1 -1
  224. package/dist/interactive/ws-relay.d.ts +9 -10
  225. package/dist/interactive/ws-relay.d.ts.map +1 -1
  226. package/dist/interactive/ws-relay.js +23 -50
  227. package/dist/interactive/ws-relay.js.map +1 -1
  228. package/dist/mcp/broker.d.ts +88 -0
  229. package/dist/mcp/broker.d.ts.map +1 -0
  230. package/dist/mcp/broker.js +307 -0
  231. package/dist/mcp/broker.js.map +1 -0
  232. package/dist/mcp/call-records.d.ts +61 -0
  233. package/dist/mcp/call-records.d.ts.map +1 -0
  234. package/dist/mcp/call-records.js +135 -0
  235. package/dist/mcp/call-records.js.map +1 -0
  236. package/dist/mcp/classify.d.ts +45 -0
  237. package/dist/mcp/classify.d.ts.map +1 -0
  238. package/dist/mcp/classify.js +83 -0
  239. package/dist/mcp/classify.js.map +1 -0
  240. package/dist/mcp/discovery.d.ts +24 -0
  241. package/dist/mcp/discovery.d.ts.map +1 -0
  242. package/dist/mcp/discovery.js +78 -0
  243. package/dist/mcp/discovery.js.map +1 -0
  244. package/dist/mcp/invoke.d.ts +36 -0
  245. package/dist/mcp/invoke.d.ts.map +1 -0
  246. package/dist/mcp/invoke.js +80 -0
  247. package/dist/mcp/invoke.js.map +1 -0
  248. package/dist/mcp/policies.d.ts +110 -0
  249. package/dist/mcp/policies.d.ts.map +1 -0
  250. package/dist/mcp/policies.js +400 -0
  251. package/dist/mcp/policies.js.map +1 -0
  252. package/dist/mcp/probe.d.ts +66 -0
  253. package/dist/mcp/probe.d.ts.map +1 -0
  254. package/dist/mcp/probe.js +116 -0
  255. package/dist/mcp/probe.js.map +1 -0
  256. package/dist/mcp/redact.d.ts +34 -0
  257. package/dist/mcp/redact.d.ts.map +1 -0
  258. package/dist/mcp/redact.js +84 -0
  259. package/dist/mcp/redact.js.map +1 -0
  260. package/dist/mcp/registry-store.d.ts +69 -0
  261. package/dist/mcp/registry-store.d.ts.map +1 -0
  262. package/dist/mcp/registry-store.js +82 -0
  263. package/dist/mcp/registry-store.js.map +1 -0
  264. package/dist/mcp/registry.d.ts +147 -0
  265. package/dist/mcp/registry.d.ts.map +1 -0
  266. package/dist/mcp/registry.js +509 -0
  267. package/dist/mcp/registry.js.map +1 -0
  268. package/dist/mcp/rest.d.ts +111 -0
  269. package/dist/mcp/rest.d.ts.map +1 -0
  270. package/dist/mcp/rest.js +606 -0
  271. package/dist/mcp/rest.js.map +1 -0
  272. package/dist/mcp/secrets.d.ts +66 -0
  273. package/dist/mcp/secrets.d.ts.map +1 -0
  274. package/dist/mcp/secrets.js +180 -0
  275. package/dist/mcp/secrets.js.map +1 -0
  276. package/dist/mcp/tool-list.d.ts +25 -0
  277. package/dist/mcp/tool-list.d.ts.map +1 -0
  278. package/dist/mcp/tool-list.js +62 -0
  279. package/dist/mcp/tool-list.js.map +1 -0
  280. package/dist/mcp/upstream-error.d.ts +12 -0
  281. package/dist/mcp/upstream-error.d.ts.map +1 -0
  282. package/dist/mcp/upstream-error.js +14 -0
  283. package/dist/mcp/upstream-error.js.map +1 -0
  284. package/dist/mcp/usage.d.ts +31 -0
  285. package/dist/mcp/usage.d.ts.map +1 -0
  286. package/dist/mcp/usage.js +159 -0
  287. package/dist/mcp/usage.js.map +1 -0
  288. package/dist/presets/routes.d.ts +53 -0
  289. package/dist/presets/routes.d.ts.map +1 -0
  290. package/dist/presets/routes.js +115 -0
  291. package/dist/presets/routes.js.map +1 -0
  292. package/dist/projects/activity.d.ts +6 -18
  293. package/dist/projects/activity.d.ts.map +1 -1
  294. package/dist/projects/activity.js +17 -60
  295. package/dist/projects/activity.js.map +1 -1
  296. package/dist/projects/events.d.ts +6 -5
  297. package/dist/projects/events.d.ts.map +1 -1
  298. package/dist/projects/events.js +33 -58
  299. package/dist/projects/events.js.map +1 -1
  300. package/dist/projects/graph.d.ts +11 -0
  301. package/dist/projects/graph.d.ts.map +1 -1
  302. package/dist/projects/graph.js +12 -0
  303. package/dist/projects/graph.js.map +1 -1
  304. package/dist/projects/routes.d.ts.map +1 -1
  305. package/dist/projects/routes.js +19 -0
  306. package/dist/projects/routes.js.map +1 -1
  307. package/dist/projects/state-home-preflight.d.ts.map +1 -1
  308. package/dist/projects/state-home-preflight.js +7 -0
  309. package/dist/projects/state-home-preflight.js.map +1 -1
  310. package/dist/projects/state-home-registry.d.ts.map +1 -1
  311. package/dist/projects/state-home-registry.js +9 -1
  312. package/dist/projects/state-home-registry.js.map +1 -1
  313. package/dist/qe/acceptance.d.ts +28 -28
  314. package/dist/qe/acceptance.d.ts.map +1 -1
  315. package/dist/qe/acceptance.js +60 -61
  316. package/dist/qe/acceptance.js.map +1 -1
  317. package/dist/qe/test-sets.d.ts +3 -5
  318. package/dist/qe/test-sets.d.ts.map +1 -1
  319. package/dist/qe/test-sets.js +5 -7
  320. package/dist/qe/test-sets.js.map +1 -1
  321. package/dist/skills/installed.d.ts +51 -0
  322. package/dist/skills/installed.d.ts.map +1 -0
  323. package/dist/skills/installed.js +46 -0
  324. package/dist/skills/installed.js.map +1 -0
  325. package/dist/skills/phase-skill-gaps.d.ts +108 -0
  326. package/dist/skills/phase-skill-gaps.d.ts.map +1 -0
  327. package/dist/skills/phase-skill-gaps.js +199 -0
  328. package/dist/skills/phase-skill-gaps.js.map +1 -0
  329. package/dist/skills/runtime.d.ts +1 -1
  330. package/dist/skills/runtime.d.ts.map +1 -1
  331. package/dist/skills/runtime.js +2 -1
  332. package/dist/skills/runtime.js.map +1 -1
  333. package/dist/standing-orders/evaluator.d.ts +113 -0
  334. package/dist/standing-orders/evaluator.d.ts.map +1 -0
  335. package/dist/standing-orders/evaluator.js +225 -0
  336. package/dist/standing-orders/evaluator.js.map +1 -0
  337. package/dist/standing-orders/history.d.ts +58 -0
  338. package/dist/standing-orders/history.d.ts.map +1 -0
  339. package/dist/standing-orders/history.js +117 -0
  340. package/dist/standing-orders/history.js.map +1 -0
  341. package/dist/standing-orders/parse.d.ts +19 -0
  342. package/dist/standing-orders/parse.d.ts.map +1 -0
  343. package/dist/standing-orders/parse.js +75 -0
  344. package/dist/standing-orders/parse.js.map +1 -0
  345. package/dist/standing-orders/routes.d.ts +180 -0
  346. package/dist/standing-orders/routes.d.ts.map +1 -0
  347. package/dist/standing-orders/routes.js +95 -0
  348. package/dist/standing-orders/routes.js.map +1 -0
  349. package/dist/standing-orders/store.d.ts +154 -0
  350. package/dist/standing-orders/store.d.ts.map +1 -0
  351. package/dist/standing-orders/store.js +189 -0
  352. package/dist/standing-orders/store.js.map +1 -0
  353. package/dist/studio/assets/index-CvV5qITf.css +32 -0
  354. package/dist/studio/assets/index-jCOy6Ns7.js +568 -0
  355. package/dist/studio/index.html +3 -3
  356. package/dist/studio/testid-inventory.json +3307 -897
  357. package/dist/team/key.d.ts +5 -0
  358. package/dist/team/key.d.ts.map +1 -0
  359. package/dist/team/key.js +21 -0
  360. package/dist/team/key.js.map +1 -0
  361. package/dist/team/routes.d.ts +196 -0
  362. package/dist/team/routes.d.ts.map +1 -0
  363. package/dist/team/routes.js +274 -0
  364. package/dist/team/routes.js.map +1 -0
  365. package/dist/team/ws-relay.d.ts +39 -0
  366. package/dist/team/ws-relay.d.ts.map +1 -0
  367. package/dist/team/ws-relay.js +63 -0
  368. package/dist/team/ws-relay.js.map +1 -0
  369. package/endpoint-manifest.json +502 -6
  370. package/package.json +6 -6
  371. package/dist/interactive/demo-events.d.ts +0 -367
  372. package/dist/interactive/demo-events.d.ts.map +0 -1
  373. package/dist/interactive/demo-events.js +0 -1293
  374. package/dist/interactive/demo-events.js.map +0 -1
  375. package/dist/qe/gate-events.d.ts +0 -113
  376. package/dist/qe/gate-events.d.ts.map +0 -1
  377. package/dist/qe/gate-events.js +0 -172
  378. package/dist/qe/gate-events.js.map +0 -1
  379. package/dist/studio/assets/index-BRDAN35i.js +0 -548
  380. package/dist/studio/assets/index-Drfcsy8b.css +0 -32
@@ -1,367 +0,0 @@
1
- /**
2
- * Opt-in governed answering of wicked-interactive's DEMO docs (CREW-UX-9 — the fourth
3
- * interactive leg, beside draft-events.ts, edit-events.ts, and chat-events.ts).
4
- *
5
- * wicked-interactive's demo pipeline (ADR-0018) is deliberately split: the SERVICE is the
6
- * model-free recorder — `recordDemo` (src/service/demo.js) launches Chromium, executes the
7
- * doc's `demo.spec.mjs` with Playwright, records video + storyboard, and lands the version —
8
- * while *something with intelligence* must AUTHOR that spec. A demo doc's creation emits
9
- * `wicked.interactive.doc.created` with `kind: "demo"` carrying the live target `url` and an
10
- * optional `brief` (recon: server.js `POST /api/docs`, the isDemo branch), and the doc then
11
- * sits on its "Learning <url>…" placeholder until someone writes `<docDir>/demo.spec.mjs` and
12
- * emits `wicked.interactive.demo.requested` — the retired assist agent's Step 8 (assist skill
13
- * SKILL.md). Since the assist session retired, NOTHING authored the spec: video generation had
14
- * hands (the recorder is proven working) but no brain. This module makes a crew-governed run
15
- * the answerer.
16
- *
17
- * Shape mirrors draft-events.ts (dynamic wicked-bus import, graceful degradation, durable
18
- * cursor `cursor_init: 'latest'` under a dedicated plugin name, durable replay-dedup ledger,
19
- * `wi-crew` narration via status.posted, heartbeat inside the UI's ~20s window). The
20
- * demo-specific deltas:
21
- *
22
- * - THE DELIVERABLE IS A SPEC, NOT HTML. The worker authors `demo.spec.mjs` — a plain ES
23
- * module exporting `meta` ({url, title, and optionally steps/captions/captionHoldMs}) and
24
- * `async run({ page, step, meta })` wrapping every meaningful action in
25
- * `step(label, fn, { say, holdMs })` — the exact contract `recordDemo` executes (recon:
26
- * interactive's demo.js + assist SKILL.md Step 8a). Crew never records anything; the
27
- * BRIDGE (interactive's service) owns Playwright + ffmpeg, and the storyboard version it
28
- * lands is the proven, already-working half of the loop.
29
- *
30
- * - THE WRITE-BOUNDARY LESSON (wicked-core#293/#294, learned the hard way on the draft leg):
31
- * the governed worker CANNOT write into the doc workspace and CANNOT be repo-bound. A
32
- * repoRef-bound run's tool-permission stream closes on the first prompt-needing call
33
- * (wicked-core#293), and an UNBOUND worker's governance boundary is {sandbox,
34
- * extraWriteRoots, ~/.claude/plugins} — reads/writes of the live doc workspace are DENIED
35
- * (wicked-core#294). So the launch is UNBOUND with the per-run inbox as the SOLE extra
36
- * write root; the task names `<inbox>/demo.spec.mjs` as the deliverable and carries the
37
- * url + brief in the (PTY-capped, single-line) problem text. At finalize CREW copies the
38
- * spec into the doc workspace — crew's own process is not the worker and is bound by no
39
- * run boundary — THEN emits `demo.requested`, then narrates complete. Copy-then-emit,
40
- * strictly: an emit before the copy would have the service record a missing/stale spec.
41
- *
42
- * - EMIT ACCEPTANCE (recon): interactive's command loop consumes `demo.requested` into
43
- * `materializeDemo` and drops ONLY frames produced by itself (`producer_id ===
44
- * PRODUCERS.SERVICE`, server.js runCommand loop) — the events.js ownership table
45
- * ([UI, AGENT] for demo.requested) is enforced on interactive's own emit paths, not at
46
- * consume — so a `wi-crew`-produced demo.requested is executed. The additive CREW owner
47
- * row in interactive's events.js is the same follow-up courtesy the draft/edit legs got.
48
- *
49
- * - THE STEP-FEEDBACK LOOP (assist SKILL.md Step 8c): a demo refines by RE-AUTHORING the
50
- * spec and re-emitting demo.requested — never by editing storyboard HTML. When the user
51
- * highlights a storyboard step and asks for a change, the service applies the deterministic
52
- * remainder to the storyboard and hands the structural items off on
53
- * `wicked.interactive.feedback.processed` — the SAME frame the edit seam answers. That
54
- * frame carries no `kind`, and until CREW-UX-9 the edit seam answered demo docs' handoffs
55
- * too: it rewrote the storyboard FRAGMENT (chapter list text), landed it as a structural
56
- * version, and the recording + spec never changed — the user's "change the demo" died as a
57
- * cosmetic caption edit the next re-record would overwrite. Now both seams gate on the SAME
58
- * disk truth (the doc manifest's `kind`, readable because interactive records kind for demo
59
- * docs — chat-events.ts readDocHead): manifest says `demo` → THIS seam re-authors the spec
60
- * per the feedback items, copies, re-emits demo.requested; anything else (including an
61
- * unreadable manifest) → the edit seam keeps it. One reader each way = no double-answer.
62
- * The edit seam's skip is conditional on THIS seam actually being armed (it is handed a
63
- * `demoSeamArmed` probe): with the demo seam off, a demo doc's handoff would otherwise be
64
- * answered by nobody, silently — so the edit seam posts an honest error status instead.
65
- *
66
- * - THE PHASE SHAPE IS MEASURED, NOT CHOSEN (wicked-core#293). A tool-using turn poisons a
67
- * later tool-permission request, which is never answered; the worker's turn then ends where
68
- * it stood. The rule that survives on real seats: THE PHASE THAT INSPECTS THE APP MUST BE
69
- * THE PHASE THAT WRITES THE SPEC, and nothing before it may touch a tool. So the first-spec
70
- * workflow is a TOOL-FREE planning phase then an inspect-and-write phase, and the re-author
71
- * workflow is one local-files-only writing phase. Both the "let recon look at the app" and
72
- * the "collapse it all into one phase" shapes were run against a real seat and died. The
73
- * numbers and the failure signatures are on INTERACTIVE_DEMO_WORKFLOW_DEF — read them
74
- * before reshaping either def.
75
- */
76
- import { type DocGroundingStore } from './doc-grounding.js';
77
- import { type StructuralHandoff } from './edit-events.js';
78
- import { InteractiveHandoffLedger } from './ledger.js';
79
- import type { CoreAdapter } from '../core/adapter.js';
80
- import type { WorkflowDef } from '../core/types.js';
81
- export declare const DEMO_REQUESTED = "wicked.interactive.demo.requested";
82
- /**
83
- * The recorder's FAILURE, typed (F-RECON-013 companion; wicked-interactive PR #224 — F-RECON-012):
84
- * ONE `RecorderError` shape the service serialises identically on three surfaces, and the one crew
85
- * consumes is the bus frame — `wicked.interactive.status.posted` with the existing SeamStatusPayload
86
- * fields plus the error FLATTENED beside `state: "error"`:
87
- *
88
- * { document_id, project_id?, ts, state: "error", message,
89
- * code, source: "recorder", retryable: false, error, remedy,
90
- * browser?, missing?, install_command?, playwright_version?, browsers_path?, executable_path?,
91
- * step?: { index, label }, // recording_step_failed only
92
- * cause? }
93
- *
94
- * Codes: `recorder_browser_missing` · `recorder_browser_install_failed` · `recorder_launch_failed` ·
95
- * `recording_spec_missing` · `recording_spec_invalid` · `recording_step_failed` · `recording_failed`
96
- * (all `retryable: false`) · `recording_in_flight` (the ONLY `retryable: true`). Crew relays `code` +
97
- * `remedy` (+ `step`) into the thread-adjacent diagnostics — an error-level line for
98
- * `GET /diagnostics.recentErrors` naming the doc's spec run — and keeps the last failure per doc on
99
- * the subscription handle. Crew never replays: this seam emits no `demo.requested` of its own on a
100
- * failure (a `retryable: false` frame is terminal by contract; "Re-record" is the user's one retry).
101
- */
102
- export declare const RECORDER_ERROR_SOURCE = "recorder";
103
- /** Exact-type filters with a domain guard — no wildcards. The seam listens on TWO topics:
104
- * doc.created (kind:demo — author the first spec) and feedback.processed (demo-kind docs —
105
- * re-author it). */
106
- export declare const INTERACTIVE_DEMO_BUS_FILTER = "wicked.interactive.doc.created@wicked-interactive";
107
- export declare const INTERACTIVE_DEMO_FEEDBACK_BUS_FILTER = "wicked.interactive.feedback.processed@wicked-interactive";
108
- export declare const INTERACTIVE_DEMO_RECORDER_BUS_FILTER = "wicked.interactive.status.posted@wicked-interactive";
109
- /** Dedicated durable-cursor identities — NOT the draft/edit/chat seams', so every interactive
110
- * seam advances an independent cursor and stopping one never strands another. The two demo
111
- * subscriptions get their own cursors too: they filter different types. */
112
- export declare const INTERACTIVE_DEMO_BUS_PLUGIN = "wicked-crew-interactive-demo";
113
- export declare const INTERACTIVE_DEMO_FEEDBACK_BUS_PLUGIN = "wicked-crew-interactive-demo-feedback";
114
- export declare const INTERACTIVE_DEMO_RECORDER_BUS_PLUGIN = "wicked-crew-interactive-demo-recorder";
115
- /** The one file the whole demo pipeline pivots on (interactive demo.js `DEMO_SPEC`):
116
- * `recordDemo` refuses to record until `<docDir>/demo.spec.mjs` exists. */
117
- export declare const DEMO_SPEC_FILE = "demo.spec.mjs";
118
- export declare const INTERACTIVE_DEMO_WORKFLOW = "interactive-demo";
119
- export declare const INTERACTIVE_DEMO_REAUTHOR_WORKFLOW = "interactive-demo-reauthor";
120
- /**
121
- * The governed workflow that authors a demo's FIRST spec. TWO agent phases — `scenes` (recon,
122
- * neutral: plan from the brief and the URL string, TOUCHING NOTHING) then `spec` (build,
123
- * creator: inspect the live app, write the Playwright spec, report).
124
- *
125
- * THE PHASE SPLIT IS LOAD-BEARING AND MEASURED — do not "simplify" it in either direction.
126
- * wicked-core#293: A TOOL-USING TURN POISONS A LATER TOOL-PERMISSION REQUEST — the request is
127
- * never answered, so the worker's turn ends where it stood. Three shapes have been run against
128
- * a real seat on a real stack (adversarial + build verification, 2026-08-24), and only one
129
- * survives:
130
- *
131
- * 1. recon phase that INSPECTS THE APP, then a spec phase — DEAD 4/4. The recon turn fetches
132
- * the target, and the spec phase's first permission request goes unanswered; nothing is
133
- * ever written.
134
- * 2. recon phase forbidden from using ANY TOOL, then a spec phase that curls the app and
135
- * writes — GREEN 15/15 end-to-end: spec authored, installed, a 436KB webm recorded, the
136
- * storyboard landed, `version.created kind:demo` on the bus. THIS IS THE SHAPE BELOW.
137
- * 3. ONE phase doing inspect + plan + write together (the obvious "no next turn to poison"
138
- * simplification) — DEAD 3/3, and this is the counter-intuitive result worth writing down:
139
- * the worker curls the pages, narrates "now writing the spec", and the turn ends AT the
140
- * write. Two runs died with an empty inbox and 161-345 byte outputs (one rejected by the
141
- * substance floor as `substanceRejected`, one "completed" with no deliverable and caught
142
- * by finalize). Collapsing the phases does NOT dodge #293 — it just moves the unanswered
143
- * permission request from the next turn into this one.
144
- *
145
- * A fourth data point narrows what "tool use" means here: the re-author leg's single phase
146
- * does `Read` + `Read` + `Write` in one turn and lands green (7/7, run 0704b910 — revised spec
147
- * installed, v2 re-recorded). So a turn that reads LOCAL FILES and then writes is fine; it is
148
- * the NETWORK fetch that costs the following write, whether that write is in the next turn
149
- * (shape 1) or the same one (shape 3). Treat that as the observed discriminator, not a proven
150
- * mechanism — #293 is wicked-core's to diagnose; this def only has to survive it.
151
- *
152
- * So the rule this workflow encodes is narrower than "one phase": THE PHASE THAT INSPECTS THE
153
- * APP MUST BE THE PHASE THAT WRITES THE DELIVERABLE, and nothing before it may touch a tool.
154
- * Phase 1 therefore plans from the brief and the URL STRING alone and is told so explicitly (a
155
- * soft constraint, and the model has broken a weaker one — the shipped wording said only "do
156
- * not write any files" and the worker fetched the app anyway — so the prohibition names tools
157
- * outright and says what it protects).
158
- *
159
- * The phase `instructions` adapt the demo-authoring contract from interactive's assist skill
160
- * (Step 8a/8b) and demo.js `recordDemo`'s executable contract: ESM exporting `meta` + `async
161
- * run({page, step, meta})`, every meaningful action wrapped in `step(label, fn, {say,
162
- * holdMs})`, capability narration, stable selectors, awaited waits, and NEVER credentials in
163
- * the file. SINGLE-LINE by contract (PTY seat runner, wicked-core FINDING-011).
164
- *
165
- * THE SUBSTANCE FLOOR (wicked-core `actor.rs`, "phase produced no reviewable substance"): a
166
- * governed creator/neutral phase whose fold carries neither a worktree diff nor >=200 trimmed
167
- * chars of prose is REJECTED and fails the run. These runs are UNBOUND — `workdir: null`, so
168
- * there is never a worktree diff by construction — and the deliverable is a FILE in the inbox,
169
- * invisible to that check. A worker told only to "end your reply with the absolute path" answers
170
- * in ~50 bytes and the whole demo dies at the gate (observed 3/3 on the real stack before this
171
- * wording). So both workflows' build phases demand a prose report of what they wrote: the
172
- * phase's own reviewable substance, not decoration.
173
- *
174
- * All gates are `auto` with `validator_pin: null` — no human gate — because the acceptance
175
- * gate for a demo is the RECORDING itself: the service executes the spec (a broken selector
176
- * fails the record with a step-precise error status) and the user judges the video on the
177
- * storyboard, then refines through the same loop. The assist skill's interactive scene-plan
178
- * confirmation (Step 8a.5) was an editorial affordance of a conversational session; the
179
- * governed loop's editorial channel is the step-feedback path below.
180
- */
181
- export declare const INTERACTIVE_DEMO_WORKFLOW_DEF: WorkflowDef;
182
- /**
183
- * The governed workflow that RE-authors a spec per step feedback (Step 8c). ONE agent phase —
184
- * `respec` (build, creator role) — the edit leg's rationale: the current spec and the user's
185
- * instructions are already extracted into files the task names, so a recon phase would only
186
- * burn a council turn re-reading what the build phase reads anyway.
187
- *
188
- * SAME v2 TREATMENT AS THE FIRST-SPEC WORKFLOW (wicked-core#293), which for this leg means
189
- * LEAVING IT ALONE and saying why. Nothing runs before the phase that writes, so no predecessor
190
- * turn can poison its permissions — and its own tool use is LOCAL FILE READS inside the run's
191
- * declared write root (the same shape as the interactive-edit workflow's single phase, which
192
- * reads a handoff JSON and writes fragments in one turn, in production, today). What this leg
193
- * must NOT grow is a live re-fetch of the app: the first-spec measurements above show a turn
194
- * that fetches the network and then writes losing the write outright (shape 3, dead 3/3),
195
- * while this leg's Read+Read+Write turn lands green (7/7 on a real seat, run 0704b910). If a
196
- * feedback item ever genuinely needs a selector the current spec lacks, the fix is a preceding
197
- * TOOL-FREE phase plus inspection moved into this one — the shape 2 arrangement — not a fetch
198
- * bolted onto the writing turn.
199
- */
200
- export declare const INTERACTIVE_DEMO_REAUTHOR_WORKFLOW_DEF: WorkflowDef;
201
- /** The demo-creation fields this seam acts on. */
202
- export interface DemoDocCreated {
203
- documentId: string;
204
- /** The live app URL the demo records against (server-validated http(s) at doc creation). */
205
- url: string;
206
- brief: string;
207
- /** Present when the doc is project-bound; absent = unfiled (first-class, DES-UX-001 slice U). */
208
- projectId?: string;
209
- }
210
- /** URL budget for the problem statement: the URL must ride VERBATIM (a respelled URL targets
211
- * the wrong app), so an over-budget one refuses the parse rather than truncating. */
212
- export declare const DEMO_URL_MAX = 1000;
213
- /**
214
- * Parse a bus frame into a {@link DemoDocCreated}, or `null` when it is not an actionable
215
- * demo creation: wrong type, non-`demo` kind (source/html docs are the draft seam's and the
216
- * user's own business), missing/malformed document_id, or an unusable URL. The URL must be a
217
- * parseable http(s) URL with no whitespace/control characters — it rides the single-line PTY
218
- * problem verbatim (interactive's server validates this at creation, so a violation here is
219
- * producer drift, not a user path).
220
- */
221
- export declare function parseDemoDocCreated(eventType: string, payload: unknown): DemoDocCreated | null;
222
- /** The typed recorder failure as crew reads it off `status.posted` (see {@link RECORDER_ERROR_SOURCE}). */
223
- export interface DemoRecordingFailure {
224
- documentId: string;
225
- projectId?: string;
226
- version?: number;
227
- error: {
228
- /** The contract's `code` (a stable machine token). */
229
- kind: string;
230
- /** The contract's `error` (the cause sentence), else its `message` with the "Recording failed: " prefix stripped. */
231
- message: string;
232
- remedy?: string;
233
- retryable: boolean;
234
- installCommand?: string;
235
- browser?: string;
236
- missing?: string[];
237
- step?: {
238
- index: number;
239
- label: string;
240
- };
241
- cause?: string;
242
- };
243
- }
244
- /** The recorder's own error kind for the fresh-install cause (matches interactive's preflight). */
245
- export declare const RECORDER_BROWSER_MISSING = "recorder_browser_missing";
246
- /**
247
- * Read a `status.posted` frame as a recorder failure: `state: "error"` + `source: "recorder"` + a
248
- * string `code`. Anything else — a seam's own narration (crew's `wi-crew` producer included), a
249
- * plain error status without the typed fields — is `null`.
250
- */
251
- export declare function parseRecorderError(eventType: string, payload: unknown): DemoRecordingFailure | null;
252
- /** The one diagnostics line for a relayed recorder failure: doc, spec run, code, cause, step, remedy. */
253
- export declare function recorderFailureLine(f: DemoRecordingFailure, runId?: string): string;
254
- /**
255
- * The first-spec run's problem statement (the engine scopes it per phase and folds each
256
- * phase's instructions on top). Carries the doc identity, the target URL VERBATIM, the brief
257
- * (flattened + capped: PTY, wicked-core FINDING-011), and the absolute inbox path the spec
258
- * must land at. Deliberately NO doc-workspace path: the unbound worker could not read or
259
- * write it anyway (wicked-core#294) — crew installs the spec at finalize.
260
- */
261
- export declare function demoProblem(doc: DemoDocCreated, outPath: string, grounding?: DemoGrounding): string;
262
- /** The subject-repo grounding a demo launch resolved (F-046): the app's repositories and where
263
- * their offline snapshots landed, when they did. */
264
- export interface DemoGrounding {
265
- subjects: Array<{
266
- name: string;
267
- snapshotDir?: string | undefined;
268
- }>;
269
- }
270
- /**
271
- * The re-author run's problem statement. Single-line; the bulky parts (the current spec, the
272
- * feedback fragments) ride in FILES inside the inbox — write roots are readable
273
- * (wicked-core#259) — so only identity, the capped instruction gist, and the three paths ride
274
- * here (the edit leg's handoff-by-file discipline).
275
- */
276
- export declare function demoReauthorProblem(handoff: StructuralHandoff, currentSpecPath: string, feedbackPath: string, outPath: string): string;
277
- /** Deterministic bus idempotency key for the FIRST record request this seam may trigger per
278
- * document. Distinct from every re-author key: a demo legitimately re-records many times, so
279
- * the record trigger must never dedupe across authoring generations. */
280
- export declare function demoIdempotencyKey(documentId: string): string;
281
- /** Deterministic bus idempotency key for the one re-record a given feedback handoff earns. */
282
- export declare function demoReauthorIdempotencyKey(documentId: string, version: number): string;
283
- /**
284
- * Deterministic pre-install self-check on the worker's spec (the demo leg's sibling of the
285
- * edit leg's INV-2 check): `recordDemo` imports the file and throws on a missing `run` export
286
- * (interactive demo.js), which would surface as a recording error AFTER crew claimed success.
287
- * Fail honest crew-side instead: a spec that plainly cannot satisfy the module contract is
288
- * never installed. Returns the human-readable violation, or `null` when the spec looks like a
289
- * real module. Deliberately shallow — a static check cannot execute the module, so it pins
290
- * only the export shape the contract mandates; a wrong-but-well-formed spec is the recording's
291
- * (and the user's) to judge, exactly like a wrong-but-anchor-safe edit on the edit leg.
292
- */
293
- export declare function specSelfCheck(spec: string): string | null;
294
- /** Options for {@link startInteractiveDemoSubscriber}. */
295
- export interface InteractiveDemoOptions {
296
- /** Bus SQLite db path. Omit to let wicked-bus resolve its own default
297
- * (honors `WICKED_BUS_DATA_DIR`) — where interactive's service emits unless redirected. */
298
- dbPath?: string;
299
- /** Poll cadence, ms (default 2000; tests shorten it). */
300
- pollIntervalMs?: number;
301
- /** Heartbeat narration cadence while a run is in flight, ms (default 15000 — inside the
302
- * UI's ~20s `status.requested` window so the canvas never reads frozen). */
303
- heartbeatMs?: number;
304
- /** Ledger file (default `~/.wicked-crew/interactive-demo-ledger.json`). */
305
- ledgerPath?: string;
306
- /** Root under which each launch gets its own per-run subdirectory (`<demoDir>/<docId>/` for
307
- * a first spec, `<demoDir>/<docId>-v<version>/` for a re-author) holding the deliverable
308
- * (and, on the re-author leg, the current-spec copy + feedback JSON); only that
309
- * subdirectory is declared as the run's extra write root (per-run isolation — Copilot,
310
- * crew#313). Default `~/.wicked-crew/interactive-demos`. */
311
- demoDir?: string;
312
- /** Seat roster JSON for the governed run (default: the production council roster).
313
- * The functional-test harness passes a deterministic stub seat here. */
314
- clisJson?: string;
315
- /** The roster accessor used when `clisJson` is not set — the server wires the daemon's roster
316
- * WITH crew's standing (`api/roster-standing.ts`, F-RECON-002/003) so a signed-out seat reaches
317
- * the engine benched (`health {usable: false, reason}`) instead of being convened or elected. */
318
- roster?: () => unknown[];
319
- /** The docs root a doc's workspace lives under — where the finished spec is INSTALLED and
320
- * where the feedback leg reads the manifest kind + current spec. Default: the
321
- * shared-default resolution (`WICKED_INTERACTIVE_ROOT` › `~/wicked-interactive/docs`);
322
- * the server wires the per-project `interactiveRoot` setting through here. */
323
- resolveDocsRoot?: (projectId: string | undefined) => string;
324
- /** Called after a launch that FILED the run into a project (the trigger carried
325
- * `project_id`). Same wiring as the sibling seams. */
326
- onRunFiled?: (runId: string, projectId: string) => void;
327
- /** Called after every successful `adapter.launchRun()` with the run id and provenance detail
328
- * (channel, actor when present). Server.ts wires it to `recordRunLaunched`. */
329
- onRunLaunched?: (runId: string, detail: Record<string, unknown>) => void;
330
- /** The create-time doc → subject-repo bindings the proxy recorded (F-046, `doc-grounding.ts` — a
331
- * `crew-grounding.json` sidecar beside the doc's `versions.json`, read under `resolveDocsRoot`);
332
- * the server wires the daemon's shared instance. */
333
- groundingStore?: DocGroundingStore;
334
- /** Repo-snapshot size budget in bytes (default ~200MB — see `snapshotRepo`); tests shrink it. */
335
- repoSnapshotMaxBytes?: number;
336
- /** Diagnostics sink (default: console.error). */
337
- log?: (message: string) => void;
338
- /** Error-level logger for connection-fatal subscriber errors (the /diagnostics ring folds it); defaults to `log`. */
339
- logError?: (message: string) => void;
340
- }
341
- /** Handle for a running subscription. */
342
- export interface InteractiveDemoSubscription {
343
- stop(): Promise<void> | void;
344
- /** The durable ledger (diagnostics / tests). Keys: `<doc>` = the first spec authoring,
345
- * `<doc>:v<N>` = the re-author for the feedback handoff on version N. */
346
- ledger: InteractiveHandoffLedger;
347
- /** Documents with a demo run currently in flight (either leg). */
348
- inFlightDocs(): string[];
349
- /** The last typed recorder failure relayed for a doc (F-RECON-013 companion), or `undefined`. */
350
- recorderFailure(documentId: string): (DemoRecordingFailure & {
351
- at: string;
352
- runId?: string;
353
- }) | undefined;
354
- }
355
- /**
356
- * Arm the seam: register the demo workflows, open durable subscriptions on
357
- * `wicked.interactive.doc.created` (kind:demo) and `wicked.interactive.feedback.processed`
358
- * (demo-kind docs), and answer each with a governed run that authors/installs
359
- * `demo.spec.mjs` and ends in `wicked.interactive.demo.requested` — the model-free service
360
- * then records the video and lands the storyboard version itself.
361
- *
362
- * Graceful degradation mirrors the sibling seams: a missing wicked-bus package or an
363
- * unopenable db LOGS and returns `null` — the daemon must still boot on a machine whose bus
364
- * is broken; the demo doc then simply keeps its placeholder (the pre-CREW-UX-9 state).
365
- */
366
- export declare function startInteractiveDemoSubscriber(adapter: CoreAdapter, opts?: InteractiveDemoOptions): Promise<InteractiveDemoSubscription | null>;
367
- //# sourceMappingURL=demo-events.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"demo-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