@toolforge-js/sdk 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import * as z$1 from "zod";
2
2
  import { EventEmitter } from "node:events";
3
3
  import { Logger } from "pino";
4
- import * as zod_v4_core0 from "zod/v4/core";
4
+ import * as better_auth0 from "better-auth";
5
5
 
6
6
  //#region ../core/dist/schema/index.d.ts
7
7
  //#region src/schema/message.d.ts
@@ -92,34 +92,34 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
92
92
  showLegend: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
93
93
  showLabel: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
94
94
  }, z$1.core.$strip>, z$1.ZodObject<{
95
- value: z$1.ZodNumber;
96
95
  type: z$1.ZodLiteral<"chart">;
96
+ value: z$1.ZodNumber;
97
97
  label: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
98
98
  max: z$1.ZodNumber;
99
99
  chartType: z$1.ZodLiteral<"progress-bar">;
100
100
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
101
+ success: "success";
101
102
  default: "default";
102
103
  error: "error";
103
- success: "success";
104
104
  neutral: "neutral";
105
105
  warning: "warning";
106
106
  }>>>;
107
107
  }, z$1.core.$strip>, z$1.ZodObject<{
108
- value: z$1.ZodNumber;
109
108
  type: z$1.ZodLiteral<"chart">;
109
+ value: z$1.ZodNumber;
110
110
  max: z$1.ZodNumber;
111
111
  chartType: z$1.ZodLiteral<"progress-circle">;
112
112
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
113
+ success: "success";
113
114
  default: "default";
114
115
  error: "error";
115
- success: "success";
116
116
  neutral: "neutral";
117
117
  warning: "warning";
118
118
  }>>>;
119
119
  radius: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
120
120
  }, z$1.core.$strip>, z$1.ZodObject<{
121
- data: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
122
121
  type: z$1.ZodLiteral<"chart">;
122
+ data: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
123
123
  chartType: z$1.ZodLiteral<"spark-chart">;
124
124
  colors: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodEnum<{
125
125
  blue: "blue";
@@ -153,6 +153,7 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
153
153
  line: "line";
154
154
  }>>>;
155
155
  }, z$1.core.$strip>, z$1.ZodObject<{
156
+ type: z$1.ZodLiteral<"chart">;
156
157
  data: z$1.ZodArray<z$1.ZodObject<{
157
158
  name: z$1.ZodString;
158
159
  color: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
@@ -170,7 +171,6 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
170
171
  yellow: "yellow";
171
172
  }>, z$1.ZodString]>>>;
172
173
  }, z$1.core.$strip>>;
173
- type: z$1.ZodLiteral<"chart">;
174
174
  chartType: z$1.ZodLiteral<"tracker">;
175
175
  defaultBackgroundColor: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
176
176
  blue: "blue";
@@ -614,9 +614,9 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
614
614
  max: z$1.ZodNumber;
615
615
  label: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
616
616
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
617
+ success: "success";
617
618
  default: "default";
618
619
  error: "error";
619
- success: "success";
620
620
  neutral: "neutral";
621
621
  warning: "warning";
622
622
  }>>>;
@@ -629,9 +629,9 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
629
629
  max: z$1.ZodNumber;
630
630
  radius: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
631
631
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
632
+ success: "success";
632
633
  default: "default";
633
634
  error: "error";
634
- success: "success";
635
635
  neutral: "neutral";
636
636
  warning: "warning";
637
637
  }>>>;
@@ -816,6 +816,22 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
816
816
  }>>>;
817
817
  }, z$1.core.$strip>>;
