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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (934) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +15 -6
  3. package/dist/agent/definition.d.ts +3 -3
  4. package/dist/agent/definition.d.ts.map +1 -1
  5. package/dist/agent/definition.js +1 -1
  6. package/dist/agent/definition.js.map +1 -1
  7. package/dist/agent/effect-schema.d.ts +2 -0
  8. package/dist/agent/effect-schema.d.ts.map +1 -1
  9. package/dist/agent/effect-schema.js +3 -0
  10. package/dist/agent/effect-schema.js.map +1 -1
  11. package/dist/agent/index.d.ts +1 -1
  12. package/dist/agent/index.d.ts.map +1 -1
  13. package/dist/agent/index.js +1 -1
  14. package/dist/agent/index.js.map +1 -1
  15. package/dist/agent/worker-operation.d.ts +43 -1
  16. package/dist/agent/worker-operation.d.ts.map +1 -1
  17. package/dist/agents/contract.d.ts +27 -0
  18. package/dist/agents/contract.d.ts.map +1 -1
  19. package/dist/agents/contract.js +4 -1
  20. package/dist/agents/contract.js.map +1 -1
  21. package/dist/agents/effect-schema.d.ts +53 -2
  22. package/dist/agents/effect-schema.d.ts.map +1 -1
  23. package/dist/agents/effect-schema.js +51 -10
  24. package/dist/agents/effect-schema.js.map +1 -1
  25. package/dist/agents/feature.d.ts +54 -4
  26. package/dist/agents/feature.d.ts.map +1 -1
  27. package/dist/agents/feature.js +52 -4
  28. package/dist/agents/feature.js.map +1 -1
  29. package/dist/agents/index.d.ts +1 -1
  30. package/dist/agents/index.d.ts.map +1 -1
  31. package/dist/agents/index.js +1 -1
  32. package/dist/agents/index.js.map +1 -1
  33. package/dist/approval/contract.d.ts +21 -5
  34. package/dist/approval/contract.d.ts.map +1 -1
  35. package/dist/approval/contract.js +2 -1
  36. package/dist/approval/contract.js.map +1 -1
  37. package/dist/approval/effect-schema.d.ts +1 -1
  38. package/dist/approval/effect-schema.d.ts.map +1 -1
  39. package/dist/approval/effect-schema.js +1 -1
  40. package/dist/approval/effect-schema.js.map +1 -1
  41. package/dist/approval/feature.d.ts +21 -2
  42. package/dist/approval/feature.d.ts.map +1 -1
  43. package/dist/approval/feature.js +21 -2
  44. package/dist/approval/feature.js.map +1 -1
  45. package/dist/approval/index.d.ts +1 -1
  46. package/dist/approval/index.d.ts.map +1 -1
  47. package/dist/approval/index.js +1 -1
  48. package/dist/approval/index.js.map +1 -1
  49. package/dist/approval/request-effect-schema.d.ts +40 -5
  50. package/dist/approval/request-effect-schema.d.ts.map +1 -1
  51. package/dist/approval/request-effect-schema.js +30 -7
  52. package/dist/approval/request-effect-schema.js.map +1 -1
  53. package/dist/approval/result-effect-schema.d.ts +14 -6
  54. package/dist/approval/result-effect-schema.d.ts.map +1 -1
  55. package/dist/board/contract.d.ts +1668 -0
  56. package/dist/board/contract.d.ts.map +1 -0
  57. package/dist/board/contract.js +108 -0
  58. package/dist/board/contract.js.map +1 -0
  59. package/dist/board/effect-schema.d.ts +6 -0
  60. package/dist/board/effect-schema.d.ts.map +1 -0
  61. package/dist/board/effect-schema.js +6 -0
  62. package/dist/board/effect-schema.js.map +1 -0
  63. package/dist/board/feature.d.ts +565 -0
  64. package/dist/board/feature.d.ts.map +1 -0
  65. package/dist/board/feature.js +535 -0
  66. package/dist/board/feature.js.map +1 -0
  67. package/dist/board/index.d.ts +3 -0
  68. package/dist/board/index.d.ts.map +1 -0
  69. package/dist/board/index.js +3 -0
  70. package/dist/board/index.js.map +1 -0
  71. package/dist/board/manage-effect-schema.d.ts +493 -0
  72. package/dist/board/manage-effect-schema.d.ts.map +1 -0
  73. package/dist/board/manage-effect-schema.js +73 -0
  74. package/dist/board/manage-effect-schema.js.map +1 -0
  75. package/dist/board/model-effect-schema.d.ts +111 -0
  76. package/dist/board/model-effect-schema.d.ts.map +1 -0
  77. package/dist/board/model-effect-schema.js +120 -0
  78. package/dist/board/model-effect-schema.js.map +1 -0
  79. package/dist/board/plan-effect-schema.d.ts +120 -0
  80. package/dist/board/plan-effect-schema.d.ts.map +1 -0
  81. package/dist/board/plan-effect-schema.js +108 -0
  82. package/dist/board/plan-effect-schema.js.map +1 -0
  83. package/dist/board/task-effect-schema.d.ts +1835 -0
  84. package/dist/board/task-effect-schema.d.ts.map +1 -0
  85. package/dist/board/task-effect-schema.js +275 -0
  86. package/dist/board/task-effect-schema.js.map +1 -0
  87. package/dist/board/thread-effect-schema.d.ts +633 -0
  88. package/dist/board/thread-effect-schema.d.ts.map +1 -0
  89. package/dist/board/thread-effect-schema.js +116 -0
  90. package/dist/board/thread-effect-schema.js.map +1 -0
  91. package/dist/command-receipt/contract.d.ts +3 -0
  92. package/dist/command-receipt/contract.d.ts.map +1 -1
  93. package/dist/command-receipt/effect-schema.d.ts +12 -0
  94. package/dist/command-receipt/effect-schema.d.ts.map +1 -1
  95. package/dist/command-receipt/effect-schema.js +7 -0
  96. package/dist/command-receipt/effect-schema.js.map +1 -1
  97. package/dist/command-receipt/feature.d.ts +10 -0
  98. package/dist/command-receipt/feature.d.ts.map +1 -1
  99. package/dist/command-receipt/feature.js +10 -0
  100. package/dist/command-receipt/feature.js.map +1 -1
  101. package/dist/connection/access-effect-schema.d.ts +4 -0
  102. package/dist/connection/access-effect-schema.d.ts.map +1 -1
  103. package/dist/connection/contract.d.ts +205 -2
  104. package/dist/connection/contract.d.ts.map +1 -1
  105. package/dist/connection/contract.js +10 -1
  106. package/dist/connection/contract.js.map +1 -1
  107. package/dist/connection/effect-schema.d.ts +194 -2
  108. package/dist/connection/effect-schema.d.ts.map +1 -1
  109. package/dist/connection/effect-schema.js +3 -0
  110. package/dist/connection/effect-schema.js.map +1 -1
  111. package/dist/connection/executors-effect-schema.d.ts +275 -0
  112. package/dist/connection/executors-effect-schema.d.ts.map +1 -0
  113. package/dist/connection/executors-effect-schema.js +80 -0
  114. package/dist/connection/executors-effect-schema.js.map +1 -0
  115. package/dist/connection/feature.d.ts +301 -10
  116. package/dist/connection/feature.d.ts.map +1 -1
  117. package/dist/connection/feature.js +381 -46
  118. package/dist/connection/feature.js.map +1 -1
  119. package/dist/connection/gateway-effect-schema.d.ts +15 -5
  120. package/dist/connection/gateway-effect-schema.d.ts.map +1 -1
  121. package/dist/connection/gateway-effect-schema.js +25 -12
  122. package/dist/connection/gateway-effect-schema.js.map +1 -1
  123. package/dist/connection/index.d.ts +1 -1
  124. package/dist/connection/index.d.ts.map +1 -1
  125. package/dist/connection/index.js +1 -1
  126. package/dist/connection/index.js.map +1 -1
  127. package/dist/connection/request-effect-schema.d.ts +23 -4
  128. package/dist/connection/request-effect-schema.d.ts.map +1 -1
  129. package/dist/connection/request-effect-schema.js +42 -14
  130. package/dist/connection/request-effect-schema.js.map +1 -1
  131. package/dist/connection/result-effect-schema.d.ts +98 -6
  132. package/dist/connection/result-effect-schema.d.ts.map +1 -1
  133. package/dist/connection/result-effect-schema.js +4 -3
  134. package/dist/connection/result-effect-schema.js.map +1 -1
  135. package/dist/connection/system-effect-schema.d.ts +16 -0
  136. package/dist/connection/system-effect-schema.d.ts.map +1 -1
  137. package/dist/connection/system-effect-schema.js +5 -5
  138. package/dist/connection/system-effect-schema.js.map +1 -1
  139. package/dist/container/contract.d.ts +2 -0
  140. package/dist/container/contract.d.ts.map +1 -1
  141. package/dist/container/effect-schema.d.ts +4 -0
  142. package/dist/container/effect-schema.d.ts.map +1 -1
  143. package/dist/container/portfolio-feature.d.ts +286 -0
  144. package/dist/container/portfolio-feature.d.ts.map +1 -1
  145. package/dist/container/portfolio-feature.js +131 -0
  146. package/dist/container/portfolio-feature.js.map +1 -1
  147. package/dist/coordinator-tool/index.d.ts +1 -1
  148. package/dist/coordinator-tool/index.d.ts.map +1 -1
  149. package/dist/coordinator-tool/index.js +1 -1
  150. package/dist/coordinator-tool/index.js.map +1 -1
  151. package/dist/coordinator-tool/input-schema.d.ts +0 -7
  152. package/dist/coordinator-tool/input-schema.d.ts.map +1 -1
  153. package/dist/coordinator-tool/input-schema.js +0 -38
  154. package/dist/coordinator-tool/input-schema.js.map +1 -1
  155. package/dist/coordinator-tool/registry.d.ts +21 -0
  156. package/dist/coordinator-tool/registry.d.ts.map +1 -1
  157. package/dist/coordinator-tool/registry.js +163 -4
  158. package/dist/coordinator-tool/registry.js.map +1 -1
  159. package/dist/discovery/contract.d.ts +141 -2
  160. package/dist/discovery/contract.d.ts.map +1 -1
  161. package/dist/discovery/contract.js +11 -1
  162. package/dist/discovery/contract.js.map +1 -1
  163. package/dist/discovery/effect-schema.d.ts +325 -6
  164. package/dist/discovery/effect-schema.d.ts.map +1 -1
  165. package/dist/discovery/effect-schema.js +157 -8
  166. package/dist/discovery/effect-schema.js.map +1 -1
  167. package/dist/discovery/feature.d.ts +82 -2
  168. package/dist/discovery/feature.d.ts.map +1 -1
  169. package/dist/discovery/feature.js +78 -2
  170. package/dist/discovery/feature.js.map +1 -1
  171. package/dist/discovery/index.d.ts +1 -1
  172. package/dist/discovery/index.d.ts.map +1 -1
  173. package/dist/discovery/index.js +1 -1
  174. package/dist/discovery/index.js.map +1 -1
  175. package/dist/envelope/effect-schema.d.ts +38 -17
  176. package/dist/envelope/effect-schema.d.ts.map +1 -1
  177. package/dist/envelope/effect-schema.js +30 -8
  178. package/dist/envelope/effect-schema.js.map +1 -1
  179. package/dist/envelope/envelope.d.ts +25 -3
  180. package/dist/envelope/envelope.d.ts.map +1 -1
  181. package/dist/envelope/envelope.js +37 -1
  182. package/dist/envelope/envelope.js.map +1 -1
  183. package/dist/envelope/index.d.ts +2 -2
  184. package/dist/envelope/index.d.ts.map +1 -1
  185. package/dist/envelope/index.js +2 -2
  186. package/dist/envelope/index.js.map +1 -1
  187. package/dist/envelope/policy.d.ts +11 -0
  188. package/dist/envelope/policy.d.ts.map +1 -1
  189. package/dist/envelope/policy.js +13 -0
  190. package/dist/envelope/policy.js.map +1 -1
  191. package/dist/event/contract.d.ts +47 -0
  192. package/dist/event/contract.d.ts.map +1 -1
  193. package/dist/event/contract.js +3 -0
  194. package/dist/event/contract.js.map +1 -1
  195. package/dist/event/effect-schema.d.ts +3 -1
  196. package/dist/event/effect-schema.d.ts.map +1 -1
  197. package/dist/event/effect-schema.js +3 -1
  198. package/dist/event/effect-schema.js.map +1 -1
  199. package/dist/event/envelope-effect-schema.d.ts +2 -0
  200. package/dist/event/envelope-effect-schema.d.ts.map +1 -1
  201. package/dist/event/envelope-effect-schema.js +2 -0
  202. package/dist/event/envelope-effect-schema.js.map +1 -1
  203. package/dist/event/feature.d.ts +35 -0
  204. package/dist/event/feature.d.ts.map +1 -0
  205. package/dist/event/feature.js +39 -0
  206. package/dist/event/feature.js.map +1 -0
  207. package/dist/event/format.d.ts +6 -0
  208. package/dist/event/format.d.ts.map +1 -1
  209. package/dist/event/format.js +6 -0
  210. package/dist/event/format.js.map +1 -1
  211. package/dist/event/index.d.ts +4 -1
  212. package/dist/event/index.d.ts.map +1 -1
  213. package/dist/event/index.js +4 -1
  214. package/dist/event/index.js.map +1 -1
  215. package/dist/event/lifecycle/effect-schema.d.ts +31 -0
  216. package/dist/event/lifecycle/effect-schema.d.ts.map +1 -0
  217. package/dist/event/lifecycle/effect-schema.js +36 -0
  218. package/dist/event/lifecycle/effect-schema.js.map +1 -0
  219. package/dist/event/lifecycle/index.d.ts +2 -0
  220. package/dist/event/lifecycle/index.d.ts.map +1 -0
  221. package/dist/event/lifecycle/index.js +2 -0
  222. package/dist/event/lifecycle/index.js.map +1 -0
  223. package/dist/event/lifecycle/schema.d.ts +20 -0
  224. package/dist/event/lifecycle/schema.d.ts.map +1 -0
  225. package/dist/event/lifecycle/schema.js +7 -0
  226. package/dist/event/lifecycle/schema.js.map +1 -0
  227. package/dist/event/read-effect-schema.d.ts +105 -0
  228. package/dist/event/read-effect-schema.d.ts.map +1 -0
  229. package/dist/event/read-effect-schema.js +64 -0
  230. package/dist/event/read-effect-schema.js.map +1 -0
  231. package/dist/event/registry.d.ts +5 -0
  232. package/dist/event/registry.d.ts.map +1 -1
  233. package/dist/event/registry.js +291 -8
  234. package/dist/event/registry.js.map +1 -1
  235. package/dist/event/session-activity-effect-schema.d.ts +36 -0
  236. package/dist/event/session-activity-effect-schema.d.ts.map +1 -0
  237. package/dist/event/session-activity-effect-schema.js +58 -0
  238. package/dist/event/session-activity-effect-schema.js.map +1 -0
  239. package/dist/event/session-activity.d.ts +30 -0
  240. package/dist/event/session-activity.d.ts.map +1 -0
  241. package/dist/event/session-activity.js +19 -0
  242. package/dist/event/session-activity.js.map +1 -0
  243. package/dist/event/update-effect-schema.d.ts +20 -0
  244. package/dist/event/update-effect-schema.d.ts.map +1 -0
  245. package/dist/event/update-effect-schema.js +29 -0
  246. package/dist/event/update-effect-schema.js.map +1 -0
  247. package/dist/event/update.d.ts +16 -0
  248. package/dist/event/update.d.ts.map +1 -0
  249. package/dist/event/update.js +6 -0
  250. package/dist/event/update.js.map +1 -0
  251. package/dist/event/waiting/effect-schema.d.ts +42 -0
  252. package/dist/event/waiting/effect-schema.d.ts.map +1 -0
  253. package/dist/event/waiting/effect-schema.js +51 -0
  254. package/dist/event/waiting/effect-schema.js.map +1 -0
  255. package/dist/event/waiting/index.d.ts +2 -0
  256. package/dist/event/waiting/index.d.ts.map +1 -0
  257. package/dist/event/waiting/index.js +2 -0
  258. package/dist/event/waiting/index.js.map +1 -0
  259. package/dist/event/waiting/schema.d.ts +23 -0
  260. package/dist/event/waiting/schema.d.ts.map +1 -0
  261. package/dist/event/waiting/schema.js +6 -0
  262. package/dist/event/waiting/schema.js.map +1 -0
  263. package/dist/event-stream/contract.d.ts +121 -0
  264. package/dist/event-stream/contract.d.ts.map +1 -0
  265. package/dist/event-stream/contract.js +5 -0
  266. package/dist/event-stream/contract.js.map +1 -0
  267. package/dist/event-stream/effect-schema.d.ts +118 -0
  268. package/dist/event-stream/effect-schema.d.ts.map +1 -0
  269. package/dist/event-stream/effect-schema.js +90 -0
  270. package/dist/event-stream/effect-schema.js.map +1 -0
  271. package/dist/event-stream/index.d.ts +2 -0
  272. package/dist/event-stream/index.d.ts.map +1 -0
  273. package/dist/event-stream/index.js +2 -0
  274. package/dist/event-stream/index.js.map +1 -0
  275. package/dist/execution/contract.d.ts +1 -0
  276. package/dist/execution/contract.d.ts.map +1 -1
  277. package/dist/execution/effect-schema.d.ts +6 -0
  278. package/dist/execution/effect-schema.d.ts.map +1 -1
  279. package/dist/execution/feature.d.ts +575 -0
  280. package/dist/execution/feature.d.ts.map +1 -0
  281. package/dist/execution/feature.js +543 -0
  282. package/dist/execution/feature.js.map +1 -0
  283. package/dist/execution/file-operation-contract.d.ts +1 -0
  284. package/dist/execution/file-operation-contract.d.ts.map +1 -1
  285. package/dist/execution/file-operation-effect-schema.d.ts +1 -0
  286. package/dist/execution/file-operation-effect-schema.d.ts.map +1 -1
  287. package/dist/execution/index.d.ts +1 -0
  288. package/dist/execution/index.d.ts.map +1 -1
  289. package/dist/execution/index.js +1 -0
  290. package/dist/execution/index.js.map +1 -1
  291. package/dist/execution/operation-contract.d.ts +1 -0
  292. package/dist/execution/operation-contract.d.ts.map +1 -1
  293. package/dist/execution/operation-effect-schema.d.ts +1 -0
  294. package/dist/execution/operation-effect-schema.d.ts.map +1 -1
  295. package/dist/execution/placement/contract.d.ts +4 -0
  296. package/dist/execution/placement/contract.d.ts.map +1 -1
  297. package/dist/execution/placement/effect-schema.d.ts +4 -0
  298. package/dist/execution/placement/effect-schema.d.ts.map +1 -1
  299. package/dist/execution/relocation/contract.d.ts +2 -0
  300. package/dist/execution/relocation/contract.d.ts.map +1 -1
  301. package/dist/execution/relocation/effect-schema.d.ts +4 -0
  302. package/dist/execution/relocation/effect-schema.d.ts.map +1 -1
  303. package/dist/execution/worktree/contract.d.ts +12 -0
  304. package/dist/execution/worktree/contract.d.ts.map +1 -1
  305. package/dist/execution/worktree/effect-schema.d.ts +20 -0
  306. package/dist/execution/worktree/effect-schema.d.ts.map +1 -1
  307. package/dist/execution/worktree/effect-schema.js +11 -0
  308. package/dist/execution/worktree/effect-schema.js.map +1 -1
  309. package/dist/executor/index.d.ts +2 -0
  310. package/dist/executor/index.d.ts.map +1 -0
  311. package/dist/executor/index.js +2 -0
  312. package/dist/executor/index.js.map +1 -0
  313. package/dist/executor/policy.d.ts +28 -0
  314. package/dist/executor/policy.d.ts.map +1 -0
  315. package/dist/executor/policy.js +49 -0
  316. package/dist/executor/policy.js.map +1 -0
  317. package/dist/feature/descriptor/descriptor.d.ts +42 -2
  318. package/dist/feature/descriptor/descriptor.d.ts.map +1 -1
  319. package/dist/feature/descriptor/descriptor.js.map +1 -1
  320. package/dist/feature/descriptor/index.d.ts +1 -1
  321. package/dist/feature/descriptor/index.d.ts.map +1 -1
  322. package/dist/feature/descriptor/index.js.map +1 -1
  323. package/dist/feature/index.d.ts +1 -1
  324. package/dist/feature/index.d.ts.map +1 -1
  325. package/dist/feature/index.js +1 -1
  326. package/dist/feature/index.js.map +1 -1
  327. package/dist/feature/node-status.d.ts +65 -1
  328. package/dist/feature/node-status.d.ts.map +1 -1
  329. package/dist/feature/node-status.js +59 -1
  330. package/dist/feature/node-status.js.map +1 -1
  331. package/dist/feature/registry.d.ts +59 -4
  332. package/dist/feature/registry.d.ts.map +1 -1
  333. package/dist/feature/registry.js +53 -0
  334. package/dist/feature/registry.js.map +1 -1
  335. package/dist/github/contract.d.ts +266 -0
  336. package/dist/github/contract.d.ts.map +1 -0
  337. package/dist/github/contract.js +30 -0
  338. package/dist/github/contract.js.map +1 -0
  339. package/dist/github/effect-schema.d.ts +488 -0
  340. package/dist/github/effect-schema.d.ts.map +1 -0
  341. package/dist/github/effect-schema.js +231 -0
  342. package/dist/github/effect-schema.js.map +1 -0
  343. package/dist/github/feature.d.ts +201 -0
  344. package/dist/github/feature.d.ts.map +1 -0
  345. package/dist/github/feature.js +195 -0
  346. package/dist/github/feature.js.map +1 -0
  347. package/dist/github/index.d.ts +3 -0
  348. package/dist/github/index.d.ts.map +1 -0
  349. package/dist/github/index.js +3 -0
  350. package/dist/github/index.js.map +1 -0
  351. package/dist/goal/contract.d.ts +449 -0
  352. package/dist/goal/contract.d.ts.map +1 -0
  353. package/dist/goal/contract.js +37 -0
  354. package/dist/goal/contract.js.map +1 -0
  355. package/dist/goal/effect-schema.d.ts +870 -0
  356. package/dist/goal/effect-schema.d.ts.map +1 -0
  357. package/dist/goal/effect-schema.js +349 -0
  358. package/dist/goal/effect-schema.js.map +1 -0
  359. package/dist/goal/feature.d.ts +256 -0
  360. package/dist/goal/feature.d.ts.map +1 -0
  361. package/dist/goal/feature.js +237 -0
  362. package/dist/goal/feature.js.map +1 -0
  363. package/dist/goal/index.d.ts +3 -0
  364. package/dist/goal/index.d.ts.map +1 -0
  365. package/dist/goal/index.js +3 -0
  366. package/dist/goal/index.js.map +1 -0
  367. package/dist/harness/installed/effect-schema.d.ts.map +1 -1
  368. package/dist/harness/installed/effect-schema.js +2 -1
  369. package/dist/harness/installed/effect-schema.js.map +1 -1
  370. package/dist/harness/installed/feature.d.ts +35 -0
  371. package/dist/harness/installed/feature.d.ts.map +1 -0
  372. package/dist/harness/installed/feature.js +39 -0
  373. package/dist/harness/installed/feature.js.map +1 -0
  374. package/dist/harness/installed/index.d.ts +1 -0
  375. package/dist/harness/installed/index.d.ts.map +1 -1
  376. package/dist/harness/installed/index.js +1 -0
  377. package/dist/harness/installed/index.js.map +1 -1
  378. package/dist/hold/contract.d.ts +2 -0
  379. package/dist/hold/contract.d.ts.map +1 -1
  380. package/dist/hold/effect-schema.d.ts +4 -0
  381. package/dist/hold/effect-schema.d.ts.map +1 -1
  382. package/dist/hold/feature.d.ts +155 -0
  383. package/dist/hold/feature.d.ts.map +1 -0
  384. package/dist/hold/feature.js +151 -0
  385. package/dist/hold/feature.js.map +1 -0
  386. package/dist/hold/index.d.ts +1 -0
  387. package/dist/hold/index.d.ts.map +1 -1
  388. package/dist/hold/index.js +1 -0
  389. package/dist/hold/index.js.map +1 -1
  390. package/dist/inbox/contract.d.ts +386 -0
  391. package/dist/inbox/contract.d.ts.map +1 -0
  392. package/dist/inbox/contract.js +20 -0
  393. package/dist/inbox/contract.js.map +1 -0
  394. package/dist/inbox/effect-schema.d.ts +750 -0
  395. package/dist/inbox/effect-schema.d.ts.map +1 -0
  396. package/dist/inbox/effect-schema.js +246 -0
  397. package/dist/inbox/effect-schema.js.map +1 -0
  398. package/dist/inbox/feature.d.ts +164 -0
  399. package/dist/inbox/feature.d.ts.map +1 -0
  400. package/dist/inbox/feature.js +160 -0
  401. package/dist/inbox/feature.js.map +1 -0
  402. package/dist/inbox/index.d.ts +3 -0
  403. package/dist/inbox/index.d.ts.map +1 -0
  404. package/dist/inbox/index.js +3 -0
  405. package/dist/inbox/index.js.map +1 -0
  406. package/dist/index.d.ts +29 -16
  407. package/dist/index.d.ts.map +1 -1
  408. package/dist/index.js +29 -16
  409. package/dist/index.js.map +1 -1
  410. package/dist/integration-authorization/claude-code-contract.d.ts +3 -0
  411. package/dist/integration-authorization/claude-code-contract.d.ts.map +1 -1
  412. package/dist/integration-authorization/contract.d.ts +141 -12
  413. package/dist/integration-authorization/contract.d.ts.map +1 -1
  414. package/dist/integration-authorization/contract.js +37 -1
  415. package/dist/integration-authorization/contract.js.map +1 -1
  416. package/dist/integration-authorization/effect-schema.d.ts +5961 -1583
  417. package/dist/integration-authorization/effect-schema.d.ts.map +1 -1
  418. package/dist/integration-authorization/effect-schema.js +157 -6
  419. package/dist/integration-authorization/effect-schema.js.map +1 -1
  420. package/dist/integration-authorization/feature.d.ts +845 -0
  421. package/dist/integration-authorization/feature.d.ts.map +1 -0
  422. package/dist/integration-authorization/feature.js +795 -0
  423. package/dist/integration-authorization/feature.js.map +1 -0
  424. package/dist/integration-authorization/index.d.ts +5 -0
  425. package/dist/integration-authorization/index.d.ts.map +1 -1
  426. package/dist/integration-authorization/index.js +5 -0
  427. package/dist/integration-authorization/index.js.map +1 -1
  428. package/dist/integration-authorization/pi-rpc-contract.d.ts +3 -0
  429. package/dist/integration-authorization/pi-rpc-contract.d.ts.map +1 -1
  430. package/dist/integration-authorization/policy.d.ts +6 -1
  431. package/dist/integration-authorization/policy.d.ts.map +1 -1
  432. package/dist/integration-authorization/policy.js +6 -1
  433. package/dist/integration-authorization/policy.js.map +1 -1
  434. package/dist/interaction/effect-schema.d.ts +1 -1
  435. package/dist/interaction/effect-schema.d.ts.map +1 -1
  436. package/dist/interaction/effect-schema.js +1 -1
  437. package/dist/interaction/effect-schema.js.map +1 -1
  438. package/dist/interaction/feature.d.ts +50 -0
  439. package/dist/interaction/feature.d.ts.map +1 -1
  440. package/dist/interaction/feature.js +48 -0
  441. package/dist/interaction/feature.js.map +1 -1
  442. package/dist/interaction/result-contract.d.ts +3 -0
  443. package/dist/interaction/result-contract.d.ts.map +1 -1
  444. package/dist/interaction/result-effect-schema.d.ts +6 -0
  445. package/dist/interaction/result-effect-schema.d.ts.map +1 -1
  446. package/dist/invocation-context/contract.d.ts +2 -1
  447. package/dist/invocation-context/contract.d.ts.map +1 -1
  448. package/dist/invocation-context/effect-schema.d.ts +12 -2
  449. package/dist/invocation-context/effect-schema.d.ts.map +1 -1
  450. package/dist/invocation-context/effect-schema.js +24 -3
  451. package/dist/invocation-context/effect-schema.js.map +1 -1
  452. package/dist/invocation-context/feature.d.ts +35 -0
  453. package/dist/invocation-context/feature.d.ts.map +1 -0
  454. package/dist/invocation-context/feature.js +39 -0
  455. package/dist/invocation-context/feature.js.map +1 -0
  456. package/dist/invocation-context/index.d.ts +1 -0
  457. package/dist/invocation-context/index.d.ts.map +1 -1
  458. package/dist/invocation-context/index.js +1 -0
  459. package/dist/invocation-context/index.js.map +1 -1
  460. package/dist/invocation-context/policy.d.ts +6 -1
  461. package/dist/invocation-context/policy.d.ts.map +1 -1
  462. package/dist/invocation-context/policy.js +7 -1
  463. package/dist/invocation-context/policy.js.map +1 -1
  464. package/dist/local-node/contract.d.ts +57 -18
  465. package/dist/local-node/contract.d.ts.map +1 -1
  466. package/dist/local-node/contract.js +3 -1
  467. package/dist/local-node/contract.js.map +1 -1
  468. package/dist/local-node/effect-schema.d.ts +3999 -1303
  469. package/dist/local-node/effect-schema.d.ts.map +1 -1
  470. package/dist/local-node/effect-schema.js +125 -10
  471. package/dist/local-node/effect-schema.js.map +1 -1
  472. package/dist/local-node/index.d.ts +2 -2
  473. package/dist/local-node/index.d.ts.map +1 -1
  474. package/dist/local-node/index.js +2 -2
  475. package/dist/local-node/index.js.map +1 -1
  476. package/dist/local-node/node-api/index.d.ts +2 -2
  477. package/dist/local-node/node-api/index.d.ts.map +1 -1
  478. package/dist/local-node/node-api/index.js +2 -2
  479. package/dist/local-node/node-api/index.js.map +1 -1
  480. package/dist/local-node/node-api/methods.d.ts +11 -215
  481. package/dist/local-node/node-api/methods.d.ts.map +1 -1
  482. package/dist/local-node/node-api/methods.js +151 -215
  483. package/dist/local-node/node-api/methods.js.map +1 -1
  484. package/dist/local-node/node-api/policy.d.ts +33 -0
  485. package/dist/local-node/node-api/policy.d.ts.map +1 -1
  486. package/dist/local-node/node-api/policy.js +33 -0
  487. package/dist/local-node/node-api/policy.js.map +1 -1
  488. package/dist/local-node/receipt-list.d.ts +6 -7
  489. package/dist/local-node/receipt-list.d.ts.map +1 -1
  490. package/dist/local-node/receipt-list.js +66 -7
  491. package/dist/local-node/receipt-list.js.map +1 -1
  492. package/dist/node-update/contract.d.ts +198 -0
  493. package/dist/node-update/contract.d.ts.map +1 -0
  494. package/dist/node-update/contract.js +22 -0
  495. package/dist/node-update/contract.js.map +1 -0
  496. package/dist/node-update/effect-schema.d.ts +435 -0
  497. package/dist/node-update/effect-schema.d.ts.map +1 -0
  498. package/dist/node-update/effect-schema.js +307 -0
  499. package/dist/node-update/effect-schema.js.map +1 -0
  500. package/dist/node-update/feature.d.ts +379 -0
  501. package/dist/node-update/feature.d.ts.map +1 -0
  502. package/dist/node-update/feature.js +363 -0
  503. package/dist/node-update/feature.js.map +1 -0
  504. package/dist/node-update/index.d.ts +3 -0
  505. package/dist/node-update/index.d.ts.map +1 -0
  506. package/dist/node-update/index.js +3 -0
  507. package/dist/node-update/index.js.map +1 -0
  508. package/dist/orchestration/contract.d.ts +6 -0
  509. package/dist/orchestration/contract.d.ts.map +1 -1
  510. package/dist/orchestration/effect-schema.d.ts +14 -2
  511. package/dist/orchestration/effect-schema.d.ts.map +1 -1
  512. package/dist/orchestration/effect-schema.js +2 -2
  513. package/dist/orchestration/effect-schema.js.map +1 -1
  514. package/dist/orchestration/feature.d.ts +235 -0
  515. package/dist/orchestration/feature.d.ts.map +1 -1
  516. package/dist/orchestration/feature.js +227 -0
  517. package/dist/orchestration/feature.js.map +1 -1
  518. package/dist/orchestration/topology.d.ts +11 -1
  519. package/dist/orchestration/topology.d.ts.map +1 -1
  520. package/dist/orchestration/topology.js +38 -29
  521. package/dist/orchestration/topology.js.map +1 -1
  522. package/dist/pairing/contract.d.ts +86 -0
  523. package/dist/pairing/contract.d.ts.map +1 -0
  524. package/dist/pairing/contract.js +12 -0
  525. package/dist/pairing/contract.js.map +1 -0
  526. package/dist/pairing/effect-schema.d.ts +166 -0
  527. package/dist/pairing/effect-schema.d.ts.map +1 -0
  528. package/dist/pairing/effect-schema.js +94 -0
  529. package/dist/pairing/effect-schema.js.map +1 -0
  530. package/dist/pairing/feature.d.ts +141 -0
  531. package/dist/pairing/feature.d.ts.map +1 -0
  532. package/dist/pairing/feature.js +139 -0
  533. package/dist/pairing/feature.js.map +1 -0
  534. package/dist/pairing/index.d.ts +3 -0
  535. package/dist/pairing/index.d.ts.map +1 -0
  536. package/dist/pairing/index.js +3 -0
  537. package/dist/pairing/index.js.map +1 -0
  538. package/dist/port-lease/contract.d.ts +3 -0
  539. package/dist/port-lease/contract.d.ts.map +1 -1
  540. package/dist/port-lease/feature.d.ts +21 -0
  541. package/dist/port-lease/feature.d.ts.map +1 -1
  542. package/dist/port-lease/feature.js +21 -0
  543. package/dist/port-lease/feature.js.map +1 -1
  544. package/dist/port-lease/result-effect-schema.d.ts +6 -0
  545. package/dist/port-lease/result-effect-schema.d.ts.map +1 -1
  546. package/dist/presentation/contract.d.ts +42 -2
  547. package/dist/presentation/contract.d.ts.map +1 -1
  548. package/dist/presentation/effect-schema.d.ts +38 -2
  549. package/dist/presentation/effect-schema.d.ts.map +1 -1
  550. package/dist/presentation/feature.d.ts +20 -0
  551. package/dist/presentation/feature.d.ts.map +1 -1
  552. package/dist/presentation/feature.js +20 -0
  553. package/dist/presentation/feature.js.map +1 -1
  554. package/dist/presentation/session-list-effect-schema.d.ts +38 -2
  555. package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
  556. package/dist/principal/contract.d.ts +104 -0
  557. package/dist/principal/contract.d.ts.map +1 -0
  558. package/dist/principal/contract.js +18 -0
  559. package/dist/principal/contract.js.map +1 -0
  560. package/dist/principal/effect-schema.d.ts +166 -0
  561. package/dist/principal/effect-schema.d.ts.map +1 -0
  562. package/dist/principal/effect-schema.js +93 -0
  563. package/dist/principal/effect-schema.js.map +1 -0
  564. package/dist/principal/feature.d.ts +111 -0
  565. package/dist/principal/feature.d.ts.map +1 -0
  566. package/dist/principal/feature.js +111 -0
  567. package/dist/principal/feature.js.map +1 -0
  568. package/dist/principal/index.d.ts +3 -0
  569. package/dist/principal/index.d.ts.map +1 -0
  570. package/dist/principal/index.js +3 -0
  571. package/dist/principal/index.js.map +1 -0
  572. package/dist/project-workspace/contract.d.ts +351 -2
  573. package/dist/project-workspace/contract.d.ts.map +1 -1
  574. package/dist/project-workspace/contract.js +34 -2
  575. package/dist/project-workspace/contract.js.map +1 -1
  576. package/dist/project-workspace/effect-schema.d.ts +403 -0
  577. package/dist/project-workspace/effect-schema.d.ts.map +1 -1
  578. package/dist/project-workspace/effect-schema.js +105 -1
  579. package/dist/project-workspace/effect-schema.js.map +1 -1
  580. package/dist/project-workspace/feature.d.ts +659 -1
  581. package/dist/project-workspace/feature.d.ts.map +1 -1
  582. package/dist/project-workspace/feature.js +625 -1
  583. package/dist/project-workspace/feature.js.map +1 -1
  584. package/dist/project-workspace/git-effect-schema.d.ts +93 -0
  585. package/dist/project-workspace/git-effect-schema.d.ts.map +1 -0
  586. package/dist/project-workspace/git-effect-schema.js +81 -0
  587. package/dist/project-workspace/git-effect-schema.js.map +1 -0
  588. package/dist/project-workspace/index.d.ts +2 -2
  589. package/dist/project-workspace/index.d.ts.map +1 -1
  590. package/dist/project-workspace/index.js +2 -2
  591. package/dist/project-workspace/index.js.map +1 -1
  592. package/dist/project-workspace/knowledge-effect-schema.d.ts +413 -0
  593. package/dist/project-workspace/knowledge-effect-schema.d.ts.map +1 -0
  594. package/dist/project-workspace/knowledge-effect-schema.js +232 -0
  595. package/dist/project-workspace/knowledge-effect-schema.js.map +1 -0
  596. package/dist/project-workspace/policy.d.ts +40 -0
  597. package/dist/project-workspace/policy.d.ts.map +1 -1
  598. package/dist/project-workspace/policy.js +39 -0
  599. package/dist/project-workspace/policy.js.map +1 -1
  600. package/dist/provider/feature.d.ts +35 -0
  601. package/dist/provider/feature.d.ts.map +1 -0
  602. package/dist/provider/feature.js +39 -0
  603. package/dist/provider/feature.js.map +1 -0
  604. package/dist/provider/index.d.ts +1 -0
  605. package/dist/provider/index.d.ts.map +1 -1
  606. package/dist/provider/index.js +1 -0
  607. package/dist/provider/index.js.map +1 -1
  608. package/dist/reach/address.d.ts +18 -0
  609. package/dist/reach/address.d.ts.map +1 -0
  610. package/dist/reach/address.js +42 -0
  611. package/dist/reach/address.js.map +1 -0
  612. package/dist/reach/contract.d.ts +68 -0
  613. package/dist/reach/contract.d.ts.map +1 -0
  614. package/dist/reach/contract.js +8 -0
  615. package/dist/reach/contract.js.map +1 -0
  616. package/dist/reach/effect-schema.d.ts +134 -0
  617. package/dist/reach/effect-schema.d.ts.map +1 -0
  618. package/dist/reach/effect-schema.js +69 -0
  619. package/dist/reach/effect-schema.js.map +1 -0
  620. package/dist/reach/feature.d.ts +106 -0
  621. package/dist/reach/feature.d.ts.map +1 -0
  622. package/dist/reach/feature.js +106 -0
  623. package/dist/reach/feature.js.map +1 -0
  624. package/dist/reach/index.d.ts +4 -0
  625. package/dist/reach/index.d.ts.map +1 -0
  626. package/dist/reach/index.js +4 -0
  627. package/dist/reach/index.js.map +1 -0
  628. package/dist/reference/feature.d.ts +5 -0
  629. package/dist/reference/feature.d.ts.map +1 -1
  630. package/dist/reference/feature.js +5 -0
  631. package/dist/reference/feature.js.map +1 -1
  632. package/dist/release/version.d.ts +2 -2
  633. package/dist/release/version.d.ts.map +1 -1
  634. package/dist/release/version.js +2 -2
  635. package/dist/release/version.js.map +1 -1
  636. package/dist/remote-node/bridge-effect-schema.js +2 -2
  637. package/dist/remote-node/contract.d.ts +103 -2
  638. package/dist/remote-node/contract.d.ts.map +1 -1
  639. package/dist/remote-node/effect-schema.d.ts +1 -1
  640. package/dist/remote-node/effect-schema.d.ts.map +1 -1
  641. package/dist/remote-node/effect-schema.js +1 -1
  642. package/dist/remote-node/effect-schema.js.map +1 -1
  643. package/dist/remote-node/feature.d.ts +185 -0
  644. package/dist/remote-node/feature.d.ts.map +1 -1
  645. package/dist/remote-node/feature.js +173 -0
  646. package/dist/remote-node/feature.js.map +1 -1
  647. package/dist/remote-node/request-effect-schema.d.ts +4 -4
  648. package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
  649. package/dist/remote-node/request-effect-schema.js +2 -1
  650. package/dist/remote-node/request-effect-schema.js.map +1 -1
  651. package/dist/remote-node/result-effect-schema.d.ts +194 -1
  652. package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
  653. package/dist/remote-node/result-effect-schema.js +13 -2
  654. package/dist/remote-node/result-effect-schema.js.map +1 -1
  655. package/dist/routine/contract.d.ts +644 -18
  656. package/dist/routine/contract.d.ts.map +1 -1
  657. package/dist/routine/contract.js +28 -2
  658. package/dist/routine/contract.js.map +1 -1
  659. package/dist/routine/effect-schema.d.ts +1489 -218
  660. package/dist/routine/effect-schema.d.ts.map +1 -1
  661. package/dist/routine/effect-schema.js +358 -20
  662. package/dist/routine/effect-schema.js.map +1 -1
  663. package/dist/routine/feature.d.ts +336 -11
  664. package/dist/routine/feature.d.ts.map +1 -1
  665. package/dist/routine/feature.js +318 -11
  666. package/dist/routine/feature.js.map +1 -1
  667. package/dist/routine/index.d.ts +1 -1
  668. package/dist/routine/index.d.ts.map +1 -1
  669. package/dist/routine/index.js +1 -1
  670. package/dist/routine/index.js.map +1 -1
  671. package/dist/routine/policy.d.ts +55 -3
  672. package/dist/routine/policy.d.ts.map +1 -1
  673. package/dist/routine/policy.js +46 -1
  674. package/dist/routine/policy.js.map +1 -1
  675. package/dist/run-ledger/contract.d.ts +47 -0
  676. package/dist/run-ledger/contract.d.ts.map +1 -1
  677. package/dist/run-ledger/feature.d.ts +32 -0
  678. package/dist/run-ledger/feature.d.ts.map +1 -1
  679. package/dist/run-ledger/feature.js +32 -0
  680. package/dist/run-ledger/feature.js.map +1 -1
  681. package/dist/run-ledger/result-effect-schema.d.ts +94 -0
  682. package/dist/run-ledger/result-effect-schema.d.ts.map +1 -1
  683. package/dist/runtime/effect-schema.d.ts.map +1 -1
  684. package/dist/runtime/effect-schema.js +2 -1
  685. package/dist/runtime/effect-schema.js.map +1 -1
  686. package/dist/runtime/feature.d.ts +35 -0
  687. package/dist/runtime/feature.d.ts.map +1 -0
  688. package/dist/runtime/feature.js +39 -0
  689. package/dist/runtime/feature.js.map +1 -0
  690. package/dist/runtime/index.d.ts +1 -0
  691. package/dist/runtime/index.d.ts.map +1 -1
  692. package/dist/runtime/index.js +1 -0
  693. package/dist/runtime/index.js.map +1 -1
  694. package/dist/runtime-schema/effect-json-schema.d.ts +9 -0
  695. package/dist/runtime-schema/effect-json-schema.d.ts.map +1 -0
  696. package/dist/runtime-schema/effect-json-schema.js +41 -0
  697. package/dist/runtime-schema/effect-json-schema.js.map +1 -0
  698. package/dist/runtime-schema/effect-schema.d.ts +1 -0
  699. package/dist/runtime-schema/effect-schema.d.ts.map +1 -1
  700. package/dist/runtime-schema/effect-schema.js +1 -0
  701. package/dist/runtime-schema/effect-schema.js.map +1 -1
  702. package/dist/secret/contract.d.ts +107 -0
  703. package/dist/secret/contract.d.ts.map +1 -0
  704. package/dist/secret/contract.js +34 -0
  705. package/dist/secret/contract.js.map +1 -0
  706. package/dist/secret/effect-schema.d.ts +185 -0
  707. package/dist/secret/effect-schema.d.ts.map +1 -0
  708. package/dist/secret/effect-schema.js +113 -0
  709. package/dist/secret/effect-schema.js.map +1 -0
  710. package/dist/secret/feature.d.ts +103 -0
  711. package/dist/secret/feature.d.ts.map +1 -0
  712. package/dist/secret/feature.js +103 -0
  713. package/dist/secret/feature.js.map +1 -0
  714. package/dist/secret/index.d.ts +3 -0
  715. package/dist/secret/index.d.ts.map +1 -0
  716. package/dist/secret/index.js +3 -0
  717. package/dist/secret/index.js.map +1 -0
  718. package/dist/session/agent-permission-contract.d.ts +6 -5
  719. package/dist/session/agent-permission-contract.d.ts.map +1 -1
  720. package/dist/session/agent-permission-effect-schema.d.ts +11 -9
  721. package/dist/session/agent-permission-effect-schema.d.ts.map +1 -1
  722. package/dist/session/agent-permission-effect-schema.js +2 -2
  723. package/dist/session/agent-permission-effect-schema.js.map +1 -1
  724. package/dist/session/contract.d.ts +980 -82
  725. package/dist/session/contract.d.ts.map +1 -1
  726. package/dist/session/contract.js +33 -4
  727. package/dist/session/contract.js.map +1 -1
  728. package/dist/session/defaults/contract.d.ts +19 -0
  729. package/dist/session/defaults/contract.d.ts.map +1 -0
  730. package/dist/session/defaults/contract.js +5 -0
  731. package/dist/session/defaults/contract.js.map +1 -0
  732. package/dist/session/defaults/effect-schema.d.ts +36 -0
  733. package/dist/session/defaults/effect-schema.d.ts.map +1 -0
  734. package/dist/session/defaults/effect-schema.js +28 -0
  735. package/dist/session/defaults/effect-schema.js.map +1 -0
  736. package/dist/session/defaults/index.d.ts +2 -0
  737. package/dist/session/defaults/index.d.ts.map +1 -0
  738. package/dist/session/defaults/index.js +2 -0
  739. package/dist/session/defaults/index.js.map +1 -0
  740. package/dist/session/effect-schema.d.ts +3008 -159
  741. package/dist/session/effect-schema.d.ts.map +1 -1
  742. package/dist/session/effect-schema.js +594 -52
  743. package/dist/session/effect-schema.js.map +1 -1
  744. package/dist/session/feature.d.ts +868 -18
  745. package/dist/session/feature.d.ts.map +1 -1
  746. package/dist/session/feature.js +823 -25
  747. package/dist/session/feature.js.map +1 -1
  748. package/dist/session/index.d.ts +6 -3
  749. package/dist/session/index.d.ts.map +1 -1
  750. package/dist/session/index.js +6 -3
  751. package/dist/session/index.js.map +1 -1
  752. package/dist/session/observation-contract.d.ts +2 -2
  753. package/dist/session/observation-effect-schema.d.ts +7 -2
  754. package/dist/session/observation-effect-schema.d.ts.map +1 -1
  755. package/dist/session/observation-effect-schema.js +6 -1
  756. package/dist/session/observation-effect-schema.js.map +1 -1
  757. package/dist/session/placement/contract.d.ts +35 -0
  758. package/dist/session/placement/contract.d.ts.map +1 -0
  759. package/dist/session/placement/contract.js +5 -0
  760. package/dist/session/placement/contract.js.map +1 -0
  761. package/dist/session/placement/effect-schema.d.ts +55 -0
  762. package/dist/session/placement/effect-schema.d.ts.map +1 -0
  763. package/dist/session/placement/effect-schema.js +76 -0
  764. package/dist/session/placement/effect-schema.js.map +1 -0
  765. package/dist/session/placement/index.d.ts +2 -0
  766. package/dist/session/placement/index.d.ts.map +1 -0
  767. package/dist/session/placement/index.js +2 -0
  768. package/dist/session/placement/index.js.map +1 -0
  769. package/dist/session/policy.d.ts +157 -0
  770. package/dist/session/policy.d.ts.map +1 -1
  771. package/dist/session/policy.js +185 -2
  772. package/dist/session/policy.js.map +1 -1
  773. package/dist/session/stop-resume-contract.d.ts +129 -2
  774. package/dist/session/stop-resume-contract.d.ts.map +1 -1
  775. package/dist/session/stop-resume-contract.js +5 -1
  776. package/dist/session/stop-resume-contract.js.map +1 -1
  777. package/dist/session/worktree-effect-schema.d.ts +56 -1
  778. package/dist/session/worktree-effect-schema.d.ts.map +1 -1
  779. package/dist/session/worktree-effect-schema.js +80 -3
  780. package/dist/session/worktree-effect-schema.js.map +1 -1
  781. package/dist/session-command/contract.d.ts +442 -0
  782. package/dist/session-command/contract.d.ts.map +1 -0
  783. package/dist/session-command/contract.js +12 -0
  784. package/dist/session-command/contract.js.map +1 -0
  785. package/dist/session-command/effect-schema.d.ts +875 -0
  786. package/dist/session-command/effect-schema.d.ts.map +1 -0
  787. package/dist/session-command/effect-schema.js +125 -0
  788. package/dist/session-command/effect-schema.js.map +1 -0
  789. package/dist/session-command/feature.d.ts +141 -0
  790. package/dist/session-command/feature.d.ts.map +1 -0
  791. package/dist/session-command/feature.js +137 -0
  792. package/dist/session-command/feature.js.map +1 -0
  793. package/dist/session-command/index.d.ts +4 -0
  794. package/dist/session-command/index.d.ts.map +1 -0
  795. package/dist/session-command/index.js +4 -0
  796. package/dist/session-command/index.js.map +1 -0
  797. package/dist/session-command/policy.d.ts +33 -0
  798. package/dist/session-command/policy.d.ts.map +1 -0
  799. package/dist/session-command/policy.js +60 -0
  800. package/dist/session-command/policy.js.map +1 -0
  801. package/dist/session-guard/contract.d.ts +33 -4
  802. package/dist/session-guard/contract.d.ts.map +1 -1
  803. package/dist/session-guard/contract.js +29 -5
  804. package/dist/session-guard/contract.js.map +1 -1
  805. package/dist/session-guard/feature.d.ts +66 -1
  806. package/dist/session-guard/feature.d.ts.map +1 -1
  807. package/dist/session-guard/feature.js +62 -1
  808. package/dist/session-guard/feature.js.map +1 -1
  809. package/dist/session-guard/index.d.ts +1 -1
  810. package/dist/session-guard/index.d.ts.map +1 -1
  811. package/dist/session-guard/index.js +1 -1
  812. package/dist/session-guard/index.js.map +1 -1
  813. package/dist/session-guard/request-effect-schema.d.ts +33 -0
  814. package/dist/session-guard/request-effect-schema.d.ts.map +1 -1
  815. package/dist/session-guard/request-effect-schema.js +22 -0
  816. package/dist/session-guard/request-effect-schema.js.map +1 -1
  817. package/dist/session-guard/result-effect-schema.d.ts +28 -0
  818. package/dist/session-guard/result-effect-schema.d.ts.map +1 -1
  819. package/dist/session-guard/result-effect-schema.js +3 -1
  820. package/dist/session-guard/result-effect-schema.js.map +1 -1
  821. package/dist/session-stream/contract.d.ts +45 -4
  822. package/dist/session-stream/contract.d.ts.map +1 -1
  823. package/dist/session-stream/contract.js +1 -1
  824. package/dist/session-stream/contract.js.map +1 -1
  825. package/dist/session-stream/effect-schema.d.ts +56 -10
  826. package/dist/session-stream/effect-schema.d.ts.map +1 -1
  827. package/dist/session-stream/effect-schema.js +27 -1
  828. package/dist/session-stream/effect-schema.js.map +1 -1
  829. package/dist/session-stream/index.d.ts +1 -1
  830. package/dist/session-stream/index.d.ts.map +1 -1
  831. package/dist/session-stream/index.js +1 -1
  832. package/dist/session-stream/index.js.map +1 -1
  833. package/dist/session-stream/policy.d.ts +9 -1
  834. package/dist/session-stream/policy.d.ts.map +1 -1
  835. package/dist/session-stream/policy.js +9 -0
  836. package/dist/session-stream/policy.js.map +1 -1
  837. package/dist/skills-sync/contract.d.ts +142 -0
  838. package/dist/skills-sync/contract.d.ts.map +1 -0
  839. package/dist/skills-sync/contract.js +13 -0
  840. package/dist/skills-sync/contract.js.map +1 -0
  841. package/dist/skills-sync/effect-schema.d.ts +312 -0
  842. package/dist/skills-sync/effect-schema.d.ts.map +1 -0
  843. package/dist/skills-sync/effect-schema.js +160 -0
  844. package/dist/skills-sync/effect-schema.js.map +1 -0
  845. package/dist/skills-sync/feature.d.ts +102 -0
  846. package/dist/skills-sync/feature.d.ts.map +1 -0
  847. package/dist/skills-sync/feature.js +102 -0
  848. package/dist/skills-sync/feature.js.map +1 -0
  849. package/dist/skills-sync/index.d.ts +3 -0
  850. package/dist/skills-sync/index.d.ts.map +1 -0
  851. package/dist/skills-sync/index.js +3 -0
  852. package/dist/skills-sync/index.js.map +1 -0
  853. package/dist/team-workspace/contract.d.ts +1 -0
  854. package/dist/team-workspace/contract.d.ts.map +1 -1
  855. package/dist/team-workspace/effect-schema.d.ts +2 -0
  856. package/dist/team-workspace/effect-schema.d.ts.map +1 -1
  857. package/dist/team-workspace/feature.d.ts +10 -0
  858. package/dist/team-workspace/feature.d.ts.map +1 -1
  859. package/dist/team-workspace/feature.js +10 -0
  860. package/dist/team-workspace/feature.js.map +1 -1
  861. package/dist/terminal/contract.d.ts +2 -0
  862. package/dist/terminal/contract.d.ts.map +1 -1
  863. package/dist/terminal/effect-schema.d.ts +6 -0
  864. package/dist/terminal/effect-schema.d.ts.map +1 -1
  865. package/dist/terminal/effect-schema.js +2 -0
  866. package/dist/terminal/effect-schema.js.map +1 -1
  867. package/dist/terminal/feature.d.ts +281 -0
  868. package/dist/terminal/feature.d.ts.map +1 -1
  869. package/dist/terminal/feature.js +289 -0
  870. package/dist/terminal/feature.js.map +1 -1
  871. package/dist/turn/contract.d.ts +199 -515
  872. package/dist/turn/contract.d.ts.map +1 -1
  873. package/dist/turn/contract.js +25 -4
  874. package/dist/turn/contract.js.map +1 -1
  875. package/dist/turn/effect-schema.d.ts +2319 -130
  876. package/dist/turn/effect-schema.d.ts.map +1 -1
  877. package/dist/turn/effect-schema.js +206 -11
  878. package/dist/turn/effect-schema.js.map +1 -1
  879. package/dist/turn/index.d.ts +2 -2
  880. package/dist/turn/index.d.ts.map +1 -1
  881. package/dist/turn/index.js +2 -2
  882. package/dist/turn/index.js.map +1 -1
  883. package/dist/turn/policy.d.ts +54 -0
  884. package/dist/turn/policy.d.ts.map +1 -1
  885. package/dist/turn/policy.js +74 -0
  886. package/dist/turn/policy.js.map +1 -1
  887. package/dist/voice/contract.d.ts +6 -6
  888. package/dist/voice/effect-schema.d.ts +10 -9
  889. package/dist/voice/effect-schema.d.ts.map +1 -1
  890. package/dist/voice/effect-schema.js +3 -1
  891. package/dist/voice/effect-schema.js.map +1 -1
  892. package/dist/voice/feature.d.ts +70 -2
  893. package/dist/voice/feature.d.ts.map +1 -1
  894. package/dist/voice/feature.js +32 -0
  895. package/dist/voice/feature.js.map +1 -1
  896. package/dist/voice/orchestrator-system-prompt.d.ts +2 -2
  897. package/dist/voice/orchestrator-system-prompt.js +2 -2
  898. package/dist/voice/relay-contract.d.ts +1 -0
  899. package/dist/voice/relay-contract.d.ts.map +1 -1
  900. package/dist/voice/relay-effect-schema.d.ts +2 -0
  901. package/dist/voice/relay-effect-schema.d.ts.map +1 -1
  902. package/dist/webhooks/contract.d.ts +358 -0
  903. package/dist/webhooks/contract.d.ts.map +1 -0
  904. package/dist/webhooks/contract.js +26 -0
  905. package/dist/webhooks/contract.js.map +1 -0
  906. package/dist/webhooks/effect-schema.d.ts +550 -0
  907. package/dist/webhooks/effect-schema.d.ts.map +1 -0
  908. package/dist/webhooks/effect-schema.js +197 -0
  909. package/dist/webhooks/effect-schema.js.map +1 -0
  910. package/dist/webhooks/feature.d.ts +125 -0
  911. package/dist/webhooks/feature.d.ts.map +1 -0
  912. package/dist/webhooks/feature.js +123 -0
  913. package/dist/webhooks/feature.js.map +1 -0
  914. package/dist/webhooks/hook-effect-schema.d.ts +69 -0
  915. package/dist/webhooks/hook-effect-schema.d.ts.map +1 -0
  916. package/dist/webhooks/hook-effect-schema.js +107 -0
  917. package/dist/webhooks/hook-effect-schema.js.map +1 -0
  918. package/dist/webhooks/index.d.ts +4 -0
  919. package/dist/webhooks/index.d.ts.map +1 -0
  920. package/dist/webhooks/index.js +4 -0
  921. package/dist/webhooks/index.js.map +1 -0
  922. package/dist/webhooks/policy.d.ts +16 -0
  923. package/dist/webhooks/policy.d.ts.map +1 -0
  924. package/dist/webhooks/policy.js +16 -0
  925. package/dist/webhooks/policy.js.map +1 -0
  926. package/package.json +9 -3
  927. package/dist/configuration/configuration.d.ts +0 -63
  928. package/dist/configuration/configuration.d.ts.map +0 -1
  929. package/dist/configuration/configuration.js +0 -93
  930. package/dist/configuration/configuration.js.map +0 -1
  931. package/dist/configuration/index.d.ts +0 -2
  932. package/dist/configuration/index.d.ts.map +0 -1
  933. package/dist/configuration/index.js +0 -2
  934. package/dist/configuration/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/discovery/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAwBrE,eAAO,MAAM,qCAAqC;;;;;;;EAEjD,C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 +1,5 @@
