@synsci/sdk 1.3.5-test.9.1 → 1.3.6-test.18.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 +3 -2
- package/dist/v2/gen/sdk.gen.js +1 -0
- package/dist/v2/gen/types.gen.d.ts +61 -64
- package/package.json +1 -1
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;
|
|
@@ -1687,7 +1717,7 @@ export type Model = {
|
|
|
1687
1717
|
providerID: string;
|
|
1688
1718
|
api: {
|
|
1689
1719
|
id: string;
|
|
1690
|
-
url
|
|
1720
|
+
url?: string;
|
|
1691
1721
|
npm: string;
|
|
1692
1722
|
};
|
|
1693
1723
|
name: string;
|
|
@@ -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";
|
|
@@ -4370,65 +4425,7 @@ export type ProviderListResponses = {
|
|
|
4370
4425
|
* List of providers
|
|
4371
4426
|
*/
|
|
4372
4427
|
200: {
|
|
4373
|
-
all: Array<
|
|
4374
|
-
api?: string;
|
|
4375
|
-
name: string;
|
|
4376
|
-
env: Array<string>;
|
|
4377
|
-
id: string;
|
|
4378
|
-
npm?: string;
|
|
4379
|
-
models: {
|
|
4380
|
-
[key: string]: {
|
|
4381
|
-
id: string;
|
|
4382
|
-
name: string;
|
|
4383
|
-
family?: string;
|
|
4384
|
-
release_date: string;
|
|
4385
|
-
attachment: boolean;
|
|
4386
|
-
reasoning: boolean;
|
|
4387
|
-
temperature: boolean;
|
|
4388
|
-
tool_call: boolean;
|
|
4389
|
-
interleaved?: true | {
|
|
4390
|
-
field: "reasoning_content" | "reasoning_details";
|
|
4391
|
-
};
|
|
4392
|
-
cost?: {
|
|
4393
|
-
input: number;
|
|
4394
|
-
output: number;
|
|
4395
|
-
cache_read?: number;
|
|
4396
|
-
cache_write?: number;
|
|
4397
|
-
context_over_200k?: {
|
|
4398
|
-
input: number;
|
|
4399
|
-
output: number;
|
|
4400
|
-
cache_read?: number;
|
|
4401
|
-
cache_write?: number;
|
|
4402
|
-
};
|
|
4403
|
-
};
|
|
4404
|
-
limit: {
|
|
4405
|
-
context: number;
|
|
4406
|
-
input?: number;
|
|
4407
|
-
output: number;
|
|
4408
|
-
};
|
|
4409
|
-
modalities?: {
|
|
4410
|
-
input: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
4411
|
-
output: Array<"text" | "audio" | "image" | "video" | "pdf">;
|
|
4412
|
-
};
|
|
4413
|
-
experimental?: boolean;
|
|
4414
|
-
status?: "alpha" | "beta" | "deprecated";
|
|
4415
|
-
options: {
|
|
4416
|
-
[key: string]: unknown;
|
|
4417
|
-
};
|
|
4418
|
-
headers?: {
|
|
4419
|
-
[key: string]: string;
|
|
4420
|
-
};
|
|
4421
|
-
provider?: {
|
|
4422
|
-
npm: string;
|
|
4423
|
-
};
|
|
4424
|
-
variants?: {
|
|
4425
|
-
[key: string]: {
|
|
4426
|
-
[key: string]: unknown;
|
|
4427
|
-
};
|
|
4428
|
-
};
|
|
4429
|
-
};
|
|
4430
|
-
};
|
|
4431
|
-
}>;
|
|
4428
|
+
all: Array<Provider>;
|
|
4432
4429
|
default: {
|
|
4433
4430
|
[key: string]: string;
|
|
4434
4431
|
};
|