@maiaos/protocol 0.1.0-canary.64 → 0.1.0-canary.65

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 (825) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +8 -0
  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 +18 -1
  16. package/dist/agent/worker-operation.d.ts.map +1 -1
  17. package/dist/agents/contract.d.ts +2 -0
  18. package/dist/agents/contract.d.ts.map +1 -1
  19. package/dist/agents/contract.js +2 -1
  20. package/dist/agents/contract.js.map +1 -1
  21. package/dist/agents/effect-schema.d.ts +8 -2
  22. package/dist/agents/effect-schema.d.ts.map +1 -1
  23. package/dist/agents/effect-schema.js +14 -11
  24. package/dist/agents/effect-schema.js.map +1 -1
  25. package/dist/agents/feature.d.ts +29 -4
  26. package/dist/agents/feature.d.ts.map +1 -1
  27. package/dist/agents/feature.js +29 -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 +6 -5
  34. package/dist/approval/contract.d.ts.map +1 -1
  35. package/dist/approval/effect-schema.d.ts +1 -1
  36. package/dist/approval/effect-schema.d.ts.map +1 -1
  37. package/dist/approval/effect-schema.js +1 -1
  38. package/dist/approval/effect-schema.js.map +1 -1
  39. package/dist/approval/feature.d.ts +15 -0
  40. package/dist/approval/feature.d.ts.map +1 -1
  41. package/dist/approval/feature.js +15 -0
  42. package/dist/approval/feature.js.map +1 -1
  43. package/dist/approval/request-effect-schema.d.ts +17 -5
  44. package/dist/approval/request-effect-schema.d.ts.map +1 -1
  45. package/dist/approval/request-effect-schema.js +11 -5
  46. package/dist/approval/request-effect-schema.js.map +1 -1
  47. package/dist/approval/result-effect-schema.d.ts +8 -6
  48. package/dist/approval/result-effect-schema.d.ts.map +1 -1
  49. package/dist/board/contract.d.ts +1668 -0
  50. package/dist/board/contract.d.ts.map +1 -0
  51. package/dist/board/contract.js +108 -0
  52. package/dist/board/contract.js.map +1 -0
  53. package/dist/board/effect-schema.d.ts +6 -0
  54. package/dist/board/effect-schema.d.ts.map +1 -0
  55. package/dist/board/effect-schema.js +6 -0
  56. package/dist/board/effect-schema.js.map +1 -0
  57. package/dist/board/feature.d.ts +565 -0
  58. package/dist/board/feature.d.ts.map +1 -0
  59. package/dist/board/feature.js +535 -0
  60. package/dist/board/feature.js.map +1 -0
  61. package/dist/board/index.d.ts +3 -0
  62. package/dist/board/index.d.ts.map +1 -0
  63. package/dist/board/index.js +3 -0
  64. package/dist/board/index.js.map +1 -0
  65. package/dist/board/manage-effect-schema.d.ts +493 -0
  66. package/dist/board/manage-effect-schema.d.ts.map +1 -0
  67. package/dist/board/manage-effect-schema.js +73 -0
  68. package/dist/board/manage-effect-schema.js.map +1 -0
  69. package/dist/board/model-effect-schema.d.ts +111 -0
  70. package/dist/board/model-effect-schema.d.ts.map +1 -0
  71. package/dist/board/model-effect-schema.js +120 -0
  72. package/dist/board/model-effect-schema.js.map +1 -0
  73. package/dist/board/plan-effect-schema.d.ts +120 -0
  74. package/dist/board/plan-effect-schema.d.ts.map +1 -0
  75. package/dist/board/plan-effect-schema.js +108 -0
  76. package/dist/board/plan-effect-schema.js.map +1 -0
  77. package/dist/board/task-effect-schema.d.ts +1835 -0
  78. package/dist/board/task-effect-schema.d.ts.map +1 -0
  79. package/dist/board/task-effect-schema.js +275 -0
  80. package/dist/board/task-effect-schema.js.map +1 -0
  81. package/dist/board/thread-effect-schema.d.ts +633 -0
  82. package/dist/board/thread-effect-schema.d.ts.map +1 -0
  83. package/dist/board/thread-effect-schema.js +116 -0
  84. package/dist/board/thread-effect-schema.js.map +1 -0
  85. package/dist/command-receipt/contract.d.ts +2 -0
  86. package/dist/command-receipt/contract.d.ts.map +1 -1
  87. package/dist/command-receipt/effect-schema.d.ts +10 -0
  88. package/dist/command-receipt/effect-schema.d.ts.map +1 -1
  89. package/dist/command-receipt/effect-schema.js +5 -0
  90. package/dist/command-receipt/effect-schema.js.map +1 -1
  91. package/dist/command-receipt/feature.d.ts +10 -0
  92. package/dist/command-receipt/feature.d.ts.map +1 -1
  93. package/dist/command-receipt/feature.js +10 -0
  94. package/dist/command-receipt/feature.js.map +1 -1
  95. package/dist/connection/access-effect-schema.d.ts +4 -0
  96. package/dist/connection/access-effect-schema.d.ts.map +1 -1
  97. package/dist/connection/contract.d.ts +154 -2
  98. package/dist/connection/contract.d.ts.map +1 -1
  99. package/dist/connection/contract.js +7 -0
  100. package/dist/connection/contract.js.map +1 -1
  101. package/dist/connection/effect-schema.d.ts +149 -2
  102. package/dist/connection/effect-schema.d.ts.map +1 -1
  103. package/dist/connection/effect-schema.js +3 -0
  104. package/dist/connection/effect-schema.js.map +1 -1
  105. package/dist/connection/executors-effect-schema.d.ts +259 -0
  106. package/dist/connection/executors-effect-schema.d.ts.map +1 -0
  107. package/dist/connection/executors-effect-schema.js +80 -0
  108. package/dist/connection/executors-effect-schema.js.map +1 -0
  109. package/dist/connection/feature.d.ts +301 -10
  110. package/dist/connection/feature.d.ts.map +1 -1
  111. package/dist/connection/feature.js +381 -46
  112. package/dist/connection/feature.js.map +1 -1
  113. package/dist/connection/gateway-effect-schema.d.ts +7 -0
  114. package/dist/connection/gateway-effect-schema.d.ts.map +1 -1
  115. package/dist/connection/gateway-effect-schema.js +7 -0
  116. package/dist/connection/gateway-effect-schema.js.map +1 -1
  117. package/dist/connection/index.d.ts +1 -1
  118. package/dist/connection/index.d.ts.map +1 -1
  119. package/dist/connection/index.js +1 -1
  120. package/dist/connection/index.js.map +1 -1
  121. package/dist/connection/request-effect-schema.d.ts +10 -3
  122. package/dist/connection/request-effect-schema.d.ts.map +1 -1
  123. package/dist/connection/request-effect-schema.js +18 -11
  124. package/dist/connection/request-effect-schema.js.map +1 -1
  125. package/dist/connection/result-effect-schema.d.ts +34 -6
  126. package/dist/connection/result-effect-schema.d.ts.map +1 -1
  127. package/dist/connection/result-effect-schema.js +4 -3
  128. package/dist/connection/result-effect-schema.js.map +1 -1
  129. package/dist/connection/system-effect-schema.d.ts +8 -0
  130. package/dist/connection/system-effect-schema.d.ts.map +1 -1
  131. package/dist/connection/system-effect-schema.js +4 -2
  132. package/dist/connection/system-effect-schema.js.map +1 -1
  133. package/dist/container/contract.d.ts +2 -0
  134. package/dist/container/contract.d.ts.map +1 -1
  135. package/dist/container/effect-schema.d.ts +4 -0
  136. package/dist/container/effect-schema.d.ts.map +1 -1
  137. package/dist/container/portfolio-feature.d.ts +286 -0
  138. package/dist/container/portfolio-feature.d.ts.map +1 -1
  139. package/dist/container/portfolio-feature.js +131 -0
  140. package/dist/container/portfolio-feature.js.map +1 -1
  141. package/dist/coordinator-tool/index.d.ts +1 -1
  142. package/dist/coordinator-tool/index.d.ts.map +1 -1
  143. package/dist/coordinator-tool/index.js +1 -1
  144. package/dist/coordinator-tool/index.js.map +1 -1
  145. package/dist/coordinator-tool/registry.d.ts +16 -0
  146. package/dist/coordinator-tool/registry.d.ts.map +1 -1
  147. package/dist/coordinator-tool/registry.js +152 -2
  148. package/dist/coordinator-tool/registry.js.map +1 -1
  149. package/dist/discovery/contract.d.ts +84 -2
  150. package/dist/discovery/contract.d.ts.map +1 -1
  151. package/dist/discovery/contract.js +9 -1
  152. package/dist/discovery/contract.js.map +1 -1
  153. package/dist/discovery/effect-schema.d.ts +190 -6
  154. package/dist/discovery/effect-schema.d.ts.map +1 -1
  155. package/dist/discovery/effect-schema.js +87 -6
  156. package/dist/discovery/effect-schema.js.map +1 -1
  157. package/dist/discovery/feature.d.ts +81 -1
  158. package/dist/discovery/feature.d.ts.map +1 -1
  159. package/dist/discovery/feature.js +77 -1
  160. package/dist/discovery/feature.js.map +1 -1
  161. package/dist/discovery/index.d.ts +1 -1
  162. package/dist/discovery/index.d.ts.map +1 -1
  163. package/dist/discovery/index.js +1 -1
  164. package/dist/discovery/index.js.map +1 -1
  165. package/dist/envelope/effect-schema.d.ts +38 -17
  166. package/dist/envelope/effect-schema.d.ts.map +1 -1
  167. package/dist/envelope/effect-schema.js +30 -8
  168. package/dist/envelope/effect-schema.js.map +1 -1
  169. package/dist/envelope/envelope.d.ts +25 -3
  170. package/dist/envelope/envelope.d.ts.map +1 -1
  171. package/dist/envelope/envelope.js +37 -1
  172. package/dist/envelope/envelope.js.map +1 -1
  173. package/dist/envelope/index.d.ts +2 -2
  174. package/dist/envelope/index.d.ts.map +1 -1
  175. package/dist/envelope/index.js +2 -2
  176. package/dist/envelope/index.js.map +1 -1
  177. package/dist/envelope/policy.d.ts +11 -0
  178. package/dist/envelope/policy.d.ts.map +1 -1
  179. package/dist/envelope/policy.js +13 -0
  180. package/dist/envelope/policy.js.map +1 -1
  181. package/dist/event/effect-schema.d.ts +1 -1
  182. package/dist/event/effect-schema.d.ts.map +1 -1
  183. package/dist/event/effect-schema.js +1 -1
  184. package/dist/event/effect-schema.js.map +1 -1
  185. package/dist/event/feature.d.ts +5 -0
  186. package/dist/event/feature.d.ts.map +1 -1
  187. package/dist/event/feature.js +5 -0
  188. package/dist/event/feature.js.map +1 -1
  189. package/dist/event/lifecycle/effect-schema.d.ts +11 -0
  190. package/dist/event/lifecycle/effect-schema.d.ts.map +1 -1
  191. package/dist/event/lifecycle/effect-schema.js +13 -0
  192. package/dist/event/lifecycle/effect-schema.js.map +1 -1
  193. package/dist/event/lifecycle/index.d.ts +1 -1
  194. package/dist/event/lifecycle/index.d.ts.map +1 -1
  195. package/dist/event/lifecycle/index.js +1 -1
  196. package/dist/event/lifecycle/index.js.map +1 -1
  197. package/dist/event/lifecycle/schema.d.ts +6 -0
  198. package/dist/event/lifecycle/schema.d.ts.map +1 -1
  199. package/dist/event/lifecycle/schema.js +2 -1
  200. package/dist/event/lifecycle/schema.js.map +1 -1
  201. package/dist/event/registry.d.ts.map +1 -1
  202. package/dist/event/registry.js +198 -4
  203. package/dist/event/registry.js.map +1 -1
  204. package/dist/event/waiting/effect-schema.d.ts +42 -0
  205. package/dist/event/waiting/effect-schema.d.ts.map +1 -0
  206. package/dist/event/waiting/effect-schema.js +51 -0
  207. package/dist/event/waiting/effect-schema.js.map +1 -0
  208. package/dist/event/waiting/index.d.ts +2 -0
  209. package/dist/event/waiting/index.d.ts.map +1 -0
  210. package/dist/event/waiting/index.js +2 -0
  211. package/dist/event/waiting/index.js.map +1 -0
  212. package/dist/event/waiting/schema.d.ts +23 -0
  213. package/dist/event/waiting/schema.d.ts.map +1 -0
  214. package/dist/event/waiting/schema.js +6 -0
  215. package/dist/event/waiting/schema.js.map +1 -0
  216. package/dist/event-stream/contract.d.ts +2 -1
  217. package/dist/event-stream/contract.d.ts.map +1 -1
  218. package/dist/event-stream/effect-schema.d.ts +9 -8
  219. package/dist/event-stream/effect-schema.d.ts.map +1 -1
  220. package/dist/execution/contract.d.ts +1 -0
  221. package/dist/execution/contract.d.ts.map +1 -1
  222. package/dist/execution/effect-schema.d.ts +6 -0
  223. package/dist/execution/effect-schema.d.ts.map +1 -1
  224. package/dist/execution/feature.d.ts +575 -0
  225. package/dist/execution/feature.d.ts.map +1 -0
  226. package/dist/execution/feature.js +543 -0
  227. package/dist/execution/feature.js.map +1 -0
  228. package/dist/execution/file-operation-contract.d.ts +1 -0
  229. package/dist/execution/file-operation-contract.d.ts.map +1 -1
  230. package/dist/execution/file-operation-effect-schema.d.ts +1 -0
  231. package/dist/execution/file-operation-effect-schema.d.ts.map +1 -1
  232. package/dist/execution/index.d.ts +1 -0
  233. package/dist/execution/index.d.ts.map +1 -1
  234. package/dist/execution/index.js +1 -0
  235. package/dist/execution/index.js.map +1 -1
  236. package/dist/execution/operation-contract.d.ts +1 -0
  237. package/dist/execution/operation-contract.d.ts.map +1 -1
  238. package/dist/execution/operation-effect-schema.d.ts +1 -0
  239. package/dist/execution/operation-effect-schema.d.ts.map +1 -1
  240. package/dist/execution/placement/contract.d.ts +4 -0
  241. package/dist/execution/placement/contract.d.ts.map +1 -1
  242. package/dist/execution/placement/effect-schema.d.ts +4 -0
  243. package/dist/execution/placement/effect-schema.d.ts.map +1 -1
  244. package/dist/execution/relocation/contract.d.ts +2 -0
  245. package/dist/execution/relocation/contract.d.ts.map +1 -1
  246. package/dist/execution/relocation/effect-schema.d.ts +4 -0
  247. package/dist/execution/relocation/effect-schema.d.ts.map +1 -1
  248. package/dist/execution/worktree/contract.d.ts +12 -0
  249. package/dist/execution/worktree/contract.d.ts.map +1 -1
  250. package/dist/execution/worktree/effect-schema.d.ts +20 -0
  251. package/dist/execution/worktree/effect-schema.d.ts.map +1 -1
  252. package/dist/execution/worktree/effect-schema.js +11 -0
  253. package/dist/execution/worktree/effect-schema.js.map +1 -1
  254. package/dist/executor/index.d.ts +2 -0
  255. package/dist/executor/index.d.ts.map +1 -0
  256. package/dist/executor/index.js +2 -0
  257. package/dist/executor/index.js.map +1 -0
  258. package/dist/executor/policy.d.ts +26 -0
  259. package/dist/executor/policy.d.ts.map +1 -0
  260. package/dist/executor/policy.js +45 -0
  261. package/dist/executor/policy.js.map +1 -0
  262. package/dist/feature/descriptor/descriptor.d.ts +42 -2
  263. package/dist/feature/descriptor/descriptor.d.ts.map +1 -1
  264. package/dist/feature/descriptor/descriptor.js.map +1 -1
  265. package/dist/feature/descriptor/index.d.ts +1 -1
  266. package/dist/feature/descriptor/index.d.ts.map +1 -1
  267. package/dist/feature/descriptor/index.js.map +1 -1
  268. package/dist/feature/index.d.ts +1 -1
  269. package/dist/feature/index.d.ts.map +1 -1
  270. package/dist/feature/index.js +1 -1
  271. package/dist/feature/index.js.map +1 -1
  272. package/dist/feature/node-status.d.ts +65 -1
  273. package/dist/feature/node-status.d.ts.map +1 -1
  274. package/dist/feature/node-status.js +59 -1
  275. package/dist/feature/node-status.js.map +1 -1
  276. package/dist/feature/registry.d.ts +55 -4
  277. package/dist/feature/registry.d.ts.map +1 -1
  278. package/dist/feature/registry.js +49 -0
  279. package/dist/feature/registry.js.map +1 -1
  280. package/dist/github/contract.d.ts +266 -0
  281. package/dist/github/contract.d.ts.map +1 -0
  282. package/dist/github/contract.js +30 -0
  283. package/dist/github/contract.js.map +1 -0
  284. package/dist/github/effect-schema.d.ts +488 -0
  285. package/dist/github/effect-schema.d.ts.map +1 -0
  286. package/dist/github/effect-schema.js +231 -0
  287. package/dist/github/effect-schema.js.map +1 -0
  288. package/dist/github/feature.d.ts +201 -0
  289. package/dist/github/feature.d.ts.map +1 -0
  290. package/dist/github/feature.js +195 -0
  291. package/dist/github/feature.js.map +1 -0
  292. package/dist/github/index.d.ts +3 -0
  293. package/dist/github/index.d.ts.map +1 -0
  294. package/dist/github/index.js +3 -0
  295. package/dist/github/index.js.map +1 -0
  296. package/dist/goal/contract.d.ts +449 -0
  297. package/dist/goal/contract.d.ts.map +1 -0
  298. package/dist/goal/contract.js +37 -0
  299. package/dist/goal/contract.js.map +1 -0
  300. package/dist/goal/effect-schema.d.ts +870 -0
  301. package/dist/goal/effect-schema.d.ts.map +1 -0
  302. package/dist/goal/effect-schema.js +349 -0
  303. package/dist/goal/effect-schema.js.map +1 -0
  304. package/dist/goal/feature.d.ts +256 -0
  305. package/dist/goal/feature.d.ts.map +1 -0
  306. package/dist/goal/feature.js +237 -0
  307. package/dist/goal/feature.js.map +1 -0
  308. package/dist/goal/index.d.ts +3 -0
  309. package/dist/goal/index.d.ts.map +1 -0
  310. package/dist/goal/index.js +3 -0
  311. package/dist/goal/index.js.map +1 -0
  312. package/dist/harness/installed/effect-schema.d.ts.map +1 -1
  313. package/dist/harness/installed/effect-schema.js +2 -1
  314. package/dist/harness/installed/effect-schema.js.map +1 -1
  315. package/dist/harness/installed/feature.d.ts +35 -0
  316. package/dist/harness/installed/feature.d.ts.map +1 -0
  317. package/dist/harness/installed/feature.js +39 -0
  318. package/dist/harness/installed/feature.js.map +1 -0
  319. package/dist/harness/installed/index.d.ts +1 -0
  320. package/dist/harness/installed/index.d.ts.map +1 -1
  321. package/dist/harness/installed/index.js +1 -0
  322. package/dist/harness/installed/index.js.map +1 -1
  323. package/dist/hold/contract.d.ts +2 -0
  324. package/dist/hold/contract.d.ts.map +1 -1
  325. package/dist/hold/effect-schema.d.ts +4 -0
  326. package/dist/hold/effect-schema.d.ts.map +1 -1
  327. package/dist/hold/feature.d.ts +155 -0
  328. package/dist/hold/feature.d.ts.map +1 -0
  329. package/dist/hold/feature.js +151 -0
  330. package/dist/hold/feature.js.map +1 -0
  331. package/dist/hold/index.d.ts +1 -0
  332. package/dist/hold/index.d.ts.map +1 -1
  333. package/dist/hold/index.js +1 -0
  334. package/dist/hold/index.js.map +1 -1
  335. package/dist/inbox/contract.d.ts +386 -0
  336. package/dist/inbox/contract.d.ts.map +1 -0
  337. package/dist/inbox/contract.js +20 -0
  338. package/dist/inbox/contract.js.map +1 -0
  339. package/dist/inbox/effect-schema.d.ts +750 -0
  340. package/dist/inbox/effect-schema.d.ts.map +1 -0
  341. package/dist/inbox/effect-schema.js +246 -0
  342. package/dist/inbox/effect-schema.js.map +1 -0
  343. package/dist/inbox/feature.d.ts +164 -0
  344. package/dist/inbox/feature.d.ts.map +1 -0
  345. package/dist/inbox/feature.js +160 -0
  346. package/dist/inbox/feature.js.map +1 -0
  347. package/dist/inbox/index.d.ts +3 -0
  348. package/dist/inbox/index.d.ts.map +1 -0
  349. package/dist/inbox/index.js +3 -0
  350. package/dist/inbox/index.js.map +1 -0
  351. package/dist/index.d.ts +24 -13
  352. package/dist/index.d.ts.map +1 -1
  353. package/dist/index.js +24 -13
  354. package/dist/index.js.map +1 -1
  355. package/dist/integration-authorization/claude-code-contract.d.ts +3 -0
  356. package/dist/integration-authorization/claude-code-contract.d.ts.map +1 -1
  357. package/dist/integration-authorization/contract.d.ts +85 -12
  358. package/dist/integration-authorization/contract.d.ts.map +1 -1
  359. package/dist/integration-authorization/contract.js +19 -1
  360. package/dist/integration-authorization/contract.js.map +1 -1
  361. package/dist/integration-authorization/effect-schema.d.ts +3678 -1480
  362. package/dist/integration-authorization/effect-schema.d.ts.map +1 -1
  363. package/dist/integration-authorization/effect-schema.js +81 -6
  364. package/dist/integration-authorization/effect-schema.js.map +1 -1
  365. package/dist/integration-authorization/feature.d.ts +605 -0
  366. package/dist/integration-authorization/feature.d.ts.map +1 -0
  367. package/dist/integration-authorization/feature.js +571 -0
  368. package/dist/integration-authorization/feature.js.map +1 -0
  369. package/dist/integration-authorization/index.d.ts +3 -0
  370. package/dist/integration-authorization/index.d.ts.map +1 -1
  371. package/dist/integration-authorization/index.js +3 -0
  372. package/dist/integration-authorization/index.js.map +1 -1
  373. package/dist/integration-authorization/pi-rpc-contract.d.ts +3 -0
  374. package/dist/integration-authorization/pi-rpc-contract.d.ts.map +1 -1
  375. package/dist/integration-authorization/policy.d.ts +6 -1
  376. package/dist/integration-authorization/policy.d.ts.map +1 -1
  377. package/dist/integration-authorization/policy.js +6 -1
  378. package/dist/integration-authorization/policy.js.map +1 -1
  379. package/dist/interaction/effect-schema.d.ts +1 -1
  380. package/dist/interaction/effect-schema.d.ts.map +1 -1
  381. package/dist/interaction/effect-schema.js +1 -1
  382. package/dist/interaction/effect-schema.js.map +1 -1
  383. package/dist/interaction/feature.d.ts +50 -0
  384. package/dist/interaction/feature.d.ts.map +1 -1
  385. package/dist/interaction/feature.js +48 -0
  386. package/dist/interaction/feature.js.map +1 -1
  387. package/dist/interaction/result-contract.d.ts +3 -0
  388. package/dist/interaction/result-contract.d.ts.map +1 -1
  389. package/dist/interaction/result-effect-schema.d.ts +6 -0
  390. package/dist/interaction/result-effect-schema.d.ts.map +1 -1
  391. package/dist/invocation-context/contract.d.ts +2 -1
  392. package/dist/invocation-context/contract.d.ts.map +1 -1
  393. package/dist/invocation-context/effect-schema.d.ts +12 -2
  394. package/dist/invocation-context/effect-schema.d.ts.map +1 -1
  395. package/dist/invocation-context/effect-schema.js +24 -3
  396. package/dist/invocation-context/effect-schema.js.map +1 -1
  397. package/dist/invocation-context/feature.d.ts +35 -0
  398. package/dist/invocation-context/feature.d.ts.map +1 -0
  399. package/dist/invocation-context/feature.js +39 -0
  400. package/dist/invocation-context/feature.js.map +1 -0
  401. package/dist/invocation-context/index.d.ts +1 -0
  402. package/dist/invocation-context/index.d.ts.map +1 -1
  403. package/dist/invocation-context/index.js +1 -0
  404. package/dist/invocation-context/index.js.map +1 -1
  405. package/dist/invocation-context/policy.d.ts +6 -1
  406. package/dist/invocation-context/policy.d.ts.map +1 -1
  407. package/dist/invocation-context/policy.js +7 -1
  408. package/dist/invocation-context/policy.js.map +1 -1
  409. package/dist/local-node/contract.d.ts +40 -14
  410. package/dist/local-node/contract.d.ts.map +1 -1
  411. package/dist/local-node/contract.js +3 -1
  412. package/dist/local-node/contract.js.map +1 -1
  413. package/dist/local-node/effect-schema.d.ts +3694 -1398
  414. package/dist/local-node/effect-schema.d.ts.map +1 -1
  415. package/dist/local-node/effect-schema.js +87 -4
  416. package/dist/local-node/effect-schema.js.map +1 -1
  417. package/dist/local-node/index.d.ts +2 -2
  418. package/dist/local-node/index.d.ts.map +1 -1
  419. package/dist/local-node/index.js +2 -2
  420. package/dist/local-node/index.js.map +1 -1
  421. package/dist/local-node/node-api/index.d.ts +2 -2
  422. package/dist/local-node/node-api/index.d.ts.map +1 -1
  423. package/dist/local-node/node-api/index.js +2 -2
  424. package/dist/local-node/node-api/index.js.map +1 -1
  425. package/dist/local-node/node-api/methods.d.ts +10 -220
  426. package/dist/local-node/node-api/methods.d.ts.map +1 -1
  427. package/dist/local-node/node-api/methods.js +133 -221
  428. package/dist/local-node/node-api/methods.js.map +1 -1
  429. package/dist/local-node/node-api/policy.d.ts +33 -0
  430. package/dist/local-node/node-api/policy.d.ts.map +1 -1
  431. package/dist/local-node/node-api/policy.js +33 -0
  432. package/dist/local-node/node-api/policy.js.map +1 -1
  433. package/dist/local-node/receipt-list.d.ts +6 -7
  434. package/dist/local-node/receipt-list.d.ts.map +1 -1
  435. package/dist/local-node/receipt-list.js +59 -7
  436. package/dist/local-node/receipt-list.js.map +1 -1
  437. package/dist/node-update/contract.d.ts +198 -0
  438. package/dist/node-update/contract.d.ts.map +1 -0
  439. package/dist/node-update/contract.js +22 -0
  440. package/dist/node-update/contract.js.map +1 -0
  441. package/dist/node-update/effect-schema.d.ts +435 -0
  442. package/dist/node-update/effect-schema.d.ts.map +1 -0
  443. package/dist/node-update/effect-schema.js +307 -0
  444. package/dist/node-update/effect-schema.js.map +1 -0
  445. package/dist/node-update/feature.d.ts +379 -0
  446. package/dist/node-update/feature.d.ts.map +1 -0
  447. package/dist/node-update/feature.js +363 -0
  448. package/dist/node-update/feature.js.map +1 -0
  449. package/dist/node-update/index.d.ts +3 -0
  450. package/dist/node-update/index.d.ts.map +1 -0
  451. package/dist/node-update/index.js +3 -0
  452. package/dist/node-update/index.js.map +1 -0
  453. package/dist/orchestration/contract.d.ts +6 -0
  454. package/dist/orchestration/contract.d.ts.map +1 -1
  455. package/dist/orchestration/effect-schema.d.ts +14 -2
  456. package/dist/orchestration/effect-schema.d.ts.map +1 -1
  457. package/dist/orchestration/effect-schema.js +2 -2
  458. package/dist/orchestration/effect-schema.js.map +1 -1
  459. package/dist/orchestration/feature.d.ts +235 -0
  460. package/dist/orchestration/feature.d.ts.map +1 -1
  461. package/dist/orchestration/feature.js +227 -0
  462. package/dist/orchestration/feature.js.map +1 -1
  463. package/dist/orchestration/topology.d.ts +11 -1
  464. package/dist/orchestration/topology.d.ts.map +1 -1
  465. package/dist/orchestration/topology.js +38 -29
  466. package/dist/orchestration/topology.js.map +1 -1
  467. package/dist/pairing/contract.d.ts +86 -0
  468. package/dist/pairing/contract.d.ts.map +1 -0
  469. package/dist/pairing/contract.js +12 -0
  470. package/dist/pairing/contract.js.map +1 -0
  471. package/dist/pairing/effect-schema.d.ts +166 -0
  472. package/dist/pairing/effect-schema.d.ts.map +1 -0
  473. package/dist/pairing/effect-schema.js +94 -0
  474. package/dist/pairing/effect-schema.js.map +1 -0
  475. package/dist/pairing/feature.d.ts +141 -0
  476. package/dist/pairing/feature.d.ts.map +1 -0
  477. package/dist/pairing/feature.js +139 -0
  478. package/dist/pairing/feature.js.map +1 -0
  479. package/dist/pairing/index.d.ts +3 -0
  480. package/dist/pairing/index.d.ts.map +1 -0
  481. package/dist/pairing/index.js +3 -0
  482. package/dist/pairing/index.js.map +1 -0
  483. package/dist/port-lease/contract.d.ts +3 -0
  484. package/dist/port-lease/contract.d.ts.map +1 -1
  485. package/dist/port-lease/feature.d.ts +21 -0
  486. package/dist/port-lease/feature.d.ts.map +1 -1
  487. package/dist/port-lease/feature.js +21 -0
  488. package/dist/port-lease/feature.js.map +1 -1
  489. package/dist/port-lease/result-effect-schema.d.ts +6 -0
  490. package/dist/port-lease/result-effect-schema.d.ts.map +1 -1
  491. package/dist/presentation/contract.d.ts +12 -2
  492. package/dist/presentation/contract.d.ts.map +1 -1
  493. package/dist/presentation/effect-schema.d.ts +12 -2
  494. package/dist/presentation/effect-schema.d.ts.map +1 -1
  495. package/dist/presentation/feature.d.ts +20 -0
  496. package/dist/presentation/feature.d.ts.map +1 -1
  497. package/dist/presentation/feature.js +20 -0
  498. package/dist/presentation/feature.js.map +1 -1
  499. package/dist/presentation/session-list-effect-schema.d.ts +12 -2
  500. package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
  501. package/dist/principal/contract.d.ts +104 -0
  502. package/dist/principal/contract.d.ts.map +1 -0
  503. package/dist/principal/contract.js +18 -0
  504. package/dist/principal/contract.js.map +1 -0
  505. package/dist/principal/effect-schema.d.ts +166 -0
  506. package/dist/principal/effect-schema.d.ts.map +1 -0
  507. package/dist/principal/effect-schema.js +93 -0
  508. package/dist/principal/effect-schema.js.map +1 -0
  509. package/dist/principal/feature.d.ts +111 -0
  510. package/dist/principal/feature.d.ts.map +1 -0
  511. package/dist/principal/feature.js +111 -0
  512. package/dist/principal/feature.js.map +1 -0
  513. package/dist/principal/index.d.ts +3 -0
  514. package/dist/principal/index.d.ts.map +1 -0
  515. package/dist/principal/index.js +3 -0
  516. package/dist/principal/index.js.map +1 -0
  517. package/dist/project-workspace/contract.d.ts +351 -2
  518. package/dist/project-workspace/contract.d.ts.map +1 -1
  519. package/dist/project-workspace/contract.js +34 -2
  520. package/dist/project-workspace/contract.js.map +1 -1
  521. package/dist/project-workspace/effect-schema.d.ts +403 -0
  522. package/dist/project-workspace/effect-schema.d.ts.map +1 -1
  523. package/dist/project-workspace/effect-schema.js +105 -1
  524. package/dist/project-workspace/effect-schema.js.map +1 -1
  525. package/dist/project-workspace/feature.d.ts +659 -1
  526. package/dist/project-workspace/feature.d.ts.map +1 -1
  527. package/dist/project-workspace/feature.js +625 -1
  528. package/dist/project-workspace/feature.js.map +1 -1
  529. package/dist/project-workspace/git-effect-schema.d.ts +93 -0
  530. package/dist/project-workspace/git-effect-schema.d.ts.map +1 -0
  531. package/dist/project-workspace/git-effect-schema.js +81 -0
  532. package/dist/project-workspace/git-effect-schema.js.map +1 -0
  533. package/dist/project-workspace/index.d.ts +2 -2
  534. package/dist/project-workspace/index.d.ts.map +1 -1
  535. package/dist/project-workspace/index.js +2 -2
  536. package/dist/project-workspace/index.js.map +1 -1
  537. package/dist/project-workspace/knowledge-effect-schema.d.ts +413 -0
  538. package/dist/project-workspace/knowledge-effect-schema.d.ts.map +1 -0
  539. package/dist/project-workspace/knowledge-effect-schema.js +232 -0
  540. package/dist/project-workspace/knowledge-effect-schema.js.map +1 -0
  541. package/dist/project-workspace/policy.d.ts +40 -0
  542. package/dist/project-workspace/policy.d.ts.map +1 -1
  543. package/dist/project-workspace/policy.js +39 -0
  544. package/dist/project-workspace/policy.js.map +1 -1
  545. package/dist/provider/feature.d.ts +35 -0
  546. package/dist/provider/feature.d.ts.map +1 -0
  547. package/dist/provider/feature.js +39 -0
  548. package/dist/provider/feature.js.map +1 -0
  549. package/dist/provider/index.d.ts +1 -0
  550. package/dist/provider/index.d.ts.map +1 -1
  551. package/dist/provider/index.js +1 -0
  552. package/dist/provider/index.js.map +1 -1
  553. package/dist/reach/address.d.ts +18 -0
  554. package/dist/reach/address.d.ts.map +1 -0
  555. package/dist/reach/address.js +42 -0
  556. package/dist/reach/address.js.map +1 -0
  557. package/dist/reach/contract.d.ts +68 -0
  558. package/dist/reach/contract.d.ts.map +1 -0
  559. package/dist/reach/contract.js +8 -0
  560. package/dist/reach/contract.js.map +1 -0
  561. package/dist/reach/effect-schema.d.ts +133 -0
  562. package/dist/reach/effect-schema.d.ts.map +1 -0
  563. package/dist/reach/effect-schema.js +68 -0
  564. package/dist/reach/effect-schema.js.map +1 -0
  565. package/dist/reach/feature.d.ts +106 -0
  566. package/dist/reach/feature.d.ts.map +1 -0
  567. package/dist/reach/feature.js +106 -0
  568. package/dist/reach/feature.js.map +1 -0
  569. package/dist/reach/index.d.ts +4 -0
  570. package/dist/reach/index.d.ts.map +1 -0
  571. package/dist/reach/index.js +4 -0
  572. package/dist/reach/index.js.map +1 -0
  573. package/dist/reference/feature.d.ts +5 -0
  574. package/dist/reference/feature.d.ts.map +1 -1
  575. package/dist/reference/feature.js +5 -0
  576. package/dist/reference/feature.js.map +1 -1
  577. package/dist/remote-node/contract.d.ts +103 -2
  578. package/dist/remote-node/contract.d.ts.map +1 -1
  579. package/dist/remote-node/effect-schema.d.ts +1 -1
  580. package/dist/remote-node/effect-schema.d.ts.map +1 -1
  581. package/dist/remote-node/effect-schema.js +1 -1
  582. package/dist/remote-node/effect-schema.js.map +1 -1
  583. package/dist/remote-node/feature.d.ts +185 -0
  584. package/dist/remote-node/feature.d.ts.map +1 -1
  585. package/dist/remote-node/feature.js +173 -0
  586. package/dist/remote-node/feature.js.map +1 -1
  587. package/dist/remote-node/request-effect-schema.d.ts +4 -4
  588. package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
  589. package/dist/remote-node/request-effect-schema.js +2 -1
  590. package/dist/remote-node/request-effect-schema.js.map +1 -1
  591. package/dist/remote-node/result-effect-schema.d.ts +194 -1
  592. package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
  593. package/dist/remote-node/result-effect-schema.js +13 -2
  594. package/dist/remote-node/result-effect-schema.js.map +1 -1
  595. package/dist/routine/contract.d.ts +644 -18
  596. package/dist/routine/contract.d.ts.map +1 -1
  597. package/dist/routine/contract.js +28 -2
  598. package/dist/routine/contract.js.map +1 -1
  599. package/dist/routine/effect-schema.d.ts +1489 -218
  600. package/dist/routine/effect-schema.d.ts.map +1 -1
  601. package/dist/routine/effect-schema.js +358 -20
  602. package/dist/routine/effect-schema.js.map +1 -1
  603. package/dist/routine/feature.d.ts +336 -11
  604. package/dist/routine/feature.d.ts.map +1 -1
  605. package/dist/routine/feature.js +318 -11
  606. package/dist/routine/feature.js.map +1 -1
  607. package/dist/routine/index.d.ts +1 -1
  608. package/dist/routine/index.d.ts.map +1 -1
  609. package/dist/routine/index.js +1 -1
  610. package/dist/routine/index.js.map +1 -1
  611. package/dist/routine/policy.d.ts +55 -3
  612. package/dist/routine/policy.d.ts.map +1 -1
  613. package/dist/routine/policy.js +46 -1
  614. package/dist/routine/policy.js.map +1 -1
  615. package/dist/run-ledger/contract.d.ts +45 -0
  616. package/dist/run-ledger/contract.d.ts.map +1 -1
  617. package/dist/run-ledger/feature.d.ts +32 -0
  618. package/dist/run-ledger/feature.d.ts.map +1 -1
  619. package/dist/run-ledger/feature.js +32 -0
  620. package/dist/run-ledger/feature.js.map +1 -1
  621. package/dist/run-ledger/result-effect-schema.d.ts +90 -0
  622. package/dist/run-ledger/result-effect-schema.d.ts.map +1 -1
  623. package/dist/runtime/effect-schema.d.ts.map +1 -1
  624. package/dist/runtime/effect-schema.js +2 -1
  625. package/dist/runtime/effect-schema.js.map +1 -1
  626. package/dist/runtime/feature.d.ts +35 -0
  627. package/dist/runtime/feature.d.ts.map +1 -0
  628. package/dist/runtime/feature.js +39 -0
  629. package/dist/runtime/feature.js.map +1 -0
  630. package/dist/runtime/index.d.ts +1 -0
  631. package/dist/runtime/index.d.ts.map +1 -1
  632. package/dist/runtime/index.js +1 -0
  633. package/dist/runtime/index.js.map +1 -1
  634. package/dist/secret/contract.d.ts +107 -0
  635. package/dist/secret/contract.d.ts.map +1 -0
  636. package/dist/secret/contract.js +34 -0
  637. package/dist/secret/contract.js.map +1 -0
  638. package/dist/secret/effect-schema.d.ts +185 -0
  639. package/dist/secret/effect-schema.d.ts.map +1 -0
  640. package/dist/secret/effect-schema.js +113 -0
  641. package/dist/secret/effect-schema.js.map +1 -0
  642. package/dist/secret/feature.d.ts +103 -0
  643. package/dist/secret/feature.d.ts.map +1 -0
  644. package/dist/secret/feature.js +103 -0
  645. package/dist/secret/feature.js.map +1 -0
  646. package/dist/secret/index.d.ts +3 -0
  647. package/dist/secret/index.d.ts.map +1 -0
  648. package/dist/secret/index.js +3 -0
  649. package/dist/secret/index.js.map +1 -0
  650. package/dist/session/agent-permission-contract.d.ts +6 -5
  651. package/dist/session/agent-permission-contract.d.ts.map +1 -1
  652. package/dist/session/agent-permission-effect-schema.d.ts +11 -9
  653. package/dist/session/agent-permission-effect-schema.d.ts.map +1 -1
  654. package/dist/session/agent-permission-effect-schema.js +2 -2
  655. package/dist/session/agent-permission-effect-schema.js.map +1 -1
  656. package/dist/session/contract.d.ts +726 -110
  657. package/dist/session/contract.d.ts.map +1 -1
  658. package/dist/session/contract.js +33 -4
  659. package/dist/session/contract.js.map +1 -1
  660. package/dist/session/effect-schema.d.ts +1832 -263
  661. package/dist/session/effect-schema.d.ts.map +1 -1
  662. package/dist/session/effect-schema.js +448 -44
  663. package/dist/session/effect-schema.js.map +1 -1
  664. package/dist/session/feature.d.ts +778 -23
  665. package/dist/session/feature.d.ts.map +1 -1
  666. package/dist/session/feature.js +711 -2
  667. package/dist/session/feature.js.map +1 -1
  668. package/dist/session/index.d.ts +5 -3
  669. package/dist/session/index.d.ts.map +1 -1
  670. package/dist/session/index.js +5 -3
  671. package/dist/session/index.js.map +1 -1
  672. package/dist/session/observation-contract.d.ts +2 -2
  673. package/dist/session/observation-effect-schema.d.ts +7 -2
  674. package/dist/session/observation-effect-schema.d.ts.map +1 -1
  675. package/dist/session/observation-effect-schema.js +6 -1
  676. package/dist/session/observation-effect-schema.js.map +1 -1
  677. package/dist/session/placement/contract.d.ts +35 -0
  678. package/dist/session/placement/contract.d.ts.map +1 -0
  679. package/dist/session/placement/contract.js +5 -0
  680. package/dist/session/placement/contract.js.map +1 -0
  681. package/dist/session/placement/effect-schema.d.ts +55 -0
  682. package/dist/session/placement/effect-schema.d.ts.map +1 -0
  683. package/dist/session/placement/effect-schema.js +76 -0
  684. package/dist/session/placement/effect-schema.js.map +1 -0
  685. package/dist/session/placement/index.d.ts +2 -0
  686. package/dist/session/placement/index.d.ts.map +1 -0
  687. package/dist/session/placement/index.js +2 -0
  688. package/dist/session/placement/index.js.map +1 -0
  689. package/dist/session/policy.d.ts +102 -0
  690. package/dist/session/policy.d.ts.map +1 -1
  691. package/dist/session/policy.js +123 -4
  692. package/dist/session/policy.js.map +1 -1
  693. package/dist/session/stop-resume-contract.d.ts +79 -2
  694. package/dist/session/stop-resume-contract.d.ts.map +1 -1
  695. package/dist/session/stop-resume-contract.js +5 -1
  696. package/dist/session/stop-resume-contract.js.map +1 -1
  697. package/dist/session/worktree-effect-schema.d.ts +37 -1
  698. package/dist/session/worktree-effect-schema.d.ts.map +1 -1
  699. package/dist/session/worktree-effect-schema.js +49 -2
  700. package/dist/session/worktree-effect-schema.js.map +1 -1
  701. package/dist/session-command/contract.d.ts +442 -0
  702. package/dist/session-command/contract.d.ts.map +1 -0
  703. package/dist/session-command/contract.js +12 -0
  704. package/dist/session-command/contract.js.map +1 -0
  705. package/dist/session-command/effect-schema.d.ts +875 -0
  706. package/dist/session-command/effect-schema.d.ts.map +1 -0
  707. package/dist/session-command/effect-schema.js +125 -0
  708. package/dist/session-command/effect-schema.js.map +1 -0
  709. package/dist/session-command/feature.d.ts +141 -0
  710. package/dist/session-command/feature.d.ts.map +1 -0
  711. package/dist/session-command/feature.js +137 -0
  712. package/dist/session-command/feature.js.map +1 -0
  713. package/dist/session-command/index.d.ts +4 -0
  714. package/dist/session-command/index.d.ts.map +1 -0
  715. package/dist/session-command/index.js +4 -0
  716. package/dist/session-command/index.js.map +1 -0
  717. package/dist/session-command/policy.d.ts +33 -0
  718. package/dist/session-command/policy.d.ts.map +1 -0
  719. package/dist/session-command/policy.js +60 -0
  720. package/dist/session-command/policy.js.map +1 -0
  721. package/dist/session-guard/contract.d.ts +6 -4
  722. package/dist/session-guard/contract.d.ts.map +1 -1
  723. package/dist/session-guard/contract.js +25 -4
  724. package/dist/session-guard/contract.js.map +1 -1
  725. package/dist/session-guard/feature.d.ts +66 -1
  726. package/dist/session-guard/feature.d.ts.map +1 -1
  727. package/dist/session-guard/feature.js +62 -1
  728. package/dist/session-guard/feature.js.map +1 -1
  729. package/dist/session-guard/result-effect-schema.d.ts +2 -0
  730. package/dist/session-guard/result-effect-schema.d.ts.map +1 -1
  731. package/dist/session-stream/contract.d.ts +2 -1
  732. package/dist/session-stream/contract.d.ts.map +1 -1
  733. package/dist/session-stream/effect-schema.d.ts +9 -8
  734. package/dist/session-stream/effect-schema.d.ts.map +1 -1
  735. package/dist/skills-sync/contract.d.ts +142 -0
  736. package/dist/skills-sync/contract.d.ts.map +1 -0
  737. package/dist/skills-sync/contract.js +13 -0
  738. package/dist/skills-sync/contract.js.map +1 -0
  739. package/dist/skills-sync/effect-schema.d.ts +312 -0
  740. package/dist/skills-sync/effect-schema.d.ts.map +1 -0
  741. package/dist/skills-sync/effect-schema.js +160 -0
  742. package/dist/skills-sync/effect-schema.js.map +1 -0
  743. package/dist/skills-sync/feature.d.ts +102 -0
  744. package/dist/skills-sync/feature.d.ts.map +1 -0
  745. package/dist/skills-sync/feature.js +102 -0
  746. package/dist/skills-sync/feature.js.map +1 -0
  747. package/dist/skills-sync/index.d.ts +3 -0
  748. package/dist/skills-sync/index.d.ts.map +1 -0
  749. package/dist/skills-sync/index.js +3 -0
  750. package/dist/skills-sync/index.js.map +1 -0
  751. package/dist/team-workspace/contract.d.ts +1 -0
  752. package/dist/team-workspace/contract.d.ts.map +1 -1
  753. package/dist/team-workspace/effect-schema.d.ts +2 -0
  754. package/dist/team-workspace/effect-schema.d.ts.map +1 -1
  755. package/dist/team-workspace/feature.d.ts +10 -0
  756. package/dist/team-workspace/feature.d.ts.map +1 -1
  757. package/dist/team-workspace/feature.js +10 -0
  758. package/dist/team-workspace/feature.js.map +1 -1
  759. package/dist/terminal/contract.d.ts +1 -0
  760. package/dist/terminal/contract.d.ts.map +1 -1
  761. package/dist/terminal/effect-schema.d.ts +2 -0
  762. package/dist/terminal/effect-schema.d.ts.map +1 -1
  763. package/dist/terminal/feature.d.ts +281 -0
  764. package/dist/terminal/feature.d.ts.map +1 -1
  765. package/dist/terminal/feature.js +289 -0
  766. package/dist/terminal/feature.js.map +1 -1
  767. package/dist/turn/contract.d.ts +621 -4
  768. package/dist/turn/contract.d.ts.map +1 -1
  769. package/dist/turn/contract.js +18 -4
  770. package/dist/turn/contract.js.map +1 -1
  771. package/dist/turn/effect-schema.d.ts +1461 -158
  772. package/dist/turn/effect-schema.d.ts.map +1 -1
  773. package/dist/turn/effect-schema.js +107 -1
  774. package/dist/turn/effect-schema.js.map +1 -1
  775. package/dist/turn/index.d.ts +2 -2
  776. package/dist/turn/index.d.ts.map +1 -1
  777. package/dist/turn/index.js +2 -2
  778. package/dist/turn/index.js.map +1 -1
  779. package/dist/turn/policy.d.ts +54 -0
  780. package/dist/turn/policy.d.ts.map +1 -1
  781. package/dist/turn/policy.js +74 -0
  782. package/dist/turn/policy.js.map +1 -1
  783. package/dist/voice/effect-schema.d.ts +1 -0
  784. package/dist/voice/effect-schema.d.ts.map +1 -1
  785. package/dist/voice/feature.d.ts +68 -0
  786. package/dist/voice/feature.d.ts.map +1 -1
  787. package/dist/voice/feature.js +32 -0
  788. package/dist/voice/feature.js.map +1 -1
  789. package/dist/voice/relay-contract.d.ts +1 -0
  790. package/dist/voice/relay-contract.d.ts.map +1 -1
  791. package/dist/voice/relay-effect-schema.d.ts +2 -0
  792. package/dist/voice/relay-effect-schema.d.ts.map +1 -1
  793. package/dist/webhooks/contract.d.ts +37 -21
  794. package/dist/webhooks/contract.d.ts.map +1 -1
  795. package/dist/webhooks/contract.js +2 -1
  796. package/dist/webhooks/contract.js.map +1 -1
  797. package/dist/webhooks/effect-schema.d.ts +46 -32
  798. package/dist/webhooks/effect-schema.d.ts.map +1 -1
  799. package/dist/webhooks/effect-schema.js +27 -7
  800. package/dist/webhooks/effect-schema.js.map +1 -1
  801. package/dist/webhooks/feature.d.ts +23 -3
  802. package/dist/webhooks/feature.d.ts.map +1 -1
  803. package/dist/webhooks/feature.js +23 -3
  804. package/dist/webhooks/feature.js.map +1 -1
  805. package/dist/webhooks/hook-effect-schema.d.ts +34 -3
  806. package/dist/webhooks/hook-effect-schema.d.ts.map +1 -1
  807. package/dist/webhooks/hook-effect-schema.js +46 -3
  808. package/dist/webhooks/hook-effect-schema.js.map +1 -1
  809. package/dist/webhooks/index.d.ts +2 -1
  810. package/dist/webhooks/index.d.ts.map +1 -1
  811. package/dist/webhooks/index.js +2 -1
  812. package/dist/webhooks/index.js.map +1 -1
  813. package/dist/webhooks/policy.d.ts +16 -0
  814. package/dist/webhooks/policy.d.ts.map +1 -0
  815. package/dist/webhooks/policy.js +16 -0
  816. package/dist/webhooks/policy.js.map +1 -0
  817. package/package.json +9 -3
  818. package/dist/configuration/configuration.d.ts +0 -65
  819. package/dist/configuration/configuration.d.ts.map +0 -1
  820. package/dist/configuration/configuration.js +0 -101
  821. package/dist/configuration/configuration.js.map +0 -1
  822. package/dist/configuration/index.d.ts +0 -2
  823. package/dist/configuration/index.d.ts.map +0 -1
  824. package/dist/configuration/index.js +0 -2
  825. package/dist/configuration/index.js.map +0 -1
