@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
@@ -3,7 +3,8 @@ import type { Locale } from "./protocol.js";
3
3
  import { type ConversationRow } from "./dcode-protocol-v4/rows.js";
4
4
  /**
5
5
  * 解析分享页 pathname,返回未解码的 code 段与该路径对应的语言。
6
- * 只认 `/share/<code>` 与 `/cn/share/<code>` 两种形状;调用方负责 code 的解码与安全校验。
6
+ * 只认 `/share/<code>`、`/fr/share/<code>` 与历史 `/cn/share/<code>` 三种形状;
7
+ * 调用方负责 code 的解码与安全校验。
7
8
  */
8
9
  export declare function parseConversationSharePathname(pathname: string): {
9
10
  rawCode: string;
@@ -64,8 +65,8 @@ export declare const conversationShareArtifactDescriptorSchema: z.ZodObject<{
64
65
  state: z.ZodLiteral<"current">;
65
66
  ref: z.ZodString;
66
67
  artifact_type: z.ZodEnum<{
67
- image: "image";
68
68
  text: "text";
69
+ image: "image";
69
70
  pdf: "pdf";
70
71
  pptx: "pptx";
71
72
  docx: "docx";
@@ -90,8 +91,8 @@ export declare const conversationShareInboundArtifactDescriptorSchema: z.ZodObje
90
91
  state: z.ZodLiteral<"current">;
91
92
  ref: z.ZodString;
92
93
  artifact_type: z.ZodEnum<{
93
- image: "image";
94
94
  text: "text";
95
+ image: "image";
95
96
  pdf: "pdf";
96
97
  pptx: "pptx";
97
98
  docx: "docx";
@@ -138,8 +139,8 @@ export declare const conversationShareCapabilitiesDataSchema: z.ZodObject<{
138
139
  }>>;
139
140
  allowed_artifacts: z.ZodArray<z.ZodObject<{
140
141
  type: z.ZodEnum<{
141
- image: "image";
142
142
  text: "text";
143
+ image: "image";
143
144
  pdf: "pdf";
144
145
  pptx: "pptx";
145
146
  docx: "docx";
@@ -267,6 +268,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
267
268
  startedAt: z.ZodNumber;
268
269
  endedAt: z.ZodOptional<z.ZodNumber>;
269
270
  activeMs: z.ZodOptional<z.ZodNumber>;
271
+ outputTokens: z.ZodOptional<z.ZodNumber>;
272
+ modelDurationMs: z.ZodOptional<z.ZodNumber>;
273
+ toolDurationMs: z.ZodOptional<z.ZodNumber>;
274
+ otherDurationMs: z.ZodOptional<z.ZodNumber>;
270
275
  workSegments: z.ZodOptional<z.ZodArray<z.ZodObject<{
271
276
  segmentId: z.ZodString;
272
277
  triggerEntityId: z.ZodOptional<z.ZodString>;
@@ -276,8 +281,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
276
281
  }, z.core.$strip>>>;
277
282
  originMeta: z.ZodOptional<z.ZodObject<{
278
283
  backgroundSource: z.ZodEnum<{
279
- subagent: "subagent";
280
284
  bash: "bash";
285
+ subagent: "subagent";
281
286
  workflow: "workflow";
282
287
  }>;
283
288
  workId: z.ZodString;
@@ -286,21 +291,21 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
286
291
  kind: z.ZodLiteral<"terminal">;
287
292
  status: z.ZodEnum<{
288
293
  completed: "completed";
289
- stopped: "stopped";
290
294
  errored: "errored";
295
+ stopped: "stopped";
291
296
  }>;
292
297
  stopReason: z.ZodOptional<z.ZodEnum<{
293
- provider: "provider";
294
- model: "model";
295
298
  user: "user";
299
+ model: "model";
300
+ provider: "provider";
296
301
  interrupted: "interrupted";
297
302
  superseded: "superseded";
298
303
  }>>;
299
304
  summary: z.ZodString;
300
305
  result: z.ZodOptional<z.ZodString>;
301
306
  resultForm: z.ZodOptional<z.ZodEnum<{
302
- prose: "prose";
303
307
  json: "json";
308
+ prose: "prose";
304
309
  }>>;
305
310
  resultTruncated: z.ZodOptional<z.ZodLiteral<true>>;
306
311
  error: z.ZodOptional<z.ZodString>;
@@ -334,6 +339,18 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
334
339
  question: z.ZodString;
335
340
  context: z.ZodOptional<z.ZodString>;
336
341
  askedAt: z.ZodOptional<z.ZodNumber>;
342
+ }, z.core.$strip>, z.ZodObject<{
343
+ kind: z.ZodLiteral<"hole">;
344
+ siteId: z.ZodString;
345
+ ordinal: z.ZodNumber;
346
+ name: z.ZodString;
347
+ type: z.ZodString;
348
+ prompt: z.ZodOptional<z.ZodString>;
349
+ draftPath: z.ZodOptional<z.ZodString>;
350
+ line: z.ZodOptional<z.ZodNumber>;
351
+ before: z.ZodOptional<z.ZodString>;
352
+ after: z.ZodOptional<z.ZodString>;
353
+ reachedAt: z.ZodOptional<z.ZodNumber>;
337
354
  }, z.core.$strip>, z.ZodObject<{
338
355
  kind: z.ZodLiteral<"stall">;
339
356
  sinceMs: z.ZodNumber;
@@ -368,6 +385,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
368
385
  kind: z.ZodEnum<{
369
386
  ask: "ask";
370
387
  "world-read": "world-read";
388
+ hole: "hole";
371
389
  }>;
372
390
  label: z.ZodString;
373
391
  labelPattern: z.ZodOptional<z.ZodObject<{
@@ -384,6 +402,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
384
402
  stack: "stack";
385
403
  serial: "serial";
386
404
  }>>;
405
+ fill: z.ZodOptional<z.ZodString>;
387
406
  }, z.core.$strict>>;
388
407
  lanes: z.ZodArray<z.ZodObject<{
389
408
  id: z.ZodString;
@@ -418,17 +437,35 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
418
437
  line: z.ZodOptional<z.ZodNumber>;
419
438
  column: z.ZodOptional<z.ZodNumber>;
420
439
  alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
440
+ fill: z.ZodOptional<z.ZodString>;
421
441
  }, z.core.$strict>>>;
422
442
  phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
423
443
  from: z.ZodString;
424
444
  to: z.ZodString;
425
445
  back: z.ZodOptional<z.ZodLiteral<true>>;
426
446
  }, z.core.$strict>>>;
447
+ phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
448
+ from: z.ZodString;
449
+ to: z.ZodString;
450
+ }, z.core.$strict>>>;
451
+ holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
452
+ siteId: z.ZodString;
453
+ name: z.ZodString;
454
+ type: z.ZodString;
455
+ phase: z.ZodOptional<z.ZodString>;
456
+ tail: z.ZodOptional<z.ZodBoolean>;
457
+ }, z.core.$strict>>>;
427
458
  exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
428
459
  sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
429
460
  truncated: z.ZodOptional<z.ZodBoolean>;
430
461
  }, z.core.$strict>>;
431
462
  truncated: z.ZodOptional<z.ZodBoolean>;
463
+ fill: z.ZodOptional<z.ZodObject<{
464
+ siteId: z.ZodString;
465
+ name: z.ZodString;
466
+ draftPath: z.ZodOptional<z.ZodString>;
467
+ line: z.ZodOptional<z.ZodNumber>;
468
+ }, z.core.$strict>>;
432
469
  }, z.core.$strict>>>;
433
470
  script: z.ZodOptional<z.ZodString>;
434
471
  amend: z.ZodOptional<z.ZodObject<{
@@ -466,26 +503,146 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
466
503
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
467
504
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
468
505
  editDisposition: z.ZodOptional<z.ZodEnum<{
469
- rewind: "rewind";
470
506
  fork: "fork";
507
+ rewind: "rewind";
471
508
  }>>;
472
509
  }, z.core.$strip>>;
473
510
  }, z.core.$strip>, z.ZodObject<{
474
511
  kind: z.ZodLiteral<"userInput">;
512
+ inputOrigin: z.ZodOptional<z.ZodEnum<{
513
+ desktop: "desktop";
514
+ mobile: "mobile";
515
+ }>>;
516
+ botGroupSource: z.ZodOptional<z.ZodObject<{
517
+ botIdentity: z.ZodOptional<z.ZodObject<{
518
+ name: z.ZodString;
519
+ openId: z.ZodOptional<z.ZodString>;
520
+ }, z.core.$strict>>;
521
+ appId: z.ZodOptional<z.ZodString>;
522
+ contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
523
+ type: z.ZodLiteral<"text">;
524
+ text: z.ZodString;
525
+ }, z.core.$strict>, z.ZodObject<{
526
+ type: z.ZodLiteral<"channelMention">;
527
+ refId: z.ZodString;
528
+ name: z.ZodString;
529
+ channel: z.ZodEnum<{
530
+ feishu: "feishu";
531
+ lark: "lark";
532
+ }>;
533
+ targetId: z.ZodString;
534
+ idType: z.ZodLiteral<"open_id">;
535
+ entityType: z.ZodEnum<{
536
+ unknown: "unknown";
537
+ user: "user";
538
+ bot: "bot";
539
+ }>;
540
+ }, z.core.$strict>]>>>;
541
+ authorizationId: z.ZodOptional<z.ZodString>;
542
+ botId: z.ZodString;
543
+ provider: z.ZodEnum<{
544
+ feishu: "feishu";
545
+ lark: "lark";
546
+ }>;
547
+ chatId: z.ZodString;
548
+ threadId: z.ZodOptional<z.ZodString>;
549
+ rootMessageId: z.ZodOptional<z.ZodString>;
550
+ senderId: z.ZodString;
551
+ senderName: z.ZodString;
552
+ mentionedBot: z.ZodOptional<z.ZodBoolean>;
553
+ messageId: z.ZodString;
554
+ messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
555
+ contentParts: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
556
+ type: z.ZodLiteral<"text">;
557
+ text: z.ZodString;
558
+ }, z.core.$strict>, z.ZodObject<{
559
+ type: z.ZodLiteral<"channelMention">;
560
+ refId: z.ZodString;
561
+ name: z.ZodString;
562
+ channel: z.ZodEnum<{
563
+ feishu: "feishu";
564
+ lark: "lark";
565
+ }>;
566
+ targetId: z.ZodString;
567
+ idType: z.ZodLiteral<"open_id">;
568
+ entityType: z.ZodEnum<{
569
+ unknown: "unknown";
570
+ user: "user";
571
+ bot: "bot";
572
+ }>;
573
+ }, z.core.$strict>]>>>;
574
+ messageId: z.ZodString;
575
+ senderId: z.ZodString;
576
+ senderName: z.ZodString;
577
+ mentionedBot: z.ZodOptional<z.ZodBoolean>;
578
+ text: z.ZodString;
579
+ conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
580
+ text: z.ZodString;
581
+ path: z.ZodOptional<z.ZodString>;
582
+ senderName: z.ZodOptional<z.ZodString>;
583
+ senderId: z.ZodOptional<z.ZodString>;
584
+ messageId: z.ZodOptional<z.ZodString>;
585
+ sentAt: z.ZodOptional<z.ZodString>;
586
+ }, z.core.$strip>>>;
587
+ attachmentIndexes: z.ZodArray<z.ZodNumber>;
588
+ }, z.core.$strict>>>;
589
+ topicContext: z.ZodOptional<z.ZodObject<{
590
+ messages: z.ZodArray<z.ZodObject<{
591
+ id: z.ZodString;
592
+ chatId: z.ZodString;
593
+ threadId: z.ZodString;
594
+ senderId: z.ZodString;
595
+ senderName: z.ZodOptional<z.ZodString>;
596
+ parentId: z.ZodOptional<z.ZodString>;
597
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
598
+ name: z.ZodString;
599
+ kind: z.ZodString;
600
+ }, z.core.$strict>>>;
601
+ senderType: z.ZodEnum<{
602
+ user: "user";
603
+ app: "app";
604
+ }>;
605
+ text: z.ZodString;
606
+ createdAt: z.ZodNumber;
607
+ kind: z.ZodString;
608
+ controlCard: z.ZodOptional<z.ZodBoolean>;
609
+ deleted: z.ZodOptional<z.ZodBoolean>;
610
+ }, z.core.$strict>>;
611
+ checkpoint: z.ZodString;
612
+ hasGap: z.ZodBoolean;
613
+ }, z.core.$strict>>;
614
+ topicHistory: z.ZodOptional<z.ZodObject<{
615
+ checkpoint: z.ZodString;
616
+ hasGap: z.ZodBoolean;
617
+ messageCount: z.ZodNumber;
618
+ resourceMessages: z.ZodArray<z.ZodObject<{
619
+ messageId: z.ZodString;
620
+ count: z.ZodNumber;
621
+ }, z.core.$strict>>;
622
+ }, z.core.$strict>>;
623
+ }, z.core.$strict>>;
624
+ conversationQuotes: z.ZodOptional<z.ZodArray<z.ZodObject<{
625
+ text: z.ZodString;
626
+ path: z.ZodOptional<z.ZodString>;
627
+ senderName: z.ZodOptional<z.ZodString>;
628
+ senderId: z.ZodOptional<z.ZodString>;
629
+ messageId: z.ZodOptional<z.ZodString>;
630
+ sentAt: z.ZodOptional<z.ZodString>;
631
+ }, z.core.$strip>>>;
475
632
  text: z.ZodString;