818
818
  }, z$1.core.$strip>], "chartType">, z$1.ZodObject<{
819
+ type: z$1.ZodLiteral<"timeline">;
820
+ items: z$1.ZodArray<z$1.ZodObject<{
821
+ title: z$1.ZodOptional<z$1.ZodString>;
822
+ content: z$1.ZodString;
823
+ }, z$1.core.$strip>>;
824
+ orientation: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
825
+ horizontal: "horizontal";
826
+ vertical: "vertical";
827
+ }>>>;
828
+ mode: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
829
+ start: "start";
830
+ end: "end";
831
+ alternate: "alternate";
832
+ }>>>;
833
+ reverse: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
834
+ }, z$1.core.$strip>, z$1.ZodObject<{
819
835
  type: z$1.ZodLiteral<"layout">;
820
836
  columns: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
821
837
  children: z$1.ZodArray<z$1.ZodObject<{
@@ -881,34 +897,34 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
881
897
  showLegend: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
882
898
  showLabel: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
883
899
  }, z$1.core.$strip>, z$1.ZodObject<{
884
- value: z$1.ZodNumber;
885
900
  type: z$1.ZodLiteral<"chart">;
901
+ value: z$1.ZodNumber;
886
902
  label: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
887
903
  max: z$1.ZodNumber;
888
904
  chartType: z$1.ZodLiteral<"progress-bar">;
889
905
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
906
+ success: "success";
890
907
  default: "default";
891
908
  error: "error";
892
- success: "success";
893
909
  neutral: "neutral";
894
910
  warning: "warning";
895
911
  }>>>;
896
912
  }, z$1.core.$strip>, z$1.ZodObject<{
897
- value: z$1.ZodNumber;
898
913
  type: z$1.ZodLiteral<"chart">;
914
+ value: z$1.ZodNumber;
899
915
  max: z$1.ZodNumber;
900
916
  chartType: z$1.ZodLiteral<"progress-circle">;
901
917
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
918
+ success: "success";
902
919
  default: "default";
903
920
  error: "error";
904
- success: "success";
905
921
  neutral: "neutral";
906
922
  warning: "warning";
907
923
  }>>>;
908
924
  radius: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
909
925
  }, z$1.core.$strip>, z$1.ZodObject<{
910
- data: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
911
926
  type: z$1.ZodLiteral<"chart">;
927
+ data: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
912
928
  chartType: z$1.ZodLiteral<"spark-chart">;
913
929
  colors: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodEnum<{
914
930
  blue: "blue";
@@ -942,6 +958,7 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
942
958
  line: "line";
943
959
  }>>>;
944
960
  }, z$1.core.$strip>, z$1.ZodObject<{
961
+ type: z$1.ZodLiteral<"chart">;
945
962
  data: z$1.ZodArray<z$1.ZodObject<{
946
963
  name: z$1.ZodString;
947
964
  color: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
@@ -959,7 +976,6 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
959
976
  yellow: "yellow";
960
977
  }>, z$1.ZodString]>>>;
961
978
  }, z$1.core.$strip>>;
962
- type: z$1.ZodLiteral<"chart">;
963
979
  chartType: z$1.ZodLiteral<"tracker">;
964
980
  defaultBackgroundColor: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
965
981
  blue: "blue";
@@ -1403,9 +1419,9 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
1403
1419
  max: z$1.ZodNumber;
1404
1420
  label: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
1405
1421
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1422
+ success: "success";
1406
1423
  default: "default";
1407
1424
  error: "error";
1408
- success: "success";
1409
1425
  neutral: "neutral";
1410
1426
  warning: "warning";
1411
1427
  }>>>;
@@ -1418,9 +1434,9 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
1418
1434
  max: z$1.ZodNumber;
1419
1435
  radius: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
1420
1436
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1437
+ success: "success";
1421
1438
  default: "default";
1422
1439
  error: "error";
1423
- success: "success";
1424
1440
  neutral: "neutral";
1425
1441
  warning: "warning";
1426
1442
  }>>>;
@@ -1604,7 +1620,23 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
1604
1620
  compact: "compact";
1605
1621
  }>>>;
1606
1622
  }, z$1.core.$strip>>;
1607
- }, z$1.core.$strip>], "chartType">, z$1.ZodObject< /*elided*/any, z$1.core.$strip>, z$1.ZodObject<{
1623
+ }, z$1.core.$strip>], "chartType">, z$1.ZodObject<{
1624
+ type: z$1.ZodLiteral<"timeline">;
1625
+ items: z$1.ZodArray<z$1.ZodObject<{
1626
+ title: z$1.ZodOptional<z$1.ZodString>;
1627
+ content: z$1.ZodString;
1628
+ }, z$1.core.$strip>>;
1629
+ orientation: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1630
+ horizontal: "horizontal";
1631
+ vertical: "vertical";
1632
+ }>>>;
1633
+ mode: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1634
+ start: "start";
1635
+ end: "end";
1636
+ alternate: "alternate";
1637
+ }>>>;
1638
+ reverse: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
1639
+ }, z$1.core.$strip>, z$1.ZodObject< /*elided*/any, z$1.core.$strip>, z$1.ZodObject<{
1608
1640
  type: z$1.ZodLiteral<"table">;
1609
1641
  title: z$1.ZodOptional<z$1.ZodString>;
1610
1642
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -1654,9 +1686,9 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
1654
1686
  }, z$1.core.$strip>, z$1.ZodObject<{
1655
1687
  type: z$1.ZodLiteral<"badge">;
1656
1688
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1689
+ success: "success";
1657
1690
  default: "default";
1658
1691
  error: "error";
1659
- success: "success";
1660
1692
  neutral: "neutral";
1661
1693
  warning: "warning";
1662
1694
  }>>>;
