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

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 (260) 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/contract.d.ts +130 -1
  22. package/dist/connection/contract.d.ts.map +1 -1
  23. package/dist/connection/contract.js +7 -1
  24. package/dist/connection/contract.js.map +1 -1
  25. package/dist/connection/effect-schema.d.ts +110 -0
  26. package/dist/connection/effect-schema.d.ts.map +1 -1
  27. package/dist/connection/feature.d.ts +75 -0
  28. package/dist/connection/feature.d.ts.map +1 -1
  29. package/dist/connection/feature.js +69 -0
  30. package/dist/connection/feature.js.map +1 -1
  31. package/dist/connection/index.d.ts +1 -1
  32. package/dist/connection/index.d.ts.map +1 -1
  33. package/dist/connection/index.js +1 -1
  34. package/dist/connection/index.js.map +1 -1
  35. package/dist/connection/system-effect-schema.d.ts +261 -1
  36. package/dist/connection/system-effect-schema.d.ts.map +1 -1
  37. package/dist/connection/system-effect-schema.js +101 -1
  38. package/dist/connection/system-effect-schema.js.map +1 -1
  39. package/dist/coordinator-tool/registry.d.ts +3 -1
  40. package/dist/coordinator-tool/registry.d.ts.map +1 -1
  41. package/dist/coordinator-tool/registry.js +66 -10
  42. package/dist/coordinator-tool/registry.js.map +1 -1
  43. package/dist/discovery/contract.d.ts +1 -0
  44. package/dist/discovery/contract.d.ts.map +1 -1
  45. package/dist/discovery/effect-schema.d.ts +2 -0
  46. package/dist/discovery/effect-schema.d.ts.map +1 -1
  47. package/dist/execution/worktree/effect-schema.d.ts.map +1 -1
  48. package/dist/execution/worktree/effect-schema.js +10 -2
  49. package/dist/execution/worktree/effect-schema.js.map +1 -1
  50. package/dist/feature/registry.d.ts +7 -1
  51. package/dist/feature/registry.d.ts.map +1 -1
  52. package/dist/feature/registry.js +6 -0
  53. package/dist/feature/registry.js.map +1 -1
  54. package/dist/index.d.ts +11 -5
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +11 -5
  57. package/dist/index.js.map +1 -1
  58. package/dist/invocation-context/contract.d.ts +11 -1
  59. package/dist/invocation-context/contract.d.ts.map +1 -1
  60. package/dist/invocation-context/effect-schema.d.ts +24 -2
  61. package/dist/invocation-context/effect-schema.d.ts.map +1 -1
  62. package/dist/invocation-context/effect-schema.js +19 -1
  63. package/dist/invocation-context/effect-schema.js.map +1 -1
  64. package/dist/local-node/contract.d.ts +16 -8
  65. package/dist/local-node/contract.d.ts.map +1 -1
  66. package/dist/local-node/contract.js.map +1 -1
  67. package/dist/local-node/effect-schema.d.ts +570 -9
  68. package/dist/local-node/effect-schema.d.ts.map +1 -1
  69. package/dist/local-node/effect-schema.js +33 -0
  70. package/dist/local-node/effect-schema.js.map +1 -1
  71. package/dist/local-node/node-api/methods.d.ts +26 -3
  72. package/dist/local-node/node-api/methods.d.ts.map +1 -1
  73. package/dist/local-node/node-api/methods.js +46 -0
  74. package/dist/local-node/node-api/methods.js.map +1 -1
  75. package/dist/local-node/receipt-list.d.ts +1 -1
  76. package/dist/local-node/receipt-list.d.ts.map +1 -1
  77. package/dist/local-node/receipt-list.js +10 -0
  78. package/dist/local-node/receipt-list.js.map +1 -1
  79. package/dist/machine-lease/contract.d.ts +90 -0
  80. package/dist/machine-lease/contract.d.ts.map +1 -0
  81. package/dist/machine-lease/contract.js +8 -0
  82. package/dist/machine-lease/contract.js.map +1 -0
  83. package/dist/machine-lease/effect-schema.d.ts +85 -0
  84. package/dist/machine-lease/effect-schema.d.ts.map +1 -0
  85. package/dist/machine-lease/effect-schema.js +78 -0
  86. package/dist/machine-lease/effect-schema.js.map +1 -0
  87. package/dist/machine-lease/index.d.ts +3 -0
  88. package/dist/machine-lease/index.d.ts.map +1 -0
  89. package/dist/machine-lease/index.js +3 -0
  90. package/dist/machine-lease/index.js.map +1 -0
  91. package/dist/machine-lease/policy.d.ts +12 -0
  92. package/dist/machine-lease/policy.d.ts.map +1 -0
  93. package/dist/machine-lease/policy.js +12 -0
  94. package/dist/machine-lease/policy.js.map +1 -0
  95. package/dist/machine-principal/contract.d.ts +14 -0
  96. package/dist/machine-principal/contract.d.ts.map +1 -0
  97. package/dist/machine-principal/contract.js +5 -0
  98. package/dist/machine-principal/contract.js.map +1 -0
  99. package/dist/machine-principal/effect-schema.d.ts +12 -0
  100. package/dist/machine-principal/effect-schema.d.ts.map +1 -0
  101. package/dist/machine-principal/effect-schema.js +25 -0
  102. package/dist/machine-principal/effect-schema.js.map +1 -0
  103. package/dist/machine-principal/index.d.ts +2 -0
  104. package/dist/machine-principal/index.d.ts.map +1 -0
  105. package/dist/machine-principal/index.js +2 -0
  106. package/dist/machine-principal/index.js.map +1 -0
  107. package/dist/machine-principal/policy.d.ts +5 -0
  108. package/dist/machine-principal/policy.d.ts.map +1 -0
  109. package/dist/machine-principal/policy.js +5 -0
  110. package/dist/machine-principal/policy.js.map +1 -0
  111. package/dist/presentation/contract.d.ts +1 -0
  112. package/dist/presentation/contract.d.ts.map +1 -1
  113. package/dist/presentation/effect-schema.d.ts +1 -0
  114. package/dist/presentation/effect-schema.d.ts.map +1 -1
  115. package/dist/presentation/session-list-effect-schema.d.ts +1 -0
  116. package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
  117. package/dist/release/contract.d.ts +2 -0
  118. package/dist/release/contract.d.ts.map +1 -0
  119. package/dist/release/contract.js +4 -0
  120. package/dist/release/contract.js.map +1 -0
  121. package/dist/release/effect-schema.d.ts +3 -0
  122. package/dist/release/effect-schema.d.ts.map +1 -0
  123. package/dist/release/effect-schema.js +4 -0
  124. package/dist/release/effect-schema.js.map +1 -0
  125. package/dist/release/index.d.ts +3 -0
  126. package/dist/release/index.d.ts.map +1 -0
  127. package/dist/release/index.js +3 -0
  128. package/dist/release/index.js.map +1 -0
  129. package/dist/release/version.d.ts +29 -0
  130. package/dist/release/version.d.ts.map +1 -0
  131. package/dist/release/version.js +77 -0
  132. package/dist/release/version.js.map +1 -0
  133. package/dist/remote-node/bridge-effect-schema.d.ts +72 -2
  134. package/dist/remote-node/bridge-effect-schema.d.ts.map +1 -1
  135. package/dist/remote-node/bridge-effect-schema.js +64 -3
  136. package/dist/remote-node/bridge-effect-schema.js.map +1 -1
  137. package/dist/remote-node/contract.d.ts +163 -10
  138. package/dist/remote-node/contract.d.ts.map +1 -1
  139. package/dist/remote-node/contract.js +22 -3
  140. package/dist/remote-node/contract.js.map +1 -1
  141. package/dist/remote-node/index.d.ts +1 -1
  142. package/dist/remote-node/index.d.ts.map +1 -1
  143. package/dist/remote-node/index.js +1 -1
  144. package/dist/remote-node/index.js.map +1 -1
  145. package/dist/remote-node/request-effect-schema.d.ts +42 -0
  146. package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
  147. package/dist/remote-node/request-effect-schema.js +25 -0
  148. package/dist/remote-node/request-effect-schema.js.map +1 -1
  149. package/dist/remote-node/result-effect-schema.d.ts +196 -21
  150. package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
  151. package/dist/remote-node/result-effect-schema.js +42 -8
  152. package/dist/remote-node/result-effect-schema.js.map +1 -1
  153. package/dist/routine/contract.d.ts +470 -0
  154. package/dist/routine/contract.d.ts.map +1 -0
  155. package/dist/routine/contract.js +27 -0
  156. package/dist/routine/contract.js.map +1 -0
  157. package/dist/routine/effect-schema.d.ts +923 -0
  158. package/dist/routine/effect-schema.d.ts.map +1 -0
  159. package/dist/routine/effect-schema.js +268 -0
  160. package/dist/routine/effect-schema.js.map +1 -0
  161. package/dist/routine/feature.d.ts +263 -0
  162. package/dist/routine/feature.d.ts.map +1 -0
  163. package/dist/routine/feature.js +249 -0
  164. package/dist/routine/feature.js.map +1 -0
  165. package/dist/routine/index.d.ts +3 -0
  166. package/dist/routine/index.d.ts.map +1 -0
  167. package/dist/routine/index.js +3 -0
  168. package/dist/routine/index.js.map +1 -0
  169. package/dist/routine/policy.d.ts +15 -0
  170. package/dist/routine/policy.d.ts.map +1 -0
  171. package/dist/routine/policy.js +31 -0
  172. package/dist/routine/policy.js.map +1 -0
  173. package/dist/session/agent-permission-contract.d.ts +5 -5
  174. package/dist/session/agent-permission-effect-schema.d.ts +9 -9
  175. package/dist/session/contract.d.ts +13 -0
  176. package/dist/session/contract.d.ts.map +1 -1
  177. package/dist/session/effect-schema.d.ts +40 -5
  178. package/dist/session/effect-schema.d.ts.map +1 -1
  179. package/dist/session/effect-schema.js +33 -12
  180. package/dist/session/effect-schema.js.map +1 -1
  181. package/dist/session/feature.d.ts +58 -0
  182. package/dist/session/feature.d.ts.map +1 -1
  183. package/dist/session/feature.js +54 -0
  184. package/dist/session/feature.js.map +1 -1
  185. package/dist/session/index.d.ts +1 -1
  186. package/dist/session/index.d.ts.map +1 -1
  187. package/dist/session/index.js +1 -1
  188. package/dist/session/index.js.map +1 -1
  189. package/dist/session/policy.d.ts +23 -0
  190. package/dist/session/policy.d.ts.map +1 -1
  191. package/dist/session/policy.js +23 -0
  192. package/dist/session/policy.js.map +1 -1
  193. package/dist/session/stop-resume-contract.d.ts +2 -0
  194. package/dist/session/stop-resume-contract.d.ts.map +1 -1
  195. package/dist/session-guard/contract.d.ts +5 -2
  196. package/dist/session-guard/contract.d.ts.map +1 -1
  197. package/dist/session-guard/contract.js +13 -2
  198. package/dist/session-guard/contract.js.map +1 -1
  199. package/dist/team-workspace/contract.d.ts +77 -0
  200. package/dist/team-workspace/contract.d.ts.map +1 -0
  201. package/dist/team-workspace/contract.js +8 -0
  202. package/dist/team-workspace/contract.js.map +1 -0
  203. package/dist/team-workspace/effect-schema.d.ts +142 -0
  204. package/dist/team-workspace/effect-schema.d.ts.map +1 -0
  205. package/dist/team-workspace/effect-schema.js +102 -0
  206. package/dist/team-workspace/effect-schema.js.map +1 -0
  207. package/dist/team-workspace/feature.d.ts +54 -0
  208. package/dist/team-workspace/feature.d.ts.map +1 -0
  209. package/dist/team-workspace/feature.js +59 -0
  210. package/dist/team-workspace/feature.js.map +1 -0
  211. package/dist/team-workspace/index.d.ts +3 -0
  212. package/dist/team-workspace/index.d.ts.map +1 -0
  213. package/dist/team-workspace/index.js +3 -0
  214. package/dist/team-workspace/index.js.map +1 -0
  215. package/dist/team-workspace/policy.d.ts +9 -0
  216. package/dist/team-workspace/policy.d.ts.map +1 -0
  217. package/dist/team-workspace/policy.js +19 -0
  218. package/dist/team-workspace/policy.js.map +1 -0
  219. package/dist/terminal/contract.d.ts +65 -56
  220. package/dist/terminal/contract.d.ts.map +1 -1
  221. package/dist/terminal/effect-schema.d.ts +400 -382
  222. package/dist/terminal/effect-schema.d.ts.map +1 -1
  223. package/dist/terminal/effect-schema.js +12 -0
  224. package/dist/terminal/effect-schema.js.map +1 -1
  225. package/dist/terminal/index.d.ts +1 -1
  226. package/dist/terminal/index.d.ts.map +1 -1
  227. package/dist/terminal/index.js +1 -1
  228. package/dist/terminal/index.js.map +1 -1
  229. package/dist/terminal/live-effect-schema.d.ts +630 -621
  230. package/dist/terminal/live-effect-schema.d.ts.map +1 -1
  231. package/dist/terminal/live-effect-schema.js +15 -2
  232. package/dist/terminal/live-effect-schema.js.map +1 -1
  233. package/dist/terminal/live-policy.d.ts +9 -0
  234. package/dist/terminal/live-policy.d.ts.map +1 -1
  235. package/dist/terminal/live-policy.js +9 -0
  236. package/dist/terminal/live-policy.js.map +1 -1
  237. package/dist/terminal/live-types.d.ts +7 -1
  238. package/dist/terminal/live-types.d.ts.map +1 -1
  239. package/dist/turn/contract.d.ts +166 -1
  240. package/dist/turn/contract.d.ts.map +1 -1
  241. package/dist/turn/contract.js +10 -1
  242. package/dist/turn/contract.js.map +1 -1
  243. package/dist/turn/effect-schema.d.ts +325 -0
  244. package/dist/turn/effect-schema.d.ts.map +1 -1
  245. package/dist/turn/effect-schema.js +50 -2
  246. package/dist/turn/effect-schema.js.map +1 -1
  247. package/dist/turn/index.d.ts +2 -2
  248. package/dist/turn/index.d.ts.map +1 -1
  249. package/dist/turn/index.js +2 -2
  250. package/dist/turn/index.js.map +1 -1
  251. package/dist/turn/policy.d.ts +7 -0
  252. package/dist/turn/policy.d.ts.map +1 -1
  253. package/dist/turn/policy.js +7 -0
  254. package/dist/turn/policy.js.map +1 -1
  255. package/dist/voice/contract.d.ts +4 -4
  256. package/dist/voice/effect-schema.d.ts +6 -6
  257. package/dist/voice/effect-schema.d.ts.map +1 -1
  258. package/dist/voice/effect-schema.js +2 -0
  259. package/dist/voice/effect-schema.js.map +1 -1
  260. package/package.json +7 -7