476
633
  epilogueStart: z.ZodOptional<z.ZodNumber>;
477
634
  origin: z.ZodEnum<{
635
+ synthetic: "synthetic";
478
636
  backgroundResult: "backgroundResult";
479
637
  goalContinuation: "goalContinuation";
480
638
  workflowLaunch: "workflowLaunch";
481
639
  realUser: "realUser";
482
640
  mailbox: "mailbox";
483
- synthetic: "synthetic";
484
641
  }>;
485
642
  originMeta: z.ZodOptional<z.ZodObject<{
486
643
  backgroundSource: z.ZodOptional<z.ZodEnum<{
487
- subagent: "subagent";
488
644
  bash: "bash";
645
+ subagent: "subagent";
489
646
  workflow: "workflow";
490
647
  }>>;
491
648
  workId: z.ZodOptional<z.ZodString>;
@@ -519,6 +676,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
519
676
  kind: z.ZodEnum<{
520
677
  ask: "ask";
521
678
  "world-read": "world-read";
679
+ hole: "hole";
522
680
  }>;
523
681
  label: z.ZodString;
524
682
  labelPattern: z.ZodOptional<z.ZodObject<{
@@ -535,6 +693,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
535
693
  stack: "stack";
536
694
  serial: "serial";
537
695
  }>>;
696
+ fill: z.ZodOptional<z.ZodString>;
538
697
  }, z.core.$strict>>;
