@contractspec/example.agent-console 1.57.0 → 1.58.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 +16 -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,720 +1,714 @@
1
- import * as _contractspec_lib_contracts0 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
3
-
4
- //#region src/run/run.operation.d.ts
5
1
  /**
6
2
  * ExecuteAgentCommand - Starts a new agent run.
7
3
  */
8
- declare const ExecuteAgentCommand: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
9
- agentId: {
10
- type: _contractspec_lib_schema0.FieldType<string, string>;
11
- isOptional: false;
12
- };
13
- input: {
14
- type: _contractspec_lib_schema0.SchemaModel<{
15
- message: {
16
- type: _contractspec_lib_schema0.FieldType<string, string>;
17
- isOptional: false;
18
- };
19
- context: {
20
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
21
- isOptional: true;
22
- };
23
- }>;
24
- isOptional: false;
25
- };
26
- sessionId: {
27
- type: _contractspec_lib_schema0.FieldType<string, string>;
28
- isOptional: true;
29
- };
30
- metadata: {
31
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
32
- isOptional: true;
33
- };
34
- stream: {
35
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
36
- isOptional: true;
37
- };
38
- maxIterations: {
39
- type: _contractspec_lib_schema0.FieldType<number, number>;
40
- isOptional: true;
41
- };
42
- timeoutMs: {
43
- type: _contractspec_lib_schema0.FieldType<number, number>;
44
- isOptional: true;
45
- };
46
- }>, _contractspec_lib_schema0.SchemaModel<{
47
- runId: {
48
- type: _contractspec_lib_schema0.FieldType<string, string>;
49
- isOptional: false;
50
- };
51
- status: {
52
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
53
- isOptional: false;
54
- };
55
- estimatedWaitMs: {
56
- type: _contractspec_lib_schema0.FieldType<number, number>;
57
- isOptional: true;
58
- };
59
- }>, {
60
- key: string;
61
- version: string;
62
- stability: string;
63
- owners: "@agent-console-team"[];
64
- tags: string[];
65
- when: string;
66
- payload: _contractspec_lib_schema0.SchemaModel<{
67
- id: {
68
- type: _contractspec_lib_schema0.FieldType<string, string>;
69
- isOptional: false;
70
- };
4
+ export declare const ExecuteAgentCommand: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
71
5
  agentId: {
72
- type: _contractspec_lib_schema0.FieldType<string, string>;
73
- isOptional: false;
6
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
7
+ isOptional: false;
74
8
  };
75
- agentName: {
76
- type: _contractspec_lib_schema0.FieldType<string, string>;
77
- isOptional: false;
9
+ input: {
10
+ type: import("@contractspec/lib.schema").SchemaModel<{
11
+ message: {
12
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
13
+ isOptional: false;
14
+ };
15
+ context: {
16
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
17
+ isOptional: true;
18
+ };
19
+ }>;
20
+ isOptional: false;
78
21
  };
79
- status: {
80
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
81
- isOptional: false;
22
+ sessionId: {
23
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
24
+ isOptional: true;
82
25
  };
83
- totalTokens: {
84
- type: _contractspec_lib_schema0.FieldType<number, number>;
85
- isOptional: false;
26
+ metadata: {
27
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
28
+ isOptional: true;
86
29
  };
87
- durationMs: {
88
- type: _contractspec_lib_schema0.FieldType<number, number>;
89
- isOptional: true;
30
+ stream: {
31
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
32
+ isOptional: true;
90
33
  };
91
- estimatedCostUsd: {
92
- type: _contractspec_lib_schema0.FieldType<number, number>;
93
- isOptional: true;
34
+ maxIterations: {
35
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
36
+ isOptional: true;
94
37
  };
95
- queuedAt: {
96
- type: _contractspec_lib_schema0.FieldType<Date, string>;
97
- isOptional: false;
38
+ timeoutMs: {
39
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
40
+ isOptional: true;
98
41
  };
99
- completedAt: {
100
- type: _contractspec_lib_schema0.FieldType<Date, string>;
101
- isOptional: true;
42
+ }>, import("@contractspec/lib.schema").SchemaModel<{
43
+ runId: {
44
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
45
+ isOptional: false;
46
+ };
47
+ status: {
48
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
49
+ isOptional: false;
50
+ };
51
+ estimatedWaitMs: {
52
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
53
+ isOptional: true;
102
54
  };
103
- }>;
55
+ }>, {
56
+ key: string;
57
+ version: string;
58
+ stability: string;
59
+ owners: "@agent-console-team"[];
60
+ tags: string[];
61
+ when: string;
62
+ payload: import("@contractspec/lib.schema").SchemaModel<{
63
+ id: {
64
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
65
+ isOptional: false;
66
+ };
67
+ agentId: {
68
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
69
+ isOptional: false;
70
+ };
71
+ agentName: {
72
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
73
+ isOptional: false;
74
+ };
75
+ status: {
76
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
77
+ isOptional: false;
78
+ };
79
+ totalTokens: {
80
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
81
+ isOptional: false;
82
+ };
83
+ durationMs: {
84
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
85
+ isOptional: true;
86
+ };
87
+ estimatedCostUsd: {
88
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
89
+ isOptional: true;
90
+ };
91
+ queuedAt: {
92
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
93
+ isOptional: false;
94
+ };
95
+ completedAt: {
96
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
97
+ isOptional: true;
98
+ };
99
+ }>;
104
100
  }[]>;
105
101
  /**
106
102
  * CancelRunCommand - Cancels an in-progress run.
107
103
  */
108
- declare const CancelRunCommand: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
109
- runId: {
110
- type: _contractspec_lib_schema0.FieldType<string, string>;
111
- isOptional: false;
112
- };
113
- reason: {
114
- type: _contractspec_lib_schema0.FieldType<string, string>;
115
- isOptional: true;
116
- };
117
- }>, _contractspec_lib_schema0.SchemaModel<{
118
- success: {
119
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
120
- isOptional: false;
121
- };
122
- status: {
123
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
124
- isOptional: false;
125
- };
104
+ export declare const CancelRunCommand: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
105
+ runId: {
106
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
107
+ isOptional: false;
108
+ };
109
+ reason: {
110
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
111
+ isOptional: true;
112
+ };
113
+ }>, import("@contractspec/lib.schema").SchemaModel<{
114
+ success: {
115
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
116
+ isOptional: false;
117
+ };
118
+ status: {
119
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
120
+ isOptional: false;
121
+ };
126
122
  }>, {
127
- key: string;
128
- version: string;
129
- stability: string;
130
- owners: "@agent-console-team"[];
131
- tags: string[];
132
- when: string;
133
- payload: _contractspec_lib_schema0.SchemaModel<{
123
+ key: string;
124
+ version: string;
125
+ stability: string;
126
+ owners: "@agent-console-team"[];
127
+ tags: string[];
128
+ when: string;
129
+ payload: import("@contractspec/lib.schema").SchemaModel<{
130
+ id: {
131
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
132
+ isOptional: false;
133
+ };
134
+ agentId: {
135
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
136
+ isOptional: false;
137
+ };
138
+ agentName: {
139
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
140
+ isOptional: false;
141
+ };
142
+ status: {
143
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
144
+ isOptional: false;
145
+ };
146
+ totalTokens: {
147
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
148
+ isOptional: false;
149
+ };
150
+ durationMs: {
151
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
152
+ isOptional: true;
153
+ };
154
+ estimatedCostUsd: {
155
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
156
+ isOptional: true;
157
+ };
158
+ queuedAt: {
159
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
160
+ isOptional: false;
161
+ };
162
+ completedAt: {
163
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
164
+ isOptional: true;
165
+ };
166
+ }>;
167
+ }[]>;
168
+ /**
169
+ * GetRunQuery - Retrieves a run by ID.
170
+ */
171
+ export declare const GetRunQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
172
+ runId: {
173
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
174
+ isOptional: false;
175
+ };
176
+ includeSteps: {
177
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
178
+ isOptional: true;
179
+ };
180
+ includeLogs: {
181
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
182
+ isOptional: true;
183
+ };
184
+ }>, import("@contractspec/lib.schema").SchemaModel<{
134
185
  id: {
135
- type: _contractspec_lib_schema0.FieldType<string, string>;
136
- isOptional: false;
186
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
187
+ isOptional: false;
188
+ };
189
+ organizationId: {
190
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
191
+ isOptional: false;
137
192
  };
138
193
  agentId: {
139
- type: _contractspec_lib_schema0.FieldType<string, string>;
140
- isOptional: false;
194
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
195
+ isOptional: false;
196
+ };
197
+ userId: {
198
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
199
+ isOptional: true;
141
200
  };
142
- agentName: {
143
- type: _contractspec_lib_schema0.FieldType<string, string>;
144
- isOptional: false;
201
+ sessionId: {
202
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
203
+ isOptional: true;
204
+ };
205
+ input: {
206
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
207
+ isOptional: false;
208
+ };
209
+ output: {
210
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
211
+ isOptional: true;
145
212
  };
146
213
  status: {
147
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
148
- isOptional: false;
214
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
215
+ isOptional: false;
216
+ };
217
+ errorMessage: {
218
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
219
+ isOptional: true;
220
+ };
221
+ errorCode: {
222
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
223
+ isOptional: true;
149
224
  };
150
225
  totalTokens: {
151
- type: _contractspec_lib_schema0.FieldType<number, number>;
152
- isOptional: false;
226
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
227
+ isOptional: false;
228
+ defaultValue: number;
229
+ };
230
+ promptTokens: {
231
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
232
+ isOptional: false;
233
+ defaultValue: number;
234
+ };
235
+ completionTokens: {
236
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
237
+ isOptional: false;
238
+ defaultValue: number;
239
+ };
240
+ totalIterations: {
241
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
242
+ isOptional: false;
243
+ defaultValue: number;
153
244
  };
154
245
  durationMs: {
155
- type: _contractspec_lib_schema0.FieldType<number, number>;
156
- isOptional: true;
246
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
247
+ isOptional: true;
157
248
  };
158
249
  estimatedCostUsd: {
159
- type: _contractspec_lib_schema0.FieldType<number, number>;
160
- isOptional: true;
250
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
251
+ isOptional: true;
161
252
  };
162
253
  queuedAt: {
163
- type: _contractspec_lib_schema0.FieldType<Date, string>;
164
- isOptional: false;
254
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
255
+ isOptional: false;
256
+ };
257
+ startedAt: {
258
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
259
+ isOptional: true;
165
260
  };
166
261
  completedAt: {
167
- type: _contractspec_lib_schema0.FieldType<Date, string>;
168
- isOptional: true;
262
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
263
+ isOptional: true;
169
264
  };
170
- }>;
171
- }[]>;
172
- /**
173
- * GetRunQuery - Retrieves a run by ID.
174
- */
175
- declare const GetRunQuery: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
176
- runId: {
177
- type: _contractspec_lib_schema0.FieldType<string, string>;
178
- isOptional: false;
179
- };
180
- includeSteps: {
181
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
182
- isOptional: true;
183
- };
184
- includeLogs: {
185
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
186
- isOptional: true;
187
- };
188
- }>, _contractspec_lib_schema0.SchemaModel<{
189
- id: {
190
- type: _contractspec_lib_schema0.FieldType<string, string>;
191
- isOptional: false;
192
- };
193
- organizationId: {
194
- type: _contractspec_lib_schema0.FieldType<string, string>;
195
- isOptional: false;
196
- };
197
- agentId: {
198
- type: _contractspec_lib_schema0.FieldType<string, string>;
199
- isOptional: false;
200
- };
201
- userId: {
202
- type: _contractspec_lib_schema0.FieldType<string, string>;
203
- isOptional: true;
204
- };
205
- sessionId: {
206
- type: _contractspec_lib_schema0.FieldType<string, string>;
207
- isOptional: true;
208
- };
209
- input: {
210
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
211
- isOptional: false;
212
- };
213
- output: {
214
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
215
- isOptional: true;
216
- };
217
- status: {
218
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
219
- isOptional: false;
220
- };
221
- errorMessage: {
222
- type: _contractspec_lib_schema0.FieldType<string, string>;
223
- isOptional: true;
224
- };
225
- errorCode: {
226
- type: _contractspec_lib_schema0.FieldType<string, string>;
227
- isOptional: true;
228
- };
229
- totalTokens: {
230
- type: _contractspec_lib_schema0.FieldType<number, number>;
231
- isOptional: false;
232
- defaultValue: number;
233
- };
234
- promptTokens: {
235
- type: _contractspec_lib_schema0.FieldType<number, number>;
236
- isOptional: false;
237
- defaultValue: number;
238
- };
239
- completionTokens: {
240
- type: _contractspec_lib_schema0.FieldType<number, number>;
241
- isOptional: false;
242
- defaultValue: number;
243
- };
244
- totalIterations: {
245
- type: _contractspec_lib_schema0.FieldType<number, number>;
246
- isOptional: false;
247
- defaultValue: number;
248
- };
249
- durationMs: {
250
- type: _contractspec_lib_schema0.FieldType<number, number>;
251
- isOptional: true;
252
- };
253
- estimatedCostUsd: {
254
- type: _contractspec_lib_schema0.FieldType<number, number>;
255
- isOptional: true;
256
- };
257
- queuedAt: {
258
- type: _contractspec_lib_schema0.FieldType<Date, string>;
259
- isOptional: false;
260
- };
261
- startedAt: {
262
- type: _contractspec_lib_schema0.FieldType<Date, string>;
263
- isOptional: true;
264
- };
265
- completedAt: {
266
- type: _contractspec_lib_schema0.FieldType<Date, string>;
267
- isOptional: true;
268
- };
269
- metadata: {
270
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
271
- isOptional: true;
272
- };
273
- steps: {
274
- type: _contractspec_lib_schema0.SchemaModel<{
275
- id: {
276
- type: _contractspec_lib_schema0.FieldType<string, string>;
277
- isOptional: false;
278
- };
279
- stepNumber: {
280
- type: _contractspec_lib_schema0.FieldType<number, number>;
281
- isOptional: false;
282
- };
283
- type: {
284
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
285
- isOptional: false;
286
- };
287
- toolId: {
288
- type: _contractspec_lib_schema0.FieldType<string, string>;
289
- isOptional: true;
290
- };
291
- toolName: {
292
- type: _contractspec_lib_schema0.FieldType<string, string>;
293
- isOptional: true;
294
- };
295
- input: {
296
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
297
- isOptional: true;
298
- };
299
- output: {
300
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
301
- isOptional: true;
302
- };
303
- status: {
304
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
305
- isOptional: false;
306
- };
307
- errorMessage: {
308
- type: _contractspec_lib_schema0.FieldType<string, string>;
309
- isOptional: true;
310
- };
311
- tokensUsed: {
312
- type: _contractspec_lib_schema0.FieldType<number, number>;
313
- isOptional: false;
314
- defaultValue: number;
315
- };
316
- durationMs: {
317
- type: _contractspec_lib_schema0.FieldType<number, number>;
265
+ metadata: {
266
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
318
267
  isOptional: true;
319
- };
320
- startedAt: {
321
- type: _contractspec_lib_schema0.FieldType<Date, string>;
322
- isOptional: false;
323
- };
324
- completedAt: {
325
- type: _contractspec_lib_schema0.FieldType<Date, string>;
268
+ };
269
+ steps: {
270
+ type: import("@contractspec/lib.schema").SchemaModel<{
271
+ id: {
272
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
273
+ isOptional: false;
274
+ };
275
+ stepNumber: {
276
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
277
+ isOptional: false;
278
+ };
279
+ type: {
280
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
281
+ isOptional: false;
282
+ };
283
+ toolId: {
284
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
285
+ isOptional: true;
286
+ };
287
+ toolName: {
288
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
289
+ isOptional: true;
290
+ };
291
+ input: {
292
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
293
+ isOptional: true;
294
+ };
295
+ output: {
296
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
297
+ isOptional: true;
298
+ };
299
+ status: {
300
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
301
+ isOptional: false;
302
+ };
303
+ errorMessage: {
304
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
305
+ isOptional: true;
306
+ };
307
+ tokensUsed: {
308
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
309
+ isOptional: false;
310
+ defaultValue: number;
311
+ };
312
+ durationMs: {
313
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
314
+ isOptional: true;
315
+ };
316
+ startedAt: {
317
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
318
+ isOptional: false;
319
+ };
320
+ completedAt: {
321
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
322
+ isOptional: true;
323
+ };
324
+ }>;
325
+ isArray: true;
326
326
  isOptional: true;
327
- };
328
- }>;
329
- isArray: true;
330
- isOptional: true;
331
- };
332
- logs: {
333
- type: _contractspec_lib_schema0.SchemaModel<{
334
- id: {
335
- type: _contractspec_lib_schema0.FieldType<string, string>;
336
- isOptional: false;
337
- };
338
- stepId: {
339
- type: _contractspec_lib_schema0.FieldType<string, string>;
340
- isOptional: true;
341
- };
342
- level: {
343
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
344
- isOptional: false;
345
- };
346
- message: {
347
- type: _contractspec_lib_schema0.FieldType<string, string>;
348
- isOptional: false;
349
- };
350
- data: {
351
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
352
- isOptional: true;
353
- };
354
- source: {
355
- type: _contractspec_lib_schema0.FieldType<string, string>;
356
- isOptional: true;
357
- };
358
- traceId: {
359
- type: _contractspec_lib_schema0.FieldType<string, string>;
360
- isOptional: true;
361
- };
362
- spanId: {
363
- type: _contractspec_lib_schema0.FieldType<string, string>;
364
- isOptional: true;
365
- };
366
- timestamp: {
367
- type: _contractspec_lib_schema0.FieldType<Date, string>;
368
- isOptional: false;
369
- };
370
- }>;
371
- isArray: true;
372
- isOptional: true;
373
- };
374
- agent: {
375
- type: _contractspec_lib_schema0.SchemaModel<{
376
- id: {
377
- type: _contractspec_lib_schema0.FieldType<string, string>;
378
- isOptional: false;
379
- };
380
- name: {
381
- type: _contractspec_lib_schema0.FieldType<string, string>;
382
- isOptional: false;
383
- };
384
- modelProvider: {
385
- type: _contractspec_lib_schema0.FieldType<string, string>;
386
- isOptional: false;
387
- };
388
- modelName: {
389
- type: _contractspec_lib_schema0.FieldType<string, string>;
390
- isOptional: false;
391
- };
392
- }>;
393
- isOptional: true;
394
- };
327
+ };
328
+ logs: {
329
+ type: import("@contractspec/lib.schema").SchemaModel<{
330
+ id: {
331
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
332
+ isOptional: false;
333
+ };
334
+ stepId: {
335
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
336
+ isOptional: true;
337
+ };
338
+ level: {
339
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
340
+ isOptional: false;
341
+ };
342
+ message: {
343
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
344
+ isOptional: false;
345
+ };
346
+ data: {
347
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
348
+ isOptional: true;
349
+ };
350
+ source: {
351
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
352
+ isOptional: true;
353
+ };
354
+ traceId: {
355
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
356
+ isOptional: true;
357
+ };
358
+ spanId: {
359
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
360
+ isOptional: true;
361
+ };
362
+ timestamp: {
363
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
364
+ isOptional: false;
365
+ };
366
+ }>;
367
+ isArray: true;
368
+ isOptional: true;
369
+ };
370
+ agent: {
371
+ type: import("@contractspec/lib.schema").SchemaModel<{
372
+ id: {
373
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
374
+ isOptional: false;
375
+ };
376
+ name: {
377
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
378
+ isOptional: false;
379
+ };
380
+ modelProvider: {
381
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
382
+ isOptional: false;
383
+ };
384
+ modelName: {
385
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
386
+ isOptional: false;
387
+ };
388
+ }>;
389
+ isOptional: true;
390
+ };
395
391
  }>, undefined>;
396
392
  /**
397
393
  * ListRunsQuery - Lists runs for an organization or agent.
398
394
  */
399
- declare const ListRunsQuery: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
400
- organizationId: {
401
- type: _contractspec_lib_schema0.FieldType<string, string>;
402
- isOptional: true;
403
- };
404
- agentId: {
405
- type: _contractspec_lib_schema0.FieldType<string, string>;
406
- isOptional: true;
407
- };
408
- userId: {
409
- type: _contractspec_lib_schema0.FieldType<string, string>;
410
- isOptional: true;
411
- };
412
- sessionId: {
413
- type: _contractspec_lib_schema0.FieldType<string, string>;
414
- isOptional: true;
415
- };
416
- status: {
417
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
418
- isOptional: true;
419
- };
420
- startDate: {
421
- type: _contractspec_lib_schema0.FieldType<Date, string>;
422
- isOptional: true;
423
- };
424
- endDate: {
425
- type: _contractspec_lib_schema0.FieldType<Date, string>;
426
- isOptional: true;
427
- };
428
- limit: {
429
- type: _contractspec_lib_schema0.FieldType<number, number>;
430
- isOptional: true;
431
- defaultValue: number;
432
- };
433
- offset: {
434
- type: _contractspec_lib_schema0.FieldType<number, number>;
435
- isOptional: true;
436
- defaultValue: number;
437
- };
438
- }>, _contractspec_lib_schema0.SchemaModel<{
439
- items: {
440
- type: _contractspec_lib_schema0.SchemaModel<{
441
- id: {
442
- type: _contractspec_lib_schema0.FieldType<string, string>;
443
- isOptional: false;
444
- };
445
- agentId: {
446
- type: _contractspec_lib_schema0.FieldType<string, string>;
447
- isOptional: false;
448
- };
449
- agentName: {
450
- type: _contractspec_lib_schema0.FieldType<string, string>;
451
- isOptional: false;
452
- };
453
- status: {
454
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
455
- isOptional: false;
456
- };
457
- totalTokens: {
458
- type: _contractspec_lib_schema0.FieldType<number, number>;
459
- isOptional: false;
460
- };
461
- durationMs: {
462
- type: _contractspec_lib_schema0.FieldType<number, number>;
463
- isOptional: true;
464
- };
465
- estimatedCostUsd: {
466
- type: _contractspec_lib_schema0.FieldType<number, number>;
467
- isOptional: true;
468
- };
469
- queuedAt: {
470
- type: _contractspec_lib_schema0.FieldType<Date, string>;
471
- isOptional: false;
472
- };
473
- completedAt: {
474
- type: _contractspec_lib_schema0.FieldType<Date, string>;
475
- isOptional: true;
476
- };
477
- }>;
478
- isArray: true;
479
- isOptional: false;
480
- };
481
- total: {
482
- type: _contractspec_lib_schema0.FieldType<number, number>;
483
- isOptional: false;
484
- };
485
- hasMore: {
486
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
487
- isOptional: false;
488
- };
395
+ export declare const ListRunsQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
396
+ organizationId: {
397
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
398
+ isOptional: true;
399
+ };
400
+ agentId: {
401
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
402
+ isOptional: true;
403
+ };
404
+ userId: {
405
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
406
+ isOptional: true;
407
+ };
408
+ sessionId: {
409
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
410
+ isOptional: true;
411
+ };
412
+ status: {
413
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
414
+ isOptional: true;
415
+ };
416
+ startDate: {
417
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
418
+ isOptional: true;
419
+ };
420
+ endDate: {
421
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
422
+ isOptional: true;
423
+ };
424
+ limit: {
425
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
426
+ isOptional: true;
427
+ defaultValue: number;
428
+ };
429
+ offset: {
430
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
431
+ isOptional: true;
432
+ defaultValue: number;
433
+ };
434
+ }>, import("@contractspec/lib.schema").SchemaModel<{
435
+ items: {
436
+ type: import("@contractspec/lib.schema").SchemaModel<{
437
+ id: {
438
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
439
+ isOptional: false;
440
+ };
441
+ agentId: {
442
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
443
+ isOptional: false;
444
+ };
445
+ agentName: {
446
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
447
+ isOptional: false;
448
+ };
449
+ status: {
450
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
451
+ isOptional: false;
452
+ };
453
+ totalTokens: {
454
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
455
+ isOptional: false;
456
+ };
457
+ durationMs: {
458
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
459
+ isOptional: true;
460
+ };
461
+ estimatedCostUsd: {
462
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
463
+ isOptional: true;
464
+ };
465
+ queuedAt: {
466
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
467
+ isOptional: false;
468
+ };
469
+ completedAt: {
470
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
471
+ isOptional: true;
472
+ };
473
+ }>;
474
+ isArray: true;
475
+ isOptional: false;
476
+ };
477
+ total: {
478
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
479
+ isOptional: false;
480
+ };
481
+ hasMore: {
482
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
483
+ isOptional: false;
484
+ };
489
485
  }>, undefined>;
490
486
  /**
491
487
  * GetRunStepsQuery - Retrieves steps for a run.
492
488
  */
493
- declare const GetRunStepsQuery: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
494
- runId: {
495
- type: _contractspec_lib_schema0.FieldType<string, string>;
496
- isOptional: false;
497
- };
498
- }>, _contractspec_lib_schema0.SchemaModel<{
499
- steps: {
500
- type: _contractspec_lib_schema0.SchemaModel<{
501
- id: {
502
- type: _contractspec_lib_schema0.FieldType<string, string>;
503
- isOptional: false;
504
- };
505
- stepNumber: {
506
- type: _contractspec_lib_schema0.FieldType<number, number>;
507
- isOptional: false;
508
- };
509
- type: {
510
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
511
- isOptional: false;
512
- };
513
- toolId: {
514
- type: _contractspec_lib_schema0.FieldType<string, string>;
515
- isOptional: true;
516
- };
517
- toolName: {
518
- type: _contractspec_lib_schema0.FieldType<string, string>;
519
- isOptional: true;
520
- };
521
- input: {
522
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
523
- isOptional: true;
524
- };
525
- output: {
526
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
527
- isOptional: true;
528
- };
529
- status: {
530
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string, string, string]>;
531
- isOptional: false;
532
- };
533
- errorMessage: {
534
- type: _contractspec_lib_schema0.FieldType<string, string>;
535
- isOptional: true;
536
- };
537
- tokensUsed: {
538
- type: _contractspec_lib_schema0.FieldType<number, number>;
489
+ export declare const GetRunStepsQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
490
+ runId: {
491
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
539
492
  isOptional: false;
540
- defaultValue: number;
541
- };
542
- durationMs: {
543
- type: _contractspec_lib_schema0.FieldType<number, number>;
544
- isOptional: true;
545
- };
546
- startedAt: {
547
- type: _contractspec_lib_schema0.FieldType<Date, string>;
493
+ };
494
+ }>, import("@contractspec/lib.schema").SchemaModel<{
495
+ steps: {
496
+ type: import("@contractspec/lib.schema").SchemaModel<{
497
+ id: {
498
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
499
+ isOptional: false;
500
+ };
501
+ stepNumber: {
502
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
503
+ isOptional: false;
504
+ };
505
+ type: {
506
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
507
+ isOptional: false;
508
+ };
509
+ toolId: {
510
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
511
+ isOptional: true;
512
+ };
513
+ toolName: {
514
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
515
+ isOptional: true;
516
+ };
517
+ input: {
518
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
519
+ isOptional: true;
520
+ };
521
+ output: {
522
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
523
+ isOptional: true;
524
+ };
525
+ status: {
526
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string, string, string]>;
527
+ isOptional: false;
528
+ };
529
+ errorMessage: {
530
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
531
+ isOptional: true;
532
+ };
533
+ tokensUsed: {
534
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
535
+ isOptional: false;
536
+ defaultValue: number;
537
+ };
538
+ durationMs: {
539
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
540
+ isOptional: true;
541
+ };
542
+ startedAt: {
543
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
544
+ isOptional: false;
545
+ };
546
+ completedAt: {
547
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
548
+ isOptional: true;
549
+ };
550
+ }>;
551
+ isArray: true;
548
552
  isOptional: false;
549
- };
550
- completedAt: {
551
- type: _contractspec_lib_schema0.FieldType<Date, string>;
552
- isOptional: true;
553
- };
554
- }>;
555
- isArray: true;
556
- isOptional: false;
557
- };
553
+ };
558
554
  }>, undefined>;
559
555
  /**
560
556
  * GetRunLogsQuery - Retrieves logs for a run.
561
557
  */
562
- declare const GetRunLogsQuery: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
563
- runId: {
564
- type: _contractspec_lib_schema0.FieldType<string, string>;
565
- isOptional: false;
566
- };
567
- level: {
568
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
569
- isOptional: true;
570
- };
571
- stepId: {
572
- type: _contractspec_lib_schema0.FieldType<string, string>;
573
- isOptional: true;
574
- };
575
- limit: {
576
- type: _contractspec_lib_schema0.FieldType<number, number>;
577
- isOptional: true;
578
- defaultValue: number;
579
- };
580
- offset: {
581
- type: _contractspec_lib_schema0.FieldType<number, number>;
582
- isOptional: true;
583
- defaultValue: number;
584
- };
585
- }>, _contractspec_lib_schema0.SchemaModel<{
586
- items: {
587
- type: _contractspec_lib_schema0.SchemaModel<{
588
- id: {
589
- type: _contractspec_lib_schema0.FieldType<string, string>;
590
- isOptional: false;
591
- };
592
- stepId: {
593
- type: _contractspec_lib_schema0.FieldType<string, string>;
594
- isOptional: true;
595
- };
596
- level: {
597
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
598
- isOptional: false;
599
- };
600
- message: {
601
- type: _contractspec_lib_schema0.FieldType<string, string>;
602
- isOptional: false;
603
- };
604
- data: {
605
- type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
606
- isOptional: true;
607
- };
608
- source: {
609
- type: _contractspec_lib_schema0.FieldType<string, string>;
610
- isOptional: true;
611
- };
612
- traceId: {
613
- type: _contractspec_lib_schema0.FieldType<string, string>;
614
- isOptional: true;
615
- };
616
- spanId: {
617
- type: _contractspec_lib_schema0.FieldType<string, string>;
618
- isOptional: true;
619
- };
620
- timestamp: {
621
- type: _contractspec_lib_schema0.FieldType<Date, string>;
622
- isOptional: false;
623
- };
624
- }>;
625
- isArray: true;
626
- isOptional: false;
627
- };
628
- total: {
629
- type: _contractspec_lib_schema0.FieldType<number, number>;
630
- isOptional: false;
631
- };
632
- hasMore: {
633
- type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
634
- isOptional: false;
635
- };
558
+ export declare const GetRunLogsQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
559
+ runId: {
560
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
561
+ isOptional: false;
562
+ };
563
+ level: {
564
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
565
+ isOptional: true;
566
+ };
567
+ stepId: {
568
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
569
+ isOptional: true;
570
+ };
571
+ limit: {
572
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
573
+ isOptional: true;
574
+ defaultValue: number;
575
+ };
576
+ offset: {
577
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
578
+ isOptional: true;
579
+ defaultValue: number;
580
+ };
581
+ }>, import("@contractspec/lib.schema").SchemaModel<{
582
+ items: {
583
+ type: import("@contractspec/lib.schema").SchemaModel<{
584
+ id: {
585
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
586
+ isOptional: false;
587
+ };
588
+ stepId: {
589
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
590
+ isOptional: true;
591
+ };
592
+ level: {
593
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
594
+ isOptional: false;
595
+ };
596
+ message: {
597
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
598
+ isOptional: false;
599
+ };
600
+ data: {
601
+ type: import("@contractspec/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
602
+ isOptional: true;
603
+ };
604
+ source: {
605
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
606
+ isOptional: true;
607
+ };
608
+ traceId: {
609
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
610
+ isOptional: true;
611
+ };
612
+ spanId: {
613
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
614
+ isOptional: true;
615
+ };
616
+ timestamp: {
617
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
618
+ isOptional: false;
619
+ };
620
+ }>;
621
+ isArray: true;
622
+ isOptional: false;
623
+ };
624
+ total: {
625
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
626
+ isOptional: false;
627
+ };
628
+ hasMore: {
629
+ type: import("@contractspec/lib.schema").FieldType<boolean, boolean>;
630
+ isOptional: false;
631
+ };
636
632
  }>, undefined>;
637
633
  /**
638
634
  * GetRunMetricsQuery - Retrieves aggregated metrics for runs.
639
635
  */
640
- declare const GetRunMetricsQuery: _contractspec_lib_contracts0.OperationSpec<_contractspec_lib_schema0.SchemaModel<{
641
- organizationId: {
642
- type: _contractspec_lib_schema0.FieldType<string, string>;
643
- isOptional: false;
644
- };
645
- agentId: {
646
- type: _contractspec_lib_schema0.FieldType<string, string>;
647
- isOptional: true;
648
- };
649
- startDate: {
650
- type: _contractspec_lib_schema0.FieldType<Date, string>;
651
- isOptional: false;
652
- };
653
- endDate: {
654
- type: _contractspec_lib_schema0.FieldType<Date, string>;
655
- isOptional: false;
656
- };
657
- granularity: {
658
- type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
659
- isOptional: true;
660
- defaultValue: string;
661
- };
662
- }>, _contractspec_lib_schema0.SchemaModel<{
663
- totalRuns: {
664
- type: _contractspec_lib_schema0.FieldType<number, number>;
665
- isOptional: false;
666
- };
667
- completedRuns: {
668
- type: _contractspec_lib_schema0.FieldType<number, number>;
669
- isOptional: false;
670
- };
671
- failedRuns: {
672
- type: _contractspec_lib_schema0.FieldType<number, number>;
673
- isOptional: false;
674
- };
675
- totalTokens: {
676
- type: _contractspec_lib_schema0.FieldType<number, number>;
677
- isOptional: false;
678
- };
679
- totalCostUsd: {
680
- type: _contractspec_lib_schema0.FieldType<number, number>;
681
- isOptional: false;
682
- };
683
- averageDurationMs: {
684
- type: _contractspec_lib_schema0.FieldType<number, number>;
685
- isOptional: false;
686
- };
687
- successRate: {
688
- type: _contractspec_lib_schema0.FieldType<number, number>;
689
- isOptional: false;
690
- };
691
- timeline: {
692
- type: _contractspec_lib_schema0.SchemaModel<{
693
- period: {
694
- type: _contractspec_lib_schema0.FieldType<string, string>;
695
- isOptional: false;
696
- };
697
- runs: {
698
- type: _contractspec_lib_schema0.FieldType<number, number>;
699
- isOptional: false;
700
- };
701
- tokens: {
702
- type: _contractspec_lib_schema0.FieldType<number, number>;
703
- isOptional: false;
704
- };
705
- costUsd: {
706
- type: _contractspec_lib_schema0.FieldType<number, number>;
707
- isOptional: false;
708
- };
709
- avgDurationMs: {
710
- type: _contractspec_lib_schema0.FieldType<number, number>;
711
- isOptional: false;
712
- };
713
- }>;
714
- isArray: true;
715
- isOptional: false;
716
- };
636
+ export declare const GetRunMetricsQuery: import("@contractspec/lib.contracts").OperationSpec<import("@contractspec/lib.schema").SchemaModel<{
637
+ organizationId: {
638
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
639
+ isOptional: false;
640
+ };
641
+ agentId: {
642
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
643
+ isOptional: true;
644
+ };
645
+ startDate: {
646
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
647
+ isOptional: false;
648
+ };
649
+ endDate: {
650
+ type: import("@contractspec/lib.schema").FieldType<Date, string>;
651
+ isOptional: false;
652
+ };
653
+ granularity: {
654
+ type: import("@contractspec/lib.schema").EnumType<[string, string, string, string]>;
655
+ isOptional: true;
656
+ defaultValue: string;
657
+ };
658
+ }>, import("@contractspec/lib.schema").SchemaModel<{
659
+ totalRuns: {
660
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
661
+ isOptional: false;
662
+ };
663
+ completedRuns: {
664
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
665
+ isOptional: false;
666
+ };
667
+ failedRuns: {
668
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
669
+ isOptional: false;
670
+ };
671
+ totalTokens: {
672
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
673
+ isOptional: false;
674
+ };
675
+ totalCostUsd: {
676
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
677
+ isOptional: false;
678
+ };
679
+ averageDurationMs: {
680
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
681
+ isOptional: false;
682
+ };
683
+ successRate: {
684
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
685
+ isOptional: false;
686
+ };
687
+ timeline: {
688
+ type: import("@contractspec/lib.schema").SchemaModel<{
689
+ period: {
690
+ type: import("@contractspec/lib.schema").FieldType<string, string>;
691
+ isOptional: false;
692
+ };
693
+ runs: {
694
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
695
+ isOptional: false;
696
+ };
697
+ tokens: {
698
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
699
+ isOptional: false;
700
+ };
701
+ costUsd: {
702
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
703
+ isOptional: false;
704
+ };
705
+ avgDurationMs: {
706
+ type: import("@contractspec/lib.schema").FieldType<number, number>;
707
+ isOptional: false;
708
+ };
709
+ }>;
710
+ isArray: true;
711
+ isOptional: false;
712
+ };
717
713
  }>, undefined>;
718
- //#endregion
719
- export { CancelRunCommand, ExecuteAgentCommand, GetRunLogsQuery, GetRunMetricsQuery, GetRunQuery, GetRunStepsQuery, ListRunsQuery };
720
714
  //# sourceMappingURL=run.operation.d.ts.map