@linnlabs/linnkit 0.9.0 → 0.21.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/CHANGELOG.md +168 -0
- package/bin/linnkit.cjs +7 -0
- package/dist/{agent-invocation-BHcNfrBV.d.cts → agent-invocation-CAlm9qOw.d.cts} +1 -1
- package/dist/{agent-invocation-BznDaXDs.d.ts → agent-invocation-DKoEDLkl.d.ts} +1 -1
- package/dist/{ai-engine.types-vZRnQcJa.d.ts → ai-engine.types-CeLoM624.d.cts} +9 -1
- package/dist/{ai-engine.types-BpeU_XQG.d.cts → ai-engine.types-LqmnfR2W.d.ts} +9 -1
- package/dist/{audit-CtcfART1.d.ts → audit-BuWHoMEr.d.ts} +4 -2
- package/dist/{audit-LeOrm2hX.d.cts → audit-DnzNQzwq.d.cts} +4 -2
- package/dist/cli.cjs +682 -258
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +682 -258
- package/dist/cli.js.map +1 -1
- package/dist/context-manager.cjs +823 -57
- package/dist/context-manager.cjs.map +1 -1
- package/dist/context-manager.d.cts +132 -18
- package/dist/context-manager.d.ts +132 -18
- package/dist/context-manager.js +823 -58
- package/dist/context-manager.js.map +1 -1
- package/dist/{context-trace-HE2qY5Q-.d.cts → context-trace-DrtvKac4.d.cts} +37 -4
- package/dist/{context-trace-DRi5M4lX.d.ts → context-trace-WV1HAZeB.d.ts} +37 -4
- package/dist/contracts.cjs +225 -2
- package/dist/contracts.cjs.map +1 -1
- package/dist/contracts.d.cts +6 -4
- package/dist/contracts.d.ts +6 -4
- package/dist/contracts.js +205 -3
- package/dist/contracts.js.map +1 -1
- package/dist/{defaultGraphExecutor-BIjJj7WF.d.cts → defaultGraphExecutor-L1ri3oij.d.cts} +48 -19
- package/dist/{defaultGraphExecutor-BBswR8wn.d.ts → defaultGraphExecutor-QzzdudLQ.d.ts} +48 -19
- package/dist/{index-BanRABEt.d.cts → index-BeQO0rx2.d.cts} +345 -268
- package/dist/{index-Cvr23YCl.d.cts → index-CDofGr_4.d.ts} +24 -6
- package/dist/{index-Dl5PLgAv.d.cts → index-Crl5E4eF.d.cts} +27 -4
- package/dist/{index-CJeWHopy.d.ts → index-DWGKvssS.d.ts} +3 -3
- package/dist/{index-CHqwkvGp.d.ts → index-X5lYU1Lj.d.ts} +27 -4
- package/dist/{index-DDzuSb0n.d.ts → index-uCNCpJBg.d.cts} +24 -6
- package/dist/{index-Z8NXKNwI.d.ts → index-wOZD-p2-.d.ts} +345 -268
- package/dist/{index-DO4dQgf2.d.cts → index-wXVAHZ0D.d.cts} +3 -3
- package/dist/index.cjs +1011 -329
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -16
- package/dist/index.d.ts +19 -16
- package/dist/index.js +1011 -329
- package/dist/index.js.map +1 -1
- package/dist/{messages-XthmnHZ3.d.cts → messages-Br5SiLD3.d.cts} +706 -1
- package/dist/{messages-XthmnHZ3.d.ts → messages-Br5SiLD3.d.ts} +706 -1
- package/dist/{ports-DnLuKfpE.d.ts → ports-Dugizzje.d.cts} +6 -2
- package/dist/{ports-DaatKJXp.d.cts → ports-fhp84x_C.d.ts} +6 -2
- package/dist/ports.d.cts +8 -5
- package/dist/ports.d.ts +8 -5
- package/dist/quickstart.cjs +683 -258
- package/dist/quickstart.cjs.map +1 -1
- package/dist/quickstart.d.cts +11 -10
- package/dist/quickstart.d.ts +11 -10
- package/dist/quickstart.js +683 -258
- package/dist/quickstart.js.map +1 -1
- package/dist/{runAgent-CPj_9e58.d.ts → runAgent-BmMSju8I.d.ts} +6 -6
- package/dist/{runAgent-HYKlXbVr.d.cts → runAgent-CKgcRSRH.d.cts} +6 -6
- package/dist/{runHandle-D3gPsD7B.d.cts → runHandle-DH4VmQx6.d.cts} +6 -4
- package/dist/{runHandle-CyXvzgzk.d.ts → runHandle-o3p06Nva.d.ts} +6 -4
- package/dist/runtime-kernel/events.cjs +202 -1
- package/dist/runtime-kernel/events.cjs.map +1 -1
- package/dist/runtime-kernel/events.d.cts +5 -5
- package/dist/runtime-kernel/events.d.ts +5 -5
- package/dist/runtime-kernel/events.js +202 -1
- package/dist/runtime-kernel/events.js.map +1 -1
- package/dist/runtime-kernel.cjs +999 -340
- package/dist/runtime-kernel.cjs.map +1 -1
- package/dist/runtime-kernel.d.cts +16 -14
- package/dist/runtime-kernel.d.ts +16 -14
- package/dist/runtime-kernel.js +990 -341
- package/dist/runtime-kernel.js.map +1 -1
- package/dist/testkit.cjs +1003 -321
- package/dist/testkit.cjs.map +1 -1
- package/dist/testkit.d.cts +16 -14
- package/dist/testkit.d.ts +16 -14
- package/dist/testkit.js +1003 -321
- package/dist/testkit.js.map +1 -1
- package/dist/{todo-B1PmDlp3.d.cts → todo-Ca8llpRQ.d.cts} +1 -1
- package/dist/{todo-B1PmDlp3.d.ts → todo-Ca8llpRQ.d.ts} +1 -1
- package/dist/{agentSpec-EkmviZjy.d.cts → token-accounting-CwpSPg4y.d.cts} +1280 -1
- package/dist/{agentSpec-EkmviZjy.d.ts → token-accounting-CwpSPg4y.d.ts} +1280 -1
- package/dist/token-calibration-Cxv6dDYF.d.cts +327 -0
- package/dist/token-calibration-Cxv6dDYF.d.ts +327 -0
- package/dist/token-counter-CFfP8PQb.d.cts +26 -0
- package/dist/token-counter-SFyyTeaG.d.ts +26 -0
- package/dist/token-usage-CqwT7-5K.d.cts +133 -0
- package/dist/token-usage-CqwT7-5K.d.ts +133 -0
- package/dist/{tokenizer-DFL4I7-I.d.ts → tokenizer-BFJNCHFX.d.ts} +1 -1
- package/dist/{tokenizer-DH_JXv-H.d.cts → tokenizer-DoGsBE3A.d.cts} +1 -1
- package/dist/{toolContracts-CLkQmhTG.d.cts → toolContracts-Bm3EZ1UM.d.cts} +13 -2
- package/dist/{toolContracts-Blll0241.d.ts → toolContracts-f8lzZBNa.d.ts} +13 -2
- package/docs/README.md +1 -1
- package/docs/integration/README.md +3 -3
- package/docs/integration/agent-registration-guide.md +3 -1
- package/docs/integration/child-runs.md +4 -1
- package/docs/integration/context-engineering.md +83 -16
- package/docs/integration/context-fences.md +44 -3
- package/docs/integration/llm-provider.md +1 -1
- package/docs/integration/persistence.md +1 -0
- package/docs/integration/run-supervisor.md +3 -0
- package/docs/integration/tool-development-guide.md +7 -5
- package/docs/integration/tool-history.md +43 -17
- package/package.json +4 -3
|
@@ -382,6 +382,23 @@ declare const ToolOutputMeta: z.ZodObject<{
|
|
|
382
382
|
args?: Record<string, unknown> | undefined;
|
|
383
383
|
}>;
|
|
384
384
|
type ToolOutputMeta = z.infer<typeof ToolOutputMeta>;
|
|
385
|
+
declare const ObservationTruncationMeta: z.ZodObject<{
|
|
386
|
+
originalChars: z.ZodNumber;
|
|
387
|
+
previewChars: z.ZodNumber;
|
|
388
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
389
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
originalChars: number;
|
|
392
|
+
previewChars: number;
|
|
393
|
+
originalLines?: number | undefined;
|
|
394
|
+
previewLines?: number | undefined;
|
|
395
|
+
}, {
|
|
396
|
+
originalChars: number;
|
|
397
|
+
previewChars: number;
|
|
398
|
+
originalLines?: number | undefined;
|
|
399
|
+
previewLines?: number | undefined;
|
|
400
|
+
}>;
|
|
401
|
+
type ObservationTruncationMeta = z.infer<typeof ObservationTruncationMeta>;
|
|
385
402
|
declare const ImageInfoMeta: z.ZodObject<{
|
|
386
403
|
url: z.ZodOptional<z.ZodString>;
|
|
387
404
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -575,6 +592,22 @@ declare const PersistentMetadata: z.ZodObject<{
|
|
|
575
592
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
576
593
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
577
594
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
595
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
596
|
+
originalChars: z.ZodNumber;
|
|
597
|
+
previewChars: z.ZodNumber;
|
|
598
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
599
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
originalChars: number;
|
|
602
|
+
previewChars: number;
|
|
603
|
+
originalLines?: number | undefined;
|
|
604
|
+
previewLines?: number | undefined;
|
|
605
|
+
}, {
|
|
606
|
+
originalChars: number;
|
|
607
|
+
previewChars: number;
|
|
608
|
+
originalLines?: number | undefined;
|
|
609
|
+
previewLines?: number | undefined;
|
|
610
|
+
}>>;
|
|
578
611
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
579
612
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
580
613
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -746,6 +779,22 @@ declare const PersistentMetadata: z.ZodObject<{
|
|
|
746
779
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
747
780
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
748
781
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
782
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
783
|
+
originalChars: z.ZodNumber;
|
|
784
|
+
previewChars: z.ZodNumber;
|
|
785
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
786
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
787
|
+
}, "strip", z.ZodTypeAny, {
|
|
788
|
+
originalChars: number;
|
|
789
|
+
previewChars: number;
|
|
790
|
+
originalLines?: number | undefined;
|
|
791
|
+
previewLines?: number | undefined;
|
|
792
|
+
}, {
|
|
793
|
+
originalChars: number;
|
|
794
|
+
previewChars: number;
|
|
795
|
+
originalLines?: number | undefined;
|
|
796
|
+
previewLines?: number | undefined;
|
|
797
|
+
}>>;
|
|
749
798
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
750
799
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
751
800
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -917,6 +966,22 @@ declare const PersistentMetadata: z.ZodObject<{
|
|
|
917
966
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
918
967
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
919
968
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
969
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
970
|
+
originalChars: z.ZodNumber;
|
|
971
|
+
previewChars: z.ZodNumber;
|
|
972
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
973
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
974
|
+
}, "strip", z.ZodTypeAny, {
|
|
975
|
+
originalChars: number;
|
|
976
|
+
previewChars: number;
|
|
977
|
+
originalLines?: number | undefined;
|
|
978
|
+
previewLines?: number | undefined;
|
|
979
|
+
}, {
|
|
980
|
+
originalChars: number;
|
|
981
|
+
previewChars: number;
|
|
982
|
+
originalLines?: number | undefined;
|
|
983
|
+
previewLines?: number | undefined;
|
|
984
|
+
}>>;
|
|
920
985
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
921
986
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
922
987
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1094,6 +1159,22 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
1094
1159
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
1095
1160
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1096
1161
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
1163
|
+
originalChars: z.ZodNumber;
|
|
1164
|
+
previewChars: z.ZodNumber;
|
|
1165
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
1166
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
originalChars: number;
|
|
1169
|
+
previewChars: number;
|
|
1170
|
+
originalLines?: number | undefined;
|
|
1171
|
+
previewLines?: number | undefined;
|
|
1172
|
+
}, {
|
|
1173
|
+
originalChars: number;
|
|
1174
|
+
previewChars: number;
|
|
1175
|
+
originalLines?: number | undefined;
|
|
1176
|
+
previewLines?: number | undefined;
|
|
1177
|
+
}>>;
|
|
1097
1178
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
1098
1179
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
1099
1180
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1265,6 +1346,22 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
1265
1346
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
1266
1347
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1267
1348
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
1349
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
1350
|
+
originalChars: z.ZodNumber;
|
|
1351
|
+
previewChars: z.ZodNumber;
|
|
1352
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
1353
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
1354
|
+
}, "strip", z.ZodTypeAny, {
|
|
1355
|
+
originalChars: number;
|
|
1356
|
+
previewChars: number;
|
|
1357
|
+
originalLines?: number | undefined;
|
|
1358
|
+
previewLines?: number | undefined;
|
|
1359
|
+
}, {
|
|
1360
|
+
originalChars: number;
|
|
1361
|
+
previewChars: number;
|
|
1362
|
+
originalLines?: number | undefined;
|
|
1363
|
+
previewLines?: number | undefined;
|
|
1364
|
+
}>>;
|
|
1268
1365
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
1269
1366
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
1270
1367
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1436,6 +1533,22 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
1436
1533
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
1437
1534
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1438
1535
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
1536
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
1537
|
+
originalChars: z.ZodNumber;
|
|
1538
|
+
previewChars: z.ZodNumber;
|
|
1539
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
1540
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
1541
|
+
}, "strip", z.ZodTypeAny, {
|
|
1542
|
+
originalChars: number;
|
|
1543
|
+
previewChars: number;
|
|
1544
|
+
originalLines?: number | undefined;
|
|
1545
|
+
previewLines?: number | undefined;
|
|
1546
|
+
}, {
|
|
1547
|
+
originalChars: number;
|
|
1548
|
+
previewChars: number;
|
|
1549
|
+
originalLines?: number | undefined;
|
|
1550
|
+
previewLines?: number | undefined;
|
|
1551
|
+
}>>;
|
|
1439
1552
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
1440
1553
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
1441
1554
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1617,6 +1730,22 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
1617
1730
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
1618
1731
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1619
1732
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
1733
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
1734
|
+
originalChars: z.ZodNumber;
|
|
1735
|
+
previewChars: z.ZodNumber;
|
|
1736
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
1737
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
1738
|
+
}, "strip", z.ZodTypeAny, {
|
|
1739
|
+
originalChars: number;
|
|
1740
|
+
previewChars: number;
|
|
1741
|
+
originalLines?: number | undefined;
|
|
1742
|
+
previewLines?: number | undefined;
|
|
1743
|
+
}, {
|
|
1744
|
+
originalChars: number;
|
|
1745
|
+
previewChars: number;
|
|
1746
|
+
originalLines?: number | undefined;
|
|
1747
|
+
previewLines?: number | undefined;
|
|
1748
|
+
}>>;
|
|
1620
1749
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
1621
1750
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
1622
1751
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1795,6 +1924,22 @@ declare const SystemMessage: z.ZodObject<{
|
|
|
1795
1924
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
1796
1925
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1797
1926
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
1927
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
1928
|
+
originalChars: z.ZodNumber;
|
|
1929
|
+
previewChars: z.ZodNumber;
|
|
1930
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
1931
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
1932
|
+
}, "strip", z.ZodTypeAny, {
|
|
1933
|
+
originalChars: number;
|
|
1934
|
+
previewChars: number;
|
|
1935
|
+
originalLines?: number | undefined;
|
|
1936
|
+
previewLines?: number | undefined;
|
|
1937
|
+
}, {
|
|
1938
|
+
originalChars: number;
|
|
1939
|
+
previewChars: number;
|
|
1940
|
+
originalLines?: number | undefined;
|
|
1941
|
+
previewLines?: number | undefined;
|
|
1942
|
+
}>>;
|
|
1798
1943
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
1799
1944
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
1800
1945
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -1973,6 +2118,22 @@ declare const UserMessage: z.ZodObject<{
|
|
|
1973
2118
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
1974
2119
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1975
2120
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
2121
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
2122
|
+
originalChars: z.ZodNumber;
|
|
2123
|
+
previewChars: z.ZodNumber;
|
|
2124
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
2125
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
2126
|
+
}, "strip", z.ZodTypeAny, {
|
|
2127
|
+
originalChars: number;
|
|
2128
|
+
previewChars: number;
|
|
2129
|
+
originalLines?: number | undefined;
|
|
2130
|
+
previewLines?: number | undefined;
|
|
2131
|
+
}, {
|
|
2132
|
+
originalChars: number;
|
|
2133
|
+
previewChars: number;
|
|
2134
|
+
originalLines?: number | undefined;
|
|
2135
|
+
previewLines?: number | undefined;
|
|
2136
|
+
}>>;
|
|
1976
2137
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
1977
2138
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
1978
2139
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -2144,6 +2305,22 @@ declare const UserMessage: z.ZodObject<{
|
|
|
2144
2305
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
2145
2306
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2146
2307
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
2308
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
2309
|
+
originalChars: z.ZodNumber;
|
|
2310
|
+
previewChars: z.ZodNumber;
|
|
2311
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
2312
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
2313
|
+
}, "strip", z.ZodTypeAny, {
|
|
2314
|
+
originalChars: number;
|
|
2315
|
+
previewChars: number;
|
|
2316
|
+
originalLines?: number | undefined;
|
|
2317
|
+
previewLines?: number | undefined;
|
|
2318
|
+
}, {
|
|
2319
|
+
originalChars: number;
|
|
2320
|
+
previewChars: number;
|
|
2321
|
+
originalLines?: number | undefined;
|
|
2322
|
+
previewLines?: number | undefined;
|
|
2323
|
+
}>>;
|
|
2147
2324
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
2148
2325
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
2149
2326
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -2315,6 +2492,22 @@ declare const UserMessage: z.ZodObject<{
|
|
|
2315
2492
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
2316
2493
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2317
2494
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
2495
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
2496
|
+
originalChars: z.ZodNumber;
|
|
2497
|
+
previewChars: z.ZodNumber;
|
|
2498
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
2499
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
2500
|
+
}, "strip", z.ZodTypeAny, {
|
|
2501
|
+
originalChars: number;
|
|
2502
|
+
previewChars: number;
|
|
2503
|
+
originalLines?: number | undefined;
|
|
2504
|
+
previewLines?: number | undefined;
|
|
2505
|
+
}, {
|
|
2506
|
+
originalChars: number;
|
|
2507
|
+
previewChars: number;
|
|
2508
|
+
originalLines?: number | undefined;
|
|
2509
|
+
previewLines?: number | undefined;
|
|
2510
|
+
}>>;
|
|
2318
2511
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
2319
2512
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
2320
2513
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -2496,6 +2689,22 @@ declare const UserMessage: z.ZodObject<{
|
|
|
2496
2689
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
2497
2690
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2498
2691
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
2692
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
2693
|
+
originalChars: z.ZodNumber;
|
|
2694
|
+
previewChars: z.ZodNumber;
|
|
2695
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
2696
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
2697
|
+
}, "strip", z.ZodTypeAny, {
|
|
2698
|
+
originalChars: number;
|
|
2699
|
+
previewChars: number;
|
|
2700
|
+
originalLines?: number | undefined;
|
|
2701
|
+
previewLines?: number | undefined;
|
|
2702
|
+
}, {
|
|
2703
|
+
originalChars: number;
|
|
2704
|
+
previewChars: number;
|
|
2705
|
+
originalLines?: number | undefined;
|
|
2706
|
+
previewLines?: number | undefined;
|
|
2707
|
+
}>>;
|
|
2499
2708
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
2500
2709
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
2501
2710
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -2674,6 +2883,22 @@ declare const UserMessage: z.ZodObject<{
|
|
|
2674
2883
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
2675
2884
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2676
2885
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
2886
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
2887
|
+
originalChars: z.ZodNumber;
|
|
2888
|
+
previewChars: z.ZodNumber;
|
|
2889
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
2890
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
2891
|
+
}, "strip", z.ZodTypeAny, {
|
|
2892
|
+
originalChars: number;
|
|
2893
|
+
previewChars: number;
|
|
2894
|
+
originalLines?: number | undefined;
|
|
2895
|
+
previewLines?: number | undefined;
|
|
2896
|
+
}, {
|
|
2897
|
+
originalChars: number;
|
|
2898
|
+
previewChars: number;
|
|
2899
|
+
originalLines?: number | undefined;
|
|
2900
|
+
previewLines?: number | undefined;
|
|
2901
|
+
}>>;
|
|
2677
2902
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
2678
2903
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
2679
2904
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -2852,6 +3077,22 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
2852
3077
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
2853
3078
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2854
3079
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
3080
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
3081
|
+
originalChars: z.ZodNumber;
|
|
3082
|
+
previewChars: z.ZodNumber;
|
|
3083
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
3084
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
3085
|
+
}, "strip", z.ZodTypeAny, {
|
|
3086
|
+
originalChars: number;
|
|
3087
|
+
previewChars: number;
|
|
3088
|
+
originalLines?: number | undefined;
|
|
3089
|
+
previewLines?: number | undefined;
|
|
3090
|
+
}, {
|
|
3091
|
+
originalChars: number;
|
|
3092
|
+
previewChars: number;
|
|
3093
|
+
originalLines?: number | undefined;
|
|
3094
|
+
previewLines?: number | undefined;
|
|
3095
|
+
}>>;
|
|
2855
3096
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
2856
3097
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
2857
3098
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -3023,6 +3264,22 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
3023
3264
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
3024
3265
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3025
3266
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
3267
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
3268
|
+
originalChars: z.ZodNumber;
|
|
3269
|
+
previewChars: z.ZodNumber;
|
|
3270
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
3271
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
3272
|
+
}, "strip", z.ZodTypeAny, {
|
|
3273
|
+
originalChars: number;
|
|
3274
|
+
previewChars: number;
|
|
3275
|
+
originalLines?: number | undefined;
|
|
3276
|
+
previewLines?: number | undefined;
|
|
3277
|
+
}, {
|
|
3278
|
+
originalChars: number;
|
|
3279
|
+
previewChars: number;
|
|
3280
|
+
originalLines?: number | undefined;
|
|
3281
|
+
previewLines?: number | undefined;
|
|
3282
|
+
}>>;
|
|
3026
3283
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
3027
3284
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
3028
3285
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -3194,6 +3451,22 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
3194
3451
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
3195
3452
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3196
3453
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
3454
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
3455
|
+
originalChars: z.ZodNumber;
|
|
3456
|
+
previewChars: z.ZodNumber;
|
|
3457
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
3458
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
3459
|
+
}, "strip", z.ZodTypeAny, {
|
|
3460
|
+
originalChars: number;
|
|
3461
|
+
previewChars: number;
|
|
3462
|
+
originalLines?: number | undefined;
|
|
3463
|
+
previewLines?: number | undefined;
|
|
3464
|
+
}, {
|
|
3465
|
+
originalChars: number;
|
|
3466
|
+
previewChars: number;
|
|
3467
|
+
originalLines?: number | undefined;
|
|
3468
|
+
previewLines?: number | undefined;
|
|
3469
|
+
}>>;
|
|
3197
3470
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
3198
3471
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
3199
3472
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -3375,6 +3648,22 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
3375
3648
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
3376
3649
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3377
3650
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
3651
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
3652
|
+
originalChars: z.ZodNumber;
|
|
3653
|
+
previewChars: z.ZodNumber;
|
|
3654
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
3655
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
3656
|
+
}, "strip", z.ZodTypeAny, {
|
|
3657
|
+
originalChars: number;
|
|
3658
|
+
previewChars: number;
|
|
3659
|
+
originalLines?: number | undefined;
|
|
3660
|
+
previewLines?: number | undefined;
|
|
3661
|
+
}, {
|
|
3662
|
+
originalChars: number;
|
|
3663
|
+
previewChars: number;
|
|
3664
|
+
originalLines?: number | undefined;
|
|
3665
|
+
previewLines?: number | undefined;
|
|
3666
|
+
}>>;
|
|
3378
3667
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
3379
3668
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
3380
3669
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -3553,6 +3842,22 @@ declare const AssistantMessage: z.ZodObject<{
|
|
|
3553
3842
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
3554
3843
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3555
3844
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
3845
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
3846
|
+
originalChars: z.ZodNumber;
|
|
3847
|
+
previewChars: z.ZodNumber;
|
|
3848
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
3849
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
3850
|
+
}, "strip", z.ZodTypeAny, {
|
|
3851
|
+
originalChars: number;
|
|
3852
|
+
previewChars: number;
|
|
3853
|
+
originalLines?: number | undefined;
|
|
3854
|
+
previewLines?: number | undefined;
|
|
3855
|
+
}, {
|
|
3856
|
+
originalChars: number;
|
|
3857
|
+
previewChars: number;
|
|
3858
|
+
originalLines?: number | undefined;
|
|
3859
|
+
previewLines?: number | undefined;
|
|
3860
|
+
}>>;
|
|
3556
3861
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
3557
3862
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
3558
3863
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -3731,6 +4036,22 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
3731
4036
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
3732
4037
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3733
4038
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
4039
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
4040
|
+
originalChars: z.ZodNumber;
|
|
4041
|
+
previewChars: z.ZodNumber;
|
|
4042
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
4043
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
4044
|
+
}, "strip", z.ZodTypeAny, {
|
|
4045
|
+
originalChars: number;
|
|
4046
|
+
previewChars: number;
|
|
4047
|
+
originalLines?: number | undefined;
|
|
4048
|
+
previewLines?: number | undefined;
|
|
4049
|
+
}, {
|
|
4050
|
+
originalChars: number;
|
|
4051
|
+
previewChars: number;
|
|
4052
|
+
originalLines?: number | undefined;
|
|
4053
|
+
previewLines?: number | undefined;
|
|
4054
|
+
}>>;
|
|
3734
4055
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
3735
4056
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
3736
4057
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -3902,6 +4223,22 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
3902
4223
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
3903
4224
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3904
4225
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
4226
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
4227
|
+
originalChars: z.ZodNumber;
|
|
4228
|
+
previewChars: z.ZodNumber;
|
|
4229
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
4230
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
4231
|
+
}, "strip", z.ZodTypeAny, {
|
|
4232
|
+
originalChars: number;
|
|
4233
|
+
previewChars: number;
|
|
4234
|
+
originalLines?: number | undefined;
|
|
4235
|
+
previewLines?: number | undefined;
|
|
4236
|
+
}, {
|
|
4237
|
+
originalChars: number;
|
|
4238
|
+
previewChars: number;
|
|
4239
|
+
originalLines?: number | undefined;
|
|
4240
|
+
previewLines?: number | undefined;
|
|
4241
|
+
}>>;
|
|
3905
4242
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
3906
4243
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
3907
4244
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -4073,6 +4410,22 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
4073
4410
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
4074
4411
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4075
4412
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
4413
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
4414
|
+
originalChars: z.ZodNumber;
|
|
4415
|
+
previewChars: z.ZodNumber;
|
|
4416
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
4417
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
4418
|
+
}, "strip", z.ZodTypeAny, {
|
|
4419
|
+
originalChars: number;
|
|
4420
|
+
previewChars: number;
|
|
4421
|
+
originalLines?: number | undefined;
|
|
4422
|
+
previewLines?: number | undefined;
|
|
4423
|
+
}, {
|
|
4424
|
+
originalChars: number;
|
|
4425
|
+
previewChars: number;
|
|
4426
|
+
originalLines?: number | undefined;
|
|
4427
|
+
previewLines?: number | undefined;
|
|
4428
|
+
}>>;
|
|
4076
4429
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
4077
4430
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
4078
4431
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -4254,6 +4607,22 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
4254
4607
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
4255
4608
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4256
4609
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
4610
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
4611
|
+
originalChars: z.ZodNumber;
|
|
4612
|
+
previewChars: z.ZodNumber;
|
|
4613
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
4614
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
4615
|
+
}, "strip", z.ZodTypeAny, {
|
|
4616
|
+
originalChars: number;
|
|
4617
|
+
previewChars: number;
|
|
4618
|
+
originalLines?: number | undefined;
|
|
4619
|
+
previewLines?: number | undefined;
|
|
4620
|
+
}, {
|
|
4621
|
+
originalChars: number;
|
|
4622
|
+
previewChars: number;
|
|
4623
|
+
originalLines?: number | undefined;
|
|
4624
|
+
previewLines?: number | undefined;
|
|
4625
|
+
}>>;
|
|
4257
4626
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
4258
4627
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
4259
4628
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -4432,6 +4801,22 @@ declare const ToolMessage: z.ZodObject<{
|
|
|
4432
4801
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
4433
4802
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4434
4803
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
4804
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
4805
|
+
originalChars: z.ZodNumber;
|
|
4806
|
+
previewChars: z.ZodNumber;
|
|
4807
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
4808
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
4809
|
+
}, "strip", z.ZodTypeAny, {
|
|
4810
|
+
originalChars: number;
|
|
4811
|
+
previewChars: number;
|
|
4812
|
+
originalLines?: number | undefined;
|
|
4813
|
+
previewLines?: number | undefined;
|
|
4814
|
+
}, {
|
|
4815
|
+
originalChars: number;
|
|
4816
|
+
previewChars: number;
|
|
4817
|
+
originalLines?: number | undefined;
|
|
4818
|
+
previewLines?: number | undefined;
|
|
4819
|
+
}>>;
|
|
4435
4820
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
4436
4821
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
4437
4822
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -4610,6 +4995,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
4610
4995
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
4611
4996
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4612
4997
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
4998
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
4999
|
+
originalChars: z.ZodNumber;
|
|
5000
|
+
previewChars: z.ZodNumber;
|
|
5001
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
5002
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
5003
|
+
}, "strip", z.ZodTypeAny, {
|
|
5004
|
+
originalChars: number;
|
|
5005
|
+
previewChars: number;
|
|
5006
|
+
originalLines?: number | undefined;
|
|
5007
|
+
previewLines?: number | undefined;
|
|
5008
|
+
}, {
|
|
5009
|
+
originalChars: number;
|
|
5010
|
+
previewChars: number;
|
|
5011
|
+
originalLines?: number | undefined;
|
|
5012
|
+
previewLines?: number | undefined;
|
|
5013
|
+
}>>;
|
|
4613
5014
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
4614
5015
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
4615
5016
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -4781,6 +5182,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
4781
5182
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
4782
5183
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4783
5184
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
5185
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
5186
|
+
originalChars: z.ZodNumber;
|
|
5187
|
+
previewChars: z.ZodNumber;
|
|
5188
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
5189
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
5190
|
+
}, "strip", z.ZodTypeAny, {
|
|
5191
|
+
originalChars: number;
|
|
5192
|
+
previewChars: number;
|
|
5193
|
+
originalLines?: number | undefined;
|
|
5194
|
+
previewLines?: number | undefined;
|
|
5195
|
+
}, {
|
|
5196
|
+
originalChars: number;
|
|
5197
|
+
previewChars: number;
|
|
5198
|
+
originalLines?: number | undefined;
|
|
5199
|
+
previewLines?: number | undefined;
|
|
5200
|
+
}>>;
|
|
4784
5201
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
4785
5202
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
4786
5203
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -4952,6 +5369,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
4952
5369
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
4953
5370
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4954
5371
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
5372
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
5373
|
+
originalChars: z.ZodNumber;
|
|
5374
|
+
previewChars: z.ZodNumber;
|
|
5375
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
5376
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
5377
|
+
}, "strip", z.ZodTypeAny, {
|
|
5378
|
+
originalChars: number;
|
|
5379
|
+
previewChars: number;
|
|
5380
|
+
originalLines?: number | undefined;
|
|
5381
|
+
previewLines?: number | undefined;
|
|
5382
|
+
}, {
|
|
5383
|
+
originalChars: number;
|
|
5384
|
+
previewChars: number;
|
|
5385
|
+
originalLines?: number | undefined;
|
|
5386
|
+
previewLines?: number | undefined;
|
|
5387
|
+
}>>;
|
|
4955
5388
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
4956
5389
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
4957
5390
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -5133,6 +5566,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
5133
5566
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
5134
5567
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5135
5568
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
5569
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
5570
|
+
originalChars: z.ZodNumber;
|
|
5571
|
+
previewChars: z.ZodNumber;
|
|
5572
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
5573
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
5574
|
+
}, "strip", z.ZodTypeAny, {
|
|
5575
|
+
originalChars: number;
|
|
5576
|
+
previewChars: number;
|
|
5577
|
+
originalLines?: number | undefined;
|
|
5578
|
+
previewLines?: number | undefined;
|
|
5579
|
+
}, {
|
|
5580
|
+
originalChars: number;
|
|
5581
|
+
previewChars: number;
|
|
5582
|
+
originalLines?: number | undefined;
|
|
5583
|
+
previewLines?: number | undefined;
|
|
5584
|
+
}>>;
|
|
5136
5585
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
5137
5586
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
5138
5587
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -5311,6 +5760,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
5311
5760
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
5312
5761
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5313
5762
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
5763
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
5764
|
+
originalChars: z.ZodNumber;
|
|
5765
|
+
previewChars: z.ZodNumber;
|
|
5766
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
5767
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
5768
|
+
}, "strip", z.ZodTypeAny, {
|
|
5769
|
+
originalChars: number;
|
|
5770
|
+
previewChars: number;
|
|
5771
|
+
originalLines?: number | undefined;
|
|
5772
|
+
previewLines?: number | undefined;
|
|
5773
|
+
}, {
|
|
5774
|
+
originalChars: number;
|
|
5775
|
+
previewChars: number;
|
|
5776
|
+
originalLines?: number | undefined;
|
|
5777
|
+
previewLines?: number | undefined;
|
|
5778
|
+
}>>;
|
|
5314
5779
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
5315
5780
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
5316
5781
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -5487,6 +5952,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
5487
5952
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
5488
5953
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5489
5954
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
5955
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
5956
|
+
originalChars: z.ZodNumber;
|
|
5957
|
+
previewChars: z.ZodNumber;
|
|
5958
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
5959
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
5960
|
+
}, "strip", z.ZodTypeAny, {
|
|
5961
|
+
originalChars: number;
|
|
5962
|
+
previewChars: number;
|
|
5963
|
+
originalLines?: number | undefined;
|
|
5964
|
+
previewLines?: number | undefined;
|
|
5965
|
+
}, {
|
|
5966
|
+
originalChars: number;
|
|
5967
|
+
previewChars: number;
|
|
5968
|
+
originalLines?: number | undefined;
|
|
5969
|
+
previewLines?: number | undefined;
|
|
5970
|
+
}>>;
|
|
5490
5971
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
5491
5972
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
5492
5973
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -5658,6 +6139,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
5658
6139
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
5659
6140
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5660
6141
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
6142
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
6143
|
+
originalChars: z.ZodNumber;
|
|
6144
|
+
previewChars: z.ZodNumber;
|
|
6145
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
6146
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
6147
|
+
}, "strip", z.ZodTypeAny, {
|
|
6148
|
+
originalChars: number;
|
|
6149
|
+
previewChars: number;
|
|
6150
|
+
originalLines?: number | undefined;
|
|
6151
|
+
previewLines?: number | undefined;
|
|
6152
|
+
}, {
|
|
6153
|
+
originalChars: number;
|
|
6154
|
+
previewChars: number;
|
|
6155
|
+
originalLines?: number | undefined;
|
|
6156
|
+
previewLines?: number | undefined;
|
|
6157
|
+
}>>;
|
|
5661
6158
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
5662
6159
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
5663
6160
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -5829,6 +6326,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
5829
6326
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
5830
6327
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5831
6328
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
6329
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
6330
|
+
originalChars: z.ZodNumber;
|
|
6331
|
+
previewChars: z.ZodNumber;
|
|
6332
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
6333
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
6334
|
+
}, "strip", z.ZodTypeAny, {
|
|
6335
|
+
originalChars: number;
|
|
6336
|
+
previewChars: number;
|
|
6337
|
+
originalLines?: number | undefined;
|
|
6338
|
+
previewLines?: number | undefined;
|
|
6339
|
+
}, {
|
|
6340
|
+
originalChars: number;
|
|
6341
|
+
previewChars: number;
|
|
6342
|
+
originalLines?: number | undefined;
|
|
6343
|
+
previewLines?: number | undefined;
|
|
6344
|
+
}>>;
|
|
5832
6345
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
5833
6346
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
5834
6347
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -6010,6 +6523,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
6010
6523
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
6011
6524
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6012
6525
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
6526
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
6527
|
+
originalChars: z.ZodNumber;
|
|
6528
|
+
previewChars: z.ZodNumber;
|
|
6529
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
6530
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
6531
|
+
}, "strip", z.ZodTypeAny, {
|
|
6532
|
+
originalChars: number;
|
|
6533
|
+
previewChars: number;
|
|
6534
|
+
originalLines?: number | undefined;
|
|
6535
|
+
previewLines?: number | undefined;
|
|
6536
|
+
}, {
|
|
6537
|
+
originalChars: number;
|
|
6538
|
+
previewChars: number;
|
|
6539
|
+
originalLines?: number | undefined;
|
|
6540
|
+
previewLines?: number | undefined;
|
|
6541
|
+
}>>;
|
|
6013
6542
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
6014
6543
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
6015
6544
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -6188,6 +6717,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
6188
6717
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
6189
6718
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6190
6719
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
6720
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
6721
|
+
originalChars: z.ZodNumber;
|
|
6722
|
+
previewChars: z.ZodNumber;
|
|
6723
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
6724
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
6725
|
+
}, "strip", z.ZodTypeAny, {
|
|
6726
|
+
originalChars: number;
|
|
6727
|
+
previewChars: number;
|
|
6728
|
+
originalLines?: number | undefined;
|
|
6729
|
+
previewLines?: number | undefined;
|
|
6730
|
+
}, {
|
|
6731
|
+
originalChars: number;
|
|
6732
|
+
previewChars: number;
|
|
6733
|
+
originalLines?: number | undefined;
|
|
6734
|
+
previewLines?: number | undefined;
|
|
6735
|
+
}>>;
|
|
6191
6736
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
6192
6737
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
6193
6738
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -6364,6 +6909,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
6364
6909
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
6365
6910
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6366
6911
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
6912
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
6913
|
+
originalChars: z.ZodNumber;
|
|
6914
|
+
previewChars: z.ZodNumber;
|
|
6915
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
6916
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
6917
|
+
}, "strip", z.ZodTypeAny, {
|
|
6918
|
+
originalChars: number;
|
|
6919
|
+
previewChars: number;
|
|
6920
|
+
originalLines?: number | undefined;
|
|
6921
|
+
previewLines?: number | undefined;
|
|
6922
|
+
}, {
|
|
6923
|
+
originalChars: number;
|
|
6924
|
+
previewChars: number;
|
|
6925
|
+
originalLines?: number | undefined;
|
|
6926
|
+
previewLines?: number | undefined;
|
|
6927
|
+
}>>;
|
|
6367
6928
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
6368
6929
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
6369
6930
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -6535,6 +7096,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
6535
7096
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
6536
7097
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6537
7098
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
7099
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
7100
|
+
originalChars: z.ZodNumber;
|
|
7101
|
+
previewChars: z.ZodNumber;
|
|
7102
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
7103
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
7104
|
+
}, "strip", z.ZodTypeAny, {
|
|
7105
|
+
originalChars: number;
|
|
7106
|
+
previewChars: number;
|
|
7107
|
+
originalLines?: number | undefined;
|
|
7108
|
+
previewLines?: number | undefined;
|
|
7109
|
+
}, {
|
|
7110
|
+
originalChars: number;
|
|
7111
|
+
previewChars: number;
|
|
7112
|
+
originalLines?: number | undefined;
|
|
7113
|
+
previewLines?: number | undefined;
|
|
7114
|
+
}>>;
|
|
6538
7115
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
6539
7116
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
6540
7117
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -6706,6 +7283,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
6706
7283
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
6707
7284
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6708
7285
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
7286
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
7287
|
+
originalChars: z.ZodNumber;
|
|
7288
|
+
previewChars: z.ZodNumber;
|
|
7289
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
7290
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
7291
|
+
}, "strip", z.ZodTypeAny, {
|
|
7292
|
+
originalChars: number;
|
|
7293
|
+
previewChars: number;
|
|
7294
|
+
originalLines?: number | undefined;
|
|
7295
|
+
previewLines?: number | undefined;
|
|
7296
|
+
}, {
|
|
7297
|
+
originalChars: number;
|
|
7298
|
+
previewChars: number;
|
|
7299
|
+
originalLines?: number | undefined;
|
|
7300
|
+
previewLines?: number | undefined;
|
|
7301
|
+
}>>;
|
|
6709
7302
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
6710
7303
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
6711
7304
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -6887,6 +7480,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
6887
7480
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
6888
7481
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6889
7482
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
7483
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
7484
|
+
originalChars: z.ZodNumber;
|
|
7485
|
+
previewChars: z.ZodNumber;
|
|
7486
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
7487
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
7488
|
+
}, "strip", z.ZodTypeAny, {
|
|
7489
|
+
originalChars: number;
|
|
7490
|
+
previewChars: number;
|
|
7491
|
+
originalLines?: number | undefined;
|
|
7492
|
+
previewLines?: number | undefined;
|
|
7493
|
+
}, {
|
|
7494
|
+
originalChars: number;
|
|
7495
|
+
previewChars: number;
|
|
7496
|
+
originalLines?: number | undefined;
|
|
7497
|
+
previewLines?: number | undefined;
|
|
7498
|
+
}>>;
|
|
6890
7499
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
6891
7500
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
6892
7501
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -7065,6 +7674,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
7065
7674
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
7066
7675
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7067
7676
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
7677
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
7678
|
+
originalChars: z.ZodNumber;
|
|
7679
|
+
previewChars: z.ZodNumber;
|
|
7680
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
7681
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
7682
|
+
}, "strip", z.ZodTypeAny, {
|
|
7683
|
+
originalChars: number;
|
|
7684
|
+
previewChars: number;
|
|
7685
|
+
originalLines?: number | undefined;
|
|
7686
|
+
previewLines?: number | undefined;
|
|
7687
|
+
}, {
|
|
7688
|
+
originalChars: number;
|
|
7689
|
+
previewChars: number;
|
|
7690
|
+
originalLines?: number | undefined;
|
|
7691
|
+
previewLines?: number | undefined;
|
|
7692
|
+
}>>;
|
|
7068
7693
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
7069
7694
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
7070
7695
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -7241,6 +7866,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
7241
7866
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
7242
7867
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7243
7868
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
7869
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
7870
|
+
originalChars: z.ZodNumber;
|
|
7871
|
+
previewChars: z.ZodNumber;
|
|
7872
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
7873
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
7874
|
+
}, "strip", z.ZodTypeAny, {
|
|
7875
|
+
originalChars: number;
|
|
7876
|
+
previewChars: number;
|
|
7877
|
+
originalLines?: number | undefined;
|
|
7878
|
+
previewLines?: number | undefined;
|
|
7879
|
+
}, {
|
|
7880
|
+
originalChars: number;
|
|
7881
|
+
previewChars: number;
|
|
7882
|
+
originalLines?: number | undefined;
|
|
7883
|
+
previewLines?: number | undefined;
|
|
7884
|
+
}>>;
|
|
7244
7885
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
7245
7886
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
7246
7887
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -7412,6 +8053,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
7412
8053
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
7413
8054
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7414
8055
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
8056
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
8057
|
+
originalChars: z.ZodNumber;
|
|
8058
|
+
previewChars: z.ZodNumber;
|
|
8059
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
8060
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
8061
|
+
}, "strip", z.ZodTypeAny, {
|
|
8062
|
+
originalChars: number;
|
|
8063
|
+
previewChars: number;
|
|
8064
|
+
originalLines?: number | undefined;
|
|
8065
|
+
previewLines?: number | undefined;
|
|
8066
|
+
}, {
|
|
8067
|
+
originalChars: number;
|
|
8068
|
+
previewChars: number;
|
|
8069
|
+
originalLines?: number | undefined;
|
|
8070
|
+
previewLines?: number | undefined;
|
|
8071
|
+
}>>;
|
|
7415
8072
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
7416
8073
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
7417
8074
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -7583,6 +8240,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
7583
8240
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
7584
8241
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7585
8242
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
8243
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
8244
|
+
originalChars: z.ZodNumber;
|
|
8245
|
+
previewChars: z.ZodNumber;
|
|
8246
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
8247
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
8248
|
+
}, "strip", z.ZodTypeAny, {
|
|
8249
|
+
originalChars: number;
|
|
8250
|
+
previewChars: number;
|
|
8251
|
+
originalLines?: number | undefined;
|
|
8252
|
+
previewLines?: number | undefined;
|
|
8253
|
+
}, {
|
|
8254
|
+
originalChars: number;
|
|
8255
|
+
previewChars: number;
|
|
8256
|
+
originalLines?: number | undefined;
|
|
8257
|
+
previewLines?: number | undefined;
|
|
8258
|
+
}>>;
|
|
7586
8259
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
7587
8260
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
7588
8261
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -7764,6 +8437,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
7764
8437
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
7765
8438
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7766
8439
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
8440
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
8441
|
+
originalChars: z.ZodNumber;
|
|
8442
|
+
previewChars: z.ZodNumber;
|
|
8443
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
8444
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
8445
|
+
}, "strip", z.ZodTypeAny, {
|
|
8446
|
+
originalChars: number;
|
|
8447
|
+
previewChars: number;
|
|
8448
|
+
originalLines?: number | undefined;
|
|
8449
|
+
previewLines?: number | undefined;
|
|
8450
|
+
}, {
|
|
8451
|
+
originalChars: number;
|
|
8452
|
+
previewChars: number;
|
|
8453
|
+
originalLines?: number | undefined;
|
|
8454
|
+
previewLines?: number | undefined;
|
|
8455
|
+
}>>;
|
|
7767
8456
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
7768
8457
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
7769
8458
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -7942,6 +8631,22 @@ declare const AiMessage: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
7942
8631
|
tool_name: z.ZodOptional<z.ZodString>;
|
|
7943
8632
|
args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
7944
8633
|
tool_call_id: z.ZodOptional<z.ZodString>;
|
|
8634
|
+
observationTruncation: z.ZodOptional<z.ZodObject<{
|
|
8635
|
+
originalChars: z.ZodNumber;
|
|
8636
|
+
previewChars: z.ZodNumber;
|
|
8637
|
+
originalLines: z.ZodOptional<z.ZodNumber>;
|
|
8638
|
+
previewLines: z.ZodOptional<z.ZodNumber>;
|
|
8639
|
+
}, "strip", z.ZodTypeAny, {
|
|
8640
|
+
originalChars: number;
|
|
8641
|
+
previewChars: number;
|
|
8642
|
+
originalLines?: number | undefined;
|
|
8643
|
+
previewLines?: number | undefined;
|
|
8644
|
+
}, {
|
|
8645
|
+
originalChars: number;
|
|
8646
|
+
previewChars: number;
|
|
8647
|
+
originalLines?: number | undefined;
|
|
8648
|
+
previewLines?: number | undefined;
|
|
8649
|
+
}>>;
|
|
7945
8650
|
raw_output: z.ZodOptional<z.ZodString>;
|
|
7946
8651
|
image_info: z.ZodOptional<z.ZodObject<{
|
|
7947
8652
|
url: z.ZodOptional<z.ZodString>;
|
|
@@ -8004,4 +8709,4 @@ declare function isToolMessage(message: AiMessage): message is ToolMessage;
|
|
|
8004
8709
|
declare function isHistorySummaryMessage(message: AiMessage): message is SystemMessage;
|
|
8005
8710
|
declare function hasToolCalls(message: AiMessage): boolean;
|
|
8006
8711
|
|
|
8007
|
-
export { AiMessage as A, HistorySummaryMeta as H, ImageInfoMeta as I, PersistentMetadata as P, SystemMessage as S, TaskTrackingMeta as T, UserMessage as U, AssistantMessage as a, ProviderReasoningDetails as b, ToolCallExtraContent as c, ToolCallWire as d, ToolCallsMeta as e, ToolMessage as f, ToolOutputMeta as g, createAssistantMessage as h, createHistorySummaryMessage as i, createSystemMessage as j, createToolMessage as k, createUserMessage as l, hasToolCalls as m, isAssistantMessage as n, isHistorySummaryMessage as o, isSystemMessage as p, isToolMessage as q, isUserMessage as r, validateHistorySummaryMeta as s, validateAiMessage as v };
|
|
8712
|
+
export { AiMessage as A, HistorySummaryMeta as H, ImageInfoMeta as I, ObservationTruncationMeta as O, PersistentMetadata as P, SystemMessage as S, TaskTrackingMeta as T, UserMessage as U, AssistantMessage as a, ProviderReasoningDetails as b, ToolCallExtraContent as c, ToolCallWire as d, ToolCallsMeta as e, ToolMessage as f, ToolOutputMeta as g, createAssistantMessage as h, createHistorySummaryMessage as i, createSystemMessage as j, createToolMessage as k, createUserMessage as l, hasToolCalls as m, isAssistantMessage as n, isHistorySummaryMessage as o, isSystemMessage as p, isToolMessage as q, isUserMessage as r, validateHistorySummaryMeta as s, validateAiMessage as v };
|