@seawork/server 2.0.2-rc.6 → 2.0.2

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 (64) hide show
  1. package/README.md +4 -0
  2. package/dist/server/server/agent/agent-manager.d.ts.map +1 -1
  3. package/dist/server/server/agent/agent-manager.js +1 -0
  4. package/dist/server/server/agent/agent-manager.js.map +1 -1
  5. package/dist/server/server/agent/agent-response-loop.d.ts.map +1 -1
  6. package/dist/server/server/agent/agent-response-loop.js.map +1 -1
  7. package/dist/server/server/agent/agent-storage.d.ts +48 -48
  8. package/dist/server/server/agent/gateway-auth-env.d.ts +4 -0
  9. package/dist/server/server/agent/gateway-auth-env.d.ts.map +1 -0
  10. package/dist/server/server/agent/gateway-auth-env.js +31 -0
  11. package/dist/server/server/agent/gateway-auth-env.js.map +1 -0
  12. package/dist/server/server/agent/mcp-server.d.ts.map +1 -1
  13. package/dist/server/server/agent/mcp-server.js.map +1 -1
  14. package/dist/server/server/agent/mcp-shared.d.ts +23 -23
  15. package/dist/server/server/agent/orchestrator.d.ts +1 -1
  16. package/dist/server/server/agent/orchestrator.d.ts.map +1 -1
  17. package/dist/server/server/agent/orchestrator.js +1 -1
  18. package/dist/server/server/agent/orchestrator.js.map +1 -1
  19. package/dist/server/server/agent/providers/claude/sidechain-tracker.d.ts.map +1 -1
  20. package/dist/server/server/agent/providers/claude/sidechain-tracker.js.map +1 -1
  21. package/dist/server/server/agent/providers/claude/task-notification-tool-call.d.ts +2 -2
  22. package/dist/server/server/agent/providers/codex-app-server-agent.d.ts.map +1 -1
  23. package/dist/server/server/agent/providers/codex-app-server-agent.js +61 -0
  24. package/dist/server/server/agent/providers/codex-app-server-agent.js.map +1 -1
  25. package/dist/server/server/agent/providers/deepseek-agent.d.ts.map +1 -1
  26. package/dist/server/server/agent/providers/deepseek-agent.js +11 -9
  27. package/dist/server/server/agent/providers/deepseek-agent.js.map +1 -1
  28. package/dist/server/server/agent/providers/tool-call-detail-primitives.d.ts +16 -16
  29. package/dist/server/server/chat/chat-rpc-schemas.d.ts +50 -50
  30. package/dist/server/server/chat/chat-types.d.ts +6 -6
  31. package/dist/server/server/exports.d.ts +1 -1
  32. package/dist/server/server/exports.d.ts.map +1 -1
  33. package/dist/server/server/exports.js +1 -1
  34. package/dist/server/server/exports.js.map +1 -1
  35. package/dist/server/server/index.js +5 -0
  36. package/dist/server/server/index.js.map +1 -1
  37. package/dist/server/server/library/library-types.d.ts +59 -59
  38. package/dist/server/server/loop/rpc-schemas.d.ts +887 -887
  39. package/dist/server/server/loop-service.d.ts +128 -128
  40. package/dist/server/server/persisted-config.d.ts +142 -142
  41. package/dist/server/server/sac/auth.d.ts +1 -0
  42. package/dist/server/server/sac/auth.d.ts.map +1 -1
  43. package/dist/server/server/sac/auth.js +1 -0
  44. package/dist/server/server/sac/auth.js.map +1 -1
  45. package/dist/server/server/schedule/rpc-schemas.d.ts +426 -426
  46. package/dist/server/server/schedule/types.d.ts +92 -92
  47. package/dist/server/server/session.js +1 -1
  48. package/dist/server/server/session.js.map +1 -1
  49. package/dist/server/server/speech/native-runtime-probe.js.map +1 -1
  50. package/dist/server/server/speech/providers/openai/proxy.d.ts +4 -0
  51. package/dist/server/server/speech/providers/openai/proxy.d.ts.map +1 -0
  52. package/dist/server/server/speech/providers/openai/proxy.js +34 -0
  53. package/dist/server/server/speech/providers/openai/proxy.js.map +1 -0
  54. package/dist/server/server/speech/providers/openai/stt.d.ts.map +1 -1
  55. package/dist/server/server/speech/providers/openai/stt.js +3 -0
  56. package/dist/server/server/speech/providers/openai/stt.js.map +1 -1
  57. package/dist/server/server/speech/providers/openai/tts.d.ts.map +1 -1
  58. package/dist/server/server/speech/providers/openai/tts.js +5 -1
  59. package/dist/server/server/speech/providers/openai/tts.js.map +1 -1
  60. package/dist/server/server/workspace-registry.d.ts +10 -10
  61. package/dist/server/shared/messages.d.ts +20306 -20306
  62. package/dist/server/shared/provider-runtime-settings.d.ts +2 -2
  63. package/dist/server/utils/worktree-metadata.d.ts +4 -4
  64. package/package.json +12 -11
@@ -27,20 +27,20 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
27
27
  type: z.ZodLiteral<"self">;
28
28
  agentId: z.ZodString;
