@synsci/sdk 1.3.5-test.1.1 → 1.3.5-test.11.1
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/v2/gen/sdk.gen.d.ts
CHANGED
|
@@ -790,7 +790,7 @@ export declare class Session extends HeyApiClient {
|
|
|
790
790
|
};
|
|
791
791
|
system?: string;
|
|
792
792
|
variant?: string;
|
|
793
|
-
tier?:
|
|
793
|
+
tier?: string;
|
|
794
794
|
parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
|
|
795
795
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptResponses, SessionPromptErrors, ThrowOnError, "fields">;
|
|
796
796
|
/**
|
|
@@ -823,7 +823,7 @@ export declare class Session extends HeyApiClient {
|
|
|
823
823
|
};
|
|
824
824
|
system?: string;
|
|
825
825
|
variant?: string;
|
|
826
|
-
tier?:
|
|
826
|
+
tier?: string;
|
|
827
827
|
parts?: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
|
|
828
828
|
}, options?: Options<never, ThrowOnError>): import("./client/types.gen.js").RequestResult<SessionPromptAsyncResponses, SessionPromptAsyncErrors, ThrowOnError, "fields">;
|
|
829
829
|
/**
|
|
@@ -840,6 +840,7 @@ export declare class Session extends HeyApiClient {
|
|
|
840
840
|
arguments?: string;
|
|
841
841
|
command?: string;
|
|
842
842
|
variant?: string;
|
|
843
|
+
tier?: string;
|
|
843
844
|
parts?: Array<{
|
|
844
845
|
id?: string;
|
|
845
846
|
type: "file";
|
package/dist/v2/gen/sdk.gen.js
CHANGED
|
@@ -119,7 +119,7 @@ export type UserMessage = {
|
|
|
119
119
|
[key: string]: boolean;
|
|
120
120
|
};
|
|
121
121
|
variant?: string;
|
|
122
|
-
tier?:
|
|
122
|
+
tier?: string;
|
|
123
123
|
};
|
|
124
124
|
export type ProviderAuthError = {
|
|
125
125
|
name: "ProviderAuthError";
|
|
@@ -1257,6 +1257,16 @@ export type ProviderConfig = {
|
|
|
1257
1257
|
release_date?: string;
|
|
1258
1258
|
attachment?: boolean;
|
|
1259
1259
|
reasoning?: boolean;
|
|
1260
|
+
reasoning_options?: Array<{
|
|
1261
|
+
type: "toggle";
|
|
1262
|
+
} | {
|
|
1263
|
+
type: "effort";
|
|
1264
|
+
values: Array<string | null>;
|
|
1265
|
+
} | {
|
|
1266
|
+
type: "budget_tokens";
|
|
1267
|
+
min?: number;
|
|
1268
|
+
max?: number;
|
|
1269
|
+
}>;
|
|
1260
1270
|
temperature?: boolean;
|
|
1261
1271
|
tool_call?: boolean;
|
|
1262
1272
|
interleaved?: true | {
|
|
@@ -1283,7 +1293,27 @@ export type ProviderConfig = {
|
|
|
1283
1293
|
input: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
1284
1294
|
output: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
1285
1295
|
};
|
|
1286
|
-
experimental?: boolean
|
|
1296
|
+
experimental?: boolean | {
|
|
1297
|
+
modes?: {
|
|
1298
|
+
[key: string]: {
|
|
1299
|
+
model?: string;
|
|
1300
|
+
cost?: {
|
|
1301
|
+
input: number;
|
|
1302
|
+
output: number;
|
|
1303
|
+
cache_read?: number;
|
|
1304
|
+
cache_write?: number;
|
|
1305
|
+
};
|
|
1306
|
+
provider?: {
|
|
1307
|
+
body?: {
|
|
1308
|
+
[key: string]: unknown;
|
|
1309
|
+
};
|
|
1310
|
+
headers?: {
|
|
1311
|
+
[key: string]: string;
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1314
|
+
};
|
|
1315
|
+
};
|
|
1316
|
+
};
|
|
1287
1317
|
status?: "alpha" | "beta" | "deprecated";
|
|
1288
1318
|
options?: {
|
|
1289
1319
|
[key: string]: unknown;
|
|
@@ -1744,11 +1774,35 @@ export type Model = {
|
|
|
1744
1774
|
[key: string]: string;
|
|
1745
1775
|
};
|
|
1746
1776
|
release_date: string;
|
|
1777
|
+
reasoningOptions?: Array<{
|
|
1778
|
+
[key: string]: unknown;
|
|
1779
|
+
}>;
|
|
1747
1780
|
variants?: {
|
|
1748
1781
|
[key: string]: {
|
|
1749
1782
|
[key: string]: unknown;
|
|
1750
1783
|
};
|
|
1751
1784
|
};
|
|
1785
|
+
modes?: {
|
|
1786
|
+
[key: string]: {
|
|
1787
|
+
model?: string;
|
|
1788
|
+
cost?: {
|
|
1789
|
+
input: number;
|
|
1790
|
+
output: number;
|
|
1791
|
+
cache: {
|
|
1792
|
+
read: number;
|
|
1793
|
+
write: number;
|
|
1794
|
+
};
|
|
1795
|
+
};
|
|
1796
|
+
provider?: {
|
|
1797
|
+
body?: {
|
|
1798
|
+
[key: string]: unknown;
|
|
1799
|
+
};
|
|
1800
|
+
headers?: {
|
|
1801
|
+
[key: string]: string;
|
|
1802
|
+
};
|
|
1803
|
+
};
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1752
1806
|
};
|
|
1753
1807
|
export type Provider = {
|
|
1754
1808
|
id: string;
|
|
@@ -3858,7 +3912,7 @@ export type SessionPromptData = {
|
|
|
3858
3912
|
};
|
|
3859
3913
|
system?: string;
|
|
3860
3914
|
variant?: string;
|
|
3861
|
-
tier?:
|
|
3915
|
+
tier?: string;
|
|
3862
3916
|
parts: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
|
|
3863
3917
|
};
|
|
3864
3918
|
path: {
|
|
@@ -4026,7 +4080,7 @@ export type SessionPromptAsyncData = {
|
|
|
4026
4080
|
};
|
|
4027
4081
|
system?: string;
|
|
4028
4082
|
variant?: string;
|
|
4029
|
-
tier?:
|
|
4083
|
+
tier?: string;
|
|
4030
4084
|
parts: Array<TextPartInput | FilePartInput | AgentPartInput | SubtaskPartInput>;
|
|
4031
4085
|
};
|
|
4032
4086
|
path: {
|
|
@@ -4066,6 +4120,7 @@ export type SessionCommandData = {
|
|
|
4066
4120
|
arguments: string;
|
|
4067
4121
|
command: string;
|
|
4068
4122
|
variant?: string;
|
|
4123
|
+
tier?: string;
|
|
4069
4124
|
parts?: Array<{
|
|
4070
4125
|
id?: string;
|
|
4071
4126
|
type: "file";
|
|
@@ -4384,6 +4439,16 @@ export type ProviderListResponses = {
|
|
|
4384
4439
|
release_date: string;
|
|
4385
4440
|
attachment: boolean;
|
|
4386
4441
|
reasoning: boolean;
|
|
4442
|
+
reasoning_options?: Array<{
|
|
4443
|
+
type: "toggle";
|
|
4444
|
+
} | {
|
|
4445
|
+
type: "effort";
|
|
4446
|
+
values: Array<string | null>;
|
|
4447
|
+
} | {
|
|
4448
|
+
type: "budget_tokens";
|
|
4449
|
+
min?: number;
|
|
4450
|
+
max?: number;
|
|
4451
|
+
}>;
|
|
4387
4452
|
temperature: boolean;
|
|
4388
4453
|
tool_call: boolean;
|
|
4389
4454
|
interleaved?: true | {
|
|
@@ -4410,7 +4475,27 @@ export type ProviderListResponses = {
|
|
|
4410
4475
|
input: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
4411
4476
|
output: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
4412
4477
|
};
|
|
4413
|
-
experimental?: boolean
|
|
4478
|
+
experimental?: boolean | {
|
|
4479
|
+
modes?: {
|
|
4480
|
+
[key: string]: {
|
|
4481
|
+
model?: string;
|
|
4482
|
+
cost?: {
|
|
4483
|
+
input: number;
|
|
4484
|
+
output: number;
|
|
4485
|
+
cache_read?: number;
|
|
4486
|
+
cache_write?: number;
|
|
4487
|
+
};
|
|
4488
|
+
provider?: {
|
|
4489
|
+
body?: {
|
|
4490
|
+
[key: string]: unknown;
|
|
4491
|
+
};
|
|
4492
|
+
headers?: {
|
|
4493
|
+
[key: string]: string;
|
|
4494
|
+
};
|
|
4495
|
+
};
|
|
4496
|
+
};
|
|
4497
|
+
};
|
|
4498
|
+
};
|
|
4414
4499
|
status?: "alpha" | "beta" | "deprecated";
|
|
4415
4500
|
options: {
|
|
4416
4501
|
[key: string]: unknown;
|