539
698
  lanes: z.ZodArray<z.ZodObject<{
540
699
  id: z.ZodString;
@@ -569,17 +728,35 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
569
728
  line: z.ZodOptional<z.ZodNumber>;
570
729
  column: z.ZodOptional<z.ZodNumber>;
571
730
  alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
731
+ fill: z.ZodOptional<z.ZodString>;
572
732
  }, z.core.$strict>>>;
573
733
  phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
574
734
  from: z.ZodString;
575
735
  to: z.ZodString;
576
736
  back: z.ZodOptional<z.ZodLiteral<true>>;
577
737
  }, z.core.$strict>>>;
738
+ phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
739
+ from: z.ZodString;
740
+ to: z.ZodString;
741
+ }, z.core.$strict>>>;
742
+ holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
743
+ siteId: z.ZodString;
744
+ name: z.ZodString;
745
+ type: z.ZodString;
746
+ phase: z.ZodOptional<z.ZodString>;
747
+ tail: z.ZodOptional<z.ZodBoolean>;
748
+ }, z.core.$strict>>>;
578
749
  exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
579
750
  sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
580
751
  truncated: z.ZodOptional<z.ZodBoolean>;
581
752
  }, z.core.$strict>>;
582
753
  truncated: z.ZodOptional<z.ZodBoolean>;
754
+ fill: z.ZodOptional<z.ZodObject<{
755
+ siteId: z.ZodString;
756
+ name: z.ZodString;
757
+ draftPath: z.ZodOptional<z.ZodString>;
758
+ line: z.ZodOptional<z.ZodNumber>;
759
+ }, z.core.$strict>>;
583
760
  }, z.core.$strict>>>;
584
761
  script: z.ZodOptional<z.ZodString>;
