@getpaseo/protocol 0.1.87 → 0.1.88

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.
@@ -16,12 +16,15 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
16
16
  }>, z.ZodObject<{
17
17
  type: z.ZodLiteral<"cron">;
18
18
  expression: z.ZodString;
19
+ timezone: z.ZodOptional<z.ZodString>;
19
20
  }, "strip", z.ZodTypeAny, {
20
21
  type: "cron";
21
22
  expression: string;
23
+ timezone?: string | undefined;
22
24
  }, {
23
25
  type: "cron";
24
26
  expression: string;
27
+ timezone?: string | undefined;
25
28
  }>]>;
26
29
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
27
30
  type: z.ZodLiteral<"self">;
@@ -160,6 +163,7 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
160
163
  } | {
161
164
  type: "cron";
162
165
  expression: string;
166
+ timezone?: string | undefined;
163
167
  };
164
168
  target: {
165
169
  agentId: string;
@@ -203,6 +207,7 @@ export declare const ScheduleCreateRequestSchema: z.ZodObject<{
203
207
  } | {
204
208
  type: "cron";
205
209
  expression: string;
210
+ timezone?: string | undefined;
206
211
  };
207
212
  target: {
208
213
  agentId: string;
@@ -343,12 +348,15 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
343
348
  }>, z.ZodObject<{
344
349
  type: z.ZodLiteral<"cron">;
345
350
  expression: z.ZodString;
351
+ timezone: z.ZodOptional<z.ZodString>;
346
352
  }, "strip", z.ZodTypeAny, {
347
353
  type: "cron";
348
354
  expression: string;
355
+ timezone?: string | undefined;
349
356
  }, {
350
357
  type: "cron";
351
358
  expression: string;
359
+ timezone?: string | undefined;
352
360
  }>]>>;
353
361
  newAgentConfig: z.ZodOptional<z.ZodObject<{
354
362
  provider: z.ZodOptional<z.ZodString>;
@@ -380,6 +388,7 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
380
388
  } | {
381
389
  type: "cron";
382
390
  expression: string;
391
+ timezone?: string | undefined;
383
392
  } | undefined;
384
393
  expiresAt?: string | null | undefined;
385
394
  maxRuns?: number | null | undefined;
@@ -401,6 +410,7 @@ export declare const ScheduleUpdateRequestSchema: z.ZodObject<{
401
410
  } | {
402
411
  type: "cron";
403
412
  expression: string;
413
+ timezone?: string | undefined;
404
414
  } | undefined;
405
415
  expiresAt?: string | null | undefined;
406
416
  maxRuns?: number | null | undefined;
@@ -431,12 +441,15 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
431
441
  }>, z.ZodObject<{
432
442
  type: z.ZodLiteral<"cron">;
433
443
  expression: z.ZodString;
444
+ timezone: z.ZodOptional<z.ZodString>;
434
445
  }, "strip", z.ZodTypeAny, {
435
446
  type: "cron";
436
447
  expression: string;
448
+ timezone?: string | undefined;
437
449
  }, {
438
450
  type: "cron";
439
451
  expression: string;
452
+ timezone?: string | undefined;
440
453
  }>]>;
441
454
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
442
455
  type: z.ZodLiteral<"agent">;
@@ -602,6 +615,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
602
615
  } | {
603
616
  type: "cron";
604
617
  expression: string;
618
+ timezone?: string | undefined;
605
619
  };
606
620
  target: {
607
621
  agentId: string;
@@ -646,6 +660,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
646
660
  } | {
647
661
  type: "cron";
648
662
  expression: string;
663
+ timezone?: string | undefined;
649
664
  };
650
665
  target: {
651
666
  agentId: string;
@@ -695,6 +710,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
695
710
  } | {
696
711
  type: "cron";
697
712
  expression: string;
713
+ timezone?: string | undefined;
698
714
  };
699
715
  target: {
700
716
  agentId: string;
@@ -743,6 +759,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
743
759
  } | {
744
760
  type: "cron";
745
761
  expression: string;
762
+ timezone?: string | undefined;
746
763
  };
747
764
  target: {
748
765
  agentId: string;
@@ -794,6 +811,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
794
811
  } | {
795
812
  type: "cron";
796
813
  expression: string;
814
+ timezone?: string | undefined;
797
815
  };
