@maiaos/protocol 0.1.0-canary.2 → 0.1.0-canary.4

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 (266) 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 +66 -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/execution/worktree/effect-schema.d.ts.map +1 -1
  54. package/dist/execution/worktree/effect-schema.js +10 -2
  55. package/dist/execution/worktree/effect-schema.js.map +1 -1
  56. package/dist/feature/registry.d.ts +7 -1
  57. package/dist/feature/registry.d.ts.map +1 -1
  58. package/dist/feature/registry.js +6 -0
  59. package/dist/feature/registry.js.map +1 -1
  60. package/dist/index.d.ts +11 -5
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.js +11 -5
  63. package/dist/index.js.map +1 -1
  64. package/dist/invocation-context/contract.d.ts +11 -1
  65. package/dist/invocation-context/contract.d.ts.map +1 -1
  66. package/dist/invocation-context/effect-schema.d.ts +24 -2
  67. package/dist/invocation-context/effect-schema.d.ts.map +1 -1
  68. package/dist/invocation-context/effect-schema.js +19 -1
  69. package/dist/invocation-context/effect-schema.js.map +1 -1
  70. package/dist/local-node/contract.d.ts +16 -8
  71. package/dist/local-node/contract.d.ts.map +1 -1
  72. package/dist/local-node/contract.js.map +1 -1
  73. package/dist/local-node/effect-schema.d.ts +714 -9
  74. package/dist/local-node/effect-schema.d.ts.map +1 -1
  75. package/dist/local-node/effect-schema.js +33 -0
  76. package/dist/local-node/effect-schema.js.map +1 -1
  77. package/dist/local-node/node-api/methods.d.ts +32 -3
  78. package/dist/local-node/node-api/methods.d.ts.map +1 -1
  79. package/dist/local-node/node-api/methods.js +58 -0
  80. package/dist/local-node/node-api/methods.js.map +1 -1
  81. package/dist/local-node/receipt-list.d.ts +1 -1
  82. package/dist/local-node/receipt-list.d.ts.map +1 -1
  83. package/dist/local-node/receipt-list.js +12 -0
  84. package/dist/local-node/receipt-list.js.map +1 -1
  85. package/dist/machine-lease/contract.d.ts +90 -0
  86. package/dist/machine-lease/contract.d.ts.map +1 -0
  87. package/dist/machine-lease/contract.js +8 -0
  88. package/dist/machine-lease/contract.js.map +1 -0
  89. package/dist/machine-lease/effect-schema.d.ts +85 -0
  90. package/dist/machine-lease/effect-schema.d.ts.map +1 -0
  91. package/dist/machine-lease/effect-schema.js +78 -0
  92. package/dist/machine-lease/effect-schema.js.map +1 -0
  93. package/dist/machine-lease/index.d.ts +3 -0
  94. package/dist/machine-lease/index.d.ts.map +1 -0
  95. package/dist/machine-lease/index.js +3 -0
  96. package/dist/machine-lease/index.js.map +1 -0
  97. package/dist/machine-lease/policy.d.ts +12 -0
  98. package/dist/machine-lease/policy.d.ts.map +1 -0
  99. package/dist/machine-lease/policy.js +12 -0
  100. package/dist/machine-lease/policy.js.map +1 -0
  101. package/dist/machine-principal/contract.d.ts +14 -0
  102. package/dist/machine-principal/contract.d.ts.map +1 -0
  103. package/dist/machine-principal/contract.js +5 -0
  104. package/dist/machine-principal/contract.js.map +1 -0
  105. package/dist/machine-principal/effect-schema.d.ts +12 -0
  106. package/dist/machine-principal/effect-schema.d.ts.map +1 -0
  107. package/dist/machine-principal/effect-schema.js +25 -0
  108. package/dist/machine-principal/effect-schema.js.map +1 -0
  109. package/dist/machine-principal/index.d.ts +2 -0
  110. package/dist/machine-principal/index.d.ts.map +1 -0
  111. package/dist/machine-principal/index.js +2 -0
  112. package/dist/machine-principal/index.js.map +1 -0
  113. package/dist/machine-principal/policy.d.ts +5 -0
  114. package/dist/machine-principal/policy.d.ts.map +1 -0
  115. package/dist/machine-principal/policy.js +5 -0
  116. package/dist/machine-principal/policy.js.map +1 -0
  117. package/dist/presentation/contract.d.ts +1 -0
  118. package/dist/presentation/contract.d.ts.map +1 -1
  119. package/dist/presentation/effect-schema.d.ts +1 -0
  120. package/dist/presentation/effect-schema.d.ts.map +1 -1
  121. package/dist/presentation/session-list-effect-schema.d.ts +1 -0
  122. package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
  123. package/dist/release/contract.d.ts +2 -0
  124. package/dist/release/contract.d.ts.map +1 -0
  125. package/dist/release/contract.js +4 -0
  126. package/dist/release/contract.js.map +1 -0
  127. package/dist/release/effect-schema.d.ts +3 -0
  128. package/dist/release/effect-schema.d.ts.map +1 -0
  129. package/dist/release/effect-schema.js +4 -0
  130. package/dist/release/effect-schema.js.map +1 -0
  131. package/dist/release/index.d.ts +3 -0
  132. package/dist/release/index.d.ts.map +1 -0
  133. package/dist/release/index.js +3 -0
  134. package/dist/release/index.js.map +1 -0
  135. package/dist/release/version.d.ts +29 -0
  136. package/dist/release/version.d.ts.map +1 -0
  137. package/dist/release/version.js +77 -0
  138. package/dist/release/version.js.map +1 -0
  139. package/dist/remote-node/bridge-effect-schema.d.ts +72 -2
  140. package/dist/remote-node/bridge-effect-schema.d.ts.map +1 -1
  141. package/dist/remote-node/bridge-effect-schema.js +64 -3
  142. package/dist/remote-node/bridge-effect-schema.js.map +1 -1
  143. package/dist/remote-node/contract.d.ts +163 -10
  144. package/dist/remote-node/contract.d.ts.map +1 -1
  145. package/dist/remote-node/contract.js +22 -3
  146. package/dist/remote-node/contract.js.map +1 -1
  147. package/dist/remote-node/index.d.ts +1 -1
  148. package/dist/remote-node/index.d.ts.map +1 -1
  149. package/dist/remote-node/index.js +1 -1
  150. package/dist/remote-node/index.js.map +1 -1
  151. package/dist/remote-node/request-effect-schema.d.ts +42 -0
  152. package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
  153. package/dist/remote-node/request-effect-schema.js +25 -0
  154. package/dist/remote-node/request-effect-schema.js.map +1 -1
  155. package/dist/remote-node/result-effect-schema.d.ts +196 -21
  156. package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
  157. package/dist/remote-node/result-effect-schema.js +42 -8
  158. package/dist/remote-node/result-effect-schema.js.map +1 -1
  159. package/dist/routine/contract.d.ts +470 -0
  160. package/dist/routine/contract.d.ts.map +1 -0
  161. package/dist/routine/contract.js +27 -0
  162. package/dist/routine/contract.js.map +1 -0
  163. package/dist/routine/effect-schema.d.ts +923 -0
  164. package/dist/routine/effect-schema.d.ts.map +1 -0
  165. package/dist/routine/effect-schema.js +268 -0
  166. package/dist/routine/effect-schema.js.map +1 -0
  167. package/dist/routine/feature.d.ts +263 -0
  168. package/dist/routine/feature.d.ts.map +1 -0
  169. package/dist/routine/feature.js +249 -0
  170. package/dist/routine/feature.js.map +1 -0
  171. package/dist/routine/index.d.ts +3 -0
  172. package/dist/routine/index.d.ts.map +1 -0
  173. package/dist/routine/index.js +3 -0
  174. package/dist/routine/index.js.map +1 -0
  175. package/dist/routine/policy.d.ts +15 -0
  176. package/dist/routine/policy.d.ts.map +1 -0
  177. package/dist/routine/policy.js +31 -0
  178. package/dist/routine/policy.js.map +1 -0
  179. package/dist/session/agent-permission-contract.d.ts +5 -5
  180. package/dist/session/agent-permission-effect-schema.d.ts +9 -9
  181. package/dist/session/contract.d.ts +13 -0
  182. package/dist/session/contract.d.ts.map +1 -1
  183. package/dist/session/effect-schema.d.ts +40 -5
  184. package/dist/session/effect-schema.d.ts.map +1 -1
  185. package/dist/session/effect-schema.js +33 -12
  186. package/dist/session/effect-schema.js.map +1 -1
  187. package/dist/session/feature.d.ts +58 -0
  188. package/dist/session/feature.d.ts.map +1 -1
  189. package/dist/session/feature.js +54 -0
  190. package/dist/session/feature.js.map +1 -1
  191. package/dist/session/index.d.ts +1 -1
  192. package/dist/session/index.d.ts.map +1 -1
  193. package/dist/session/index.js +1 -1
  194. package/dist/session/index.js.map +1 -1
  195. package/dist/session/policy.d.ts +23 -0
  196. package/dist/session/policy.d.ts.map +1 -1
  197. package/dist/session/policy.js +23 -0
  198. package/dist/session/policy.js.map +1 -1
  199. package/dist/session/stop-resume-contract.d.ts +2 -0
  200. package/dist/session/stop-resume-contract.d.ts.map +1 -1
  201. package/dist/session-guard/contract.d.ts +5 -2
  202. package/dist/session-guard/contract.d.ts.map +1 -1
  203. package/dist/session-guard/contract.js +13 -2
  204. package/dist/session-guard/contract.js.map +1 -1
  205. package/dist/team-workspace/contract.d.ts +77 -0
  206. package/dist/team-workspace/contract.d.ts.map +1 -0
  207. package/dist/team-workspace/contract.js +8 -0
  208. package/dist/team-workspace/contract.js.map +1 -0
  209. package/dist/team-workspace/effect-schema.d.ts +142 -0
  210. package/dist/team-workspace/effect-schema.d.ts.map +1 -0
  211. package/dist/team-workspace/effect-schema.js +102 -0
  212. package/dist/team-workspace/effect-schema.js.map +1 -0
  213. package/dist/team-workspace/feature.d.ts +54 -0
  214. package/dist/team-workspace/feature.d.ts.map +1 -0
  215. package/dist/team-workspace/feature.js +59 -0
  216. package/dist/team-workspace/feature.js.map +1 -0
  217. package/dist/team-workspace/index.d.ts +3 -0
  218. package/dist/team-workspace/index.d.ts.map +1 -0
  219. package/dist/team-workspace/index.js +3 -0
  220. package/dist/team-workspace/index.js.map +1 -0
  221. package/dist/team-workspace/policy.d.ts +9 -0
  222. package/dist/team-workspace/policy.d.ts.map +1 -0
  223. package/dist/team-workspace/policy.js +19 -0
  224. package/dist/team-workspace/policy.js.map +1 -0
  225. package/dist/terminal/contract.d.ts +65 -56
  226. package/dist/terminal/contract.d.ts.map +1 -1
  227. package/dist/terminal/effect-schema.d.ts +400 -382
  228. package/dist/terminal/effect-schema.d.ts.map +1 -1
  229. package/dist/terminal/effect-schema.js +12 -0
  230. package/dist/terminal/effect-schema.js.map +1 -1
  231. package/dist/terminal/index.d.ts +1 -1
  232. package/dist/terminal/index.d.ts.map +1 -1
  233. package/dist/terminal/index.js +1 -1
  234. package/dist/terminal/index.js.map +1 -1
  235. package/dist/terminal/live-effect-schema.d.ts +630 -621
  236. package/dist/terminal/live-effect-schema.d.ts.map +1 -1
  237. package/dist/terminal/live-effect-schema.js +15 -2
  238. package/dist/terminal/live-effect-schema.js.map +1 -1
  239. package/dist/terminal/live-policy.d.ts +9 -0
  240. package/dist/terminal/live-policy.d.ts.map +1 -1
  241. package/dist/terminal/live-policy.js +9 -0
  242. package/dist/terminal/live-policy.js.map +1 -1
  243. package/dist/terminal/live-types.d.ts +7 -1
  244. package/dist/terminal/live-types.d.ts.map +1 -1
  245. package/dist/turn/contract.d.ts +166 -1
  246. package/dist/turn/contract.d.ts.map +1 -1
  247. package/dist/turn/contract.js +10 -1
  248. package/dist/turn/contract.js.map +1 -1
  249. package/dist/turn/effect-schema.d.ts +325 -0
  250. package/dist/turn/effect-schema.d.ts.map +1 -1
  251. package/dist/turn/effect-schema.js +50 -2
  252. package/dist/turn/effect-schema.js.map +1 -1
  253. package/dist/turn/index.d.ts +2 -2
  254. package/dist/turn/index.d.ts.map +1 -1
  255. package/dist/turn/index.js +2 -2
  256. package/dist/turn/index.js.map +1 -1
  257. package/dist/turn/policy.d.ts +7 -0
  258. package/dist/turn/policy.d.ts.map +1 -1
  259. package/dist/turn/policy.js +7 -0
  260. package/dist/turn/policy.js.map +1 -1
  261. package/dist/voice/contract.d.ts +4 -4
  262. package/dist/voice/effect-schema.d.ts +6 -6
  263. package/dist/voice/effect-schema.d.ts.map +1 -1
  264. package/dist/voice/effect-schema.js +2 -0
  265. package/dist/voice/effect-schema.js.map +1 -1
  266. 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"]>>;
