@junctionpanel/server 0.1.29 → 0.1.31

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.
@@ -480,6 +480,46 @@ export declare const SendAgentMessageRequestSchema: z.ZodObject<{
480
480
  data: string;
481
481
  mimeType: string;
482
482
  }>, "many">>;
483
+ runOptions: z.ZodOptional<z.ZodObject<{
484
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
485
+ resumeFrom: z.ZodOptional<z.ZodType<AgentPersistenceHandle | null, z.ZodTypeDef, AgentPersistenceHandle | null>>;
486
+ maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
487
+ extra: z.ZodOptional<z.ZodObject<{
488
+ codex: z.ZodOptional<z.ZodObject<{
489
+ planMode: z.ZodOptional<z.ZodBoolean>;
490
+ }, "strip", z.ZodTypeAny, {
491
+ planMode?: boolean | undefined;
492
+ }, {
493
+ planMode?: boolean | undefined;
494
+ }>>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ codex?: {
497
+ planMode?: boolean | undefined;
498
+ } | undefined;
499
+ }, {
500
+ codex?: {
501
+ planMode?: boolean | undefined;
502
+ } | undefined;
503
+ }>>;
504
+ }, "strip", z.ZodTypeAny, {
505
+ extra?: {
506
+ codex?: {
507
+ planMode?: boolean | undefined;
508
+ } | undefined;
509
+ } | undefined;
510
+ outputSchema?: unknown;
511
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
512
+ maxThinkingTokens?: number | undefined;
513
+ }, {
514
+ extra?: {
515
+ codex?: {
516
+ planMode?: boolean | undefined;
517
+ } | undefined;
518
+ } | undefined;
519
+ outputSchema?: unknown;
520
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
521
+ maxThinkingTokens?: number | undefined;
522
+ }>>;
483
523
  }, "strip", z.ZodTypeAny, {
484
524
  agentId: string;
485
525
  text: string;
@@ -490,6 +530,16 @@ export declare const SendAgentMessageRequestSchema: z.ZodObject<{
490
530
  data: string;
491
531
  mimeType: string;
492
532
  }[] | undefined;
533
+ runOptions?: {
534
+ extra?: {
535
+ codex?: {
536
+ planMode?: boolean | undefined;
537
+ } | undefined;
538
+ } | undefined;
539
+ outputSchema?: unknown;
540
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
541
+ maxThinkingTokens?: number | undefined;
542
+ } | undefined;
493
543
  }, {
494
544
  agentId: string;
495
545
  text: string;
@@ -500,6 +550,16 @@ export declare const SendAgentMessageRequestSchema: z.ZodObject<{
500
550
  data: string;
501
551
  mimeType: string;
502
552
  }[] | undefined;
553
+ runOptions?: {
554
+ extra?: {
555
+ codex?: {
556
+ planMode?: boolean | undefined;
557
+ } | undefined;
558
+ } | undefined;
559
+ outputSchema?: unknown;
560
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
561
+ maxThinkingTokens?: number | undefined;
562
+ } | undefined;
503
563
  }>;
504
564
  export declare const WaitForFinishRequestSchema: z.ZodObject<{
505
565
  type: z.ZodLiteral<"wait_for_finish_request">;
@@ -670,6 +730,46 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
670
730
  initialPrompt: z.ZodOptional<z.ZodString>;
671
731
  clientMessageId: z.ZodOptional<z.ZodString>;
672
732
  outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
733
+ initialRunOptions: z.ZodOptional<z.ZodObject<{
734
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
735
+ resumeFrom: z.ZodOptional<z.ZodType<AgentPersistenceHandle | null, z.ZodTypeDef, AgentPersistenceHandle | null>>;
736
+ maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
737
+ extra: z.ZodOptional<z.ZodObject<{
738
+ codex: z.ZodOptional<z.ZodObject<{
739
+ planMode: z.ZodOptional<z.ZodBoolean>;
740
+ }, "strip", z.ZodTypeAny, {
741
+ planMode?: boolean | undefined;
742
+ }, {
743
+ planMode?: boolean | undefined;
744
+ }>>;
745
+ }, "strip", z.ZodTypeAny, {
746
+ codex?: {
747
+ planMode?: boolean | undefined;
748
+ } | undefined;
749
+ }, {
750
+ codex?: {
751
+ planMode?: boolean | undefined;
752
+ } | undefined;
753
+ }>>;
754
+ }, "strip", z.ZodTypeAny, {
755
+ extra?: {
756
+ codex?: {
757
+ planMode?: boolean | undefined;
758
+ } | undefined;
759
+ } | undefined;
760
+ outputSchema?: unknown;
761
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
762
+ maxThinkingTokens?: number | undefined;
763
+ }, {
764
+ extra?: {
765
+ codex?: {
766
+ planMode?: boolean | undefined;
767
+ } | undefined;
768
+ } | undefined;
769
+ outputSchema?: unknown;
770
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
771
+ maxThinkingTokens?: number | undefined;
772
+ }>>;
673
773
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
674
774
  data: z.ZodString;
675
775
  mimeType: z.ZodString;
@@ -742,6 +842,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
742
842
  };
