@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,67 @@
1
+ <script lang="ts">
2
+ /**
3
+ * First-party Kit card for `marshal`: action, target agent, query, and receipt.
4
+ * Never dumps the raw JSON payload.
5
+ */
6
+ import { Badge } from '@vibesdotdev/kit/components/ui/badge';
7
+ import {
8
+ ToolCard,
9
+ ToolCardBody,
10
+ type ToolWidgetProps
11
+ } from '@vibesdotdev/kit/components/tool-widgets';
12
+ import { marshalCardView } from '../../tools/card-projections.js';
13
+
14
+ let { tool, compact = false }: ToolWidgetProps = $props();
15
+
16
+ const view = $derived(marshalCardView(tool.input, tool.output));
17
+ const actionLabel = $derived(view.action === 'unknown' ? '' : view.action);
18
+ </script>
19
+
20
+ <ToolCard {tool} {compact} title={view.title} icon={view.icon}>
21
+ <ToolCardBody {compact}>
22
+ <div class="flex flex-wrap items-center gap-1.5">
23
+ {#if actionLabel}
24
+ <Badge variant="outline" class="text-caption">{actionLabel}</Badge>
25
+ {/if}
26
+ {#if view.agentId}
27
+ <Badge variant="secondary" class="text-caption">{view.agentId}</Badge>
28
+ {/if}
29
+ {#if view.available === true}
30
+ <Badge variant="success" class="text-caption">available</Badge>
31
+ {:else if view.available === false}
32
+ <Badge variant="warning" class="text-caption">unavailable</Badge>
33
+ {/if}
34
+ {#if view.authenticated === true}
35
+ <Badge variant="info" class="text-caption">signed in</Badge>
36
+ {:else if view.authenticated === false}
37
+ <Badge variant="outline" class="text-caption">unsigned</Badge>
38
+ {/if}
39
+ {#if view.receipt?.state}
40
+ <Badge
41
+ variant={view.receipt.state === 'completed' ? 'success' : 'destructive'}
42
+ class="text-caption"
43
+ >
44
+ {view.receipt.state}
45
+ </Badge>
46
+ {/if}
47
+ </div>
48
+ {#if view.query}
49
+ <p class="text-foreground">{view.query}</p>
50
+ {/if}
51
+ {#if view.message && view.message !== view.query}
52
+ <p class="whitespace-pre-wrap text-muted-foreground">{view.message}</p>
53
+ {/if}
54
+ {#if view.receipt?.runId}
55
+ <p class="font-mono text-caption text-muted-foreground">run {view.receipt.runId}</p>
56
+ {/if}
57
+ {#if view.receipt?.session}
58
+ <p class="font-mono text-caption text-muted-foreground">session {view.receipt.session}</p>
59
+ {/if}
60
+ {#if view.receipt?.error}
61
+ <p class="text-destructive">{view.receipt.error}</p>
62
+ {/if}
63
+ {#if view.executorId && view.action === 'status'}
64
+ <p class="font-mono text-caption text-muted-foreground">{view.executorId}</p>
65
+ {/if}
66
+ </ToolCardBody>
67
+ </ToolCard>
@@ -0,0 +1,5 @@
1
+ import { type ToolWidgetProps } from '@vibesdotdev/kit/components/tool-widgets';
2
+ declare const MarshalToolCard: import("svelte").Component<ToolWidgetProps, {}, "">;
3
+ type MarshalToolCard = ReturnType<typeof MarshalToolCard>;
4
+ export default MarshalToolCard;
5
+ //# sourceMappingURL=MarshalToolCard.svelte.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarshalToolCard.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/tool-widgets/MarshalToolCard.svelte.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,eAAe,EACpB,MAAM,0CAA0C,CAAC;AA+DnD,QAAA,MAAM,eAAe,qDAAwC,CAAC;AAC9D,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC1D,eAAe,eAAe,CAAC"}
@@ -0,0 +1,42 @@
1
+ <script lang="ts">
2
+ /**
3
+ * First-party Kit card for `support.escalate`: title, severity, summary, and request id.
4
+ * Machine context is shown as key names only — never a JSON dump.
5
+ */
6
+ import { Badge } from '@vibesdotdev/kit/components/ui/badge';
7
+ import {
8
+ ToolCard,
9
+ ToolCardBody,
10
+ type ToolWidgetProps
11
+ } from '@vibesdotdev/kit/components/tool-widgets';
12
+ import { supportEscalateCardView } from '../../tools/card-projections.js';
13
+
14
+ let { tool, compact = false }: ToolWidgetProps = $props();
15
+
16
+ const view = $derived(supportEscalateCardView(tool.input, tool.output));
17
+ const severityVariant = $derived(
18
+ view.severity === 'urgent' ? 'destructive' : view.severity === 'low' ? 'outline' : 'warning'
19
+ );
20
+ </script>
21
+
22
+ <ToolCard {tool} {compact} title={view.title} icon={view.icon}>
23
+ <ToolCardBody {compact}>
24
+ <div class="flex flex-wrap items-center gap-1.5">
25
+ {#if view.severity}
26
+ <Badge variant={severityVariant} class="text-caption">{view.severity}</Badge>
27
+ {/if}
28
+ {#if view.requestId}
29
+ <span class="truncate font-mono text-caption text-muted-foreground">{view.requestId}</span>
30
+ {/if}
31
+ {#each view.contextKeys as key (key)}
32
+ <Badge variant="outline" class="text-caption">{key}</Badge>
33
+ {/each}
34
+ </div>
35
+ {#if view.summary}
36
+ <p class="whitespace-pre-wrap text-foreground">{view.summary}</p>
37
+ {/if}
38
+ {#if view.message}
39
+ <p class="text-muted-foreground">{view.message}</p>
40
+ {/if}
41
+ </ToolCardBody>
42
+ </ToolCard>
@@ -0,0 +1,5 @@
1
+ import { type ToolWidgetProps } from '@vibesdotdev/kit/components/tool-widgets';
2
+ declare const SupportEscalateToolCard: import("svelte").Component<ToolWidgetProps, {}, "">;
3
+ type SupportEscalateToolCard = ReturnType<typeof SupportEscalateToolCard>;
4
+ export default SupportEscalateToolCard;
5
+ //# sourceMappingURL=SupportEscalateToolCard.svelte.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportEscalateToolCard.svelte.d.ts","sourceRoot":"","sources":["../../../src/svelte/tool-widgets/SupportEscalateToolCard.svelte.ts"],"names":[],"mappings":"AAQA,OAAO,EAGL,KAAK,eAAe,EACpB,MAAM,0CAA0C,CAAC;AAyCnD,QAAA,MAAM,uBAAuB,qDAAwC,CAAC;AACtE,KAAK,uBAAuB,GAAG,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC1E,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Workboard-owned Svelte tool cards. Importing `@vibesdotdev/workboard/svelte/plugin`
3
+ * registers them as `tools/ui`. This barrel is for direct component imports.
4
+ */
5
+ export { default as MarshalToolCard } from './MarshalToolCard.svelte';
6
+ export { default as SupportEscalateToolCard } from './SupportEscalateToolCard.svelte';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/svelte/tool-widgets/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,kCAAkC,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Workboard-owned Svelte tool cards. Importing `@vibesdotdev/workboard/svelte/plugin`
3
+ * registers them as `tools/ui`. This barrel is for direct component imports.
4
+ */
5
+ export { default as MarshalToolCard } from './MarshalToolCard.svelte';
6
+ export { default as SupportEscalateToolCard } from './SupportEscalateToolCard.svelte';
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Shared TS types for the workboard Svelte surface.
3
+ *
4
+ * The board/queue components project the canonical workboard domain
5
+ * descriptors returned by the consuming app's `+page.server.ts` SSR loaders
6
+ * (`WorkboardTask[]` / `WorkboardRequest[]` — in hq-web, tasks come from the
7
+ * tracking-authority projection). We re-export those structural types and
8
+ * expose `*View` aliases so consuming apps can name the props mounted on the
9
+ * components without re-deriving the shape.
10
+ */
11
+ import type { WorkboardTask, WorkboardRequest } from '@vibesdotdev/workboard';
12
+ export type { WorkboardTask, WorkboardRequest } from '@vibesdotdev/workboard';
13
+ export type { TaskNote, TaskStatus, TaskPriority, RequestType, RequestStatus } from '@vibesdotdev/workboard';
14
+ /** Row shape consumed by `WorkboardBoard.svelte`. */
15
+ export type WorkboardTaskView = WorkboardTask;
16
+ /** Row shape consumed by `RequestsQueue.svelte` (matches `loadWorkboardRequests`). */
17
+ export type WorkboardRequestView = WorkboardRequest;
18
+ /** Minimal viewer identity used to default the reviewer name in the queue. */
19
+ export interface WorkboardViewer {
20
+ name?: string | null;
21
+ email?: string | null;
22
+ id?: string | null;
23
+ }
24
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/svelte/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE9E,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,YAAY,EACX,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,WAAW,EACX,aAAa,EACb,MAAM,wBAAwB,CAAC;AAEhC,qDAAqD;AACrD,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAE9C,sFAAsF;AACtF,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;AAEpD,8EAA8E;AAC9E,MAAM,WAAW,eAAe;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnB"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Svelte/browser surface plugin.
3
+ *
4
+ * LaneBoard and RequestsQueue are host-mounted views over `/api/workboard/*`.
5
+ * Agent-facing tools owned here (`marshal`, `support.escalate`) register
6
+ * designed `tools/ui` widgets so Chat never falls through to JSON DefaultToolCard.
7
+ */
8
+ export declare const workboardSveltePlugin: import("@vibesdotdev/kernel").RuntimePlugin;
9
+ export default workboardSveltePlugin;
10
+ //# sourceMappingURL=workboard-svelte.plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workboard-svelte.plugin.d.ts","sourceRoot":"","sources":["../../src/svelte/workboard-svelte.plugin.ts"],"names":[],"mappings":"AAiBA;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,6CAehC,CAAC;AAEH,eAAe,qBAAqB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { createRuntimePlugin } from '@vibesdotdev/kernel';
2
+ import { createSvelteToolWidgetDescriptor, createSvelteToolWidgetLoader } from '@vibesdotdev/tools/svelte/tool-widgets';
3
+ const marshalWidget = createSvelteToolWidgetDescriptor({
4
+ toolId: 'marshal',
5
+ name: 'Marshal Svelte Widget',
6
+ description: 'Renders marshal status, delegate, and ask results as a Kit ToolCard.'
7
+ });
8
+ const supportEscalateWidget = createSvelteToolWidgetDescriptor({
9
+ toolId: 'support.escalate',
10
+ name: 'Support Escalate Svelte Widget',
11
+ description: 'Renders support.escalate filings as a Kit ToolCard.'
12
+ });
13
+ /**
14
+ * Svelte/browser surface plugin.
15
+ *
16
+ * LaneBoard and RequestsQueue are host-mounted views over `/api/workboard/*`.
17
+ * Agent-facing tools owned here (`marshal`, `support.escalate`) register
18
+ * designed `tools/ui` widgets so Chat never falls through to JSON DefaultToolCard.
19
+ */
20
+ export const workboardSveltePlugin = createRuntimePlugin({
21
+ id: '@vibesdotdev/workboard/svelte',
22
+ name: 'Workboard Svelte',
23
+ description: 'Svelte surface for the workboard board/queue and designed cards for owned agent tools',
24
+ dependencies: ['tools'],
25
+ descriptors: [marshalWidget, supportEscalateWidget],
26
+ loaders: [
27
+ createSvelteToolWidgetLoader(marshalWidget, () => import('./tool-widgets/MarshalToolCard.svelte')),
28
+ createSvelteToolWidgetLoader(supportEscalateWidget, () => import('./tool-widgets/SupportEscalateToolCard.svelte'))
29
+ ]
30
+ });
31
+ export default workboardSveltePlugin;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Shared utility functions for Workboard surfaces.
3
+ * Pure functions only — component-coupled helpers (apiCall, showToast) stay in-component.
4
+ */
5
+ /**
6
+ * Stable task ordering: priority (critical → low), then most-recently-created
7
+ * first. This is the ONE comparator for the board — apply it everywhere a
8
+ * `tasks`/`boardTasks` list is assigned (initial SSR props, post-mutation
9
+ * refetches) so the board never silently reshuffles between the server-sorted
10
+ * initial render and the canonical client's task-list order. Mirrors the sort
11
+ * in `apps/hq-web/src/routes/workboard/+page.server.ts` so canonical-client
12
+ * refreshes converge on the same presentation order as SSR.
13
+ */
14
+ export declare function compareTasksByPriorityThenRecency<T extends {
15
+ priority: string;
16
+ created_at: string;
17
+ }>(a: T, b: T): number;
18
+ /** Sorts a copy of `tasks` by {@link compareTasksByPriorityThenRecency}. */
19
+ export declare function sortTasksByPriorityThenRecency<T extends {
20
+ priority: string;
21
+ created_at: string;
22
+ }>(tasks: T[]): T[];
23
+ /** Relative time string: "just now", "5m ago", "2h ago", "3d ago" */
24
+ export declare function timeAgo(iso: string): string;
25
+ /** Email-friendly date: "5m ago", "3h ago", "6d ago", or locale date for >7 days */
26
+ export declare function formatDate(iso: string): string;
27
+ /** Status label → VibesKit semantic tone classes. */
28
+ export declare function statusToneClass(label: string): string;
29
+ /** Lane status → VibesKit semantic tone classes. */
30
+ export declare function laneToneClass(status: string): string;
31
+ /** Event tone → VibesKit semantic border+bg classes. */
32
+ export declare function eventToneClass(tone: string): string;
33
+ //# sourceMappingURL=workboard-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workboard-utils.d.ts","sourceRoot":"","sources":["../../src/svelte/workboard-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAUH;;;;;;;;GAQG;AACH,wBAAgB,iCAAiC,CAChD,CAAC,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,EACjD,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,GAAG,MAAM,CAKpB;AAED,4EAA4E;AAC5E,wBAAgB,8BAA8B,CAC7C,CAAC,SAAS;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,EACjD,KAAK,EAAE,CAAC,EAAE,GAAG,CAAC,EAAE,CAEjB;AAED,qEAAqE;AACrE,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAS3C;AAED,oFAAoF;AACpF,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAS9C;AAED,qDAAqD;AACrD,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIrD;AAED,oDAAoD;AACpD,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAMpD;AAED,wDAAwD;AACxD,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAInD"}
@@ -0,0 +1,85 @@
1
+ /**
2
+ * Shared utility functions for Workboard surfaces.
3
+ * Pure functions only — component-coupled helpers (apiCall, showToast) stay in-component.
4
+ */
5
+ /** Priority rank used by {@link compareTasksByPriorityThenRecency} — lower sorts first. */
6
+ const TASK_PRIORITY_ORDER = new Map(Object.entries({
7
+ critical: 0,
8
+ high: 1,
9
+ medium: 2,
10
+ low: 3
11
+ }));
12
+ /**
13
+ * Stable task ordering: priority (critical → low), then most-recently-created
14
+ * first. This is the ONE comparator for the board — apply it everywhere a
15
+ * `tasks`/`boardTasks` list is assigned (initial SSR props, post-mutation
16
+ * refetches) so the board never silently reshuffles between the server-sorted
17
+ * initial render and the canonical client's task-list order. Mirrors the sort
18
+ * in `apps/hq-web/src/routes/workboard/+page.server.ts` so canonical-client
19
+ * refreshes converge on the same presentation order as SSR.
20
+ */
21
+ export function compareTasksByPriorityThenRecency(a, b) {
22
+ const pDiff = (TASK_PRIORITY_ORDER.get(a.priority) ?? 9) - (TASK_PRIORITY_ORDER.get(b.priority) ?? 9);
23
+ if (pDiff !== 0)
24
+ return pDiff;
25
+ return new Date(b.created_at).getTime() - new Date(a.created_at).getTime();
26
+ }
27
+ /** Sorts a copy of `tasks` by {@link compareTasksByPriorityThenRecency}. */
28
+ export function sortTasksByPriorityThenRecency(tasks) {
29
+ return [...tasks].sort(compareTasksByPriorityThenRecency);
30
+ }
31
+ /** Relative time string: "just now", "5m ago", "2h ago", "3d ago" */
32
+ export function timeAgo(iso) {
33
+ if (!iso)
34
+ return '';
35
+ const diff = Date.now() - new Date(iso).getTime();
36
+ const mins = Math.floor(diff / 60000);
37
+ if (mins < 1)
38
+ return 'just now';
39
+ if (mins < 60)
40
+ return `${mins}m ago`;
41
+ const hrs = Math.floor(mins / 60);
42
+ if (hrs < 24)
43
+ return `${hrs}h ago`;
44
+ return `${Math.floor(hrs / 24)}d ago`;
45
+ }
46
+ /** Email-friendly date: "5m ago", "3h ago", "6d ago", or locale date for >7 days */
47
+ export function formatDate(iso) {
48
+ if (!iso)
49
+ return '';
50
+ const d = new Date(iso);
51
+ const diffMs = Date.now() - d.getTime();
52
+ const diffH = diffMs / 3600000;
53
+ if (diffH < 1)
54
+ return `${Math.floor(diffMs / 60000)}m ago`;
55
+ if (diffH < 24)
56
+ return `${Math.floor(diffH)}h ago`;
57
+ if (diffH < 168)
58
+ return `${Math.floor(diffH / 24)}d ago`;
59
+ return d.toLocaleDateString();
60
+ }
61
+ /** Status label → VibesKit semantic tone classes. */
62
+ export function statusToneClass(label) {
63
+ if (label === 'Healthy' || label === 'Live' || label === 'Ready')
64
+ return 'bg-primary/12 text-primary';
65
+ if (label === 'Watch' || label === 'Stale')
66
+ return 'border-warning/30 bg-warning/10 text-warning';
67
+ return '';
68
+ }
69
+ /** Lane status → VibesKit semantic tone classes. */
70
+ export function laneToneClass(status) {
71
+ if (status === 'Ready')
72
+ return 'bg-primary/12 text-primary';
73
+ if (status === 'Stalled' || status === 'Needs intervention') {
74
+ return 'border-warning/30 bg-warning/10 text-warning';
75
+ }
76
+ return '';
77
+ }
78
+ /** Event tone → VibesKit semantic border+bg classes. */
79
+ export function eventToneClass(tone) {
80
+ if (tone === 'warning')
81
+ return 'border-warning/20 bg-warning/10';
82
+ if (tone === 'success')
83
+ return 'border-success/20 bg-success/10';
84
+ return 'bg-background/40';
85
+ }
@@ -0,0 +1,7 @@
1
+ import type { MarshalCardView, SupportEscalateCardView } from '../schemas/card-projection.ts';
2
+ export type { MarshalCardAction, MarshalCardReceipt, MarshalCardView, SupportEscalateCardView } from '../schemas/card-projection.ts';
3
+ export declare function rec(value: unknown): Record<string, unknown> | null;
4
+ export declare function text(value: unknown): string;
5
+ export declare function marshalCardView(input: unknown, output: unknown): MarshalCardView;
6
+ export declare function supportEscalateCardView(input: unknown, output: unknown): SupportEscalateCardView;
7
+ //# sourceMappingURL=card-projections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-projections.d.ts","sourceRoot":"","sources":["../../src/tools/card-projections.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAoB,eAAe,EAAC,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAC/G,YAAY,EAAE,iBAAiB,EAAC,kBAAkB,EAAC,eAAe,EAAC,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAIlI,wBAAgB,GAAG,CAAC,KAAK,EAAE,OAAO,kCAGjC;AACD,wBAAgB,IAAI,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAG3C;AAaD,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,EAAC,MAAM,EAAE,OAAO,GAAG,eAAe,CAsB/E;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,EAAC,MAAM,EAAE,OAAO,GAAG,uBAAuB,CAW/F"}
@@ -0,0 +1,64 @@
1
+ import * as z from 'zod/v4';
2
+ import { MarshalToolInputSchema } from "../marshal/schemas/tools.js";
3
+ import { SupportEscalateInputSchema } from "./support-escalate/schemas.js";
4
+ import { MarshalCardResultSchema, SupportEscalateCardResultSchema } from "../schemas/card-projection.js";
5
+ /** Kept for callers that need a validated open payload or display string. */
6
+ const RecordSchema = z.record(z.string(), z.unknown());
7
+ export function rec(value) {
8
+ const parsed = RecordSchema.safeParse(value);
9
+ return parsed.success ? parsed.data : null;
10
+ }
11
+ export function text(value) {
12
+ const parsed = z.string().trim().safeParse(value);
13
+ return parsed.success ? parsed.data : '';
14
+ }
15
+ function marshalTitle(action, agentId, available) {
16
+ if (action === 'status') {
17
+ if (available === true)
18
+ return 'Marshal is available';
19
+ if (available === false)
20
+ return 'Marshal is unavailable';
21
+ return 'Marshal status';
22
+ }
23
+ if (action === 'delegate')
24
+ return agentId ? `Delegated to ${agentId}` : 'Delegating';
25
+ if (action === 'ask')
26
+ return agentId ? `Asked ${agentId}` : 'Asking';
27
+ return 'Marshal';
28
+ }
29
+ export function marshalCardView(input, output) {
30
+ const request = MarshalToolInputSchema.nullish().catch(null).parse(input);
31
+ const response = MarshalCardResultSchema.parse(output);
32
+ const result = response.state === 'valid' ? response.result : null;
33
+ const action = result?.action ?? request?.action ?? 'unknown';
34
+ const data = result?.data;
35
+ const receipt = data && 'receipt' in data ? data.receipt : null;
36
+ const available = data && 'available' in data ? data.available : null;
37
+ const authenticated = data && 'authenticated' in data ? data.authenticated : null;
38
+ const agentId = receipt?.agentId ?? (request && 'context' in request ? request.context.agentId : '');
39
+ return {
40
+ action, title: marshalTitle(action, agentId, available), icon: 'lucide:compass',
41
+ query: request && 'query' in request ? request.query : '',
42
+ agentId,
43
+ message: result?.message.trim() || (response.state === 'invalid' ? 'Invalid Marshal response' : text(receipt?.output?.content)),
44
+ success: result?.success ?? null, available, authenticated,
45
+ executorId: data && 'executorId' in data ? data.executorId : '',
46
+ receipt: receipt ? {
47
+ runId: receipt.runId, agentId: receipt.agentId, state: receipt.state,
48
+ session: receipt.session ?? '', error: receipt.error ?? ''
49
+ } : null
50
+ };
51
+ }
52
+ export function supportEscalateCardView(input, output) {
53
+ const request = SupportEscalateInputSchema.nullish().catch(null).parse(input);
54
+ const response = SupportEscalateCardResultSchema.parse(output);
55
+ const result = response.state === 'valid' ? response.result : null;
56
+ return {
57
+ title: request?.title.trim() || (result ? 'Escalation filed' : 'Filing escalation'),
58
+ icon: 'lucide:life-buoy', summary: request?.summary.trim() ?? '',
59
+ severity: request?.severity ?? '', requestId: result?.requestId ?? '',
60
+ message: result?.message ?? (response.state === 'invalid' ? 'Invalid escalation response' : ''),
61
+ contextKeys: request?.context ? Object.keys(request.context).filter(key => key.length > 0).slice(0, 8) : []
62
+ };
63
+ }
64
+ //# sourceMappingURL=card-projections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card-projections.js","sourceRoot":"","sources":["../../src/tools/card-projections.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ export * from '../../schemas/support-escalate.ts';
2
+ //# sourceMappingURL=schemas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/tools/support-escalate/schemas.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "../../schemas/support-escalate.js";
2
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/tools/support-escalate/schemas.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
@@ -0,0 +1,49 @@
1
+ /**
2
+ * support.escalate — file a real escalation with the platform operators.
3
+ *
4
+ * Born from a production failure of trust: a paying customer, after 8 days of
5
+ * a broken integration, asked the assistant to "email and text drew with the
6
+ * errors you are experiencing" — and the assistant had no way to do it. This
7
+ * tool is that way: it creates an `escalation` workboard request (the
8
+ * operator-watched intake on hq) scoped to the caller's org, so a stuck user
9
+ * never has to relay bug reports by hand again.
10
+ *
11
+ * Generic by design: any org-app agent (casework, marshal, …) can allowlist
12
+ * it — escalation is a platform capability, not a per-app bolt-on.
13
+ */
14
+ declare const _default: {
15
+ readonly kind: "tools/tool";
16
+ readonly id: "support.escalate";
17
+ readonly name: "Escalate to Support";
18
+ readonly description: "File an escalation with the platform operators when something is broken and retrying will not fix it: a repeatedly failing tool or integration (SharePoint, QuickBooks, OCR), an error the user cannot resolve, or an explicit user request to report a problem. Include what the user was trying to do, the exact error text, and what was already tried. Use AFTER a real failure pattern is established (2+ failures of the same thing) or on user request — not for a single transient error. Tell the user it was filed and that they do not need to do anything else.";
19
+ readonly mcpDescription: "File an escalation with platform operators for a broken tool/integration.";
20
+ readonly category: "support";
21
+ readonly subcategory: "escalation";
22
+ readonly hardware: readonly ["consumer", "cloud"];
23
+ readonly purpose: ["direct", "worker", "mcp", "agent"];
24
+ readonly tags: readonly ["support", "escalation", "workboard"];
25
+ readonly safety: "write";
26
+ readonly requiresApproval: true;
27
+ readonly schemas: {
28
+ readonly input: import("zod/v4").ZodObject<{
29
+ title: import("zod/v4").ZodString;
30
+ summary: import("zod/v4").ZodString;
31
+ severity: import("zod/v4").ZodDefault<import("zod/v4").ZodEnum<{
32
+ low: "low";
33
+ normal: "normal";
34
+ urgent: "urgent";
35
+ }>>;
36
+ context: import("zod/v4").ZodOptional<import("zod/v4").ZodRecord<import("zod/v4").ZodString, import("zod/v4").ZodUnknown>>;
37
+ }, import("zod/v4/core").$strip>;
38
+ readonly output: import("zod/v4").ZodObject<{
39
+ requestId: import("zod/v4").ZodOptional<import("zod/v4").ZodString>;
40
+ message: import("zod/v4").ZodString;
41
+ }, import("zod/v4/core").$strip>;
42
+ };
43
+ readonly usageGuidance: {
44
+ readonly when: "A tool or integration has failed repeatedly (2+ times the same way), or the user asks to report a problem / contact support.";
45
+ readonly commonPatterns: ["SharePoint browse failed 3x with the same admin-required error → escalate with the error text, then tell the user the org connection needs an admin and support has been notified.", "User says \"report this\" / \"tell the team\" → escalate with a summary of the conversation problem, confirm it was filed."];
46
+ };
47
+ };
48
+ export default _default;
49
+ //# sourceMappingURL=support-escalate.descriptor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"support-escalate.descriptor.d.ts","sourceRoot":"","sources":["../../../src/tools/support-escalate/support-escalate.descriptor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKH,wBA0BG"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * support.escalate — file a real escalation with the platform operators.
3
+ *
4
+ * Born from a production failure of trust: a paying customer, after 8 days of
5
+ * a broken integration, asked the assistant to "email and text drew with the
6
+ * errors you are experiencing" — and the assistant had no way to do it. This
7
+ * tool is that way: it creates an `escalation` workboard request (the
8
+ * operator-watched intake on hq) scoped to the caller's org, so a stuck user
9
+ * never has to relay bug reports by hand again.
10
+ *
11
+ * Generic by design: any org-app agent (casework, marshal, …) can allowlist
12
+ * it — escalation is a platform capability, not a per-app bolt-on.
13
+ */
14
+ import { createRuntimeAsset } from '@vibesdotdev/kernel/factory';
15
+ import { SupportEscalateInputSchema, SupportEscalateOutputSchema } from "./schemas.js";
16
+ export default createRuntimeAsset({
17
+ kind: 'tools/tool',
18
+ id: 'support.escalate',
19
+ name: 'Escalate to Support',
20
+ description: 'File an escalation with the platform operators when something is broken and retrying will not fix it: a repeatedly failing tool or integration (SharePoint, QuickBooks, OCR), an error the user cannot resolve, or an explicit user request to report a problem. Include what the user was trying to do, the exact error text, and what was already tried. Use AFTER a real failure pattern is established (2+ failures of the same thing) or on user request — not for a single transient error. Tell the user it was filed and that they do not need to do anything else.',
21
+ mcpDescription: 'File an escalation with platform operators for a broken tool/integration.',
22
+ category: 'support',
23
+ subcategory: 'escalation',
24
+ hardware: ['consumer', 'cloud'],
25
+ purpose: ['direct', 'worker', 'mcp', 'agent'],
26
+ tags: ['support', 'escalation', 'workboard'],
27
+ safety: 'write',
28
+ // Creates a real operator-watched escalation — user must confirm.
29
+ requiresApproval: true,
30
+ schemas: {
31
+ input: SupportEscalateInputSchema,
32
+ output: SupportEscalateOutputSchema
33
+ },
34
+ usageGuidance: {
35
+ when: 'A tool or integration has failed repeatedly (2+ times the same way), or the user asks to report a problem / contact support.',
36
+ commonPatterns: [
37
+ 'SharePoint browse failed 3x with the same admin-required error → escalate with the error text, then tell the user the org connection needs an admin and support has been notified.',
38
+ 'User says "report this" / "tell the team" → escalate with a summary of the conversation problem, confirm it was filed.'
39
+ ]
40
+ }
41
+ });
42
+ //# sourceMappingURL=support-escalate.descriptor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"support-escalate.descriptor.js","sourceRoot":"","sources":["../../../src/tools/support-escalate/support-escalate.descriptor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAEvF,eAAe,kBAAkB,CAAC;IACjC,IAAI,EAAE,YAAY;IAClB,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EACV,6iBAA6iB;IAC9iB,cAAc,EAAE,2EAA2E;IAC3F,QAAQ,EAAE,SAAS;IACnB,WAAW,EAAE,YAAY;IACzB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,OAAO,CAAC;IAC7C,IAAI,EAAE,CAAC,SAAS,EAAE,YAAY,EAAE,WAAW,CAAC;IAC5C,MAAM,EAAE,OAAO;IACf,kEAAkE;IAClE,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE;QACR,KAAK,EAAE,0BAA0B;QACjC,MAAM,EAAE,2BAA2B;KACnC;IACD,aAAa,EAAE;QACd,IAAI,EAAE,8HAA8H;QACpI,cAAc,EAAE;YACf,oLAAoL;YACpL,wHAAwH;SACxH;KACD;CACD,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * support.escalate implementation (cloud/workerd-safe, pure HTTP).
3
+ *
4
+ * Creates an `escalation` workboard request via hq-web's authenticated
5
+ * `POST /api/workboard/requests` (vibesCrudCollection over the
6
+ * `workboard.request` record). The caller's cookie is forwarded from the tool
7
+ * context (set by the native-tools loop), so the request lands owner-scoped
8
+ * to the authenticated user/org — provenance is stamped server-side, never
9
+ * trusted from the model.
10
+ */
11
+ import type { VibesRuntime, ToolCallContext } from '@vibesdotdev/kernel';
12
+ import { type SupportEscalateInput, type SupportEscalateOutput } from './schemas.ts';
13
+ declare const _default: {
14
+ execute(input: SupportEscalateInput, runtime: VibesRuntime, ctx: ToolCallContext): Promise<SupportEscalateOutput>;
15
+ };
16
+ export default _default;
17
+ //# sourceMappingURL=support-escalate.impl.cloud.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"support-escalate.impl.cloud.d.ts","sourceRoot":"","sources":["../../../src/tools/support-escalate/support-escalate.impl.cloud.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAC,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAKxE,OAAO,EAEN,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,MAAM,cAAc,CAAC;;mBAab,oBAAoB,WAClB,YAAY,OAChB,eAAe,GAClB,OAAO,CAAC,qBAAqB,CAAC;;AALlC,wBAyCE"}