798
816
  target: {
799
817
  agentId: string;
@@ -845,6 +863,7 @@ export declare const ScheduleCreateResponseSchema: z.ZodObject<{
845
863
  } | {
846
864
  type: "cron";
847
865
  expression: string;
866
+ timezone?: string | undefined;
848
867
  };
849
868
  target: {
850
869
  agentId: string;
@@ -899,12 +918,15 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
899
918
  }>, z.ZodObject<{
900
919
  type: z.ZodLiteral<"cron">;
901
920
  expression: z.ZodString;
921
+ timezone: z.ZodOptional<z.ZodString>;
902
922
  }, "strip", z.ZodTypeAny, {
903
923
  type: "cron";
904
924
  expression: string;
925
+ timezone?: string | undefined;
905
926
  }, {
906
927
  type: "cron";
907
928
  expression: string;
929
+ timezone?: string | undefined;
908
930
  }>]>;
909
931
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
910
932
  type: z.ZodLiteral<"agent">;
@@ -1070,6 +1092,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1070
1092
  } | {
1071
1093
  type: "cron";
1072
1094
  expression: string;
1095
+ timezone?: string | undefined;
1073
1096
  };
1074
1097
  target: {
1075
1098
  agentId: string;
@@ -1114,6 +1137,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1114
1137
  } | {
1115
1138
  type: "cron";
1116
1139
  expression: string;
1140
+ timezone?: string | undefined;
1117
1141
  };
1118
1142
  target: {
1119
1143
  agentId: string;
@@ -1163,6 +1187,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1163
1187
  } | {
1164
1188
  type: "cron";
1165
1189
  expression: string;
1190
+ timezone?: string | undefined;
1166
1191
  };
1167
1192
  target: {
1168
1193
  agentId: string;
@@ -1211,6 +1236,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1211
1236
  } | {
1212
1237
  type: "cron";
1213
1238
  expression: string;
1239
+ timezone?: string | undefined;
1214
1240
  };
1215
1241
  target: {
1216
1242
  agentId: string;
@@ -1262,6 +1288,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1262
1288
  } | {
1263
1289
  type: "cron";
1264
1290
  expression: string;
1291
+ timezone?: string | undefined;
1265
1292
  };
1266
1293
  target: {
1267
1294
  agentId: string;
@@ -1313,6 +1340,7 @@ export declare const ScheduleListResponseSchema: z.ZodObject<{
1313
1340
  } | {
1314
1341
  type: "cron";
1315
1342
  expression: string;
1343
+ timezone?: string | undefined;
1316
1344
  };
1317
1345
  target: {
1318
1346
  agentId: string;
@@ -1367,12 +1395,15 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1367
1395
  }>, z.ZodObject<{
1368
1396
  type: z.ZodLiteral<"cron">;
1369
1397
  expression: z.ZodString;
1398
+ timezone: z.ZodOptional<z.ZodString>;
1370
1399
  }, "strip", z.ZodTypeAny, {
1371
1400
  type: "cron";
1372
1401
  expression: string;
1402
+ timezone?: string | undefined;
1373
1403
  }, {
1374
1404
  type: "cron";
1375
1405
  expression: string;
1406
+ timezone?: string | undefined;
1376
1407
  }>]>;
1377
1408
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1378
1409
  type: z.ZodLiteral<"agent">;
@@ -1538,6 +1569,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1538
1569
  } | {
1539
1570
  type: "cron";
1540
1571
  expression: string;
1572
+ timezone?: string | undefined;
1541
1573
  };
1542
1574
  target: {
1543
1575
  agentId: string;
@@ -1592,6 +1624,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1592
1624
  } | {
1593
1625
  type: "cron";
1594
1626
  expression: string;
1627
+ timezone?: string | undefined;
1595
1628
  };
1596
1629
  target: {
1597
1630
  agentId: string;
@@ -1651,6 +1684,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1651
1684
  } | {
1652
1685
  type: "cron";
1653
1686
  expression: string;
1687
+ timezone?: string | undefined;
1654
1688
  };
1655
1689
  target: {
1656
1690
  agentId: string;
@@ -1709,6 +1743,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1709
1743
  } | {
1710
1744
  type: "cron";
1711
1745
  expression: string;
1746
+ timezone?: string | undefined;
1712
1747
  };
1713
1748
  target: {
1714
1749
  agentId: string;
@@ -1770,6 +1805,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1770
1805
  } | {
1771
1806
  type: "cron";
1772
1807
  expression: string;
1808
+ timezone?: string | undefined;
1773
1809
  };
