@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,4 @@
1
+ import type { DocsTopicDescriptor } from '@vibesdotdev/docs-contracts';
2
+ declare const descriptor: DocsTopicDescriptor;
3
+ export default descriptor;
4
+ //# sourceMappingURL=workboard.docs.descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workboard.docs.descriptor.d.ts","sourceRoot":"","sources":["../../src/docs/workboard.docs.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,QAAA,MAAM,UAAU,EAAE,mBAmFjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,85 @@
1
+ const descriptor = {
2
+ kind: 'docs/topic',
3
+ id: 'workboard',
4
+ title: 'Workboard',
5
+ summary: 'Generic agent workboard primitives — lanes, tasks, requests, notifications, watches, notes. Backed by storage/record + canonical REST at the owning app.',
6
+ body: {
7
+ type: 'markdown',
8
+ sourceType: 'raw',
9
+ source: `---
10
+ title: Workboard
11
+ summary: Generic agent workboard primitives — lanes, tasks, requests, notifications, watches, notes
12
+ tags: [workboard, agent, kanban, tasks, requests, lanes, storage, record]
13
+ parent: agents
14
+ order: 10
15
+ surfaces: [cli, web, in-app]
16
+ hardware: [consumer, cloud]
17
+ ---
18
+
19
+ # Workboard
20
+
21
+ The workboard is the kanban-shaped state any agent uses to coordinate
22
+ work: swim-lanes, tasks, approval requests, alerts, watches, and free-form
23
+ notes. It's a peer of \`@vibesdotdev/workboard/marshal\` (the AI concierge agent),
24
+ not a sub-feature — Marshal is one preconfigured consumer of this surface
25
+ and so are user-built agents.
26
+
27
+ ## Composition
28
+
29
+ Compose storage and its adapter with \`@vibesdotdev/workboard/plugin\`, then
30
+ resolve \`getVibesWorkboardClient(runtime)\`. The runtime owns client identity,
31
+ record selection and lifecycle. The host owns service origins, permissions,
32
+ HTTP routes and navigation. Record bindings retain the existing service
33
+ identity for compatibility; adopters supply their declared service or endpoint.
34
+
35
+ The browser surface at \`./svelte\` exports LaneBoard, WorkboardBoard,
36
+ RequestsQueue and createRestWorkboardClient. The REST factory validates both
37
+ entity-named and CRUD result envelopes. Invalid responses and HTTP failures
38
+ reject and appear as visible operation errors. Notes, reviews, filters and
39
+ bodyless deletion/bulk successes are supported.
40
+
41
+ Marshal's universal/cloud plugins register the portable contract and cloud
42
+ tool. Consumer loaders live at \`./marshal/consumer.plugin\`; CLI registration
43
+ lives at \`./marshal/cli/plugin\`. Compose the agents context owner before
44
+ Marshal. Missing ownership refuses agents-context-kind-missing.
45
+
46
+ ## Entity quick reference
47
+
48
+ | Record id | Domain | Notes |
49
+ |---|---|---|
50
+ | \`workboard.lane\` | Swim-lane / column | Defaults coding/gaming/idle/away seeded on first read |
51
+ | \`workboard.task\` | Unit of work in a lane | UUID autoId; \`completed_at\` stamped on status→completed |
52
+ | \`workboard.watch\` | External target monitor | type ∈ file/process/url/repo |
53
+ | \`workboard.notification\` | Workboard-level alert | Distinct from \`notifications.inbox\` (user-facing) |
54
+ | \`workboard.note\` | Free-form scratch | Append-only by convention |
55
+ | \`workboard.request\` | Approval queue | Agent files; reviewers approve/reject |
56
+
57
+ ## Validation and verification
58
+
59
+ Core writes, filters and record reads validate canonical schemas. Storage
60
+ failure never becomes empty state. Workboard owns attention requests and
61
+ terminal decisions; hosts supply typed authenticated contexts. Support
62
+ escalation refuses missing authority, HTTP failure and malformed success.
63
+ Web and TUI cards validate tool contracts before projecting results.
64
+
65
+ Run \`bun run check\`, \`bun test\`, \`bun run build\`, the configured
66
+ Oxlint ratchet and workspace-rules. Check includes all TS/TSX tests plus
67
+ Svelte diagnostics; builds emit production artifacts only. A rules loader
68
+ crash is a failed check, not zero findings.
69
+
70
+ ## See also
71
+
72
+ - [\`storage.records\`](storage.records) — record protocol details
73
+ - [\`storage.manifests\`](storage.manifests) — manifest declarations and adapter constraints
74
+ - [\`marshal\`](marshal) — the AI concierge agent that's one consumer of workboard
75
+ `
76
+ },
77
+ parent: 'agents',
78
+ order: 5,
79
+ tags: ['workboard', 'agent', 'kanban', 'tasks', 'requests', 'lanes', 'storage', 'record'],
80
+ surfaces: ['cli', 'web', 'in-app'],
81
+ hardware: ['consumer', 'cloud'],
82
+ enabled: true
83
+ };
84
+ export default descriptor;
85
+ //# sourceMappingURL=workboard.docs.descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workboard.docs.descriptor.js","sourceRoot":"","sources":["../../src/docs/workboard.docs.descriptor.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,GAAwB;IACvC,IAAI,EAAE,YAAY;IAClB,EAAE,EAAE,WAAW;IACf,KAAK,EAAE,WAAW;IAClB,OAAO,EACN,0JAA0J;IAC3J,IAAI,EAAE;QACL,IAAI,EAAE,UAAU;QAChB,UAAU,EAAE,KAAK;QACjB,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkET;KACC;IACD,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,CAAC;IACzF,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC;IAClC,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * @vibesdotdev/workboard
3
+ *
4
+ * Generic agent workboard primitives. See SPEC.md.
5
+ */
6
+ export * from './schemas/index.ts';
7
+ export type * from './types.ts';
8
+ export { workboardLaneRecordDescriptor, workboardTaskRecordDescriptor, workboardWatchRecordDescriptor, workboardNotificationRecordDescriptor, workboardNoteRecordDescriptor, workboardRequestRecordDescriptor } from './records/index.ts';
9
+ export { WorkboardClient, type WorkboardRuntimeClient, getVibesWorkboardClient } from './client/index.ts';
10
+ export { buildAgentMessageNotification, buildPlanConfirmationRequest, withBoundSessionProvenance, type WorkboardNotificationDraft, type WorkboardRequestDraft, type WorkboardAgentMessageResult, type WorkboardPlanConfirmationResult } from './agent-actions.ts';
11
+ export { workboardPlugin } from './workboard.plugin.ts';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,YAAY,CAAC;AAGhC,OAAO,EACN,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,EAC9B,qCAAqC,EACrC,6BAA6B,EAC7B,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EACN,eAAe,EACf,KAAK,sBAAsB,EAC3B,uBAAuB,EACvB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACN,6BAA6B,EAC7B,4BAA4B,EAC5B,0BAA0B,EAC1B,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,+BAA+B,EACpC,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @vibesdotdev/workboard
3
+ *
4
+ * Generic agent workboard primitives. See SPEC.md.
5
+ */
6
+ // Schemas + types
7
+ export * from "./schemas/index.js";
8
+ // Storage records (one storage/record descriptor per entity)
9
+ export { workboardLaneRecordDescriptor, workboardTaskRecordDescriptor, workboardWatchRecordDescriptor, workboardNotificationRecordDescriptor, workboardNoteRecordDescriptor, workboardRequestRecordDescriptor } from "./records/index.js";
10
+ // Client
11
+ export { WorkboardClient, getVibesWorkboardClient } from "./client/index.js";
12
+ export { buildAgentMessageNotification, buildPlanConfirmationRequest, withBoundSessionProvenance } from "./agent-actions.js";
13
+ // Plugin
14
+ export { workboardPlugin } from "./workboard.plugin.js";
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,kBAAkB;AAClB,cAAc,oBAAoB,CAAC;AAGnC,6DAA6D;AAC7D,OAAO,EACN,6BAA6B,EAC7B,6BAA6B,EAC7B,8BAA8B,EAC9B,qCAAqC,EACrC,6BAA6B,EAC7B,gCAAgC,EAChC,MAAM,oBAAoB,CAAC;AAE5B,SAAS;AACT,OAAO,EACN,eAAe,EAEf,uBAAuB,EACvB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACN,6BAA6B,EAC7B,4BAA4B,EAC5B,0BAA0B,EAK1B,MAAM,oBAAoB,CAAC;AAE5B,SAAS;AACT,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * Marshal Agent Descriptor
3
+ *
4
+ * Runtime-discoverable tools/agent/instance descriptor for the Marshal
5
+ * configuration and onboarding assistant. This is the agent
6
+ * that powers MarshalGuidedSetup conversations.
7
+ */
8
+ export declare const marshalAgentDescriptor: {
9
+ id: string;
10
+ kind: "tools/agent/instance";
11
+ name: string;
12
+ description: string;
13
+ agentType: "custom" | "extraction" | "chat" | "task" | "assistant" | "react";
14
+ sourceType: "user" | "system";
15
+ version: string;
16
+ loopId: string;
17
+ configuration: {
18
+ [x: string]: unknown;
19
+ maxIterations?: number | undefined;
20
+ temperature?: number | undefined;
21
+ maxTokens?: number | undefined;
22
+ streaming?: boolean | undefined;
23
+ enableThinking?: boolean | undefined;
24
+ enableToolCalls?: boolean | undefined;
25
+ persistToolResults?: boolean | undefined;
26
+ memoryType?: "none" | "summary" | "buffer" | undefined;
27
+ memorySize?: number | undefined;
28
+ memoryProfileId?: string | undefined;
29
+ toolSelectionStrategy?: "user" | "auto" | "specified" | undefined;
30
+ effort?: "none" | "low" | "medium" | "high" | "max" | "xhigh" | undefined;
31
+ checkpointEnabled?: boolean | undefined;
32
+ enableSubagentCalls?: boolean | undefined;
33
+ };
34
+ isPublic: boolean;
35
+ enabled: boolean;
36
+ capabilityCeiling: "0" | "1" | "3" | "2a" | "2b";
37
+ systemAgentId?: string | null | undefined;
38
+ createdById?: string | null | undefined;
39
+ modelId?: string | null | undefined;
40
+ fallbacks?: {
41
+ providerId?: string | undefined;
42
+ modelId?: string | undefined;
43
+ }[] | undefined;
44
+ voice?: {
45
+ providerId: string;
46
+ voiceId: string;
47
+ } | undefined;
48
+ metadata?: Record<string, import("@vibesdotdev/kernel/bootstrap").JsonValue> | undefined;
49
+ presentation?: {
50
+ audiences: ("operator" | "consumer")[];
51
+ } | undefined;
52
+ promptId?: string | undefined;
53
+ promptTemplate?: string | null | undefined;
54
+ tools?: {
55
+ source: "custom" | "system";
56
+ toolId: string;
57
+ enabled: boolean;
58
+ order?: number | undefined;
59
+ hardware?: ("consumer" | "cloud")[] | undefined;
60
+ }[] | undefined;
61
+ hardware?: ("consumer" | "cloud")[] | undefined;
62
+ isDefault?: boolean | undefined;
63
+ tags?: string[] | undefined;
64
+ };
65
+ export default marshalAgentDescriptor;
66
+ //# sourceMappingURL=descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"descriptor.d.ts","sourceRoot":"","sources":["../../../src/marshal/agent/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyIjC,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,144 @@
1
+ /**
2
+ * Marshal Agent Descriptor
3
+ *
4
+ * Runtime-discoverable tools/agent/instance descriptor for the Marshal
5
+ * configuration and onboarding assistant. This is the agent
6
+ * that powers MarshalGuidedSetup conversations.
7
+ */
8
+ import { AIAgentInstanceDescriptorSchema } from '@vibesdotdev/tools/agents/schemas/descriptor';
9
+ import { AI_AGENT_PRIMARY_LOOP_ID } from '@vibesdotdev/tools/agents/constants';
10
+ import { marshalCloudSystemPrompt } from "./system-prompt.js";
11
+ export const marshalAgentDescriptor = AIAgentInstanceDescriptorSchema.parse({
12
+ id: 'marshal',
13
+ name: 'Marshal',
14
+ description: 'Platform concierge for configuration, onboarding, and guidance. ' +
15
+ 'Helps users set up AI providers, configure runtime settings, ' +
16
+ 'and resolve configuration issues conversationally.',
17
+ agentType: 'chat',
18
+ loopId: AI_AGENT_PRIMARY_LOOP_ID,
19
+ sourceType: 'system',
20
+ version: '2.3.0',
21
+ // DeepSeek V4 Flash on native Cloudflare Workers AI — cheapest
22
+ // tool-capable fleet default. Customer casework is pinned separately
23
+ // to GLM-5.3 Flash. Per-request overrides still win: the loop reads
24
+ // request.modelId ?? instance.modelId.
25
+ modelId: 'cloudflare:@cf/deepseek-ai/deepseek-v4-flash-0731',
26
+ configuration: {
27
+ maxIterations: 15,
28
+ temperature: 0.7,
29
+ streaming: true,
30
+ enableToolCalls: true,
31
+ enableThinking: false,
32
+ memoryType: 'buffer',
33
+ memorySize: 50,
34
+ toolSelectionStrategy: 'auto'
35
+ },
36
+ // Marshal is an ordinary runtime-discovered Chat agent. Its identity belongs
37
+ // on the agent descriptor so every Chat surface gets the same behavior without
38
+ // a Marshal-only route or chat/mode override.
39
+ promptTemplate: marshalCloudSystemPrompt,
40
+ // Every entry that admits cloud hardware MUST resolve as a registered
41
+ // `tools/tool` in ai-web's composed cloud runtime — ai-web is the agent
42
+ // EXECUTION host for every web Marshal turn. That is not a claim, it is a
43
+ // gate: `apps/ai-web/src/__tests__/agent-tool-allowlist.test.ts` composes the
44
+ // real runtime and fails on any cloud entry that registers no descriptor or
45
+ // whose descriptor omits `purpose: 'agent'`. An unresolvable entry is silent
46
+ // — the loop just drops it — which is exactly how Marshal shipped with three
47
+ // dead entries (`knowledge`, `tool-help`, `email`) while the tools that DO
48
+ // reach the user's data were never allowlisted at all.
49
+ tools: [
50
+ { source: 'system', toolId: 'marshal', enabled: true, order: 1 },
51
+ // Knowledge recall/capture. The slim knowledge agent-tools set registers
52
+ // `knowledge-search` + `knowledge-remember` in the cloud; the unified
53
+ // `knowledge` tool only exists on knowledge-owner / consumer surfaces.
54
+ { source: 'system', toolId: 'knowledge-search', enabled: true, order: 2 },
55
+ { source: 'system', toolId: 'knowledge-remember', enabled: true, order: 3 },
56
+ { source: 'system', toolId: 'web-search', enabled: true, order: 4 },
57
+ // The user's FILES, across every drive they have connected (Vibes storage,
58
+ // SharePoint/OneDrive, org R2). Read paths are ungated, so these are the
59
+ // first tools Marshal can actually use without an approval card — which
60
+ // matters: before this, every single tool he could reach was gated.
61
+ { source: 'system', toolId: 'storage.browse', enabled: true, order: 5 },
62
+ { source: 'system', toolId: 'storage.search', enabled: true, order: 6 },
63
+ { source: 'system', toolId: 'storage.copy', enabled: true, order: 7 },
64
+ // The user's DOCUMENTS: text extraction, page images, and OCR for scans.
65
+ { source: 'system', toolId: 'document.read', enabled: true, order: 8 },
66
+ { source: 'system', toolId: 'document.view', enabled: true, order: 9 },
67
+ { source: 'system', toolId: 'ai-ocr-document', enabled: true, order: 10 },
68
+ // Cross-app data management. Registered for both hardware scopes; the
69
+ // consumer client targets the local bridge, the cloud loader sibling APIs.
70
+ { source: 'system', toolId: 'api-request', enabled: true, order: 11 },
71
+ { source: 'system', toolId: 'agent', enabled: true, order: 12 },
72
+ // Message-source outbound (S8): Slack/Discord/email via integration/provider.
73
+ { source: 'system', toolId: 'message-send', enabled: true, order: 13 },
74
+ // File a real escalation with the platform operators instead of telling
75
+ // the user to relay a bug report by hand.
76
+ { source: 'system', toolId: 'support.escalate', enabled: true, order: 14 },
77
+ // Read a known URL, and do arithmetic without inventing it.
78
+ { source: 'system', toolId: 'fetch', enabled: true, order: 15 },
79
+ { source: 'system', toolId: 'calculate', enabled: true, order: 16 },
80
+ { source: 'system', toolId: 'generate-image', enabled: true, order: 17 },
81
+ // Code-session operations are real workspace operations, not host-cwd
82
+ // stand-ins. The execution surface must bind codeSessionId (and its host
83
+ // kind); the code-session tools reject a model-supplied mismatched id.
84
+ { source: 'system', toolId: 'file-read', enabled: true, order: 18 },
85
+ { source: 'system', toolId: 'file-write', enabled: true, order: 19 },
86
+ { source: 'system', toolId: 'run-command', enabled: true, order: 20 },
87
+ { source: 'system', toolId: 'git', enabled: true, order: 21 },
88
+ { source: 'system', toolId: 'preview-url', enabled: true, order: 22 },
89
+ // ── consumer-only below ────────────────────────────────────────────────
90
+ // The unified knowledge tool: registered by the knowledge OWNER plugin,
91
+ // which cloud agent hosts deliberately do not load.
92
+ { source: 'system', toolId: 'knowledge', enabled: true, order: 23, hardware: ['consumer'] },
93
+ // `tool-help` has a consumer impl only (tools.plugin registers it;
94
+ // tools/cloud.plugin does not), so on ai-web it never resolved.
95
+ { source: 'system', toolId: 'tool-help', enabled: true, order: 24, hardware: ['consumer'] },
96
+ // The `email` plugin depends on notifications + integrations, neither of
97
+ // which ai-web registers, so the tool is absent there. `message-send`
98
+ // covers outbound email on a bound source in the cloud.
99
+ { source: 'system', toolId: 'email', enabled: true, order: 25, hardware: ['consumer'] },
100
+ // User work items. CONSUMER ONLY: the `work.items` storage manifest has a
101
+ // consumer impl only, so on ai-web the TOOL resolved and then died at
102
+ // runtime with 'no work.items storage descriptor' (Marshal's own
103
+ // self-audit, 2026-07-26). Until a cloud manifest backed by platform
104
+ // tracking exists, cloud turns manage work items via api-request.
105
+ { source: 'system', toolId: 'vibes-work', enabled: true, order: 26, hardware: ['consumer'] },
106
+ {
107
+ source: 'system',
108
+ toolId: 'workspace-fs',
109
+ enabled: true,
110
+ order: 27,
111
+ hardware: ['consumer']
112
+ },
113
+ {
114
+ source: 'system',
115
+ toolId: 'workspace-lock',
116
+ enabled: true,
117
+ order: 28,
118
+ hardware: ['consumer']
119
+ },
120
+ // Local-data management on consumer hardware. These tools only register in
121
+ // the consumer runtime scope, so they no-op (won't resolve) in the cloud.
122
+ {
123
+ source: 'system',
124
+ toolId: 'session-scratchpad',
125
+ enabled: true,
126
+ order: 29,
127
+ hardware: ['consumer']
128
+ },
129
+ {
130
+ source: 'system',
131
+ toolId: 'session-todo',
132
+ enabled: true,
133
+ order: 30,
134
+ hardware: ['consumer']
135
+ }
136
+ ],
137
+ hardware: ['consumer', 'cloud'],
138
+ // Non-default public agent: discoverable in agent lists across surfaces.
139
+ isPublic: true,
140
+ enabled: true,
141
+ tags: ['marshal', 'onboarding', 'setup', 'configuration']
142
+ });
143
+ export default marshalAgentDescriptor;
144
+ //# sourceMappingURL=descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"descriptor.js","sourceRoot":"","sources":["../../../src/marshal/agent/descriptor.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,MAAM,CAAC,MAAM,sBAAsB,GAAG,+BAA+B,CAAC,KAAK,CAAC;IAC3E,EAAE,EAAE,SAAS;IACb,IAAI,EAAE,SAAS;IACf,WAAW,EACV,kEAAkE;QAClE,+DAA+D;QAC/D,oDAAoD;IACrD,SAAS,EAAE,MAAM;IACjB,MAAM,EAAE,wBAAwB;IAChC,UAAU,EAAE,QAAQ;IACpB,OAAO,EAAE,OAAO;IAEhB,+DAA+D;IAC/D,qEAAqE;IACrE,oEAAoE;IACpE,uCAAuC;IACvC,OAAO,EAAE,mDAAmD;IAE5D,aAAa,EAAE;QACd,aAAa,EAAE,EAAE;QACjB,WAAW,EAAE,GAAG;QAChB,SAAS,EAAE,IAAI;QACf,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,KAAK;QACrB,UAAU,EAAE,QAAQ;QACpB,UAAU,EAAE,EAAE;QACd,qBAAqB,EAAE,MAAM;KAC7B;IAED,6EAA6E;IAC7E,+EAA+E;IAC/E,8CAA8C;IAC9C,cAAc,EAAE,wBAAwB;IAExC,sEAAsE;IACtE,wEAAwE;IACxE,0EAA0E;IAC1E,8EAA8E;IAC9E,4EAA4E;IAC5E,6EAA6E;IAC7E,6EAA6E;IAC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E,gBAAgB;YACxB,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,EAAE;YACT,QAAQ,EAAE,CAAC,UAAU,CAAC;SACtB;QACD,2EAA2E;QAC3E,0EAA0E;QAC1E;YACC,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,oBAAoB;YAC5B,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,EAAE;YACT,QAAQ,EAAE,CAAC,UAAU,CAAC;SACtB;QACD;YACC,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,cAAc;YACtB,OAAO,EAAE,IAAI;YACb,KAAK,EAAE,EAAE;YACT,QAAQ,EAAE,CAAC,UAAU,CAAC;SACtB;KACD;IAED,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,yEAAyE;IACzE,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,OAAO,EAAE,eAAe,CAAC;CACzD,CAAC,CAAC;AAEH,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Marshal Agent
3
+ *
4
+ * Exports for the Marshal agent and profile.
5
+ */
6
+ export { MarshalAgent } from './marshal-agent.ts';
7
+ export { marshalSystemPrompt, buildMarshalPrompt } from './system-prompt.ts';
8
+ export { marshalProfile, MARSHAL_PROFILE_ID } from './profile.ts';
9
+ export { marshalAgentDescriptor } from './descriptor.ts';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/marshal/agent/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Marshal Agent
3
+ *
4
+ * Exports for the Marshal agent and profile.
5
+ */
6
+ export { MarshalAgent } from "./marshal-agent.js";
7
+ export { marshalSystemPrompt, buildMarshalPrompt } from "./system-prompt.js";
8
+ export { marshalProfile, MARSHAL_PROFILE_ID } from "./profile.js";
9
+ export { marshalAgentDescriptor } from "./descriptor.js";
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/marshal/agent/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * MarshalAgent
3
+ *
4
+ * The main agent class for Marshal, handling conversation flow
5
+ * and integration with the chat system.
6
+ */
7
+ import type { MarshalAgentContext, MarshalAgentOptions } from '../schemas/agent.ts';
8
+ import type { MarshalContext } from '../types.ts';
9
+ export type { MarshalAgentContext, MarshalAgentOptions } from '../schemas/agent.ts';
10
+ /**
11
+ * MarshalAgent manages the conversational AI flow for Marshal.
12
+ *
13
+ * It builds context from the current user state, constructs
14
+ * appropriate system prompts, and provides the configuration
15
+ * needed for agent execution.
16
+ */
17
+ export declare class MarshalAgent {
18
+ private options;
19
+ private context;
20
+ constructor(options: MarshalAgentOptions);
21
+ /**
22
+ * Initialize the agent and build context
23
+ */
24
+ initialize(): Promise<MarshalAgentContext>;
25
+ /**
26
+ * Get the current context (must call initialize first)
27
+ */
28
+ getContext(): MarshalContext | null;
29
+ /**
30
+ * Build the full context for Marshal
31
+ */
32
+ private buildContext;
33
+ /**
34
+ * Get capabilities for a surface
35
+ */
36
+ private getCapabilitiesForSurface;
37
+ }
38
+ /**
39
+ * Create a MarshalAgent instance
40
+ */
41
+ export declare function createMarshalAgent(options: MarshalAgentOptions): MarshalAgent;
42
+ //# sourceMappingURL=marshal-agent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal-agent.d.ts","sourceRoot":"","sources":["../../../src/marshal/agent/marshal-agent.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AACpF,OAAO,KAAK,EAAE,cAAc,EAAiC,MAAM,aAAa,CAAC;AAIjF,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAEpF;;;;;;GAMG;AACH,qBAAa,YAAY;IACxB,OAAO,CAAC,OAAO,CAAsB;IACrC,OAAO,CAAC,OAAO,CAA+B;gBAElC,OAAO,EAAE,mBAAmB;IAIxC;;OAEG;IACG,UAAU,IAAI,OAAO,CAAC,mBAAmB,CAAC;IAahD;;OAEG;IACH,UAAU,IAAI,cAAc,GAAG,IAAI;IAInC;;OAEG;YACW,YAAY;IAmC1B;;OAEG;IACH,OAAO,CAAC,yBAAyB;CAoCjC;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,GAAG,YAAY,CAE7E"}
@@ -0,0 +1,121 @@
1
+ /**
2
+ * MarshalAgent
3
+ *
4
+ * The main agent class for Marshal, handling conversation flow
5
+ * and integration with the chat system.
6
+ */
7
+ import { marshalConfigSchema } from "../schemas/common.js";
8
+ import { buildMarshalPrompt } from "./system-prompt.js";
9
+ import { createServerSetupRequirements } from '@vibesdotdev/config/setup/requirements/server';
10
+ /**
11
+ * MarshalAgent manages the conversational AI flow for Marshal.
12
+ *
13
+ * It builds context from the current user state, constructs
14
+ * appropriate system prompts, and provides the configuration
15
+ * needed for agent execution.
16
+ */
17
+ export class MarshalAgent {
18
+ options;
19
+ context = null;
20
+ constructor(options) {
21
+ this.options = options;
22
+ }
23
+ /**
24
+ * Initialize the agent and build context
25
+ */
26
+ async initialize() {
27
+ const context = await this.buildContext();
28
+ this.context = context;
29
+ const systemPrompt = buildMarshalPrompt(context);
30
+ return {
31
+ systemPrompt,
32
+ context,
33
+ profileId: 'marshal'
34
+ };
35
+ }
36
+ /**
37
+ * Get the current context (must call initialize first)
38
+ */
39
+ getContext() {
40
+ return this.context;
41
+ }
42
+ /**
43
+ * Build the full context for Marshal
44
+ */
45
+ async buildContext() {
46
+ const { runtime, userId, surface, isSetupWizard, sessionId, configOverride } = this.options;
47
+ // Marshal config is supplied to the agent via `configOverride` by the
48
+ // caller. Per Pattern 1 (§1.4 + §7.5), the marshal core does not perform
49
+ // DB I/O — callers resolve marshal config through storage's
50
+ // manifest-typed interface and pass the resolved partial config in.
51
+ let marshalConfig;
52
+ if (configOverride) {
53
+ marshalConfig = marshalConfigSchema.parse(configOverride);
54
+ }
55
+ // Setup status is checked against the agent's runtime; a failed check
56
+ // propagates rather than reading as "complete".
57
+ const setupStatus = await createServerSetupRequirements(runtime).getSetupStatus({
58
+ surface
59
+ });
60
+ // Build capabilities based on surface
61
+ const capabilities = this.getCapabilitiesForSurface(surface);
62
+ return {
63
+ user: {
64
+ id: userId
65
+ // name and email would be populated from user profile
66
+ },
67
+ isSetupWizard: isSetupWizard ?? false,
68
+ setupStatus,
69
+ marshalConfig,
70
+ surface,
71
+ capabilities,
72
+ sessionId
73
+ };
74
+ }
75
+ /**
76
+ * Get capabilities for a surface
77
+ */
78
+ getCapabilitiesForSurface(surface) {
79
+ switch (surface) {
80
+ case 'web':
81
+ return {
82
+ canNavigate: true,
83
+ canShowWidgets: true,
84
+ canModifyConfig: true,
85
+ canShowProgress: true,
86
+ canAskQuestions: true
87
+ };
88
+ case 'tui':
89
+ return {
90
+ canNavigate: true,
91
+ canShowWidgets: true,
92
+ canModifyConfig: true,
93
+ canShowProgress: true,
94
+ canAskQuestions: true
95
+ };
96
+ case 'cli':
97
+ return {
98
+ canNavigate: false, // CLI suggests commands instead
99
+ canShowWidgets: true, // Text-based widgets
100
+ canModifyConfig: true,
101
+ canShowProgress: true,
102
+ canAskQuestions: true
103
+ };
104
+ case 'bridge':
105
+ return {
106
+ canNavigate: false,
107
+ canShowWidgets: true,
108
+ canModifyConfig: true,
109
+ canShowProgress: true,
110
+ canAskQuestions: true
111
+ };
112
+ }
113
+ }
114
+ }
115
+ /**
116
+ * Create a MarshalAgent instance
117
+ */
118
+ export function createMarshalAgent(options) {
119
+ return new MarshalAgent(options);
120
+ }
121
+ //# sourceMappingURL=marshal-agent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal-agent.js","sourceRoot":"","sources":["../../../src/marshal/agent/marshal-agent.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAG9F;;;;;;GAMG;AACH,MAAM,OAAO,YAAY;IAChB,OAAO,CAAsB;IAC7B,OAAO,GAA0B,IAAI,CAAC;IAE9C,YAAY,OAA4B;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACxB,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU;QACf,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,YAAY,EAAE,CAAC;QAC1C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QAEvB,MAAM,YAAY,GAAG,kBAAkB,CAAC,OAAO,CAAC,CAAC;QAEjD,OAAO;YACN,YAAY;YACZ,OAAO;YACP,SAAS,EAAE,SAAS;SACpB,CAAC;IACH,CAAC;IAED;;OAEG;IACH,UAAU;QACT,OAAO,IAAI,CAAC,OAAO,CAAC;IACrB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oBACpD,cAAc,EAAE,IAAI,EAAE,qBAAqB;oBAC3C,eAAe,EAAE,IAAI;oBACrB,eAAe,EAAE,IAAI;oBACrB,eAAe,EAAE,IAAI;iBACrB,CAAC;YACH,KAAK,QAAQ;gBACZ,OAAO;oBACN,WAAW,EAAE,KAAK;oBAClB,cAAc,EAAE,IAAI;oBACpB,eAAe,EAAE,IAAI;oBACrB,eAAe,EAAE,IAAI;oBACrB,eAAe,EAAE,IAAI;iBACrB,CAAC;QACJ,CAAC;IACF,CAAC;CACD;AAED;;GAEG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAA4B;IAC9D,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,CAAC;AAClC,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Marshal tools/agent/instance descriptor (discoverable)
3
+ *
4
+ * Runtime discovery only scans `*.descriptor*.ts` files. This wrapper exposes
5
+ * the Marshal agent descriptor from source so it can be registered as tools/agent/instance.
6
+ */
7
+ import marshalAgentDescriptor from './descriptor.ts';
8
+ export default marshalAgentDescriptor;
9
+ //# sourceMappingURL=marshal.agent.descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal.agent.descriptor.d.ts","sourceRoot":"","sources":["../../../src/marshal/agent/marshal.agent.descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,sBAAsB,MAAM,iBAAiB,CAAC;AAErD,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Marshal tools/agent/instance descriptor (discoverable)
3
+ *
4
+ * Runtime discovery only scans `*.descriptor*.ts` files. This wrapper exposes
5
+ * the Marshal agent descriptor from source so it can be registered as tools/agent/instance.
6
+ */
7
+ import marshalAgentDescriptor from "./descriptor.js";
8
+ export default marshalAgentDescriptor;
9
+ //# sourceMappingURL=marshal.agent.descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marshal.agent.descriptor.js","sourceRoot":"","sources":["../../../src/marshal/agent/marshal.agent.descriptor.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,sBAAsB,MAAM,iBAAiB,CAAC;AAErD,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Marshal Execution Profile
3
+ *
4
+ * Defines the Marshal profile for the execution profile registry.
5
+ * Marshal is optimized for configuration, onboarding, and platform guidance.
6
+ */
7
+ import type { ExecutionProfile } from '@vibesdotdev/tools/agents/profiles';
8
+ export declare const MARSHAL_PROFILE_ID: "marshal";
9
+ /**
10
+ * Marshal execution profile
11
+ *
12
+ * Focused on configuration, navigation, and user guidance.
13
+ * Limited tool set optimized for onboarding workflows.
14
+ */
15
+ export declare const marshalProfile: ExecutionProfile;
16
+ //# sourceMappingURL=profile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../src/marshal/agent/profile.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,eAAO,MAAM,kBAAkB,EAAG,SAAkB,CAAC;AAErD;;;;;GAKG;AACH,eAAO,MAAM,cAAc,EAAE,gBA0C5B,CAAC"}