585
762
  amend: z.ZodOptional<z.ZodObject<{
@@ -599,13 +776,49 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
599
776
  sourceCommandId: z.ZodOptional<z.ZodString>;
600
777
  rootSourceCommandId: z.ZodOptional<z.ZodString>;
601
778
  clientId: z.ZodOptional<z.ZodString>;
779
+ highspeed: z.ZodOptional<z.ZodObject<{
780
+ schemaVersion: z.ZodLiteral<1>;
781
+ cardId: z.ZodString;
782
+ taskId: z.ZodString;
783
+ provider: z.ZodString;
784
+ model: z.ZodString;
785
+ issuedAt: z.ZodNumber;
786
+ expiresAt: z.ZodNumber;
787
+ regularTps: z.ZodOptional<z.ZodNumber>;
788
+ outputTokens: z.ZodOptional<z.ZodNumber>;
789
+ durationMs: z.ZodOptional<z.ZodNumber>;
790
+ highspeedTps: z.ZodOptional<z.ZodNumber>;
791
+ savedDurationMs: z.ZodOptional<z.ZodNumber>;
792
+ modelDurationMs: z.ZodOptional<z.ZodNumber>;
793
+ toolDurationMs: z.ZodOptional<z.ZodNumber>;
794
+ otherDurationMs: z.ZodOptional<z.ZodNumber>;
795
+ fallbackAt: z.ZodOptional<z.ZodNumber>;
796
+ fallbackReason: z.ZodOptional<z.ZodEnum<{
797
+ highspeed_card_expired: "highspeed_card_expired";
798
+ highspeed_request_failed: "highspeed_request_failed";
799
+ }>>;
800
+ }, z.core.$strict>>;
602
801
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
603
802
  ref: z.ZodString;
604
803
  fileName: z.ZodString;
605
804
  mime: z.ZodString;
606
805
  bytes: z.ZodNumber;
806
+ sourceKind: z.ZodOptional<z.ZodEnum<{
807
+ "clipboard-text": "clipboard-text";
808
+ "topic-history": "topic-history";
809
+ }>>;
810
+ messageCount: z.ZodOptional<z.ZodNumber>;
607
811
  previewRef: z.ZodOptional<z.ZodString>;
608
- }, z.core.$strip>>>;
812
+ }, z.core.$strict>>>;
813
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
814
+ kind: z.ZodLiteral<"pluginUi">;
815
+ pluginId: z.ZodString;
816
+ toolCallId: z.ZodString;
817
+ }, z.core.$strict>, z.ZodObject<{
818
+ kind: z.ZodLiteral<"genUi">;
819
+ path: z.ZodString;
820
+ title: z.ZodOptional<z.ZodString>;
821
+ }, z.core.$strict>], "kind">>;
609
822
  rowId: z.ZodNumber;
610
823
  turnId: z.ZodString;
611
824
  entityId: z.ZodOptional<z.ZodString>;
@@ -619,8 +832,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
619
832
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
620
833
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
621
834
  editDisposition: z.ZodOptional<z.ZodEnum<{
622
- rewind: "rewind";
623
835
  fork: "fork";
836
+ rewind: "rewind";
624
837
  }>>;
625
838
  }, z.core.$strip>>;
626
839
  }, z.core.$strip>, z.ZodObject<{
@@ -629,9 +842,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
629
842
  text: z.ZodString;
630
843
  state: z.ZodEnum<{
631
844
  failed: "failed";
632
- streaming: "streaming";
633
- interrupted: "interrupted";
634
845
  complete: "complete";
846
+ interrupted: "interrupted";
847
+ streaming: "streaming";
635
848
  }>;
636
849
  model: z.ZodOptional<z.ZodString>;
637
850
  feedback: z.ZodOptional<z.ZodEnum<{
@@ -651,8 +864,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
651
864
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
652
865
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
653
866
  editDisposition: z.ZodOptional<z.ZodEnum<{
654
- rewind: "rewind";
655
867
  fork: "fork";
868
+ rewind: "rewind";
656
869
  }>>;
657
870
  }, z.core.$strip>>;
658
871
  }, z.core.$strip>, z.ZodObject<{
@@ -660,9 +873,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
660
873
  assistantResponseId: z.ZodOptional<z.ZodString>;
661
874
  text: z.ZodString;
662
875
  state: z.ZodEnum<{
663
- streaming: "streaming";
664
- interrupted: "interrupted";
665
876
  complete: "complete";
877
+ interrupted: "interrupted";
878
+ streaming: "streaming";
666
879
  }>;
667
880
  durationMs: z.ZodOptional<z.ZodNumber>;
668
881
  rowId: z.ZodNumber;
@@ -678,8 +891,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
678
891
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
679
892
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
680
893
  editDisposition: z.ZodOptional<z.ZodEnum<{
681
- rewind: "rewind";
682
894
  fork: "fork";
895
+ rewind: "rewind";
683
896
  }>>;
684
897
  }, z.core.$strip>>;
685
898
  }, z.core.$strip>, z.ZodObject<{
@@ -688,10 +901,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
688
901
  toolCallId: z.ZodString;
689
902
  toolName: z.ZodString;
690
903
  status: z.ZodEnum<{
691
- running: "running";
692
904
  error: "error";
693
- success: "success";
694
905
  cancelled: "cancelled";
906
+ success: "success";
907
+ running: "running";
695
908
  inputStreaming: "inputStreaming";
696
909
  pendingApproval: "pendingApproval";
697
910
  }>;
@@ -725,8 +938,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
725
938
  }, z.core.$strip>, z.ZodObject<{
726
939
  kind: z.ZodLiteral<"local_agent_message">;
727
940
  status: z.ZodEnum<{
728
- failed: "failed";
729
941
  success: "success";
942
+ failed: "failed";
730
943
  }>;
731
944
  error: z.ZodOptional<z.ZodString>;
732
945
  message: z.ZodOptional<z.ZodString>;
@@ -741,8 +954,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
741
954
  kind: z.ZodLiteral<"task_output">;
742
955
  retrievalStatus: z.ZodEnum<{
743
956
  success: "success";
744
- not_ready: "not_ready";
745
957
  timeout: "timeout";
958
+ not_ready: "not_ready";
746
959
  }>;
747
960
  taskStatus: z.ZodOptional<z.ZodString>;
748
961
  output: z.ZodOptional<z.ZodString>;
@@ -750,16 +963,16 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
750
963
  }, z.core.$strip>, z.ZodObject<{
751
964
  kind: z.ZodLiteral<"respond_to_coordinator">;
752
965
  status: z.ZodEnum<{
753
- failed: "failed";
754
966
  success: "success";
967
+ failed: "failed";
755
968
  }>;
756
969
  }, z.core.$strip>, z.ZodObject<{
757
970
  kind: z.ZodLiteral<"cua">;
758
971
  schemaVersion: z.ZodLiteral<1>;
759
972
  toolName: z.ZodString;
760
973
  status: z.ZodEnum<{
761
- failed: "failed";
762
974
  success: "success";
975
+ failed: "failed";
763
976
  }>;
764
977
  input: z.ZodOptional<z.ZodString>;
765
978
  structuredContent: z.ZodOptional<z.ZodString>;
@@ -771,14 +984,14 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
771
984
  platform: z.ZodLiteral<"darwin">;
772
985
  grantOwner: z.ZodString;
773
986
  accessibility: z.ZodEnum<{
774
- stale: "stale";
775
- granted: "granted";
776
987
  denied: "denied";
988
+ granted: "granted";
989
+ stale: "stale";
777
990
  }>;
778
991
  screenRecording: z.ZodEnum<{
779
992
  unknown: "unknown";
780
- granted: "granted";
781
993
  denied: "denied";
994
+ granted: "granted";
782
995
  }>;
783
996
  }, z.core.$strict>>;