@@ -1,5 +1,6 @@
1
1
  import type { InferRuntimeSchema } from "../runtime-schema/index.js";
2
2
  import type { SessionObserveResult } from "./observation-contract.js";
3
+ import type { SessionPlacementShowResult } from "./placement/index.js";
3
4
  import type { SessionResumeResult, SessionStopResult } from "./stop-resume-contract.js";
4
5
  export declare const sessionSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
5
6
  readonly createdAt: string;
@@ -20,18 +21,27 @@ export declare const sessionSchema: import("../runtime-schema/runtime-schema.js"
20
21
  readonly executor?: {
21
22
  readonly connectionId: string;
22
23
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
23
- readonly kind: "claude-code" | "codex-cli";
24
+ readonly kind: string;
24
25
  readonly model?: string | undefined;
25
26
  } | undefined;
26
27
  readonly failure?: {
27
28
  readonly code: string;
28
29
  readonly message: string;
29
30
  } | undefined;
31
+ readonly heldTaskCount?: number | undefined;
32
+ readonly heldTasks?: readonly {
33
+ readonly claimedAt: string;
34
+ readonly id: string;
35
+ readonly leaseExpiresAt: string;
36
+ readonly state: "claimed";
37
+ readonly title: string;
38
+ }[] | undefined;
30
39
  readonly labels?: {
31
40
  readonly [x: string]: string;
32
41
  } | undefined;
33
42
  readonly latestTurnId?: string | undefined;
34
43
  readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
44
+ readonly parentSessionId?: string | undefined;
35
45
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
36
46
  readonly prompt?: {
37
47
  readonly approvalId: string;
@@ -89,7 +99,7 @@ export declare const sessionEventSchema: import("../runtime-schema/runtime-schem
89
99
  readonly executor?: {
90
100
  readonly connectionId: string;
91
101
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
92
- readonly kind: "claude-code" | "codex-cli";
102
+ readonly kind: string;
93
103
  readonly model?: string | undefined;
94
104
  } | undefined;
95
105
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
@@ -319,7 +329,7 @@ export declare const sessionCreateParametersSchema: import("../runtime-schema/ru
319
329
  readonly version: string;
320
330
  } | undefined;
321
331
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
322
- readonly executor?: "claude-code" | "codex-cli" | undefined;
332
+ readonly executor?: string | undefined;
323
333
  readonly hostAuthority?: true | undefined;
324
334
  readonly labels?: {
325
335
  readonly [x: string]: string;
@@ -330,9 +340,12 @@ export declare const sessionCreateParametersSchema: import("../runtime-schema/ru
330
340
  readonly title?: string | undefined;
331
341
  readonly worktree?: {
332
342
  readonly baseRef: string;
343
+ readonly branch?: string | undefined;
333
344
  } | undefined;
334
345
  }>;
335
346
  export type SessionCreateParameters = InferRuntimeSchema<typeof sessionCreateParametersSchema>;
347
+ /** An executor id: lowercase kebab text; the Node's registry decides which ids exist. */
348
+ export declare const sessionExecutorKindSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
336
349
  export declare const sessionMailboxSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
337
350
  readonly contentBytes: string;
338
351
  readonly createdAt: string;
@@ -426,6 +439,7 @@ export declare const sessionListParametersSchema: import("../runtime-schema/runt
426
439
  readonly [x: string]: string;
427
440
  } | undefined;
428
441
  readonly limit?: number | undefined;
442
+ readonly parentSessionId?: string | undefined;
429
443
  readonly projectId?: string | undefined;
430
444
  readonly settled?: true | undefined;
431
445
  readonly states?: readonly ("failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval")[] | undefined;
@@ -464,116 +478,27 @@ export declare const sessionWaitResultSchema: import("../runtime-schema/runtime-
464
478
  readonly executor?: {
465
479
  readonly connectionId: string;
466
480
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
467
- readonly kind: "claude-code" | "codex-cli";
481
+ readonly kind: string;
468
482
  readonly model?: string | undefined;
469
483
  } | undefined;
470
484
  readonly failure?: {
471
485
  readonly code: string;
472
486
  readonly message: string;
473
487
  } | undefined;
474
- readonly labels?: {
475
- readonly [x: string]: string;
476
- } | undefined;
477
- readonly latestTurnId?: string | undefined;
478
- readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
479
- readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
480
- readonly prompt?: {
481
- readonly approvalId: string;
482
- readonly expiresAt: string;
483
- readonly kind: "command" | "file_change" | "question" | "tool";
484
- readonly options?: readonly {
485
- readonly label: string;
486
- readonly optionId: string;
487
- }[] | undefined;
488
- readonly summary?: string | undefined;
489
- } | undefined;
490
- readonly recovery?: {
491
- readonly code: string;
492
- readonly message: string;
493
- } | undefined;
494
- readonly schemaVersion: 4;
495
- readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
496
- readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
497
- readonly title?: string | undefined;
498
- readonly worktree?: {
499
- readonly baseRef: string;
500
- readonly baseRevision: string;
501
- readonly branch: string;
502
- readonly setup: "failed" | "none" | "pending" | "succeeded";
503
- readonly skills?: readonly {
504
- readonly digest: string;
505
- readonly name: string;
506
- }[] | undefined;
507
- readonly state: "active" | "archived" | "removed";
508
- } | undefined;
509
- };
510
- }>;
511
- export type SessionWaitResult = InferRuntimeSchema<typeof sessionWaitResultSchema>;
512
- export declare const sessionSpawnParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
513
- readonly commandId: string;
514
- readonly expectedRevision: "0";
515
- readonly workspaceId: string;
516
- readonly definitionRef?: {
517
- readonly contentDigest: string;
518
- readonly key: string;
519
- readonly version: string;
520
- } | undefined;
521
- readonly harness: "maia-agent" | "pi";
522
- readonly parentSessionId: string;
523
- }>;
524
- export type SessionSpawnParameters = InferRuntimeSchema<typeof sessionSpawnParametersSchema>;
525
- export declare const sessionSpawnResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
526
- readonly delivery: "duplicate" | "new";
527
- readonly harness: "maia-agent" | "pi";
528
- readonly method: "session.spawn";
529
- readonly parentSessionId: string;
530
- readonly receipt: {
531
- readonly actorId: string;
532
- readonly aggregateRevision: string;
533
- readonly commandId: string;
534
- readonly createdAt: string;
535
- readonly eventCursor: string;
536
- readonly method: string;
537
- readonly receiptId: string;
538
- readonly schemaVersion: 1;
539
- readonly state: "succeeded";
540
- readonly target: {
488
+ readonly heldTaskCount?: number | undefined;
489
+ readonly heldTasks?: readonly {
490
+ readonly claimedAt: string;
541
491
  readonly id: string;
542
- readonly type: string;
543
- };
544
- readonly updatedAt: string;
545
- };
546
- readonly session: {
547
- readonly createdAt: string;
548
- readonly id: string;
549
- readonly projectId: string;
550
- readonly revision: string;
551
- readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
552
- readonly updatedAt: string;
553
- readonly workspaceId: string;
554
- readonly workspaceRevision: string;
555
- readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
556
- readonly agentDefinitionRef?: {
557
- readonly contentDigest: string;
558
- readonly key: string;
559
- readonly version: string;
560
- } | undefined;
561
- readonly containment?: "none" | undefined;
562
- readonly executor?: {
563
- readonly connectionId: string;
564
- readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
565
- readonly kind: "claude-code" | "codex-cli";
566
- readonly model?: string | undefined;
567
- } | undefined;
568
- readonly failure?: {
569
- readonly code: string;
570
- readonly message: string;
571
- } | undefined;
492
+ readonly leaseExpiresAt: string;
493
+ readonly state: "claimed";
494
+ readonly title: string;
495
+ }[] | undefined;
572
496
  readonly labels?: {
573
497
  readonly [x: string]: string;
574
498
  } | undefined;
575
499
  readonly latestTurnId?: string | undefined;
576
500
  readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
501
+ readonly parentSessionId?: string | undefined;
577
502
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
578
503
  readonly prompt?: {
579
504
  readonly approvalId: string;
@@ -606,7 +531,7 @@ export declare const sessionSpawnResultSchema: import("../runtime-schema/runtime
606
531
  } | undefined;
607
532
  };
608
533
  }>;
609
- export type SessionSpawnResult = InferRuntimeSchema<typeof sessionSpawnResultSchema>;
534
+ export type SessionWaitResult = InferRuntimeSchema<typeof sessionWaitResultSchema>;
610
535
  export declare const sessionEventsListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
611
536
  readonly afterSessionCursor: string;
612
537
  readonly limit: number;
@@ -623,6 +548,7 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
623
548
  readonly createdAt: string;
624
549
  readonly eventCursor: string;
625
550
  readonly method: string;
551
+ readonly proposedBy?: string | undefined;
626
552
  readonly receiptId: string;
627
553
  readonly schemaVersion: 1;
628
554
  readonly state: "succeeded";
@@ -651,18 +577,27 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
651
577
  readonly executor?: {
652
578
  readonly connectionId: string;
653
579
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
654
- readonly kind: "claude-code" | "codex-cli";
580
+ readonly kind: string;
655
581
  readonly model?: string | undefined;
656
582
  } | undefined;
657
583
  readonly failure?: {
658
584
  readonly code: string;
659
585
  readonly message: string;
660
586
  } | undefined;
587
+ readonly heldTaskCount?: number | undefined;
588
+ readonly heldTasks?: readonly {
589
+ readonly claimedAt: string;
590
+ readonly id: string;
591
+ readonly leaseExpiresAt: string;
592
+ readonly state: "claimed";
593
+ readonly title: string;
594
+ }[] | undefined;
661
595
  readonly labels?: {
662
596
  readonly [x: string]: string;
663
597
  } | undefined;
664
598
  readonly latestTurnId?: string | undefined;
665
599
  readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
600
+ readonly parentSessionId?: string | undefined;
666
601
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
667
602
  readonly prompt?: {
668
603
  readonly approvalId: string;
@@ -719,6 +654,7 @@ export declare const sessionMessageSendResultSchema: import("../runtime-schema/r
719
654
  readonly createdAt: string;
720
655
  readonly eventCursor: string;
721
656
  readonly method: string;
657
+ readonly proposedBy?: string | undefined;
722
658
  readonly receiptId: string;
723
659
  readonly schemaVersion: 1;
724
660
  readonly state: "succeeded";
@@ -803,6 +739,7 @@ export declare const sessionInboxAckResultSchema: import("../runtime-schema/runt
803
739
  readonly createdAt: string;
804
740
  readonly eventCursor: string;
805
741
  readonly method: string;
742
+ readonly proposedBy?: string | undefined;
806
743
  readonly receiptId: string;
807
744
  readonly schemaVersion: 1;
808
745
  readonly state: "succeeded";
@@ -838,18 +775,27 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
838
775
  readonly executor?: {
839
776
  readonly connectionId: string;
840
777
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
841
- readonly kind: "claude-code" | "codex-cli";
778
+ readonly kind: string;
842
779
  readonly model?: string | undefined;
843
780
  } | undefined;
844
781
  readonly failure?: {
845
782
  readonly code: string;
846
783
  readonly message: string;
847
784
  } | undefined;
785
+ readonly heldTaskCount?: number | undefined;
786
+ readonly heldTasks?: readonly {
787
+ readonly claimedAt: string;
788
+ readonly id: string;
789
+ readonly leaseExpiresAt: string;
790
+ readonly state: "claimed";
791
+ readonly title: string;
792
+ }[] | undefined;
848
793
  readonly labels?: {
849
794
  readonly [x: string]: string;
850
795
  } | undefined;
851
796
  readonly latestTurnId?: string | undefined;
852
797
  readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
798
+ readonly parentSessionId?: string | undefined;
853
799
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
854
800
  readonly prompt?: {
855
801
  readonly approvalId: string;
@@ -887,6 +833,14 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
887
833
  export type SessionListResult = InferRuntimeSchema<typeof sessionListResultSchema>;
888
834
  export declare const sessionShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
889
835
  readonly method: "session.show";
836
+ readonly remoteChildren?: readonly {
837
+ readonly linkedAt: string;
838
+ readonly node: string;
839
+ readonly observedState?: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval" | undefined;
840
+ readonly orphanedAt?: string | undefined;
841
+ readonly sessionId: string;
842
+ readonly state: "linked" | "orphaned";
843
+ }[] | undefined;
890
844
  readonly session: {
891
845
  readonly createdAt: string;
892
846
  readonly id: string;
@@ -906,18 +860,27 @@ export declare const sessionShowResultSchema: import("../runtime-schema/runtime-
906
860
  readonly executor?: {
907
861
  readonly connectionId: string;
908
862
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
909
- readonly kind: "claude-code" | "codex-cli";
863
+ readonly kind: string;
910
864
  readonly model?: string | undefined;
911
865
  } | undefined;
912
866
  readonly failure?: {
913
867
  readonly code: string;
914
868
  readonly message: string;
915
869
  } | undefined;
870
+ readonly heldTaskCount?: number | undefined;
871
+ readonly heldTasks?: readonly {
872
+ readonly claimedAt: string;
873
+ readonly id: string;
874
+ readonly leaseExpiresAt: string;
875
+ readonly state: "claimed";
876
+ readonly title: string;
877
+ }[] | undefined;
916
878
  readonly labels?: {
917
879
  readonly [x: string]: string;
918
880
  } | undefined;
919
881
  readonly latestTurnId?: string | undefined;
920
882
  readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
883
+ readonly parentSessionId?: string | undefined;
921
884
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
922
885
  readonly prompt?: {
923
886
  readonly approvalId: string;
@@ -973,7 +936,7 @@ export declare const sessionEventsListResultSchema: import("../runtime-schema/ru
973
936
  readonly executor?: {
974
937
  readonly connectionId: string;
975
938
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
976
- readonly kind: "claude-code" | "codex-cli";
939
+ readonly kind: string;
977
940
  readonly model?: string | undefined;
978
941
  } | undefined;
979
942
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
@@ -1211,6 +1174,7 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
1211
1174
  readonly createdAt: string;
1212
1175
  readonly eventCursor: string;
1213
1176
  readonly method: string;
1177
+ readonly proposedBy?: string | undefined;
1214
1178
  readonly receiptId: string;
1215
1179
  readonly schemaVersion: 1;
1216
1180
  readonly state: "succeeded";
@@ -1239,18 +1203,27 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
1239
1203
  readonly executor?: {
1240
1204
  readonly connectionId: string;
1241
1205
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
1242
- readonly kind: "claude-code" | "codex-cli";
1206
+ readonly kind: string;
1243
1207
  readonly model?: string | undefined;
1244
1208
  } | undefined;
1245
1209
  readonly failure?: {
1246
1210
  readonly code: string;
1247
1211
  readonly message: string;
1248
1212
  } | undefined;
1213
+ readonly heldTaskCount?: number | undefined;
1214
+ readonly heldTasks?: readonly {
1215
+ readonly claimedAt: string;
1216
+ readonly id: string;
1217
+ readonly leaseExpiresAt: string;
1218
+ readonly state: "claimed";
1219
+ readonly title: string;
1220
+ }[] | undefined;
1249
1221
  readonly labels?: {
1250
1222
  readonly [x: string]: string;
1251
1223
  } | undefined;
1252
1224
  readonly latestTurnId?: string | undefined;
1253
1225
  readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
1226
+ readonly parentSessionId?: string | undefined;
1254
1227
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1255
1228
  readonly prompt?: {
1256
1229
  readonly approvalId: string;
@@ -1284,9 +1257,11 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
1284
1257
  };
1285
1258
  }>;
1286
1259
  export type SessionStartResult = InferRuntimeSchema<typeof sessionStartResultSchema>;
1287
- export type SessionResult = SessionArchiveResult | SessionCreateResult | SessionDiffResult | SessionEventsListResult | SessionInboxAckResult | SessionInboxCheckResult | SessionListResult | SessionMessageSendResult | SessionObserveResult | SessionRenameResult | SessionResumeResult | SessionShowResult | SessionSpawnResult | SessionStartResult | SessionStopResult | SessionWaitResult;
1260
+ export type SessionResult = SessionArchiveResult | SessionCreateResult | SessionDiffResult | SessionEventsListResult | SessionForkConfirmResult | SessionForkPreviewResult | SessionGitStatusResult | SessionInboxAckResult | SessionInboxCheckResult | SessionListResult | SessionMessageSendResult | SessionObserveResult | SessionPlacementShowResult | SessionRenameResult | SessionResumeResult | SessionSetupConfirmResult | SessionSetupPreviewResult | SessionShowResult | SessionSpawnConfirmResult | SessionSpawnPreviewResult | SessionStartResult | SessionStopResult | SessionSwitchConfirmResult | SessionSwitchPreviewResult | SessionWaitResult;
1288
1261
  export declare const sessionBaseRefSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
1289
1262
  export type SessionBaseRef = InferRuntimeSchema<typeof sessionBaseRefSchema>;
1263
+ /** The branch a coding Session may name for its new worktree. */
1264
+ export declare const sessionBranchNameSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
1290
1265
  export declare const sessionWorktreeSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1291
1266
  readonly baseRef: string;
1292
1267
  readonly baseRevision: string;
@@ -1323,6 +1298,29 @@ export declare const sessionDiffResultSchema: import("../runtime-schema/runtime-
1323
1298
  readonly totalFiles: number;
1324
1299
  }>;
1325
1300
  export type SessionDiffResult = InferRuntimeSchema<typeof sessionDiffResultSchema>;
1301
+ export declare const sessionGitStatusParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1302
+ readonly sessionId: string;
1303
+ }>;
1304
+ export type SessionGitStatusParameters = InferRuntimeSchema<typeof sessionGitStatusParametersSchema>;
1305
+ export declare const sessionGitStatusResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1306
+ readonly ahead?: number | undefined;
1307
+ readonly baseRef: string;
1308
+ readonly baseRevision?: string | undefined;
1309
+ readonly behind?: number | undefined;
1310
+ readonly branch?: string | undefined;
1311
+ readonly changedFiles: number;
1312
+ readonly dirty: boolean;
1313
+ readonly headRevision: string;
1314
+ readonly method: "session.git.status";
1315
+ readonly observedAt: string;
1316
+ readonly sessionId: string;
1317
+ readonly upstream?: {
1318
+ readonly ahead?: number | undefined;
1319
+ readonly behind?: number | undefined;
1320
+ readonly name: string;
1321
+ } | undefined;
1322
+ }>;
1323
+ export type SessionGitStatusResult = InferRuntimeSchema<typeof sessionGitStatusResultSchema>;
1326
1324
  export declare const sessionArchiveParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1327
1325
  readonly commandId: string;
1328
1326
  readonly expectedRevision: string;
@@ -1347,6 +1345,7 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
1347
1345
  readonly createdAt: string;
1348
1346
  readonly eventCursor: string;
1349
1347
  readonly method: string;
1348
+ readonly proposedBy?: string | undefined;
1350
1349
  readonly receiptId: string;
1351
1350
  readonly schemaVersion: 1;
1352
1351
  readonly state: "succeeded";
@@ -1375,18 +1374,27 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
1375
1374
  readonly executor?: {
1376
1375
  readonly connectionId: string;
1377
1376
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
1378
- readonly kind: "claude-code" | "codex-cli";
1377
+ readonly kind: string;
1379
1378
  readonly model?: string | undefined;
1380
1379
  } | undefined;
1381
1380
  readonly failure?: {
1382
1381
  readonly code: string;
1383
1382
  readonly message: string;
1384
1383
  } | undefined;
1384
+ readonly heldTaskCount?: number | undefined;
1385
+ readonly heldTasks?: readonly {
1386
+ readonly claimedAt: string;
1387
+ readonly id: string;
1388
+ readonly leaseExpiresAt: string;
1389
+ readonly state: "claimed";
1390
+ readonly title: string;
1391
+ }[] | undefined;
1385
1392
  readonly labels?: {
1386
1393
  readonly [x: string]: string;
1387
1394
  } | undefined;
1388
1395
  readonly latestTurnId?: string | undefined;
1389
1396
  readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
1397
+ readonly parentSessionId?: string | undefined;
1390
1398
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1391
1399
  readonly prompt?: {
1392
1400
  readonly approvalId: string;
@@ -1422,6 +1430,486 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
1422
1430
  readonly transcriptPath?: string | undefined;
1423
1431
  }>;
1424
1432
  export type SessionArchiveResult = InferRuntimeSchema<typeof sessionArchiveResultSchema>;
1433
+ export declare const sessionForkPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1434
+ readonly commandId: string;
1435
+ readonly sessionId: string;
1436
+ readonly turnId?: string | undefined;
1437
+ }>;
1438
+ export type SessionForkPreviewParameters = InferRuntimeSchema<typeof sessionForkPreviewParametersSchema>;
1439
+ export declare const sessionForkPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1440
+ readonly inputDigest: string;
1441
+ readonly proof: string;
1442
+ readonly validUntil: string;
1443
+ readonly checkpoint?: string | undefined;
1444
+ readonly commandId: string;
1445
+ readonly expectedRevision: string;
1446
+ readonly sessionId: string;
1447
+ readonly turnId: string;
1448
+ readonly method: "session.fork.preview";
1449
+ readonly path: "context-handoff";
1450
+ }>;
1451
+ export type SessionForkPreviewResult = InferRuntimeSchema<typeof sessionForkPreviewResultSchema>;
1452
+ export declare const sessionForkConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1453
+ readonly inputDigest: string;
1454
+ readonly proof: string;
1455
+ readonly validUntil: string;
1456
+ readonly checkpoint?: string | undefined;
1457
+ readonly commandId: string;
1458
+ readonly expectedRevision: string;
1459
+ readonly sessionId: string;
1460
+ readonly turnId: string;
1461
+ }>;
1462
+ export type SessionForkConfirmParameters = InferRuntimeSchema<typeof sessionForkConfirmParametersSchema>;
1463
+ export declare const sessionForkConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1464
+ readonly delivery: "duplicate" | "new";
1465
+ readonly handoff: string;
1466
+ readonly path: "context-handoff";
1467
+ readonly receipt: {
1468
+ readonly actorId: string;
1469
+ readonly aggregateRevision: string;
1470
+ readonly commandId: string;
1471
+ readonly createdAt: string;
1472
+ readonly eventCursor: string;
1473
+ readonly method: string;
1474
+ readonly proposedBy?: string | undefined;
1475
+ readonly receiptId: string;
1476
+ readonly schemaVersion: 1;
1477
+ readonly state: "succeeded";
1478
+ readonly target: {
1479
+ readonly id: string;
1480
+ readonly type: string;
1481
+ };
1482
+ readonly updatedAt: string;
1483
+ };
1484
+ readonly session: {
1485
+ readonly createdAt: string;
1486
+ readonly id: string;
1487
+ readonly projectId: string;
1488
+ readonly revision: string;
1489
+ readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
1490
+ readonly updatedAt: string;
1491
+ readonly workspaceId: string;
1492
+ readonly workspaceRevision: string;
1493
+ readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
1494
+ readonly agentDefinitionRef?: {
1495
+ readonly contentDigest: string;
1496
+ readonly key: string;
1497
+ readonly version: string;
1498
+ } | undefined;
1499
+ readonly containment?: "none" | undefined;
1500
+ readonly executor?: {
1501
+ readonly connectionId: string;
1502
+ readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
1503
+ readonly kind: string;
1504
+ readonly model?: string | undefined;
1505
+ } | undefined;
1506
+ readonly failure?: {
1507
+ readonly code: string;
1508
+ readonly message: string;
1509
+ } | undefined;
1510
+ readonly heldTaskCount?: number | undefined;
1511
+ readonly heldTasks?: readonly {
1512
+ readonly claimedAt: string;
1513
+ readonly id: string;
1514
+ readonly leaseExpiresAt: string;
1515
+ readonly state: "claimed";
1516
+ readonly title: string;
1517
+ }[] | undefined;
1518
+ readonly labels?: {
1519
+ readonly [x: string]: string;
1520
+ } | undefined;
1521
+ readonly latestTurnId?: string | undefined;
1522
+ readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
1523
+ readonly parentSessionId?: string | undefined;
1524
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1525
+ readonly prompt?: {
1526
+ readonly approvalId: string;
1527
+ readonly expiresAt: string;
1528
+ readonly kind: "command" | "file_change" | "question" | "tool";
1529
+ readonly options?: readonly {
1530
+ readonly label: string;
1531
+ readonly optionId: string;
1532
+ }[] | undefined;
1533
+ readonly summary?: string | undefined;
1534
+ } | undefined;
1535
+ readonly recovery?: {
1536
+ readonly code: string;
1537
+ readonly message: string;
1538
+ } | undefined;
1539
+ readonly schemaVersion: 4;
1540
+ readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
1541
+ readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
1542
+ readonly title?: string | undefined;
1543
+ readonly worktree?: {
1544
+ readonly baseRef: string;
1545
+ readonly baseRevision: string;
1546
+ readonly branch: string;
1547
+ readonly setup: "failed" | "none" | "pending" | "succeeded";
1548
+ readonly skills?: readonly {
1549
+ readonly digest: string;
1550
+ readonly name: string;
1551
+ }[] | undefined;
1552
+ readonly state: "active" | "archived" | "removed";
1553
+ } | undefined;
1554
+ };
1555
+ readonly sourceSessionId: string;
1556
+ readonly method: "session.fork.confirm";
1557
+ }>;
1558
+ export type SessionForkConfirmResult = InferRuntimeSchema<typeof sessionForkConfirmResultSchema>;
1559
+ export declare const sessionSetupPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1560
+ readonly commandId: string;
1561
+ readonly sessionId: string;
1562
+ }>;
1563
+ export type SessionSetupPreviewParameters = InferRuntimeSchema<typeof sessionSetupPreviewParametersSchema>;
1564
+ export declare const sessionSetupPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1565
+ readonly inputDigest: string;
1566
+ readonly proof: string;
1567
+ readonly validUntil: string;
1568
+ readonly commandId: string;
1569
+ readonly expectedRevision: string;
1570
+ readonly sessionId: string;
1571
+ readonly setupDigest: string;
1572
+ readonly approved: boolean;
1573
+ readonly method: "session.setup.preview";
1574
+ readonly setup: {
1575
+ readonly command: readonly string[];
1576
+ readonly files: readonly {
1577
+ readonly path: string;
1578
+ readonly sha256: string;
1579
+ }[];
1580
+ };
1581
+ }>;
1582
+ export type SessionSetupPreviewResult = InferRuntimeSchema<typeof sessionSetupPreviewResultSchema>;
1583
+ export declare const sessionSetupConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1584
+ readonly inputDigest: string;
1585
+ readonly proof: string;
1586
+ readonly validUntil: string;
1587
+ readonly commandId: string;
1588
+ readonly expectedRevision: string;
1589
+ readonly sessionId: string;
1590
+ readonly setupDigest: string;
1591
+ }>;
1592
+ export type SessionSetupConfirmParameters = InferRuntimeSchema<typeof sessionSetupConfirmParametersSchema>;
1593
+ export declare const sessionSetupConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1594
+ readonly delivery: "duplicate" | "new";
1595
+ readonly method: "session.setup.confirm";
1596
+ readonly receipt: {
1597
+ readonly actorId: string;
1598
+ readonly aggregateRevision: string;
1599
+ readonly commandId: string;
1600
+ readonly createdAt: string;
1601
+ readonly eventCursor: string;
1602
+ readonly method: string;
1603
+ readonly proposedBy?: string | undefined;
1604
+ readonly receiptId: string;
1605
+ readonly schemaVersion: 1;
1606
+ readonly state: "succeeded";
1607
+ readonly target: {
1608
+ readonly id: string;
1609
+ readonly type: string;
1610
+ };
1611
+ readonly updatedAt: string;
1612
+ };
1613
+ readonly sessionId: string;
1614
+ readonly setupDigest: string;
1615
+ }>;
1616
+ export type SessionSetupConfirmResult = InferRuntimeSchema<typeof sessionSetupConfirmResultSchema>;
1617
+ export declare const sessionSpawnPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1618
+ readonly commandId: string;
1619
+ readonly executor: string;
1620
+ readonly hostAuthority?: true | undefined;
1621
+ readonly parent: {
1622
+ readonly children: {
1623
+ readonly live: number;
1624
+ readonly total: number;
1625
+ };
1626
+ readonly depth: number;
1627
+ readonly hostAuthority?: true | undefined;
1628
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1629
+ readonly role: "orchestrator" | "worker";
1630
+ readonly sessionId: string;
1631
+ };
1632
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1633
+ readonly workspaceId: string;
1634
+ }>;
1635
+ export type SessionSpawnPreviewParameters = InferRuntimeSchema<typeof sessionSpawnPreviewParametersSchema>;
1636
+ export declare const sessionSpawnPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1637
+ readonly inputDigest: string;
1638
+ readonly proof: string;
1639
+ readonly validUntil: string;
1640
+ readonly commandId: string;
1641
+ readonly executor: string;
1642
+ readonly hostAuthority?: true | undefined;
1643
+ readonly parent: {
1644
+ readonly children: {
1645
+ readonly live: number;
1646
+ readonly total: number;
1647
+ };
1648
+ readonly depth: number;
1649
+ readonly hostAuthority?: true | undefined;
1650
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1651
+ readonly role: "orchestrator" | "worker";
1652
+ readonly sessionId: string;
1653
+ };
1654
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1655
+ readonly workspaceId: string;
1656
+ readonly expectedRevision: "0";
1657
+ readonly method: "session.spawn.preview";
1658
+ }>;
1659
+ export type SessionSpawnPreviewResult = InferRuntimeSchema<typeof sessionSpawnPreviewResultSchema>;
1660
+ export declare const sessionSpawnConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1661
+ readonly inputDigest: string;
1662
+ readonly proof: string;
1663
+ readonly validUntil: string;
1664
+ readonly commandId: string;
1665
+ readonly executor: string;
1666
+ readonly hostAuthority?: true | undefined;
1667
+ readonly parent: {
1668
+ readonly children: {
1669
+ readonly live: number;
1670
+ readonly total: number;
1671
+ };
1672
+ readonly depth: number;
1673
+ readonly hostAuthority?: true | undefined;
1674
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1675
+ readonly role: "orchestrator" | "worker";
1676
+ readonly sessionId: string;
1677
+ };
1678
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1679
+ readonly workspaceId: string;
1680
+ readonly expectedRevision: "0";
1681
+ }>;
1682
+ export type SessionSpawnConfirmParameters = InferRuntimeSchema<typeof sessionSpawnConfirmParametersSchema>;
1683
+ export declare const sessionSpawnConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1684
+ readonly delivery: "duplicate" | "new";
1685
+ readonly method: "session.spawn.confirm";
1686
+ readonly parentSessionId: string;
1687
+ readonly receipt: {
1688
+ readonly actorId: string;
1689
+ readonly aggregateRevision: string;
1690
+ readonly commandId: string;
1691
+ readonly createdAt: string;
1692
+ readonly eventCursor: string;
1693
+ readonly method: string;
1694
+ readonly proposedBy?: string | undefined;
1695
+ readonly receiptId: string;
1696
+ readonly schemaVersion: 1;
1697
+ readonly state: "succeeded";
1698
+ readonly target: {
1699
+ readonly id: string;
1700
+ readonly type: string;
1701
+ };
1702
+ readonly updatedAt: string;
1703
+ };
1704
+ readonly session: {
1705
+ readonly createdAt: string;
1706
+ readonly id: string;
1707
+ readonly projectId: string;
1708
+ readonly revision: string;
1709
+ readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
1710
+ readonly updatedAt: string;
1711
+ readonly workspaceId: string;
1712
+ readonly workspaceRevision: string;
1713
+ readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
1714
+ readonly agentDefinitionRef?: {
1715
+ readonly contentDigest: string;
1716
+ readonly key: string;
1717
+ readonly version: string;
1718
+ } | undefined;
1719
+ readonly containment?: "none" | undefined;
1720
+ readonly executor?: {
1721
+ readonly connectionId: string;
1722
+ readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
1723
+ readonly kind: string;
1724
+ readonly model?: string | undefined;
1725
+ } | undefined;
1726
+ readonly failure?: {
1727
+ readonly code: string;
1728
+ readonly message: string;
1729
+ } | undefined;
1730
+ readonly heldTaskCount?: number | undefined;
1731
+ readonly heldTasks?: readonly {
1732
+ readonly claimedAt: string;
1733
+ readonly id: string;
1734
+ readonly leaseExpiresAt: string;
1735
+ readonly state: "claimed";
1736
+ readonly title: string;
1737
+ }[] | undefined;
1738
+ readonly labels?: {
1739
+ readonly [x: string]: string;
1740
+ } | undefined;
1741
+ readonly latestTurnId?: string | undefined;
1742
+ readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
1743
+ readonly parentSessionId?: string | undefined;
1744
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1745
+ readonly prompt?: {
1746
+ readonly approvalId: string;
1747
+ readonly expiresAt: string;
1748
+ readonly kind: "command" | "file_change" | "question" | "tool";
1749
+ readonly options?: readonly {
1750
+ readonly label: string;
1751
+ readonly optionId: string;
1752
+ }[] | undefined;
1753
+ readonly summary?: string | undefined;
1754
+ } | undefined;
1755
+ readonly recovery?: {
1756
+ readonly code: string;
1757
+ readonly message: string;
1758
+ } | undefined;
1759
+ readonly schemaVersion: 4;
1760
+ readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
1761
+ readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
1762
+ readonly title?: string | undefined;
1763
+ readonly worktree?: {
1764
+ readonly baseRef: string;
1765
+ readonly baseRevision: string;
1766
+ readonly branch: string;
1767
+ readonly setup: "failed" | "none" | "pending" | "succeeded";
1768
+ readonly skills?: readonly {
1769
+ readonly digest: string;
1770
+ readonly name: string;
1771
+ }[] | undefined;
1772
+ readonly state: "active" | "archived" | "removed";
1773
+ } | undefined;
1774
+ };
1775
+ }>;
1776
+ export type SessionSpawnConfirmResult = InferRuntimeSchema<typeof sessionSpawnConfirmResultSchema>;
1777
+ export declare const sessionSwitchPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1778
+ readonly commandId: string;
1779
+ readonly sessionId: string;
1780
+ readonly target: {
1781
+ readonly connectionId?: string | undefined;
1782
+ readonly executor?: string | undefined;
1783
+ readonly model?: string | undefined;
1784
+ };
1785
+ }>;
1786
+ export type SessionSwitchPreviewParameters = InferRuntimeSchema<typeof sessionSwitchPreviewParametersSchema>;
1787
+ export declare const sessionSwitchPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1788
+ readonly inputDigest: string;
1789
+ readonly proof: string;
1790
+ readonly validUntil: string;
1791
+ readonly commandId: string;
1792
+ readonly expectedRevision: string;
1793
+ readonly sessionId: string;
1794
+ readonly target: {
1795
+ readonly connectionId?: string | undefined;
1796
+ readonly executor?: string | undefined;
1797
+ readonly model?: string | undefined;
1798
+ };
1799
+ readonly method: "session.switch.preview";
1800
+ readonly path: "context-handoff";
1801
+ }>;
1802
+ export type SessionSwitchPreviewResult = InferRuntimeSchema<typeof sessionSwitchPreviewResultSchema>;
1803
+ export declare const sessionSwitchConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1804
+ readonly inputDigest: string;
1805
+ readonly proof: string;
1806
+ readonly validUntil: string;
1807
+ readonly commandId: string;
1808
+ readonly expectedRevision: string;
1809
+ readonly sessionId: string;
1810
+ readonly target: {
1811
+ readonly connectionId?: string | undefined;
1812
+ readonly executor?: string | undefined;
1813
+ readonly model?: string | undefined;
1814
+ };
1815
+ }>;
1816
+ export type SessionSwitchConfirmParameters = InferRuntimeSchema<typeof sessionSwitchConfirmParametersSchema>;
1817
+ export declare const sessionSwitchConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1818
+ readonly delivery: "duplicate" | "new";
1819
+ readonly handoff: string;
1820
+ readonly path: "context-handoff";
1821
+ readonly receipt: {
1822
+ readonly actorId: string;
1823
+ readonly aggregateRevision: string;
1824
+ readonly commandId: string;
1825
+ readonly createdAt: string;
1826
+ readonly eventCursor: string;
1827
+ readonly method: string;
1828
+ readonly proposedBy?: string | undefined;
1829
+ readonly receiptId: string;
1830
+ readonly schemaVersion: 1;
1831
+ readonly state: "succeeded";
1832
+ readonly target: {
1833
+ readonly id: string;
1834
+ readonly type: string;
1835
+ };
1836
+ readonly updatedAt: string;
1837
+ };
1838
+ readonly session: {
1839
+ readonly createdAt: string;
1840
+ readonly id: string;
1841
+ readonly projectId: string;
1842
+ readonly revision: string;
1843
+ readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
1844
+ readonly updatedAt: string;
1845
+ readonly workspaceId: string;
1846
+ readonly workspaceRevision: string;
1847
+ readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
1848
+ readonly agentDefinitionRef?: {
1849
+ readonly contentDigest: string;
1850
+ readonly key: string;
1851
+ readonly version: string;
1852
+ } | undefined;
1853
+ readonly containment?: "none" | undefined;
1854
+ readonly executor?: {
1855
+ readonly connectionId: string;
1856
+ readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
1857
+ readonly kind: string;
1858
+ readonly model?: string | undefined;
1859
+ } | undefined;
1860
+ readonly failure?: {
1861
+ readonly code: string;
1862
+ readonly message: string;
1863
+ } | undefined;
1864
+ readonly heldTaskCount?: number | undefined;
1865
+ readonly heldTasks?: readonly {
1866
+ readonly claimedAt: string;
1867
+ readonly id: string;
1868
+ readonly leaseExpiresAt: string;
1869
+ readonly state: "claimed";
1870
+ readonly title: string;
1871
+ }[] | undefined;
1872
+ readonly labels?: {
1873
+ readonly [x: string]: string;
1874
+ } | undefined;
1875
+ readonly latestTurnId?: string | undefined;
1876
+ readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
1877
+ readonly parentSessionId?: string | undefined;
1878
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1879
+ readonly prompt?: {
1880
+ readonly approvalId: string;
1881
+ readonly expiresAt: string;
1882
+ readonly kind: "command" | "file_change" | "question" | "tool";
1883
+ readonly options?: readonly {
1884
+ readonly label: string;
1885
+ readonly optionId: string;
1886
+ }[] | undefined;
1887
+ readonly summary?: string | undefined;
1888
+ } | undefined;
1889
+ readonly recovery?: {
1890
+ readonly code: string;
1891
+ readonly message: string;
1892
+ } | undefined;
1893
+ readonly schemaVersion: 4;
1894
+ readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
1895
+ readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
1896
+ readonly title?: string | undefined;
1897
+ readonly worktree?: {
1898
+ readonly baseRef: string;
1899
+ readonly baseRevision: string;
1900
+ readonly branch: string;
1901
+ readonly setup: "failed" | "none" | "pending" | "succeeded";
1902
+ readonly skills?: readonly {
1903
+ readonly digest: string;
1904
+ readonly name: string;
1905
+ }[] | undefined;
1906
+ readonly state: "active" | "archived" | "removed";
1907
+ } | undefined;
1908
+ };
1909
+ readonly sourceSessionId: string;
1910
+ readonly method: "session.switch.confirm";
1911
+ }>;
1912
+ export type SessionSwitchConfirmResult = InferRuntimeSchema<typeof sessionSwitchConfirmResultSchema>;
1425
1913
  export declare const sessionRenameParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