@@ -1677,9 +1709,9 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
1677
1709
  }>>>;
1678
1710
  maxValue: z$1.ZodNumber;
1679
1711
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1712
+ success: "success";
1680
1713
  default: "default";
1681
1714
  error: "error";
1682
- success: "success";
1683
1715
  neutral: "neutral";
1684
1716
  warning: "warning";
1685
1717
  }>>>;
@@ -1768,9 +1800,9 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
1768
1800
  }, z$1.core.$strip>, z$1.ZodObject<{
1769
1801
  type: z$1.ZodLiteral<"badge">;
1770
1802
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1803
+ success: "success";
1771
1804
  default: "default";
1772
1805
  error: "error";
1773
- success: "success";
1774
1806
  neutral: "neutral";
1775
1807
  warning: "warning";
1776
1808
  }>>>;
@@ -1791,9 +1823,9 @@ declare const showMessageMessageSchema: z$1.ZodObject<{
1791
1823
  }>>>;
1792
1824
  maxValue: z$1.ZodNumber;
1793
1825
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
1826
+ success: "success";
1794
1827
  default: "default";
1795
1828
  error: "error";
1796
- success: "success";
1797
1829
  neutral: "neutral";
1798
1830
  warning: "warning";
1799
1831
  }>>>;
@@ -2912,9 +2944,9 @@ declare const chartBlock: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2912
2944
  max: z$1.ZodNumber;
2913
2945
  label: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
2914
2946
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
2947
+ success: "success";
2915
2948
  default: "default";
2916
2949
  error: "error";
2917
- success: "success";
2918
2950
  neutral: "neutral";
2919
2951
  warning: "warning";
2920
2952
  }>>>;
@@ -2927,9 +2959,9 @@ declare const chartBlock: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2927
2959
  max: z$1.ZodNumber;
2928
2960
  radius: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
2929
2961
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
2962
+ success: "success";
2930
2963
  default: "default";
2931
2964
  error: "error";
2932
- success: "success";
2933
2965
  neutral: "neutral";
2934
2966
  warning: "warning";
2935
2967
  }>>>;
@@ -3235,6 +3267,20 @@ type LayoutBlock = {
3235
3267
  rowSpan?: number;
3236
3268
  }>;
3237
3269
  };
3270
+ type TimelineBlock = {
3271
+ items: Array<{
3272
+ /** Title of the timeline item */
3273
+ title?: string;
3274
+ /** Content of the timeline item */
3275
+ content: string;
3276
+ }>;
3277
+ /** Orientation of the timeline */
3278
+ orientation?: 'horizontal' | 'vertical';
3279
+ /** Mode of the timeline */
3280
+ mode?: 'start' | 'end' | 'alternate';
3281
+ /** Reverse the order of the timeline items */
3282
+ reverse?: boolean;
3283
+ };
3238
3284
  declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3239
3285
  type: z$1.ZodLiteral<"kpi-card">;
3240
3286
  name: z$1.ZodString;
@@ -3297,34 +3343,34 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3297
3343
  showLegend: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
3298
3344
  showLabel: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
3299
3345
  }, z$1.core.$strip>, z$1.ZodObject<{
3300
- value: z$1.ZodNumber;
3301
3346
  type: z$1.ZodLiteral<"chart">;
3347
+ value: z$1.ZodNumber;
3302
3348
  label: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
3303
3349
  max: z$1.ZodNumber;
3304
3350
  chartType: z$1.ZodLiteral<"progress-bar">;
3305
3351
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
3352
+ success: "success";
3306
3353
  default: "default";
3307
3354
  error: "error";
3308
- success: "success";
3309
3355
  neutral: "neutral";
3310
3356
  warning: "warning";
3311
3357
  }>>>;
