@vibesdotdev/workboard 0.0.0-stage → 1.0.0-rc.1

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 (591) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +31 -2
  3. package/dist/agent-actions.d.ts +19 -0
  4. package/dist/agent-actions.d.ts.map +1 -0
  5. package/dist/agent-actions.js +93 -0
  6. package/dist/agent-actions.js.map +1 -0
  7. package/dist/attention/headless-attention.host.d.ts +78 -0
  8. package/dist/attention/headless-attention.host.d.ts.map +1 -0
  9. package/dist/attention/headless-attention.host.js +42 -0
  10. package/dist/attention/headless-attention.host.js.map +1 -0
  11. package/dist/attention/index.d.ts +2 -0
  12. package/dist/attention/index.d.ts.map +1 -0
  13. package/dist/attention/index.js +2 -0
  14. package/dist/attention/index.js.map +1 -0
  15. package/dist/cli/marshal/components/index.d.ts +12 -0
  16. package/dist/cli/marshal/components/index.d.ts.map +1 -0
  17. package/dist/cli/marshal/components/index.js +12 -0
  18. package/dist/cli/marshal/components/index.js.map +1 -0
  19. package/dist/cli/marshal/components/marshal-progress.d.ts +52 -0
  20. package/dist/cli/marshal/components/marshal-progress.d.ts.map +1 -0
  21. package/dist/cli/marshal/components/marshal-progress.js +182 -0
  22. package/dist/cli/marshal/components/marshal-progress.js.map +1 -0
  23. package/dist/cli/marshal/components/marshal-prompt.d.ts +72 -0
  24. package/dist/cli/marshal/components/marshal-prompt.d.ts.map +1 -0
  25. package/dist/cli/marshal/components/marshal-prompt.js +256 -0
  26. package/dist/cli/marshal/components/marshal-prompt.js.map +1 -0
  27. package/dist/cli/marshal/components/marshal-widgets.d.ts +73 -0
  28. package/dist/cli/marshal/components/marshal-widgets.d.ts.map +1 -0
  29. package/dist/cli/marshal/components/marshal-widgets.js +283 -0
  30. package/dist/cli/marshal/components/marshal-widgets.js.map +1 -0
  31. package/dist/cli/marshal/index.d.ts +2 -0
  32. package/dist/cli/marshal/index.d.ts.map +1 -0
  33. package/dist/cli/marshal/index.js +2 -0
  34. package/dist/cli/marshal/index.js.map +1 -0
  35. package/dist/client/helper.d.ts +12 -0
  36. package/dist/client/helper.d.ts.map +1 -0
  37. package/dist/client/helper.js +13 -0
  38. package/dist/client/helper.js.map +1 -0
  39. package/dist/client/index.d.ts +3 -0
  40. package/dist/client/index.d.ts.map +1 -0
  41. package/dist/client/index.js +3 -0
  42. package/dist/client/index.js.map +1 -0
  43. package/dist/client/workboard-client.d.ts +283 -0
  44. package/dist/client/workboard-client.d.ts.map +1 -0
  45. package/dist/client/workboard-client.js +550 -0
  46. package/dist/client/workboard-client.js.map +1 -0
  47. package/dist/config/workboard.config.descriptor.d.ts +38 -0
  48. package/dist/config/workboard.config.descriptor.d.ts.map +1 -0
  49. package/dist/config/workboard.config.descriptor.js +30 -0
  50. package/dist/config/workboard.config.descriptor.js.map +1 -0
  51. package/dist/docs/workboard.docs.descriptor.d.ts +4 -0
  52. package/dist/docs/workboard.docs.descriptor.d.ts.map +1 -0
  53. package/dist/docs/workboard.docs.descriptor.js +85 -0
  54. package/dist/docs/workboard.docs.descriptor.js.map +1 -0
  55. package/dist/index.d.ts +12 -0
  56. package/dist/index.d.ts.map +1 -0
  57. package/dist/index.js +15 -0
  58. package/dist/index.js.map +1 -0
  59. package/dist/marshal/agent/descriptor.d.ts +66 -0
  60. package/dist/marshal/agent/descriptor.d.ts.map +1 -0
  61. package/dist/marshal/agent/descriptor.js +144 -0
  62. package/dist/marshal/agent/descriptor.js.map +1 -0
  63. package/dist/marshal/agent/index.d.ts +10 -0
  64. package/dist/marshal/agent/index.d.ts.map +1 -0
  65. package/dist/marshal/agent/index.js +10 -0
  66. package/dist/marshal/agent/index.js.map +1 -0
  67. package/dist/marshal/agent/marshal-agent.d.ts +42 -0
  68. package/dist/marshal/agent/marshal-agent.d.ts.map +1 -0
  69. package/dist/marshal/agent/marshal-agent.js +121 -0
  70. package/dist/marshal/agent/marshal-agent.js.map +1 -0
  71. package/dist/marshal/agent/marshal.agent.descriptor.d.ts +9 -0
  72. package/dist/marshal/agent/marshal.agent.descriptor.d.ts.map +1 -0
  73. package/dist/marshal/agent/marshal.agent.descriptor.js +9 -0
  74. package/dist/marshal/agent/marshal.agent.descriptor.js.map +1 -0
  75. package/dist/marshal/agent/profile.d.ts +16 -0
  76. package/dist/marshal/agent/profile.d.ts.map +1 -0
  77. package/dist/marshal/agent/profile.js +55 -0
  78. package/dist/marshal/agent/profile.js.map +1 -0
  79. package/dist/marshal/agent/prompts/cloud-system.prompt.descriptor.d.ts +113 -0
  80. package/dist/marshal/agent/prompts/cloud-system.prompt.descriptor.d.ts.map +1 -0
  81. package/dist/marshal/agent/prompts/cloud-system.prompt.descriptor.js +85 -0
  82. package/dist/marshal/agent/prompts/cloud-system.prompt.descriptor.js.map +1 -0
  83. package/dist/marshal/agent/prompts/index.d.ts +113 -0
  84. package/dist/marshal/agent/prompts/index.d.ts.map +1 -0
  85. package/dist/marshal/agent/prompts/index.js +16 -0
  86. package/dist/marshal/agent/prompts/index.js.map +1 -0
  87. package/dist/marshal/agent/prompts/personality.prompt.descriptor.d.ts +113 -0
  88. package/dist/marshal/agent/prompts/personality.prompt.descriptor.d.ts.map +1 -0
  89. package/dist/marshal/agent/prompts/personality.prompt.descriptor.js +34 -0
  90. package/dist/marshal/agent/prompts/personality.prompt.descriptor.js.map +1 -0
  91. package/dist/marshal/agent/prompts/setup-issue.prompt.descriptor.d.ts +113 -0
  92. package/dist/marshal/agent/prompts/setup-issue.prompt.descriptor.d.ts.map +1 -0
  93. package/dist/marshal/agent/prompts/setup-issue.prompt.descriptor.js +68 -0
  94. package/dist/marshal/agent/prompts/setup-issue.prompt.descriptor.js.map +1 -0
  95. package/dist/marshal/agent/prompts/setup-wizard.prompt.descriptor.d.ts +113 -0
  96. package/dist/marshal/agent/prompts/setup-wizard.prompt.descriptor.d.ts.map +1 -0
  97. package/dist/marshal/agent/prompts/setup-wizard.prompt.descriptor.js +38 -0
  98. package/dist/marshal/agent/prompts/setup-wizard.prompt.descriptor.js.map +1 -0
  99. package/dist/marshal/agent/prompts/surface.prompt.descriptor.d.ts +113 -0
  100. package/dist/marshal/agent/prompts/surface.prompt.descriptor.d.ts.map +1 -0
  101. package/dist/marshal/agent/prompts/surface.prompt.descriptor.js +39 -0
  102. package/dist/marshal/agent/prompts/surface.prompt.descriptor.js.map +1 -0
  103. package/dist/marshal/agent/prompts/system.prompt.descriptor.d.ts +113 -0
  104. package/dist/marshal/agent/prompts/system.prompt.descriptor.d.ts.map +1 -0
  105. package/dist/marshal/agent/prompts/system.prompt.descriptor.js +63 -0
  106. package/dist/marshal/agent/prompts/system.prompt.descriptor.js.map +1 -0
  107. package/dist/marshal/agent/system-prompt.d.ts +34 -0
  108. package/dist/marshal/agent/system-prompt.d.ts.map +1 -0
  109. package/dist/marshal/agent/system-prompt.js +130 -0
  110. package/dist/marshal/agent/system-prompt.js.map +1 -0
  111. package/dist/marshal/capabilities.d.ts +55 -0
  112. package/dist/marshal/capabilities.d.ts.map +1 -0
  113. package/dist/marshal/capabilities.js +146 -0
  114. package/dist/marshal/capabilities.js.map +1 -0
  115. package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.descriptor.d.ts +4 -0
  116. package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.descriptor.d.ts.map +1 -0
  117. package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.descriptor.js +18 -0
  118. package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.descriptor.js.map +1 -0
  119. package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.impl.consumer.d.ts +16 -0
  120. package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.impl.consumer.d.ts.map +1 -0
  121. package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.impl.consumer.js +39 -0
  122. package/dist/marshal/cli/fleet.marshal-presence.heartbeat.command.impl.consumer.js.map +1 -0
  123. package/dist/marshal/cli/plugin.d.ts +3 -0
  124. package/dist/marshal/cli/plugin.d.ts.map +1 -0
  125. package/dist/marshal/cli/plugin.js +9 -0
  126. package/dist/marshal/cli/plugin.js.map +1 -0
  127. package/dist/marshal/client/helper.d.ts +24 -0
  128. package/dist/marshal/client/helper.d.ts.map +1 -0
  129. package/dist/marshal/client/helper.js +36 -0
  130. package/dist/marshal/client/helper.js.map +1 -0
  131. package/dist/marshal/client/index.d.ts +7 -0
  132. package/dist/marshal/client/index.d.ts.map +1 -0
  133. package/dist/marshal/client/index.js +6 -0
  134. package/dist/marshal/client/index.js.map +1 -0
  135. package/dist/marshal/client/marshal-api-client.impl.d.ts +22 -0
  136. package/dist/marshal/client/marshal-api-client.impl.d.ts.map +1 -0
  137. package/dist/marshal/client/marshal-api-client.impl.js +47 -0
  138. package/dist/marshal/client/marshal-api-client.impl.js.map +1 -0
  139. package/dist/marshal/client/marshal-client.runtime.d.ts +124 -0
  140. package/dist/marshal/client/marshal-client.runtime.d.ts.map +1 -0
  141. package/dist/marshal/client/marshal-client.runtime.js +216 -0
  142. package/dist/marshal/client/marshal-client.runtime.js.map +1 -0
  143. package/dist/marshal/cloud.plugin.d.ts +2 -0
  144. package/dist/marshal/cloud.plugin.d.ts.map +1 -0
  145. package/dist/marshal/cloud.plugin.js +2 -0
  146. package/dist/marshal/cloud.plugin.js.map +1 -0
  147. package/dist/marshal/components/index.d.ts +8 -0
  148. package/dist/marshal/components/index.d.ts.map +1 -0
  149. package/dist/marshal/components/index.js +15 -0
  150. package/dist/marshal/components/index.js.map +1 -0
  151. package/dist/marshal/config/manifest.d.ts +8608 -0
  152. package/dist/marshal/config/manifest.d.ts.map +1 -0
  153. package/dist/marshal/config/manifest.js +115 -0
  154. package/dist/marshal/config/manifest.js.map +1 -0
  155. package/dist/marshal/consumer.d.ts +7 -0
  156. package/dist/marshal/consumer.d.ts.map +1 -0
  157. package/dist/marshal/consumer.js +9 -0
  158. package/dist/marshal/consumer.js.map +1 -0
  159. package/dist/marshal/consumer.plugin.d.ts +2 -0
  160. package/dist/marshal/consumer.plugin.d.ts.map +1 -0
  161. package/dist/marshal/consumer.plugin.js +2 -0
  162. package/dist/marshal/consumer.plugin.js.map +1 -0
  163. package/dist/marshal/context/agents-context-kind.d.ts +9 -0
  164. package/dist/marshal/context/agents-context-kind.d.ts.map +1 -0
  165. package/dist/marshal/context/agents-context-kind.js +17 -0
  166. package/dist/marshal/context/agents-context-kind.js.map +1 -0
  167. package/dist/marshal/context/marshal.context-provider.descriptor.d.ts +26 -0
  168. package/dist/marshal/context/marshal.context-provider.descriptor.d.ts.map +1 -0
  169. package/dist/marshal/context/marshal.context-provider.descriptor.js +10 -0
  170. package/dist/marshal/context/marshal.context-provider.descriptor.js.map +1 -0
  171. package/dist/marshal/context/marshal.context-provider.impl.d.ts +4 -0
  172. package/dist/marshal/context/marshal.context-provider.impl.d.ts.map +1 -0
  173. package/dist/marshal/context/marshal.context-provider.impl.js +42 -0
  174. package/dist/marshal/context/marshal.context-provider.impl.js.map +1 -0
  175. package/dist/marshal/index.d.ts +29 -0
  176. package/dist/marshal/index.d.ts.map +1 -0
  177. package/dist/marshal/index.js +34 -0
  178. package/dist/marshal/index.js.map +1 -0
  179. package/dist/marshal/marshal.api-client.descriptor.d.ts +9 -0
  180. package/dist/marshal/marshal.api-client.descriptor.d.ts.map +1 -0
  181. package/dist/marshal/marshal.api-client.descriptor.js +19 -0
  182. package/dist/marshal/marshal.api-client.descriptor.js.map +1 -0
  183. package/dist/marshal/marshal.consumer.plugin.d.ts +4 -0
  184. package/dist/marshal/marshal.consumer.plugin.d.ts.map +1 -0
  185. package/dist/marshal/marshal.consumer.plugin.js +18 -0
  186. package/dist/marshal/marshal.consumer.plugin.js.map +1 -0
  187. package/dist/marshal/marshal.plugin.d.ts +10 -0
  188. package/dist/marshal/marshal.plugin.d.ts.map +1 -0
  189. package/dist/marshal/marshal.plugin.js +55 -0
  190. package/dist/marshal/marshal.plugin.js.map +1 -0
  191. package/dist/marshal/marshal.runtime-client.descriptor.d.ts +9 -0
  192. package/dist/marshal/marshal.runtime-client.descriptor.d.ts.map +1 -0
  193. package/dist/marshal/marshal.runtime-client.descriptor.js +19 -0
  194. package/dist/marshal/marshal.runtime-client.descriptor.js.map +1 -0
  195. package/dist/marshal/plugin.d.ts +2 -0
  196. package/dist/marshal/plugin.d.ts.map +1 -0
  197. package/dist/marshal/plugin.js +2 -0
  198. package/dist/marshal/plugin.js.map +1 -0
  199. package/dist/marshal/presence/heartbeat.d.ts +64 -0
  200. package/dist/marshal/presence/heartbeat.d.ts.map +1 -0
  201. package/dist/marshal/presence/heartbeat.js +169 -0
  202. package/dist/marshal/presence/heartbeat.js.map +1 -0
  203. package/dist/marshal/presence/index.d.ts +2 -0
  204. package/dist/marshal/presence/index.d.ts.map +1 -0
  205. package/dist/marshal/presence/index.js +2 -0
  206. package/dist/marshal/presence/index.js.map +1 -0
  207. package/dist/marshal/schemas/agent.d.ts +27 -0
  208. package/dist/marshal/schemas/agent.d.ts.map +1 -0
  209. package/dist/marshal/schemas/agent.js +2 -0
  210. package/dist/marshal/schemas/agent.js.map +1 -0
  211. package/dist/marshal/schemas/baseline.d.ts +73 -0
  212. package/dist/marshal/schemas/baseline.d.ts.map +1 -0
  213. package/dist/marshal/schemas/baseline.js +28 -0
  214. package/dist/marshal/schemas/baseline.js.map +1 -0
  215. package/dist/marshal/schemas/client.d.ts +50 -0
  216. package/dist/marshal/schemas/client.d.ts.map +1 -0
  217. package/dist/marshal/schemas/client.js +27 -0
  218. package/dist/marshal/schemas/client.js.map +1 -0
  219. package/dist/marshal/schemas/common.d.ts +252 -0
  220. package/dist/marshal/schemas/common.d.ts.map +1 -0
  221. package/dist/marshal/schemas/common.js +119 -0
  222. package/dist/marshal/schemas/common.js.map +1 -0
  223. package/dist/marshal/schemas/components.d.ts +95 -0
  224. package/dist/marshal/schemas/components.d.ts.map +1 -0
  225. package/dist/marshal/schemas/components.js +10 -0
  226. package/dist/marshal/schemas/components.js.map +1 -0
  227. package/dist/marshal/schemas/config.d.ts +20 -0
  228. package/dist/marshal/schemas/config.d.ts.map +1 -0
  229. package/dist/marshal/schemas/config.js +11 -0
  230. package/dist/marshal/schemas/config.js.map +1 -0
  231. package/dist/marshal/schemas/index.d.ts +18 -0
  232. package/dist/marshal/schemas/index.d.ts.map +1 -0
  233. package/dist/marshal/schemas/index.js +11 -0
  234. package/dist/marshal/schemas/index.js.map +1 -0
  235. package/dist/marshal/schemas/interactive.d.ts +315 -0
  236. package/dist/marshal/schemas/interactive.d.ts.map +1 -0
  237. package/dist/marshal/schemas/interactive.js +201 -0
  238. package/dist/marshal/schemas/interactive.js.map +1 -0
  239. package/dist/marshal/schemas/presence.d.ts +29 -0
  240. package/dist/marshal/schemas/presence.d.ts.map +1 -0
  241. package/dist/marshal/schemas/presence.js +14 -0
  242. package/dist/marshal/schemas/presence.js.map +1 -0
  243. package/dist/marshal/schemas/progress.d.ts +100 -0
  244. package/dist/marshal/schemas/progress.d.ts.map +1 -0
  245. package/dist/marshal/schemas/progress.js +55 -0
  246. package/dist/marshal/schemas/progress.js.map +1 -0
  247. package/dist/marshal/schemas/server.d.ts +70 -0
  248. package/dist/marshal/schemas/server.d.ts.map +1 -0
  249. package/dist/marshal/schemas/server.js +39 -0
  250. package/dist/marshal/schemas/server.js.map +1 -0
  251. package/dist/marshal/schemas/setup.d.ts +78 -0
  252. package/dist/marshal/schemas/setup.d.ts.map +1 -0
  253. package/dist/marshal/schemas/setup.js +2 -0
  254. package/dist/marshal/schemas/setup.js.map +1 -0
  255. package/dist/marshal/schemas/tools.d.ts +124 -0
  256. package/dist/marshal/schemas/tools.d.ts.map +1 -0
  257. package/dist/marshal/schemas/tools.js +75 -0
  258. package/dist/marshal/schemas/tools.js.map +1 -0
  259. package/dist/marshal/schemas/types.d.ts +33 -0
  260. package/dist/marshal/schemas/types.d.ts.map +1 -0
  261. package/dist/marshal/schemas/types.js +2 -0
  262. package/dist/marshal/schemas/types.js.map +1 -0
  263. package/dist/marshal/schemas/worker.d.ts +8 -0
  264. package/dist/marshal/schemas/worker.d.ts.map +1 -0
  265. package/dist/marshal/schemas/worker.js +7 -0
  266. package/dist/marshal/schemas/worker.js.map +1 -0
  267. package/dist/marshal/setup/guided.d.ts +26 -0
  268. package/dist/marshal/setup/guided.d.ts.map +1 -0
  269. package/dist/marshal/setup/guided.js +83 -0
  270. package/dist/marshal/setup/guided.js.map +1 -0
  271. package/dist/marshal/setup/index.d.ts +12 -0
  272. package/dist/marshal/setup/index.d.ts.map +1 -0
  273. package/dist/marshal/setup/index.js +11 -0
  274. package/dist/marshal/setup/index.js.map +1 -0
  275. package/dist/marshal/setup/provider-runtime.d.ts +23 -0
  276. package/dist/marshal/setup/provider-runtime.d.ts.map +1 -0
  277. package/dist/marshal/setup/provider-runtime.detected-models.d.ts +239 -0
  278. package/dist/marshal/setup/provider-runtime.detected-models.d.ts.map +1 -0
  279. package/dist/marshal/setup/provider-runtime.detected-models.js +30 -0
  280. package/dist/marshal/setup/provider-runtime.detected-models.js.map +1 -0
  281. package/dist/marshal/setup/provider-runtime.js +115 -0
  282. package/dist/marshal/setup/provider-runtime.js.map +1 -0
  283. package/dist/marshal/setup/provider-runtime.models.d.ts +38 -0
  284. package/dist/marshal/setup/provider-runtime.models.d.ts.map +1 -0
  285. package/dist/marshal/setup/provider-runtime.models.js +38 -0
  286. package/dist/marshal/setup/provider-runtime.models.js.map +1 -0
  287. package/dist/marshal/setup/save-baseline.d.ts +12 -0
  288. package/dist/marshal/setup/save-baseline.d.ts.map +1 -0
  289. package/dist/marshal/setup/save-baseline.js +89 -0
  290. package/dist/marshal/setup/save-baseline.js.map +1 -0
  291. package/dist/marshal/setup/save-baseline.normalizers.d.ts +20 -0
  292. package/dist/marshal/setup/save-baseline.normalizers.d.ts.map +1 -0
  293. package/dist/marshal/setup/save-baseline.normalizers.js +72 -0
  294. package/dist/marshal/setup/save-baseline.normalizers.js.map +1 -0
  295. package/dist/marshal/setup/types.d.ts +17 -0
  296. package/dist/marshal/setup/types.d.ts.map +1 -0
  297. package/dist/marshal/setup/types.js +26 -0
  298. package/dist/marshal/setup/types.js.map +1 -0
  299. package/dist/marshal/tools/index.d.ts +9 -0
  300. package/dist/marshal/tools/index.d.ts.map +1 -0
  301. package/dist/marshal/tools/index.js +9 -0
  302. package/dist/marshal/tools/index.js.map +1 -0
  303. package/dist/marshal/tools/unified/descriptor.d.ts +130 -0
  304. package/dist/marshal/tools/unified/descriptor.d.ts.map +1 -0
  305. package/dist/marshal/tools/unified/descriptor.js +53 -0
  306. package/dist/marshal/tools/unified/descriptor.js.map +1 -0
  307. package/dist/marshal/tools/unified/index.d.ts +10 -0
  308. package/dist/marshal/tools/unified/index.d.ts.map +1 -0
  309. package/dist/marshal/tools/unified/index.js +9 -0
  310. package/dist/marshal/tools/unified/index.js.map +1 -0
  311. package/dist/marshal/tools/unified/marshal.execution.d.ts +12 -0
  312. package/dist/marshal/tools/unified/marshal.execution.d.ts.map +1 -0
  313. package/dist/marshal/tools/unified/marshal.execution.js +104 -0
  314. package/dist/marshal/tools/unified/marshal.execution.js.map +1 -0
  315. package/dist/marshal/tools/unified/marshal.impl.cloud.d.ts +13 -0
  316. package/dist/marshal/tools/unified/marshal.impl.cloud.d.ts.map +1 -0
  317. package/dist/marshal/tools/unified/marshal.impl.cloud.js +15 -0
  318. package/dist/marshal/tools/unified/marshal.impl.cloud.js.map +1 -0
  319. package/dist/marshal/tools/unified/marshal.impl.consumer.d.ts +13 -0
  320. package/dist/marshal/tools/unified/marshal.impl.consumer.d.ts.map +1 -0
  321. package/dist/marshal/tools/unified/marshal.impl.consumer.js +15 -0
  322. package/dist/marshal/tools/unified/marshal.impl.consumer.js.map +1 -0
  323. package/dist/marshal/tools/unified/marshal.unified.descriptor.d.ts +140 -0
  324. package/dist/marshal/tools/unified/marshal.unified.descriptor.d.ts.map +1 -0
  325. package/dist/marshal/tools/unified/marshal.unified.descriptor.js +57 -0
  326. package/dist/marshal/tools/unified/marshal.unified.descriptor.js.map +1 -0
  327. package/dist/marshal/tools/unified/schemas.d.ts +8 -0
  328. package/dist/marshal/tools/unified/schemas.d.ts.map +1 -0
  329. package/dist/marshal/tools/unified/schemas.js +7 -0
  330. package/dist/marshal/tools/unified/schemas.js.map +1 -0
  331. package/dist/marshal/types.d.ts +2 -0
  332. package/dist/marshal/types.d.ts.map +1 -0
  333. package/dist/marshal/types.js +2 -0
  334. package/dist/marshal/types.js.map +1 -0
  335. package/dist/marshal/worker/index.d.ts +6 -0
  336. package/dist/marshal/worker/index.d.ts.map +1 -0
  337. package/dist/marshal/worker/index.js +5 -0
  338. package/dist/marshal/worker/index.js.map +1 -0
  339. package/dist/marshal/worker/jobs/assistance-job.d.ts +34 -0
  340. package/dist/marshal/worker/jobs/assistance-job.d.ts.map +1 -0
  341. package/dist/marshal/worker/jobs/assistance-job.js +43 -0
  342. package/dist/marshal/worker/jobs/assistance-job.js.map +1 -0
  343. package/dist/marshal/worker/jobs/configure-job.d.ts +48 -0
  344. package/dist/marshal/worker/jobs/configure-job.d.ts.map +1 -0
  345. package/dist/marshal/worker/jobs/configure-job.js +52 -0
  346. package/dist/marshal/worker/jobs/configure-job.js.map +1 -0
  347. package/dist/marshal/worker/jobs/index.d.ts +7 -0
  348. package/dist/marshal/worker/jobs/index.d.ts.map +1 -0
  349. package/dist/marshal/worker/jobs/index.js +7 -0
  350. package/dist/marshal/worker/jobs/index.js.map +1 -0
  351. package/dist/marshal/worker/jobs/onboarding-progress-job.d.ts +47 -0
  352. package/dist/marshal/worker/jobs/onboarding-progress-job.d.ts.map +1 -0
  353. package/dist/marshal/worker/jobs/onboarding-progress-job.js +51 -0
  354. package/dist/marshal/worker/jobs/onboarding-progress-job.js.map +1 -0
  355. package/dist/marshal/worker/marshal.assistance.job.impl.d.ts +3 -0
  356. package/dist/marshal/worker/marshal.assistance.job.impl.d.ts.map +1 -0
  357. package/dist/marshal/worker/marshal.assistance.job.impl.js +3 -0
  358. package/dist/marshal/worker/marshal.assistance.job.impl.js.map +1 -0
  359. package/dist/marshal/worker/marshal.concierge.descriptor.d.ts +3 -0
  360. package/dist/marshal/worker/marshal.concierge.descriptor.d.ts.map +1 -0
  361. package/dist/marshal/worker/marshal.concierge.descriptor.js +14 -0
  362. package/dist/marshal/worker/marshal.concierge.descriptor.js.map +1 -0
  363. package/dist/marshal/worker/marshal.concierge.impl.consumer.d.ts +12 -0
  364. package/dist/marshal/worker/marshal.concierge.impl.consumer.d.ts.map +1 -0
  365. package/dist/marshal/worker/marshal.concierge.impl.consumer.js +23 -0
  366. package/dist/marshal/worker/marshal.concierge.impl.consumer.js.map +1 -0
  367. package/dist/marshal/worker/marshal.configure.job.impl.d.ts +3 -0
  368. package/dist/marshal/worker/marshal.configure.job.impl.d.ts.map +1 -0
  369. package/dist/marshal/worker/marshal.configure.job.impl.js +3 -0
  370. package/dist/marshal/worker/marshal.configure.job.impl.js.map +1 -0
  371. package/dist/marshal/worker/marshal.jobs.descriptor.d.ts +6 -0
  372. package/dist/marshal/worker/marshal.jobs.descriptor.d.ts.map +1 -0
  373. package/dist/marshal/worker/marshal.jobs.descriptor.js +50 -0
  374. package/dist/marshal/worker/marshal.jobs.descriptor.js.map +1 -0
  375. package/dist/marshal/worker/marshal.onboarding-progress.job.impl.d.ts +3 -0
  376. package/dist/marshal/worker/marshal.onboarding-progress.job.impl.d.ts.map +1 -0
  377. package/dist/marshal/worker/marshal.onboarding-progress.job.impl.js +3 -0
  378. package/dist/marshal/worker/marshal.onboarding-progress.job.impl.js.map +1 -0
  379. package/dist/plugin/agent-tools.d.ts +15 -0
  380. package/dist/plugin/agent-tools.d.ts.map +1 -0
  381. package/dist/plugin/agent-tools.js +27 -0
  382. package/dist/plugin/agent-tools.js.map +1 -0
  383. package/dist/records/index.d.ts +7 -0
  384. package/dist/records/index.d.ts.map +1 -0
  385. package/dist/records/index.js +7 -0
  386. package/dist/records/index.js.map +1 -0
  387. package/dist/records/lane.record.descriptor.d.ts +11 -0
  388. package/dist/records/lane.record.descriptor.d.ts.map +1 -0
  389. package/dist/records/lane.record.descriptor.js +47 -0
  390. package/dist/records/lane.record.descriptor.js.map +1 -0
  391. package/dist/records/note.record.descriptor.d.ts +10 -0
  392. package/dist/records/note.record.descriptor.d.ts.map +1 -0
  393. package/dist/records/note.record.descriptor.js +46 -0
  394. package/dist/records/note.record.descriptor.js.map +1 -0
  395. package/dist/records/notification.record.descriptor.d.ts +11 -0
  396. package/dist/records/notification.record.descriptor.d.ts.map +1 -0
  397. package/dist/records/notification.record.descriptor.js +50 -0
  398. package/dist/records/notification.record.descriptor.js.map +1 -0
  399. package/dist/records/request.record.descriptor.d.ts +10 -0
  400. package/dist/records/request.record.descriptor.d.ts.map +1 -0
  401. package/dist/records/request.record.descriptor.js +50 -0
  402. package/dist/records/request.record.descriptor.js.map +1 -0
  403. package/dist/records/task.record.descriptor.d.ts +10 -0
  404. package/dist/records/task.record.descriptor.d.ts.map +1 -0
  405. package/dist/records/task.record.descriptor.js +65 -0
  406. package/dist/records/task.record.descriptor.js.map +1 -0
  407. package/dist/records/watch.record.descriptor.d.ts +10 -0
  408. package/dist/records/watch.record.descriptor.d.ts.map +1 -0
  409. package/dist/records/watch.record.descriptor.js +48 -0
  410. package/dist/records/watch.record.descriptor.js.map +1 -0
  411. package/dist/schemas/agent-action.d.ts +31 -0
  412. package/dist/schemas/agent-action.d.ts.map +1 -0
  413. package/dist/schemas/agent-action.js +24 -0
  414. package/dist/schemas/agent-action.js.map +1 -0
  415. package/dist/schemas/card-projection.d.ts +193 -0
  416. package/dist/schemas/card-projection.d.ts.map +1 -0
  417. package/dist/schemas/card-projection.js +30 -0
  418. package/dist/schemas/card-projection.js.map +1 -0
  419. package/dist/schemas/contracts.d.ts +1117 -0
  420. package/dist/schemas/contracts.d.ts.map +1 -0
  421. package/dist/schemas/contracts.js +38 -0
  422. package/dist/schemas/contracts.js.map +1 -0
  423. package/dist/schemas/headless-attention.d.ts +189 -0
  424. package/dist/schemas/headless-attention.d.ts.map +1 -0
  425. package/dist/schemas/headless-attention.js +136 -0
  426. package/dist/schemas/headless-attention.js.map +1 -0
  427. package/dist/schemas/index.d.ts +15 -0
  428. package/dist/schemas/index.d.ts.map +1 -0
  429. package/dist/schemas/index.js +15 -0
  430. package/dist/schemas/index.js.map +1 -0
  431. package/dist/schemas/lane.d.ts +17 -0
  432. package/dist/schemas/lane.d.ts.map +1 -0
  433. package/dist/schemas/lane.js +14 -0
  434. package/dist/schemas/lane.js.map +1 -0
  435. package/dist/schemas/note.d.ts +14 -0
  436. package/dist/schemas/note.d.ts.map +1 -0
  437. package/dist/schemas/note.js +11 -0
  438. package/dist/schemas/note.js.map +1 -0
  439. package/dist/schemas/notification.d.ts +33 -0
  440. package/dist/schemas/notification.d.ts.map +1 -0
  441. package/dist/schemas/notification.js +19 -0
  442. package/dist/schemas/notification.js.map +1 -0
  443. package/dist/schemas/owner.d.ts +27 -0
  444. package/dist/schemas/owner.d.ts.map +1 -0
  445. package/dist/schemas/owner.js +18 -0
  446. package/dist/schemas/owner.js.map +1 -0
  447. package/dist/schemas/request.d.ts +69 -0
  448. package/dist/schemas/request.d.ts.map +1 -0
  449. package/dist/schemas/request.js +53 -0
  450. package/dist/schemas/request.js.map +1 -0
  451. package/dist/schemas/state.d.ts +170 -0
  452. package/dist/schemas/state.d.ts.map +1 -0
  453. package/dist/schemas/state.js +19 -0
  454. package/dist/schemas/state.js.map +1 -0
  455. package/dist/schemas/support-escalate.d.ts +54 -0
  456. package/dist/schemas/support-escalate.d.ts.map +1 -0
  457. package/dist/schemas/support-escalate.js +39 -0
  458. package/dist/schemas/support-escalate.js.map +1 -0
  459. package/dist/schemas/surface.d.ts +19 -0
  460. package/dist/schemas/surface.d.ts.map +1 -0
  461. package/dist/schemas/surface.js +8 -0
  462. package/dist/schemas/surface.js.map +1 -0
  463. package/dist/schemas/task.d.ts +70 -0
  464. package/dist/schemas/task.d.ts.map +1 -0
  465. package/dist/schemas/task.js +48 -0
  466. package/dist/schemas/task.js.map +1 -0
  467. package/dist/schemas/watch.d.ts +44 -0
  468. package/dist/schemas/watch.d.ts.map +1 -0
  469. package/dist/schemas/watch.js +19 -0
  470. package/dist/schemas/watch.js.map +1 -0
  471. package/dist/schemas/workboard-status-category.d.ts +35 -0
  472. package/dist/schemas/workboard-status-category.d.ts.map +1 -0
  473. package/dist/schemas/workboard-status-category.js +45 -0
  474. package/dist/schemas/workboard-status-category.js.map +1 -0
  475. package/dist/storage/owner-transforms.d.ts +228 -0
  476. package/dist/storage/owner-transforms.d.ts.map +1 -0
  477. package/dist/storage/owner-transforms.js +132 -0
  478. package/dist/storage/owner-transforms.js.map +1 -0
  479. package/dist/svelte/components/LaneBoard.svelte +250 -0
  480. package/dist/svelte/components/LaneBoard.svelte.d.ts +20 -0
  481. package/dist/svelte/components/LaneBoard.svelte.d.ts.map +1 -0
  482. package/dist/svelte/components/LaneBoardComposer.svelte +78 -0
  483. package/dist/svelte/components/LaneBoardComposer.svelte.d.ts +24 -0
  484. package/dist/svelte/components/LaneBoardComposer.svelte.d.ts.map +1 -0
  485. package/dist/svelte/components/LaneBoardFilters.svelte +34 -0
  486. package/dist/svelte/components/LaneBoardFilters.svelte.d.ts +12 -0
  487. package/dist/svelte/components/LaneBoardFilters.svelte.d.ts.map +1 -0
  488. package/dist/svelte/components/LaneBoardLane.svelte +46 -0
  489. package/dist/svelte/components/LaneBoardLane.svelte.d.ts +18 -0
  490. package/dist/svelte/components/LaneBoardLane.svelte.d.ts.map +1 -0
  491. package/dist/svelte/components/LaneBoardSummary.svelte +38 -0
  492. package/dist/svelte/components/LaneBoardSummary.svelte.d.ts +12 -0
  493. package/dist/svelte/components/LaneBoardSummary.svelte.d.ts.map +1 -0
  494. package/dist/svelte/components/LaneBoardTaskRow.svelte +158 -0
  495. package/dist/svelte/components/LaneBoardTaskRow.svelte.d.ts +31 -0
  496. package/dist/svelte/components/LaneBoardTaskRow.svelte.d.ts.map +1 -0
  497. package/dist/svelte/components/PriorityBadge.svelte +21 -0
  498. package/dist/svelte/components/PriorityBadge.svelte.d.ts +7 -0
  499. package/dist/svelte/components/PriorityBadge.svelte.d.ts.map +1 -0
  500. package/dist/svelte/components/RequestsQueue.svelte +613 -0
  501. package/dist/svelte/components/RequestsQueue.svelte.d.ts +21 -0
  502. package/dist/svelte/components/RequestsQueue.svelte.d.ts.map +1 -0
  503. package/dist/svelte/components/StatCard.svelte +27 -0
  504. package/dist/svelte/components/StatCard.svelte.d.ts +12 -0
  505. package/dist/svelte/components/StatCard.svelte.d.ts.map +1 -0
  506. package/dist/svelte/components/StatusBadge.svelte +25 -0
  507. package/dist/svelte/components/StatusBadge.svelte.d.ts +7 -0
  508. package/dist/svelte/components/StatusBadge.svelte.d.ts.map +1 -0
  509. package/dist/svelte/components/WorkboardBoard.svelte +467 -0
  510. package/dist/svelte/components/WorkboardBoard.svelte.d.ts +26 -0
  511. package/dist/svelte/components/WorkboardBoard.svelte.d.ts.map +1 -0
  512. package/dist/svelte/index.d.ts +22 -0
  513. package/dist/svelte/index.d.ts.map +1 -0
  514. package/dist/svelte/index.js +24 -0
  515. package/dist/svelte/lane-board-client.d.ts +3 -0
  516. package/dist/svelte/lane-board-client.d.ts.map +1 -0
  517. package/dist/svelte/lane-board-client.js +2 -0
  518. package/dist/svelte/lane-board.d.ts +120 -0
  519. package/dist/svelte/lane-board.d.ts.map +1 -0
  520. package/dist/svelte/lane-board.js +221 -0
  521. package/dist/svelte/rest-workboard-client.d.ts +235 -0
  522. package/dist/svelte/rest-workboard-client.d.ts.map +1 -0
  523. package/dist/svelte/rest-workboard-client.js +52 -0
  524. package/dist/svelte/styles.css +10 -0
  525. package/dist/svelte/tool-widgets/MarshalToolCard.svelte +67 -0
  526. package/dist/svelte/tool-widgets/MarshalToolCard.svelte.d.ts +5 -0
  527. package/dist/svelte/tool-widgets/MarshalToolCard.svelte.d.ts.map +1 -0
  528. package/dist/svelte/tool-widgets/SupportEscalateToolCard.svelte +42 -0
  529. package/dist/svelte/tool-widgets/SupportEscalateToolCard.svelte.d.ts +5 -0
  530. package/dist/svelte/tool-widgets/SupportEscalateToolCard.svelte.d.ts.map +1 -0
  531. package/dist/svelte/tool-widgets/index.d.ts +7 -0
  532. package/dist/svelte/tool-widgets/index.d.ts.map +1 -0
  533. package/dist/svelte/tool-widgets/index.js +6 -0
  534. package/dist/svelte/types.d.ts +24 -0
  535. package/dist/svelte/types.d.ts.map +1 -0
  536. package/dist/svelte/types.js +1 -0
  537. package/dist/svelte/workboard-svelte.plugin.d.ts +10 -0
  538. package/dist/svelte/workboard-svelte.plugin.d.ts.map +1 -0
  539. package/dist/svelte/workboard-svelte.plugin.js +31 -0
  540. package/dist/svelte/workboard-utils.d.ts +33 -0
  541. package/dist/svelte/workboard-utils.d.ts.map +1 -0
  542. package/dist/svelte/workboard-utils.js +85 -0
  543. package/dist/tools/card-projections.d.ts +7 -0
  544. package/dist/tools/card-projections.d.ts.map +1 -0
  545. package/dist/tools/card-projections.js +64 -0
  546. package/dist/tools/card-projections.js.map +1 -0
  547. package/dist/tools/support-escalate/schemas.d.ts +2 -0
  548. package/dist/tools/support-escalate/schemas.d.ts.map +1 -0
  549. package/dist/tools/support-escalate/schemas.js +2 -0
  550. package/dist/tools/support-escalate/schemas.js.map +1 -0
  551. package/dist/tools/support-escalate/support-escalate.descriptor.d.ts +49 -0
  552. package/dist/tools/support-escalate/support-escalate.descriptor.d.ts.map +1 -0
  553. package/dist/tools/support-escalate/support-escalate.descriptor.js +42 -0
  554. package/dist/tools/support-escalate/support-escalate.descriptor.js.map +1 -0
  555. package/dist/tools/support-escalate/support-escalate.impl.cloud.d.ts +17 -0
  556. package/dist/tools/support-escalate/support-escalate.impl.cloud.d.ts.map +1 -0
  557. package/dist/tools/support-escalate/support-escalate.impl.cloud.js +63 -0
  558. package/dist/tools/support-escalate/support-escalate.impl.cloud.js.map +1 -0
  559. package/dist/tui/index.d.ts +2 -0
  560. package/dist/tui/index.d.ts.map +1 -0
  561. package/dist/tui/index.js +2 -0
  562. package/dist/tui/index.js.map +1 -0
  563. package/dist/tui/tool-widgets/MarshalToolWidget.impl.consumer.d.ts +4 -0
  564. package/dist/tui/tool-widgets/MarshalToolWidget.impl.consumer.d.ts.map +1 -0
  565. package/dist/tui/tool-widgets/MarshalToolWidget.impl.consumer.js +17 -0
  566. package/dist/tui/tool-widgets/MarshalToolWidget.impl.consumer.js.map +1 -0
  567. package/dist/tui/tool-widgets/SupportEscalateToolWidget.impl.consumer.d.ts +4 -0
  568. package/dist/tui/tool-widgets/SupportEscalateToolWidget.impl.consumer.d.ts.map +1 -0
  569. package/dist/tui/tool-widgets/SupportEscalateToolWidget.impl.consumer.js +11 -0
  570. package/dist/tui/tool-widgets/SupportEscalateToolWidget.impl.consumer.js.map +1 -0
  571. package/dist/tui/workboard-tui.plugin.d.ts +7 -0
  572. package/dist/tui/workboard-tui.plugin.d.ts.map +1 -0
  573. package/dist/tui/workboard-tui.plugin.js +32 -0
  574. package/dist/tui/workboard-tui.plugin.js.map +1 -0
  575. package/dist/types.d.ts +2 -0
  576. package/dist/types.d.ts.map +1 -0
  577. package/dist/types.js +2 -0
  578. package/dist/types.js.map +1 -0
  579. package/dist/utils/exec.d.ts +35 -0
  580. package/dist/utils/exec.d.ts.map +1 -0
  581. package/dist/utils/exec.js +31 -0
  582. package/dist/utils/exec.js.map +1 -0
  583. package/dist/workboard.plugin.d.ts +8 -0
  584. package/dist/workboard.plugin.d.ts.map +1 -0
  585. package/dist/workboard.plugin.js +46 -0
  586. package/dist/workboard.plugin.js.map +1 -0
  587. package/dist/workboard.runtime-client.descriptor.d.ts +4 -0
  588. package/dist/workboard.runtime-client.descriptor.d.ts.map +1 -0
  589. package/dist/workboard.runtime-client.descriptor.js +13 -0
  590. package/dist/workboard.runtime-client.descriptor.js.map +1 -0
  591. package/package.json +409 -4
