@maiaos/protocol 0.1.0-canary.6 → 0.1.0-canary.60

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 (289) hide show
  1. package/README.md +7 -6
  2. package/dist/agent/definition.d.ts +2 -2
  3. package/dist/agent/worker-operation.d.ts +20 -0
  4. package/dist/agent/worker-operation.d.ts.map +1 -1
  5. package/dist/agents/contract.d.ts +25 -0
  6. package/dist/agents/contract.d.ts.map +1 -1
  7. package/dist/agents/contract.js +3 -1
  8. package/dist/agents/contract.js.map +1 -1
  9. package/dist/agents/effect-schema.d.ts +45 -0
  10. package/dist/agents/effect-schema.d.ts.map +1 -1
  11. package/dist/agents/effect-schema.js +38 -0
  12. package/dist/agents/effect-schema.js.map +1 -1
  13. package/dist/agents/feature.d.ts +25 -0
  14. package/dist/agents/feature.d.ts.map +1 -1
  15. package/dist/agents/feature.js +23 -0
  16. package/dist/agents/feature.js.map +1 -1
  17. package/dist/agents/index.d.ts +1 -1
  18. package/dist/agents/index.d.ts.map +1 -1
  19. package/dist/agents/index.js +1 -1
  20. package/dist/agents/index.js.map +1 -1
  21. package/dist/approval/contract.d.ts +15 -0
  22. package/dist/approval/contract.d.ts.map +1 -1
  23. package/dist/approval/contract.js +2 -1
  24. package/dist/approval/contract.js.map +1 -1
  25. package/dist/approval/effect-schema.d.ts +1 -1
  26. package/dist/approval/effect-schema.d.ts.map +1 -1
  27. package/dist/approval/effect-schema.js +1 -1
  28. package/dist/approval/effect-schema.js.map +1 -1
  29. package/dist/approval/feature.d.ts +6 -2
  30. package/dist/approval/feature.d.ts.map +1 -1
  31. package/dist/approval/feature.js +6 -2
  32. package/dist/approval/feature.js.map +1 -1
  33. package/dist/approval/index.d.ts +1 -1
  34. package/dist/approval/index.d.ts.map +1 -1
  35. package/dist/approval/index.js +1 -1
  36. package/dist/approval/index.js.map +1 -1
  37. package/dist/approval/request-effect-schema.d.ts +23 -0
  38. package/dist/approval/request-effect-schema.d.ts.map +1 -1
  39. package/dist/approval/request-effect-schema.js +19 -2
  40. package/dist/approval/request-effect-schema.js.map +1 -1
  41. package/dist/approval/result-effect-schema.d.ts +6 -0
  42. package/dist/approval/result-effect-schema.d.ts.map +1 -1
  43. package/dist/command-receipt/contract.d.ts +1 -0
  44. package/dist/command-receipt/contract.d.ts.map +1 -1
  45. package/dist/command-receipt/effect-schema.d.ts +2 -0
  46. package/dist/command-receipt/effect-schema.d.ts.map +1 -1
  47. package/dist/command-receipt/effect-schema.js +2 -0
  48. package/dist/command-receipt/effect-schema.js.map +1 -1
  49. package/dist/configuration/configuration.d.ts +2 -0
  50. package/dist/configuration/configuration.d.ts.map +1 -1
  51. package/dist/configuration/configuration.js +11 -3
  52. package/dist/configuration/configuration.js.map +1 -1
  53. package/dist/configuration/index.d.ts +1 -1
  54. package/dist/configuration/index.d.ts.map +1 -1
  55. package/dist/configuration/index.js +1 -1
  56. package/dist/configuration/index.js.map +1 -1
  57. package/dist/connection/request-effect-schema.d.ts +1 -1
  58. package/dist/connection/request-effect-schema.js +1 -1
  59. package/dist/coordinator-tool/index.d.ts +1 -1
  60. package/dist/coordinator-tool/index.d.ts.map +1 -1
  61. package/dist/coordinator-tool/index.js +1 -1
  62. package/dist/coordinator-tool/index.js.map +1 -1
  63. package/dist/coordinator-tool/input-schema.d.ts +0 -7
  64. package/dist/coordinator-tool/input-schema.d.ts.map +1 -1
  65. package/dist/coordinator-tool/input-schema.js +0 -38
  66. package/dist/coordinator-tool/input-schema.js.map +1 -1
  67. package/dist/coordinator-tool/registry.d.ts +5 -0
  68. package/dist/coordinator-tool/registry.d.ts.map +1 -1
  69. package/dist/coordinator-tool/registry.js +23 -2
  70. package/dist/coordinator-tool/registry.js.map +1 -1
  71. package/dist/discovery/contract.d.ts +52 -0
  72. package/dist/discovery/contract.d.ts.map +1 -1
  73. package/dist/discovery/contract.js +3 -1
  74. package/dist/discovery/contract.js.map +1 -1
  75. package/dist/discovery/effect-schema.d.ts +125 -0
  76. package/dist/discovery/effect-schema.d.ts.map +1 -1
  77. package/dist/discovery/effect-schema.js +70 -2
  78. package/dist/discovery/effect-schema.js.map +1 -1
  79. package/dist/discovery/feature.d.ts +1 -1
  80. package/dist/discovery/feature.d.ts.map +1 -1
  81. package/dist/discovery/feature.js +1 -1
  82. package/dist/discovery/feature.js.map +1 -1
  83. package/dist/discovery/index.d.ts +1 -1
  84. package/dist/discovery/index.d.ts.map +1 -1
  85. package/dist/discovery/index.js +1 -1
  86. package/dist/discovery/index.js.map +1 -1
  87. package/dist/event/contract.d.ts +47 -0
  88. package/dist/event/contract.d.ts.map +1 -1
  89. package/dist/event/contract.js +3 -0
  90. package/dist/event/contract.js.map +1 -1
  91. package/dist/event/effect-schema.d.ts +3 -1
  92. package/dist/event/effect-schema.d.ts.map +1 -1
  93. package/dist/event/effect-schema.js +3 -1
  94. package/dist/event/effect-schema.js.map +1 -1
  95. package/dist/event/envelope-effect-schema.d.ts +2 -0
  96. package/dist/event/envelope-effect-schema.d.ts.map +1 -1
  97. package/dist/event/envelope-effect-schema.js +2 -0
  98. package/dist/event/envelope-effect-schema.js.map +1 -1
  99. package/dist/event/feature.d.ts +30 -0
  100. package/dist/event/feature.d.ts.map +1 -0
  101. package/dist/event/feature.js +34 -0
  102. package/dist/event/feature.js.map +1 -0
  103. package/dist/event/format.d.ts +6 -0
  104. package/dist/event/format.d.ts.map +1 -1
  105. package/dist/event/format.js +6 -0
  106. package/dist/event/format.js.map +1 -1
  107. package/dist/event/index.d.ts +4 -1
  108. package/dist/event/index.d.ts.map +1 -1
  109. package/dist/event/index.js +4 -1
  110. package/dist/event/index.js.map +1 -1
  111. package/dist/event/lifecycle/effect-schema.d.ts +20 -0
  112. package/dist/event/lifecycle/effect-schema.d.ts.map +1 -0
  113. package/dist/event/lifecycle/effect-schema.js +23 -0
  114. package/dist/event/lifecycle/effect-schema.js.map +1 -0
  115. package/dist/event/lifecycle/index.d.ts +2 -0
  116. package/dist/event/lifecycle/index.d.ts.map +1 -0
  117. package/dist/event/lifecycle/index.js +2 -0
  118. package/dist/event/lifecycle/index.js.map +1 -0
  119. package/dist/event/lifecycle/schema.d.ts +14 -0
  120. package/dist/event/lifecycle/schema.d.ts.map +1 -0
  121. package/dist/event/lifecycle/schema.js +6 -0
  122. package/dist/event/lifecycle/schema.js.map +1 -0
  123. package/dist/event/read-effect-schema.d.ts +105 -0
  124. package/dist/event/read-effect-schema.d.ts.map +1 -0
  125. package/dist/event/read-effect-schema.js +64 -0
  126. package/dist/event/read-effect-schema.js.map +1 -0
  127. package/dist/event/registry.d.ts +5 -0
  128. package/dist/event/registry.d.ts.map +1 -1
  129. package/dist/event/registry.js +91 -6
  130. package/dist/event/registry.js.map +1 -1
  131. package/dist/event/session-activity-effect-schema.d.ts +36 -0
  132. package/dist/event/session-activity-effect-schema.d.ts.map +1 -0
  133. package/dist/event/session-activity-effect-schema.js +58 -0
  134. package/dist/event/session-activity-effect-schema.js.map +1 -0
  135. package/dist/event/session-activity.d.ts +30 -0
  136. package/dist/event/session-activity.d.ts.map +1 -0
  137. package/dist/event/session-activity.js +19 -0
  138. package/dist/event/session-activity.js.map +1 -0
  139. package/dist/event/update-effect-schema.d.ts +20 -0
  140. package/dist/event/update-effect-schema.d.ts.map +1 -0
  141. package/dist/event/update-effect-schema.js +29 -0
  142. package/dist/event/update-effect-schema.js.map +1 -0
  143. package/dist/event/update.d.ts +16 -0
  144. package/dist/event/update.d.ts.map +1 -0
  145. package/dist/event/update.js +6 -0
  146. package/dist/event/update.js.map +1 -0
  147. package/dist/event-stream/contract.d.ts +120 -0
  148. package/dist/event-stream/contract.d.ts.map +1 -0
  149. package/dist/event-stream/contract.js +5 -0
  150. package/dist/event-stream/contract.js.map +1 -0
  151. package/dist/event-stream/effect-schema.d.ts +117 -0
  152. package/dist/event-stream/effect-schema.d.ts.map +1 -0
  153. package/dist/event-stream/effect-schema.js +90 -0
  154. package/dist/event-stream/effect-schema.js.map +1 -0
  155. package/dist/event-stream/index.d.ts +2 -0
  156. package/dist/event-stream/index.d.ts.map +1 -0
  157. package/dist/event-stream/index.js +2 -0
  158. package/dist/event-stream/index.js.map +1 -0
  159. package/dist/feature/registry.d.ts +5 -1
  160. package/dist/feature/registry.d.ts.map +1 -1
  161. package/dist/feature/registry.js +4 -0
  162. package/dist/feature/registry.js.map +1 -1
  163. package/dist/index.d.ts +10 -8
  164. package/dist/index.d.ts.map +1 -1
  165. package/dist/index.js +10 -8
  166. package/dist/index.js.map +1 -1
  167. package/dist/local-node/contract.d.ts +22 -9
  168. package/dist/local-node/contract.d.ts.map +1 -1
  169. package/dist/local-node/contract.js.map +1 -1
  170. package/dist/local-node/effect-schema.d.ts +278 -10
  171. package/dist/local-node/effect-schema.d.ts.map +1 -1
  172. package/dist/local-node/effect-schema.js +35 -6
  173. package/dist/local-node/effect-schema.js.map +1 -1
  174. package/dist/local-node/node-api/methods.d.ts +11 -4
  175. package/dist/local-node/node-api/methods.d.ts.map +1 -1
  176. package/dist/local-node/node-api/methods.js +15 -0
  177. package/dist/local-node/node-api/methods.js.map +1 -1
  178. package/dist/local-node/receipt-list.d.ts +1 -1
  179. package/dist/local-node/receipt-list.d.ts.map +1 -1
  180. package/dist/local-node/receipt-list.js +1 -0
  181. package/dist/local-node/receipt-list.js.map +1 -1
  182. package/dist/presentation/contract.d.ts +25 -0
  183. package/dist/presentation/contract.d.ts.map +1 -1
  184. package/dist/presentation/effect-schema.d.ts +21 -0
  185. package/dist/presentation/effect-schema.d.ts.map +1 -1
  186. package/dist/presentation/session-list-effect-schema.d.ts +21 -0
  187. package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
  188. package/dist/release/version.d.ts +2 -2
  189. package/dist/release/version.d.ts.map +1 -1
  190. package/dist/release/version.js +2 -2
  191. package/dist/release/version.js.map +1 -1
  192. package/dist/remote-node/bridge-effect-schema.js +2 -2
  193. package/dist/run-ledger/contract.d.ts +2 -0
  194. package/dist/run-ledger/contract.d.ts.map +1 -1
  195. package/dist/run-ledger/result-effect-schema.d.ts +4 -0
  196. package/dist/run-ledger/result-effect-schema.d.ts.map +1 -1
  197. package/dist/runtime-schema/effect-json-schema.d.ts +9 -0
  198. package/dist/runtime-schema/effect-json-schema.d.ts.map +1 -0
  199. package/dist/runtime-schema/effect-json-schema.js +41 -0
  200. package/dist/runtime-schema/effect-json-schema.js.map +1 -0
  201. package/dist/runtime-schema/effect-schema.d.ts +1 -0
  202. package/dist/runtime-schema/effect-schema.d.ts.map +1 -1
  203. package/dist/runtime-schema/effect-schema.js +1 -0
  204. package/dist/runtime-schema/effect-schema.js.map +1 -1
  205. package/dist/session/agent-permission-contract.d.ts +5 -5
  206. package/dist/session/agent-permission-effect-schema.d.ts +9 -9
  207. package/dist/session/contract.d.ts +255 -1
  208. package/dist/session/contract.d.ts.map +1 -1
  209. package/dist/session/contract.js +3 -1
  210. package/dist/session/contract.js.map +1 -1
  211. package/dist/session/effect-schema.d.ts +982 -4
  212. package/dist/session/effect-schema.d.ts.map +1 -1
  213. package/dist/session/effect-schema.js +136 -10
  214. package/dist/session/effect-schema.js.map +1 -1
  215. package/dist/session/feature.d.ts +26 -1
  216. package/dist/session/feature.d.ts.map +1 -1
  217. package/dist/session/feature.js +24 -1
  218. package/dist/session/feature.js.map +1 -1
  219. package/dist/session/index.d.ts +2 -2
  220. package/dist/session/index.d.ts.map +1 -1
  221. package/dist/session/index.js +2 -2
  222. package/dist/session/index.js.map +1 -1
  223. package/dist/session/policy.d.ts +46 -0
  224. package/dist/session/policy.d.ts.map +1 -1
  225. package/dist/session/policy.js +52 -0
  226. package/dist/session/policy.js.map +1 -1
  227. package/dist/session/stop-resume-contract.d.ts +40 -0
  228. package/dist/session/stop-resume-contract.d.ts.map +1 -1
  229. package/dist/session/worktree-effect-schema.d.ts +18 -0
  230. package/dist/session/worktree-effect-schema.d.ts.map +1 -1
  231. package/dist/session/worktree-effect-schema.js +30 -1
  232. package/dist/session/worktree-effect-schema.js.map +1 -1
  233. package/dist/session-guard/contract.d.ts +30 -1
  234. package/dist/session-guard/contract.d.ts.map +1 -1
  235. package/dist/session-guard/contract.js +10 -2
  236. package/dist/session-guard/contract.js.map +1 -1
  237. package/dist/session-guard/index.d.ts +1 -1
  238. package/dist/session-guard/index.d.ts.map +1 -1
  239. package/dist/session-guard/index.js +1 -1
  240. package/dist/session-guard/index.js.map +1 -1
  241. package/dist/session-guard/request-effect-schema.d.ts +33 -0
  242. package/dist/session-guard/request-effect-schema.d.ts.map +1 -1
  243. package/dist/session-guard/request-effect-schema.js +22 -0
  244. package/dist/session-guard/request-effect-schema.js.map +1 -1
  245. package/dist/session-guard/result-effect-schema.d.ts +26 -0
  246. package/dist/session-guard/result-effect-schema.d.ts.map +1 -1
  247. package/dist/session-guard/result-effect-schema.js +3 -1
  248. package/dist/session-guard/result-effect-schema.js.map +1 -1
  249. package/dist/terminal/contract.d.ts +1 -0
  250. package/dist/terminal/contract.d.ts.map +1 -1
  251. package/dist/terminal/effect-schema.d.ts +4 -0
  252. package/dist/terminal/effect-schema.d.ts.map +1 -1
  253. package/dist/terminal/effect-schema.js +2 -0
  254. package/dist/terminal/effect-schema.js.map +1 -1
  255. package/dist/turn/contract.d.ts +12 -0
  256. package/dist/turn/contract.d.ts.map +1 -1
  257. package/dist/turn/effect-schema.d.ts +43 -0
  258. package/dist/turn/effect-schema.d.ts.map +1 -1
  259. package/dist/turn/effect-schema.js +16 -9
  260. package/dist/turn/effect-schema.js.map +1 -1
  261. package/dist/voice/contract.d.ts +6 -6
  262. package/dist/voice/effect-schema.d.ts +9 -9
  263. package/dist/voice/effect-schema.d.ts.map +1 -1
  264. package/dist/voice/effect-schema.js +3 -1
  265. package/dist/voice/effect-schema.js.map +1 -1
  266. package/dist/voice/feature.d.ts +2 -2
  267. package/dist/voice/orchestrator-system-prompt.d.ts +2 -2
  268. package/dist/voice/orchestrator-system-prompt.js +2 -2
  269. package/dist/webhooks/contract.d.ts +342 -0
  270. package/dist/webhooks/contract.d.ts.map +1 -0
  271. package/dist/webhooks/contract.js +25 -0
  272. package/dist/webhooks/contract.js.map +1 -0
  273. package/dist/webhooks/effect-schema.d.ts +536 -0
  274. package/dist/webhooks/effect-schema.d.ts.map +1 -0
  275. package/dist/webhooks/effect-schema.js +177 -0
  276. package/dist/webhooks/effect-schema.js.map +1 -0
  277. package/dist/webhooks/feature.d.ts +105 -0
  278. package/dist/webhooks/feature.d.ts.map +1 -0
  279. package/dist/webhooks/feature.js +103 -0
  280. package/dist/webhooks/feature.js.map +1 -0
  281. package/dist/webhooks/hook-effect-schema.d.ts +38 -0
  282. package/dist/webhooks/hook-effect-schema.d.ts.map +1 -0
  283. package/dist/webhooks/hook-effect-schema.js +64 -0
  284. package/dist/webhooks/hook-effect-schema.js.map +1 -0
  285. package/dist/webhooks/index.d.ts +3 -0
  286. package/dist/webhooks/index.d.ts.map +1 -0
  287. package/dist/webhooks/index.js +3 -0
  288. package/dist/webhooks/index.js.map +1 -0
  289. package/package.json +1 -1