3312
3358
  }, z$1.core.$strip>, z$1.ZodObject<{
3313
- value: z$1.ZodNumber;
3314
3359
  type: z$1.ZodLiteral<"chart">;
3360
+ value: z$1.ZodNumber;
3315
3361
  max: z$1.ZodNumber;
3316
3362
  chartType: z$1.ZodLiteral<"progress-circle">;
3317
3363
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
3364
+ success: "success";
3318
3365
  default: "default";
3319
3366
  error: "error";
3320
- success: "success";
3321
3367
  neutral: "neutral";
3322
3368
  warning: "warning";
3323
3369
  }>>>;
3324
3370
  radius: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
3325
3371
  }, z$1.core.$strip>, z$1.ZodObject<{
3326
- data: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
3327
3372
  type: z$1.ZodLiteral<"chart">;
3373
+ data: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
3328
3374
  chartType: z$1.ZodLiteral<"spark-chart">;
3329
3375
  colors: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3330
3376
  blue: "blue";
@@ -3358,6 +3404,7 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3358
3404
  line: "line";
3359
3405
  }>>>;
3360
3406
  }, z$1.core.$strip>, z$1.ZodObject<{
3407
+ type: z$1.ZodLiteral<"chart">;
3361
3408
  data: z$1.ZodArray<z$1.ZodObject<{
3362
3409
  name: z$1.ZodString;
3363
3410
  color: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
@@ -3375,7 +3422,6 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3375
3422
  yellow: "yellow";
3376
3423
  }>, z$1.ZodString]>>>;
3377
3424
  }, z$1.core.$strip>>;
3378
- type: z$1.ZodLiteral<"chart">;
3379
3425
  chartType: z$1.ZodLiteral<"tracker">;
3380
3426
  defaultBackgroundColor: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
3381
3427
  blue: "blue";
@@ -3819,9 +3865,9 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3819
3865
  max: z$1.ZodNumber;
3820
3866
  label: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
3821
3867
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
3868
+ success: "success";
3822
3869
  default: "default";
3823
3870
  error: "error";
3824
- success: "success";
3825
3871
  neutral: "neutral";
3826
3872
  warning: "warning";
3827
3873
  }>>>;
@@ -3834,9 +3880,9 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3834
3880
  max: z$1.ZodNumber;
3835
3881
  radius: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
3836
3882
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
3883
+ success: "success";
3837
3884
  default: "default";
3838
3885
  error: "error";
3839
- success: "success";
3840
3886
  neutral: "neutral";
3841
3887
  warning: "warning";
3842
3888
  }>>>;
@@ -4021,6 +4067,22 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4021
4067
  }>>>;
4022
4068
  }, z$1.core.$strip>>;
4023
4069
  }, z$1.core.$strip>], "chartType">, z$1.ZodObject<{
4070
+ type: z$1.ZodLiteral<"timeline">;
4071
+ items: z$1.ZodArray<z$1.ZodObject<{
4072
+ title: z$1.ZodOptional<z$1.ZodString>;
4073
+ content: z$1.ZodString;
4074
+ }, z$1.core.$strip>>;
4075
+ orientation: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4076
+ horizontal: "horizontal";
4077
+ vertical: "vertical";
4078
+ }>>>;
4079
+ mode: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4080
+ start: "start";
4081
+ end: "end";
4082
+ alternate: "alternate";
4083
+ }>>>;
4084
+ reverse: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
4085
+ }, z$1.core.$strip>, z$1.ZodObject<{
4024
4086
  type: z$1.ZodLiteral<"layout">;
4025
4087
  columns: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
4026
4088
  children: z$1.ZodArray<z$1.ZodObject<{
@@ -4086,34 +4148,34 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4086
4148
  showLegend: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
4087
4149
  showLabel: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
4088
4150
  }, z$1.core.$strip>, z$1.ZodObject<{
4089
- value: z$1.ZodNumber;
4090
4151
  type: z$1.ZodLiteral<"chart">;
4152
+ value: z$1.ZodNumber;
4091
4153
  label: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
4092
4154
  max: z$1.ZodNumber;
4093
4155
  chartType: z$1.ZodLiteral<"progress-bar">;
4094
4156
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4157
+ success: "success";
4095
4158
  default: "default";
4096
4159
  error: "error";
4097
- success: "success";
4098
4160
  neutral: "neutral";
4099
4161
  warning: "warning";
4100
4162
  }>>>;
4101
4163
  }, z$1.core.$strip>, z$1.ZodObject<{
4102
- value: z$1.ZodNumber;
4103
4164
  type: z$1.ZodLiteral<"chart">;
4165
+ value: z$1.ZodNumber;
4104
4166
  max: z$1.ZodNumber;
4105
4167
  chartType: z$1.ZodLiteral<"progress-circle">;
4106
4168
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4169
+ success: "success";
4107
4170
  default: "default";
4108
4171
  error: "error";
4109
- success: "success";
4110
4172
  neutral: "neutral";
4111
4173
  warning: "warning";
4112
4174
  }>>>;