@@ -0,0 +1,104 @@
1
+ import { AGENTS_API_EXECUTOR_ID, AgentExecutionReceiptSchema } from '@vibesdotdev/agents/contracts/agent-execution';
2
+ import { CapabilityError, CaughtFailureSchema, valueFreeFailure } from '@vibesdotdev/kernel';
3
+ import * as z from 'zod/v4';
4
+ import { resolveToolCallerBearer } from '@vibesdotdev/tools/agents/trusted-context';
5
+ import { getLogger } from '@vibesdotdev/logging';
6
+ const executorUnavailableMessage = 'Marshal delegation is unavailable: no owner-backed agent executor is registered for this surface.';
7
+ /** Whether the caller carries a bearer: the active request's, or the run-bound one. */
8
+ async function hasTrustedCredential(runtime, ctx) {
9
+ return (await resolveToolCallerBearer(runtime, ctx)).bearer !== null;
10
+ }
11
+ async function resolveExecutor(runtime) {
12
+ try {
13
+ return (await runtime
14
+ .query('agent/executor')
15
+ .withId(AGENTS_API_EXECUTOR_ID)
16
+ .resolve());
17
+ }
18
+ catch (error) {
19
+ const failure = CaughtFailureSchema.parse(error);
20
+ if (CapabilityError.isAbsenceOf(failure, 'agent/executor', AGENTS_API_EXECUTOR_ID) ||
21
+ CapabilityError.isAbsenceOf(failure, 'runtime/kind', 'agent/executor'))
22
+ return null;
23
+ throw new CapabilityError('Marshal executor could not be loaded.', 'UNAVAILABLE', {
24
+ reason: 'marshal-executor-unresolved', cause: failure
25
+ });
26
+ }
27
+ }
28
+ /** Report whether the real executor and a trusted caller credential are present. */
29
+ export async function getMarshalExecutionStatus(runtime, ctx) {
30
+ const [executor, authenticated] = await Promise.all([
31
+ resolveExecutor(runtime),
32
+ hasTrustedCredential(runtime, ctx)
33
+ ]);
34
+ const available = executor !== null && authenticated;
35
+ return {
36
+ success: available,
37
+ action: 'status',
38
+ message: available
39
+ ? 'Marshal delegation is available for this authenticated session.'
40
+ : 'Marshal delegation is unavailable until an authenticated executor session is present.',
41
+ data: {
42
+ available,
43
+ authenticated,
44
+ executorId: AGENTS_API_EXECUTOR_ID
45
+ }
46
+ };
47
+ }
48
+ function receiptMessage(receipt) {
49
+ const content = z.string().refine(value => value.trim().length > 0).safeParse(receipt.output?.content);
50
+ if (receipt.state === 'completed' && content.success) {
51
+ return content.data;
52
+ }
53
+ if (receipt.state === 'completed') {
54
+ return `Agent ${receipt.agentId} completed run ${receipt.runId}.`;
55
+ }
56
+ return `Agent ${receipt.agentId} ended run ${receipt.runId} with state "${receipt.state}"${receipt.error ? `: ${receipt.error}` : '.'}`;
57
+ }
58
+ /** Dispatch a real delegated/asked request and return its durable receipt. */
59
+ export async function executeMarshalRequest(input, runtime, ctx) {
60
+ const authenticated = await hasTrustedCredential(runtime, ctx);
61
+ const logger = getLogger('workboard.marshal.execution', runtime);
62
+ const executor = await resolveExecutor(runtime);
63
+ if (!executor) {
64
+ return {
65
+ success: false,
66
+ action: input.action,
67
+ message: executorUnavailableMessage,
68
+ data: { available: false, authenticated, executorId: AGENTS_API_EXECUTOR_ID }
69
+ };
70
+ }
71
+ if (!ctx || !authenticated) {
72
+ return {
73
+ success: false,
74
+ action: input.action,
75
+ message: 'Marshal delegation requires a trusted authenticated execution context.',
76
+ data: { available: false, authenticated: false, executorId: AGENTS_API_EXECUTOR_ID }
77
+ };
78
+ }
79
+ try {
80
+ const request = {
81
+ agentId: input.context.agentId, input: input.query
82
+ };
83
+ if (input.context.options)
84
+ request.options = input.context.options;
85
+ const receipt = AgentExecutionReceiptSchema.parse(await executor.execute(request, ctx));
86
+ return {
87
+ success: receipt.state === 'completed',
88
+ action: input.action,
89
+ message: receiptMessage(receipt),
90
+ data: { receipt }
91
+ };
92
+ }
93
+ catch (error) {
94
+ const failure = CaughtFailureSchema.parse(error);
95
+ logger.warn('Marshal delegation failed.', { error: valueFreeFailure(failure) });
96
+ return {
97
+ success: false,
98
+ action: input.action,
99
+ message: 'Marshal delegation failed: the owner-backed agent execution request failed.',
100
+ data: { available: true, authenticated, executorId: AGENTS_API_EXECUTOR_ID, failure: valueFreeFailure(failure) }
101
+ };
102
+ }
103
+ }
104
+ //# sourceMappingURL=marshal.execution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal.execution.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.execution.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,sBAAsB,EACtB,2BAA2B,EAG3B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,gBAAgB,EAA6C,MAAM,qBAAqB,CAAC;AACxI,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,uBAAuB,EAAE,MAAM,2CAA2C,CAAC;AAKpF,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAIjD,MAAM,0BAA0B,GAC/B,mGAAmG,CAAC;AAErG,uFAAuF;AACvF,KAAK,UAAU,oBAAoB,CAAC,OAAqB,EAAE,GAAgC;IAC1F,OAAO,CAAC,MAAM,uBAAuB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC,MAAM,KAAK,IAAI,CAAC;AACtE,CAAC;AAED,KAAK,UAAU,eAAe,CAAC,OAAqB;IACnD,IAAI,CAAC;QACJ,OAAO,CAAC,MAAM,OAAO;aACnB,KAAK,CAAmC,gBAAgB,CAAC;aACzD,MAAM,CAAC,sBAAsB,CAAC;aAC9B,OAAO,EAAE,CAAC,CAAC;IACd,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,OAAO,GAAG,mBAAmB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACjD,IACC,eAAe,CAAC,WAAW,CAAC,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,CAAC;YAC9E,eAAe,CAAC,WAAW,CAAC,OAAO,EAAE,cAAc,EAAE,gBAAgB,CAAC;YACrE,OAAO,IAAI,CAAC;QACd,MAAM,IAAI,eAAe,CAAC,uCAAuC,EAAE,aAAa,EAAE;YACjF,MAAM,EAAE,6BAA6B,EAAE,KAAK,EAAE,OAAO;SACrD,CAAC,CAAC;IACJ,CAAC;AACF,CAAC;AAED,oFAAoF;AACpF,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAC9C,OAAqB,EACrB,GAAqB;IAErB,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;QACnD,eAAe,CAAC,OAAO,CAAC;QACxB,oBAAoB,CAAC,OAAO,EAAE,GAAG,CAAC;KAClC,CAAC,CAAC;IACH,MAAM,SAAS,GAAG,QAAQ,KAAK,IAAI,IAAI,aAAa,CAAC;IAErD,OAAO;QACN,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE,SAAS;YACjB,CAAC,CAAC,iEAAiE;YACnE,CAAC,CAAC,uFAAuF;QAC1F,IAAI,EAAE;YACL,SAAS;YACT,aAAa;YACb,UAAU,EAAE,sBAAsB;SAClC;KACD,CAAC;AACH,CAAC;AAED,SAAS,cAAc,CAAC,OAA8B;IACrD,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvG,IAAI,OAAO,CAAC,KAAK,KAAK,WAAW,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;QACtD,OAAO,OAAO,CAAC,IAAI,CAAC;IACrB,CAAC;IACD,IAAI,OAAO,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;QACnC,OAAO,SAAS,OAAO,CAAC,OAAO,kBAAkB,OAAO,CAAC,KAAK,GAAG,CAAC;IACnE,CAAC;IACD,OAAO,SAAS,OAAO,CAAC,OAAO,cAAc,OAAO,CAAC,KAAK,gBAAgB,OAAO,CAAC,KAAK,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;AACzI,CAAC;AAED,8EAA8E;AAC9E,MAAM,CAAC,KAAK,UAAU,qBAAqB,CAC1C,KAA4B,EAC5B,OAAqB,EACrB,GAAqB;IAErB,MAAM,aAAa,GAAG,MAAM,oBAAoB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAC/D,MAAM,MAAM,GAAG,SAAS,CAAC,6BAA6B,EAAE,OAAO,CAAC,CAAC;IACjE,MAAM,QAAQ,GAAG,MAAM,eAAe,CAAC,OAAO,CAAC,CAAC;IAChD,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,OAAO;YACN,OAAO,EAAE,KAAK;YACd,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,OAAO,EAAE,0BAA0B;YACnC,IAAI,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,sBAAsB,EAAE;SAC7E,CAAC;IACH,CAAC;IACD,IAAI,CAAC,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QAC5B,OAAO;YACN,OAAO,EAAE,KAAK;YACd,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,OAAO,EAAE,wEAAwE;YACjF,IAAI,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,EAAE,sBAAsB,EAAE;SACpF,CAAC;IACH,CAAC;IAED,IAAI,CAAC;QACJ,MAAM,OAAO,GAA4C;YACxD,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK;SAClD,CAAC;QACF,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO;YAAE,OAAO,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC;QACnE,MAAM,OAAO,GAAG,2BAA2B,CAAC,KAAK,CAAC,MAAM,QAAQ,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,CAAC;QACxF,OAAO;YACN,OAAO,EAAE,OAAO,CAAC,KAAK,KAAK,WAAW;YACtC,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC;YAChC,IAAI,EAAE,EAAE,OAAO,EAAE;SACjB,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,MAAM,OAAO,GAAG,mBAAmB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACjD,MAAM,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAChF,OAAO;YACN,OAAO,EAAE,KAAK;YACd,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,OAAO,EAAE,6EAA6E;YACtF,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,sBAAsB,EAAE,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,EAAE;SAChH,CAAC;IACH,CAAC;AACF,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Marshal Tool Implementation (Cloud)
3
+ *
4
+ * Cloud Marshal uses the named owner-backed executor. Keeping the cloud and
5
+ * consumer implementations on the same dispatch contract prevents the web
6
+ * agent from claiming a local-only or UI-only action succeeded.
7
+ */
8
+ import type { VibesRuntime } from '@vibesdotdev/kernel';
9
+ import type { ToolCallContext } from '@vibesdotdev/kernel/schemas/tool-call';
10
+ import type { MarshalToolInput, MarshalToolOutput } from './schemas.ts';
11
+ declare function marshal(input: MarshalToolInput, runtime: VibesRuntime, ctx?: ToolCallContext): Promise<MarshalToolOutput>;
12
+ export default marshal;
13
+ //# sourceMappingURL=marshal.impl.cloud.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal.impl.cloud.d.ts","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.impl.cloud.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGxE,iBAAe,OAAO,CACrB,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,YAAY,EACrB,GAAG,CAAC,EAAE,eAAe,GACnB,OAAO,CAAC,iBAAiB,CAAC,CAG5B;AAED,eAAe,OAAO,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Marshal Tool Implementation (Cloud)
3
+ *
4
+ * Cloud Marshal uses the named owner-backed executor. Keeping the cloud and
5
+ * consumer implementations on the same dispatch contract prevents the web
6
+ * agent from claiming a local-only or UI-only action succeeded.
7
+ */
8
+ import { executeMarshalRequest, getMarshalExecutionStatus } from "./marshal.execution.js";
9
+ async function marshal(input, runtime, ctx) {
10
+ if (input.action === 'status')
11
+ return getMarshalExecutionStatus(runtime, ctx);
12
+ return executeMarshalRequest(input, runtime, ctx);
13
+ }
14
+ export default marshal;
15
+ //# sourceMappingURL=marshal.impl.cloud.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal.impl.cloud.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.impl.cloud.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE1F,KAAK,UAAU,OAAO,CACrB,KAAuB,EACvB,OAAqB,EACrB,GAAqB;IAErB,IAAI,KAAK,CAAC,MAAM,KAAK,QAAQ;QAAE,OAAO,yBAAyB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAC9E,OAAO,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;AACnD,CAAC;AAED,eAAe,OAAO,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Marshal Tool Implementation (Consumer)
3
+ *
4
+ * Consumer surfaces use the same honest owner-backed contract as cloud
5
+ * surfaces. The executor decides where the delegated run happens; Marshal
6
+ * does not synthesize navigation, setup, or widget success locally.
7
+ */
8
+ import type { VibesRuntime } from '@vibesdotdev/kernel';
9
+ import type { ToolCallContext } from '@vibesdotdev/kernel/schemas/tool-call';
10
+ import type { MarshalToolInput, MarshalToolOutput } from './schemas.ts';
11
+ declare function marshal(input: MarshalToolInput, runtime: VibesRuntime, ctx?: ToolCallContext): Promise<MarshalToolOutput>;
12
+ export default marshal;
13
+ //# sourceMappingURL=marshal.impl.consumer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal.impl.consumer.d.ts","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.impl.consumer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAGxE,iBAAe,OAAO,CACrB,KAAK,EAAE,gBAAgB,EACvB,OAAO,EAAE,YAAY,EACrB,GAAG,CAAC,EAAE,eAAe,GACnB,OAAO,CAAC,iBAAiB,CAAC,CAG5B;AAED,eAAe,OAAO,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Marshal Tool Implementation (Consumer)
3
+ *
4
+ * Consumer surfaces use the same honest owner-backed contract as cloud
5
+ * surfaces. The executor decides where the delegated run happens; Marshal
6
+ * does not synthesize navigation, setup, or widget success locally.
7
+ */
8
+ import { executeMarshalRequest, getMarshalExecutionStatus } from "./marshal.execution.js";
9
+ async function marshal(input, runtime, ctx) {
10
+ if (input.action === 'status')
11
+ return getMarshalExecutionStatus(runtime, ctx);
12
+ return executeMarshalRequest(input, runtime, ctx);
13
+ }
14
+ export default marshal;
15
+ //# sourceMappingURL=marshal.impl.consumer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal.impl.consumer.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.impl.consumer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE1F,KAAK,UAAU,OAAO,CACrB,KAAuB,EACvB,OAAqB,EACrB,GAAqB;IAErB,IAAI,KAAK,CAAC,MAAM,KAAK,QAAQ;QAAE,OAAO,yBAAyB,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;IAC9E,OAAO,qBAAqB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;AACnD,CAAC;AAED,eAAe,OAAO,CAAC"}
@@ -0,0 +1,140 @@
1
+ /**
2
+ * Marshal Tool Descriptor
3
+ *
4
+ * Metadata for the owner-backed delegation tool. Safe to import anywhere.
5
+ */
6
+ declare const _default: {
7
+ readonly kind: "tools/tool";
8
+ readonly id: "marshal";
9
+ readonly name: "Marshal";
10
+ readonly description: "Platform concierge for honest agent delegation.\n\nActions:\n- status: Report whether an authenticated owner-backed executor is available\n- delegate: Dispatch a task to a named agent and return its durable receipt\n- ask: Dispatch a question to a named agent and return its durable receipt\n\nThe query parameter is the task or question. For delegate and ask, context.agentId\nidentifies the receiving agent and context.options may carry bounded execution options.";
11
+ readonly category: "marshal";
12
+ readonly subcategory: "unified";
13
+ readonly hardware: readonly ["consumer", "cloud"];
14
+ readonly purpose: ["direct", "agent"];
15
+ readonly tags: readonly ["marshal", "delegation", "agent-execution"];
16
+ readonly safety: "write";
17
+ readonly permissions: [];
18
+ readonly requiresApproval: true;
19
+ readonly schemas: {
20
+ readonly input: import("zod/v4").ZodDiscriminatedUnion<[import("zod/v4").ZodObject<{
21
+ action: import("zod/v4").ZodLiteral<"status">;
22
+ }, import("zod/v4/core").$strict>, import("zod/v4").ZodObject<{
23
+ action: import("zod/v4").ZodLiteral<"delegate">;
24
+ query: import("zod/v4").ZodString;
25
+ context: import("zod/v4").ZodObject<{
26
+ agentId: import("zod/v4").ZodString;
27
+ options: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
28
+ modelId: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
29
+ temperature: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
30
+ maxTokens: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
31
+ timeout: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
32
+ toolIds: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodString>>;
33
+ inheritAgentTools: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
34
+ toolConfigurations: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
35
+ toolId: import("zod/v4").ZodString;
36
+ }, import("zod/v4/core").$loose>>>;
37
+ }, import("zod/v4/core").$strict>>;
38
+ }, import("zod/v4/core").$strict>;
39
+ }, import("zod/v4/core").$strict>, import("zod/v4").ZodObject<{
40
+ action: import("zod/v4").ZodLiteral<"ask">;
41
+ query: import("zod/v4").ZodString;
42
+ context: import("zod/v4").ZodObject<{
43
+ agentId: import("zod/v4").ZodString;
44
+ options: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
45
+ modelId: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
46
+ temperature: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
47
+ maxTokens: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
48
+ timeout: import("zod/v4").ZodOptional<import("zod/v4").ZodNumber>;
49
+ toolIds: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodString>>;
50
+ inheritAgentTools: import("zod/v4").ZodOptional<import("zod/v4").ZodBoolean>;
51
+ toolConfigurations: import("zod/v4").ZodOptional<import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
52
+ toolId: import("zod/v4").ZodString;
53
+ }, import("zod/v4/core").$loose>>>;
54
+ }, import("zod/v4/core").$strict>>;
55
+ }, import("zod/v4/core").$strict>;
56
+ }, import("zod/v4/core").$strict>], "action">;
57
+ readonly output: import("zod/v4").ZodObject<{
58
+ success: import("zod/v4").ZodBoolean;
59
+ action: import("zod/v4").ZodEnum<{
60
+ status: "status";
61
+ delegate: "delegate";
62
+ ask: "ask";
63
+ }>;
64
+ message: import("zod/v4").ZodString;
65
+ data: import("zod/v4").ZodOptional<import("zod/v4").ZodUnion<readonly [import("zod/v4").ZodObject<{
66
+ available: import("zod/v4").ZodBoolean;
67
+ authenticated: import("zod/v4").ZodBoolean;
68
+ executorId: import("zod/v4").ZodString;
69
+ failure: import("zod/v4").ZodOptional<import("zod/v4").ZodObject<{
70
+ name: import("zod/v4").ZodString;
71
+ code: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
72
+ reason: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
73
+ }, import("zod/v4/core").$strict>>;
74
+ }, import("zod/v4/core").$strict>, import("zod/v4").ZodObject<{
75
+ receipt: import("zod/v4").ZodObject<{
76
+ runId: import("zod/v4").ZodUUID;
77
+ agentId: import("zod/v4").ZodString;
78
+ state: import("zod/v4").ZodEnum<{
79
+ cancelled: "cancelled";
80
+ completed: "completed";
81
+ failed: "failed";
82
+ timeout: "timeout";
83
+ }>;
84
+ session: import("zod/v4").ZodNullable<import("zod/v4").ZodString>;
85
+ artifacts: import("zod/v4").ZodArray<import("zod/v4").ZodObject<{
86
+ id: import("zod/v4").ZodString;
87
+ artifactType: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
88
+ file: "file";
89
+ note: "note";
90
+ "chat-message": "chat-message";
91
+ "tool-result": "tool-result";
92
+ "dashboard-widget": "dashboard-widget";
93
+ "data-entry": "data-entry";
94
+ visualization: "visualization";
95
+ notification: "notification";
96
+ worktree: "worktree";
97
+ "draft-items": "draft-items";
98
+ "staged-config": "staged-config";
99
+ }>>;
100
+ status: import("zod/v4").ZodOptional<import("zod/v4").ZodEnum<{
101
+ error: "error";
102
+ pending: "pending";
103
+ approved: "approved";
104
+ complete: "complete";
105
+ discarded: "discarded";
106
+ }>>;
107
+ }, import("zod/v4/core").$strip>>;
108
+ output: import("zod/v4").ZodOptional<import("zod/v4").ZodRecord<import("zod/v4").ZodString, import("zod/v4").ZodUnknown>>;
109
+ error: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
110
+ }, import("zod/v4/core").$strip>;
111
+ }, import("zod/v4/core").$strict>]>>;
112
+ }, import("zod/v4/core").$strict>;
113
+ };
114
+ readonly examples: [{
115
+ readonly description: "Check executor availability";
116
+ readonly input: {
117
+ readonly action: "status";
118
+ };
119
+ }, {
120
+ readonly description: "Delegate a task to another agent";
121
+ readonly input: {
122
+ readonly action: "delegate";
123
+ readonly query: "Summarize the latest repository changes";
124
+ readonly context: {
125
+ readonly agentId: "researcher";
126
+ };
127
+ };
128
+ }, {
129
+ readonly description: "Ask another agent a question";
130
+ readonly input: {
131
+ readonly action: "ask";
132
+ readonly query: "What changed in the latest release?";
133
+ readonly context: {
134
+ readonly agentId: "release-notes";
135
+ };
136
+ };
137
+ }];
138
+ };
139
+ export default _default;
140
+ //# sourceMappingURL=marshal.unified.descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal.unified.descriptor.d.ts","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.unified.descriptor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,wBAgDG"}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Marshal Tool Descriptor
3
+ *
4
+ * Metadata for the owner-backed delegation tool. Safe to import anywhere.
5
+ */
6
+ import { createRuntimeAsset } from '@vibesdotdev/kernel/factory';
7
+ import { MarshalToolInputSchema, MarshalToolOutputSchema } from "./schemas.js";
8
+ export default createRuntimeAsset({
9
+ kind: 'tools/tool',
10
+ id: 'marshal',
11
+ name: 'Marshal',
12
+ description: `Platform concierge for honest agent delegation.
13
+
14
+ Actions:
15
+ - status: Report whether an authenticated owner-backed executor is available
16
+ - delegate: Dispatch a task to a named agent and return its durable receipt
17
+ - ask: Dispatch a question to a named agent and return its durable receipt
18
+
19
+ The query parameter is the task or question. For delegate and ask, context.agentId
20
+ identifies the receiving agent and context.options may carry bounded execution options.`,
21
+ category: 'marshal',
22
+ subcategory: 'unified',
23
+ hardware: ['consumer', 'cloud'],
24
+ // MCP stays disabled until Marshal has live receipt proof on the owner path.
25
+ purpose: ['direct', 'agent'],
26
+ tags: ['marshal', 'delegation', 'agent-execution'],
27
+ safety: 'write',
28
+ permissions: [],
29
+ requiresApproval: true,
30
+ schemas: {
31
+ input: MarshalToolInputSchema,
32
+ output: MarshalToolOutputSchema
33
+ },
34
+ examples: [
35
+ {
36
+ description: 'Check executor availability',
37
+ input: { action: 'status' }
38
+ },
39
+ {
40
+ description: 'Delegate a task to another agent',
41
+ input: {
42
+ action: 'delegate',
43
+ query: 'Summarize the latest repository changes',
44
+ context: { agentId: 'researcher' }
45
+ }
46
+ },
47
+ {
48
+ description: 'Ask another agent a question',
49
+ input: {
50
+ action: 'ask',
51
+ query: 'What changed in the latest release?',
52
+ context: { agentId: 'release-notes' }
53
+ }
54
+ }
55
+ ]
56
+ });
57
+ //# sourceMappingURL=marshal.unified.descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal.unified.descriptor.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/marshal.unified.descriptor.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAE/E,eAAe,kBAAkB,CAAC;IACjC,IAAI,EAAE,YAAY;IAClB,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,WAAW,EAAE;;;;;;;;wFAQ0E;IACvF,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,6EAA6E;IAC7E,OAAO,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC5B,IAAI,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,iBAAiB,CAAC;IAClD,MAAM,EAAE,OAAO;IACf,WAAW,EAAE,EAAE;IACf,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE;QACR,KAAK,EAAE,sBAAsB;QAC7B,MAAM,EAAE,uBAAuB;KAC/B;IACD,QAAQ,EAAE;QACT;YACC,WAAW,EAAE,6BAA6B;YAC1C,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;SAC3B;QACD;YACC,WAAW,EAAE,kCAAkC;YAC/C,KAAK,EAAE;gBACN,MAAM,EAAE,UAAU;gBAClB,KAAK,EAAE,yCAAyC;gBAChD,OAAO,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE;aAClC;SACD;QACD;YACC,WAAW,EAAE,8BAA8B;YAC3C,KAAK,EAAE;gBACN,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,qCAAqC;gBAC5C,OAAO,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE;aACrC;SACD;KACD;CACD,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Unified Marshal Tool Schemas
3
+ *
4
+ * Single tool interface: action, query, context
5
+ */
6
+ export { MarshalToolActionSchema, MarshalAgentExecutionOptionsSchema, MarshalToolInputSchema, MarshalToolOutputSchema } from '../../schemas/tools.ts';
7
+ export type { MarshalToolAction, MarshalAgentExecutionOptions, MarshalToolInput, MarshalToolOutput } from '../../schemas/tools.ts';
8
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACN,uBAAuB,EACvB,kCAAkC,EAClC,sBAAsB,EACtB,uBAAuB,EACvB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACX,iBAAiB,EACjB,4BAA4B,EAC5B,gBAAgB,EAChB,iBAAiB,EACjB,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Unified Marshal Tool Schemas
3
+ *
4
+ * Single tool interface: action, query, context
5
+ */
6
+ export { MarshalToolActionSchema, MarshalAgentExecutionOptionsSchema, MarshalToolInputSchema, MarshalToolOutputSchema } from "../../schemas/tools.js";
7
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/marshal/tools/unified/schemas.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACN,uBAAuB,EACvB,kCAAkC,EAClC,sBAAsB,EACtB,uBAAuB,EACvB,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type { MarshalPersonality, MarshalVoiceTone, MarshalConfig, OnboardingProgressStatus, CompletionMethod, OnboardingProgress, MarshalSurface, MarshalCapabilities, MarshalContext, MarshalSessionMetadata, MarshalActionType, MarshalActionResult, IssueStatus, MarshalIssueContext, MarshalSetupContext } from './schemas/types.ts';
2
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/marshal/types.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACnB,mBAAmB,EACnB,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/marshal/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Marshal Worker Exports
3
+ */
4
+ export type { MarshalConciergeWorkerDescriptor } from '../schemas/worker.ts';
5
+ export { OnboardingProgressJob, ConfigureJob, AssistanceJob } from './jobs/index.ts';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/marshal/worker/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY,EAAE,gCAAgC,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Marshal Worker Exports
3
+ */
4
+ export { OnboardingProgressJob, ConfigureJob, AssistanceJob } from "./jobs/index.js";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/marshal/worker/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Assistance Job
3
+ *
4
+ * Handles background assistance tasks from Marshal.
5
+ */
6
+ import * as z from 'zod/v4';
7
+ import type { JobDescriptor, JobExecutionContext, JobImplementation } from '@vibesdotdev/kernel/kinds';
8
+ export declare const assistanceInputSchema: z.ZodObject<{
9
+ userId: z.ZodString;
10
+ taskType: z.ZodEnum<{
11
+ guide: "guide";
12
+ explain: "explain";
13
+ suggest: "suggest";
14
+ }>;
15
+ target: z.ZodString;
16
+ context: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17
+ }, z.core.$strip>;
18
+ export declare const assistanceResultSchema: z.ZodObject<{
19
+ success: z.ZodBoolean;
20
+ userId: z.ZodString;
21
+ taskType: z.ZodString;
22
+ target: z.ZodString;
23
+ processed: z.ZodBoolean;
24
+ }, z.core.$strip>;
25
+ export declare class AssistanceJob implements JobImplementation<z.infer<typeof assistanceInputSchema>, z.infer<typeof assistanceResultSchema>> {
26
+ readonly id: string;
27
+ readonly descriptor: JobDescriptor;
28
+ readonly type: "default";
29
+ readonly isolation: "inline";
30
+ constructor(descriptor: JobDescriptor);
31
+ handle(context: JobExecutionContext<z.infer<typeof assistanceInputSchema>>): Promise<z.infer<typeof assistanceResultSchema>>;
32
+ }
33
+ export default AssistanceJob;
34
+ //# sourceMappingURL=assistance-job.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assistance-job.d.ts","sourceRoot":"","sources":["../../../../src/marshal/worker/jobs/assistance-job.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,EACX,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,qBAAqB;;;;;;;;;iBAKhC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;iBAMjC,CAAC;AAEH,qBAAa,aAAc,YAAW,iBAAiB,CACtD,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,EACrC,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CACtC;IACA,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IACnC,QAAQ,CAAC,SAAS,EAAG,QAAQ,CAAU;gBAE3B,UAAU,EAAE,aAAa;IAK/B,MAAM,CACX,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC,GACjE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;CAalD;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Assistance Job
3
+ *
4
+ * Handles background assistance tasks from Marshal.
5
+ */
6
+ import * as z from 'zod/v4';
7
+ export const assistanceInputSchema = z.object({
8
+ userId: z.string(),
9
+ taskType: z.enum(['explain', 'guide', 'suggest']),
10
+ target: z.string(),
11
+ context: z.record(z.string(), z.unknown()).optional()
12
+ });
13
+ export const assistanceResultSchema = z.object({
14
+ success: z.boolean(),
15
+ userId: z.string(),
16
+ taskType: z.string(),
17
+ target: z.string(),
18
+ processed: z.boolean()
19
+ });
20
+ export class AssistanceJob {
21
+ id;
22
+ descriptor;
23
+ type = 'default';
24
+ isolation = 'inline';
25
+ constructor(descriptor) {
26
+ this.id = descriptor.id;
27
+ this.descriptor = descriptor;
28
+ }
29
+ async handle(context) {
30
+ const { userId, taskType, target } = context.data;
31
+ // Stub: no Marshal agent integration yet. Fail closed so callers
32
+ // do not treat an unprocessed task as complete (silent success lie).
33
+ return {
34
+ success: false,
35
+ userId,
36
+ taskType,
37
+ target,
38
+ processed: false
39
+ };
40
+ }
41
+ }
42
+ export default AssistanceJob;
43
+ //# sourceMappingURL=assistance-job.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assistance-job.js","sourceRoot":"","sources":["../../../../src/marshal/worker/jobs/assistance-job.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAO5B,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE;CACtB,CAAC,CAAC;AAEH,MAAM,OAAO,aAAa;IAIhB,EAAE,CAAS;IACX,UAAU,CAAgB;IAC1B,IAAI,GAAG,SAAkB,CAAC;IAC1B,SAAS,GAAG,QAAiB,CAAC;IAEvC,YAAY,UAAyB;QACpC,IAAI,CAAC,EAAE,GAAG,UAAU,CAAC,EAAE,CAAC;QACxB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,MAAM,CACX,OAAmE;QAEnE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;QAElD,iEAAiE;QACjE,qEAAqE;QACrE,OAAO;YACN,OAAO,EAAE,KAAK;YACd,MAAM;YACN,QAAQ;YACR,MAAM;YACN,SAAS,EAAE,KAAK;SAChB,CAAC;IACH,CAAC;CACD;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Configure Job
3
+ *
4
+ * Applies configuration changes asynchronously.
5
+ *
6
+ * Per Pattern 1 (cross-cutting/pattern-violations.md §1.4 + §7.5), this job's
7
+ * implementation in `marshal` (core) does NOT import drizzle-orm or
8
+ * `@vibesdotdev/storage/adapters/drizzle`. Persistence of `marshal_config`
9
+ * belongs in the future `apps/marshal-web` (or `marshal-system`) package per
10
+ * the SPEC's domain-triple rule. Until that exists, this handler is a stub
11
+ * that acknowledges the request and reports `configured: false` so callers
12
+ * can detect the deferred state.
13
+ */
14
+ import * as z from 'zod/v4';
15
+ import type { JobDescriptor, JobExecutionContext, JobImplementation } from '@vibesdotdev/kernel/kinds';
16
+ export declare const configureInputSchema: z.ZodObject<{
17
+ userId: z.ZodString;
18
+ config: z.ZodObject<{
19
+ name: z.ZodOptional<z.ZodString>;
20
+ personality: z.ZodOptional<z.ZodEnum<{
21
+ concise: "concise";
22
+ conversational: "conversational";
23
+ detailed: "detailed";
24
+ }>>;
25
+ voiceTone: z.ZodOptional<z.ZodEnum<{
26
+ professional: "professional";
27
+ friendly: "friendly";
28
+ casual: "casual";
29
+ }>>;
30
+ proactiveHelp: z.ZodOptional<z.ZodBoolean>;
31
+ customInstructions: z.ZodOptional<z.ZodString>;
32
+ }, z.core.$strip>;
33
+ }, z.core.$strip>;
34
+ export declare const configureResultSchema: z.ZodObject<{
35
+ success: z.ZodBoolean;
36
+ userId: z.ZodString;
37
+ configured: z.ZodBoolean;
38
+ }, z.core.$strip>;
39
+ export declare class ConfigureJob implements JobImplementation<z.infer<typeof configureInputSchema>, z.infer<typeof configureResultSchema>> {
40
+ readonly id: string;
41
+ readonly descriptor: JobDescriptor;
42
+ readonly type: "default";
43
+ readonly isolation: "inline";
44
+ constructor(descriptor: JobDescriptor);
45
+ handle(context: JobExecutionContext<z.infer<typeof configureInputSchema>>): Promise<z.infer<typeof configureResultSchema>>;
46
+ }
47
+ export default ConfigureJob;
48
+ //# sourceMappingURL=configure-job.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configure-job.d.ts","sourceRoot":"","sources":["../../../../src/marshal/worker/jobs/configure-job.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,KAAK,EACX,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,MAAM,2BAA2B,CAAC;AAEnC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;iBAS/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAC;AAEH,qBAAa,YAAa,YAAW,iBAAiB,CACrD,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,EACpC,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CACrC;IACA,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IACnC,QAAQ,CAAC,SAAS,EAAG,QAAQ,CAAU;gBAE3B,UAAU,EAAE,aAAa;IAK/B,MAAM,CACX,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC,GAChE,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;CAYjD;AAED,eAAe,YAAY,CAAC"}