784
997
  targetApp: z.ZodOptional<z.ZodObject<{
@@ -808,10 +1021,34 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
808
1021
  description: z.ZodOptional<z.ZodString>;
809
1022
  unavailable: z.ZodOptional<z.ZodObject<{
810
1023
  code: z.ZodEnum<{
811
- quota_exceeded: "quota_exceeded";
812
1024
  coding_plan_required: "coding_plan_required";
1025
+ quota_exceeded: "quota_exceeded";
813
1026
  }>;
814
1027
  }, z.core.$strict>>;
1028
+ ui: z.ZodOptional<z.ZodObject<{
1029
+ pluginId: z.ZodString;
1030
+ resourceUri: z.ZodString;
1031
+ preferredDisplayMode: z.ZodOptional<z.ZodEnum<{
1032
+ inline: "inline";
1033
+ fullscreen: "fullscreen";
1034
+ pip: "pip";
1035
+ }>>;
1036
+ prefersBorder: z.ZodOptional<z.ZodBoolean>;
1037
+ csp: z.ZodOptional<z.ZodObject<{
1038
+ connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
1039
+ resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
1040
+ frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
1041
+ baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
1042
+ }, z.core.$strict>>;
1043
+ structuredContent: z.ZodOptional<z.ZodString>;
1044
+ widgetMeta: z.ZodOptional<z.ZodString>;
1045
+ content: z.ZodOptional<z.ZodString>;
1046
+ truncated: z.ZodOptional<z.ZodBoolean>;
1047
+ truncatedBytes: z.ZodOptional<z.ZodNumber>;
1048
+ isError: z.ZodOptional<z.ZodLiteral<true>>;
1049
+ showInline: z.ZodOptional<z.ZodLiteral<true>>;
1050
+ surface: z.ZodOptional<z.ZodString>;
1051
+ }, z.core.$strict>>;
815
1052
  }, z.core.$strip>, z.ZodObject<{
816
1053
  kind: z.ZodLiteral<"create_workflow">;
817
1054
  ok: z.ZodBoolean;
@@ -828,6 +1065,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
828
1065
  kind: z.ZodEnum<{
829
1066
  ask: "ask";
830
1067
  "world-read": "world-read";
1068
+ hole: "hole";
831
1069
  }>;
832
1070
  label: z.ZodString;
833
1071
  labelPattern: z.ZodOptional<z.ZodObject<{
@@ -844,6 +1082,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
844
1082
  stack: "stack";
845
1083
  serial: "serial";
846
1084
  }>>;
1085
+ fill: z.ZodOptional<z.ZodString>;
847
1086
  }, z.core.$strict>>;
848
1087
  lanes: z.ZodArray<z.ZodObject<{
849
1088
  id: z.ZodString;
@@ -878,32 +1117,50 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
878
1117
  line: z.ZodOptional<z.ZodNumber>;
879
1118
  column: z.ZodOptional<z.ZodNumber>;
880
1119
  alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
1120
+ fill: z.ZodOptional<z.ZodString>;
881
1121
  }, z.core.$strict>>>;
882
1122
  phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
883
1123
  from: z.ZodString;
884
1124
  to: z.ZodString;
885
1125
  back: z.ZodOptional<z.ZodLiteral<true>>;
886
1126
  }, z.core.$strict>>>;
1127
+ phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
1128
+ from: z.ZodString;
1129
+ to: z.ZodString;
1130
+ }, z.core.$strict>>>;
1131
+ holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1132
+ siteId: z.ZodString;
1133
+ name: z.ZodString;
1134
+ type: z.ZodString;
1135
+ phase: z.ZodOptional<z.ZodString>;
1136
+ tail: z.ZodOptional<z.ZodBoolean>;
1137
+ }, z.core.$strict>>>;
887
1138
  exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
888
1139
  sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
889
1140
  truncated: z.ZodOptional<z.ZodBoolean>;
890
1141
  }, z.core.$strict>>;
891
1142
  truncated: z.ZodOptional<z.ZodBoolean>;
1143
+ fill: z.ZodOptional<z.ZodObject<{
1144
+ siteId: z.ZodString;
1145
+ name: z.ZodString;
1146
+ draftPath: z.ZodOptional<z.ZodString>;
1147
+ line: z.ZodOptional<z.ZodNumber>;
1148
+ }, z.core.$strict>>;
892
1149
  }, z.core.$strict>, z.ZodObject<{
893
1150
  kind: z.ZodLiteral<"get_workflow_run">;
894
1151
  runId: z.ZodString;
895
1152
  label: z.ZodString;
896
1153
  status: z.ZodEnum<{
897
1154
  completed: "completed";
898
- running: "running";
899
- stopped: "stopped";
900
1155
  pending: "pending";
1156
+ running: "running";
901
1157
  errored: "errored";
1158
+ stopped: "stopped";
902
1159
  }>;
903
1160
  stopReason: z.ZodOptional<z.ZodEnum<{
904
- provider: "provider";
905
- model: "model";
906
1161
  user: "user";
1162
+ model: "model";
1163
+ provider: "provider";
907
1164
  interrupted: "interrupted";
908
1165
  superseded: "superseded";
909
1166
  }>>;
@@ -920,8 +1177,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
920
1177
  phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
921
1178
  name: z.ZodString;
922
1179
  state: z.ZodEnum<{
923
- done: "done";
924
1180
  current: "current";
1181
+ done: "done";
925
1182
  ahead: "ahead";
926
1183
  unfinished: "unfinished";
927
1184
  }>;
@@ -938,10 +1195,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
938
1195
  state: z.ZodEnum<{
939
1196
  failed: "failed";
940
1197
  idle: "idle";
1198
+ waiting: "waiting";
941
1199
  done: "done";
942
1200
  unfinished: "unfinished";
943
1201
  executing: "executing";
944
- waiting: "waiting";
945
1202
  parked: "parked";
946
1203
  }>;
947
1204
  phaseName: z.ZodOptional<z.ZodString>;
@@ -1007,15 +1264,15 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1007
1264
  }>;