1
1
  import { makeEffectRuntimeSchema } from "../runtime-schema/effect-schema.js";
2
- import { ADOPTION_REFUSED_ERROR_CODE as adoptionrefusederrorcodeValue, DEFAULT_DISCOVERY_WINDOW_DAYS as defaultdiscoverywindowdaysValue, discoveredSessionEffectSchema, discoveryGroupEffectSchema, discoverySessionsListParametersEffectSchema, discoverySessionsListResultEffectSchema, MAX_DISCOVERY_GROUPS as maxdiscoverygroupsValue, MAX_DISCOVERY_PAGE_SIZE as maxdiscoverypagesizeValue, MAX_DISCOVERY_ROOTS as maxdiscoveryrootsValue, MAX_DISCOVERY_WINDOW_DAYS as maxdiscoverywindowdaysValue, MAX_HISTORY_PAGE_SIZE as maxhistorypagesizeValue, MAX_HISTORY_TEXT_CHARACTERS as maxhistorytextcharactersValue, sessionAdoptConfirmParametersEffectSchema, sessionAdoptConfirmResultEffectSchema, sessionAdoptPreviewParametersEffectSchema, sessionAdoptPreviewResultEffectSchema, sessionHistoryMessageEffectSchema, sessionHistoryReadParametersEffectSchema, sessionHistoryReadResultEffectSchema, } from "./effect-schema.js";
2
+ import { ADOPTION_REFUSED_ERROR_CODE as adoptionrefusederrorcodeValue, ALREADY_ADOPTED_ERROR_CODE as alreadyadoptederrorcodeValue, DEFAULT_DISCOVERY_WINDOW_DAYS as defaultdiscoverywindowdaysValue, discoveredSessionEffectSchema, discoveryGroupEffectSchema, discoverySessionsListParametersEffectSchema, discoverySessionsListResultEffectSchema, MAX_DISCOVERY_GROUPS as maxdiscoverygroupsValue, MAX_DISCOVERY_PAGE_SIZE as maxdiscoverypagesizeValue, MAX_DISCOVERY_ROOTS as maxdiscoveryrootsValue, MAX_DISCOVERY_WINDOW_DAYS as maxdiscoverywindowdaysValue, MAX_HISTORY_PAGE_SIZE as maxhistorypagesizeValue, MAX_HISTORY_TEXT_CHARACTERS as maxhistorytextcharactersValue, SESSION_DETACHED_ERROR_CODE as sessiondetachederrorcodeValue, SESSION_READ_ONLY_ERROR_CODE as sessionreadonlyerrorcodeValue, sessionAdoptAlreadyAdoptedEffectSchema, sessionAdoptConfirmParametersEffectSchema, sessionAdoptConfirmResultEffectSchema, sessionAdoptPreviewParametersEffectSchema, sessionAdoptPreviewResultEffectSchema, sessionAttachmentChangedEffectSchema, sessionDetachConfirmParametersEffectSchema, sessionDetachConfirmResultEffectSchema, sessionDetachPreviewParametersEffectSchema, sessionDetachPreviewResultEffectSchema, sessionHistoryMessageEffectSchema, sessionHistoryReadParametersEffectSchema, sessionHistoryReadResultEffectSchema, sessionWriterEffectSchema, } from "./effect-schema.js";
3
3
  export const discoverySessionsListParametersSchema = makeEffectRuntimeSchema(discoverySessionsListParametersEffectSchema);
