@anchrd/colab-sdk 0.1.35 → 0.1.37

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 (49) hide show
  1. package/dist/actions/actions.d.ts +30 -23
  2. package/dist/actions/actions.js +2 -2
  3. package/dist/archive/archive.d.ts +1 -0
  4. package/dist/archive/archive.js +3 -0
  5. package/dist/boards/boards.d.ts +21 -21
  6. package/dist/columns/columns.d.ts +2 -2
  7. package/dist/connectors/connectors.d.ts +6 -6
  8. package/dist/crawls/crawls.d.ts +3 -3
  9. package/dist/crawls/crawls.js +1 -1
  10. package/dist/error/error.d.ts +9 -3
  11. package/dist/error/error.js +12 -3
  12. package/dist/gadgets/gadgets.d.ts +125 -9
  13. package/dist/gadgets/gadgets.js +123 -0
  14. package/dist/goals/goals.d.ts +54 -10
  15. package/dist/goals/goals.js +36 -7
  16. package/dist/grammar/grammar.d.ts +2 -0
  17. package/dist/grammar/grammar.js +10 -0
  18. package/dist/home/home.d.ts +300 -0
  19. package/dist/home/home.js +53 -0
  20. package/dist/links/links.d.ts +166 -0
  21. package/dist/links/links.js +149 -0
  22. package/dist/mcps/mcps.d.ts +3 -3
  23. package/dist/messages/messages.d.ts +3 -0
  24. package/dist/nodes/nodes.d.ts +46 -20
  25. package/dist/nodes/nodes.js +11 -3
  26. package/dist/operators/operators.d.ts +389 -47
  27. package/dist/operators/operators.js +268 -70
  28. package/dist/organisation/organisation.d.ts +2 -0
  29. package/dist/organisation/organisation.js +9 -0
  30. package/dist/primitives/primitives.d.ts +9 -0
  31. package/dist/primitives/primitives.js +16 -0
  32. package/dist/roles/roles.d.ts +1 -0
  33. package/dist/roles/roles.js +3 -0
  34. package/dist/runs/runs.d.ts +2 -2
  35. package/dist/sdk.d.ts +10 -9
  36. package/dist/sdk.js +10 -9
  37. package/dist/skills/skills.d.ts +37 -7
  38. package/dist/skills/skills.js +50 -0
  39. package/dist/sources/sources.d.ts +54 -14
  40. package/dist/sources/sources.js +50 -5
  41. package/dist/tables/tables.d.ts +42 -0
  42. package/dist/tables/tables.js +55 -2
  43. package/dist/tool.d.ts +1 -0
  44. package/dist/tree-order/tree-order.d.ts +2 -2
  45. package/dist/tree-order/tree-order.js +1 -1
  46. package/dist/users/users.d.ts +2 -0
  47. package/dist/users/users.js +3 -2
  48. package/dist/versions/versions.d.ts +13 -13
  49. package/package.json +1 -1
@@ -1,59 +1,142 @@
1
1
  import { z } from "zod";