743
843
  requestId: string;
744
844
  generalPreferencesApplied?: boolean | undefined;
845
+ outputSchema?: Record<string, unknown> | undefined;
745
846
  images?: {
746
847
  data: string;
747
848
  mimeType: string;
@@ -749,7 +850,16 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
749
850
  worktreeName?: string | undefined;
750
851
  initialPrompt?: string | undefined;
751
852
  clientMessageId?: string | undefined;
752
- outputSchema?: Record<string, unknown> | undefined;
853
+ initialRunOptions?: {
854
+ extra?: {
855
+ codex?: {
856
+ planMode?: boolean | undefined;
857
+ } | undefined;
858
+ } | undefined;
859
+ outputSchema?: unknown;
860
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
861
+ maxThinkingTokens?: number | undefined;
862
+ } | undefined;
753
863
  git?: {
754
864
  baseBranch?: string | undefined;
755
865
  worktreeSlug?: string | undefined;
@@ -795,6 +905,7 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
795
905
  requestId: string;
796
906
  labels?: Record<string, string> | undefined;
797
907
  generalPreferencesApplied?: boolean | undefined;
908
+ outputSchema?: Record<string, unknown> | undefined;
798
909
  images?: {
799
910
  data: string;
800
911
  mimeType: string;
@@ -802,7 +913,16 @@ export declare const CreateAgentRequestMessageSchema: z.ZodObject<{
802
913
  worktreeName?: string | undefined;
803
914
  initialPrompt?: string | undefined;
804
915
  clientMessageId?: string | undefined;
805
- outputSchema?: Record<string, unknown> | undefined;
916
+ initialRunOptions?: {
917
+ extra?: {
918
+ codex?: {
919
+ planMode?: boolean | undefined;
920
+ } | undefined;
921
+ } | undefined;
922
+ outputSchema?: unknown;
923
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
924
+ maxThinkingTokens?: number | undefined;
925
+ } | undefined;
806
926
  git?: {
807
927
  baseBranch?: string | undefined;
808
928
  worktreeSlug?: string | undefined;
@@ -2323,6 +2443,46 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2323
2443
  data: string;
2324
2444
  mimeType: string;
2325
2445
  }>, "many">>;
2446
+ runOptions: z.ZodOptional<z.ZodObject<{
2447
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
2448
+ resumeFrom: z.ZodOptional<z.ZodType<AgentPersistenceHandle | null, z.ZodTypeDef, AgentPersistenceHandle | null>>;
2449
+ maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
2450
+ extra: z.ZodOptional<z.ZodObject<{
2451
+ codex: z.ZodOptional<z.ZodObject<{
2452
+ planMode: z.ZodOptional<z.ZodBoolean>;
2453
+ }, "strip", z.ZodTypeAny, {
2454
+ planMode?: boolean | undefined;
2455
+ }, {
2456
+ planMode?: boolean | undefined;
2457
+ }>>;
2458
+ }, "strip", z.ZodTypeAny, {
2459
+ codex?: {
2460
+ planMode?: boolean | undefined;
2461
+ } | undefined;
2462
+ }, {
2463
+ codex?: {
2464
+ planMode?: boolean | undefined;
2465
+ } | undefined;
2466
+ }>>;
2467
+ }, "strip", z.ZodTypeAny, {
2468
+ extra?: {
2469
+ codex?: {
2470
+ planMode?: boolean | undefined;
2471
+ } | undefined;
2472
+ } | undefined;
2473
+ outputSchema?: unknown;
2474
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
2475
+ maxThinkingTokens?: number | undefined;
2476
+ }, {
2477
+ extra?: {
2478
+ codex?: {
2479
+ planMode?: boolean | undefined;
2480
+ } | undefined;
2481
+ } | undefined;
2482
+ outputSchema?: unknown;
2483
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
2484
+ maxThinkingTokens?: number | undefined;
2485
+ }>>;
2326
2486
  }, "strip", z.ZodTypeAny, {
2327
2487
  agentId: string;
2328
2488
  text: string;
@@ -2333,6 +2493,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2333
2493
  data: string;
2334
2494
  mimeType: string;
2335
2495
  }[] | undefined;
2496
+ runOptions?: {
2497
+ extra?: {
2498
+ codex?: {
2499
+ planMode?: boolean | undefined;
2500
+ } | undefined;
2501
+ } | undefined;
2502
+ outputSchema?: unknown;
2503
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
2504
+ maxThinkingTokens?: number | undefined;
2505
+ } | undefined;
2336
2506
  }, {
2337
2507
  agentId: string;
2338
2508
  text: string;
@@ -2343,6 +2513,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2343
2513
  data: string;
2344
2514
  mimeType: string;
2345
2515
  }[] | undefined;
2516
+ runOptions?: {
2517
+ extra?: {
2518
+ codex?: {
2519
+ planMode?: boolean | undefined;
2520
+ } | undefined;
2521
+ } | undefined;
2522
+ outputSchema?: unknown;
2523
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
2524
+ maxThinkingTokens?: number | undefined;
2525
+ } | undefined;
2346
2526
  }>, z.ZodObject<{
2347
2527
  type: z.ZodLiteral<"wait_for_finish_request">;
2348
2528
  requestId: z.ZodString;
@@ -2488,6 +2668,46 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2488
2668
  initialPrompt: z.ZodOptional<z.ZodString>;
2489
2669
  clientMessageId: z.ZodOptional<z.ZodString>;
2490
2670
  outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2671
+ initialRunOptions: z.ZodOptional<z.ZodObject<{
2672
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
2673
+ resumeFrom: z.ZodOptional<z.ZodType<AgentPersistenceHandle | null, z.ZodTypeDef, AgentPersistenceHandle | null>>;
2674
+ maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
2675
+ extra: z.ZodOptional<z.ZodObject<{
2676
+ codex: z.ZodOptional<z.ZodObject<{
2677
+ planMode: z.ZodOptional<z.ZodBoolean>;
2678
+ }, "strip", z.ZodTypeAny, {
2679
+ planMode?: boolean | undefined;
2680
+ }, {
2681
+ planMode?: boolean | undefined;
2682
+ }>>;
2683
+ }, "strip", z.ZodTypeAny, {
2684
+ codex?: {
2685
+ planMode?: boolean | undefined;
2686
+ } | undefined;
2687
+ }, {
2688
+ codex?: {
2689
+ planMode?: boolean | undefined;
2690
+ } | undefined;
2691
+ }>>;
2692
+ }, "strip", z.ZodTypeAny, {
2693
+ extra?: {
2694
+ codex?: {
2695
+ planMode?: boolean | undefined;
2696
+ } | undefined;
2697
+ } | undefined;
2698
+ outputSchema?: unknown;
2699
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
2700
+ maxThinkingTokens?: number | undefined;
2701
+ }, {
2702
+ extra?: {
2703
+ codex?: {
2704
+ planMode?: boolean | undefined;
2705
+ } | undefined;
2706
+ } | undefined;
2707
+ outputSchema?: unknown;
2708
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
2709
+ maxThinkingTokens?: number | undefined;
2710
+ }>>;
2491
2711
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
2492
2712
  data: z.ZodString;
2493
2713
  mimeType: z.ZodString;
@@ -2560,6 +2780,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2560
2780
  };
2561
2781
  requestId: string;
2562
2782
  generalPreferencesApplied?: boolean | undefined;
2783
+ outputSchema?: Record<string, unknown> | undefined;
2563
2784
  images?: {
2564
2785
  data: string;
2565
2786
  mimeType: string;
@@ -2567,7 +2788,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2567
2788
  worktreeName?: string | undefined;
2568
2789
  initialPrompt?: string | undefined;
2569
2790
  clientMessageId?: string | undefined;
2570
- outputSchema?: Record<string, unknown> | undefined;
2791
+ initialRunOptions?: {
2792
+ extra?: {
2793
+ codex?: {
2794
+ planMode?: boolean | undefined;
2795
+ } | undefined;
2796
+ } | undefined;
2797
+ outputSchema?: unknown;
2798
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
2799
+ maxThinkingTokens?: number | undefined;
2800
+ } | undefined;
2571
2801
  git?: {
2572
2802
  baseBranch?: string | undefined;
2573
2803
  worktreeSlug?: string | undefined;
@@ -2613,6 +2843,7 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2613
2843
  requestId: string;
2614
2844
  labels?: Record<string, string> | undefined;
2615
2845
  generalPreferencesApplied?: boolean | undefined;
2846
+ outputSchema?: Record<string, unknown> | undefined;
2616
2847
  images?: {
2617
2848
  data: string;
2618
2849
  mimeType: string;
@@ -2620,7 +2851,16 @@ export declare const SessionInboundMessageSchema: z.ZodDiscriminatedUnion<"type"
2620
2851
  worktreeName?: string | undefined;
2621
2852
  initialPrompt?: string | undefined;
2622
2853
  clientMessageId?: string | undefined;
2623
- outputSchema?: Record<string, unknown> | undefined;
2854
+ initialRunOptions?: {
2855
+ extra?: {
2856
+ codex?: {
2857
+ planMode?: boolean | undefined;
2858
+ } | undefined;
2859
+ } | undefined;
2860
+ outputSchema?: unknown;
2861
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
2862
+ maxThinkingTokens?: number | undefined;
2863
+ } | undefined;
2624
2864
  git?: {
2625
2865
  baseBranch?: string | undefined;
2626
2866
  worktreeSlug?: string | undefined;
@@ -18885,6 +19125,46 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
18885
19125
  data: string;
18886
19126
  mimeType: string;
18887
19127
  }>, "many">>;
19128
+ runOptions: z.ZodOptional<z.ZodObject<{
19129
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
19130
+ resumeFrom: z.ZodOptional<z.ZodType<AgentPersistenceHandle | null, z.ZodTypeDef, AgentPersistenceHandle | null>>;
19131
+ maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
19132
+ extra: z.ZodOptional<z.ZodObject<{
19133
+ codex: z.ZodOptional<z.ZodObject<{
19134
+ planMode: z.ZodOptional<z.ZodBoolean>;
19135
+ }, "strip", z.ZodTypeAny, {
19136
+ planMode?: boolean | undefined;
19137
+ }, {
19138
+ planMode?: boolean | undefined;
19139
+ }>>;
19140
+ }, "strip", z.ZodTypeAny, {
19141
+ codex?: {
19142
+ planMode?: boolean | undefined;
19143
+ } | undefined;
19144
+ }, {
19145
+ codex?: {
19146
+ planMode?: boolean | undefined;
19147
+ } | undefined;
19148
+ }>>;
19149
+ }, "strip", z.ZodTypeAny, {
19150
+ extra?: {
19151
+ codex?: {
19152
+ planMode?: boolean | undefined;
19153
+ } | undefined;
19154
+ } | undefined;
19155
+ outputSchema?: unknown;
19156
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
19157
+ maxThinkingTokens?: number | undefined;
19158
+ }, {
19159
+ extra?: {
19160
+ codex?: {
19161
+ planMode?: boolean | undefined;
19162
+ } | undefined;
19163
+ } | undefined;
19164
+ outputSchema?: unknown;
19165
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
19166
+ maxThinkingTokens?: number | undefined;
19167
+ }>>;
18888
19168
  }, "strip", z.ZodTypeAny, {
18889
19169
  agentId: string;
18890
19170
  text: string;
@@ -18895,6 +19175,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
18895
19175
  data: string;
18896
19176
  mimeType: string;
18897
19177
  }[] | undefined;
19178
+ runOptions?: {
19179
+ extra?: {
19180
+ codex?: {
19181
+ planMode?: boolean | undefined;
19182
+ } | undefined;
19183
+ } | undefined;
19184
+ outputSchema?: unknown;
19185
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
19186
+ maxThinkingTokens?: number | undefined;
19187
+ } | undefined;
18898
19188
  }, {
18899
19189
  agentId: string;
18900
19190
  text: string;
@@ -18905,6 +19195,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
18905
19195
  data: string;
18906
19196
  mimeType: string;
18907
19197
  }[] | undefined;
19198
+ runOptions?: {
19199
+ extra?: {
19200
+ codex?: {
19201
+ planMode?: boolean | undefined;
19202
+ } | undefined;
19203
+ } | undefined;
19204
+ outputSchema?: unknown;
19205
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
19206
+ maxThinkingTokens?: number | undefined;
19207
+ } | undefined;
18908
19208
  }>, z.ZodObject<{
18909
19209
  type: z.ZodLiteral<"wait_for_finish_request">;
18910
19210
  requestId: z.ZodString;
@@ -19050,6 +19350,46 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19050
19350
  initialPrompt: z.ZodOptional<z.ZodString>;
19051
19351
  clientMessageId: z.ZodOptional<z.ZodString>;
19052
19352
  outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
19353
+ initialRunOptions: z.ZodOptional<z.ZodObject<{
19354
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
19355
+ resumeFrom: z.ZodOptional<z.ZodType<AgentPersistenceHandle | null, z.ZodTypeDef, AgentPersistenceHandle | null>>;
19356
+ maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
19357
+ extra: z.ZodOptional<z.ZodObject<{
19358
+ codex: z.ZodOptional<z.ZodObject<{
19359
+ planMode: z.ZodOptional<z.ZodBoolean>;
19360
+ }, "strip", z.ZodTypeAny, {
19361
+ planMode?: boolean | undefined;
19362
+ }, {
19363
+ planMode?: boolean | undefined;
19364
+ }>>;
19365
+ }, "strip", z.ZodTypeAny, {
19366
+ codex?: {
19367
+ planMode?: boolean | undefined;
19368
+ } | undefined;
19369
+ }, {
19370
+ codex?: {
19371
+ planMode?: boolean | undefined;
19372
+ } | undefined;
19373
+ }>>;
19374
+ }, "strip", z.ZodTypeAny, {
19375
+ extra?: {
19376
+ codex?: {
19377
+ planMode?: boolean | undefined;
19378
+ } | undefined;
19379
+ } | undefined;
19380
+ outputSchema?: unknown;
19381
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
19382
+ maxThinkingTokens?: number | undefined;
19383
+ }, {
19384
+ extra?: {
19385
+ codex?: {
19386
+ planMode?: boolean | undefined;
19387
+ } | undefined;
19388
+ } | undefined;
19389
+ outputSchema?: unknown;
19390
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
19391
+ maxThinkingTokens?: number | undefined;
19392
+ }>>;
19053
19393
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
19054
19394
  data: z.ZodString;
19055
19395
  mimeType: z.ZodString;
@@ -19122,6 +19462,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19122
19462
  };
19123
19463
  requestId: string;
19124
19464
  generalPreferencesApplied?: boolean | undefined;
19465
+ outputSchema?: Record<string, unknown> | undefined;
19125
19466
  images?: {
19126
19467
  data: string;
19127
19468
  mimeType: string;
@@ -19129,7 +19470,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19129
19470
  worktreeName?: string | undefined;
19130
19471
  initialPrompt?: string | undefined;
19131
19472
  clientMessageId?: string | undefined;
19132
- outputSchema?: Record<string, unknown> | undefined;
19473
+ initialRunOptions?: {
19474
+ extra?: {
19475
+ codex?: {
19476
+ planMode?: boolean | undefined;
19477
+ } | undefined;
19478
+ } | undefined;
19479
+ outputSchema?: unknown;
19480
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
19481
+ maxThinkingTokens?: number | undefined;
19482
+ } | undefined;
19133
19483
  git?: {
19134
19484
  baseBranch?: string | undefined;
19135
19485
  worktreeSlug?: string | undefined;
@@ -19175,6 +19525,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19175
19525
  requestId: string;
19176
19526
  labels?: Record<string, string> | undefined;
19177
19527
  generalPreferencesApplied?: boolean | undefined;
19528
+ outputSchema?: Record<string, unknown> | undefined;
19178
19529
  images?: {
19179
19530
  data: string;
19180
19531
  mimeType: string;
@@ -19182,7 +19533,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
19182
19533
  worktreeName?: string | undefined;
19183
19534
  initialPrompt?: string | undefined;
19184
19535
  clientMessageId?: string | undefined;
19185
- outputSchema?: Record<string, unknown> | undefined;
19536
+ initialRunOptions?: {
19537
+ extra?: {
19538
+ codex?: {
19539
+ planMode?: boolean | undefined;
19540
+ } | undefined;
19541
+ } | undefined;
19542
+ outputSchema?: unknown;
19543
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
19544
+ maxThinkingTokens?: number | undefined;
19545
+ } | undefined;
19186
19546
  git?: {
19187
19547
  baseBranch?: string | undefined;
19188
19548
  worktreeSlug?: string | undefined;
@@ -20368,6 +20728,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20368
20728
  data: string;
20369
20729
  mimeType: string;
20370
20730
  }[] | undefined;
20731
+ runOptions?: {
20732
+ extra?: {
20733
+ codex?: {
20734
+ planMode?: boolean | undefined;
20735
+ } | undefined;
20736
+ } | undefined;
20737
+ outputSchema?: unknown;
20738
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
20739
+ maxThinkingTokens?: number | undefined;
20740
+ } | undefined;
20371
20741
  } | {
20372
20742
  agentId: string;
20373
20743
  type: "wait_for_finish_request";
@@ -20409,6 +20779,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20409
20779
  };
20410
20780
  requestId: string;
20411
20781
  generalPreferencesApplied?: boolean | undefined;
20782
+ outputSchema?: Record<string, unknown> | undefined;
20412
20783
  images?: {
20413
20784
  data: string;
20414
20785
  mimeType: string;
@@ -20416,7 +20787,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20416
20787
  worktreeName?: string | undefined;
20417
20788
  initialPrompt?: string | undefined;
20418
20789
  clientMessageId?: string | undefined;
20419
- outputSchema?: Record<string, unknown> | undefined;
20790
+ initialRunOptions?: {
20791
+ extra?: {
20792
+ codex?: {
20793
+ planMode?: boolean | undefined;
20794
+ } | undefined;
20795
+ } | undefined;
20796
+ outputSchema?: unknown;
20797
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
20798
+ maxThinkingTokens?: number | undefined;
20799
+ } | undefined;
20420
20800
  git?: {
20421
20801
  baseBranch?: string | undefined;
20422
20802
  worktreeSlug?: string | undefined;
@@ -20811,6 +21191,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20811
21191
  data: string;
20812
21192
  mimeType: string;
20813
21193
  }[] | undefined;
21194
+ runOptions?: {
21195
+ extra?: {
21196
+ codex?: {
21197
+ planMode?: boolean | undefined;
21198
+ } | undefined;
21199
+ } | undefined;
21200
+ outputSchema?: unknown;
21201
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
21202
+ maxThinkingTokens?: number | undefined;
21203
+ } | undefined;
20814
21204
  } | {
20815
21205
  agentId: string;
20816
21206
  type: "wait_for_finish_request";
@@ -20852,6 +21242,7 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20852
21242
  requestId: string;
20853
21243
  labels?: Record<string, string> | undefined;
20854
21244
  generalPreferencesApplied?: boolean | undefined;
21245
+ outputSchema?: Record<string, unknown> | undefined;
20855
21246
  images?: {
20856
21247
  data: string;
20857
21248
  mimeType: string;
@@ -20859,7 +21250,16 @@ export declare const WSSessionInboundSchema: z.ZodObject<{
20859
21250
  worktreeName?: string | undefined;
20860
21251
  initialPrompt?: string | undefined;
20861
21252
  clientMessageId?: string | undefined;
20862
- outputSchema?: Record<string, unknown> | undefined;
21253
+ initialRunOptions?: {
21254
+ extra?: {
21255
+ codex?: {
21256
+ planMode?: boolean | undefined;
21257
+ } | undefined;
21258
+ } | undefined;
21259
+ outputSchema?: unknown;
21260
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
21261
+ maxThinkingTokens?: number | undefined;
21262
+ } | undefined;
20863
21263
  git?: {
20864
21264
  baseBranch?: string | undefined;
20865
21265
  worktreeSlug?: string | undefined;
@@ -30462,6 +30862,46 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
30462
30862
  data: string;
30463
30863
  mimeType: string;
30464
30864
  }>, "many">>;
30865
+ runOptions: z.ZodOptional<z.ZodObject<{
30866
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
30867
+ resumeFrom: z.ZodOptional<z.ZodType<AgentPersistenceHandle | null, z.ZodTypeDef, AgentPersistenceHandle | null>>;
30868
+ maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
30869
+ extra: z.ZodOptional<z.ZodObject<{
30870
+ codex: z.ZodOptional<z.ZodObject<{
30871
+ planMode: z.ZodOptional<z.ZodBoolean>;
30872
+ }, "strip", z.ZodTypeAny, {
30873
+ planMode?: boolean | undefined;
30874
+ }, {
30875
+ planMode?: boolean | undefined;
30876
+ }>>;
30877
+ }, "strip", z.ZodTypeAny, {
30878
+ codex?: {
30879
+ planMode?: boolean | undefined;
30880
+ } | undefined;
30881
+ }, {
30882
+ codex?: {
30883
+ planMode?: boolean | undefined;
30884
+ } | undefined;
30885
+ }>>;
30886
+ }, "strip", z.ZodTypeAny, {
30887
+ extra?: {
30888
+ codex?: {
30889
+ planMode?: boolean | undefined;
30890
+ } | undefined;
30891
+ } | undefined;
30892
+ outputSchema?: unknown;
30893
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
30894
+ maxThinkingTokens?: number | undefined;
30895
+ }, {
30896
+ extra?: {
30897
+ codex?: {
30898
+ planMode?: boolean | undefined;
30899
+ } | undefined;
30900
+ } | undefined;
30901
+ outputSchema?: unknown;
30902
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
30903
+ maxThinkingTokens?: number | undefined;
30904
+ }>>;
30465
30905
  }, "strip", z.ZodTypeAny, {
30466
30906
  agentId: string;
30467
30907
  text: string;
@@ -30472,6 +30912,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
30472
30912
  data: string;
30473
30913
  mimeType: string;
30474
30914
  }[] | undefined;
30915
+ runOptions?: {
30916
+ extra?: {
30917
+ codex?: {
30918
+ planMode?: boolean | undefined;
30919
+ } | undefined;
30920
+ } | undefined;
30921
+ outputSchema?: unknown;
30922
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
30923
+ maxThinkingTokens?: number | undefined;
30924
+ } | undefined;
30475
30925
  }, {
30476
30926
  agentId: string;
30477
30927
  text: string;
@@ -30482,6 +30932,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
30482
30932
  data: string;
30483
30933
  mimeType: string;
30484
30934
  }[] | undefined;
30935
+ runOptions?: {
30936
+ extra?: {
30937
+ codex?: {
30938
+ planMode?: boolean | undefined;
30939
+ } | undefined;
30940
+ } | undefined;
30941
+ outputSchema?: unknown;
30942
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
30943
+ maxThinkingTokens?: number | undefined;
30944
+ } | undefined;
30485
30945
  }>, z.ZodObject<{
30486
30946
  type: z.ZodLiteral<"wait_for_finish_request">;
30487
30947
  requestId: z.ZodString;
@@ -30627,6 +31087,46 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
30627
31087
  initialPrompt: z.ZodOptional<z.ZodString>;
30628
31088
  clientMessageId: z.ZodOptional<z.ZodString>;
30629
31089
  outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
31090
+ initialRunOptions: z.ZodOptional<z.ZodObject<{
31091
+ outputSchema: z.ZodOptional<z.ZodUnknown>;
31092
+ resumeFrom: z.ZodOptional<z.ZodType<AgentPersistenceHandle | null, z.ZodTypeDef, AgentPersistenceHandle | null>>;
31093
+ maxThinkingTokens: z.ZodOptional<z.ZodNumber>;
31094
+ extra: z.ZodOptional<z.ZodObject<{
31095
+ codex: z.ZodOptional<z.ZodObject<{
31096
+ planMode: z.ZodOptional<z.ZodBoolean>;
31097
+ }, "strip", z.ZodTypeAny, {
31098
+ planMode?: boolean | undefined;
31099
+ }, {
31100
+ planMode?: boolean | undefined;
31101
+ }>>;
31102
+ }, "strip", z.ZodTypeAny, {
31103
+ codex?: {
31104
+ planMode?: boolean | undefined;
31105
+ } | undefined;
31106
+ }, {
31107
+ codex?: {
31108
+ planMode?: boolean | undefined;
31109
+ } | undefined;
31110
+ }>>;
31111
+ }, "strip", z.ZodTypeAny, {
31112
+ extra?: {
31113
+ codex?: {
31114
+ planMode?: boolean | undefined;
31115
+ } | undefined;
31116
+ } | undefined;
31117
+ outputSchema?: unknown;
31118
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
31119
+ maxThinkingTokens?: number | undefined;
31120
+ }, {
31121
+ extra?: {
31122
+ codex?: {
31123
+ planMode?: boolean | undefined;
31124
+ } | undefined;
31125
+ } | undefined;
31126
+ outputSchema?: unknown;
31127
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
31128
+ maxThinkingTokens?: number | undefined;
31129
+ }>>;
30630
31130
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
30631
31131
  data: z.ZodString;
30632
31132
  mimeType: z.ZodString;
@@ -30699,6 +31199,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
30699
31199
  };
30700
31200
  requestId: string;
30701
31201
  generalPreferencesApplied?: boolean | undefined;
31202
+ outputSchema?: Record<string, unknown> | undefined;
30702
31203
  images?: {
30703
31204
  data: string;
30704
31205
  mimeType: string;
@@ -30706,7 +31207,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
30706
31207
  worktreeName?: string | undefined;
30707
31208
  initialPrompt?: string | undefined;
30708
31209
  clientMessageId?: string | undefined;
30709
- outputSchema?: Record<string, unknown> | undefined;
31210
+ initialRunOptions?: {
31211
+ extra?: {
31212
+ codex?: {
31213
+ planMode?: boolean | undefined;
31214
+ } | undefined;
31215
+ } | undefined;
31216
+ outputSchema?: unknown;
31217
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
31218
+ maxThinkingTokens?: number | undefined;
31219
+ } | undefined;
30710
31220
  git?: {
30711
31221
  baseBranch?: string | undefined;
30712
31222
  worktreeSlug?: string | undefined;
@@ -30752,6 +31262,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
30752
31262
  requestId: string;
30753
31263
  labels?: Record<string, string> | undefined;
30754
31264
  generalPreferencesApplied?: boolean | undefined;
31265
+ outputSchema?: Record<string, unknown> | undefined;
30755
31266
  images?: {
30756
31267
  data: string;
30757
31268
  mimeType: string;
@@ -30759,7 +31270,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
30759
31270
  worktreeName?: string | undefined;
30760
31271
  initialPrompt?: string | undefined;
30761
31272
  clientMessageId?: string | undefined;
30762
- outputSchema?: Record<string, unknown> | undefined;
31273
+ initialRunOptions?: {
31274
+ extra?: {
31275
+ codex?: {
31276
+ planMode?: boolean | undefined;
31277
+ } | undefined;
31278
+ } | undefined;
31279
+ outputSchema?: unknown;
31280
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
31281
+ maxThinkingTokens?: number | undefined;
31282
+ } | undefined;
30763
31283
  git?: {
30764
31284
  baseBranch?: string | undefined;
30765
31285
  worktreeSlug?: string | undefined;
@@ -31945,6 +32465,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31945
32465
  data: string;
31946
32466
  mimeType: string;
31947
32467
  }[] | undefined;
32468
+ runOptions?: {
32469
+ extra?: {
32470
+ codex?: {
32471
+ planMode?: boolean | undefined;
32472
+ } | undefined;
32473
+ } | undefined;
32474
+ outputSchema?: unknown;
32475
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
32476
+ maxThinkingTokens?: number | undefined;
32477
+ } | undefined;
31948
32478
  } | {
31949
32479
  agentId: string;
31950
32480
  type: "wait_for_finish_request";
@@ -31986,6 +32516,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31986
32516
  };
31987
32517
  requestId: string;
31988
32518
  generalPreferencesApplied?: boolean | undefined;
32519
+ outputSchema?: Record<string, unknown> | undefined;
31989
32520
  images?: {
31990
32521
  data: string;
31991
32522
  mimeType: string;
@@ -31993,7 +32524,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
31993
32524
  worktreeName?: string | undefined;
31994
32525
  initialPrompt?: string | undefined;
31995
32526
  clientMessageId?: string | undefined;
31996
- outputSchema?: Record<string, unknown> | undefined;
32527
+ initialRunOptions?: {
32528
+ extra?: {
32529
+ codex?: {
32530
+ planMode?: boolean | undefined;
32531
+ } | undefined;
32532
+ } | undefined;
32533
+ outputSchema?: unknown;
32534
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
32535
+ maxThinkingTokens?: number | undefined;
32536
+ } | undefined;
31997
32537
  git?: {
31998
32538
  baseBranch?: string | undefined;
31999
32539
  worktreeSlug?: string | undefined;
@@ -32388,6 +32928,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32388
32928
  data: string;
32389
32929
  mimeType: string;
32390
32930
  }[] | undefined;
32931
+ runOptions?: {
32932
+ extra?: {
32933
+ codex?: {
32934
+ planMode?: boolean | undefined;
32935
+ } | undefined;
32936
+ } | undefined;
32937
+ outputSchema?: unknown;
32938
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
32939
+ maxThinkingTokens?: number | undefined;
32940
+ } | undefined;
32391
32941
  } | {
32392
32942
  agentId: string;
32393
32943
  type: "wait_for_finish_request";
@@ -32429,6 +32979,7 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32429
32979
  requestId: string;
32430
32980
  labels?: Record<string, string> | undefined;
32431
32981
  generalPreferencesApplied?: boolean | undefined;
32982
+ outputSchema?: Record<string, unknown> | undefined;
32432
32983
  images?: {
32433
32984
  data: string;
32434
32985
  mimeType: string;
@@ -32436,7 +32987,16 @@ export declare const WSInboundMessageSchema: z.ZodDiscriminatedUnion<"type", [z.
32436
32987
  worktreeName?: string | undefined;
32437
32988
  initialPrompt?: string | undefined;
32438
32989
  clientMessageId?: string | undefined;
32439
- outputSchema?: Record<string, unknown> | undefined;
32990
+ initialRunOptions?: {
32991
+ extra?: {
32992
+ codex?: {
32993
+ planMode?: boolean | undefined;
32994
+ } | undefined;
32995
+ } | undefined;
32996
+ outputSchema?: unknown;
32997
+ resumeFrom?: AgentPersistenceHandle | null | undefined;
32998
+ maxThinkingTokens?: number | undefined;
32999
+ } | undefined;
32440
33000
  git?: {
32441
33001
  baseBranch?: string | undefined;
32442
33002
  worktreeSlug?: string | undefined;