@marketrix.ai/widget 3.3.237 → 3.3.239

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.
@@ -1001,7 +1001,14 @@ declare const contract: {
1001
1001
  agent_id: z.ZodNumber;
1002
1002
  job_id: z.ZodString;
1003
1003
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1004
- status: z.ZodString;
1004
+ status: z.ZodEnum<{
1005
+ completed: "completed";
1006
+ failed: "failed";
1007
+ queued: "queued";
1008
+ running: "running";
1009
+ creating_knowledge: "creating_knowledge";
1010
+ stopped: "stopped";
1011
+ }>;
1005
1012
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1006
1013
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1007
1014
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1020,10 +1027,10 @@ declare const contract: {
1020
1027
  status: z.ZodEnum<{
1021
1028
  pending: "pending";
1022
1029
  failed: "failed";
1023
- has_question: "has_question";
1024
- passed: "passed";
1025
1030
  running: "running";
1026
1031
  stopped: "stopped";
1032
+ has_question: "has_question";
1033
+ passed: "passed";
1027
1034
  skipped: "skipped";
1028
1035
  }>;
1029
1036
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1044,7 +1051,12 @@ declare const contract: {
1044
1051
  agent_name: z.ZodString;
1045
1052
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1046
1053
  }, z.core.$strip>>>;
1047
- mindmap_status: z.ZodOptional<z.ZodString>;
1054
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
1055
+ pending: "pending";
1056
+ completed: "completed";
1057
+ failed: "failed";
1058
+ generating: "generating";
1059
+ }>>;
1048
1060
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
1049
1061
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
1050
1062
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2838,7 +2850,14 @@ declare const contract: {
2838
2850
  agent_id: z.ZodNumber;
2839
2851
  job_id: z.ZodString;
2840
2852
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2841
- status: z.ZodString;
2853
+ status: z.ZodEnum<{
2854
+ completed: "completed";
2855
+ failed: "failed";
2856
+ queued: "queued";
2857
+ running: "running";
2858
+ creating_knowledge: "creating_knowledge";
2859
+ stopped: "stopped";
2860
+ }>;
2842
2861
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2843
2862
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2844
2863
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2857,10 +2876,10 @@ declare const contract: {
2857
2876
  status: z.ZodEnum<{
2858
2877
  pending: "pending";
2859
2878
  failed: "failed";
2860
- has_question: "has_question";
2861
- passed: "passed";
2862
2879
  running: "running";
2863
2880
  stopped: "stopped";
2881
+ has_question: "has_question";
2882
+ passed: "passed";
2864
2883
  skipped: "skipped";
2865
2884
  }>;
2866
2885
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2881,7 +2900,12 @@ declare const contract: {
2881
2900
  agent_name: z.ZodString;
2882
2901
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2883
2902
  }, z.core.$strip>>>;
2884
- mindmap_status: z.ZodOptional<z.ZodString>;
2903
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
2904
+ pending: "pending";
2905
+ completed: "completed";
2906
+ failed: "failed";
2907
+ generating: "generating";
2908
+ }>>;
2885
2909
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
2886
2910
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
2887
2911
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3017,7 +3041,14 @@ declare const contract: {
3017
3041
  agent_id: z.ZodNumber;
3018
3042
  job_id: z.ZodString;
3019
3043
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3020
- status: z.ZodString;
3044
+ status: z.ZodEnum<{
3045
+ completed: "completed";
3046
+ failed: "failed";
3047
+ queued: "queued";
3048
+ running: "running";
3049
+ creating_knowledge: "creating_knowledge";
3050
+ stopped: "stopped";
3051
+ }>;
3021
3052
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3022
3053
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3023
3054
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3036,10 +3067,10 @@ declare const contract: {
3036
3067
  status: z.ZodEnum<{
3037
3068
  pending: "pending";
3038
3069
  failed: "failed";
3039
- has_question: "has_question";
3040
- passed: "passed";
3041
3070
  running: "running";
3042
3071
  stopped: "stopped";
3072
+ has_question: "has_question";
3073
+ passed: "passed";
3043
3074
  skipped: "skipped";
3044
3075
  }>;
3045
3076
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3060,7 +3091,12 @@ declare const contract: {
3060
3091
  agent_name: z.ZodString;
3061
3092
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3062
3093
  }, z.core.$strip>>>;
3063
- mindmap_status: z.ZodOptional<z.ZodString>;
3094
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
3095
+ pending: "pending";
3096
+ completed: "completed";
3097
+ failed: "failed";
3098
+ generating: "generating";
3099
+ }>>;
3064
3100
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
3065
3101
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
3066
3102
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3192,7 +3228,14 @@ declare const contract: {
3192
3228
  agent_id: z.ZodNumber;
3193
3229
  job_id: z.ZodString;
3194
3230
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3195
- status: z.ZodString;
3231
+ status: z.ZodEnum<{
3232
+ completed: "completed";
3233
+ failed: "failed";
3234
+ queued: "queued";
3235
+ running: "running";
3236
+ creating_knowledge: "creating_knowledge";
3237
+ stopped: "stopped";
3238
+ }>;
3196
3239
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3197
3240
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3198
3241
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3211,10 +3254,10 @@ declare const contract: {
3211
3254
  status: z.ZodEnum<{
3212
3255
  pending: "pending";
3213
3256
  failed: "failed";
3214
- has_question: "has_question";
3215
- passed: "passed";
3216
3257
  running: "running";
3217
3258
  stopped: "stopped";
3259
+ has_question: "has_question";
3260
+ passed: "passed";
3218
3261
  skipped: "skipped";
3219
3262
  }>;
3220
3263
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3235,7 +3278,12 @@ declare const contract: {
3235
3278
  agent_name: z.ZodString;
3236
3279
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3237
3280
  }, z.core.$strip>>>;
3238
- mindmap_status: z.ZodOptional<z.ZodString>;
3281
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
3282
+ pending: "pending";
3283
+ completed: "completed";
3284
+ failed: "failed";
3285
+ generating: "generating";
3286
+ }>>;
3239
3287
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
3240
3288
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
3241
3289
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3366,7 +3414,14 @@ declare const contract: {
3366
3414
  agent_id: z.ZodNumber;
3367
3415
  job_id: z.ZodString;
3368
3416
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3369
- status: z.ZodString;
3417
+ status: z.ZodEnum<{
3418
+ completed: "completed";
3419
+ failed: "failed";
3420
+ queued: "queued";
3421
+ running: "running";
3422
+ creating_knowledge: "creating_knowledge";
3423
+ stopped: "stopped";
3424
+ }>;
3370
3425
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3371
3426
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3372
3427
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3385,10 +3440,10 @@ declare const contract: {
3385
3440
  status: z.ZodEnum<{
3386
3441
  pending: "pending";
3387
3442
  failed: "failed";
3388
- has_question: "has_question";
3389
- passed: "passed";
3390
3443
  running: "running";
3391
3444
  stopped: "stopped";
3445
+ has_question: "has_question";
3446
+ passed: "passed";
3392
3447
  skipped: "skipped";
3393
3448
  }>;
3394
3449
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3409,7 +3464,12 @@ declare const contract: {
3409
3464
  agent_name: z.ZodString;
3410
3465
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3411
3466
  }, z.core.$strip>>>;
3412
- mindmap_status: z.ZodOptional<z.ZodString>;
3467
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
3468
+ pending: "pending";
3469
+ completed: "completed";
3470
+ failed: "failed";
3471
+ generating: "generating";
3472
+ }>>;
3413
3473
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
3414
3474
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
3415
3475
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3557,7 +3617,14 @@ declare const contract: {
3557
3617
  agent_id: z.ZodNumber;
3558
3618
  job_id: z.ZodString;
3559
3619
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3560
- status: z.ZodString;
3620
+ status: z.ZodEnum<{
3621
+ completed: "completed";
3622
+ failed: "failed";
3623
+ queued: "queued";
3624
+ running: "running";
3625
+ creating_knowledge: "creating_knowledge";
3626
+ stopped: "stopped";
3627
+ }>;
3561
3628
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3562
3629
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3563
3630
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3576,10 +3643,10 @@ declare const contract: {
3576
3643
  status: z.ZodEnum<{
3577
3644
  pending: "pending";
3578
3645
  failed: "failed";
3579
- has_question: "has_question";
3580
- passed: "passed";
3581
3646
  running: "running";
3582
3647
  stopped: "stopped";
3648
+ has_question: "has_question";
3649
+ passed: "passed";
3583
3650
  skipped: "skipped";
3584
3651
  }>;
3585
3652
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3600,7 +3667,12 @@ declare const contract: {
3600
3667
  agent_name: z.ZodString;
3601
3668
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3602
3669
  }, z.core.$strip>>>;
3603
- mindmap_status: z.ZodOptional<z.ZodString>;
3670
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
3671
+ pending: "pending";
3672
+ completed: "completed";
3673
+ failed: "failed";
3674
+ generating: "generating";
3675
+ }>>;
3604
3676
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
3605
3677
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
3606
3678
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3725,7 +3797,14 @@ declare const contract: {
3725
3797
  agent_id: z.ZodNumber;
3726
3798
  job_id: z.ZodString;
3727
3799
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3728
- status: z.ZodString;
3800
+ status: z.ZodEnum<{
3801
+ completed: "completed";
3802
+ failed: "failed";
3803
+ queued: "queued";
3804
+ running: "running";
3805
+ creating_knowledge: "creating_knowledge";
3806
+ stopped: "stopped";
3807
+ }>;
3729
3808
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3730
3809
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3731
3810
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3744,10 +3823,10 @@ declare const contract: {
3744
3823
  status: z.ZodEnum<{
3745
3824
  pending: "pending";
3746
3825
  failed: "failed";
3747
- has_question: "has_question";
3748
- passed: "passed";
3749
3826
  running: "running";
3750
3827
  stopped: "stopped";
3828
+ has_question: "has_question";
3829
+ passed: "passed";
3751
3830
  skipped: "skipped";
3752
3831
  }>;
3753
3832
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3768,7 +3847,12 @@ declare const contract: {
3768
3847
  agent_name: z.ZodString;
3769
3848
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3770
3849
  }, z.core.$strip>>>;
3771
- mindmap_status: z.ZodOptional<z.ZodString>;
3850
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
3851
+ pending: "pending";
3852
+ completed: "completed";
3853
+ failed: "failed";
3854
+ generating: "generating";
3855
+ }>>;
3772
3856
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
3773
3857
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
3774
3858
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3898,7 +3982,14 @@ declare const contract: {
3898
3982
  agent_id: z.ZodNumber;
3899
3983
  job_id: z.ZodString;
3900
3984
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3901
- status: z.ZodString;
3985
+ status: z.ZodEnum<{
3986
+ completed: "completed";
3987
+ failed: "failed";
3988
+ queued: "queued";
3989
+ running: "running";
3990
+ creating_knowledge: "creating_knowledge";
3991
+ stopped: "stopped";
3992
+ }>;
3902
3993
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3903
3994
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3904
3995
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3917,10 +4008,10 @@ declare const contract: {
3917
4008
  status: z.ZodEnum<{
3918
4009
  pending: "pending";
3919
4010
  failed: "failed";
3920
- has_question: "has_question";
3921
- passed: "passed";
3922
4011
  running: "running";
3923
4012
  stopped: "stopped";
4013
+ has_question: "has_question";
4014
+ passed: "passed";
3924
4015
  skipped: "skipped";
3925
4016
  }>;
3926
4017
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3941,7 +4032,12 @@ declare const contract: {
3941
4032
  agent_name: z.ZodString;
3942
4033
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3943
4034
  }, z.core.$strip>>>;
3944
- mindmap_status: z.ZodOptional<z.ZodString>;
4035
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
4036
+ pending: "pending";
4037
+ completed: "completed";
4038
+ failed: "failed";
4039
+ generating: "generating";
4040
+ }>>;
3945
4041
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
3946
4042
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
3947
4043
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4068,7 +4164,14 @@ declare const contract: {
4068
4164
  agent_id: z.ZodNumber;
4069
4165
  job_id: z.ZodString;
4070
4166
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4071
- status: z.ZodString;
4167
+ status: z.ZodEnum<{
4168
+ completed: "completed";
4169
+ failed: "failed";
4170
+ queued: "queued";
4171
+ running: "running";
4172
+ creating_knowledge: "creating_knowledge";
4173
+ stopped: "stopped";
4174
+ }>;
4072
4175
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4073
4176
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4074
4177
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4087,10 +4190,10 @@ declare const contract: {
4087
4190
  status: z.ZodEnum<{
4088
4191
  pending: "pending";
4089
4192
  failed: "failed";
4090
- has_question: "has_question";
4091
- passed: "passed";
4092
4193
  running: "running";
4093
4194
  stopped: "stopped";
4195
+ has_question: "has_question";
4196
+ passed: "passed";
4094
4197
  skipped: "skipped";
4095
4198
  }>;
4096
4199
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4111,7 +4214,12 @@ declare const contract: {
4111
4214
  agent_name: z.ZodString;
4112
4215
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4113
4216
  }, z.core.$strip>>>;
4114
- mindmap_status: z.ZodOptional<z.ZodString>;
4217
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
4218
+ pending: "pending";
4219
+ completed: "completed";
4220
+ failed: "failed";
4221
+ generating: "generating";
4222
+ }>>;
4115
4223
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
4116
4224
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
4117
4225
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4420,7 +4528,14 @@ declare const contract: {
4420
4528
  agent_id: z.ZodNumber;
4421
4529
  job_id: z.ZodString;
4422
4530
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4423
- status: z.ZodString;
4531
+ status: z.ZodEnum<{
4532
+ completed: "completed";
4533
+ failed: "failed";
4534
+ queued: "queued";
4535
+ running: "running";
4536
+ creating_knowledge: "creating_knowledge";
4537
+ stopped: "stopped";
4538
+ }>;
4424
4539
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4425
4540
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4426
4541
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4439,10 +4554,10 @@ declare const contract: {
4439
4554
  status: z.ZodEnum<{
4440
4555
  pending: "pending";
4441
4556
  failed: "failed";
4442
- has_question: "has_question";
4443
- passed: "passed";
4444
4557
  running: "running";
4445
4558
  stopped: "stopped";
4559
+ has_question: "has_question";
4560
+ passed: "passed";
4446
4561
  skipped: "skipped";
4447
4562
  }>;
4448
4563
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4463,7 +4578,12 @@ declare const contract: {
4463
4578
  agent_name: z.ZodString;
4464
4579
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4465
4580
  }, z.core.$strip>>>;
4466
- mindmap_status: z.ZodOptional<z.ZodString>;
4581
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
4582
+ pending: "pending";
4583
+ completed: "completed";
4584
+ failed: "failed";
4585
+ generating: "generating";
4586
+ }>>;
4467
4587
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
4468
4588
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
4469
4589
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4488,12 +4608,20 @@ declare const contract: {
4488
4608
  offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
4489
4609
  }, z.core.$strip>, z.ZodObject<{
4490
4610
  items: z.ZodArray<z.ZodObject<{
4611
+ has_question: z.ZodOptional<z.ZodBoolean>;
4491
4612
  id: z.ZodOptional<z.ZodNumber>;
4492
4613
  created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4493
4614
  updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
4494
4615
  application_id: z.ZodNumber;
4495
4616
  agent_id: z.ZodNumber;
4496
- status: z.ZodString;
4617
+ status: z.ZodEnum<{
4618
+ completed: "completed";
4619
+ failed: "failed";
4620
+ queued: "queued";
4621
+ running: "running";
4622
+ creating_knowledge: "creating_knowledge";
4623
+ stopped: "stopped";
4624
+ }>;
4497
4625
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4498
4626
  agent_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4499
4627
  source: z.ZodOptional<z.ZodEnum<{
@@ -4506,13 +4634,17 @@ declare const contract: {
4506
4634
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4507
4635
  }, z.core.$strip>>>;
4508
4636
  pinned: z.ZodOptional<z.ZodBoolean>;
4509
- has_question: z.ZodOptional<z.ZodBoolean>;
4510
4637
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4511
4638
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4512
4639
  job_id: z.ZodString;
4513
4640
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4514
4641
  graph_index_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4515
- mindmap_status: z.ZodOptional<z.ZodString>;
4642
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
4643
+ pending: "pending";
4644
+ completed: "completed";
4645
+ failed: "failed";
4646
+ generating: "generating";
4647
+ }>>;
4516
4648
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
4517
4649
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
4518
4650
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4524,10 +4656,18 @@ declare const contract: {
4524
4656
  offset: z.ZodNumber;
4525
4657
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
4526
4658
  simulationStart: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4659
+ has_question: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4527
4660
  id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4528
4661
  created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
4529
4662
  updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
4530
- status: z.ZodOptional<z.ZodString>;
4663
+ status: z.ZodOptional<z.ZodEnum<{
4664
+ completed: "completed";
4665
+ failed: "failed";
4666
+ queued: "queued";
4667
+ running: "running";
4668
+ creating_knowledge: "creating_knowledge";
4669
+ stopped: "stopped";
4670
+ }>>;
4531
4671
  path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4532
4672
  agent_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4533
4673
  source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
@@ -4541,12 +4681,16 @@ declare const contract: {
4541
4681
  }, z.core.$strip>>>>;
4542
4682
  pinned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4543
4683
  source_metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
4544
- has_question: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
4545
4684
  status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4546
4685
  job_id: z.ZodOptional<z.ZodString>;
4547
4686
  browser_session_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4548
4687
  graph_index_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
4549
- mindmap_status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4688
+ mindmap_status: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
4689
+ pending: "pending";
4690
+ completed: "completed";
4691
+ failed: "failed";
4692
+ generating: "generating";
4693
+ }>>>;
4550
4694
  mindmap_steps_processed: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4551
4695
  mindmap_steps_total: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
4552
4696
  mindmap_error: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
@@ -4570,7 +4714,14 @@ declare const contract: {
4570
4714
  agent_id: z.ZodNumber;
4571
4715
  job_id: z.ZodString;
4572
4716
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4573
- status: z.ZodString;
4717
+ status: z.ZodEnum<{
4718
+ completed: "completed";
4719
+ failed: "failed";
4720
+ queued: "queued";
4721
+ running: "running";
4722
+ creating_knowledge: "creating_knowledge";
4723
+ stopped: "stopped";
4724
+ }>;
4574
4725
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4575
4726
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4576
4727
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4589,10 +4740,10 @@ declare const contract: {
4589
4740
  status: z.ZodEnum<{
4590
4741
  pending: "pending";
4591
4742
  failed: "failed";
4592
- has_question: "has_question";
4593
- passed: "passed";
4594
4743
  running: "running";
4595
4744
  stopped: "stopped";
4745
+ has_question: "has_question";
4746
+ passed: "passed";
4596
4747
  skipped: "skipped";
4597
4748
  }>;
4598
4749
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4613,7 +4764,12 @@ declare const contract: {
4613
4764
  agent_name: z.ZodString;
4614
4765
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4615
4766
  }, z.core.$strip>>>;
4616
- mindmap_status: z.ZodOptional<z.ZodString>;
4767
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
4768
+ pending: "pending";
4769
+ completed: "completed";
4770
+ failed: "failed";
4771
+ generating: "generating";
4772
+ }>>;
4617
4773
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
4618
4774
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
4619
4775
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4623,7 +4779,14 @@ declare const contract: {
4623
4779
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
4624
4780
  simulationUpdate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
4625
4781
  job_id: z.ZodOptional<z.ZodString>;
4626
- status: z.ZodOptional<z.ZodString>;
4782
+ status: z.ZodOptional<z.ZodEnum<{
4783
+ completed: "completed";
4784
+ failed: "failed";
4785
+ queued: "queued";
4786
+ running: "running";
4787
+ creating_knowledge: "creating_knowledge";
4788
+ stopped: "stopped";
4789
+ }>>;
4627
4790
  status_message: z.ZodOptional<z.ZodString>;
4628
4791
  pinned: z.ZodOptional<z.ZodBoolean>;
4629
4792
  graph_index_id: z.ZodOptional<z.ZodString>;
@@ -4636,7 +4799,14 @@ declare const contract: {
4636
4799
  agent_id: z.ZodNumber;
4637
4800
  job_id: z.ZodString;
4638
4801
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4639
- status: z.ZodString;
4802
+ status: z.ZodEnum<{
4803
+ completed: "completed";
4804
+ failed: "failed";
4805
+ queued: "queued";
4806
+ running: "running";
4807
+ creating_knowledge: "creating_knowledge";
4808
+ stopped: "stopped";
4809
+ }>;
4640
4810
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4641
4811
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4642
4812
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4655,10 +4825,10 @@ declare const contract: {
4655
4825
  status: z.ZodEnum<{
4656
4826
  pending: "pending";
4657
4827
  failed: "failed";
4658
- has_question: "has_question";
4659
- passed: "passed";
4660
4828
  running: "running";
4661
4829
  stopped: "stopped";
4830
+ has_question: "has_question";
4831
+ passed: "passed";
4662
4832
  skipped: "skipped";
4663
4833
  }>;
4664
4834
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4679,7 +4849,12 @@ declare const contract: {
4679
4849
  agent_name: z.ZodString;
4680
4850
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4681
4851
  }, z.core.$strip>>>;
4682
- mindmap_status: z.ZodOptional<z.ZodString>;
4852
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
4853
+ pending: "pending";
4854
+ completed: "completed";
4855
+ failed: "failed";
4856
+ generating: "generating";
4857
+ }>>;
4683
4858
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
4684
4859
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
4685
4860
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4698,7 +4873,14 @@ declare const contract: {
4698
4873
  agent_id: z.ZodNumber;
4699
4874
  job_id: z.ZodString;
4700
4875
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4701
- status: z.ZodString;
4876
+ status: z.ZodEnum<{
4877
+ completed: "completed";
4878
+ failed: "failed";
4879
+ queued: "queued";
4880
+ running: "running";
4881
+ creating_knowledge: "creating_knowledge";
4882
+ stopped: "stopped";
4883
+ }>;
4702
4884
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4703
4885
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4704
4886
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4717,10 +4899,10 @@ declare const contract: {
4717
4899
  status: z.ZodEnum<{
4718
4900
  pending: "pending";
4719
4901
  failed: "failed";
4720
- has_question: "has_question";
4721
- passed: "passed";
4722
4902
  running: "running";
4723
4903
  stopped: "stopped";
4904
+ has_question: "has_question";
4905
+ passed: "passed";
4724
4906
  skipped: "skipped";
4725
4907
  }>;
4726
4908
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4741,7 +4923,12 @@ declare const contract: {
4741
4923
  agent_name: z.ZodString;
4742
4924
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4743
4925
  }, z.core.$strip>>>;
4744
- mindmap_status: z.ZodOptional<z.ZodString>;
4926
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
4927
+ pending: "pending";
4928
+ completed: "completed";
4929
+ failed: "failed";
4930
+ generating: "generating";
4931
+ }>>;
4745
4932
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
4746
4933
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
4747
4934
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4756,7 +4943,14 @@ declare const contract: {
4756
4943
  items: z.ZodArray<z.ZodObject<{
4757
4944
  id: z.ZodNumber;
4758
4945
  simulation_id: z.ZodNumber;
4759
- status: z.ZodString;
4946
+ status: z.ZodEnum<{
4947
+ completed: "completed";
4948
+ failed: "failed";
4949
+ queued: "queued";
4950
+ running: "running";
4951
+ stopped: "stopped";
4952
+ has_question: "has_question";
4953
+ }>;
4760
4954
  status_message: z.ZodNullable<z.ZodString>;
4761
4955
  skill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4762
4956
  screenshot_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4792,8 +4986,8 @@ declare const contract: {
4792
4986
  status: z.ZodDefault<z.ZodEnum<{
4793
4987
  completed: "completed";
4794
4988
  failed: "failed";
4795
- has_question: "has_question";
4796
4989
  running: "running";
4990
+ has_question: "has_question";
4797
4991
  }>>;
4798
4992
  started_at: z.ZodString;
4799
4993
  ended_at: z.ZodString;
@@ -5785,11 +5979,11 @@ declare const contract: {
5785
5979
  simulation_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5786
5980
  status: z.ZodEnum<{
5787
5981
  failed: "failed";
5788
- passed: "passed";
5789
- needs_healing: "needs_healing";
5790
5982
  queued: "queued";
5791
5983
  running: "running";
5792
5984
  stopped: "stopped";
5985
+ passed: "passed";
5986
+ needs_healing: "needs_healing";
5793
5987
  }>;
5794
5988
  verdict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5795
5989
  proposed_steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
@@ -6077,7 +6271,14 @@ declare const contract: {
6077
6271
  agent_id: z.ZodNumber;
6078
6272
  job_id: z.ZodString;
6079
6273
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6080
- status: z.ZodString;
6274
+ status: z.ZodEnum<{
6275
+ completed: "completed";
6276
+ failed: "failed";
6277
+ queued: "queued";
6278
+ running: "running";
6279
+ creating_knowledge: "creating_knowledge";
6280
+ stopped: "stopped";
6281
+ }>;
6081
6282
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6082
6283
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6083
6284
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6096,10 +6297,10 @@ declare const contract: {
6096
6297
  status: z.ZodEnum<{
6097
6298
  pending: "pending";
6098
6299
  failed: "failed";
6099
- has_question: "has_question";
6100
- passed: "passed";
6101
6300
  running: "running";
6102
6301
  stopped: "stopped";
6302
+ has_question: "has_question";
6303
+ passed: "passed";
6103
6304
  skipped: "skipped";
6104
6305
  }>;
6105
6306
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6120,7 +6321,12 @@ declare const contract: {
6120
6321
  agent_name: z.ZodString;
6121
6322
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6122
6323
  }, z.core.$strip>>>;
6123
- mindmap_status: z.ZodOptional<z.ZodString>;
6324
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
6325
+ pending: "pending";
6326
+ completed: "completed";
6327
+ failed: "failed";
6328
+ generating: "generating";
6329
+ }>>;
6124
6330
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
6125
6331
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
6126
6332
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6140,7 +6346,14 @@ declare const contract: {
6140
6346
  agent_id: z.ZodNumber;
6141
6347
  job_id: z.ZodString;
6142
6348
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6143
- status: z.ZodString;
6349
+ status: z.ZodEnum<{
6350
+ completed: "completed";
6351
+ failed: "failed";
6352
+ queued: "queued";
6353
+ running: "running";
6354
+ creating_knowledge: "creating_knowledge";
6355
+ stopped: "stopped";
6356
+ }>;
6144
6357
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6145
6358
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6146
6359
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6159,10 +6372,10 @@ declare const contract: {
6159
6372
  status: z.ZodEnum<{
6160
6373
  pending: "pending";
6161
6374
  failed: "failed";
6162
- has_question: "has_question";
6163
- passed: "passed";
6164
6375
  running: "running";
6165
6376
  stopped: "stopped";
6377
+ has_question: "has_question";
6378
+ passed: "passed";
6166
6379
  skipped: "skipped";
6167
6380
  }>;
6168
6381
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6183,7 +6396,12 @@ declare const contract: {
6183
6396
  agent_name: z.ZodString;
6184
6397
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6185
6398
  }, z.core.$strip>>>;
6186
- mindmap_status: z.ZodOptional<z.ZodString>;
6399
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
6400
+ pending: "pending";
6401
+ completed: "completed";
6402
+ failed: "failed";
6403
+ generating: "generating";
6404
+ }>>;
6187
6405
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
6188
6406
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
6189
6407
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6204,7 +6422,14 @@ declare const contract: {
6204
6422
  agent_id: z.ZodNumber;
6205
6423
  job_id: z.ZodString;
6206
6424
  browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6207
- status: z.ZodString;
6425
+ status: z.ZodEnum<{
6426
+ completed: "completed";
6427
+ failed: "failed";
6428
+ queued: "queued";
6429
+ running: "running";
6430
+ creating_knowledge: "creating_knowledge";
6431
+ stopped: "stopped";
6432
+ }>;
6208
6433
  status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6209
6434
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6210
6435
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6223,10 +6448,10 @@ declare const contract: {
6223
6448
  status: z.ZodEnum<{
6224
6449
  pending: "pending";
6225
6450
  failed: "failed";
6226
- has_question: "has_question";
6227
- passed: "passed";
6228
6451
  running: "running";
6229
6452
  stopped: "stopped";
6453
+ has_question: "has_question";
6454
+ passed: "passed";
6230
6455
  skipped: "skipped";
6231
6456
  }>;
6232
6457
  error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6247,7 +6472,12 @@ declare const contract: {
6247
6472
  agent_name: z.ZodString;
6248
6473
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6249
6474
  }, z.core.$strip>>>;
6250
- mindmap_status: z.ZodOptional<z.ZodString>;
6475
+ mindmap_status: z.ZodOptional<z.ZodEnum<{
6476
+ pending: "pending";
6477
+ completed: "completed";
6478
+ failed: "failed";
6479
+ generating: "generating";
6480
+ }>>;
6251
6481
  mindmap_steps_processed: z.ZodOptional<z.ZodNumber>;
6252
6482
  mindmap_steps_total: z.ZodOptional<z.ZodNumber>;
6253
6483
  mindmap_error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6763,7 +6993,7 @@ declare const contract: {
6763
6993
  error: string;
6764
6994
  } | {
6765
6995
  type: "task/status";
6766
- status: "completed" | "failed" | "has_question" | "running" | "stopped";
6996
+ status: "completed" | "failed" | "running" | "stopped" | "has_question";
6767
6997
  message?: string | undefined;
6768
6998
  task_id?: string | undefined;
6769
6999
  timestamp?: number | undefined;
@@ -6794,7 +7024,7 @@ declare const contract: {
6794
7024
  error: string;
6795
7025
  } | {
6796
7026
  type: "task/status";
6797
- status: "completed" | "failed" | "has_question" | "running" | "stopped";
7027
+ status: "completed" | "failed" | "running" | "stopped" | "has_question";
6798
7028
  message?: string | undefined;
6799
7029
  task_id?: string | undefined;
6800
7030
  timestamp?: number | undefined;
@@ -6869,7 +7099,7 @@ declare const contract: {
6869
7099
  type: "simulation/updated";
6870
7100
  simulation_id: number;
6871
7101
  application_id: number;
6872
- status: "completed" | "failed" | "queued" | "running" | "stopped" | "creating_knowledge";
7102
+ status: "completed" | "failed" | "queued" | "running" | "creating_knowledge" | "stopped";
6873
7103
  has_question?: boolean | undefined;
6874
7104
  step_label?: string | undefined;
6875
7105
  step_pending?: boolean | undefined;
@@ -6924,16 +7154,16 @@ declare const contract: {
6924
7154
  type: "simulation/mindmap-updated";
6925
7155
  simulation_id: number;
6926
7156
  application_id: number;
6927
- mindmap_status: string;
7157
+ mindmap_status: "pending" | "completed" | "failed" | "generating";
6928
7158
  steps_processed: number;
6929
7159
  steps_total: number;
6930
7160
  } | {
6931
7161
  type: "qa-run/completed";
6932
7162
  run_id: number;
6933
- status: string;
7163
+ status: "pending" | "completed" | "failed" | "running" | "stopped";
6934
7164
  } | {
6935
7165
  type: "agent/updated";
6936
- status: string;
7166
+ status: "active" | "learning" | "error" | "completed" | "failed" | "queued" | "running" | "stopped" | "has_question";
6937
7167
  agent_id?: number | undefined;
6938
7168
  context_id?: string | undefined;
6939
7169
  task_id?: string | undefined;
@@ -6951,7 +7181,7 @@ declare const contract: {
6951
7181
  type: "qa-document/updated";
6952
7182
  document_id: number;
6953
7183
  application_id: number;
6954
- status: string;
7184
+ status: "pending" | "processing" | "waiting_review" | "completed" | "failed";
6955
7185
  step_label?: string | undefined;
6956
7186
  } | {
6957
7187
  type: "qa-run/updated";
@@ -6967,7 +7197,7 @@ declare const contract: {
6967
7197
  run_id: number;
6968
7198
  document_id: number;
6969
7199
  application_id: number;
6970
- status: string;
7200
+ status: "failed" | "passed" | "needs_healing";
6971
7201
  } | {
6972
7202
  type: "qa-run/report-ready";
6973
7203
  run_id: number;
@@ -6980,7 +7210,7 @@ declare const contract: {
6980
7210
  type: "user/updated";
6981
7211
  user_id: number;
6982
7212
  workspace_id: number;
6983
- status: string;
7213
+ status: "created" | "active" | "suspended" | "pending_approval";
6984
7214
  } | {
6985
7215
  type: "job/progress";
6986
7216
  job_id: string;
@@ -7060,7 +7290,7 @@ declare const contract: {
7060
7290
  type: "simulation/updated";
7061
7291
  simulation_id: number;
7062
7292
  application_id: number;
7063
- status: "completed" | "failed" | "queued" | "running" | "stopped" | "creating_knowledge";
7293
+ status: "completed" | "failed" | "queued" | "running" | "creating_knowledge" | "stopped";
7064
7294
  has_question?: boolean | undefined;
7065
7295
  step_label?: string | undefined;
7066
7296
  step_pending?: boolean | undefined;
@@ -7115,16 +7345,16 @@ declare const contract: {
7115
7345
  type: "simulation/mindmap-updated";
7116
7346
  simulation_id: number;
7117
7347
  application_id: number;
7118
- mindmap_status: string;
7348
+ mindmap_status: "pending" | "completed" | "failed" | "generating";
7119
7349
  steps_processed: number;
7120
7350
  steps_total: number;
7121
7351
  } | {
7122
7352
  type: "qa-run/completed";
7123
7353
  run_id: number;
7124
- status: string;
7354
+ status: "pending" | "completed" | "failed" | "running" | "stopped";
7125
7355
  } | {
7126
7356
  type: "agent/updated";
7127
- status: string;
7357
+ status: "active" | "learning" | "error" | "completed" | "failed" | "queued" | "running" | "stopped" | "has_question";
7128
7358
  agent_id?: number | undefined;
7129
7359
  context_id?: string | undefined;
7130
7360
  task_id?: string | undefined;
@@ -7142,7 +7372,7 @@ declare const contract: {
7142
7372
  type: "qa-document/updated";
7143
7373
  document_id: number;
7144
7374
  application_id: number;
7145
- status: string;
7375
+ status: "pending" | "processing" | "waiting_review" | "completed" | "failed";
7146
7376
  step_label?: string | undefined;
7147
7377
  } | {
7148
7378
  type: "qa-run/updated";
@@ -7158,7 +7388,7 @@ declare const contract: {
7158
7388
  run_id: number;
7159
7389
  document_id: number;
7160
7390
  application_id: number;
7161
- status: string;
7391
+ status: "failed" | "passed" | "needs_healing";
7162
7392
  } | {
7163
7393
  type: "qa-run/report-ready";
7164
7394
  run_id: number;
@@ -7171,7 +7401,7 @@ declare const contract: {
7171
7401
  type: "user/updated";
7172
7402
  user_id: number;
7173
7403
  workspace_id: number;
7174
- status: string;
7404
+ status: "created" | "active" | "suspended" | "pending_approval";
7175
7405
  } | {
7176
7406
  type: "job/progress";
7177
7407
  job_id: string;
@@ -7936,7 +8166,14 @@ declare const contract: {
7936
8166
  selected: z.ZodBoolean;
7937
8167
  simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7938
8168
  task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7939
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8169
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8170
+ completed: "completed";
8171
+ failed: "failed";
8172
+ queued: "queued";
8173
+ running: "running";
8174
+ creating_knowledge: "creating_knowledge";
8175
+ stopped: "stopped";
8176
+ }>>>;
7940
8177
  }, z.core.$strip>>;
7941
8178
  persona_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
7942
8179
  results: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8076,7 +8313,14 @@ declare const contract: {
8076
8313
  selected: z.ZodBoolean;
8077
8314
  simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8078
8315
  task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8079
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8316
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8317
+ completed: "completed";
8318
+ failed: "failed";
8319
+ queued: "queued";
8320
+ running: "running";
8321
+ creating_knowledge: "creating_knowledge";
8322
+ stopped: "stopped";
8323
+ }>>>;
8080
8324
  }, z.core.$strip>>;
8081
8325
  persona_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
8082
8326
  results: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -8173,7 +8417,14 @@ declare const contract: {
8173
8417
  selected: z.ZodBoolean;
8174
8418
  simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8175
8419
  task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8176
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8420
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8421
+ completed: "completed";
8422
+ failed: "failed";
8423
+ queued: "queued";
8424
+ running: "running";
8425
+ creating_knowledge: "creating_knowledge";
8426
+ stopped: "stopped";
8427
+ }>>>;
8177
8428
  }, z.core.$strip>>;
8178
8429
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
8179
8430
  insightReactionRun: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
@@ -8210,7 +8461,14 @@ declare const contract: {
8210
8461
  selected: z.ZodBoolean;
8211
8462
  simulation_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
8212
8463
  task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8213
- status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8464
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8465
+ completed: "completed";
8466
+ failed: "failed";
8467
+ queued: "queued";
8468
+ running: "running";
8469
+ creating_knowledge: "creating_knowledge";
8470
+ stopped: "stopped";
8471
+ }>>>;
8214
8472
  }, z.core.$strip>>;
8215
8473
  persona_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
8216
8474
  results: z.ZodOptional<z.ZodArray<z.ZodObject<{