1774
1810
  target: {
1775
1811
  agentId: string;
@@ -1831,6 +1867,7 @@ export declare const ScheduleInspectResponseSchema: z.ZodObject<{
1831
1867
  } | {
1832
1868
  type: "cron";
1833
1869
  expression: string;
1870
+ timezone?: string | undefined;
1834
1871
  };
1835
1872
  target: {
1836
1873
  agentId: string;
@@ -1988,12 +2025,15 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
1988
2025
  }>, z.ZodObject<{
1989
2026
  type: z.ZodLiteral<"cron">;
1990
2027
  expression: z.ZodString;
2028
+ timezone: z.ZodOptional<z.ZodString>;
1991
2029
  }, "strip", z.ZodTypeAny, {
1992
2030
  type: "cron";
1993
2031
  expression: string;
2032
+ timezone?: string | undefined;
1994
2033
  }, {
1995
2034
  type: "cron";
1996
2035
  expression: string;
2036
+ timezone?: string | undefined;
1997
2037
  }>]>;
1998
2038
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1999
2039
  type: z.ZodLiteral<"agent">;
@@ -2159,6 +2199,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2159
2199
  } | {
2160
2200
  type: "cron";
2161
2201
  expression: string;
2202
+ timezone?: string | undefined;
2162
2203
  };
2163
2204
  target: {
2164
2205
  agentId: string;
@@ -2203,6 +2244,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2203
2244
  } | {
2204
2245
  type: "cron";
2205
2246
  expression: string;
2247
+ timezone?: string | undefined;
2206
2248
  };
2207
2249
  target: {
2208
2250
  agentId: string;
@@ -2252,6 +2294,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2252
2294
  } | {
2253
2295
  type: "cron";
2254
2296
  expression: string;
2297
+ timezone?: string | undefined;
2255
2298
  };
2256
2299
  target: {
2257
2300
  agentId: string;
@@ -2300,6 +2343,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2300
2343
  } | {
2301
2344
  type: "cron";
2302
2345
  expression: string;
2346
+ timezone?: string | undefined;
2303
2347
  };
2304
2348
  target: {
2305
2349
  agentId: string;
@@ -2351,6 +2395,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2351
2395
  } | {
2352
2396
  type: "cron";
2353
2397
  expression: string;
2398
+ timezone?: string | undefined;
2354
2399
  };
2355
2400
  target: {
2356
2401
  agentId: string;
@@ -2402,6 +2447,7 @@ export declare const SchedulePauseResponseSchema: z.ZodObject<{
2402
2447
  } | {
2403
2448
  type: "cron";
2404
2449
  expression: string;
2450
+ timezone?: string | undefined;
2405
2451
  };
2406
2452
  target: {
2407
2453
  agentId: string;
@@ -2456,12 +2502,15 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2456
2502
  }>, z.ZodObject<{
2457
2503
  type: z.ZodLiteral<"cron">;
2458
2504
  expression: z.ZodString;
2505
+ timezone: z.ZodOptional<z.ZodString>;
2459
2506
  }, "strip", z.ZodTypeAny, {
2460
2507
  type: "cron";
2461
2508
  expression: string;
2509
+ timezone?: string | undefined;
2462
2510
  }, {
2463
2511
  type: "cron";
2464
2512
  expression: string;
2513
+ timezone?: string | undefined;
2465
2514
  }>]>;
2466
2515
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2467
2516
  type: z.ZodLiteral<"agent">;
@@ -2627,6 +2676,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2627
2676
  } | {
2628
2677
  type: "cron";
2629
2678
  expression: string;
2679
+ timezone?: string | undefined;
2630
2680
  };
2631
2681
  target: {
2632
2682
  agentId: string;
@@ -2671,6 +2721,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2671
2721
  } | {
2672
2722
  type: "cron";
2673
2723
  expression: string;
2724
+ timezone?: string | undefined;
2674
2725
  };
2675
2726
  target: {
2676
2727
  agentId: string;
@@ -2720,6 +2771,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2720
2771
  } | {
2721
2772
  type: "cron";
2722
2773
  expression: string;
2774
+ timezone?: string | undefined;
2723
2775
  };