4113
4175
  radius: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
4114
4176
  }, z$1.core.$strip>, z$1.ZodObject<{
4115
- data: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
4116
4177
  type: z$1.ZodLiteral<"chart">;
4178
+ data: z$1.ZodArray<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
4117
4179
  chartType: z$1.ZodLiteral<"spark-chart">;
4118
4180
  colors: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4119
4181
  blue: "blue";
@@ -4147,6 +4209,7 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4147
4209
  line: "line";
4148
4210
  }>>>;
4149
4211
  }, z$1.core.$strip>, z$1.ZodObject<{
4212
+ type: z$1.ZodLiteral<"chart">;
4150
4213
  data: z$1.ZodArray<z$1.ZodObject<{
4151
4214
  name: z$1.ZodString;
4152
4215
  color: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
@@ -4164,7 +4227,6 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4164
4227
  yellow: "yellow";
4165
4228
  }>, z$1.ZodString]>>>;
4166
4229
  }, z$1.core.$strip>>;
4167
- type: z$1.ZodLiteral<"chart">;
4168
4230
  chartType: z$1.ZodLiteral<"tracker">;
4169
4231
  defaultBackgroundColor: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
4170
4232
  blue: "blue";
@@ -4608,9 +4670,9 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4608
4670
  max: z$1.ZodNumber;
4609
4671
  label: z$1.ZodOptional<z$1.ZodUnion<[z$1.ZodString, z$1.ZodNumber]>>;
4610
4672
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4673
+ success: "success";
4611
4674
  default: "default";
4612
4675
  error: "error";
4613
- success: "success";
4614
4676
  neutral: "neutral";
4615
4677
  warning: "warning";
4616
4678
  }>>>;
@@ -4623,9 +4685,9 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4623
4685
  max: z$1.ZodNumber;
4624
4686
  radius: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
4625
4687
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4688
+ success: "success";
4626
4689
  default: "default";
4627
4690
  error: "error";
4628
- success: "success";
4629
4691
  neutral: "neutral";
4630
4692
  warning: "warning";
4631
4693
  }>>>;
@@ -4809,7 +4871,23 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4809
4871
  compact: "compact";
4810
4872
  }>>>;
4811
4873
  }, z$1.core.$strip>>;
4812
- }, z$1.core.$strip>], "chartType">, z$1.ZodObject< /*elided*/any, z$1.core.$strip>, z$1.ZodObject<{
4874
+ }, z$1.core.$strip>], "chartType">, z$1.ZodObject<{
4875
+ type: z$1.ZodLiteral<"timeline">;
4876
+ items: z$1.ZodArray<z$1.ZodObject<{
4877
+ title: z$1.ZodOptional<z$1.ZodString>;
4878
+ content: z$1.ZodString;
4879
+ }, z$1.core.$strip>>;
4880
+ orientation: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4881
+ horizontal: "horizontal";
4882
+ vertical: "vertical";
4883
+ }>>>;
4884
+ mode: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4885
+ start: "start";
4886
+ end: "end";
4887
+ alternate: "alternate";
4888
+ }>>>;
4889
+ reverse: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
4890
+ }, z$1.core.$strip>, z$1.ZodObject< /*elided*/any, z$1.core.$strip>, z$1.ZodObject<{
4813
4891
  type: z$1.ZodLiteral<"table">;
4814
4892
  title: z$1.ZodOptional<z$1.ZodString>;
4815
4893
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -4859,9 +4937,9 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4859
4937
  }, z$1.core.$strip>, z$1.ZodObject<{
4860
4938
  type: z$1.ZodLiteral<"badge">;
4861
4939
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4940
+ success: "success";
4862
4941
  default: "default";
4863
4942
  error: "error";
4864
- success: "success";
4865
4943
  neutral: "neutral";
4866
4944
  warning: "warning";
4867
4945
  }>>>;
