@maiaos/protocol 0.1.0-canary.1 → 0.1.0-canary.10

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 (292) hide show
  1. package/README.md +25 -135
  2. package/dist/agent/definition.d.ts +2 -2
  3. package/dist/agent/worker-operation.d.ts +1 -0
  4. package/dist/agent/worker-operation.d.ts.map +1 -1
  5. package/dist/agents/contract.d.ts +341 -0
  6. package/dist/agents/contract.d.ts.map +1 -0
  7. package/dist/agents/contract.js +18 -0
  8. package/dist/agents/contract.js.map +1 -0
  9. package/dist/agents/effect-schema.d.ts +604 -0
  10. package/dist/agents/effect-schema.d.ts.map +1 -0
  11. package/dist/agents/effect-schema.js +164 -0
  12. package/dist/agents/effect-schema.js.map +1 -0
  13. package/dist/agents/feature.d.ts +113 -0
  14. package/dist/agents/feature.d.ts.map +1 -0
  15. package/dist/agents/feature.js +111 -0
  16. package/dist/agents/feature.js.map +1 -0
  17. package/dist/agents/index.d.ts +3 -0
  18. package/dist/agents/index.d.ts.map +1 -0
  19. package/dist/agents/index.js +3 -0
  20. package/dist/agents/index.js.map +1 -0
  21. package/dist/connection/access-effect-schema.d.ts +502 -0
  22. package/dist/connection/access-effect-schema.d.ts.map +1 -0
  23. package/dist/connection/access-effect-schema.js +196 -0
  24. package/dist/connection/access-effect-schema.js.map +1 -0
  25. package/dist/connection/contract.d.ts +402 -1
  26. package/dist/connection/contract.d.ts.map +1 -1
  27. package/dist/connection/contract.js +24 -1
  28. package/dist/connection/contract.js.map +1 -1
  29. package/dist/connection/effect-schema.d.ts +342 -0
  30. package/dist/connection/effect-schema.d.ts.map +1 -1
  31. package/dist/connection/effect-schema.js +3 -0
  32. package/dist/connection/effect-schema.js.map +1 -1
  33. package/dist/connection/feature.d.ts +225 -0
  34. package/dist/connection/feature.d.ts.map +1 -1
  35. package/dist/connection/feature.js +149 -0
  36. package/dist/connection/feature.js.map +1 -1
  37. package/dist/connection/index.d.ts +1 -1
  38. package/dist/connection/index.d.ts.map +1 -1
  39. package/dist/connection/index.js +1 -1
  40. package/dist/connection/index.js.map +1 -1
  41. package/dist/connection/system-effect-schema.d.ts +261 -1
  42. package/dist/connection/system-effect-schema.d.ts.map +1 -1
  43. package/dist/connection/system-effect-schema.js +101 -1
  44. package/dist/connection/system-effect-schema.js.map +1 -1
  45. package/dist/coordinator-tool/registry.d.ts +3 -1
  46. package/dist/coordinator-tool/registry.d.ts.map +1 -1
  47. package/dist/coordinator-tool/registry.js +78 -10
  48. package/dist/coordinator-tool/registry.js.map +1 -1
  49. package/dist/discovery/contract.d.ts +1 -0
  50. package/dist/discovery/contract.d.ts.map +1 -1
  51. package/dist/discovery/effect-schema.d.ts +2 -0
  52. package/dist/discovery/effect-schema.d.ts.map +1 -1
  53. package/dist/event/contract.d.ts +35 -0
  54. package/dist/event/contract.d.ts.map +1 -0
  55. package/dist/event/contract.js +10 -0
  56. package/dist/event/contract.js.map +1 -0
  57. package/dist/event/effect-schema.d.ts +2 -0
  58. package/dist/event/effect-schema.d.ts.map +1 -0
  59. package/dist/event/effect-schema.js +2 -0
  60. package/dist/event/effect-schema.js.map +1 -0
  61. package/dist/event/envelope-effect-schema.d.ts +35 -0
  62. package/dist/event/envelope-effect-schema.d.ts.map +1 -0
  63. package/dist/event/envelope-effect-schema.js +111 -0
  64. package/dist/event/envelope-effect-schema.js.map +1 -0
  65. package/dist/event/format.d.ts +8 -0
  66. package/dist/event/format.d.ts.map +1 -0
  67. package/dist/event/format.js +8 -0
  68. package/dist/event/format.js.map +1 -0
  69. package/dist/event/index.d.ts +3 -0
  70. package/dist/event/index.d.ts.map +1 -0
  71. package/dist/event/index.js +3 -0
  72. package/dist/event/index.js.map +1 -0
  73. package/dist/event/registry.d.ts +15 -0
  74. package/dist/event/registry.d.ts.map +1 -0
  75. package/dist/event/registry.js +189 -0
  76. package/dist/event/registry.js.map +1 -0
  77. package/dist/execution/worktree/effect-schema.d.ts.map +1 -1
  78. package/dist/execution/worktree/effect-schema.js +10 -2
  79. package/dist/execution/worktree/effect-schema.js.map +1 -1
  80. package/dist/feature/registry.d.ts +7 -1
  81. package/dist/feature/registry.d.ts.map +1 -1
  82. package/dist/feature/registry.js +6 -0
  83. package/dist/feature/registry.js.map +1 -1
  84. package/dist/index.d.ts +12 -5
  85. package/dist/index.d.ts.map +1 -1
  86. package/dist/index.js +12 -5
  87. package/dist/index.js.map +1 -1
  88. package/dist/invocation-context/contract.d.ts +11 -1
  89. package/dist/invocation-context/contract.d.ts.map +1 -1
  90. package/dist/invocation-context/effect-schema.d.ts +24 -2
  91. package/dist/invocation-context/effect-schema.d.ts.map +1 -1
  92. package/dist/invocation-context/effect-schema.js +19 -1
  93. package/dist/invocation-context/effect-schema.js.map +1 -1
  94. package/dist/local-node/contract.d.ts +17 -9
  95. package/dist/local-node/contract.d.ts.map +1 -1
  96. package/dist/local-node/contract.js.map +1 -1
  97. package/dist/local-node/effect-schema.d.ts +728 -9
  98. package/dist/local-node/effect-schema.d.ts.map +1 -1
  99. package/dist/local-node/effect-schema.js +33 -0
  100. package/dist/local-node/effect-schema.js.map +1 -1
  101. package/dist/local-node/node-api/methods.d.ts +33 -3
  102. package/dist/local-node/node-api/methods.d.ts.map +1 -1
  103. package/dist/local-node/node-api/methods.js +60 -0
  104. package/dist/local-node/node-api/methods.js.map +1 -1
  105. package/dist/local-node/receipt-list.d.ts +1 -1
  106. package/dist/local-node/receipt-list.d.ts.map +1 -1
  107. package/dist/local-node/receipt-list.js +12 -0
  108. package/dist/local-node/receipt-list.js.map +1 -1
  109. package/dist/machine-lease/contract.d.ts +90 -0
  110. package/dist/machine-lease/contract.d.ts.map +1 -0
  111. package/dist/machine-lease/contract.js +8 -0
  112. package/dist/machine-lease/contract.js.map +1 -0
  113. package/dist/machine-lease/effect-schema.d.ts +85 -0
  114. package/dist/machine-lease/effect-schema.d.ts.map +1 -0
  115. package/dist/machine-lease/effect-schema.js +78 -0
  116. package/dist/machine-lease/effect-schema.js.map +1 -0
  117. package/dist/machine-lease/index.d.ts +3 -0
  118. package/dist/machine-lease/index.d.ts.map +1 -0
  119. package/dist/machine-lease/index.js +3 -0
  120. package/dist/machine-lease/index.js.map +1 -0
  121. package/dist/machine-lease/policy.d.ts +12 -0
  122. package/dist/machine-lease/policy.d.ts.map +1 -0
  123. package/dist/machine-lease/policy.js +12 -0
  124. package/dist/machine-lease/policy.js.map +1 -0
  125. package/dist/machine-principal/contract.d.ts +14 -0
  126. package/dist/machine-principal/contract.d.ts.map +1 -0
  127. package/dist/machine-principal/contract.js +5 -0
  128. package/dist/machine-principal/contract.js.map +1 -0
  129. package/dist/machine-principal/effect-schema.d.ts +12 -0
  130. package/dist/machine-principal/effect-schema.d.ts.map +1 -0
  131. package/dist/machine-principal/effect-schema.js +25 -0
  132. package/dist/machine-principal/effect-schema.js.map +1 -0
  133. package/dist/machine-principal/index.d.ts +2 -0
  134. package/dist/machine-principal/index.d.ts.map +1 -0
  135. package/dist/machine-principal/index.js +2 -0
  136. package/dist/machine-principal/index.js.map +1 -0
  137. package/dist/machine-principal/policy.d.ts +5 -0
  138. package/dist/machine-principal/policy.d.ts.map +1 -0
  139. package/dist/machine-principal/policy.js +5 -0
  140. package/dist/machine-principal/policy.js.map +1 -0
  141. package/dist/presentation/contract.d.ts +1 -0
  142. package/dist/presentation/contract.d.ts.map +1 -1
  143. package/dist/presentation/effect-schema.d.ts +1 -0
  144. package/dist/presentation/effect-schema.d.ts.map +1 -1
  145. package/dist/presentation/session-list-effect-schema.d.ts +1 -0
  146. package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
  147. package/dist/release/contract.d.ts +2 -0
  148. package/dist/release/contract.d.ts.map +1 -0
  149. package/dist/release/contract.js +4 -0
  150. package/dist/release/contract.js.map +1 -0
  151. package/dist/release/effect-schema.d.ts +3 -0
  152. package/dist/release/effect-schema.d.ts.map +1 -0
  153. package/dist/release/effect-schema.js +4 -0
  154. package/dist/release/effect-schema.js.map +1 -0
  155. package/dist/release/index.d.ts +3 -0
  156. package/dist/release/index.d.ts.map +1 -0
  157. package/dist/release/index.js +3 -0
  158. package/dist/release/index.js.map +1 -0
  159. package/dist/release/version.d.ts +29 -0
  160. package/dist/release/version.d.ts.map +1 -0
  161. package/dist/release/version.js +77 -0
  162. package/dist/release/version.js.map +1 -0
  163. package/dist/remote-node/bridge-effect-schema.d.ts +72 -2
  164. package/dist/remote-node/bridge-effect-schema.d.ts.map +1 -1
  165. package/dist/remote-node/bridge-effect-schema.js +64 -3
  166. package/dist/remote-node/bridge-effect-schema.js.map +1 -1
  167. package/dist/remote-node/contract.d.ts +163 -10
  168. package/dist/remote-node/contract.d.ts.map +1 -1
  169. package/dist/remote-node/contract.js +22 -3
  170. package/dist/remote-node/contract.js.map +1 -1
  171. package/dist/remote-node/index.d.ts +1 -1
  172. package/dist/remote-node/index.d.ts.map +1 -1
  173. package/dist/remote-node/index.js +1 -1
  174. package/dist/remote-node/index.js.map +1 -1
  175. package/dist/remote-node/request-effect-schema.d.ts +42 -0
  176. package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
  177. package/dist/remote-node/request-effect-schema.js +25 -0
  178. package/dist/remote-node/request-effect-schema.js.map +1 -1
  179. package/dist/remote-node/result-effect-schema.d.ts +196 -21
  180. package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
  181. package/dist/remote-node/result-effect-schema.js +42 -8
  182. package/dist/remote-node/result-effect-schema.js.map +1 -1
  183. package/dist/routine/contract.d.ts +470 -0
  184. package/dist/routine/contract.d.ts.map +1 -0
  185. package/dist/routine/contract.js +27 -0
  186. package/dist/routine/contract.js.map +1 -0
  187. package/dist/routine/effect-schema.d.ts +923 -0
  188. package/dist/routine/effect-schema.d.ts.map +1 -0
  189. package/dist/routine/effect-schema.js +268 -0
  190. package/dist/routine/effect-schema.js.map +1 -0
  191. package/dist/routine/feature.d.ts +263 -0
  192. package/dist/routine/feature.d.ts.map +1 -0
  193. package/dist/routine/feature.js +249 -0
  194. package/dist/routine/feature.js.map +1 -0
  195. package/dist/routine/index.d.ts +3 -0
  196. package/dist/routine/index.d.ts.map +1 -0
  197. package/dist/routine/index.js +3 -0
  198. package/dist/routine/index.js.map +1 -0
  199. package/dist/routine/policy.d.ts +15 -0
  200. package/dist/routine/policy.d.ts.map +1 -0
  201. package/dist/routine/policy.js +31 -0
  202. package/dist/routine/policy.js.map +1 -0
  203. package/dist/session/agent-permission-contract.d.ts +5 -5
  204. package/dist/session/agent-permission-effect-schema.d.ts +9 -9
  205. package/dist/session/contract.d.ts +63 -1
  206. package/dist/session/contract.d.ts.map +1 -1
  207. package/dist/session/contract.js +3 -1
  208. package/dist/session/contract.js.map +1 -1
  209. package/dist/session/effect-schema.d.ts +144 -5
  210. package/dist/session/effect-schema.d.ts.map +1 -1
  211. package/dist/session/effect-schema.js +50 -12
  212. package/dist/session/effect-schema.js.map +1 -1
  213. package/dist/session/feature.d.ts +83 -0
  214. package/dist/session/feature.d.ts.map +1 -1
  215. package/dist/session/feature.js +77 -0
  216. package/dist/session/feature.js.map +1 -1
  217. package/dist/session/index.d.ts +2 -2
  218. package/dist/session/index.d.ts.map +1 -1
  219. package/dist/session/index.js +2 -2
  220. package/dist/session/index.js.map +1 -1
  221. package/dist/session/policy.d.ts +31 -0
  222. package/dist/session/policy.d.ts.map +1 -1
  223. package/dist/session/policy.js +31 -0
  224. package/dist/session/policy.js.map +1 -1
  225. package/dist/session/stop-resume-contract.d.ts +2 -0
  226. package/dist/session/stop-resume-contract.d.ts.map +1 -1
  227. package/dist/session-guard/contract.d.ts +7 -2
  228. package/dist/session-guard/contract.d.ts.map +1 -1
  229. package/dist/session-guard/contract.js +18 -2
  230. package/dist/session-guard/contract.js.map +1 -1
  231. package/dist/team-workspace/contract.d.ts +77 -0
  232. package/dist/team-workspace/contract.d.ts.map +1 -0
  233. package/dist/team-workspace/contract.js +8 -0
  234. package/dist/team-workspace/contract.js.map +1 -0
  235. package/dist/team-workspace/effect-schema.d.ts +142 -0
  236. package/dist/team-workspace/effect-schema.d.ts.map +1 -0
  237. package/dist/team-workspace/effect-schema.js +102 -0
  238. package/dist/team-workspace/effect-schema.js.map +1 -0
  239. package/dist/team-workspace/feature.d.ts +54 -0
  240. package/dist/team-workspace/feature.d.ts.map +1 -0
  241. package/dist/team-workspace/feature.js +59 -0
  242. package/dist/team-workspace/feature.js.map +1 -0
  243. package/dist/team-workspace/index.d.ts +3 -0
  244. package/dist/team-workspace/index.d.ts.map +1 -0
  245. package/dist/team-workspace/index.js +3 -0
  246. package/dist/team-workspace/index.js.map +1 -0
  247. package/dist/team-workspace/policy.d.ts +9 -0
  248. package/dist/team-workspace/policy.d.ts.map +1 -0
  249. package/dist/team-workspace/policy.js +19 -0
  250. package/dist/team-workspace/policy.js.map +1 -0
  251. package/dist/terminal/contract.d.ts +65 -56
  252. package/dist/terminal/contract.d.ts.map +1 -1
  253. package/dist/terminal/effect-schema.d.ts +400 -382
  254. package/dist/terminal/effect-schema.d.ts.map +1 -1
  255. package/dist/terminal/effect-schema.js +12 -0
  256. package/dist/terminal/effect-schema.js.map +1 -1
  257. package/dist/terminal/index.d.ts +1 -1
  258. package/dist/terminal/index.d.ts.map +1 -1
  259. package/dist/terminal/index.js +1 -1
  260. package/dist/terminal/index.js.map +1 -1
  261. package/dist/terminal/live-effect-schema.d.ts +630 -621
  262. package/dist/terminal/live-effect-schema.d.ts.map +1 -1
  263. package/dist/terminal/live-effect-schema.js +15 -2
  264. package/dist/terminal/live-effect-schema.js.map +1 -1
  265. package/dist/terminal/live-policy.d.ts +9 -0
  266. package/dist/terminal/live-policy.d.ts.map +1 -1
  267. package/dist/terminal/live-policy.js +9 -0
  268. package/dist/terminal/live-policy.js.map +1 -1
  269. package/dist/terminal/live-types.d.ts +7 -1
  270. package/dist/terminal/live-types.d.ts.map +1 -1
  271. package/dist/turn/contract.d.ts +166 -1
  272. package/dist/turn/contract.d.ts.map +1 -1
  273. package/dist/turn/contract.js +10 -1
  274. package/dist/turn/contract.js.map +1 -1
  275. package/dist/turn/effect-schema.d.ts +325 -0
  276. package/dist/turn/effect-schema.d.ts.map +1 -1
  277. package/dist/turn/effect-schema.js +50 -2
  278. package/dist/turn/effect-schema.js.map +1 -1
  279. package/dist/turn/index.d.ts +2 -2
  280. package/dist/turn/index.d.ts.map +1 -1
  281. package/dist/turn/index.js +2 -2
  282. package/dist/turn/index.js.map +1 -1
  283. package/dist/turn/policy.d.ts +7 -0
  284. package/dist/turn/policy.d.ts.map +1 -1
  285. package/dist/turn/policy.js +7 -0
  286. package/dist/turn/policy.js.map +1 -1
  287. package/dist/voice/contract.d.ts +4 -4
  288. package/dist/voice/effect-schema.d.ts +6 -6
  289. package/dist/voice/effect-schema.d.ts.map +1 -1
  290. package/dist/voice/effect-schema.js +2 -0
  291. package/dist/voice/effect-schema.js.map +1 -1
  292. package/package.json +9 -9
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { agentsResultEffectSchema } from "../agents/effect-schema.js";
2
3
  import { approvalResultEffectSchema } from "../approval/effect-schema.js";
