@adaline/google 1.15.0 → 1.16.0
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/index.d.mts +55 -16
- package/dist/index.d.ts +55 -16
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1362,16 +1362,19 @@ declare const GoogleCompleteChatToolResponse: z.ZodObject<{
|
|
|
1362
1362
|
name: string;
|
|
1363
1363
|
args: Record<string, any>;
|
|
1364
1364
|
}>;
|
|
1365
|
+
thoughtSignature: z.ZodOptional<z.ZodString>;
|
|
1365
1366
|
}, "strip", z.ZodTypeAny, {
|
|
1366
1367
|
functionCall: {
|
|
1367
1368
|
name: string;
|
|
1368
1369
|
args: Record<string, any>;
|
|
1369
1370
|
};
|
|
1371
|
+
thoughtSignature?: string | undefined;
|
|
1370
1372
|
}, {
|
|
1371
1373
|
functionCall: {
|
|
1372
1374
|
name: string;
|
|
1373
1375
|
args: Record<string, any>;
|
|
1374
1376
|
};
|
|
1377
|
+
thoughtSignature?: string | undefined;
|
|
1375
1378
|
}>;
|
|
1376
1379
|
declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
1377
1380
|
candidates: z.ZodArray<z.ZodObject<{
|
|
@@ -1397,16 +1400,19 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1397
1400
|
name: string;
|
|
1398
1401
|
args: Record<string, any>;
|
|
1399
1402
|
}>;
|
|
1403
|
+
thoughtSignature: z.ZodOptional<z.ZodString>;
|
|
1400
1404
|
}, "strip", z.ZodTypeAny, {
|
|
1401
1405
|
functionCall: {
|
|
1402
1406
|
name: string;
|
|
1403
1407
|
args: Record<string, any>;
|
|
1404
1408
|
};
|
|
1409
|
+
thoughtSignature?: string | undefined;
|
|
1405
1410
|
}, {
|
|
1406
1411
|
functionCall: {
|
|
1407
1412
|
name: string;
|
|
1408
1413
|
args: Record<string, any>;
|
|
1409
1414
|
};
|
|
1415
|
+
thoughtSignature?: string | undefined;
|
|
1410
1416
|
}>]>, "many">;
|
|
1411
1417
|
}, "strip", z.ZodTypeAny, {
|
|
1412
1418
|
role: string;
|
|
@@ -1418,6 +1424,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1418
1424
|
name: string;
|
|
1419
1425
|
args: Record<string, any>;
|
|
1420
1426
|
};
|
|
1427
|
+
thoughtSignature?: string | undefined;
|
|
1421
1428
|
})[];
|
|
1422
1429
|
}, {
|
|
1423
1430
|
role: string;
|
|
@@ -1429,6 +1436,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1429
1436
|
name: string;
|
|
1430
1437
|
args: Record<string, any>;
|
|
1431
1438
|
};
|
|
1439
|
+
thoughtSignature?: string | undefined;
|
|
1432
1440
|
})[];
|
|
1433
1441
|
}>>;
|
|
1434
1442
|
finishReason: z.ZodString;
|
|
@@ -1563,6 +1571,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1563
1571
|
name: string;
|
|
1564
1572
|
args: Record<string, any>;
|
|
1565
1573
|
};
|
|
1574
|
+
thoughtSignature?: string | undefined;
|
|
1566
1575
|
})[];
|
|
1567
1576
|
} | undefined;
|
|
1568
1577
|
index?: number | undefined;
|
|
@@ -1604,6 +1613,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1604
1613
|
name: string;
|
|
1605
1614
|
args: Record<string, any>;
|
|
1606
1615
|
};
|
|
1616
|
+
thoughtSignature?: string | undefined;
|
|
1607
1617
|
})[];
|
|
1608
1618
|
} | undefined;
|
|
1609
1619
|
index?: number | undefined;
|
|
@@ -1685,6 +1695,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1685
1695
|
name: string;
|
|
1686
1696
|
args: Record<string, any>;
|
|
1687
1697
|
};
|
|
1698
|
+
thoughtSignature?: string | undefined;
|
|
1688
1699
|
})[];
|
|
1689
1700
|
} | undefined;
|
|
1690
1701
|
index?: number | undefined;
|
|
@@ -1740,6 +1751,7 @@ declare const GoogleCompleteChatResponse: z.ZodObject<{
|
|
|
1740
1751
|
name: string;
|
|
1741
1752
|
args: Record<string, any>;
|
|
1742
1753
|
};
|
|
1754
|
+
thoughtSignature?: string | undefined;
|
|
1743
1755
|
})[];
|
|
1744
1756
|
} | undefined;
|
|
1745
1757
|
index?: number | undefined;
|
|
@@ -1805,16 +1817,19 @@ declare const GoogleStreamChatToolResponse: z.ZodObject<{
|
|
|
1805
1817
|
name: string;
|
|
1806
1818
|
args: Record<string, any>;
|
|
1807
1819
|
}>;
|
|
1820
|
+
thoughtSignature: z.ZodOptional<z.ZodString>;
|
|
1808
1821
|
}, "strip", z.ZodTypeAny, {
|
|
1809
1822
|
functionCall: {
|
|
1810
1823
|
name: string;
|
|
1811
1824
|
args: Record<string, any>;
|
|
1812
1825
|
};
|
|
1826
|
+
thoughtSignature?: string | undefined;
|
|
1813
1827
|
}, {
|
|
1814
1828
|
functionCall: {
|
|
1815
1829
|
name: string;
|
|
1816
1830
|
args: Record<string, any>;
|
|
1817
1831
|
};
|
|
1832
|
+
thoughtSignature?: string | undefined;
|
|
1818
1833
|
}>;
|
|
1819
1834
|
declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
1820
1835
|
candidates: z.ZodArray<z.ZodObject<{
|
|
@@ -1840,16 +1855,19 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1840
1855
|
name: string;
|
|
1841
1856
|
args: Record<string, any>;
|
|
1842
1857
|
}>;
|
|
1858
|
+
thoughtSignature: z.ZodOptional<z.ZodString>;
|
|
1843
1859
|
}, "strip", z.ZodTypeAny, {
|
|
1844
1860
|
functionCall: {
|
|
1845
1861
|
name: string;
|
|
1846
1862
|
args: Record<string, any>;
|
|
1847
1863
|
};
|
|
1864
|
+
thoughtSignature?: string | undefined;
|
|
1848
1865
|
}, {
|
|
1849
1866
|
functionCall: {
|
|
1850
1867
|
name: string;
|
|
1851
1868
|
args: Record<string, any>;
|
|
1852
1869
|
};
|
|
1870
|
+
thoughtSignature?: string | undefined;
|
|
1853
1871
|
}>]>, "many">;
|
|
1854
1872
|
}, "strip", z.ZodTypeAny, {
|
|
1855
1873
|
role: string;
|
|
@@ -1861,6 +1879,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1861
1879
|
name: string;
|
|
1862
1880
|
args: Record<string, any>;
|
|
1863
1881
|
};
|
|
1882
|
+
thoughtSignature?: string | undefined;
|
|
1864
1883
|
})[];
|
|
1865
1884
|
}, {
|
|
1866
1885
|
role: string;
|
|
@@ -1872,6 +1891,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
1872
1891
|
name: string;
|
|
1873
1892
|
args: Record<string, any>;
|
|
1874
1893
|
};
|
|
1894
|
+
thoughtSignature?: string | undefined;
|
|
1875
1895
|
})[];
|
|
1876
1896
|
}>>;
|
|
1877
1897
|
finishReason: z.ZodOptional<z.ZodString>;
|
|
@@ -2005,6 +2025,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
2005
2025
|
name: string;
|
|
2006
2026
|
args: Record<string, any>;
|
|
2007
2027
|
};
|
|
2028
|
+
thoughtSignature?: string | undefined;
|
|
2008
2029
|
})[];
|
|
2009
2030
|
} | undefined;
|
|
2010
2031
|
index?: number | undefined;
|
|
@@ -2046,6 +2067,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
2046
2067
|
name: string;
|
|
2047
2068
|
args: Record<string, any>;
|
|
2048
2069
|
};
|
|
2070
|
+
thoughtSignature?: string | undefined;
|
|
2049
2071
|
})[];
|
|
2050
2072
|
} | undefined;
|
|
2051
2073
|
index?: number | undefined;
|
|
@@ -2127,6 +2149,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
2127
2149
|
name: string;
|
|
2128
2150
|
args: Record<string, any>;
|
|
2129
2151
|
};
|
|
2152
|
+
thoughtSignature?: string | undefined;
|
|
2130
2153
|
})[];
|
|
2131
2154
|
} | undefined;
|
|
2132
2155
|
index?: number | undefined;
|
|
@@ -2182,6 +2205,7 @@ declare const GoogleStreamChatResponse: z.ZodObject<{
|
|
|
2182
2205
|
name: string;
|
|
2183
2206
|
args: Record<string, any>;
|
|
2184
2207
|
};
|
|
2208
|
+
thoughtSignature?: string | undefined;
|
|
2185
2209
|
})[];
|
|
2186
2210
|
} | undefined;
|
|
2187
2211
|
index?: number | undefined;
|
|
@@ -2293,16 +2317,19 @@ declare const GoogleChatContentPartFunctionCall: z.ZodObject<{
|
|
|
2293
2317
|
name: string;
|
|
2294
2318
|
args: Record<string, string>;
|
|
2295
2319
|
}>;
|
|
2320
|
+
thought_signature: z.ZodOptional<z.ZodString>;
|
|
2296
2321
|
}, "strip", z.ZodTypeAny, {
|
|
2297
2322
|
function_call: {
|
|
2298
2323
|
name: string;
|
|
2299
2324
|
args: Record<string, string>;
|
|
2300
2325
|
};
|
|
2326
|
+
thought_signature?: string | undefined;
|
|
2301
2327
|
}, {
|
|
2302
2328
|
function_call: {
|
|
2303
2329
|
name: string;
|
|
2304
2330
|
args: Record<string, string>;
|
|
2305
2331
|
};
|
|
2332
|
+
thought_signature?: string | undefined;
|
|
2306
2333
|
}>;
|
|
2307
2334
|
type GoogleChatContentPartFunctionCallType = z.infer<typeof GoogleChatContentPartFunctionCall>;
|
|
2308
2335
|
declare const GoogleChatContentPartFunctionResponse: z.ZodObject<{
|
|
@@ -2334,12 +2361,12 @@ declare const GoogleChatContentPartThinking: z.ZodObject<{
|
|
|
2334
2361
|
thought_signature: z.ZodString;
|
|
2335
2362
|
}, "strip", z.ZodTypeAny, {
|
|
2336
2363
|
text: string;
|
|
2337
|
-
thought: true;
|
|
2338
2364
|
thought_signature: string;
|
|
2365
|
+
thought: true;
|
|
2339
2366
|
}, {
|
|
2340
2367
|
text: string;
|
|
2341
|
-
thought: true;
|
|
2342
2368
|
thought_signature: string;
|
|
2369
|
+
thought: true;
|
|
2343
2370
|
}>;
|
|
2344
2371
|
type GoogleChatContentPartThinkingType = z.infer<typeof GoogleChatContentPartThinking>;
|
|
2345
2372
|
declare const GoogleChatContent: z.ZodObject<{
|
|
@@ -2403,16 +2430,19 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2403
2430
|
name: string;
|
|
2404
2431
|
args: Record<string, string>;
|
|
2405
2432
|
}>;
|
|
2433
|
+
thought_signature: z.ZodOptional<z.ZodString>;
|
|
2406
2434
|
}, "strip", z.ZodTypeAny, {
|
|
2407
2435
|
function_call: {
|
|
2408
2436
|
name: string;
|
|
2409
2437
|
args: Record<string, string>;
|
|
2410
2438
|
};
|
|
2439
|
+
thought_signature?: string | undefined;
|
|
2411
2440
|
}, {
|
|
2412
2441
|
function_call: {
|
|
2413
2442
|
name: string;
|
|
2414
2443
|
args: Record<string, string>;
|
|
2415
2444
|
};
|
|
2445
|
+
thought_signature?: string | undefined;
|
|
2416
2446
|
}>, z.ZodObject<{
|
|
2417
2447
|
function_response: z.ZodObject<{
|
|
2418
2448
|
name: z.ZodString;
|
|
@@ -2440,24 +2470,24 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2440
2470
|
thought_signature: z.ZodString;
|
|
2441
2471
|
}, "strip", z.ZodTypeAny, {
|
|
2442
2472
|
text: string;
|
|
2443
|
-
thought: true;
|
|
2444
2473
|
thought_signature: string;
|
|
2474
|
+
thought: true;
|
|
2445
2475
|
}, {
|
|
2446
2476
|
text: string;
|
|
2447
|
-
thought: true;
|
|
2448
2477
|
thought_signature: string;
|
|
2478
|
+
thought: true;
|
|
2449
2479
|
}>, z.ZodObject<{
|
|
2450
2480
|
text: z.ZodString;
|
|
2451
2481
|
thought: z.ZodLiteral<true>;
|
|
2452
2482
|
thought_signature: z.ZodString;
|
|
2453
2483
|
}, "strip", z.ZodTypeAny, {
|
|
2454
2484
|
text: string;
|
|
2455
|
-
thought: true;
|
|
2456
2485
|
thought_signature: string;
|
|
2486
|
+
thought: true;
|
|
2457
2487
|
}, {
|
|
2458
2488
|
text: string;
|
|
2459
|
-
thought: true;
|
|
2460
2489
|
thought_signature: string;
|
|
2490
|
+
thought: true;
|
|
2461
2491
|
}>]>, "many">;
|
|
2462
2492
|
}, "strip", z.ZodTypeAny, {
|
|
2463
2493
|
role: "function" | "user" | "model";
|
|
@@ -2478,6 +2508,7 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2478
2508
|
name: string;
|
|
2479
2509
|
args: Record<string, string>;
|
|
2480
2510
|
};
|
|
2511
|
+
thought_signature?: string | undefined;
|
|
2481
2512
|
} | {
|
|
2482
2513
|
function_response: {
|
|
2483
2514
|
name: string;
|
|
@@ -2485,8 +2516,8 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2485
2516
|
};
|
|
2486
2517
|
} | {
|
|
2487
2518
|
text: string;
|
|
2488
|
-
thought: true;
|
|
2489
2519
|
thought_signature: string;
|
|
2520
|
+
thought: true;
|
|
2490
2521
|
})[];
|
|
2491
2522
|
}, {
|
|
2492
2523
|
role: "function" | "user" | "model";
|
|
@@ -2507,6 +2538,7 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2507
2538
|
name: string;
|
|
2508
2539
|
args: Record<string, string>;
|
|
2509
2540
|
};
|
|
2541
|
+
thought_signature?: string | undefined;
|
|
2510
2542
|
} | {
|
|
2511
2543
|
function_response: {
|
|
2512
2544
|
name: string;
|
|
@@ -2514,8 +2546,8 @@ declare const GoogleChatContent: z.ZodObject<{
|
|
|
2514
2546
|
};
|
|
2515
2547
|
} | {
|
|
2516
2548
|
text: string;
|
|
2517
|
-
thought: true;
|
|
2518
2549
|
thought_signature: string;
|
|
2550
|
+
thought: true;
|
|
2519
2551
|
})[];
|
|
2520
2552
|
}>;
|
|
2521
2553
|
type GoogleChatContentType = z.infer<typeof GoogleChatContent>;
|
|
@@ -2737,16 +2769,19 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2737
2769
|
name: string;
|
|
2738
2770
|
args: Record<string, string>;
|
|
2739
2771
|
}>;
|
|
2772
|
+
thought_signature: z.ZodOptional<z.ZodString>;
|
|
2740
2773
|
}, "strip", z.ZodTypeAny, {
|
|
2741
2774
|
function_call: {
|
|
2742
2775
|
name: string;
|
|
2743
2776
|
args: Record<string, string>;
|
|
2744
2777
|
};
|
|
2778
|
+
thought_signature?: string | undefined;
|
|
2745
2779
|
}, {
|
|
2746
2780
|
function_call: {
|
|
2747
2781
|
name: string;
|
|
2748
2782
|
args: Record<string, string>;
|
|
2749
2783
|
};
|
|
2784
|
+
thought_signature?: string | undefined;
|
|
2750
2785
|
}>, z.ZodObject<{
|
|
2751
2786
|
function_response: z.ZodObject<{
|
|
2752
2787
|
name: z.ZodString;
|
|
@@ -2774,24 +2809,24 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2774
2809
|
thought_signature: z.ZodString;
|
|
2775
2810
|
}, "strip", z.ZodTypeAny, {
|
|
2776
2811
|
text: string;
|
|
2777
|
-
thought: true;
|
|
2778
2812
|
thought_signature: string;
|
|
2813
|
+
thought: true;
|
|
2779
2814
|
}, {
|
|
2780
2815
|
text: string;
|
|
2781
|
-
thought: true;
|
|
2782
2816
|
thought_signature: string;
|
|
2817
|
+
thought: true;
|
|
2783
2818
|
}>, z.ZodObject<{
|
|
2784
2819
|
text: z.ZodString;
|
|
2785
2820
|
thought: z.ZodLiteral<true>;
|
|
2786
2821
|
thought_signature: z.ZodString;
|
|
2787
2822
|
}, "strip", z.ZodTypeAny, {
|
|
2788
2823
|
text: string;
|
|
2789
|
-
thought: true;
|
|
2790
2824
|
thought_signature: string;
|
|
2825
|
+
thought: true;
|
|
2791
2826
|
}, {
|
|
2792
2827
|
text: string;
|
|
2793
|
-
thought: true;
|
|
2794
2828
|
thought_signature: string;
|
|
2829
|
+
thought: true;
|
|
2795
2830
|
}>]>, "many">;
|
|
2796
2831
|
}, "strip", z.ZodTypeAny, {
|
|
2797
2832
|
role: "function" | "user" | "model";
|
|
@@ -2812,6 +2847,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2812
2847
|
name: string;
|
|
2813
2848
|
args: Record<string, string>;
|
|
2814
2849
|
};
|
|
2850
|
+
thought_signature?: string | undefined;
|
|
2815
2851
|
} | {
|
|
2816
2852
|
function_response: {
|
|
2817
2853
|
name: string;
|
|
@@ -2819,8 +2855,8 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2819
2855
|
};
|
|
2820
2856
|
} | {
|
|
2821
2857
|
text: string;
|
|
2822
|
-
thought: true;
|
|
2823
2858
|
thought_signature: string;
|
|
2859
|
+
thought: true;
|
|
2824
2860
|
})[];
|
|
2825
2861
|
}, {
|
|
2826
2862
|
role: "function" | "user" | "model";
|
|
@@ -2841,6 +2877,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2841
2877
|
name: string;
|
|
2842
2878
|
args: Record<string, string>;
|
|
2843
2879
|
};
|
|
2880
|
+
thought_signature?: string | undefined;
|
|
2844
2881
|
} | {
|
|
2845
2882
|
function_response: {
|
|
2846
2883
|
name: string;
|
|
@@ -2848,8 +2885,8 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
2848
2885
|
};
|
|
2849
2886
|
} | {
|
|
2850
2887
|
text: string;
|
|
2851
|
-
thought: true;
|
|
2852
2888
|
thought_signature: string;
|
|
2889
|
+
thought: true;
|
|
2853
2890
|
})[];
|
|
2854
2891
|
}>, "many">;
|
|
2855
2892
|
systemInstruction: z.ZodOptional<z.ZodObject<{
|
|
@@ -3133,6 +3170,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3133
3170
|
name: string;
|
|
3134
3171
|
args: Record<string, string>;
|
|
3135
3172
|
};
|
|
3173
|
+
thought_signature?: string | undefined;
|
|
3136
3174
|
} | {
|
|
3137
3175
|
function_response: {
|
|
3138
3176
|
name: string;
|
|
@@ -3140,8 +3178,8 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3140
3178
|
};
|
|
3141
3179
|
} | {
|
|
3142
3180
|
text: string;
|
|
3143
|
-
thought: true;
|
|
3144
3181
|
thought_signature: string;
|
|
3182
|
+
thought: true;
|
|
3145
3183
|
})[];
|
|
3146
3184
|
}[];
|
|
3147
3185
|
safetySettings?: {
|
|
@@ -3238,6 +3276,7 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3238
3276
|
name: string;
|
|
3239
3277
|
args: Record<string, string>;
|
|
3240
3278
|
};
|
|
3279
|
+
thought_signature?: string | undefined;
|
|
3241
3280
|
} | {
|
|
3242
3281
|
function_response: {
|
|
3243
3282
|
name: string;
|
|
@@ -3245,8 +3284,8 @@ declare const GoogleChatRequest: z.ZodObject<{
|
|
|
3245
3284
|
};
|
|
3246
3285
|
} | {
|
|
3247
3286
|
text: string;
|
|
3248
|
-
thought: true;
|
|
3249
3287
|
thought_signature: string;
|
|
3288
|
+
thought: true;
|
|
3250
3289
|
})[];
|
|
3251
3290
|
}[];
|
|
3252
3291
|
safetySettings?: {
|