@maiaos/protocol 0.1.0-canary.9 → 0.1.0-canary.91

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 (934) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +15 -6
  3. package/dist/agent/definition.d.ts +3 -3
  4. package/dist/agent/definition.d.ts.map +1 -1
  5. package/dist/agent/definition.js +1 -1
  6. package/dist/agent/definition.js.map +1 -1
  7. package/dist/agent/effect-schema.d.ts +2 -0
  8. package/dist/agent/effect-schema.d.ts.map +1 -1
  9. package/dist/agent/effect-schema.js +3 -0
  10. package/dist/agent/effect-schema.js.map +1 -1
  11. package/dist/agent/index.d.ts +1 -1
  12. package/dist/agent/index.d.ts.map +1 -1
  13. package/dist/agent/index.js +1 -1
  14. package/dist/agent/index.js.map +1 -1
  15. package/dist/agent/worker-operation.d.ts +43 -1
  16. package/dist/agent/worker-operation.d.ts.map +1 -1
  17. package/dist/agents/contract.d.ts +27 -0
  18. package/dist/agents/contract.d.ts.map +1 -1
  19. package/dist/agents/contract.js +4 -1
  20. package/dist/agents/contract.js.map +1 -1
  21. package/dist/agents/effect-schema.d.ts +53 -2
  22. package/dist/agents/effect-schema.d.ts.map +1 -1
  23. package/dist/agents/effect-schema.js +51 -10
  24. package/dist/agents/effect-schema.js.map +1 -1
  25. package/dist/agents/feature.d.ts +54 -4
  26. package/dist/agents/feature.d.ts.map +1 -1
  27. package/dist/agents/feature.js +52 -4
  28. package/dist/agents/feature.js.map +1 -1
  29. package/dist/agents/index.d.ts +1 -1
  30. package/dist/agents/index.d.ts.map +1 -1
  31. package/dist/agents/index.js +1 -1
  32. package/dist/agents/index.js.map +1 -1
  33. package/dist/approval/contract.d.ts +21 -5
  34. package/dist/approval/contract.d.ts.map +1 -1
  35. package/dist/approval/contract.js +2 -1
  36. package/dist/approval/contract.js.map +1 -1
  37. package/dist/approval/effect-schema.d.ts +1 -1
  38. package/dist/approval/effect-schema.d.ts.map +1 -1
  39. package/dist/approval/effect-schema.js +1 -1
  40. package/dist/approval/effect-schema.js.map +1 -1
  41. package/dist/approval/feature.d.ts +21 -2
  42. package/dist/approval/feature.d.ts.map +1 -1
  43. package/dist/approval/feature.js +21 -2
  44. package/dist/approval/feature.js.map +1 -1
  45. package/dist/approval/index.d.ts +1 -1
  46. package/dist/approval/index.d.ts.map +1 -1
  47. package/dist/approval/index.js +1 -1
  48. package/dist/approval/index.js.map +1 -1
  49. package/dist/approval/request-effect-schema.d.ts +40 -5
  50. package/dist/approval/request-effect-schema.d.ts.map +1 -1
  51. package/dist/approval/request-effect-schema.js +30 -7
  52. package/dist/approval/request-effect-schema.js.map +1 -1
  53. package/dist/approval/result-effect-schema.d.ts +14 -6
  54. package/dist/approval/result-effect-schema.d.ts.map +1 -1
  55. package/dist/board/contract.d.ts +1668 -0
  56. package/dist/board/contract.d.ts.map +1 -0
  57. package/dist/board/contract.js +108 -0
  58. package/dist/board/contract.js.map +1 -0
  59. package/dist/board/effect-schema.d.ts +6 -0
  60. package/dist/board/effect-schema.d.ts.map +1 -0
  61. package/dist/board/effect-schema.js +6 -0
  62. package/dist/board/effect-schema.js.map +1 -0
  63. package/dist/board/feature.d.ts +565 -0
  64. package/dist/board/feature.d.ts.map +1 -0
  65. package/dist/board/feature.js +535 -0
  66. package/dist/board/feature.js.map +1 -0
  67. package/dist/board/index.d.ts +3 -0
  68. package/dist/board/index.d.ts.map +1 -0
  69. package/dist/board/index.js +3 -0
  70. package/dist/board/index.js.map +1 -0
  71. package/dist/board/manage-effect-schema.d.ts +493 -0
  72. package/dist/board/manage-effect-schema.d.ts.map +1 -0
  73. package/dist/board/manage-effect-schema.js +73 -0
  74. package/dist/board/manage-effect-schema.js.map +1 -0
  75. package/dist/board/model-effect-schema.d.ts +111 -0
  76. package/dist/board/model-effect-schema.d.ts.map +1 -0
  77. package/dist/board/model-effect-schema.js +120 -0
  78. package/dist/board/model-effect-schema.js.map +1 -0
  79. package/dist/board/plan-effect-schema.d.ts +120 -0
  80. package/dist/board/plan-effect-schema.d.ts.map +1 -0
  81. package/dist/board/plan-effect-schema.js +108 -0
  82. package/dist/board/plan-effect-schema.js.map +1 -0
  83. package/dist/board/task-effect-schema.d.ts +1835 -0
  84. package/dist/board/task-effect-schema.d.ts.map +1 -0
  85. package/dist/board/task-effect-schema.js +275 -0
  86. package/dist/board/task-effect-schema.js.map +1 -0
  87. package/dist/board/thread-effect-schema.d.ts +633 -0
  88. package/dist/board/thread-effect-schema.d.ts.map +1 -0
  89. package/dist/board/thread-effect-schema.js +116 -0
  90. package/dist/board/thread-effect-schema.js.map +1 -0
  91. package/dist/command-receipt/contract.d.ts +3 -0
  92. package/dist/command-receipt/contract.d.ts.map +1 -1
  93. package/dist/command-receipt/effect-schema.d.ts +12 -0
  94. package/dist/command-receipt/effect-schema.d.ts.map +1 -1
  95. package/dist/command-receipt/effect-schema.js +7 -0
  96. package/dist/command-receipt/effect-schema.js.map +1 -1
  97. package/dist/command-receipt/feature.d.ts +10 -0
  98. package/dist/command-receipt/feature.d.ts.map +1 -1
  99. package/dist/command-receipt/feature.js +10 -0
  100. package/dist/command-receipt/feature.js.map +1 -1
  101. package/dist/connection/access-effect-schema.d.ts +4 -0
  102. package/dist/connection/access-effect-schema.d.ts.map +1 -1
  103. package/dist/connection/contract.d.ts +205 -2
  104. package/dist/connection/contract.d.ts.map +1 -1
  105. package/dist/connection/contract.js +10 -1
  106. package/dist/connection/contract.js.map +1 -1
  107. package/dist/connection/effect-schema.d.ts +194 -2
  108. package/dist/connection/effect-schema.d.ts.map +1 -1
  109. package/dist/connection/effect-schema.js +3 -0
  110. package/dist/connection/effect-schema.js.map +1 -1
  111. package/dist/connection/executors-effect-schema.d.ts +275 -0
  112. package/dist/connection/executors-effect-schema.d.ts.map +1 -0
  113. package/dist/connection/executors-effect-schema.js +80 -0
  114. package/dist/connection/executors-effect-schema.js.map +1 -0
  115. package/dist/connection/feature.d.ts +301 -10
  116. package/dist/connection/feature.d.ts.map +1 -1
  117. package/dist/connection/feature.js +381 -46
  118. package/dist/connection/feature.js.map +1 -1
  119. package/dist/connection/gateway-effect-schema.d.ts +15 -5
  120. package/dist/connection/gateway-effect-schema.d.ts.map +1 -1
  121. package/dist/connection/gateway-effect-schema.js +25 -12
  122. package/dist/connection/gateway-effect-schema.js.map +1 -1
  123. package/dist/connection/index.d.ts +1 -1
  124. package/dist/connection/index.d.ts.map +1 -1
  125. package/dist/connection/index.js +1 -1
  126. package/dist/connection/index.js.map +1 -1
  127. package/dist/connection/request-effect-schema.d.ts +23 -4
  128. package/dist/connection/request-effect-schema.d.ts.map +1 -1
  129. package/dist/connection/request-effect-schema.js +42 -14
  130. package/dist/connection/request-effect-schema.js.map +1 -1
  131. package/dist/connection/result-effect-schema.d.ts +98 -6
  132. package/dist/connection/result-effect-schema.d.ts.map +1 -1
  133. package/dist/connection/result-effect-schema.js +4 -3
  134. package/dist/connection/result-effect-schema.js.map +1 -1
  135. package/dist/connection/system-effect-schema.d.ts +16 -0
  136. package/dist/connection/system-effect-schema.d.ts.map +1 -1
  137. package/dist/connection/system-effect-schema.js +5 -5
  138. package/dist/connection/system-effect-schema.js.map +1 -1
  139. package/dist/container/contract.d.ts +2 -0
  140. package/dist/container/contract.d.ts.map +1 -1
  141. package/dist/container/effect-schema.d.ts +4 -0
  142. package/dist/container/effect-schema.d.ts.map +1 -1
  143. package/dist/container/portfolio-feature.d.ts +286 -0
  144. package/dist/container/portfolio-feature.d.ts.map +1 -1
  145. package/dist/container/portfolio-feature.js +131 -0
  146. package/dist/container/portfolio-feature.js.map +1 -1
  147. package/dist/coordinator-tool/index.d.ts +1 -1
  148. package/dist/coordinator-tool/index.d.ts.map +1 -1
  149. package/dist/coordinator-tool/index.js +1 -1
  150. package/dist/coordinator-tool/index.js.map +1 -1
  151. package/dist/coordinator-tool/input-schema.d.ts +0 -7
  152. package/dist/coordinator-tool/input-schema.d.ts.map +1 -1
  153. package/dist/coordinator-tool/input-schema.js +0 -38
  154. package/dist/coordinator-tool/input-schema.js.map +1 -1
  155. package/dist/coordinator-tool/registry.d.ts +21 -0
  156. package/dist/coordinator-tool/registry.d.ts.map +1 -1
  157. package/dist/coordinator-tool/registry.js +163 -4
  158. package/dist/coordinator-tool/registry.js.map +1 -1
  159. package/dist/discovery/contract.d.ts +141 -2
  160. package/dist/discovery/contract.d.ts.map +1 -1
  161. package/dist/discovery/contract.js +11 -1
  162. package/dist/discovery/contract.js.map +1 -1
  163. package/dist/discovery/effect-schema.d.ts +325 -6
  164. package/dist/discovery/effect-schema.d.ts.map +1 -1
  165. package/dist/discovery/effect-schema.js +157 -8
  166. package/dist/discovery/effect-schema.js.map +1 -1
  167. package/dist/discovery/feature.d.ts +82 -2
  168. package/dist/discovery/feature.d.ts.map +1 -1
  169. package/dist/discovery/feature.js +78 -2
  170. package/dist/discovery/feature.js.map +1 -1
  171. package/dist/discovery/index.d.ts +1 -1
  172. package/dist/discovery/index.d.ts.map +1 -1
  173. package/dist/discovery/index.js +1 -1
  174. package/dist/discovery/index.js.map +1 -1
  175. package/dist/envelope/effect-schema.d.ts +38 -17
  176. package/dist/envelope/effect-schema.d.ts.map +1 -1
  177. package/dist/envelope/effect-schema.js +30 -8
  178. package/dist/envelope/effect-schema.js.map +1 -1
  179. package/dist/envelope/envelope.d.ts +25 -3
  180. package/dist/envelope/envelope.d.ts.map +1 -1
  181. package/dist/envelope/envelope.js +37 -1
  182. package/dist/envelope/envelope.js.map +1 -1
  183. package/dist/envelope/index.d.ts +2 -2
  184. package/dist/envelope/index.d.ts.map +1 -1
  185. package/dist/envelope/index.js +2 -2
  186. package/dist/envelope/index.js.map +1 -1
  187. package/dist/envelope/policy.d.ts +11 -0
  188. package/dist/envelope/policy.d.ts.map +1 -1
  189. package/dist/envelope/policy.js +13 -0
  190. package/dist/envelope/policy.js.map +1 -1
  191. package/dist/event/contract.d.ts +47 -0
  192. package/dist/event/contract.d.ts.map +1 -1
  193. package/dist/event/contract.js +3 -0
  194. package/dist/event/contract.js.map +1 -1
  195. package/dist/event/effect-schema.d.ts +3 -1
  196. package/dist/event/effect-schema.d.ts.map +1 -1
  197. package/dist/event/effect-schema.js +3 -1
  198. package/dist/event/effect-schema.js.map +1 -1
  199. package/dist/event/envelope-effect-schema.d.ts +2 -0
  200. package/dist/event/envelope-effect-schema.d.ts.map +1 -1
  201. package/dist/event/envelope-effect-schema.js +2 -0
  202. package/dist/event/envelope-effect-schema.js.map +1 -1
  203. package/dist/event/feature.d.ts +35 -0
  204. package/dist/event/feature.d.ts.map +1 -0
  205. package/dist/event/feature.js +39 -0
  206. package/dist/event/feature.js.map +1 -0
  207. package/dist/event/format.d.ts +6 -0
  208. package/dist/event/format.d.ts.map +1 -1
  209. package/dist/event/format.js +6 -0
  210. package/dist/event/format.js.map +1 -1
  211. package/dist/event/index.d.ts +4 -1
  212. package/dist/event/index.d.ts.map +1 -1
  213. package/dist/event/index.js +4 -1
  214. package/dist/event/index.js.map +1 -1
  215. package/dist/event/lifecycle/effect-schema.d.ts +31 -0
  216. package/dist/event/lifecycle/effect-schema.d.ts.map +1 -0
  217. package/dist/event/lifecycle/effect-schema.js +36 -0
  218. package/dist/event/lifecycle/effect-schema.js.map +1 -0
  219. package/dist/event/lifecycle/index.d.ts +2 -0
  220. package/dist/event/lifecycle/index.d.ts.map +1 -0
  221. package/dist/event/lifecycle/index.js +2 -0
  222. package/dist/event/lifecycle/index.js.map +1 -0
  223. package/dist/event/lifecycle/schema.d.ts +20 -0
  224. package/dist/event/lifecycle/schema.d.ts.map +1 -0
  225. package/dist/event/lifecycle/schema.js +7 -0
  226. package/dist/event/lifecycle/schema.js.map +1 -0
  227. package/dist/event/read-effect-schema.d.ts +105 -0
  228. package/dist/event/read-effect-schema.d.ts.map +1 -0
  229. package/dist/event/read-effect-schema.js +64 -0
  230. package/dist/event/read-effect-schema.js.map +1 -0
  231. package/dist/event/registry.d.ts +5 -0
  232. package/dist/event/registry.d.ts.map +1 -1
  233. package/dist/event/registry.js +291 -8
  234. package/dist/event/registry.js.map +1 -1
  235. package/dist/event/session-activity-effect-schema.d.ts +36 -0
  236. package/dist/event/session-activity-effect-schema.d.ts.map +1 -0
  237. package/dist/event/session-activity-effect-schema.js +58 -0
  238. package/dist/event/session-activity-effect-schema.js.map +1 -0
  239. package/dist/event/session-activity.d.ts +30 -0
  240. package/dist/event/session-activity.d.ts.map +1 -0
  241. package/dist/event/session-activity.js +19 -0
  242. package/dist/event/session-activity.js.map +1 -0
  243. package/dist/event/update-effect-schema.d.ts +20 -0
  244. package/dist/event/update-effect-schema.d.ts.map +1 -0
  245. package/dist/event/update-effect-schema.js +29 -0
  246. package/dist/event/update-effect-schema.js.map +1 -0
  247. package/dist/event/update.d.ts +16 -0
  248. package/dist/event/update.d.ts.map +1 -0
  249. package/dist/event/update.js +6 -0
  250. package/dist/event/update.js.map +1 -0
  251. package/dist/event/waiting/effect-schema.d.ts +42 -0
  252. package/dist/event/waiting/effect-schema.d.ts.map +1 -0
  253. package/dist/event/waiting/effect-schema.js +51 -0
  254. package/dist/event/waiting/effect-schema.js.map +1 -0
  255. package/dist/event/waiting/index.d.ts +2 -0
  256. package/dist/event/waiting/index.d.ts.map +1 -0
  257. package/dist/event/waiting/index.js +2 -0
  258. package/dist/event/waiting/index.js.map +1 -0
  259. package/dist/event/waiting/schema.d.ts +23 -0
  260. package/dist/event/waiting/schema.d.ts.map +1 -0
  261. package/dist/event/waiting/schema.js +6 -0
  262. package/dist/event/waiting/schema.js.map +1 -0
  263. package/dist/event-stream/contract.d.ts +121 -0
  264. package/dist/event-stream/contract.d.ts.map +1 -0
  265. package/dist/event-stream/contract.js +5 -0
  266. package/dist/event-stream/contract.js.map +1 -0
  267. package/dist/event-stream/effect-schema.d.ts +118 -0
  268. package/dist/event-stream/effect-schema.d.ts.map +1 -0
  269. package/dist/event-stream/effect-schema.js +90 -0
  270. package/dist/event-stream/effect-schema.js.map +1 -0
  271. package/dist/event-stream/index.d.ts +2 -0
  272. package/dist/event-stream/index.d.ts.map +1 -0
  273. package/dist/event-stream/index.js +2 -0
  274. package/dist/event-stream/index.js.map +1 -0
  275. package/dist/execution/contract.d.ts +1 -0
  276. package/dist/execution/contract.d.ts.map +1 -1
  277. package/dist/execution/effect-schema.d.ts +6 -0
  278. package/dist/execution/effect-schema.d.ts.map +1 -1
  279. package/dist/execution/feature.d.ts +575 -0
  280. package/dist/execution/feature.d.ts.map +1 -0
  281. package/dist/execution/feature.js +543 -0
  282. package/dist/execution/feature.js.map +1 -0
  283. package/dist/execution/file-operation-contract.d.ts +1 -0
  284. package/dist/execution/file-operation-contract.d.ts.map +1 -1
  285. package/dist/execution/file-operation-effect-schema.d.ts +1 -0
  286. package/dist/execution/file-operation-effect-schema.d.ts.map +1 -1
  287. package/dist/execution/index.d.ts +1 -0
  288. package/dist/execution/index.d.ts.map +1 -1
  289. package/dist/execution/index.js +1 -0
  290. package/dist/execution/index.js.map +1 -1
  291. package/dist/execution/operation-contract.d.ts +1 -0
  292. package/dist/execution/operation-contract.d.ts.map +1 -1
  293. package/dist/execution/operation-effect-schema.d.ts +1 -0
  294. package/dist/execution/operation-effect-schema.d.ts.map +1 -1
  295. package/dist/execution/placement/contract.d.ts +4 -0
  296. package/dist/execution/placement/contract.d.ts.map +1 -1
  297. package/dist/execution/placement/effect-schema.d.ts +4 -0
  298. package/dist/execution/placement/effect-schema.d.ts.map +1 -1
  299. package/dist/execution/relocation/contract.d.ts +2 -0
  300. package/dist/execution/relocation/contract.d.ts.map +1 -1
  301. package/dist/execution/relocation/effect-schema.d.ts +4 -0
  302. package/dist/execution/relocation/effect-schema.d.ts.map +1 -1
  303. package/dist/execution/worktree/contract.d.ts +12 -0
  304. package/dist/execution/worktree/contract.d.ts.map +1 -1
  305. package/dist/execution/worktree/effect-schema.d.ts +20 -0
  306. package/dist/execution/worktree/effect-schema.d.ts.map +1 -1
  307. package/dist/execution/worktree/effect-schema.js +11 -0
  308. package/dist/execution/worktree/effect-schema.js.map +1 -1
  309. package/dist/executor/index.d.ts +2 -0
  310. package/dist/executor/index.d.ts.map +1 -0
  311. package/dist/executor/index.js +2 -0
  312. package/dist/executor/index.js.map +1 -0
  313. package/dist/executor/policy.d.ts +28 -0
  314. package/dist/executor/policy.d.ts.map +1 -0
  315. package/dist/executor/policy.js +49 -0
  316. package/dist/executor/policy.js.map +1 -0
  317. package/dist/feature/descriptor/descriptor.d.ts +42 -2
  318. package/dist/feature/descriptor/descriptor.d.ts.map +1 -1
  319. package/dist/feature/descriptor/descriptor.js.map +1 -1
  320. package/dist/feature/descriptor/index.d.ts +1 -1
  321. package/dist/feature/descriptor/index.d.ts.map +1 -1
  322. package/dist/feature/descriptor/index.js.map +1 -1
  323. package/dist/feature/index.d.ts +1 -1
  324. package/dist/feature/index.d.ts.map +1 -1
  325. package/dist/feature/index.js +1 -1
  326. package/dist/feature/index.js.map +1 -1
  327. package/dist/feature/node-status.d.ts +65 -1
  328. package/dist/feature/node-status.d.ts.map +1 -1
  329. package/dist/feature/node-status.js +59 -1
  330. package/dist/feature/node-status.js.map +1 -1
  331. package/dist/feature/registry.d.ts +59 -4
  332. package/dist/feature/registry.d.ts.map +1 -1
  333. package/dist/feature/registry.js +53 -0
  334. package/dist/feature/registry.js.map +1 -1
  335. package/dist/github/contract.d.ts +266 -0
  336. package/dist/github/contract.d.ts.map +1 -0
  337. package/dist/github/contract.js +30 -0
  338. package/dist/github/contract.js.map +1 -0
  339. package/dist/github/effect-schema.d.ts +488 -0
  340. package/dist/github/effect-schema.d.ts.map +1 -0
  341. package/dist/github/effect-schema.js +231 -0
  342. package/dist/github/effect-schema.js.map +1 -0
  343. package/dist/github/feature.d.ts +201 -0
  344. package/dist/github/feature.d.ts.map +1 -0
  345. package/dist/github/feature.js +195 -0
  346. package/dist/github/feature.js.map +1 -0
  347. package/dist/github/index.d.ts +3 -0
  348. package/dist/github/index.d.ts.map +1 -0
  349. package/dist/github/index.js +3 -0
  350. package/dist/github/index.js.map +1 -0
  351. package/dist/goal/contract.d.ts +449 -0
  352. package/dist/goal/contract.d.ts.map +1 -0
  353. package/dist/goal/contract.js +37 -0
  354. package/dist/goal/contract.js.map +1 -0
  355. package/dist/goal/effect-schema.d.ts +870 -0
  356. package/dist/goal/effect-schema.d.ts.map +1 -0
  357. package/dist/goal/effect-schema.js +349 -0
  358. package/dist/goal/effect-schema.js.map +1 -0
  359. package/dist/goal/feature.d.ts +256 -0
  360. package/dist/goal/feature.d.ts.map +1 -0
  361. package/dist/goal/feature.js +237 -0
  362. package/dist/goal/feature.js.map +1 -0
  363. package/dist/goal/index.d.ts +3 -0
  364. package/dist/goal/index.d.ts.map +1 -0
  365. package/dist/goal/index.js +3 -0
  366. package/dist/goal/index.js.map +1 -0
  367. package/dist/harness/installed/effect-schema.d.ts.map +1 -1
  368. package/dist/harness/installed/effect-schema.js +2 -1
  369. package/dist/harness/installed/effect-schema.js.map +1 -1
  370. package/dist/harness/installed/feature.d.ts +35 -0
  371. package/dist/harness/installed/feature.d.ts.map +1 -0
  372. package/dist/harness/installed/feature.js +39 -0
  373. package/dist/harness/installed/feature.js.map +1 -0
  374. package/dist/harness/installed/index.d.ts +1 -0
  375. package/dist/harness/installed/index.d.ts.map +1 -1
  376. package/dist/harness/installed/index.js +1 -0
  377. package/dist/harness/installed/index.js.map +1 -1
  378. package/dist/hold/contract.d.ts +2 -0
  379. package/dist/hold/contract.d.ts.map +1 -1
  380. package/dist/hold/effect-schema.d.ts +4 -0
  381. package/dist/hold/effect-schema.d.ts.map +1 -1
  382. package/dist/hold/feature.d.ts +155 -0
  383. package/dist/hold/feature.d.ts.map +1 -0
  384. package/dist/hold/feature.js +151 -0
  385. package/dist/hold/feature.js.map +1 -0
  386. package/dist/hold/index.d.ts +1 -0
  387. package/dist/hold/index.d.ts.map +1 -1
  388. package/dist/hold/index.js +1 -0
  389. package/dist/hold/index.js.map +1 -1
  390. package/dist/inbox/contract.d.ts +386 -0
  391. package/dist/inbox/contract.d.ts.map +1 -0
  392. package/dist/inbox/contract.js +20 -0
  393. package/dist/inbox/contract.js.map +1 -0
  394. package/dist/inbox/effect-schema.d.ts +750 -0
  395. package/dist/inbox/effect-schema.d.ts.map +1 -0
  396. package/dist/inbox/effect-schema.js +246 -0
  397. package/dist/inbox/effect-schema.js.map +1 -0
  398. package/dist/inbox/feature.d.ts +164 -0
  399. package/dist/inbox/feature.d.ts.map +1 -0
  400. package/dist/inbox/feature.js +160 -0
  401. package/dist/inbox/feature.js.map +1 -0
  402. package/dist/inbox/index.d.ts +3 -0
  403. package/dist/inbox/index.d.ts.map +1 -0
  404. package/dist/inbox/index.js +3 -0
  405. package/dist/inbox/index.js.map +1 -0
  406. package/dist/index.d.ts +29 -16
  407. package/dist/index.d.ts.map +1 -1
  408. package/dist/index.js +29 -16
  409. package/dist/index.js.map +1 -1
  410. package/dist/integration-authorization/claude-code-contract.d.ts +3 -0
  411. package/dist/integration-authorization/claude-code-contract.d.ts.map +1 -1
  412. package/dist/integration-authorization/contract.d.ts +141 -12
  413. package/dist/integration-authorization/contract.d.ts.map +1 -1
  414. package/dist/integration-authorization/contract.js +37 -1
  415. package/dist/integration-authorization/contract.js.map +1 -1
  416. package/dist/integration-authorization/effect-schema.d.ts +5961 -1583
  417. package/dist/integration-authorization/effect-schema.d.ts.map +1 -1
  418. package/dist/integration-authorization/effect-schema.js +157 -6
  419. package/dist/integration-authorization/effect-schema.js.map +1 -1
  420. package/dist/integration-authorization/feature.d.ts +845 -0
  421. package/dist/integration-authorization/feature.d.ts.map +1 -0
  422. package/dist/integration-authorization/feature.js +795 -0
  423. package/dist/integration-authorization/feature.js.map +1 -0
  424. package/dist/integration-authorization/index.d.ts +5 -0
  425. package/dist/integration-authorization/index.d.ts.map +1 -1
  426. package/dist/integration-authorization/index.js +5 -0
  427. package/dist/integration-authorization/index.js.map +1 -1
  428. package/dist/integration-authorization/pi-rpc-contract.d.ts +3 -0
  429. package/dist/integration-authorization/pi-rpc-contract.d.ts.map +1 -1
  430. package/dist/integration-authorization/policy.d.ts +6 -1
  431. package/dist/integration-authorization/policy.d.ts.map +1 -1
  432. package/dist/integration-authorization/policy.js +6 -1
  433. package/dist/integration-authorization/policy.js.map +1 -1
  434. package/dist/interaction/effect-schema.d.ts +1 -1
  435. package/dist/interaction/effect-schema.d.ts.map +1 -1
  436. package/dist/interaction/effect-schema.js +1 -1
  437. package/dist/interaction/effect-schema.js.map +1 -1
  438. package/dist/interaction/feature.d.ts +50 -0
  439. package/dist/interaction/feature.d.ts.map +1 -1
  440. package/dist/interaction/feature.js +48 -0
  441. package/dist/interaction/feature.js.map +1 -1
  442. package/dist/interaction/result-contract.d.ts +3 -0
  443. package/dist/interaction/result-contract.d.ts.map +1 -1
  444. package/dist/interaction/result-effect-schema.d.ts +6 -0
  445. package/dist/interaction/result-effect-schema.d.ts.map +1 -1
  446. package/dist/invocation-context/contract.d.ts +2 -1
  447. package/dist/invocation-context/contract.d.ts.map +1 -1
  448. package/dist/invocation-context/effect-schema.d.ts +12 -2
  449. package/dist/invocation-context/effect-schema.d.ts.map +1 -1
  450. package/dist/invocation-context/effect-schema.js +24 -3
  451. package/dist/invocation-context/effect-schema.js.map +1 -1
  452. package/dist/invocation-context/feature.d.ts +35 -0
  453. package/dist/invocation-context/feature.d.ts.map +1 -0
  454. package/dist/invocation-context/feature.js +39 -0
  455. package/dist/invocation-context/feature.js.map +1 -0
  456. package/dist/invocation-context/index.d.ts +1 -0
  457. package/dist/invocation-context/index.d.ts.map +1 -1
  458. package/dist/invocation-context/index.js +1 -0
  459. package/dist/invocation-context/index.js.map +1 -1
  460. package/dist/invocation-context/policy.d.ts +6 -1
  461. package/dist/invocation-context/policy.d.ts.map +1 -1
  462. package/dist/invocation-context/policy.js +7 -1
  463. package/dist/invocation-context/policy.js.map +1 -1
  464. package/dist/local-node/contract.d.ts +57 -18
  465. package/dist/local-node/contract.d.ts.map +1 -1
  466. package/dist/local-node/contract.js +3 -1
  467. package/dist/local-node/contract.js.map +1 -1
  468. package/dist/local-node/effect-schema.d.ts +3999 -1303
  469. package/dist/local-node/effect-schema.d.ts.map +1 -1
  470. package/dist/local-node/effect-schema.js +125 -10
  471. package/dist/local-node/effect-schema.js.map +1 -1
  472. package/dist/local-node/index.d.ts +2 -2
  473. package/dist/local-node/index.d.ts.map +1 -1
  474. package/dist/local-node/index.js +2 -2
  475. package/dist/local-node/index.js.map +1 -1
  476. package/dist/local-node/node-api/index.d.ts +2 -2
  477. package/dist/local-node/node-api/index.d.ts.map +1 -1
  478. package/dist/local-node/node-api/index.js +2 -2
  479. package/dist/local-node/node-api/index.js.map +1 -1
  480. package/dist/local-node/node-api/methods.d.ts +11 -215
  481. package/dist/local-node/node-api/methods.d.ts.map +1 -1
  482. package/dist/local-node/node-api/methods.js +151 -215
  483. package/dist/local-node/node-api/methods.js.map +1 -1
  484. package/dist/local-node/node-api/policy.d.ts +33 -0
  485. package/dist/local-node/node-api/policy.d.ts.map +1 -1
  486. package/dist/local-node/node-api/policy.js +33 -0
  487. package/dist/local-node/node-api/policy.js.map +1 -1
  488. package/dist/local-node/receipt-list.d.ts +6 -7
  489. package/dist/local-node/receipt-list.d.ts.map +1 -1
  490. package/dist/local-node/receipt-list.js +66 -7
  491. package/dist/local-node/receipt-list.js.map +1 -1
  492. package/dist/node-update/contract.d.ts +198 -0
  493. package/dist/node-update/contract.d.ts.map +1 -0
  494. package/dist/node-update/contract.js +22 -0
  495. package/dist/node-update/contract.js.map +1 -0
  496. package/dist/node-update/effect-schema.d.ts +435 -0
  497. package/dist/node-update/effect-schema.d.ts.map +1 -0
  498. package/dist/node-update/effect-schema.js +307 -0
  499. package/dist/node-update/effect-schema.js.map +1 -0
  500. package/dist/node-update/feature.d.ts +379 -0
  501. package/dist/node-update/feature.d.ts.map +1 -0
  502. package/dist/node-update/feature.js +363 -0
  503. package/dist/node-update/feature.js.map +1 -0
  504. package/dist/node-update/index.d.ts +3 -0
  505. package/dist/node-update/index.d.ts.map +1 -0
  506. package/dist/node-update/index.js +3 -0
  507. package/dist/node-update/index.js.map +1 -0
  508. package/dist/orchestration/contract.d.ts +6 -0
  509. package/dist/orchestration/contract.d.ts.map +1 -1
  510. package/dist/orchestration/effect-schema.d.ts +14 -2
  511. package/dist/orchestration/effect-schema.d.ts.map +1 -1
  512. package/dist/orchestration/effect-schema.js +2 -2
  513. package/dist/orchestration/effect-schema.js.map +1 -1
  514. package/dist/orchestration/feature.d.ts +235 -0
  515. package/dist/orchestration/feature.d.ts.map +1 -1
  516. package/dist/orchestration/feature.js +227 -0
  517. package/dist/orchestration/feature.js.map +1 -1
  518. package/dist/orchestration/topology.d.ts +11 -1
  519. package/dist/orchestration/topology.d.ts.map +1 -1
  520. package/dist/orchestration/topology.js +38 -29
  521. package/dist/orchestration/topology.js.map +1 -1
  522. package/dist/pairing/contract.d.ts +86 -0
  523. package/dist/pairing/contract.d.ts.map +1 -0
  524. package/dist/pairing/contract.js +12 -0
  525. package/dist/pairing/contract.js.map +1 -0
  526. package/dist/pairing/effect-schema.d.ts +166 -0
  527. package/dist/pairing/effect-schema.d.ts.map +1 -0
  528. package/dist/pairing/effect-schema.js +94 -0
  529. package/dist/pairing/effect-schema.js.map +1 -0
  530. package/dist/pairing/feature.d.ts +141 -0
  531. package/dist/pairing/feature.d.ts.map +1 -0
  532. package/dist/pairing/feature.js +139 -0
  533. package/dist/pairing/feature.js.map +1 -0
  534. package/dist/pairing/index.d.ts +3 -0
  535. package/dist/pairing/index.d.ts.map +1 -0
  536. package/dist/pairing/index.js +3 -0
  537. package/dist/pairing/index.js.map +1 -0
  538. package/dist/port-lease/contract.d.ts +3 -0
  539. package/dist/port-lease/contract.d.ts.map +1 -1
  540. package/dist/port-lease/feature.d.ts +21 -0
  541. package/dist/port-lease/feature.d.ts.map +1 -1
  542. package/dist/port-lease/feature.js +21 -0
  543. package/dist/port-lease/feature.js.map +1 -1
  544. package/dist/port-lease/result-effect-schema.d.ts +6 -0
  545. package/dist/port-lease/result-effect-schema.d.ts.map +1 -1
  546. package/dist/presentation/contract.d.ts +42 -2
  547. package/dist/presentation/contract.d.ts.map +1 -1
  548. package/dist/presentation/effect-schema.d.ts +38 -2
  549. package/dist/presentation/effect-schema.d.ts.map +1 -1
  550. package/dist/presentation/feature.d.ts +20 -0
  551. package/dist/presentation/feature.d.ts.map +1 -1
  552. package/dist/presentation/feature.js +20 -0
  553. package/dist/presentation/feature.js.map +1 -1
  554. package/dist/presentation/session-list-effect-schema.d.ts +38 -2
  555. package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
  556. package/dist/principal/contract.d.ts +104 -0
  557. package/dist/principal/contract.d.ts.map +1 -0
  558. package/dist/principal/contract.js +18 -0
  559. package/dist/principal/contract.js.map +1 -0
  560. package/dist/principal/effect-schema.d.ts +166 -0
  561. package/dist/principal/effect-schema.d.ts.map +1 -0
  562. package/dist/principal/effect-schema.js +93 -0
  563. package/dist/principal/effect-schema.js.map +1 -0
  564. package/dist/principal/feature.d.ts +111 -0
  565. package/dist/principal/feature.d.ts.map +1 -0
  566. package/dist/principal/feature.js +111 -0
  567. package/dist/principal/feature.js.map +1 -0
  568. package/dist/principal/index.d.ts +3 -0
  569. package/dist/principal/index.d.ts.map +1 -0
  570. package/dist/principal/index.js +3 -0
  571. package/dist/principal/index.js.map +1 -0
  572. package/dist/project-workspace/contract.d.ts +351 -2
  573. package/dist/project-workspace/contract.d.ts.map +1 -1
  574. package/dist/project-workspace/contract.js +34 -2
  575. package/dist/project-workspace/contract.js.map +1 -1
  576. package/dist/project-workspace/effect-schema.d.ts +403 -0
  577. package/dist/project-workspace/effect-schema.d.ts.map +1 -1
  578. package/dist/project-workspace/effect-schema.js +105 -1
  579. package/dist/project-workspace/effect-schema.js.map +1 -1
  580. package/dist/project-workspace/feature.d.ts +659 -1
  581. package/dist/project-workspace/feature.d.ts.map +1 -1
  582. package/dist/project-workspace/feature.js +625 -1
  583. package/dist/project-workspace/feature.js.map +1 -1
  584. package/dist/project-workspace/git-effect-schema.d.ts +93 -0
  585. package/dist/project-workspace/git-effect-schema.d.ts.map +1 -0
  586. package/dist/project-workspace/git-effect-schema.js +81 -0
  587. package/dist/project-workspace/git-effect-schema.js.map +1 -0
  588. package/dist/project-workspace/index.d.ts +2 -2
  589. package/dist/project-workspace/index.d.ts.map +1 -1
  590. package/dist/project-workspace/index.js +2 -2
  591. package/dist/project-workspace/index.js.map +1 -1
  592. package/dist/project-workspace/knowledge-effect-schema.d.ts +413 -0
  593. package/dist/project-workspace/knowledge-effect-schema.d.ts.map +1 -0
  594. package/dist/project-workspace/knowledge-effect-schema.js +232 -0
  595. package/dist/project-workspace/knowledge-effect-schema.js.map +1 -0
  596. package/dist/project-workspace/policy.d.ts +40 -0
  597. package/dist/project-workspace/policy.d.ts.map +1 -1
  598. package/dist/project-workspace/policy.js +39 -0
  599. package/dist/project-workspace/policy.js.map +1 -1
  600. package/dist/provider/feature.d.ts +35 -0
  601. package/dist/provider/feature.d.ts.map +1 -0
  602. package/dist/provider/feature.js +39 -0
  603. package/dist/provider/feature.js.map +1 -0
  604. package/dist/provider/index.d.ts +1 -0
  605. package/dist/provider/index.d.ts.map +1 -1
  606. package/dist/provider/index.js +1 -0
  607. package/dist/provider/index.js.map +1 -1
  608. package/dist/reach/address.d.ts +18 -0
  609. package/dist/reach/address.d.ts.map +1 -0
  610. package/dist/reach/address.js +42 -0
  611. package/dist/reach/address.js.map +1 -0
  612. package/dist/reach/contract.d.ts +68 -0
  613. package/dist/reach/contract.d.ts.map +1 -0
  614. package/dist/reach/contract.js +8 -0
  615. package/dist/reach/contract.js.map +1 -0
  616. package/dist/reach/effect-schema.d.ts +134 -0
  617. package/dist/reach/effect-schema.d.ts.map +1 -0
  618. package/dist/reach/effect-schema.js +69 -0
  619. package/dist/reach/effect-schema.js.map +1 -0
  620. package/dist/reach/feature.d.ts +106 -0
  621. package/dist/reach/feature.d.ts.map +1 -0
  622. package/dist/reach/feature.js +106 -0
  623. package/dist/reach/feature.js.map +1 -0
  624. package/dist/reach/index.d.ts +4 -0
  625. package/dist/reach/index.d.ts.map +1 -0
  626. package/dist/reach/index.js +4 -0
  627. package/dist/reach/index.js.map +1 -0
  628. package/dist/reference/feature.d.ts +5 -0
  629. package/dist/reference/feature.d.ts.map +1 -1
  630. package/dist/reference/feature.js +5 -0
  631. package/dist/reference/feature.js.map +1 -1
  632. package/dist/release/version.d.ts +2 -2
  633. package/dist/release/version.d.ts.map +1 -1
  634. package/dist/release/version.js +2 -2
  635. package/dist/release/version.js.map +1 -1
  636. package/dist/remote-node/bridge-effect-schema.js +2 -2
  637. package/dist/remote-node/contract.d.ts +103 -2
  638. package/dist/remote-node/contract.d.ts.map +1 -1
  639. package/dist/remote-node/effect-schema.d.ts +1 -1
  640. package/dist/remote-node/effect-schema.d.ts.map +1 -1
  641. package/dist/remote-node/effect-schema.js +1 -1
  642. package/dist/remote-node/effect-schema.js.map +1 -1
  643. package/dist/remote-node/feature.d.ts +185 -0
  644. package/dist/remote-node/feature.d.ts.map +1 -1
  645. package/dist/remote-node/feature.js +173 -0
  646. package/dist/remote-node/feature.js.map +1 -1
  647. package/dist/remote-node/request-effect-schema.d.ts +4 -4
  648. package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
  649. package/dist/remote-node/request-effect-schema.js +2 -1
  650. package/dist/remote-node/request-effect-schema.js.map +1 -1
  651. package/dist/remote-node/result-effect-schema.d.ts +194 -1
  652. package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
  653. package/dist/remote-node/result-effect-schema.js +13 -2
  654. package/dist/remote-node/result-effect-schema.js.map +1 -1
  655. package/dist/routine/contract.d.ts +644 -18
  656. package/dist/routine/contract.d.ts.map +1 -1
  657. package/dist/routine/contract.js +28 -2
  658. package/dist/routine/contract.js.map +1 -1
  659. package/dist/routine/effect-schema.d.ts +1489 -218
  660. package/dist/routine/effect-schema.d.ts.map +1 -1
  661. package/dist/routine/effect-schema.js +358 -20
  662. package/dist/routine/effect-schema.js.map +1 -1
  663. package/dist/routine/feature.d.ts +336 -11
  664. package/dist/routine/feature.d.ts.map +1 -1
  665. package/dist/routine/feature.js +318 -11
  666. package/dist/routine/feature.js.map +1 -1
  667. package/dist/routine/index.d.ts +1 -1
  668. package/dist/routine/index.d.ts.map +1 -1
  669. package/dist/routine/index.js +1 -1
  670. package/dist/routine/index.js.map +1 -1
  671. package/dist/routine/policy.d.ts +55 -3
  672. package/dist/routine/policy.d.ts.map +1 -1
  673. package/dist/routine/policy.js +46 -1
  674. package/dist/routine/policy.js.map +1 -1
  675. package/dist/run-ledger/contract.d.ts +47 -0
  676. package/dist/run-ledger/contract.d.ts.map +1 -1
  677. package/dist/run-ledger/feature.d.ts +32 -0
  678. package/dist/run-ledger/feature.d.ts.map +1 -1
  679. package/dist/run-ledger/feature.js +32 -0
  680. package/dist/run-ledger/feature.js.map +1 -1
  681. package/dist/run-ledger/result-effect-schema.d.ts +94 -0
  682. package/dist/run-ledger/result-effect-schema.d.ts.map +1 -1
  683. package/dist/runtime/effect-schema.d.ts.map +1 -1
  684. package/dist/runtime/effect-schema.js +2 -1
  685. package/dist/runtime/effect-schema.js.map +1 -1
  686. package/dist/runtime/feature.d.ts +35 -0
  687. package/dist/runtime/feature.d.ts.map +1 -0
  688. package/dist/runtime/feature.js +39 -0
  689. package/dist/runtime/feature.js.map +1 -0
  690. package/dist/runtime/index.d.ts +1 -0
  691. package/dist/runtime/index.d.ts.map +1 -1
  692. package/dist/runtime/index.js +1 -0
  693. package/dist/runtime/index.js.map +1 -1
  694. package/dist/runtime-schema/effect-json-schema.d.ts +9 -0
  695. package/dist/runtime-schema/effect-json-schema.d.ts.map +1 -0
  696. package/dist/runtime-schema/effect-json-schema.js +41 -0
  697. package/dist/runtime-schema/effect-json-schema.js.map +1 -0
  698. package/dist/runtime-schema/effect-schema.d.ts +1 -0
  699. package/dist/runtime-schema/effect-schema.d.ts.map +1 -1
  700. package/dist/runtime-schema/effect-schema.js +1 -0
  701. package/dist/runtime-schema/effect-schema.js.map +1 -1
  702. package/dist/secret/contract.d.ts +107 -0
  703. package/dist/secret/contract.d.ts.map +1 -0
  704. package/dist/secret/contract.js +34 -0
  705. package/dist/secret/contract.js.map +1 -0
  706. package/dist/secret/effect-schema.d.ts +185 -0
  707. package/dist/secret/effect-schema.d.ts.map +1 -0
  708. package/dist/secret/effect-schema.js +113 -0
  709. package/dist/secret/effect-schema.js.map +1 -0
  710. package/dist/secret/feature.d.ts +103 -0
  711. package/dist/secret/feature.d.ts.map +1 -0
  712. package/dist/secret/feature.js +103 -0
  713. package/dist/secret/feature.js.map +1 -0
  714. package/dist/secret/index.d.ts +3 -0
  715. package/dist/secret/index.d.ts.map +1 -0
  716. package/dist/secret/index.js +3 -0
  717. package/dist/secret/index.js.map +1 -0
  718. package/dist/session/agent-permission-contract.d.ts +6 -5
  719. package/dist/session/agent-permission-contract.d.ts.map +1 -1
  720. package/dist/session/agent-permission-effect-schema.d.ts +11 -9
  721. package/dist/session/agent-permission-effect-schema.d.ts.map +1 -1
  722. package/dist/session/agent-permission-effect-schema.js +2 -2
  723. package/dist/session/agent-permission-effect-schema.js.map +1 -1
  724. package/dist/session/contract.d.ts +980 -82
  725. package/dist/session/contract.d.ts.map +1 -1
  726. package/dist/session/contract.js +33 -4
  727. package/dist/session/contract.js.map +1 -1
  728. package/dist/session/defaults/contract.d.ts +19 -0
  729. package/dist/session/defaults/contract.d.ts.map +1 -0
  730. package/dist/session/defaults/contract.js +5 -0
  731. package/dist/session/defaults/contract.js.map +1 -0
  732. package/dist/session/defaults/effect-schema.d.ts +36 -0
  733. package/dist/session/defaults/effect-schema.d.ts.map +1 -0
  734. package/dist/session/defaults/effect-schema.js +28 -0
  735. package/dist/session/defaults/effect-schema.js.map +1 -0
  736. package/dist/session/defaults/index.d.ts +2 -0
  737. package/dist/session/defaults/index.d.ts.map +1 -0
  738. package/dist/session/defaults/index.js +2 -0
  739. package/dist/session/defaults/index.js.map +1 -0
  740. package/dist/session/effect-schema.d.ts +3008 -159
  741. package/dist/session/effect-schema.d.ts.map +1 -1
  742. package/dist/session/effect-schema.js +594 -52
  743. package/dist/session/effect-schema.js.map +1 -1
  744. package/dist/session/feature.d.ts +868 -18
  745. package/dist/session/feature.d.ts.map +1 -1
  746. package/dist/session/feature.js +823 -25
  747. package/dist/session/feature.js.map +1 -1
  748. package/dist/session/index.d.ts +6 -3
  749. package/dist/session/index.d.ts.map +1 -1
  750. package/dist/session/index.js +6 -3
  751. package/dist/session/index.js.map +1 -1
  752. package/dist/session/observation-contract.d.ts +2 -2
  753. package/dist/session/observation-effect-schema.d.ts +7 -2
  754. package/dist/session/observation-effect-schema.d.ts.map +1 -1
  755. package/dist/session/observation-effect-schema.js +6 -1
  756. package/dist/session/observation-effect-schema.js.map +1 -1
  757. package/dist/session/placement/contract.d.ts +35 -0
  758. package/dist/session/placement/contract.d.ts.map +1 -0
  759. package/dist/session/placement/contract.js +5 -0
  760. package/dist/session/placement/contract.js.map +1 -0
  761. package/dist/session/placement/effect-schema.d.ts +55 -0
  762. package/dist/session/placement/effect-schema.d.ts.map +1 -0
  763. package/dist/session/placement/effect-schema.js +76 -0
  764. package/dist/session/placement/effect-schema.js.map +1 -0
  765. package/dist/session/placement/index.d.ts +2 -0
  766. package/dist/session/placement/index.d.ts.map +1 -0
  767. package/dist/session/placement/index.js +2 -0
  768. package/dist/session/placement/index.js.map +1 -0
  769. package/dist/session/policy.d.ts +157 -0
  770. package/dist/session/policy.d.ts.map +1 -1
  771. package/dist/session/policy.js +185 -2
  772. package/dist/session/policy.js.map +1 -1
  773. package/dist/session/stop-resume-contract.d.ts +129 -2
  774. package/dist/session/stop-resume-contract.d.ts.map +1 -1
  775. package/dist/session/stop-resume-contract.js +5 -1
  776. package/dist/session/stop-resume-contract.js.map +1 -1
  777. package/dist/session/worktree-effect-schema.d.ts +56 -1
  778. package/dist/session/worktree-effect-schema.d.ts.map +1 -1
  779. package/dist/session/worktree-effect-schema.js +80 -3
  780. package/dist/session/worktree-effect-schema.js.map +1 -1
  781. package/dist/session-command/contract.d.ts +442 -0
  782. package/dist/session-command/contract.d.ts.map +1 -0
  783. package/dist/session-command/contract.js +12 -0
  784. package/dist/session-command/contract.js.map +1 -0
  785. package/dist/session-command/effect-schema.d.ts +875 -0
  786. package/dist/session-command/effect-schema.d.ts.map +1 -0
  787. package/dist/session-command/effect-schema.js +125 -0
  788. package/dist/session-command/effect-schema.js.map +1 -0
  789. package/dist/session-command/feature.d.ts +141 -0
  790. package/dist/session-command/feature.d.ts.map +1 -0
  791. package/dist/session-command/feature.js +137 -0
  792. package/dist/session-command/feature.js.map +1 -0
  793. package/dist/session-command/index.d.ts +4 -0
  794. package/dist/session-command/index.d.ts.map +1 -0
  795. package/dist/session-command/index.js +4 -0
  796. package/dist/session-command/index.js.map +1 -0
  797. package/dist/session-command/policy.d.ts +33 -0
  798. package/dist/session-command/policy.d.ts.map +1 -0
  799. package/dist/session-command/policy.js +60 -0
  800. package/dist/session-command/policy.js.map +1 -0
  801. package/dist/session-guard/contract.d.ts +33 -4
  802. package/dist/session-guard/contract.d.ts.map +1 -1
  803. package/dist/session-guard/contract.js +29 -5
  804. package/dist/session-guard/contract.js.map +1 -1
  805. package/dist/session-guard/feature.d.ts +66 -1
  806. package/dist/session-guard/feature.d.ts.map +1 -1
  807. package/dist/session-guard/feature.js +62 -1
  808. package/dist/session-guard/feature.js.map +1 -1
  809. package/dist/session-guard/index.d.ts +1 -1
  810. package/dist/session-guard/index.d.ts.map +1 -1
  811. package/dist/session-guard/index.js +1 -1
  812. package/dist/session-guard/index.js.map +1 -1
  813. package/dist/session-guard/request-effect-schema.d.ts +33 -0
  814. package/dist/session-guard/request-effect-schema.d.ts.map +1 -1
  815. package/dist/session-guard/request-effect-schema.js +22 -0
  816. package/dist/session-guard/request-effect-schema.js.map +1 -1
  817. package/dist/session-guard/result-effect-schema.d.ts +28 -0
  818. package/dist/session-guard/result-effect-schema.d.ts.map +1 -1
  819. package/dist/session-guard/result-effect-schema.js +3 -1
  820. package/dist/session-guard/result-effect-schema.js.map +1 -1
  821. package/dist/session-stream/contract.d.ts +45 -4
  822. package/dist/session-stream/contract.d.ts.map +1 -1
  823. package/dist/session-stream/contract.js +1 -1
  824. package/dist/session-stream/contract.js.map +1 -1
  825. package/dist/session-stream/effect-schema.d.ts +56 -10
  826. package/dist/session-stream/effect-schema.d.ts.map +1 -1
  827. package/dist/session-stream/effect-schema.js +27 -1
  828. package/dist/session-stream/effect-schema.js.map +1 -1
  829. package/dist/session-stream/index.d.ts +1 -1
  830. package/dist/session-stream/index.d.ts.map +1 -1
  831. package/dist/session-stream/index.js +1 -1
  832. package/dist/session-stream/index.js.map +1 -1
  833. package/dist/session-stream/policy.d.ts +9 -1
  834. package/dist/session-stream/policy.d.ts.map +1 -1
  835. package/dist/session-stream/policy.js +9 -0
  836. package/dist/session-stream/policy.js.map +1 -1
  837. package/dist/skills-sync/contract.d.ts +142 -0
  838. package/dist/skills-sync/contract.d.ts.map +1 -0
  839. package/dist/skills-sync/contract.js +13 -0
  840. package/dist/skills-sync/contract.js.map +1 -0
  841. package/dist/skills-sync/effect-schema.d.ts +312 -0
  842. package/dist/skills-sync/effect-schema.d.ts.map +1 -0
  843. package/dist/skills-sync/effect-schema.js +160 -0
  844. package/dist/skills-sync/effect-schema.js.map +1 -0
  845. package/dist/skills-sync/feature.d.ts +102 -0
  846. package/dist/skills-sync/feature.d.ts.map +1 -0
  847. package/dist/skills-sync/feature.js +102 -0
  848. package/dist/skills-sync/feature.js.map +1 -0
  849. package/dist/skills-sync/index.d.ts +3 -0
  850. package/dist/skills-sync/index.d.ts.map +1 -0
  851. package/dist/skills-sync/index.js +3 -0
  852. package/dist/skills-sync/index.js.map +1 -0
  853. package/dist/team-workspace/contract.d.ts +1 -0
  854. package/dist/team-workspace/contract.d.ts.map +1 -1
  855. package/dist/team-workspace/effect-schema.d.ts +2 -0
  856. package/dist/team-workspace/effect-schema.d.ts.map +1 -1
  857. package/dist/team-workspace/feature.d.ts +10 -0
  858. package/dist/team-workspace/feature.d.ts.map +1 -1
  859. package/dist/team-workspace/feature.js +10 -0
  860. package/dist/team-workspace/feature.js.map +1 -1
  861. package/dist/terminal/contract.d.ts +2 -0
  862. package/dist/terminal/contract.d.ts.map +1 -1
  863. package/dist/terminal/effect-schema.d.ts +6 -0
  864. package/dist/terminal/effect-schema.d.ts.map +1 -1
  865. package/dist/terminal/effect-schema.js +2 -0
  866. package/dist/terminal/effect-schema.js.map +1 -1
  867. package/dist/terminal/feature.d.ts +281 -0
  868. package/dist/terminal/feature.d.ts.map +1 -1
  869. package/dist/terminal/feature.js +289 -0
  870. package/dist/terminal/feature.js.map +1 -1
  871. package/dist/turn/contract.d.ts +199 -515
  872. package/dist/turn/contract.d.ts.map +1 -1
  873. package/dist/turn/contract.js +25 -4
  874. package/dist/turn/contract.js.map +1 -1
  875. package/dist/turn/effect-schema.d.ts +2319 -130
  876. package/dist/turn/effect-schema.d.ts.map +1 -1
  877. package/dist/turn/effect-schema.js +206 -11
  878. package/dist/turn/effect-schema.js.map +1 -1
  879. package/dist/turn/index.d.ts +2 -2
  880. package/dist/turn/index.d.ts.map +1 -1
  881. package/dist/turn/index.js +2 -2
  882. package/dist/turn/index.js.map +1 -1
  883. package/dist/turn/policy.d.ts +54 -0
  884. package/dist/turn/policy.d.ts.map +1 -1
  885. package/dist/turn/policy.js +74 -0
  886. package/dist/turn/policy.js.map +1 -1
  887. package/dist/voice/contract.d.ts +6 -6
  888. package/dist/voice/effect-schema.d.ts +10 -9
  889. package/dist/voice/effect-schema.d.ts.map +1 -1
  890. package/dist/voice/effect-schema.js +3 -1
  891. package/dist/voice/effect-schema.js.map +1 -1
  892. package/dist/voice/feature.d.ts +70 -2
  893. package/dist/voice/feature.d.ts.map +1 -1
  894. package/dist/voice/feature.js +32 -0
  895. package/dist/voice/feature.js.map +1 -1
  896. package/dist/voice/orchestrator-system-prompt.d.ts +2 -2
  897. package/dist/voice/orchestrator-system-prompt.js +2 -2
  898. package/dist/voice/relay-contract.d.ts +1 -0
  899. package/dist/voice/relay-contract.d.ts.map +1 -1
  900. package/dist/voice/relay-effect-schema.d.ts +2 -0
  901. package/dist/voice/relay-effect-schema.d.ts.map +1 -1
  902. package/dist/webhooks/contract.d.ts +358 -0
  903. package/dist/webhooks/contract.d.ts.map +1 -0
  904. package/dist/webhooks/contract.js +26 -0
  905. package/dist/webhooks/contract.js.map +1 -0
  906. package/dist/webhooks/effect-schema.d.ts +550 -0
  907. package/dist/webhooks/effect-schema.d.ts.map +1 -0
  908. package/dist/webhooks/effect-schema.js +197 -0
  909. package/dist/webhooks/effect-schema.js.map +1 -0
  910. package/dist/webhooks/feature.d.ts +125 -0
  911. package/dist/webhooks/feature.d.ts.map +1 -0
  912. package/dist/webhooks/feature.js +123 -0
  913. package/dist/webhooks/feature.js.map +1 -0
  914. package/dist/webhooks/hook-effect-schema.d.ts +69 -0
  915. package/dist/webhooks/hook-effect-schema.d.ts.map +1 -0
  916. package/dist/webhooks/hook-effect-schema.js +107 -0
  917. package/dist/webhooks/hook-effect-schema.js.map +1 -0
  918. package/dist/webhooks/index.d.ts +4 -0
  919. package/dist/webhooks/index.d.ts.map +1 -0
  920. package/dist/webhooks/index.js +4 -0
  921. package/dist/webhooks/index.js.map +1 -0
  922. package/dist/webhooks/policy.d.ts +16 -0
  923. package/dist/webhooks/policy.d.ts.map +1 -0
  924. package/dist/webhooks/policy.js +16 -0
  925. package/dist/webhooks/policy.js.map +1 -0
  926. package/package.json +9 -3
  927. package/dist/configuration/configuration.d.ts +0 -63
  928. package/dist/configuration/configuration.d.ts.map +0 -1
  929. package/dist/configuration/configuration.js +0 -93
  930. package/dist/configuration/configuration.js.map +0 -1
  931. package/dist/configuration/index.d.ts +0 -2
  932. package/dist/configuration/index.d.ts.map +0 -1
  933. package/dist/configuration/index.js +0 -2
  934. package/dist/configuration/index.js.map +0 -1
