@to11ai/sdk 3.0.0-rc.19 → 3.0.0-rc.21
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.
- package/dist/generated/types.gen.d.ts +100 -26
- package/dist/generated/zod.gen.d.ts +110 -0
- package/package.json +3 -3
- package/src/generated/types.gen.ts +100 -26
- package/src/generated/zod.gen.ts +110 -0
|
@@ -2852,6 +2852,7 @@ export declare const zCostRatesListBuiltinCostRatesQuery: z.ZodObject<{
|
|
|
2852
2852
|
cache_creation: "cache_creation";
|
|
2853
2853
|
cache_creation_5m: "cache_creation_5m";
|
|
2854
2854
|
cache_creation_1h: "cache_creation_1h";
|
|
2855
|
+
cache_creation_12h: "cache_creation_12h";
|
|
2855
2856
|
cache_read: "cache_read";
|
|
2856
2857
|
reasoning: "reasoning";
|
|
2857
2858
|
}>>>;
|
|
@@ -2894,6 +2895,7 @@ export declare const zCostRatesListBuiltinCostRatesResponse: z.ZodObject<{
|
|
|
2894
2895
|
cache_creation: "cache_creation";
|
|
2895
2896
|
cache_creation_5m: "cache_creation_5m";
|
|
2896
2897
|
cache_creation_1h: "cache_creation_1h";
|
|
2898
|
+
cache_creation_12h: "cache_creation_12h";
|
|
2897
2899
|
cache_read: "cache_read";
|
|
2898
2900
|
reasoning: "reasoning";
|
|
2899
2901
|
}>;
|
|
@@ -3189,6 +3191,10 @@ export declare const zAssistantRunsRecordAssistantRunBody: z.ZodObject<{
|
|
|
3189
3191
|
disabled: "disabled";
|
|
3190
3192
|
superseded: "superseded";
|
|
3191
3193
|
}>;
|
|
3194
|
+
reportedAsker: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3195
|
+
slackTeamId: z.ZodString;
|
|
3196
|
+
slackUserId: z.ZodString;
|
|
3197
|
+
}, z.core.$strip>>>;
|
|
3192
3198
|
runId: z.ZodString;
|
|
3193
3199
|
runType: z.ZodEnum<{
|
|
3194
3200
|
data_question: "data_question";
|
|
@@ -4309,6 +4315,7 @@ export declare const zCostRatesListOrgCostRatesQuery: z.ZodObject<{
|
|
|
4309
4315
|
cache_creation: "cache_creation";
|
|
4310
4316
|
cache_creation_5m: "cache_creation_5m";
|
|
4311
4317
|
cache_creation_1h: "cache_creation_1h";
|
|
4318
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4312
4319
|
cache_read: "cache_read";
|
|
4313
4320
|
reasoning: "reasoning";
|
|
4314
4321
|
}>>>;
|
|
@@ -4351,6 +4358,7 @@ export declare const zCostRatesListOrgCostRatesResponse: z.ZodObject<{
|
|
|
4351
4358
|
cache_creation: "cache_creation";
|
|
4352
4359
|
cache_creation_5m: "cache_creation_5m";
|
|
4353
4360
|
cache_creation_1h: "cache_creation_1h";
|
|
4361
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4354
4362
|
cache_read: "cache_read";
|
|
4355
4363
|
reasoning: "reasoning";
|
|
4356
4364
|
}>;
|
|
@@ -4399,6 +4407,7 @@ export declare const zCostRatesCreateOrgCostRateBody: z.ZodObject<{
|
|
|
4399
4407
|
cache_creation: "cache_creation";
|
|
4400
4408
|
cache_creation_5m: "cache_creation_5m";
|
|
4401
4409
|
cache_creation_1h: "cache_creation_1h";
|
|
4410
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4402
4411
|
cache_read: "cache_read";
|
|
4403
4412
|
reasoning: "reasoning";
|
|
4404
4413
|
}>;
|
|
@@ -4437,6 +4446,7 @@ export declare const zCostRatesCreateOrgCostRateResponse: z.ZodObject<{
|
|
|
4437
4446
|
cache_creation: "cache_creation";
|
|
4438
4447
|
cache_creation_5m: "cache_creation_5m";
|
|
4439
4448
|
cache_creation_1h: "cache_creation_1h";
|
|
4449
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4440
4450
|
cache_read: "cache_read";
|
|
4441
4451
|
reasoning: "reasoning";
|
|
4442
4452
|
}>;
|
|
@@ -4538,6 +4548,7 @@ export declare const zCostRatesUpdateOrgCostRateResponse: z.ZodObject<{
|
|
|
4538
4548
|
cache_creation: "cache_creation";
|
|
4539
4549
|
cache_creation_5m: "cache_creation_5m";
|
|
4540
4550
|
cache_creation_1h: "cache_creation_1h";
|
|
4551
|
+
cache_creation_12h: "cache_creation_12h";
|
|
4541
4552
|
cache_read: "cache_read";
|
|
4542
4553
|
reasoning: "reasoning";
|
|
4543
4554
|
}>;
|
|
@@ -6410,6 +6421,7 @@ export declare const zCostRatesListWorkspaceCostRatesQuery: z.ZodObject<{
|
|
|
6410
6421
|
cache_creation: "cache_creation";
|
|
6411
6422
|
cache_creation_5m: "cache_creation_5m";
|
|
6412
6423
|
cache_creation_1h: "cache_creation_1h";
|
|
6424
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6413
6425
|
cache_read: "cache_read";
|
|
6414
6426
|
reasoning: "reasoning";
|
|
6415
6427
|
}>>>;
|
|
@@ -6452,6 +6464,7 @@ export declare const zCostRatesListWorkspaceCostRatesResponse: z.ZodObject<{
|
|
|
6452
6464
|
cache_creation: "cache_creation";
|
|
6453
6465
|
cache_creation_5m: "cache_creation_5m";
|
|
6454
6466
|
cache_creation_1h: "cache_creation_1h";
|
|
6467
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6455
6468
|
cache_read: "cache_read";
|
|
6456
6469
|
reasoning: "reasoning";
|
|
6457
6470
|
}>;
|
|
@@ -6500,6 +6513,7 @@ export declare const zCostRatesCreateWorkspaceCostRateBody: z.ZodObject<{
|
|
|
6500
6513
|
cache_creation: "cache_creation";
|
|
6501
6514
|
cache_creation_5m: "cache_creation_5m";
|
|
6502
6515
|
cache_creation_1h: "cache_creation_1h";
|
|
6516
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6503
6517
|
cache_read: "cache_read";
|
|
6504
6518
|
reasoning: "reasoning";
|
|
6505
6519
|
}>;
|
|
@@ -6539,6 +6553,7 @@ export declare const zCostRatesCreateWorkspaceCostRateResponse: z.ZodObject<{
|
|
|
6539
6553
|
cache_creation: "cache_creation";
|
|
6540
6554
|
cache_creation_5m: "cache_creation_5m";
|
|
6541
6555
|
cache_creation_1h: "cache_creation_1h";
|
|
6556
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6542
6557
|
cache_read: "cache_read";
|
|
6543
6558
|
reasoning: "reasoning";
|
|
6544
6559
|
}>;
|
|
@@ -6642,6 +6657,7 @@ export declare const zCostRatesUpdateWorkspaceCostRateResponse: z.ZodObject<{
|
|
|
6642
6657
|
cache_creation: "cache_creation";
|
|
6643
6658
|
cache_creation_5m: "cache_creation_5m";
|
|
6644
6659
|
cache_creation_1h: "cache_creation_1h";
|
|
6660
|
+
cache_creation_12h: "cache_creation_12h";
|
|
6645
6661
|
cache_read: "cache_read";
|
|
6646
6662
|
reasoning: "reasoning";
|
|
6647
6663
|
}>;
|
|
@@ -8101,6 +8117,7 @@ export declare const zCostRatesListProjectCostRatesQuery: z.ZodObject<{
|
|
|
8101
8117
|
cache_creation: "cache_creation";
|
|
8102
8118
|
cache_creation_5m: "cache_creation_5m";
|
|
8103
8119
|
cache_creation_1h: "cache_creation_1h";
|
|
8120
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8104
8121
|
cache_read: "cache_read";
|
|
8105
8122
|
reasoning: "reasoning";
|
|
8106
8123
|
}>>>;
|
|
@@ -8143,6 +8160,7 @@ export declare const zCostRatesListProjectCostRatesResponse: z.ZodObject<{
|
|
|
8143
8160
|
cache_creation: "cache_creation";
|
|
8144
8161
|
cache_creation_5m: "cache_creation_5m";
|
|
8145
8162
|
cache_creation_1h: "cache_creation_1h";
|
|
8163
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8146
8164
|
cache_read: "cache_read";
|
|
8147
8165
|
reasoning: "reasoning";
|
|
8148
8166
|
}>;
|
|
@@ -8191,6 +8209,7 @@ export declare const zCostRatesCreateProjectCostRateBody: z.ZodObject<{
|
|
|
8191
8209
|
cache_creation: "cache_creation";
|
|
8192
8210
|
cache_creation_5m: "cache_creation_5m";
|
|
8193
8211
|
cache_creation_1h: "cache_creation_1h";
|
|
8212
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8194
8213
|
cache_read: "cache_read";
|
|
8195
8214
|
reasoning: "reasoning";
|
|
8196
8215
|
}>;
|
|
@@ -8229,6 +8248,7 @@ export declare const zCostRatesCreateProjectCostRateResponse: z.ZodObject<{
|
|
|
8229
8248
|
cache_creation: "cache_creation";
|
|
8230
8249
|
cache_creation_5m: "cache_creation_5m";
|
|
8231
8250
|
cache_creation_1h: "cache_creation_1h";
|
|
8251
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8232
8252
|
cache_read: "cache_read";
|
|
8233
8253
|
reasoning: "reasoning";
|
|
8234
8254
|
}>;
|
|
@@ -8299,6 +8319,7 @@ export declare const zCostRatesGetEffectiveCostRatesResponse: z.ZodObject<{
|
|
|
8299
8319
|
cache_creation: "cache_creation";
|
|
8300
8320
|
cache_creation_5m: "cache_creation_5m";
|
|
8301
8321
|
cache_creation_1h: "cache_creation_1h";
|
|
8322
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8302
8323
|
cache_read: "cache_read";
|
|
8303
8324
|
reasoning: "reasoning";
|
|
8304
8325
|
}>;
|
|
@@ -8403,6 +8424,7 @@ export declare const zCostRatesUpdateProjectCostRateResponse: z.ZodObject<{
|
|
|
8403
8424
|
cache_creation: "cache_creation";
|
|
8404
8425
|
cache_creation_5m: "cache_creation_5m";
|
|
8405
8426
|
cache_creation_1h: "cache_creation_1h";
|
|
8427
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8406
8428
|
cache_read: "cache_read";
|
|
8407
8429
|
reasoning: "reasoning";
|
|
8408
8430
|
}>;
|
|
@@ -8618,6 +8640,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8618
8640
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8619
8641
|
count: z.ZodNumber;
|
|
8620
8642
|
}, z.core.$strip>>>;
|
|
8643
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8644
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8645
|
+
count: z.ZodNumber;
|
|
8646
|
+
}, z.core.$strip>>>;
|
|
8621
8647
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8622
8648
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8623
8649
|
count: z.ZodNumber;
|
|
@@ -8640,6 +8666,7 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8640
8666
|
cache_creation: "cache_creation";
|
|
8641
8667
|
cache_creation_5m: "cache_creation_5m";
|
|
8642
8668
|
cache_creation_1h: "cache_creation_1h";
|
|
8669
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8643
8670
|
cache_read: "cache_read";
|
|
8644
8671
|
reasoning: "reasoning";
|
|
8645
8672
|
}>>>>;
|
|
@@ -8666,6 +8693,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8666
8693
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8667
8694
|
count: z.ZodNumber;
|
|
8668
8695
|
}, z.core.$strip>>>;
|
|
8696
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8697
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8698
|
+
count: z.ZodNumber;
|
|
8699
|
+
}, z.core.$strip>>>;
|
|
8669
8700
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8670
8701
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8671
8702
|
count: z.ZodNumber;
|
|
@@ -8732,6 +8763,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8732
8763
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8733
8764
|
count: z.ZodNumber;
|
|
8734
8765
|
}, z.core.$strip>>>;
|
|
8766
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8767
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8768
|
+
count: z.ZodNumber;
|
|
8769
|
+
}, z.core.$strip>>>;
|
|
8735
8770
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8736
8771
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8737
8772
|
count: z.ZodNumber;
|
|
@@ -8754,6 +8789,7 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8754
8789
|
cache_creation: "cache_creation";
|
|
8755
8790
|
cache_creation_5m: "cache_creation_5m";
|
|
8756
8791
|
cache_creation_1h: "cache_creation_1h";
|
|
8792
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8757
8793
|
cache_read: "cache_read";
|
|
8758
8794
|
reasoning: "reasoning";
|
|
8759
8795
|
}>>>>;
|
|
@@ -8780,6 +8816,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8780
8816
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8781
8817
|
count: z.ZodNumber;
|
|
8782
8818
|
}, z.core.$strip>>>;
|
|
8819
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8820
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8821
|
+
count: z.ZodNumber;
|
|
8822
|
+
}, z.core.$strip>>>;
|
|
8783
8823
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8784
8824
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8785
8825
|
count: z.ZodNumber;
|
|
@@ -8835,6 +8875,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8835
8875
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8836
8876
|
count: z.ZodNumber;
|
|
8837
8877
|
}, z.core.$strip>>>;
|
|
8878
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8879
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8880
|
+
count: z.ZodNumber;
|
|
8881
|
+
}, z.core.$strip>>>;
|
|
8838
8882
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8839
8883
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8840
8884
|
count: z.ZodNumber;
|
|
@@ -8857,6 +8901,7 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8857
8901
|
cache_creation: "cache_creation";
|
|
8858
8902
|
cache_creation_5m: "cache_creation_5m";
|
|
8859
8903
|
cache_creation_1h: "cache_creation_1h";
|
|
8904
|
+
cache_creation_12h: "cache_creation_12h";
|
|
8860
8905
|
cache_read: "cache_read";
|
|
8861
8906
|
reasoning: "reasoning";
|
|
8862
8907
|
}>>>>;
|
|
@@ -8883,6 +8928,10 @@ export declare const zProjectOverviewGetProjectOverviewResponse: z.ZodObject<{
|
|
|
8883
8928
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8884
8929
|
count: z.ZodNumber;
|
|
8885
8930
|
}, z.core.$strip>>>;
|
|
8931
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8932
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
8933
|
+
count: z.ZodNumber;
|
|
8934
|
+
}, z.core.$strip>>>;
|
|
8886
8935
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8887
8936
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
8888
8937
|
count: z.ZodNumber;
|
|
@@ -14808,6 +14857,10 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
14808
14857
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14809
14858
|
count: z.ZodNumber;
|
|
14810
14859
|
}, z.core.$strip>>>;
|
|
14860
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14861
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
14862
|
+
count: z.ZodNumber;
|
|
14863
|
+
}, z.core.$strip>>>;
|
|
14811
14864
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14812
14865
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14813
14866
|
count: z.ZodNumber;
|
|
@@ -14830,6 +14883,7 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
14830
14883
|
cache_creation: "cache_creation";
|
|
14831
14884
|
cache_creation_5m: "cache_creation_5m";
|
|
14832
14885
|
cache_creation_1h: "cache_creation_1h";
|
|
14886
|
+
cache_creation_12h: "cache_creation_12h";
|
|
14833
14887
|
cache_read: "cache_read";
|
|
14834
14888
|
reasoning: "reasoning";
|
|
14835
14889
|
}>>>>;
|
|
@@ -14856,6 +14910,10 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
14856
14910
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14857
14911
|
count: z.ZodNumber;
|
|
14858
14912
|
}, z.core.$strip>>>;
|
|
14913
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14914
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
14915
|
+
count: z.ZodNumber;
|
|
14916
|
+
}, z.core.$strip>>>;
|
|
14859
14917
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14860
14918
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14861
14919
|
count: z.ZodNumber;
|
|
@@ -14899,6 +14957,16 @@ export declare const zSessionsListSessionsResponse: z.ZodObject<{
|
|
|
14899
14957
|
id: z.ZodString;
|
|
14900
14958
|
}, z.core.$strip>>;
|
|
14901
14959
|
providerSlug: z.ZodNullable<z.ZodString>;
|
|
14960
|
+
pullRequests: z.ZodArray<z.ZodObject<{
|
|
14961
|
+
number: z.ZodInt;
|
|
14962
|
+
state: z.ZodEnum<{
|
|
14963
|
+
open: "open";
|
|
14964
|
+
draft: "draft";
|
|
14965
|
+
merged: "merged";
|
|
14966
|
+
closed: "closed";
|
|
14967
|
+
}>;
|
|
14968
|
+
url: z.ZodString;
|
|
14969
|
+
}, z.core.$strip>>;
|
|
14902
14970
|
requestCount: z.ZodInt;
|
|
14903
14971
|
sessionId: z.ZodString;
|
|
14904
14972
|
startedAt: z.ZodString;
|
|
@@ -14976,6 +15044,10 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
14976
15044
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14977
15045
|
count: z.ZodNumber;
|
|
14978
15046
|
}, z.core.$strip>>>;
|
|
15047
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15048
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15049
|
+
count: z.ZodNumber;
|
|
15050
|
+
}, z.core.$strip>>>;
|
|
14979
15051
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14980
15052
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
14981
15053
|
count: z.ZodNumber;
|
|
@@ -14998,6 +15070,7 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
14998
15070
|
cache_creation: "cache_creation";
|
|
14999
15071
|
cache_creation_5m: "cache_creation_5m";
|
|
15000
15072
|
cache_creation_1h: "cache_creation_1h";
|
|
15073
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15001
15074
|
cache_read: "cache_read";
|
|
15002
15075
|
reasoning: "reasoning";
|
|
15003
15076
|
}>>>>;
|
|
@@ -15024,6 +15097,10 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
15024
15097
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15025
15098
|
count: z.ZodNumber;
|
|
15026
15099
|
}, z.core.$strip>>>;
|
|
15100
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15101
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15102
|
+
count: z.ZodNumber;
|
|
15103
|
+
}, z.core.$strip>>>;
|
|
15027
15104
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15028
15105
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15029
15106
|
count: z.ZodNumber;
|
|
@@ -15067,6 +15144,16 @@ export declare const zSessionsGetSessionResponse: z.ZodObject<{
|
|
|
15067
15144
|
id: z.ZodString;
|
|
15068
15145
|
}, z.core.$strip>>;
|
|
15069
15146
|
providerSlug: z.ZodNullable<z.ZodString>;
|
|
15147
|
+
pullRequests: z.ZodArray<z.ZodObject<{
|
|
15148
|
+
number: z.ZodInt;
|
|
15149
|
+
state: z.ZodEnum<{
|
|
15150
|
+
open: "open";
|
|
15151
|
+
draft: "draft";
|
|
15152
|
+
merged: "merged";
|
|
15153
|
+
closed: "closed";
|
|
15154
|
+
}>;
|
|
15155
|
+
url: z.ZodString;
|
|
15156
|
+
}, z.core.$strip>>;
|
|
15070
15157
|
requestCount: z.ZodInt;
|
|
15071
15158
|
sessionId: z.ZodString;
|
|
15072
15159
|
startedAt: z.ZodString;
|
|
@@ -15226,6 +15313,10 @@ export declare const zTracesListTracesResponse: z.ZodObject<{
|
|
|
15226
15313
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15227
15314
|
count: z.ZodNumber;
|
|
15228
15315
|
}, z.core.$strip>>>;
|
|
15316
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15317
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15318
|
+
count: z.ZodNumber;
|
|
15319
|
+
}, z.core.$strip>>>;
|
|
15229
15320
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15230
15321
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15231
15322
|
count: z.ZodNumber;
|
|
@@ -15248,6 +15339,7 @@ export declare const zTracesListTracesResponse: z.ZodObject<{
|
|
|
15248
15339
|
cache_creation: "cache_creation";
|
|
15249
15340
|
cache_creation_5m: "cache_creation_5m";
|
|
15250
15341
|
cache_creation_1h: "cache_creation_1h";
|
|
15342
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15251
15343
|
cache_read: "cache_read";
|
|
15252
15344
|
reasoning: "reasoning";
|
|
15253
15345
|
}>>>>;
|
|
@@ -15274,6 +15366,10 @@ export declare const zTracesListTracesResponse: z.ZodObject<{
|
|
|
15274
15366
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15275
15367
|
count: z.ZodNumber;
|
|
15276
15368
|
}, z.core.$strip>>>;
|
|
15369
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15370
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15371
|
+
count: z.ZodNumber;
|
|
15372
|
+
}, z.core.$strip>>>;
|
|
15277
15373
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15278
15374
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15279
15375
|
count: z.ZodNumber;
|
|
@@ -15524,6 +15620,10 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15524
15620
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15525
15621
|
count: z.ZodNumber;
|
|
15526
15622
|
}, z.core.$strip>>>;
|
|
15623
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15624
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15625
|
+
count: z.ZodNumber;
|
|
15626
|
+
}, z.core.$strip>>>;
|
|
15527
15627
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15528
15628
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15529
15629
|
count: z.ZodNumber;
|
|
@@ -15546,6 +15646,7 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15546
15646
|
cache_creation: "cache_creation";
|
|
15547
15647
|
cache_creation_5m: "cache_creation_5m";
|
|
15548
15648
|
cache_creation_1h: "cache_creation_1h";
|
|
15649
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15549
15650
|
cache_read: "cache_read";
|
|
15550
15651
|
reasoning: "reasoning";
|
|
15551
15652
|
}>>>>;
|
|
@@ -15572,6 +15673,10 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15572
15673
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15573
15674
|
count: z.ZodNumber;
|
|
15574
15675
|
}, z.core.$strip>>>;
|
|
15676
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15677
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15678
|
+
count: z.ZodNumber;
|
|
15679
|
+
}, z.core.$strip>>>;
|
|
15575
15680
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15576
15681
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15577
15682
|
count: z.ZodNumber;
|
|
@@ -15630,6 +15735,10 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15630
15735
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15631
15736
|
count: z.ZodNumber;
|
|
15632
15737
|
}, z.core.$strip>>>;
|
|
15738
|
+
cache_creation_12h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15739
|
+
cost: z.ZodNullable<z.ZodNumber>;
|
|
15740
|
+
count: z.ZodNumber;
|
|
15741
|
+
}, z.core.$strip>>>;
|
|
15633
15742
|
cache_creation_1h: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
15634
15743
|
cost: z.ZodNullable<z.ZodNumber>;
|
|
15635
15744
|
count: z.ZodNumber;
|
|
@@ -15652,6 +15761,7 @@ export declare const zTracesGetTraceDetailResponse: z.ZodObject<{
|
|
|
15652
15761
|
cache_creation: "cache_creation";
|
|
15653
15762
|
cache_creation_5m: "cache_creation_5m";
|
|
15654
15763
|
cache_creation_1h: "cache_creation_1h";
|
|
15764
|
+
cache_creation_12h: "cache_creation_12h";
|
|
15655
15765
|
cache_read: "cache_read";
|
|
15656
15766
|
reasoning: "reasoning";
|
|
15657
15767
|
}>>>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@to11ai/sdk",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.21",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -90,11 +90,11 @@
|
|
|
90
90
|
"format": "biome format --write ."
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@anthropic-ai/sdk": "^0.
|
|
93
|
+
"@anthropic-ai/sdk": "^0.137.0",
|
|
94
94
|
"@biomejs/biome": "2.6.2",
|
|
95
95
|
"@hey-api/openapi-ts": "0.99.0",
|
|
96
96
|
"@opentelemetry/api": "^1.9.1",
|
|
97
|
-
"@types/bun": "^1.4.
|
|
97
|
+
"@types/bun": "^1.4.4",
|
|
98
98
|
"openai": "^4.104.0",
|
|
99
99
|
"typescript": "^6.0.3"
|
|
100
100
|
},
|