3
4
  import { receiptGetResultEffectSchema, receiptListResultEffectSchema } from "../command-receipt/effect-schema.js";
4
5
  import { connectionResultEffectSchema } from "../connection/effect-schema.js";
@@ -17,10 +18,12 @@ import { projectWorkspaceSuccessResultEffectSchema } from "../project-workspace/
17
18
  import { providerPoolListResultEffectSchema } from "../provider/effect-schema.js";
18
19
  import { referenceResultEffectSchema } from "../reference/effect-schema.js";
19
20
  import { remoteNodeResultEffectSchema } from "../remote-node/effect-schema.js";
21
+ import { routineResultEffectSchema } from "../routine/effect-schema.js";
20
22
  import { runLedgerResultEffectSchema } from "../run-ledger/effect-schema.js";
21
23
  import { runtimeProbeResultEffectSchema } from "../runtime/effect-schema.js";
22
24
  import { agentPermissionResultEffectSchema, sessionSuccessResultEffectSchema } from "../session/effect-schema.js";
23
25
  import { projectGuardResultEffectSchema } from "../session-guard/effect-schema.js";
26
+ import { teamWorkspaceResultEffectSchema } from "../team-workspace/effect-schema.js";
24
27
  import { terminalSuccessResultEffectSchema } from "../terminal/effect-schema.js";
