@contractspec/example.agent-console 1.57.0 → 1.59.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 (386) hide show
  1. package/.turbo/turbo-build.log +210 -278
  2. package/.turbo/turbo-prebuild.log +1 -0
  3. package/CHANGELOG.md +31 -0
  4. package/dist/agent/agent.entity.d.ts +35 -40
  5. package/dist/agent/agent.entity.d.ts.map +1 -1
  6. package/dist/agent/agent.entity.js +124 -132
  7. package/dist/agent/agent.enum.d.ts +3 -8
  8. package/dist/agent/agent.enum.d.ts.map +1 -1
  9. package/dist/agent/agent.enum.js +22 -30
  10. package/dist/agent/agent.event.d.ts +105 -111
  11. package/dist/agent/agent.event.d.ts.map +1 -1
  12. package/dist/agent/agent.event.js +107 -200
  13. package/dist/agent/agent.handler.d.ts +74 -77
  14. package/dist/agent/agent.handler.d.ts.map +1 -1
  15. package/dist/agent/agent.handler.js +293 -75
  16. package/dist/agent/agent.operation.d.ts +424 -430
  17. package/dist/agent/agent.operation.d.ts.map +1 -1
  18. package/dist/agent/agent.operation.js +728 -478
  19. package/dist/agent/agent.presentation.d.ts +3 -8
  20. package/dist/agent/agent.presentation.d.ts.map +1 -1
  21. package/dist/agent/agent.presentation.js +275 -84
  22. package/dist/agent/agent.schema.d.ts +371 -376
  23. package/dist/agent/agent.schema.d.ts.map +1 -1
  24. package/dist/agent/agent.schema.js +209 -399
  25. package/dist/agent/agent.test-spec.d.ts +2 -7
  26. package/dist/agent/agent.test-spec.d.ts.map +1 -1
  27. package/dist/agent/agent.test-spec.js +56 -62
  28. package/dist/agent/index.d.ts +11 -8
  29. package/dist/agent/index.d.ts.map +1 -0
  30. package/dist/agent/index.js +1245 -9
  31. package/dist/agent.capability.d.ts +1 -6
  32. package/dist/agent.capability.d.ts.map +1 -1
  33. package/dist/agent.capability.js +17 -20
  34. package/dist/agent.feature.d.ts +7 -6
  35. package/dist/agent.feature.d.ts.map +1 -1
  36. package/dist/agent.feature.js +117 -303
  37. package/dist/browser/agent/agent.entity.js +127 -0
  38. package/dist/browser/agent/agent.enum.js +25 -0
  39. package/dist/browser/agent/agent.event.js +116 -0
  40. package/dist/browser/agent/agent.handler.js +301 -0
  41. package/dist/browser/agent/agent.operation.js +735 -0
  42. package/dist/browser/agent/agent.presentation.js +279 -0
  43. package/dist/browser/agent/agent.schema.js +215 -0
  44. package/dist/browser/agent/agent.test-spec.js +58 -0
  45. package/dist/browser/agent/index.js +1244 -0
  46. package/dist/browser/agent.capability.js +16 -0
  47. package/dist/browser/agent.feature.js +118 -0
  48. package/dist/browser/docs/agent-console.docblock.js +93 -0
  49. package/dist/browser/docs/index.js +93 -0
  50. package/dist/browser/example.js +42 -0
  51. package/dist/browser/handlers/agent.handlers.js +252 -0
  52. package/dist/browser/handlers/index.js +799 -0
  53. package/dist/browser/index.js +5895 -0
  54. package/dist/browser/presentations/index.js +684 -0
  55. package/dist/browser/run/index.js +1350 -0
  56. package/dist/browser/run/run.entity.js +160 -0
  57. package/dist/browser/run/run.enum.js +34 -0
  58. package/dist/browser/run/run.event.js +213 -0
  59. package/dist/browser/run/run.handler.js +254 -0
  60. package/dist/browser/run/run.operation.js +667 -0
  61. package/dist/browser/run/run.presentation.js +220 -0
  62. package/dist/browser/run/run.schema.js +179 -0
  63. package/dist/browser/run/run.test-spec.js +58 -0
  64. package/dist/browser/seeders/index.js +21 -0
  65. package/dist/browser/shared/index.js +334 -0
  66. package/dist/browser/shared/mock-agents.js +82 -0
  67. package/dist/browser/shared/mock-runs.js +108 -0
  68. package/dist/browser/shared/mock-tools.js +146 -0
  69. package/dist/browser/shared/overlay-types.js +0 -0
  70. package/dist/browser/tool/index.js +946 -0
  71. package/dist/browser/tool/tool.entity.js +90 -0
  72. package/dist/browser/tool/tool.enum.js +26 -0
  73. package/dist/browser/tool/tool.event.js +99 -0
  74. package/dist/browser/tool/tool.handler.js +223 -0
  75. package/dist/browser/tool/tool.operation.js +482 -0
  76. package/dist/browser/tool/tool.presentation.js +185 -0
  77. package/dist/browser/tool/tool.schema.js +141 -0
  78. package/dist/browser/tool/tool.test-spec.js +58 -0
  79. package/dist/browser/ui/AgentDashboard.js +1607 -0
  80. package/dist/browser/ui/AgentRunList.js +250 -0
  81. package/dist/browser/ui/AgentToolRegistry.js +212 -0
  82. package/dist/browser/ui/hooks/index.js +271 -0
  83. package/dist/browser/ui/hooks/useAgentList.js +55 -0
  84. package/dist/browser/ui/hooks/useAgentMutations.js +76 -0
  85. package/dist/browser/ui/hooks/useRunList.js +55 -0
  86. package/dist/browser/ui/hooks/useToolList.js +85 -0
  87. package/dist/browser/ui/index.js +2080 -0
  88. package/dist/browser/ui/modals/AgentActionsModal.js +304 -0
  89. package/dist/browser/ui/modals/CreateAgentModal.js +229 -0
  90. package/dist/browser/ui/modals/index.js +532 -0
  91. package/dist/browser/ui/overlays/demo-overlays.js +64 -0
  92. package/dist/browser/ui/overlays/index.js +64 -0
  93. package/dist/browser/ui/renderers/agent-list.markdown.js +55 -0
  94. package/dist/browser/ui/renderers/agent-list.renderer.js +180 -0
  95. package/dist/browser/ui/renderers/dashboard.markdown.js +117 -0
  96. package/dist/browser/ui/renderers/index.js +446 -0
  97. package/dist/browser/ui/renderers/run-list.markdown.js +45 -0
  98. package/dist/browser/ui/renderers/tool-registry.markdown.js +53 -0
  99. package/dist/browser/ui/views/AgentListView.js +165 -0
  100. package/dist/browser/ui/views/RunListView.js +247 -0
  101. package/dist/browser/ui/views/ToolRegistryView.js +209 -0
  102. package/dist/browser/ui/views/index.js +619 -0
  103. package/dist/docs/agent-console.docblock.d.ts +2 -1
  104. package/dist/docs/agent-console.docblock.d.ts.map +1 -0
  105. package/dist/docs/agent-console.docblock.js +45 -64
  106. package/dist/docs/index.d.ts +2 -1
  107. package/dist/docs/index.d.ts.map +1 -0
  108. package/dist/docs/index.js +94 -1
  109. package/dist/example.d.ts +2 -6
  110. package/dist/example.d.ts.map +1 -1
  111. package/dist/example.js +41 -55
  112. package/dist/handlers/agent.handlers.d.ts +121 -120
  113. package/dist/handlers/agent.handlers.d.ts.map +1 -1
  114. package/dist/handlers/agent.handlers.js +235 -245
  115. package/dist/handlers/index.d.ts +8 -5
  116. package/dist/handlers/index.d.ts.map +1 -0
  117. package/dist/handlers/index.js +799 -5
  118. package/dist/index.d.ts +26 -48
  119. package/dist/index.d.ts.map +1 -0
  120. package/dist/index.js +5896 -50
  121. package/dist/node/agent/agent.entity.js +127 -0
  122. package/dist/node/agent/agent.enum.js +25 -0
  123. package/dist/node/agent/agent.event.js +116 -0
  124. package/dist/node/agent/agent.handler.js +301 -0
  125. package/dist/node/agent/agent.operation.js +735 -0
  126. package/dist/node/agent/agent.presentation.js +279 -0
  127. package/dist/node/agent/agent.schema.js +215 -0
  128. package/dist/node/agent/agent.test-spec.js +58 -0
  129. package/dist/node/agent/index.js +1244 -0
  130. package/dist/node/agent.capability.js +16 -0
  131. package/dist/node/agent.feature.js +118 -0
  132. package/dist/node/docs/agent-console.docblock.js +93 -0
  133. package/dist/node/docs/index.js +93 -0
  134. package/dist/node/example.js +42 -0
  135. package/dist/node/handlers/agent.handlers.js +252 -0
  136. package/dist/node/handlers/index.js +799 -0
  137. package/dist/node/index.js +5895 -0
  138. package/dist/node/presentations/index.js +684 -0
  139. package/dist/node/run/index.js +1350 -0
  140. package/dist/node/run/run.entity.js +160 -0
  141. package/dist/node/run/run.enum.js +34 -0
  142. package/dist/node/run/run.event.js +213 -0
  143. package/dist/node/run/run.handler.js +254 -0
  144. package/dist/node/run/run.operation.js +667 -0
  145. package/dist/node/run/run.presentation.js +220 -0
  146. package/dist/node/run/run.schema.js +179 -0
  147. package/dist/node/run/run.test-spec.js +58 -0
  148. package/dist/node/seeders/index.js +21 -0
  149. package/dist/node/shared/index.js +334 -0
  150. package/dist/node/shared/mock-agents.js +82 -0
  151. package/dist/node/shared/mock-runs.js +108 -0
  152. package/dist/node/shared/mock-tools.js +146 -0
  153. package/dist/node/shared/overlay-types.js +0 -0
  154. package/dist/node/tool/index.js +946 -0
  155. package/dist/node/tool/tool.entity.js +90 -0
  156. package/dist/node/tool/tool.enum.js +26 -0
  157. package/dist/node/tool/tool.event.js +99 -0
  158. package/dist/node/tool/tool.handler.js +223 -0
  159. package/dist/node/tool/tool.operation.js +482 -0
  160. package/dist/node/tool/tool.presentation.js +185 -0
  161. package/dist/node/tool/tool.schema.js +141 -0
  162. package/dist/node/tool/tool.test-spec.js +58 -0
  163. package/dist/node/ui/AgentDashboard.js +1607 -0
  164. package/dist/node/ui/AgentRunList.js +250 -0
  165. package/dist/node/ui/AgentToolRegistry.js +212 -0
  166. package/dist/node/ui/hooks/index.js +271 -0
  167. package/dist/node/ui/hooks/useAgentList.js +55 -0
  168. package/dist/node/ui/hooks/useAgentMutations.js +76 -0
  169. package/dist/node/ui/hooks/useRunList.js +55 -0
  170. package/dist/node/ui/hooks/useToolList.js +85 -0
  171. package/dist/node/ui/index.js +2080 -0
  172. package/dist/node/ui/modals/AgentActionsModal.js +304 -0
  173. package/dist/node/ui/modals/CreateAgentModal.js +229 -0
  174. package/dist/node/ui/modals/index.js +532 -0
  175. package/dist/node/ui/overlays/demo-overlays.js +64 -0
  176. package/dist/node/ui/overlays/index.js +64 -0
  177. package/dist/node/ui/renderers/agent-list.markdown.js +55 -0
  178. package/dist/node/ui/renderers/agent-list.renderer.js +180 -0
  179. package/dist/node/ui/renderers/dashboard.markdown.js +117 -0
  180. package/dist/node/ui/renderers/index.js +446 -0
  181. package/dist/node/ui/renderers/run-list.markdown.js +45 -0
  182. package/dist/node/ui/renderers/tool-registry.markdown.js +53 -0
  183. package/dist/node/ui/views/AgentListView.js +165 -0
  184. package/dist/node/ui/views/RunListView.js +247 -0
  185. package/dist/node/ui/views/ToolRegistryView.js +209 -0
  186. package/dist/node/ui/views/index.js +619 -0
  187. package/dist/presentations/index.d.ts +9 -4
  188. package/dist/presentations/index.d.ts.map +1 -0
  189. package/dist/presentations/index.js +684 -4
  190. package/dist/run/index.d.ts +11 -8
  191. package/dist/run/index.d.ts.map +1 -0
  192. package/dist/run/index.js +1351 -9
  193. package/dist/run/run.entity.d.ts +55 -60
  194. package/dist/run/run.entity.d.ts.map +1 -1
  195. package/dist/run/run.entity.js +155 -199
  196. package/dist/run/run.enum.d.ts +4 -9
  197. package/dist/run/run.enum.d.ts.map +1 -1
  198. package/dist/run/run.enum.js +30 -40
  199. package/dist/run/run.event.d.ts +255 -261
  200. package/dist/run/run.event.d.ts.map +1 -1
  201. package/dist/run/run.event.js +198 -418
  202. package/dist/run/run.handler.d.ts +169 -172
  203. package/dist/run/run.handler.d.ts.map +1 -1
  204. package/dist/run/run.handler.js +246 -74
  205. package/dist/run/run.operation.d.ts +658 -664
  206. package/dist/run/run.operation.d.ts.map +1 -1
  207. package/dist/run/run.operation.js +659 -617
  208. package/dist/run/run.presentation.d.ts +2 -7
  209. package/dist/run/run.presentation.d.ts.map +1 -1
  210. package/dist/run/run.presentation.js +217 -61
  211. package/dist/run/run.schema.d.ts +367 -372
  212. package/dist/run/run.schema.d.ts.map +1 -1
  213. package/dist/run/run.schema.js +172 -330
  214. package/dist/run/run.test-spec.d.ts +2 -7
  215. package/dist/run/run.test-spec.d.ts.map +1 -1
  216. package/dist/run/run.test-spec.js +56 -62
  217. package/dist/seeders/index.d.ts +4 -8
  218. package/dist/seeders/index.d.ts.map +1 -1
  219. package/dist/seeders/index.js +19 -17
  220. package/dist/shared/index.d.ts +7 -4
  221. package/dist/shared/index.d.ts.map +1 -0
  222. package/dist/shared/index.js +334 -4
  223. package/dist/shared/mock-agents.d.ts +77 -80
  224. package/dist/shared/mock-agents.d.ts.map +1 -1
  225. package/dist/shared/mock-agents.js +82 -93
  226. package/dist/shared/mock-runs.d.ts +107 -110
  227. package/dist/shared/mock-runs.d.ts.map +1 -1
  228. package/dist/shared/mock-runs.js +108 -117
  229. package/dist/shared/mock-tools.d.ts +217 -220
  230. package/dist/shared/mock-tools.d.ts.map +1 -1
  231. package/dist/shared/mock-tools.js +146 -180
  232. package/dist/shared/overlay-types.d.ts +25 -28
  233. package/dist/shared/overlay-types.d.ts.map +1 -1
  234. package/dist/shared/overlay-types.js +1 -0
  235. package/dist/tool/index.d.ts +11 -8
  236. package/dist/tool/index.d.ts.map +1 -0
  237. package/dist/tool/index.js +947 -9
  238. package/dist/tool/tool.entity.d.ts +23 -28
  239. package/dist/tool/tool.entity.d.ts.map +1 -1
  240. package/dist/tool/tool.entity.js +87 -101
  241. package/dist/tool/tool.enum.d.ts +3 -8
  242. package/dist/tool/tool.enum.d.ts.map +1 -1
  243. package/dist/tool/tool.enum.js +23 -31
  244. package/dist/tool/tool.event.d.ts +84 -90
  245. package/dist/tool/tool.event.d.ts.map +1 -1
  246. package/dist/tool/tool.event.js +92 -151
  247. package/dist/tool/tool.handler.d.ts +266 -269
  248. package/dist/tool/tool.handler.d.ts.map +1 -1
  249. package/dist/tool/tool.handler.js +213 -76
  250. package/dist/tool/tool.operation.d.ts +359 -365
  251. package/dist/tool/tool.operation.d.ts.map +1 -1
  252. package/dist/tool/tool.operation.js +477 -400
  253. package/dist/tool/tool.presentation.d.ts +2 -7
  254. package/dist/tool/tool.presentation.d.ts.map +1 -1
  255. package/dist/tool/tool.presentation.js +182 -61
  256. package/dist/tool/tool.schema.d.ts +196 -201
  257. package/dist/tool/tool.schema.d.ts.map +1 -1
  258. package/dist/tool/tool.schema.js +137 -231
  259. package/dist/tool/tool.test-spec.d.ts +2 -7
  260. package/dist/tool/tool.test-spec.d.ts.map +1 -1
  261. package/dist/tool/tool.test-spec.js +56 -62
  262. package/dist/ui/AgentDashboard.d.ts +1 -6
  263. package/dist/ui/AgentDashboard.d.ts.map +1 -1
  264. package/dist/ui/AgentDashboard.js +1598 -410
  265. package/dist/ui/AgentRunList.d.ts +7 -2
  266. package/dist/ui/AgentRunList.d.ts.map +1 -0
  267. package/dist/ui/AgentRunList.js +249 -3
  268. package/dist/ui/AgentToolRegistry.d.ts +7 -2
  269. package/dist/ui/AgentToolRegistry.d.ts.map +1 -0
  270. package/dist/ui/AgentToolRegistry.js +211 -3
  271. package/dist/ui/hooks/index.d.ts +8 -6
  272. package/dist/ui/hooks/index.d.ts.map +1 -0
  273. package/dist/ui/hooks/index.js +270 -6
  274. package/dist/ui/hooks/useAgentList.d.ts +21 -25
  275. package/dist/ui/hooks/useAgentList.d.ts.map +1 -1
  276. package/dist/ui/hooks/useAgentList.js +52 -62
  277. package/dist/ui/hooks/useAgentMutations.d.ts +22 -25
  278. package/dist/ui/hooks/useAgentMutations.d.ts.map +1 -1
  279. package/dist/ui/hooks/useAgentMutations.js +73 -120
  280. package/dist/ui/hooks/useRunList.d.ts +17 -21
  281. package/dist/ui/hooks/useRunList.d.ts.map +1 -1
  282. package/dist/ui/hooks/useRunList.js +52 -62
  283. package/dist/ui/hooks/useToolList.d.ts +32 -36
  284. package/dist/ui/hooks/useToolList.d.ts.map +1 -1
  285. package/dist/ui/hooks/useToolList.js +82 -92
  286. package/dist/ui/index.d.ts +9 -24
  287. package/dist/ui/index.d.ts.map +1 -0
  288. package/dist/ui/index.js +2081 -24
  289. package/dist/ui/modals/AgentActionsModal.d.ts +11 -24
  290. package/dist/ui/modals/AgentActionsModal.d.ts.map +1 -1
  291. package/dist/ui/modals/AgentActionsModal.js +300 -257
  292. package/dist/ui/modals/CreateAgentModal.d.ts +12 -21
  293. package/dist/ui/modals/CreateAgentModal.d.ts.map +1 -1
  294. package/dist/ui/modals/CreateAgentModal.js +226 -210
  295. package/dist/ui/modals/index.d.ts +3 -3
  296. package/dist/ui/modals/index.d.ts.map +1 -0
  297. package/dist/ui/modals/index.js +532 -3
  298. package/dist/ui/overlays/demo-overlays.d.ts +10 -8
  299. package/dist/ui/overlays/demo-overlays.d.ts.map +1 -1
  300. package/dist/ui/overlays/demo-overlays.js +63 -71
  301. package/dist/ui/overlays/index.d.ts +2 -2
  302. package/dist/ui/overlays/index.d.ts.map +1 -0
  303. package/dist/ui/overlays/index.js +65 -3
  304. package/dist/ui/renderers/agent-list.markdown.d.ts +9 -8
  305. package/dist/ui/renderers/agent-list.markdown.d.ts.map +1 -1
  306. package/dist/ui/renderers/agent-list.markdown.js +55 -50
  307. package/dist/ui/renderers/agent-list.renderer.d.ts +5 -6
  308. package/dist/ui/renderers/agent-list.renderer.d.ts.map +1 -1
  309. package/dist/ui/renderers/agent-list.renderer.js +179 -17
  310. package/dist/ui/renderers/dashboard.markdown.d.ts +9 -8
  311. package/dist/ui/renderers/dashboard.markdown.d.ts.map +1 -1
  312. package/dist/ui/renderers/dashboard.markdown.js +115 -97
  313. package/dist/ui/renderers/index.d.ts +9 -6
  314. package/dist/ui/renderers/index.d.ts.map +1 -0
  315. package/dist/ui/renderers/index.js +446 -6
  316. package/dist/ui/renderers/run-list.markdown.d.ts +9 -8
  317. package/dist/ui/renderers/run-list.markdown.d.ts.map +1 -1
  318. package/dist/ui/renderers/run-list.markdown.js +42 -40
  319. package/dist/ui/renderers/tool-registry.markdown.d.ts +9 -8
  320. package/dist/ui/renderers/tool-registry.markdown.d.ts.map +1 -1
  321. package/dist/ui/renderers/tool-registry.markdown.js +52 -53
  322. package/dist/ui/views/AgentListView.d.ts +1 -6
  323. package/dist/ui/views/AgentListView.d.ts.map +1 -1
  324. package/dist/ui/views/AgentListView.js +161 -88
  325. package/dist/ui/views/RunListView.d.ts +4 -11
  326. package/dist/ui/views/RunListView.d.ts.map +1 -1
  327. package/dist/ui/views/RunListView.js +237 -154
  328. package/dist/ui/views/ToolRegistryView.d.ts +4 -11
  329. package/dist/ui/views/ToolRegistryView.d.ts.map +1 -1
  330. package/dist/ui/views/ToolRegistryView.js +205 -92
  331. package/dist/ui/views/index.d.ts +7 -4
  332. package/dist/ui/views/index.d.ts.map +1 -0
  333. package/dist/ui/views/index.js +619 -4
  334. package/package.json +656 -118
  335. package/tsdown.config.js +1 -2
  336. package/.turbo/turbo-build$colon$bundle.log +0 -285
  337. package/dist/agent/agent.entity.js.map +0 -1
  338. package/dist/agent/agent.enum.js.map +0 -1
  339. package/dist/agent/agent.event.js.map +0 -1
  340. package/dist/agent/agent.handler.js.map +0 -1
  341. package/dist/agent/agent.operation.js.map +0 -1
  342. package/dist/agent/agent.presentation.js.map +0 -1
  343. package/dist/agent/agent.schema.js.map +0 -1
  344. package/dist/agent/agent.test-spec.js.map +0 -1
  345. package/dist/agent.capability.js.map +0 -1
  346. package/dist/agent.feature.js.map +0 -1
  347. package/dist/docs/agent-console.docblock.js.map +0 -1
  348. package/dist/example.js.map +0 -1
  349. package/dist/handlers/agent.handlers.js.map +0 -1
  350. package/dist/run/run.entity.js.map +0 -1
  351. package/dist/run/run.enum.js.map +0 -1
  352. package/dist/run/run.event.js.map +0 -1
  353. package/dist/run/run.handler.js.map +0 -1
  354. package/dist/run/run.operation.js.map +0 -1
  355. package/dist/run/run.presentation.js.map +0 -1
  356. package/dist/run/run.schema.js.map +0 -1
  357. package/dist/run/run.test-spec.js.map +0 -1
  358. package/dist/seeders/index.js.map +0 -1
  359. package/dist/shared/mock-agents.js.map +0 -1
  360. package/dist/shared/mock-runs.js.map +0 -1
  361. package/dist/shared/mock-tools.js.map +0 -1
  362. package/dist/tool/tool.entity.js.map +0 -1
  363. package/dist/tool/tool.enum.js.map +0 -1
  364. package/dist/tool/tool.event.js.map +0 -1
  365. package/dist/tool/tool.handler.js.map +0 -1
  366. package/dist/tool/tool.operation.js.map +0 -1
  367. package/dist/tool/tool.presentation.js.map +0 -1
  368. package/dist/tool/tool.schema.js.map +0 -1
  369. package/dist/tool/tool.test-spec.js.map +0 -1
  370. package/dist/ui/AgentDashboard.js.map +0 -1
  371. package/dist/ui/hooks/useAgentList.js.map +0 -1
  372. package/dist/ui/hooks/useAgentMutations.js.map +0 -1
  373. package/dist/ui/hooks/useRunList.js.map +0 -1
  374. package/dist/ui/hooks/useToolList.js.map +0 -1
  375. package/dist/ui/modals/AgentActionsModal.js.map +0 -1
  376. package/dist/ui/modals/CreateAgentModal.js.map +0 -1
  377. package/dist/ui/overlays/demo-overlays.js.map +0 -1
  378. package/dist/ui/renderers/agent-list.markdown.js.map +0 -1
  379. package/dist/ui/renderers/agent-list.renderer.js.map +0 -1
  380. package/dist/ui/renderers/dashboard.markdown.js.map +0 -1
  381. package/dist/ui/renderers/run-list.markdown.js.map +0 -1
  382. package/dist/ui/renderers/tool-registry.markdown.js.map +0 -1
  383. package/dist/ui/views/AgentListView.js.map +0 -1
  384. package/dist/ui/views/RunListView.js.map +0 -1
  385. package/dist/ui/views/ToolRegistryView.js.map +0 -1
  386. package/tsconfig.tsbuildinfo +0 -1