29
29
  }, "strip", z.ZodTypeAny, {
30
- type: "self";
31
30
  agentId: string;
32
- }, {
33
31
  type: "self";
32
+ }, {
34
33
  agentId: string;
34
+ type: "self";
35
35
  }>, z.ZodObject<{
36
36
  type: z.ZodLiteral<"agent">;
37
37
  agentId: z.ZodString;
38
38
  }, "strip", z.ZodTypeAny, {
39
- type: "agent";
40
39
  agentId: string;
41
- }, {
42
40
  type: "agent";
41
+ }, {
43
42
  agentId: string;
43
+ type: "agent";
44
44
  }>, z.ZodObject<{
45
45
  type: z.ZodLiteral<"new-agent">;
46
46
  config: z.ZodObject<{
@@ -58,45 +58,45 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
58
58
  codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
59
59
  claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
60
60
  }, "strip", z.ZodTypeAny, {
61
- codex?: Record<string, unknown> | undefined;
62
61
  claude?: Record<string, unknown> | undefined;
63
- }, {
64
62
  codex?: Record<string, unknown> | undefined;
63
+ }, {
65
64
  claude?: Record<string, unknown> | undefined;
65
+ codex?: Record<string, unknown> | undefined;
66
66
  }>>;
67
67
  systemPrompt: z.ZodOptional<z.ZodString>;
68
68
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
69
69
  }, "strip", z.ZodTypeAny, {
70
- provider: string;
71
70
  cwd: string;
71
+ provider: string;
72
72
  title?: string | null | undefined;
73
73
  model?: string | undefined;
74
- thinkingOptionId?: string | undefined;
75
74
  modeId?: string | undefined;
75
+ thinkingOptionId?: string | undefined;
76
76
  approvalPolicy?: string | undefined;
77
77
  sandboxMode?: string | undefined;
78
78
  networkAccess?: boolean | undefined;
79
79
  webSearch?: boolean | undefined;
80
80
  extra?: {
81
- codex?: Record<string, unknown> | undefined;
82
81
  claude?: Record<string, unknown> | undefined;
82
+ codex?: Record<string, unknown> | undefined;
83
83
  } | undefined;
84
84
  systemPrompt?: string | undefined;
85
85
  mcpServers?: Record<string, unknown> | undefined;
86
86
  }, {
87
- provider: string;
88
87
  cwd: string;
88
+ provider: string;
89
89
  title?: string | null | undefined;
90
90
  model?: string | undefined;
91
- thinkingOptionId?: string | undefined;
92
91
  modeId?: string | undefined;
92
+ thinkingOptionId?: string | undefined;
93
93
  approvalPolicy?: string | undefined;
94
94
  sandboxMode?: string | undefined;
95
95
  networkAccess?: boolean | undefined;
96
96
  webSearch?: boolean | undefined;
97
97
  extra?: {
98
- codex?: Record<string, unknown> | undefined;
99
98
  claude?: Record<string, unknown> | undefined;
99
+ codex?: Record<string, unknown> | undefined;
100
100
  } | undefined;
101
101
  systemPrompt?: string | undefined;
102
102
  mcpServers?: Record<string, unknown> | undefined;
@@ -104,19 +104,19 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
104
104
  }, "strip", z.ZodTypeAny, {
105
105
  type: "new-agent";
106
106
  config: {
107
- provider: string;
108
107
  cwd: string;
108
+ provider: string;
109
109
  title?: string | null | undefined;
110
110
  model?: string | undefined;
111
- thinkingOptionId?: string | undefined;
112
111
  modeId?: string | undefined;
112
+ thinkingOptionId?: string | undefined;
113
113
  approvalPolicy?: string | undefined;
114
114
  sandboxMode?: string | undefined;
115
115
  networkAccess?: boolean | undefined;
116
116
  webSearch?: boolean | undefined;
117
117
  extra?: {
118
- codex?: Record<string, unknown> | undefined;
119
118
  claude?: Record<string, unknown> | undefined;
119
+ codex?: Record<string, unknown> | undefined;
120
120
  } | undefined;
121
121
  systemPrompt?: string | undefined;
122
122
  mcpServers?: Record<string, unknown> | undefined;
@@ -124,19 +124,19 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
124
124
  }, {
125
125
  type: "new-agent";
126
126
  config: {
127
- provider: string;
128
127
  cwd: string;
128
+ provider: string;
129
129
  title?: string | null | undefined;
130
130
  model?: string | undefined;
131
- thinkingOptionId?: string | undefined;
132
131
  modeId?: string | undefined;
132
+ thinkingOptionId?: string | undefined;
133
133
  approvalPolicy?: string | undefined;
134
134
  sandboxMode?: string | undefined;
135
135
  networkAccess?: boolean | undefined;
136
136
  webSearch?: boolean | undefined;
137
137
  extra?: {
138
- codex?: Record<string, unknown> | undefined;
139
138
  claude?: Record<string, unknown> | undefined;
139
+ codex?: Record<string, unknown> | undefined;
140
140
  } | undefined;
141
141
  systemPrompt?: string | undefined;
142
142
  mcpServers?: Record<string, unknown> | undefined;
@@ -156,27 +156,27 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
156
156
  expression: string;
157
157
  };
158
158
  target: {
159
- type: "self";
160
159
  agentId: string;
160
+ type: "self";
161
161
  } | {
162
- type: "agent";
163
162
  agentId: string;
163
+ type: "agent";
164
164
  } | {
165
165
  type: "new-agent";
166
166
  config: {
167
- provider: string;
168
167
  cwd: string;
168
+ provider: string;
169
169
  title?: string | null | undefined;
170
170
  model?: string | undefined;
171
- thinkingOptionId?: string | undefined;
172
171
  modeId?: string | undefined;
172
+ thinkingOptionId?: string | undefined;
173
173
  approvalPolicy?: string | undefined;
174
174
  sandboxMode?: string | undefined;
175
175
  networkAccess?: boolean | undefined;
176
176
  webSearch?: boolean | undefined;
177
177
  extra?: {
178
- codex?: Record<string, unknown> | undefined;
179
178
  claude?: Record<string, unknown> | undefined;
179
+ codex?: Record<string, unknown> | undefined;
180
180
  } | undefined;
181
181
  systemPrompt?: string | undefined;
182
182
  mcpServers?: Record<string, unknown> | undefined;
@@ -197,27 +197,27 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
197
197
  expression: string;
198
198
  };
199
199
  target: {
200
- type: "self";
201
200
  agentId: string;
201
+ type: "self";
202
202
  } | {
203
- type: "agent";
204
203
  agentId: string;
204
+ type: "agent";
205
205
  } | {
206
206
  type: "new-agent";
207
207
  config: {
208
- provider: string;
209
208
  cwd: string;
209
+ provider: string;
210
210
  title?: string | null | undefined;
211
211
  model?: string | undefined;
212
- thinkingOptionId?: string | undefined;
213
212
  modeId?: string | undefined;
213
+ thinkingOptionId?: string | undefined;
214
214
  approvalPolicy?: string | undefined;
215
215
  sandboxMode?: string | undefined;
216
216
  networkAccess?: boolean | undefined;
217
217
  webSearch?: boolean | undefined;
218
218
  extra?: {
219
- codex?: Record<string, unknown> | undefined;
220
219
  claude?: Record<string, unknown> | undefined;
220
+ codex?: Record<string, unknown> | undefined;
221
221
  } | undefined;
222
222
  systemPrompt?: string | undefined;
223
223
  mcpServers?: Record<string, unknown> | undefined;
@@ -332,11 +332,11 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
332
332
  type: z.ZodLiteral<"agent">;
333
333
  agentId: z.ZodString;
334
334
  }, "strip", z.ZodTypeAny, {
335
- type: "agent";
336
335
  agentId: string;
337
- }, {
338
336
  type: "agent";
337
+ }, {
339
338
  agentId: string;
339
+ type: "agent";
340
340
  }>, z.ZodObject<{
341
341
  type: z.ZodLiteral<"new-agent">;
342
342
  config: z.ZodObject<{
@@ -354,45 +354,45 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
354
354
  codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
355
355
  claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
356
356
  }, "strip", z.ZodTypeAny, {
357
- codex?: Record<string, unknown> | undefined;
358
357
  claude?: Record<string, unknown> | undefined;
359
- }, {
360
358
  codex?: Record<string, unknown> | undefined;
359
+ }, {
361
360
  claude?: Record<string, unknown> | undefined;
361
+ codex?: Record<string, unknown> | undefined;
362
362
  }>>;
363
363
  systemPrompt: z.ZodOptional<z.ZodString>;
364
364
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
365
365
  }, "strip", z.ZodTypeAny, {
366
- provider: string;
367
366
  cwd: string;
367
+ provider: string;
368
368
  title?: string | null | undefined;
369
369
  model?: string | undefined;
370
- thinkingOptionId?: string | undefined;
371
370
  modeId?: string | undefined;
371
+ thinkingOptionId?: string | undefined;
372
372
  approvalPolicy?: string | undefined;
373
373
  sandboxMode?: string | undefined;
374
374
  networkAccess?: boolean | undefined;
375
375
  webSearch?: boolean | undefined;
376
376
  extra?: {
377
- codex?: Record<string, unknown> | undefined;
378
377
  claude?: Record<string, unknown> | undefined;
378
+ codex?: Record<string, unknown> | undefined;
379
379
  } | undefined;
380
380
  systemPrompt?: string | undefined;
381
381
  mcpServers?: Record<string, unknown> | undefined;
382
382
  }, {
383
- provider: string;
384
383
  cwd: string;
384
+ provider: string;
385
385
  title?: string | null | undefined;
386
386
  model?: string | undefined;
387
- thinkingOptionId?: string | undefined;
388
387
  modeId?: string | undefined;
388
+ thinkingOptionId?: string | undefined;
389
389
  approvalPolicy?: string | undefined;
390
390
  sandboxMode?: string | undefined;
391
391
  networkAccess?: boolean | undefined;
392
392
  webSearch?: boolean | undefined;
393
393
  extra?: {
394
- codex?: Record<string, unknown> | undefined;
395
394
  claude?: Record<string, unknown> | undefined;
395
+ codex?: Record<string, unknown> | undefined;
396
396
  } | undefined;
397
397
  systemPrompt?: string | undefined;
398
398
  mcpServers?: Record<string, unknown> | undefined;
@@ -400,19 +400,19 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
400
400
  }, "strip", z.ZodTypeAny, {
401
401
  type: "new-agent";
402
402
  config: {
403
- provider: string;
404
403
  cwd: string;
404
+ provider: string;
405
405
  title?: string | null | undefined;
406
406
  model?: string | undefined;
407
- thinkingOptionId?: string | undefined;
408
407
  modeId?: string | undefined;
408
+ thinkingOptionId?: string | undefined;
409
409
  approvalPolicy?: string | undefined;
410
410
  sandboxMode?: string | undefined;
411
411
  networkAccess?: boolean | undefined;
412
412
  webSearch?: boolean | undefined;
413
413
  extra?: {
414
- codex?: Record<string, unknown> | undefined;
415
414
  claude?: Record<string, unknown> | undefined;
415
+ codex?: Record<string, unknown> | undefined;
416
416
  } | undefined;
417
417
  systemPrompt?: string | undefined;
418
418
  mcpServers?: Record<string, unknown> | undefined;
@@ -420,19 +420,19 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
420
420
  }, {
421
421
  type: "new-agent";
422
422
  config: {
423
- provider: string;
424
423
  cwd: string;
424
+ provider: string;
425
425
  title?: string | null | undefined;
426
426
  model?: string | undefined;
427
- thinkingOptionId?: string | undefined;
428
427
  modeId?: string | undefined;
428
+ thinkingOptionId?: string | undefined;
429
429
  approvalPolicy?: string | undefined;
430
430
  sandboxMode?: string | undefined;
431
431
  networkAccess?: boolean | undefined;
432
432
  webSearch?: boolean | undefined;
433
433
  extra?: {
434
- codex?: Record<string, unknown> | undefined;
435
434
  claude?: Record<string, unknown> | undefined;
435
+ codex?: Record<string, unknown> | undefined;
436
436
  } | undefined;
437
437
  systemPrompt?: string | undefined;
438
438
  mcpServers?: Record<string, unknown> | undefined;
@@ -451,24 +451,24 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
451
451
  expression: string;
452
452
  } | undefined;
453
453
  target?: {
454
- type: "agent";
455
454
  agentId: string;
455
+ type: "agent";
456
456
  } | {
457
457
  type: "new-agent";
458
458
  config: {
459
- provider: string;
460
459
  cwd: string;
460
+ provider: string;
461
461
  title?: string | null | undefined;
462
462
  model?: string | undefined;
463
- thinkingOptionId?: string | undefined;
464
463
  modeId?: string | undefined;
464
+ thinkingOptionId?: string | undefined;
465
465
  approvalPolicy?: string | undefined;
466
466
  sandboxMode?: string | undefined;
467
467
  networkAccess?: boolean | undefined;
468
468
  webSearch?: boolean | undefined;
469
469
  extra?: {
470
- codex?: Record<string, unknown> | undefined;
471
470
  claude?: Record<string, unknown> | undefined;
471
+ codex?: Record<string, unknown> | undefined;
472
472
  } | undefined;
473
473
  systemPrompt?: string | undefined;
474
474
  mcpServers?: Record<string, unknown> | undefined;
@@ -487,24 +487,24 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
487
487
  expression: string;
488
488
  } | undefined;
489
489
  target?: {
490
- type: "agent";
491
490
  agentId: string;
491
+ type: "agent";
492
492
  } | {
493
493
  type: "new-agent";
494
494
  config: {
495
- provider: string;
496
495
  cwd: string;
496
+ provider: string;
497
497
  title?: string | null | undefined;
498
498
  model?: string | undefined;
499
- thinkingOptionId?: string | undefined;
500
499
  modeId?: string | undefined;
500
+ thinkingOptionId?: string | undefined;
501
501
  approvalPolicy?: string | undefined;
502
502
  sandboxMode?: string | undefined;
503
503
  networkAccess?: boolean | undefined;
504
504
  webSearch?: boolean | undefined;
505
505
  extra?: {
506
- codex?: Record<string, unknown> | undefined;
507
506
  claude?: Record<string, unknown> | undefined;
507
+ codex?: Record<string, unknown> | undefined;
508
508
  } | undefined;
509
509
  systemPrompt?: string | undefined;
510
510
  mcpServers?: Record<string, unknown> | undefined;
@@ -528,24 +528,24 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
528
528
  expression: string;
529
529
  } | undefined;
530
530
  target?: {
531
- type: "agent";
532
531
  agentId: string;
532
+ type: "agent";
533
533
  } | {
534
534
  type: "new-agent";
535
535
  config: {
536
- provider: string;
537
536
  cwd: string;
537
+ provider: string;
538
538
  title?: string | null | undefined;
539
539
  model?: string | undefined;
540
- thinkingOptionId?: string | undefined;
541
540
  modeId?: string | undefined;
541
+ thinkingOptionId?: string | undefined;
542
542
  approvalPolicy?: string | undefined;
543
543
  sandboxMode?: string | undefined;
544
544
  networkAccess?: boolean | undefined;
545
545
  webSearch?: boolean | undefined;
546
546
  extra?: {
547
- codex?: Record<string, unknown> | undefined;
548
547
  claude?: Record<string, unknown> | undefined;
548
+ codex?: Record<string, unknown> | undefined;
549
549
  } | undefined;
550
550
  systemPrompt?: string | undefined;
551
551
  mcpServers?: Record<string, unknown> | undefined;
@@ -569,24 +569,24 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
569
569
  expression: string;
570
570
  } | undefined;
571
571
  target?: {
572
- type: "agent";
573
572
  agentId: string;
573
+ type: "agent";
574
574
  } | {
575
575
  type: "new-agent";
576
576
  config: {
577
- provider: string;
578
577
  cwd: string;
578
+ provider: string;
579
579
  title?: string | null | undefined;
580
580
  model?: string | undefined;
581
- thinkingOptionId?: string | undefined;
582
581
  modeId?: string | undefined;
582
+ thinkingOptionId?: string | undefined;
583
583
  approvalPolicy?: string | undefined;
584
584
  sandboxMode?: string | undefined;
585
585
  networkAccess?: boolean | undefined;
586
586
  webSearch?: boolean | undefined;
587
587
  extra?: {
588
- codex?: Record<string, unknown> | undefined;
589
588
  claude?: Record<string, unknown> | undefined;
589
+ codex?: Record<string, unknown> | undefined;
590
590
  } | undefined;
591
591
  systemPrompt?: string | undefined;
592
592
  mcpServers?: Record<string, unknown> | undefined;
@@ -640,11 +640,11 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
640
640
  type: z.ZodLiteral<"agent">;
641
641
  agentId: z.ZodString;
642
642
  }, "strip", z.ZodTypeAny, {
643
- type: "agent";
644
643
  agentId: string;
645
- }, {
646
644
  type: "agent";
645
+ }, {
647
646
  agentId: string;
647
+ type: "agent";
648
648
  }>, z.ZodObject<{
649
649
  type: z.ZodLiteral<"new-agent">;
650
650
  config: z.ZodObject<{
@@ -662,45 +662,45 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
662
662
  codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
663
663
  claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
664
664
  }, "strip", z.ZodTypeAny, {
665
- codex?: Record<string, unknown> | undefined;
666
665
  claude?: Record<string, unknown> | undefined;
667
- }, {
668
666
  codex?: Record<string, unknown> | undefined;
667
+ }, {
669
668
  claude?: Record<string, unknown> | undefined;
669
+ codex?: Record<string, unknown> | undefined;
670
670
  }>>;
671
671
  systemPrompt: z.ZodOptional<z.ZodString>;
672
672
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
673
673
  }, "strip", z.ZodTypeAny, {
674
- provider: string;
675
674
  cwd: string;
675
+ provider: string;
676
676
  title?: string | null | undefined;
677
677
  model?: string | undefined;
678
- thinkingOptionId?: string | undefined;
679
678
  modeId?: string | undefined;
679
+ thinkingOptionId?: string | undefined;
680
680
  approvalPolicy?: string | undefined;
681
681
  sandboxMode?: string | undefined;
682
682
  networkAccess?: boolean | undefined;
683
683
  webSearch?: boolean | undefined;
684
684
  extra?: {
685
- codex?: Record<string, unknown> | undefined;
686
685
  claude?: Record<string, unknown> | undefined;
686
+ codex?: Record<string, unknown> | undefined;
687
687
  } | undefined;
688
688
  systemPrompt?: string | undefined;
689
689
  mcpServers?: Record<string, unknown> | undefined;
690
690
  }, {
691
- provider: string;
692
691
  cwd: string;
692
+ provider: string;
693
693
  title?: string | null | undefined;
694
694
  model?: string | undefined;
695
- thinkingOptionId?: string | undefined;
696
695
  modeId?: string | undefined;
696
+ thinkingOptionId?: string | undefined;
697
697
  approvalPolicy?: string | undefined;
698
698
  sandboxMode?: string | undefined;
699
699
  networkAccess?: boolean | undefined;
700
700
  webSearch?: boolean | undefined;
701
701
  extra?: {
702
- codex?: Record<string, unknown> | undefined;
703
702
  claude?: Record<string, unknown> | undefined;
703
+ codex?: Record<string, unknown> | undefined;
704
704
  } | undefined;
705
705
  systemPrompt?: string | undefined;
706
706
  mcpServers?: Record<string, unknown> | undefined;
@@ -708,19 +708,19 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
708
708
  }, "strip", z.ZodTypeAny, {
709
709
  type: "new-agent";
710
710
  config: {
711
- provider: string;
712
711
  cwd: string;
712
+ provider: string;
713
713
  title?: string | null | undefined;
714
714
  model?: string | undefined;
715
- thinkingOptionId?: string | undefined;
716
715
  modeId?: string | undefined;
716
+ thinkingOptionId?: string | undefined;
717
717
  approvalPolicy?: string | undefined;
718
718
  sandboxMode?: string | undefined;
719
719
  networkAccess?: boolean | undefined;
720
720
  webSearch?: boolean | undefined;
721
721
  extra?: {
722
- codex?: Record<string, unknown> | undefined;
723
722
  claude?: Record<string, unknown> | undefined;
723
+ codex?: Record<string, unknown> | undefined;
724
724
  } | undefined;
725
725
  systemPrompt?: string | undefined;
726
726
  mcpServers?: Record<string, unknown> | undefined;
@@ -728,19 +728,19 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
728
728
  }, {
729
729
  type: "new-agent";
730
730
  config: {
731
- provider: string;
732
731
  cwd: string;
732
+ provider: string;
733
733
  title?: string | null | undefined;
734
734
  model?: string | undefined;
735
- thinkingOptionId?: string | undefined;
736
735
  modeId?: string | undefined;
736
+ thinkingOptionId?: string | undefined;
737
737
  approvalPolicy?: string | undefined;
738
738
  sandboxMode?: string | undefined;
739
739
  networkAccess?: boolean | undefined;
740
740
  webSearch?: boolean | undefined;
741
741
  extra?: {
742
- codex?: Record<string, unknown> | undefined;
743
742
  claude?: Record<string, unknown> | undefined;
743
+ codex?: Record<string, unknown> | undefined;
744
744
  } | undefined;
745
745
  systemPrompt?: string | undefined;
746
746
  mcpServers?: Record<string, unknown> | undefined;
@@ -766,28 +766,28 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
766
766
  error: z.ZodNullable<z.ZodString>;
767
767
  }, "strip", z.ZodTypeAny, {
768
768
  error: string | null;
769
- output: string | null;
769
+ agentId: string | null;
770
770
  status: "running" | "failed" | "succeeded";
771
771
  id: string;
772
- agentId: string | null;
773
- scheduledFor: string;
774
772
  startedAt: string;
773
+ scheduledFor: string;
775
774
  endedAt: string | null;
775
+ output: string | null;
776
776
  trigger?: "manual" | "scheduled" | undefined;
777
777
  }, {
778
778
  error: string | null;
779
- output: string | null;
779
+ agentId: string | null;
780
780
  status: "running" | "failed" | "succeeded";
781
781
  id: string;
782
- agentId: string | null;
783
- scheduledFor: string;
784
782
  startedAt: string;
783
+ scheduledFor: string;
785
784
  endedAt: string | null;
785
+ output: string | null;
786
786
  trigger?: "manual" | "scheduled" | undefined;
787
787
  }>, "many">;
788
788
  }, "runs">, "strip", z.ZodTypeAny, {
789
789
  name: string | null;
790
- status: "active" | "paused" | "completed";
790
+ status: "completed" | "active" | "paused";
791
791
  id: string;
792
792
  createdAt: string;
793
793
  updatedAt: string;
@@ -800,24 +800,24 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
800
800
  expression: string;
801
801
  };
802
802
  target: {
803
- type: "agent";
804
803
  agentId: string;
804
+ type: "agent";
805
805
  } | {
806
806
  type: "new-agent";
807
807
  config: {
808
- provider: string;
809
808
  cwd: string;
809
+ provider: string;
810
810
  title?: string | null | undefined;
811
811
  model?: string | undefined;
812
- thinkingOptionId?: string | undefined;
813
812
  modeId?: string | undefined;
813
+ thinkingOptionId?: string | undefined;
814
814
  approvalPolicy?: string | undefined;
815
815
  sandboxMode?: string | undefined;
816
816
  networkAccess?: boolean | undefined;
817
817
  webSearch?: boolean | undefined;
818
818
  extra?: {
819
- codex?: Record<string, unknown> | undefined;
820
819
  claude?: Record<string, unknown> | undefined;
820
+ codex?: Record<string, unknown> | undefined;
821
821
  } | undefined;
822
822
  systemPrompt?: string | undefined;
823
823
  mcpServers?: Record<string, unknown> | undefined;
@@ -830,7 +830,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
830
830
  maxRuns: number | null;
831
831
  }, {
832
832
  name: string | null;
833
- status: "active" | "paused" | "completed";
833
+ status: "completed" | "active" | "paused";
834
834
  id: string;
835
835
  createdAt: string;
836
836
  updatedAt: string;
@@ -843,24 +843,24 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
843
843
  expression: string;
844
844
  };
845
845
  target: {
846
- type: "agent";
847
846
  agentId: string;
847
+ type: "agent";
848
848
  } | {
849
849
  type: "new-agent";
850
850
  config: {
851
- provider: string;
852
851
  cwd: string;
852
+ provider: string;
853
853
  title?: string | null | undefined;
854
854
  model?: string | undefined;
855
- thinkingOptionId?: string | undefined;
856
855
  modeId?: string | undefined;
856
+ thinkingOptionId?: string | undefined;
857
857
  approvalPolicy?: string | undefined;
858
858
  sandboxMode?: string | undefined;
859
859
  networkAccess?: boolean | undefined;
860
860
  webSearch?: boolean | undefined;
861
861
  extra?: {
862
- codex?: Record<string, unknown> | undefined;
863
862
  claude?: Record<string, unknown> | undefined;
863
+ codex?: Record<string, unknown> | undefined;
864
864
  } | undefined;
865
865
  systemPrompt?: string | undefined;
866
866
  mcpServers?: Record<string, unknown> | undefined;
@@ -878,7 +878,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
878
878
  requestId: string;
879
879
  schedule: {
880
880
  name: string | null;
881
- status: "active" | "paused" | "completed";
881
+ status: "completed" | "active" | "paused";
882
882
  id: string;
883
883
  createdAt: string;
884
884
  updatedAt: string;
@@ -891,24 +891,24 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
891
891
  expression: string;
892
892
  };
893
893
  target: {
894
- type: "agent";
895
894
  agentId: string;
895
+ type: "agent";
896
896
  } | {
897
897
  type: "new-agent";
898
898
  config: {
899
- provider: string;
900
899
  cwd: string;
900
+ provider: string;
901
901
  title?: string | null | undefined;
902
902
  model?: string | undefined;
903
- thinkingOptionId?: string | undefined;
904
903
  modeId?: string | undefined;
904
+ thinkingOptionId?: string | undefined;
905
905
  approvalPolicy?: string | undefined;
906
906
  sandboxMode?: string | undefined;
907
907
  networkAccess?: boolean | undefined;
908
908
  webSearch?: boolean | undefined;
909
909
  extra?: {
910
- codex?: Record<string, unknown> | undefined;
911
910
  claude?: Record<string, unknown> | undefined;
911
+ codex?: Record<string, unknown> | undefined;
912
912
  } | undefined;
913
913
  systemPrompt?: string | undefined;
914
914
  mcpServers?: Record<string, unknown> | undefined;
@@ -925,7 +925,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
925
925
  requestId: string;
926
926
  schedule: {
927
927
  name: string | null;
928
- status: "active" | "paused" | "completed";
928
+ status: "completed" | "active" | "paused";
929
929
  id: string;
930
930
  createdAt: string;
931
931
  updatedAt: string;
@@ -938,24 +938,24 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
938
938
  expression: string;
939
939
  };
940
940
  target: {
941
- type: "agent";
942
941
  agentId: string;
942
+ type: "agent";
943
943
  } | {
944
944
  type: "new-agent";
945
945
  config: {
946
- provider: string;
947
946
  cwd: string;
947
+ provider: string;
948
948
  title?: string | null | undefined;
949
949
  model?: string | undefined;
950
- thinkingOptionId?: string | undefined;
951
950
  modeId?: string | undefined;
951
+ thinkingOptionId?: string | undefined;
952
952
  approvalPolicy?: string | undefined;
953
953
  sandboxMode?: string | undefined;
954
954
  networkAccess?: boolean | undefined;
955
955
  webSearch?: boolean | undefined;
956
956
  extra?: {
957
- codex?: Record<string, unknown> | undefined;
958
957
  claude?: Record<string, unknown> | undefined;
958
+ codex?: Record<string, unknown> | undefined;
959
959
  } | undefined;
960
960
  systemPrompt?: string | undefined;
961
961
  mcpServers?: Record<string, unknown> | undefined;
@@ -975,7 +975,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
975
975
  requestId: string;
976
976
  schedule: {
977
977
  name: string | null;
978
- status: "active" | "paused" | "completed";
978
+ status: "completed" | "active" | "paused";
979
979
  id: string;
980
980
  createdAt: string;
981
981
  updatedAt: string;
@@ -988,24 +988,24 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
988
988
  expression: string;
989
989
  };
990
990
  target: {
991
- type: "agent";
992
991
  agentId: string;
992
+ type: "agent";
993
993
  } | {
994
994
  type: "new-agent";
995
995
  config: {
996
- provider: string;
997
996
  cwd: string;
997
+ provider: string;
998
998
  title?: string | null | undefined;
999
999
  model?: string | undefined;
1000
- thinkingOptionId?: string | undefined;
1001
1000
  modeId?: string | undefined;
1001
+ thinkingOptionId?: string | undefined;
1002
1002
  approvalPolicy?: string | undefined;
1003
1003
  sandboxMode?: string | undefined;
1004
1004
  networkAccess?: boolean | undefined;
1005
1005
  webSearch?: boolean | undefined;
1006
1006
  extra?: {
1007
- codex?: Record<string, unknown> | undefined;
1008
1007
  claude?: Record<string, unknown> | undefined;
1008
+ codex?: Record<string, unknown> | undefined;
1009
1009
  } | undefined;
1010
1010
  systemPrompt?: string | undefined;
1011
1011
  mcpServers?: Record<string, unknown> | undefined;
@@ -1025,7 +1025,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
1025
1025
  requestId: string;
1026
1026
  schedule: {
1027
1027
  name: string | null;
1028
- status: "active" | "paused" | "completed";
1028
+ status: "completed" | "active" | "paused";
1029
1029
  id: string;
1030
1030
  createdAt: string;
1031
1031
  updatedAt: string;
@@ -1038,24 +1038,24 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
1038
1038
  expression: string;
1039
1039
  };
1040
1040
  target: {
1041
- type: "agent";
1042
1041
  agentId: string;
1042
+ type: "agent";
1043
1043
  } | {
1044
1044
  type: "new-agent";
1045
1045
  config: {
1046
- provider: string;
1047
1046
  cwd: string;
1047
+ provider: string;
1048
1048
  title?: string | null | undefined;
1049
1049
  model?: string | undefined;
1050
- thinkingOptionId?: string | undefined;
1051
1050
  modeId?: string | undefined;
1051
+ thinkingOptionId?: string | undefined;
1052
1052
  approvalPolicy?: string | undefined;
1053
1053
  sandboxMode?: string | undefined;
1054
1054
  networkAccess?: boolean | undefined;
1055
1055
  webSearch?: boolean | undefined;
1056
1056
  extra?: {
1057
- codex?: Record<string, unknown> | undefined;
1058
1057
  claude?: Record<string, unknown> | undefined;
1058
+ codex?: Record<string, unknown> | undefined;
1059
1059
  } | undefined;
1060
1060
  systemPrompt?: string | undefined;
1061
1061
  mcpServers?: Record<string, unknown> | undefined;
@@ -1100,11 +1100,11 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1100
1100
  type: z.ZodLiteral<"agent">;
1101
1101
  agentId: z.ZodString;
1102
1102
  }, "strip", z.ZodTypeAny, {
1103
- type: "agent";
1104
1103
  agentId: string;
1105
- }, {
1106
1104
  type: "agent";
1105
+ }, {
1107
1106
  agentId: string;
1107
+ type: "agent";
1108
1108
  }>, z.ZodObject<{
1109
1109
  type: z.ZodLiteral<"new-agent">;
1110
1110
  config: z.ZodObject<{
@@ -1122,45 +1122,45 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1122
1122
  codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1123
1123
  claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1124
1124
  }, "strip", z.ZodTypeAny, {
1125
- codex?: Record<string, unknown> | undefined;
1126
1125
  claude?: Record<string, unknown> | undefined;
1127
- }, {
1128
1126
  codex?: Record<string, unknown> | undefined;
1127
+ }, {
1129
1128
  claude?: Record<string, unknown> | undefined;
1129
+ codex?: Record<string, unknown> | undefined;
1130
1130
  }>>;
1131
1131
  systemPrompt: z.ZodOptional<z.ZodString>;
1132
1132
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1133
1133
  }, "strip", z.ZodTypeAny, {
1134
- provider: string;
1135
1134
  cwd: string;
1135
+ provider: string;
1136
1136
  title?: string | null | undefined;
1137
1137
  model?: string | undefined;
1138
- thinkingOptionId?: string | undefined;
1139
1138
  modeId?: string | undefined;
1139
+ thinkingOptionId?: string | undefined;
1140
1140
  approvalPolicy?: string | undefined;
1141
1141
  sandboxMode?: string | undefined;
1142
1142
  networkAccess?: boolean | undefined;
1143
1143
  webSearch?: boolean | undefined;
1144
1144
  extra?: {
1145
- codex?: Record<string, unknown> | undefined;
1146
1145
  claude?: Record<string, unknown> | undefined;
1146
+ codex?: Record<string, unknown> | undefined;
1147
1147
  } | undefined;
1148
1148
  systemPrompt?: string | undefined;
1149
1149
  mcpServers?: Record<string, unknown> | undefined;
1150
1150
  }, {
1151
- provider: string;
1152
1151
  cwd: string;
1152
+ provider: string;
1153
1153
  title?: string | null | undefined;
1154
1154
  model?: string | undefined;
1155
- thinkingOptionId?: string | undefined;
1156
1155
  modeId?: string | undefined;
1156
+ thinkingOptionId?: string | undefined;
1157
1157
  approvalPolicy?: string | undefined;
1158
1158
  sandboxMode?: string | undefined;
1159
1159
  networkAccess?: boolean | undefined;
1160
1160
  webSearch?: boolean | undefined;
1161
1161
  extra?: {
1162
- codex?: Record<string, unknown> | undefined;
1163
1162
  claude?: Record<string, unknown> | undefined;
1163
+ codex?: Record<string, unknown> | undefined;
1164
1164
  } | undefined;
1165
1165
  systemPrompt?: string | undefined;
1166
1166
  mcpServers?: Record<string, unknown> | undefined;
@@ -1168,19 +1168,19 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1168
1168
  }, "strip", z.ZodTypeAny, {
1169
1169
  type: "new-agent";
1170
1170
  config: {
1171
- provider: string;
1172
1171
  cwd: string;
1172
+ provider: string;
1173
1173
  title?: string | null | undefined;
1174
1174
  model?: string | undefined;
1175
- thinkingOptionId?: string | undefined;
1176
1175
  modeId?: string | undefined;
1176
+ thinkingOptionId?: string | undefined;
1177
1177
  approvalPolicy?: string | undefined;
1178
1178
  sandboxMode?: string | undefined;
1179
1179
  networkAccess?: boolean | undefined;
1180
1180
  webSearch?: boolean | undefined;
1181
1181
  extra?: {
1182
- codex?: Record<string, unknown> | undefined;
1183
1182
  claude?: Record<string, unknown> | undefined;
1183
+ codex?: Record<string, unknown> | undefined;
1184
1184
  } | undefined;
1185
1185
  systemPrompt?: string | undefined;
1186
1186
  mcpServers?: Record<string, unknown> | undefined;
@@ -1188,19 +1188,19 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1188
1188
  }, {
1189
1189
  type: "new-agent";
1190
1190
  config: {
1191
- provider: string;
1192
1191
  cwd: string;
1192
+ provider: string;
1193
1193
  title?: string | null | undefined;
1194
1194
  model?: string | undefined;
1195
- thinkingOptionId?: string | undefined;
1196
1195
  modeId?: string | undefined;
1196
+ thinkingOptionId?: string | undefined;
1197
1197
  approvalPolicy?: string | undefined;
1198
1198
  sandboxMode?: string | undefined;
1199
1199
  networkAccess?: boolean | undefined;
1200
1200
  webSearch?: boolean | undefined;
1201
1201
  extra?: {
1202
- codex?: Record<string, unknown> | undefined;
1203
1202
  claude?: Record<string, unknown> | undefined;
1203
+ codex?: Record<string, unknown> | undefined;
1204
1204
  } | undefined;
1205
1205
  systemPrompt?: string | undefined;
1206
1206
  mcpServers?: Record<string, unknown> | undefined;
@@ -1226,28 +1226,28 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1226
1226
  error: z.ZodNullable<z.ZodString>;
1227
1227
  }, "strip", z.ZodTypeAny, {
1228
1228
  error: string | null;
1229
- output: string | null;
1229
+ agentId: string | null;
1230
1230
  status: "running" | "failed" | "succeeded";
1231
1231
  id: string;
1232
- agentId: string | null;
1233
- scheduledFor: string;
1234
1232
  startedAt: string;
1233
+ scheduledFor: string;
1235
1234
  endedAt: string | null;
1235
+ output: string | null;
1236
1236
  trigger?: "manual" | "scheduled" | undefined;
1237
1237
  }, {
1238
1238
  error: string | null;
1239
- output: string | null;
1239
+ agentId: string | null;
1240
1240
  status: "running" | "failed" | "succeeded";
1241
1241
  id: string;
1242
- agentId: string | null;
1243
- scheduledFor: string;
1244
1242
  startedAt: string;
1243
+ scheduledFor: string;
1245
1244
  endedAt: string | null;
1245
+ output: string | null;
1246
1246
  trigger?: "manual" | "scheduled" | undefined;
1247
1247
  }>, "many">;
1248
1248
  }, "runs">, "strip", z.ZodTypeAny, {
1249
1249
  name: string | null;
1250
- status: "active" | "paused" | "completed";
1250
+ status: "completed" | "active" | "paused";
1251
1251
  id: string;
1252
1252
  createdAt: string;
1253
1253
  updatedAt: string;
@@ -1260,24 +1260,24 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1260
1260
  expression: string;
1261
1261
  };
1262
1262
  target: {
1263
- type: "agent";
1264
1263
  agentId: string;
1264
+ type: "agent";
1265
1265
  } | {
1266
1266
  type: "new-agent";
1267
1267
  config: {
1268
- provider: string;
1269
1268
  cwd: string;
1269
+ provider: string;
1270
1270
  title?: string | null | undefined;
1271
1271
  model?: string | undefined;
1272
- thinkingOptionId?: string | undefined;
1273
1272
  modeId?: string | undefined;
1273
+ thinkingOptionId?: string | undefined;
1274
1274
  approvalPolicy?: string | undefined;
1275
1275
  sandboxMode?: string | undefined;
1276
1276
  networkAccess?: boolean | undefined;
1277
1277
  webSearch?: boolean | undefined;
1278
1278
  extra?: {
1279
- codex?: Record<string, unknown> | undefined;
1280
1279
  claude?: Record<string, unknown> | undefined;
1280
+ codex?: Record<string, unknown> | undefined;
1281
1281
  } | undefined;
1282
1282
  systemPrompt?: string | undefined;
1283
1283
  mcpServers?: Record<string, unknown> | undefined;
@@ -1290,7 +1290,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1290
1290
  maxRuns: number | null;
1291
1291
  }, {
1292
1292
  name: string | null;
1293
- status: "active" | "paused" | "completed";
1293
+ status: "completed" | "active" | "paused";
1294
1294
  id: string;
1295
1295
  createdAt: string;
1296
1296
  updatedAt: string;
@@ -1303,24 +1303,24 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1303
1303
  expression: string;
1304
1304
  };
1305
1305
  target: {
1306
- type: "agent";
1307
1306
  agentId: string;
1307
+ type: "agent";
1308
1308
  } | {
1309
1309
  type: "new-agent";
1310
1310
  config: {
1311
- provider: string;
1312
1311
  cwd: string;
1312
+ provider: string;
1313
1313
  title?: string | null | undefined;
1314
1314
  model?: string | undefined;
1315
- thinkingOptionId?: string | undefined;
1316
1315
  modeId?: string | undefined;
1316
+ thinkingOptionId?: string | undefined;
1317
1317
  approvalPolicy?: string | undefined;
1318
1318
  sandboxMode?: string | undefined;
1319
1319
  networkAccess?: boolean | undefined;
1320
1320
  webSearch?: boolean | undefined;
1321
1321
  extra?: {
1322
- codex?: Record<string, unknown> | undefined;
1323
1322
  claude?: Record<string, unknown> | undefined;
1323
+ codex?: Record<string, unknown> | undefined;
1324
1324
  } | undefined;
1325
1325
  systemPrompt?: string | undefined;
1326
1326
  mcpServers?: Record<string, unknown> | undefined;
@@ -1338,7 +1338,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1338
1338
  requestId: string;
1339
1339
  schedules: {
1340
1340
  name: string | null;
1341
- status: "active" | "paused" | "completed";
1341
+ status: "completed" | "active" | "paused";
1342
1342
  id: string;
1343
1343
  createdAt: string;
1344
1344
  updatedAt: string;
@@ -1351,24 +1351,24 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1351
1351
  expression: string;
1352
1352
  };
1353
1353
  target: {
1354
- type: "agent";
1355
1354
  agentId: string;
1355
+ type: "agent";
1356
1356
  } | {
1357
1357
  type: "new-agent";
1358
1358
  config: {
1359
- provider: string;
1360
1359
  cwd: string;
1360
+ provider: string;
1361
1361
  title?: string | null | undefined;
1362
1362
  model?: string | undefined;
1363
- thinkingOptionId?: string | undefined;
1364
1363
  modeId?: string | undefined;
1364
+ thinkingOptionId?: string | undefined;
1365
1365
  approvalPolicy?: string | undefined;
1366
1366
  sandboxMode?: string | undefined;
1367
1367
  networkAccess?: boolean | undefined;
1368
1368
  webSearch?: boolean | undefined;
1369
1369
  extra?: {
1370
- codex?: Record<string, unknown> | undefined;
1371
1370
  claude?: Record<string, unknown> | undefined;
1371
+ codex?: Record<string, unknown> | undefined;
1372
1372
  } | undefined;
1373
1373
  systemPrompt?: string | undefined;
1374
1374
  mcpServers?: Record<string, unknown> | undefined;
@@ -1385,7 +1385,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1385
1385
  requestId: string;
1386
1386
  schedules: {
1387
1387
  name: string | null;
1388
- status: "active" | "paused" | "completed";
1388
+ status: "completed" | "active" | "paused";
1389
1389
  id: string;
1390
1390
  createdAt: string;
1391
1391
  updatedAt: string;
@@ -1398,24 +1398,24 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1398
1398
  expression: string;
1399
1399
  };
1400
1400
  target: {
1401
- type: "agent";
1402
1401
  agentId: string;
1402
+ type: "agent";
1403
1403
  } | {
1404
1404
  type: "new-agent";
1405
1405
  config: {
1406
- provider: string;
1407
1406
  cwd: string;
1407
+ provider: string;
1408
1408
  title?: string | null | undefined;
1409
1409
  model?: string | undefined;
1410
- thinkingOptionId?: string | undefined;
1411
1410
  modeId?: string | undefined;
1411
+ thinkingOptionId?: string | undefined;
1412
1412
  approvalPolicy?: string | undefined;
1413
1413
  sandboxMode?: string | undefined;
1414
1414
  networkAccess?: boolean | undefined;
1415
1415
  webSearch?: boolean | undefined;
1416
1416
  extra?: {
1417
- codex?: Record<string, unknown> | undefined;
1418
1417
  claude?: Record<string, unknown> | undefined;
1418
+ codex?: Record<string, unknown> | undefined;
1419
1419
  } | undefined;
1420
1420
  systemPrompt?: string | undefined;
1421
1421
  mcpServers?: Record<string, unknown> | undefined;
@@ -1435,7 +1435,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1435
1435
  requestId: string;
1436
1436
  schedules: {
1437
1437
  name: string | null;
1438
- status: "active" | "paused" | "completed";
1438
+ status: "completed" | "active" | "paused";
1439
1439
  id: string;
1440
1440
  createdAt: string;
1441
1441
  updatedAt: string;
@@ -1448,24 +1448,24 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1448
1448
  expression: string;
1449
1449
  };
1450
1450
  target: {
1451
- type: "agent";
1452
1451
  agentId: string;
1452
+ type: "agent";
1453
1453
  } | {
1454
1454
  type: "new-agent";
1455
1455
  config: {
1456
- provider: string;
1457
1456
  cwd: string;
1457
+ provider: string;
1458
1458
  title?: string | null | undefined;
1459
1459
  model?: string | undefined;
1460
- thinkingOptionId?: string | undefined;
1461
1460
  modeId?: string | undefined;
1461
+ thinkingOptionId?: string | undefined;
1462
1462
  approvalPolicy?: string | undefined;
1463
1463
  sandboxMode?: string | undefined;
1464
1464
  networkAccess?: boolean | undefined;
1465
1465
  webSearch?: boolean | undefined;
1466
1466
  extra?: {
1467
- codex?: Record<string, unknown> | undefined;
1468
1467
  claude?: Record<string, unknown> | undefined;
1468
+ codex?: Record<string, unknown> | undefined;
1469
1469
  } | undefined;
1470
1470
  systemPrompt?: string | undefined;
1471
1471
  mcpServers?: Record<string, unknown> | undefined;
@@ -1485,7 +1485,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1485
1485
  requestId: string;
1486
1486
  schedules: {
1487
1487
  name: string | null;
1488
- status: "active" | "paused" | "completed";
1488
+ status: "completed" | "active" | "paused";
1489
1489
  id: string;
1490
1490
  createdAt: string;
1491
1491
  updatedAt: string;
@@ -1498,24 +1498,24 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1498
1498
  expression: string;
1499
1499
  };
1500
1500
  target: {
1501
- type: "agent";
1502
1501
  agentId: string;
1502
+ type: "agent";
1503
1503
  } | {
1504
1504
  type: "new-agent";
1505
1505
  config: {
1506
- provider: string;
1507
1506
  cwd: string;
1507
+ provider: string;
1508
1508
  title?: string | null | undefined;
1509
1509
  model?: string | undefined;
1510
- thinkingOptionId?: string | undefined;
1511
1510
  modeId?: string | undefined;
1511
+ thinkingOptionId?: string | undefined;
1512
1512
  approvalPolicy?: string | undefined;
1513
1513
  sandboxMode?: string | undefined;
1514
1514
  networkAccess?: boolean | undefined;
1515
1515
  webSearch?: boolean | undefined;
1516
1516
  extra?: {
1517
- codex?: Record<string, unknown> | undefined;
1518
1517
  claude?: Record<string, unknown> | undefined;
1518
+ codex?: Record<string, unknown> | undefined;
1519
1519
  } | undefined;
1520
1520
  systemPrompt?: string | undefined;
1521
1521
  mcpServers?: Record<string, unknown> | undefined;
@@ -1560,11 +1560,11 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1560
1560
  type: z.ZodLiteral<"agent">;
1561
1561
  agentId: z.ZodString;
1562
1562
  }, "strip", z.ZodTypeAny, {
1563
- type: "agent";
1564
1563
  agentId: string;
1565
- }, {
1566
1564
  type: "agent";
1565
+ }, {
1567
1566
  agentId: string;
1567
+ type: "agent";
1568
1568
  }>, z.ZodObject<{
1569
1569
  type: z.ZodLiteral<"new-agent">;
1570
1570
  config: z.ZodObject<{
@@ -1582,45 +1582,45 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1582
1582
  codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1583
1583
  claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1584
1584
  }, "strip", z.ZodTypeAny, {
1585
- codex?: Record<string, unknown> | undefined;
1586
1585
  claude?: Record<string, unknown> | undefined;
1587
- }, {
1588
1586
  codex?: Record<string, unknown> | undefined;
1587
+ }, {
1589
1588
  claude?: Record<string, unknown> | undefined;
1589
+ codex?: Record<string, unknown> | undefined;
1590
1590
  }>>;
1591
1591
  systemPrompt: z.ZodOptional<z.ZodString>;
1592
1592
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1593
1593
  }, "strip", z.ZodTypeAny, {
1594
- provider: string;
1595
1594
  cwd: string;
1595
+ provider: string;
1596
1596
  title?: string | null | undefined;
1597
1597
  model?: string | undefined;
1598
- thinkingOptionId?: string | undefined;
1599
1598
  modeId?: string | undefined;
1599
+ thinkingOptionId?: string | undefined;
1600
1600
  approvalPolicy?: string | undefined;
1601
1601
  sandboxMode?: string | undefined;
1602
1602
  networkAccess?: boolean | undefined;
1603
1603
  webSearch?: boolean | undefined;
1604
1604
  extra?: {
1605
- codex?: Record<string, unknown> | undefined;
1606
1605
  claude?: Record<string, unknown> | undefined;
1606
+ codex?: Record<string, unknown> | undefined;
1607
1607
  } | undefined;
1608
1608
  systemPrompt?: string | undefined;
1609
1609
  mcpServers?: Record<string, unknown> | undefined;
1610
1610
  }, {
1611
- provider: string;
1612
1611
  cwd: string;
1612
+ provider: string;
1613
1613
  title?: string | null | undefined;
1614
1614
  model?: string | undefined;
1615
- thinkingOptionId?: string | undefined;
1616
1615
  modeId?: string | undefined;
1616
+ thinkingOptionId?: string | undefined;
1617
1617
  approvalPolicy?: string | undefined;
1618
1618
  sandboxMode?: string | undefined;
1619
1619
  networkAccess?: boolean | undefined;
1620
1620
  webSearch?: boolean | undefined;
1621
1621
  extra?: {
1622
- codex?: Record<string, unknown> | undefined;
1623
1622
  claude?: Record<string, unknown> | undefined;
1623
+ codex?: Record<string, unknown> | undefined;
1624
1624
  } | undefined;
1625
1625
  systemPrompt?: string | undefined;
1626
1626
  mcpServers?: Record<string, unknown> | undefined;
@@ -1628,19 +1628,19 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1628
1628
  }, "strip", z.ZodTypeAny, {
1629
1629
  type: "new-agent";
1630
1630
  config: {
1631
- provider: string;
1632
1631
  cwd: string;
1632
+ provider: string;
1633
1633
  title?: string | null | undefined;
1634
1634
  model?: string | undefined;
1635
- thinkingOptionId?: string | undefined;
1636
1635
  modeId?: string | undefined;
1636
+ thinkingOptionId?: string | undefined;
1637
1637
  approvalPolicy?: string | undefined;
1638
1638
  sandboxMode?: string | undefined;
1639
1639
  networkAccess?: boolean | undefined;
1640
1640
  webSearch?: boolean | undefined;
1641
1641
  extra?: {
1642
- codex?: Record<string, unknown> | undefined;
1643
1642
  claude?: Record<string, unknown> | undefined;
1643
+ codex?: Record<string, unknown> | undefined;
1644
1644
  } | undefined;
1645
1645
  systemPrompt?: string | undefined;
1646
1646
  mcpServers?: Record<string, unknown> | undefined;
@@ -1648,19 +1648,19 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1648
1648
  }, {
1649
1649
  type: "new-agent";
1650
1650
  config: {
1651
- provider: string;
1652
1651
  cwd: string;
1652
+ provider: string;
1653
1653
  title?: string | null | undefined;
1654
1654
  model?: string | undefined;
1655
- thinkingOptionId?: string | undefined;
1656
1655
  modeId?: string | undefined;
1656
+ thinkingOptionId?: string | undefined;
1657
1657
  approvalPolicy?: string | undefined;
1658
1658
  sandboxMode?: string | undefined;
1659
1659
  networkAccess?: boolean | undefined;
1660
1660
  webSearch?: boolean | undefined;
1661
1661
  extra?: {
1662
- codex?: Record<string, unknown> | undefined;
1663
1662
  claude?: Record<string, unknown> | undefined;
1663
+ codex?: Record<string, unknown> | undefined;
1664
1664
  } | undefined;
1665
1665
  systemPrompt?: string | undefined;
1666
1666
  mcpServers?: Record<string, unknown> | undefined;
@@ -1686,28 +1686,28 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1686
1686
  error: z.ZodNullable<z.ZodString>;
1687
1687
  }, "strip", z.ZodTypeAny, {
1688
1688
  error: string | null;
1689
- output: string | null;
1689
+ agentId: string | null;
1690
1690
  status: "running" | "failed" | "succeeded";
1691
1691
  id: string;
1692
- agentId: string | null;
1693
- scheduledFor: string;
1694
1692
  startedAt: string;
1693
+ scheduledFor: string;
1695
1694
  endedAt: string | null;
1695
+ output: string | null;
1696
1696
  trigger?: "manual" | "scheduled" | undefined;
1697
1697
  }, {
1698
1698
  error: string | null;
1699
- output: string | null;
1699
+ agentId: string | null;
1700
1700
  status: "running" | "failed" | "succeeded";
1701
1701
  id: string;
1702
- agentId: string | null;
1703
- scheduledFor: string;
1704
1702
  startedAt: string;
1703
+ scheduledFor: string;
1705
1704
  endedAt: string | null;
1705
+ output: string | null;
1706
1706
  trigger?: "manual" | "scheduled" | undefined;
1707
1707
  }>, "many">;
1708
1708
  }, "strip", z.ZodTypeAny, {
1709
1709
  name: string | null;
1710
- status: "active" | "paused" | "completed";
1710
+ status: "completed" | "active" | "paused";
1711
1711
  id: string;
1712
1712
  createdAt: string;
1713
1713
  updatedAt: string;
@@ -1720,24 +1720,24 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1720
1720
  expression: string;
1721
1721
  };
1722
1722
  target: {
1723
- type: "agent";
1724
1723
  agentId: string;
1724
+ type: "agent";
1725
1725
  } | {
1726
1726
  type: "new-agent";
1727
1727
  config: {
1728
- provider: string;
1729
1728
  cwd: string;
1729
+ provider: string;
1730
1730
  title?: string | null | undefined;
1731
1731
  model?: string | undefined;
1732
- thinkingOptionId?: string | undefined;
1733
1732
  modeId?: string | undefined;
1733
+ thinkingOptionId?: string | undefined;
1734
1734
  approvalPolicy?: string | undefined;
1735
1735
  sandboxMode?: string | undefined;
1736
1736
  networkAccess?: boolean | undefined;
1737
1737
  webSearch?: boolean | undefined;
1738
1738
  extra?: {
1739
- codex?: Record<string, unknown> | undefined;
1740
1739
  claude?: Record<string, unknown> | undefined;
1740
+ codex?: Record<string, unknown> | undefined;
1741
1741
  } | undefined;
1742
1742
  systemPrompt?: string | undefined;
1743
1743
  mcpServers?: Record<string, unknown> | undefined;
@@ -1750,18 +1750,18 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1750
1750
  maxRuns: number | null;
1751
1751
  runs: {
1752
1752
  error: string | null;
1753
- output: string | null;
1753
+ agentId: string | null;
1754
1754
  status: "running" | "failed" | "succeeded";
1755
1755
  id: string;
1756
- agentId: string | null;
1757
- scheduledFor: string;
1758
1756
  startedAt: string;
1757
+ scheduledFor: string;
1759
1758
  endedAt: string | null;
1759
+ output: string | null;
1760
1760
  trigger?: "manual" | "scheduled" | undefined;
1761
1761
  }[];
1762
1762
  }, {
1763
1763
  name: string | null;
1764
- status: "active" | "paused" | "completed";
1764
+ status: "completed" | "active" | "paused";
1765
1765
  id: string;
1766
1766
  createdAt: string;
1767
1767
  updatedAt: string;
@@ -1774,24 +1774,24 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1774
1774
  expression: string;
1775
1775
  };
1776
1776
  target: {
1777
- type: "agent";
1778
1777
  agentId: string;
1778
+ type: "agent";
1779
1779
  } | {
1780
1780
  type: "new-agent";
1781
1781
  config: {
1782
- provider: string;
1783
1782
  cwd: string;
1783
+ provider: string;
1784
1784
  title?: string | null | undefined;
1785
1785
  model?: string | undefined;
1786
- thinkingOptionId?: string | undefined;
1787
1786
  modeId?: string | undefined;
1787
+ thinkingOptionId?: string | undefined;
1788
1788
  approvalPolicy?: string | undefined;
1789
1789
  sandboxMode?: string | undefined;
1790
1790
  networkAccess?: boolean | undefined;
1791
1791
  webSearch?: boolean | undefined;
1792
1792
  extra?: {
1793
- codex?: Record<string, unknown> | undefined;
1794
1793
  claude?: Record<string, unknown> | undefined;
1794
+ codex?: Record<string, unknown> | undefined;
1795
1795
  } | undefined;
1796
1796
  systemPrompt?: string | undefined;
1797
1797
  mcpServers?: Record<string, unknown> | undefined;
@@ -1804,13 +1804,13 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1804
1804
  maxRuns: number | null;
1805
1805
  runs: {
1806
1806
  error: string | null;
1807
- output: string | null;
1807
+ agentId: string | null;
1808
1808
  status: "running" | "failed" | "succeeded";
1809
1809
  id: string;
1810
- agentId: string | null;
1811
- scheduledFor: string;
1812
1810
  startedAt: string;
1811
+ scheduledFor: string;
1813
1812
  endedAt: string | null;
1813
+ output: string | null;
1814
1814
  trigger?: "manual" | "scheduled" | undefined;
1815
1815
  }[];
1816
1816
  }>>;
@@ -1820,7 +1820,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1820
1820
  requestId: string;
1821
1821
  schedule: {
1822
1822
  name: string | null;
1823
- status: "active" | "paused" | "completed";
1823
+ status: "completed" | "active" | "paused";
1824
1824
  id: string;
1825
1825
  createdAt: string;
1826
1826
  updatedAt: string;
@@ -1833,24 +1833,24 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1833
1833
  expression: string;
1834
1834
  };
1835
1835
  target: {
1836
- type: "agent";
1837
1836
  agentId: string;
1837
+ type: "agent";
1838
1838
  } | {
1839
1839
  type: "new-agent";
1840
1840
  config: {
1841
- provider: string;
1842
1841
  cwd: string;
1842
+ provider: string;
1843
1843
  title?: string | null | undefined;
1844
1844
  model?: string | undefined;
1845
- thinkingOptionId?: string | undefined;
1846
1845
  modeId?: string | undefined;
1846
+ thinkingOptionId?: string | undefined;
1847
1847
  approvalPolicy?: string | undefined;
1848
1848
  sandboxMode?: string | undefined;
1849
1849
  networkAccess?: boolean | undefined;
1850
1850
  webSearch?: boolean | undefined;
1851
1851
  extra?: {
1852
- codex?: Record<string, unknown> | undefined;
1853
1852
  claude?: Record<string, unknown> | undefined;
1853
+ codex?: Record<string, unknown> | undefined;
1854
1854
  } | undefined;
1855
1855
  systemPrompt?: string | undefined;
1856
1856
  mcpServers?: Record<string, unknown> | undefined;
@@ -1863,13 +1863,13 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1863
1863
  maxRuns: number | null;
1864
1864
  runs: {
1865
1865
  error: string | null;
1866
- output: string | null;
1866
+ agentId: string | null;
1867
1867
  status: "running" | "failed" | "succeeded";
1868
1868
  id: string;
1869
- agentId: string | null;
1870
- scheduledFor: string;
1871
1869
  startedAt: string;
1870
+ scheduledFor: string;
1872
1871
  endedAt: string | null;
1872
+ output: string | null;
1873
1873
  trigger?: "manual" | "scheduled" | undefined;
1874
1874
  }[];
1875
1875
  } | null;
@@ -1878,7 +1878,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1878
1878
  requestId: string;
1879
1879
  schedule: {
1880
1880
  name: string | null;
1881
- status: "active" | "paused" | "completed";
1881
+ status: "completed" | "active" | "paused";
1882
1882
  id: string;
1883
1883
  createdAt: string;
1884
1884
  updatedAt: string;
@@ -1891,24 +1891,24 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1891
1891
  expression: string;
1892
1892
  };
1893
1893
  target: {
1894
- type: "agent";
1895
1894
  agentId: string;
1895
+ type: "agent";
1896
1896
  } | {
1897
1897
  type: "new-agent";
1898
1898
  config: {
1899
- provider: string;
1900
1899
  cwd: string;
1900
+ provider: string;
1901
1901
  title?: string | null | undefined;
1902
1902
  model?: string | undefined;
1903
- thinkingOptionId?: string | undefined;
1904
1903
  modeId?: string | undefined;
1904
+ thinkingOptionId?: string | undefined;
1905
1905
  approvalPolicy?: string | undefined;
1906
1906
  sandboxMode?: string | undefined;
1907
1907
  networkAccess?: boolean | undefined;
1908
1908
  webSearch?: boolean | undefined;
1909
1909
  extra?: {
1910
- codex?: Record<string, unknown> | undefined;
1911
1910
  claude?: Record<string, unknown> | undefined;
1911
+ codex?: Record<string, unknown> | undefined;
1912
1912
  } | undefined;
1913
1913
  systemPrompt?: string | undefined;
1914
1914
  mcpServers?: Record<string, unknown> | undefined;
@@ -1921,13 +1921,13 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1921
1921
  maxRuns: number | null;
1922
1922
  runs: {
1923
1923
  error: string | null;
1924
- output: string | null;
1924
+ agentId: string | null;
1925
1925
  status: "running" | "failed" | "succeeded";
1926
1926
  id: string;
1927
- agentId: string | null;
1928
- scheduledFor: string;
1929
1927
  startedAt: string;
1928
+ scheduledFor: string;
1930
1929
  endedAt: string | null;
1930
+ output: string | null;
1931
1931
  trigger?: "manual" | "scheduled" | undefined;
1932
1932
  }[];
1933
1933
  } | null;
@@ -1939,7 +1939,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1939
1939
  requestId: string;
1940
1940
  schedule: {
1941
1941
  name: string | null;
1942
- status: "active" | "paused" | "completed";
1942
+ status: "completed" | "active" | "paused";
1943
1943
  id: string;
1944
1944
  createdAt: string;
1945
1945
  updatedAt: string;
@@ -1952,24 +1952,24 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1952
1952
  expression: string;
1953
1953
  };
1954
1954
  target: {
1955
- type: "agent";
1956
1955
  agentId: string;
1956
+ type: "agent";
1957
1957
  } | {
1958
1958
  type: "new-agent";
1959
1959
  config: {
1960
- provider: string;
1961
1960
  cwd: string;
1961
+ provider: string;
1962
1962
  title?: string | null | undefined;
1963
1963
  model?: string | undefined;
1964
- thinkingOptionId?: string | undefined;
1965
1964
  modeId?: string | undefined;
1965
+ thinkingOptionId?: string | undefined;
1966
1966
  approvalPolicy?: string | undefined;
1967
1967
  sandboxMode?: string | undefined;
1968
1968
  networkAccess?: boolean | undefined;
1969
1969
  webSearch?: boolean | undefined;
1970
1970
  extra?: {
1971
- codex?: Record<string, unknown> | undefined;
1972
1971
  claude?: Record<string, unknown> | undefined;
1972
+ codex?: Record<string, unknown> | undefined;
1973
1973
  } | undefined;
1974
1974
  systemPrompt?: string | undefined;
1975
1975
  mcpServers?: Record<string, unknown> | undefined;
@@ -1982,13 +1982,13 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1982
1982
  maxRuns: number | null;
1983
1983
  runs: {
1984
1984
  error: string | null;
1985
- output: string | null;
1985
+ agentId: string | null;
1986
1986
  status: "running" | "failed" | "succeeded";
1987
1987
  id: string;
1988
- agentId: string | null;
1989
- scheduledFor: string;
1990
1988
  startedAt: string;
1989
+ scheduledFor: string;
1991
1990
  endedAt: string | null;
1991
+ output: string | null;
1992
1992
  trigger?: "manual" | "scheduled" | undefined;
1993
1993
  }[];
1994
1994
  } | null;
@@ -2000,7 +2000,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
2000
2000
  requestId: string;
2001
2001
  schedule: {
2002
2002
  name: string | null;
2003
- status: "active" | "paused" | "completed";
2003
+ status: "completed" | "active" | "paused";
2004
2004
  id: string;
2005
2005
  createdAt: string;
2006
2006
  updatedAt: string;
@@ -2013,24 +2013,24 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
2013
2013
  expression: string;
2014
2014
  };
2015
2015
  target: {
2016
- type: "agent";
2017
2016
  agentId: string;
2017
+ type: "agent";
2018
2018
  } | {
2019
2019
  type: "new-agent";
2020
2020
  config: {
2021
- provider: string;
2022
2021
  cwd: string;
2022
+ provider: string;
2023
2023
  title?: string | null | undefined;
2024
2024
  model?: string | undefined;
2025
- thinkingOptionId?: string | undefined;
2026
2025
  modeId?: string | undefined;
2026
+ thinkingOptionId?: string | undefined;
2027
2027
  approvalPolicy?: string | undefined;
2028
2028
  sandboxMode?: string | undefined;
2029
2029
  networkAccess?: boolean | undefined;
2030
2030
  webSearch?: boolean | undefined;
2031
2031
  extra?: {
2032
- codex?: Record<string, unknown> | undefined;
2033
2032
  claude?: Record<string, unknown> | undefined;
2033
+ codex?: Record<string, unknown> | undefined;
2034
2034
  } | undefined;
2035
2035
  systemPrompt?: string | undefined;
2036
2036
  mcpServers?: Record<string, unknown> | undefined;
@@ -2043,13 +2043,13 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
2043
2043
  maxRuns: number | null;
2044
2044
  runs: {
2045
2045
  error: string | null;
2046
- output: string | null;
2046
+ agentId: string | null;
2047
2047
  status: "running" | "failed" | "succeeded";
2048
2048
  id: string;
2049
- agentId: string | null;
2050
- scheduledFor: string;
2051
2049
  startedAt: string;
2050
+ scheduledFor: string;
2052
2051
  endedAt: string | null;
2052
+ output: string | null;
2053
2053
  trigger?: "manual" | "scheduled" | undefined;
2054
2054
  }[];
2055
2055
  } | null;
@@ -2071,23 +2071,23 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
2071
2071
  error: z.ZodNullable<z.ZodString>;
2072
2072
  }, "strip", z.ZodTypeAny, {
2073
2073
  error: string | null;
2074
- output: string | null;
2074
+ agentId: string | null;
2075
2075
  status: "running" | "failed" | "succeeded";
2076
2076
  id: string;
2077
- agentId: string | null;
2078
- scheduledFor: string;
2079
2077
  startedAt: string;
2078
+ scheduledFor: string;
2080
2079
  endedAt: string | null;
2080
+ output: string | null;
2081
2081
  trigger?: "manual" | "scheduled" | undefined;
2082
2082
  }, {
2083
2083
  error: string | null;
2084
- output: string | null;
2084
+ agentId: string | null;
2085
2085
  status: "running" | "failed" | "succeeded";
2086
2086
  id: string;
2087
- agentId: string | null;
2088
- scheduledFor: string;
2089
2087
  startedAt: string;
2088
+ scheduledFor: string;
2090
2089
  endedAt: string | null;
2090
+ output: string | null;
2091
2091
  trigger?: "manual" | "scheduled" | undefined;
2092
2092
  }>, "many">;
2093
2093
  error: z.ZodNullable<z.ZodString>;
@@ -2096,13 +2096,13 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
2096
2096
  requestId: string;
2097
2097
  runs: {
2098
2098
  error: string | null;
2099
- output: string | null;
2099
+ agentId: string | null;
2100
2100
  status: "running" | "failed" | "succeeded";
2101
2101
  id: string;
2102
- agentId: string | null;
2103
- scheduledFor: string;
2104
2102
  startedAt: string;
2103
+ scheduledFor: string;
2105
2104
  endedAt: string | null;
2105
+ output: string | null;
2106
2106
  trigger?: "manual" | "scheduled" | undefined;
2107
2107
  }[];
2108
2108
  }, {
@@ -2110,13 +2110,13 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
2110
2110
  requestId: string;
2111
2111
  runs: {
2112
2112
  error: string | null;
2113
- output: string | null;
2113
+ agentId: string | null;
2114
2114
  status: "running" | "failed" | "succeeded";
2115
2115
  id: string;
2116
- agentId: string | null;
2117
- scheduledFor: string;
2118
2116
  startedAt: string;
2117
+ scheduledFor: string;
2119
2118
  endedAt: string | null;
2119
+ output: string | null;
2120
2120
  trigger?: "manual" | "scheduled" | undefined;
2121
2121
  }[];
2122
2122
  }>;
@@ -2127,13 +2127,13 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
2127
2127
  requestId: string;
2128
2128
  runs: {
2129
2129
  error: string | null;
2130
- output: string | null;
2130
+ agentId: string | null;
2131
2131
  status: "running" | "failed" | "succeeded";
2132
2132
  id: string;
2133
- agentId: string | null;
2134
- scheduledFor: string;
2135
2133
  startedAt: string;
2134
+ scheduledFor: string;
2136
2135
  endedAt: string | null;
2136
+ output: string | null;
2137
2137
  trigger?: "manual" | "scheduled" | undefined;
2138
2138
  }[];
2139
2139
  };
@@ -2144,13 +2144,13 @@ export declare const ScheduleLogsResponseSchema: z.ZodObject<{
2144
2144
  requestId: string;
2145
2145
  runs: {
2146
2146
  error: string | null;
2147
- output: string | null;
2147
+ agentId: string | null;
2148
2148
  status: "running" | "failed" | "succeeded";
2149
2149
  id: string;
2150
- agentId: string | null;
2151
- scheduledFor: string;
2152
2150
  startedAt: string;
2151
+ scheduledFor: string;
2153
2152
  endedAt: string | null;
2153
+ output: string | null;
2154
2154
  trigger?: "manual" | "scheduled" | undefined;
2155
2155
  }[];
2156
2156
  };
@@ -2186,11 +2186,11 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2186
2186
  type: z.ZodLiteral<"agent">;
2187
2187
  agentId: z.ZodString;
2188
2188
  }, "strip", z.ZodTypeAny, {
2189
- type: "agent";
2190
2189
  agentId: string;
2191
- }, {
2192
2190
  type: "agent";
2191
+ }, {
2193
2192
  agentId: string;
2193
+ type: "agent";
2194
2194
  }>, z.ZodObject<{
2195
2195
  type: z.ZodLiteral<"new-agent">;
2196
2196
  config: z.ZodObject<{
@@ -2208,45 +2208,45 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2208
2208
  codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2209
2209
  claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2210
2210
  }, "strip", z.ZodTypeAny, {
2211
- codex?: Record<string, unknown> | undefined;
2212
2211
  claude?: Record<string, unknown> | undefined;
2213
- }, {
2214
2212
  codex?: Record<string, unknown> | undefined;
2213
+ }, {
2215
2214
  claude?: Record<string, unknown> | undefined;
2215
+ codex?: Record<string, unknown> | undefined;
2216
2216
  }>>;
2217
2217
  systemPrompt: z.ZodOptional<z.ZodString>;
2218
2218
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2219
2219
  }, "strip", z.ZodTypeAny, {
2220
- provider: string;
2221
2220
  cwd: string;
2221
+ provider: string;
2222
2222
  title?: string | null | undefined;
2223
2223
  model?: string | undefined;
2224
- thinkingOptionId?: string | undefined;
2225
2224
  modeId?: string | undefined;
2225
+ thinkingOptionId?: string | undefined;
2226
2226
  approvalPolicy?: string | undefined;
2227
2227
  sandboxMode?: string | undefined;
2228
2228
  networkAccess?: boolean | undefined;
2229
2229
  webSearch?: boolean | undefined;
2230
2230
  extra?: {
2231
- codex?: Record<string, unknown> | undefined;
2232
2231
  claude?: Record<string, unknown> | undefined;
2232
+ codex?: Record<string, unknown> | undefined;
2233
2233
  } | undefined;
2234
2234
  systemPrompt?: string | undefined;
2235
2235
  mcpServers?: Record<string, unknown> | undefined;
2236
2236
  }, {
2237
- provider: string;
2238
2237
  cwd: string;
2238
+ provider: string;
2239
2239
  title?: string | null | undefined;
2240
2240
  model?: string | undefined;
2241
- thinkingOptionId?: string | undefined;
2242
2241
  modeId?: string | undefined;
2242
+ thinkingOptionId?: string | undefined;
2243
2243
  approvalPolicy?: string | undefined;
2244
2244
  sandboxMode?: string | undefined;
2245
2245
  networkAccess?: boolean | undefined;
2246
2246
  webSearch?: boolean | undefined;
2247
2247
  extra?: {
2248
- codex?: Record<string, unknown> | undefined;
2249
2248
  claude?: Record<string, unknown> | undefined;
2249
+ codex?: Record<string, unknown> | undefined;
2250
2250
  } | undefined;
2251
2251
  systemPrompt?: string | undefined;
2252
2252
  mcpServers?: Record<string, unknown> | undefined;
@@ -2254,19 +2254,19 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2254
2254
  }, "strip", z.ZodTypeAny, {
2255
2255
  type: "new-agent";
2256
2256
  config: {
2257
- provider: string;
2258
2257
  cwd: string;
2258
+ provider: string;
2259
2259
  title?: string | null | undefined;
2260
2260
  model?: string | undefined;
2261
- thinkingOptionId?: string | undefined;
2262
2261
  modeId?: string | undefined;
2262
+ thinkingOptionId?: string | undefined;
2263
2263
  approvalPolicy?: string | undefined;
2264
2264
  sandboxMode?: string | undefined;
2265
2265
  networkAccess?: boolean | undefined;
2266
2266
  webSearch?: boolean | undefined;
2267
2267
  extra?: {
2268
- codex?: Record<string, unknown> | undefined;
2269
2268
  claude?: Record<string, unknown> | undefined;
2269
+ codex?: Record<string, unknown> | undefined;
2270
2270
  } | undefined;
2271
2271
  systemPrompt?: string | undefined;
2272
2272
  mcpServers?: Record<string, unknown> | undefined;
@@ -2274,19 +2274,19 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2274
2274
  }, {
2275
2275
  type: "new-agent";
2276
2276
  config: {
2277
- provider: string;
2278
2277
  cwd: string;
2278
+ provider: string;
2279
2279
  title?: string | null | undefined;
2280
2280
  model?: string | undefined;
2281
- thinkingOptionId?: string | undefined;
2282
2281
  modeId?: string | undefined;
2282
+ thinkingOptionId?: string | undefined;
2283
2283
  approvalPolicy?: string | undefined;
2284
2284
  sandboxMode?: string | undefined;
2285
2285
  networkAccess?: boolean | undefined;
2286
2286
  webSearch?: boolean | undefined;
2287
2287
  extra?: {
2288
- codex?: Record<string, unknown> | undefined;
2289
2288
  claude?: Record<string, unknown> | undefined;
2289
+ codex?: Record<string, unknown> | undefined;
2290
2290
  } | undefined;
2291
2291
  systemPrompt?: string | undefined;
2292
2292
  mcpServers?: Record<string, unknown> | undefined;
@@ -2312,28 +2312,28 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2312
2312
  error: z.ZodNullable<z.ZodString>;
2313
2313
  }, "strip", z.ZodTypeAny, {
2314
2314
  error: string | null;
2315
- output: string | null;
2315
+ agentId: string | null;
2316
2316
  status: "running" | "failed" | "succeeded";
2317
2317
  id: string;
2318
- agentId: string | null;
2319
- scheduledFor: string;
2320
2318
  startedAt: string;
2319
+ scheduledFor: string;
2321
2320
  endedAt: string | null;
2321
+ output: string | null;
2322
2322
  trigger?: "manual" | "scheduled" | undefined;
2323
2323
  }, {
2324
2324
  error: string | null;
2325
- output: string | null;
2325
+ agentId: string | null;
2326
2326
  status: "running" | "failed" | "succeeded";
2327
2327
  id: string;
2328
- agentId: string | null;
2329
- scheduledFor: string;
2330
2328
  startedAt: string;
2329
+ scheduledFor: string;
2331
2330
  endedAt: string | null;
2331
+ output: string | null;
2332
2332
  trigger?: "manual" | "scheduled" | undefined;
2333
2333
  }>, "many">;
2334
2334
  }, "runs">, "strip", z.ZodTypeAny, {
2335
2335
  name: string | null;
2336
- status: "active" | "paused" | "completed";
2336
+ status: "completed" | "active" | "paused";
2337
2337
  id: string;
2338
2338
  createdAt: string;
2339
2339
  updatedAt: string;
@@ -2346,24 +2346,24 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2346
2346
  expression: string;
2347
2347
  };
2348
2348
  target: {
2349
- type: "agent";
2350
2349
  agentId: string;
2350
+ type: "agent";
2351
2351
  } | {
2352
2352
  type: "new-agent";
2353
2353
  config: {
2354
- provider: string;
2355
2354
  cwd: string;
2355
+ provider: string;
2356
2356
  title?: string | null | undefined;
2357
2357
  model?: string | undefined;
2358
- thinkingOptionId?: string | undefined;
2359
2358
  modeId?: string | undefined;
2359
+ thinkingOptionId?: string | undefined;
2360
2360
  approvalPolicy?: string | undefined;
2361
2361
  sandboxMode?: string | undefined;
2362
2362
  networkAccess?: boolean | undefined;
2363
2363
  webSearch?: boolean | undefined;
2364
2364
  extra?: {
2365
- codex?: Record<string, unknown> | undefined;
2366
2365
  claude?: Record<string, unknown> | undefined;
2366
+ codex?: Record<string, unknown> | undefined;
2367
2367
  } | undefined;
2368
2368
  systemPrompt?: string | undefined;
2369
2369
  mcpServers?: Record<string, unknown> | undefined;
@@ -2376,7 +2376,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2376
2376
  maxRuns: number | null;
2377
2377
  }, {
2378
2378
  name: string | null;
2379
- status: "active" | "paused" | "completed";
2379
+ status: "completed" | "active" | "paused";
2380
2380
  id: string;
2381
2381
  createdAt: string;
2382
2382
  updatedAt: string;
@@ -2389,24 +2389,24 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2389
2389
  expression: string;
2390
2390
  };
2391
2391
  target: {
2392
- type: "agent";
2393
2392
  agentId: string;
2393
+ type: "agent";
2394
2394
  } | {
2395
2395
  type: "new-agent";
2396
2396
  config: {
2397
- provider: string;
2398
2397
  cwd: string;
2398
+ provider: string;
2399
2399
  title?: string | null | undefined;
2400
2400
  model?: string | undefined;
2401
- thinkingOptionId?: string | undefined;
2402
2401
  modeId?: string | undefined;
2402
+ thinkingOptionId?: string | undefined;
2403
2403
  approvalPolicy?: string | undefined;
2404
2404
  sandboxMode?: string | undefined;
2405
2405
  networkAccess?: boolean | undefined;
2406
2406
  webSearch?: boolean | undefined;
2407
2407
  extra?: {
2408
- codex?: Record<string, unknown> | undefined;
2409
2408
  claude?: Record<string, unknown> | undefined;
2409
+ codex?: Record<string, unknown> | undefined;
2410
2410
  } | undefined;
2411
2411
  systemPrompt?: string | undefined;
2412
2412
  mcpServers?: Record<string, unknown> | undefined;
@@ -2424,7 +2424,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2424
2424
  requestId: string;
2425
2425
  schedule: {
2426
2426
  name: string | null;
2427
- status: "active" | "paused" | "completed";
2427
+ status: "completed" | "active" | "paused";
2428
2428
  id: string;
2429
2429
  createdAt: string;
2430
2430
  updatedAt: string;
@@ -2437,24 +2437,24 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2437
2437
  expression: string;
2438
2438
  };
2439
2439
  target: {
2440
- type: "agent";
2441
2440
  agentId: string;
2441
+ type: "agent";
2442
2442
  } | {
2443
2443
  type: "new-agent";
2444
2444
  config: {
2445
- provider: string;
2446
2445
  cwd: string;
2446
+ provider: string;
2447
2447
  title?: string | null | undefined;
2448
2448
  model?: string | undefined;
2449
- thinkingOptionId?: string | undefined;
2450
2449
  modeId?: string | undefined;
2450
+ thinkingOptionId?: string | undefined;
2451
2451
  approvalPolicy?: string | undefined;
2452
2452
  sandboxMode?: string | undefined;
2453
2453
  networkAccess?: boolean | undefined;
2454
2454
  webSearch?: boolean | undefined;
2455
2455
  extra?: {
2456
- codex?: Record<string, unknown> | undefined;
2457
2456
  claude?: Record<string, unknown> | undefined;
2457
+ codex?: Record<string, unknown> | undefined;
2458
2458
  } | undefined;
2459
2459
  systemPrompt?: string | undefined;
2460
2460
  mcpServers?: Record<string, unknown> | undefined;
@@ -2471,7 +2471,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2471
2471
  requestId: string;
2472
2472
  schedule: {
2473
2473
  name: string | null;
2474
- status: "active" | "paused" | "completed";
2474
+ status: "completed" | "active" | "paused";
2475
2475
  id: string;
2476
2476
  createdAt: string;
2477
2477
  updatedAt: string;
@@ -2484,24 +2484,24 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2484
2484
  expression: string;
2485
2485
  };
2486
2486
  target: {
2487
- type: "agent";
2488
2487
  agentId: string;
2488
+ type: "agent";
2489
2489
  } | {
2490
2490
  type: "new-agent";
2491
2491
  config: {
2492
- provider: string;
2493
2492
  cwd: string;
2493
+ provider: string;
2494
2494
  title?: string | null | undefined;
2495
2495
  model?: string | undefined;
2496
- thinkingOptionId?: string | undefined;
2497
2496
  modeId?: string | undefined;
2497
+ thinkingOptionId?: string | undefined;
2498
2498
  approvalPolicy?: string | undefined;
2499
2499
  sandboxMode?: string | undefined;
2500
2500
  networkAccess?: boolean | undefined;
2501
2501
  webSearch?: boolean | undefined;
2502
2502
  extra?: {
2503
- codex?: Record<string, unknown> | undefined;
2504
2503
  claude?: Record<string, unknown> | undefined;
2504
+ codex?: Record<string, unknown> | undefined;
2505
2505
  } | undefined;
2506
2506
  systemPrompt?: string | undefined;
2507
2507
  mcpServers?: Record<string, unknown> | undefined;
@@ -2521,7 +2521,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2521
2521
  requestId: string;
2522
2522
  schedule: {
2523
2523
  name: string | null;
2524
- status: "active" | "paused" | "completed";
2524
+ status: "completed" | "active" | "paused";
2525
2525
  id: string;
2526
2526
  createdAt: string;
2527
2527
  updatedAt: string;
@@ -2534,24 +2534,24 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2534
2534
  expression: string;
2535
2535
  };
2536
2536
  target: {
2537
- type: "agent";
2538
2537
  agentId: string;
2538
+ type: "agent";
2539
2539
  } | {
2540
2540
  type: "new-agent";
2541
2541
  config: {
2542
- provider: string;
2543
2542
  cwd: string;
2543
+ provider: string;
2544
2544
  title?: string | null | undefined;
2545
2545
  model?: string | undefined;
2546
- thinkingOptionId?: string | undefined;
2547
2546
  modeId?: string | undefined;
2547
+ thinkingOptionId?: string | undefined;
2548
2548
  approvalPolicy?: string | undefined;
2549
2549
  sandboxMode?: string | undefined;
2550
2550
  networkAccess?: boolean | undefined;
2551
2551
  webSearch?: boolean | undefined;
2552
2552
  extra?: {
2553
- codex?: Record<string, unknown> | undefined;
2554
2553
  claude?: Record<string, unknown> | undefined;
2554
+ codex?: Record<string, unknown> | undefined;
2555
2555
  } | undefined;
2556
2556
  systemPrompt?: string | undefined;
2557
2557
  mcpServers?: Record<string, unknown> | undefined;
@@ -2571,7 +2571,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2571
2571
  requestId: string;
2572
2572
  schedule: {
2573
2573
  name: string | null;
2574
- status: "active" | "paused" | "completed";
2574
+ status: "completed" | "active" | "paused";
2575
2575
  id: string;
2576
2576
  createdAt: string;
2577
2577
  updatedAt: string;
@@ -2584,24 +2584,24 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2584
2584
  expression: string;
2585
2585
  };
2586
2586
  target: {
2587
- type: "agent";
2588
2587
  agentId: string;
2588
+ type: "agent";
2589
2589
  } | {
2590
2590
  type: "new-agent";
2591
2591
  config: {
2592
- provider: string;
2593
2592
  cwd: string;
2593
+ provider: string;
2594
2594
  title?: string | null | undefined;
2595
2595
  model?: string | undefined;
2596
- thinkingOptionId?: string | undefined;
2597
2596
  modeId?: string | undefined;
2597
+ thinkingOptionId?: string | undefined;
2598
2598
  approvalPolicy?: string | undefined;
2599
2599
  sandboxMode?: string | undefined;
2600
2600
  networkAccess?: boolean | undefined;
2601
2601
  webSearch?: boolean | undefined;
2602
2602
  extra?: {
2603
- codex?: Record<string, unknown> | undefined;
2604
2603
  claude?: Record<string, unknown> | undefined;
2604
+ codex?: Record<string, unknown> | undefined;
2605
2605
  } | undefined;
2606
2606
  systemPrompt?: string | undefined;
2607
2607
  mcpServers?: Record<string, unknown> | undefined;
@@ -2646,11 +2646,11 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2646
2646
  type: z.ZodLiteral<"agent">;
2647
2647
  agentId: z.ZodString;
2648
2648
  }, "strip", z.ZodTypeAny, {
2649
- type: "agent";
2650
2649
  agentId: string;
2651
- }, {
2652
2650
  type: "agent";
2651
+ }, {
2653
2652
  agentId: string;
2653
+ type: "agent";
2654
2654
  }>, z.ZodObject<{
2655
2655
  type: z.ZodLiteral<"new-agent">;
2656
2656
  config: z.ZodObject<{
@@ -2668,45 +2668,45 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2668
2668
  codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2669
2669
  claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2670
2670
  }, "strip", z.ZodTypeAny, {
2671
- codex?: Record<string, unknown> | undefined;
2672
2671
  claude?: Record<string, unknown> | undefined;
2673
- }, {
2674
2672
  codex?: Record<string, unknown> | undefined;
2673
+ }, {
2675
2674
  claude?: Record<string, unknown> | undefined;
2675
+ codex?: Record<string, unknown> | undefined;
2676
2676
  }>>;
2677
2677
  systemPrompt: z.ZodOptional<z.ZodString>;
2678
2678
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2679
2679
  }, "strip", z.ZodTypeAny, {
2680
- provider: string;
2681
2680
  cwd: string;
2681
+ provider: string;
2682
2682
  title?: string | null | undefined;
2683
2683
  model?: string | undefined;
2684
- thinkingOptionId?: string | undefined;
2685
2684
  modeId?: string | undefined;
2685
+ thinkingOptionId?: string | undefined;
2686
2686
  approvalPolicy?: string | undefined;
2687
2687
  sandboxMode?: string | undefined;
2688
2688
  networkAccess?: boolean | undefined;
2689
2689
  webSearch?: boolean | undefined;
2690
2690
  extra?: {
2691
- codex?: Record<string, unknown> | undefined;
2692
2691
  claude?: Record<string, unknown> | undefined;
2692
+ codex?: Record<string, unknown> | undefined;
2693
2693
  } | undefined;
2694
2694
  systemPrompt?: string | undefined;
2695
2695
  mcpServers?: Record<string, unknown> | undefined;
2696
2696
  }, {
2697
- provider: string;
2698
2697
  cwd: string;
2698
+ provider: string;
2699
2699
  title?: string | null | undefined;
2700
2700
  model?: string | undefined;
2701
- thinkingOptionId?: string | undefined;
2702
2701
  modeId?: string | undefined;
2702
+ thinkingOptionId?: string | undefined;
2703
2703
  approvalPolicy?: string | undefined;
2704
2704
  sandboxMode?: string | undefined;
2705
2705
  networkAccess?: boolean | undefined;
2706
2706
  webSearch?: boolean | undefined;
2707
2707
  extra?: {
2708
- codex?: Record<string, unknown> | undefined;
2709
2708
  claude?: Record<string, unknown> | undefined;
2709
+ codex?: Record<string, unknown> | undefined;
2710
2710
  } | undefined;
2711
2711
  systemPrompt?: string | undefined;
2712
2712
  mcpServers?: Record<string, unknown> | undefined;
@@ -2714,19 +2714,19 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2714
2714
  }, "strip", z.ZodTypeAny, {
2715
2715
  type: "new-agent";
2716
2716
  config: {
2717
- provider: string;
2718
2717
  cwd: string;
2718
+ provider: string;
2719
2719
  title?: string | null | undefined;
2720
2720
  model?: string | undefined;
2721
- thinkingOptionId?: string | undefined;
2722
2721
  modeId?: string | undefined;
2722
+ thinkingOptionId?: string | undefined;
2723
2723
  approvalPolicy?: string | undefined;
2724
2724
  sandboxMode?: string | undefined;
2725
2725
  networkAccess?: boolean | undefined;
2726
2726
  webSearch?: boolean | undefined;
2727
2727
  extra?: {
2728
- codex?: Record<string, unknown> | undefined;
2729
2728
  claude?: Record<string, unknown> | undefined;
2729
+ codex?: Record<string, unknown> | undefined;
2730
2730
  } | undefined;
2731
2731
  systemPrompt?: string | undefined;
2732
2732
  mcpServers?: Record<string, unknown> | undefined;
@@ -2734,19 +2734,19 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2734
2734
  }, {
2735
2735
  type: "new-agent";
2736
2736
  config: {
2737
- provider: string;
2738
2737
  cwd: string;
2738
+ provider: string;
2739
2739
  title?: string | null | undefined;
2740
2740
  model?: string | undefined;
2741
- thinkingOptionId?: string | undefined;
2742
2741
  modeId?: string | undefined;
2742
+ thinkingOptionId?: string | undefined;
2743
2743
  approvalPolicy?: string | undefined;
2744
2744
  sandboxMode?: string | undefined;
2745
2745
  networkAccess?: boolean | undefined;
2746
2746
  webSearch?: boolean | undefined;
2747
2747
  extra?: {
2748
- codex?: Record<string, unknown> | undefined;
2749
2748
  claude?: Record<string, unknown> | undefined;
2749
+ codex?: Record<string, unknown> | undefined;
2750
2750
  } | undefined;
2751
2751
  systemPrompt?: string | undefined;
2752
2752
  mcpServers?: Record<string, unknown> | undefined;
@@ -2772,28 +2772,28 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2772
2772
  error: z.ZodNullable<z.ZodString>;
2773
2773
  }, "strip", z.ZodTypeAny, {
2774
2774
  error: string | null;
2775
- output: string | null;
2775
+ agentId: string | null;
2776
2776
  status: "running" | "failed" | "succeeded";
2777
2777
  id: string;
2778
- agentId: string | null;
2779
- scheduledFor: string;
2780
2778
  startedAt: string;
2779
+ scheduledFor: string;
2781
2780
  endedAt: string | null;
2781
+ output: string | null;
2782
2782
  trigger?: "manual" | "scheduled" | undefined;
2783
2783
  }, {
2784
2784
  error: string | null;
2785
- output: string | null;
2785
+ agentId: string | null;
2786
2786
  status: "running" | "failed" | "succeeded";
2787
2787
  id: string;
2788
- agentId: string | null;
2789
- scheduledFor: string;
2790
2788
  startedAt: string;
2789
+ scheduledFor: string;
2791
2790
  endedAt: string | null;
2791
+ output: string | null;
2792
2792
  trigger?: "manual" | "scheduled" | undefined;
2793
2793
  }>, "many">;
2794
2794
  }, "runs">, "strip", z.ZodTypeAny, {
2795
2795
  name: string | null;
2796
- status: "active" | "paused" | "completed";
2796
+ status: "completed" | "active" | "paused";
2797
2797
  id: string;
2798
2798
  createdAt: string;
2799
2799
  updatedAt: string;
@@ -2806,24 +2806,24 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2806
2806
  expression: string;
2807
2807
  };
2808
2808
  target: {
2809
- type: "agent";
2810
2809
  agentId: string;
2810
+ type: "agent";
2811
2811
  } | {
2812
2812
  type: "new-agent";
2813
2813
  config: {
2814
- provider: string;
2815
2814
  cwd: string;
2815
+ provider: string;
2816
2816
  title?: string | null | undefined;
2817
2817
  model?: string | undefined;
2818
- thinkingOptionId?: string | undefined;
2819
2818
  modeId?: string | undefined;
2819
+ thinkingOptionId?: string | undefined;
2820
2820
  approvalPolicy?: string | undefined;
2821
2821
  sandboxMode?: string | undefined;
2822
2822
  networkAccess?: boolean | undefined;
2823
2823
  webSearch?: boolean | undefined;
2824
2824
  extra?: {
2825
- codex?: Record<string, unknown> | undefined;
2826
2825
  claude?: Record<string, unknown> | undefined;
2826
+ codex?: Record<string, unknown> | undefined;
2827
2827
  } | undefined;
2828
2828
  systemPrompt?: string | undefined;
2829
2829
  mcpServers?: Record<string, unknown> | undefined;
@@ -2836,7 +2836,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2836
2836
  maxRuns: number | null;
2837
2837
  }, {
2838
2838
  name: string | null;
2839
- status: "active" | "paused" | "completed";
2839
+ status: "completed" | "active" | "paused";
2840
2840
  id: string;
2841
2841
  createdAt: string;
2842
2842
  updatedAt: string;
@@ -2849,24 +2849,24 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2849
2849
  expression: string;
2850
2850
  };
2851
2851
  target: {
2852
- type: "agent";
2853
2852
  agentId: string;
2853
+ type: "agent";
2854
2854
  } | {
2855
2855
  type: "new-agent";
2856
2856
  config: {
2857
- provider: string;
2858
2857
  cwd: string;
2858
+ provider: string;
2859
2859
  title?: string | null | undefined;
2860
2860
  model?: string | undefined;
2861
- thinkingOptionId?: string | undefined;
2862
2861
  modeId?: string | undefined;
2862
+ thinkingOptionId?: string | undefined;
2863
2863
  approvalPolicy?: string | undefined;
2864
2864
  sandboxMode?: string | undefined;
2865
2865
  networkAccess?: boolean | undefined;
2866
2866
  webSearch?: boolean | undefined;
2867
2867
  extra?: {
2868
- codex?: Record<string, unknown> | undefined;
2869
2868
  claude?: Record<string, unknown> | undefined;
2869
+ codex?: Record<string, unknown> | undefined;
2870
2870
  } | undefined;
2871
2871
  systemPrompt?: string | undefined;
2872
2872
  mcpServers?: Record<string, unknown> | undefined;
@@ -2884,7 +2884,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2884
2884
  requestId: string;
2885
2885
  schedule: {
2886
2886
  name: string | null;
2887
- status: "active" | "paused" | "completed";
2887
+ status: "completed" | "active" | "paused";
2888
2888
  id: string;
2889
2889
  createdAt: string;
2890
2890
  updatedAt: string;
@@ -2897,24 +2897,24 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2897
2897
  expression: string;
2898
2898
  };
2899
2899
  target: {
2900
- type: "agent";
2901
2900
  agentId: string;
2901
+ type: "agent";
2902
2902
  } | {
2903
2903
  type: "new-agent";
2904
2904
  config: {
2905
- provider: string;
2906
2905
  cwd: string;
2906
+ provider: string;
2907
2907
  title?: string | null | undefined;
2908
2908
  model?: string | undefined;
2909
- thinkingOptionId?: string | undefined;
2910
2909
  modeId?: string | undefined;
2910
+ thinkingOptionId?: string | undefined;
2911
2911
  approvalPolicy?: string | undefined;
2912
2912
  sandboxMode?: string | undefined;
2913
2913
  networkAccess?: boolean | undefined;
2914
2914
  webSearch?: boolean | undefined;
2915
2915
  extra?: {
2916
- codex?: Record<string, unknown> | undefined;
2917
2916
  claude?: Record<string, unknown> | undefined;
2917
+ codex?: Record<string, unknown> | undefined;
2918
2918
  } | undefined;
2919
2919
  systemPrompt?: string | undefined;
2920
2920
  mcpServers?: Record<string, unknown> | undefined;
@@ -2931,7 +2931,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2931
2931
  requestId: string;
2932
2932
  schedule: {
2933
2933
  name: string | null;
2934
- status: "active" | "paused" | "completed";
2934
+ status: "completed" | "active" | "paused";
2935
2935
  id: string;
2936
2936
  createdAt: string;
2937
2937
  updatedAt: string;
@@ -2944,24 +2944,24 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2944
2944
  expression: string;
2945
2945
  };
2946
2946
  target: {
2947
- type: "agent";
2948
2947
  agentId: string;
2948
+ type: "agent";
2949
2949
  } | {
2950
2950
  type: "new-agent";
2951
2951
  config: {
2952
- provider: string;
2953
2952
  cwd: string;
2953
+ provider: string;
2954
2954
  title?: string | null | undefined;
2955
2955
  model?: string | undefined;
2956
- thinkingOptionId?: string | undefined;
2957
2956
  modeId?: string | undefined;
2957
+ thinkingOptionId?: string | undefined;
2958
2958
  approvalPolicy?: string | undefined;
2959
2959
  sandboxMode?: string | undefined;
2960
2960
  networkAccess?: boolean | undefined;
2961
2961
  webSearch?: boolean | undefined;
2962
2962
  extra?: {
2963
- codex?: Record<string, unknown> | undefined;
2964
2963
  claude?: Record<string, unknown> | undefined;
2964
+ codex?: Record<string, unknown> | undefined;
2965
2965
  } | undefined;
2966
2966
  systemPrompt?: string | undefined;
2967
2967
  mcpServers?: Record<string, unknown> | undefined;
@@ -2981,7 +2981,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2981
2981
  requestId: string;
2982
2982
  schedule: {
2983
2983
  name: string | null;
2984
- status: "active" | "paused" | "completed";
2984
+ status: "completed" | "active" | "paused";
2985
2985
  id: string;
2986
2986
  createdAt: string;
2987
2987
  updatedAt: string;
@@ -2994,24 +2994,24 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2994
2994
  expression: string;
2995
2995
  };
2996
2996
  target: {
2997
- type: "agent";
2998
2997
  agentId: string;
2998
+ type: "agent";
2999
2999
  } | {
3000
3000
  type: "new-agent";
3001
3001
  config: {
3002
- provider: string;
3003
3002
  cwd: string;
3003
+ provider: string;
3004
3004
  title?: string | null | undefined;
3005
3005
  model?: string | undefined;
3006
- thinkingOptionId?: string | undefined;
3007
3006
  modeId?: string | undefined;
3007
+ thinkingOptionId?: string | undefined;
3008
3008
  approvalPolicy?: string | undefined;
3009
3009
  sandboxMode?: string | undefined;
3010
3010
  networkAccess?: boolean | undefined;
3011
3011
  webSearch?: boolean | undefined;
3012
3012
  extra?: {
3013
- codex?: Record<string, unknown> | undefined;
3014
3013
  claude?: Record<string, unknown> | undefined;
3014
+ codex?: Record<string, unknown> | undefined;
3015
3015
  } | undefined;
3016
3016
  systemPrompt?: string | undefined;
3017
3017
  mcpServers?: Record<string, unknown> | undefined;
@@ -3031,7 +3031,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
3031
3031
  requestId: string;
3032
3032
  schedule: {
3033
3033
  name: string | null;
3034
- status: "active" | "paused" | "completed";
3034
+ status: "completed" | "active" | "paused";
3035
3035
  id: string;
3036
3036
  createdAt: string;
3037
3037
  updatedAt: string;
@@ -3044,24 +3044,24 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
3044
3044
  expression: string;
3045
3045
  };
3046
3046
  target: {
3047
- type: "agent";
3048
3047
  agentId: string;
3048
+ type: "agent";
3049
3049
  } | {
3050
3050
  type: "new-agent";
3051
3051
  config: {
3052
- provider: string;
3053
3052
  cwd: string;
3053
+ provider: string;
3054
3054
  title?: string | null | undefined;
3055
3055
  model?: string | undefined;
3056
- thinkingOptionId?: string | undefined;
3057
3056
  modeId?: string | undefined;
3057
+ thinkingOptionId?: string | undefined;
3058
3058
  approvalPolicy?: string | undefined;
3059
3059
  sandboxMode?: string | undefined;
3060
3060
  networkAccess?: boolean | undefined;
3061
3061
  webSearch?: boolean | undefined;
3062
3062
  extra?: {
3063
- codex?: Record<string, unknown> | undefined;
3064
3063
  claude?: Record<string, unknown> | undefined;
3064
+ codex?: Record<string, unknown> | undefined;
3065
3065
  } | undefined;
3066
3066
  systemPrompt?: string | undefined;
3067
3067
  mcpServers?: Record<string, unknown> | undefined;
@@ -3136,11 +3136,11 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3136
3136
  type: z.ZodLiteral<"agent">;
3137
3137
  agentId: z.ZodString;
3138
3138
  }, "strip", z.ZodTypeAny, {
3139
- type: "agent";
3140
3139
  agentId: string;
3141
- }, {
3142
3140
  type: "agent";
3141
+ }, {
3143
3142
  agentId: string;
3143
+ type: "agent";
3144
3144
  }>, z.ZodObject<{
3145
3145
  type: z.ZodLiteral<"new-agent">;
3146
3146
  config: z.ZodObject<{
@@ -3158,45 +3158,45 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3158
3158
  codex: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3159
3159
  claude: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3160
3160
  }, "strip", z.ZodTypeAny, {
3161
- codex?: Record<string, unknown> | undefined;
3162
3161
  claude?: Record<string, unknown> | undefined;
3163
- }, {
3164
3162
  codex?: Record<string, unknown> | undefined;
3163
+ }, {
3165
3164
  claude?: Record<string, unknown> | undefined;
3165
+ codex?: Record<string, unknown> | undefined;
3166
3166
  }>>;
3167
3167
  systemPrompt: z.ZodOptional<z.ZodString>;
3168
3168
  mcpServers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3169
3169
  }, "strip", z.ZodTypeAny, {
3170
- provider: string;
3171
3170
  cwd: string;
3171
+ provider: string;
3172
3172
  title?: string | null | undefined;
3173
3173
  model?: string | undefined;
3174
- thinkingOptionId?: string | undefined;
3175
3174
  modeId?: string | undefined;
3175
+ thinkingOptionId?: string | undefined;
3176
3176
  approvalPolicy?: string | undefined;
3177
3177
  sandboxMode?: string | undefined;
3178
3178
  networkAccess?: boolean | undefined;
3179
3179
  webSearch?: boolean | undefined;
3180
3180
  extra?: {
3181
- codex?: Record<string, unknown> | undefined;
3182
3181
  claude?: Record<string, unknown> | undefined;
3182
+ codex?: Record<string, unknown> | undefined;
3183
3183
  } | undefined;
3184
3184
  systemPrompt?: string | undefined;
3185
3185
  mcpServers?: Record<string, unknown> | undefined;
3186
3186
  }, {
3187
- provider: string;
3188
3187
  cwd: string;
3188
+ provider: string;
3189
3189
  title?: string | null | undefined;
3190
3190
  model?: string | undefined;
3191
- thinkingOptionId?: string | undefined;
3192
3191
  modeId?: string | undefined;
3192
+ thinkingOptionId?: string | undefined;
3193
3193
  approvalPolicy?: string | undefined;
3194
3194
  sandboxMode?: string | undefined;
3195
3195
  networkAccess?: boolean | undefined;
3196
3196
  webSearch?: boolean | undefined;
3197
3197
  extra?: {
3198
- codex?: Record<string, unknown> | undefined;
3199
3198
  claude?: Record<string, unknown> | undefined;
3199
+ codex?: Record<string, unknown> | undefined;
3200
3200
  } | undefined;
3201
3201
  systemPrompt?: string | undefined;
3202
3202
  mcpServers?: Record<string, unknown> | undefined;
@@ -3204,19 +3204,19 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3204
3204
  }, "strip", z.ZodTypeAny, {
3205
3205
  type: "new-agent";
3206
3206
  config: {
3207
- provider: string;
3208
3207
  cwd: string;
3208
+ provider: string;
3209
3209
  title?: string | null | undefined;
3210
3210
  model?: string | undefined;
3211
- thinkingOptionId?: string | undefined;
3212
3211
  modeId?: string | undefined;
3212
+ thinkingOptionId?: string | undefined;
3213
3213
  approvalPolicy?: string | undefined;
3214
3214
  sandboxMode?: string | undefined;
3215
3215
  networkAccess?: boolean | undefined;
3216
3216
  webSearch?: boolean | undefined;
3217
3217
  extra?: {
3218
- codex?: Record<string, unknown> | undefined;
3219
3218
  claude?: Record<string, unknown> | undefined;
3219
+ codex?: Record<string, unknown> | undefined;
3220
3220
  } | undefined;
3221
3221
  systemPrompt?: string | undefined;
3222
3222
  mcpServers?: Record<string, unknown> | undefined;
@@ -3224,19 +3224,19 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3224
3224
  }, {
3225
3225
  type: "new-agent";
3226
3226
  config: {
3227
- provider: string;
3228
3227
  cwd: string;
3228
+ provider: string;
3229
3229
  title?: string | null | undefined;
3230
3230
  model?: string | undefined;
3231
- thinkingOptionId?: string | undefined;
3232
3231
  modeId?: string | undefined;
3232
+ thinkingOptionId?: string | undefined;
3233
3233
  approvalPolicy?: string | undefined;
3234
3234
  sandboxMode?: string | undefined;
3235
3235
  networkAccess?: boolean | undefined;
3236
3236
  webSearch?: boolean | undefined;
3237
3237
  extra?: {
3238
- codex?: Record<string, unknown> | undefined;
3239
3238
  claude?: Record<string, unknown> | undefined;
3239
+ codex?: Record<string, unknown> | undefined;
3240
3240
  } | undefined;
3241
3241
  systemPrompt?: string | undefined;
3242
3242
  mcpServers?: Record<string, unknown> | undefined;
@@ -3262,28 +3262,28 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3262
3262
  error: z.ZodNullable<z.ZodString>;
3263
3263
  }, "strip", z.ZodTypeAny, {
3264
3264
  error: string | null;
3265
- output: string | null;
3265
+ agentId: string | null;
3266
3266
  status: "running" | "failed" | "succeeded";
3267
3267
  id: string;
3268
- agentId: string | null;
3269
- scheduledFor: string;
3270
3268
  startedAt: string;
3269
+ scheduledFor: string;
3271
3270
  endedAt: string | null;
3271
+ output: string | null;
3272
3272
  trigger?: "manual" | "scheduled" | undefined;
3273
3273
  }, {
3274
3274
  error: string | null;
3275
- output: string | null;
3275
+ agentId: string | null;
3276
3276
  status: "running" | "failed" | "succeeded";
3277
3277
  id: string;
3278
- agentId: string | null;
3279
- scheduledFor: string;
3280
3278
  startedAt: string;
3279
+ scheduledFor: string;
3281
3280
  endedAt: string | null;
3281
+ output: string | null;
3282
3282
  trigger?: "manual" | "scheduled" | undefined;
3283
3283
  }>, "many">;
3284
3284
  }, "runs">, "strip", z.ZodTypeAny, {
3285
3285
  name: string | null;
3286
- status: "active" | "paused" | "completed";
3286
+ status: "completed" | "active" | "paused";
3287
3287
  id: string;
3288
3288
  createdAt: string;
3289
3289
  updatedAt: string;
@@ -3296,24 +3296,24 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3296
3296
  expression: string;
3297
3297
  };
3298
3298
  target: {
3299
- type: "agent";
3300
3299
  agentId: string;
3300
+ type: "agent";
3301
3301
  } | {
3302
3302
  type: "new-agent";
3303
3303
  config: {
3304
- provider: string;
3305
3304
  cwd: string;
3305
+ provider: string;
3306
3306
  title?: string | null | undefined;
3307
3307
  model?: string | undefined;
3308
- thinkingOptionId?: string | undefined;
3309
3308
  modeId?: string | undefined;
3309
+ thinkingOptionId?: string | undefined;
3310
3310
  approvalPolicy?: string | undefined;
3311
3311
  sandboxMode?: string | undefined;
3312
3312
  networkAccess?: boolean | undefined;
3313
3313
  webSearch?: boolean | undefined;
3314
3314
  extra?: {
3315
- codex?: Record<string, unknown> | undefined;
3316
3315
  claude?: Record<string, unknown> | undefined;
3316
+ codex?: Record<string, unknown> | undefined;
3317
3317
  } | undefined;
3318
3318
  systemPrompt?: string | undefined;
3319
3319
  mcpServers?: Record<string, unknown> | undefined;
@@ -3326,7 +3326,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3326
3326
  maxRuns: number | null;
3327
3327
  }, {
3328
3328
  name: string | null;
3329
- status: "active" | "paused" | "completed";
3329
+ status: "completed" | "active" | "paused";
3330
3330
  id: string;
3331
3331
  createdAt: string;
3332
3332
  updatedAt: string;
@@ -3339,24 +3339,24 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3339
3339
  expression: string;
3340
3340
  };
3341
3341
  target: {
3342
- type: "agent";
3343
3342
  agentId: string;
3343
+ type: "agent";
3344
3344
  } | {
3345
3345
  type: "new-agent";
3346
3346
  config: {
3347
- provider: string;
3348
3347
  cwd: string;
3348
+ provider: string;
3349
3349
  title?: string | null | undefined;
3350
3350
  model?: string | undefined;
3351
- thinkingOptionId?: string | undefined;
3352
3351
  modeId?: string | undefined;
3352
+ thinkingOptionId?: string | undefined;
3353
3353
  approvalPolicy?: string | undefined;
3354
3354
  sandboxMode?: string | undefined;
3355
3355
  networkAccess?: boolean | undefined;
3356
3356
  webSearch?: boolean | undefined;
3357
3357
  extra?: {
3358
- codex?: Record<string, unknown> | undefined;
3359
3358
  claude?: Record<string, unknown> | undefined;
3359
+ codex?: Record<string, unknown> | undefined;
3360
3360
  } | undefined;
3361
3361
  systemPrompt?: string | undefined;
3362
3362
  mcpServers?: Record<string, unknown> | undefined;
@@ -3374,7 +3374,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3374
3374
  requestId: string;
3375
3375
  schedule: {
3376
3376
  name: string | null;
3377
- status: "active" | "paused" | "completed";
3377
+ status: "completed" | "active" | "paused";
3378
3378
  id: string;
3379
3379
  createdAt: string;
3380
3380
  updatedAt: string;
@@ -3387,24 +3387,24 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3387
3387
  expression: string;
3388
3388
  };
3389
3389
  target: {
3390
- type: "agent";
3391
3390
  agentId: string;
3391
+ type: "agent";
3392
3392
  } | {
3393
3393
  type: "new-agent";
3394
3394
  config: {
3395
- provider: string;
3396
3395
  cwd: string;
3396
+ provider: string;
3397
3397
  title?: string | null | undefined;
3398
3398
  model?: string | undefined;
3399
- thinkingOptionId?: string | undefined;
3400
3399
  modeId?: string | undefined;
3400
+ thinkingOptionId?: string | undefined;
3401
3401
  approvalPolicy?: string | undefined;
3402
3402
  sandboxMode?: string | undefined;
3403
3403
  networkAccess?: boolean | undefined;
3404
3404
  webSearch?: boolean | undefined;
3405
3405
  extra?: {
3406
- codex?: Record<string, unknown> | undefined;
3407
3406
  claude?: Record<string, unknown> | undefined;
3407
+ codex?: Record<string, unknown> | undefined;
3408
3408
  } | undefined;
3409
3409
  systemPrompt?: string | undefined;
3410
3410
  mcpServers?: Record<string, unknown> | undefined;
@@ -3421,7 +3421,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3421
3421
  requestId: string;
3422
3422
  schedule: {
3423
3423
  name: string | null;
3424
- status: "active" | "paused" | "completed";
3424
+ status: "completed" | "active" | "paused";
3425
3425
  id: string;
3426
3426
  createdAt: string;
3427
3427
  updatedAt: string;
@@ -3434,24 +3434,24 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3434
3434
  expression: string;
3435
3435
  };
3436
3436
  target: {
3437
- type: "agent";
3438
3437
  agentId: string;
3438
+ type: "agent";
3439
3439
  } | {
3440
3440
  type: "new-agent";
3441
3441
  config: {
3442
- provider: string;
3443
3442
  cwd: string;
3443
+ provider: string;
3444
3444
  title?: string | null | undefined;
3445
3445
  model?: string | undefined;
3446
- thinkingOptionId?: string | undefined;
3447
3446
  modeId?: string | undefined;
3447
+ thinkingOptionId?: string | undefined;
3448
3448
  approvalPolicy?: string | undefined;
3449
3449
  sandboxMode?: string | undefined;
3450
3450
  networkAccess?: boolean | undefined;
3451
3451
  webSearch?: boolean | undefined;
3452
3452
  extra?: {
3453
- codex?: Record<string, unknown> | undefined;
3454
3453
  claude?: Record<string, unknown> | undefined;
3454
+ codex?: Record<string, unknown> | undefined;
3455
3455
  } | undefined;
3456
3456
  systemPrompt?: string | undefined;
3457
3457
  mcpServers?: Record<string, unknown> | undefined;
@@ -3471,7 +3471,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3471
3471
  requestId: string;
3472
3472
  schedule: {
3473
3473
  name: string | null;
3474
- status: "active" | "paused" | "completed";
3474
+ status: "completed" | "active" | "paused";
3475
3475
  id: string;
3476
3476
  createdAt: string;
3477
3477
  updatedAt: string;
@@ -3484,24 +3484,24 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3484
3484
  expression: string;
3485
3485
  };
3486
3486
  target: {
3487
- type: "agent";
3488
3487
  agentId: string;
3488
+ type: "agent";
3489
3489
  } | {
3490
3490
  type: "new-agent";
3491
3491
  config: {
3492
- provider: string;
3493
3492
  cwd: string;
3493
+ provider: string;
3494
3494
  title?: string | null | undefined;
3495
3495
  model?: string | undefined;
3496
- thinkingOptionId?: string | undefined;
3497
3496
  modeId?: string | undefined;
3497
+ thinkingOptionId?: string | undefined;
3498
3498
  approvalPolicy?: string | undefined;
3499
3499
  sandboxMode?: string | undefined;
3500
3500
  networkAccess?: boolean | undefined;
3501
3501
  webSearch?: boolean | undefined;
3502
3502
  extra?: {
3503
- codex?: Record<string, unknown> | undefined;
3504
3503
  claude?: Record<string, unknown> | undefined;
3504
+ codex?: Record<string, unknown> | undefined;
3505
3505
  } | undefined;
3506
3506
  systemPrompt?: string | undefined;
3507
3507
  mcpServers?: Record<string, unknown> | undefined;
@@ -3521,7 +3521,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3521
3521
  requestId: string;
3522
3522
  schedule: {
3523
3523
  name: string | null;
3524
- status: "active" | "paused" | "completed";
3524
+ status: "completed" | "active" | "paused";
3525
3525
  id: string;
3526
3526
  createdAt: string;
3527
3527
  updatedAt: string;
@@ -3534,24 +3534,24 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3534
3534
  expression: string;
3535
3535
  };
3536
3536
  target: {
3537
- type: "agent";
3538
3537
  agentId: string;
3538
+ type: "agent";
3539
3539
  } | {
3540
3540
  type: "new-agent";
3541
3541
  config: {
3542
- provider: string;
3543
3542
  cwd: string;
3543
+ provider: string;
3544
3544
  title?: string | null | undefined;
3545
3545
  model?: string | undefined;
3546
- thinkingOptionId?: string | undefined;
3547
3546
  modeId?: string | undefined;
3547
+ thinkingOptionId?: string | undefined;
3548
3548
  approvalPolicy?: string | undefined;
3549
3549
  sandboxMode?: string | undefined;
3550
3550
  networkAccess?: boolean | undefined;
3551
3551
  webSearch?: boolean | undefined;
3552
3552
  extra?: {
3553
- codex?: Record<string, unknown> | undefined;
3554
3553
  claude?: Record<string, unknown> | undefined;
3554
+ codex?: Record<string, unknown> | undefined;
3555
3555
  } | undefined;
3556
3556
  systemPrompt?: string | undefined;
3557
3557
  mcpServers?: Record<string, unknown> | undefined;
@@ -3581,23 +3581,23 @@ export declare const ScheduleRunNowResponseSchema: z.ZodObject<{
3581
3581
  error: z.ZodNullable<z.ZodString>;
3582
3582
  }, "strip", z.ZodTypeAny, {
3583
3583
  error: string | null;
3584
- output: string | null;
3584
+ agentId: string | null;
3585
3585
  status: "running" | "failed" | "succeeded";
3586
3586
  id: string;
3587
- agentId: string | null;
3588
- scheduledFor: string;
3589
3587
  startedAt: string;
3588
+ scheduledFor: string;
3590
3589
  endedAt: string | null;
3590
+ output: string | null;
3591
3591
  trigger?: "manual" | "scheduled" | undefined;
3592
3592
  }, {
3593
3593
  error: string | null;
3594
- output: string | null;
3594
+ agentId: string | null;
3595
3595
  status: "running" | "failed" | "succeeded";
3596
3596
  id: string;
3597
- agentId: string | null;
3598
- scheduledFor: string;
3599
3597
  startedAt: string;
3598
+ scheduledFor: string;
3600
3599
  endedAt: string | null;
3600
+ output: string | null;
3601
3601
  trigger?: "manual" | "scheduled" | undefined;
3602
3602
  }>>;
3603
3603
  error: z.ZodNullable<z.ZodString>;
@@ -3606,13 +3606,13 @@ export declare const ScheduleRunNowResponseSchema: z.ZodObject<{
3606
3606
  requestId: string;
3607
3607
  run: {
3608
3608
  error: string | null;
3609
- output: string | null;
3609
+ agentId: string | null;
3610
3610
  status: "running" | "failed" | "succeeded";
3611
3611
  id: string;
3612
- agentId: string | null;
3613
- scheduledFor: string;
3614
3612
  startedAt: string;
3613
+ scheduledFor: string;
3615
3614
  endedAt: string | null;
3615
+ output: string | null;
3616
3616
  trigger?: "manual" | "scheduled" | undefined;
3617
3617
  } | null;
3618
3618
  }, {
@@ -3620,13 +3620,13 @@ export declare const ScheduleRunNowResponseSchema: z.ZodObject<{
3620
3620
  requestId: string;
3621
3621
  run: {
3622
3622
  error: string | null;
3623
- output: string | null;
3623
+ agentId: string | null;
3624
3624
  status: "running" | "failed" | "succeeded";
3625
3625
  id: string;
3626
- agentId: string | null;
3627
- scheduledFor: string;
3628
3626
  startedAt: string;
3627
+ scheduledFor: string;
3629
3628
  endedAt: string | null;
3629
+ output: string | null;
3630
3630
  trigger?: "manual" | "scheduled" | undefined;
3631
3631
  } | null;
3632
3632
  }>;
@@ -3637,13 +3637,13 @@ export declare const ScheduleRunNowResponseSchema: z.ZodObject<{
3637
3637
  requestId: string;
3638
3638
  run: {
3639
3639
  error: string | null;
3640
- output: string | null;
3640
+ agentId: string | null;
3641
3641
  status: "running" | "failed" | "succeeded";
3642
3642
  id: string;
3643
- agentId: string | null;
3644
- scheduledFor: string;
3645
3643
  startedAt: string;
3644
+ scheduledFor: string;
3646
3645
  endedAt: string | null;
3646
+ output: string | null;
3647
3647
  trigger?: "manual" | "scheduled" | undefined;
3648
3648
  } | null;
3649
3649
  };
@@ -3654,13 +3654,13 @@ export declare const ScheduleRunNowResponseSchema: z.ZodObject<{
3654
3654
  requestId: string;
3655
3655
  run: {
3656
3656
  error: string | null;
3657
- output: string | null;
3657
+ agentId: string | null;
3658
3658
  status: "running" | "failed" | "succeeded";
3659
3659
  id: string;
3660
- agentId: string | null;
3661
- scheduledFor: string;
3662
3660
  startedAt: string;
3661
+ scheduledFor: string;
3663
3662
  endedAt: string | null;
3663
+ output: string | null;
3664
3664
  trigger?: "manual" | "scheduled" | undefined;
3665
3665
  } | null;
3666
3666
  };