@@ -4882,9 +4960,9 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4882
4960
  }>>>;
4883
4961
  maxValue: z$1.ZodNumber;
4884
4962
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
4963
+ success: "success";
4885
4964
  default: "default";
4886
4965
  error: "error";
4887
- success: "success";
4888
4966
  neutral: "neutral";
4889
4967
  warning: "warning";
4890
4968
  }>>>;
@@ -4973,9 +5051,9 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4973
5051
  }, z$1.core.$strip>, z$1.ZodObject<{
4974
5052
  type: z$1.ZodLiteral<"badge">;
4975
5053
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
5054
+ success: "success";
4976
5055
  default: "default";
4977
5056
  error: "error";
4978
- success: "success";
4979
5057
  neutral: "neutral";
4980
5058
  warning: "warning";
4981
5059
  }>>>;
@@ -4996,9 +5074,9 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4996
5074
  }>>>;
4997
5075
  maxValue: z$1.ZodNumber;
4998
5076
  variant: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
5077
+ success: "success";
4999
5078
  default: "default";
5000
5079
  error: "error";
5001
- success: "success";
5002
5080
  neutral: "neutral";
5003
5081
  warning: "warning";
5004
5082
  }>>>;
@@ -5034,7 +5112,7 @@ declare const blockSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5034
5112
  title: z$1.ZodOptional<z$1.ZodString>;
5035
5113
  description: z$1.ZodOptional<z$1.ZodString>;
5036
5114
  }, z$1.core.$strip>], "type">;
5037
- type Block$1 = KPICard | ChartBlockOutput | TableBlock<ChartDataItem> | ImageBlock | TextBlock | ObjectBlock | LayoutBlock;
5115
+ type Block$1 = KPICard | ChartBlockOutput | TableBlock<ChartDataItem> | ImageBlock | TextBlock | ObjectBlock | TimelineBlock | LayoutBlock;
5038
5116
  type BlockOutput = z$1.infer<typeof blockSchema>;
5039
5117
  //#endregion
5040
5118
  //#region src/schema/data.d.ts
@@ -5432,22 +5510,22 @@ declare class Block {
5432
5510
  name?: string | undefined;
5433
5511
  } | undefined;