@@ -1005,7 +1128,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1005
1128
  }>;
1006
1129
  readonly expectedSessionRevision: Schema.String;
1007
1130
  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"]>>;
1131
+ 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", "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
1132
  readonly sessionId: Schema.String;
1010
1133
  readonly workspaceId: Schema.String;
1011
1134
  readonly commandId: Schema.String;
@@ -1020,7 +1143,7 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1020
1143
  }>;
1021
1144
  readonly expectedSessionRevision: Schema.String;
1022
1145
  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"]>>;
1146
+ 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", "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
1147
  readonly sessionId: Schema.String;
1025
1148
  readonly workspaceId: Schema.String;
1026
1149
  readonly commandId: Schema.String;
@@ -1093,7 +1216,28 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1093
1216
  }>;
1094
1217
  }>, Schema.Struct<{
1095
1218
  readonly method: Schema.Literal<"connection.detect">;
1219
+ readonly parameters: Schema.Struct<{
1220
+ readonly upkeep: Schema.optional<Schema.Boolean>;
1221
+ }>;
1222
+ }>, Schema.Struct<{
1223
+ readonly method: Schema.Literal<"connection.upkeep.refresh">;
1096
1224
  readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
1225
+ }>, Schema.Struct<{
1226
+ readonly method: Schema.Literal<"connection.upkeep.preview">;
1227
+ readonly parameters: Schema.Struct<{
1228
+ commandId: Schema.String;
1229
+ executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
1230
+ policy: Schema.Literals<readonly ["notify", "off"]>;
1231
+ }>;
1232
+ }>, Schema.Struct<{
1233
+ readonly method: Schema.Literal<"connection.upkeep.confirm">;
1234
+ readonly parameters: Schema.Struct<{
1235
+ readonly commandId: Schema.String;
1236
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
1237
+ readonly policy: Schema.Literals<readonly ["notify", "off"]>;
1238
+ readonly inputDigest: Schema.String;
1239
+ readonly proof: Schema.String;
1240
+ }>;
1097
1241
  }>, Schema.Struct<{
1098
1242
  readonly method: Schema.Literal<"connection.system.preview">;
1099
1243
  readonly parameters: Schema.Struct<{
@@ -1108,6 +1252,78 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1108
1252
  readonly inputDigest: Schema.String;
1109
1253
  readonly proof: Schema.String;
1110
1254
  }>;
1255
+ }>, Schema.Struct<{
1256
+ readonly method: Schema.Literal<"connection.grant.list">;
1257
+ readonly parameters: Schema.Struct<{
1258
+ readonly afterCursor: Schema.optional<Schema.String>;
1259
+ readonly limit: Schema.Int;
1260
+ readonly scope: Schema.optional<Schema.Struct<{
1261
+ readonly id: Schema.String;
1262
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1263
+ }>>;
1264
+ readonly connectionId: Schema.optional<Schema.String>;
1265
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "revoked"]>>;
1266
+ }>;
1267
+ }>, Schema.Struct<{
1268
+ readonly method: Schema.Literal<"connection.grant.set.preview">;
1269
+ readonly parameters: Schema.Struct<{
1270
+ commandId: Schema.String;
1271
+ connectionId: Schema.String;
1272
+ granted: Schema.Boolean;
1273
+ scope: Schema.Struct<{
1274
+ readonly id: Schema.String;
1275
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1276
+ }>;
1277
+ }>;
1278
+ }>, Schema.Struct<{
1279
+ readonly method: Schema.Literal<"connection.grant.set.confirm">;
1280
+ readonly parameters: Schema.Struct<{
1281
+ readonly inputDigest: Schema.String;
1282
+ readonly proof: Schema.String;
1283
+ readonly commandId: Schema.String;
1284
+ readonly connectionId: Schema.String;
1285
+ readonly granted: Schema.Boolean;
1286
+ readonly scope: Schema.Struct<{
1287
+ readonly id: Schema.String;
1288
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1289
+ }>;
1290
+ readonly expectedRevision: Schema.String;
1291
+ }>;
1292
+ }>, Schema.Struct<{
1293
+ readonly method: Schema.Literal<"connection.pool.list">;
1294
+ readonly parameters: Schema.Struct<{
1295
+ afterCursor: Schema.optional<Schema.String>;
1296
+ limit: Schema.Int;
1297
+ scope: Schema.optional<Schema.Struct<{
1298
+ readonly id: Schema.String;
1299
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1300
+ }>>;
1301
+ }>;
1302
+ }>, Schema.Struct<{
1303
+ readonly method: Schema.Literal<"connection.pool.set.preview">;
1304
+ readonly parameters: Schema.Struct<{
1305
+ commandId: Schema.String;
1306
+ members: Schema.$Array<Schema.String>;
1307
+ mode: Schema.Literals<readonly ["off", "rotate", "single"]>;
1308
+ scope: Schema.Struct<{
1309
+ readonly id: Schema.String;
1310
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1311
+ }>;
1312
+ }>;
1313
+ }>, Schema.Struct<{
1314
+ readonly method: Schema.Literal<"connection.pool.set.confirm">;
1315
+ readonly parameters: Schema.Struct<{
1316
+ readonly inputDigest: Schema.String;
1317
+ readonly proof: Schema.String;
1318
+ readonly commandId: Schema.String;
1319
+ readonly members: Schema.$Array<Schema.String>;
1320
+ readonly mode: Schema.Literals<readonly ["off", "rotate", "single"]>;
1321
+ readonly scope: Schema.Struct<{
1322
+ readonly id: Schema.String;
1323
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
1324
+ }>;
1325
+ readonly expectedRevision: Schema.String;
1326
+ }>;
1111
1327
  }>]>, Schema.Union<readonly [Schema.Struct<{
1112
1328
  readonly method: Schema.Literal<"container.list">;
1113
1329
  readonly parameters: Schema.Struct<{
@@ -1206,6 +1422,104 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1206
1422
  readonly inputDigest: Schema.String;
1207
1423
  readonly proof: Schema.String;
1208
1424
  }>;
1425
+ }>]>, Schema.Union<readonly [Schema.Struct<{
1426
+ readonly method: Schema.Literal<"agents.list">;
1427
+ readonly parameters: Schema.Struct<{
1428
+ readonly afterCursor: Schema.optional<Schema.String>;
1429
+ readonly limit: Schema.Int;
1430
+ readonly projectId: Schema.String;
1431
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled"]>>;
1432
+ }>;
1433
+ }>, Schema.Struct<{
1434
+ readonly method: Schema.Literal<"agents.show">;
1435
+ readonly parameters: Schema.Struct<{
1436
+ readonly agentId: Schema.String;
1437
+ readonly revision: Schema.optional<Schema.String>;
1438
+ }>;
1439
+ }>, Schema.Struct<{
1440
+ readonly method: Schema.Literal<"agents.change.preview">;
1441
+ readonly parameters: Schema.Struct<{
1442
+ change: Schema.Union<readonly [Schema.Struct<{
1443
+ readonly kind: Schema.Literal<"create">;
1444
+ readonly projectId: Schema.String;
1445
+ readonly spec: Schema.Struct<{
1446
+ readonly accountableActorId: Schema.String;
1447
+ readonly connectionId: Schema.optional<Schema.String>;
1448
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1449
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1450
+ readonly homeSessionId: Schema.optional<Schema.String>;
1451
+ readonly instruction: Schema.String;
1452
+ readonly managerAgentId: Schema.optional<Schema.String>;
1453
+ readonly model: Schema.optional<Schema.String>;
1454
+ readonly name: Schema.Trim;
1455
+ readonly placement: Schema.Literal<"local">;
1456
+ }>;
1457
+ }>, Schema.Struct<{
1458
+ readonly agentId: Schema.String;
1459
+ readonly expectedRevision: Schema.String;
1460
+ readonly kind: Schema.Literal<"revise">;
1461
+ readonly spec: Schema.Struct<{
1462
+ readonly accountableActorId: Schema.String;
1463
+ readonly connectionId: Schema.optional<Schema.String>;
1464
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1465
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1466
+ readonly homeSessionId: Schema.optional<Schema.String>;
1467
+ readonly instruction: Schema.String;
1468
+ readonly managerAgentId: Schema.optional<Schema.String>;
1469
+ readonly model: Schema.optional<Schema.String>;
1470
+ readonly name: Schema.Trim;
1471
+ readonly placement: Schema.Literal<"local">;
1472
+ }>;
1473
+ }>, Schema.Struct<{
1474
+ readonly agentId: Schema.String;
1475
+ readonly expectedRevision: Schema.String;
1476
+ readonly kind: Schema.Literal<"disable">;
1477
+ }>]>;
1478
+ commandId: Schema.String;
1479
+ }>;
1480
+ }>, Schema.Struct<{
1481
+ readonly method: Schema.Literal<"agents.change.confirm">;
1482
+ readonly parameters: Schema.Struct<{
1483
+ readonly change: Schema.Union<readonly [Schema.Struct<{
1484
+ readonly kind: Schema.Literal<"create">;
1485
+ readonly projectId: Schema.String;
1486
+ readonly spec: Schema.Struct<{
1487
+ readonly accountableActorId: Schema.String;
1488
+ readonly connectionId: Schema.optional<Schema.String>;
1489
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1490
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1491
+ readonly homeSessionId: Schema.optional<Schema.String>;
1492
+ readonly instruction: Schema.String;
1493
+ readonly managerAgentId: Schema.optional<Schema.String>;
1494
+ readonly model: Schema.optional<Schema.String>;
1495
+ readonly name: Schema.Trim;
1496
+ readonly placement: Schema.Literal<"local">;
1497
+ }>;
1498
+ }>, Schema.Struct<{
1499
+ readonly agentId: Schema.String;
1500
+ readonly expectedRevision: Schema.String;
1501
+ readonly kind: Schema.Literal<"revise">;
1502
+ readonly spec: Schema.Struct<{
1503
+ readonly accountableActorId: Schema.String;
1504
+ readonly connectionId: Schema.optional<Schema.String>;
1505
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1506
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1507
+ readonly homeSessionId: Schema.optional<Schema.String>;
1508
+ readonly instruction: Schema.String;
1509
+ readonly managerAgentId: Schema.optional<Schema.String>;
1510
+ readonly model: Schema.optional<Schema.String>;
1511
+ readonly name: Schema.Trim;
1512
+ readonly placement: Schema.Literal<"local">;
1513
+ }>;
1514
+ }>, Schema.Struct<{
1515
+ readonly agentId: Schema.String;
1516
+ readonly expectedRevision: Schema.String;
1517
+ readonly kind: Schema.Literal<"disable">;
1518
+ }>]>;
1519
+ readonly commandId: Schema.String;
1520
+ readonly inputDigest: Schema.String;
1521
+ readonly proof: Schema.String;
1522
+ }>;
1209
1523
  }>]>, Schema.Union<readonly [Schema.Struct<{
1210
1524
  readonly method: Schema.Literal<"discovery.sessions.list">;
1211
1525
  readonly parameters: Schema.Struct<{
@@ -1244,6 +1558,26 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1244
1558
  readonly parameters: Schema.Struct<{
1245
1559
  readonly previewId: Schema.String;
1246
1560
  }>;
1561
+ }>]>, Schema.Union<readonly [Schema.Struct<{
1562
+ readonly method: Schema.Literal<"team-workspace.bootstrap.preview">;
1563
+ readonly parameters: Schema.Struct<{
1564
+ commandId: Schema.String;
1565
+ expectedBootstrapRevision: Schema.Literal<"0">;
1566
+ ownerDisplayName: Schema.String;
1567
+ schemaVersion: Schema.Literal<1>;
1568
+ workspaceName: Schema.String;
1569
+ }>;
1570
+ }>, Schema.Struct<{
1571
+ readonly method: Schema.Literal<"team-workspace.bootstrap.apply">;
1572
+ readonly parameters: Schema.Struct<{
1573
+ readonly commandId: Schema.String;
1574
+ readonly expectedBootstrapRevision: Schema.Literal<"0">;
1575
+ readonly ownerDisplayName: Schema.String;
1576
+ readonly schemaVersion: Schema.Literal<1>;
1577
+ readonly workspaceName: Schema.String;
1578
+ readonly inputDigest: Schema.String;
1579
+ readonly previewId: Schema.String;
1580
+ }>;
1247
1581
  }>]>, Schema.Union<readonly [Schema.Struct<{
1248
1582
  readonly method: Schema.Literal<"terminal.create">;
1249
1583
  readonly parameters: Schema.Union<readonly [Schema.Struct<{
@@ -1256,6 +1590,10 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1256
1590
  readonly commandId: Schema.String;
1257
1591
  readonly expectedRevision: Schema.Literal<"0">;
1258
1592
  readonly mode: Schema.Literal<"interactive">;
1593
+ readonly program: Schema.optional<Schema.Struct<{
1594
+ readonly argv: Schema.$Array<Schema.String>;
1595
+ readonly name: Schema.String;
1596
+ }>>;
1259
1597
  readonly workspaceId: Schema.String;
1260
1598
  }>]>;
1261
1599
  }>, Schema.Struct<{
@@ -1474,6 +1812,18 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1474
1812
  readonly sourceTerminalGeneration: Schema.Int;
1475
1813
  }>]>;
1476
1814
  }>]>]>, Schema.Union<readonly [Schema.Struct<{
1815
+ readonly method: Schema.Literal<"turn.cancel">;
1816
+ readonly parameters: Schema.Struct<{
1817
+ readonly commandId: Schema.String;
1818
+ readonly expectedRevision: Schema.String;
1819
+ readonly turnId: Schema.String;
1820
+ }>;
1821
+ }>, Schema.Struct<{
1822
+ readonly method: Schema.Literal<"turn.queue.list">;
1823
+ readonly parameters: Schema.Struct<{
1824
+ readonly sessionId: Schema.String;
1825
+ }>;
1826
+ }>, Schema.Struct<{
1477
1827
  readonly method: Schema.Literal<"turn.interrupt">;
1478
1828
  readonly parameters: Schema.Struct<{
1479
1829
  readonly commandId: Schema.String;
@@ -1968,7 +2318,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
1968
2318
  readonly actor: Schema.optional<Schema.String>;
1969
2319
  readonly afterCursor: Schema.optional<Schema.String>;
1970
2320
  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"]>>;
2321
+ 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
2322
  readonly since: Schema.optional<Schema.String>;
1973
2323
  readonly until: Schema.optional<Schema.String>;
1974
2324
  }>;
@@ -2171,6 +2521,27 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2171
2521
  readonly parameters: Schema.Struct<{
2172
2522
  readonly includeRemoved: Schema.optional<Schema.Boolean>;
2173
2523
  }>;
2524
+ }>, Schema.Struct<{
2525
+ readonly method: Schema.Literal<"node.remote.register.preview">;
2526
+ readonly parameters: Schema.Struct<{
2527
+ commandId: Schema.String;
2528
+ host: Schema.String;
2529
+ launcherPath: Schema.optional<Schema.String>;
2530
+ name: Schema.String;
2531
+ profile: Schema.optional<Schema.String>;
2532
+ }>;
2533
+ }>, Schema.Struct<{
2534
+ readonly method: Schema.Literal<"node.remote.register.confirm">;
2535
+ readonly parameters: Schema.Struct<{
2536
+ readonly commandId: Schema.String;
2537
+ readonly host: Schema.String;
2538
+ readonly launcherPath: Schema.optional<Schema.String>;
2539
+ readonly name: Schema.String;
2540
+ readonly profile: Schema.optional<Schema.String>;
2541
+ readonly inputDigest: Schema.String;
2542
+ readonly planDigest: Schema.String;
2543
+ readonly proof: Schema.String;
2544
+ }>;
2174
2545
  }>, Schema.Struct<{
2175
2546
  readonly method: Schema.Literal<"node.remote.remove.preview">;
2176
2547
  readonly parameters: Schema.Struct<{
@@ -2190,6 +2561,103 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2190
2561
  readonly proof: Schema.String;
2191
2562
  readonly waitMs: Schema.optional<Schema.Int>;
2192
2563
  }>;
2564
+ }>]>, Schema.Union<readonly [Schema.Struct<{
2565
+ readonly method: Schema.Literal<"routine.list">;
2566
+ readonly parameters: Schema.Struct<{
2567
+ readonly afterCursor: Schema.optional<Schema.String>;
2568
+ readonly limit: Schema.Int;
2569
+ readonly projectId: Schema.optional<Schema.String>;
2570
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled", "paused"]>>;
2571
+ }>;
2572
+ }>, Schema.Struct<{
2573
+ readonly method: Schema.Literal<"routine.show">;
2574
+ readonly parameters: Schema.Struct<{
2575
+ readonly routineId: Schema.String;
2576
+ }>;
2577
+ }>, Schema.Struct<{
2578
+ readonly method: Schema.Literal<"routine.create.preview">;
2579
+ readonly parameters: Schema.Struct<{
2580
+ commandId: Schema.String;
2581
+ name: Schema.Trim;
2582
+ paused: Schema.optional<Schema.Boolean>;
2583
+ schedule: Schema.Struct<{
2584
+ readonly expression: Schema.String;
2585
+ readonly timezone: Schema.String;
2586
+ }>;
2587
+ template: Schema.Struct<{
2588
+ readonly connectionId: Schema.optional<Schema.String>;
2589
+ readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
2590
+ readonly model: Schema.optional<Schema.String>;
2591
+ readonly projectId: Schema.String;
2592
+ readonly prompt: Schema.String;
2593
+ }>;
2594
+ }>;
2595
+ }>, Schema.Struct<{
2596
+ readonly method: Schema.Literal<"routine.create.confirm">;
2597
+ readonly parameters: Schema.Struct<{
2598
+ readonly commandId: Schema.String;
2599
+ readonly name: Schema.Trim;
2600
+ readonly paused: Schema.optional<Schema.Boolean>;
2601
+ readonly schedule: Schema.Struct<{
2602
+ readonly expression: Schema.String;
2603
+ readonly timezone: Schema.String;
2604
+ }>;
2605
+ readonly template: Schema.Struct<{
2606
+ readonly connectionId: Schema.optional<Schema.String>;
2607
+ readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
2608
+ readonly model: Schema.optional<Schema.String>;
2609
+ readonly projectId: Schema.String;
2610
+ readonly prompt: Schema.String;
2611
+ }>;
2612
+ readonly inputDigest: Schema.String;
2613
+ readonly proof: Schema.String;
2614
+ }>;
2615
+ }>, Schema.Struct<{
2616
+ readonly method: Schema.Literal<"routine.pause">;
2617
+ readonly parameters: Schema.Struct<{
2618
+ commandId: Schema.String;
2619
+ expectedRevision: Schema.String;
2620
+ routineId: Schema.String;
2621
+ }>;
2622
+ }>, Schema.Struct<{
2623
+ readonly method: Schema.Literal<"routine.resume">;
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.disable.preview">;
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.confirm">;
2638
+ readonly parameters: Schema.Struct<{
2639
+ readonly inputDigest: Schema.String;
2640
+ readonly proof: Schema.String;
2641
+ readonly commandId: Schema.String;
2642
+ readonly expectedRevision: Schema.String;
2643
+ readonly routineId: Schema.String;
2644
+ }>;
2645
+ }>, Schema.Struct<{
2646
+ readonly method: Schema.Literal<"routine.run.preview">;
2647
+ readonly parameters: Schema.Struct<{
2648
+ commandId: Schema.String;
2649
+ expectedRevision: Schema.String;
2650
+ routineId: Schema.String;
2651
+ }>;
2652
+ }>, Schema.Struct<{
2653
+ readonly method: Schema.Literal<"routine.run.confirm">;
2654
+ readonly parameters: Schema.Struct<{
2655
+ readonly inputDigest: Schema.String;
2656
+ readonly proof: Schema.String;
2657
+ readonly commandId: Schema.String;
2658
+ readonly expectedRevision: Schema.String;
2659
+ readonly routineId: Schema.String;
2660
+ }>;
2193
2661
  }>]>, Schema.Union<readonly [Schema.Struct<{
2194
2662
  readonly method: Schema.Literal<"run.ledger.create">;
2195
2663
  readonly parameters: Schema.Struct<{
@@ -2414,12 +2882,14 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2414
2882
  readonly commandId: Schema.String;
2415
2883
  readonly expectedRevision: Schema.Literal<"0">;
2416
2884
  readonly workspaceId: Schema.String;
2885
+ readonly agentId: Schema.optional<Schema.String>;
2417
2886
  readonly connectionId: Schema.optional<Schema.String>;
2418
2887
  readonly definitionRef: Schema.optional<Schema.Struct<{
2419
2888
  readonly contentDigest: Schema.String;
2420
2889
  readonly key: Schema.String;
2421
2890
  readonly version: Schema.String;
2422
2891
  }>>;
2892
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
2423
2893
  readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
2424
2894
  readonly model: Schema.optional<Schema.String>;
2425
2895
  readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
@@ -2541,7 +3011,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2541
3011
  }>;
2542
3012
  readonly expectedSessionRevision: Schema.String;
2543
3013
  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"]>>;
3014
+ 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", "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
3015
  readonly sessionId: Schema.String;
2546
3016
  readonly workspaceId: Schema.String;
2547
3017
  readonly commandId: Schema.String;
@@ -2556,7 +3026,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2556
3026
  }>;
2557
3027
  readonly expectedSessionRevision: Schema.String;
2558
3028
  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"]>>;
3029
+ 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", "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
3030
  readonly sessionId: Schema.String;
2561
3031
  readonly workspaceId: Schema.String;
2562
3032
  readonly commandId: Schema.String;
@@ -2629,7 +3099,28 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2629
3099
  }>;