2
+ export declare const gatewayCatalog: readonly [{
3
+ readonly gateway: "cloudflare";
4
+ readonly name: "Cloudflare";
5
+ readonly models: readonly [{
6
+ readonly model: "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
7
+ readonly name: "DeepSeek V4 Pro";
8
+ readonly context: 1000000;
9
+ readonly price: {
10
+ readonly input: 1.32;
11
+ readonly cacheRead: 0.044;
12
+ readonly output: 3.96;
13
+ };
14
+ }, {
15
+ readonly model: "anthropic/claude-sonnet-4-6";
16
+ readonly name: "Claude Sonnet 4.6";
17
+ readonly context: 200000;
18
+ readonly price: {
19
+ readonly input: 3;
20
+ readonly cacheRead: 0.3;
21
+ readonly output: 15;
22
+ };
23
+ }, {
24
+ readonly model: "anthropic/claude-opus-4-6";
25
+ readonly name: "Claude Opus 4.6";
26
+ readonly context: 200000;
27
+ readonly price: {
28
+ readonly input: 5;
29
+ readonly cacheRead: 0.5;
30
+ readonly output: 25;
31
+ };
32
+ }, {
33
+ readonly model: "anthropic/claude-haiku-4-5";
34
+ readonly name: "Claude Haiku 4.5";
35
+ readonly context: 200000;
36
+ readonly price: {
37
+ readonly input: 1;
38
+ readonly cacheRead: 0.1;
39
+ readonly output: 5;
40
+ };
41
+ }, {
42
+ readonly model: "google-ai-studio/gemini-2.5-pro";
43
+ readonly name: "Gemini 2.5 Pro";
44
+ readonly context: 1000000;
45
+ readonly price: {
46
+ readonly input: 1.25;
47
+ readonly cacheRead: 0.125;
48
+ readonly output: 10;
49
+ };
50
+ }, {
51
+ readonly model: "google-ai-studio/gemini-2.5-flash";
52
+ readonly name: "Gemini 2.5 Flash";
53
+ readonly context: 1000000;
54
+ readonly price: {
55
+ readonly input: 0.3;
56
+ readonly cacheRead: 0.03;
57
+ readonly output: 2.5;
58
+ };
59
+ }, {
60
+ readonly model: "openai/gpt-6.1-terra";
61
+ readonly name: "GPT-6.1 Terra";
62
+ readonly context: 1050000;
63
+ readonly price: {
64
+ readonly input: 1;
65
+ readonly cacheRead: 0.05;
66
+ readonly cacheWrite: 1.25;
67
+ readonly output: 5;
68
+ };
69
+ readonly outputLimit: "max_completion_tokens";
70
+ readonly reasoningEffort: "none";
71
+ }, {
72
+ readonly model: "openai/gpt-6-luna";
73
+ readonly name: "GPT-6 Luna";
74
+ readonly context: 1050000;
75
+ readonly price: {
76
+ readonly input: 0.1;
77
+ readonly cacheRead: 0.01;
78
+ readonly cacheWrite: 0.125;
79
+ readonly output: 0.5;
80
+ };
81
+ readonly outputLimit: "max_completion_tokens";
82
+ readonly reasoningEffort: "none";
83
+ }];
84
+ }];
85
+ export type GatewayModelEntry = (typeof gatewayCatalog)[number]["models"][number];
86
+ export type GatewayModel = GatewayModelEntry["model"];
87
+ export declare function gatewayModelOf(model: string): GatewayModelEntry | null;
88
+ export type GatewayOutputLimit = "max_tokens" | "max_completion_tokens";
89
+ export declare function outputLimitOf(model: string): GatewayOutputLimit;
90
+ export declare function reasoningEffortOf(model: string): "none" | null;
91
+ export declare function cacheWritePriceOf(entry: GatewayModelEntry): number;
92
+ export declare const GatewayModelEntrySchema: z.ZodObject<{
93
+ model: z.ZodString;
94
+ name: z.ZodString;
95
+ context: z.ZodInt;
96
+ price: z.ZodObject<{
97
+ input: z.ZodNumber;
98
+ cacheRead: z.ZodNumber;
99
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
100
+ output: z.ZodNumber;
101
+ }, z.core.$strip>;
102
+ outputLimit: z.ZodOptional<z.ZodEnum<{
103
+ max_completion_tokens: "max_completion_tokens";
104
+ max_tokens: "max_tokens";
105
+ }>>;
106
+ reasoningEffort: z.ZodOptional<z.ZodLiteral<"none">>;
107
+ }, z.core.$strip>;
2
108
  export declare const operatorProviders: readonly [{
3
109
  readonly provider: "claude";
4
110
  readonly name: "Claude";
5
111
  readonly vendor: "Anthropic";
6
112
  readonly selectable: true;
7
- readonly kinds: readonly ["subscription", "apikey", "gateway"];
113
+ readonly kinds: readonly ["subscription", "apikey"];
8
114
  readonly beta: false;
9
115
  readonly models: readonly ["opus", "sonnet", "haiku"];
10
116
  readonly defaultModel: "sonnet";
11
- readonly gateway: {
12
- readonly models: readonly ["opus", "sonnet"];
13
- readonly defaultModel: "sonnet";
14
- };
15
117
  readonly subagents: true;
16
118
  readonly costs: true;
17
119
  }, {
18
- readonly provider: "codex";
19
- readonly name: "Codex";
20
- readonly vendor: "OpenAI";
21
- readonly selectable: true;
22
- readonly kinds: readonly ["apikey", "gateway"];
23
- readonly beta: true;
24
- readonly models: readonly ["gpt-6-astra", "gpt-6.1-sol", "gpt-6-luna"];
25
- readonly defaultModel: "gpt-6.1-sol";
26
- readonly gateway: {
27
- readonly models: readonly ["gpt-6.1-sol", "gpt-6-luna"];
28
- readonly defaultModel: "gpt-6.1-sol";
29
- };
30
- readonly subagents: false;
31
- readonly costs: false;
32
- }, {
33
- readonly provider: "gemini";
34
- readonly name: "Gemini";
35
- readonly vendor: "Google";
120
+ readonly provider: "gateway";
121
+ readonly name: "Gateway";
122
+ readonly vendor: "Cloudflare AI Gateway";
36
123
  readonly selectable: true;
37
- readonly kinds: readonly ["apikey", "gateway"];
38
- readonly beta: true;
39
- readonly models: readonly ["pro", "flash", "flash-lite"];
40
- readonly defaultModel: "flash";
41
- readonly gateway: {
42
- readonly models: readonly ["gemini-2.5-pro", "gemini-2.5-flash", "gemini-2.5-flash-lite"];
43
- readonly defaultModel: "gemini-2.5-flash";
44
- };
124
+ readonly kinds: readonly ["gateway"];
125
+ readonly beta: false;
126
+ readonly models: ("workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4-6" | "anthropic/claude-haiku-4-5" | "google-ai-studio/gemini-2.5-pro" | "google-ai-studio/gemini-2.5-flash" | "openai/gpt-6.1-terra" | "openai/gpt-6-luna")[];
127
+ readonly defaultModel: "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
45
128
  readonly subagents: false;
46
- readonly costs: false;
129
+ readonly costs: true;
47
130
  }];