@@ -0,0 +1,1668 @@
1
+ import type { RunLedgerTaskSummary } from "../run-ledger/index.js";
2
+ import type { InferRuntimeSchema } from "../runtime-schema/index.js";
3
+ /**
4
+ * Typed failures a board client can branch on. `claim_lost`: the lease ran
5
+ * out, the claimant's Session ended or another claim took the task, so the
6
+ * settle changed nothing. `board_revision_conflict`: the task moved past the
7
+ * revision the request named. `board_state_conflict`: the task is in a state
8
+ * the change does not start from. `board_no_ready_task`: nothing under the
9
+ * path is ready. `board_ledger_owned`: `run.ledger.*` owns a Run ledger
10
+ * task's changes, and a board task cannot wait on one.
11
+ * `board_plan_invalid`: a plan's keys or needs do not form a graph, or a
12
+ * need names no key of the plan and no task on the board; nothing was
13
+ * created. `board_task_assigned`: the task's assignee is another Agent.
14
+ * `board_needs_invalid`: a create, promote or needs change would make a
15
+ * cycle or pass a bound of the board graph check; nothing changed.
16
+ */
17
+ export declare const BOARD_ERROR_CODES: readonly ["board_limit_exceeded", "board_ledger_owned", "board_needs_invalid", "board_no_ready_task", "board_plan_invalid", "board_revision_conflict", "board_state_conflict", "board_task_assigned", "claim_lost"];
18
+ export type BoardErrorCode = (typeof BOARD_ERROR_CODES)[number];
19
+ export declare const boardSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
20
+ readonly createdAt: string;
21
+ readonly id: string;
22
+ readonly schemaVersion: "maia.board/v1";
23
+ readonly workspaceId: string;
24
+ }>;
25
+ export type Board = InferRuntimeSchema<typeof boardSchema>;
26
+ export declare const boardPathSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
27
+ export type BoardPath = InferRuntimeSchema<typeof boardPathSchema>;
28
+ export declare const boardThreadSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
29
+ readonly boardId: string;
30
+ readonly createdAt: string;
31
+ readonly id: string;
32
+ readonly path: string;
33
+ readonly schemaVersion: "maia.board/v1";
34
+ readonly state?: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting" | undefined;
35
+ }>;
36
+ export type BoardThread = InferRuntimeSchema<typeof boardThreadSchema>;
37
+ export declare const boardMessageSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
38
+ readonly author?: {
39
+ readonly id: string;
40
+ readonly kind: "bot" | "person";
41
+ } | {
42
+ readonly agent: string;
43
+ readonly kind: "session";
44
+ readonly sessionId?: string | undefined;
45
+ readonly via: {
46
+ readonly id: string;
47
+ readonly kind: "bot" | "person";
48
+ };
49
+ } | undefined;
50
+ readonly createdAt: string;
51
+ readonly id: string;
52
+ readonly labels: readonly {
53
+ readonly key: string;
54
+ readonly value: string;
55
+ }[];
56
+ readonly links: readonly {
57
+ readonly kind: "commit" | "node" | "pull_request" | "session";
58
+ readonly target: string;
59
+ }[];
60
+ readonly schemaVersion: "maia.board/v1";
61
+ readonly text: string;
62
+ readonly threadId: string;
63
+ }>;
64
+ export type BoardMessage = InferRuntimeSchema<typeof boardMessageSchema>;
65
+ export declare const boardTaskStateSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<"blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting">;
66
+ export type BoardTaskState = InferRuntimeSchema<typeof boardTaskStateSchema>;
67
+ export declare const boardActorSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
68
+ readonly id: string;
69
+ readonly kind: "bot" | "person";
70
+ } | {
71
+ readonly agent: string;
72
+ readonly kind: "session";
73
+ readonly sessionId?: string | undefined;
74
+ readonly via: {
75
+ readonly id: string;
76
+ readonly kind: "bot" | "person";
77
+ };
78
+ }>;
79
+ export type BoardActor = InferRuntimeSchema<typeof boardActorSchema>;
80
+ export declare const boardLimitsSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
81
+ readonly labels: number;
82
+ readonly links: number;
83
+ readonly messageBytes: number;
84
+ }>;
85
+ export type BoardLimits = InferRuntimeSchema<typeof boardLimitsSchema>;
86
+ export declare const boardClaimSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
87
+ readonly claimant: {
88
+ readonly id: string;
89
+ readonly kind: "bot" | "person";
90
+ } | {
91
+ readonly agent: string;
92
+ readonly kind: "session";
93
+ readonly sessionId?: string | undefined;
94
+ readonly via: {
95
+ readonly id: string;
96
+ readonly kind: "bot" | "person";
97
+ };
98
+ };
99
+ readonly claimedAt: string;
100
+ readonly leaseExpiresAt: string;
101
+ }>;
102
+ export type BoardClaim = InferRuntimeSchema<typeof boardClaimSchema>;
103
+ export declare const boardHeldTaskSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
104
+ readonly claimedAt: string;
105
+ readonly id: string;
106
+ readonly leaseExpiresAt: string;
107
+ readonly state: "claimed";
108
+ readonly title: string;
109
+ }>;
110
+ export type BoardHeldTask = InferRuntimeSchema<typeof boardHeldTaskSchema>;
111
+ export declare const boardTaskSummarySchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
112
+ readonly assignee?: string | undefined;
113
+ readonly author?: {
114
+ readonly id: string;
115
+ readonly kind: "bot" | "person";
116
+ } | {
117
+ readonly agent: string;
118
+ readonly kind: "session";
119
+ readonly sessionId?: string | undefined;
120
+ readonly via: {
121
+ readonly id: string;
122
+ readonly kind: "bot" | "person";
123
+ };
124
+ } | undefined;
125
+ readonly claim?: {
126
+ readonly claimant: {
127
+ readonly id: string;
128
+ readonly kind: "bot" | "person";
129
+ } | {
130
+ readonly agent: string;
131
+ readonly kind: "session";
132
+ readonly sessionId?: string | undefined;
133
+ readonly via: {
134
+ readonly id: string;
135
+ readonly kind: "bot" | "person";
136
+ };
137
+ };
138
+ readonly claimedAt: string;
139
+ readonly leaseExpiresAt: string;
140
+ } | undefined;
141
+ readonly createdAt: string;
142
+ readonly id: string;
143
+ readonly labels: readonly {
144
+ readonly key: string;
145
+ readonly value: string;
146
+ }[];
147
+ readonly needs?: readonly string[] | undefined;
148
+ readonly ownedBy: "board" | "run-ledger";
149
+ readonly path: string;
150
+ readonly revision: string;
151
+ readonly schemaVersion: "maia.board/v1";
152
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
153
+ readonly title: string;
154
+ readonly updatedAt: string;
155
+ readonly workspaceId: string;
156
+ }>;
157
+ export type BoardTaskSummary = InferRuntimeSchema<typeof boardTaskSummarySchema>;
158
+ export declare const boardTaskSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
159
+ readonly assignee?: string | undefined;
160
+ readonly author?: {
161
+ readonly id: string;
162
+ readonly kind: "bot" | "person";
163
+ } | {
164
+ readonly agent: string;
165
+ readonly kind: "session";
166
+ readonly sessionId?: string | undefined;
167
+ readonly via: {
168
+ readonly id: string;
169
+ readonly kind: "bot" | "person";
170
+ };
171
+ } | undefined;
172
+ readonly claim?: {
173
+ readonly claimant: {
174
+ readonly id: string;
175
+ readonly kind: "bot" | "person";
176
+ } | {
177
+ readonly agent: string;
178
+ readonly kind: "session";
179
+ readonly sessionId?: string | undefined;
180
+ readonly via: {
181
+ readonly id: string;
182
+ readonly kind: "bot" | "person";
183
+ };
184
+ };
185
+ readonly claimedAt: string;
186
+ readonly leaseExpiresAt: string;
187
+ } | undefined;
188
+ readonly createdAt: string;
189
+ readonly id: string;
190
+ readonly labels: readonly {
191
+ readonly key: string;
192
+ readonly value: string;
193
+ }[];
194
+ readonly needs?: readonly string[] | undefined;
195
+ readonly ownedBy: "board" | "run-ledger";
196
+ readonly path: string;
197
+ readonly revision: string;
198
+ readonly schemaVersion: "maia.board/v1";
199
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
200
+ readonly title: string;
201
+ readonly updatedAt: string;
202
+ readonly workspaceId: string;
203
+ readonly reason?: string | undefined;
204
+ readonly result?: string | undefined;
205
+ readonly text: string;
206
+ }>;
207
+ export type BoardTask = InferRuntimeSchema<typeof boardTaskSchema>;
208
+ export declare const boardTaskCreateParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
209
+ readonly as?: string | undefined;
210
+ readonly commandId: string;
211
+ readonly labels?: readonly {
212
+ readonly key: string;
213
+ readonly value: string;
214
+ }[] | undefined;
215
+ readonly path: string;
216
+ readonly text: string;
217
+ readonly workspaceId: string;
218
+ readonly needs?: readonly string[] | undefined;
219
+ }>;
220
+ export type BoardTaskCreateParameters = InferRuntimeSchema<typeof boardTaskCreateParametersSchema>;
221
+ export declare const boardTaskClaimParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
222
+ readonly as?: string | undefined;
223
+ readonly commandId: string;
224
+ readonly expectedRevision?: string | undefined;
225
+ readonly labels?: readonly {
226
+ readonly key: string;
227
+ readonly value: string;
228
+ }[] | undefined;
229
+ readonly leaseSeconds?: number | undefined;
230
+ readonly path?: string | undefined;
231
+ readonly taskId?: string | undefined;
232
+ readonly workspaceId?: string | undefined;
233
+ }>;
234
+ export type BoardTaskClaimParameters = InferRuntimeSchema<typeof boardTaskClaimParametersSchema>;
235
+ export declare const boardTaskRenewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
236
+ readonly as?: string | undefined;
237
+ readonly commandId: string;
238
+ readonly expectedRevision: string;
239
+ readonly claimToken: string;
240
+ readonly taskId: string;
241
+ readonly leaseSeconds?: number | undefined;
242
+ }>;
243
+ export type BoardTaskRenewParameters = InferRuntimeSchema<typeof boardTaskRenewParametersSchema>;
244
+ export declare const boardTaskReleaseParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
245
+ readonly as?: string | undefined;
246
+ readonly commandId: string;
247
+ readonly expectedRevision: string;
248
+ readonly claimToken: string;
249
+ readonly taskId: string;
250
+ }>;
251
+ export type BoardTaskReleaseParameters = InferRuntimeSchema<typeof boardTaskReleaseParametersSchema>;
252
+ export declare const boardTaskCompleteParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
253
+ readonly as?: string | undefined;
254
+ readonly commandId: string;
255
+ readonly expectedRevision: string;
256
+ readonly claimToken: string;
257
+ readonly taskId: string;
258
+ readonly result?: string | undefined;
259
+ }>;
260
+ export type BoardTaskCompleteParameters = InferRuntimeSchema<typeof boardTaskCompleteParametersSchema>;
261
+ export declare const boardTaskFailParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
262
+ readonly as?: string | undefined;
263
+ readonly commandId: string;
264
+ readonly expectedRevision: string;
265
+ readonly claimToken: string;
266
+ readonly taskId: string;
267
+ readonly reason: string;
268
+ }>;
269
+ export type BoardTaskFailParameters = InferRuntimeSchema<typeof boardTaskFailParametersSchema>;
270
+ export declare const boardTaskCancelParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
271
+ readonly as?: string | undefined;
272
+ readonly commandId: string;
273
+ readonly expectedRevision: string;
274
+ readonly taskId: string;
275
+ }>;
276
+ export type BoardTaskCancelParameters = InferRuntimeSchema<typeof boardTaskCancelParametersSchema>;
277
+ export declare const boardTaskReopenParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
278
+ readonly as?: string | undefined;
279
+ readonly commandId: string;
280
+ readonly expectedRevision: string;
281
+ readonly taskId: string;
282
+ }>;
283
+ export type BoardTaskReopenParameters = InferRuntimeSchema<typeof boardTaskReopenParametersSchema>;
284
+ export declare const boardTaskListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
285
+ readonly afterCursor?: string | undefined;
286
+ readonly labels?: readonly {
287
+ readonly key: string;
288
+ readonly value: string;
289
+ }[] | undefined;
290
+ readonly limit?: number | undefined;
291
+ readonly path?: string | undefined;
292
+ readonly projectId?: string | undefined;
293
+ readonly sessionId?: string | undefined;
294
+ readonly state?: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting" | undefined;
295
+ readonly workspaceId?: string | undefined;
296
+ }>;
297
+ export type BoardTaskListParameters = InferRuntimeSchema<typeof boardTaskListParametersSchema>;
298
+ export declare const boardTaskShowParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
299
+ readonly afterCursor?: string | undefined;
300
+ readonly limit?: number | undefined;
301
+ readonly taskId: string;
302
+ }>;
303
+ export type BoardTaskShowParameters = InferRuntimeSchema<typeof boardTaskShowParametersSchema>;
304
+ export declare const boardTaskCreateResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
305
+ readonly commandId: string;
306
+ readonly delivery: "duplicate" | "new";
307
+ readonly receipt: {
308
+ readonly actorId: string;
309
+ readonly aggregateRevision: string;
310
+ readonly commandId: string;
311
+ readonly createdAt: string;
312
+ readonly eventCursor: string;
313
+ readonly method: string;
314
+ readonly proposedBy?: string | undefined;
315
+ readonly receiptId: string;
316
+ readonly schemaVersion: 1;
317
+ readonly state: "succeeded";
318
+ readonly target: {
319
+ readonly id: string;
320
+ readonly type: string;
321
+ };
322
+ readonly updatedAt: string;
323
+ };
324
+ readonly task: {
325
+ readonly assignee?: string | undefined;
326
+ readonly author?: {
327
+ readonly id: string;
328
+ readonly kind: "bot" | "person";
329
+ } | {
330
+ readonly agent: string;
331
+ readonly kind: "session";
332
+ readonly sessionId?: string | undefined;
333
+ readonly via: {
334
+ readonly id: string;
335
+ readonly kind: "bot" | "person";
336
+ };
337
+ } | undefined;
338
+ readonly claim?: {
339
+ readonly claimant: {
340
+ readonly id: string;
341
+ readonly kind: "bot" | "person";
342
+ } | {
343
+ readonly agent: string;
344
+ readonly kind: "session";
345
+ readonly sessionId?: string | undefined;
346
+ readonly via: {
347
+ readonly id: string;
348
+ readonly kind: "bot" | "person";
349
+ };
350
+ };
351
+ readonly claimedAt: string;
352
+ readonly leaseExpiresAt: string;
353
+ } | undefined;
354
+ readonly createdAt: string;
355
+ readonly id: string;
356
+ readonly labels: readonly {
357
+ readonly key: string;
358
+ readonly value: string;
359
+ }[];
360
+ readonly needs?: readonly string[] | undefined;
361
+ readonly ownedBy: "board" | "run-ledger";
362
+ readonly path: string;
363
+ readonly revision: string;
364
+ readonly schemaVersion: "maia.board/v1";
365
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
366
+ readonly title: string;
367
+ readonly updatedAt: string;
368
+ readonly workspaceId: string;
369
+ readonly reason?: string | undefined;
370
+ readonly result?: string | undefined;
371
+ readonly text: string;
372
+ };
373
+ readonly method: "board.task.create";
374
+ }>;
375
+ export type BoardTaskCreateResult = InferRuntimeSchema<typeof boardTaskCreateResultSchema>;
376
+ export declare const boardTaskClaimResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
377
+ readonly commandId: string;
378
+ readonly delivery: "duplicate" | "new";
379
+ readonly receipt: {
380
+ readonly actorId: string;
381
+ readonly aggregateRevision: string;
382
+ readonly commandId: string;
383
+ readonly createdAt: string;
384
+ readonly eventCursor: string;
385
+ readonly method: string;
386
+ readonly proposedBy?: string | undefined;
387
+ readonly receiptId: string;
388
+ readonly schemaVersion: 1;
389
+ readonly state: "succeeded";
390
+ readonly target: {
391
+ readonly id: string;
392
+ readonly type: string;
393
+ };
394
+ readonly updatedAt: string;
395
+ };
396
+ readonly task: {
397
+ readonly assignee?: string | undefined;
398
+ readonly author?: {
399
+ readonly id: string;
400
+ readonly kind: "bot" | "person";
401
+ } | {
402
+ readonly agent: string;
403
+ readonly kind: "session";
404
+ readonly sessionId?: string | undefined;
405
+ readonly via: {
406
+ readonly id: string;
407
+ readonly kind: "bot" | "person";
408
+ };
409
+ } | undefined;
410
+ readonly claim?: {
411
+ readonly claimant: {
412
+ readonly id: string;
413
+ readonly kind: "bot" | "person";
414
+ } | {
415
+ readonly agent: string;
416
+ readonly kind: "session";
417
+ readonly sessionId?: string | undefined;
418
+ readonly via: {
419
+ readonly id: string;
420
+ readonly kind: "bot" | "person";
421
+ };
422
+ };
423
+ readonly claimedAt: string;
424
+ readonly leaseExpiresAt: string;
425
+ } | undefined;
426
+ readonly createdAt: string;
427
+ readonly id: string;
428
+ readonly labels: readonly {
429
+ readonly key: string;
430
+ readonly value: string;
431
+ }[];
432
+ readonly needs?: readonly string[] | undefined;
433
+ readonly ownedBy: "board" | "run-ledger";
434
+ readonly path: string;
435
+ readonly revision: string;
436
+ readonly schemaVersion: "maia.board/v1";
437
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
438
+ readonly title: string;
439
+ readonly updatedAt: string;
440
+ readonly workspaceId: string;
441
+ readonly reason?: string | undefined;
442
+ readonly result?: string | undefined;
443
+ readonly text: string;
444
+ };
445
+ readonly claimToken: string;
446
+ readonly method: "board.task.claim";
447
+ }>;
448
+ export type BoardTaskClaimResult = InferRuntimeSchema<typeof boardTaskClaimResultSchema>;
449
+ export declare const boardTaskRenewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
450
+ readonly commandId: string;
451
+ readonly delivery: "duplicate" | "new";
452
+ readonly receipt: {
453
+ readonly actorId: string;
454
+ readonly aggregateRevision: string;
455
+ readonly commandId: string;
456
+ readonly createdAt: string;
457
+ readonly eventCursor: string;
458
+ readonly method: string;
459
+ readonly proposedBy?: string | undefined;
460
+ readonly receiptId: string;
461
+ readonly schemaVersion: 1;
462
+ readonly state: "succeeded";
463
+ readonly target: {
464
+ readonly id: string;
465
+ readonly type: string;
466
+ };
467
+ readonly updatedAt: string;
468
+ };
469
+ readonly task: {
470
+ readonly assignee?: string | undefined;
471
+ readonly author?: {
472
+ readonly id: string;
473
+ readonly kind: "bot" | "person";
474
+ } | {
475
+ readonly agent: string;
476
+ readonly kind: "session";
477
+ readonly sessionId?: string | undefined;
478
+ readonly via: {
479
+ readonly id: string;
480
+ readonly kind: "bot" | "person";
481
+ };
482
+ } | undefined;
483
+ readonly claim?: {
484
+ readonly claimant: {
485
+ readonly id: string;
486
+ readonly kind: "bot" | "person";
487
+ } | {
488
+ readonly agent: string;
489
+ readonly kind: "session";
490
+ readonly sessionId?: string | undefined;
491
+ readonly via: {
492
+ readonly id: string;
493
+ readonly kind: "bot" | "person";
494
+ };
495
+ };
496
+ readonly claimedAt: string;
497
+ readonly leaseExpiresAt: string;
498
+ } | undefined;
499
+ readonly createdAt: string;
500
+ readonly id: string;
501
+ readonly labels: readonly {
502
+ readonly key: string;
503
+ readonly value: string;
504
+ }[];
505
+ readonly needs?: readonly string[] | undefined;
506
+ readonly ownedBy: "board" | "run-ledger";
507
+ readonly path: string;
508
+ readonly revision: string;
509
+ readonly schemaVersion: "maia.board/v1";
510
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
511
+ readonly title: string;
512
+ readonly updatedAt: string;
513
+ readonly workspaceId: string;
514
+ readonly reason?: string | undefined;
515
+ readonly result?: string | undefined;
516
+ readonly text: string;
517
+ };
518
+ readonly method: "board.task.renew";
519
+ }>;
520
+ export type BoardTaskRenewResult = InferRuntimeSchema<typeof boardTaskRenewResultSchema>;
521
+ export declare const boardTaskReleaseResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
522
+ readonly commandId: string;
523
+ readonly delivery: "duplicate" | "new";
524
+ readonly receipt: {
525
+ readonly actorId: string;
526
+ readonly aggregateRevision: string;
527
+ readonly commandId: string;
528
+ readonly createdAt: string;
529
+ readonly eventCursor: string;
530
+ readonly method: string;
531
+ readonly proposedBy?: string | undefined;
532
+ readonly receiptId: string;
533
+ readonly schemaVersion: 1;
534
+ readonly state: "succeeded";
535
+ readonly target: {
536
+ readonly id: string;
537
+ readonly type: string;
538
+ };
539
+ readonly updatedAt: string;
540
+ };
541
+ readonly task: {
542
+ readonly assignee?: string | undefined;
543
+ readonly author?: {
544
+ readonly id: string;
545
+ readonly kind: "bot" | "person";
546
+ } | {
547
+ readonly agent: string;
548
+ readonly kind: "session";
549
+ readonly sessionId?: string | undefined;
550
+ readonly via: {
551
+ readonly id: string;
552
+ readonly kind: "bot" | "person";
553
+ };
554
+ } | undefined;
555
+ readonly claim?: {
556
+ readonly claimant: {
557
+ readonly id: string;
558
+ readonly kind: "bot" | "person";
559
+ } | {
560
+ readonly agent: string;
561
+ readonly kind: "session";
562
+ readonly sessionId?: string | undefined;
563
+ readonly via: {
564
+ readonly id: string;
565
+ readonly kind: "bot" | "person";
566
+ };
567
+ };
568
+ readonly claimedAt: string;
569
+ readonly leaseExpiresAt: string;
570
+ } | undefined;
571
+ readonly createdAt: string;
572
+ readonly id: string;
573
+ readonly labels: readonly {
574
+ readonly key: string;
575
+ readonly value: string;
576
+ }[];
577
+ readonly needs?: readonly string[] | undefined;
578
+ readonly ownedBy: "board" | "run-ledger";
579
+ readonly path: string;
580
+ readonly revision: string;
581
+ readonly schemaVersion: "maia.board/v1";
582
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
583
+ readonly title: string;
584
+ readonly updatedAt: string;
585
+ readonly workspaceId: string;
586
+ readonly reason?: string | undefined;
587
+ readonly result?: string | undefined;
588
+ readonly text: string;
589
+ };
590
+ readonly method: "board.task.release";
591
+ }>;
592
+ export type BoardTaskReleaseResult = InferRuntimeSchema<typeof boardTaskReleaseResultSchema>;
593
+ export declare const boardTaskCompleteResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
594
+ readonly commandId: string;
595
+ readonly delivery: "duplicate" | "new";
596
+ readonly receipt: {
597
+ readonly actorId: string;
598
+ readonly aggregateRevision: string;
599
+ readonly commandId: string;
600
+ readonly createdAt: string;
601
+ readonly eventCursor: string;
602
+ readonly method: string;
603
+ readonly proposedBy?: string | undefined;
604
+ readonly receiptId: string;
605
+ readonly schemaVersion: 1;
606
+ readonly state: "succeeded";
607
+ readonly target: {
608
+ readonly id: string;
609
+ readonly type: string;
610
+ };
611
+ readonly updatedAt: string;
612
+ };
613
+ readonly task: {
614
+ readonly assignee?: string | undefined;
615
+ readonly author?: {
616
+ readonly id: string;
617
+ readonly kind: "bot" | "person";
618
+ } | {
619
+ readonly agent: string;
620
+ readonly kind: "session";
621
+ readonly sessionId?: string | undefined;
622
+ readonly via: {
623
+ readonly id: string;
624
+ readonly kind: "bot" | "person";
625
+ };
626
+ } | undefined;
627
+ readonly claim?: {
628
+ readonly claimant: {
629
+ readonly id: string;
630
+ readonly kind: "bot" | "person";
631
+ } | {
632
+ readonly agent: string;
633
+ readonly kind: "session";
634
+ readonly sessionId?: string | undefined;
635
+ readonly via: {
636
+ readonly id: string;
637
+ readonly kind: "bot" | "person";
638
+ };
639
+ };
640
+ readonly claimedAt: string;
641
+ readonly leaseExpiresAt: string;
642
+ } | undefined;
643
+ readonly createdAt: string;
644
+ readonly id: string;
645
+ readonly labels: readonly {
646
+ readonly key: string;
647
+ readonly value: string;
648
+ }[];
649
+ readonly needs?: readonly string[] | undefined;
650
+ readonly ownedBy: "board" | "run-ledger";
651
+ readonly path: string;
652
+ readonly revision: string;
653
+ readonly schemaVersion: "maia.board/v1";
654
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
655
+ readonly title: string;
656
+ readonly updatedAt: string;
657
+ readonly workspaceId: string;
658
+ readonly reason?: string | undefined;
659
+ readonly result?: string | undefined;
660
+ readonly text: string;
661
+ };
662
+ readonly method: "board.task.complete";
663
+ }>;
664
+ export type BoardTaskCompleteResult = InferRuntimeSchema<typeof boardTaskCompleteResultSchema>;
665
+ export declare const boardTaskFailResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
666
+ readonly commandId: string;
667
+ readonly delivery: "duplicate" | "new";
668
+ readonly receipt: {
669
+ readonly actorId: string;
670
+ readonly aggregateRevision: string;
671
+ readonly commandId: string;
672
+ readonly createdAt: string;
673
+ readonly eventCursor: string;
674
+ readonly method: string;
675
+ readonly proposedBy?: string | undefined;
676
+ readonly receiptId: string;
677
+ readonly schemaVersion: 1;
678
+ readonly state: "succeeded";
679
+ readonly target: {
680
+ readonly id: string;
681
+ readonly type: string;
682
+ };
683
+ readonly updatedAt: string;
684
+ };
685
+ readonly task: {
686
+ readonly assignee?: string | undefined;
687
+ readonly author?: {
688
+ readonly id: string;
689
+ readonly kind: "bot" | "person";
690
+ } | {
691
+ readonly agent: string;
692
+ readonly kind: "session";
693
+ readonly sessionId?: string | undefined;
694
+ readonly via: {
695
+ readonly id: string;
696
+ readonly kind: "bot" | "person";
697
+ };
698
+ } | undefined;
699
+ readonly claim?: {
700
+ readonly claimant: {
701
+ readonly id: string;
702
+ readonly kind: "bot" | "person";
703
+ } | {
704
+ readonly agent: string;
705
+ readonly kind: "session";
706
+ readonly sessionId?: string | undefined;
707
+ readonly via: {
708
+ readonly id: string;
709
+ readonly kind: "bot" | "person";
710
+ };
711
+ };
712
+ readonly claimedAt: string;
713
+ readonly leaseExpiresAt: string;
714
+ } | undefined;
715
+ readonly createdAt: string;
716
+ readonly id: string;
717
+ readonly labels: readonly {
718
+ readonly key: string;
719
+ readonly value: string;
720
+ }[];
721
+ readonly needs?: readonly string[] | undefined;
722
+ readonly ownedBy: "board" | "run-ledger";
723
+ readonly path: string;
724
+ readonly revision: string;
725
+ readonly schemaVersion: "maia.board/v1";
726
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
727
+ readonly title: string;
728
+ readonly updatedAt: string;
729
+ readonly workspaceId: string;
730
+ readonly reason?: string | undefined;
731
+ readonly result?: string | undefined;
732
+ readonly text: string;
733
+ };
734
+ readonly method: "board.task.fail";
735
+ }>;
736
+ export type BoardTaskFailResult = InferRuntimeSchema<typeof boardTaskFailResultSchema>;
737
+ export declare const boardTaskCancelResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
738
+ readonly commandId: string;
739
+ readonly delivery: "duplicate" | "new";
740
+ readonly receipt: {
741
+ readonly actorId: string;
742
+ readonly aggregateRevision: string;
743
+ readonly commandId: string;
744
+ readonly createdAt: string;
745
+ readonly eventCursor: string;
746
+ readonly method: string;
747
+ readonly proposedBy?: string | undefined;
748
+ readonly receiptId: string;
749
+ readonly schemaVersion: 1;
750
+ readonly state: "succeeded";
751
+ readonly target: {
752
+ readonly id: string;
753
+ readonly type: string;
754
+ };
755
+ readonly updatedAt: string;
756
+ };
757
+ readonly task: {
758
+ readonly assignee?: string | undefined;
759
+ readonly author?: {
760
+ readonly id: string;
761
+ readonly kind: "bot" | "person";
762
+ } | {
763
+ readonly agent: string;
764
+ readonly kind: "session";
765
+ readonly sessionId?: string | undefined;
766
+ readonly via: {
767
+ readonly id: string;
768
+ readonly kind: "bot" | "person";
769
+ };
770
+ } | undefined;
771
+ readonly claim?: {
772
+ readonly claimant: {
773
+ readonly id: string;
774
+ readonly kind: "bot" | "person";
775
+ } | {
776
+ readonly agent: string;
777
+ readonly kind: "session";
778
+ readonly sessionId?: string | undefined;
779
+ readonly via: {
780
+ readonly id: string;
781
+ readonly kind: "bot" | "person";
782
+ };
783
+ };
784
+ readonly claimedAt: string;
785
+ readonly leaseExpiresAt: string;
786
+ } | undefined;
787
+ readonly createdAt: string;
788
+ readonly id: string;
789
+ readonly labels: readonly {
790
+ readonly key: string;
791
+ readonly value: string;
792
+ }[];
793
+ readonly needs?: readonly string[] | undefined;
794
+ readonly ownedBy: "board" | "run-ledger";
795
+ readonly path: string;
796
+ readonly revision: string;
797
+ readonly schemaVersion: "maia.board/v1";
798
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
799
+ readonly title: string;
800
+ readonly updatedAt: string;
801
+ readonly workspaceId: string;
802
+ readonly reason?: string | undefined;
803
+ readonly result?: string | undefined;
804
+ readonly text: string;
805
+ };
806
+ readonly method: "board.task.cancel";
807
+ }>;
808
+ export type BoardTaskCancelResult = InferRuntimeSchema<typeof boardTaskCancelResultSchema>;
809
+ export declare const boardTaskReopenResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
810
+ readonly commandId: string;
811
+ readonly delivery: "duplicate" | "new";
812
+ readonly receipt: {
813
+ readonly actorId: string;
814
+ readonly aggregateRevision: string;
815
+ readonly commandId: string;
816
+ readonly createdAt: string;
817
+ readonly eventCursor: string;
818
+ readonly method: string;
819
+ readonly proposedBy?: string | undefined;
820
+ readonly receiptId: string;
821
+ readonly schemaVersion: 1;
822
+ readonly state: "succeeded";
823
+ readonly target: {
824
+ readonly id: string;
825
+ readonly type: string;
826
+ };
827
+ readonly updatedAt: string;
828
+ };
829
+ readonly task: {
830
+ readonly assignee?: string | undefined;
831
+ readonly author?: {
832
+ readonly id: string;
833
+ readonly kind: "bot" | "person";
834
+ } | {
835
+ readonly agent: string;
836
+ readonly kind: "session";
837
+ readonly sessionId?: string | undefined;
838
+ readonly via: {
839
+ readonly id: string;
840
+ readonly kind: "bot" | "person";
841
+ };
842
+ } | undefined;
843
+ readonly claim?: {
844
+ readonly claimant: {
845
+ readonly id: string;
846
+ readonly kind: "bot" | "person";
847
+ } | {
848
+ readonly agent: string;
849
+ readonly kind: "session";
850
+ readonly sessionId?: string | undefined;
851
+ readonly via: {
852
+ readonly id: string;
853
+ readonly kind: "bot" | "person";
854
+ };
855
+ };
856
+ readonly claimedAt: string;
857
+ readonly leaseExpiresAt: string;
858
+ } | undefined;
859
+ readonly createdAt: string;
860
+ readonly id: string;
861
+ readonly labels: readonly {
862
+ readonly key: string;
863
+ readonly value: string;
864
+ }[];
865
+ readonly needs?: readonly string[] | undefined;
866
+ readonly ownedBy: "board" | "run-ledger";
867
+ readonly path: string;
868
+ readonly revision: string;
869
+ readonly schemaVersion: "maia.board/v1";
870
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
871
+ readonly title: string;
872
+ readonly updatedAt: string;
873
+ readonly workspaceId: string;
874
+ readonly reason?: string | undefined;
875
+ readonly result?: string | undefined;
876
+ readonly text: string;
877
+ };
878
+ readonly method: "board.task.reopen";
879
+ }>;
880
+ export type BoardTaskReopenResult = InferRuntimeSchema<typeof boardTaskReopenResultSchema>;
881
+ export declare const boardTaskListResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
882
+ readonly items: readonly {
883
+ readonly assignee?: string | undefined;
884
+ readonly author?: {
885
+ readonly id: string;
886
+ readonly kind: "bot" | "person";
887
+ } | {
888
+ readonly agent: string;
889
+ readonly kind: "session";
890
+ readonly sessionId?: string | undefined;
891
+ readonly via: {
892
+ readonly id: string;
893
+ readonly kind: "bot" | "person";
894
+ };
895
+ } | undefined;
896
+ readonly claim?: {
897
+ readonly claimant: {
898
+ readonly id: string;
899
+ readonly kind: "bot" | "person";
900
+ } | {
901
+ readonly agent: string;
902
+ readonly kind: "session";
903
+ readonly sessionId?: string | undefined;
904
+ readonly via: {
905
+ readonly id: string;
906
+ readonly kind: "bot" | "person";
907
+ };
908
+ };
909
+ readonly claimedAt: string;
910
+ readonly leaseExpiresAt: string;
911
+ } | undefined;
912
+ readonly createdAt: string;
913
+ readonly id: string;
914
+ readonly labels: readonly {
915
+ readonly key: string;
916
+ readonly value: string;
917
+ }[];
918
+ readonly needs?: readonly string[] | undefined;
919
+ readonly ownedBy: "board" | "run-ledger";
920
+ readonly path: string;
921
+ readonly revision: string;
922
+ readonly schemaVersion: "maia.board/v1";
923
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
924
+ readonly title: string;
925
+ readonly updatedAt: string;
926
+ readonly workspaceId: string;
927
+ }[];
928
+ readonly method: "board.task.list";
929
+ readonly nextCursor?: string | undefined;
930
+ }>;
931
+ export type BoardTaskListResult = InferRuntimeSchema<typeof boardTaskListResultSchema>;
932
+ export declare const boardTaskShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
933
+ readonly messages: readonly {
934
+ readonly author?: {
935
+ readonly id: string;
936
+ readonly kind: "bot" | "person";
937
+ } | {
938
+ readonly agent: string;
939
+ readonly kind: "session";
940
+ readonly sessionId?: string | undefined;
941
+ readonly via: {
942
+ readonly id: string;
943
+ readonly kind: "bot" | "person";
944
+ };
945
+ } | undefined;
946
+ readonly createdAt: string;
947
+ readonly id: string;
948
+ readonly labels: readonly {
949
+ readonly key: string;
950
+ readonly value: string;
951
+ }[];
952
+ readonly links: readonly {
953
+ readonly kind: "commit" | "node" | "pull_request" | "session";
954
+ readonly target: string;
955
+ }[];
956
+ readonly schemaVersion: "maia.board/v1";
957
+ readonly text: string;
958
+ readonly threadId: string;
959
+ }[];
960
+ readonly method: "board.task.show";
961
+ readonly nextCursor?: string | undefined;
962
+ readonly replyCount: number;
963
+ readonly task: {
964
+ readonly assignee?: string | undefined;
965
+ readonly author?: {
966
+ readonly id: string;
967
+ readonly kind: "bot" | "person";
968
+ } | {
969
+ readonly agent: string;
970
+ readonly kind: "session";
971
+ readonly sessionId?: string | undefined;
972
+ readonly via: {
973
+ readonly id: string;
974
+ readonly kind: "bot" | "person";
975
+ };
976
+ } | undefined;
977
+ readonly claim?: {
978
+ readonly claimant: {
979
+ readonly id: string;
980
+ readonly kind: "bot" | "person";
981
+ } | {
982
+ readonly agent: string;
983
+ readonly kind: "session";
984
+ readonly sessionId?: string | undefined;
985
+ readonly via: {
986
+ readonly id: string;
987
+ readonly kind: "bot" | "person";
988
+ };
989
+ };
990
+ readonly claimedAt: string;
991
+ readonly leaseExpiresAt: string;
992
+ } | undefined;
993
+ readonly createdAt: string;
994
+ readonly id: string;
995
+ readonly labels: readonly {
996
+ readonly key: string;
997
+ readonly value: string;
998
+ }[];
999
+ readonly needs?: readonly string[] | undefined;
1000
+ readonly ownedBy: "board" | "run-ledger";
1001
+ readonly path: string;
1002
+ readonly revision: string;
1003
+ readonly schemaVersion: "maia.board/v1";
1004
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
1005
+ readonly title: string;
1006
+ readonly updatedAt: string;
1007
+ readonly workspaceId: string;
1008
+ readonly reason?: string | undefined;
1009
+ readonly result?: string | undefined;
1010
+ readonly text: string;
1011
+ };
1012
+ }>;
1013
+ export type BoardTaskShowResult = InferRuntimeSchema<typeof boardTaskShowResultSchema>;
1014
+ export declare const boardPlanTaskSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1015
+ readonly assignee?: string | undefined;
1016
+ readonly key: string;
1017
+ readonly labels?: readonly {
1018
+ readonly key: string;
1019
+ readonly value: string;
1020
+ }[] | undefined;
1021
+ readonly needs?: readonly string[] | undefined;
1022
+ readonly path: string;
1023
+ readonly text: string;
1024
+ }>;
1025
+ export type BoardPlanTask = InferRuntimeSchema<typeof boardPlanTaskSchema>;
1026
+ export declare const boardTaskPlanParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1027
+ readonly as?: string | undefined;
1028
+ readonly commandId: string;
1029
+ readonly tasks: readonly {
1030
+ readonly assignee?: string | undefined;
1031
+ readonly key: string;
1032
+ readonly labels?: readonly {
1033
+ readonly key: string;
1034
+ readonly value: string;
1035
+ }[] | undefined;
1036
+ readonly needs?: readonly string[] | undefined;
1037
+ readonly path: string;
1038
+ readonly text: string;
1039
+ }[];
1040
+ readonly workspaceId: string;
1041
+ }>;
1042
+ export type BoardTaskPlanParameters = InferRuntimeSchema<typeof boardTaskPlanParametersSchema>;
1043
+ export declare const boardTaskPlanResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1044
+ readonly commandId: string;
1045
+ readonly delivery: "duplicate" | "new";
1046
+ readonly method: "board.task.plan";
1047
+ readonly receipt: {
1048
+ readonly actorId: string;
1049
+ readonly aggregateRevision: string;
1050
+ readonly commandId: string;
1051
+ readonly createdAt: string;
1052
+ readonly eventCursor: string;
1053
+ readonly method: string;
1054
+ readonly proposedBy?: string | undefined;
1055
+ readonly receiptId: string;
1056
+ readonly schemaVersion: 1;
1057
+ readonly state: "succeeded";
1058
+ readonly target: {
1059
+ readonly id: string;
1060
+ readonly type: string;
1061
+ };
1062
+ readonly updatedAt: string;
1063
+ };
1064
+ readonly tasks: readonly {
1065
+ readonly id: string;
1066
+ readonly key: string;
1067
+ readonly path: string;
1068
+ readonly revision: "1";
1069
+ readonly state: "ready" | "waiting";
1070
+ }[];
1071
+ }>;
1072
+ export type BoardTaskPlanResult = InferRuntimeSchema<typeof boardTaskPlanResultSchema>;
1073
+ export declare const boardTaskAssignParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1074
+ readonly as?: string | undefined;
1075
+ readonly assignee?: string | undefined;
1076
+ readonly commandId: string;
1077
+ readonly expectedRevision: string;
1078
+ readonly pool?: true | undefined;
1079
+ readonly taskId: string;
1080
+ }>;
1081
+ export type BoardTaskAssignParameters = InferRuntimeSchema<typeof boardTaskAssignParametersSchema>;
1082
+ export declare const boardTaskAssignResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1083
+ readonly commandId: string;
1084
+ readonly delivery: "duplicate" | "new";
1085
+ readonly method: "board.task.assign";
1086
+ readonly receipt: {
1087
+ readonly actorId: string;
1088
+ readonly aggregateRevision: string;
1089
+ readonly commandId: string;
1090
+ readonly createdAt: string;
1091
+ readonly eventCursor: string;
1092
+ readonly method: string;
1093
+ readonly proposedBy?: string | undefined;
1094
+ readonly receiptId: string;
1095
+ readonly schemaVersion: 1;
1096
+ readonly state: "succeeded";
1097
+ readonly target: {
1098
+ readonly id: string;
1099
+ readonly type: string;
1100
+ };
1101
+ readonly updatedAt: string;
1102
+ };
1103
+ readonly task: {
1104
+ readonly assignee?: string | undefined;
1105
+ readonly author?: {
1106
+ readonly id: string;
1107
+ readonly kind: "bot" | "person";
1108
+ } | {
1109
+ readonly agent: string;
1110
+ readonly kind: "session";
1111
+ readonly sessionId?: string | undefined;
1112
+ readonly via: {
1113
+ readonly id: string;
1114
+ readonly kind: "bot" | "person";
1115
+ };
1116
+ } | undefined;
1117
+ readonly claim?: {
1118
+ readonly claimant: {
1119
+ readonly id: string;
1120
+ readonly kind: "bot" | "person";
1121
+ } | {
1122
+ readonly agent: string;
1123
+ readonly kind: "session";
1124
+ readonly sessionId?: string | undefined;
1125
+ readonly via: {
1126
+ readonly id: string;
1127
+ readonly kind: "bot" | "person";
1128
+ };
1129
+ };
1130
+ readonly claimedAt: string;
1131
+ readonly leaseExpiresAt: string;
1132
+ } | undefined;
1133
+ readonly createdAt: string;
1134
+ readonly id: string;
1135
+ readonly labels: readonly {
1136
+ readonly key: string;
1137
+ readonly value: string;
1138
+ }[];
1139
+ readonly needs?: readonly string[] | undefined;
1140
+ readonly ownedBy: "board" | "run-ledger";
1141
+ readonly path: string;
1142
+ readonly revision: string;
1143
+ readonly schemaVersion: "maia.board/v1";
1144
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
1145
+ readonly title: string;
1146
+ readonly updatedAt: string;
1147
+ readonly workspaceId: string;
1148
+ readonly reason?: string | undefined;
1149
+ readonly result?: string | undefined;
1150
+ readonly text: string;
1151
+ };
1152
+ }>;
1153
+ export type BoardTaskAssignResult = InferRuntimeSchema<typeof boardTaskAssignResultSchema>;
1154
+ export declare const boardTaskPromoteParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1155
+ readonly as?: string | undefined;
1156
+ readonly commandId: string;
1157
+ readonly needs?: readonly string[] | undefined;
1158
+ readonly threadId: string;
1159
+ readonly workspaceId: string;
1160
+ }>;
1161
+ export type BoardTaskPromoteParameters = InferRuntimeSchema<typeof boardTaskPromoteParametersSchema>;
1162
+ export declare const boardTaskPromoteResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1163
+ readonly commandId: string;
1164
+ readonly delivery: "duplicate" | "new";
1165
+ readonly method: "board.task.promote";
1166
+ readonly receipt: {
1167
+ readonly actorId: string;
1168
+ readonly aggregateRevision: string;
1169
+ readonly commandId: string;
1170
+ readonly createdAt: string;
1171
+ readonly eventCursor: string;
1172
+ readonly method: string;
1173
+ readonly proposedBy?: string | undefined;
1174
+ readonly receiptId: string;
1175
+ readonly schemaVersion: 1;
1176
+ readonly state: "succeeded";
1177
+ readonly target: {
1178
+ readonly id: string;
1179
+ readonly type: string;
1180
+ };
1181
+ readonly updatedAt: string;
1182
+ };
1183
+ readonly task: {
1184
+ readonly assignee?: string | undefined;
1185
+ readonly author?: {
1186
+ readonly id: string;
1187
+ readonly kind: "bot" | "person";
1188
+ } | {
1189
+ readonly agent: string;
1190
+ readonly kind: "session";
1191
+ readonly sessionId?: string | undefined;
1192
+ readonly via: {
1193
+ readonly id: string;
1194
+ readonly kind: "bot" | "person";
1195
+ };
1196
+ } | undefined;
1197
+ readonly claim?: {
1198
+ readonly claimant: {
1199
+ readonly id: string;
1200
+ readonly kind: "bot" | "person";
1201
+ } | {
1202
+ readonly agent: string;
1203
+ readonly kind: "session";
1204
+ readonly sessionId?: string | undefined;
1205
+ readonly via: {
1206
+ readonly id: string;
1207
+ readonly kind: "bot" | "person";
1208
+ };
1209
+ };
1210
+ readonly claimedAt: string;
1211
+ readonly leaseExpiresAt: string;
1212
+ } | undefined;
1213
+ readonly createdAt: string;
1214
+ readonly id: string;
1215
+ readonly labels: readonly {
1216
+ readonly key: string;
1217
+ readonly value: string;
1218
+ }[];
1219
+ readonly needs?: readonly string[] | undefined;
1220
+ readonly ownedBy: "board" | "run-ledger";
1221
+ readonly path: string;
1222
+ readonly revision: string;
1223
+ readonly schemaVersion: "maia.board/v1";
1224
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
1225
+ readonly title: string;
1226
+ readonly updatedAt: string;
1227
+ readonly workspaceId: string;
1228
+ readonly reason?: string | undefined;
1229
+ readonly result?: string | undefined;
1230
+ readonly text: string;
1231
+ };
1232
+ }>;
1233
+ export type BoardTaskPromoteResult = InferRuntimeSchema<typeof boardTaskPromoteResultSchema>;
1234
+ export declare const boardTaskNeedsReplaceParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1235
+ readonly as?: string | undefined;
1236
+ readonly commandId: string;
1237
+ readonly expectedRevision: string;
1238
+ readonly needs: readonly string[];
1239
+ readonly taskId: string;
1240
+ }>;
1241
+ export type BoardTaskNeedsReplaceParameters = InferRuntimeSchema<typeof boardTaskNeedsReplaceParametersSchema>;
1242
+ export declare const boardTaskNeedsReplaceResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1243
+ readonly commandId: string;
1244
+ readonly delivery: "duplicate" | "new";
1245
+ readonly method: "board.task.needs.replace";
1246
+ readonly receipt: {
1247
+ readonly actorId: string;
1248
+ readonly aggregateRevision: string;
1249
+ readonly commandId: string;
1250
+ readonly createdAt: string;
1251
+ readonly eventCursor: string;
1252
+ readonly method: string;
1253
+ readonly proposedBy?: string | undefined;
1254
+ readonly receiptId: string;
1255
+ readonly schemaVersion: 1;
1256
+ readonly state: "succeeded";
1257
+ readonly target: {
1258
+ readonly id: string;
1259
+ readonly type: string;
1260
+ };
1261
+ readonly updatedAt: string;
1262
+ };
1263
+ readonly task: {
1264
+ readonly assignee?: string | undefined;
1265
+ readonly author?: {
1266
+ readonly id: string;
1267
+ readonly kind: "bot" | "person";
1268
+ } | {
1269
+ readonly agent: string;
1270
+ readonly kind: "session";
1271
+ readonly sessionId?: string | undefined;
1272
+ readonly via: {
1273
+ readonly id: string;
1274
+ readonly kind: "bot" | "person";
1275
+ };
1276
+ } | undefined;
1277
+ readonly claim?: {
1278
+ readonly claimant: {
1279
+ readonly id: string;
1280
+ readonly kind: "bot" | "person";
1281
+ } | {
1282
+ readonly agent: string;
1283
+ readonly kind: "session";
1284
+ readonly sessionId?: string | undefined;
1285
+ readonly via: {
1286
+ readonly id: string;
1287
+ readonly kind: "bot" | "person";
1288
+ };
1289
+ };
1290
+ readonly claimedAt: string;
1291
+ readonly leaseExpiresAt: string;
1292
+ } | undefined;
1293
+ readonly createdAt: string;
1294
+ readonly id: string;
1295
+ readonly labels: readonly {
1296
+ readonly key: string;
1297
+ readonly value: string;
1298
+ }[];
1299
+ readonly needs?: readonly string[] | undefined;
1300
+ readonly ownedBy: "board" | "run-ledger";
1301
+ readonly path: string;
1302
+ readonly revision: string;
1303
+ readonly schemaVersion: "maia.board/v1";
1304
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
1305
+ readonly title: string;
1306
+ readonly updatedAt: string;
1307
+ readonly workspaceId: string;
1308
+ readonly reason?: string | undefined;
1309
+ readonly result?: string | undefined;
1310
+ readonly text: string;
1311
+ };
1312
+ }>;
1313
+ export type BoardTaskNeedsReplaceResult = InferRuntimeSchema<typeof boardTaskNeedsReplaceResultSchema>;
1314
+ export declare const boardThreadSummarySchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1315
+ readonly author?: {
1316
+ readonly id: string;
1317
+ readonly kind: "bot" | "person";
1318
+ } | {
1319
+ readonly agent: string;
1320
+ readonly kind: "session";
1321
+ readonly sessionId?: string | undefined;
1322
+ readonly via: {
1323
+ readonly id: string;
1324
+ readonly kind: "bot" | "person";
1325
+ };
1326
+ } | undefined;
1327
+ readonly createdAt: string;
1328
+ readonly excerpt: string;
1329
+ readonly id: string;
1330
+ readonly lastActivityAt: string;
1331
+ readonly path: string;
1332
+ readonly replyCount: number;
1333
+ readonly schemaVersion: "maia.board/v1";
1334
+ readonly state?: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting" | undefined;
1335
+ readonly workspaceId: string;
1336
+ }>;
1337
+ export type BoardThreadSummary = InferRuntimeSchema<typeof boardThreadSummarySchema>;
1338
+ export declare const boardMessagePostParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1339
+ readonly as?: string | undefined;
1340
+ readonly commandId: string;
1341
+ readonly labels?: readonly {
1342
+ readonly key: string;
1343
+ readonly value: string;
1344
+ }[] | undefined;
1345
+ readonly path: string;
1346
+ readonly text: string;
1347
+ readonly workspaceId: string;
1348
+ }>;
1349
+ export type BoardMessagePostParameters = InferRuntimeSchema<typeof boardMessagePostParametersSchema>;
1350
+ export declare const boardMessageReplyParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1351
+ readonly as?: string | undefined;
1352
+ readonly commandId: string;
1353
+ readonly labels?: readonly {
1354
+ readonly key: string;
1355
+ readonly value: string;
1356
+ }[] | undefined;
1357
+ readonly text: string;
1358
+ readonly threadId: string;
1359
+ }>;
1360
+ export type BoardMessageReplyParameters = InferRuntimeSchema<typeof boardMessageReplyParametersSchema>;
1361
+ export declare const boardPathReadParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1362
+ readonly as?: string | undefined;
1363
+ readonly afterCursor?: string | undefined;
1364
+ readonly limit?: number | undefined;
1365
+ readonly path: string;
1366
+ readonly workspaceId: string;
1367
+ }>;
1368
+ export type BoardPathReadParameters = InferRuntimeSchema<typeof boardPathReadParametersSchema>;
1369
+ export declare const boardThreadShowParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1370
+ readonly as?: string | undefined;
1371
+ readonly afterCursor?: string | undefined;
1372
+ readonly limit?: number | undefined;
1373
+ readonly threadId: string;
1374
+ }>;
1375
+ export type BoardThreadShowParameters = InferRuntimeSchema<typeof boardThreadShowParametersSchema>;
1376
+ export declare const boardMessagePostResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1377
+ readonly commandId: string;
1378
+ readonly delivery: "duplicate" | "new";
1379
+ readonly message: {
1380
+ readonly author?: {
1381
+ readonly id: string;
1382
+ readonly kind: "bot" | "person";
1383
+ } | {
1384
+ readonly agent: string;
1385
+ readonly kind: "session";
1386
+ readonly sessionId?: string | undefined;
1387
+ readonly via: {
1388
+ readonly id: string;
1389
+ readonly kind: "bot" | "person";
1390
+ };
1391
+ } | undefined;
1392
+ readonly createdAt: string;
1393
+ readonly id: string;
1394
+ readonly labels: readonly {
1395
+ readonly key: string;
1396
+ readonly value: string;
1397
+ }[];
1398
+ readonly links: readonly {
1399
+ readonly kind: "commit" | "node" | "pull_request" | "session";
1400
+ readonly target: string;
1401
+ }[];
1402
+ readonly schemaVersion: "maia.board/v1";
1403
+ readonly text: string;
1404
+ readonly threadId: string;
1405
+ };
1406
+ readonly receipt: {
1407
+ readonly actorId: string;
1408
+ readonly aggregateRevision: string;
1409
+ readonly commandId: string;
1410
+ readonly createdAt: string;
1411
+ readonly eventCursor: string;
1412
+ readonly method: string;
1413
+ readonly proposedBy?: string | undefined;
1414
+ readonly receiptId: string;
1415
+ readonly schemaVersion: 1;
1416
+ readonly state: "succeeded";
1417
+ readonly target: {
1418
+ readonly id: string;
1419
+ readonly type: string;
1420
+ };
1421
+ readonly updatedAt: string;
1422
+ };
1423
+ readonly method: "board.message.post";
1424
+ readonly thread: {
1425
+ readonly boardId: string;
1426
+ readonly createdAt: string;
1427
+ readonly id: string;
1428
+ readonly path: string;
1429
+ readonly schemaVersion: "maia.board/v1";
1430
+ readonly state?: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting" | undefined;
1431
+ };
1432
+ }>;
1433
+ export type BoardMessagePostResult = InferRuntimeSchema<typeof boardMessagePostResultSchema>;
1434
+ export declare const boardMessageReplyResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1435
+ readonly commandId: string;
1436
+ readonly delivery: "duplicate" | "new";
1437
+ readonly message: {
1438
+ readonly author?: {
1439
+ readonly id: string;
1440
+ readonly kind: "bot" | "person";
1441
+ } | {
1442
+ readonly agent: string;
1443
+ readonly kind: "session";
1444
+ readonly sessionId?: string | undefined;
1445
+ readonly via: {
1446
+ readonly id: string;
1447
+ readonly kind: "bot" | "person";
1448
+ };
1449
+ } | undefined;
1450
+ readonly createdAt: string;
1451
+ readonly id: string;
1452
+ readonly labels: readonly {
1453
+ readonly key: string;
1454
+ readonly value: string;
1455
+ }[];
1456
+ readonly links: readonly {
1457
+ readonly kind: "commit" | "node" | "pull_request" | "session";
1458
+ readonly target: string;
1459
+ }[];
1460
+ readonly schemaVersion: "maia.board/v1";
1461
+ readonly text: string;
1462
+ readonly threadId: string;
1463
+ };
1464
+ readonly receipt: {
1465
+ readonly actorId: string;
1466
+ readonly aggregateRevision: string;
1467
+ readonly commandId: string;
1468
+ readonly createdAt: string;
1469
+ readonly eventCursor: string;
1470
+ readonly method: string;
1471
+ readonly proposedBy?: string | undefined;
1472
+ readonly receiptId: string;
1473
+ readonly schemaVersion: 1;
1474
+ readonly state: "succeeded";
1475
+ readonly target: {
1476
+ readonly id: string;
1477
+ readonly type: string;
1478
+ };
1479
+ readonly updatedAt: string;
1480
+ };
1481
+ readonly method: "board.message.reply";
1482
+ }>;
1483
+ export type BoardMessageReplyResult = InferRuntimeSchema<typeof boardMessageReplyResultSchema>;
1484
+ export declare const boardPathReadResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1485
+ readonly actor: {
1486
+ readonly id: string;
1487
+ readonly kind: "bot" | "person";
1488
+ } | {
1489
+ readonly agent: string;
1490
+ readonly kind: "session";
1491
+ readonly sessionId?: string | undefined;
1492
+ readonly via: {
1493
+ readonly id: string;
1494
+ readonly kind: "bot" | "person";
1495
+ };
1496
+ };
1497
+ readonly items: readonly {
1498
+ readonly author?: {
1499
+ readonly id: string;
1500
+ readonly kind: "bot" | "person";
1501
+ } | {
1502
+ readonly agent: string;
1503
+ readonly kind: "session";
1504
+ readonly sessionId?: string | undefined;
1505
+ readonly via: {
1506
+ readonly id: string;
1507
+ readonly kind: "bot" | "person";
1508
+ };
1509
+ } | undefined;
1510
+ readonly createdAt: string;
1511
+ readonly excerpt: string;
1512
+ readonly id: string;
1513
+ readonly lastActivityAt: string;
1514
+ readonly path: string;
1515
+ readonly replyCount: number;
1516
+ readonly schemaVersion: "maia.board/v1";
1517
+ readonly state?: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting" | undefined;
1518
+ readonly workspaceId: string;
1519
+ }[];
1520
+ readonly method: "board.path.read";
1521
+ readonly nextCursor?: string | undefined;
1522
+ }>;
1523
+ export type BoardPathReadResult = InferRuntimeSchema<typeof boardPathReadResultSchema>;
1524
+ export declare const boardThreadShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1525
+ readonly actor: {
1526
+ readonly id: string;
1527
+ readonly kind: "bot" | "person";
1528
+ } | {
1529
+ readonly agent: string;
1530
+ readonly kind: "session";
1531
+ readonly sessionId?: string | undefined;
1532
+ readonly via: {
1533
+ readonly id: string;
1534
+ readonly kind: "bot" | "person";
1535
+ };
1536
+ };
1537
+ readonly messages: readonly {
1538
+ readonly author?: {
1539
+ readonly id: string;
1540
+ readonly kind: "bot" | "person";
1541
+ } | {
1542
+ readonly agent: string;
1543
+ readonly kind: "session";
1544
+ readonly sessionId?: string | undefined;
1545
+ readonly via: {
1546
+ readonly id: string;
1547
+ readonly kind: "bot" | "person";
1548
+ };
1549
+ } | undefined;
1550
+ readonly createdAt: string;
1551
+ readonly id: string;
1552
+ readonly labels: readonly {
1553
+ readonly key: string;
1554
+ readonly value: string;
1555
+ }[];
1556
+ readonly links: readonly {
1557
+ readonly kind: "commit" | "node" | "pull_request" | "session";
1558
+ readonly target: string;
1559
+ }[];
1560
+ readonly schemaVersion: "maia.board/v1";
1561
+ readonly text: string;
1562
+ readonly threadId: string;
1563
+ }[];
1564
+ readonly method: "board.thread.show";
1565
+ readonly nextCursor?: string | undefined;
1566
+ readonly task?: {
1567
+ readonly assignee?: string | undefined;
1568
+ readonly author?: {
1569
+ readonly id: string;
1570
+ readonly kind: "bot" | "person";
1571
+ } | {
1572
+ readonly agent: string;
1573
+ readonly kind: "session";
1574
+ readonly sessionId?: string | undefined;
1575
+ readonly via: {
1576
+ readonly id: string;
1577
+ readonly kind: "bot" | "person";
1578
+ };
1579
+ } | undefined;
1580
+ readonly claim?: {
1581
+ readonly claimant: {
1582
+ readonly id: string;
1583
+ readonly kind: "bot" | "person";
1584
+ } | {
1585
+ readonly agent: string;
1586
+ readonly kind: "session";
1587
+ readonly sessionId?: string | undefined;
1588
+ readonly via: {
1589
+ readonly id: string;
1590
+ readonly kind: "bot" | "person";
1591
+ };
1592
+ };
1593
+ readonly claimedAt: string;
1594
+ readonly leaseExpiresAt: string;
1595
+ } | undefined;
1596
+ readonly createdAt: string;
1597
+ readonly id: string;
1598
+ readonly labels: readonly {
1599
+ readonly key: string;
1600
+ readonly value: string;
1601
+ }[];
1602
+ readonly needs?: readonly string[] | undefined;
1603
+ readonly ownedBy: "board" | "run-ledger";
1604
+ readonly path: string;
1605
+ readonly revision: string;
1606
+ readonly schemaVersion: "maia.board/v1";
1607
+ readonly state: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting";
1608
+ readonly title: string;
1609
+ readonly updatedAt: string;
1610
+ readonly workspaceId: string;
1611
+ } | undefined;
1612
+ readonly thread: {
1613
+ readonly author?: {
1614
+ readonly id: string;
1615
+ readonly kind: "bot" | "person";
1616
+ } | {
1617
+ readonly agent: string;
1618
+ readonly kind: "session";
1619
+ readonly sessionId?: string | undefined;
1620
+ readonly via: {
1621
+ readonly id: string;
1622
+ readonly kind: "bot" | "person";
1623
+ };
1624
+ } | undefined;
1625
+ readonly createdAt: string;
1626
+ readonly excerpt: string;
1627
+ readonly id: string;
1628
+ readonly lastActivityAt: string;
1629
+ readonly path: string;
1630
+ readonly replyCount: number;
1631
+ readonly schemaVersion: "maia.board/v1";
1632
+ readonly state?: "blocked" | "cancelled" | "claimed" | "completed" | "failed" | "ready" | "waiting" | undefined;
1633
+ readonly workspaceId: string;
1634
+ };
1635
+ }>;
1636
+ export type BoardThreadShowResult = InferRuntimeSchema<typeof boardThreadShowResultSchema>;
1637
+ export declare const BOARD_SCHEMA_VERSION: "maia.board/v1";
1638
+ export declare const BOARD_TASK_STATE_OF_LEDGER_STATE: Readonly<Record<RunLedgerTaskSummary["state"], BoardTaskState>>;
1639
+ export declare const DEFAULT_BOARD_LIMITS: BoardLimits;
1640
+ export declare const MAX_BOARD_LABELS: number;
1641
+ export declare const MAX_BOARD_LINKS: number;
1642
+ export declare const MAX_BOARD_MESSAGE_BYTES: number;
1643
+ export declare const MAX_BOARD_PATH_LENGTH: number;
1644
+ export declare const BOARD_TASK_AGGREGATE_TYPE: "board_task";
1645
+ export declare const DEFAULT_BOARD_LEASE_SECONDS: number;
1646
+ export declare const MIN_BOARD_LEASE_SECONDS: number;
1647
+ export declare const MAX_BOARD_LEASE_SECONDS: number;
1648
+ export declare const MAX_BOARD_HELD_TASKS: number;
1649
+ export declare const MAX_BOARD_OUTCOME_BYTES: number;
1650
+ export declare const MAX_BOARD_TASK_PAGE_SIZE: number;
1651
+ export declare const MAX_BOARD_TASK_TITLE_LENGTH: number;
1652
+ export declare const MAX_BOARD_THREAD_MESSAGES: number;
1653
+ export declare const BOARD_THREAD_AGGREGATE_TYPE: "board_thread";
1654
+ export declare const MAX_BOARD_THREAD_PAGE_SIZE: number;
1655
+ export declare const BOARD_AGGREGATE_TYPE: "board";
1656
+ export declare const MAX_BOARD_PLAN_JSON_BYTES: number;
1657
+ export declare const MAX_BOARD_PLAN_TASKS: number;
1658
+ export declare const MAX_BOARD_PLAN_TEXT_BYTES: number;
1659
+ export declare const MAX_BOARD_TASK_NEEDS: number;
1660
+ export declare const boardPlanRefusal: (tasks: readonly Pick<BoardPlanTask, "key" | "needs">[]) => string | undefined;
1661
+ type MessageDraft = {
1662
+ readonly labels: readonly unknown[];
1663
+ readonly links: readonly unknown[];
1664
+ readonly text: string;
1665
+ };
1666
+ export declare const boardMessageLimitRefusal: (message: MessageDraft, limits: BoardLimits) => string | undefined;
1667
+ export {};
1668
+ //# sourceMappingURL=contract.d.ts.map