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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,7 @@
1
+ /**
2
+ * Marshal Worker Schemas
3
+ *
4
+ * Worker-facing type contracts.
5
+ */
6
+ export {};
7
+ //# sourceMappingURL=worker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worker.js","sourceRoot":"","sources":["../../../src/marshal/schemas/worker.ts"],"names":[],"mappings":"AAAA;;;;GAIG"}
@@ -0,0 +1,26 @@
1
+ /**
2
+ * MarshalGuidedSetup
3
+ *
4
+ * Orchestration module that:
5
+ * 1. Runs diagnoseConfig() to get current diagnostic state
6
+ * 2. Creates or finds a Marshal chat room with the Marshal agent
7
+ * 3. Seeds the conversation with diagnostic output
8
+ * 4. Returns the room ID so the caller can navigate to chat
9
+ *
10
+ * This module does NOT render UI — it produces state that the
11
+ * gateway or caller uses to navigate to the chat app.
12
+ */
13
+ import type { ConfigDiagnostic } from '@vibesdotdev/ai/config';
14
+ import type { GuidedSetupOptions, GuidedSetupResult } from '../schemas/setup.ts';
15
+ /**
16
+ * Format a ConfigDiagnostic into a human-readable seed message.
17
+ */
18
+ export declare function formatDiagnosticSeed(diagnostic: ConfigDiagnostic): string;
19
+ /**
20
+ * Initialize a guided setup session.
21
+ *
22
+ * Creates a chat room with the Marshal agent and seeds it with
23
+ * diagnostic information. Returns the room ID for navigation.
24
+ */
25
+ export declare function initGuidedSetup(options: GuidedSetupOptions): Promise<GuidedSetupResult>;
26
+ //# sourceMappingURL=guided.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guided.d.ts","sourceRoot":"","sources":["../../../src/marshal/setup/guided.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAWjF;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,gBAAgB,GAAG,MAAM,CAsBzE;AAED;;;;;GAKG;AACH,wBAAsB,eAAe,CAAC,OAAO,EAAE,kBAAkB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAqD7F"}
@@ -0,0 +1,83 @@
1
+ import { settle, valueFreeFailure } from '@vibesdotdev/kernel';
2
+ import { getLogger } from '@vibesdotdev/logging';
3
+ import { invokeTool } from '@vibesdotdev/tools/execution/invoke';
4
+ import * as z from 'zod/v4';
5
+ const MARSHAL_AGENT_ID = 'marshal';
6
+ const MARSHAL_ROOM_TITLE = 'Marshal Setup';
7
+ const CHAT_ROOM_TOOL_ID = 'chat-room';
8
+ const CHAT_MESSAGE_TOOL_ID = 'chat-message';
9
+ const DEFAULT_GUIDED_SETUP_TIMEOUT_MS = 12_000;
10
+ /** Far-boundary shape of the `chat-room` create output: only the room id is consumed. */
11
+ const CreatedRoomSchema = z.object({ room: z.object({ id: z.string().min(1) }) });
12
+ /**
13
+ * Format a ConfigDiagnostic into a human-readable seed message.
14
+ */
15
+ export function formatDiagnosticSeed(diagnostic) {
16
+ const lines = [
17
+ '## Configuration Diagnostic',
18
+ '',
19
+ `Status: ${diagnostic.ready ? 'Ready' : 'Needs attention'}`
20
+ ];
21
+ if (diagnostic.missing.length > 0) {
22
+ lines.push('', '### Missing configuration:');
23
+ for (const key of diagnostic.missing) {
24
+ lines.push(`- \`${key}\``);
25
+ }
26
+ }
27
+ if (diagnostic.issues.length > 0) {
28
+ lines.push('', '### Issues:');
29
+ for (const issue of diagnostic.issues) {
30
+ lines.push(`- ${issue}`);
31
+ }
32
+ }
33
+ return lines.join('\n');
34
+ }
35
+ /**
36
+ * Initialize a guided setup session.
37
+ *
38
+ * Creates a chat room with the Marshal agent and seeds it with
39
+ * diagnostic information. Returns the room ID for navigation.
40
+ */
41
+ export async function initGuidedSetup(options) {
42
+ const { runtime, diagnostic } = options;
43
+ const logger = getLogger('workboard.marshal.guided-setup', runtime);
44
+ const timeoutMs = options.timeoutMs ?? DEFAULT_GUIDED_SETUP_TIMEOUT_MS;
45
+ const diagnosticSummary = formatDiagnosticSeed(diagnostic);
46
+ // Create the room through the real unified `chat-room` tool. invokeTool is the
47
+ // public execution route: it validates against the descriptor, resolves the
48
+ // registered implementation, and calls it with the runtime and call context.
49
+ const created = await runtime.lifecycle.wait(() => invokeTool({
50
+ runtime,
51
+ toolId: CHAT_ROOM_TOOL_ID,
52
+ input: {
53
+ operation: 'create',
54
+ title: MARSHAL_ROOM_TITLE,
55
+ description: 'Configuration setup guided by Marshal',
56
+ agents: [{ agentId: MARSHAL_AGENT_ID, responseMode: 'auto' }],
57
+ visibility: 'private'
58
+ },
59
+ ctx: { callId: `marshal-setup-room-${crypto.randomUUID()}`, logger }
60
+ }), { timeoutMs, reason: 'creating the Marshal setup room' });
61
+ const roomId = CreatedRoomSchema.parse(created).room.id;
62
+ // Seed the room with a system message containing diagnostic output.
63
+ const seeded = await settle(() => runtime.lifecycle.wait(() => invokeTool({
64
+ runtime,
65
+ toolId: CHAT_MESSAGE_TOOL_ID,
66
+ input: {
67
+ action: 'send',
68
+ roomId,
69
+ content: diagnosticSummary,
70
+ senderType: 'system'
71
+ },
72
+ ctx: { callId: `marshal-setup-seed-${crypto.randomUUID()}`, logger }
73
+ }), { timeoutMs, reason: 'seeding the Marshal setup summary' }));
74
+ if (!seeded.ok) {
75
+ // The room remains useful; forward the failed optional seed.
76
+ getLogger('workboard.marshal.guided-setup', runtime).warn('Marshal setup summary was not seeded', {
77
+ roomId,
78
+ failure: valueFreeFailure(seeded.cause)
79
+ });
80
+ }
81
+ return { roomId, diagnosticSummary };
82
+ }
83
+ //# sourceMappingURL=guided.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"guided.js","sourceRoot":"","sources":["../../../src/marshal/setup/guided.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAe/D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAC3C,MAAM,iBAAiB,GAAG,WAAW,CAAC;AACtC,MAAM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EAAE,MAAM,EAAE,mCAAmC,EAAE,CAC1D,CAAC,CAAC;IACJ,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QAChB,6DAA6D;QAC7D,SAAS,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,sCAAsC,EAAE;YACjG,MAAM;YACN,OAAO,EAAE,gBAAgB,CAAC,MAAM,CAAC,KAAK,CAAC;SACvC,CAAC,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,CAAC;AACtC,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Marshal Setup Module
3
+ *
4
+ * Runtime-owned setup contracts. UI surfaces may drive baseline configuration
5
+ * with their native AI settings, then continue conversationally with the
6
+ * ordinary Marshal agent in Chat.
7
+ */
8
+ export { initGuidedSetup, formatDiagnosticSeed } from './guided.ts';
9
+ export type { GuidedSetupOptions, GuidedSetupResult } from '../schemas/setup.ts';
10
+ export { resolveSetupRoute, type BaselineSetupResult, type BaselineSaveTarget, type BaselinePreset, type SetupRoute } from './types.ts';
11
+ export { saveBaselineConfig } from './save-baseline.ts';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/marshal/setup/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACN,eAAe,EACf,oBAAoB,EACpB,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACjF,OAAO,EACN,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Marshal Setup Module
3
+ *
4
+ * Runtime-owned setup contracts. UI surfaces may drive baseline configuration
5
+ * with their native AI settings, then continue conversationally with the
6
+ * ordinary Marshal agent in Chat.
7
+ */
8
+ export { initGuidedSetup, formatDiagnosticSeed } from "./guided.js";
9
+ export { resolveSetupRoute } from "./types.js";
10
+ export { saveBaselineConfig } from "./save-baseline.js";
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/marshal/setup/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACN,eAAe,EACf,oBAAoB,EACpB,MAAM,aAAa,CAAC;AAErB,OAAO,EACN,iBAAiB,EAKjB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { VibesRuntime } from '@vibesdotdev/kernel/api/runtime';
2
+ import { type AIProviderTypeDescriptor } from '@vibesdotdev/ai/providers-runtime/schemas/type-descriptor';
3
+ import { discoverModelsForConfiguredProvider } from './provider-runtime.models.ts';
4
+ import type { ProviderAuthMethodChoice, ProviderChoice, ProviderConfigField } from '../schemas/setup.ts';
5
+ export { discoverModelsForConfiguredProvider };
6
+ export type { DiscoveredModelChoice, ProviderAuthMethodChoice, ProviderChoice, ProviderConfigField } from '../schemas/setup.ts';
7
+ export declare function buildProviderConfigFields(descriptor: AIProviderTypeDescriptor): ProviderConfigField[];
8
+ export declare function validateProviderConfig(descriptor: AIProviderTypeDescriptor, config: Record<string, string | number | boolean>): {
9
+ valid: true;
10
+ } | {
11
+ valid: false;
12
+ message: string;
13
+ };
14
+ export declare function parseProviderFieldValue(field: ProviderConfigField, input: string): {
15
+ ok: true;
16
+ value?: string | number | boolean;
17
+ } | {
18
+ ok: false;
19
+ error: string;
20
+ };
21
+ export declare function buildProviderAuthMethodChoices(descriptor: AIProviderTypeDescriptor): ProviderAuthMethodChoice[];
22
+ export declare function getTextProviderChoices(runtime: VibesRuntime | null | undefined): ProviderChoice[];
23
+ //# sourceMappingURL=provider-runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-runtime.d.ts","sourceRoot":"","sources":["../../../src/marshal/setup/provider-runtime.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAEN,KAAK,wBAAwB,EAE7B,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AACnF,OAAO,KAAK,EACX,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,mCAAmC,EAAE,CAAC;AAC/C,YAAY,EACX,qBAAqB,EACrB,wBAAwB,EACxB,cAAc,EACd,mBAAmB,EACnB,MAAM,qBAAqB,CAAC;AAmB7B,wBAAgB,yBAAyB,CACxC,UAAU,EAAE,wBAAwB,GAClC,mBAAmB,EAAE,CAoBvB;AAED,wBAAgB,sBAAsB,CACrC,UAAU,EAAE,wBAAwB,EACpC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAC/C;IAAE,KAAK,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAOrD;AAED,wBAAgB,uBAAuB,CACtC,KAAK,EAAE,mBAAmB,EAC1B,KAAK,EAAE,MAAM,GACX;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CA+BhF;AAcD,wBAAgB,8BAA8B,CAC7C,UAAU,EAAE,wBAAwB,GAClC,wBAAwB,EAAE,CAE5B;AAMD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,GAAG,cAAc,EAAE,CAoBjG"}
@@ -0,0 +1,239 @@
1
+ import { type RuntimeRef } from '@vibesdotdev/kernel';
2
+ /** The configured provider owner owns catalog transport and vendor semantics. */
3
+ export declare function discoverDetectedModels(runtime: RuntimeRef, providerType: string, providerId: string, configuration: Record<string, string | number | boolean>): Promise<{
4
+ id: string;
5
+ kind: "ai/model";
6
+ providerId: string;
7
+ name: string;
8
+ capabilities: ("audio_transcription" | "audio_transcription_realtime" | "text_generation" | "chat_completion" | "function_calling" | "embedding_generation" | "image_generation_text_to_image" | "image_generation_image_to_image" | "image_generation_inpainting" | "image_generation_outpainting" | "image_upscaling" | "image_editing_via_instructions" | "audio_generation_text_to_speech" | "audio_generation_voice_cloning" | "audio_generation_music" | "audio_generation_sound_effects" | "video_generation_text_to_video" | "workflow_execution" | "code_generation" | "image_understanding" | "structured_evaluation")[];
9
+ modalities: ("text" | "audio" | "image" | "video" | "speech" | "embedding" | "transcription" | "ocr" | "evaluation")[];
10
+ configuration: {
11
+ [x: string]: unknown;
12
+ modelId?: string | undefined;
13
+ contextLength?: number | undefined;
14
+ temperature?: number | undefined;
15
+ maxTokens?: number | undefined;
16
+ topP?: number | undefined;
17
+ topK?: number | undefined;
18
+ frequencyPenalty?: number | undefined;
19
+ presencePenalty?: number | undefined;
20
+ stopSequences?: string[] | undefined;
21
+ stream?: boolean | undefined;
22
+ seed?: number | undefined;
23
+ responseFormat?: "text" | "json" | undefined;
24
+ imageDefaults?: {
25
+ steps?: number | undefined;
26
+ cfgScale?: number | undefined;
27
+ sampler?: string | undefined;
28
+ scheduler?: string | undefined;
29
+ negativePrompt?: string | undefined;
30
+ quality?: string | undefined;
31
+ outputFormat?: string | undefined;
32
+ } | undefined;
33
+ };
34
+ enabled: boolean;
35
+ modelType?: "llm_base" | "llm_chat" | "llm_embedding" | "image_diffusion" | "image_gan" | "image_upscaler" | "image_editor" | "audio_transcription" | "audio_transcription_realtime" | "audio_tts" | "audio_voice_cloning" | "audio_music_generation" | "audio_sound_effects" | "video_text_to_video" | "video_image_to_video" | "system_one" | "workflow_engine" | null | undefined;
36
+ displayName?: string | undefined;
37
+ description?: string | undefined;
38
+ tokenLimit?: number | null | undefined;
39
+ zdr?: boolean | undefined;
40
+ staffOnly?: boolean | undefined;
41
+ pricePerToken?: string | null | undefined;
42
+ costBasis?: {
43
+ units: "request" | "image" | "input_tokens" | "output_tokens" | "cached_input_tokens" | "cache_write_5m_tokens" | "cache_write_1h_tokens" | "audio_minute" | "gb_month" | "gb_egress" | "compute_second" | "gpu_second";
44
+ source: "published" | "manual" | "measured" | "heuristic";
45
+ confidence: "low" | "medium" | "high";
46
+ effectiveAt: string;
47
+ usdPerMillionUnits?: number | undefined;
48
+ usdPerUnit?: number | undefined;
49
+ }[] | undefined;
50
+ branding?: {
51
+ [x: string]: unknown;
52
+ logo?: {
53
+ [x: string]: unknown;
54
+ kind: "mark" | "wordmark" | "lockup" | "badge";
55
+ format: "svg";
56
+ path: string;
57
+ sourceUrl: string;
58
+ sourcePageUrl: string;
59
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
60
+ theme: "any" | "light" | "dark";
61
+ usageNotes?: string | undefined;
62
+ licenseNotes?: string | undefined;
63
+ } | undefined;
64
+ darkLogo?: {
65
+ [x: string]: unknown;
66
+ kind: "mark" | "wordmark" | "lockup" | "badge";
67
+ format: "svg";
68
+ path: string;
69
+ sourceUrl: string;
70
+ sourcePageUrl: string;
71
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
72
+ theme: "any" | "light" | "dark";
73
+ usageNotes?: string | undefined;
74
+ licenseNotes?: string | undefined;
75
+ } | undefined;
76
+ wordmark?: {
77
+ [x: string]: unknown;
78
+ kind: "mark" | "wordmark" | "lockup" | "badge";
79
+ format: "svg";
80
+ path: string;
81
+ sourceUrl: string;
82
+ sourcePageUrl: string;
83
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
84
+ theme: "any" | "light" | "dark";
85
+ usageNotes?: string | undefined;
86
+ licenseNotes?: string | undefined;
87
+ } | undefined;
88
+ darkWordmark?: {
89
+ [x: string]: unknown;
90
+ kind: "mark" | "wordmark" | "lockup" | "badge";
91
+ format: "svg";
92
+ path: string;
93
+ sourceUrl: string;
94
+ sourcePageUrl: string;
95
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
96
+ theme: "any" | "light" | "dark";
97
+ usageNotes?: string | undefined;
98
+ licenseNotes?: string | undefined;
99
+ } | undefined;
100
+ sourcePageUrl?: string | undefined;
101
+ usageNotes?: string | undefined;
102
+ } | undefined;
103
+ catalog?: {
104
+ [x: string]: unknown;
105
+ globalModelId: string;
106
+ providerModelId: string;
107
+ servingProviderId: string;
108
+ sourceProviderId?: string | undefined;
109
+ sourceProviderBranding?: {
110
+ [x: string]: unknown;
111
+ logo?: {
112
+ [x: string]: unknown;
113
+ kind: "mark" | "wordmark" | "lockup" | "badge";
114
+ format: "svg";
115
+ path: string;
116
+ sourceUrl: string;
117
+ sourcePageUrl: string;
118
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
119
+ theme: "any" | "light" | "dark";
120
+ usageNotes?: string | undefined;
121
+ licenseNotes?: string | undefined;
122
+ } | undefined;
123
+ darkLogo?: {
124
+ [x: string]: unknown;
125
+ kind: "mark" | "wordmark" | "lockup" | "badge";
126
+ format: "svg";
127
+ path: string;
128
+ sourceUrl: string;
129
+ sourcePageUrl: string;
130
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
131
+ theme: "any" | "light" | "dark";
132
+ usageNotes?: string | undefined;
133
+ licenseNotes?: string | undefined;
134
+ } | undefined;
135
+ wordmark?: {
136
+ [x: string]: unknown;
137
+ kind: "mark" | "wordmark" | "lockup" | "badge";
138
+ format: "svg";
139
+ path: string;
140
+ sourceUrl: string;
141
+ sourcePageUrl: string;
142
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
143
+ theme: "any" | "light" | "dark";
144
+ usageNotes?: string | undefined;
145
+ licenseNotes?: string | undefined;
146
+ } | undefined;
147
+ darkWordmark?: {
148
+ [x: string]: unknown;
149
+ kind: "mark" | "wordmark" | "lockup" | "badge";
150
+ format: "svg";
151
+ path: string;
152
+ sourceUrl: string;
153
+ sourcePageUrl: string;
154
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
155
+ theme: "any" | "light" | "dark";
156
+ usageNotes?: string | undefined;
157
+ licenseNotes?: string | undefined;
158
+ } | undefined;
159
+ sourcePageUrl?: string | undefined;
160
+ usageNotes?: string | undefined;
161
+ } | undefined;
162
+ servingProviderBranding?: {
163
+ [x: string]: unknown;
164
+ logo?: {
165
+ [x: string]: unknown;
166
+ kind: "mark" | "wordmark" | "lockup" | "badge";
167
+ format: "svg";
168
+ path: string;
169
+ sourceUrl: string;
170
+ sourcePageUrl: string;
171
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
172
+ theme: "any" | "light" | "dark";
173
+ usageNotes?: string | undefined;
174
+ licenseNotes?: string | undefined;
175
+ } | undefined;
176
+ darkLogo?: {
177
+ [x: string]: unknown;
178
+ kind: "mark" | "wordmark" | "lockup" | "badge";
179
+ format: "svg";
180
+ path: string;
181
+ sourceUrl: string;
182
+ sourcePageUrl: string;
183
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
184
+ theme: "any" | "light" | "dark";
185
+ usageNotes?: string | undefined;
186
+ licenseNotes?: string | undefined;
187
+ } | undefined;
188
+ wordmark?: {
189
+ [x: string]: unknown;
190
+ kind: "mark" | "wordmark" | "lockup" | "badge";
191
+ format: "svg";
192
+ path: string;
193
+ sourceUrl: string;
194
+ sourcePageUrl: string;
195
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
196
+ theme: "any" | "light" | "dark";
197
+ usageNotes?: string | undefined;
198
+ licenseNotes?: string | undefined;
199
+ } | undefined;
200
+ darkWordmark?: {
201
+ [x: string]: unknown;
202
+ kind: "mark" | "wordmark" | "lockup" | "badge";
203
+ format: "svg";
204
+ path: string;
205
+ sourceUrl: string;
206
+ sourcePageUrl: string;
207
+ source: "official-brand-page" | "official-brand-kit" | "official-homepage-inline" | "official-cdn" | "official-github";
208
+ theme: "any" | "light" | "dark";
209
+ usageNotes?: string | undefined;
210
+ licenseNotes?: string | undefined;
211
+ } | undefined;
212
+ sourcePageUrl?: string | undefined;
213
+ usageNotes?: string | undefined;
214
+ } | undefined;
215
+ } | undefined;
216
+ hardware?: ("consumer" | "cloud")[] | undefined;
217
+ tags?: string[] | undefined;
218
+ metadata?: Record<string, unknown> | undefined;
219
+ }[]>;
220
+ /** Compatibility projection for an unclassified provider catalog identifier. */
221
+ export declare function toDetectedModel(providerId: string, modelId: string): {
222
+ id: string;
223
+ providerId: string;
224
+ modelType: null;
225
+ name: string;
226
+ displayName: string;
227
+ capabilities: never[];
228
+ supportedModalities: "text"[];
229
+ configuration: {
230
+ modelId: string;
231
+ };
232
+ tokenLimit: null;
233
+ pricePerToken: null;
234
+ isActive: true;
235
+ useCount: number;
236
+ createdAt: Date;
237
+ updatedAt: Date;
238
+ };
239
+ //# sourceMappingURL=provider-runtime.detected-models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-runtime.detected-models.d.ts","sourceRoot":"","sources":["../../../src/marshal/setup/provider-runtime.detected-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMhF,iFAAiF;AACjF,wBAAsB,sBAAsB,CAC3C,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAC7D,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgBxD;AAED,gFAAgF;AAChF,wBAAgB,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;EAOlE"}
@@ -0,0 +1,30 @@
1
+ import { settle, valueFreeFailure } from '@vibesdotdev/kernel';
2
+ import { createAIProviderDescriptor } from '@vibesdotdev/ai/schemas/provider-descriptor';
3
+ import { getLogger } from '@vibesdotdev/logging';
4
+ /** The configured provider owner owns catalog transport and vendor semantics. */
5
+ export async function discoverDetectedModels(runtime, providerType, providerId, configuration) {
6
+ const query = runtime.query('ai/provider').withId(providerType);
7
+ const selected = await query.select();
8
+ if (!selected?.impl.listModels)
9
+ return [];
10
+ const provider = createAIProviderDescriptor({
11
+ id: providerId, name: providerType, description: 'Marshal setup provider',
12
+ providerType, sourceType: 'user', version: '1.0.0', configuration,
13
+ enabled: true, tags: ['marshal', 'setup']
14
+ });
15
+ const discovered = await settle(() => selected.impl.listModels(provider, { modality: 'text', live: true }));
16
+ if (discovered.ok)
17
+ return discovered.value ?? [];
18
+ getLogger('workboard.marshal.setup.detected-models', runtime).warn('Live model discovery failed; using descriptor fallback', { failure: valueFreeFailure(discovered.cause) });
19
+ return [];
20
+ }
21
+ /** Compatibility projection for an unclassified provider catalog identifier. */
22
+ export function toDetectedModel(providerId, modelId) {
23
+ return {
24
+ id: modelId, providerId, modelType: null, name: modelId, displayName: modelId,
25
+ capabilities: [], supportedModalities: ['text'], configuration: { modelId },
26
+ tokenLimit: null, pricePerToken: null, isActive: true, useCount: 0,
27
+ createdAt: new Date(), updatedAt: new Date()
28
+ };
29
+ }
30
+ //# sourceMappingURL=provider-runtime.detected-models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-runtime.detected-models.js","sourceRoot":"","sources":["../../../src/marshal/setup/provider-runtime.detected-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAmB,MAAM,qBAAqB,CAAC;AAGhF,OAAO,EAAE,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AACzF,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,iFAAiF;AACjF,MAAM,CAAC,KAAK,UAAU,sBAAsB,CAC3C,OAAmB,EAAE,YAAoB,EAAE,UAAkB,EAC7D,aAAwD;IAExD,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAoD,aAAa,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC;IACnH,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,MAAM,EAAE,CAAC;IACtC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,UAAU;QAAE,OAAO,EAAE,CAAC;IAC1C,MAAM,QAAQ,GAAG,0BAA0B,CAAC;QAC3C,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,wBAAwB;QACzE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa;QACjE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;KACzC,CAAC,CAAC;IACH,MAAM,UAAU,GAAG,MAAM,MAAM,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAW,CAAC,QAAQ,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC7G,IAAI,UAAU,CAAC,EAAE;QAAE,OAAO,UAAU,CAAC,KAAK,IAAI,EAAE,CAAC;IACjD,SAAS,CAAC,yCAAyC,EAAE,OAAO,CAAC,CAAC,IAAI,CACjE,wDAAwD,EAAE,EAAE,OAAO,EAAE,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CACzG,CAAC;IACF,OAAO,EAAE,CAAC;AACX,CAAC;AAED,gFAAgF;AAChF,MAAM,UAAU,eAAe,CAAC,UAAkB,EAAE,OAAe;IAClE,OAAO;QACN,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO;QAC7E,YAAY,EAAE,EAAE,EAAE,mBAAmB,EAAE,CAAC,MAAM,CAAC,EAAE,aAAa,EAAE,EAAE,OAAO,EAAE;QAC3E,UAAU,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;QAClE,SAAS,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,IAAI,EAAE;KACoB,CAAC;AACnE,CAAC"}
@@ -0,0 +1,115 @@
1
+ import * as z from 'zod/v4';
2
+ import { getProviderAuthMethods } from '@vibesdotdev/ai/providers-runtime/schemas/type-descriptor';
3
+ import { discoverModelsForConfiguredProvider } from "./provider-runtime.models.js";
4
+ export { discoverModelsForConfiguredProvider };
5
+ function getConnectionSchema(descriptor) {
6
+ return z.instanceof(z.ZodType).parse(descriptor.connectionSchema);
7
+ }
8
+ function getRequiredKeys(descriptor) {
9
+ const parsed = getConnectionSchema(descriptor).safeParse({});
10
+ if (parsed.success)
11
+ return [];
12
+ const required = new Set();
13
+ for (const issue of parsed.error?.issues ?? []) {
14
+ const key = issue.path[0];
15
+ const parsedKey = z.string().safeParse(key);
16
+ if (parsedKey.success)
17
+ required.add(parsedKey.data);
18
+ }
19
+ return [...required];
20
+ }
21
+ export function buildProviderConfigFields(descriptor) {
22
+ const defaults = z.record(z.string(), z.union([z.string(), z.number(), z.boolean()])).parse(descriptor.defaults ?? {});
23
+ const required = getRequiredKeys(descriptor);
24
+ const keys = [...new Set([...required, ...Object.keys(defaults)])];
25
+ const authMethods = buildProviderAuthMethodChoices(descriptor);
26
+ if (keys.length === 0)
27
+ return [];
28
+ return keys.map((key) => {
29
+ const value = defaults[key];
30
+ const authMethodIds = authMethods
31
+ .filter((method) => method.credentialFields.includes(key))
32
+ .map((method) => method.id);
33
+ return {
34
+ key,
35
+ defaultValue: value,
36
+ required: required.includes(key),
37
+ authMethodIds: authMethodIds.length > 0 ? authMethodIds : undefined
38
+ };
39
+ });
40
+ }
41
+ export function validateProviderConfig(descriptor, config) {
42
+ const result = getConnectionSchema(descriptor).safeParse(config);
43
+ if (result.success)
44
+ return { valid: true };
45
+ return {
46
+ valid: false,
47
+ message: result.error?.issues[0]?.message ?? 'Invalid provider configuration.'
48
+ };
49
+ }
50
+ export function parseProviderFieldValue(field, input) {
51
+ const trimmed = input.trim();
52
+ const defaultValue = field.defaultValue;
53
+ if (!trimmed) {
54
+ if (field.required && (defaultValue === undefined || defaultValue === '')) {
55
+ return { ok: false, error: `${field.key} is required.` };
56
+ }
57
+ return { ok: true, value: defaultValue };
58
+ }
59
+ if (z.number().safeParse(defaultValue).success) {
60
+ const parsed = Number(trimmed);
61
+ if (Number.isNaN(parsed)) {
62
+ return { ok: false, error: `${field.key} must be a number.` };
63
+ }
64
+ return { ok: true, value: parsed };
65
+ }
66
+ if (z.boolean().safeParse(defaultValue).success) {
67
+ const normalized = trimmed.toLowerCase();
68
+ if (normalized === 'true' || normalized === 'yes' || normalized === 'y' || normalized === '1') {
69
+ return { ok: true, value: true };
70
+ }
71
+ if (normalized === 'false' || normalized === 'no' || normalized === 'n' || normalized === '0') {
72
+ return { ok: true, value: false };
73
+ }
74
+ return { ok: false, error: `${field.key} must be true/false.` };
75
+ }
76
+ return { ok: true, value: trimmed };
77
+ }
78
+ function toAuthMethodChoice(method) {
79
+ return {
80
+ id: method.id,
81
+ type: method.type,
82
+ label: method.label,
83
+ description: method.description,
84
+ tokenSource: method.tokenSource,
85
+ credentialFields: method.credentialFields,
86
+ recommended: method.recommended === true
87
+ };
88
+ }
89
+ export function buildProviderAuthMethodChoices(descriptor) {
90
+ return getProviderAuthMethods(descriptor).map(toAuthMethodChoice);
91
+ }
92
+ function requiresApiKey(authMethods) {
93
+ return authMethods.some((method) => method.credentialFields.includes('apiKey'));
94
+ }
95
+ export function getTextProviderChoices(runtime) {
96
+ if (!runtime)
97
+ return [];
98
+ const descriptors = runtime.query('ai/provider').descriptors();
99
+ const providers = descriptors
100
+ .filter((descriptor) => descriptor.enabled !== false)
101
+ .filter((descriptor) => descriptor.capabilities?.modalities?.includes('text') ?? true)
102
+ .map((descriptor) => {
103
+ const authMethods = buildProviderAuthMethodChoices(descriptor);
104
+ return {
105
+ type: descriptor.id,
106
+ label: descriptor.name,
107
+ description: descriptor.description ?? '',
108
+ requiresApiKey: requiresApiKey(authMethods),
109
+ authMethods,
110
+ descriptor
111
+ };
112
+ });
113
+ return providers.sort((a, b) => (b.descriptor.priority ?? 0) - (a.descriptor.priority ?? 0));
114
+ }
115
+ //# sourceMappingURL=provider-runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider-runtime.js","sourceRoot":"","sources":["../../../src/marshal/setup/provider-runtime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EACN,sBAAsB,EAGtB,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,mCAAmC,EAAE,MAAM,8BAA8B,CAAC;AAOnF,OAAO,EAAE,mCAAmC,EAAE,CAAC;AAQ/C,SAAS,mBAAmB,CAAC,UAAoC;IAChE,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACnE,CAAC;AAED,SAAS,eAAe,CAAC,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W,GAAG,8BAA8B,CAAC,UAAU,CAAC,CAAC;QAC/D,OAAO;YACN,IAAI,EAAE,UAAU,CAAC,EAAE;YACnB,KAAK,EAAE,UAAU,CAAC,IAAI;YACtB,WAAW,EAAE,UAAU,CAAC,WAAW,IAAI,EAAE;YACzC,cAAc,EAAE,cAAc,CAAC,WAAW,CAAC;YAC3C,WAAW;YACX,UAAU;SACV,CAAC;IACH,CAAC,CAAC,CAAC;IAEJ,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,UAAU,CAAC,QAAQ,IAAI,CAAC,CAAC,CAAC,CAAC;AAC/F,CAAC"}
@@ -0,0 +1,38 @@
1
+ import type { VibesRuntime } from '@vibesdotdev/kernel/api/runtime';
2
+ export declare function discoverModelsForConfiguredProvider(runtime: VibesRuntime, providerType: string, providerId: string, configuration: Record<string, string | number | boolean>): Promise<{
3
+ id: string;
4
+ name: string;
5
+ description: string;
6
+ recommended: boolean;
7
+ model: {
8
+ id: string;
9
+ providerId: string;
10
+ name: string;
11
+ displayName: string;
12
+ modelType?: "llm_base" | "llm_chat" | "llm_embedding" | "image_diffusion" | "image_gan" | "image_upscaler" | "image_editor" | "audio_transcription" | "audio_transcription_realtime" | "audio_tts" | "audio_voice_cloning" | "audio_music_generation" | "audio_sound_effects" | "video_text_to_video" | "video_image_to_video" | "system_one" | "workflow_engine" | null | undefined;
13
+ description?: string | undefined;
14
+ capabilities?: ("audio_transcription" | "audio_transcription_realtime" | "text_generation" | "chat_completion" | "function_calling" | "embedding_generation" | "image_generation_text_to_image" | "image_generation_image_to_image" | "image_generation_inpainting" | "image_generation_outpainting" | "image_upscaling" | "image_editing_via_instructions" | "audio_generation_text_to_speech" | "audio_generation_voice_cloning" | "audio_generation_music" | "audio_generation_sound_effects" | "video_generation_text_to_video" | "workflow_execution" | "code_generation" | "image_understanding" | "structured_evaluation")[] | undefined;
15
+ supportedModalities?: ("text" | "audio" | "image" | "video" | "speech" | "embedding" | "transcription" | "ocr" | "evaluation")[] | undefined;
16
+ tokenLimit?: number | null | undefined;
17
+ pricePerToken?: string | null | undefined;
18
+ configuration?: {
19
+ modelId?: string | undefined;
20
+ contextLength?: number | undefined;
21
+ temperature?: number | undefined;
22
+ maxTokens?: number | undefined;
23
+ topP?: number | undefined;
24
+ topK?: number | undefined;
25
+ frequencyPenalty?: number | undefined;
26
+ presencePenalty?: number | undefined;
27
+ stopSequences?: string[] | undefined;
28
+ stream?: boolean | undefined;
29
+ seed?: number | undefined;
30
+ responseFormat?: "text" | "json" | undefined;
31
+ } | undefined;
32
+ isActive?: boolean | undefined;
33
+ useCount?: number | undefined;
34
+ createdAt?: Date | undefined;
35
+ updatedAt?: Date | undefined;
36
+ };
37
+ }[]>;
38
+ //# sourceMappingURL=provider-runtime.models.d.ts.map