1008
1265
  status: z.ZodEnum<{
1009
1266
  completed: "completed";
1010
- running: "running";
1011
- stopped: "stopped";
1012
1267
  pending: "pending";
1268
+ running: "running";
1013
1269
  errored: "errored";
1270
+ stopped: "stopped";
1014
1271
  }>;
1015
1272
  stopReason: z.ZodOptional<z.ZodEnum<{
1016
- provider: "provider";
1017
- model: "model";
1018
1273
  user: "user";
1274
+ model: "model";
1275
+ provider: "provider";
1019
1276
  interrupted: "interrupted";
1020
1277
  superseded: "superseded";
1021
1278
  }>>;
@@ -1093,8 +1350,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1093
1350
  kind: z.ZodLiteral<"task_output">;
1094
1351
  retrievalStatus: z.ZodEnum<{
1095
1352
  success: "success";
1096
- not_ready: "not_ready";
1097
1353
  timeout: "timeout";
1354
+ not_ready: "not_ready";
1098
1355
  }>;
1099
1356
  taskStatus: z.ZodOptional<z.ZodString>;
1100
1357
  output: z.ZodOptional<z.ZodString>;
@@ -1102,8 +1359,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1102
1359
  }, z.core.$strict>, z.ZodObject<{
1103
1360
  kind: z.ZodLiteral<"respond_to_coordinator">;
1104
1361
  status: z.ZodEnum<{
1105
- failed: "failed";
1106
1362
  success: "success";
1363
+ failed: "failed";
1107
1364
  }>;
1108
1365
  }, z.core.$strict>, z.ZodObject<{
1109
1366
  kind: z.ZodLiteral<"mcp_tool">;
@@ -1112,10 +1369,34 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1112
1369
  description: z.ZodOptional<z.ZodString>;
1113
1370
  unavailable: z.ZodOptional<z.ZodObject<{
1114
1371
  code: z.ZodEnum<{
1115
- quota_exceeded: "quota_exceeded";
1116
1372
  coding_plan_required: "coding_plan_required";
1373
+ quota_exceeded: "quota_exceeded";
1117
1374
  }>;
1118
1375
  }, z.core.$strict>>;
1376
+ ui: z.ZodOptional<z.ZodObject<{
1377
+ pluginId: z.ZodString;
1378
+ resourceUri: z.ZodString;
1379
+ preferredDisplayMode: z.ZodOptional<z.ZodEnum<{
1380
+ inline: "inline";
1381
+ fullscreen: "fullscreen";
1382
+ pip: "pip";
1383
+ }>>;
1384
+ prefersBorder: z.ZodOptional<z.ZodBoolean>;
1385
+ csp: z.ZodOptional<z.ZodObject<{
1386
+ connectDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
1387
+ resourceDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
1388
+ frameDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
1389
+ baseUriDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
1390
+ }, z.core.$strict>>;
1391
+ structuredContent: z.ZodOptional<z.ZodString>;
1392
+ widgetMeta: z.ZodOptional<z.ZodString>;
1393
+ content: z.ZodOptional<z.ZodString>;
1394
+ truncated: z.ZodOptional<z.ZodBoolean>;
1395
+ truncatedBytes: z.ZodOptional<z.ZodNumber>;
1396
+ isError: z.ZodOptional<z.ZodLiteral<true>>;
1397
+ showInline: z.ZodOptional<z.ZodLiteral<true>>;
1398
+ surface: z.ZodOptional<z.ZodString>;
1399
+ }, z.core.$strict>>;
1119
1400
  }, z.core.$strict>, z.ZodObject<{
1120
1401
  kind: z.ZodLiteral<"create_workflow">;
1121
1402
  ok: z.ZodBoolean;
@@ -1132,6 +1413,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1132
1413
  kind: z.ZodEnum<{
1133
1414
  ask: "ask";
1134
1415
  "world-read": "world-read";
1416
+ hole: "hole";
1135
1417
  }>;
1136
1418
  label: z.ZodString;
1137
1419
  labelPattern: z.ZodOptional<z.ZodObject<{
@@ -1148,6 +1430,7 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1148
1430
  stack: "stack";
1149
1431
  serial: "serial";
1150
1432
  }>>;
1433
+ fill: z.ZodOptional<z.ZodString>;
1151
1434
  }, z.core.$strict>>;
1152
1435
  lanes: z.ZodArray<z.ZodObject<{
1153
1436
  id: z.ZodString;
@@ -1182,32 +1465,50 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1182
1465
  line: z.ZodOptional<z.ZodNumber>;
1183
1466
  column: z.ZodOptional<z.ZodNumber>;
1184
1467
  alongside: z.ZodOptional<z.ZodArray<z.ZodString>>;
1468
+ fill: z.ZodOptional<z.ZodString>;
1185
1469
  }, z.core.$strict>>>;
1186
1470
  phaseEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1187
1471
  from: z.ZodString;
1188
1472
  to: z.ZodString;
1189
1473
  back: z.ZodOptional<z.ZodLiteral<true>>;
1190
1474
  }, z.core.$strict>>>;