@@ -14,7 +14,12 @@ export declare const presentationSessionListParametersSchema: import("../runtime
14
14
  readonly page: {
15
15
  readonly afterCursor?: string | undefined;
16
16
  readonly attention?: boolean | undefined;
17
+ readonly idleForSeconds?: number | undefined;
18
+ readonly labels?: {
19
+ readonly [x: string]: string;
20
+ } | undefined;
17
21
  readonly projectId?: string | undefined;
22
+ readonly settled?: true | undefined;
18
23
  readonly states?: readonly ("failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval")[] | undefined;
19
24
  readonly limit: number;
20
25
  };
@@ -82,11 +87,13 @@ export declare const presentationSessionListResultSchema: import("../runtime-sch
82
87
  readonly updatedAt: string;
83
88
  readonly workspaceId: string;
84
89
  readonly workspaceRevision: string;
90
+ readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
85
91
  readonly agentDefinitionRef?: {
86
92
  readonly contentDigest: string;
87
93
  readonly key: string;
88
94
  readonly version: string;
89
95
  } | undefined;
96
+ readonly containment?: "none" | undefined;
90
97
  readonly executor?: {
91
98
  readonly connectionId: string;
92
99
  readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
@@ -97,7 +104,25 @@ export declare const presentationSessionListResultSchema: import("../runtime-sch
97
104
  readonly code: string;
98
105
  readonly message: string;
99
106
  } | undefined;
107
+ readonly labels?: {
108
+ readonly [x: string]: string;
109
+ } | undefined;
110
+ readonly latestTurnId?: string | undefined;
111
+ readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
112
+ readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
113
+ readonly prompt?: {
114
+ readonly approvalId: string;
115
+ readonly expiresAt: string;
116
+ readonly kind: "command" | "file_change" | "question" | "tool";
117
+ readonly options?: readonly {
118
+ readonly label: string;
119
+ readonly optionId: string;
120
+ }[] | undefined;
121
+ readonly summary?: string | undefined;
122
+ } | undefined;
100
123
  readonly schemaVersion: 4;
124
+ readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
125
+ readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
101
126
  readonly title?: string | undefined;
102
127
  readonly worktree?: {
103
128
  readonly baseRef: string;
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/presentation/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAoBrE,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;EAEnD,CAAC;AACF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/C,CAAC;AACF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;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AC;AACF,eAAO,MAAM,+BAA+B;;;;;;;;EAE3C,CAAC;AACF,eAAO,MAAM,qCAAqC;;;;;;;;;EAEjD,CAAC;AACF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7C,CAAC;AACF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAElC,CAAC;AACF,MAAM,MAAM,6BAA6B,GAAG,kBAAkB,CAC5D,OAAO,mCAAmC,CAC3C,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,CACxD,OAAO,+BAA+B,CACvC,CAAC;AACF,MAAM,MAAM,+BAA+B,GAAG,kBAAkB,CAC9D,OAAO,qCAAqC,CAC7C,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,kBAAkB,CAC1D,OAAO,iCAAiC,CACzC,CAAC;AACF,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,CAC/C,OAAO,sBAAsB,CAC9B,CAAC"}
@@ -88,7 +88,10 @@ export declare const presentationRequestEffectSchema: Schema.Union<readonly [Sch
88
88
  readonly page: Schema.Struct<{
89
89
  readonly afterCursor: Schema.optional<Schema.String>;
90
90
  readonly attention: Schema.optional<Schema.Boolean>;
91
+ readonly idleForSeconds: Schema.optional<Schema.Int>;
92
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
91
93
  readonly projectId: Schema.optional<Schema.String>;
94
+ readonly settled: Schema.optional<Schema.Literal<true>>;
92
95
  readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
93
96
  readonly limit: Schema.Int;
94
97
  }>;
@@ -185,11 +188,13 @@ export declare const presentationResultEffectSchema: Schema.Union<readonly [Sche
185
188
  readonly updatedAt: Schema.String;
186
189
  readonly workspaceId: Schema.String;
187
190
  readonly workspaceRevision: Schema.String;
191
+ readonly activity: Schema.optional<Schema.Literals<readonly ["stopped", "waiting_approval", "working", "idle"]>>;
188
192
  readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
189
193
  readonly contentDigest: Schema.String;
190
194
  readonly key: Schema.String;
191
195
  readonly version: Schema.String;
192
196
  }>>;
197
+ readonly containment: Schema.optional<Schema.Literal<"none">>;
193
198
  readonly executor: Schema.optional<Schema.Struct<{
194
199
  readonly connectionId: Schema.String;
195
200
  readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
@@ -200,7 +205,23 @@ export declare const presentationResultEffectSchema: Schema.Union<readonly [Sche
200
205
  readonly code: Schema.String;
201
206
  readonly message: Schema.String;
202
207
  }>>;
208
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
209
+ readonly latestTurnId: Schema.optional<Schema.String>;
210
+ readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
211
+ readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
212
+ readonly prompt: Schema.optional<Schema.Struct<{
213
+ readonly approvalId: Schema.String;
214
+ readonly expiresAt: Schema.String;
215
+ readonly kind: Schema.Literals<readonly ["command", "file_change", "question", "tool"]>;
216
+ readonly options: Schema.optional<Schema.$Array<Schema.Struct<{
217
+ readonly label: Schema.String;
218
+ readonly optionId: Schema.String;
219
+ }>>>;
220
+ readonly summary: Schema.optional<Schema.String>;
221
+ }>>;
203
222
  readonly schemaVersion: Schema.Literal<4>;
223
+ readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
224
+ readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
204
225
  readonly title: Schema.optional<Schema.String>;
205
226
  readonly worktree: Schema.optional<Schema.Struct<{
206
227
  readonly baseRef: Schema.String;
@@ -1 +1 @@
1
- {"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/presentation/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAkDxC,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;EAqBxC,CAAC;AACF,eAAO,MAAM,yCAAyC,6CAAQ,CAAC;AAC/D,eAAO,MAAM,qCAAqC;;;;;;;;EAehD,CAAC;AACH,eAAO,MAAM,2CAA2C;;;;;;;;;EAMtD,CAAC;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCnD,CAAC;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiB1C,CAAC;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKzC,CAAC"}
1
+ {"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/presentation/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAkDxC,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;EAqBxC,CAAC;AACF,eAAO,MAAM,yCAAyC,6CAAQ,CAAC;AAC/D,eAAO,MAAM,qCAAqC;;;;;;;;EAehD,CAAC;AACH,eAAO,MAAM,2CAA2C;;;;;;;;;EAMtD,CAAC;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCnD,CAAC;AACF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiB1C,CAAC;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKzC,CAAC"}
@@ -34,7 +34,10 @@ export declare const presentationSessionListParametersEffectSchema: Schema.Struc
34
34
  readonly page: Schema.Struct<{
35
35
  readonly afterCursor: Schema.optional<Schema.String>;
36
36
  readonly attention: Schema.optional<Schema.Boolean>;
37
+ readonly idleForSeconds: Schema.optional<Schema.Int>;
38
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
37
39
  readonly projectId: Schema.optional<Schema.String>;
40
+ readonly settled: Schema.optional<Schema.Literal<true>>;
38
41
  readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
39
42
  readonly limit: Schema.Int;
40
43
  }>;
@@ -102,11 +105,13 @@ export declare const presentationSessionListResultEffectSchema: Schema.Struct<{
102
105
  readonly updatedAt: Schema.String;
103
106
  readonly workspaceId: Schema.String;
104
107
  readonly workspaceRevision: Schema.String;
108
+ readonly activity: Schema.optional<Schema.Literals<readonly ["stopped", "waiting_approval", "working", "idle"]>>;
105
109
  readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
106
110
  readonly contentDigest: Schema.String;
107
111
  readonly key: Schema.String;
108
112
  readonly version: Schema.String;
109
113
  }>>;
114
+ readonly containment: Schema.optional<Schema.Literal<"none">>;
110
115
  readonly executor: Schema.optional<Schema.Struct<{
111
116
  readonly connectionId: Schema.String;
112
117
  readonly effort: Schema.optional<Schema.Literals<readonly ["low", "medium", "high", "xhigh", "max", "ultra"]>>;
@@ -117,7 +122,23 @@ export declare const presentationSessionListResultEffectSchema: Schema.Struct<{
117
122
  readonly code: Schema.String;
118
123
  readonly message: Schema.String;
119
124
  }>>;
125
+ readonly labels: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
126
+ readonly latestTurnId: Schema.optional<Schema.String>;
127
+ readonly latestTurnState: Schema.optional<Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>>;
128
+ readonly permission: Schema.optional<Schema.Literals<readonly ["default", "acceptEdits", "plan", "dontAsk", "bypassPermissions", "untrusted", "on-request", "never"]>>;
129
+ readonly prompt: Schema.optional<Schema.Struct<{
130
+ readonly approvalId: Schema.String;
131
+ readonly expiresAt: Schema.String;
132
+ readonly kind: Schema.Literals<readonly ["command", "file_change", "question", "tool"]>;
133
+ readonly options: Schema.optional<Schema.$Array<Schema.Struct<{
134
+ readonly label: Schema.String;
135
+ readonly optionId: Schema.String;
136
+ }>>>;
137
+ readonly summary: Schema.optional<Schema.String>;
138
+ }>>;
120
139
  readonly schemaVersion: Schema.Literal<4>;
140
+ readonly settledReason: Schema.optional<Schema.Literals<readonly ["failed", "idle", "stopped"]>>;
141
+ readonly status: Schema.optional<Schema.Literals<readonly ["starting", "working", "compacting", "rate_limited", "idle", "question", "approval", "error", "done", "ended", "unknown"]>>;
121
142
  readonly title: Schema.optional<Schema.String>;
122
143
  readonly worktree: Schema.optional<Schema.Struct<{
123
144
  readonly baseRef: Schema.String;
@@ -1 +1 @@
1
- {"version":3,"file":"session-list-effect-schema.d.ts","sourceRoot":"","sources":["../../src/presentation/session-list-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AA6DxC,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;EAgB/C,CAAC;AAaF,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;EAczD,CAAC;AACF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CrD,CAAC"}
1
+ {"version":3,"file":"session-list-effect-schema.d.ts","sourceRoot":"","sources":["../../src/presentation/session-list-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AA6DxC,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;EAgB/C,CAAC;AAaF,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;;;;;EAczD,CAAC;AACF,eAAO,MAAM,yCAAyC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CrD,CAAC"}
@@ -4,7 +4,7 @@
4
4
  */
5
5
  export declare const RELEASE_CHANNELS: readonly ["canary", "next", "nightly", "stable"];
6
6
  export type ReleaseChannel = (typeof RELEASE_CHANNELS)[number];
7
- /** The channels Maia builds and installs while D-132 blocks stable and next. */
7
+ /** The channels Maia installs: canary, which it ships alone (D-202), and the nightly builds published before D-185. */
8
8
  export type InstallableChannel = Extract<ReleaseChannel, "canary" | "nightly">;
9
9
  export type ParsedVersion = {
10
10
  readonly major: number;
@@ -23,7 +23,7 @@ export declare const channelOf: (text: string) => ReleaseChannel;
23
23
  * The channel of a version Maia may publish or install, which is also its npm
24
24
  * dist-tag. `X.Y.Z-canary.N` and `X.Y.Z-nightly.YYYYMMDD.N` pass; stable,
25
25
  * next and every other pre-release shape, such as the retired
26
- * `-canary.<sha>.manual.N`, throw (D-132).
26
+ * `-canary.<sha>.manual.N`, throw (D-202).
27
27
  */
28
28
  export declare const installableChannelOf: (version: string) => InstallableChannel;
29
29
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/release/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,gBAAgB,YAC3B,QAAQ,EACR,MAAM,EACN,SAAS,EACT,QAAQ,CACA,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/D,gFAAgF;AAChF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,cAAc,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAC;AAE/E,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CACxC,CAAC;AAQF,+DAA+D;AAC/D,eAAO,MAAM,YAAY,SAAU,MAAM,KAAG,aAiB3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,SAAU,MAAM,KAAG,cAOxC,CAAC;AA0BF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,YAAa,MAAM,KAAG,kBAWtD,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/release/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,eAAO,MAAM,gBAAgB,YAC3B,QAAQ,EACR,MAAM,EACN,SAAS,EACT,QAAQ,CACA,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE/D,uHAAuH;AACvH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,cAAc,EAAE,QAAQ,GAAG,SAAS,CAAC,CAAC;AAE/E,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CACxC,CAAC;AAQF,+DAA+D;AAC/D,eAAO,MAAM,YAAY,SAAU,MAAM,KAAG,aAiB3C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,SAAU,MAAM,KAAG,cAOxC,CAAC;AA0BF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,YAAa,MAAM,KAAG,kBAWtD,CAAC"}
@@ -62,12 +62,12 @@ const isBuiltVersion = (channel, version) => {
62
62
  * The channel of a version Maia may publish or install, which is also its npm
63
63
  * dist-tag. `X.Y.Z-canary.N` and `X.Y.Z-nightly.YYYYMMDD.N` pass; stable,
64
64
  * next and every other pre-release shape, such as the retired
65
- * `-canary.<sha>.manual.N`, throw (D-132).
65
+ * `-canary.<sha>.manual.N`, throw (D-202).
66
66
  */
67
67
  export const installableChannelOf = (version) => {
68
68
  const channel = channelOf(version);
69
69
  if (channel !== "canary" && channel !== "nightly") {
70
- throw new TypeError(`Maia publishes canary and nightly versions only, not ${version}: stable and next stay blocked until the owner lifts it (D-132).`);
70
+ throw new TypeError(`Maia ships canary builds only, not ${version} (D-202).`);
71
71
  }
72
72
  if (!isBuiltVersion(channel, version)) {
73
73
  throw new TypeError(`${version} is not a ${channel} version Maia builds.`);
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/release/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,QAAQ;IACR,MAAM;IACN,SAAS;IACT,QAAQ;CACA,CAAC;AAcX,MAAM,cAAc,GAClB,sFAAsF,CAAC;AACzF,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;AAC9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I,EAAE,CAAC;QAC5C,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAC3B,CAAC,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,IAAI,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3D,MAAM,cAAc,GAAG,CAAC,OAA2B,EAAE,OAAe,EAAE,EAAE;IACtE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IAClE,OAAO,CACL,OAAO,KAAK,OAAO,CAAC,IAAI,EAAE;QAC1B,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACjE,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,CAClC,CAAC;AACJ,CAAC,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,OAAe,EAAsB,EAAE;IAC1E,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC;IACnC,IAAI,OAAO,KAAK,QAAQ,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QAClD,MAAM,IAAI,SAAS,CACjB,sCAAsC,OAAO,WAAW,CACzD,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,EAAE,CAAC;QACtC,MAAM,IAAI,SAAS,CAAC,GAAG,OAAO,aAAa,OAAO,uBAAuB,CAAC,CAAC;IAC7E,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC"}
@@ -28,8 +28,8 @@ export const bridgeRequestFrameEffectSchema = Schema.Struct({
28
28
  type: Schema.Literal("request"),
29
29
  });
30
30
  /**
31
- * A maia-node version Maia builds: the numbers of a local build (`0.0.0`) or a
32
- * stable release, with the `-nightly.YYYYMMDD.N` or `-canary.N` the release
31
+ * A maia-node version Maia builds: the numbers of a local build (`0.0.0`) or
32
+ * of a release, with the `-nightly.YYYYMMDD.N` or `-canary.N` the release
33
33
  * pipeline adds. A client prints it, so no other text passes.
34
34
  */
35
35
  const bridgeVersionSchema = Schema.String.check(Schema.isPattern(/^\d{1,4}\.\d{1,4}\.\d{1,4}(?:-nightly\.\d{8}\.\d{1,6}|-canary\.\d{1,6})?$/u));
@@ -386,6 +386,8 @@ export declare const runLedgerTaskDispatchResultSchema: import("../runtime-schem
386
386
  readonly state: "completed";
387
387
  readonly tokenUsage?: {
388
388
  readonly cachedInputTokens: number;
389
+ readonly contextTokens?: number | undefined;
390
+ readonly contextWindow?: number | undefined;
389
391
  readonly inputTokens: number;
390
392
  readonly modelCallCount?: number | undefined;
391
393
  readonly outputTokens: number;
@@ -1 +1 @@
1
- {"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../src/run-ledger/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AA8BrE,kDAAkD;AAClD,eAAO,MAAM,sBAAsB,YACjC,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,CACZ,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAIzE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;EAAiC,CAAC;AACjE,MAAM,MAAM,YAAY,GAAG,kBAAkB,CAAC,OAAO,kBAAkB,CAAC,CAAC;AACzE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;EAEtC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,kBAAkB,CACnD,OAAO,0BAA0B,CAClC,CAAC;AACF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAC;AACnE,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,OAAO,mBAAmB,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE3C,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,kBAAkB,CACxD,OAAO,+BAA+B,CACvC,CAAC;AAGF,eAAO,MAAM,yBAAyB,EAAE,oBAAoC,CAAC;AAC7E,eAAO,MAAM,yBAAyB,EAAE,YAA+B,CAAC;AACxE,eAAO,MAAM,8BAA8B,EAAE,iBAC1B,CAAC;AACpB,eAAO,MAAM,gCAAgC,EAAE,MAAgC,CAAC;AAChF,eAAO,MAAM,6BAA6B,EAAE,MAA6B,CAAC;AAC1E,eAAO,MAAM,6BAA6B,EAAE,MAAwB,CAAC"}
@@ -250,6 +250,8 @@ export declare const runLedgerTaskDispatchResultEffectSchema: Schema.Struct<{
250
250
  readonly state: Schema.Literal<"completed">;
251
251
  readonly tokenUsage: Schema.optional<Schema.Struct<{
252
252
  readonly cachedInputTokens: Schema.Int;
253
+ readonly contextTokens: Schema.optional<Schema.Int>;
254
+ readonly contextWindow: Schema.optional<Schema.Int>;
253
255
  readonly inputTokens: Schema.Int;
254
256
  readonly modelCallCount: Schema.optional<Schema.Int>;
255
257
  readonly outputTokens: Schema.Int;
@@ -532,6 +534,8 @@ export declare const runLedgerResultEffectSchema: Schema.Union<readonly [Schema.
532
534
  readonly state: Schema.Literal<"completed">;
533
535
  readonly tokenUsage: Schema.optional<Schema.Struct<{
534
536
  readonly cachedInputTokens: Schema.Int;
537
+ readonly contextTokens: Schema.optional<Schema.Int>;
538
+ readonly contextWindow: Schema.optional<Schema.Int>;
535
539
  readonly inputTokens: Schema.Int;
536
540
  readonly modelCallCount: Schema.optional<Schema.Int>;
537
541
  readonly outputTokens: Schema.Int;
@@ -1 +1 @@
1
- {"version":3,"file":"result-effect-schema.d.ts","sourceRoot":"","sources":["../../src/run-ledger/result-effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAexC,oFAAoF;AACpF,eAAO,MAAM,y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;;;;;;;;;;;;;;;IAOtC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import * as Schema from "effect/Schema";
2
+ /**
3
+ * An optional protocol field is absent or valid, never `null`; the generated
4
+ * `anyOf [schema, null]` would invite a value the Node rejects.
5
+ */
6
+ export declare const withoutNullBranches: (node: unknown) => unknown;
7
+ /** The draft-07 JSON Schema an MCP client validates tool arguments against. */
8
+ export declare const inputSchemaFor: (parameters: Schema.Top) => Readonly<Record<string, unknown>>;
9
+ //# sourceMappingURL=effect-json-schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"effect-json-schema.d.ts","sourceRoot":"","sources":["../../src/runtime-schema/effect-json-schema.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC;;;GAGG;AACH,eAAO,MAAM,mBAAmB,SAAU,OAAO,KAAG,OAkBnD,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,cAAc,eACb,MAAM,CAAC,GAAG,KACrB,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAWlC,CAAC"}
@@ -0,0 +1,41 @@
1
+ import { Predicate } from "effect";
2
+ import * as JsonSchema from "effect/JsonSchema";
3
+ import * as Schema from "effect/Schema";
4
+ const isNullBranch = (branch) => Predicate.hasProperty(branch, "type") && branch.type === "null";
5
+ /**
6
+ * An optional protocol field is absent or valid, never `null`; the generated
7
+ * `anyOf [schema, null]` would invite a value the Node rejects.
8
+ */
9
+ export const withoutNullBranches = (node) => {
10
+ if (Array.isArray(node))
11
+ return node.map(withoutNullBranches);
12
+ if (!Predicate.isObject(node))
13
+ return node;
14
+ const cleaned = Object.fromEntries(Object.entries(node).map(([key, value]) => [
15
+ key,
16
+ withoutNullBranches(value),
17
+ ]));
18
+ const branches = cleaned.anyOf;
19
+ if (!Array.isArray(branches))
20
+ return cleaned;
21
+ const kept = branches.filter((branch) => !isNullBranch(branch));
22
+ if (kept.length === branches.length)
23
+ return cleaned;
24
+ const { anyOf: _nullable, ...rest } = cleaned;
25
+ const [only] = kept;
26
+ if (kept.length === 1 && Predicate.isObject(only))
27
+ return { ...rest, ...only };
28
+ return { ...rest, anyOf: kept };
29
+ };
30
+ /** The draft-07 JSON Schema an MCP client validates tool arguments against. */
31
+ export const inputSchemaFor = (parameters) => {
32
+ const document = JsonSchema.toDocumentDraft07(Schema.toJsonSchemaDocument(parameters, { onExcessProperty: "error" }));
33
+ const schema = withoutNullBranches({
34
+ ...document.schema,
35
+ ...(Object.keys(document.definitions).length === 0
36
+ ? {}
37
+ : { definitions: document.definitions }),
38
+ });
39
+ return Predicate.isObject(schema) ? { ...schema } : { type: "object" };
40
+ };
41
+ //# sourceMappingURL=effect-json-schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"effect-json-schema.js","sourceRoot":"","sources":["../../src/runtime-schema/effect-json-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,MAAM,YAAY,GAAG,CAAC,MAAe,EAAW,EAAE,CAChD,SAAS,CAAC,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,IAAI,KAAK,MAAM,CAAC;AAElE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAa,EAAW,EAAE;IAC5D,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IAC9D,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAC3C,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,CAChC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAA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AC,WAAW,EAAE,CAAC;KAC3C,CAAC,CAAC;IACH,OAAO,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;AACzE,CAAC,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { makeEffectRuntimeSchema } from "./effect-adapter.js";
2
+ export { inputSchemaFor, withoutNullBranches } from "./effect-json-schema.js";
2
3
  //# sourceMappingURL=effect-schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/runtime-schema/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"effect-schema.d.ts","sourceRoot":"","sources":["../../src/runtime-schema/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { makeEffectRuntimeSchema } from "./effect-adapter.js";
2
+ export { inputSchemaFor, withoutNullBranches } from "./effect-json-schema.js";
2
3
  //# sourceMappingURL=effect-schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"effect-schema.js","sourceRoot":"","sources":["../../src/runtime-schema/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"effect-schema.js","sourceRoot":"","sources":["../../src/runtime-schema/effect-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -7,7 +7,7 @@ export declare const agentPermissionPreviewParametersSchema: import("../runtime-
7
7
  };
8
8
  readonly expectedSessionRevision: string;
9
9
  readonly expectedWorkspaceRevision: string;
10
- readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
10
+ readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.detect" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "events.read" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "session.wait" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "webhooks.change.confirm" | "webhooks.change.preview" | "webhooks.deliveries" | "webhooks.list" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
11
11
  readonly sessionId: string;
12
12
  readonly workspaceId: string;
13
13
  readonly commandId: string;
@@ -20,7 +20,7 @@ export declare const agentPermissionConfirmParametersSchema: import("../runtime-
20
20
  };
21
21
  readonly expectedSessionRevision: string;
22
22
  readonly expectedWorkspaceRevision: string;
23
- readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
23
+ readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.detect" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "events.read" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "session.wait" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "webhooks.change.confirm" | "webhooks.change.preview" | "webhooks.deliveries" | "webhooks.list" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
24
24
  readonly sessionId: string;
25
25
  readonly workspaceId: string;
26
26
  readonly commandId: string;
@@ -43,7 +43,7 @@ export declare const agentPermissionPreviewResultSchema: import("../runtime-sche
43
43
  readonly inputDigest: string;
44
44
  readonly issuedAt: string;
45
45
  readonly method: "session.agent-permission.preview";
46
- readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
46
+ readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.detect" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "events.read" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "session.wait" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "webhooks.change.confirm" | "webhooks.change.preview" | "webhooks.deliveries" | "webhooks.list" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
47
47
  readonly proof: string;
48
48
  }>;
49
49
  export declare const agentPermissionConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
@@ -62,7 +62,7 @@ export declare const agentPermissionConfirmResultSchema: import("../runtime-sche
62
62
  readonly commandId: string;
63
63
  readonly grantedAt: string;
64
64
  readonly inputDigest: string;
65
- readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
65
+ readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.detect" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "events.read" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "session.wait" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "webhooks.change.confirm" | "webhooks.change.preview" | "webhooks.deliveries" | "webhooks.list" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
66
66
  readonly revision: "1";
67
67
  };
68
68
  readonly method: "session.agent-permission.confirm";
@@ -97,7 +97,7 @@ export declare const agentPermissionGrantSchema: import("../runtime-schema/runti
97
97
  readonly commandId: string;
98
98
  readonly grantedAt: string;
99
99
  readonly inputDigest: string;
100
- readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
100
+ readonly operationIds: readonly ("agents.change.confirm" | "agents.change.preview" | "agents.detect" | "agents.list" | "agents.show" | "approval.list" | "approval.respond" | "approval.show" | "connection.capacity.set" | "connection.create" | "connection.detect" | "connection.gateway.create" | "connection.grant.list" | "connection.grant.set.confirm" | "connection.grant.set.preview" | "connection.list" | "connection.login.start" | "connection.models.list" | "connection.pool.list" | "connection.pool.set.confirm" | "connection.pool.set.preview" | "connection.show" | "connection.state.set" | "connection.system.confirm" | "connection.system.preview" | "connection.upkeep.confirm" | "connection.upkeep.preview" | "connection.upkeep.refresh" | "connection.usage.show" | "container.create.confirm" | "container.create.preview" | "container.index.list" | "container.list" | "container.rename.confirm" | "container.rename.preview" | "container.show" | "context.show" | "discovery.sessions.list" | "events.read" | "execution.catalog.get" | "execution.checkpoint.create" | "execution.checkpoint.show" | "execution.command.run" | "execution.file.read" | "execution.placement.create" | "execution.placement.show" | "execution.relocation.apply" | "execution.relocation.plan" | "execution.relocation.reconcile" | "execution.relocation.show" | "execution.worktree.create" | "execution.worktree.import" | "execution.worktree.reconcile" | "execution.worktree.remove.apply" | "execution.worktree.remove.plan" | "execution.worktree.status" | "harness.installed.list" | "hold.list" | "hold.place.confirm" | "hold.place.preview" | "hold.release.confirm" | "hold.release.preview" | "integration.apply.claude-code" | "integration.apply.codex" | "integration.apply.pi-rpc" | "integration.plan.claude-code" | "integration.plan.codex" | "integration.plan.pi-rpc" | "integration.remove.claude-code" | "integration.remove.codex" | "integration.remove.pi-rpc" | "integration.status.claude-code" | "integration.status.codex" | "integration.status.pi-rpc" | "interaction.cancel" | "interaction.create" | "interaction.list" | "interaction.respond" | "interaction.show" | "monitor.bootstrap.create" | "node.remote.install.confirm" | "node.remote.install.preview" | "node.remote.list" | "node.remote.register.confirm" | "node.remote.register.preview" | "node.remote.remove.confirm" | "node.remote.remove.preview" | "node.shutdown" | "node.status" | "port.lease.acquire" | "port.lease.list" | "port.lease.release" | "port.lease.renew" | "presentation.catalog.show" | "presentation.project-list.show" | "presentation.session-list.show" | "presentation.workspace-directory.show" | "project.context.list" | "project.context.record" | "project.context.show" | "project.create.confirm" | "project.create.preview" | "project.guard.confirm" | "project.guard.preview" | "project.guard.show" | "project.list" | "project.register" | "project.rename.confirm" | "project.rename.preview" | "project.show" | "provider.pool.list" | "receipt.get" | "receipt.list" | "reference.resolve" | "routine.create.confirm" | "routine.create.preview" | "routine.disable.confirm" | "routine.disable.preview" | "routine.list" | "routine.pause" | "routine.resume" | "routine.run.confirm" | "routine.run.preview" | "routine.show" | "run.create" | "run.dispatch.settle-terminal" | "run.dispatch.show" | "run.inbox.ack" | "run.inbox.check" | "run.ledger.create" | "run.ledger.list" | "run.ledger.task.dispatch" | "run.ledger.task.list" | "run.ledger.task.settle" | "run.ledger.task.show" | "run.list" | "run.question.cancel" | "run.question.open" | "run.question.reply" | "run.show" | "run.task.list" | "run.task.show" | "runtime.probe" | "session.adopt.confirm" | "session.adopt.preview" | "session.agent-permission.confirm" | "session.agent-permission.preview" | "session.archive" | "session.create" | "session.diff" | "session.events.list" | "session.history.read" | "session.inbox.ack" | "session.inbox.check" | "session.list" | "session.message.send" | "session.observe" | "session.rename" | "session.resume" | "session.show" | "session.spawn" | "session.start" | "session.stop" | "session.wait" | "team-workspace.bootstrap.apply" | "team-workspace.bootstrap.preview" | "terminal.controller.acquire" | "terminal.controller.release" | "terminal.controller.renew" | "terminal.controller.request" | "terminal.controller.request.show" | "terminal.create" | "terminal.events.list" | "terminal.input.write" | "terminal.list" | "terminal.mutation.reconcile" | "terminal.observer.attach" | "terminal.observer.check" | "terminal.observer.detach" | "terminal.observer.resync" | "terminal.read" | "terminal.session.close" | "terminal.session.delete" | "terminal.session.resize" | "terminal.session.restart" | "terminal.session.signal" | "terminal.show" | "turn.cancel" | "turn.interrupt" | "turn.queue.list" | "turn.send" | "turn.show" | "turn.wait" | "voice.managed-turn.confirm" | "voice.managed-turn.preview" | "voice.orchestrator.context.show" | "voice.orchestrator.tool.call" | "voice.pi.relay" | "voice.pi.relay.preview" | "voice.pi.relay.reconcile" | "webhooks.change.confirm" | "webhooks.change.preview" | "webhooks.deliveries" | "webhooks.list" | "workspace.context.show" | "workspace.execution.configure" | "workspace.execution.show" | "workspace.list" | "workspace.membership.attach" | "workspace.repository.attach" | "workspace.select" | "workspace.show")[];
101
101
  readonly revision: "1";
102
102
  }>;
103
103
  export type AgentPermissionPreviewParameters = InferRuntimeSchema<typeof agentPermissionPreviewParametersSchema>;