4
4
  export const discoverySessionsListResultSchema = makeEffectRuntimeSchema(discoverySessionsListResultEffectSchema);
5
5
  export const discoveredSessionSchema = makeEffectRuntimeSchema(discoveredSessionEffectSchema);
@@ -9,9 +9,19 @@ export const sessionHistoryReadResultSchema = makeEffectRuntimeSchema(sessionHis
9
9
  export const sessionHistoryMessageSchema = makeEffectRuntimeSchema(sessionHistoryMessageEffectSchema);
10
10
  export const sessionAdoptPreviewParametersSchema = makeEffectRuntimeSchema(sessionAdoptPreviewParametersEffectSchema);
11
11
  export const sessionAdoptPreviewResultSchema = makeEffectRuntimeSchema(sessionAdoptPreviewResultEffectSchema);
12
+ export const sessionAdoptAlreadyAdoptedSchema = makeEffectRuntimeSchema(sessionAdoptAlreadyAdoptedEffectSchema);
12
13
  export const sessionAdoptConfirmParametersSchema = makeEffectRuntimeSchema(sessionAdoptConfirmParametersEffectSchema);
13
14
  export const sessionAdoptConfirmResultSchema = makeEffectRuntimeSchema(sessionAdoptConfirmResultEffectSchema);
15
+ export const sessionWriterSchema = makeEffectRuntimeSchema(sessionWriterEffectSchema);
16
+ export const sessionDetachPreviewParametersSchema = makeEffectRuntimeSchema(sessionDetachPreviewParametersEffectSchema);
17
+ export const sessionDetachPreviewResultSchema = makeEffectRuntimeSchema(sessionDetachPreviewResultEffectSchema);
18
+ export const sessionDetachConfirmParametersSchema = makeEffectRuntimeSchema(sessionDetachConfirmParametersEffectSchema);
19
+ export const sessionDetachConfirmResultSchema = makeEffectRuntimeSchema(sessionDetachConfirmResultEffectSchema);
20
+ export const sessionAttachmentChangedSchema = makeEffectRuntimeSchema(sessionAttachmentChangedEffectSchema);
21
+ export const SESSION_READ_ONLY_ERROR_CODE = sessionreadonlyerrorcodeValue;
22
+ export const SESSION_DETACHED_ERROR_CODE = sessiondetachederrorcodeValue;
14
23
  export const ADOPTION_REFUSED_ERROR_CODE = adoptionrefusederrorcodeValue;
24
+ export const ALREADY_ADOPTED_ERROR_CODE = alreadyadoptederrorcodeValue;
15
25
  export const DEFAULT_DISCOVERY_WINDOW_DAYS = defaultdiscoverywindowdaysValue;
16
26
  export const MAX_DISCOVERY_GROUPS = maxdiscoverygroupsValue;
17
27
  export const MAX_DISCOVERY_PAGE_SIZE = maxdiscoverypagesizeValue;
@@ -1 +1 @@
1
- {"version":3,"file":"contract.js","sourceRoot":"","sources":["../../src/discovery/contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAG7E,OAAO,EACL,2BAA2B,IAAI,6BAA6B,EAC5D,6BAA6B,IAAI,+BAA+B,EAChE,6BAA6B,EAC7B,0BAA0B,EAC1B,2CAA2C,EAC3C,uCAAuC,EACvC,oBAAoB,IAAI,uBAAuB,EAC/C,uBAAuB,IAAI,yBAAyB,EACpD,mBAAmB,IAAI,sBAAsB,EAC7C,yBAAyB,IAAI,2BAA2B,EACxD,qBAAqB,IAAI,uBAAuB,EAChD,2BAA2B,IAAI,6BAA6B,EAC5D,yCAAyC,EACzC,qCAAqC,EACrC,yCAAyC,EACzC,qCAAqC,EACrC,iCAAiC,EACjC,wCAAwC,EACxC,oCAAoC,GACrC,MAAM,oBAAoB,CAAC;AAE5B,MAAM,CAAC,MAAM,qCAAqC,GAAG,uBAAuB,CAC1E,2CAA2C,CAC5C,CAAC;AAIF,MAAM,CAA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,GAAW,2BAA2B,CAAC;AAC7E,MAAM,CAAC,MAAM,qBAAqB,GAAW,uBAAuB,CAAC;AACrE,MAAM,CAAC,MAAM,2BAA2B,GACtC,6BAA6B,CAAC"}
@@ -10,6 +10,8 @@ export declare const MAX_HISTORY_PAGE_SIZE = 50;
10
10
  export declare const MAX_HISTORY_TEXT_CHARACTERS = 4000;
11
11
  /** A refused adoption, with a message that names the fix. */
12
12
  export declare const ADOPTION_REFUSED_ERROR_CODE = "adoption_refused";
13
+ /** A confirmation lost the claim: another Maia Session already adopted the native session. */
14
+ export declare const ALREADY_ADOPTED_ERROR_CODE = "already_adopted";
13
15
  export declare const discoverySourceEffectSchema: Schema.Literals<readonly ["claude", "codex"]>;
14
16
  export declare const nativeExecutorEffectSchema: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
15
17
  /** A Claude session UUID or a Codex thread ID. */
@@ -22,11 +24,15 @@ export declare const nativeSessionIdEffectSchema: Schema.String;
22
24
  export declare const nativeLivenessEffectSchema: Schema.Literals<readonly ["live", "ended", "unknown"]>;
23
25
  export declare const nativeLivenessEvidenceEffectSchema: Schema.Literals<readonly ["pid-record", "no-pid-record", "recent-activity", "vendor-active", "no-process-evidence"]>;
24
26
  export declare const discoverySessionsListParametersEffectSchema: Schema.Struct<{
27
+ /** Filters by adoption: the adopted sessions or the ones left alone. */
28
+ readonly adopted: Schema.optional<Schema.Literals<readonly ["only", "none"]>>;
25
29
  /** Opaque; the previous page's `nextCursor`. */
26
30
  readonly cursor: Schema.optional<Schema.String>;
27
31
  /** Title, first prompt and preview come from message content: opt-in. */
28
32
  readonly includeContentFields: Schema.optional<Schema.Boolean>;
29
33
  readonly limit: Schema.Int;
34
+ /** `running` keeps the sessions a live process shows running (`observed`). */
35
+ readonly observed: Schema.optional<Schema.Literal<"running">>;
30
36
  /** Keeps sessions whose working directory is one of these or below it. */
31
37
  readonly roots: Schema.optional<Schema.$Array<Schema.String>>;
32
38
  readonly sinceDays: Schema.optional<Schema.Int>;
@@ -47,6 +53,14 @@ export declare const discoveredSessionEffectSchema: Schema.Struct<{
47
53
  readonly livenessEvidence: Schema.Literals<readonly ["pid-record", "no-pid-record", "recent-activity", "vendor-active", "no-process-evidence"]>;
48
54
  readonly model: Schema.optional<Schema.String>;
49
55
  readonly nativeId: Schema.String;
56
+ /**
57
+ * What a live process shows, apart from `liveness` (adoption's conservative
58
+ * check): Claude `running` when its pid record names a live Claude Code
59
+ * process, `not-running` for a stale or absent record; Codex `running` when
60
+ * a Codex process carries the thread ID, else `unknown`. `unknown` also
61
+ * covers a host without a readable process table.
62
+ */
63
+ readonly observed: Schema.optional<Schema.Literals<readonly ["not-running", "running", "unknown"]>>;
50
64
  /** The working directory no longer exists. */
51
65
  readonly orphaned: Schema.Boolean;
52
66
  readonly repository: Schema.optional<Schema.Struct<{
@@ -99,6 +113,14 @@ export declare const discoverySessionsListResultEffectSchema: Schema.Struct<{
99
113
  readonly livenessEvidence: Schema.Literals<readonly ["pid-record", "no-pid-record", "recent-activity", "vendor-active", "no-process-evidence"]>;
100
114
  readonly model: Schema.optional<Schema.String>;
101
115
  readonly nativeId: Schema.String;
116
+ /**
117
+ * What a live process shows, apart from `liveness` (adoption's conservative
118
+ * check): Claude `running` when its pid record names a live Claude Code
119
+ * process, `not-running` for a stale or absent record; Codex `running` when
120
+ * a Codex process carries the thread ID, else `unknown`. `unknown` also
121
+ * covers a host without a readable process table.
122
+ */
123
+ readonly observed: Schema.optional<Schema.Literals<readonly ["not-running", "running", "unknown"]>>;
102
124
  /** The working directory no longer exists. */
103
125
  readonly orphaned: Schema.Boolean;
104
126
  readonly repository: Schema.optional<Schema.Struct<{
@@ -130,6 +152,12 @@ export declare const discoverySessionsListResultEffectSchema: Schema.Struct<{
130
152
  readonly orphaned: Schema.Int;
131
153
  readonly total: Schema.Int;
132
154
  }>;
155
+ /**
156
+ * Stores that held more sessions than one listing reads, oldest left out.
157
+ * A store named here may hold a session the filters match but the listing
158
+ * omits; an empty or missing list means the listing is complete.
159
+ */
160
+ readonly truncatedSources: Schema.optional<Schema.$Array<Schema.Literals<readonly ["claude", "codex"]>>>;
133
161
  }>;
134
162
  export declare const sessionHistoryReadParametersEffectSchema: Schema.Struct<{
135
163
  readonly limit: Schema.Int;
@@ -167,20 +195,45 @@ export declare const sessionHistoryReadResultEffectSchema: Schema.Struct<{
167
195
  }>;
168
196
  /** An opaque handle naming one stored adoption preview. */
169
197
  export declare const adoptionPreviewIdEffectSchema: Schema.String;
198
+ /**
199
+ * Who sends turns to an attached native session (D-426): Maia, or another
200
+ * driver while Maia sends it none and shows the Session as read alone.
201
+ */
202
+ export declare const SESSION_WRITERS: readonly ["maia", "external"];
203
+ export declare const sessionWriterEffectSchema: Schema.Literals<readonly ["maia", "external"]>;
204
+ /** A Session whose native session another driver writes: Maia sends it no turn. */
205
+ export declare const SESSION_READ_ONLY_ERROR_CODE = "session_read_only";
206
+ /** A Session whose claim a detach released: its native session is no longer Maia's to run. */
207
+ export declare const SESSION_DETACHED_ERROR_CODE = "session_detached";
170
208
  export declare const sessionAdoptPreviewParametersEffectSchema: Schema.Struct<{
209
+ readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
210
+ readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
211
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
212
+ readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
213
+ readonly title: Schema.optional<Schema.String>;
214
+ /**
215
+ * Attach in place (D-426): the Node claims a session that another client
216
+ * runs, or whose liveness Maia cannot read, for that driver to write, where
217
+ * an adoption refuses it. The preview states the outcome as `writer`, which
218
+ * its digest binds.
219
+ */
220
+ readonly attach: Schema.optional<Schema.Literal<true>>;
171
221
  /**
172
222
  * Codex keeps no liveness evidence Maia can read; a person may attest that
173
223
  * no other client has the thread open. Bound into the preview digest.
174
224
  */
175
225
  readonly attestEnded: Schema.optional<Schema.Literal<true>>;
176
226
  readonly commandId: Schema.String;
227
+ /** The directory the caller says the session ran in; the Node refuses when the runtime's own record names another. */
228
+ readonly cwd: Schema.optional<Schema.String>;
177
229
  readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
178
230
  readonly nativeId: Schema.String;
179
231
  /**
180
232
  * The Session runs in this Workspace's primary checkout, which must share
181
- * the native session's Git common directory.
233
+ * the native session's Git common directory. Absent, the Node takes the one
234
+ * ready Workspace whose primary checkout is the session's directory.
182
235
  */
183
- readonly workspaceId: Schema.String;
236
+ readonly workspaceId: Schema.optional<Schema.String>;
184
237
  }>;
185
238
  export declare const sessionAdoptPreviewResultEffectSchema: Schema.Struct<{
186
239
  readonly actorId: Schema.String;
@@ -188,11 +241,17 @@ export declare const sessionAdoptPreviewResultEffectSchema: Schema.Struct<{
188
241
  readonly expiresAt: Schema.String;
189
242
  readonly inputDigest: Schema.String;
190
243
  readonly issuedAt: Schema.String;
244
+ readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
245
+ readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
246
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
247
+ readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
248
+ readonly title: Schema.optional<Schema.String>;
191
249
  readonly connectionId: Schema.String;
192
250
  readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
193
251
  readonly nativeId: Schema.String;
194
252
  readonly workingDirectory: Schema.String;
195
253
  readonly workingDirectoryOrigin: Schema.Literals<readonly ["original", "relocated"]>;
254
+ readonly writer: Schema.optional<Schema.Literals<readonly ["maia", "external"]>>;
196
255
  readonly attestEnded: Schema.Boolean;
197
256
  readonly lastActivityAt: Schema.String;
198
257
  readonly liveness: Schema.Literals<readonly ["live", "ended", "unknown"]>;
@@ -202,7 +261,21 @@ export declare const sessionAdoptPreviewResultEffectSchema: Schema.Struct<{
202
261
  readonly projectId: Schema.String;
203
262
  readonly workspaceId: Schema.String;
204
263
  }>;
264
+ /**
265
+ * What a preview answers for a native session a Maia Session already
266
+ * adopted: no preview, no change, and the ID of the Session that holds the claim.
267
+ */
268
+ export declare const sessionAdoptAlreadyAdoptedEffectSchema: Schema.Struct<{
269
+ readonly alreadyAdopted: Schema.Struct<{
270
+ readonly sessionId: Schema.String;
271
+ }>;
272
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
273
+ readonly method: Schema.Literal<"session.adopt.preview">;
274
+ readonly nativeId: Schema.String;
275
+ }>;
205
276
  export declare const sessionAdoptConfirmParametersEffectSchema: Schema.Struct<{
277
+ /** The digest the caller expects the stored preview to hold; the Node refuses a different one before it changes anything. */
278
+ readonly inputDigest: Schema.optional<Schema.String>;
206
279
  readonly previewId: Schema.String;
207
280
  }>;
208
281
  export declare const sessionAdoptConfirmResultEffectSchema: Schema.Struct<{
@@ -213,6 +286,8 @@ export declare const sessionAdoptConfirmResultEffectSchema: Schema.Struct<{
213
286
  nativeId: Schema.String;
214
287
  workingDirectory: Schema.String;
215
288
  workingDirectoryOrigin: Schema.Literals<readonly ["original", "relocated"]>;
289
+ /** Absent on a preview or a receipt stored before attach existed, where Maia is the writer. */
290
+ writer: Schema.optional<Schema.Literals<readonly ["maia", "external"]>>;
216
291
  }>;
217
292
  readonly commandId: Schema.String;
218
293
  readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
@@ -225,6 +300,7 @@ export declare const sessionAdoptConfirmResultEffectSchema: Schema.Struct<{
225
300
  readonly createdAt: Schema.String;
226
301
  readonly eventCursor: Schema.String;
227
302
  readonly method: Schema.String;
303
+ readonly proposedBy: Schema.optional<Schema.String>;
228
304
  readonly receiptId: Schema.String;
229
305
  readonly schemaVersion: Schema.Literal<1>;
230
306
  readonly state: Schema.Literal<"succeeded">;
@@ -243,23 +319,55 @@ export declare const sessionAdoptConfirmResultEffectSchema: Schema.Struct<{
243
319
  readonly updatedAt: Schema.String;
244
320
  readonly workspaceId: Schema.String;
245
321
  readonly workspaceRevision: Schema.String;
322
+ readonly activity: Schema.optional<Schema.Literals<readonly ["stopped", "waiting_approval", "working", "idle"]>>;
246
323
  readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
247
324
  readonly contentDigest: Schema.String;
248
325
  readonly key: Schema.String;
249
326
  readonly version: Schema.String;
250
327
  }>>;
328
+ readonly containment: Schema.optional<Schema.Literal<"none">>;
251
329
  readonly executor: Schema.optional<Schema.Struct<{
252
330
  readonly connectionId: Schema.String;
253
331
  readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
254
- readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
332
+ readonly kind: Schema.String;
255
333
  readonly model: Schema.optional<Schema.String>;
256
334
  }>>;
257
335
  readonly failure: Schema.optional<Schema.Struct<{
258
336
  readonly code: Schema.String;
259
337
  readonly message: Schema.String;
260
338
  }>>;
339
+ readonly heldTaskCount: Schema.optional<Schema.Int>;
340
+ readonly heldTasks: Schema.optional<Schema.$Array<Schema.Struct<{
341
+ readonly claimedAt: Schema.String;
342
+ readonly id: Schema.String;
343
+ readonly leaseExpiresAt: Schema.String;
344
+ readonly state: Schema.Literal<"claimed">;
345
+ readonly title: Schema.String;
346
+ }>>>;
347
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
348
+ readonly latestTurnId: Schema.optional<Schema.String>;
349
+ readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
350
+ readonly parentSessionId: Schema.optional<Schema.String>;
351
+ readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
352
+ readonly prompt: Schema.optional<Schema.Struct<{
353
+ readonly approvalId: Schema.String;
354
+ readonly expiresAt: Schema.String;
355
+ readonly kind: Schema.Literals<readonly ["command", "file_change", "question", "tool"]>;
356
+ readonly options: Schema.optional<Schema.$Array<Schema.Struct<{
357
+ readonly label: Schema.String;
358
+ readonly optionId: Schema.String;
359
+ }>>>;
360
+ readonly summary: Schema.optional<Schema.String>;
361
+ }>>;
362
+ readonly recovery: Schema.optional<Schema.Struct<{
363
+ readonly code: Schema.String;
364
+ readonly message: Schema.String;
365
+ }>>;
261
366
  readonly schemaVersion: Schema.Literal<4>;
367
+ readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
368
+ readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
262
369
  readonly title: Schema.optional<Schema.String>;
370
+ readonly wakeOnChildSettle: Schema.optional<Schema.Literal<true>>;
263
371
  readonly worktree: Schema.optional<Schema.Struct<{
264
372
  readonly baseRef: Schema.String;
265
373
  readonly baseRevision: Schema.String;
@@ -273,14 +381,92 @@ export declare const sessionAdoptConfirmResultEffectSchema: Schema.Struct<{
273
381
  }>>;
274
382
  }>;
275
383
  }>;
384
+ /** The claim a detach releases: the native session and who writes it now. */
385
+ export declare const sessionAttachmentEffectSchema: Schema.Struct<{
386
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
387
+ readonly nativeId: Schema.String;
388
+ readonly writer: Schema.Literals<readonly ["maia", "external"]>;
389
+ }>;
390
+ /** A person previews the release of a Session's claim, then confirms that exact preview. */
391
+ export declare const sessionDetachPreviewParametersEffectSchema: Schema.Struct<{
392
+ commandId: Schema.String;
393
+ sessionId: Schema.String;
394
+ }>;
395
+ export declare const sessionDetachConfirmParametersEffectSchema: Schema.Struct<{
396
+ readonly commandId: Schema.String;
397
+ readonly sessionId: Schema.String;
398
+ readonly inputDigest: Schema.String;
399
+ readonly proof: Schema.String;
400
+ readonly validUntil: Schema.String;
401
+ }>;
402
+ /** The claim a confirmation would release, sealed for it. Nothing in the native session changes. */
403
+ export declare const sessionDetachPreviewResultEffectSchema: Schema.Struct<{
404
+ readonly commandId: Schema.String;
405
+ readonly sessionId: Schema.String;
406
+ readonly inputDigest: Schema.String;
407
+ readonly proof: Schema.String;
408
+ readonly validUntil: Schema.String;
409
+ readonly attachment: Schema.Struct<{
410
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
411
+ readonly nativeId: Schema.String;
412
+ readonly writer: Schema.Literals<readonly ["maia", "external"]>;
413
+ }>;
414
+ readonly method: Schema.Literal<"session.detach.preview">;
415
+ }>;
416
+ export declare const sessionDetachConfirmResultEffectSchema: Schema.Struct<{
417
+ readonly attachment: Schema.Struct<{
418
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
419
+ readonly nativeId: Schema.String;
420
+ readonly writer: Schema.Literals<readonly ["maia", "external"]>;
421
+ }>;
422
+ readonly commandId: Schema.String;
423
+ readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
424
+ readonly method: Schema.Literal<"session.detach.confirm">;
425
+ readonly receipt: Schema.Struct<{
426
+ readonly actorId: Schema.String;
427
+ readonly aggregateRevision: Schema.String;
428
+ readonly commandId: Schema.String;
429
+ readonly createdAt: Schema.String;
430
+ readonly eventCursor: Schema.String;
431
+ readonly method: Schema.String;
432
+ readonly proposedBy: Schema.optional<Schema.String>;
433
+ readonly receiptId: Schema.String;
434
+ readonly schemaVersion: Schema.Literal<1>;
435
+ readonly state: Schema.Literal<"succeeded">;
436
+ readonly target: Schema.Struct<{
437
+ readonly id: Schema.String;
438
+ readonly type: Schema.String;
439
+ }>;
440
+ readonly updatedAt: Schema.String;
441
+ }>;
442
+ readonly sessionId: Schema.String;
443
+ }>;
444
+ /** What changed a Session's claim on its native session. */
445
+ export declare const SESSION_ATTACHMENT_REASONS: readonly ["attach", "detach"];
446
+ /**
447
+ * The payload of `session.attached` and `session.detached`: ids and codes
448
+ * alone, never prompt or transcript text. `holder` is the writer the change
449
+ * left, or the one a detach released.
450
+ */
451
+ export declare const sessionAttachmentChangedEffectSchema: Schema.Struct<{
452
+ readonly holder: Schema.Literals<readonly ["maia", "external"]>;
453
+ readonly nativeId: Schema.String;
454
+ readonly reason: Schema.Literals<readonly ["attach", "detach"]>;
455
+ readonly runtime: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
456
+ readonly sessionId: Schema.String;
457
+ }>;
276
458
  export declare const discoveryRequestEffectSchema: Schema.Union<readonly [Schema.Struct<{
277
459
  readonly method: Schema.Literal<"discovery.sessions.list">;
278
460
  readonly parameters: Schema.Struct<{
461
+ /** Filters by adoption: the adopted sessions or the ones left alone. */
462
+ readonly adopted: Schema.optional<Schema.Literals<readonly ["only", "none"]>>;
279
463
  /** Opaque; the previous page's `nextCursor`. */
280
464
  readonly cursor: Schema.optional<Schema.String>;
281
465
  /** Title, first prompt and preview come from message content: opt-in. */
282
466
  readonly includeContentFields: Schema.optional<Schema.Boolean>;
283
467
  readonly limit: Schema.Int;
468
+ /** `running` keeps the sessions a live process shows running (`observed`). */
469
+ readonly observed: Schema.optional<Schema.Literal<"running">>;
284
470
  /** Keeps sessions whose working directory is one of these or below it. */
285
471
  readonly roots: Schema.optional<Schema.$Array<Schema.String>>;
286
472
  readonly sinceDays: Schema.optional<Schema.Int>;
@@ -303,25 +489,57 @@ export declare const discoveryRequestEffectSchema: Schema.Union<readonly [Schema
303
489
  }>, Schema.Struct<{
304
490
  readonly method: Schema.Literal<"session.adopt.preview">;
305
491
  readonly parameters: Schema.Struct<{
492
+ readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
493
+ readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
494
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
495
+ readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
496
+ readonly title: Schema.optional<Schema.String>;
497
+ /**
498
+ * Attach in place (D-426): the Node claims a session that another client
499
+ * runs, or whose liveness Maia cannot read, for that driver to write, where
500
+ * an adoption refuses it. The preview states the outcome as `writer`, which
501
+ * its digest binds.
502
+ */
503
+ readonly attach: Schema.optional<Schema.Literal<true>>;
306
504
  /**
307
505
  * Codex keeps no liveness evidence Maia can read; a person may attest that
308
506
  * no other client has the thread open. Bound into the preview digest.
309
507
  */
310
508
  readonly attestEnded: Schema.optional<Schema.Literal<true>>;
311
509
  readonly commandId: Schema.String;
510
+ /** The directory the caller says the session ran in; the Node refuses when the runtime's own record names another. */
511
+ readonly cwd: Schema.optional<Schema.String>;
312
512
  readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
313
513
  readonly nativeId: Schema.String;
314
514
  /**
315
515
  * The Session runs in this Workspace's primary checkout, which must share
316
- * the native session's Git common directory.
516
+ * the native session's Git common directory. Absent, the Node takes the one
517
+ * ready Workspace whose primary checkout is the session's directory.
317
518
  */
318
- readonly workspaceId: Schema.String;
519
+ readonly workspaceId: Schema.optional<Schema.String>;
319
520
  }>;
320
521
  }>, Schema.Struct<{
321
522
  readonly method: Schema.Literal<"session.adopt.confirm">;
322
523
  readonly parameters: Schema.Struct<{
524
+ /** The digest the caller expects the stored preview to hold; the Node refuses a different one before it changes anything. */
525
+ readonly inputDigest: Schema.optional<Schema.String>;
323
526
  readonly previewId: Schema.String;
324
527
  }>;
528
+ }>, Schema.Struct<{
529
+ readonly method: Schema.Literal<"session.detach.preview">;
530
+ readonly parameters: Schema.Struct<{
531
+ commandId: Schema.String;
532
+ sessionId: Schema.String;
533
+ }>;
534
+ }>, Schema.Struct<{
535
+ readonly method: Schema.Literal<"session.detach.confirm">;
536
+ readonly parameters: Schema.Struct<{
537
+ readonly commandId: Schema.String;
538
+ readonly sessionId: Schema.String;
539
+ readonly inputDigest: Schema.String;
540
+ readonly proof: Schema.String;
541
+ readonly validUntil: Schema.String;
542
+ }>;
325
543
  }>]>;
326
544
  export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.Struct<{
327
545
  readonly groups: Schema.$Array<Schema.Struct<{
@@ -353,6 +571,14 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
353
571
  readonly livenessEvidence: Schema.Literals<readonly ["pid-record", "no-pid-record", "recent-activity", "vendor-active", "no-process-evidence"]>;
354
572
  readonly model: Schema.optional<Schema.String>;
355
573
  readonly nativeId: Schema.String;
574
+ /**
575
+ * What a live process shows, apart from `liveness` (adoption's conservative
576
+ * check): Claude `running` when its pid record names a live Claude Code
577
+ * process, `not-running` for a stale or absent record; Codex `running` when
578
+ * a Codex process carries the thread ID, else `unknown`. `unknown` also
579
+ * covers a host without a readable process table.
580
+ */
581
+ readonly observed: Schema.optional<Schema.Literals<readonly ["not-running", "running", "unknown"]>>;
356
582
  /** The working directory no longer exists. */
357
583
  readonly orphaned: Schema.Boolean;
358
584
  readonly repository: Schema.optional<Schema.Struct<{
@@ -384,6 +610,12 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
384
610
  readonly orphaned: Schema.Int;
385
611
  readonly total: Schema.Int;
386
612
  }>;
613
+ /**
614
+ * Stores that held more sessions than one listing reads, oldest left out.
615
+ * A store named here may hold a session the filters match but the listing
616
+ * omits; an empty or missing list means the listing is complete.
617
+ */
618
+ readonly truncatedSources: Schema.optional<Schema.$Array<Schema.Literals<readonly ["claude", "codex"]>>>;
387
619
  }>, Schema.Struct<{
388
620
  readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
389
621
  readonly messages: Schema.$Array<Schema.Struct<{
@@ -403,11 +635,17 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
403
635
  readonly expiresAt: Schema.String;
404
636
  readonly inputDigest: Schema.String;
405
637
  readonly issuedAt: Schema.String;
638
+ readonly hostAuthority: Schema.optional<Schema.Literal<true>>;
639
+ readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
640
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
641
+ readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
642
+ readonly title: Schema.optional<Schema.String>;
406
643
  readonly connectionId: Schema.String;
407
644
  readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
408
645
  readonly nativeId: Schema.String;
409
646
  readonly workingDirectory: Schema.String;
410
647
  readonly workingDirectoryOrigin: Schema.Literals<readonly ["original", "relocated"]>;
648
+ readonly writer: Schema.optional<Schema.Literals<readonly ["maia", "external"]>>;
411
649
  readonly attestEnded: Schema.Boolean;
412
650
  readonly lastActivityAt: Schema.String;
413
651
  readonly liveness: Schema.Literals<readonly ["live", "ended", "unknown"]>;
@@ -416,6 +654,13 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
416
654
  readonly previewId: Schema.String;
417
655
  readonly projectId: Schema.String;
418
656
  readonly workspaceId: Schema.String;
657
+ }>, Schema.Struct<{
658
+ readonly alreadyAdopted: Schema.Struct<{
659
+ readonly sessionId: Schema.String;
660
+ }>;
661
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
662
+ readonly method: Schema.Literal<"session.adopt.preview">;
663
+ readonly nativeId: Schema.String;
419
664
  }>, Schema.Struct<{
420
665
  readonly actorId: Schema.String;
421
666
  readonly adoption: Schema.Struct<{
@@ -424,6 +669,8 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
424
669
  nativeId: Schema.String;
425
670
  workingDirectory: Schema.String;
426
671
  workingDirectoryOrigin: Schema.Literals<readonly ["original", "relocated"]>;
672
+ /** Absent on a preview or a receipt stored before attach existed, where Maia is the writer. */
673
+ writer: Schema.optional<Schema.Literals<readonly ["maia", "external"]>>;
427
674
  }>;
428
675
  readonly commandId: Schema.String;
429
676
  readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
@@ -436,6 +683,7 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
436
683
  readonly createdAt: Schema.String;
437
684
  readonly eventCursor: Schema.String;
438
685
  readonly method: Schema.String;
686
+ readonly proposedBy: Schema.optional<Schema.String>;
439
687
  readonly receiptId: Schema.String;
440
688
  readonly schemaVersion: Schema.Literal<1>;
441
689
  readonly state: Schema.Literal<"succeeded">;
@@ -454,23 +702,55 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
454
702
  readonly updatedAt: Schema.String;
455
703
  readonly workspaceId: Schema.String;
456
704
  readonly workspaceRevision: Schema.String;
705
+ readonly activity: Schema.optional<Schema.Literals<readonly ["stopped", "waiting_approval", "working", "idle"]>>;
457
706
  readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
458
707
  readonly contentDigest: Schema.String;
459
708
  readonly key: Schema.String;
460
709
  readonly version: Schema.String;
461
710
  }>>;
711
+ readonly containment: Schema.optional<Schema.Literal<"none">>;
462
712
  readonly executor: Schema.optional<Schema.Struct<{
463
713
  readonly connectionId: Schema.String;
464
714
  readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
465
- readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
715
+ readonly kind: Schema.String;
466
716
  readonly model: Schema.optional<Schema.String>;
467
717
  }>>;
468
718
  readonly failure: Schema.optional<Schema.Struct<{
469
719
  readonly code: Schema.String;
470
720
  readonly message: Schema.String;
471
721
  }>>;
722
+ readonly heldTaskCount: Schema.optional<Schema.Int>;
723
+ readonly heldTasks: Schema.optional<Schema.$Array<Schema.Struct<{
724
+ readonly claimedAt: Schema.String;
725
+ readonly id: Schema.String;
726
+ readonly leaseExpiresAt: Schema.String;
727
+ readonly state: Schema.Literal<"claimed">;
728
+ readonly title: Schema.String;
729
+ }>>>;
730
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
731
+ readonly latestTurnId: Schema.optional<Schema.String>;
732
+ readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
733
+ readonly parentSessionId: Schema.optional<Schema.String>;
734
+ readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
735
+ readonly prompt: Schema.optional<Schema.Struct<{
736
+ readonly approvalId: Schema.String;
737
+ readonly expiresAt: Schema.String;
738
+ readonly kind: Schema.Literals<readonly ["command", "file_change", "question", "tool"]>;
739
+ readonly options: Schema.optional<Schema.$Array<Schema.Struct<{
740
+ readonly label: Schema.String;
741
+ readonly optionId: Schema.String;
742
+ }>>>;
743
+ readonly summary: Schema.optional<Schema.String>;
744
+ }>>;
745
+ readonly recovery: Schema.optional<Schema.Struct<{
746
+ readonly code: Schema.String;
747
+ readonly message: Schema.String;
748
+ }>>;
472
749
  readonly schemaVersion: Schema.Literal<4>;
750
+ readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
751
+ readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
473
752
  readonly title: Schema.optional<Schema.String>;
753
+ readonly wakeOnChildSettle: Schema.optional<Schema.Literal<true>>;
474
754
  readonly worktree: Schema.optional<Schema.Struct<{
475
755
  readonly baseRef: Schema.String;
476
756
  readonly baseRevision: Schema.String;
@@ -483,5 +763,44 @@ export declare const discoveryResultEffectSchema: Schema.Union<readonly [Schema.
483
763
  readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
484
764
  }>>;
485
765
  }>;
766
+ }>, Schema.Struct<{
767
+ readonly commandId: Schema.String;
768
+ readonly sessionId: Schema.String;
769
+ readonly inputDigest: Schema.String;
770
+ readonly proof: Schema.String;
771
+ readonly validUntil: Schema.String;
772
+ readonly attachment: Schema.Struct<{
773
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
774
+ readonly nativeId: Schema.String;
775
+ readonly writer: Schema.Literals<readonly ["maia", "external"]>;
776
+ }>;
777
+ readonly method: Schema.Literal<"session.detach.preview">;
778
+ }>, Schema.Struct<{
779
+ readonly attachment: Schema.Struct<{
780
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
781
+ readonly nativeId: Schema.String;
782
+ readonly writer: Schema.Literals<readonly ["maia", "external"]>;
783
+ }>;
784
+ readonly commandId: Schema.String;
785
+ readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
786
+ readonly method: Schema.Literal<"session.detach.confirm">;
787
+ readonly receipt: Schema.Struct<{
788
+ readonly actorId: Schema.String;
789
+ readonly aggregateRevision: Schema.String;
790
+ readonly commandId: Schema.String;
791
+ readonly createdAt: Schema.String;
792
+ readonly eventCursor: Schema.String;
793
+ readonly method: Schema.String;
794
+ readonly proposedBy: Schema.optional<Schema.String>;
795
+ readonly receiptId: Schema.String;
796
+ readonly schemaVersion: Schema.Literal<1>;
797
+ readonly state: Schema.Literal<"succeeded">;
798
+ readonly target: Schema.Struct<{
799
+ readonly id: Schema.String;
800
+ readonly type: Schema.String;
801
+ }>;
802
+ readonly updatedAt: Schema.String;
803
+ }>;
804
+ readonly sessionId: Schema.String;
486
805
  }>]>;
487
806
  //# sourceMappingURL=effect-schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/discovery/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AASxC,mDAAmD;AACnD,eAAO,MAAM,iBAAiB,YAAI,QAAQ,EAAE,OAAO,CAAU,CAAC;AAC9D,eAAO,MAAM,6BAA6B,KAAK,CAAC;AAChD,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAC7C,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,mBAAmB,KAAK,CAAC;AACtC,eAAO,MAAM,oBAAoB,MAAM,CAAC;AACxC,eAAO,MAAM,qBAAqB,KAAK,CAAC;AACxC,eAAO,MAAM,2BAA2B,OAAO,CAAC;AACh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