@dipoleml/dcode-cli 1.0.0 → 1.2.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 (447) hide show
  1. package/dist/THIRD-PARTY-NOTICES.md +1081 -12
  2. package/dist/dcode.cjs +59155 -45279
  3. package/dist/packages/browser-use-plugin/README.md +12 -12
  4. package/dist/packages/browser-use-plugin/docs/api.json +1 -1
  5. package/dist/packages/browser-use-plugin/docs/overview.md +5 -4
  6. package/dist/packages/browser-use-plugin/docs/workflow.md +1 -1
  7. package/dist/packages/browser-use-plugin/scripts/build.mjs +1 -0
  8. package/dist/packages/browser-use-plugin/skills/control-browser/SKILL.md +10 -7
  9. package/dist/packages/bundled-skills/skills/dynamic-workflows/SKILL.md +760 -687
  10. package/dist/packages/bundled-skills/skills/dynamic-workflows/examples.md +310 -1
  11. package/dist/packages/bundled-skills/skills/dynamic-workflows/patterns.md +336 -4
  12. package/dist/packages/node-repl-host/.dcode-plugin/plugin.json +1 -1
  13. package/dist/packages/node-repl-host/dist/mcp/server.js +9 -14
  14. package/dist/packages/node-repl-host/scripts/build.mjs +1 -0
  15. package/dist/provider/dcode-builtin.json +6544 -183
  16. package/node_modules/@dcode/contracts/dist/compact/index.d.ts +7 -7
  17. package/node_modules/@dcode/contracts/dist/config/index.d.ts +1 -1
  18. package/node_modules/@dcode/contracts/dist/events/event-reducer.js +1 -0
  19. package/node_modules/@dcode/contracts/dist/events/in-memory-session-event-store.js +3 -2
  20. package/node_modules/@dcode/contracts/dist/events/session-event-retention.d.ts +8 -0
  21. package/node_modules/@dcode/contracts/dist/events/session-event-retention.js +18 -0
  22. package/node_modules/@dcode/contracts/dist/events/session.events.d.ts +94 -16
  23. package/node_modules/@dcode/contracts/dist/events/session.events.js +10 -0
  24. package/node_modules/@dcode/contracts/dist/hooks/index.d.ts +134 -134
  25. package/node_modules/@dcode/contracts/dist/hooks/workspace-hook-trust.d.ts +14 -14
  26. package/node_modules/@dcode/contracts/dist/index.d.ts +2 -0
  27. package/node_modules/@dcode/contracts/dist/index.js +2 -0
  28. package/node_modules/@dcode/contracts/dist/interfaces/browser-control.port.d.ts +22 -0
  29. package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.d.ts +92 -0
  30. package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-hole.port.js +9 -0
  31. package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.d.ts +4 -4
  32. package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-retune.port.js +7 -3
  33. package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run-workspace.port.js +8 -3
  34. package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.d.ts +119 -18
  35. package/node_modules/@dcode/contracts/dist/interfaces/dynamic-workflow-run.port.js +13 -0
  36. package/node_modules/@dcode/contracts/dist/interfaces/index.d.ts +1 -0
  37. package/node_modules/@dcode/contracts/dist/interfaces/index.js +1 -0
  38. package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.d.ts +161 -1
  39. package/node_modules/@dcode/contracts/dist/interfaces/mcp.port.js +17 -0
  40. package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.d.ts +15 -15
  41. package/node_modules/@dcode/contracts/dist/interfaces/permission-full-access.js +1 -1
  42. package/node_modules/@dcode/contracts/dist/interfaces/permission.port.d.ts +15 -1
  43. package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.d.ts +19 -0
  44. package/node_modules/@dcode/contracts/dist/interfaces/provider-endpoint-routing.port.js +1 -0
  45. package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.d.ts +4 -2
  46. package/node_modules/@dcode/contracts/dist/interfaces/session-store.port.js +5 -0
  47. package/node_modules/@dcode/contracts/dist/interfaces/session.port.d.ts +92 -3
  48. package/node_modules/@dcode/contracts/dist/interfaces/session.port.js +4 -1
  49. package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.d.ts +25 -0
  50. package/node_modules/@dcode/contracts/dist/interfaces/topic-resource.port.js +1 -0
  51. package/node_modules/@dcode/contracts/dist/model/index.d.ts +15 -1
  52. package/node_modules/@dcode/contracts/dist/model/index.js +5 -0
  53. package/node_modules/@dcode/contracts/dist/model/invocation-context.d.ts +6 -1
  54. package/node_modules/@dcode/contracts/dist/plugins/index.d.ts +23 -0
  55. package/node_modules/@dcode/contracts/dist/plugins/index.js +2 -1
  56. package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.d.ts +2 -0
  57. package/node_modules/@dcode/contracts/dist/telemetry/agent-execution.js +2 -0
  58. package/node_modules/@dcode/contracts/dist/telemetry/index.d.ts +5 -1
  59. package/node_modules/@dcode/contracts/dist/telemetry/index.js +12 -0
  60. package/node_modules/@dcode/contracts/dist/tools/agent.d.ts +12 -12
  61. package/node_modules/@dcode/contracts/dist/tools/amend-workflow.d.ts +39 -15
  62. package/node_modules/@dcode/contracts/dist/tools/amend-workflow.js +12 -6
  63. package/node_modules/@dcode/contracts/dist/tools/automation.d.ts +32 -32
  64. package/node_modules/@dcode/contracts/dist/tools/automation.js +1 -1
  65. package/node_modules/@dcode/contracts/dist/tools/bash.d.ts +16 -16
  66. package/node_modules/@dcode/contracts/dist/tools/bash.js +1 -1
  67. package/node_modules/@dcode/contracts/dist/tools/create-workflow.d.ts +365 -66
  68. package/node_modules/@dcode/contracts/dist/tools/create-workflow.js +92 -11
  69. package/node_modules/@dcode/contracts/dist/tools/edit.d.ts +16 -16
  70. package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.d.ts +6 -6
  71. package/node_modules/@dcode/contracts/dist/tools/eval-workflow-snippet.js +5 -1
  72. package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.d.ts +729 -0
  73. package/node_modules/@dcode/contracts/dist/tools/fill-workflow-hole.js +102 -0
  74. package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.d.ts +136 -28
  75. package/node_modules/@dcode/contracts/dist/tools/get-workflow-run.js +36 -0
  76. package/node_modules/@dcode/contracts/dist/tools/grep.d.ts +4 -4
  77. package/node_modules/@dcode/contracts/dist/tools/grep.js +4 -0
  78. package/node_modules/@dcode/contracts/dist/tools/index.d.ts +2 -0
  79. package/node_modules/@dcode/contracts/dist/tools/index.js +4 -0
  80. package/node_modules/@dcode/contracts/dist/tools/list-saved-workflows.d.ts +8 -8
  81. package/node_modules/@dcode/contracts/dist/tools/list-workflow-runs.d.ts +8 -8
  82. package/node_modules/@dcode/contracts/dist/tools/node-repl.d.ts +2 -2
  83. package/node_modules/@dcode/contracts/dist/tools/off-peak.d.ts +3 -3
  84. package/node_modules/@dcode/contracts/dist/tools/off-peak.js +2 -2
  85. package/node_modules/@dcode/contracts/dist/tools/performance.d.ts +22 -22
  86. package/node_modules/@dcode/contracts/dist/tools/plan-mode.d.ts +12 -12
  87. package/node_modules/@dcode/contracts/dist/tools/plan-mode.js +6 -4
  88. package/node_modules/@dcode/contracts/dist/tools/read-session-context.d.ts +86 -13
  89. package/node_modules/@dcode/contracts/dist/tools/read-session-context.js +37 -6
  90. package/node_modules/@dcode/contracts/dist/tools/read.d.ts +38 -38
  91. package/node_modules/@dcode/contracts/dist/tools/save-workflow.d.ts +21 -10
  92. package/node_modules/@dcode/contracts/dist/tools/save-workflow.js +22 -2
  93. package/node_modules/@dcode/contracts/dist/tools/saved-workflow.d.ts +4 -4
  94. package/node_modules/@dcode/contracts/dist/tools/send-message.d.ts +2 -2
  95. package/node_modules/@dcode/contracts/dist/tools/skill.js +1 -0
  96. package/node_modules/@dcode/contracts/dist/tools/task-output.d.ts +6 -6
  97. package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.d.ts +1228 -259
  98. package/node_modules/@dcode/contracts/dist/tools/tool-result-metadata.js +41 -0
  99. package/node_modules/@dcode/contracts/dist/tools/webfetch.d.ts +2 -2
  100. package/node_modules/@dcode/contracts/dist/tools/workflow-observation-display.d.ts +20 -20
  101. package/node_modules/@dcode/contracts/dist/tools/workflow-settings.d.ts +55 -0
  102. package/node_modules/@dcode/contracts/dist/tools/workflow-settings.js +86 -0
  103. package/node_modules/@dcode/contracts/dist/tools/workflow.d.ts +8 -8
  104. package/node_modules/@dcode/contracts/dist/tools/write.d.ts +18 -18
  105. package/node_modules/@dcode/contracts/dist/workflow/index.d.ts +98 -98
  106. package/node_modules/@dcode/contracts/dist/workflow/script.d.ts +12 -12
  107. package/node_modules/@dcode/i18n/dist/index.js +2 -2
  108. package/node_modules/@dcode/i18n/dist/locale.d.ts +1 -1
  109. package/node_modules/@dcode/i18n/dist/locale.js +4 -4
  110. package/node_modules/@dcode/i18n/dist/locales/en-US.js +5 -5
  111. package/node_modules/@dcode/i18n/dist/locales/fr-CA.d.ts +3 -0
  112. package/node_modules/@dcode/i18n/dist/locales/fr-CA.js +354 -0
  113. package/node_modules/@dcode/model-option-map/package.json +1 -1
  114. package/node_modules/@dcode/shared/dist/api-key-usage-scene.d.ts +7 -0
  115. package/node_modules/@dcode/shared/dist/api-key-usage-scene.js +6 -0
  116. package/node_modules/@dcode/shared/dist/attachment-source.d.ts +8 -0
  117. package/node_modules/@dcode/shared/dist/attachment-source.js +4 -0
  118. package/node_modules/@dcode/shared/dist/background-bash-output.d.ts +4 -4
  119. package/node_modules/@dcode/shared/dist/bots.d.ts +759 -11
  120. package/node_modules/@dcode/shared/dist/bots.js +236 -2
  121. package/node_modules/@dcode/shared/dist/browser-use/command-metadata.d.ts +2 -2
  122. package/node_modules/@dcode/shared/dist/browser-use/commands.d.ts +4 -3
  123. package/node_modules/@dcode/shared/dist/browser-use/commands.js +3 -1
  124. package/node_modules/@dcode/shared/dist/browser-use/nodeReplBroker.d.ts +5 -4
  125. package/node_modules/@dcode/shared/dist/browser-use/result.d.ts +6 -6
  126. package/node_modules/@dcode/shared/dist/channel-mention.d.ts +173 -0
  127. package/node_modules/@dcode/shared/dist/channel-mention.js +120 -0
  128. package/node_modules/@dcode/shared/dist/channels.d.ts +128 -1
  129. package/node_modules/@dcode/shared/dist/channels.js +66 -0
  130. package/node_modules/@dcode/shared/dist/clientConfig.d.ts +1 -0
  131. package/node_modules/@dcode/shared/dist/clientConfig.js +18 -2
  132. package/node_modules/@dcode/shared/dist/cloudContent.d.ts +160 -0
  133. package/node_modules/@dcode/shared/dist/cloudContent.js +116 -0
  134. package/node_modules/@dcode/shared/dist/coding-plan-subscription.d.ts +59 -0
  135. package/node_modules/@dcode/shared/dist/conversation-message-projection-policy.js +2 -0
  136. package/node_modules/@dcode/shared/dist/conversation-share.d.ts +378 -74
  137. package/node_modules/@dcode/shared/dist/conversation-share.js +8 -6
  138. package/node_modules/@dcode/shared/dist/conversationSelection.d.ts +23 -0
  139. package/node_modules/@dcode/shared/dist/conversationSelection.js +30 -0
  140. package/node_modules/@dcode/shared/dist/database-startup.d.ts +5 -5
  141. package/node_modules/@dcode/shared/dist/dcode-agent-model-state.js +14 -6
  142. package/node_modules/@dcode/shared/dist/dcode-agent-policy.d.ts +16 -1
  143. package/node_modules/@dcode/shared/dist/dcode-agent-policy.js +17 -1
  144. package/node_modules/@dcode/shared/dist/dcode-agent-runtime.js +1 -1
  145. package/node_modules/@dcode/shared/dist/dcode-protocol/index.d.ts +3215 -1800
  146. package/node_modules/@dcode/shared/dist/dcode-protocol/index.js +555 -24
  147. package/node_modules/@dcode/shared/dist/dcode-protocol/trace.d.ts +9 -0
  148. package/node_modules/@dcode/shared/dist/dcode-protocol/trace.js +10 -0
  149. package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.d.ts +30 -20
  150. package/node_modules/@dcode/shared/dist/dcode-protocol-legacy-types.js +3 -1
  151. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/apply.js +12 -3
  152. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.d.ts +5 -0
  153. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/attachment-ref.js +3 -0
  154. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.d.ts +3 -1
  155. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/coalesce.js +3 -1
  156. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.d.ts +388 -57
  157. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/command.js +67 -45
  158. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/controller.d.ts +208 -103
  159. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.d.ts +20 -0
  160. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-session-config.js +15 -0
  161. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.d.ts +34 -0
  162. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/create-workflow-display.js +45 -1
  163. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.d.ts +1453 -278
  164. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/delta.js +45 -2
  165. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.d.ts +1 -0
  166. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/index.js +1 -0
  167. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.d.ts +173 -6
  168. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/input-intent.js +29 -0
  169. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.d.ts +731 -125
  170. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/rows.js +23 -11
  171. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.d.ts +30 -11
  172. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index-workflow-activity.js +35 -3
  173. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/sessions-index.d.ts +40 -25
  174. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.d.ts +1444 -216
  175. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/snapshot.js +3 -0
  176. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.d.ts +1 -0
  177. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/submission.js +1 -1
  178. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/telemetry.d.ts +62 -58
  179. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.d.ts +185 -50
  180. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/toolDisplay.js +31 -3
  181. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.d.ts +7728 -1585
  182. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/transport.js +18 -5
  183. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-assembler.js +2 -1
  184. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-fault.js +4 -1
  185. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/wire-reassembly.js +5 -3
  186. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.d.ts +29 -1
  187. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-artifacts.js +64 -4
  188. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.d.ts +13 -0
  189. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-command-rejections.js +23 -0
  190. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-observation-display.d.ts +14 -14
  191. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.d.ts +52 -8
  192. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-row-meta.js +22 -3
  193. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.d.ts +4 -4
  194. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-run-settings-command.js +2 -2
  195. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.d.ts +21 -0
  196. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-session.js +44 -0
  197. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.d.ts +1 -1
  198. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-actor-status.js +3 -2
  199. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-caps.js +5 -4
  200. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.d.ts +26 -19
  201. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-concurrency.js +40 -32
  202. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.d.ts +4 -3
  203. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-delta.js +4 -3
  204. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.d.ts +12 -2
  205. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-entries.js +44 -6
  206. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.d.ts +2 -2
  207. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-eviction.js +17 -10
  208. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.d.ts +33 -0
  209. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-holes.js +202 -0
  210. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.d.ts +1 -1
  211. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-legacy.js +1 -1
  212. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-phases.js +10 -1
  213. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.d.ts +1 -1
  214. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-reducer.js +29 -22
  215. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-started.js +5 -2
  216. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-tables.js +2 -1
  217. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs-unlisted.js +6 -3
  218. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.d.ts +125 -40
  219. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-runs.js +101 -26
  220. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workflow-workspace.d.ts +4 -4
  221. package/node_modules/@dcode/shared/dist/dcode-protocol-v4/workspace-hook-review.d.ts +1 -1
  222. package/node_modules/@dcode/shared/dist/dcode-session-content-profile.d.ts +5 -0
  223. package/node_modules/@dcode/shared/dist/dcode-session-content-profile.js +49 -0
  224. package/node_modules/@dcode/shared/dist/dcode-slash-command-help.js +4 -4
  225. package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.d.ts +6 -1
  226. package/node_modules/@dcode/shared/dist/dcode-task-mode-schema.js +13 -1
  227. package/node_modules/@dcode/shared/dist/dcode-task-types-core.d.ts +12 -2
  228. package/node_modules/@dcode/shared/dist/dcode-task-types.d.ts +23 -0
  229. package/node_modules/@dcode/shared/dist/dcodeEndpoint.d.ts +22 -1
  230. package/node_modules/@dcode/shared/dist/dcodeEndpoint.js +102 -17
  231. package/node_modules/@dcode/shared/dist/desktopMenu.js +48 -48
  232. package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.d.ts +35 -6
  233. package/node_modules/@dcode/shared/dist/dynamic-workflow-feature.js +45 -6
  234. package/node_modules/@dcode/shared/dist/env.d.ts +5 -4
  235. package/node_modules/@dcode/shared/dist/env.js +9 -9
  236. package/node_modules/@dcode/shared/dist/errors.d.ts +24 -0
  237. package/node_modules/@dcode/shared/dist/errors.js +54 -0
  238. package/node_modules/@dcode/shared/dist/execution-state.d.ts +4 -2
  239. package/node_modules/@dcode/shared/dist/execution-state.js +1 -1
  240. package/node_modules/@dcode/shared/dist/feedback.d.ts +1 -1
  241. package/node_modules/@dcode/shared/dist/gen-ui/contract.d.ts +140 -0
  242. package/node_modules/@dcode/shared/dist/gen-ui/contract.example.d.ts +5 -0
  243. package/node_modules/@dcode/shared/dist/gen-ui/contract.example.js +36 -0
  244. package/node_modules/@dcode/shared/dist/gen-ui/contract.js +196 -0
  245. package/node_modules/@dcode/shared/dist/gen-ui/contract.test.d.ts +2 -0
  246. package/node_modules/@dcode/shared/dist/gen-ui/contract.test.js +75 -0
  247. package/node_modules/@dcode/shared/dist/gen-ui/index.d.ts +2 -0
  248. package/node_modules/@dcode/shared/dist/gen-ui/index.js +2 -0
  249. package/node_modules/@dcode/shared/dist/gen-ui/module.d.ts +7 -0
  250. package/node_modules/@dcode/shared/dist/gen-ui/module.js +7 -0
  251. package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.d.ts +202 -0
  252. package/node_modules/@dcode/shared/dist/gen-ui/tweakProtocol.js +126 -0
  253. package/node_modules/@dcode/shared/dist/helpAppConfig.d.ts +1 -1
  254. package/node_modules/@dcode/shared/dist/helpAppConfig.js +2 -2
  255. package/node_modules/@dcode/shared/dist/highspeed.d.ts +181 -0
  256. package/node_modules/@dcode/shared/dist/highspeed.js +112 -0
  257. package/node_modules/@dcode/shared/dist/index.d.ts +27 -5
  258. package/node_modules/@dcode/shared/dist/index.js +24 -2
  259. package/node_modules/@dcode/shared/dist/localTtft.d.ts +27 -27
  260. package/node_modules/@dcode/shared/dist/marketingTouch.d.ts +930 -0
  261. package/node_modules/@dcode/shared/dist/marketingTouch.js +170 -0
  262. package/node_modules/@dcode/shared/dist/mcp-apps/appTools.d.ts +83 -0
  263. package/node_modules/@dcode/shared/dist/mcp-apps/appTools.js +124 -0
  264. package/node_modules/@dcode/shared/dist/mcp-apps/content.d.ts +4 -0
  265. package/node_modules/@dcode/shared/dist/mcp-apps/content.js +8 -0
  266. package/node_modules/@dcode/shared/dist/mcp-apps/contract.d.ts +241 -0
  267. package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.d.ts +31 -0
  268. package/node_modules/@dcode/shared/dist/mcp-apps/contract.example.js +42 -0
  269. package/node_modules/@dcode/shared/dist/mcp-apps/contract.js +101 -0
  270. package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.d.ts +2 -0
  271. package/node_modules/@dcode/shared/dist/mcp-apps/contract.test.js +64 -0
  272. package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.d.ts +47 -0
  273. package/node_modules/@dcode/shared/dist/mcp-apps/hostContract.js +8 -0
  274. package/node_modules/@dcode/shared/dist/mcp-apps/index.d.ts +9 -0
  275. package/node_modules/@dcode/shared/dist/mcp-apps/index.js +9 -0
  276. package/node_modules/@dcode/shared/dist/mcp-apps/instance.d.ts +10 -0
  277. package/node_modules/@dcode/shared/dist/mcp-apps/instance.js +11 -0
  278. package/node_modules/@dcode/shared/dist/mcp-apps/module.d.ts +12 -0
  279. package/node_modules/@dcode/shared/dist/mcp-apps/module.js +12 -0
  280. package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.d.ts +8 -0
  281. package/node_modules/@dcode/shared/dist/mcp-apps/resourceMime.js +73 -0
  282. package/node_modules/@dcode/shared/dist/mcp-apps/sampling.d.ts +101 -0
  283. package/node_modules/@dcode/shared/dist/mcp-apps/sampling.js +107 -0
  284. package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.d.ts +2 -0
  285. package/node_modules/@dcode/shared/dist/mcp-apps/sampling.test.js +55 -0
  286. package/node_modules/@dcode/shared/dist/mcp-apps/schemas.d.ts +78 -0
  287. package/node_modules/@dcode/shared/dist/mcp-apps/schemas.js +65 -0
  288. package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.d.ts +39 -0
  289. package/node_modules/@dcode/shared/dist/mcp-apps/toolMeta.js +199 -0
  290. package/node_modules/@dcode/shared/dist/mcp.d.ts +6 -2
  291. package/node_modules/@dcode/shared/dist/memory.d.ts +9 -0
  292. package/node_modules/@dcode/shared/dist/memory.js +2 -0
  293. package/node_modules/@dcode/shared/dist/model-execution.d.ts +31 -0
  294. package/node_modules/@dcode/shared/dist/model-execution.js +38 -0
  295. package/node_modules/@dcode/shared/dist/networkCapture.d.ts +49 -0
  296. package/node_modules/@dcode/shared/dist/networkCapture.js +41 -0
  297. package/node_modules/@dcode/shared/dist/node/genUiPaths.d.ts +6 -0
  298. package/node_modules/@dcode/shared/dist/node/genUiPaths.js +16 -0
  299. package/node_modules/@dcode/shared/dist/node/genUiPaths.test.d.ts +2 -0
  300. package/node_modules/@dcode/shared/dist/node/genUiPaths.test.js +30 -0
  301. package/node_modules/@dcode/shared/dist/node/networkCapture.d.ts +8 -0
  302. package/node_modules/@dcode/shared/dist/node/networkCapture.js +96 -0
  303. package/node_modules/@dcode/shared/dist/node/officialPluginCache.d.ts +1 -2
  304. package/node_modules/@dcode/shared/dist/node/subagentMarkdownMigration.d.ts +1 -2
  305. package/node_modules/@dcode/shared/dist/node.d.ts +2 -0
  306. package/node_modules/@dcode/shared/dist/node.js +2 -0
  307. package/node_modules/@dcode/shared/dist/output-style.d.ts +17 -0
  308. package/node_modules/@dcode/shared/dist/output-style.js +2 -0
  309. package/node_modules/@dcode/shared/dist/platform.d.ts +149 -1
  310. package/node_modules/@dcode/shared/dist/platform.js +2 -0
  311. package/node_modules/@dcode/shared/dist/platformUpdate.d.ts +61 -0
  312. package/node_modules/@dcode/shared/dist/platformUpdate.js +2 -0
  313. package/node_modules/@dcode/shared/dist/plugin-marketplaces.d.ts +5 -0
  314. package/node_modules/@dcode/shared/dist/plugin-marketplaces.js +20 -14
  315. package/node_modules/@dcode/shared/dist/project-access-token-client.d.ts +42 -0
  316. package/node_modules/@dcode/shared/dist/project-access-token-client.js +260 -0
  317. package/node_modules/@dcode/shared/dist/project-access-token-response.d.ts +4 -0
  318. package/node_modules/@dcode/shared/dist/project-access-token-response.js +9 -0
  319. package/node_modules/@dcode/shared/dist/project-access-token.d.ts +45 -0
  320. package/node_modules/@dcode/shared/dist/project-access-token.js +164 -0
  321. package/node_modules/@dcode/shared/dist/protocol.d.ts +46 -4
  322. package/node_modules/@dcode/shared/dist/protocol.js +1 -1
  323. package/node_modules/@dcode/shared/dist/provider-provisioning.d.ts +26 -2
  324. package/node_modules/@dcode/shared/dist/provider-provisioning.js +19 -3
  325. package/node_modules/@dcode/shared/dist/providers.d.ts +1 -2
  326. package/node_modules/@dcode/shared/dist/providers.js +1 -1
  327. package/node_modules/@dcode/shared/dist/remote-workspace-identity.d.ts +6 -1
  328. package/node_modules/@dcode/shared/dist/remote-workspace-identity.js +35 -1
  329. package/node_modules/@dcode/shared/dist/remoteAppConfig.js +1 -1
  330. package/node_modules/@dcode/shared/dist/remoteEnvironmentKey.js +19 -0
  331. package/node_modules/@dcode/shared/dist/remoteTarget.d.ts +14 -1
  332. package/node_modules/@dcode/shared/dist/remoteTarget.js +4 -0
  333. package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.d.ts +27 -0
  334. package/node_modules/@dcode/shared/dist/remoteUsageTelemetry.js +43 -0
  335. package/node_modules/@dcode/shared/dist/rendererActionTrace.d.ts +35 -35
  336. package/node_modules/@dcode/shared/dist/request-security-edition/index.d.ts +3 -0
  337. package/node_modules/@dcode/shared/dist/request-security-edition/index.js +3 -0
  338. package/node_modules/@dcode/shared/dist/request-security-edition/policy.d.ts +3 -0
  339. package/node_modules/@dcode/shared/dist/request-security-edition/policy.js +5 -0
  340. package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.d.ts +19 -0
  341. package/node_modules/@dcode/shared/dist/request-security-edition/verification-policy.js +29 -0
  342. package/node_modules/@dcode/shared/dist/rewardsBridge.d.ts +8 -0
  343. package/node_modules/@dcode/shared/dist/rewardsBridge.js +80 -0
  344. package/node_modules/@dcode/shared/dist/rewardsEmbedded.d.ts +37 -0
  345. package/node_modules/@dcode/shared/dist/rewardsEmbedded.js +50 -0
  346. package/node_modules/@dcode/shared/dist/sessionCreateTelemetry.d.ts +3 -3
  347. package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.d.ts +10 -0
  348. package/node_modules/@dcode/shared/dist/subagent-profile-frontmatter.js +212 -0
  349. package/node_modules/@dcode/shared/dist/subagent-profile-parser.d.ts +10 -0
  350. package/node_modules/@dcode/shared/dist/subagent-profile-parser.js +200 -0
  351. package/node_modules/@dcode/shared/dist/subagent-profile.d.ts +82 -0
  352. package/node_modules/@dcode/shared/dist/subagent-profile.js +28 -0
  353. package/node_modules/@dcode/shared/dist/subagent-runtime-config.d.ts +135 -0
  354. package/node_modules/@dcode/shared/dist/subagent-runtime-config.js +39 -0
  355. package/node_modules/@dcode/shared/dist/subagents-types.d.ts +1 -1
  356. package/node_modules/@dcode/shared/dist/task-realtime-core.d.ts +57 -24
  357. package/node_modules/@dcode/shared/dist/task-realtime-core.js +8 -2
  358. package/node_modules/@dcode/shared/dist/test-ids-workflow.d.ts +4 -0
  359. package/node_modules/@dcode/shared/dist/test-ids-workflow.js +5 -0
  360. package/node_modules/@dcode/shared/dist/test-ids.d.ts +25 -0
  361. package/node_modules/@dcode/shared/dist/test-ids.js +25 -0
  362. package/node_modules/@dcode/shared/dist/tool-identity.d.ts +1 -1
  363. package/node_modules/@dcode/shared/dist/tool-identity.js +4 -0
  364. package/node_modules/@dcode/shared/dist/tool-plan-adapter.js +14 -1
  365. package/node_modules/@dcode/shared/dist/usage-stats.d.ts +13 -0
  366. package/node_modules/@dcode/shared/dist/validation.d.ts +1542 -166
  367. package/node_modules/@dcode/shared/dist/validation.js +423 -14
  368. package/node_modules/@dcode/shared/dist/validationAppSettings.d.ts +70 -14
  369. package/node_modules/@dcode/shared/dist/validationAppSettings.js +74 -12
  370. package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.d.ts +8 -0
  371. package/node_modules/@dcode/shared/dist/web-remote-control-heartbeat.js +40 -0
  372. package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.d.ts +183 -0
  373. package/node_modules/@dcode/shared/dist/web-remote-control-rpc-transport.js +562 -0
  374. package/node_modules/@dcode/shared/dist/web-remote-control.d.ts +645 -0
  375. package/node_modules/@dcode/shared/dist/web-remote-control.js +174 -0
  376. package/node_modules/@dcode/shared/package.json +5 -2
  377. package/node_modules/@dcode/tui/dist/app-approval-panel.js +3 -2
  378. package/node_modules/@dcode/tui/dist/app-approval.d.ts +3 -1
  379. package/node_modules/@dcode/tui/dist/app-approval.js +9 -5
  380. package/node_modules/@dcode/tui/dist/app-compact-timeline.d.ts +3 -0
  381. package/node_modules/@dcode/tui/dist/app-compact-timeline.js +5 -2
  382. package/node_modules/@dcode/tui/dist/app-empty-transcript.d.ts +1 -0
  383. package/node_modules/@dcode/tui/dist/app-empty-transcript.js +1 -1
  384. package/node_modules/@dcode/tui/dist/app-file-mentions.d.ts +2 -0
  385. package/node_modules/@dcode/tui/dist/app-file-mentions.js +2 -2
  386. package/node_modules/@dcode/tui/dist/app-input-pane.d.ts +38 -0
  387. package/node_modules/@dcode/tui/dist/app-input-pane.js +19 -19
  388. package/node_modules/@dcode/tui/dist/app-input-status.d.ts +17 -0
  389. package/node_modules/@dcode/tui/dist/app-input-status.js +4 -4
  390. package/node_modules/@dcode/tui/dist/app-input.d.ts +1 -0
  391. package/node_modules/@dcode/tui/dist/app-input.js +1 -1
  392. package/node_modules/@dcode/tui/dist/app-markdown-theme.d.ts +2 -1
  393. package/node_modules/@dcode/tui/dist/app-markdown-theme.js +1 -1
  394. package/node_modules/@dcode/tui/dist/app-markdown.d.ts +1 -0
  395. package/node_modules/@dcode/tui/dist/app-markdown.js +1 -1
  396. package/node_modules/@dcode/tui/dist/app-mode-command.d.ts +3 -0
  397. package/node_modules/@dcode/tui/dist/app-mode-command.js +4 -4
  398. package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.d.ts +5 -0
  399. package/node_modules/@dcode/tui/dist/app-mode-suggestion-panel.js +1 -1
  400. package/node_modules/@dcode/tui/dist/app-mode.d.ts +1 -1
  401. package/node_modules/@dcode/tui/dist/app-mode.js +1 -1
  402. package/node_modules/@dcode/tui/dist/app-model-ref.d.ts +1 -0
  403. package/node_modules/@dcode/tui/dist/app-model-ref.js +1 -1
  404. package/node_modules/@dcode/tui/dist/app-motion.d.ts +13 -0
  405. package/node_modules/@dcode/tui/dist/app-motion.js +17 -7
  406. package/node_modules/@dcode/tui/dist/app-session-event-handler.d.ts +33 -0
  407. package/node_modules/@dcode/tui/dist/app-session-event-handler.js +4 -4
  408. package/node_modules/@dcode/tui/dist/app-shiki-diff-view.d.ts +18 -1
  409. package/node_modules/@dcode/tui/dist/app-shiki-diff-view.js +3 -3
  410. package/node_modules/@dcode/tui/dist/app-shiki-highlighter.d.ts +3 -0
  411. package/node_modules/@dcode/tui/dist/app-shiki-highlighter.js +7 -2
  412. package/node_modules/@dcode/tui/dist/app-sidebar-layout.d.ts +10 -0
  413. package/node_modules/@dcode/tui/dist/app-sidebar-layout.js +4 -4
  414. package/node_modules/@dcode/tui/dist/app-submit.d.ts +1 -0
  415. package/node_modules/@dcode/tui/dist/app-submit.js +1 -1
  416. package/node_modules/@dcode/tui/dist/app-thought-components.d.ts +7 -0
  417. package/node_modules/@dcode/tui/dist/app-thought-components.js +2 -2
  418. package/node_modules/@dcode/tui/dist/app-tool-transcript.d.ts +1 -0
  419. package/node_modules/@dcode/tui/dist/app-tool-transcript.js +3 -0
  420. package/node_modules/@dcode/tui/dist/app-view.d.ts +27 -0
  421. package/node_modules/@dcode/tui/dist/app-view.js +1 -1
  422. package/node_modules/@dcode/tui/dist/app-workflow-card.js +1 -1
  423. package/node_modules/@dcode/tui/dist/app-workflow-seed.d.ts +18 -1
  424. package/node_modules/@dcode/tui/dist/app-workflow-seed.js +4 -4
  425. package/node_modules/@dcode/tui/dist/index.js +5117 -2578
  426. package/node_modules/@dcode/tui/dist/tui.d.ts +3 -0
  427. package/node_modules/@dcode/tui/dist/tui.js +1 -1
  428. package/node_modules/@dcode/tui/dist/types.d.ts +1 -1
  429. package/node_modules/oniguruma-parser/LICENSE +1 -1
  430. package/node_modules/oniguruma-parser/README.md +15 -61
  431. package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js +4 -4
  432. package/node_modules/oniguruma-parser/dist/parser/parse.js +1 -1
  433. package/node_modules/oniguruma-parser/dist/traverser/traverse.js +1 -1
  434. package/node_modules/oniguruma-parser/package.json +5 -5
  435. package/node_modules/oniguruma-to-es/dist/cjs/generate.d.ts +1 -1
  436. package/node_modules/oniguruma-to-es/dist/cjs/index.js +121 -120
  437. package/node_modules/oniguruma-to-es/dist/cjs/subclass.d.ts +2 -2
  438. package/node_modules/oniguruma-to-es/dist/cjs/transform.d.ts +3 -5
  439. package/node_modules/oniguruma-to-es/dist/cjs/unicode.d.ts +1 -1
  440. package/node_modules/oniguruma-to-es/dist/esm/generate.d.ts +1 -1
  441. package/node_modules/oniguruma-to-es/dist/esm/index.js +1 -3
  442. package/node_modules/oniguruma-to-es/dist/esm/subclass.d.ts +2 -2
  443. package/node_modules/oniguruma-to-es/dist/esm/transform.d.ts +3 -5
  444. package/node_modules/oniguruma-to-es/dist/esm/unicode.d.ts +1 -1
  445. package/node_modules/oniguruma-to-es/dist/index.min.js +6 -6
  446. package/node_modules/oniguruma-to-es/package.json +5 -5
  447. package/package.json +5 -5
