@stitchmux/client 0.0.0-stage → 0.96.0

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 (103) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +45 -2
  3. package/dist/chunk-szdg2ww3.js +714 -0
  4. package/dist/index.js +4070 -0
  5. package/dist/monitoring.js +279 -0
  6. package/native-stream.json +8 -0
  7. package/package.json +36 -4
  8. package/types/src/agent/claude/native/commandSchema.d.ts +14 -0
  9. package/types/src/agent/custom/config.d.ts +159 -0
  10. package/types/src/agent/custom/endpoint.d.ts +26 -0
  11. package/types/src/agent/transcript/messageSchema.d.ts +153 -0
  12. package/types/src/attachments/reference.d.ts +56 -0
  13. package/types/src/attachments/schema.d.ts +512 -0
  14. package/types/src/chat/communicationAuthorizationSchema.d.ts +77 -0
  15. package/types/src/chat/communicationReceiptSchema.d.ts +82 -0
  16. package/types/src/chat/feedSchema.d.ts +641 -0
  17. package/types/src/chat/holdKind.d.ts +26 -0
  18. package/types/src/chat/identity.d.ts +55 -0
  19. package/types/src/chat/identitySchema.d.ts +121 -0
  20. package/types/src/chat/letterRequestSchema.d.ts +35 -0
  21. package/types/src/chat/messageOperationSchema.d.ts +277 -0
  22. package/types/src/chat/messageSchema.d.ts +284 -0
  23. package/types/src/chat/originSchema.d.ts +67 -0
  24. package/types/src/chat/sentLetterSchema.d.ts +79 -0
  25. package/types/src/client.d.ts +16 -0
  26. package/types/src/config/claudeProfileSchema.d.ts +22 -0
  27. package/types/src/config/launchSchema.d.ts +136 -0
  28. package/types/src/config/location.d.ts +6 -0
  29. package/types/src/config/machineSchema.d.ts +320 -0
  30. package/types/src/config/modelSelectionFlags.d.ts +4 -0
  31. package/types/src/config/paths.d.ts +87 -0
  32. package/types/src/config/remoteTransport.d.ts +12 -0
  33. package/types/src/content/schema.d.ts +312 -0
  34. package/types/src/content/toolSchema.d.ts +36 -0
  35. package/types/src/context/corpusSearchSchema.d.ts +578 -0
  36. package/types/src/context/exactMessageSchema.d.ts +54 -0
  37. package/types/src/context/messageSenderSchema.d.ts +14 -0
  38. package/types/src/context/schema.d.ts +176 -0
  39. package/types/src/context/searchFrames.d.ts +225 -0
  40. package/types/src/context/searchRequestSchema.d.ts +47 -0
  41. package/types/src/context/transcriptJsonSchema.d.ts +210 -0
  42. package/types/src/control/schema/context.d.ts +188 -0
  43. package/types/src/control/schema/contract.d.ts +7142 -0
  44. package/types/src/control/schema/core.d.ts +722 -0
  45. package/types/src/control/schema/directory.d.ts +34 -0
  46. package/types/src/control/schema/eventsContract.d.ts +1423 -0
  47. package/types/src/control/schema/externalList.d.ts +96 -0
  48. package/types/src/control/schema/message.d.ts +280 -0
  49. package/types/src/control/schema/model.d.ts +128 -0
  50. package/types/src/control/schema/native.d.ts +664 -0
  51. package/types/src/control/schema/nativeStreamContract.d.ts +155 -0
  52. package/types/src/control/schema/performance.d.ts +85 -0
  53. package/types/src/control/schema/public.d.ts +48 -0
  54. package/types/src/control/schema/reading.d.ts +24 -0
  55. package/types/src/control/schema/refusals.d.ts +433 -0
  56. package/types/src/control/schema/runtimeOps.d.ts +724 -0
  57. package/types/src/control/schema/searchContract.d.ts +258 -0
  58. package/types/src/control/schema/selection.d.ts +124 -0
  59. package/types/src/control/schema/session.d.ts +272 -0
  60. package/types/src/control/schema/terminalPrompt.d.ts +102 -0
  61. package/types/src/control/transport/boundary.d.ts +7137 -0
  62. package/types/src/control/transport/client.d.ts +10838 -0
  63. package/types/src/control/transport/connection.d.ts +13 -0
  64. package/types/src/control/transport/socketPath.d.ts +3 -0
  65. package/types/src/control-client.d.ts +9 -0
  66. package/types/src/delegation/applicationSchema.d.ts +132 -0
  67. package/types/src/delegation/schema.d.ts +267 -0
  68. package/types/src/events/schema.d.ts +155 -0
  69. package/types/src/external/contentSchema.d.ts +145 -0
  70. package/types/src/external/messageSchema.d.ts +131 -0
  71. package/types/src/external/residentFrames.d.ts +130 -0
  72. package/types/src/external/residentSchema.d.ts +144 -0
  73. package/types/src/external/sessionSchema.d.ts +427 -0
  74. package/types/src/external/turnSchema.d.ts +55 -0
  75. package/types/src/fleet/fleetSchema.d.ts +937 -0
  76. package/types/src/inventory/listSchema.d.ts +442 -0
  77. package/types/src/monitoring/nativeFile.d.ts +7 -0
  78. package/types/src/monitoring/nativeRead.d.ts +14 -0
  79. package/types/src/monitoring/performanceSchema.d.ts +28 -0
  80. package/types/src/monitoring/schema.d.ts +410 -0
  81. package/types/src/monitoring/validate.d.ts +5 -0
  82. package/types/src/monitoring-reader.d.ts +4 -0
  83. package/types/src/policy/reference.d.ts +93 -0
  84. package/types/src/policy/runtimeProfile.d.ts +24 -0
  85. package/types/src/policy/schema.d.ts +177 -0
  86. package/types/src/runtime/capabilities.d.ts +124 -0
  87. package/types/src/runtime/modes.d.ts +47 -0
  88. package/types/src/runtime/permissionScope.d.ts +22 -0
  89. package/types/src/runtime/planLimitsSchema.d.ts +55 -0
  90. package/types/src/runtime/projectionSchema.d.ts +539 -0
  91. package/types/src/runtime/rewindSchema.d.ts +16 -0
  92. package/types/src/runtime/selectionSchema.d.ts +158 -0
  93. package/types/src/runtime/workloadContract.d.ts +55 -0
  94. package/types/src/session/boundary.d.ts +43 -0
  95. package/types/src/session/identitySchema.d.ts +353 -0
  96. package/types/src/session/schema.d.ts +341 -0
  97. package/types/src/session/sleep/schema.d.ts +283 -0
  98. package/types/src/steering/schema.d.ts +197 -0
  99. package/types/src/types.d.ts +48 -0
  100. package/types/src/usage/schema.d.ts +978 -0
  101. package/types/src/util/home.d.ts +9 -0
  102. package/types/src/util/preview.d.ts +13 -0
  103. package/types/src/util/version.d.ts +3 -0