48
131
  export type OperatorProviderEntry = (typeof operatorProviders)[number];
49
- export declare function modelsOf(entry: OperatorProviderEntry, kind: CredentialKind): {
132
+ export declare function modelsOf(entry: OperatorProviderEntry, _kind: CredentialKind): {
50
133
  models: readonly OperatorModel[];
51
134
  defaultModel: OperatorModel;
52
135
  };
53
136
  export declare const CredentialKind: z.ZodEnum<{
137
+ gateway: "gateway";
54
138
  subscription: "subscription";
55
139
  apikey: "apikey";
56
- gateway: "gateway";
57
140
  }>;
58
141
  export type CredentialKind = z.infer<typeof CredentialKind>;
59
142
  export declare const CredentialState: z.ZodEnum<{
@@ -62,6 +145,14 @@ export declare const CredentialState: z.ZodEnum<{
62
145
  }>;
63
146
  export type CredentialState = z.infer<typeof CredentialState>;
64
147
  export declare const OperatorModel: z.ZodEnum<{
148
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
149
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
150
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
151
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
152
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
153
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
154
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
155
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
65
156
  opus: "opus";
66
157
  sonnet: "sonnet";
67
158
  haiku: "haiku";
@@ -82,6 +173,22 @@ export declare const GatewayTarget: z.ZodObject<{
82
173
  gatewayId: z.ZodString;
83
174
  }, z.core.$strict>;
84
175
  export type GatewayTarget = z.infer<typeof GatewayTarget>;
176
+ export declare const GatewayRight: z.ZodEnum<{
177
+ run: "run";
178
+ read: "read";
179
+ workersai: "workersai";
180
+ }>;
181
+ export type GatewayRight = z.infer<typeof GatewayRight>;
182
+ export declare const GatewayRightCheck: z.ZodObject<{
183
+ right: z.ZodEnum<{
184
+ run: "run";
185
+ read: "read";
186
+ workersai: "workersai";
187
+ }>;
188
+ granted: z.ZodNullable<z.ZodBoolean>;
189
+ without: z.ZodNullable<z.ZodString>;
190
+ }, z.core.$strip>;
191
+ export type GatewayRightCheck = z.infer<typeof GatewayRightCheck>;
85
192
  export declare const CredentialListInput: z.ZodObject<{
86
193
  cursor: z.ZodOptional<z.ZodTemplateLiteral<`credential_${string}`>>;
87
194
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
@@ -96,11 +203,12 @@ export declare const CredentialCreateInput: z.ZodObject<{
96
203
  claude: "claude";
97
204
  codex: "codex";
98
205
  gemini: "gemini";
206
+ gateway: "gateway";
99
207
  }>>;
100
208
  kind: z.ZodEnum<{
209
+ gateway: "gateway";
101
210
  subscription: "subscription";
102
211
  apikey: "apikey";
103
- gateway: "gateway";
104
212
  }>;
105
213
  name: z.ZodString;
106
214
  value: z.ZodString;
@@ -137,11 +245,12 @@ export declare const Credential: z.ZodObject<{
137
245
  claude: "claude";
138
246
  codex: "codex";
139
247
  gemini: "gemini";
248
+ gateway: "gateway";
140
249
  }>>;
141
250
  kind: z.ZodEnum<{
251
+ gateway: "gateway";
142
252
  subscription: "subscription";
143
253
  apikey: "apikey";
144
- gateway: "gateway";
145
254
  }>;
146
255
  name: z.ZodString;
147
256
  state: z.ZodEnum<{
@@ -153,6 +262,15 @@ export declare const Credential: z.ZodObject<{
153
262
  position: z.ZodInt;
154
263
  personal: z.ZodBoolean;
155
264
  fallback: z.ZodBoolean;
265
+ rights: z.ZodNullable<z.ZodArray<z.ZodObject<{
266
+ right: z.ZodEnum<{
267
+ run: "run";
268
+ read: "read";
269
+ workersai: "workersai";
270
+ }>;
271
+ granted: z.ZodNullable<z.ZodBoolean>;
272
+ without: z.ZodNullable<z.ZodString>;
273
+ }, z.core.$strip>>>;
156
274
  limitedAt: z.ZodNullable<z.ZodISODateTime>;
157
275
  limitedUntil: z.ZodNullable<z.ZodISODateTime>;
158
276
  machineIds: z.ZodArray<z.ZodTemplateLiteral<`user_${string}`>>;
@@ -168,11 +286,12 @@ export declare const CredentialList: z.ZodObject<{
168
286
  claude: "claude";
169
287
  codex: "codex";
170
288
  gemini: "gemini";
289
+ gateway: "gateway";
171
290
  }>>;
172
291
  kind: z.ZodEnum<{
292
+ gateway: "gateway";
173
293
  subscription: "subscription";
174
294
  apikey: "apikey";
175
- gateway: "gateway";
176
295
  }>;
177
296
  name: z.ZodString;
178
297
  state: z.ZodEnum<{
@@ -184,6 +303,15 @@ export declare const CredentialList: z.ZodObject<{
184
303
  position: z.ZodInt;
185
304
  personal: z.ZodBoolean;
186
305
  fallback: z.ZodBoolean;
306
+ rights: z.ZodNullable<z.ZodArray<z.ZodObject<{
307
+ right: z.ZodEnum<{
308
+ run: "run";
309
+ read: "read";
310
+ workersai: "workersai";
311
+ }>;
312
+ granted: z.ZodNullable<z.ZodBoolean>;
313
+ without: z.ZodNullable<z.ZodString>;
314
+ }, z.core.$strip>>>;
187
315
  limitedAt: z.ZodNullable<z.ZodISODateTime>;
188
316
  limitedUntil: z.ZodNullable<z.ZodISODateTime>;
189
317
  machineIds: z.ZodArray<z.ZodTemplateLiteral<`user_${string}`>>;
@@ -208,11 +336,12 @@ export declare const CredentialTested: z.ZodObject<{
208
336
  claude: "claude";
209
337
  codex: "codex";
210
338
  gemini: "gemini";
339
+ gateway: "gateway";
211
340
  }>>;
212
341
  kind: z.ZodEnum<{
342
+ gateway: "gateway";
213
343
  subscription: "subscription";
214
344
  apikey: "apikey";
215
- gateway: "gateway";
216
345
  }>;
217
346
  name: z.ZodString;
218
347
  state: z.ZodEnum<{
@@ -224,6 +353,15 @@ export declare const CredentialTested: z.ZodObject<{
224
353
  position: z.ZodInt;
225
354
  personal: z.ZodBoolean;
226
355
  fallback: z.ZodBoolean;
356
+ rights: z.ZodNullable<z.ZodArray<z.ZodObject<{
357
+ right: z.ZodEnum<{
358
+ run: "run";
359
+ read: "read";
360
+ workersai: "workersai";
361
+ }>;
362
+ granted: z.ZodNullable<z.ZodBoolean>;
363
+ without: z.ZodNullable<z.ZodString>;
364
+ }, z.core.$strip>>>;
227
365
  limitedAt: z.ZodNullable<z.ZodISODateTime>;
228
366
  limitedUntil: z.ZodNullable<z.ZodISODateTime>;
229
367
  machineIds: z.ZodArray<z.ZodTemplateLiteral<`user_${string}`>>;
@@ -300,9 +438,12 @@ export declare const Trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
300
438
  }, z.core.$strict>;
301
439
  }, z.core.$strip>], "on">;
302
440
  export type Trigger = z.infer<typeof Trigger>;
441
+ export declare const KeepStepsDays: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>, z.ZodNull]>;
442
+ export type KeepStepsDays = z.infer<typeof KeepStepsDays>;
303
443
  export declare const OperatorLimits: z.ZodObject<{
304
444
  maxRunMinutes: z.ZodInt;
305
445
  maxRunsPerDay: z.ZodInt;
446
+ keepStepsDays: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>, z.ZodNull]>;
306
447
  }, z.core.$strict>;
307
448
  export type OperatorLimits = z.infer<typeof OperatorLimits>;
308
449
  export declare const operatorDefaults: {
@@ -313,13 +454,19 @@ export declare const operatorDefaults: {
313
454
  };
314
455
  readonly trigger: {
315
456
  readonly on: "change";
316
- readonly quietMinutes: 5;
457
+ readonly quietMinutes: 0;
317
458
  };
318
459
  readonly limits: {
319
460
  readonly maxRunMinutes: 30;
320
461
  readonly maxRunsPerDay: 50;
462
+ readonly keepStepsDays: 30;
321
463
  };
322
464
  };
465
+ export declare const validatorTrigger: {
466
+ readonly on: "change";
467
+ readonly quietMinutes: 5;
468
+ };
469
+ export declare const scheduleQuietMinutes = 5;
323
470
  export declare const OperatorState: z.ZodEnum<{
324
471
  no_role: "no_role";
325
472
  ready: "ready";
@@ -353,9 +500,18 @@ export declare const OperatorMachineCreateInput: z.ZodObject<{
353
500
  claude: "claude";
354
501
  codex: "codex";
355
502
  gemini: "gemini";
503
+ gateway: "gateway";
356
504
  }>>;
357
505
  credentialId: z.ZodOptional<z.ZodTemplateLiteral<`credential_${string}`>>;
358
506
  model: z.ZodOptional<z.ZodEnum<{
507
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
508
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
509
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
510
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
511
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
512
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
513
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
514
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
359
515
  opus: "opus";
360
516
  sonnet: "sonnet";
361
517
  haiku: "haiku";
@@ -380,6 +536,7 @@ export declare const OperatorMachineCreateInput: z.ZodObject<{
380
536
  limits: z.ZodOptional<z.ZodObject<{
381
537
  maxRunMinutes: z.ZodOptional<z.ZodInt>;
382
538
  maxRunsPerDay: z.ZodOptional<z.ZodInt>;
539
+ keepStepsDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>, z.ZodNull]>>;
383
540
  }, z.core.$strict>>;
384
541
  }, z.core.$strict>;
385
542
  export type OperatorMachineCreateInput = z.infer<typeof OperatorMachineCreateInput>;
@@ -388,6 +545,14 @@ export declare const OperatorMachineUpdateInput: z.ZodObject<{
388
545
  rev: z.ZodNumber;
389
546
  credentialId: z.ZodOptional<z.ZodTemplateLiteral<`credential_${string}`>>;
390
547
  model: z.ZodOptional<z.ZodEnum<{
548
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
549
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
550
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
551
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
552
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
553
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
554
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
555
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
391
556
  opus: "opus";
392
557
  sonnet: "sonnet";
393
558
  haiku: "haiku";
@@ -412,6 +577,7 @@ export declare const OperatorMachineUpdateInput: z.ZodObject<{
412
577
  limits: z.ZodOptional<z.ZodObject<{
413
578
  maxRunMinutes: z.ZodOptional<z.ZodInt>;
414
579
  maxRunsPerDay: z.ZodOptional<z.ZodInt>;
580
+ keepStepsDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>, z.ZodNull]>>;
415
581
  }, z.core.$strict>>;
416
582
  responsibleId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
417
583
  name: z.ZodOptional<z.ZodString>;
@@ -441,11 +607,20 @@ export declare const Operator: z.ZodObject<{
441
607
  claude: "claude";
442
608
  codex: "codex";
443
609
  gemini: "gemini";
610
+ gateway: "gateway";
444
611
  }>;
445
612
  credentialId: z.ZodNullable<z.ZodTemplateLiteral<`credential_${string}`>>;
446
613
  ownerId: z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>;
447
614
  open: z.ZodNullable<z.ZodInt>;
448
615
  model: z.ZodEnum<{
616
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
617
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
618
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
619
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
620
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
621
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
622
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
623
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
449
624
  opus: "opus";
450
625
  sonnet: "sonnet";
451
626
  haiku: "haiku";
@@ -516,6 +691,7 @@ export declare const Operator: z.ZodObject<{
516
691
  limits: z.ZodObject<{
517
692
  maxRunMinutes: z.ZodInt;
518
693
  maxRunsPerDay: z.ZodInt;
694
+ keepStepsDays: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>, z.ZodNull]>;
519
695
  }, z.core.$strict>;
520
696
  wokenBy: z.ZodArray<z.ZodObject<{
521
697
  goalId: z.ZodTemplateLiteral<`node_${string}`>;
@@ -615,11 +791,20 @@ export declare const OperatorList: z.ZodObject<{
615
791
  claude: "claude";
616
792
  codex: "codex";
617
793
  gemini: "gemini";
794
+ gateway: "gateway";
618
795
  }>;
619
796
  credentialId: z.ZodNullable<z.ZodTemplateLiteral<`credential_${string}`>>;
620
797
  ownerId: z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>;
621
798
  open: z.ZodNullable<z.ZodInt>;
622
799
  model: z.ZodEnum<{
800
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
801
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
802
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
803
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
804
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
805
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
806
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
807
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
623
808
  opus: "opus";
624
809
  sonnet: "sonnet";
625
810
  haiku: "haiku";
@@ -690,6 +875,7 @@ export declare const OperatorList: z.ZodObject<{
690
875
  limits: z.ZodObject<{
691
876
  maxRunMinutes: z.ZodInt;
692
877
  maxRunsPerDay: z.ZodInt;
878
+ keepStepsDays: z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>, z.ZodNull]>;
693
879
  }, z.core.$strict>;
694
880
  wokenBy: z.ZodArray<z.ZodObject<{
695
881
  goalId: z.ZodTemplateLiteral<`node_${string}`>;
@@ -780,8 +966,17 @@ export declare const OperatorList: z.ZodObject<{
780
966
  claude: "claude";
781
967
  codex: "codex";
782
968
  gemini: "gemini";
969
+ gateway: "gateway";
783
970
  }>;
784
971
  model: z.ZodEnum<{
972
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
973
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
974
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
975
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
976
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
977
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
978
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
979
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
785
980
  opus: "opus";
786
981
  sonnet: "sonnet";
787
982
  haiku: "haiku";
@@ -813,6 +1008,14 @@ export declare const OperatorUserUpdateInput: z.ZodObject<{
813
1008
  userId: z.ZodOptional<z.ZodTemplateLiteral<`user_${string}`>>;
814
1009
  limitUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
815
1010
  models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
1011
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
1012
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1013
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
1014
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
1015
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
1016
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
1017
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1018
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
816
1019
  opus: "opus";
817
1020
  sonnet: "sonnet";
818
1021
  haiku: "haiku";
@@ -835,6 +1038,14 @@ export declare const OperatorUser: z.ZodObject<{
835
1038
  own: z.ZodObject<{
836
1039
  limitUsd: z.ZodNullable<z.ZodNumber>;
837
1040
  models: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1041
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
1042
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1043
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
1044
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
1045
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
1046
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
1047
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1048
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
838
1049
  opus: "opus";
839
1050
  sonnet: "sonnet";
840
1051
  haiku: "haiku";
@@ -850,6 +1061,14 @@ export declare const OperatorUser: z.ZodObject<{
850
1061
  }>>>;
851
1062
  }, z.core.$strip>;
852
1063
  models: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1064
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
1065
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1066
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
1067
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
1068
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
1069
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
1070
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1071
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
853
1072
  opus: "opus";
854
1073
  sonnet: "sonnet";
855
1074
  haiku: "haiku";
@@ -875,6 +1094,14 @@ export declare const OperatorUserList: z.ZodObject<{
875
1094
  defaults: z.ZodObject<{
876
1095
  limitUsd: z.ZodNullable<z.ZodNumber>;
877
1096
  models: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1097
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
1098
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1099
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
1100
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
1101
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
1102
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
1103
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1104
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
878
1105
  opus: "opus";
879
1106
  sonnet: "sonnet";
880
1107
  haiku: "haiku";
@@ -896,6 +1123,14 @@ export declare const OperatorUserList: z.ZodObject<{
896
1123
  own: z.ZodObject<{
897
1124
  limitUsd: z.ZodNullable<z.ZodNumber>;
898
1125
  models: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1126
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
1127
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1128
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
1129
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
1130
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
1131
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
1132
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1133
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
899
1134
  opus: "opus";
900
1135
  sonnet: "sonnet";
901
1136
  haiku: "haiku";
@@ -911,6 +1146,14 @@ export declare const OperatorUserList: z.ZodObject<{
911
1146
  }>>>;
912
1147
  }, z.core.$strip>;
913
1148
  models: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1149
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
1150
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1151
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
1152
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
1153
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
1154
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
1155
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1156
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
914
1157
  opus: "opus";
915
1158
  sonnet: "sonnet";
916
1159
  haiku: "haiku";
@@ -960,6 +1203,12 @@ export declare const OperatorRunTrigger: z.ZodEnum<{
960
1203
  retry: "retry";
961
1204
  }>;
962
1205
  export type OperatorRunTrigger = z.infer<typeof OperatorRunTrigger>;
1206
+ export declare const OperatorRunCostSource: z.ZodEnum<{
1207
+ provider: "provider";
1208
+ catalog: "catalog";
1209
+ logs: "logs";
1210
+ }>;
1211
+ export type OperatorRunCostSource = z.infer<typeof OperatorRunCostSource>;
963
1212
  export declare const OperatorRunTokens: z.ZodObject<{
964
1213
  input: z.ZodInt;
965
1214
  output: z.ZodInt;
@@ -999,6 +1248,20 @@ export declare const OperatorRunAgents: z.ZodObject<{
999
1248
  export type OperatorRunAgents = z.infer<typeof OperatorRunAgents>;
1000
1249
  export declare const runSummaryChars = 300;
1001
1250
  export declare const compactRunLimit = 20;
1251
+ export declare const RunPlanStep: z.ZodObject<{
1252
+ title: z.ZodString;
1253
+ how: z.ZodNullable<z.ZodString>;
1254
+ result: z.ZodNullable<z.ZodString>;
1255
+ done: z.ZodBoolean;
1256
+ evidence: z.ZodArray<z.ZodString>;
1257
+ agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1258
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1259
+ title: z.ZodString;
1260
+ result: z.ZodNullable<z.ZodString>;
1261
+ done: z.ZodBoolean;
1262
+ }, z.core.$strip>>>;
1263
+ }, z.core.$strip>;
1264
+ export type RunPlanStep = z.infer<typeof RunPlanStep>;
1002
1265
  export declare const OperatorRun: z.ZodObject<{
1003
1266
  trigger: z.ZodEnum<{
1004
1267
  schedule: "schedule";
@@ -1034,11 +1297,16 @@ export declare const OperatorRun: z.ZodObject<{
1034
1297
  cut: z.ZodBoolean;
1035
1298
  }, z.core.$strip>>;
1036
1299
  credentialKind: z.ZodNullable<z.ZodEnum<{
1300
+ gateway: "gateway";
1037
1301
  subscription: "subscription";
1038
1302
  apikey: "apikey";
1039
- gateway: "gateway";
1040
1303
  }>>;
1041
1304
  costUsd: z.ZodNullable<z.ZodNumber>;
1305
+ costSource: z.ZodNullable<z.ZodEnum<{
1306
+ provider: "provider";
1307
+ catalog: "catalog";
1308
+ logs: "logs";
1309
+ }>>;
1042
1310
  tokens: z.ZodNullable<z.ZodObject<{
1043
1311
  input: z.ZodInt;
1044
1312
  output: z.ZodInt;
@@ -1072,6 +1340,20 @@ export declare const OperatorRun: z.ZodObject<{
1072
1340
  startedAt: z.ZodISODateTime;
1073
1341
  endedAt: z.ZodNullable<z.ZodISODateTime>;
1074
1342
  durationMs: z.ZodNullable<z.ZodInt>;
1343
+ stepsRemovedDays: z.ZodNullable<z.ZodInt>;
1344
+ plan: z.ZodNullable<z.ZodArray<z.ZodObject<{
1345
+ title: z.ZodString;
1346
+ how: z.ZodNullable<z.ZodString>;
1347
+ result: z.ZodNullable<z.ZodString>;
1348
+ done: z.ZodBoolean;
1349
+ evidence: z.ZodArray<z.ZodString>;
1350
+ agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1351
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1352
+ title: z.ZodString;
1353
+ result: z.ZodNullable<z.ZodString>;
1354
+ done: z.ZodBoolean;
1355
+ }, z.core.$strip>>>;
1356
+ }, z.core.$strip>>>;
1075
1357
  machineId: z.ZodTemplateLiteral<`user_${string}`>;
1076
1358
  machineName: z.ZodString;
1077
1359
  machineArchivedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -1086,6 +1368,7 @@ export declare const OperatorRunListInput: z.ZodObject<{
1086
1368
  claude: "claude";
1087
1369
  codex: "codex";
1088
1370
  gemini: "gemini";
1371
+ gateway: "gateway";
1089
1372
  }>>;
1090
1373
  status: z.ZodOptional<z.ZodEnum<{
1091
1374
  running: "running";
@@ -1108,17 +1391,39 @@ export declare const RunCancelInput: z.ZodObject<{
1108
1391
  runId: z.ZodTemplateLiteral<`run_${string}`>;
1109
1392
  }, z.core.$strict>;
1110
1393
  export type RunCancelInput = z.infer<typeof RunCancelInput>;
1394
+ export declare const runPlanMax = 30;
1111
1395
  export declare const RunUpdateInput: z.ZodObject<{
1112
1396
  runId: z.ZodTemplateLiteral<`run_${string}`>;
1113
- read: z.ZodLiteral<true>;
1397
+ read: z.ZodOptional<z.ZodLiteral<true>>;
1398
+ plan: z.ZodOptional<z.ZodArray<z.ZodObject<{
1399
+ title: z.ZodString;
1400
+ how: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1401
+ result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1402
+ done: z.ZodOptional<z.ZodBoolean>;
1403
+ evidence: z.ZodOptional<z.ZodArray<z.ZodTemplateLiteral<`node_${string}`>>>;
1404
+ agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1405
+ }, z.core.$strict>>>;
1406
+ agent: z.ZodOptional<z.ZodString>;
1114
1407
  }, z.core.$strict>;
1115
1408
  export type RunUpdateInput = z.infer<typeof RunUpdateInput>;
1409
+ export declare const RunPlanAnswer: z.ZodObject<{
1410
+ runId: z.ZodTemplateLiteral<`run_${string}`>;
1411
+ done: z.ZodInt;
1412
+ total: z.ZodInt;
1413
+ next: z.ZodNullable<z.ZodObject<{
1414
+ title: z.ZodString;
1415
+ how: z.ZodNullable<z.ZodString>;
1416
+ }, z.core.$strip>>;
1417
+ remaining: z.ZodArray<z.ZodString>;
1418
+ }, z.core.$strip>;
1419
+ export type RunPlanAnswer = z.infer<typeof RunPlanAnswer>;
1420
+ export declare function planAnswerOf(runId: OperatorRunId, plan: readonly RunPlanStep[]): RunPlanAnswer;
1116
1421
  export declare const OperatorRunStepKind: z.ZodEnum<{
1117
1422
  error: "error";
1423
+ result: "result";
1118
1424
  text: "text";
1119
1425
  tool: "tool";
1120
1426
  thinking: "thinking";
1121
- result: "result";
1122
1427
  agentstart: "agentstart";
1123
1428
  agentend: "agentend";
1124
1429
  truncated: "truncated";
@@ -1130,10 +1435,10 @@ export declare const OperatorRunStep: z.ZodObject<{
1130
1435
  agentId: z.ZodNullable<z.ZodString>;
1131
1436
  kind: z.ZodEnum<{
1132
1437
  error: "error";
1438
+ result: "result";
1133
1439
  text: "text";
1134
1440
  tool: "tool";
1135
1441
  thinking: "thinking";
1136
- result: "result";
1137
1442
  agentstart: "agentstart";
1138
1443
  agentend: "agentend";
1139
1444
  truncated: "truncated";
@@ -1158,10 +1463,10 @@ export declare const OperatorRunStepList: z.ZodObject<{
1158
1463
  agentId: z.ZodNullable<z.ZodString>;
1159
1464
  kind: z.ZodEnum<{
1160
1465
  error: "error";
1466
+ result: "result";
1161
1467
  text: "text";
1162
1468
  tool: "tool";
1163
1469
  thinking: "thinking";
1164
- result: "result";
1165
1470
  agentstart: "agentstart";
1166
1471
  agentend: "agentend";
1167
1472
  truncated: "truncated";
@@ -1187,6 +1492,14 @@ export declare const OperatorRunUsage: z.ZodObject<{
1187
1492
  ownerId: z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>;
1188
1493
  ownerName: z.ZodNullable<z.ZodString>;
1189
1494
  model: z.ZodNullable<z.ZodEnum<{
1495
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
1496
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1497
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
1498
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
1499
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
1500
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
1501
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1502
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
1190
1503
  opus: "opus";
1191
1504
  sonnet: "sonnet";
1192
1505
  haiku: "haiku";
@@ -1237,9 +1550,9 @@ export declare const OperatorRunUsage: z.ZodObject<{
1237
1550
  cacheWrite: z.ZodInt;
1238
1551
  }, z.core.$strip>;
1239
1552
  kind: z.ZodEnum<{
1553
+ gateway: "gateway";
1240
1554
  subscription: "subscription";
1241
1555
  apikey: "apikey";
1242
- gateway: "gateway";
1243
1556
  }>;
1244
1557
  }, z.core.$strip>>;
1245
1558
  byProvider: z.ZodArray<z.ZodObject<{
@@ -1255,6 +1568,7 @@ export declare const OperatorRunUsage: z.ZodObject<{
1255
1568
  claude: "claude";
1256
1569
  codex: "codex";
1257
1570
  gemini: "gemini";
1571
+ gateway: "gateway";
1258
1572
  }>;
1259
1573
  }, z.core.$strip>>;
1260
1574
  runs: z.ZodInt;
@@ -1303,11 +1617,16 @@ export declare const OperatorRunList: z.ZodObject<{
1303
1617
  cut: z.ZodBoolean;
1304
1618
  }, z.core.$strip>>;
1305
1619
  credentialKind: z.ZodNullable<z.ZodEnum<{
1620
+ gateway: "gateway";
1306
1621
  subscription: "subscription";
1307
1622
  apikey: "apikey";
1308
- gateway: "gateway";
1309
1623
  }>>;
1310
1624
  costUsd: z.ZodNullable<z.ZodNumber>;
1625
+ costSource: z.ZodNullable<z.ZodEnum<{
1626
+ provider: "provider";
1627
+ catalog: "catalog";
1628
+ logs: "logs";
1629
+ }>>;
1311
1630
  tokens: z.ZodNullable<z.ZodObject<{
1312
1631
  input: z.ZodInt;
1313
1632
  output: z.ZodInt;
@@ -1341,6 +1660,20 @@ export declare const OperatorRunList: z.ZodObject<{
1341
1660
  startedAt: z.ZodISODateTime;
1342
1661
  endedAt: z.ZodNullable<z.ZodISODateTime>;
1343
1662
  durationMs: z.ZodNullable<z.ZodInt>;
1663
+ stepsRemovedDays: z.ZodNullable<z.ZodInt>;
1664
+ plan: z.ZodNullable<z.ZodArray<z.ZodObject<{
1665
+ title: z.ZodString;
1666
+ how: z.ZodNullable<z.ZodString>;
1667
+ result: z.ZodNullable<z.ZodString>;
1668
+ done: z.ZodBoolean;
1669
+ evidence: z.ZodArray<z.ZodString>;
1670
+ agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1671
+ steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
1672
+ title: z.ZodString;
1673
+ result: z.ZodNullable<z.ZodString>;
1674
+ done: z.ZodBoolean;
1675
+ }, z.core.$strip>>>;
1676
+ }, z.core.$strip>>>;
1344
1677
  machineId: z.ZodTemplateLiteral<`user_${string}`>;
1345
1678
  machineName: z.ZodString;
1346
1679
  machineArchivedAt: z.ZodNullable<z.ZodISODateTime>;
@@ -1360,6 +1693,14 @@ export declare const OperatorRunList: z.ZodObject<{
1360
1693
  ownerId: z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>;
1361
1694
  ownerName: z.ZodNullable<z.ZodString>;
1362
1695
  model: z.ZodNullable<z.ZodEnum<{
1696
+ "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813": "workers-ai/@cf/deepseek-ai/deepseek-v4-pro-0813";
1697
+ "anthropic/claude-sonnet-4-6": "anthropic/claude-sonnet-4-6";
1698
+ "anthropic/claude-opus-4-6": "anthropic/claude-opus-4-6";
1699
+ "anthropic/claude-haiku-4-5": "anthropic/claude-haiku-4-5";
1700
+ "google-ai-studio/gemini-2.5-pro": "google-ai-studio/gemini-2.5-pro";
1701
+ "google-ai-studio/gemini-2.5-flash": "google-ai-studio/gemini-2.5-flash";
1702
+ "openai/gpt-6.1-terra": "openai/gpt-6.1-terra";
1703
+ "openai/gpt-6-luna": "openai/gpt-6-luna";
1363
1704
  opus: "opus";
1364
1705
  sonnet: "sonnet";
1365
1706
  haiku: "haiku";
@@ -1410,9 +1751,9 @@ export declare const OperatorRunList: z.ZodObject<{
1410
1751
  cacheWrite: z.ZodInt;
1411
1752
  }, z.core.$strip>;
1412
1753
  kind: z.ZodEnum<{
1754
+ gateway: "gateway";
1413
1755
  subscription: "subscription";
1414
1756
  apikey: "apikey";
1415
- gateway: "gateway";
1416
1757
  }>;
1417
1758
  }, z.core.$strip>>;
1418
1759
  byProvider: z.ZodArray<z.ZodObject<{
@@ -1428,6 +1769,7 @@ export declare const OperatorRunList: z.ZodObject<{
1428
1769
  claude: "claude";
1429
1770
  codex: "codex";
1430
1771
  gemini: "gemini";
1772
+ gateway: "gateway";
1431
1773
  }>;
1432
1774
  }, z.core.$strip>>;
1433
1775
  runs: z.ZodInt;