2630
3100
  }>, Schema.Struct<{
2631
3101
  readonly method: Schema.Literal<"connection.detect">;
3102
+ readonly parameters: Schema.Struct<{
3103
+ readonly upkeep: Schema.optional<Schema.Boolean>;
3104
+ }>;
3105
+ }>, Schema.Struct<{
3106
+ readonly method: Schema.Literal<"connection.upkeep.refresh">;
2632
3107
  readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
3108
+ }>, Schema.Struct<{
3109
+ readonly method: Schema.Literal<"connection.upkeep.preview">;
3110
+ readonly parameters: Schema.Struct<{
3111
+ commandId: Schema.String;
3112
+ executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
3113
+ policy: Schema.Literals<readonly ["notify", "off"]>;
3114
+ }>;
3115
+ }>, Schema.Struct<{
3116
+ readonly method: Schema.Literal<"connection.upkeep.confirm">;
3117
+ readonly parameters: Schema.Struct<{
3118
+ readonly commandId: Schema.String;
3119
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
3120
+ readonly policy: Schema.Literals<readonly ["notify", "off"]>;
3121
+ readonly inputDigest: Schema.String;
3122
+ readonly proof: Schema.String;
3123
+ }>;
2633
3124
  }>, Schema.Struct<{
2634
3125
  readonly method: Schema.Literal<"connection.system.preview">;
2635
3126
  readonly parameters: Schema.Struct<{
@@ -2644,6 +3135,78 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2644
3135
  readonly inputDigest: Schema.String;
2645
3136
  readonly proof: Schema.String;
2646
3137
  }>;
3138
+ }>, Schema.Struct<{
3139
+ readonly method: Schema.Literal<"connection.grant.list">;
3140
+ readonly parameters: Schema.Struct<{
3141
+ readonly afterCursor: Schema.optional<Schema.String>;
3142
+ readonly limit: Schema.Int;
3143
+ readonly scope: Schema.optional<Schema.Struct<{
3144
+ readonly id: Schema.String;
3145
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3146
+ }>>;
3147
+ readonly connectionId: Schema.optional<Schema.String>;
3148
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "revoked"]>>;
3149
+ }>;
3150
+ }>, Schema.Struct<{
3151
+ readonly method: Schema.Literal<"connection.grant.set.preview">;
3152
+ readonly parameters: Schema.Struct<{
3153
+ commandId: Schema.String;
3154
+ connectionId: Schema.String;
3155
+ granted: Schema.Boolean;
3156
+ scope: Schema.Struct<{
3157
+ readonly id: Schema.String;
3158
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3159
+ }>;
3160
+ }>;
3161
+ }>, Schema.Struct<{
3162
+ readonly method: Schema.Literal<"connection.grant.set.confirm">;
3163
+ readonly parameters: Schema.Struct<{
3164
+ readonly inputDigest: Schema.String;
3165
+ readonly proof: Schema.String;
3166
+ readonly commandId: Schema.String;
3167
+ readonly connectionId: Schema.String;
3168
+ readonly granted: Schema.Boolean;
3169
+ readonly scope: Schema.Struct<{
3170
+ readonly id: Schema.String;
3171
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3172
+ }>;
3173
+ readonly expectedRevision: Schema.String;
3174
+ }>;
3175
+ }>, Schema.Struct<{
3176
+ readonly method: Schema.Literal<"connection.pool.list">;
3177
+ readonly parameters: Schema.Struct<{
3178
+ afterCursor: Schema.optional<Schema.String>;
3179
+ limit: Schema.Int;
3180
+ scope: Schema.optional<Schema.Struct<{
3181
+ readonly id: Schema.String;
3182
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3183
+ }>>;
3184
+ }>;
3185
+ }>, Schema.Struct<{
3186
+ readonly method: Schema.Literal<"connection.pool.set.preview">;
3187
+ readonly parameters: Schema.Struct<{
3188
+ commandId: Schema.String;
3189
+ members: Schema.$Array<Schema.String>;
3190
+ mode: Schema.Literals<readonly ["off", "rotate", "single"]>;
3191
+ scope: Schema.Struct<{
3192
+ readonly id: Schema.String;
3193
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3194
+ }>;
3195
+ }>;
3196
+ }>, Schema.Struct<{
3197
+ readonly method: Schema.Literal<"connection.pool.set.confirm">;
3198
+ readonly parameters: Schema.Struct<{
3199
+ readonly inputDigest: Schema.String;
3200
+ readonly proof: Schema.String;
3201
+ readonly commandId: Schema.String;
3202
+ readonly members: Schema.$Array<Schema.String>;
3203
+ readonly mode: Schema.Literals<readonly ["off", "rotate", "single"]>;
3204
+ readonly scope: Schema.Struct<{
3205
+ readonly id: Schema.String;
3206
+ readonly kind: Schema.Literals<readonly ["project", "workspace"]>;
3207
+ }>;
3208
+ readonly expectedRevision: Schema.String;
3209
+ }>;
2647
3210
  }>]>, Schema.Union<readonly [Schema.Struct<{
2648
3211
  readonly method: Schema.Literal<"container.list">;
2649
3212
  readonly parameters: Schema.Struct<{
@@ -2742,6 +3305,104 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2742
3305
  readonly inputDigest: Schema.String;
2743
3306
  readonly proof: Schema.String;
2744
3307
  }>;
3308
+ }>]>, Schema.Union<readonly [Schema.Struct<{
3309
+ readonly method: Schema.Literal<"agents.list">;
3310
+ readonly parameters: Schema.Struct<{
3311
+ readonly afterCursor: Schema.optional<Schema.String>;
3312
+ readonly limit: Schema.Int;
3313
+ readonly projectId: Schema.String;
3314
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled"]>>;
3315
+ }>;
3316
+ }>, Schema.Struct<{
3317
+ readonly method: Schema.Literal<"agents.show">;
3318
+ readonly parameters: Schema.Struct<{
3319
+ readonly agentId: Schema.String;
3320
+ readonly revision: Schema.optional<Schema.String>;
3321
+ }>;
3322
+ }>, Schema.Struct<{
3323
+ readonly method: Schema.Literal<"agents.change.preview">;
3324
+ readonly parameters: Schema.Struct<{
3325
+ change: Schema.Union<readonly [Schema.Struct<{
3326
+ readonly kind: Schema.Literal<"create">;
3327
+ readonly projectId: Schema.String;
3328
+ readonly spec: Schema.Struct<{
3329
+ readonly accountableActorId: Schema.String;
3330
+ readonly connectionId: Schema.optional<Schema.String>;
3331
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3332
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3333
+ readonly homeSessionId: Schema.optional<Schema.String>;
3334
+ readonly instruction: Schema.String;
3335
+ readonly managerAgentId: Schema.optional<Schema.String>;
3336
+ readonly model: Schema.optional<Schema.String>;
3337
+ readonly name: Schema.Trim;
3338
+ readonly placement: Schema.Literal<"local">;
3339
+ }>;
3340
+ }>, Schema.Struct<{
3341
+ readonly agentId: Schema.String;
3342
+ readonly expectedRevision: Schema.String;
3343
+ readonly kind: Schema.Literal<"revise">;
3344
+ readonly spec: Schema.Struct<{
3345
+ readonly accountableActorId: Schema.String;
3346
+ readonly connectionId: Schema.optional<Schema.String>;
3347
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3348
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3349
+ readonly homeSessionId: Schema.optional<Schema.String>;
3350
+ readonly instruction: Schema.String;
3351
+ readonly managerAgentId: Schema.optional<Schema.String>;
3352
+ readonly model: Schema.optional<Schema.String>;
3353
+ readonly name: Schema.Trim;
3354
+ readonly placement: Schema.Literal<"local">;
3355
+ }>;
3356
+ }>, Schema.Struct<{
3357
+ readonly agentId: Schema.String;
3358
+ readonly expectedRevision: Schema.String;
3359
+ readonly kind: Schema.Literal<"disable">;
3360
+ }>]>;
3361
+ commandId: Schema.String;
3362
+ }>;
3363
+ }>, Schema.Struct<{
3364
+ readonly method: Schema.Literal<"agents.change.confirm">;
3365
+ readonly parameters: Schema.Struct<{
3366
+ readonly change: Schema.Union<readonly [Schema.Struct<{
3367
+ readonly kind: Schema.Literal<"create">;
3368
+ readonly projectId: Schema.String;
3369
+ readonly spec: Schema.Struct<{
3370
+ readonly accountableActorId: Schema.String;
3371
+ readonly connectionId: Schema.optional<Schema.String>;
3372
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3373
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3374
+ readonly homeSessionId: Schema.optional<Schema.String>;
3375
+ readonly instruction: Schema.String;
3376
+ readonly managerAgentId: Schema.optional<Schema.String>;
3377
+ readonly model: Schema.optional<Schema.String>;
3378
+ readonly name: Schema.Trim;
3379
+ readonly placement: Schema.Literal<"local">;
3380
+ }>;
3381
+ }>, Schema.Struct<{
3382
+ readonly agentId: Schema.String;
3383
+ readonly expectedRevision: Schema.String;
3384
+ readonly kind: Schema.Literal<"revise">;
3385
+ readonly spec: Schema.Struct<{
3386
+ readonly accountableActorId: Schema.String;
3387
+ readonly connectionId: Schema.optional<Schema.String>;
3388
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3389
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3390
+ readonly homeSessionId: Schema.optional<Schema.String>;
3391
+ readonly instruction: Schema.String;
3392
+ readonly managerAgentId: Schema.optional<Schema.String>;
3393
+ readonly model: Schema.optional<Schema.String>;
3394
+ readonly name: Schema.Trim;
3395
+ readonly placement: Schema.Literal<"local">;
3396
+ }>;
3397
+ }>, Schema.Struct<{
3398
+ readonly agentId: Schema.String;
3399
+ readonly expectedRevision: Schema.String;
3400
+ readonly kind: Schema.Literal<"disable">;
3401
+ }>]>;
3402
+ readonly commandId: Schema.String;
3403
+ readonly inputDigest: Schema.String;
3404
+ readonly proof: Schema.String;
3405
+ }>;
2745
3406
  }>]>, Schema.Union<readonly [Schema.Struct<{
2746
3407
  readonly method: Schema.Literal<"discovery.sessions.list">;
2747
3408
  readonly parameters: Schema.Struct<{
@@ -2780,6 +3441,26 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2780
3441
  readonly parameters: Schema.Struct<{
2781
3442
  readonly previewId: Schema.String;
2782
3443
  }>;
3444
+ }>]>, Schema.Union<readonly [Schema.Struct<{
3445
+ readonly method: Schema.Literal<"team-workspace.bootstrap.preview">;
3446
+ readonly parameters: Schema.Struct<{
3447
+ commandId: Schema.String;
3448
+ expectedBootstrapRevision: Schema.Literal<"0">;
3449
+ ownerDisplayName: Schema.String;
3450
+ schemaVersion: Schema.Literal<1>;
3451
+ workspaceName: Schema.String;
3452
+ }>;
3453
+ }>, Schema.Struct<{
3454
+ readonly method: Schema.Literal<"team-workspace.bootstrap.apply">;
3455
+ readonly parameters: Schema.Struct<{
3456
+ readonly commandId: Schema.String;
3457
+ readonly expectedBootstrapRevision: Schema.Literal<"0">;
3458
+ readonly ownerDisplayName: Schema.String;
3459
+ readonly schemaVersion: Schema.Literal<1>;
3460
+ readonly workspaceName: Schema.String;
3461
+ readonly inputDigest: Schema.String;
3462
+ readonly previewId: Schema.String;
3463
+ }>;
2783
3464
  }>]>, Schema.Union<readonly [Schema.Struct<{
2784
3465
  readonly method: Schema.Literal<"terminal.create">;
2785
3466
  readonly parameters: Schema.Union<readonly [Schema.Struct<{
@@ -2792,6 +3473,10 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2792
3473
  readonly commandId: Schema.String;
2793
3474
  readonly expectedRevision: Schema.Literal<"0">;
2794
3475
  readonly mode: Schema.Literal<"interactive">;
3476
+ readonly program: Schema.optional<Schema.Struct<{
3477
+ readonly argv: Schema.$Array<Schema.String>;
3478
+ readonly name: Schema.String;
3479
+ }>>;
2795
3480
  readonly workspaceId: Schema.String;
2796
3481
  }>]>;
2797
3482
  }>, Schema.Struct<{
@@ -3010,6 +3695,18 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
3010
3695
  readonly sourceTerminalGeneration: Schema.Int;
3011
3696
  }>]>;
3012
3697
  }>]>]>, Schema.Union<readonly [Schema.Struct<{
3698
+ readonly method: Schema.Literal<"turn.cancel">;
3699
+ readonly parameters: Schema.Struct<{
3700
+ readonly commandId: Schema.String;
3701
+ readonly expectedRevision: Schema.String;
3702
+ readonly turnId: Schema.String;
3703
+ }>;
3704
+ }>, Schema.Struct<{
3705
+ readonly method: Schema.Literal<"turn.queue.list">;
3706
+ readonly parameters: Schema.Struct<{
3707
+ readonly sessionId: Schema.String;
3708
+ }>;
3709
+ }>, Schema.Struct<{
3013
3710
  readonly method: Schema.Literal<"turn.interrupt">;
3014
3711
  readonly parameters: Schema.Struct<{
3015
3712
  readonly commandId: Schema.String;
@@ -3116,6 +3813,11 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
3116
3813
  readonly pid: Schema.Int;
3117
3814
  readonly profile: Schema.String;
3118
3815
  readonly startedAt: Schema.String;
3816
+ readonly executorHost: Schema.optional<Schema.Struct<{
3817
+ readonly bubblewrap: Schema.Literals<readonly ["found", "missing"]>;
3818
+ readonly socat: Schema.Literals<readonly ["found", "missing"]>;
3819
+ readonly userNamespaces: Schema.Literals<readonly ["allowed", "no_nesting", "restricted"]>;
3820
+ }>>;
3119
3821
  readonly method: Schema.Literal<"node.status">;
3120
3822
  readonly processResources: Schema.Struct<{
3121
3823
  readonly activeTrees: Schema.Int;
@@ -3150,7 +3852,7 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
3150
3852
  }>]>;
3151
3853
  readonly cleanupUnknownTrees: Schema.Int;
3152
3854
  readonly fencedTrees: Schema.Int;
3153
- readonly nextStep: Schema.Literals<readonly ["close_idle_terminal", "inspect_cleanup_unknown", "inspect_observed_pressure", "none", "verify_native_host"]>;
3855
+ readonly nextStep: Schema.Literals<readonly ["close_idle_terminal", "inspect_cleanup_unknown", "inspect_observed_pressure", "none", "run_node_in_delegated_cgroup", "verify_native_host"]>;
3154
3856
  readonly observations: Schema.Struct<{
3155
3857
  readonly cpuTimeMilliseconds: Schema.Struct<{
3156
3858
  readonly availableTrees: Schema.Int;
@@ -3210,7 +3912,7 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
3210
3912
  }>;
3211
3913
  readonly treeCount: Schema.Int;
3212
3914
  }>;
3213
- readonly pressure: Schema.Literals<readonly ["admission_degraded", "cleanup_unknown", "healthy", "observed_pressure", "warning"]>;
3915
+ readonly pressure: Schema.Literals<readonly ["admission_degraded", "cgroup_delegation_unavailable", "cleanup_unknown", "healthy", "observed_pressure", "warning"]>;
3214
3916
  readonly supervision: Schema.Struct<{
3215
3917
  readonly trackedTrees: Schema.Int;
3216
3918
  readonly watcherFibers: Schema.Int;
@@ -3253,6 +3955,7 @@ type LocalNodeSuccessResultMembers = readonly [
3253
3955
  typeof portLeaseResultEffectSchema,
3254
3956
  typeof referenceResultEffectSchema,
3255
3957
  typeof remoteNodeResultEffectSchema,
3958
+ typeof routineResultEffectSchema,
3256
3959
  typeof runLedgerResultEffectSchema,
3257
3960
  typeof projectGuardResultEffectSchema,
3258
3961
  typeof projectWorkspaceSuccessResultEffectSchema,
@@ -3263,7 +3966,9 @@ type LocalNodeSuccessResultMembers = readonly [
3263
3966
  typeof connectionResultEffectSchema,
3264
3967
  typeof containerResultEffectSchema,
3265
3968
  typeof holdResultEffectSchema,
3969
+ typeof agentsResultEffectSchema,
3266
3970
  typeof discoveryResultEffectSchema,
3971
+ typeof teamWorkspaceResultEffectSchema,
3267
3972
  typeof terminalSuccessResultEffectSchema,
3268
3973
  typeof turnSuccessResultEffectSchema,
3269
3974
  typeof voiceSuccessResultEffectSchema