@@ -0,0 +1,96 @@
1
+ /** One definition serves the public control API and its small CLI relay. */
2
+ export declare const externalListContract: import("stitchkit").ContractDef<{
3
+ readonly 'external.list': {
4
+ readonly method: "POST";
5
+ readonly path: "/external";
6
+ readonly effect: "read";
7
+ readonly desc: "Read prepared external native thread states; does not adopt or start threads";
8
+ readonly expose: readonly ["HTTP", "CLI", "MCP"];
9
+ readonly output: import("zod").ZodObject<{
10
+ protocol: import("zod").ZodLiteral<1>;
11
+ version: import("zod").ZodString;
12
+ machine: import("zod").ZodString;
13
+ generation: import("zod").ZodUUID;
14
+ sequence: import("zod").ZodNumber;
15
+ source: import("zod").ZodLiteral<"codex-app-server">;
16
+ status: import("zod").ZodEnum<{
17
+ live: "live";
18
+ stale: "stale";
19
+ unavailable: "unavailable";
20
+ }>;
21
+ reason: import("zod").ZodNullable<import("zod").ZodEnum<{
22
+ "clock-skew": "clock-skew";
23
+ "config-changed": "config-changed";
24
+ "connection-lost": "connection-lost";
25
+ "connection-unavailable": "connection-unavailable";
26
+ "daemon-stopped": "daemon-stopped";
27
+ deadline: "deadline";
28
+ "endpoint-absent": "endpoint-absent";
29
+ "endpoint-not-listening": "endpoint-not-listening";
30
+ "invalid-response": "invalid-response";
31
+ "observation-expired": "observation-expired";
32
+ "observation-pending": "observation-pending";
33
+ "unsupported-runtime": "unsupported-runtime";
34
+ "upgrade-refused": "upgrade-refused";
35
+ }>>;
36
+ observedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
37
+ expiresAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
38
+ truncated: import("zod").ZodBoolean;
39
+ omitted: import("zod").ZodNumber;
40
+ sessions: import("zod").ZodArray<import("zod").ZodObject<{
41
+ identity: import("zod").ZodObject<{
42
+ provider: import("zod").ZodLiteral<"codex">;
43
+ machine: import("zod").ZodString;
44
+ threadId: import("zod").ZodUUID;
45
+ }, import("zod/v4/core").$strict>;
46
+ name: import("zod").ZodNullable<import("zod").ZodString>;
47
+ dir: import("zod").ZodNullable<import("zod").ZodString>;
48
+ updatedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
49
+ turnState: import("zod").ZodObject<{
50
+ state: import("zod").ZodEnum<{
51
+ idle: "idle";
52
+ unknown: "unknown";
53
+ "waiting-approval": "waiting-approval";
54
+ "waiting-input": "waiting-input";
55
+ working: "working";
56
+ }>;
57
+ evidence: import("zod").ZodEnum<{
58
+ observed: "observed";
59
+ stale: "stale";
60
+ unavailable: "unavailable";
61
+ unknown: "unknown";
62
+ }>;
63
+ source: import("zod").ZodEnum<{
64
+ "codex-app-server": "codex-app-server";
65
+ unsupported: "unsupported";
66
+ }>;
67
+ turnId: import("zod").ZodNullable<import("zod").ZodString>;
68
+ startedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
69
+ observedAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
70
+ expiresAt: import("zod").ZodNullable<import("zod").ZodISODateTime>;
71
+ reason: import("zod").ZodEnum<{
72
+ "connection-lost": "connection-lost";
73
+ "connection-unavailable": "connection-unavailable";
74
+ deadline: "deadline";
75
+ "endpoint-absent": "endpoint-absent";
76
+ "endpoint-not-listening": "endpoint-not-listening";
77
+ "native-status": "native-status";
78
+ "not-loaded": "not-loaded";
79
+ "not-observed": "not-observed";
80
+ "not-reported": "not-reported";
81
+ "read-limit": "read-limit";
82
+ "system-error": "system-error";
83
+ "unsupported-provider": "unsupported-provider";
84
+ "unsupported-runtime": "unsupported-runtime";
85
+ "unsupported-status": "unsupported-status";
86
+ "upgrade-refused": "upgrade-refused";
87
+ }>;
88
+ remedy: import("zod").ZodNullable<import("zod").ZodString>;
89
+ }, import("zod/v4/core").$strict>;
90
+ }, import("zod/v4/core").$strict>>;
91
+ }, import("zod/v4/core").$strict>;
92
+ readonly tool: {
93
+ readonly name: "external";
94
+ };
95
+ };
96
+ }, "local">;
@@ -0,0 +1,280 @@
1
+ import { z } from 'zod';
2
+ export declare const ControlMessageSchema: z.ZodObject<{
3
+ target: z.ZodObject<{
4
+ kind: z.ZodLiteral<"managed">;
5
+ source: z.ZodLiteral<"stitchmux">;
6
+ machine: z.ZodString;
7
+ agent: z.ZodEnum<{
8
+ antigravity: "antigravity";
9
+ claude: "claude";
10
+ codex: "codex";
11
+ custom: "custom";
12
+ opencode: "opencode";
13
+ }>;
14
+ session: z.ZodString;
15
+ threadId: z.ZodUUID;
16
+ }, z.core.$strict>;
17
+ communicationAuthorization: z.ZodNullable<z.ZodObject<{
18
+ whyThisCommunicationIsNecessaryAndWithinTheUserAuthorizedScope: z.ZodOptional<z.ZodString>;
19
+ userAuthorizationQuote: z.ZodOptional<z.ZodString>;
20
+ sourceMessageRef: z.ZodString;
21
+ basis: z.ZodEnum<{
22
+ "peer-letter": "peer-letter";
23
+ "thread-continuation": "thread-continuation";
24
+ "user-instruction": "user-instruction";
25
+ }>;
26
+ }, z.core.$strict>>;
27
+ messageId: z.ZodUUID;
28
+ origin: z.ZodOptional<z.ZodObject<{
29
+ applicationId: z.ZodString;
30
+ channelId: z.ZodString;
31
+ actor: z.ZodEnum<{
32
+ agent: "agent";
33
+ application: "application";
34
+ human: "human";
35
+ }>;
36
+ }, z.core.$strict>>;
37
+ notification: z.ZodOptional<z.ZodEnum<{
38
+ conversation: "conversation";
39
+ owner: "owner";
40
+ }>>;
41
+ registrationGeneration: z.ZodOptional<z.ZodUUID>;
42
+ body: z.ZodDefault<z.ZodString>;
43
+ images: z.ZodDefault<z.ZodArray<z.ZodObject<{
44
+ id: z.ZodUUID;
45
+ digest: z.ZodString;
46
+ mediaType: z.ZodEnum<{
47
+ "image/jpeg": "image/jpeg";
48
+ "image/png": "image/png";
49
+ }>;
50
+ bytes: z.ZodNumber;
51
+ width: z.ZodNumber;
52
+ height: z.ZodNumber;
53
+ }, z.core.$strict>>>;
54
+ options: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
55
+ runtime: z.ZodLiteral<"custom">;
56
+ model: z.ZodObject<{
57
+ provider: z.ZodString;
58
+ model: z.ZodString;
59
+ }, z.core.$strict>;
60
+ }, z.core.$strict>, z.ZodObject<{
61
+ runtime: z.ZodLiteral<"claude">;
62
+ model: z.ZodObject<{
63
+ provider: z.ZodString;
64
+ model: z.ZodString;
65
+ }, z.core.$strict>;
66
+ effort: z.ZodOptional<z.ZodString>;
67
+ }, z.core.$strict>, z.ZodObject<{
68
+ runtime: z.ZodLiteral<"codex">;
69
+ model: z.ZodObject<{
70
+ provider: z.ZodString;
71
+ model: z.ZodString;
72
+ }, z.core.$strict>;
73
+ mode: z.ZodEnum<{
74
+ default: "default";
75
+ plan: "plan";
76
+ }>;
77
+ effort: z.ZodOptional<z.ZodString>;
78
+ }, z.core.$strict>, z.ZodObject<{
79
+ runtime: z.ZodLiteral<"opencode">;
80
+ model: z.ZodObject<{
81
+ provider: z.ZodString;
82
+ model: z.ZodString;
83
+ }, z.core.$strict>;
84
+ agent: z.ZodOptional<z.ZodString>;
85
+ variant: z.ZodOptional<z.ZodString>;
86
+ }, z.core.$strict>, z.ZodObject<{
87
+ runtime: z.ZodLiteral<"antigravity">;
88
+ model: z.ZodObject<{
89
+ provider: z.ZodString;
90
+ model: z.ZodString;
91
+ }, z.core.$strict>;
92
+ effort: z.ZodOptional<z.ZodString>;
93
+ }, z.core.$strict>], "runtime">>;
94
+ defer: z.ZodDefault<z.ZodBoolean>;
95
+ notBefore: z.ZodDefault<z.ZodNullable<z.ZodISODateTime>>;
96
+ task: z.ZodDefault<z.ZodNullable<z.ZodString>>;
97
+ }, z.core.$strict>;
98
+ export type ControlMessage = z.input<typeof ControlMessageSchema>;
99
+ export declare const ControlMessageReceiptSchema: z.ZodObject<{
100
+ messageId: z.ZodUUID;
101
+ origin: z.ZodObject<{
102
+ ingress: z.ZodEnum<{
103
+ cli: "cli";
104
+ "codex-app": "codex-app";
105
+ "local-control": "local-control";
106
+ managed: "managed";
107
+ service: "service";
108
+ unknown: "unknown";
109
+ }>;
110
+ actor: z.ZodEnum<{
111
+ agent: "agent";
112
+ application: "application";
113
+ human: "human";
114
+ unknown: "unknown";
115
+ }>;
116
+ assurance: z.ZodEnum<{
117
+ "application-attested": "application-attested";
118
+ "runtime-identity": "runtime-identity";
119
+ unknown: "unknown";
120
+ }>;
121
+ application: z.ZodNullable<z.ZodObject<{
122
+ applicationId: z.ZodString;
123
+ channelId: z.ZodString;
124
+ actor: z.ZodEnum<{
125
+ agent: "agent";
126
+ application: "application";
127
+ human: "human";
128
+ }>;
129
+ revision: z.ZodString;
130
+ digest: z.ZodString;
131
+ }, z.core.$strict>>;
132
+ }, z.core.$strict>;
133
+ notification: z.ZodEnum<{
134
+ conversation: "conversation";
135
+ owner: "owner";
136
+ }>;
137
+ registrationGeneration: z.ZodNullable<z.ZodUUID>;
138
+ accepted: z.ZodLiteral<true>;
139
+ duplicate: z.ZodBoolean;
140
+ turnOptions: z.ZodNullable<z.ZodObject<{
141
+ revision: z.ZodNumber;
142
+ options: z.ZodDiscriminatedUnion<[z.ZodObject<{
143
+ runtime: z.ZodLiteral<"custom">;
144
+ model: z.ZodObject<{
145
+ provider: z.ZodString;
146
+ model: z.ZodString;
147
+ }, z.core.$strict>;
148
+ }, z.core.$strict>, z.ZodObject<{
149
+ runtime: z.ZodLiteral<"claude">;
150
+ model: z.ZodObject<{
151
+ provider: z.ZodString;
152
+ model: z.ZodString;
153
+ }, z.core.$strict>;
154
+ effort: z.ZodOptional<z.ZodString>;
155
+ }, z.core.$strict>, z.ZodObject<{
156
+ runtime: z.ZodLiteral<"codex">;
157
+ model: z.ZodObject<{
158
+ provider: z.ZodString;
159
+ model: z.ZodString;
160
+ }, z.core.$strict>;
161
+ mode: z.ZodEnum<{
162
+ default: "default";
163
+ plan: "plan";
164
+ }>;
165
+ effort: z.ZodOptional<z.ZodString>;
166
+ }, z.core.$strict>, z.ZodObject<{
167
+ runtime: z.ZodLiteral<"opencode">;
168
+ model: z.ZodObject<{
169
+ provider: z.ZodString;
170
+ model: z.ZodString;
171
+ }, z.core.$strict>;
172
+ agent: z.ZodOptional<z.ZodString>;
173
+ variant: z.ZodOptional<z.ZodString>;
174
+ }, z.core.$strict>, z.ZodObject<{
175
+ runtime: z.ZodLiteral<"antigravity">;
176
+ model: z.ZodObject<{
177
+ provider: z.ZodString;
178
+ model: z.ZodString;
179
+ }, z.core.$strict>;
180
+ effort: z.ZodOptional<z.ZodString>;
181
+ }, z.core.$strict>], "runtime">;
182
+ }, z.core.$strict>>;
183
+ }, z.core.$strict>;
184
+ /**
185
+ * Take back a letter that was accepted but has not been delivered.
186
+ *
187
+ * The mechanism existed — a cancel tombstone in the ack log — and only the command line could reach
188
+ * it, so a consumer could not withdraw what it had itself queued. Its "stop" button answered
189
+ * "nothing to stop" while a letter sat waiting for a turn boundary, which is the wrong answer with
190
+ * confidence.
191
+ *
192
+ * By id, and only the caller's own: cancelling a letter another party sent would be reaching into
193
+ * someone else's conversation.
194
+ */
195
+ export declare const ControlMessageCancelSchema: z.ZodObject<{
196
+ messageId: z.ZodUUID;
197
+ }, z.core.$strict>;
198
+ export declare const ControlMessageCancelReceiptSchema: z.ZodObject<{
199
+ messageId: z.ZodUUID;
200
+ outcome: z.ZodEnum<{
201
+ cancelled: "cancelled";
202
+ delivered: "delivered";
203
+ "not-yours": "not-yours";
204
+ undeliverable: "undeliverable";
205
+ unknown: "unknown";
206
+ }>;
207
+ }, z.core.$strict>;
208
+ export declare const ControlInterruptSchema: z.ZodObject<{
209
+ target: z.ZodObject<{
210
+ kind: z.ZodLiteral<"managed">;
211
+ source: z.ZodLiteral<"stitchmux">;
212
+ machine: z.ZodString;
213
+ agent: z.ZodEnum<{
214
+ antigravity: "antigravity";
215
+ claude: "claude";
216
+ codex: "codex";
217
+ custom: "custom";
218
+ opencode: "opencode";
219
+ }>;
220
+ session: z.ZodString;
221
+ threadId: z.ZodUUID;
222
+ }, z.core.$strict>;
223
+ generation: z.ZodUUID;
224
+ turnId: z.ZodString;
225
+ }, z.core.$strict>;
226
+ /** Keys for a session's terminal composer: a slash command, or a numbered menu's number. */
227
+ export declare const ControlKeysSchema: z.ZodObject<{
228
+ target: z.ZodObject<{
229
+ kind: z.ZodLiteral<"managed">;
230
+ source: z.ZodLiteral<"stitchmux">;
231
+ machine: z.ZodString;
232
+ agent: z.ZodEnum<{
233
+ antigravity: "antigravity";
234
+ claude: "claude";
235
+ codex: "codex";
236
+ custom: "custom";
237
+ opencode: "opencode";
238
+ }>;
239
+ session: z.ZodString;
240
+ threadId: z.ZodUUID;
241
+ }, z.core.$strict>;
242
+ text: z.ZodString;
243
+ }, z.core.$strict>;
244
+ /** What stopping or removing found beside the fact that it happened. */
245
+ export declare const ControlStopReceiptSchema: z.ZodObject<{
246
+ target: z.ZodObject<{
247
+ kind: z.ZodLiteral<"managed">;
248
+ source: z.ZodLiteral<"stitchmux">;
249
+ machine: z.ZodString;
250
+ agent: z.ZodEnum<{
251
+ antigravity: "antigravity";
252
+ claude: "claude";
253
+ codex: "codex";
254
+ custom: "custom";
255
+ opencode: "opencode";
256
+ }>;
257
+ session: z.ZodString;
258
+ threadId: z.ZodUUID;
259
+ }, z.core.$strict>;
260
+ accepted: z.ZodLiteral<true>;
261
+ stopped: z.ZodBoolean;
262
+ lingering: z.ZodNullable<z.ZodInt>;
263
+ }, z.core.$strict>;
264
+ export declare const ControlActionReceiptSchema: z.ZodObject<{
265
+ target: z.ZodObject<{
266
+ kind: z.ZodLiteral<"managed">;
267
+ source: z.ZodLiteral<"stitchmux">;
268
+ machine: z.ZodString;
269
+ agent: z.ZodEnum<{
270
+ antigravity: "antigravity";
271
+ claude: "claude";
272
+ codex: "codex";
273
+ custom: "custom";
274
+ opencode: "opencode";
275
+ }>;
276
+ session: z.ZodString;
277
+ threadId: z.ZodUUID;
278
+ }, z.core.$strict>;
279
+ accepted: z.ZodLiteral<true>;
280
+ }, z.core.$strict>;
@@ -0,0 +1,128 @@
1
+ import { z } from 'zod';
2
+ export declare const CONTROL_MODELS_MAX_PAGE = 64;
3
+ export declare const ControlModelsReadSchema: z.ZodObject<{
4
+ runtime: z.ZodOptional<z.ZodEnum<{
5
+ antigravity: "antigravity";
6
+ claude: "claude";
7
+ codex: "codex";
8
+ custom: "custom";
9
+ opencode: "opencode";
10
+ }>>;
11
+ target: z.ZodOptional<z.ZodObject<{
12
+ kind: z.ZodLiteral<"managed">;
13
+ source: z.ZodLiteral<"stitchmux">;
14
+ machine: z.ZodString;
15
+ agent: z.ZodEnum<{
16
+ antigravity: "antigravity";
17
+ claude: "claude";
18
+ codex: "codex";
19
+ custom: "custom";
20
+ opencode: "opencode";
21
+ }>;
22
+ session: z.ZodString;
23
+ threadId: z.ZodUUID;
24
+ }, z.core.$strict>>;
25
+ launchRecipe: z.ZodOptional<z.ZodObject<{
26
+ id: z.ZodString;
27
+ revision: z.ZodString;
28
+ }, z.core.$strict>>;
29
+ profile: z.ZodOptional<z.ZodString>;
30
+ cursor: z.ZodDefault<z.ZodNullable<z.ZodString>>;
31
+ limit: z.ZodDefault<z.ZodNumber>;
32
+ includeHidden: z.ZodDefault<z.ZodBoolean>;
33
+ }, z.core.$strict>;
34
+ export type ControlModelsRead = z.input<typeof ControlModelsReadSchema>;
35
+ export declare const ControlModelSchema: z.ZodObject<{
36
+ provider: z.ZodOptional<z.ZodString>;
37
+ id: z.ZodString;
38
+ model: z.ZodOptional<z.ZodString>;
39
+ displayName: z.ZodString;
40
+ description: z.ZodString;
41
+ hidden: z.ZodBoolean;
42
+ isDefault: z.ZodBoolean;
43
+ inputModalities: z.ZodArray<z.ZodString>;
44
+ serviceTiers: z.ZodArray<z.ZodObject<{
45
+ id: z.ZodString;
46
+ name: z.ZodString;
47
+ description: z.ZodString;
48
+ }, z.core.$strict>>;
49
+ supportedReasoningEfforts: z.ZodOptional<z.ZodArray<z.ZodObject<{
50
+ reasoningEffort: z.ZodString;
51
+ description: z.ZodString;
52
+ }, z.core.$strict>>>;
53
+ defaultReasoningEffort: z.ZodOptional<z.ZodString>;
54
+ variants: z.ZodOptional<z.ZodArray<z.ZodString>>;
55
+ }, z.core.$strict>;
56
+ export type ControlModel = z.infer<typeof ControlModelSchema>;
57
+ export declare const ControlModelCatalogSchema: z.ZodObject<{
58
+ target: z.ZodOptional<z.ZodObject<{
59
+ kind: z.ZodLiteral<"managed">;
60
+ source: z.ZodLiteral<"stitchmux">;
61
+ machine: z.ZodString;
62
+ agent: z.ZodEnum<{
63
+ antigravity: "antigravity";
64
+ claude: "claude";
65
+ codex: "codex";
66
+ custom: "custom";
67
+ opencode: "opencode";
68
+ }>;
69
+ session: z.ZodString;
70
+ threadId: z.ZodUUID;
71
+ }, z.core.$strict>>;
72
+ source: z.ZodObject<{
73
+ kind: z.ZodEnum<{
74
+ host: "host";
75
+ session: "session";
76
+ }>;
77
+ machine: z.ZodString;
78
+ provider: z.ZodNullable<z.ZodString>;
79
+ providerLabel: z.ZodDefault<z.ZodNullable<z.ZodString>>;
80
+ runtime: z.ZodEnum<{
81
+ antigravity: "antigravity";
82
+ claude: "claude";
83
+ codex: "codex";
84
+ custom: "custom";
85
+ opencode: "opencode";
86
+ }>;
87
+ profile: z.ZodOptional<z.ZodString>;
88
+ launchRecipe: z.ZodOptional<z.ZodObject<{
89
+ id: z.ZodString;
90
+ revision: z.ZodString;
91
+ digest: z.ZodString;
92
+ capabilities: z.ZodArray<z.ZodString>;
93
+ collaborationMode: z.ZodOptional<z.ZodEnum<{
94
+ default: "default";
95
+ plan: "plan";
96
+ }>>;
97
+ }, z.core.$strict>>;
98
+ observedAt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
99
+ freshness: z.ZodDefault<z.ZodNullable<z.ZodEnum<{
100
+ live: "live";
101
+ stale: "stale";
102
+ }>>>;
103
+ }, z.core.$strict>;
104
+ data: z.ZodArray<z.ZodObject<{
105
+ provider: z.ZodOptional<z.ZodString>;
106
+ id: z.ZodString;
107
+ model: z.ZodOptional<z.ZodString>;
108
+ displayName: z.ZodString;
109
+ description: z.ZodString;
110
+ hidden: z.ZodBoolean;
111
+ isDefault: z.ZodBoolean;
112
+ inputModalities: z.ZodArray<z.ZodString>;
113
+ serviceTiers: z.ZodArray<z.ZodObject<{
114
+ id: z.ZodString;
115
+ name: z.ZodString;
116
+ description: z.ZodString;
117
+ }, z.core.$strict>>;
118
+ supportedReasoningEfforts: z.ZodOptional<z.ZodArray<z.ZodObject<{
119
+ reasoningEffort: z.ZodString;
120
+ description: z.ZodString;
121
+ }, z.core.$strict>>>;
122
+ defaultReasoningEffort: z.ZodOptional<z.ZodString>;
123
+ variants: z.ZodOptional<z.ZodArray<z.ZodString>>;
124
+ }, z.core.$strict>>;
125
+ agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
+ nextCursor: z.ZodNullable<z.ZodString>;
127
+ }, z.core.$strict>;
128
+ export type ControlModelCatalog = z.infer<typeof ControlModelCatalogSchema>;