5434
5512
  } | {
5435
- value: number;
5436
5513
  type: "chart";
5514
+ value: number;
5437
5515
  max: number;
5438
5516
  chartType: "progress-bar";
5439
5517
  variant: "error" | "default" | "success" | "neutral" | "warning";
5440
5518
  label?: string | number | undefined;
5441
5519
  } | {
5442
- value: number;
5443
5520
  type: "chart";
5521
+ value: number;
5444
5522
  max: number;
5445
5523
  chartType: "progress-circle";
5446
5524
  variant: "error" | "default" | "success" | "neutral" | "warning";
5447
5525
  radius: number;
5448
5526
  } | {
5449
- data: Record<string, any>[];
5450
5527
  type: "chart";
5528
+ data: Record<string, any>[];
5451
5529
  chartType: "spark-chart";
5452
5530
  colors: string[];
5453
5531
  index: string;
@@ -5456,11 +5534,11 @@ declare class Block {
5456
5534
  stackType: "default" | "stacked" | "percent";
5457
5535
  sparkChartType: "bar" | "area" | "line";
5458
5536
  } | {
5537
+ type: "chart";
5459
5538
  data: {
5460
5539
  name: string;
5461
5540
  color: string;
5462
5541
  }[];
5463
- type: "chart";
5464
5542
  chartType: "tracker";
5465
5543
  defaultBackgroundColor: string;
5466
5544
  } | undefined;
@@ -5598,22 +5676,22 @@ declare class Block {
5598
5676
  name?: string | undefined;
5599
5677
  } | undefined;
5600
5678
  } | {
5601
- value: number;
5602
5679
  type: "chart";
5680
+ value: number;
5603
5681
  max: number;
5604
5682
  chartType: "progress-bar";
5605
5683
  variant: "error" | "default" | "success" | "neutral" | "warning";
5606
5684
  label?: string | number | undefined;
5607
5685
  } | {
5608
- value: number;
5609
5686
  type: "chart";
5687
+ value: number;
5610
5688
  max: number;
5611
5689
  chartType: "progress-circle";
5612
5690
  variant: "error" | "default" | "success" | "neutral" | "warning";
5613
5691
  radius: number;
5614
5692
  } | {
5615
- data: Record<string, any>[];
5616
5693
  type: "chart";
5694
+ data: Record<string, any>[];
5617
5695
  chartType: "spark-chart";
5618
5696
  colors: string[];
5619
5697
  index: string;
@@ -5622,11 +5700,11 @@ declare class Block {
5622
5700
  stackType: "default" | "stacked" | "percent";
5623
5701
  sparkChartType: "bar" | "area" | "line";
5624
5702
  } | {
5703
+ type: "chart";
5625
5704
  data: {
5626
5705
  name: string;
5627
5706
  color: string;
5628
5707
  }[];
5629
- type: "chart";
5630
5708
  chartType: "tracker";
5631
5709
  defaultBackgroundColor: string;
5632
5710
  } | undefined;
@@ -5910,6 +5988,15 @@ declare class Block {
5910
5988
  prefix?: string | undefined;
5911
5989
  suffix?: string | undefined;
5912
5990
  } | undefined;
5991
+ } | {
5992
+ type: "timeline";
5993
+ items: {
5994
+ content: string;
5995
+ title?: string | undefined;
5996
+ }[];
5997
+ orientation: "horizontal" | "vertical";
5998
+ mode: "start" | "end" | "alternate";
5999
+ reverse: boolean;
5913
6000
  } | {
5914
6001
  type: "table";
5915
6002
  data: Record<string, unknown>[];
@@ -5979,6 +6066,21 @@ declare class Block {
5979
6066
  rowSpan: number;
5980
6067
  }[];
5981
6068
  };
6069
+ /**
6070
+ * Creates a timeline block.
6071
+ *
6072
+ * A timeline block displays a sequence of events in chronological order.
6073
+ */
6074
+ timeline(props: TimelineBlock): {
6075
+ type: "timeline";
6076
+ items: {
6077
+ content: string;
6078
+ title?: string | undefined;
6079
+ }[];
6080
+ orientation: "horizontal" | "vertical";
6081
+ mode: "start" | "end" | "alternate";
6082
+ reverse: boolean;
6083
+ };
5982
6084
  }
5983
6085
  //#endregion
5984
6086
  //#region src/config/config-schema.d.ts
@@ -5986,6 +6088,8 @@ declare const toolForgeConfigSchema: z$1.ZodObject<{
5986
6088
  toolsDir: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodString>>;
5987
6089
  apiKey: z$1.ZodString;
5988
6090
  sdkServer: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodURL>>;
6091
+ appServerUrl: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodURL>>;
6092
+ appUrl: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodURL>>;
5989
6093
  maxRetries: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodNumber>>;
5990
6094
  }, z$1.core.$strip>;
5991
6095
  type ToolForgeConfig = z$1.infer<typeof toolForgeConfigSchema>;
@@ -6115,6 +6219,8 @@ declare class IO {
6115
6219
  secure,
6116
6220
  inputType,
6117
6221
  mode,
6222
+ min,
6223
+ max,
6118
6224
  maxRetryAttempts,
6119
6225
  validationSchema,
6120
6226
  defaultValue
@@ -6662,7 +6768,7 @@ declare function defineAgent<Context, Steps extends Record<string, AgentStep<Con
6662
6768
  };
6663
6769
  name: string;
6664
6770
  description?: string;
6665
- contextSchema: z$1.ZodType<Context, unknown, zod_v4_core0.$ZodTypeInternals<Context, unknown>>;
6771
+ contextSchema: z$1.ZodType<Context, unknown, better_auth0.$ZodTypeInternals<Context, unknown>>;
6666
6772
  workflow: (builder: IWorkflowBuilder<Context, keyof Steps>) => IWorkflowBuilder<Context, keyof Steps>;
6667
6773
  bootstrap?: AgentBootstrapFunction<Context> | undefined;
6668
6774
  __tf__tag__name__: symbol;