25
28
  import { turnSuccessResultEffectSchema } from "../turn/effect-schema.js";
26
29
  import { voiceSuccessResultEffectSchema } from "../voice/effect-schema.js";
@@ -31,7 +34,7 @@ export declare const receiptListParametersEffectSchema: Schema.Struct<{
31
34
  readonly actor: Schema.optional<Schema.String>;
32
35
  readonly afterCursor: Schema.optional<Schema.String>;
33
36
  readonly limit: Schema.Int;
34
- readonly method: Schema.optional<Schema.Literals<readonly ["approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.login.start", "connection.state.set", "container.create.confirm", "container.rename.confirm", "execution.checkpoint.create", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.relocation.apply", "execution.relocation.reconcile", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "hold.place.confirm", "hold.release.confirm", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "interaction.cancel", "interaction.create", "interaction.respond", "node.remote.install.confirm", "node.remote.remove.confirm", "port.lease.acquire", "port.lease.release", "port.lease.renew", "project.context.record", "project.create.confirm", "project.guard.confirm", "project.register", "project.rename.confirm", "run.create", "run.dispatch.settle-terminal", "run.inbox.ack", "run.ledger.create", "run.ledger.task.dispatch", "run.ledger.task.settle", "run.question.cancel", "run.question.open", "run.question.reply", "session.adopt.confirm", "session.agent-permission.confirm", "session.archive", "session.create", "session.inbox.ack", "session.message.send", "session.rename", "session.resume", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.create", "terminal.input.write", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.detach", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "turn.interrupt", "turn.send", "voice.pi.relay", "workspace.execution.configure", "workspace.membership.attach", "workspace.repository.attach", "workspace.select"]>>;
37
+ readonly method: Schema.optional<Schema.Literals<readonly ["agents.change.confirm", "approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.grant.set.confirm", "connection.login.start", "connection.pool.set.confirm", "connection.state.set", "connection.upkeep.confirm", "container.create.confirm", "container.rename.confirm", "execution.checkpoint.create", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.relocation.apply", "execution.relocation.reconcile", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "hold.place.confirm", "hold.release.confirm", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "interaction.cancel", "interaction.create", "interaction.respond", "node.remote.install.confirm", "node.remote.register.confirm", "node.remote.remove.confirm", "port.lease.acquire", "port.lease.release", "port.lease.renew", "project.context.record", "project.create.confirm", "project.guard.confirm", "project.register", "project.rename.confirm", "routine.create.confirm", "routine.disable.confirm", "routine.pause", "routine.resume", "routine.run.confirm", "run.create", "run.dispatch.settle-terminal", "run.inbox.ack", "run.ledger.create", "run.ledger.task.dispatch", "run.ledger.task.settle", "run.question.cancel", "run.question.open", "run.question.reply", "session.adopt.confirm", "session.agent-permission.confirm", "session.archive", "session.create", "session.inbox.ack", "session.message.send", "session.rename", "session.resume", "session.spawn", "session.start", "session.stop", "team-workspace.bootstrap.apply", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.create", "terminal.input.write", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.detach", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "turn.cancel", "turn.interrupt", "turn.send", "voice.pi.relay", "workspace.execution.configure", "workspace.membership.attach", "workspace.repository.attach", "workspace.select"]>>;
35
38
  readonly since: Schema.optional<Schema.String>;
36
39
  readonly until: Schema.optional<Schema.String>;
37
40
  }>;
@@ -432,7 +435,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
432
435
  readonly actor: Schema.optional<Schema.String>;
433
436
  readonly afterCursor: Schema.optional<Schema.String>;
434
437
  readonly limit: Schema.Int;
435
- readonly method: Schema.optional<Schema.Literals<readonly ["approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.login.start", "connection.state.set", "container.create.confirm", "container.rename.confirm", "execution.checkpoint.create", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.relocation.apply", "execution.relocation.reconcile", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "hold.place.confirm", "hold.release.confirm", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "interaction.cancel", "interaction.create", "interaction.respond", "node.remote.install.confirm", "node.remote.remove.confirm", "port.lease.acquire", "port.lease.release", "port.lease.renew", "project.context.record", "project.create.confirm", "project.guard.confirm", "project.register", "project.rename.confirm", "run.create", "run.dispatch.settle-terminal", "run.inbox.ack", "run.ledger.create", "run.ledger.task.dispatch", "run.ledger.task.settle", "run.question.cancel", "run.question.open", "run.question.reply", "session.adopt.confirm", "session.agent-permission.confirm", "session.archive", "session.create", "session.inbox.ack", "session.message.send", "session.rename", "session.resume", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.create", "terminal.input.write", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.detach", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "turn.interrupt", "turn.send", "voice.pi.relay", "workspace.execution.configure", "workspace.membership.attach", "workspace.repository.attach", "workspace.select"]>>;
438
+ readonly method: Schema.optional<Schema.Literals<readonly ["agents.change.confirm", "approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.grant.set.confirm", "connection.login.start", "connection.pool.set.confirm", "connection.state.set", "connection.upkeep.confirm", "container.create.confirm", "container.rename.confirm", "execution.checkpoint.create", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.relocation.apply", "execution.relocation.reconcile", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "hold.place.confirm", "hold.release.confirm", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "interaction.cancel", "interaction.create", "interaction.respond", "node.remote.install.confirm", "node.remote.register.confirm", "node.remote.remove.confirm", "port.lease.acquire", "port.lease.release", "port.lease.renew", "project.context.record", "project.create.confirm", "project.guard.confirm", "project.register", "project.rename.confirm", "routine.create.confirm", "routine.disable.confirm", "routine.pause", "routine.resume", "routine.run.confirm", "run.create", "run.dispatch.settle-terminal", "run.inbox.ack", "run.ledger.create", "run.ledger.task.dispatch", "run.ledger.task.settle", "run.question.cancel", "run.question.open", "run.question.reply", "session.adopt.confirm", "session.agent-permission.confirm", "session.archive", "session.create", "session.inbox.ack", "session.message.send", "session.rename", "session.resume", "session.spawn", "session.start", "session.stop", "team-workspace.bootstrap.apply", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.create", "terminal.input.write", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.detach", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "turn.cancel", "turn.interrupt", "turn.send", "voice.pi.relay", "workspace.execution.configure", "workspace.membership.attach", "workspace.repository.attach", "workspace.select"]>>;
436
439
  readonly since: Schema.optional<Schema.String>;
437
440
  readonly until: Schema.optional<Schema.String>;
438
441
  }>;
@@ -635,6 +638,27 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
635
638
  readonly parameters: Schema.Struct<{
636
639
  readonly includeRemoved: Schema.optional<Schema.Boolean>;
637
640
  }>;
641
+ }>, Schema.Struct<{
642
+ readonly method: Schema.Literal<"node.remote.register.preview">;
643
+ readonly parameters: Schema.Struct<{
644
+ commandId: Schema.String;
645
+ host: Schema.String;
646
+ launcherPath: Schema.optional<Schema.String>;
647
+ name: Schema.String;
648
+ profile: Schema.optional<Schema.String>;
649
+ }>;
650
+ }>, Schema.Struct<{
651
+ readonly method: Schema.Literal<"node.remote.register.confirm">;
652
+ readonly parameters: Schema.Struct<{
653
+ readonly commandId: Schema.String;
654
+ readonly host: Schema.String;
655
+ readonly launcherPath: Schema.optional<Schema.String>;
656
+ readonly name: Schema.String;
657
+ readonly profile: Schema.optional<Schema.String>;
658
+ readonly inputDigest: Schema.String;
659
+ readonly planDigest: Schema.String;
660
+ readonly proof: Schema.String;
661
+ }>;
638
662
  }>, Schema.Struct<{
639
663
  readonly method: Schema.Literal<"node.remote.remove.preview">;
640
664
  readonly parameters: Schema.Struct<{
@@ -654,6 +678,103 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
654
678
  readonly proof: Schema.String;
655
679
  readonly waitMs: Schema.optional<Schema.Int>;
656
680
  }>;
681
+ }>]>, Schema.Union<readonly [Schema.Struct<{
682
+ readonly method: Schema.Literal<"routine.list">;
683
+ readonly parameters: Schema.Struct<{
684
+ readonly afterCursor: Schema.optional<Schema.String>;
685
+ readonly limit: Schema.Int;
686
+ readonly projectId: Schema.optional<Schema.String>;
687
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled", "paused"]>>;
688
+ }>;
689
+ }>, Schema.Struct<{
690
+ readonly method: Schema.Literal<"routine.show">;
691
+ readonly parameters: Schema.Struct<{
692
+ readonly routineId: Schema.String;
693
+ }>;
694
+ }>, Schema.Struct<{
695
+ readonly method: Schema.Literal<"routine.create.preview">;
696
+ readonly parameters: Schema.Struct<{
697
+ commandId: Schema.String;
698
+ name: Schema.Trim;
699
+ paused: Schema.optional<Schema.Boolean>;
700
+ schedule: Schema.Struct<{
701
+ readonly expression: Schema.String;
702
+ readonly timezone: Schema.String;
703
+ }>;
704
+ template: Schema.Struct<{
705
+ readonly connectionId: Schema.optional<Schema.String>;
706
+ readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
707
+ readonly model: Schema.optional<Schema.String>;
708
+ readonly projectId: Schema.String;
709
+ readonly prompt: Schema.String;
710
+ }>;
711
+ }>;
712
+ }>, Schema.Struct<{
713
+ readonly method: Schema.Literal<"routine.create.confirm">;
714
+ readonly parameters: Schema.Struct<{
715
+ readonly commandId: Schema.String;
716
+ readonly name: Schema.Trim;
717
+ readonly paused: Schema.optional<Schema.Boolean>;
718
+ readonly schedule: Schema.Struct<{
719
+ readonly expression: Schema.String;
720
+ readonly timezone: Schema.String;
721
+ }>;
722
+ readonly template: Schema.Struct<{
723
+ readonly connectionId: Schema.optional<Schema.String>;
724
+ readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
725
+ readonly model: Schema.optional<Schema.String>;
726
+ readonly projectId: Schema.String;
727
+ readonly prompt: Schema.String;
728
+ }>;
729
+ readonly inputDigest: Schema.String;
730
+ readonly proof: Schema.String;
731
+ }>;
732
+ }>, Schema.Struct<{
733
+ readonly method: Schema.Literal<"routine.pause">;
734
+ readonly parameters: Schema.Struct<{
735
+ commandId: Schema.String;
736
+ expectedRevision: Schema.String;
737
+ routineId: Schema.String;
738
+ }>;
739
+ }>, Schema.Struct<{
740
+ readonly method: Schema.Literal<"routine.resume">;
741
+ readonly parameters: Schema.Struct<{
742
+ commandId: Schema.String;
743
+ expectedRevision: Schema.String;
744
+ routineId: Schema.String;
745
+ }>;
746
+ }>, Schema.Struct<{
747
+ readonly method: Schema.Literal<"routine.disable.preview">;
748
+ readonly parameters: Schema.Struct<{
749
+ commandId: Schema.String;
750
+ expectedRevision: Schema.String;
751
+ routineId: Schema.String;
752
+ }>;
753
+ }>, Schema.Struct<{
754
+ readonly method: Schema.Literal<"routine.disable.confirm">;
755
+ readonly parameters: Schema.Struct<{
756
+ readonly inputDigest: Schema.String;
757
+ readonly proof: Schema.String;
758
+ readonly commandId: Schema.String;
759
+ readonly expectedRevision: Schema.String;
760
+ readonly routineId: Schema.String;
761
+ }>;
762
+ }>, Schema.Struct<{
763
+ readonly method: Schema.Literal<"routine.run.preview">;
764
+ readonly parameters: Schema.Struct<{
765
+ commandId: Schema.String;
766
+ expectedRevision: Schema.String;
767
+ routineId: Schema.String;
768
+ }>;
769
+ }>, Schema.Struct<{
770
+ readonly method: Schema.Literal<"routine.run.confirm">;
771
+ readonly parameters: Schema.Struct<{
772
+ readonly inputDigest: Schema.String;
773
+ readonly proof: Schema.String;
774
+ readonly commandId: Schema.String;
775
+ readonly expectedRevision: Schema.String;
776
+ readonly routineId: Schema.String;
777
+ }>;
657
778
  }>]>, Schema.Union<readonly [Schema.Struct<{
658
779
  readonly method: Schema.Literal<"run.ledger.create">;
659
780
  readonly parameters: Schema.Struct<{
@@ -878,12 +999,14 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
878
999
  readonly commandId: Schema.String;
879
1000
  readonly expectedRevision: Schema.Literal<"0">;
880
1001
  readonly workspaceId: Schema.String;
1002
+ readonly agentId: Schema.optional<Schema.String>;
881
1003
  readonly connectionId: Schema.optional<Schema.String>;
882
1004
  readonly definitionRef: Schema.optional<Schema.Struct<{
883
1005
  readonly contentDigest: Schema.String;
884
1006
  readonly key: Schema.String;
885
1007
  readonly version: Schema.String;
886
1008
  }>>;
1009
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
887
1010
  readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
888
1011
  readonly model: Schema.optional<Schema.String>;
889
1012
  readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
@@ -906,6 +1029,13 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
906
1029
  readonly parameters: Schema.Struct<{
907
1030
  readonly sessionId: Schema.String;
908
1031
  }>;
1032
+ }>, Schema.Struct<{
1033
+ readonly method: Schema.Literal<"session.wait">;
1034
+ readonly parameters: Schema.Struct<{
1035
+ readonly sessionId: Schema.String;
1036
+ readonly states: Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>;
1037
+ readonly waitMilliseconds: Schema.Int;
1038
+ }>;
909
1039
  }>, Schema.Struct<{
910
1040
  readonly method: Schema.Literal<"session.spawn">;
911
1041
  readonly parameters: Schema.Struct<{
@@ -1005,7 +1135,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1005
1135
  }>;
1006
1136
  readonly expectedSessionRevision: Schema.String;
1007
1137
  readonly expectedWorkspaceRevision: Schema.String;
1008
- readonly operationIds: Schema.$Array<Schema.Literals<readonly ["approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.list", "connection.login.start", "connection.models.list", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.interrupt", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
1138
+ readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "session.wait", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
1009
1139
  readonly sessionId: Schema.String;
1010
1140
  readonly workspaceId: Schema.String;
1011
1141
  readonly commandId: Schema.String;
@@ -1020,7 +1150,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1020
1150
  }>;
1021
1151
  readonly expectedSessionRevision: Schema.String;
1022
1152
  readonly expectedWorkspaceRevision: Schema.String;
1023
- readonly operationIds: Schema.$Array<Schema.Literals<readonly ["approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.list", "connection.login.start", "connection.models.list", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.interrupt", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
1153
+ readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "session.wait", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
1024
1154
  readonly sessionId: Schema.String;
1025
1155
  readonly workspaceId: Schema.String;
1026
1156
  readonly commandId: Schema.String;
@@ -1093,7 +1223,28 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1093
1223
  }>;
1094
1224
  }>, Schema.Struct<{
1095
1225
  readonly method: Schema.Literal<"connection.detect">;
1226
+ readonly parameters: Schema.Struct<{
1227
+ readonly upkeep: Schema.optional<Schema.Boolean>;
1228
+ }>;
1229
+ }>, Schema.Struct<{
1230
+ readonly method: Schema.Literal<"connection.upkeep.refresh">;
1096
1231
  readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
1232
+ }>, Schema.Struct<{
1233
+ readonly method: Schema.Literal<"connection.upkeep.preview">;
1234
+ readonly parameters: Schema.Struct<{
1235
+ commandId: Schema.String;
1236
+ executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
1237
+ policy: Schema.Literals<readonly ["notify", "off"]>;
1238
+ }>;
1239
+ }>, Schema.Struct<{
1240
+ readonly method: Schema.Literal<"connection.upkeep.confirm">;
1241
+ readonly parameters: Schema.Struct<{
1242
+ readonly commandId: Schema.String;
1243
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
1244
+ readonly policy: Schema.Literals<readonly ["notify", "off"]>;
1245
+ readonly inputDigest: Schema.String;
1246
+ readonly proof: Schema.String;
1247
+ }>;
1097
1248
  }>, Schema.Struct<{
1098
1249
  readonly method: Schema.Literal<"connection.system.preview">;
1099
1250
  readonly parameters: Schema.Struct<{
@@ -1108,6 +1259,78 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1108
1259
  readonly inputDigest: Schema.String;
1109
1260
  readonly proof: Schema.String;
1110
1261
  }>;
1262
+ }>, Schema.Struct<{
1263
+ readonly method: Schema.Literal<"connection.grant.list">;
1264
+ readonly parameters: Schema.Struct<{
1265
+ readonly afterCursor: Schema.optional<Schema.String>;
1266
+ readonly limit: Schema.Int;
1267
+ readonly scope: Schema.optional<Schema.Struct<{
1268
+ readonly id: Schema.String;
1269
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1270
+ }>>;
1271
+ readonly connectionId: Schema.optional<Schema.String>;
1272
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "revoked"]>>;
1273
+ }>;
1274
+ }>, Schema.Struct<{
1275
+ readonly method: Schema.Literal<"connection.grant.set.preview">;
1276
+ readonly parameters: Schema.Struct<{
1277
+ commandId: Schema.String;
1278
+ connectionId: Schema.String;
1279
+ granted: Schema.Boolean;
1280
+ scope: Schema.Struct<{
1281
+ readonly id: Schema.String;
1282
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1283
+ }>;
1284
+ }>;
1285
+ }>, Schema.Struct<{
1286
+ readonly method: Schema.Literal<"connection.grant.set.confirm">;
1287
+ readonly parameters: Schema.Struct<{
1288
+ readonly inputDigest: Schema.String;
1289
+ readonly proof: Schema.String;
1290
+ readonly commandId: Schema.String;
1291
+ readonly connectionId: Schema.String;
1292
+ readonly granted: Schema.Boolean;
1293
+ readonly scope: Schema.Struct<{
1294
+ readonly id: Schema.String;
1295
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1296
+ }>;
1297
+ readonly expectedRevision: Schema.String;
1298
+ }>;
1299
+ }>, Schema.Struct<{
1300
+ readonly method: Schema.Literal<"connection.pool.list">;
1301
+ readonly parameters: Schema.Struct<{
1302
+ afterCursor: Schema.optional<Schema.String>;
1303
+ limit: Schema.Int;
1304
+ scope: Schema.optional<Schema.Struct<{
1305
+ readonly id: Schema.String;
1306
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1307
+ }>>;
1308
+ }>;
1309
+ }>, Schema.Struct<{
1310
+ readonly method: Schema.Literal<"connection.pool.set.preview">;
1311
+ readonly parameters: Schema.Struct<{
1312
+ commandId: Schema.String;
1313
+ members: Schema.$Array<Schema.String>;
1314
+ mode: Schema.Literals<readonly ["off", "rotate", "single"]>;
1315
+ scope: Schema.Struct<{
1316
+ readonly id: Schema.String;
1317
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1318
+ }>;
1319
+ }>;
1320
+ }>, Schema.Struct<{
1321
+ readonly method: Schema.Literal<"connection.pool.set.confirm">;
1322
+ readonly parameters: Schema.Struct<{
1323
+ readonly inputDigest: Schema.String;
1324
+ readonly proof: Schema.String;
1325
+ readonly commandId: Schema.String;
1326
+ readonly members: Schema.$Array<Schema.String>;
1327
+ readonly mode: Schema.Literals<readonly ["off", "rotate", "single"]>;
1328
+ readonly scope: Schema.Struct<{
1329
+ readonly id: Schema.String;
1330
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1331
+ }>;
1332
+ readonly expectedRevision: Schema.String;
1333
+ }>;
1111
1334
  }>]>, Schema.Union<readonly [Schema.Struct<{
1112
1335
  readonly method: Schema.Literal<"container.list">;
1113
1336
  readonly parameters: Schema.Struct<{
@@ -1206,6 +1429,104 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1206
1429
  readonly inputDigest: Schema.String;
1207
1430
  readonly proof: Schema.String;
1208
1431
  }>;
1432
+ }>]>, Schema.Union<readonly [Schema.Struct<{
1433
+ readonly method: Schema.Literal<"agents.list">;
1434
+ readonly parameters: Schema.Struct<{
1435
+ readonly afterCursor: Schema.optional<Schema.String>;
1436
+ readonly limit: Schema.Int;
1437
+ readonly projectId: Schema.String;
1438
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled"]>>;
1439
+ }>;
1440
+ }>, Schema.Struct<{
1441
+ readonly method: Schema.Literal<"agents.show">;
1442
+ readonly parameters: Schema.Struct<{
1443
+ readonly agentId: Schema.String;
1444
+ readonly revision: Schema.optional<Schema.String>;
1445
+ }>;
1446
+ }>, Schema.Struct<{
1447
+ readonly method: Schema.Literal<"agents.change.preview">;
1448
+ readonly parameters: Schema.Struct<{
1449
+ change: Schema.Union<readonly [Schema.Struct<{
1450
+ readonly kind: Schema.Literal<"create">;
1451
+ readonly projectId: Schema.String;
1452
+ readonly spec: Schema.Struct<{
1453
+ readonly accountableActorId: Schema.String;
1454
+ readonly connectionId: Schema.optional<Schema.String>;
1455
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1456
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1457
+ readonly homeSessionId: Schema.optional<Schema.String>;
1458
+ readonly instruction: Schema.String;
1459
+ readonly managerAgentId: Schema.optional<Schema.String>;
1460
+ readonly model: Schema.optional<Schema.String>;
1461
+ readonly name: Schema.Trim;
1462
+ readonly placement: Schema.Literal<"local">;
1463
+ }>;
1464
+ }>, Schema.Struct<{
1465
+ readonly agentId: Schema.String;
1466
+ readonly expectedRevision: Schema.String;
1467
+ readonly kind: Schema.Literal<"revise">;
1468
+ readonly spec: Schema.Struct<{
1469
+ readonly accountableActorId: Schema.String;
1470
+ readonly connectionId: Schema.optional<Schema.String>;
1471
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1472
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1473
+ readonly homeSessionId: Schema.optional<Schema.String>;
1474
+ readonly instruction: Schema.String;
1475
+ readonly managerAgentId: Schema.optional<Schema.String>;
1476
+ readonly model: Schema.optional<Schema.String>;
1477
+ readonly name: Schema.Trim;
1478
+ readonly placement: Schema.Literal<"local">;
1479
+ }>;
1480
+ }>, Schema.Struct<{
1481
+ readonly agentId: Schema.String;
1482
+ readonly expectedRevision: Schema.String;
1483
+ readonly kind: Schema.Literal<"disable">;
1484
+ }>]>;
1485
+ commandId: Schema.String;
1486
+ }>;
1487
+ }>, Schema.Struct<{
1488
+ readonly method: Schema.Literal<"agents.change.confirm">;
1489
+ readonly parameters: Schema.Struct<{
1490
+ readonly change: Schema.Union<readonly [Schema.Struct<{
1491
+ readonly kind: Schema.Literal<"create">;
1492
+ readonly projectId: Schema.String;
1493
+ readonly spec: Schema.Struct<{
1494
+ readonly accountableActorId: Schema.String;
1495
+ readonly connectionId: Schema.optional<Schema.String>;
1496
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1497
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1498
+ readonly homeSessionId: Schema.optional<Schema.String>;
1499
+ readonly instruction: Schema.String;
1500
+ readonly managerAgentId: Schema.optional<Schema.String>;
1501
+ readonly model: Schema.optional<Schema.String>;
1502
+ readonly name: Schema.Trim;
1503
+ readonly placement: Schema.Literal<"local">;
1504
+ }>;
1505
+ }>, Schema.Struct<{
1506
+ readonly agentId: Schema.String;
1507
+ readonly expectedRevision: Schema.String;
1508
+ readonly kind: Schema.Literal<"revise">;
1509
+ readonly spec: Schema.Struct<{
1510
+ readonly accountableActorId: Schema.String;
1511
+ readonly connectionId: Schema.optional<Schema.String>;
1512
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1513
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1514
+ readonly homeSessionId: Schema.optional<Schema.String>;
1515
+ readonly instruction: Schema.String;
1516
+ readonly managerAgentId: Schema.optional<Schema.String>;
1517
+ readonly model: Schema.optional<Schema.String>;
1518
+ readonly name: Schema.Trim;
1519
+ readonly placement: Schema.Literal<"local">;
1520
+ }>;
1521
+ }>, Schema.Struct<{
1522
+ readonly agentId: Schema.String;
1523
+ readonly expectedRevision: Schema.String;
1524
+ readonly kind: Schema.Literal<"disable">;
1525
+ }>]>;
1526
+ readonly commandId: Schema.String;
1527
+ readonly inputDigest: Schema.String;
1528
+ readonly proof: Schema.String;
1529
+ }>;
1209
1530
  }>]>, Schema.Union<readonly [Schema.Struct<{
1210
1531
  readonly method: Schema.Literal<"discovery.sessions.list">;
1211
1532
  readonly parameters: Schema.Struct<{
@@ -1244,6 +1565,26 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1244
1565
  readonly parameters: Schema.Struct<{
1245
1566
  readonly previewId: Schema.String;
1246
1567
  }>;
1568
+ }>]>, Schema.Union<readonly [Schema.Struct<{
1569
+ readonly method: Schema.Literal<"team-workspace.bootstrap.preview">;
1570
+ readonly parameters: Schema.Struct<{
1571
+ commandId: Schema.String;
1572
+ expectedBootstrapRevision: Schema.Literal<"0">;
1573
+ ownerDisplayName: Schema.String;
1574
+ schemaVersion: Schema.Literal<1>;
1575
+ workspaceName: Schema.String;
1576
+ }>;
1577
+ }>, Schema.Struct<{
1578
+ readonly method: Schema.Literal<"team-workspace.bootstrap.apply">;
1579
+ readonly parameters: Schema.Struct<{
1580
+ readonly commandId: Schema.String;
1581
+ readonly expectedBootstrapRevision: Schema.Literal<"0">;
1582
+ readonly ownerDisplayName: Schema.String;
1583
+ readonly schemaVersion: Schema.Literal<1>;
1584
+ readonly workspaceName: Schema.String;
1585
+ readonly inputDigest: Schema.String;
1586
+ readonly previewId: Schema.String;
1587
+ }>;
1247
1588
  }>]>, Schema.Union<readonly [Schema.Struct<{
1248
1589
  readonly method: Schema.Literal<"terminal.create">;
1249
1590
  readonly parameters: Schema.Union<readonly [Schema.Struct<{
@@ -1256,6 +1597,10 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1256
1597
  readonly commandId: Schema.String;
1257
1598
  readonly expectedRevision: Schema.Literal<"0">;
1258
1599
  readonly mode: Schema.Literal<"interactive">;
1600
+ readonly program: Schema.optional<Schema.Struct<{
1601
+ readonly argv: Schema.$Array<Schema.String>;
1602
+ readonly name: Schema.String;
1603
+ }>>;
1259
1604
  readonly workspaceId: Schema.String;
1260
1605
  }>]>;
1261
1606
  }>, Schema.Struct<{
@@ -1474,6 +1819,18 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1474
1819
  readonly sourceTerminalGeneration: Schema.Int;
1475
1820
  }>]>;
1476
1821
  }>]>]>, Schema.Union<readonly [Schema.Struct<{
1822
+ readonly method: Schema.Literal<"turn.cancel">;
1823
+ readonly parameters: Schema.Struct<{
1824
+ readonly commandId: Schema.String;
1825
+ readonly expectedRevision: Schema.String;
1826
+ readonly turnId: Schema.String;
1827
+ }>;
1828
+ }>, Schema.Struct<{
1829
+ readonly method: Schema.Literal<"turn.queue.list">;
1830
+ readonly parameters: Schema.Struct<{
1831
+ readonly sessionId: Schema.String;
1832
+ }>;
1833
+ }>, Schema.Struct<{
1477
1834
  readonly method: Schema.Literal<"turn.interrupt">;
1478
1835
  readonly parameters: Schema.Struct<{
1479
1836
  readonly commandId: Schema.String;
@@ -1968,7 +2325,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
1968
2325
  readonly actor: Schema.optional<Schema.String>;
1969
2326
  readonly afterCursor: Schema.optional<Schema.String>;
1970
2327
  readonly limit: Schema.Int;
1971
- readonly method: Schema.optional<Schema.Literals<readonly ["approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.login.start", "connection.state.set", "container.create.confirm", "container.rename.confirm", "execution.checkpoint.create", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.relocation.apply", "execution.relocation.reconcile", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "hold.place.confirm", "hold.release.confirm", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "interaction.cancel", "interaction.create", "interaction.respond", "node.remote.install.confirm", "node.remote.remove.confirm", "port.lease.acquire", "port.lease.release", "port.lease.renew", "project.context.record", "project.create.confirm", "project.guard.confirm", "project.register", "project.rename.confirm", "run.create", "run.dispatch.settle-terminal", "run.inbox.ack", "run.ledger.create", "run.ledger.task.dispatch", "run.ledger.task.settle", "run.question.cancel", "run.question.open", "run.question.reply", "session.adopt.confirm", "session.agent-permission.confirm", "session.archive", "session.create", "session.inbox.ack", "session.message.send", "session.rename", "session.resume", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.create", "terminal.input.write", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.detach", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "turn.interrupt", "turn.send", "voice.pi.relay", "workspace.execution.configure", "workspace.membership.attach", "workspace.repository.attach", "workspace.select"]>>;
2328
+ readonly method: Schema.optional<Schema.Literals<readonly ["agents.change.confirm", "approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.grant.set.confirm", "connection.login.start", "connection.pool.set.confirm", "connection.state.set", "connection.upkeep.confirm", "container.create.confirm", "container.rename.confirm", "execution.checkpoint.create", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.relocation.apply", "execution.relocation.reconcile", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "hold.place.confirm", "hold.release.confirm", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "interaction.cancel", "interaction.create", "interaction.respond", "node.remote.install.confirm", "node.remote.register.confirm", "node.remote.remove.confirm", "port.lease.acquire", "port.lease.release", "port.lease.renew", "project.context.record", "project.create.confirm", "project.guard.confirm", "project.register", "project.rename.confirm", "routine.create.confirm", "routine.disable.confirm", "routine.pause", "routine.resume", "routine.run.confirm", "run.create", "run.dispatch.settle-terminal", "run.inbox.ack", "run.ledger.create", "run.ledger.task.dispatch", "run.ledger.task.settle", "run.question.cancel", "run.question.open", "run.question.reply", "session.adopt.confirm", "session.agent-permission.confirm", "session.archive", "session.create", "session.inbox.ack", "session.message.send", "session.rename", "session.resume", "session.spawn", "session.start", "session.stop", "team-workspace.bootstrap.apply", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.create", "terminal.input.write", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.detach", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "turn.cancel", "turn.interrupt", "turn.send", "voice.pi.relay", "workspace.execution.configure", "workspace.membership.attach", "workspace.repository.attach", "workspace.select"]>>;
1972
2329
  readonly since: Schema.optional<Schema.String>;
1973
2330
  readonly until: Schema.optional<Schema.String>;
1974
2331
  }>;
@@ -2171,6 +2528,27 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2171
2528
  readonly parameters: Schema.Struct<{
2172
2529
  readonly includeRemoved: Schema.optional<Schema.Boolean>;
2173
2530
  }>;
2531
+ }>, Schema.Struct<{
2532
+ readonly method: Schema.Literal<"node.remote.register.preview">;
2533
+ readonly parameters: Schema.Struct<{
2534
+ commandId: Schema.String;
2535
+ host: Schema.String;
2536
+ launcherPath: Schema.optional<Schema.String>;
2537
+ name: Schema.String;
2538
+ profile: Schema.optional<Schema.String>;
2539
+ }>;
2540
+ }>, Schema.Struct<{
2541
+ readonly method: Schema.Literal<"node.remote.register.confirm">;
2542
+ readonly parameters: Schema.Struct<{
2543
+ readonly commandId: Schema.String;
2544
+ readonly host: Schema.String;
2545
+ readonly launcherPath: Schema.optional<Schema.String>;
2546
+ readonly name: Schema.String;
2547
+ readonly profile: Schema.optional<Schema.String>;
2548
+ readonly inputDigest: Schema.String;
2549
+ readonly planDigest: Schema.String;
2550
+ readonly proof: Schema.String;
2551
+ }>;
2174
2552
  }>, Schema.Struct<{
2175
2553
  readonly method: Schema.Literal<"node.remote.remove.preview">;
2176
2554
  readonly parameters: Schema.Struct<{
@@ -2190,6 +2568,103 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2190
2568
  readonly proof: Schema.String;
2191
2569
  readonly waitMs: Schema.optional<Schema.Int>;
2192
2570
  }>;
2571
+ }>]>, Schema.Union<readonly [Schema.Struct<{
2572
+ readonly method: Schema.Literal<"routine.list">;
2573
+ readonly parameters: Schema.Struct<{
2574
+ readonly afterCursor: Schema.optional<Schema.String>;
2575
+ readonly limit: Schema.Int;
2576
+ readonly projectId: Schema.optional<Schema.String>;
2577
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled", "paused"]>>;
2578
+ }>;
2579
+ }>, Schema.Struct<{
2580
+ readonly method: Schema.Literal<"routine.show">;
2581
+ readonly parameters: Schema.Struct<{
2582
+ readonly routineId: Schema.String;
2583
+ }>;
2584
+ }>, Schema.Struct<{
2585
+ readonly method: Schema.Literal<"routine.create.preview">;
2586
+ readonly parameters: Schema.Struct<{
2587
+ commandId: Schema.String;
2588
+ name: Schema.Trim;
2589
+ paused: Schema.optional<Schema.Boolean>;
2590
+ schedule: Schema.Struct<{
2591
+ readonly expression: Schema.String;
2592
+ readonly timezone: Schema.String;
2593
+ }>;
2594
+ template: Schema.Struct<{
2595
+ readonly connectionId: Schema.optional<Schema.String>;
2596
+ readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
2597
+ readonly model: Schema.optional<Schema.String>;
2598
+ readonly projectId: Schema.String;
2599
+ readonly prompt: Schema.String;
2600
+ }>;
2601
+ }>;
2602
+ }>, Schema.Struct<{
2603
+ readonly method: Schema.Literal<"routine.create.confirm">;
2604
+ readonly parameters: Schema.Struct<{
2605
+ readonly commandId: Schema.String;
2606
+ readonly name: Schema.Trim;
2607
+ readonly paused: Schema.optional<Schema.Boolean>;
2608
+ readonly schedule: Schema.Struct<{
2609
+ readonly expression: Schema.String;
2610
+ readonly timezone: Schema.String;
2611
+ }>;
2612
+ readonly template: Schema.Struct<{
2613
+ readonly connectionId: Schema.optional<Schema.String>;
2614
+ readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
2615
+ readonly model: Schema.optional<Schema.String>;
2616
+ readonly projectId: Schema.String;
2617
+ readonly prompt: Schema.String;
2618
+ }>;
2619
+ readonly inputDigest: Schema.String;
2620
+ readonly proof: Schema.String;
2621
+ }>;
2622
+ }>, Schema.Struct<{
2623
+ readonly method: Schema.Literal<"routine.pause">;
2624
+ readonly parameters: Schema.Struct<{
2625
+ commandId: Schema.String;
2626
+ expectedRevision: Schema.String;
2627
+ routineId: Schema.String;
2628
+ }>;
2629
+ }>, Schema.Struct<{
2630
+ readonly method: Schema.Literal<"routine.resume">;
2631
+ readonly parameters: Schema.Struct<{
2632
+ commandId: Schema.String;
2633
+ expectedRevision: Schema.String;
2634
+ routineId: Schema.String;
2635
+ }>;
2636
+ }>, Schema.Struct<{
2637
+ readonly method: Schema.Literal<"routine.disable.preview">;
2638
+ readonly parameters: Schema.Struct<{
2639
+ commandId: Schema.String;
2640
+ expectedRevision: Schema.String;
2641
+ routineId: Schema.String;
2642
+ }>;
2643
+ }>, Schema.Struct<{
2644
+ readonly method: Schema.Literal<"routine.disable.confirm">;
2645
+ readonly parameters: Schema.Struct<{
2646
+ readonly inputDigest: Schema.String;
2647
+ readonly proof: Schema.String;
2648
+ readonly commandId: Schema.String;
2649
+ readonly expectedRevision: Schema.String;
2650
+ readonly routineId: Schema.String;
2651
+ }>;
2652
+ }>, Schema.Struct<{
2653
+ readonly method: Schema.Literal<"routine.run.preview">;
2654
+ readonly parameters: Schema.Struct<{
2655
+ commandId: Schema.String;
2656
+ expectedRevision: Schema.String;
2657
+ routineId: Schema.String;
2658
+ }>;
2659
+ }>, Schema.Struct<{
2660
+ readonly method: Schema.Literal<"routine.run.confirm">;
2661
+ readonly parameters: Schema.Struct<{
2662
+ readonly inputDigest: Schema.String;
2663
+ readonly proof: Schema.String;
2664
+ readonly commandId: Schema.String;
2665
+ readonly expectedRevision: Schema.String;
2666
+ readonly routineId: Schema.String;
2667
+ }>;
2193
2668
  }>]>, Schema.Union<readonly [Schema.Struct<{
2194
2669
  readonly method: Schema.Literal<"run.ledger.create">;
2195
2670
  readonly parameters: Schema.Struct<{
@@ -2414,12 +2889,14 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2414
2889
  readonly commandId: Schema.String;
2415
2890
  readonly expectedRevision: Schema.Literal<"0">;
2416
2891
  readonly workspaceId: Schema.String;
2892
+ readonly agentId: Schema.optional<Schema.String>;
2417
2893
  readonly connectionId: Schema.optional<Schema.String>;
2418
2894
  readonly definitionRef: Schema.optional<Schema.Struct<{
2419
2895
  readonly contentDigest: Schema.String;
2420
2896
  readonly key: Schema.String;
2421
2897
  readonly version: Schema.String;
2422
2898
  }>>;
2899
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
2423
2900
  readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
2424
2901
  readonly model: Schema.optional<Schema.String>;
2425
2902
  readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
@@ -2442,6 +2919,13 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2442
2919
  readonly parameters: Schema.Struct<{
2443
2920
  readonly sessionId: Schema.String;
2444
2921
  }>;
2922
+ }>, Schema.Struct<{
2923
+ readonly method: Schema.Literal<"session.wait">;
2924
+ readonly parameters: Schema.Struct<{
2925
+ readonly sessionId: Schema.String;
2926
+ readonly states: Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>;
2927
+ readonly waitMilliseconds: Schema.Int;
2928
+ }>;
2445
2929
  }>, Schema.Struct<{
2446
2930
  readonly method: Schema.Literal<"session.spawn">;
2447
2931
  readonly parameters: Schema.Struct<{
@@ -2541,7 +3025,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2541
3025
  }>;
2542
3026
  readonly expectedSessionRevision: Schema.String;
2543
3027
  readonly expectedWorkspaceRevision: Schema.String;
2544
- readonly operationIds: Schema.$Array<Schema.Literals<readonly ["approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.list", "connection.login.start", "connection.models.list", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.interrupt", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
3028
+ readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "session.wait", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
2545
3029
  readonly sessionId: Schema.String;
2546
3030
  readonly workspaceId: Schema.String;
2547
3031
  readonly commandId: Schema.String;
@@ -2556,7 +3040,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2556
3040
  }>;
2557
3041
  readonly expectedSessionRevision: Schema.String;
2558
3042
  readonly expectedWorkspaceRevision: Schema.String;
2559
- readonly operationIds: Schema.$Array<Schema.Literals<readonly ["approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.list", "connection.login.start", "connection.models.list", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.interrupt", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
3043
+ readonly operationIds: Schema.$Array<Schema.Literals<readonly ["agents.change.confirm", "agents.change.preview", "agents.list", "agents.show", "approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.grant.list", "connection.grant.set.confirm", "connection.grant.set.preview", "connection.list", "connection.login.start", "connection.models.list", "connection.pool.list", "connection.pool.set.confirm", "connection.pool.set.preview", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.upkeep.confirm", "connection.upkeep.preview", "connection.upkeep.refresh", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.register.confirm", "node.remote.register.preview", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "routine.create.confirm", "routine.create.preview", "routine.disable.confirm", "routine.disable.preview", "routine.list", "routine.pause", "routine.resume", "routine.run.confirm", "routine.run.preview", "routine.show", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "session.wait", "team-workspace.bootstrap.apply", "team-workspace.bootstrap.preview", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.cancel", "turn.interrupt", "turn.queue.list", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
2560
3044
  readonly sessionId: Schema.String;
2561
3045
  readonly workspaceId: Schema.String;
2562
3046
  readonly commandId: Schema.String;
@@ -2629,7 +3113,28 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2629
3113
  }>;
2630
3114
  }>, Schema.Struct<{
2631
3115
  readonly method: Schema.Literal<"connection.detect">;
3116
+ readonly parameters: Schema.Struct<{
3117
+ readonly upkeep: Schema.optional<Schema.Boolean>;
3118
+ }>;
3119
+ }>, Schema.Struct<{
3120
+ readonly method: Schema.Literal<"connection.upkeep.refresh">;
2632
3121
  readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
3122
+ }>, Schema.Struct<{
3123
+ readonly method: Schema.Literal<"connection.upkeep.preview">;
3124
+ readonly parameters: Schema.Struct<{
3125
+ commandId: Schema.String;
3126
+ executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
3127
+ policy: Schema.Literals<readonly ["notify", "off"]>;
3128
+ }>;
3129
+ }>, Schema.Struct<{
3130
+ readonly method: Schema.Literal<"connection.upkeep.confirm">;
3131
+ readonly parameters: Schema.Struct<{
3132
+ readonly commandId: Schema.String;
3133
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
3134
+ readonly policy: Schema.Literals<readonly ["notify", "off"]>;
3135
+ readonly inputDigest: Schema.String;
3136
+ readonly proof: Schema.String;
3137
+ }>;
2633
3138
  }>, Schema.Struct<{
2634
3139
  readonly method: Schema.Literal<"connection.system.preview">;
2635
3140
  readonly parameters: Schema.Struct<{
@@ -2644,6 +3149,78 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2644
3149
  readonly inputDigest: Schema.String;
2645
3150
  readonly proof: Schema.String;
2646
3151
  }>;
3152
+ }>, Schema.Struct<{
3153
+ readonly method: Schema.Literal<"connection.grant.list">;
3154
+ readonly parameters: Schema.Struct<{
3155
+ readonly afterCursor: Schema.optional<Schema.String>;
3156
+ readonly limit: Schema.Int;
3157
+ readonly scope: Schema.optional<Schema.Struct<{
3158
+ readonly id: Schema.String;
3159
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3160
+ }>>;
3161
+ readonly connectionId: Schema.optional<Schema.String>;
3162
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "revoked"]>>;
3163
+ }>;
3164
+ }>, Schema.Struct<{
3165
+ readonly method: Schema.Literal<"connection.grant.set.preview">;
3166
+ readonly parameters: Schema.Struct<{
3167
+ commandId: Schema.String;
3168
+ connectionId: Schema.String;
3169
+ granted: Schema.Boolean;
3170
+ scope: Schema.Struct<{
3171
+ readonly id: Schema.String;
3172
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3173
+ }>;
3174
+ }>;
3175
+ }>, Schema.Struct<{
3176
+ readonly method: Schema.Literal<"connection.grant.set.confirm">;
3177
+ readonly parameters: Schema.Struct<{
3178
+ readonly inputDigest: Schema.String;
3179
+ readonly proof: Schema.String;
3180
+ readonly commandId: Schema.String;
3181
+ readonly connectionId: Schema.String;
3182
+ readonly granted: Schema.Boolean;
3183
+ readonly scope: Schema.Struct<{
3184
+ readonly id: Schema.String;
3185
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3186
+ }>;
3187
+ readonly expectedRevision: Schema.String;
3188
+ }>;
3189
+ }>, Schema.Struct<{
3190
+ readonly method: Schema.Literal<"connection.pool.list">;
3191
+ readonly parameters: Schema.Struct<{
3192
+ afterCursor: Schema.optional<Schema.String>;
3193
+ limit: Schema.Int;
3194
+ scope: Schema.optional<Schema.Struct<{
3195
+ readonly id: Schema.String;
3196
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3197
+ }>>;
3198
+ }>;
3199
+ }>, Schema.Struct<{
3200
+ readonly method: Schema.Literal<"connection.pool.set.preview">;
3201
+ readonly parameters: Schema.Struct<{
3202
+ commandId: Schema.String;
3203
+ members: Schema.$Array<Schema.String>;
3204
+ mode: Schema.Literals<readonly ["off", "rotate", "single"]>;
3205
+ scope: Schema.Struct<{
3206
+ readonly id: Schema.String;
3207
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3208
+ }>;
3209
+ }>;
3210
+ }>, Schema.Struct<{
3211
+ readonly method: Schema.Literal<"connection.pool.set.confirm">;
3212
+ readonly parameters: Schema.Struct<{
3213
+ readonly inputDigest: Schema.String;
3214
+ readonly proof: Schema.String;
3215
+ readonly commandId: Schema.String;
3216
+ readonly members: Schema.$Array<Schema.String>;
3217
+ readonly mode: Schema.Literals<readonly ["off", "rotate", "single"]>;
3218
+ readonly scope: Schema.Struct<{
3219
+ readonly id: Schema.String;
3220
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3221
+ }>;
3222
+ readonly expectedRevision: Schema.String;
3223
+ }>;
2647
3224
  }>]>, Schema.Union<readonly [Schema.Struct<{
2648
3225
  readonly method: Schema.Literal<"container.list">;
2649
3226
  readonly parameters: Schema.Struct<{
@@ -2742,6 +3319,104 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2742
3319
  readonly inputDigest: Schema.String;
2743
3320
  readonly proof: Schema.String;
2744
3321
  }>;
3322
+ }>]>, Schema.Union<readonly [Schema.Struct<{
3323
+ readonly method: Schema.Literal<"agents.list">;
3324
+ readonly parameters: Schema.Struct<{
3325
+ readonly afterCursor: Schema.optional<Schema.String>;
3326
+ readonly limit: Schema.Int;
3327
+ readonly projectId: Schema.String;
3328
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled"]>>;
3329
+ }>;
3330
+ }>, Schema.Struct<{
3331
+ readonly method: Schema.Literal<"agents.show">;
3332
+ readonly parameters: Schema.Struct<{
3333
+ readonly agentId: Schema.String;
3334
+ readonly revision: Schema.optional<Schema.String>;
3335
+ }>;
3336
+ }>, Schema.Struct<{
3337
+ readonly method: Schema.Literal<"agents.change.preview">;
3338
+ readonly parameters: Schema.Struct<{
3339
+ change: Schema.Union<readonly [Schema.Struct<{
3340
+ readonly kind: Schema.Literal<"create">;
3341
+ readonly projectId: Schema.String;
3342
+ readonly spec: Schema.Struct<{
3343
+ readonly accountableActorId: Schema.String;
3344
+ readonly connectionId: Schema.optional<Schema.String>;
3345
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3346
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3347
+ readonly homeSessionId: Schema.optional<Schema.String>;
3348
+ readonly instruction: Schema.String;
3349
+ readonly managerAgentId: Schema.optional<Schema.String>;
3350
+ readonly model: Schema.optional<Schema.String>;
3351
+ readonly name: Schema.Trim;
3352
+ readonly placement: Schema.Literal<"local">;
3353
+ }>;
3354
+ }>, Schema.Struct<{
3355
+ readonly agentId: Schema.String;
3356
+ readonly expectedRevision: Schema.String;
3357
+ readonly kind: Schema.Literal<"revise">;
3358
+ readonly spec: Schema.Struct<{
3359
+ readonly accountableActorId: Schema.String;
3360
+ readonly connectionId: Schema.optional<Schema.String>;
3361
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3362
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3363
+ readonly homeSessionId: Schema.optional<Schema.String>;
3364
+ readonly instruction: Schema.String;
3365
+ readonly managerAgentId: Schema.optional<Schema.String>;
3366
+ readonly model: Schema.optional<Schema.String>;
3367
+ readonly name: Schema.Trim;
3368
+ readonly placement: Schema.Literal<"local">;
3369
+ }>;
3370
+ }>, Schema.Struct<{
3371
+ readonly agentId: Schema.String;
3372
+ readonly expectedRevision: Schema.String;
3373
+ readonly kind: Schema.Literal<"disable">;
3374
+ }>]>;
3375
+ commandId: Schema.String;
3376
+ }>;
3377
+ }>, Schema.Struct<{
3378
+ readonly method: Schema.Literal<"agents.change.confirm">;
3379
+ readonly parameters: Schema.Struct<{
3380
+ readonly change: Schema.Union<readonly [Schema.Struct<{
3381
+ readonly kind: Schema.Literal<"create">;
3382
+ readonly projectId: Schema.String;
3383
+ readonly spec: Schema.Struct<{
3384
+ readonly accountableActorId: Schema.String;
3385
+ readonly connectionId: Schema.optional<Schema.String>;
3386
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3387
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3388
+ readonly homeSessionId: Schema.optional<Schema.String>;
3389
+ readonly instruction: Schema.String;
3390
+ readonly managerAgentId: Schema.optional<Schema.String>;
3391
+ readonly model: Schema.optional<Schema.String>;
3392
+ readonly name: Schema.Trim;
3393
+ readonly placement: Schema.Literal<"local">;
3394
+ }>;
3395
+ }>, Schema.Struct<{
3396
+ readonly agentId: Schema.String;
3397
+ readonly expectedRevision: Schema.String;
3398
+ readonly kind: Schema.Literal<"revise">;
3399
+ readonly spec: Schema.Struct<{
3400
+ readonly accountableActorId: Schema.String;
3401
+ readonly connectionId: Schema.optional<Schema.String>;
3402
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3403
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3404
+ readonly homeSessionId: Schema.optional<Schema.String>;
3405
+ readonly instruction: Schema.String;
3406
+ readonly managerAgentId: Schema.optional<Schema.String>;
3407
+ readonly model: Schema.optional<Schema.String>;
3408
+ readonly name: Schema.Trim;
3409
+ readonly placement: Schema.Literal<"local">;
3410
+ }>;
3411
+ }>, Schema.Struct<{
3412
+ readonly agentId: Schema.String;
3413
+ readonly expectedRevision: Schema.String;
3414
+ readonly kind: Schema.Literal<"disable">;
3415
+ }>]>;
3416
+ readonly commandId: Schema.String;
3417
+ readonly inputDigest: Schema.String;
3418
+ readonly proof: Schema.String;
3419
+ }>;
2745
3420
  }>]>, Schema.Union<readonly [Schema.Struct<{
2746
3421
  readonly method: Schema.Literal<"discovery.sessions.list">;
2747
3422
  readonly parameters: Schema.Struct<{
@@ -2780,6 +3455,26 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2780
3455
  readonly parameters: Schema.Struct<{
2781
3456
  readonly previewId: Schema.String;
2782
3457
  }>;
3458
+ }>]>, Schema.Union<readonly [Schema.Struct<{
3459
+ readonly method: Schema.Literal<"team-workspace.bootstrap.preview">;
3460
+ readonly parameters: Schema.Struct<{
3461
+ commandId: Schema.String;
3462
+ expectedBootstrapRevision: Schema.Literal<"0">;
3463
+ ownerDisplayName: Schema.String;
3464
+ schemaVersion: Schema.Literal<1>;
3465
+ workspaceName: Schema.String;
3466
+ }>;
3467
+ }>, Schema.Struct<{
3468
+ readonly method: Schema.Literal<"team-workspace.bootstrap.apply">;
3469
+ readonly parameters: Schema.Struct<{
3470
+ readonly commandId: Schema.String;
3471
+ readonly expectedBootstrapRevision: Schema.Literal<"0">;
3472
+ readonly ownerDisplayName: Schema.String;
3473
+ readonly schemaVersion: Schema.Literal<1>;
3474
+ readonly workspaceName: Schema.String;
3475
+ readonly inputDigest: Schema.String;
3476
+ readonly previewId: Schema.String;
3477
+ }>;
2783
3478
  }>]>, Schema.Union<readonly [Schema.Struct<{
2784
3479
  readonly method: Schema.Literal<"terminal.create">;
2785
3480
  readonly parameters: Schema.Union<readonly [Schema.Struct<{
@@ -2792,6 +3487,10 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2792
3487
  readonly commandId: Schema.String;
2793
3488
  readonly expectedRevision: Schema.Literal<"0">;
2794
3489
  readonly mode: Schema.Literal<"interactive">;
3490
+ readonly program: Schema.optional<Schema.Struct<{
3491
+ readonly argv: Schema.$Array<Schema.String>;
3492
+ readonly name: Schema.String;
3493
+ }>>;
2795
3494
  readonly workspaceId: Schema.String;
2796
3495
  }>]>;
2797
3496
  }>, Schema.Struct<{
@@ -3010,6 +3709,18 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
3010
3709
  readonly sourceTerminalGeneration: Schema.Int;
3011
3710
  }>]>;
3012
3711
  }>]>]>, Schema.Union<readonly [Schema.Struct<{
3712
+ readonly method: Schema.Literal<"turn.cancel">;
3713
+ readonly parameters: Schema.Struct<{
3714
+ readonly commandId: Schema.String;
3715
+ readonly expectedRevision: Schema.String;
3716
+ readonly turnId: Schema.String;
3717
+ }>;
3718
+ }>, Schema.Struct<{
3719
+ readonly method: Schema.Literal<"turn.queue.list">;
3720
+ readonly parameters: Schema.Struct<{
3721
+ readonly sessionId: Schema.String;
3722
+ }>;
3723
+ }>, Schema.Struct<{
3013
3724
  readonly method: Schema.Literal<"turn.interrupt">;
3014
3725
  readonly parameters: Schema.Struct<{
3015
3726
  readonly commandId: Schema.String;
@@ -3116,6 +3827,11 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
3116
3827
  readonly pid: Schema.Int;
3117
3828
  readonly profile: Schema.String;
3118
3829
  readonly startedAt: Schema.String;
3830
+ readonly executorHost: Schema.optional<Schema.Struct<{
3831
+ readonly bubblewrap: Schema.Literals<readonly ["found", "missing"]>;
3832
+ readonly socat: Schema.Literals<readonly ["found", "missing"]>;
3833
+ readonly userNamespaces: Schema.Literals<readonly ["allowed", "no_nesting", "restricted"]>;
3834
+ }>>;
3119
3835
  readonly method: Schema.Literal<"node.status">;
3120
3836
  readonly processResources: Schema.Struct<{
3121
3837
  readonly activeTrees: Schema.Int;
@@ -3150,7 +3866,7 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
3150
3866
  }>]>;
3151
3867
  readonly cleanupUnknownTrees: Schema.Int;
3152
3868
  readonly fencedTrees: Schema.Int;
3153
- readonly nextStep: Schema.Literals<readonly ["close_idle_terminal", "inspect_cleanup_unknown", "inspect_observed_pressure", "none", "verify_native_host"]>;
3869
+ readonly nextStep: Schema.Literals<readonly ["close_idle_terminal", "inspect_cleanup_unknown", "inspect_observed_pressure", "none", "run_node_in_delegated_cgroup", "verify_native_host"]>;
3154
3870
  readonly observations: Schema.Struct<{
3155
3871
  readonly cpuTimeMilliseconds: Schema.Struct<{
3156
3872
  readonly availableTrees: Schema.Int;
@@ -3210,7 +3926,7 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
3210
3926
  }>;
3211
3927
  readonly treeCount: Schema.Int;
3212
3928
  }>;
3213
- readonly pressure: Schema.Literals<readonly ["admission_degraded", "cleanup_unknown", "healthy", "observed_pressure", "warning"]>;
3929
+ readonly pressure: Schema.Literals<readonly ["admission_degraded", "cgroup_delegation_unavailable", "cleanup_unknown", "healthy", "observed_pressure", "warning"]>;
3214
3930
  readonly supervision: Schema.Struct<{
3215
3931
  readonly trackedTrees: Schema.Int;
3216
3932
  readonly watcherFibers: Schema.Int;
@@ -3253,6 +3969,7 @@ type LocalNodeSuccessResultMembers = readonly [
3253
3969
  typeof portLeaseResultEffectSchema,
3254
3970
  typeof referenceResultEffectSchema,
3255
3971
  typeof remoteNodeResultEffectSchema,
3972
+ typeof routineResultEffectSchema,
3256
3973
  typeof runLedgerResultEffectSchema,
3257
3974
  typeof projectGuardResultEffectSchema,
3258
3975
  typeof projectWorkspaceSuccessResultEffectSchema,
@@ -3263,7 +3980,9 @@ type LocalNodeSuccessResultMembers = readonly [
3263
3980
  typeof connectionResultEffectSchema,
3264
3981
  typeof containerResultEffectSchema,
3265
3982
  typeof holdResultEffectSchema,
3983
+ typeof agentsResultEffectSchema,
3266
3984
  typeof discoveryResultEffectSchema,
3985
+ typeof teamWorkspaceResultEffectSchema,
3267
3986
  typeof terminalSuccessResultEffectSchema,
3268
3987
  typeof turnSuccessResultEffectSchema,
3269
3988
  typeof voiceSuccessResultEffectSchema