@@ -223,8 +223,8 @@ export declare const WorkflowPhaseDefinitionSchema: z.ZodObject<{
223
223
  }>>;
224
224
  title: z.ZodString;
225
225
  }, "strip", z.ZodTypeAny, {
226
- description: string;
227
226
  title: string;
227
+ description: string;
228
228
  phase: string;
229
229
  behavior: "agent" | "complete" | "scheduled_graph" | "critic";
230
230
  artifactPath?: string | undefined;
@@ -236,8 +236,8 @@ export declare const WorkflowPhaseDefinitionSchema: z.ZodObject<{
236
236
  gateAfterPhase?: string | undefined;
237
237
  } | undefined;
238
238
  }, {
239
- description: string;
240
239
  title: string;
240
+ description: string;
241
241
  phase: string;
242
242
  behavior?: "agent" | "complete" | "scheduled_graph" | "critic" | undefined;
243
243
  artifactPath?: string | undefined;
@@ -280,8 +280,8 @@ export declare const WorkflowDefinitionSchema: z.ZodEffects<z.ZodObject<{
280
280
  }>>;
281
281
  title: z.ZodString;
282
282
  }, "strip", z.ZodTypeAny, {
283
- description: string;
284
283
  title: string;
284
+ description: string;
285
285
  phase: string;
286
286
  behavior: "agent" | "complete" | "scheduled_graph" | "critic";
287
287
  artifactPath?: string | undefined;
@@ -293,8 +293,8 @@ export declare const WorkflowDefinitionSchema: z.ZodEffects<z.ZodObject<{
293
293
  gateAfterPhase?: string | undefined;
294
294
  } | undefined;
295
295
  }, {
296
- description: string;
297
296
  title: string;
297
+ description: string;
298
298
  phase: string;
299
299
  behavior?: "agent" | "complete" | "scheduled_graph" | "critic" | undefined;
300
300
  artifactPath?: string | undefined;
@@ -397,8 +397,8 @@ export declare const WorkflowDefinitionSchema: z.ZodEffects<z.ZodObject<{
397
397
  kind: string;
398
398
  title: string;
399
399
  phases: {
400
- description: string;
401
400
  title: string;
401
+ description: string;
402
402
  phase: string;
403
403
  behavior: "agent" | "complete" | "scheduled_graph" | "critic";
404
404
  artifactPath?: string | undefined;
@@ -438,8 +438,8 @@ export declare const WorkflowDefinitionSchema: z.ZodEffects<z.ZodObject<{
438
438
  kind: string;
439
439
  title: string;
440
440
  phases: {
441
- description: string;
442
441
  title: string;
442
+ description: string;
443
443
  phase: string;
444
444
  behavior?: "agent" | "complete" | "scheduled_graph" | "critic" | undefined;
445
445
  artifactPath?: string | undefined;
@@ -479,8 +479,8 @@ export declare const WorkflowDefinitionSchema: z.ZodEffects<z.ZodObject<{
479
479
  kind: string;
480
480
  title: string;
481
481
  phases: {
482
- description: string;
483
482
  title: string;
483
+ description: string;
484
484
  phase: string;
485
485
  behavior: "agent" | "complete" | "scheduled_graph" | "critic";
486
486
  artifactPath?: string | undefined;
@@ -520,8 +520,8 @@ export declare const WorkflowDefinitionSchema: z.ZodEffects<z.ZodObject<{
520
520
  kind: string;
521
521
  title: string;
522
522
  phases: {
523
- description: string;
524
523
  title: string;
524
+ description: string;
525
525
  phase: string;
526
526
  behavior?: "agent" | "complete" | "scheduled_graph" | "critic" | undefined;
527
527
  artifactPath?: string | undefined;
@@ -566,15 +566,15 @@ export declare const WorkflowArtifactSchema: z.ZodObject<{
566
566
  path: z.ZodString;
567
567
  phase: z.ZodOptional<z.ZodString>;
568
568
  }, "strip", z.ZodTypeAny, {
569
+ path: string;
569
570
  label: string;
570
571
  createdAt: string;
571
- path: string;
572
572
  contentType: string;
573
573
  phase?: string | undefined;
574
574
  }, {
575
+ path: string;
575
576
  label: string;
576
577
  createdAt: string;
577
- path: string;
578
578
  contentType: string;
579
579
  phase?: string | undefined;
580
580
  }>;
@@ -668,15 +668,15 @@ export declare const WorkflowRecoveryActionSchema: z.ZodObject<{
668
668
  }, "strip", z.ZodTypeAny, {
669
669
  label: string;
670
670
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
671
- phase?: string | undefined;
672
671
  destructive?: boolean | undefined;
672
+ phase?: string | undefined;
673
673
  nodeId?: string | undefined;
674
674
  activityId?: string | undefined;
675
675
  }, {
676
676
  label: string;
677
677
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
678
- phase?: string | undefined;
679
678
  destructive?: boolean | undefined;
679
+ phase?: string | undefined;
680
680
  nodeId?: string | undefined;
681
681
  activityId?: string | undefined;
682
682
  }>;
@@ -795,9 +795,9 @@ export declare const WorkflowGraphNodeSchema: z.ZodObject<{
795
795
  status: z.ZodEnum<["pending", "active", "completed", "failed", "skipped", "cancelled"]>;
796
796
  title: z.ZodString;
797
797
  }, "strip", z.ZodTypeAny, {
798
+ id: string;
798
799
  kind: "task" | "phase";
799
800
  title: string;
800
- id: string;
801
801
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
802
802
  dependsOn: string[];
803
803
  error?: string | undefined;
@@ -808,8 +808,8 @@ export declare const WorkflowGraphNodeSchema: z.ZodObject<{
808
808
  collectionId?: string | undefined;
809
809
  reopenAttempts?: number | undefined;
810
810
  }, {
811
- title: string;
812
811
  id: string;
812
+ title: string;
813
813
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
814
814
  error?: string | undefined;
815
815
  kind?: "task" | "phase" | undefined;
@@ -957,9 +957,9 @@ export declare const WorkflowGraphSchema: z.ZodObject<{
957
957
  status: z.ZodEnum<["pending", "active", "completed", "failed", "skipped", "cancelled"]>;
958
958
  title: z.ZodString;
959
959
  }, "strip", z.ZodTypeAny, {
960
+ id: string;
960
961
  kind: "task" | "phase";
961
962
  title: string;
962
- id: string;
963
963
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
964
964
  dependsOn: string[];
965
965
  error?: string | undefined;
@@ -970,8 +970,8 @@ export declare const WorkflowGraphSchema: z.ZodObject<{
970
970
  collectionId?: string | undefined;
971
971
  reopenAttempts?: number | undefined;
972
972
  }, {
973
- title: string;
974
973
  id: string;
974
+ title: string;
975
975
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
976
976
  error?: string | undefined;
977
977
  kind?: "task" | "phase" | undefined;
@@ -985,9 +985,9 @@ export declare const WorkflowGraphSchema: z.ZodObject<{
985
985
  }>, "many">;
986
986
  }, "strip", z.ZodTypeAny, {
987
987
  nodes: {
988
+ id: string;
988
989
  kind: "task" | "phase";
989
990
  title: string;
990
- id: string;
991
991
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
992
992
  dependsOn: string[];
993
993
  error?: string | undefined;
@@ -1021,8 +1021,8 @@ export declare const WorkflowGraphSchema: z.ZodObject<{
1021
1021
  }[] | undefined;
1022
1022
  }, {
1023
1023
  nodes: {
1024
- title: string;
1025
1024
  id: string;
1025
+ title: string;
1026
1026
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
1027
1027
  error?: string | undefined;
1028
1028
  kind?: "task" | "phase" | undefined;
@@ -1067,17 +1067,17 @@ export declare const WorkflowGraphPlannerNodeSchema: z.ZodObject<{
1067
1067
  prompt: z.ZodOptional<z.ZodString>;
1068
1068
  title: z.ZodString;
1069
1069
  }, "strip", z.ZodTypeAny, {
1070
+ id: string;
1070
1071
  kind: "task" | "phase";
1071
1072
  title: string;
1072
- id: string;
1073
1073
  dependsOn: string[];
1074
1074
  description?: string | undefined;
1075
1075
  phase?: string | undefined;
1076
1076
  prompt?: string | undefined;
1077
1077
  collectionId?: string | undefined;
1078
1078
  }, {
1079
- title: string;
1080
1079
  id: string;
1080
+ title: string;
1081
1081
  kind?: "task" | "phase" | undefined;
1082
1082
  description?: string | undefined;
1083
1083
  phase?: string | undefined;
@@ -1109,17 +1109,17 @@ export declare const WorkflowGraphPlannerResultSchema: z.ZodObject<{
1109
1109
  prompt: z.ZodOptional<z.ZodString>;
1110
1110
  title: z.ZodString;
1111
1111
  }, "strip", z.ZodTypeAny, {
1112
+ id: string;
1112
1113
  kind: "task" | "phase";
1113
1114
  title: string;
1114
- id: string;
1115
1115
  dependsOn: string[];
1116
1116
  description?: string | undefined;
1117
1117
  phase?: string | undefined;
1118
1118
  prompt?: string | undefined;
1119
1119
  collectionId?: string | undefined;
1120
1120
  }, {
1121
- title: string;
1122
1121
  id: string;
1122
+ title: string;
1123
1123
  kind?: "task" | "phase" | undefined;
1124
1124
  description?: string | undefined;
1125
1125
  phase?: string | undefined;
@@ -1130,9 +1130,9 @@ export declare const WorkflowGraphPlannerResultSchema: z.ZodObject<{
1130
1130
  reasoning: z.ZodOptional<z.ZodString>;
1131
1131
  }, "strip", z.ZodTypeAny, {
1132
1132
  nodes: {
1133
+ id: string;
1133
1134
  kind: "task" | "phase";
1134
1135
  title: string;
1135
- id: string;
1136
1136
  dependsOn: string[];
1137
1137
  description?: string | undefined;
1138
1138
  phase?: string | undefined;
@@ -1149,8 +1149,8 @@ export declare const WorkflowGraphPlannerResultSchema: z.ZodObject<{
1149
1149
  }, {
1150
1150
  reasoning?: string | undefined;
1151
1151
  nodes?: {
1152
- title: string;
1153
1152
  id: string;
1153
+ title: string;
1154
1154
  kind?: "task" | "phase" | undefined;
1155
1155
  description?: string | undefined;
1156
1156
  phase?: string | undefined;
@@ -1244,17 +1244,17 @@ export declare const WorkflowGraphSeedSchema: z.ZodObject<{
1244
1244
  prompt: z.ZodOptional<z.ZodString>;
1245
1245
  title: z.ZodString;
1246
1246
  }, "strip", z.ZodTypeAny, {
1247
+ id: string;
1247
1248
  kind: "task" | "phase";
1248
1249
  title: string;
1249
- id: string;
1250
1250
  dependsOn: string[];
1251
1251
  description?: string | undefined;
1252
1252
  phase?: string | undefined;
1253
1253
  prompt?: string | undefined;
1254
1254
  collectionId?: string | undefined;
1255
1255
  }, {
1256
- title: string;
1257
1256
  id: string;
1257
+ title: string;
1258
1258
  kind?: "task" | "phase" | undefined;
1259
1259
  description?: string | undefined;
1260
1260
  phase?: string | undefined;
@@ -1265,9 +1265,9 @@ export declare const WorkflowGraphSeedSchema: z.ZodObject<{
1265
1265
  reasoning: z.ZodOptional<z.ZodString>;
1266
1266
  }, "strip", z.ZodTypeAny, {
1267
1267
  nodes: {
1268
+ id: string;
1268
1269
  kind: "task" | "phase";
1269
1270
  title: string;
1270
- id: string;
1271
1271
  dependsOn: string[];
1272
1272
  description?: string | undefined;
1273
1273
  phase?: string | undefined;
@@ -1292,8 +1292,8 @@ export declare const WorkflowGraphSeedSchema: z.ZodObject<{
1292
1292
  }, {
1293
1293
  reasoning?: string | undefined;
1294
1294
  nodes?: {
1295
- title: string;
1296
1295
  id: string;
1296
+ title: string;
1297
1297
  kind?: "task" | "phase" | undefined;
1298
1298
  description?: string | undefined;
1299
1299
  phase?: string | undefined;
@@ -1324,23 +1324,23 @@ export declare const WorkflowNodePromptUpdateSchema: z.ZodEffects<z.ZodObject<{
1324
1324
  title: z.ZodOptional<z.ZodString>;
1325
1325
  }, "strip", z.ZodTypeAny, {
1326
1326
  id: string;
1327
- description?: string | undefined;
1328
1327
  title?: string | undefined;
1328
+ description?: string | undefined;
1329
1329
  prompt?: string | undefined;
1330
1330
  }, {
1331
1331
  id: string;
1332
- description?: string | undefined;
1333
1332
  title?: string | undefined;
1333
+ description?: string | undefined;
1334
1334
  prompt?: string | undefined;
1335
1335
  }>, {
1336
1336
  id: string;
1337
- description?: string | undefined;
1338
1337
  title?: string | undefined;
1338
+ description?: string | undefined;
1339
1339
  prompt?: string | undefined;
1340
1340
  }, {
1341
1341
  id: string;
1342
- description?: string | undefined;
1343
1342
  title?: string | undefined;
1343
+ description?: string | undefined;
1344
1344
  prompt?: string | undefined;
1345
1345
  }>;
1346
1346
  export type WorkflowNodePromptUpdate = z.infer<typeof WorkflowNodePromptUpdateSchema>;
@@ -1352,31 +1352,31 @@ export declare const WorkflowNodePromptUpdateSetSchema: z.ZodObject<{
1352
1352
  title: z.ZodOptional<z.ZodString>;
1353
1353
  }, "strip", z.ZodTypeAny, {
1354
1354
  id: string;
1355
- description?: string | undefined;
1356
1355
  title?: string | undefined;
1356
+ description?: string | undefined;
1357
1357
  prompt?: string | undefined;
1358
1358
  }, {
1359
1359
  id: string;
1360
- description?: string | undefined;
1361
1360
  title?: string | undefined;
1361
+ description?: string | undefined;
1362
1362
  prompt?: string | undefined;
1363
1363
  }>, {
1364
1364
  id: string;
1365
- description?: string | undefined;
1366
1365
  title?: string | undefined;
1366
+ description?: string | undefined;
1367
1367
  prompt?: string | undefined;
1368
1368
  }, {
1369
1369
  id: string;
1370
- description?: string | undefined;
1371
1370
  title?: string | undefined;
1371
+ description?: string | undefined;
1372
1372
  prompt?: string | undefined;
1373
1373
  }>, "many">>;
1374
1374
  reasoning: z.ZodOptional<z.ZodString>;
1375
1375
  }, "strip", z.ZodTypeAny, {
1376
1376
  nodes: {
1377
1377
  id: string;
1378
- description?: string | undefined;
1379
1378
  title?: string | undefined;
1379
+ description?: string | undefined;
1380
1380
  prompt?: string | undefined;
1381
1381
  }[];
1382
1382
  reasoning?: string | undefined;
@@ -1384,8 +1384,8 @@ export declare const WorkflowNodePromptUpdateSetSchema: z.ZodObject<{
1384
1384
  reasoning?: string | undefined;
1385
1385
  nodes?: {
1386
1386
  id: string;
1387
- description?: string | undefined;
1388
1387
  title?: string | undefined;
1388
+ description?: string | undefined;
1389
1389
  prompt?: string | undefined;
1390
1390
  }[] | undefined;
1391
1391
  }>;
@@ -1503,15 +1503,15 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
1503
1503
  path: z.ZodString;
1504
1504
  phase: z.ZodOptional<z.ZodString>;
1505
1505
  }, "strip", z.ZodTypeAny, {
1506
+ path: string;
1506
1507
  label: string;
1507
1508
  createdAt: string;
1508
- path: string;
1509
1509
  contentType: string;
1510
1510
  phase?: string | undefined;
1511
1511
  }, {
1512
+ path: string;
1512
1513
  label: string;
1513
1514
  createdAt: string;
1514
- path: string;
1515
1515
  contentType: string;
1516
1516
  phase?: string | undefined;
1517
1517
  }>, "many">;
@@ -1595,9 +1595,9 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
1595
1595
  status: z.ZodEnum<["pending", "active", "completed", "failed", "skipped", "cancelled"]>;
1596
1596
  title: z.ZodString;
1597
1597
  }, "strip", z.ZodTypeAny, {
1598
+ id: string;
1598
1599
  kind: "task" | "phase";
1599
1600
  title: string;
1600
- id: string;
1601
1601
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
1602
1602
  dependsOn: string[];
1603
1603
  error?: string | undefined;
@@ -1608,8 +1608,8 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
1608
1608
  collectionId?: string | undefined;
1609
1609
  reopenAttempts?: number | undefined;
1610
1610
  }, {
1611
- title: string;
1612
1611
  id: string;
1612
+ title: string;
1613
1613
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
1614
1614
  error?: string | undefined;
1615
1615
  kind?: "task" | "phase" | undefined;
@@ -1623,9 +1623,9 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
1623
1623
  }>, "many">;
1624
1624
  }, "strip", z.ZodTypeAny, {
1625
1625
  nodes: {
1626
+ id: string;
1626
1627
  kind: "task" | "phase";
1627
1628
  title: string;
1628
- id: string;
1629
1629
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
1630
1630
  dependsOn: string[];
1631
1631
  error?: string | undefined;
@@ -1659,8 +1659,8 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
1659
1659
  }[] | undefined;
1660
1660
  }, {
1661
1661
  nodes: {
1662
- title: string;
1663
1662
  id: string;
1663
+ title: string;
1664
1664
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
1665
1665
  error?: string | undefined;
1666
1666
  kind?: "task" | "phase" | undefined;
@@ -1779,15 +1779,15 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
1779
1779
  }, "strip", z.ZodTypeAny, {
1780
1780
  label: string;
1781
1781
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
1782
- phase?: string | undefined;
1783
1782
  destructive?: boolean | undefined;
1783
+ phase?: string | undefined;
1784
1784
  nodeId?: string | undefined;
1785
1785
  activityId?: string | undefined;
1786
1786
  }, {
1787
1787
  label: string;
1788
1788
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
1789
- phase?: string | undefined;
1790
1789
  destructive?: boolean | undefined;
1790
+ phase?: string | undefined;
1791
1791
  nodeId?: string | undefined;
1792
1792
  activityId?: string | undefined;
1793
1793
  }>, "many">>;
@@ -1932,10 +1932,10 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
1932
1932
  traceId: z.ZodOptional<z.ZodString>;
1933
1933
  updatedAt: z.ZodString;
1934
1934
  }, "strip", z.ZodTypeAny, {
1935
+ schemaVersion: 1;
1935
1936
  kind: string;
1936
1937
  task: string;
1937
1938
  status: "pending" | "running" | "completed" | "failed" | "cancelled" | "paused";
1938
- schemaVersion: 1;
1939
1939
  phases: {
1940
1940
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
1941
1941
  phase: string;
@@ -1953,9 +1953,9 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
1953
1953
  updatedAt: string;
1954
1954
  cwd: string;
1955
1955
  artifacts: {
1956
+ path: string;
1956
1957
  label: string;
1957
1958
  createdAt: string;
1958
- path: string;
1959
1959
  contentType: string;
1960
1960
  phase?: string | undefined;
1961
1961
  }[];
@@ -2000,9 +2000,9 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
2000
2000
  }[];
2001
2001
  graph: {
2002
2002
  nodes: {
2003
+ id: string;
2003
2004
  kind: "task" | "phase";
2004
2005
  title: string;
2005
- id: string;
2006
2006
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2007
2007
  dependsOn: string[];
2008
2008
  error?: string | undefined;
@@ -2038,8 +2038,8 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
2038
2038
  recoveryActions: {
2039
2039
  label: string;
2040
2040
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
2041
- phase?: string | undefined;
2042
2041
  destructive?: boolean | undefined;
2042
+ phase?: string | undefined;
2043
2043
  nodeId?: string | undefined;
2044
2044
  activityId?: string | undefined;
2045
2045
  }[];
@@ -2082,10 +2082,10 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
2082
2082
  definitionVersion?: string | undefined;
2083
2083
  reportPath?: string | undefined;
2084
2084
  }, {
2085
+ schemaVersion: 1;
2085
2086
  kind: string;
2086
2087
  task: string;
2087
2088
  status: "pending" | "running" | "completed" | "failed" | "cancelled" | "paused";
2088
- schemaVersion: 1;
2089
2089
  phases: {
2090
2090
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2091
2091
  phase: string;
@@ -2103,9 +2103,9 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
2103
2103
  updatedAt: string;
2104
2104
  cwd: string;
2105
2105
  artifacts: {
2106
+ path: string;
2106
2107
  label: string;
2107
2108
  createdAt: string;
2108
- path: string;
2109
2109
  contentType: string;
2110
2110
  phase?: string | undefined;
2111
2111
  }[];
@@ -2132,8 +2132,8 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
2132
2132
  phaseOrder: string[];
2133
2133
  graph: {
2134
2134
  nodes: {
2135
- title: string;
2136
2135
  id: string;
2136
+ title: string;
2137
2137
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2138
2138
  error?: string | undefined;
2139
2139
  kind?: "task" | "phase" | undefined;
@@ -2210,8 +2210,8 @@ export declare const WorkflowRunSnapshotSchema: z.ZodObject<{
2210
2210
  recoveryActions?: {
2211
2211
  label: string;
2212
2212
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
2213
- phase?: string | undefined;
2214
2213
  destructive?: boolean | undefined;
2214
+ phase?: string | undefined;
2215
2215
  nodeId?: string | undefined;
2216
2216
  activityId?: string | undefined;
2217
2217
  }[] | undefined;
@@ -2293,15 +2293,15 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2293
2293
  path: z.ZodString;
2294
2294
  phase: z.ZodOptional<z.ZodString>;
2295
2295
  }, "strip", z.ZodTypeAny, {
2296
+ path: string;
2296
2297
  label: string;
2297
2298
  createdAt: string;
2298
- path: string;
2299
2299
  contentType: string;
2300
2300
  phase?: string | undefined;
2301
2301
  }, {
2302
+ path: string;
2302
2303
  label: string;
2303
2304
  createdAt: string;
2304
- path: string;
2305
2305
  contentType: string;
2306
2306
  phase?: string | undefined;
2307
2307
  }>, "many">;
@@ -2385,9 +2385,9 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2385
2385
  status: z.ZodEnum<["pending", "active", "completed", "failed", "skipped", "cancelled"]>;
2386
2386
  title: z.ZodString;
2387
2387
  }, "strip", z.ZodTypeAny, {
2388
+ id: string;
2388
2389
  kind: "task" | "phase";
2389
2390
  title: string;
2390
- id: string;
2391
2391
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2392
2392
  dependsOn: string[];
2393
2393
  error?: string | undefined;
@@ -2398,8 +2398,8 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2398
2398
  collectionId?: string | undefined;
2399
2399
  reopenAttempts?: number | undefined;
2400
2400
  }, {
2401
- title: string;
2402
2401
  id: string;
2402
+ title: string;
2403
2403
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2404
2404
  error?: string | undefined;
2405
2405
  kind?: "task" | "phase" | undefined;
@@ -2413,9 +2413,9 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2413
2413
  }>, "many">;
2414
2414
  }, "strip", z.ZodTypeAny, {
2415
2415
  nodes: {
2416
+ id: string;
2416
2417
  kind: "task" | "phase";
2417
2418
  title: string;
2418
- id: string;
2419
2419
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2420
2420
  dependsOn: string[];
2421
2421
  error?: string | undefined;
@@ -2449,8 +2449,8 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2449
2449
  }[] | undefined;
2450
2450
  }, {
2451
2451
  nodes: {
2452
- title: string;
2453
2452
  id: string;
2453
+ title: string;
2454
2454
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2455
2455
  error?: string | undefined;
2456
2456
  kind?: "task" | "phase" | undefined;
@@ -2569,15 +2569,15 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2569
2569
  }, "strip", z.ZodTypeAny, {
2570
2570
  label: string;
2571
2571
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
2572
- phase?: string | undefined;
2573
2572
  destructive?: boolean | undefined;
2573
+ phase?: string | undefined;
2574
2574
  nodeId?: string | undefined;
2575
2575
  activityId?: string | undefined;
2576
2576
  }, {
2577
2577
  label: string;
2578
2578
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
2579
- phase?: string | undefined;
2580
2579
  destructive?: boolean | undefined;
2580
+ phase?: string | undefined;
2581
2581
  nodeId?: string | undefined;
2582
2582
  activityId?: string | undefined;
2583
2583
  }>, "many">>;
@@ -2722,10 +2722,10 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2722
2722
  traceId: z.ZodOptional<z.ZodString>;
2723
2723
  updatedAt: z.ZodString;
2724
2724
  }, "strip", z.ZodTypeAny, {
2725
+ schemaVersion: 1;
2725
2726
  kind: string;
2726
2727
  task: string;
2727
2728
  status: "pending" | "running" | "completed" | "failed" | "cancelled" | "paused";
2728
- schemaVersion: 1;
2729
2729
  phases: {
2730
2730
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2731
2731
  phase: string;
@@ -2743,9 +2743,9 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2743
2743
  updatedAt: string;
2744
2744
  cwd: string;
2745
2745
  artifacts: {
2746
+ path: string;
2746
2747
  label: string;
2747
2748
  createdAt: string;
2748
- path: string;
2749
2749
  contentType: string;
2750
2750
  phase?: string | undefined;
2751
2751
  }[];
@@ -2790,9 +2790,9 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2790
2790
  }[];
2791
2791
  graph: {
2792
2792
  nodes: {
2793
+ id: string;
2793
2794
  kind: "task" | "phase";
2794
2795
  title: string;
2795
- id: string;
2796
2796
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2797
2797
  dependsOn: string[];
2798
2798
  error?: string | undefined;
@@ -2828,8 +2828,8 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2828
2828
  recoveryActions: {
2829
2829
  label: string;
2830
2830
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
2831
- phase?: string | undefined;
2832
2831
  destructive?: boolean | undefined;
2832
+ phase?: string | undefined;
2833
2833
  nodeId?: string | undefined;
2834
2834
  activityId?: string | undefined;
2835
2835
  }[];
@@ -2872,10 +2872,10 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2872
2872
  definitionVersion?: string | undefined;
2873
2873
  reportPath?: string | undefined;
2874
2874
  }, {
2875
+ schemaVersion: 1;
2875
2876
  kind: string;
2876
2877
  task: string;
2877
2878
  status: "pending" | "running" | "completed" | "failed" | "cancelled" | "paused";
2878
- schemaVersion: 1;
2879
2879
  phases: {
2880
2880
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2881
2881
  phase: string;
@@ -2893,9 +2893,9 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2893
2893
  updatedAt: string;
2894
2894
  cwd: string;
2895
2895
  artifacts: {
2896
+ path: string;
2896
2897
  label: string;
2897
2898
  createdAt: string;
2898
- path: string;
2899
2899
  contentType: string;
2900
2900
  phase?: string | undefined;
2901
2901
  }[];
@@ -2922,8 +2922,8 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
2922
2922
  phaseOrder: string[];
2923
2923
  graph: {
2924
2924
  nodes: {
2925
- title: string;
2926
2925
  id: string;
2926
+ title: string;
2927
2927
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
2928
2928
  error?: string | undefined;
2929
2929
  kind?: "task" | "phase" | undefined;
@@ -3000,8 +3000,8 @@ export declare const ExpertWorkflowRunSnapshotSchema: z.ZodObject<{
3000
3000
  recoveryActions?: {
3001
3001
  label: string;
3002
3002
  action: "retry" | "cancel" | "retry_with_current_model" | "skip_node";
3003
- phase?: string | undefined;
3004
3003
  destructive?: boolean | undefined;
3004
+ phase?: string | undefined;
3005
3005
  nodeId?: string | undefined;
3006
3006
  activityId?: string | undefined;
3007
3007
  }[] | undefined;
@@ -3037,8 +3037,8 @@ export declare const WorkflowEventSchema: z.ZodObject<{
3037
3037
  }, "strip", z.ZodTypeAny, {
3038
3038
  type: "run_started" | "run_completed" | "run_failed" | "workflow_paused" | "workflow_retry_started" | "workflow_session_linked" | "run_cancelled" | "phase_started" | "phase_completed" | "phase_failed" | "artifact_written" | "graph_updated" | "node_started" | "node_completed" | "node_failed" | "frontier_changed" | "executor_paused" | "executor_completed" | "planner_started" | "planner_completed" | "planner_failed" | "graph_expanded" | "collection_exhausted" | "critic_started" | "critic_passed" | "critic_failed" | "node_reopened" | "critic_iteration_limit_reached";
3039
3039
  kind: string;
3040
- runId: string;
3041
3040
  timestamp: string;
3041
+ runId: string;
3042
3042
  message?: string | undefined;
3043
3043
  phase?: string | undefined;
3044
3044
  payload?: Record<string, unknown> | undefined;
@@ -3046,8 +3046,8 @@ export declare const WorkflowEventSchema: z.ZodObject<{
3046
3046
  }, {
3047
3047
  type: "run_started" | "run_completed" | "run_failed" | "workflow_paused" | "workflow_retry_started" | "workflow_session_linked" | "run_cancelled" | "phase_started" | "phase_completed" | "phase_failed" | "artifact_written" | "graph_updated" | "node_started" | "node_completed" | "node_failed" | "frontier_changed" | "executor_paused" | "executor_completed" | "planner_started" | "planner_completed" | "planner_failed" | "graph_expanded" | "collection_exhausted" | "critic_started" | "critic_passed" | "critic_failed" | "node_reopened" | "critic_iteration_limit_reached";
3048
3048
  kind: string;
3049
- runId: string;
3050
3049
  timestamp: string;
3050
+ runId: string;
3051
3051
  message?: string | undefined;
3052
3052
  phase?: string | undefined;
3053
3053
  payload?: Record<string, unknown> | undefined;
@@ -3220,9 +3220,9 @@ export declare const WorkflowGraphRecordSchema: z.ZodDiscriminatedUnion<"recordT
3220
3220
  status: z.ZodEnum<["pending", "active", "completed", "failed", "skipped", "cancelled"]>;
3221
3221
  title: z.ZodString;
3222
3222
  }, "strip", z.ZodTypeAny, {
3223
+ id: string;
3223
3224
  kind: "task" | "phase";
3224
3225
  title: string;
3225
- id: string;
3226
3226
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3227
3227
  dependsOn: string[];
3228
3228
  error?: string | undefined;
@@ -3233,8 +3233,8 @@ export declare const WorkflowGraphRecordSchema: z.ZodDiscriminatedUnion<"recordT
3233
3233
  collectionId?: string | undefined;
3234
3234
  reopenAttempts?: number | undefined;
3235
3235
  }, {
3236
- title: string;
3237
3236
  id: string;
3237
+ title: string;
3238
3238
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3239
3239
  error?: string | undefined;
3240
3240
  kind?: "task" | "phase" | undefined;
@@ -3249,12 +3249,12 @@ export declare const WorkflowGraphRecordSchema: z.ZodDiscriminatedUnion<"recordT
3249
3249
  runId: z.ZodString;
3250
3250
  timestamp: z.ZodString;
3251
3251
  }, "strip", z.ZodTypeAny, {
3252
- runId: string;
3253
3252
  timestamp: string;
3253
+ runId: string;
3254
3254
  node: {
3255
+ id: string;
3255
3256
  kind: "task" | "phase";
3256
3257
  title: string;
3257
- id: string;
3258
3258
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3259
3259
  dependsOn: string[];
3260
3260
  error?: string | undefined;
@@ -3267,11 +3267,11 @@ export declare const WorkflowGraphRecordSchema: z.ZodDiscriminatedUnion<"recordT
3267
3267
  };
3268
3268
  recordType: "node";
3269
3269
  }, {
3270
- runId: string;
3271
3270
  timestamp: string;
3271
+ runId: string;
3272
3272
  node: {
3273
- title: string;
3274
3273
  id: string;
3274
+ title: string;
3275
3275
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3276
3276
  error?: string | undefined;
3277
3277
  kind?: "task" | "phase" | undefined;
@@ -3299,16 +3299,16 @@ export declare const WorkflowGraphRecordSchema: z.ZodDiscriminatedUnion<"recordT
3299
3299
  runId: z.ZodString;
3300
3300
  timestamp: z.ZodString;
3301
3301
  }, "strip", z.ZodTypeAny, {
3302
- runId: string;
3303
3302
  timestamp: string;
3303
+ runId: string;
3304
3304
  recordType: "edge";
3305
3305
  edge: {
3306
3306
  from: string;
3307
3307
  to: string;
3308
3308
  };
3309
3309
  }, {
3310
- runId: string;
3311
3310
  timestamp: string;
3311
+ runId: string;
3312
3312
  recordType: "edge";
3313
3313
  edge: {
3314
3314
  from: string;
@@ -3368,8 +3368,8 @@ export declare const WorkflowGraphRecordSchema: z.ZodDiscriminatedUnion<"recordT
3368
3368
  runId: z.ZodString;
3369
3369
  timestamp: z.ZodString;
3370
3370
  }, "strip", z.ZodTypeAny, {
3371
- runId: string;
3372
3371
  timestamp: string;
3372
+ runId: string;
3373
3373
  recordType: "collection";
3374
3374
  collection: {
3375
3375
  collectionId: string;
@@ -3389,8 +3389,8 @@ export declare const WorkflowGraphRecordSchema: z.ZodDiscriminatedUnion<"recordT
3389
3389
  plannerRuns?: number | undefined;
3390
3390
  };
3391
3391
  }, {
3392
- runId: string;
3393
3392
  timestamp: string;
3393
+ runId: string;
3394
3394
  recordType: "collection";
3395
3395
  collection: {
3396
3396
  collectionId: string;
@@ -3423,8 +3423,8 @@ export declare const WorkflowGraphRecordSchema: z.ZodDiscriminatedUnion<"recordT
3423
3423
  type: z.ZodString;
3424
3424
  }, "strip", z.ZodTypeAny, {
3425
3425
  type: string;
3426
- runId: string;
3427
3426
  timestamp: string;
3427
+ runId: string;
3428
3428
  recordType: "op";
3429
3429
  status?: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped" | undefined;
3430
3430
  phase?: string | undefined;
@@ -3435,8 +3435,8 @@ export declare const WorkflowGraphRecordSchema: z.ZodDiscriminatedUnion<"recordT
3435
3435
  edgeIds?: string[] | undefined;
3436
3436
  }, {
3437
3437
  type: string;
3438
- runId: string;
3439
3438
  timestamp: string;
3439
+ runId: string;
3440
3440
  recordType: "op";
3441
3441
  status?: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped" | undefined;
3442
3442
  phase?: string | undefined;
@@ -3465,9 +3465,9 @@ export declare const WorkflowSchedulerDerivedNodeSchema: z.ZodObject<{
3465
3465
  status: z.ZodEnum<["pending", "active", "completed", "failed", "skipped", "cancelled"]>;
3466
3466
  title: z.ZodString;
3467
3467
  }, "strip", z.ZodTypeAny, {
3468
+ id: string;
3468
3469
  kind: "task" | "phase";
3469
3470
  title: string;
3470
- id: string;
3471
3471
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3472
3472
  dependsOn: string[];
3473
3473
  error?: string | undefined;
@@ -3478,8 +3478,8 @@ export declare const WorkflowSchedulerDerivedNodeSchema: z.ZodObject<{
3478
3478
  collectionId?: string | undefined;
3479
3479
  reopenAttempts?: number | undefined;
3480
3480
  }, {
3481
- title: string;
3482
3481
  id: string;
3482
+ title: string;
3483
3483
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3484
3484
  error?: string | undefined;
3485
3485
  kind?: "task" | "phase" | undefined;
@@ -3496,9 +3496,9 @@ export declare const WorkflowSchedulerDerivedNodeSchema: z.ZodObject<{
3496
3496
  }, "strip", z.ZodTypeAny, {
3497
3497
  ready: boolean;
3498
3498
  node: {
3499
+ id: string;
3499
3500
  kind: "task" | "phase";
3500
3501
  title: string;
3501
- id: string;
3502
3502
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3503
3503
  dependsOn: string[];
3504
3504
  error?: string | undefined;
@@ -3516,8 +3516,8 @@ export declare const WorkflowSchedulerDerivedNodeSchema: z.ZodObject<{
3516
3516
  }, {
3517
3517
  ready: boolean;
3518
3518
  node: {
3519
- title: string;
3520
3519
  id: string;
3520
+ title: string;
3521
3521
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3522
3522
  error?: string | undefined;
3523
3523
  kind?: "task" | "phase" | undefined;
@@ -3728,16 +3728,16 @@ export declare const WorkflowSchedulerStateSchema: z.ZodObject<{
3728
3728
  completed: number;
3729
3729
  failed: number;
3730
3730
  total: number;
3731
- blocked: number;
3732
3731
  ready: number;
3732
+ blocked: number;
3733
3733
  }, {
3734
3734
  active: number;
3735
3735
  pending: number;
3736
3736
  completed: number;
3737
3737
  failed: number;
3738
3738
  total: number;
3739
- blocked: number;
3740
3739
  ready: number;
3740
+ blocked: number;
3741
3741
  }>;
3742
3742
  collectionStates: z.ZodDefault<z.ZodArray<z.ZodObject<{
3743
3743
  activeNodeIds: z.ZodArray<z.ZodString, "many">;
@@ -3877,9 +3877,9 @@ export declare const WorkflowSchedulerStateSchema: z.ZodObject<{
3877
3877
  status: z.ZodEnum<["pending", "active", "completed", "failed", "skipped", "cancelled"]>;
3878
3878
  title: z.ZodString;
3879
3879
  }, "strip", z.ZodTypeAny, {
3880
+ id: string;
3880
3881
  kind: "task" | "phase";
3881
3882
  title: string;
3882
- id: string;
3883
3883
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3884
3884
  dependsOn: string[];
3885
3885
  error?: string | undefined;
@@ -3890,8 +3890,8 @@ export declare const WorkflowSchedulerStateSchema: z.ZodObject<{
3890
3890
  collectionId?: string | undefined;
3891
3891
  reopenAttempts?: number | undefined;
3892
3892
  }, {
3893
- title: string;
3894
3893
  id: string;
3894
+ title: string;
3895
3895
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3896
3896
  error?: string | undefined;
3897
3897
  kind?: "task" | "phase" | undefined;
@@ -3908,9 +3908,9 @@ export declare const WorkflowSchedulerStateSchema: z.ZodObject<{
3908
3908
  }, "strip", z.ZodTypeAny, {
3909
3909
  ready: boolean;
3910
3910
  node: {
3911
+ id: string;
3911
3912
  kind: "task" | "phase";
3912
3913
  title: string;
3913
- id: string;
3914
3914
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3915
3915
  dependsOn: string[];
3916
3916
  error?: string | undefined;
@@ -3928,8 +3928,8 @@ export declare const WorkflowSchedulerStateSchema: z.ZodObject<{
3928
3928
  }, {
3929
3929
  ready: boolean;
3930
3930
  node: {
3931
- title: string;
3932
3931
  id: string;
3932
+ title: string;
3933
3933
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3934
3934
  error?: string | undefined;
3935
3935
  kind?: "task" | "phase" | undefined;
@@ -3951,9 +3951,9 @@ export declare const WorkflowSchedulerStateSchema: z.ZodObject<{
3951
3951
  nodes: {
3952
3952
  ready: boolean;
3953
3953
  node: {
3954
+ id: string;
3954
3955
  kind: "task" | "phase";
3955
3956
  title: string;
3956
- id: string;
3957
3957
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
3958
3958
  dependsOn: string[];
3959
3959
  error?: string | undefined;
@@ -3990,8 +3990,8 @@ export declare const WorkflowSchedulerStateSchema: z.ZodObject<{
3990
3990
  completed: number;
3991
3991
  failed: number;
3992
3992
  total: number;
3993
- blocked: number;
3994
3993
  ready: number;
3994
+ blocked: number;
3995
3995
  };
3996
3996
  collectionStates: {
3997
3997
  status: "active" | "draining" | "exhausted";
@@ -4027,8 +4027,8 @@ export declare const WorkflowSchedulerStateSchema: z.ZodObject<{
4027
4027
  nodes: {
4028
4028
  ready: boolean;
4029
4029
  node: {
4030
- title: string;
4031
4030
  id: string;
4031
+ title: string;
4032
4032
  status: "active" | "pending" | "completed" | "failed" | "cancelled" | "skipped";
4033
4033
  error?: string | undefined;
4034
4034
  kind?: "task" | "phase" | undefined;
@@ -4066,8 +4066,8 @@ export declare const WorkflowSchedulerStateSchema: z.ZodObject<{
4066
4066
  completed: number;
4067
4067
  failed: number;
4068
4068
  total: number;
4069
- blocked: number;
4070
4069
  ready: number;
4070
+ blocked: number;
4071
4071
  };
4072
4072
  collectionStates?: {
4073
4073
  status: "active" | "draining" | "exhausted";