1426
1914
  readonly commandId: string;
1427
1915
  readonly expectedRevision: string;
@@ -1439,6 +1927,7 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
1439
1927
  readonly createdAt: string;
1440
1928
  readonly eventCursor: string;
1441
1929
  readonly method: string;
1930
+ readonly proposedBy?: string | undefined;
1442
1931
  readonly receiptId: string;
1443
1932
  readonly schemaVersion: 1;
1444
1933
  readonly state: "succeeded";
@@ -1467,18 +1956,27 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
1467
1956
  readonly executor?: {
1468
1957
  readonly connectionId: string;
1469
1958
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
1470
- readonly kind: "claude-code" | "codex-cli";
1959
+ readonly kind: string;
1471
1960
  readonly model?: string | undefined;
1472
1961
  } | undefined;
1473
1962
  readonly failure?: {
1474
1963
  readonly code: string;
1475
1964
  readonly message: string;
1476
1965
  } | undefined;
1966
+ readonly heldTaskCount?: number | undefined;
1967
+ readonly heldTasks?: readonly {
1968
+ readonly claimedAt: string;
1969
+ readonly id: string;
1970
+ readonly leaseExpiresAt: string;
1971
+ readonly state: "claimed";
1972
+ readonly title: string;
1973
+ }[] | undefined;
1477
1974
  readonly labels?: {
1478
1975
  readonly [x: string]: string;
1479
1976
  } | undefined;