@@ -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.login.start", "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.login.start", "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.list", "connection.login.start", "connection.models.list", "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.list", "connection.login.start", "connection.models.list", "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<{
@@ -1206,6 +1350,104 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1206
1350
  readonly inputDigest: Schema.String;
1207
1351
  readonly proof: Schema.String;
1208
1352
  }>;
1353
+ }>]>, Schema.Union<readonly [Schema.Struct<{
1354
+ readonly method: Schema.Literal<"agents.list">;
1355
+ readonly parameters: Schema.Struct<{
1356
+ readonly afterCursor: Schema.optional<Schema.String>;
1357
+ readonly limit: Schema.Int;
1358
+ readonly projectId: Schema.String;
1359
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled"]>>;
1360
+ }>;
1361
+ }>, Schema.Struct<{
1362
+ readonly method: Schema.Literal<"agents.show">;
1363
+ readonly parameters: Schema.Struct<{
1364
+ readonly agentId: Schema.String;
1365
+ readonly revision: Schema.optional<Schema.String>;
1366
+ }>;
1367
+ }>, Schema.Struct<{
1368
+ readonly method: Schema.Literal<"agents.change.preview">;
1369
+ readonly parameters: Schema.Struct<{
1370
+ change: Schema.Union<readonly [Schema.Struct<{
1371
+ readonly kind: Schema.Literal<"create">;
1372
+ readonly projectId: Schema.String;
1373
+ readonly spec: Schema.Struct<{
1374
+ readonly accountableActorId: Schema.String;
1375
+ readonly connectionId: Schema.optional<Schema.String>;
1376
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1377
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1378
+ readonly homeSessionId: Schema.optional<Schema.String>;
1379
+ readonly instruction: Schema.String;
1380
+ readonly managerAgentId: Schema.optional<Schema.String>;
1381
+ readonly model: Schema.optional<Schema.String>;
1382
+ readonly name: Schema.Trim;
1383
+ readonly placement: Schema.Literal<"local">;
1384
+ }>;
1385
+ }>, Schema.Struct<{
1386
+ readonly agentId: Schema.String;
1387
+ readonly expectedRevision: Schema.String;
1388
+ readonly kind: Schema.Literal<"revise">;
1389
+ readonly spec: Schema.Struct<{
1390
+ readonly accountableActorId: Schema.String;
1391
+ readonly connectionId: Schema.optional<Schema.String>;
1392
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1393
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1394
+ readonly homeSessionId: Schema.optional<Schema.String>;
1395
+ readonly instruction: Schema.String;
1396
+ readonly managerAgentId: Schema.optional<Schema.String>;
1397
+ readonly model: Schema.optional<Schema.String>;
1398
+ readonly name: Schema.Trim;
1399
+ readonly placement: Schema.Literal<"local">;
1400
+ }>;
1401
+ }>, Schema.Struct<{
1402
+ readonly agentId: Schema.String;
1403
+ readonly expectedRevision: Schema.String;
1404
+ readonly kind: Schema.Literal<"disable">;
1405
+ }>]>;
1406
+ commandId: Schema.String;
1407
+ }>;
1408
+ }>, Schema.Struct<{
1409
+ readonly method: Schema.Literal<"agents.change.confirm">;
1410
+ readonly parameters: Schema.Struct<{
1411
+ readonly change: Schema.Union<readonly [Schema.Struct<{
1412
+ readonly kind: Schema.Literal<"create">;
1413
+ readonly projectId: Schema.String;
1414
+ readonly spec: Schema.Struct<{
1415
+ readonly accountableActorId: Schema.String;
1416
+ readonly connectionId: Schema.optional<Schema.String>;
1417
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1418
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1419
+ readonly homeSessionId: Schema.optional<Schema.String>;
1420
+ readonly instruction: Schema.String;
1421
+ readonly managerAgentId: Schema.optional<Schema.String>;
1422
+ readonly model: Schema.optional<Schema.String>;
1423
+ readonly name: Schema.Trim;
1424
+ readonly placement: Schema.Literal<"local">;
1425
+ }>;
1426
+ }>, Schema.Struct<{
1427
+ readonly agentId: Schema.String;
1428
+ readonly expectedRevision: Schema.String;
1429
+ readonly kind: Schema.Literal<"revise">;
1430
+ readonly spec: Schema.Struct<{
1431
+ readonly accountableActorId: Schema.String;
1432
+ readonly connectionId: Schema.optional<Schema.String>;
1433
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
1434
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
1435
+ readonly homeSessionId: Schema.optional<Schema.String>;
1436
+ readonly instruction: Schema.String;
1437
+ readonly managerAgentId: Schema.optional<Schema.String>;
1438
+ readonly model: Schema.optional<Schema.String>;
1439
+ readonly name: Schema.Trim;
1440
+ readonly placement: Schema.Literal<"local">;
1441
+ }>;
1442
+ }>, Schema.Struct<{
1443
+ readonly agentId: Schema.String;
1444
+ readonly expectedRevision: Schema.String;
1445
+ readonly kind: Schema.Literal<"disable">;
1446
+ }>]>;
1447
+ readonly commandId: Schema.String;
1448
+ readonly inputDigest: Schema.String;
1449
+ readonly proof: Schema.String;
1450
+ }>;
1209
1451
  }>]>, Schema.Union<readonly [Schema.Struct<{
1210
1452
  readonly method: Schema.Literal<"discovery.sessions.list">;
1211
1453
  readonly parameters: Schema.Struct<{
@@ -1244,6 +1486,26 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1244
1486
  readonly parameters: Schema.Struct<{
1245
1487
  readonly previewId: Schema.String;
1246
1488
  }>;
1489
+ }>]>, Schema.Union<readonly [Schema.Struct<{
1490
+ readonly method: Schema.Literal<"team-workspace.bootstrap.preview">;
1491
+ readonly parameters: Schema.Struct<{
1492
+ commandId: Schema.String;
1493
+ expectedBootstrapRevision: Schema.Literal<"0">;
1494
+ ownerDisplayName: Schema.String;
1495
+ schemaVersion: Schema.Literal<1>;
1496
+ workspaceName: Schema.String;
1497
+ }>;
1498
+ }>, Schema.Struct<{
1499
+ readonly method: Schema.Literal<"team-workspace.bootstrap.apply">;
1500
+ readonly parameters: Schema.Struct<{
1501
+ readonly commandId: Schema.String;
1502
+ readonly expectedBootstrapRevision: Schema.Literal<"0">;
1503
+ readonly ownerDisplayName: Schema.String;
1504
+ readonly schemaVersion: Schema.Literal<1>;
1505
+ readonly workspaceName: Schema.String;
1506
+ readonly inputDigest: Schema.String;
1507
+ readonly previewId: Schema.String;
1508
+ }>;
1247
1509
  }>]>, Schema.Union<readonly [Schema.Struct<{
1248
1510
  readonly method: Schema.Literal<"terminal.create">;
1249
1511
  readonly parameters: Schema.Union<readonly [Schema.Struct<{
@@ -1256,6 +1518,10 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1256
1518
  readonly commandId: Schema.String;
1257
1519
  readonly expectedRevision: Schema.Literal<"0">;
1258
1520
  readonly mode: Schema.Literal<"interactive">;
1521
+ readonly program: Schema.optional<Schema.Struct<{
1522
+ readonly argv: Schema.$Array<Schema.String>;
1523
+ readonly name: Schema.String;
1524
+ }>>;
1259
1525
  readonly workspaceId: Schema.String;
1260
1526
  }>]>;
1261
1527
  }>, Schema.Struct<{
@@ -1474,6 +1740,18 @@ export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly
1474
1740
  readonly sourceTerminalGeneration: Schema.Int;
1475
1741
  }>]>;
1476
1742
  }>]>]>, Schema.Union<readonly [Schema.Struct<{
1743
+ readonly method: Schema.Literal<"turn.cancel">;
1744
+ readonly parameters: Schema.Struct<{
1745
+ readonly commandId: Schema.String;
1746
+ readonly expectedRevision: Schema.String;
1747
+ readonly turnId: Schema.String;
1748
+ }>;
1749
+ }>, Schema.Struct<{
1750
+ readonly method: Schema.Literal<"turn.queue.list">;
1751
+ readonly parameters: Schema.Struct<{
1752
+ readonly sessionId: Schema.String;
1753
+ }>;
1754
+ }>, Schema.Struct<{
1477
1755
  readonly method: Schema.Literal<"turn.interrupt">;
1478
1756
  readonly parameters: Schema.Struct<{
1479
1757
  readonly commandId: Schema.String;
@@ -1968,7 +2246,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
1968
2246
  readonly actor: Schema.optional<Schema.String>;
1969
2247
  readonly afterCursor: Schema.optional<Schema.String>;
1970
2248
  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"]>>;
2249
+ readonly method: Schema.optional<Schema.Literals<readonly ["agents.change.confirm", "approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.login.start", "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
2250
  readonly since: Schema.optional<Schema.String>;
1973
2251
  readonly until: Schema.optional<Schema.String>;
1974
2252
  }>;
@@ -2171,6 +2449,27 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2171
2449
  readonly parameters: Schema.Struct<{
2172
2450
  readonly includeRemoved: Schema.optional<Schema.Boolean>;
2173
2451
  }>;
2452
+ }>, Schema.Struct<{
2453
+ readonly method: Schema.Literal<"node.remote.register.preview">;
2454
+ readonly parameters: Schema.Struct<{
2455
+ commandId: Schema.String;
2456
+ host: Schema.String;
2457
+ launcherPath: Schema.optional<Schema.String>;
2458
+ name: Schema.String;
2459
+ profile: Schema.optional<Schema.String>;
2460
+ }>;
2461
+ }>, Schema.Struct<{
2462
+ readonly method: Schema.Literal<"node.remote.register.confirm">;
2463
+ readonly parameters: Schema.Struct<{
2464
+ readonly commandId: Schema.String;
2465
+ readonly host: Schema.String;
2466
+ readonly launcherPath: Schema.optional<Schema.String>;
2467
+ readonly name: Schema.String;
2468
+ readonly profile: Schema.optional<Schema.String>;
2469
+ readonly inputDigest: Schema.String;
2470
+ readonly planDigest: Schema.String;
2471
+ readonly proof: Schema.String;
2472
+ }>;
2174
2473
  }>, Schema.Struct<{
2175
2474
  readonly method: Schema.Literal<"node.remote.remove.preview">;
2176
2475
  readonly parameters: Schema.Struct<{
@@ -2190,6 +2489,103 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2190
2489
  readonly proof: Schema.String;
2191
2490
  readonly waitMs: Schema.optional<Schema.Int>;
2192
2491
  }>;
2492
+ }>]>, Schema.Union<readonly [Schema.Struct<{
2493
+ readonly method: Schema.Literal<"routine.list">;
2494
+ readonly parameters: Schema.Struct<{
2495
+ readonly afterCursor: Schema.optional<Schema.String>;
2496
+ readonly limit: Schema.Int;
2497
+ readonly projectId: Schema.optional<Schema.String>;
2498
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled", "paused"]>>;
2499
+ }>;
2500
+ }>, Schema.Struct<{
2501
+ readonly method: Schema.Literal<"routine.show">;
2502
+ readonly parameters: Schema.Struct<{
2503
+ readonly routineId: Schema.String;
2504
+ }>;
2505
+ }>, Schema.Struct<{
2506
+ readonly method: Schema.Literal<"routine.create.preview">;
2507
+ readonly parameters: Schema.Struct<{
2508
+ commandId: Schema.String;
2509
+ name: Schema.Trim;
2510
+ paused: Schema.optional<Schema.Boolean>;
2511
+ schedule: Schema.Struct<{
2512
+ readonly expression: Schema.String;
2513
+ readonly timezone: Schema.String;
2514
+ }>;
2515
+ template: Schema.Struct<{
2516
+ readonly connectionId: Schema.optional<Schema.String>;
2517
+ readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
2518
+ readonly model: Schema.optional<Schema.String>;
2519
+ readonly projectId: Schema.String;
2520
+ readonly prompt: Schema.String;
2521
+ }>;
2522
+ }>;
2523
+ }>, Schema.Struct<{
2524
+ readonly method: Schema.Literal<"routine.create.confirm">;
2525
+ readonly parameters: Schema.Struct<{
2526
+ readonly commandId: Schema.String;
2527
+ readonly name: Schema.Trim;
2528
+ readonly paused: Schema.optional<Schema.Boolean>;
2529
+ readonly schedule: Schema.Struct<{
2530
+ readonly expression: Schema.String;
2531
+ readonly timezone: Schema.String;
2532
+ }>;
2533
+ readonly template: Schema.Struct<{
2534
+ readonly connectionId: Schema.optional<Schema.String>;
2535
+ readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
2536
+ readonly model: Schema.optional<Schema.String>;
2537
+ readonly projectId: Schema.String;
2538
+ readonly prompt: Schema.String;
2539
+ }>;
2540
+ readonly inputDigest: Schema.String;
2541
+ readonly proof: Schema.String;
2542
+ }>;
2543
+ }>, Schema.Struct<{
2544
+ readonly method: Schema.Literal<"routine.pause">;
2545
+ readonly parameters: Schema.Struct<{
2546
+ commandId: Schema.String;
2547
+ expectedRevision: Schema.String;
2548
+ routineId: Schema.String;
2549
+ }>;
2550
+ }>, Schema.Struct<{
2551
+ readonly method: Schema.Literal<"routine.resume">;
2552
+ readonly parameters: Schema.Struct<{
2553
+ commandId: Schema.String;
2554
+ expectedRevision: Schema.String;
2555
+ routineId: Schema.String;
2556
+ }>;
2557
+ }>, Schema.Struct<{
2558
+ readonly method: Schema.Literal<"routine.disable.preview">;
2559
+ readonly parameters: Schema.Struct<{
2560
+ commandId: Schema.String;
2561
+ expectedRevision: Schema.String;
2562
+ routineId: Schema.String;
2563
+ }>;
2564
+ }>, Schema.Struct<{
2565
+ readonly method: Schema.Literal<"routine.disable.confirm">;
2566
+ readonly parameters: Schema.Struct<{
2567
+ readonly inputDigest: Schema.String;
2568
+ readonly proof: Schema.String;
2569
+ readonly commandId: Schema.String;
2570
+ readonly expectedRevision: Schema.String;
2571
+ readonly routineId: Schema.String;
2572
+ }>;
2573
+ }>, Schema.Struct<{
2574
+ readonly method: Schema.Literal<"routine.run.preview">;
2575
+ readonly parameters: Schema.Struct<{
2576
+ commandId: Schema.String;
2577
+ expectedRevision: Schema.String;
2578
+ routineId: Schema.String;
2579
+ }>;
2580
+ }>, Schema.Struct<{
2581
+ readonly method: Schema.Literal<"routine.run.confirm">;
2582
+ readonly parameters: Schema.Struct<{
2583
+ readonly inputDigest: Schema.String;
2584
+ readonly proof: Schema.String;
2585
+ readonly commandId: Schema.String;
2586
+ readonly expectedRevision: Schema.String;
2587
+ readonly routineId: Schema.String;
2588
+ }>;
2193
2589
  }>]>, Schema.Union<readonly [Schema.Struct<{
2194
2590
  readonly method: Schema.Literal<"run.ledger.create">;
2195
2591
  readonly parameters: Schema.Struct<{
@@ -2414,12 +2810,14 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2414
2810
  readonly commandId: Schema.String;
2415
2811
  readonly expectedRevision: Schema.Literal<"0">;
2416
2812
  readonly workspaceId: Schema.String;
2813
+ readonly agentId: Schema.optional<Schema.String>;
2417
2814
  readonly connectionId: Schema.optional<Schema.String>;
2418
2815
  readonly definitionRef: Schema.optional<Schema.Struct<{
2419
2816
  readonly contentDigest: Schema.String;
2420
2817
  readonly key: Schema.String;
2421
2818
  readonly version: Schema.String;
2422
2819
  }>>;
2820
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
2423
2821
  readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
2424
2822
  readonly model: Schema.optional<Schema.String>;
2425
2823
  readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
@@ -2541,7 +2939,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2541
2939
  }>;
2542
2940
  readonly expectedSessionRevision: Schema.String;
2543
2941
  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"]>>;
2942
+ 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.list", "connection.login.start", "connection.models.list", "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
2943
  readonly sessionId: Schema.String;
2546
2944
  readonly workspaceId: Schema.String;
2547
2945
  readonly commandId: Schema.String;
@@ -2556,7 +2954,7 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2556
2954
  }>;
2557
2955
  readonly expectedSessionRevision: Schema.String;
2558
2956
  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"]>>;
2957
+ 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.list", "connection.login.start", "connection.models.list", "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
2958
  readonly sessionId: Schema.String;
2561
2959
  readonly workspaceId: Schema.String;
2562
2960
  readonly commandId: Schema.String;
@@ -2629,7 +3027,28 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2629
3027
  }>;
2630
3028
  }>, Schema.Struct<{
2631
3029
  readonly method: Schema.Literal<"connection.detect">;
3030
+ readonly parameters: Schema.Struct<{
3031
+ readonly upkeep: Schema.optional<Schema.Boolean>;
3032
+ }>;
3033
+ }>, Schema.Struct<{
3034
+ readonly method: Schema.Literal<"connection.upkeep.refresh">;
2632
3035
  readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
3036
+ }>, Schema.Struct<{
3037
+ readonly method: Schema.Literal<"connection.upkeep.preview">;
3038
+ readonly parameters: Schema.Struct<{
3039
+ commandId: Schema.String;
3040
+ executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
3041
+ policy: Schema.Literals<readonly ["notify", "off"]>;
3042
+ }>;
3043
+ }>, Schema.Struct<{
3044
+ readonly method: Schema.Literal<"connection.upkeep.confirm">;
3045
+ readonly parameters: Schema.Struct<{
3046
+ readonly commandId: Schema.String;
3047
+ readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
3048
+ readonly policy: Schema.Literals<readonly ["notify", "off"]>;
3049
+ readonly inputDigest: Schema.String;
3050
+ readonly proof: Schema.String;
3051
+ }>;
2633
3052
  }>, Schema.Struct<{
2634
3053
  readonly method: Schema.Literal<"connection.system.preview">;
2635
3054
  readonly parameters: Schema.Struct<{
@@ -2742,6 +3161,104 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2742
3161
  readonly inputDigest: Schema.String;
2743
3162
  readonly proof: Schema.String;
2744
3163
  }>;
3164
+ }>]>, Schema.Union<readonly [Schema.Struct<{
3165
+ readonly method: Schema.Literal<"agents.list">;
3166
+ readonly parameters: Schema.Struct<{
3167
+ readonly afterCursor: Schema.optional<Schema.String>;
3168
+ readonly limit: Schema.Int;
3169
+ readonly projectId: Schema.String;
3170
+ readonly state: Schema.optional<Schema.Literals<readonly ["active", "disabled"]>>;
3171
+ }>;
3172
+ }>, Schema.Struct<{
3173
+ readonly method: Schema.Literal<"agents.show">;
3174
+ readonly parameters: Schema.Struct<{
3175
+ readonly agentId: Schema.String;
3176
+ readonly revision: Schema.optional<Schema.String>;
3177
+ }>;
3178
+ }>, Schema.Struct<{
3179
+ readonly method: Schema.Literal<"agents.change.preview">;
3180
+ readonly parameters: Schema.Struct<{
3181
+ change: Schema.Union<readonly [Schema.Struct<{
3182
+ readonly kind: Schema.Literal<"create">;
3183
+ readonly projectId: Schema.String;
3184
+ readonly spec: Schema.Struct<{
3185
+ readonly accountableActorId: Schema.String;
3186
+ readonly connectionId: Schema.optional<Schema.String>;
3187
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3188
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3189
+ readonly homeSessionId: Schema.optional<Schema.String>;
3190
+ readonly instruction: Schema.String;
3191
+ readonly managerAgentId: Schema.optional<Schema.String>;
3192
+ readonly model: Schema.optional<Schema.String>;
3193
+ readonly name: Schema.Trim;
3194
+ readonly placement: Schema.Literal<"local">;
3195
+ }>;
3196
+ }>, Schema.Struct<{
3197
+ readonly agentId: Schema.String;
3198
+ readonly expectedRevision: Schema.String;
3199
+ readonly kind: Schema.Literal<"revise">;
3200
+ readonly spec: Schema.Struct<{
3201
+ readonly accountableActorId: Schema.String;
3202
+ readonly connectionId: Schema.optional<Schema.String>;
3203
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3204
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3205
+ readonly homeSessionId: Schema.optional<Schema.String>;
3206
+ readonly instruction: Schema.String;
3207
+ readonly managerAgentId: Schema.optional<Schema.String>;
3208
+ readonly model: Schema.optional<Schema.String>;
3209
+ readonly name: Schema.Trim;
3210
+ readonly placement: Schema.Literal<"local">;
3211
+ }>;
3212
+ }>, Schema.Struct<{
3213
+ readonly agentId: Schema.String;
3214
+ readonly expectedRevision: Schema.String;
3215
+ readonly kind: Schema.Literal<"disable">;
3216
+ }>]>;
3217
+ commandId: Schema.String;
3218
+ }>;
3219
+ }>, Schema.Struct<{
3220
+ readonly method: Schema.Literal<"agents.change.confirm">;
3221
+ readonly parameters: Schema.Struct<{
3222
+ readonly change: Schema.Union<readonly [Schema.Struct<{
3223
+ readonly kind: Schema.Literal<"create">;
3224
+ readonly projectId: Schema.String;
3225
+ readonly spec: Schema.Struct<{
3226
+ readonly accountableActorId: Schema.String;
3227
+ readonly connectionId: Schema.optional<Schema.String>;
3228
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3229
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3230
+ readonly homeSessionId: Schema.optional<Schema.String>;
3231
+ readonly instruction: Schema.String;
3232
+ readonly managerAgentId: Schema.optional<Schema.String>;
3233
+ readonly model: Schema.optional<Schema.String>;
3234
+ readonly name: Schema.Trim;
3235
+ readonly placement: Schema.Literal<"local">;
3236
+ }>;
3237
+ }>, Schema.Struct<{
3238
+ readonly agentId: Schema.String;
3239
+ readonly expectedRevision: Schema.String;
3240
+ readonly kind: Schema.Literal<"revise">;
3241
+ readonly spec: Schema.Struct<{
3242
+ readonly accountableActorId: Schema.String;
3243
+ readonly connectionId: Schema.optional<Schema.String>;
3244
+ readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
3245
+ readonly harness: Schema.Literals<readonly ["claude-code", "codex-cli", "maia-agent", "pi"]>;
3246
+ readonly homeSessionId: Schema.optional<Schema.String>;
3247
+ readonly instruction: Schema.String;
3248
+ readonly managerAgentId: Schema.optional<Schema.String>;
3249
+ readonly model: Schema.optional<Schema.String>;
3250
+ readonly name: Schema.Trim;
3251
+ readonly placement: Schema.Literal<"local">;
3252
+ }>;
3253
+ }>, Schema.Struct<{
3254
+ readonly agentId: Schema.String;
3255
+ readonly expectedRevision: Schema.String;
3256
+ readonly kind: Schema.Literal<"disable">;
3257
+ }>]>;
3258
+ readonly commandId: Schema.String;
3259
+ readonly inputDigest: Schema.String;
3260
+ readonly proof: Schema.String;
3261
+ }>;
2745
3262
  }>]>, Schema.Union<readonly [Schema.Struct<{
2746
3263
  readonly method: Schema.Literal<"discovery.sessions.list">;
2747
3264
  readonly parameters: Schema.Struct<{
@@ -2780,6 +3297,26 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2780
3297
  readonly parameters: Schema.Struct<{
2781
3298
  readonly previewId: Schema.String;
2782
3299
  }>;
3300
+ }>]>, Schema.Union<readonly [Schema.Struct<{
3301
+ readonly method: Schema.Literal<"team-workspace.bootstrap.preview">;
3302
+ readonly parameters: Schema.Struct<{
3303
+ commandId: Schema.String;
3304
+ expectedBootstrapRevision: Schema.Literal<"0">;
3305
+ ownerDisplayName: Schema.String;
3306
+ schemaVersion: Schema.Literal<1>;
3307
+ workspaceName: Schema.String;
3308
+ }>;
3309
+ }>, Schema.Struct<{
3310
+ readonly method: Schema.Literal<"team-workspace.bootstrap.apply">;
3311
+ readonly parameters: Schema.Struct<{
3312
+ readonly commandId: Schema.String;
3313
+ readonly expectedBootstrapRevision: Schema.Literal<"0">;
3314
+ readonly ownerDisplayName: Schema.String;
3315
+ readonly schemaVersion: Schema.Literal<1>;
3316
+ readonly workspaceName: Schema.String;
3317
+ readonly inputDigest: Schema.String;
3318
+ readonly previewId: Schema.String;
3319
+ }>;
2783
3320
  }>]>, Schema.Union<readonly [Schema.Struct<{
2784
3321
  readonly method: Schema.Literal<"terminal.create">;
2785
3322
  readonly parameters: Schema.Union<readonly [Schema.Struct<{
@@ -2792,6 +3329,10 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
2792
3329
  readonly commandId: Schema.String;
2793
3330
  readonly expectedRevision: Schema.Literal<"0">;
2794
3331
  readonly mode: Schema.Literal<"interactive">;
3332
+ readonly program: Schema.optional<Schema.Struct<{
3333
+ readonly argv: Schema.$Array<Schema.String>;
3334
+ readonly name: Schema.String;
3335
+ }>>;
2795
3336
  readonly workspaceId: Schema.String;
2796
3337
  }>]>;
2797
3338
  }>, Schema.Struct<{
@@ -3010,6 +3551,18 @@ export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
3010
3551
  readonly sourceTerminalGeneration: Schema.Int;
3011
3552
  }>]>;
3012
3553
  }>]>]>, Schema.Union<readonly [Schema.Struct<{
3554
+ readonly method: Schema.Literal<"turn.cancel">;
3555
+ readonly parameters: Schema.Struct<{
3556
+ readonly commandId: Schema.String;
3557
+ readonly expectedRevision: Schema.String;
3558
+ readonly turnId: Schema.String;
3559
+ }>;
3560
+ }>, Schema.Struct<{
3561
+ readonly method: Schema.Literal<"turn.queue.list">;
3562
+ readonly parameters: Schema.Struct<{
3563
+ readonly sessionId: Schema.String;
3564
+ }>;
3565
+ }>, Schema.Struct<{
3013
3566
  readonly method: Schema.Literal<"turn.interrupt">;
3014
3567
  readonly parameters: Schema.Struct<{
3015
3568
  readonly commandId: Schema.String;
@@ -3116,6 +3669,11 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
3116
3669
  readonly pid: Schema.Int;
3117
3670
  readonly profile: Schema.String;
3118
3671
  readonly startedAt: Schema.String;
3672
+ readonly executorHost: Schema.optional<Schema.Struct<{
3673
+ readonly bubblewrap: Schema.Literals<readonly ["found", "missing"]>;
3674
+ readonly socat: Schema.Literals<readonly ["found", "missing"]>;
3675
+ readonly userNamespaces: Schema.Literals<readonly ["allowed", "no_nesting", "restricted"]>;
3676
+ }>>;
3119
3677
  readonly method: Schema.Literal<"node.status">;
3120
3678
  readonly processResources: Schema.Struct<{
3121
3679
  readonly activeTrees: Schema.Int;
@@ -3150,7 +3708,7 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
3150
3708
  }>]>;
3151
3709
  readonly cleanupUnknownTrees: Schema.Int;
3152
3710
  readonly fencedTrees: Schema.Int;
3153
- readonly nextStep: Schema.Literals<readonly ["close_idle_terminal", "inspect_cleanup_unknown", "inspect_observed_pressure", "none", "verify_native_host"]>;
3711
+ readonly nextStep: Schema.Literals<readonly ["close_idle_terminal", "inspect_cleanup_unknown", "inspect_observed_pressure", "none", "run_node_in_delegated_cgroup", "verify_native_host"]>;
3154
3712
  readonly observations: Schema.Struct<{
3155
3713
  readonly cpuTimeMilliseconds: Schema.Struct<{
3156
3714
  readonly availableTrees: Schema.Int;
@@ -3210,7 +3768,7 @@ export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
3210
3768
  }>;
3211
3769
  readonly treeCount: Schema.Int;
3212
3770
  }>;
3213
- readonly pressure: Schema.Literals<readonly ["admission_degraded", "cleanup_unknown", "healthy", "observed_pressure", "warning"]>;
3771
+ readonly pressure: Schema.Literals<readonly ["admission_degraded", "cgroup_delegation_unavailable", "cleanup_unknown", "healthy", "observed_pressure", "warning"]>;
3214
3772
  readonly supervision: Schema.Struct<{
3215
3773
  readonly trackedTrees: Schema.Int;
3216
3774
  readonly watcherFibers: Schema.Int;
@@ -3253,6 +3811,7 @@ type LocalNodeSuccessResultMembers = readonly [
3253
3811
  typeof portLeaseResultEffectSchema,
3254
3812
  typeof referenceResultEffectSchema,
3255
3813
  typeof remoteNodeResultEffectSchema,
3814
+ typeof routineResultEffectSchema,
3256
3815
  typeof runLedgerResultEffectSchema,
3257
3816
  typeof projectGuardResultEffectSchema,
3258
3817
  typeof projectWorkspaceSuccessResultEffectSchema,
@@ -3263,7 +3822,9 @@ type LocalNodeSuccessResultMembers = readonly [
3263
3822
  typeof connectionResultEffectSchema,
3264
3823
  typeof containerResultEffectSchema,
3265
3824
  typeof holdResultEffectSchema,
3825
+ typeof agentsResultEffectSchema,
3266
3826
  typeof discoveryResultEffectSchema,
3827
+ typeof teamWorkspaceResultEffectSchema,
3267
3828
  typeof terminalSuccessResultEffectSchema,
3268
3829
  typeof turnSuccessResultEffectSchema,
3269
3830
  typeof voiceSuccessResultEffectSchema