@makaio/framework 1.0.0-dev-1783355411417 → 1.0.0-dev-1783477169057
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/.makaio-build.json +2 -2
- package/dist/adapter-Lx6K7yQS.mjs +1 -0
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +219 -40
- package/dist/adapters/index.mjs +6 -6
- package/dist/adapters/node.d.mts +1 -1
- package/dist/adapters/node.mjs +4 -4
- package/dist/{base-orchestrator-BNysGvaM.d.mts → base-orchestrator-J1WKAUkF.d.mts} +32 -3
- package/dist/bus/index.d.mts +22 -22
- package/dist/bus/index.mjs +1 -1
- package/dist/client-l1Rq5p6X.mjs +1 -0
- package/dist/clients/index.d.mts +30 -0
- package/dist/clients/index.mjs +2 -2
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.mjs +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +2 -2
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/config/index.d.mts +12 -12
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +454 -276
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/provider/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{definition-b9jyJqPD.d.mts → definition-DePb3ke-.d.mts} +1 -1
- package/dist/drizzle/0023_m_mr9gc37m.sql +1 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/handlers-B74FvKlA.mjs +57 -0
- package/dist/hooks/index.d.mts +19 -2
- package/dist/{identity-BarL3JYI.mjs → identity-DC3Pk0ps.mjs} +1 -1
- package/dist/{index-BwGfdbI0.d.mts → index-2fK9iSHI.d.mts} +9 -9
- package/dist/{index-D7rWAEY0.d.mts → index-B-6DtLLz.d.mts} +1 -1
- package/dist/{index-4eP9DRL_.d.mts → index-B3fjN5HX.d.mts} +7 -7
- package/dist/{index-O08Q2ikz.d.mts → index-BMbmoarE.d.mts} +8 -8
- package/dist/{index-DV4nRk0h.d.mts → index-BX1MxwFr.d.mts} +28 -28
- package/dist/{index-CqCe7Phc.d.mts → index-BcwOnvUh.d.mts} +6 -6
- package/dist/{index-D6aAzr32.d.mts → index-BeouVICp.d.mts} +36 -36
- package/dist/{index-DQYj8-53.d.mts → index-BjO4Zkap.d.mts} +1 -1
- package/dist/{index-B5w-0Gg9.d.mts → index-Bl42SCEI.d.mts} +8 -8
- package/dist/{index-BYfSAJRC.d.mts → index-BvTd61i5.d.mts} +151 -29
- package/dist/{index-3X0368CL.d.mts → index-CA-AJbq6.d.mts} +4 -4
- package/dist/{index-C5C1tk9f.d.mts → index-CQQcnpev.d.mts} +41 -41
- package/dist/{index-BKZhnb2B.d.mts → index-C_xQM96Y.d.mts} +802 -422
- package/dist/{index-31vR1sxk.d.mts → index-CwFSL4xI.d.mts} +144 -21
- package/dist/{index-WHUV7neB.d.mts → index-DMz-2ACU.d.mts} +105 -105
- package/dist/{index-3J0HZlPH.d.mts → index-DScUb-hF.d.mts} +334 -13
- package/dist/{index-DEzdNQum.d.mts → index-Di84JjS0.d.mts} +2 -2
- package/dist/{index-DvHYpi-J.d.mts → index-Dv4oGVZK.d.mts} +1246 -397
- package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
- package/dist/{index-D9-vOJvZ.d.mts → index-h5go5Dtd.d.mts} +1 -1
- package/dist/{index-DLNRgZPo2.d.mts → index-j_X5xefv2.d.mts} +26 -26
- package/dist/{index-C6Ys8pxt.d.mts → index-uM4KZopE.d.mts} +9 -9
- package/dist/kernel/extension/index.d.mts +1 -1
- package/dist/kernel/index.d.mts +2 -2
- package/dist/kernel/observability/index.d.mts +1 -1
- package/dist/{namespace-j7vFsmYL.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
- package/dist/{namespace-D8P8Sxce2.d.mts → namespace-6sIu5nBI2.d.mts} +2 -2
- package/dist/{namespace-B3ol3pc-.d.mts → namespace-BigVYQyx.d.mts} +12 -0
- package/dist/{namespace-DmqoDDRD.d.mts → namespace-Boh42UoL.d.mts} +66 -22
- package/dist/{namespace-CfvtDD_U.d.mts → namespace-COEUMuHL.d.mts} +156 -156
- package/dist/{namespace-B4cV_pk3.d.mts → namespace-D94HrTtq.d.mts} +58 -58
- package/dist/{namespace-DhDY0juT.d.mts → namespace-OLAh9wHU.d.mts} +375 -27
- package/dist/{namespace-Bm77p82L.d.mts → namespace-TPbegIMi.d.mts} +27 -27
- package/dist/{package-MmQvNJ3u.d.mts → package-B6mEMD8r.d.mts} +5 -0
- package/dist/{package-BmRhhi-3.mjs → package-BQn_RTo7.mjs} +1 -1
- package/dist/package.json +1 -1
- package/dist/{schema-DLNBajAV.d.mts → schema-B5vHi7Uu.d.mts} +28 -1
- package/dist/{schemas-CoFCV42v.d.mts → schemas-CDBn9MTz.d.mts} +156 -156
- package/dist/schemas-CkOigLAT.mjs +1 -0
- package/dist/{schemas-lnE9YoG7.d.mts → schemas-CscdPqCt.d.mts} +3 -3
- package/dist/{schemas-DMMWmWjq.d.mts → schemas-D512XweP.d.mts} +4 -4
- package/dist/{schemas-DuuVuhHX2.d.mts → schemas-DOV4UouN2.d.mts} +13 -13
- package/dist/{schemas-DmGRSeIq.d.mts → schemas-t6h9oSct.d.mts} +28 -1
- package/dist/services/adapter-runtime/index.d.mts +4 -4
- package/dist/services/adapter-runtime/index.mjs +1 -1
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +2 -2
- package/dist/services/adapter-runtime/schemas.mjs +1 -1
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +8 -8
- package/dist/services/execution-target/index.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/git/namespace.d.mts +2 -2
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +147 -140
- package/dist/services/index.mjs +1 -1
- package/dist/services/log-import/browser.d.mts +2 -2
- package/dist/services/log-import/index.d.mts +15 -2
- package/dist/services/log-import/index.mjs +2 -2
- package/dist/services/log-import/log-import.d.mts +1 -1
- package/dist/services/log-import/namespace.d.mts +2 -2
- package/dist/services/log-import/schemas.d.mts +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/handlers/index.mjs +1 -1
- package/dist/services/session/index.d.mts +7 -7
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +3 -2
- package/dist/services/session-editor/index.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +10 -10
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/services/tray-menu/index.d.mts +2 -2
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/session-CoGaTin6.mjs +69 -0
- package/dist/session-Dp7z5N1d.mjs +1 -0
- package/dist/{session-lineage-DR-9DU-U.d.mts → session-lineage-C1M7-O3C.d.mts} +3 -3
- package/dist/{tool-approval-service-MU_DmJsf.mjs → tool-approval-service-BNXgr-az.mjs} +1 -1
- package/dist/tools-BaO4GYj0.mjs +1 -0
- package/dist/{transition-Dq41YCkc.d.mts → transition-Bbjlwv5K.d.mts} +1 -1
- package/dist/{types-BMS6yfLS.d.mts → types-BNW5n6qm.d.mts} +1 -1
- package/dist/{types-BMlzmWp6.d.mts → types-CNkx2awa.d.mts} +12 -1
- package/dist/{types-Cse8s_cD.d.mts → types-D7W0ntGr.d.mts} +45 -18
- package/dist/{types-C76EP81O.d.mts → types-jruUn6oW.d.mts} +694 -282
- package/dist/workflow-engine/index.d.mts +41 -41
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/package.json +1 -1
- package/dist/adapter-BRxCc72E.mjs +0 -1
- package/dist/client-BgUjVbXX.mjs +0 -1
- package/dist/handlers-v47Gbsr1.mjs +0 -57
- package/dist/schemas-ftgVeWIG.mjs +0 -1
- package/dist/session-CKWfn3oc.mjs +0 -1
- package/dist/session-DCbJwYEU.mjs +0 -69
- package/dist/tools-BrNm-een.mjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as JsonValue$1 } from "./json-value-DtIkQN7g.mjs";
|
|
2
|
-
import { s as MessageBlock$1 } from "./index-
|
|
2
|
+
import { s as MessageBlock$1 } from "./index-NkNbYFud.mjs";
|
|
3
3
|
import * as _$zod from "zod";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -25,8 +25,8 @@ declare const SessionCreateBaseSchema: z.ZodObject<{
|
|
|
25
25
|
branchKind: z.ZodOptional<z.ZodEnum<{
|
|
26
26
|
fork: "fork";
|
|
27
27
|
subagent: "subagent";
|
|
28
|
-
compress: "compress";
|
|
29
28
|
branch: "branch";
|
|
29
|
+
compress: "compress";
|
|
30
30
|
rewrite: "rewrite";
|
|
31
31
|
coordinator: "coordinator";
|
|
32
32
|
aside: "aside";
|
|
@@ -57,6 +57,7 @@ declare const SessionCreateBaseSchema: z.ZodObject<{
|
|
|
57
57
|
metadata: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
58
58
|
spawningToolCallId: z.ZodOptional<z.ZodString>;
|
|
59
59
|
originWindowId: z.ZodOptional<z.ZodString>;
|
|
60
|
+
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
61
|
}, z.core.$strip>;
|
|
61
62
|
/** Parsed type for {@link SessionCreateBaseSchema}. */
|
|
62
63
|
type SessionCreateBase = z.infer<typeof SessionCreateBaseSchema>;
|
|
@@ -178,8 +179,8 @@ declare const MakaioSessionSchema: z.ZodObject<{
|
|
|
178
179
|
branchKind: z.ZodOptional<z.ZodEnum<{
|
|
179
180
|
fork: "fork";
|
|
180
181
|
subagent: "subagent";
|
|
181
|
-
compress: "compress";
|
|
182
182
|
branch: "branch";
|
|
183
|
+
compress: "compress";
|
|
183
184
|
rewrite: "rewrite";
|
|
184
185
|
coordinator: "coordinator";
|
|
185
186
|
aside: "aside";
|
|
@@ -240,6 +241,7 @@ declare const MakaioSessionSchema: z.ZodObject<{
|
|
|
240
241
|
tracking: "tracking";
|
|
241
242
|
}>>;
|
|
242
243
|
isSidechain: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
+
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
243
245
|
}, z.core.$strip>;
|
|
244
246
|
/**
|
|
245
247
|
* Preview data for session list display.
|
|
@@ -305,8 +307,8 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
|
|
|
305
307
|
branchKind: z.ZodOptional<z.ZodEnum<{
|
|
306
308
|
fork: "fork";
|
|
307
309
|
subagent: "subagent";
|
|
308
|
-
compress: "compress";
|
|
309
310
|
branch: "branch";
|
|
311
|
+
compress: "compress";
|
|
310
312
|
rewrite: "rewrite";
|
|
311
313
|
coordinator: "coordinator";
|
|
312
314
|
aside: "aside";
|
|
@@ -367,6 +369,7 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
|
|
|
367
369
|
tracking: "tracking";
|
|
368
370
|
}>>;
|
|
369
371
|
isSidechain: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
370
373
|
preview: z.ZodOptional<z.ZodObject<{
|
|
371
374
|
messageCount: z.ZodNumber;
|
|
372
375
|
firstUserMessage: z.ZodNullable<z.ZodString>;
|
|
@@ -506,8 +509,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
506
509
|
branchKind: z.ZodOptional<z.ZodEnum<{
|
|
507
510
|
fork: "fork";
|
|
508
511
|
subagent: "subagent";
|
|
509
|
-
compress: "compress";
|
|
510
512
|
branch: "branch";
|
|
513
|
+
compress: "compress";
|
|
511
514
|
rewrite: "rewrite";
|
|
512
515
|
coordinator: "coordinator";
|
|
513
516
|
aside: "aside";
|
|
@@ -568,6 +571,7 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
568
571
|
tracking: "tracking";
|
|
569
572
|
}>>;
|
|
570
573
|
isSidechain: z.ZodOptional<z.ZodBoolean>;
|
|
574
|
+
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
571
575
|
}, z.core.$strip>>;
|
|
572
576
|
agents: z.ZodArray<z.ZodObject<{
|
|
573
577
|
agentId: z.ZodString;
|
|
@@ -675,8 +679,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
675
679
|
editOf: z.ZodOptional<z.ZodString>;
|
|
676
680
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
677
681
|
text: "text";
|
|
678
|
-
voice: "voice";
|
|
679
682
|
compact: "compact";
|
|
683
|
+
voice: "voice";
|
|
680
684
|
}>>;
|
|
681
685
|
}, z.core.$strip>>;
|
|
682
686
|
turns: z.ZodArray<z.ZodObject<{
|
|
@@ -719,7 +723,7 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
719
723
|
type: z.ZodLiteral<"agent.added">;
|
|
720
724
|
payload: z.ZodObject<{
|
|
721
725
|
sessionId: z.ZodString;
|
|
722
|
-
adapterSessionId: z.ZodString
|
|
726
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
723
727
|
agentId: z.ZodString;
|
|
724
728
|
adapterId: z.ZodString;
|
|
725
729
|
adapterName: z.ZodString;
|
|
@@ -870,8 +874,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
870
874
|
}>>;
|
|
871
875
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
872
876
|
text: "text";
|
|
873
|
-
voice: "voice";
|
|
874
877
|
compact: "compact";
|
|
878
|
+
voice: "voice";
|
|
875
879
|
}>>;
|
|
876
880
|
}, z.core.$strip>;
|
|
877
881
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -993,8 +997,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
993
997
|
kind: z.ZodEnum<{
|
|
994
998
|
fork: "fork";
|
|
995
999
|
subagent: "subagent";
|
|
996
|
-
compress: "compress";
|
|
997
1000
|
branch: "branch";
|
|
1001
|
+
compress: "compress";
|
|
998
1002
|
rewrite: "rewrite";
|
|
999
1003
|
coordinator: "coordinator";
|
|
1000
1004
|
aside: "aside";
|
|
@@ -1023,6 +1027,47 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
1023
1027
|
tokensAfter: z.ZodOptional<z.ZodNumber>;
|
|
1024
1028
|
compressedMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1025
1029
|
}, z.core.$strip>;
|
|
1030
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1031
|
+
sessionId: z.ZodString;
|
|
1032
|
+
eventId: z.ZodString;
|
|
1033
|
+
timestamp: z.ZodNumber;
|
|
1034
|
+
type: z.ZodLiteral<"locality.degraded">;
|
|
1035
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1036
|
+
intent: z.ZodEnum<{
|
|
1037
|
+
fork: "fork";
|
|
1038
|
+
resume: "resume";
|
|
1039
|
+
}>;
|
|
1040
|
+
verdictKind: z.ZodLiteral<"degrade">;
|
|
1041
|
+
reason: z.ZodEnum<{
|
|
1042
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
1043
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
1044
|
+
"no-adapter-session": "no-adapter-session";
|
|
1045
|
+
"missing-machine-id": "missing-machine-id";
|
|
1046
|
+
"machine-mismatch": "machine-mismatch";
|
|
1047
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
1048
|
+
"transforms-present": "transforms-present";
|
|
1049
|
+
"compression-present": "compression-present";
|
|
1050
|
+
"connector-swap": "connector-swap";
|
|
1051
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
1052
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
1053
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
1054
|
+
"agent-already-started": "agent-already-started";
|
|
1055
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
1056
|
+
}>;
|
|
1057
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1058
|
+
adapterId: z.ZodOptional<z.ZodString>;
|
|
1059
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
1060
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1061
|
+
intent: z.ZodEnum<{
|
|
1062
|
+
fork: "fork";
|
|
1063
|
+
resume: "resume";
|
|
1064
|
+
}>;
|
|
1065
|
+
verdictKind: z.ZodLiteral<"foreign">;
|
|
1066
|
+
foreignMachineId: z.ZodString;
|
|
1067
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1068
|
+
adapterId: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
1070
|
+
}, z.core.$strip>], "verdictKind">;
|
|
1026
1071
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
1027
1072
|
sessionId: z.ZodString;
|
|
1028
1073
|
eventId: z.ZodString;
|
|
@@ -1077,8 +1122,8 @@ type AgentRole = z.infer<typeof AgentRoleSchema>;
|
|
|
1077
1122
|
declare const BranchKindSchema: z.ZodEnum<{
|
|
1078
1123
|
fork: "fork";
|
|
1079
1124
|
subagent: "subagent";
|
|
1080
|
-
compress: "compress";
|
|
1081
1125
|
branch: "branch";
|
|
1126
|
+
compress: "compress";
|
|
1082
1127
|
rewrite: "rewrite";
|
|
1083
1128
|
coordinator: "coordinator";
|
|
1084
1129
|
aside: "aside";
|
|
@@ -1174,8 +1219,8 @@ declare const SessionMessageRoleSchema: z.ZodEnum<{
|
|
|
1174
1219
|
type SessionMessageRole = z.infer<typeof SessionMessageRoleSchema>;
|
|
1175
1220
|
declare const SessionMessageOriginSchema: z.ZodEnum<{
|
|
1176
1221
|
text: "text";
|
|
1177
|
-
voice: "voice";
|
|
1178
1222
|
compact: "compact";
|
|
1223
|
+
voice: "voice";
|
|
1179
1224
|
}>;
|
|
1180
1225
|
type SessionMessageOrigin$1 = z.infer<typeof SessionMessageOriginSchema>;
|
|
1181
1226
|
/**
|
|
@@ -1266,8 +1311,8 @@ declare const SessionMessageSchema$1: z.ZodObject<{
|
|
|
1266
1311
|
editOf: z.ZodOptional<z.ZodString>;
|
|
1267
1312
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
1268
1313
|
text: "text";
|
|
1269
|
-
voice: "voice";
|
|
1270
1314
|
compact: "compact";
|
|
1315
|
+
voice: "voice";
|
|
1271
1316
|
}>>;
|
|
1272
1317
|
}, z.core.$strip>;
|
|
1273
1318
|
type SessionMessage$1 = z.infer<typeof SessionMessageSchema$1>;
|
|
@@ -1607,6 +1652,25 @@ declare const OrchestratorSchemas: {
|
|
|
1607
1652
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1608
1653
|
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
1609
1654
|
sessionId: z.ZodString;
|
|
1655
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
1656
|
+
fullName: z.ZodString;
|
|
1657
|
+
originalName: z.ZodString;
|
|
1658
|
+
serverName: z.ZodString;
|
|
1659
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1660
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1661
|
+
exposureMode: z.ZodEnum<{
|
|
1662
|
+
hidden: "hidden";
|
|
1663
|
+
discovery: "discovery";
|
|
1664
|
+
direct: "direct";
|
|
1665
|
+
}>;
|
|
1666
|
+
enabled: z.ZodBoolean;
|
|
1667
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
1668
|
+
discovery: "discovery";
|
|
1669
|
+
toolset: "toolset";
|
|
1670
|
+
}>>;
|
|
1671
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
1672
|
+
exposed: z.ZodBoolean;
|
|
1673
|
+
}, z.core.$strip>>;
|
|
1610
1674
|
servers: z.ZodArray<z.ZodObject<{
|
|
1611
1675
|
name: z.ZodString;
|
|
1612
1676
|
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1643,28 +1707,9 @@ declare const OrchestratorSchemas: {
|
|
|
1643
1707
|
type: z.ZodLiteral<"http">;
|
|
1644
1708
|
}, z.core.$strip>], "type">;
|
|
1645
1709
|
exposureMode: z.ZodEnum<{
|
|
1646
|
-
direct: "direct";
|
|
1647
1710
|
discovery: "discovery";
|
|
1648
|
-
}>;
|
|
1649
|
-
}, z.core.$strip>>;
|
|
1650
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
1651
|
-
fullName: z.ZodString;
|
|
1652
|
-
originalName: z.ZodString;
|
|
1653
|
-
serverName: z.ZodString;
|
|
1654
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1655
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1656
|
-
exposureMode: z.ZodEnum<{
|
|
1657
1711
|
direct: "direct";
|
|
1658
|
-
discovery: "discovery";
|
|
1659
|
-
hidden: "hidden";
|
|
1660
1712
|
}>;
|
|
1661
|
-
enabled: z.ZodBoolean;
|
|
1662
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
1663
|
-
discovery: "discovery";
|
|
1664
|
-
toolset: "toolset";
|
|
1665
|
-
}>>;
|
|
1666
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
1667
|
-
exposed: z.ZodBoolean;
|
|
1668
1713
|
}, z.core.$strip>>;
|
|
1669
1714
|
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
1670
1715
|
fullName: z.ZodString;
|
|
@@ -1673,9 +1718,9 @@ declare const OrchestratorSchemas: {
|
|
|
1673
1718
|
description: z.ZodOptional<z.ZodString>;
|
|
1674
1719
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1675
1720
|
exposureMode: z.ZodEnum<{
|
|
1676
|
-
direct: "direct";
|
|
1677
|
-
discovery: "discovery";
|
|
1678
1721
|
hidden: "hidden";
|
|
1722
|
+
discovery: "discovery";
|
|
1723
|
+
direct: "direct";
|
|
1679
1724
|
}>;
|
|
1680
1725
|
enabled: z.ZodBoolean;
|
|
1681
1726
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1710,6 +1755,25 @@ declare const OrchestratorSchemas: {
|
|
|
1710
1755
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1711
1756
|
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
1712
1757
|
sessionId: z.ZodString;
|
|
1758
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
1759
|
+
fullName: z.ZodString;
|
|
1760
|
+
originalName: z.ZodString;
|
|
1761
|
+
serverName: z.ZodString;
|
|
1762
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1763
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1764
|
+
exposureMode: z.ZodEnum<{
|
|
1765
|
+
hidden: "hidden";
|
|
1766
|
+
discovery: "discovery";
|
|
1767
|
+
direct: "direct";
|
|
1768
|
+
}>;
|
|
1769
|
+
enabled: z.ZodBoolean;
|
|
1770
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
1771
|
+
discovery: "discovery";
|
|
1772
|
+
toolset: "toolset";
|
|
1773
|
+
}>>;
|
|
1774
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
1775
|
+
exposed: z.ZodBoolean;
|
|
1776
|
+
}, z.core.$strip>>;
|
|
1713
1777
|
servers: z.ZodArray<z.ZodObject<{
|
|
1714
1778
|
name: z.ZodString;
|
|
1715
1779
|
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1746,28 +1810,9 @@ declare const OrchestratorSchemas: {
|
|
|
1746
1810
|
type: z.ZodLiteral<"http">;
|
|
1747
1811
|
}, z.core.$strip>], "type">;
|
|
1748
1812
|
exposureMode: z.ZodEnum<{
|
|
1749
|
-
direct: "direct";
|
|
1750
1813
|
discovery: "discovery";
|
|
1751
|
-
}>;
|
|
1752
|
-
}, z.core.$strip>>;
|
|
1753
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
1754
|
-
fullName: z.ZodString;
|
|
1755
|
-
originalName: z.ZodString;
|
|
1756
|
-
serverName: z.ZodString;
|
|
1757
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1758
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1759
|
-
exposureMode: z.ZodEnum<{
|
|
1760
1814
|
direct: "direct";
|
|
1761
|
-
discovery: "discovery";
|
|
1762
|
-
hidden: "hidden";
|
|
1763
1815
|
}>;
|
|
1764
|
-
enabled: z.ZodBoolean;
|
|
1765
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
1766
|
-
discovery: "discovery";
|
|
1767
|
-
toolset: "toolset";
|
|
1768
|
-
}>>;
|
|
1769
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
1770
|
-
exposed: z.ZodBoolean;
|
|
1771
1816
|
}, z.core.$strip>>;
|
|
1772
1817
|
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
1773
1818
|
fullName: z.ZodString;
|
|
@@ -1776,9 +1821,9 @@ declare const OrchestratorSchemas: {
|
|
|
1776
1821
|
description: z.ZodOptional<z.ZodString>;
|
|
1777
1822
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1778
1823
|
exposureMode: z.ZodEnum<{
|
|
1779
|
-
direct: "direct";
|
|
1780
|
-
discovery: "discovery";
|
|
1781
1824
|
hidden: "hidden";
|
|
1825
|
+
discovery: "discovery";
|
|
1826
|
+
direct: "direct";
|
|
1782
1827
|
}>;
|
|
1783
1828
|
enabled: z.ZodBoolean;
|
|
1784
1829
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1813,6 +1858,25 @@ declare const OrchestratorSchemas: {
|
|
|
1813
1858
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1814
1859
|
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
1815
1860
|
sessionId: z.ZodString;
|
|
1861
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
1862
|
+
fullName: z.ZodString;
|
|
1863
|
+
originalName: z.ZodString;
|
|
1864
|
+
serverName: z.ZodString;
|
|
1865
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1866
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1867
|
+
exposureMode: z.ZodEnum<{
|
|
1868
|
+
hidden: "hidden";
|
|
1869
|
+
discovery: "discovery";
|
|
1870
|
+
direct: "direct";
|
|
1871
|
+
}>;
|
|
1872
|
+
enabled: z.ZodBoolean;
|
|
1873
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
1874
|
+
discovery: "discovery";
|
|
1875
|
+
toolset: "toolset";
|
|
1876
|
+
}>>;
|
|
1877
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
1878
|
+
exposed: z.ZodBoolean;
|
|
1879
|
+
}, z.core.$strip>>;
|
|
1816
1880
|
servers: z.ZodArray<z.ZodObject<{
|
|
1817
1881
|
name: z.ZodString;
|
|
1818
1882
|
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1849,28 +1913,9 @@ declare const OrchestratorSchemas: {
|
|
|
1849
1913
|
type: z.ZodLiteral<"http">;
|
|
1850
1914
|
}, z.core.$strip>], "type">;
|
|
1851
1915
|
exposureMode: z.ZodEnum<{
|
|
1852
|
-
direct: "direct";
|
|
1853
1916
|
discovery: "discovery";
|
|
1854
|
-
}>;
|
|
1855
|
-
}, z.core.$strip>>;
|
|
1856
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
1857
|
-
fullName: z.ZodString;
|
|
1858
|
-
originalName: z.ZodString;
|
|
1859
|
-
serverName: z.ZodString;
|
|
1860
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1861
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1862
|
-
exposureMode: z.ZodEnum<{
|
|
1863
1917
|
direct: "direct";
|
|
1864
|
-
discovery: "discovery";
|
|
1865
|
-
hidden: "hidden";
|
|
1866
1918
|
}>;
|
|
1867
|
-
enabled: z.ZodBoolean;
|
|
1868
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
1869
|
-
discovery: "discovery";
|
|
1870
|
-
toolset: "toolset";
|
|
1871
|
-
}>>;
|
|
1872
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
1873
|
-
exposed: z.ZodBoolean;
|
|
1874
1919
|
}, z.core.$strip>>;
|
|
1875
1920
|
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
1876
1921
|
fullName: z.ZodString;
|
|
@@ -1879,9 +1924,9 @@ declare const OrchestratorSchemas: {
|
|
|
1879
1924
|
description: z.ZodOptional<z.ZodString>;
|
|
1880
1925
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1881
1926
|
exposureMode: z.ZodEnum<{
|
|
1882
|
-
direct: "direct";
|
|
1883
|
-
discovery: "discovery";
|
|
1884
1927
|
hidden: "hidden";
|
|
1928
|
+
discovery: "discovery";
|
|
1929
|
+
direct: "direct";
|
|
1885
1930
|
}>;
|
|
1886
1931
|
enabled: z.ZodBoolean;
|
|
1887
1932
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2035,6 +2080,36 @@ declare const OrchestratorSchemas: {
|
|
|
2035
2080
|
fullPrefix: "fullPrefix";
|
|
2036
2081
|
}>>;
|
|
2037
2082
|
turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
2083
|
+
nativeLocality: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2084
|
+
kind: z.ZodLiteral<"native">;
|
|
2085
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2086
|
+
kind: z.ZodLiteral<"degrade">;
|
|
2087
|
+
reason: z.ZodEnum<{
|
|
2088
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
2089
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
2090
|
+
"no-adapter-session": "no-adapter-session";
|
|
2091
|
+
"missing-machine-id": "missing-machine-id";
|
|
2092
|
+
"machine-mismatch": "machine-mismatch";
|
|
2093
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
2094
|
+
"transforms-present": "transforms-present";
|
|
2095
|
+
"compression-present": "compression-present";
|
|
2096
|
+
"connector-swap": "connector-swap";
|
|
2097
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
2098
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
2099
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
2100
|
+
"agent-already-started": "agent-already-started";
|
|
2101
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
2102
|
+
}>;
|
|
2103
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2104
|
+
kind: z.ZodLiteral<"foreign">;
|
|
2105
|
+
machineId: z.ZodString;
|
|
2106
|
+
}, z.core.$strip>], "kind">>;
|
|
2107
|
+
nativeFork: z.ZodOptional<z.ZodObject<{
|
|
2108
|
+
sourceSessionId: z.ZodString;
|
|
2109
|
+
sourceAdapterSessionId: z.ZodString;
|
|
2110
|
+
forkPointMessageId: z.ZodOptional<z.ZodString>;
|
|
2111
|
+
targetWorkingDirectory: z.ZodOptional<z.ZodString>;
|
|
2112
|
+
}, z.core.$strip>>;
|
|
2038
2113
|
}, z.core.$strip>>;
|
|
2039
2114
|
responseSchema: z.ZodOptional<z.ZodObject<{
|
|
2040
2115
|
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
@@ -2051,8 +2126,8 @@ declare const OrchestratorSchemas: {
|
|
|
2051
2126
|
skipConnectorSwapWarning: z.ZodOptional<z.ZodBoolean>;
|
|
2052
2127
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2053
2128
|
text: "text";
|
|
2054
|
-
voice: "voice";
|
|
2055
2129
|
compact: "compact";
|
|
2130
|
+
voice: "voice";
|
|
2056
2131
|
}>>;
|
|
2057
2132
|
}, z.core.$strip>;
|
|
2058
2133
|
response: z.ZodObject<{
|
|
@@ -2118,6 +2193,25 @@ declare const OrchestratorSchemas: {
|
|
|
2118
2193
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2119
2194
|
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
2120
2195
|
sessionId: z.ZodString;
|
|
2196
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
2197
|
+
fullName: z.ZodString;
|
|
2198
|
+
originalName: z.ZodString;
|
|
2199
|
+
serverName: z.ZodString;
|
|
2200
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2201
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2202
|
+
exposureMode: z.ZodEnum<{
|
|
2203
|
+
hidden: "hidden";
|
|
2204
|
+
discovery: "discovery";
|
|
2205
|
+
direct: "direct";
|
|
2206
|
+
}>;
|
|
2207
|
+
enabled: z.ZodBoolean;
|
|
2208
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
2209
|
+
discovery: "discovery";
|
|
2210
|
+
toolset: "toolset";
|
|
2211
|
+
}>>;
|
|
2212
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
2213
|
+
exposed: z.ZodBoolean;
|
|
2214
|
+
}, z.core.$strip>>;
|
|
2121
2215
|
servers: z.ZodArray<z.ZodObject<{
|
|
2122
2216
|
name: z.ZodString;
|
|
2123
2217
|
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2154,28 +2248,9 @@ declare const OrchestratorSchemas: {
|
|
|
2154
2248
|
type: z.ZodLiteral<"http">;
|
|
2155
2249
|
}, z.core.$strip>], "type">;
|
|
2156
2250
|
exposureMode: z.ZodEnum<{
|
|
2157
|
-
direct: "direct";
|
|
2158
2251
|
discovery: "discovery";
|
|
2159
|
-
}>;
|
|
2160
|
-
}, z.core.$strip>>;
|
|
2161
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
2162
|
-
fullName: z.ZodString;
|
|
2163
|
-
originalName: z.ZodString;
|
|
2164
|
-
serverName: z.ZodString;
|
|
2165
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2166
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2167
|
-
exposureMode: z.ZodEnum<{
|
|
2168
2252
|
direct: "direct";
|
|
2169
|
-
discovery: "discovery";
|
|
2170
|
-
hidden: "hidden";
|
|
2171
2253
|
}>;
|
|
2172
|
-
enabled: z.ZodBoolean;
|
|
2173
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
2174
|
-
discovery: "discovery";
|
|
2175
|
-
toolset: "toolset";
|
|
2176
|
-
}>>;
|
|
2177
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
2178
|
-
exposed: z.ZodBoolean;
|
|
2179
2254
|
}, z.core.$strip>>;
|
|
2180
2255
|
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
2181
2256
|
fullName: z.ZodString;
|
|
@@ -2184,9 +2259,9 @@ declare const OrchestratorSchemas: {
|
|
|
2184
2259
|
description: z.ZodOptional<z.ZodString>;
|
|
2185
2260
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2186
2261
|
exposureMode: z.ZodEnum<{
|
|
2187
|
-
direct: "direct";
|
|
2188
|
-
discovery: "discovery";
|
|
2189
2262
|
hidden: "hidden";
|
|
2263
|
+
discovery: "discovery";
|
|
2264
|
+
direct: "direct";
|
|
2190
2265
|
}>;
|
|
2191
2266
|
enabled: z.ZodBoolean;
|
|
2192
2267
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2329,7 +2404,7 @@ declare const OrchestratorSchemas: {
|
|
|
2329
2404
|
}, z.core.$strip>;
|
|
2330
2405
|
response: z.ZodObject<{
|
|
2331
2406
|
agentId: z.ZodString;
|
|
2332
|
-
adapterSessionId: z.ZodString
|
|
2407
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
2333
2408
|
role: z.ZodEnum<{
|
|
2334
2409
|
lead: "lead";
|
|
2335
2410
|
member: "member";
|
|
@@ -2369,6 +2444,25 @@ declare const OrchestratorSchemas: {
|
|
|
2369
2444
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2370
2445
|
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
2371
2446
|
sessionId: z.ZodString;
|
|
2447
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
2448
|
+
fullName: z.ZodString;
|
|
2449
|
+
originalName: z.ZodString;
|
|
2450
|
+
serverName: z.ZodString;
|
|
2451
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2452
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2453
|
+
exposureMode: z.ZodEnum<{
|
|
2454
|
+
hidden: "hidden";
|
|
2455
|
+
discovery: "discovery";
|
|
2456
|
+
direct: "direct";
|
|
2457
|
+
}>;
|
|
2458
|
+
enabled: z.ZodBoolean;
|
|
2459
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
2460
|
+
discovery: "discovery";
|
|
2461
|
+
toolset: "toolset";
|
|
2462
|
+
}>>;
|
|
2463
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
2464
|
+
exposed: z.ZodBoolean;
|
|
2465
|
+
}, z.core.$strip>>;
|
|
2372
2466
|
servers: z.ZodArray<z.ZodObject<{
|
|
2373
2467
|
name: z.ZodString;
|
|
2374
2468
|
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2405,28 +2499,9 @@ declare const OrchestratorSchemas: {
|
|
|
2405
2499
|
type: z.ZodLiteral<"http">;
|
|
2406
2500
|
}, z.core.$strip>], "type">;
|
|
2407
2501
|
exposureMode: z.ZodEnum<{
|
|
2408
|
-
direct: "direct";
|
|
2409
2502
|
discovery: "discovery";
|
|
2410
|
-
}>;
|
|
2411
|
-
}, z.core.$strip>>;
|
|
2412
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
2413
|
-
fullName: z.ZodString;
|
|
2414
|
-
originalName: z.ZodString;
|
|
2415
|
-
serverName: z.ZodString;
|
|
2416
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2417
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2418
|
-
exposureMode: z.ZodEnum<{
|
|
2419
2503
|
direct: "direct";
|
|
2420
|
-
discovery: "discovery";
|
|
2421
|
-
hidden: "hidden";
|
|
2422
2504
|
}>;
|
|
2423
|
-
enabled: z.ZodBoolean;
|
|
2424
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
2425
|
-
discovery: "discovery";
|
|
2426
|
-
toolset: "toolset";
|
|
2427
|
-
}>>;
|
|
2428
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
2429
|
-
exposed: z.ZodBoolean;
|
|
2430
2505
|
}, z.core.$strip>>;
|
|
2431
2506
|
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
2432
2507
|
fullName: z.ZodString;
|
|
@@ -2435,9 +2510,9 @@ declare const OrchestratorSchemas: {
|
|
|
2435
2510
|
description: z.ZodOptional<z.ZodString>;
|
|
2436
2511
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2437
2512
|
exposureMode: z.ZodEnum<{
|
|
2438
|
-
direct: "direct";
|
|
2439
|
-
discovery: "discovery";
|
|
2440
2513
|
hidden: "hidden";
|
|
2514
|
+
discovery: "discovery";
|
|
2515
|
+
direct: "direct";
|
|
2441
2516
|
}>;
|
|
2442
2517
|
enabled: z.ZodBoolean;
|
|
2443
2518
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2595,7 +2670,7 @@ declare const OrchestratorSchemas: {
|
|
|
2595
2670
|
}, z.core.$strip>;
|
|
2596
2671
|
response: z.ZodObject<{
|
|
2597
2672
|
agentId: z.ZodString;
|
|
2598
|
-
adapterSessionId: z.ZodString
|
|
2673
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
2599
2674
|
role: z.ZodEnum<{
|
|
2600
2675
|
lead: "lead";
|
|
2601
2676
|
member: "member";
|
|
@@ -2869,8 +2944,8 @@ declare const OrchestratorSchemas: {
|
|
|
2869
2944
|
}>>;
|
|
2870
2945
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
2871
2946
|
text: "text";
|
|
2872
|
-
voice: "voice";
|
|
2873
2947
|
compact: "compact";
|
|
2948
|
+
voice: "voice";
|
|
2874
2949
|
}>>;
|
|
2875
2950
|
}, z.core.$strip>;
|
|
2876
2951
|
/**
|
|
@@ -2982,6 +3057,79 @@ type SendMessageResponse = z.infer<typeof OrchestratorSchemas.sendMessage.respon
|
|
|
2982
3057
|
type TurnStarted = z.infer<(typeof OrchestratorSchemas)['turn.started']>;
|
|
2983
3058
|
type TurnCompleted = z.infer<(typeof OrchestratorSchemas)['turn.completed']>;
|
|
2984
3059
|
//#endregion
|
|
3060
|
+
//#region core/contracts/src/session/native-locality.d.ts
|
|
3061
|
+
/**
|
|
3062
|
+
* Closed set of reasons a session cannot be resumed or forked natively
|
|
3063
|
+
* on the current machine.
|
|
3064
|
+
*/
|
|
3065
|
+
declare const NativeLocalityReasonSchema: z.ZodEnum<{
|
|
3066
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
3067
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
3068
|
+
"no-adapter-session": "no-adapter-session";
|
|
3069
|
+
"missing-machine-id": "missing-machine-id";
|
|
3070
|
+
"machine-mismatch": "machine-mismatch";
|
|
3071
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
3072
|
+
"transforms-present": "transforms-present";
|
|
3073
|
+
"compression-present": "compression-present";
|
|
3074
|
+
"connector-swap": "connector-swap";
|
|
3075
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
3076
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
3077
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
3078
|
+
"agent-already-started": "agent-already-started";
|
|
3079
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
3080
|
+
}>;
|
|
3081
|
+
type NativeLocalityReason = z.infer<typeof NativeLocalityReasonSchema>;
|
|
3082
|
+
/**
|
|
3083
|
+
* Verdict produced by the locality evaluator for a given session.
|
|
3084
|
+
*
|
|
3085
|
+
* - `native`: The session is owned by this machine and can be resumed or
|
|
3086
|
+
* forked natively without any history injection.
|
|
3087
|
+
* - `degrade`: The session is local but a structural constraint (e.g. active
|
|
3088
|
+
* transforms, compression, connector swap) prevents native operation.
|
|
3089
|
+
* The adapter must fall back to fresh mode.
|
|
3090
|
+
* - `foreign`: The session's provider-native store lives on another machine.
|
|
3091
|
+
* Native operation is not possible without cross-machine coordination.
|
|
3092
|
+
*/
|
|
3093
|
+
declare const NativeLocalityVerdictSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3094
|
+
kind: z.ZodLiteral<"native">;
|
|
3095
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3096
|
+
kind: z.ZodLiteral<"degrade">;
|
|
3097
|
+
reason: z.ZodEnum<{
|
|
3098
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
3099
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
3100
|
+
"no-adapter-session": "no-adapter-session";
|
|
3101
|
+
"missing-machine-id": "missing-machine-id";
|
|
3102
|
+
"machine-mismatch": "machine-mismatch";
|
|
3103
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
3104
|
+
"transforms-present": "transforms-present";
|
|
3105
|
+
"compression-present": "compression-present";
|
|
3106
|
+
"connector-swap": "connector-swap";
|
|
3107
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
3108
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
3109
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
3110
|
+
"agent-already-started": "agent-already-started";
|
|
3111
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
3112
|
+
}>;
|
|
3113
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3114
|
+
kind: z.ZodLiteral<"foreign">;
|
|
3115
|
+
machineId: z.ZodString;
|
|
3116
|
+
}, z.core.$strip>], "kind">;
|
|
3117
|
+
type NativeLocalityVerdict$1 = z.infer<typeof NativeLocalityVerdictSchema>;
|
|
3118
|
+
/**
|
|
3119
|
+
* Directive passed from the session orchestrator to the adapter when a
|
|
3120
|
+
* provider-native fork is requested.
|
|
3121
|
+
*
|
|
3122
|
+
* The adapter uses these fields to invoke the provider's branching API
|
|
3123
|
+
* rather than replaying history into a fresh session.
|
|
3124
|
+
*/
|
|
3125
|
+
declare const NativeForkDirectiveSchema: z.ZodObject<{
|
|
3126
|
+
sourceSessionId: z.ZodString;
|
|
3127
|
+
sourceAdapterSessionId: z.ZodString;
|
|
3128
|
+
forkPointMessageId: z.ZodOptional<z.ZodString>;
|
|
3129
|
+
targetWorkingDirectory: z.ZodOptional<z.ZodString>;
|
|
3130
|
+
}, z.core.$strip>;
|
|
3131
|
+
type NativeForkDirective$1 = z.infer<typeof NativeForkDirectiveSchema>;
|
|
3132
|
+
//#endregion
|
|
2985
3133
|
//#region core/contracts/src/session/schemas/event.d.ts
|
|
2986
3134
|
/**
|
|
2987
3135
|
* Common envelope fields present on every persisted session event.
|
|
@@ -2993,7 +3141,7 @@ declare const SessionEventEnvelopeSchema: z.ZodObject<{
|
|
|
2993
3141
|
eventId: z.ZodString;
|
|
2994
3142
|
timestamp: z.ZodNumber;
|
|
2995
3143
|
}, z.core.$strip>;
|
|
2996
|
-
declare const SESSION_EVENT_TYPES: readonly ["message", "agent.added", "turn.started", "turn.completed", "user_message.sent", "user_message.acknowledged", "user_message.completed", "branch.created", "branch.merged", "squash"];
|
|
3144
|
+
declare const SESSION_EVENT_TYPES: readonly ["message", "agent.added", "turn.started", "turn.completed", "user_message.sent", "user_message.acknowledged", "user_message.completed", "branch.created", "branch.merged", "squash", "locality.degraded"];
|
|
2997
3145
|
/**
|
|
2998
3146
|
* Session event schema for storage and observability.
|
|
2999
3147
|
*
|
|
@@ -3008,7 +3156,7 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
|
|
|
3008
3156
|
type: z.ZodLiteral<"agent.added">;
|
|
3009
3157
|
payload: z.ZodObject<{
|
|
3010
3158
|
sessionId: z.ZodString;
|
|
3011
|
-
adapterSessionId: z.ZodString
|
|
3159
|
+
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
3012
3160
|
agentId: z.ZodString;
|
|
3013
3161
|
adapterId: z.ZodString;
|
|
3014
3162
|
adapterName: z.ZodString;
|
|
@@ -3159,8 +3307,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
|
|
|
3159
3307
|
}>>;
|
|
3160
3308
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
3161
3309
|
text: "text";
|
|
3162
|
-
voice: "voice";
|
|
3163
3310
|
compact: "compact";
|
|
3311
|
+
voice: "voice";
|
|
3164
3312
|
}>>;
|
|
3165
3313
|
}, z.core.$strip>;
|
|
3166
3314
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3282,8 +3430,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
|
|
|
3282
3430
|
kind: z.ZodEnum<{
|
|
3283
3431
|
fork: "fork";
|
|
3284
3432
|
subagent: "subagent";
|
|
3285
|
-
compress: "compress";
|
|
3286
3433
|
branch: "branch";
|
|
3434
|
+
compress: "compress";
|
|
3287
3435
|
rewrite: "rewrite";
|
|
3288
3436
|
coordinator: "coordinator";
|
|
3289
3437
|
aside: "aside";
|
|
@@ -3312,6 +3460,47 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
|
|
|
3312
3460
|
tokensAfter: z.ZodOptional<z.ZodNumber>;
|
|
3313
3461
|
compressedMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3314
3462
|
}, z.core.$strip>;
|
|
3463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3464
|
+
sessionId: z.ZodString;
|
|
3465
|
+
eventId: z.ZodString;
|
|
3466
|
+
timestamp: z.ZodNumber;
|
|
3467
|
+
type: z.ZodLiteral<"locality.degraded">;
|
|
3468
|
+
payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3469
|
+
intent: z.ZodEnum<{
|
|
3470
|
+
fork: "fork";
|
|
3471
|
+
resume: "resume";
|
|
3472
|
+
}>;
|
|
3473
|
+
verdictKind: z.ZodLiteral<"degrade">;
|
|
3474
|
+
reason: z.ZodEnum<{
|
|
3475
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
3476
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
3477
|
+
"no-adapter-session": "no-adapter-session";
|
|
3478
|
+
"missing-machine-id": "missing-machine-id";
|
|
3479
|
+
"machine-mismatch": "machine-mismatch";
|
|
3480
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
3481
|
+
"transforms-present": "transforms-present";
|
|
3482
|
+
"compression-present": "compression-present";
|
|
3483
|
+
"connector-swap": "connector-swap";
|
|
3484
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
3485
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
3486
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
3487
|
+
"agent-already-started": "agent-already-started";
|
|
3488
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
3489
|
+
}>;
|
|
3490
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
3491
|
+
adapterId: z.ZodOptional<z.ZodString>;
|
|
3492
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
3493
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3494
|
+
intent: z.ZodEnum<{
|
|
3495
|
+
fork: "fork";
|
|
3496
|
+
resume: "resume";
|
|
3497
|
+
}>;
|
|
3498
|
+
verdictKind: z.ZodLiteral<"foreign">;
|
|
3499
|
+
foreignMachineId: z.ZodString;
|
|
3500
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
3501
|
+
adapterId: z.ZodOptional<z.ZodString>;
|
|
3502
|
+
turnId: z.ZodOptional<z.ZodString>;
|
|
3503
|
+
}, z.core.$strip>], "verdictKind">;
|
|
3315
3504
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
3316
3505
|
sessionId: z.ZodString;
|
|
3317
3506
|
eventId: z.ZodString;
|
|
@@ -3362,8 +3551,8 @@ interface SessionEventTypeMap {
|
|
|
3362
3551
|
* Agent added to session (correlation link).
|
|
3363
3552
|
*/
|
|
3364
3553
|
'agent.added': {
|
|
3365
|
-
sessionId: string;
|
|
3366
|
-
adapterSessionId
|
|
3554
|
+
sessionId: string; /** adapter's sessionId (generated by SDK / API); `undefined` for unconfirmed idle fork starts */
|
|
3555
|
+
adapterSessionId?: string;
|
|
3367
3556
|
agentId: string;
|
|
3368
3557
|
adapterId: string;
|
|
3369
3558
|
adapterName: string;
|
|
@@ -3435,6 +3624,28 @@ interface SessionEventTypeMap {
|
|
|
3435
3624
|
tokensAfter?: number;
|
|
3436
3625
|
compressedMessageIds?: string[];
|
|
3437
3626
|
};
|
|
3627
|
+
/**
|
|
3628
|
+
* Native locality degradation event.
|
|
3629
|
+
*
|
|
3630
|
+
* Discriminated union on `verdictKind`: `degrade` carries `reason`,
|
|
3631
|
+
* `foreign` carries `foreignMachineId`. This makes illegal cross-field
|
|
3632
|
+
* combinations unrepresentable at compile time.
|
|
3633
|
+
*/
|
|
3634
|
+
'locality.degraded': {
|
|
3635
|
+
/** Whether the degradation occurred during a resume (attach) or fork. */intent: 'resume' | 'fork'; /** Structural constraint preventing native operation. */
|
|
3636
|
+
verdictKind: 'degrade'; /** Why native operation was degraded. */
|
|
3637
|
+
reason: z.infer<typeof NativeLocalityReasonSchema>; /** Agent ID involved, when cheaply available. */
|
|
3638
|
+
agentId?: string; /** Adapter instance ID, when cheaply available. */
|
|
3639
|
+
adapterId?: string; /** Turn ID when available (attach-time degrades have no turn yet). */
|
|
3640
|
+
turnId?: string;
|
|
3641
|
+
} | {
|
|
3642
|
+
/** Whether the degradation occurred during a resume (attach) or fork. */intent: 'resume' | 'fork'; /** Session's provider-native store lives on another machine. */
|
|
3643
|
+
verdictKind: 'foreign'; /** Machine ID that owns the provider-native session store. */
|
|
3644
|
+
foreignMachineId: string; /** Agent ID involved, when cheaply available. */
|
|
3645
|
+
agentId?: string; /** Adapter instance ID, when cheaply available. */
|
|
3646
|
+
adapterId?: string; /** Turn ID when available (attach-time degrades have no turn yet). */
|
|
3647
|
+
turnId?: string;
|
|
3648
|
+
};
|
|
3438
3649
|
/**
|
|
3439
3650
|
* Emitted on the parent session when a Claude Code compaction boundary is
|
|
3440
3651
|
* imported. Uses the plugin event path — not a core event type.
|
|
@@ -3476,8 +3687,8 @@ declare const ForkChildInfoSchema: z.ZodObject<{
|
|
|
3476
3687
|
branchKind: z.ZodNullable<z.ZodEnum<{
|
|
3477
3688
|
fork: "fork";
|
|
3478
3689
|
subagent: "subagent";
|
|
3479
|
-
compress: "compress";
|
|
3480
3690
|
branch: "branch";
|
|
3691
|
+
compress: "compress";
|
|
3481
3692
|
rewrite: "rewrite";
|
|
3482
3693
|
coordinator: "coordinator";
|
|
3483
3694
|
aside: "aside";
|
|
@@ -3550,8 +3761,8 @@ declare const SessionCreatedEventSchema: z.ZodObject<{
|
|
|
3550
3761
|
branchKind: z.ZodNullable<z.ZodEnum<{
|
|
3551
3762
|
fork: "fork";
|
|
3552
3763
|
subagent: "subagent";
|
|
3553
|
-
compress: "compress";
|
|
3554
3764
|
branch: "branch";
|
|
3765
|
+
compress: "compress";
|
|
3555
3766
|
rewrite: "rewrite";
|
|
3556
3767
|
coordinator: "coordinator";
|
|
3557
3768
|
aside: "aside";
|
|
@@ -3629,6 +3840,25 @@ declare const SessionSchemas: {
|
|
|
3629
3840
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3630
3841
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3631
3842
|
sessionId: _$zod.ZodString;
|
|
3843
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3844
|
+
fullName: _$zod.ZodString;
|
|
3845
|
+
originalName: _$zod.ZodString;
|
|
3846
|
+
serverName: _$zod.ZodString;
|
|
3847
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3848
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
3849
|
+
exposureMode: _$zod.ZodEnum<{
|
|
3850
|
+
hidden: "hidden";
|
|
3851
|
+
discovery: "discovery";
|
|
3852
|
+
direct: "direct";
|
|
3853
|
+
}>;
|
|
3854
|
+
enabled: _$zod.ZodBoolean;
|
|
3855
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3856
|
+
discovery: "discovery";
|
|
3857
|
+
toolset: "toolset";
|
|
3858
|
+
}>>;
|
|
3859
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
3860
|
+
exposed: _$zod.ZodBoolean;
|
|
3861
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3632
3862
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3633
3863
|
name: _$zod.ZodString;
|
|
3634
3864
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -3665,28 +3895,9 @@ declare const SessionSchemas: {
|
|
|
3665
3895
|
type: _$zod.ZodLiteral<"http">;
|
|
3666
3896
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
3667
3897
|
exposureMode: _$zod.ZodEnum<{
|
|
3668
|
-
direct: "direct";
|
|
3669
3898
|
discovery: "discovery";
|
|
3670
|
-
}>;
|
|
3671
|
-
}, _$zod_v4_core0.$strip>>;
|
|
3672
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3673
|
-
fullName: _$zod.ZodString;
|
|
3674
|
-
originalName: _$zod.ZodString;
|
|
3675
|
-
serverName: _$zod.ZodString;
|
|
3676
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3677
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
3678
|
-
exposureMode: _$zod.ZodEnum<{
|
|
3679
3899
|
direct: "direct";
|
|
3680
|
-
discovery: "discovery";
|
|
3681
|
-
hidden: "hidden";
|
|
3682
3900
|
}>;
|
|
3683
|
-
enabled: _$zod.ZodBoolean;
|
|
3684
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3685
|
-
discovery: "discovery";
|
|
3686
|
-
toolset: "toolset";
|
|
3687
|
-
}>>;
|
|
3688
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
3689
|
-
exposed: _$zod.ZodBoolean;
|
|
3690
3901
|
}, _$zod_v4_core0.$strip>>;
|
|
3691
3902
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3692
3903
|
fullName: _$zod.ZodString;
|
|
@@ -3695,9 +3906,9 @@ declare const SessionSchemas: {
|
|
|
3695
3906
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3696
3907
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
3697
3908
|
exposureMode: _$zod.ZodEnum<{
|
|
3698
|
-
direct: "direct";
|
|
3699
|
-
discovery: "discovery";
|
|
3700
3909
|
hidden: "hidden";
|
|
3910
|
+
discovery: "discovery";
|
|
3911
|
+
direct: "direct";
|
|
3701
3912
|
}>;
|
|
3702
3913
|
enabled: _$zod.ZodBoolean;
|
|
3703
3914
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -3885,6 +4096,25 @@ declare const SessionSchemas: {
|
|
|
3885
4096
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3886
4097
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3887
4098
|
sessionId: _$zod.ZodString;
|
|
4099
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4100
|
+
fullName: _$zod.ZodString;
|
|
4101
|
+
originalName: _$zod.ZodString;
|
|
4102
|
+
serverName: _$zod.ZodString;
|
|
4103
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4104
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4105
|
+
exposureMode: _$zod.ZodEnum<{
|
|
4106
|
+
hidden: "hidden";
|
|
4107
|
+
discovery: "discovery";
|
|
4108
|
+
direct: "direct";
|
|
4109
|
+
}>;
|
|
4110
|
+
enabled: _$zod.ZodBoolean;
|
|
4111
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4112
|
+
discovery: "discovery";
|
|
4113
|
+
toolset: "toolset";
|
|
4114
|
+
}>>;
|
|
4115
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4116
|
+
exposed: _$zod.ZodBoolean;
|
|
4117
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3888
4118
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3889
4119
|
name: _$zod.ZodString;
|
|
3890
4120
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -3921,28 +4151,9 @@ declare const SessionSchemas: {
|
|
|
3921
4151
|
type: _$zod.ZodLiteral<"http">;
|
|
3922
4152
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
3923
4153
|
exposureMode: _$zod.ZodEnum<{
|
|
3924
|
-
direct: "direct";
|
|
3925
4154
|
discovery: "discovery";
|
|
3926
|
-
}>;
|
|
3927
|
-
}, _$zod_v4_core0.$strip>>;
|
|
3928
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3929
|
-
fullName: _$zod.ZodString;
|
|
3930
|
-
originalName: _$zod.ZodString;
|
|
3931
|
-
serverName: _$zod.ZodString;
|
|
3932
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3933
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
3934
|
-
exposureMode: _$zod.ZodEnum<{
|
|
3935
4155
|
direct: "direct";
|
|
3936
|
-
discovery: "discovery";
|
|
3937
|
-
hidden: "hidden";
|
|
3938
4156
|
}>;
|
|
3939
|
-
enabled: _$zod.ZodBoolean;
|
|
3940
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3941
|
-
discovery: "discovery";
|
|
3942
|
-
toolset: "toolset";
|
|
3943
|
-
}>>;
|
|
3944
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
3945
|
-
exposed: _$zod.ZodBoolean;
|
|
3946
4157
|
}, _$zod_v4_core0.$strip>>;
|
|
3947
4158
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3948
4159
|
fullName: _$zod.ZodString;
|
|
@@ -3951,9 +4162,9 @@ declare const SessionSchemas: {
|
|
|
3951
4162
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3952
4163
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
3953
4164
|
exposureMode: _$zod.ZodEnum<{
|
|
3954
|
-
direct: "direct";
|
|
3955
|
-
discovery: "discovery";
|
|
3956
4165
|
hidden: "hidden";
|
|
4166
|
+
discovery: "discovery";
|
|
4167
|
+
direct: "direct";
|
|
3957
4168
|
}>;
|
|
3958
4169
|
enabled: _$zod.ZodBoolean;
|
|
3959
4170
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -3988,6 +4199,25 @@ declare const SessionSchemas: {
|
|
|
3988
4199
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
3989
4200
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
3990
4201
|
sessionId: _$zod.ZodString;
|
|
4202
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4203
|
+
fullName: _$zod.ZodString;
|
|
4204
|
+
originalName: _$zod.ZodString;
|
|
4205
|
+
serverName: _$zod.ZodString;
|
|
4206
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4207
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4208
|
+
exposureMode: _$zod.ZodEnum<{
|
|
4209
|
+
hidden: "hidden";
|
|
4210
|
+
discovery: "discovery";
|
|
4211
|
+
direct: "direct";
|
|
4212
|
+
}>;
|
|
4213
|
+
enabled: _$zod.ZodBoolean;
|
|
4214
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4215
|
+
discovery: "discovery";
|
|
4216
|
+
toolset: "toolset";
|
|
4217
|
+
}>>;
|
|
4218
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4219
|
+
exposed: _$zod.ZodBoolean;
|
|
4220
|
+
}, _$zod_v4_core0.$strip>>;
|
|
3991
4221
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
3992
4222
|
name: _$zod.ZodString;
|
|
3993
4223
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -4024,28 +4254,9 @@ declare const SessionSchemas: {
|
|
|
4024
4254
|
type: _$zod.ZodLiteral<"http">;
|
|
4025
4255
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
4026
4256
|
exposureMode: _$zod.ZodEnum<{
|
|
4027
|
-
direct: "direct";
|
|
4028
4257
|
discovery: "discovery";
|
|
4029
|
-
}>;
|
|
4030
|
-
}, _$zod_v4_core0.$strip>>;
|
|
4031
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4032
|
-
fullName: _$zod.ZodString;
|
|
4033
|
-
originalName: _$zod.ZodString;
|
|
4034
|
-
serverName: _$zod.ZodString;
|
|
4035
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4036
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4037
|
-
exposureMode: _$zod.ZodEnum<{
|
|
4038
4258
|
direct: "direct";
|
|
4039
|
-
discovery: "discovery";
|
|
4040
|
-
hidden: "hidden";
|
|
4041
4259
|
}>;
|
|
4042
|
-
enabled: _$zod.ZodBoolean;
|
|
4043
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4044
|
-
discovery: "discovery";
|
|
4045
|
-
toolset: "toolset";
|
|
4046
|
-
}>>;
|
|
4047
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4048
|
-
exposed: _$zod.ZodBoolean;
|
|
4049
4260
|
}, _$zod_v4_core0.$strip>>;
|
|
4050
4261
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4051
4262
|
fullName: _$zod.ZodString;
|
|
@@ -4054,9 +4265,9 @@ declare const SessionSchemas: {
|
|
|
4054
4265
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4055
4266
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4056
4267
|
exposureMode: _$zod.ZodEnum<{
|
|
4057
|
-
direct: "direct";
|
|
4058
|
-
discovery: "discovery";
|
|
4059
4268
|
hidden: "hidden";
|
|
4269
|
+
discovery: "discovery";
|
|
4270
|
+
direct: "direct";
|
|
4060
4271
|
}>;
|
|
4061
4272
|
enabled: _$zod.ZodBoolean;
|
|
4062
4273
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4091,6 +4302,25 @@ declare const SessionSchemas: {
|
|
|
4091
4302
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4092
4303
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
4093
4304
|
sessionId: _$zod.ZodString;
|
|
4305
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4306
|
+
fullName: _$zod.ZodString;
|
|
4307
|
+
originalName: _$zod.ZodString;
|
|
4308
|
+
serverName: _$zod.ZodString;
|
|
4309
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4310
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4311
|
+
exposureMode: _$zod.ZodEnum<{
|
|
4312
|
+
hidden: "hidden";
|
|
4313
|
+
discovery: "discovery";
|
|
4314
|
+
direct: "direct";
|
|
4315
|
+
}>;
|
|
4316
|
+
enabled: _$zod.ZodBoolean;
|
|
4317
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4318
|
+
discovery: "discovery";
|
|
4319
|
+
toolset: "toolset";
|
|
4320
|
+
}>>;
|
|
4321
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4322
|
+
exposed: _$zod.ZodBoolean;
|
|
4323
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4094
4324
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4095
4325
|
name: _$zod.ZodString;
|
|
4096
4326
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -4127,28 +4357,9 @@ declare const SessionSchemas: {
|
|
|
4127
4357
|
type: _$zod.ZodLiteral<"http">;
|
|
4128
4358
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
4129
4359
|
exposureMode: _$zod.ZodEnum<{
|
|
4130
|
-
direct: "direct";
|
|
4131
4360
|
discovery: "discovery";
|
|
4132
|
-
}>;
|
|
4133
|
-
}, _$zod_v4_core0.$strip>>;
|
|
4134
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4135
|
-
fullName: _$zod.ZodString;
|
|
4136
|
-
originalName: _$zod.ZodString;
|
|
4137
|
-
serverName: _$zod.ZodString;
|
|
4138
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4139
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4140
|
-
exposureMode: _$zod.ZodEnum<{
|
|
4141
4361
|
direct: "direct";
|
|
4142
|
-
discovery: "discovery";
|
|
4143
|
-
hidden: "hidden";
|
|
4144
4362
|
}>;
|
|
4145
|
-
enabled: _$zod.ZodBoolean;
|
|
4146
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4147
|
-
discovery: "discovery";
|
|
4148
|
-
toolset: "toolset";
|
|
4149
|
-
}>>;
|
|
4150
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4151
|
-
exposed: _$zod.ZodBoolean;
|
|
4152
4363
|
}, _$zod_v4_core0.$strip>>;
|
|
4153
4364
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4154
4365
|
fullName: _$zod.ZodString;
|
|
@@ -4157,9 +4368,9 @@ declare const SessionSchemas: {
|
|
|
4157
4368
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4158
4369
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4159
4370
|
exposureMode: _$zod.ZodEnum<{
|
|
4160
|
-
direct: "direct";
|
|
4161
|
-
discovery: "discovery";
|
|
4162
4371
|
hidden: "hidden";
|
|
4372
|
+
discovery: "discovery";
|
|
4373
|
+
direct: "direct";
|
|
4163
4374
|
}>;
|
|
4164
4375
|
enabled: _$zod.ZodBoolean;
|
|
4165
4376
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4313,6 +4524,36 @@ declare const SessionSchemas: {
|
|
|
4313
4524
|
fullPrefix: "fullPrefix";
|
|
4314
4525
|
}>>;
|
|
4315
4526
|
turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
|
|
4527
|
+
nativeLocality: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
4528
|
+
kind: _$zod.ZodLiteral<"native">;
|
|
4529
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
4530
|
+
kind: _$zod.ZodLiteral<"degrade">;
|
|
4531
|
+
reason: _$zod.ZodEnum<{
|
|
4532
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
4533
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
4534
|
+
"no-adapter-session": "no-adapter-session";
|
|
4535
|
+
"missing-machine-id": "missing-machine-id";
|
|
4536
|
+
"machine-mismatch": "machine-mismatch";
|
|
4537
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
4538
|
+
"transforms-present": "transforms-present";
|
|
4539
|
+
"compression-present": "compression-present";
|
|
4540
|
+
"connector-swap": "connector-swap";
|
|
4541
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
4542
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
4543
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
4544
|
+
"agent-already-started": "agent-already-started";
|
|
4545
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
4546
|
+
}>;
|
|
4547
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
4548
|
+
kind: _$zod.ZodLiteral<"foreign">;
|
|
4549
|
+
machineId: _$zod.ZodString;
|
|
4550
|
+
}, _$zod_v4_core0.$strip>], "kind">>;
|
|
4551
|
+
nativeFork: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
4552
|
+
sourceSessionId: _$zod.ZodString;
|
|
4553
|
+
sourceAdapterSessionId: _$zod.ZodString;
|
|
4554
|
+
forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4555
|
+
targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4556
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4316
4557
|
}, _$zod_v4_core0.$strip>>;
|
|
4317
4558
|
responseSchema: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
4318
4559
|
schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
@@ -4329,8 +4570,8 @@ declare const SessionSchemas: {
|
|
|
4329
4570
|
skipConnectorSwapWarning: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
4330
4571
|
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4331
4572
|
text: "text";
|
|
4332
|
-
voice: "voice";
|
|
4333
4573
|
compact: "compact";
|
|
4574
|
+
voice: "voice";
|
|
4334
4575
|
}>>;
|
|
4335
4576
|
}, _$zod_v4_core0.$strip>;
|
|
4336
4577
|
response: _$zod.ZodObject<{
|
|
@@ -4363,6 +4604,25 @@ declare const SessionSchemas: {
|
|
|
4363
4604
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4364
4605
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
4365
4606
|
sessionId: _$zod.ZodString;
|
|
4607
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4608
|
+
fullName: _$zod.ZodString;
|
|
4609
|
+
originalName: _$zod.ZodString;
|
|
4610
|
+
serverName: _$zod.ZodString;
|
|
4611
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4612
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4613
|
+
exposureMode: _$zod.ZodEnum<{
|
|
4614
|
+
hidden: "hidden";
|
|
4615
|
+
discovery: "discovery";
|
|
4616
|
+
direct: "direct";
|
|
4617
|
+
}>;
|
|
4618
|
+
enabled: _$zod.ZodBoolean;
|
|
4619
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4620
|
+
discovery: "discovery";
|
|
4621
|
+
toolset: "toolset";
|
|
4622
|
+
}>>;
|
|
4623
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4624
|
+
exposed: _$zod.ZodBoolean;
|
|
4625
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4366
4626
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4367
4627
|
name: _$zod.ZodString;
|
|
4368
4628
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -4399,28 +4659,9 @@ declare const SessionSchemas: {
|
|
|
4399
4659
|
type: _$zod.ZodLiteral<"http">;
|
|
4400
4660
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
4401
4661
|
exposureMode: _$zod.ZodEnum<{
|
|
4402
|
-
direct: "direct";
|
|
4403
4662
|
discovery: "discovery";
|
|
4404
|
-
}>;
|
|
4405
|
-
}, _$zod_v4_core0.$strip>>;
|
|
4406
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4407
|
-
fullName: _$zod.ZodString;
|
|
4408
|
-
originalName: _$zod.ZodString;
|
|
4409
|
-
serverName: _$zod.ZodString;
|
|
4410
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4411
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4412
|
-
exposureMode: _$zod.ZodEnum<{
|
|
4413
4663
|
direct: "direct";
|
|
4414
|
-
discovery: "discovery";
|
|
4415
|
-
hidden: "hidden";
|
|
4416
4664
|
}>;
|
|
4417
|
-
enabled: _$zod.ZodBoolean;
|
|
4418
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4419
|
-
discovery: "discovery";
|
|
4420
|
-
toolset: "toolset";
|
|
4421
|
-
}>>;
|
|
4422
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4423
|
-
exposed: _$zod.ZodBoolean;
|
|
4424
4665
|
}, _$zod_v4_core0.$strip>>;
|
|
4425
4666
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4426
4667
|
fullName: _$zod.ZodString;
|
|
@@ -4429,9 +4670,9 @@ declare const SessionSchemas: {
|
|
|
4429
4670
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4430
4671
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4431
4672
|
exposureMode: _$zod.ZodEnum<{
|
|
4432
|
-
direct: "direct";
|
|
4433
|
-
discovery: "discovery";
|
|
4434
4673
|
hidden: "hidden";
|
|
4674
|
+
discovery: "discovery";
|
|
4675
|
+
direct: "direct";
|
|
4435
4676
|
}>;
|
|
4436
4677
|
enabled: _$zod.ZodBoolean;
|
|
4437
4678
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4574,7 +4815,7 @@ declare const SessionSchemas: {
|
|
|
4574
4815
|
}, _$zod_v4_core0.$strip>;
|
|
4575
4816
|
response: _$zod.ZodObject<{
|
|
4576
4817
|
agentId: _$zod.ZodString;
|
|
4577
|
-
adapterSessionId: _$zod.ZodString
|
|
4818
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4578
4819
|
role: _$zod.ZodEnum<{
|
|
4579
4820
|
lead: "lead";
|
|
4580
4821
|
member: "member";
|
|
@@ -4606,6 +4847,25 @@ declare const SessionSchemas: {
|
|
|
4606
4847
|
env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
|
|
4607
4848
|
mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
4608
4849
|
sessionId: _$zod.ZodString;
|
|
4850
|
+
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4851
|
+
fullName: _$zod.ZodString;
|
|
4852
|
+
originalName: _$zod.ZodString;
|
|
4853
|
+
serverName: _$zod.ZodString;
|
|
4854
|
+
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4855
|
+
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4856
|
+
exposureMode: _$zod.ZodEnum<{
|
|
4857
|
+
hidden: "hidden";
|
|
4858
|
+
discovery: "discovery";
|
|
4859
|
+
direct: "direct";
|
|
4860
|
+
}>;
|
|
4861
|
+
enabled: _$zod.ZodBoolean;
|
|
4862
|
+
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4863
|
+
discovery: "discovery";
|
|
4864
|
+
toolset: "toolset";
|
|
4865
|
+
}>>;
|
|
4866
|
+
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4867
|
+
exposed: _$zod.ZodBoolean;
|
|
4868
|
+
}, _$zod_v4_core0.$strip>>;
|
|
4609
4869
|
servers: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4610
4870
|
name: _$zod.ZodString;
|
|
4611
4871
|
transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
@@ -4642,28 +4902,9 @@ declare const SessionSchemas: {
|
|
|
4642
4902
|
type: _$zod.ZodLiteral<"http">;
|
|
4643
4903
|
}, _$zod_v4_core0.$strip>], "type">;
|
|
4644
4904
|
exposureMode: _$zod.ZodEnum<{
|
|
4645
|
-
direct: "direct";
|
|
4646
4905
|
discovery: "discovery";
|
|
4647
|
-
}>;
|
|
4648
|
-
}, _$zod_v4_core0.$strip>>;
|
|
4649
|
-
directTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4650
|
-
fullName: _$zod.ZodString;
|
|
4651
|
-
originalName: _$zod.ZodString;
|
|
4652
|
-
serverName: _$zod.ZodString;
|
|
4653
|
-
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4654
|
-
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4655
|
-
exposureMode: _$zod.ZodEnum<{
|
|
4656
4906
|
direct: "direct";
|
|
4657
|
-
discovery: "discovery";
|
|
4658
|
-
hidden: "hidden";
|
|
4659
4907
|
}>;
|
|
4660
|
-
enabled: _$zod.ZodBoolean;
|
|
4661
|
-
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4662
|
-
discovery: "discovery";
|
|
4663
|
-
toolset: "toolset";
|
|
4664
|
-
}>>;
|
|
4665
|
-
enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4666
|
-
exposed: _$zod.ZodBoolean;
|
|
4667
4908
|
}, _$zod_v4_core0.$strip>>;
|
|
4668
4909
|
discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
|
|
4669
4910
|
fullName: _$zod.ZodString;
|
|
@@ -4672,9 +4913,9 @@ declare const SessionSchemas: {
|
|
|
4672
4913
|
description: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4673
4914
|
inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
4674
4915
|
exposureMode: _$zod.ZodEnum<{
|
|
4675
|
-
direct: "direct";
|
|
4676
|
-
discovery: "discovery";
|
|
4677
4916
|
hidden: "hidden";
|
|
4917
|
+
discovery: "discovery";
|
|
4918
|
+
direct: "direct";
|
|
4678
4919
|
}>;
|
|
4679
4920
|
enabled: _$zod.ZodBoolean;
|
|
4680
4921
|
enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
@@ -4832,7 +5073,7 @@ declare const SessionSchemas: {
|
|
|
4832
5073
|
}, _$zod_v4_core0.$strip>;
|
|
4833
5074
|
response: _$zod.ZodObject<{
|
|
4834
5075
|
agentId: _$zod.ZodString;
|
|
4835
|
-
adapterSessionId: _$zod.ZodString
|
|
5076
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4836
5077
|
role: _$zod.ZodEnum<{
|
|
4837
5078
|
lead: "lead";
|
|
4838
5079
|
member: "member";
|
|
@@ -5066,8 +5307,8 @@ declare const SessionSchemas: {
|
|
|
5066
5307
|
}>>;
|
|
5067
5308
|
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5068
5309
|
text: "text";
|
|
5069
|
-
voice: "voice";
|
|
5070
5310
|
compact: "compact";
|
|
5311
|
+
voice: "voice";
|
|
5071
5312
|
}>>;
|
|
5072
5313
|
}, _$zod_v4_core0.$strip>;
|
|
5073
5314
|
'user_message.acknowledged': _$zod.ZodObject<{
|
|
@@ -5177,8 +5418,8 @@ declare const SessionSchemas: {
|
|
|
5177
5418
|
branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
|
|
5178
5419
|
fork: "fork";
|
|
5179
5420
|
subagent: "subagent";
|
|
5180
|
-
compress: "compress";
|
|
5181
5421
|
branch: "branch";
|
|
5422
|
+
compress: "compress";
|
|
5182
5423
|
rewrite: "rewrite";
|
|
5183
5424
|
coordinator: "coordinator";
|
|
5184
5425
|
aside: "aside";
|
|
@@ -5234,8 +5475,8 @@ declare const SessionSchemas: {
|
|
|
5234
5475
|
kind: _$zod.ZodEnum<{
|
|
5235
5476
|
fork: "fork";
|
|
5236
5477
|
subagent: "subagent";
|
|
5237
|
-
compress: "compress";
|
|
5238
5478
|
branch: "branch";
|
|
5479
|
+
compress: "compress";
|
|
5239
5480
|
rewrite: "rewrite";
|
|
5240
5481
|
coordinator: "coordinator";
|
|
5241
5482
|
aside: "aside";
|
|
@@ -5282,8 +5523,8 @@ declare const SessionSchemas: {
|
|
|
5282
5523
|
branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
|
|
5283
5524
|
fork: "fork";
|
|
5284
5525
|
subagent: "subagent";
|
|
5285
|
-
compress: "compress";
|
|
5286
5526
|
branch: "branch";
|
|
5527
|
+
compress: "compress";
|
|
5287
5528
|
rewrite: "rewrite";
|
|
5288
5529
|
coordinator: "coordinator";
|
|
5289
5530
|
aside: "aside";
|
|
@@ -5383,8 +5624,8 @@ declare const SessionSchemas: {
|
|
|
5383
5624
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5384
5625
|
fork: "fork";
|
|
5385
5626
|
subagent: "subagent";
|
|
5386
|
-
compress: "compress";
|
|
5387
5627
|
branch: "branch";
|
|
5628
|
+
compress: "compress";
|
|
5388
5629
|
rewrite: "rewrite";
|
|
5389
5630
|
coordinator: "coordinator";
|
|
5390
5631
|
aside: "aside";
|
|
@@ -5445,6 +5686,7 @@ declare const SessionSchemas: {
|
|
|
5445
5686
|
tracking: "tracking";
|
|
5446
5687
|
}>>;
|
|
5447
5688
|
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
5689
|
+
machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
5448
5690
|
}, _$zod_v4_core0.$strip>>;
|
|
5449
5691
|
agents: _$zod.ZodArray<_$zod.ZodObject<{
|
|
5450
5692
|
agentId: _$zod.ZodString;
|
|
@@ -5552,8 +5794,8 @@ declare const SessionSchemas: {
|
|
|
5552
5794
|
editOf: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5553
5795
|
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5554
5796
|
text: "text";
|
|
5555
|
-
voice: "voice";
|
|
5556
5797
|
compact: "compact";
|
|
5798
|
+
voice: "voice";
|
|
5557
5799
|
}>>;
|
|
5558
5800
|
}, _$zod_v4_core0.$strip>>;
|
|
5559
5801
|
turns: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -5596,7 +5838,7 @@ declare const SessionSchemas: {
|
|
|
5596
5838
|
type: _$zod.ZodLiteral<"agent.added">;
|
|
5597
5839
|
payload: _$zod.ZodObject<{
|
|
5598
5840
|
sessionId: _$zod.ZodString;
|
|
5599
|
-
adapterSessionId: _$zod.ZodString
|
|
5841
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5600
5842
|
agentId: _$zod.ZodString;
|
|
5601
5843
|
adapterId: _$zod.ZodString;
|
|
5602
5844
|
adapterName: _$zod.ZodString;
|
|
@@ -5747,8 +5989,8 @@ declare const SessionSchemas: {
|
|
|
5747
5989
|
}>>;
|
|
5748
5990
|
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5749
5991
|
text: "text";
|
|
5750
|
-
voice: "voice";
|
|
5751
5992
|
compact: "compact";
|
|
5993
|
+
voice: "voice";
|
|
5752
5994
|
}>>;
|
|
5753
5995
|
}, _$zod_v4_core0.$strip>;
|
|
5754
5996
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
@@ -5870,8 +6112,8 @@ declare const SessionSchemas: {
|
|
|
5870
6112
|
kind: _$zod.ZodEnum<{
|
|
5871
6113
|
fork: "fork";
|
|
5872
6114
|
subagent: "subagent";
|
|
5873
|
-
compress: "compress";
|
|
5874
6115
|
branch: "branch";
|
|
6116
|
+
compress: "compress";
|
|
5875
6117
|
rewrite: "rewrite";
|
|
5876
6118
|
coordinator: "coordinator";
|
|
5877
6119
|
aside: "aside";
|
|
@@ -5900,6 +6142,47 @@ declare const SessionSchemas: {
|
|
|
5900
6142
|
tokensAfter: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5901
6143
|
compressedMessageIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
5902
6144
|
}, _$zod_v4_core0.$strip>;
|
|
6145
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6146
|
+
sessionId: _$zod.ZodString;
|
|
6147
|
+
eventId: _$zod.ZodString;
|
|
6148
|
+
timestamp: _$zod.ZodNumber;
|
|
6149
|
+
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
6150
|
+
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
6151
|
+
intent: _$zod.ZodEnum<{
|
|
6152
|
+
fork: "fork";
|
|
6153
|
+
resume: "resume";
|
|
6154
|
+
}>;
|
|
6155
|
+
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
6156
|
+
reason: _$zod.ZodEnum<{
|
|
6157
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
6158
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
6159
|
+
"no-adapter-session": "no-adapter-session";
|
|
6160
|
+
"missing-machine-id": "missing-machine-id";
|
|
6161
|
+
"machine-mismatch": "machine-mismatch";
|
|
6162
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
6163
|
+
"transforms-present": "transforms-present";
|
|
6164
|
+
"compression-present": "compression-present";
|
|
6165
|
+
"connector-swap": "connector-swap";
|
|
6166
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
6167
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
6168
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
6169
|
+
"agent-already-started": "agent-already-started";
|
|
6170
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
6171
|
+
}>;
|
|
6172
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6173
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6174
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6175
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6176
|
+
intent: _$zod.ZodEnum<{
|
|
6177
|
+
fork: "fork";
|
|
6178
|
+
resume: "resume";
|
|
6179
|
+
}>;
|
|
6180
|
+
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
6181
|
+
foreignMachineId: _$zod.ZodString;
|
|
6182
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6183
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6184
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6185
|
+
}, _$zod_v4_core0.$strip>], "verdictKind">;
|
|
5903
6186
|
}, _$zod_v4_core0.$strip>], "type">, _$zod.ZodObject<{
|
|
5904
6187
|
sessionId: _$zod.ZodString;
|
|
5905
6188
|
eventId: _$zod.ZodString;
|
|
@@ -5974,8 +6257,8 @@ declare const SessionSchemas: {
|
|
|
5974
6257
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
5975
6258
|
fork: "fork";
|
|
5976
6259
|
subagent: "subagent";
|
|
5977
|
-
compress: "compress";
|
|
5978
6260
|
branch: "branch";
|
|
6261
|
+
compress: "compress";
|
|
5979
6262
|
rewrite: "rewrite";
|
|
5980
6263
|
coordinator: "coordinator";
|
|
5981
6264
|
aside: "aside";
|
|
@@ -6036,6 +6319,7 @@ declare const SessionSchemas: {
|
|
|
6036
6319
|
tracking: "tracking";
|
|
6037
6320
|
}>>;
|
|
6038
6321
|
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
6322
|
+
machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
6039
6323
|
}, _$zod_v4_core0.$strip>>;
|
|
6040
6324
|
agents: _$zod.ZodArray<_$zod.ZodObject<{
|
|
6041
6325
|
agentId: _$zod.ZodString;
|
|
@@ -6143,8 +6427,8 @@ declare const SessionSchemas: {
|
|
|
6143
6427
|
editOf: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6144
6428
|
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6145
6429
|
text: "text";
|
|
6146
|
-
voice: "voice";
|
|
6147
6430
|
compact: "compact";
|
|
6431
|
+
voice: "voice";
|
|
6148
6432
|
}>>;
|
|
6149
6433
|
}, _$zod_v4_core0.$strip>>;
|
|
6150
6434
|
turns: _$zod.ZodArray<_$zod.ZodObject<{
|
|
@@ -6187,7 +6471,7 @@ declare const SessionSchemas: {
|
|
|
6187
6471
|
type: _$zod.ZodLiteral<"agent.added">;
|
|
6188
6472
|
payload: _$zod.ZodObject<{
|
|
6189
6473
|
sessionId: _$zod.ZodString;
|
|
6190
|
-
adapterSessionId: _$zod.ZodString
|
|
6474
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6191
6475
|
agentId: _$zod.ZodString;
|
|
6192
6476
|
adapterId: _$zod.ZodString;
|
|
6193
6477
|
adapterName: _$zod.ZodString;
|
|
@@ -6338,8 +6622,8 @@ declare const SessionSchemas: {
|
|
|
6338
6622
|
}>>;
|
|
6339
6623
|
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6340
6624
|
text: "text";
|
|
6341
|
-
voice: "voice";
|
|
6342
6625
|
compact: "compact";
|
|
6626
|
+
voice: "voice";
|
|
6343
6627
|
}>>;
|
|
6344
6628
|
}, _$zod_v4_core0.$strip>;
|
|
6345
6629
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
@@ -6461,8 +6745,8 @@ declare const SessionSchemas: {
|
|
|
6461
6745
|
kind: _$zod.ZodEnum<{
|
|
6462
6746
|
fork: "fork";
|
|
6463
6747
|
subagent: "subagent";
|
|
6464
|
-
compress: "compress";
|
|
6465
6748
|
branch: "branch";
|
|
6749
|
+
compress: "compress";
|
|
6466
6750
|
rewrite: "rewrite";
|
|
6467
6751
|
coordinator: "coordinator";
|
|
6468
6752
|
aside: "aside";
|
|
@@ -6491,6 +6775,47 @@ declare const SessionSchemas: {
|
|
|
6491
6775
|
tokensAfter: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6492
6776
|
compressedMessageIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6493
6777
|
}, _$zod_v4_core0.$strip>;
|
|
6778
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6779
|
+
sessionId: _$zod.ZodString;
|
|
6780
|
+
eventId: _$zod.ZodString;
|
|
6781
|
+
timestamp: _$zod.ZodNumber;
|
|
6782
|
+
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
6783
|
+
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
6784
|
+
intent: _$zod.ZodEnum<{
|
|
6785
|
+
fork: "fork";
|
|
6786
|
+
resume: "resume";
|
|
6787
|
+
}>;
|
|
6788
|
+
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
6789
|
+
reason: _$zod.ZodEnum<{
|
|
6790
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
6791
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
6792
|
+
"no-adapter-session": "no-adapter-session";
|
|
6793
|
+
"missing-machine-id": "missing-machine-id";
|
|
6794
|
+
"machine-mismatch": "machine-mismatch";
|
|
6795
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
6796
|
+
"transforms-present": "transforms-present";
|
|
6797
|
+
"compression-present": "compression-present";
|
|
6798
|
+
"connector-swap": "connector-swap";
|
|
6799
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
6800
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
6801
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
6802
|
+
"agent-already-started": "agent-already-started";
|
|
6803
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
6804
|
+
}>;
|
|
6805
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6806
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6807
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6808
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6809
|
+
intent: _$zod.ZodEnum<{
|
|
6810
|
+
fork: "fork";
|
|
6811
|
+
resume: "resume";
|
|
6812
|
+
}>;
|
|
6813
|
+
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
6814
|
+
foreignMachineId: _$zod.ZodString;
|
|
6815
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6816
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6817
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6818
|
+
}, _$zod_v4_core0.$strip>], "verdictKind">;
|
|
6494
6819
|
}, _$zod_v4_core0.$strip>], "type">, _$zod.ZodObject<{
|
|
6495
6820
|
sessionId: _$zod.ZodString;
|
|
6496
6821
|
eventId: _$zod.ZodString;
|
|
@@ -6525,7 +6850,7 @@ declare const SessionSchemas: {
|
|
|
6525
6850
|
};
|
|
6526
6851
|
'agent.added': _$zod.ZodObject<{
|
|
6527
6852
|
sessionId: _$zod.ZodString;
|
|
6528
|
-
adapterSessionId: _$zod.ZodString
|
|
6853
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6529
6854
|
agentId: _$zod.ZodString;
|
|
6530
6855
|
adapterId: _$zod.ZodString;
|
|
6531
6856
|
adapterName: _$zod.ZodString;
|
|
@@ -6580,6 +6905,46 @@ declare const SessionSchemas: {
|
|
|
6580
6905
|
previousModel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6581
6906
|
newModel: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6582
6907
|
}, _$zod_v4_core0.$strip>;
|
|
6908
|
+
'locality.degraded': _$zod.ZodIntersection<_$zod.ZodObject<{
|
|
6909
|
+
sessionId: _$zod.ZodString;
|
|
6910
|
+
eventId: _$zod.ZodString;
|
|
6911
|
+
timestamp: _$zod.ZodNumber;
|
|
6912
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
6913
|
+
intent: _$zod.ZodEnum<{
|
|
6914
|
+
fork: "fork";
|
|
6915
|
+
resume: "resume";
|
|
6916
|
+
}>;
|
|
6917
|
+
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
6918
|
+
reason: _$zod.ZodEnum<{
|
|
6919
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
6920
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
6921
|
+
"no-adapter-session": "no-adapter-session";
|
|
6922
|
+
"missing-machine-id": "missing-machine-id";
|
|
6923
|
+
"machine-mismatch": "machine-mismatch";
|
|
6924
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
6925
|
+
"transforms-present": "transforms-present";
|
|
6926
|
+
"compression-present": "compression-present";
|
|
6927
|
+
"connector-swap": "connector-swap";
|
|
6928
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
6929
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
6930
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
6931
|
+
"agent-already-started": "agent-already-started";
|
|
6932
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
6933
|
+
}>;
|
|
6934
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6935
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6936
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6937
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
6938
|
+
intent: _$zod.ZodEnum<{
|
|
6939
|
+
fork: "fork";
|
|
6940
|
+
resume: "resume";
|
|
6941
|
+
}>;
|
|
6942
|
+
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
6943
|
+
foreignMachineId: _$zod.ZodString;
|
|
6944
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6945
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6946
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6947
|
+
}, _$zod_v4_core0.$strip>], "verdictKind">>;
|
|
6583
6948
|
getContextWindowState: {
|
|
6584
6949
|
request: _$zod.ZodObject<{
|
|
6585
6950
|
sessionId: _$zod.ZodString;
|
|
@@ -6618,7 +6983,7 @@ declare const SessionSchemas: {
|
|
|
6618
6983
|
type: _$zod.ZodLiteral<"agent.added">;
|
|
6619
6984
|
payload: _$zod.ZodObject<{
|
|
6620
6985
|
sessionId: _$zod.ZodString;
|
|
6621
|
-
adapterSessionId: _$zod.ZodString
|
|
6986
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
6622
6987
|
agentId: _$zod.ZodString;
|
|
6623
6988
|
adapterId: _$zod.ZodString;
|
|
6624
6989
|
adapterName: _$zod.ZodString;
|
|
@@ -6769,8 +7134,8 @@ declare const SessionSchemas: {
|
|
|
6769
7134
|
}>>;
|
|
6770
7135
|
origin: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6771
7136
|
text: "text";
|
|
6772
|
-
voice: "voice";
|
|
6773
7137
|
compact: "compact";
|
|
7138
|
+
voice: "voice";
|
|
6774
7139
|
}>>;
|
|
6775
7140
|
}, _$zod_v4_core0.$strip>;
|
|
6776
7141
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
@@ -6892,8 +7257,8 @@ declare const SessionSchemas: {
|
|
|
6892
7257
|
kind: _$zod.ZodEnum<{
|
|
6893
7258
|
fork: "fork";
|
|
6894
7259
|
subagent: "subagent";
|
|
6895
|
-
compress: "compress";
|
|
6896
7260
|
branch: "branch";
|
|
7261
|
+
compress: "compress";
|
|
6897
7262
|
rewrite: "rewrite";
|
|
6898
7263
|
coordinator: "coordinator";
|
|
6899
7264
|
aside: "aside";
|
|
@@ -6922,6 +7287,47 @@ declare const SessionSchemas: {
|
|
|
6922
7287
|
tokensAfter: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
6923
7288
|
compressedMessageIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
6924
7289
|
}, _$zod_v4_core0.$strip>;
|
|
7290
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
7291
|
+
sessionId: _$zod.ZodString;
|
|
7292
|
+
eventId: _$zod.ZodString;
|
|
7293
|
+
timestamp: _$zod.ZodNumber;
|
|
7294
|
+
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
7295
|
+
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
7296
|
+
intent: _$zod.ZodEnum<{
|
|
7297
|
+
fork: "fork";
|
|
7298
|
+
resume: "resume";
|
|
7299
|
+
}>;
|
|
7300
|
+
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
7301
|
+
reason: _$zod.ZodEnum<{
|
|
7302
|
+
"adapter-unsupported": "adapter-unsupported";
|
|
7303
|
+
"adapter-mismatch": "adapter-mismatch";
|
|
7304
|
+
"no-adapter-session": "no-adapter-session";
|
|
7305
|
+
"missing-machine-id": "missing-machine-id";
|
|
7306
|
+
"machine-mismatch": "machine-mismatch";
|
|
7307
|
+
"cwd-mismatch": "cwd-mismatch";
|
|
7308
|
+
"transforms-present": "transforms-present";
|
|
7309
|
+
"compression-present": "compression-present";
|
|
7310
|
+
"connector-swap": "connector-swap";
|
|
7311
|
+
"mid-history-unsupported": "mid-history-unsupported";
|
|
7312
|
+
"hybrid-imported-orchestrated": "hybrid-imported-orchestrated";
|
|
7313
|
+
"native-attempt-failed": "native-attempt-failed";
|
|
7314
|
+
"agent-already-started": "agent-already-started";
|
|
7315
|
+
"fork-point-unresolvable": "fork-point-unresolvable";
|
|
7316
|
+
}>;
|
|
7317
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7318
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7319
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7320
|
+
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
7321
|
+
intent: _$zod.ZodEnum<{
|
|
7322
|
+
fork: "fork";
|
|
7323
|
+
resume: "resume";
|
|
7324
|
+
}>;
|
|
7325
|
+
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
7326
|
+
foreignMachineId: _$zod.ZodString;
|
|
7327
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7328
|
+
adapterId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7329
|
+
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7330
|
+
}, _$zod_v4_core0.$strip>], "verdictKind">;
|
|
6925
7331
|
}, _$zod_v4_core0.$strip>], "type">, _$zod.ZodObject<{
|
|
6926
7332
|
sessionId: _$zod.ZodString;
|
|
6927
7333
|
eventId: _$zod.ZodString;
|
|
@@ -6997,8 +7403,8 @@ declare const SessionSchemas: {
|
|
|
6997
7403
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
6998
7404
|
fork: "fork";
|
|
6999
7405
|
subagent: "subagent";
|
|
7000
|
-
compress: "compress";
|
|
7001
7406
|
branch: "branch";
|
|
7407
|
+
compress: "compress";
|
|
7002
7408
|
rewrite: "rewrite";
|
|
7003
7409
|
coordinator: "coordinator";
|
|
7004
7410
|
aside: "aside";
|
|
@@ -7059,6 +7465,7 @@ declare const SessionSchemas: {
|
|
|
7059
7465
|
tracking: "tracking";
|
|
7060
7466
|
}>>;
|
|
7061
7467
|
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
7468
|
+
machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
7062
7469
|
preview: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
7063
7470
|
messageCount: _$zod.ZodNumber;
|
|
7064
7471
|
firstUserMessage: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -7134,8 +7541,8 @@ declare const SessionSchemas: {
|
|
|
7134
7541
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
7135
7542
|
fork: "fork";
|
|
7136
7543
|
subagent: "subagent";
|
|
7137
|
-
compress: "compress";
|
|
7138
7544
|
branch: "branch";
|
|
7545
|
+
compress: "compress";
|
|
7139
7546
|
rewrite: "rewrite";
|
|
7140
7547
|
coordinator: "coordinator";
|
|
7141
7548
|
aside: "aside";
|
|
@@ -7196,6 +7603,7 @@ declare const SessionSchemas: {
|
|
|
7196
7603
|
tracking: "tracking";
|
|
7197
7604
|
}>>;
|
|
7198
7605
|
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
7606
|
+
machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
7199
7607
|
preview: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
7200
7608
|
messageCount: _$zod.ZodNumber;
|
|
7201
7609
|
firstUserMessage: _$zod.ZodNullable<_$zod.ZodString>;
|
|
@@ -7262,8 +7670,8 @@ declare const SessionSchemas: {
|
|
|
7262
7670
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
7263
7671
|
fork: "fork";
|
|
7264
7672
|
subagent: "subagent";
|
|
7265
|
-
compress: "compress";
|
|
7266
7673
|
branch: "branch";
|
|
7674
|
+
compress: "compress";
|
|
7267
7675
|
rewrite: "rewrite";
|
|
7268
7676
|
coordinator: "coordinator";
|
|
7269
7677
|
aside: "aside";
|
|
@@ -7324,6 +7732,7 @@ declare const SessionSchemas: {
|
|
|
7324
7732
|
tracking: "tracking";
|
|
7325
7733
|
}>>;
|
|
7326
7734
|
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
7735
|
+
machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
7327
7736
|
}, _$zod_v4_core0.$strip>>;
|
|
7328
7737
|
}, _$zod_v4_core0.$strip>;
|
|
7329
7738
|
};
|
|
@@ -7339,8 +7748,8 @@ declare const SessionSchemas: {
|
|
|
7339
7748
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
7340
7749
|
fork: "fork";
|
|
7341
7750
|
subagent: "subagent";
|
|
7342
|
-
compress: "compress";
|
|
7343
7751
|
branch: "branch";
|
|
7752
|
+
compress: "compress";
|
|
7344
7753
|
rewrite: "rewrite";
|
|
7345
7754
|
coordinator: "coordinator";
|
|
7346
7755
|
aside: "aside";
|
|
@@ -7371,6 +7780,7 @@ declare const SessionSchemas: {
|
|
|
7371
7780
|
metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
7372
7781
|
spawningToolCallId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7373
7782
|
originWindowId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7783
|
+
machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
7374
7784
|
}, _$zod_v4_core0.$strip>;
|
|
7375
7785
|
response: _$zod.ZodObject<{
|
|
7376
7786
|
sessionId: _$zod.ZodString;
|
|
@@ -7395,6 +7805,7 @@ declare const SessionSchemas: {
|
|
|
7395
7805
|
restartAgents: {
|
|
7396
7806
|
request: _$zod.ZodObject<{
|
|
7397
7807
|
sessionId: _$zod.ZodString;
|
|
7808
|
+
machineId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7398
7809
|
}, _$zod_v4_core0.$strip>;
|
|
7399
7810
|
response: _$zod.ZodObject<{
|
|
7400
7811
|
sessionId: _$zod.ZodString;
|
|
@@ -7502,8 +7913,8 @@ declare const SessionSchemas: {
|
|
|
7502
7913
|
branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
7503
7914
|
fork: "fork";
|
|
7504
7915
|
subagent: "subagent";
|
|
7505
|
-
compress: "compress";
|
|
7506
7916
|
branch: "branch";
|
|
7917
|
+
compress: "compress";
|
|
7507
7918
|
rewrite: "rewrite";
|
|
7508
7919
|
coordinator: "coordinator";
|
|
7509
7920
|
aside: "aside";
|
|
@@ -7564,6 +7975,7 @@ declare const SessionSchemas: {
|
|
|
7564
7975
|
tracking: "tracking";
|
|
7565
7976
|
}>>;
|
|
7566
7977
|
isSidechain: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
7978
|
+
machineId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
|
|
7567
7979
|
}, _$zod_v4_core0.$strip>>;
|
|
7568
7980
|
}, _$zod_v4_core0.$strip>;
|
|
7569
7981
|
};
|
|
@@ -7680,4 +8092,4 @@ type KnownSessionEvent = { [K in RuntimeKnownSessionEventType]: SessionEventBase
|
|
|
7680
8092
|
*/
|
|
7681
8093
|
declare function isKnownSessionEvent(event: MakaioSessionEvent$1): event is KnownSessionEvent;
|
|
7682
8094
|
//#endregion
|
|
7683
|
-
export {
|
|
8095
|
+
export { TurnStatus as $, NativeLocalityVerdictSchema as A, MessageRoutingStatusSchema as B, SessionEventTypeMap as C, SessionRecordMetadataSchema$1 as Ct, NativeLocalityReason as D, MakaioSessionAgentSchema$1 as Dt, NativeForkDirectiveSchema as E, AgentStatusSchema$1 as Et, TurnIngestionMarkerSchema$1 as F, SessionMessageOriginSchema as G, SessionMessageBlock$1 as H, TurnStarted as I, SessionMessageSchema$1 as J, SessionMessageRole as K, MessageRouting as L, SendMessageResponse as M, TurnCompleted as N, NativeLocalityReasonSchema as O, SessionCreateBase as Ot, TurnIngestionMarker$1 as P, TurnSchema$1 as Q, MessageRoutingSchema$1 as R, SessionEventType$1 as S, SessionRecordMetadata as St, NativeForkDirective$1 as T, AgentStatus as Tt, SessionMessageBlockSchema as U, SessionMessage$1 as V, SessionMessageOrigin$1 as W, TurnInitiator$2 as X, Turn$1 as Y, TurnInitiatorSchema$1 as Z, ForkChildInfo as _, SnapshotPreviewData as _t, SessionPreviewData as a, AgentRole as at, SESSION_EVENT_TYPES as b, MakaioSessionSchema as bt, SessionSchemas as c, BranchKindSchema as ct, SegmentPolicy as d, SNAPSHOT_VERSION as dt, TurnStatusSchema$1 as et, SegmentPolicySchema as f, SessionSnapshot as ft, SessionUpdatedEventSchema as g, SnapshotImportConflictErrorData as gt, SessionUpdatedEvent as h, SnapshotExportOptionsSchema as ht, MakaioSessionEvent$1 as i, UsageMetricsSchema as it, SendMessageRequest as j, NativeLocalityVerdict$1 as k, SessionCreateBaseSchema as kt, ForkTransforms$1 as l, ImportStatus as lt, SessionCreatedEventSchema as m, SnapshotExportOptions as mt, KnownSessionEvent as n, TurnUsageSchema$1 as nt, SessionWithPreview as o, AgentRoleSchema as ot, SessionCreated as p, SessionSnapshotSchema as pt, SessionMessageRoleSchema as q, MakaioSessionAgent$1 as r, UsageMetrics as rt, isKnownSessionEvent as s, BranchKind$1 as st, IMakaioSession$1 as t, TurnUsage$1 as tt, ForkTransformsSchema$1 as u, ImportStatusSchema as ut, ForkChildInfoSchema as v, safeValidateSnapshot as vt, SessionEventTypeSchema as w, SessionWithPreviewSchema as wt, SessionEventPayload as x, SessionPreviewDataSchema as xt, MakaioSessionEventSchema as y, validateSnapshot as yt, MessageRoutingStatus as z };
|