1480
1977
  readonly latestTurnId?: string | undefined;
1481
1978
  readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
1979
+ readonly parentSessionId?: string | undefined;
1482
1980
  readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
1483
1981
  readonly prompt?: {
1484
1982
  readonly approvalId: string;
@@ -1512,4 +2010,122 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
1512
2010
  };
1513
2011
  }>;
1514
2012
  export type SessionRenameResult = InferRuntimeSchema<typeof sessionRenameResultSchema>;
2013
+ export declare const sessionSpawnCapsRecordSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
2014
+ readonly caps: {
2015
+ readonly concurrency: number;
2016
+ readonly depth: number;
2017
+ readonly fanOut: number;
2018
+ };
2019
+ readonly revision: string;
2020
+ readonly source: "default" | "node";
2021
+ readonly updatedAt?: string | undefined;
2022
+ }>;
2023
+ export declare const sessionSpawnCapsShowParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
2024
+ readonly sessionId?: string | undefined;
2025
+ }>;
2026
+ export declare const sessionSpawnCapsShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
2027
+ readonly caps: {
2028
+ readonly caps: {
2029
+ readonly concurrency: number;
2030
+ readonly depth: number;
2031
+ readonly fanOut: number;
2032
+ };
2033
+ readonly revision: string;
2034
+ readonly source: "default" | "node";
2035
+ readonly updatedAt?: string | undefined;
2036
+ };
2037
+ readonly method: "session.spawn-caps.show";
2038
+ readonly standing?: {
2039
+ readonly children: {
2040
+ readonly live: number;
2041
+ readonly total: number;
2042
+ };
2043
+ readonly depth?: number | undefined;
2044
+ readonly role?: "orchestrator" | "worker" | undefined;
2045
+ readonly sessionId: string;
2046
+ } | undefined;
2047
+ }>;
2048
+ export declare const sessionSpawnCapsPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
2049
+ readonly caps: {
2050
+ readonly concurrency: number;
2051
+ readonly depth: number;
2052
+ readonly fanOut: number;
2053
+ };
2054
+ readonly commandId: string;
2055
+ readonly expectedRevision: string;
2056
+ }>;
2057
+ export declare const sessionSpawnCapsPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
2058
+ readonly caps: {
2059
+ readonly concurrency: number;
2060
+ readonly depth: number;
2061
+ readonly fanOut: number;
2062
+ };
2063
+ readonly commandId: string;
2064
+ readonly expectedRevision: string;
2065
+ readonly inputDigest: string;
2066
+ readonly proof: string;
2067
+ readonly validUntil: string;
2068
+ readonly current: {
2069
+ readonly caps: {
2070
+ readonly concurrency: number;
2071
+ readonly depth: number;
2072
+ readonly fanOut: number;
2073
+ };
2074
+ readonly revision: string;
2075
+ readonly source: "default" | "node";
2076
+ readonly updatedAt?: string | undefined;
2077
+ };
2078
+ readonly method: "session.spawn-caps.preview";
2079
+ }>;
2080
+ export declare const sessionSpawnCapsConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
2081
+ readonly caps: {
2082
+ readonly concurrency: number;
2083
+ readonly depth: number;
2084
+ readonly fanOut: number;
2085
+ };
2086
+ readonly commandId: string;
2087
+ readonly expectedRevision: string;
2088
+ readonly inputDigest: string;
2089
+ readonly proof: string;
2090
+ readonly validUntil: string;
2091
+ }>;
2092
+ export declare const sessionSpawnCapsConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
2093
+ readonly caps: {
2094
+ readonly caps: {
2095
+ readonly concurrency: number;
2096
+ readonly depth: number;
2097
+ readonly fanOut: number;
2098
+ };
2099
+ readonly revision: string;
2100
+ readonly source: "default" | "node";
2101
+ readonly updatedAt?: string | undefined;
2102
+ };
2103
+ readonly delivery: "duplicate" | "new";
2104
+ readonly method: "session.spawn-caps.confirm";
2105
+ readonly receipt: {
2106
+ readonly actorId: string;
2107
+ readonly aggregateRevision: string;
2108
+ readonly commandId: string;
2109
+ readonly createdAt: string;
2110
+ readonly eventCursor: string;
2111
+ readonly method: string;
2112
+ readonly proposedBy?: string | undefined;
2113
+ readonly receiptId: string;
2114
+ readonly schemaVersion: 1;
2115
+ readonly state: "succeeded";
2116
+ readonly target: {
2117
+ readonly id: string;
2118
+ readonly type: string;
2119
+ };
2120
+ readonly updatedAt: string;
2121
+ };
2122
+ }>;
2123
+ export type SessionSpawnCapsRecord = InferRuntimeSchema<typeof sessionSpawnCapsRecordSchema>;
2124
+ export type SessionSpawnCaps = SessionSpawnCapsRecord["caps"];
2125
+ export type SessionSpawnCapsShowParameters = InferRuntimeSchema<typeof sessionSpawnCapsShowParametersSchema>;
2126
+ export type SessionSpawnCapsShowResult = InferRuntimeSchema<typeof sessionSpawnCapsShowResultSchema>;
2127
+ export type SessionSpawnCapsPreviewParameters = InferRuntimeSchema<typeof sessionSpawnCapsPreviewParametersSchema>;
2128
+ export type SessionSpawnCapsPreviewResult = InferRuntimeSchema<typeof sessionSpawnCapsPreviewResultSchema>;
2129
+ export type SessionSpawnCapsConfirmParameters = InferRuntimeSchema<typeof sessionSpawnCapsConfirmParametersSchema>;
2130
+ export type SessionSpawnCapsConfirmResult = InferRuntimeSchema<typeof sessionSpawnCapsConfirmResultSchema>;
1515
2131
  //# sourceMappingURL=contract.d.ts.map