2724
2776
  target: {
2725
2777
  agentId: string;
@@ -2768,6 +2820,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2768
2820
  } | {
2769
2821
  type: "cron";
2770
2822
  expression: string;
2823
+ timezone?: string | undefined;
2771
2824
  };
2772
2825
  target: {
2773
2826
  agentId: string;
@@ -2819,6 +2872,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2819
2872
  } | {
2820
2873
  type: "cron";
2821
2874
  expression: string;
2875
+ timezone?: string | undefined;
2822
2876
  };
2823
2877
  target: {
2824
2878
  agentId: string;
@@ -2870,6 +2924,7 @@ export declare const ScheduleResumeResponseSchema: z.ZodObject<{
2870
2924
  } | {
2871
2925
  type: "cron";
2872
2926
  expression: string;
2927
+ timezone?: string | undefined;
2873
2928
  };
2874
2929
  target: {
2875
2930
  agentId: string;
@@ -2954,12 +3009,15 @@ export declare const ScheduleRunOnceResponseSchema: z.ZodObject<{
2954
3009
  }>, z.ZodObject<{
2955
3010
  type: z.ZodLiteral<"cron">;
2956
3011
  expression: z.ZodString;
3012
+ timezone: z.ZodOptional<z.ZodString>;
2957
3013
  }, "strip", z.ZodTypeAny, {
2958
3014
  type: "cron";
2959
3015
  expression: string;
3016
+ timezone?: string | undefined;
2960
3017
  }, {
2961
3018
  type: "cron";
2962
3019
  expression: string;
3020
+ timezone?: string | undefined;
2963
3021
  }>]>;
2964
3022
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2965
3023
  type: z.ZodLiteral<"agent">;
@@ -3125,6 +3183,7 @@ export declare const ScheduleRunOnceResponseSchema: z.ZodObject<{
3125
3183
  } | {
3126
3184
  type: "cron";
3127
3185
  expression: string;
3186
+ timezone?: string | undefined;
3128
3187
  };
3129
3188
  target: {
3130
3189
  agentId: string;
@@ -3179,6 +3238,7 @@ export declare const ScheduleRunOnceResponseSchema: z.ZodObject<{
3179
3238
  } | {
3180
3239
  type: "cron";
3181
3240
  expression: string;
3241
+ timezone?: string | undefined;
3182
3242
  };
3183
3243
  target: {
3184
3244
  agentId: string;
@@ -3238,6 +3298,7 @@ export declare const ScheduleRunOnceResponseSchema: z.ZodObject<{
3238
3298
  } | {
3239
3299
  type: "cron";
3240
3300
  expression: string;
3301
+ timezone?: string | undefined;
3241
3302
  };
3242
3303
  target: {
3243
3304
  agentId: string;
@@ -3296,6 +3357,7 @@ export declare const ScheduleRunOnceResponseSchema: z.ZodObject<{
3296
3357
  } | {
3297
3358
  type: "cron";
3298
3359
  expression: string;
3360
+ timezone?: string | undefined;
3299
3361
  };
3300
3362
  target: {
3301
3363
  agentId: string;
@@ -3357,6 +3419,7 @@ export declare const ScheduleRunOnceResponseSchema: z.ZodObject<{
3357
3419
  } | {
3358
3420
  type: "cron";
3359
3421
  expression: string;
3422
+ timezone?: string | undefined;
3360
3423
  };
3361
3424
  target: {
3362
3425
  agentId: string;
@@ -3418,6 +3481,7 @@ export declare const ScheduleRunOnceResponseSchema: z.ZodObject<{
3418
3481
  } | {
3419
3482
  type: "cron";
3420
3483
  expression: string;
3484
+ timezone?: string | undefined;
3421
3485
  };
3422
3486
  target: {
3423
3487
  agentId: string;
@@ -3482,12 +3546,15 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3482
3546
  }>, z.ZodObject<{
3483
3547
  type: z.ZodLiteral<"cron">;
3484
3548
  expression: z.ZodString;
3549
+ timezone: z.ZodOptional<z.ZodString>;
3485
3550
  }, "strip", z.ZodTypeAny, {
3486
3551
  type: "cron";
3487
3552
  expression: string;
3553
+ timezone?: string | undefined;
3488
3554
  }, {
3489
3555
  type: "cron";
3490
3556
  expression: string;
3557
+ timezone?: string | undefined;
3491
3558
  }>]>;
3492
3559
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3493
3560
  type: z.ZodLiteral<"agent">;
@@ -3653,6 +3720,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3653
3720
  } | {
3654
3721
  type: "cron";
3655
3722
  expression: string;
3723
+ timezone?: string | undefined;
3656
3724
  };
3657
3725
  target: {
3658
3726
  agentId: string;
@@ -3707,6 +3775,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3707
3775
  } | {
3708
3776
  type: "cron";
3709
3777
  expression: string;
3778
+ timezone?: string | undefined;
3710
3779
  };
3711
3780
  target: {
3712
3781
  agentId: string;
@@ -3766,6 +3835,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3766
3835
  } | {
3767
3836
  type: "cron";
3768
3837
  expression: string;
3838
+ timezone?: string | undefined;
3769
3839
  };
3770
3840
  target: {
3771
3841
  agentId: string;
@@ -3824,6 +3894,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3824
3894
  } | {
3825
3895
  type: "cron";
3826
3896
  expression: string;
3897
+ timezone?: string | undefined;
3827
3898
  };
3828
3899
  target: {
3829
3900
  agentId: string;
@@ -3885,6 +3956,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3885
3956
  } | {
3886
3957
  type: "cron";
3887
3958
  expression: string;
3959
+ timezone?: string | undefined;
3888
3960
  };
3889
3961
  target: {
3890
3962
  agentId: string;
@@ -3946,6 +4018,7 @@ export declare const ScheduleUpdateResponseSchema: z.ZodObject<{
3946
4018
  } | {
3947
4019
  type: "cron";
3948
4020
  expression: string;
4021
+ timezone?: string | undefined;
3949
4022
  };
3950
4023
  target: {
3951
4024
  agentId: string;
@@ -13,12 +13,15 @@ export declare const ScheduleCadenceSchema: z.ZodDiscriminatedUnion<"type", [z.Z
13
13
  }>, z.ZodObject<{
14
14
  type: z.ZodLiteral<"cron">;
15
15
  expression: z.ZodString;
16
+ timezone: z.ZodOptional<z.ZodString>;
16
17
  }, "strip", z.ZodTypeAny, {
17
18
  type: "cron";
18
19
  expression: string;
20
+ timezone?: string | undefined;
19
21
  }, {
20
22
  type: "cron";
21
23
  expression: string;
24
+ timezone?: string | undefined;
22
25
  }>]>;
23
26
  export type ScheduleCadence = z.infer<typeof ScheduleCadenceSchema>;
24
27
  export declare const ScheduleTargetSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -182,12 +185,15 @@ export declare const StoredScheduleSchema: z.ZodObject<{
182
185
  }>, z.ZodObject<{
183
186
  type: z.ZodLiteral<"cron">;
184
187
  expression: z.ZodString;
188
+ timezone: z.ZodOptional<z.ZodString>;
185
189
  }, "strip", z.ZodTypeAny, {
186
190
  type: "cron";
187
191
  expression: string;
192
+ timezone?: string | undefined;
188
193
  }, {
189
194
  type: "cron";
190
195
  expression: string;
196
+ timezone?: string | undefined;
191
197
  }>]>;
192
198
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
193
199
  type: z.ZodLiteral<"agent">;
@@ -353,6 +359,7 @@ export declare const StoredScheduleSchema: z.ZodObject<{
353
359
  } | {
354
360
  type: "cron";
355
361
  expression: string;
362
+ timezone?: string | undefined;
356
363
  };
357
364
  target: {
358
365
  agentId: string;
@@ -407,6 +414,7 @@ export declare const StoredScheduleSchema: z.ZodObject<{
407
414
  } | {
408
415
  type: "cron";
409
416
  expression: string;
417
+ timezone?: string | undefined;
410
418
  };
411
419
  target: {
412
420
  agentId: string;
@@ -466,12 +474,15 @@ export declare const ScheduleSummarySchema: z.ZodObject<Omit<{
466
474
  }>, z.ZodObject<{
467
475
  type: z.ZodLiteral<"cron">;
468
476
  expression: z.ZodString;
477
+ timezone: z.ZodOptional<z.ZodString>;
469
478
  }, "strip", z.ZodTypeAny, {
470
479
  type: "cron";
471
480
  expression: string;
481
+ timezone?: string | undefined;
472
482
  }, {
473
483
  type: "cron";
474
484
  expression: string;
485
+ timezone?: string | undefined;
475
486
  }>]>;
476
487
  target: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
477
488
  type: z.ZodLiteral<"agent">;
@@ -637,6 +648,7 @@ export declare const ScheduleSummarySchema: z.ZodObject<Omit<{
637
648
  } | {
638
649
  type: "cron";
639
650
  expression: string;
651
+ timezone?: string | undefined;
640
652
  };
641
653
  target: {
642
654
  agentId: string;
@@ -681,6 +693,7 @@ export declare const ScheduleSummarySchema: z.ZodObject<Omit<{
681
693
  } | {
682
694
  type: "cron";
683
695
  expression: string;
696
+ timezone?: string | undefined;
684
697
  };
685
698
  target: {
686
699
  agentId: string;
@@ -9,6 +9,7 @@ export const ScheduleCadenceSchema = z.discriminatedUnion("type", [
9
9
  z.object({
10
10
  type: z.literal("cron"),
11
11
  expression: z.string().trim().min(1),
12
+ timezone: z.string().trim().min(1).optional(),
12
13
  }),
13
14
  ]);
14
15
  export const ScheduleTargetSchema = z.discriminatedUnion("type", [
@@ -12,11 +12,21 @@ const DEFAULT_STYLE = {
12
12
  };
13
13
  export function renderTerminalSnapshotToAnsi(state) {
14
14
  const rows = [...state.scrollback, ...state.grid];
15
- const lines = ["\u001b[?7l"];
15
+ const wrapFlags = [...(state.scrollbackWrapped ?? []), ...(state.gridWrapped ?? [])];
16
+ // Soft-wrapped lines can only be re-wrapped on resize when we know which rows
17
+ // were continuations. With that per-row flag we replay each logical line as one
18
+ // unbroken run (autowrap on) so xterm marks the continuations wrapped and reflows
19
+ // them. Without it (old daemon) we keep the verbatim per-row replay: autowrap off
20
+ // plus a hard newline per row.
21
+ const hasWrapInfo = wrapFlags.length === rows.length;
22
+ const lines = hasWrapInfo ? [] : ["\u001b[?7l"];
16
23
  for (let rowIndex = 0; rowIndex < rows.length; rowIndex += 1) {
17
24
  const row = rows[rowIndex] ?? [];
18
- lines.push(renderTerminalRow(row));
19
- if (rowIndex < rows.length - 1) {
25
+ const continuesToNextRow = hasWrapInfo && wrapFlags[rowIndex] === true;
26
+ // A continuation row must fill the full width so the next row first cell
27
+ // triggers xterm auto-wrap, which is what marks the row wrapped/reflowable.
28
+ lines.push(renderTerminalRow(row, continuesToNextRow ? state.cols : undefined));
29
+ if (rowIndex < rows.length - 1 && !continuesToNextRow) {
20
30
  lines.push("\r\n");
21
31
  }
22
32
  }
@@ -27,7 +37,9 @@ export function renderTerminalSnapshotToAnsi(state) {
27
37
  }
28
38
  lines.push(`\u001b[${state.cursor.row + 1};${state.cursor.col + 1}H`);
29
39
  lines.push(state.cursor.hidden ? "\u001b[?25l" : "\u001b[?25h");
30
- lines.push("\u001b[?7h");
40
+ if (!hasWrapInfo) {
41
+ lines.push("\u001b[?7h");
42
+ }
31
43
  return lines.join("");
32
44
  }
33
45
  function renderCursorPresentationToAnsi(cursor) {
@@ -45,9 +57,10 @@ function renderCursorPresentationToAnsi(cursor) {
45
57
  })();
46
58
  return `\u001b[${cursorStyleCode} q`;
47
59
  }
48
- function renderTerminalRow(row) {
60
+ function renderTerminalRow(row, padToCols) {
49
61
  const output = [];
50
- const length = getTerminalRowLength(row);
62
+ const contentLength = getTerminalRowLength(row);
63
+ const length = padToCols !== undefined ? Math.max(contentLength, padToCols) : contentLength;
51
64
  let previousStyle = DEFAULT_STYLE;
52
65
  for (let index = 0; index < length; index += 1) {
53
66
  const cell = row[index] ?? { char: " " };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpaseo/protocol",
3
- "version": "0.1.87",
3
+ "version": "0.1.88",
4
4
  "description": "Paseo shared protocol schemas and wire types",
5
5
  "files": [
6
6
  "dist",