1475
+ phaseStreams: z.ZodOptional<z.ZodArray<z.ZodObject<{
1476
+ from: z.ZodString;
1477
+ to: z.ZodString;
1478
+ }, z.core.$strict>>>;
1479
+ holes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1480
+ siteId: z.ZodString;
1481
+ name: z.ZodString;
1482
+ type: z.ZodString;
1483
+ phase: z.ZodOptional<z.ZodString>;
1484
+ tail: z.ZodOptional<z.ZodBoolean>;
1485
+ }, z.core.$strict>>>;
1191
1486
  exits: z.ZodOptional<z.ZodArray<z.ZodString>>;
1192
1487
  sink: z.ZodOptional<z.ZodArray<z.ZodString>>;
1193
1488
  truncated: z.ZodOptional<z.ZodBoolean>;
1194
1489
  }, z.core.$strict>>;
1195
1490
  truncated: z.ZodOptional<z.ZodBoolean>;
1491
+ fill: z.ZodOptional<z.ZodObject<{
1492
+ siteId: z.ZodString;
1493
+ name: z.ZodString;
1494
+ draftPath: z.ZodOptional<z.ZodString>;
1495
+ line: z.ZodOptional<z.ZodNumber>;
1496
+ }, z.core.$strict>>;
1196
1497
  }, z.core.$strict>, z.ZodObject<{
1197
1498
  kind: z.ZodLiteral<"get_workflow_run">;
1198
1499
  runId: z.ZodString;
1199
1500
  label: z.ZodString;
1200
1501
  status: z.ZodEnum<{
1201
1502
  completed: "completed";
1202
- running: "running";
1203
- stopped: "stopped";
1204
1503
  pending: "pending";
1504
+ running: "running";
1205
1505
  errored: "errored";
1506
+ stopped: "stopped";
1206
1507
  }>;
1207
1508
  stopReason: z.ZodOptional<z.ZodEnum<{
1208
- provider: "provider";
1209
- model: "model";
1210
1509
  user: "user";
1510
+ model: "model";
1511
+ provider: "provider";
1211
1512
  interrupted: "interrupted";
1212
1513
  superseded: "superseded";
1213
1514
  }>>;
@@ -1224,8 +1525,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1224
1525
  phases: z.ZodOptional<z.ZodArray<z.ZodObject<{
1225
1526
  name: z.ZodString;
1226
1527
  state: z.ZodEnum<{
1227
- done: "done";
1228
1528
  current: "current";
1529
+ done: "done";
1229
1530
  ahead: "ahead";
1230
1531
  unfinished: "unfinished";
1231
1532
  }>;
@@ -1242,10 +1543,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1242
1543
  state: z.ZodEnum<{
1243
1544
  failed: "failed";
1244
1545
  idle: "idle";
1546
+ waiting: "waiting";
1245
1547
  done: "done";
1246
1548
  unfinished: "unfinished";
1247
1549
  executing: "executing";
1248
- waiting: "waiting";
1249
1550
  parked: "parked";
1250
1551
  }>;
1251
1552
  phaseName: z.ZodOptional<z.ZodString>;
@@ -1311,15 +1612,15 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1311
1612
  }>;
1312
1613
  status: z.ZodEnum<{
1313
1614
  completed: "completed";
1314
- running: "running";
1315
- stopped: "stopped";
1316
1615
  pending: "pending";
1616
+ running: "running";
1317
1617
  errored: "errored";
1618
+ stopped: "stopped";
1318
1619
  }>;
1319
1620
  stopReason: z.ZodOptional<z.ZodEnum<{
1320
- provider: "provider";
1321
- model: "model";
1322
1621
  user: "user";
1622
+ model: "model";
1623
+ provider: "provider";
1323
1624
  interrupted: "interrupted";
1324
1625
  superseded: "superseded";
1325
1626
  }>>;
@@ -1381,8 +1682,11 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1381
1682
  message: z.ZodString;
1382
1683
  }, z.core.$strip>>;
1383
1684
  progress: z.ZodOptional<z.ZodObject<{
1384
- bytes: z.ZodNumber;
1685
+ bytes: z.ZodOptional<z.ZodNumber>;
1385
1686
  previewLine: z.ZodOptional<z.ZodString>;
1687
+ fraction: z.ZodOptional<z.ZodNumber>;
1688
+ total: z.ZodOptional<z.ZodNumber>;
1689
+ message: z.ZodOptional<z.ZodString>;
1386
1690
  updatedAt: z.ZodNumber;
1387
1691
  }, z.core.$strip>>;
1388
1692
  outputPreview: z.ZodOptional<z.ZodObject<{
@@ -1410,8 +1714,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1410
1714
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1411
1715
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1412
1716
  editDisposition: z.ZodOptional<z.ZodEnum<{
1413
- rewind: "rewind";
1414
1717
  fork: "fork";
1718
+ rewind: "rewind";
1415
1719
  }>>;
1416
1720
  }, z.core.$strip>>;
1417
1721
  }, z.core.$strip>, z.ZodObject<{
@@ -1420,8 +1724,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1420
1724
  logicalArtifactKey: z.ZodString;
1421
1725
  displayName: z.ZodString;
1422
1726
  artifactType: z.ZodEnum<{
1423
- image: "image";
1424
1727
  text: "text";
1728
+ image: "image";
1425
1729
  pdf: "pdf";
1426
1730
  pptx: "pptx";
1427
1731
  docx: "docx";
@@ -1447,8 +1751,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1447
1751
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1448
1752
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1449
1753
  editDisposition: z.ZodOptional<z.ZodEnum<{
1450
- rewind: "rewind";
1451
1754
  fork: "fork";
1755
+ rewind: "rewind";
1452
1756
  }>>;
1453
1757
  }, z.core.$strip>>;
1454
1758
  }, z.core.$strip>, z.ZodObject<{
@@ -1456,10 +1760,10 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1456
1760
  parentToolCallId: z.ZodOptional<z.ZodString>;
1457
1761
  subagentType: z.ZodString;
1458
1762
  status: z.ZodEnum<{
1763
+ cancelled: "cancelled";
1764
+ success: "success";
1459
1765
  failed: "failed";
1460
1766
  running: "running";
1461
- success: "success";
1462
- cancelled: "cancelled";
1463
1767
  }>;
1464
1768
  summaryText: z.ZodString;
1465
1769
  childSessionId: z.ZodOptional<z.ZodString>;
@@ -1480,8 +1784,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1480
1784
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1481
1785
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1482
1786
  editDisposition: z.ZodOptional<z.ZodEnum<{
1483
- rewind: "rewind";
1484
1787
  fork: "fork";
1788
+ rewind: "rewind";
1485
1789
  }>>;
1486
1790
  }, z.core.$strip>>;