@@ -1,94 +1,83 @@
1
- //#region src/shared/mock-agents.ts
2
- /**
3
- * Mock agent data for testing and demos.
4
- */
5
- const MOCK_AGENTS = [
6
- {
7
- id: "agent-1",
8
- organizationId: "demo-org",
9
- name: "Customer Support Bot",
10
- slug: "customer-support-bot",
11
- description: "Handles tier-1 customer inquiries and routes complex issues.",
12
- status: "ACTIVE",
13
- modelProvider: "OPENAI",
14
- modelName: "gpt-4o-mini",
15
- modelConfig: { temperature: .7 },
16
- systemPrompt: "You are a helpful customer support assistant.",
17
- toolChoice: "auto",
18
- maxIterations: 10,
19
- timeoutMs: 12e4,
20
- version: "1.0.0",
21
- tags: ["support", "tier-1"],
22
- createdAt: /* @__PURE__ */ new Date("2024-01-15T10:00:00Z"),
23
- updatedAt: /* @__PURE__ */ new Date("2024-03-20T14:30:00Z")
24
- },
25
- {
26
- id: "agent-2",
27
- organizationId: "demo-org",
28
- name: "Code Review Assistant",
29
- slug: "code-review-assistant",
30
- description: "Reviews pull requests and provides actionable feedback.",
31
- status: "ACTIVE",
32
- modelProvider: "ANTHROPIC",
33
- modelName: "claude-sonnet-4-20250514",
34
- modelConfig: { temperature: .3 },
35
- systemPrompt: "You are a code review expert.",
36
- toolChoice: "auto",
37
- maxIterations: 15,
38
- timeoutMs: 18e4,
39
- version: "2.1.0",
40
- tags: [
41
- "code",
42
- "review",
43
- "dev"
44
- ],
45
- createdAt: /* @__PURE__ */ new Date("2024-02-10T09:00:00Z"),
46
- updatedAt: /* @__PURE__ */ new Date("2024-04-05T11:15:00Z")
47
- },
48
- {
49
- id: "agent-3",
50
- organizationId: "demo-org",
51
- name: "Data Analyst",
52
- slug: "data-analyst",
53
- description: "Queries databases and generates insights from data.",
54
- status: "PAUSED",
55
- modelProvider: "OPENAI",
56
- modelName: "gpt-4o",
57
- modelConfig: { temperature: .5 },
58
- systemPrompt: "You are a data analyst expert in SQL and analytics.",
59
- toolChoice: "required",
60
- maxIterations: 20,
61
- timeoutMs: 3e5,
62
- version: "1.2.0",
63
- tags: [
64
- "data",
65
- "analytics",
66
- "sql"
67
- ],
68
- createdAt: /* @__PURE__ */ new Date("2024-03-01T08:00:00Z"),
69
- updatedAt: /* @__PURE__ */ new Date("2024-04-10T16:45:00Z")
70
- },
71
- {
72
- id: "agent-4",
73
- organizationId: "demo-org",
74
- name: "Meeting Scheduler",
75
- slug: "meeting-scheduler",
76
- description: "Schedules meetings and manages calendar conflicts.",
77
- status: "DRAFT",
78
- modelProvider: "GOOGLE",
79
- modelName: "gemini-2.0-flash",
80
- modelConfig: { temperature: .2 },
81
- systemPrompt: "You help schedule and organize meetings efficiently.",
82
- toolChoice: "auto",
83
- maxIterations: 5,
84
- timeoutMs: 6e4,
85
- version: "0.1.0",
86
- tags: ["calendar", "scheduling"],
87
- createdAt: /* @__PURE__ */ new Date("2024-04-01T12:00:00Z"),
88
- updatedAt: /* @__PURE__ */ new Date("2024-04-01T12:00:00Z")
89
- }
1
+ // @bun
2
+ // src/shared/mock-agents.ts
3
+ var MOCK_AGENTS = [
4
+ {
5
+ id: "agent-1",
6
+ organizationId: "demo-org",
7
+ name: "Customer Support Bot",
8
+ slug: "customer-support-bot",
9
+ description: "Handles tier-1 customer inquiries and routes complex issues.",
10
+ status: "ACTIVE",
11
+ modelProvider: "OPENAI",
12
+ modelName: "gpt-4o-mini",
13
+ modelConfig: { temperature: 0.7 },
14
+ systemPrompt: "You are a helpful customer support assistant.",
15
+ toolChoice: "auto",
16
+ maxIterations: 10,
17
+ timeoutMs: 120000,
18
+ version: "1.0.0",
19
+ tags: ["support", "tier-1"],
20
+ createdAt: new Date("2024-01-15T10:00:00Z"),
21
+ updatedAt: new Date("2024-03-20T14:30:00Z")
22
+ },
23
+ {
24
+ id: "agent-2",
25
+ organizationId: "demo-org",
26
+ name: "Code Review Assistant",
27
+ slug: "code-review-assistant",
28
+ description: "Reviews pull requests and provides actionable feedback.",
29
+ status: "ACTIVE",
30
+ modelProvider: "ANTHROPIC",
31
+ modelName: "claude-sonnet-4-20250514",
32
+ modelConfig: { temperature: 0.3 },
33
+ systemPrompt: "You are a code review expert.",
34
+ toolChoice: "auto",
35
+ maxIterations: 15,
36
+ timeoutMs: 180000,
37
+ version: "2.1.0",
38
+ tags: ["code", "review", "dev"],
39
+ createdAt: new Date("2024-02-10T09:00:00Z"),
40
+ updatedAt: new Date("2024-04-05T11:15:00Z")
41
+ },
42
+ {
43
+ id: "agent-3",
44
+ organizationId: "demo-org",
45
+ name: "Data Analyst",
46
+ slug: "data-analyst",
47
+ description: "Queries databases and generates insights from data.",
48
+ status: "PAUSED",
49
+ modelProvider: "OPENAI",
50
+ modelName: "gpt-4o",
51
+ modelConfig: { temperature: 0.5 },
52
+ systemPrompt: "You are a data analyst expert in SQL and analytics.",
53
+ toolChoice: "required",
54
+ maxIterations: 20,
55
+ timeoutMs: 300000,
56
+ version: "1.2.0",
57
+ tags: ["data", "analytics", "sql"],
58
+ createdAt: new Date("2024-03-01T08:00:00Z"),
59
+ updatedAt: new Date("2024-04-10T16:45:00Z")
60
+ },
61
+ {
62
+ id: "agent-4",
63
+ organizationId: "demo-org",
64
+ name: "Meeting Scheduler",
65
+ slug: "meeting-scheduler",
66
+ description: "Schedules meetings and manages calendar conflicts.",
67
+ status: "DRAFT",
68
+ modelProvider: "GOOGLE",
69
+ modelName: "gemini-2.0-flash",
70
+ modelConfig: { temperature: 0.2 },
71
+ systemPrompt: "You help schedule and organize meetings efficiently.",
72
+ toolChoice: "auto",
73
+ maxIterations: 5,
74
+ timeoutMs: 60000,
75
+ version: "0.1.0",
76
+ tags: ["calendar", "scheduling"],
77
+ createdAt: new Date("2024-04-01T12:00:00Z"),
78
+ updatedAt: new Date("2024-04-01T12:00:00Z")
79
+ }
90
80
  ];
91
-
92
- //#endregion
93
- export { MOCK_AGENTS };
94
- //# sourceMappingURL=mock-agents.js.map
81
+ export {
82
+ MOCK_AGENTS
83
+ };
@@ -1,120 +1,117 @@
1
- //#region src/shared/mock-runs.d.ts
2
1
  /**
3
2
  * Mock run data for testing and demos.
4
3
  */
5
- declare const MOCK_RUNS: ({
6
- id: string;
7
- organizationId: string;
8
- agentId: string;
9
- agentName: string;
10
- userId: string;
11
- sessionId: string;
12
- input: {
13
- message: string;
14
- context: {
15
- prNumber?: undefined;
4
+ export declare const MOCK_RUNS: ({
5
+ id: string;
6
+ organizationId: string;
7
+ agentId: string;
8
+ agentName: string;
9
+ userId: string;
10
+ sessionId: string;
11
+ input: {
12
+ message: string;
13
+ context: {
14
+ prNumber?: undefined;
15
+ };
16
16
  };
17
- };
18
- output: {
19
- response: string;
20
- };
21
- status: "COMPLETED";
22
- totalTokens: number;
23
- promptTokens: number;
24
- completionTokens: number;
25
- totalIterations: number;
26
- durationMs: number;
27
- estimatedCostUsd: number;
28
- queuedAt: Date;
29
- startedAt: Date;
30
- completedAt: Date;
31
- steps: never[];
32
- logs: never[];
33
- errorMessage?: undefined;
34
- errorCode?: undefined;
17
+ output: {
18
+ response: string;
19
+ };
20
+ status: "COMPLETED";
21
+ totalTokens: number;
22
+ promptTokens: number;
23
+ completionTokens: number;
24
+ totalIterations: number;
25
+ durationMs: number;
26
+ estimatedCostUsd: number;
27
+ queuedAt: Date;
28
+ startedAt: Date;
29
+ completedAt: Date;
30
+ steps: never[];
31
+ logs: never[];
32
+ errorMessage?: undefined;
33
+ errorCode?: undefined;
35
34
  } | {
36
- id: string;
37
- organizationId: string;
38
- agentId: string;
39
- agentName: string;
40
- userId: string;
41
- input: {
42
- message: string;
43
- context: {
44
- prNumber: number;
35
+ id: string;
36
+ organizationId: string;
37
+ agentId: string;
38
+ agentName: string;
39
+ userId: string;
40
+ input: {
41
+ message: string;
42
+ context: {
43
+ prNumber: number;
44
+ };
45
45
  };
46
- };
47
- status: "IN_PROGRESS";
48
- totalTokens: number;
49
- promptTokens: number;
50
- completionTokens: number;
51
- totalIterations: number;
52
- queuedAt: Date;
53
- startedAt: Date;
54
- steps: never[];
55
- logs: never[];
56
- sessionId?: undefined;
57
- output?: undefined;
58
- durationMs?: undefined;
59
- estimatedCostUsd?: undefined;
60
- completedAt?: undefined;
61
- errorMessage?: undefined;
62
- errorCode?: undefined;
46
+ status: "IN_PROGRESS";
47
+ totalTokens: number;
48
+ promptTokens: number;
49
+ completionTokens: number;
50
+ totalIterations: number;
51
+ queuedAt: Date;
52
+ startedAt: Date;
53
+ steps: never[];
54
+ logs: never[];
55
+ sessionId?: undefined;
56
+ output?: undefined;
57
+ durationMs?: undefined;
58
+ estimatedCostUsd?: undefined;
59
+ completedAt?: undefined;
60
+ errorMessage?: undefined;
61
+ errorCode?: undefined;
63
62
  } | {
64
- id: string;
65
- organizationId: string;
66
- agentId: string;
67
- agentName: string;
68
- userId: string;
69
- input: {
70
- message: string;
71
- context?: undefined;
72
- };
73
- output: {
74
- response: string;
75
- };
76
- status: "COMPLETED";
77
- totalTokens: number;
78
- promptTokens: number;
79
- completionTokens: number;
80
- totalIterations: number;
81
- durationMs: number;
82
- estimatedCostUsd: number;
83
- queuedAt: Date;
84
- startedAt: Date;
85
- completedAt: Date;
86
- steps: never[];
87
- logs: never[];
88
- sessionId?: undefined;
89
- errorMessage?: undefined;
90
- errorCode?: undefined;
63
+ id: string;
64
+ organizationId: string;
65
+ agentId: string;
66
+ agentName: string;
67
+ userId: string;
68
+ input: {
69
+ message: string;
70
+ context?: undefined;
71
+ };
72
+ output: {
73
+ response: string;
74
+ };
75
+ status: "COMPLETED";
76
+ totalTokens: number;
77
+ promptTokens: number;
78
+ completionTokens: number;
79
+ totalIterations: number;
80
+ durationMs: number;
81
+ estimatedCostUsd: number;
82
+ queuedAt: Date;
83
+ startedAt: Date;
84
+ completedAt: Date;
85
+ steps: never[];
86
+ logs: never[];
87
+ sessionId?: undefined;
88
+ errorMessage?: undefined;
89
+ errorCode?: undefined;
91
90
  } | {
92
- id: string;
93
- organizationId: string;
94
- agentId: string;
95
- agentName: string;
96
- userId: string;
97
- input: {
98
- message: string;
99
- context?: undefined;
100
- };
101
- status: "FAILED";
102
- errorMessage: string;
103
- errorCode: string;
104
- totalTokens: number;
105
- promptTokens: number;
106
- completionTokens: number;
107
- totalIterations: number;
108
- durationMs: number;
109
- queuedAt: Date;
110
- startedAt: Date;
111
- completedAt: Date;
112
- steps: never[];
113
- logs: never[];
114
- sessionId?: undefined;
115
- output?: undefined;
116
- estimatedCostUsd?: undefined;
91
+ id: string;
92
+ organizationId: string;
93
+ agentId: string;
94
+ agentName: string;
95
+ userId: string;
96
+ input: {
97
+ message: string;
98
+ context?: undefined;
99
+ };
100
+ status: "FAILED";
101
+ errorMessage: string;
102
+ errorCode: string;
103
+ totalTokens: number;
104
+ promptTokens: number;
105
+ completionTokens: number;
106
+ totalIterations: number;
107
+ durationMs: number;
108
+ queuedAt: Date;
109
+ startedAt: Date;
110
+ completedAt: Date;
111
+ steps: never[];
112
+ logs: never[];
113
+ sessionId?: undefined;
114
+ output?: undefined;
115
+ estimatedCostUsd?: undefined;
117
116
  })[];
118
- //#endregion
119
- export { MOCK_RUNS };
120
117
  //# sourceMappingURL=mock-runs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mock-runs.d.ts","names":[],"sources":["../../src/shared/mock-runs.ts"],"mappings":";;AAGA;;cAAa,SAAA"}
1
+ {"version":3,"file":"mock-runs.d.ts","sourceRoot":"","sources":["../../src/shared/mock-runs.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuGrB,CAAC"}
@@ -1,118 +1,109 @@
1
- //#region src/shared/mock-runs.ts
2
- /**
3
- * Mock run data for testing and demos.
4
- */
5
- const MOCK_RUNS = [
6
- {
7
- id: "run-1",
8
- organizationId: "demo-org",
9
- agentId: "agent-1",
10
- agentName: "Customer Support Bot",
11
- userId: "user-1",
12
- sessionId: "session-1",
13
- input: {
14
- message: "How do I reset my password?",
15
- context: {}
16
- },
17
- output: { response: "You can reset your password by clicking..." },
18
- status: "COMPLETED",
19
- totalTokens: 1250,
20
- promptTokens: 800,
21
- completionTokens: 450,
22
- totalIterations: 3,
23
- durationMs: 4500,
24
- estimatedCostUsd: .0025,
25
- queuedAt: /* @__PURE__ */ new Date("2024-04-15T10:00:00Z"),
26
- startedAt: /* @__PURE__ */ new Date("2024-04-15T10:00:01Z"),
27
- completedAt: /* @__PURE__ */ new Date("2024-04-15T10:00:05Z"),
28
- steps: [],
29
- logs: []
30
- },
31
- {
32
- id: "run-2",
33
- organizationId: "demo-org",
34
- agentId: "agent-2",
35
- agentName: "Code Review Assistant",
36
- userId: "user-2",
37
- input: {
38
- message: "Review PR #123",
39
- context: { prNumber: 123 }
40
- },
41
- status: "IN_PROGRESS",
42
- totalTokens: 3500,
43
- promptTokens: 3e3,
44
- completionTokens: 500,
45
- totalIterations: 5,
46
- queuedAt: /* @__PURE__ */ new Date("2024-04-15T10:30:00Z"),
47
- startedAt: /* @__PURE__ */ new Date("2024-04-15T10:30:02Z"),
48
- steps: [],
49
- logs: []
50
- },
51
- {
52
- id: "run-3",
53
- organizationId: "demo-org",
54
- agentId: "agent-1",
55
- agentName: "Customer Support Bot",
56
- userId: "user-1",
57
- input: { message: "What are your business hours?" },
58
- output: { response: "Our business hours are 9 AM to 5 PM EST..." },
59
- status: "COMPLETED",
60
- totalTokens: 800,
61
- promptTokens: 500,
62
- completionTokens: 300,
63
- totalIterations: 2,
64
- durationMs: 2100,
65
- estimatedCostUsd: .0012,
66
- queuedAt: /* @__PURE__ */ new Date("2024-04-15T09:00:00Z"),
67
- startedAt: /* @__PURE__ */ new Date("2024-04-15T09:00:01Z"),
68
- completedAt: /* @__PURE__ */ new Date("2024-04-15T09:00:03Z"),
69
- steps: [],
70
- logs: []
71
- },
72
- {
73
- id: "run-4",
74
- organizationId: "demo-org",
75
- agentId: "agent-3",
76
- agentName: "Data Analyst",
77
- userId: "user-3",
78
- input: { message: "Generate sales report for Q1" },
79
- status: "FAILED",
80
- errorMessage: "Database connection timeout",
81
- errorCode: "DB_TIMEOUT",
82
- totalTokens: 2e3,
83
- promptTokens: 1500,
84
- completionTokens: 500,
85
- totalIterations: 8,
86
- durationMs: 45e3,
87
- queuedAt: /* @__PURE__ */ new Date("2024-04-14T15:00:00Z"),
88
- startedAt: /* @__PURE__ */ new Date("2024-04-14T15:00:05Z"),
89
- completedAt: /* @__PURE__ */ new Date("2024-04-14T15:00:50Z"),
90
- steps: [],
91
- logs: []
92
- },
93
- {
94
- id: "run-5",
95
- organizationId: "demo-org",
96
- agentId: "agent-2",
97
- agentName: "Code Review Assistant",
98
- userId: "user-2",
99
- input: { message: "Review PR #120" },
100
- output: { response: "Code review complete. 3 suggestions..." },
101
- status: "COMPLETED",
102
- totalTokens: 5200,
103
- promptTokens: 4e3,
104
- completionTokens: 1200,
105
- totalIterations: 7,
106
- durationMs: 15e3,
107
- estimatedCostUsd: .0156,
108
- queuedAt: /* @__PURE__ */ new Date("2024-04-14T11:00:00Z"),
109
- startedAt: /* @__PURE__ */ new Date("2024-04-14T11:00:03Z"),
110
- completedAt: /* @__PURE__ */ new Date("2024-04-14T11:00:18Z"),
111
- steps: [],
112
- logs: []
113
- }
1
+ // @bun
2
+ // src/shared/mock-runs.ts
3
+ var MOCK_RUNS = [
4
+ {
5
+ id: "run-1",
6
+ organizationId: "demo-org",
7
+ agentId: "agent-1",
8
+ agentName: "Customer Support Bot",
9
+ userId: "user-1",
10
+ sessionId: "session-1",
11
+ input: { message: "How do I reset my password?", context: {} },
12
+ output: { response: "You can reset your password by clicking..." },
13
+ status: "COMPLETED",
14
+ totalTokens: 1250,
15
+ promptTokens: 800,
16
+ completionTokens: 450,
17
+ totalIterations: 3,
18
+ durationMs: 4500,
19
+ estimatedCostUsd: 0.0025,
20
+ queuedAt: new Date("2024-04-15T10:00:00Z"),
21
+ startedAt: new Date("2024-04-15T10:00:01Z"),
22
+ completedAt: new Date("2024-04-15T10:00:05Z"),
23
+ steps: [],
24
+ logs: []
25
+ },
26
+ {
27
+ id: "run-2",
28
+ organizationId: "demo-org",
29
+ agentId: "agent-2",
30
+ agentName: "Code Review Assistant",
31
+ userId: "user-2",
32
+ input: { message: "Review PR #123", context: { prNumber: 123 } },
33
+ status: "IN_PROGRESS",
34
+ totalTokens: 3500,
35
+ promptTokens: 3000,
36
+ completionTokens: 500,
37
+ totalIterations: 5,
38
+ queuedAt: new Date("2024-04-15T10:30:00Z"),
39
+ startedAt: new Date("2024-04-15T10:30:02Z"),
40
+ steps: [],
41
+ logs: []
42
+ },
43
+ {
44
+ id: "run-3",
45
+ organizationId: "demo-org",
46
+ agentId: "agent-1",
47
+ agentName: "Customer Support Bot",
48
+ userId: "user-1",
49
+ input: { message: "What are your business hours?" },
50
+ output: { response: "Our business hours are 9 AM to 5 PM EST..." },
51
+ status: "COMPLETED",
52
+ totalTokens: 800,
53
+ promptTokens: 500,
54
+ completionTokens: 300,
55
+ totalIterations: 2,
56
+ durationMs: 2100,
57
+ estimatedCostUsd: 0.0012,
58
+ queuedAt: new Date("2024-04-15T09:00:00Z"),
59
+ startedAt: new Date("2024-04-15T09:00:01Z"),
60
+ completedAt: new Date("2024-04-15T09:00:03Z"),
61
+ steps: [],
62
+ logs: []
63
+ },
64
+ {
65
+ id: "run-4",
66
+ organizationId: "demo-org",
67
+ agentId: "agent-3",
68
+ agentName: "Data Analyst",
69
+ userId: "user-3",
70
+ input: { message: "Generate sales report for Q1" },
71
+ status: "FAILED",
72
+ errorMessage: "Database connection timeout",
73
+ errorCode: "DB_TIMEOUT",
74
+ totalTokens: 2000,
75
+ promptTokens: 1500,
76
+ completionTokens: 500,
77
+ totalIterations: 8,
78
+ durationMs: 45000,
79
+ queuedAt: new Date("2024-04-14T15:00:00Z"),
80
+ startedAt: new Date("2024-04-14T15:00:05Z"),
81
+ completedAt: new Date("2024-04-14T15:00:50Z"),
82
+ steps: [],
83
+ logs: []
84
+ },
85
+ {
86
+ id: "run-5",
87
+ organizationId: "demo-org",
88
+ agentId: "agent-2",
89
+ agentName: "Code Review Assistant",
90
+ userId: "user-2",
91
+ input: { message: "Review PR #120" },
92
+ output: { response: "Code review complete. 3 suggestions..." },
93
+ status: "COMPLETED",
94
+ totalTokens: 5200,
95
+ promptTokens: 4000,
96
+ completionTokens: 1200,
97
+ totalIterations: 7,
98
+ durationMs: 15000,
99
+ estimatedCostUsd: 0.0156,
100
+ queuedAt: new Date("2024-04-14T11:00:00Z"),
101
+ startedAt: new Date("2024-04-14T11:00:03Z"),
102
+ completedAt: new Date("2024-04-14T11:00:18Z"),
103
+ steps: [],
104
+ logs: []
105
+ }
114
106
  ];
115
-
116
- //#endregion
117
- export { MOCK_RUNS };
118
- //# sourceMappingURL=mock-runs.js.map
107
+ export {
108
+ MOCK_RUNS
109
+ };