1487
1791
  }, z.core.$strip>, z.ZodObject<{
@@ -1498,8 +1802,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1498
1802
  }>;
1499
1803
  hookCount: z.ZodNumber;
1500
1804
  state: z.ZodEnum<{
1501
- completed: "completed";
1502
1805
  failed: "failed";
1806
+ completed: "completed";
1503
1807
  running: "running";
1504
1808
  }>;
1505
1809
  startedAt: z.ZodNumber;
@@ -1516,14 +1820,14 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1516
1820
  hookIndex: z.ZodNumber;
1517
1821
  didExecute: z.ZodBoolean;
1518
1822
  state: z.ZodEnum<{
1519
- completed: "completed";
1520
1823
  failed: "failed";
1824
+ completed: "completed";
1521
1825
  running: "running";
1522
1826
  }>;
1523
1827
  outcome: z.ZodOptional<z.ZodEnum<{
1524
- failed: "failed";
1525
- success: "success";
1526
1828
  cancelled: "cancelled";
1829
+ success: "success";
1830
+ failed: "failed";
1527
1831
  blocked: "blocked";
1528
1832
  timed_out: "timed_out";
1529
1833
  }>>;
@@ -1533,9 +1837,9 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1533
1837
  durationMs: z.ZodOptional<z.ZodNumber>;
1534
1838
  displayName: z.ZodString;
1535
1839
  sourceKind: z.ZodEnum<{
1840
+ plugin: "plugin";
1536
1841
  user: "user";
1537
1842
  project: "project";
1538
- plugin: "plugin";
1539
1843
  }>;
1540
1844
  pluginName: z.ZodOptional<z.ZodString>;
1541
1845
  toolName: z.ZodOptional<z.ZodString>;
@@ -1553,8 +1857,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1553
1857
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1554
1858
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1555
1859
  editDisposition: z.ZodOptional<z.ZodEnum<{
1556
- rewind: "rewind";
1557
1860
  fork: "fork";
1861
+ rewind: "rewind";
1558
1862
  }>>;
1559
1863
  }, z.core.$strip>>;
1560
1864
  }, z.core.$strip>, z.ZodObject<{
@@ -1568,14 +1872,14 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1568
1872
  marker: z.ZodUnion<readonly [z.ZodObject<{
1569
1873
  type: z.ZodLiteral<"compact">;
1570
1874
  origin: z.ZodEnum<{
1571
- manual: "manual";
1572
1875
  auto: "auto";
1876
+ manual: "manual";
1573
1877
  }>;
1574
1878
  status: z.ZodEnum<{
1879
+ cancelled: "cancelled";
1880
+ success: "success";
1575
1881
  failed: "failed";
1576
1882
  running: "running";
1577
- success: "success";
1578
- cancelled: "cancelled";
1579
1883
  noop: "noop";
1580
1884
  }>;
1581
1885
  tokensBefore: z.ZodOptional<z.ZodNumber>;
@@ -1638,8 +1942,8 @@ export declare const conversationShareConfirmRequestSchema: z.ZodObject<{
1638
1942
  canRetry: z.ZodOptional<z.ZodLiteral<true>>;
1639
1943
  canRewindFiles: z.ZodOptional<z.ZodLiteral<true>>;
1640
1944
  editDisposition: z.ZodOptional<z.ZodEnum<{
1641
- rewind: "rewind";
1642
1945
  fork: "fork";
1946
+ rewind: "rewind";
1643
1947
  }>>;
1644
1948
  }, z.core.$strip>>;
1645
1949
  }, z.core.$strip>], "kind">>;
@@ -1663,8 +1967,8 @@ export declare const conversationSharePreviewArtifactSchema: z.ZodObject<{
1663
1967
  state: z.ZodLiteral<"current">;
1664
1968
  ref: z.ZodString;
1665
1969
  artifact_type: z.ZodEnum<{
1666
- image: "image";
1667
1970
  text: "text";
1971
+ image: "image";
1668
1972
  pdf: "pdf";
1669
1973
  pptx: "pptx";
1670
1974
  docx: "docx";
@@ -1708,8 +2012,8 @@ export declare const conversationSharePreviewDataSchema: z.ZodObject<{
1708
2012
  state: z.ZodLiteral<"current">;
1709
2013
  ref: z.ZodString;
1710
2014
  artifact_type: z.ZodEnum<{
1711
- image: "image";
1712
2015
  text: "text";
2016
+ image: "image";
1713
2017
  pdf: "pdf";
1714
2018
  pptx: "pptx";
1715
2019
  docx: "docx";
@@ -1750,8 +2054,8 @@ export declare const conversationShareContinuationArtifactSchema: z.ZodObject<{
1750
2054
  state: z.ZodLiteral<"current">;
1751
2055
  ref: z.ZodString;
1752
2056
  artifact_type: z.ZodEnum<{
1753
- image: "image";
1754
2057
  text: "text";
2058
+ image: "image";
1755
2059
  pdf: "pdf";
1756
2060
  pptx: "pptx";
1757
2061
  docx: "docx";
@@ -1792,8 +2096,8 @@ export declare const conversationShareContinuationDataSchema: z.ZodObject<{
1792
2096
  state: z.ZodLiteral<"current">;
1793
2097
  ref: z.ZodString;
1794
2098
  artifact_type: z.ZodEnum<{
1795
- image: "image";
1796
2099
  text: "text";
2100
+ image: "image";
1797
2101
  pdf: "pdf";
1798
2102
  pptx: "pptx";
1799
2103
  docx: "docx";