@makaio/framework 1.0.0-dev-1789609124644 → 1.0.0-dev-1789642522820
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-C4v_gNTI.mjs → adapter-DSRgsh2d.mjs} +1 -1
- package/dist/adapters/claude/index.mjs +3 -3
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-BOGcnhgA.mjs +9 -0
- package/dist/client-DqfP7BeX.mjs +1 -0
- package/dist/clients/index.d.mts +152 -11
- package/dist/clients/index.mjs +1 -1
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +3 -3
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/index.d.mts +15 -15
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/drizzle/0040_session_generation.sql +1 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{framework-packages-Bg4edkkM.mjs → framework-packages-BNFG51Td.mjs} +1 -1
- package/dist/{hook-responses-Dq16X3Cb.d.mts → hook-responses-CQ2q0aPE.d.mts} +47 -4
- package/dist/{index-7CVumCjj.d.mts → index-BS-Fhlux.d.mts} +42 -7
- package/dist/{index-C6e9cwAl2.d.mts → index-CdWxSwhQ2.d.mts} +4 -4
- package/dist/{index-iVisrVdC2.d.mts → index-CztxEJrG2.d.mts} +46 -3
- package/dist/{index-Bg3WVL8n.d.mts → index-Dn23R_ck.d.mts} +2 -2
- package/dist/{index-D_j_T3nS.d.mts → index-Hnsy6XhM.d.mts} +1 -1
- package/dist/{index-CRZ1jrxp.d.mts → index-p1l00SGS.d.mts} +86 -7
- package/dist/{index-mTaFX2HH2.d.mts → index-zEkS2L862.d.mts} +6 -0
- 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-Cmu-5_P9.d.mts → namespace-BR03HE8G.d.mts} +42 -0
- package/dist/{namespace-BEbQb19g.d.mts → namespace-BqfzcRkL.d.mts} +5 -5
- package/dist/{orchestrator-shared-CtPB6PAr.mjs → orchestrator-shared-CxO1lfpP.mjs} +1 -1
- package/dist/ownership-memory-handler-BOhmmlJj.mjs +1 -0
- package/dist/package.json +1 -1
- package/dist/{registry-DNMjJ-Oj.mjs → registry-DtaRGU8i.mjs} +1 -0
- package/dist/{schema-BA1cHBbc.d.mts → schema-DqKCg5Ec.d.mts} +30 -0
- package/dist/{schemas-CaYEFzK_.d.mts → schemas-CFciElld.d.mts} +2 -2
- package/dist/schemas-CkxAK13D.mjs +1 -0
- package/dist/services/index.d.mts +6 -6
- package/dist/services/index.mjs +1 -1
- package/dist/services/session/index.d.mts +4 -4
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +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 +2 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +2 -2
- package/dist/services/subagent-template/index.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/workflow-transitions/index.mjs +1 -1
- package/dist/session-BP5aq2kt.mjs +95 -0
- package/dist/{session-BB0s7c2B.mjs → session-BcArFp9M.mjs} +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/{tool-approval-service-pbkGcAV8.mjs → tool-approval-service-CXTklh3T.mjs} +1 -1
- package/dist/{tools-C5Gy0IQG.mjs → tools-hiFv-jJn.mjs} +1 -1
- package/dist/{types-DhbllltK.d.mts → types-D5kqrOad.d.mts} +9 -0
- package/dist/{workflow-transitions-C0sg3kar.mjs → workflow-transitions-BalNKTtE.mjs} +1 -1
- package/package.json +1 -1
- package/dist/bus-BQ64i3DN.mjs +0 -9
- package/dist/client-Bg3_IdaF.mjs +0 -1
- package/dist/ownership-memory-handler-xex7sLiX.mjs +0 -1
- package/dist/schemas-ClkcU_N5.mjs +0 -1
- package/dist/session-6UG5udTX.mjs +0 -95
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-
|
|
1
|
+
import { Hn as BranchKind$1, bn as SessionMessage$1 } from "./types-D5kqrOad.mjs";
|
|
2
2
|
import { o as Message$1 } from "./index-De_oh9M-2.mjs";
|
|
3
3
|
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-Cv0XiTXb.mjs";
|
|
4
4
|
import * as _$zod from "zod";
|
|
@@ -2611,6 +2611,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
2611
2611
|
coordinator: "coordinator";
|
|
2612
2612
|
aside: "aside";
|
|
2613
2613
|
}>>;
|
|
2614
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2614
2615
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2615
2616
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2616
2617
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -3283,6 +3284,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
3283
3284
|
coordinator: "coordinator";
|
|
3284
3285
|
aside: "aside";
|
|
3285
3286
|
}>>;
|
|
3287
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
3286
3288
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3287
3289
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3288
3290
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -4472,6 +4474,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4472
4474
|
coordinator: "coordinator";
|
|
4473
4475
|
aside: "aside";
|
|
4474
4476
|
}>>;
|
|
4477
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4475
4478
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4476
4479
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4477
4480
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -4630,6 +4633,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4630
4633
|
coordinator: "coordinator";
|
|
4631
4634
|
aside: "aside";
|
|
4632
4635
|
}>>;
|
|
4636
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4633
4637
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4634
4638
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4635
4639
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -4779,6 +4783,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
4779
4783
|
coordinator: "coordinator";
|
|
4780
4784
|
aside: "aside";
|
|
4781
4785
|
}>>;
|
|
4786
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
4782
4787
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4783
4788
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
4784
4789
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -5042,6 +5047,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
|
|
|
5042
5047
|
coordinator: "coordinator";
|
|
5043
5048
|
aside: "aside";
|
|
5044
5049
|
}>>;
|
|
5050
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
5045
5051
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5046
5052
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
5047
5053
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -7722,6 +7728,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
7722
7728
|
coordinator: "coordinator";
|
|
7723
7729
|
aside: "aside";
|
|
7724
7730
|
}>>;
|
|
7731
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
7725
7732
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7726
7733
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
7727
7734
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -8394,6 +8401,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
8394
8401
|
coordinator: "coordinator";
|
|
8395
8402
|
aside: "aside";
|
|
8396
8403
|
}>>;
|
|
8404
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
8397
8405
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8398
8406
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
8399
8407
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -9583,6 +9591,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9583
9591
|
coordinator: "coordinator";
|
|
9584
9592
|
aside: "aside";
|
|
9585
9593
|
}>>;
|
|
9594
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
9586
9595
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9587
9596
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9588
9597
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -9741,6 +9750,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9741
9750
|
coordinator: "coordinator";
|
|
9742
9751
|
aside: "aside";
|
|
9743
9752
|
}>>;
|
|
9753
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
9744
9754
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9745
9755
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9746
9756
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -9890,6 +9900,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
9890
9900
|
coordinator: "coordinator";
|
|
9891
9901
|
aside: "aside";
|
|
9892
9902
|
}>>;
|
|
9903
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
9893
9904
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9894
9905
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
9895
9906
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -10153,6 +10164,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
10153
10164
|
coordinator: "coordinator";
|
|
10154
10165
|
aside: "aside";
|
|
10155
10166
|
}>>;
|
|
10167
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
10156
10168
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
10157
10169
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
10158
10170
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -11055,8 +11067,8 @@ declare const MessageStorageNamespace$1: ContractStorageNamespaceDefinition<"mes
|
|
|
11055
11067
|
isError: z.ZodOptional<z.ZodBoolean>;
|
|
11056
11068
|
}, z.core.$strip>], "type">>;
|
|
11057
11069
|
agentId: z.ZodOptional<z.ZodString>;
|
|
11058
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
11059
11070
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
11071
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
11060
11072
|
timestamp: z.ZodNumber;
|
|
11061
11073
|
contentText: z.ZodString;
|
|
11062
11074
|
adapterMessageId: z.ZodOptional<z.ZodString>;
|
|
@@ -11903,8 +11915,8 @@ declare const MessageStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
11903
11915
|
isError: z.ZodOptional<z.ZodBoolean>;
|
|
11904
11916
|
}, z.core.$strip>], "type">>;
|
|
11905
11917
|
agentId: z.ZodOptional<z.ZodString>;
|
|
11906
|
-
turnId: z.ZodNullable<z.ZodString>;
|
|
11907
11918
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
11919
|
+
turnId: z.ZodNullable<z.ZodString>;
|
|
11908
11920
|
timestamp: z.ZodNumber;
|
|
11909
11921
|
contentText: z.ZodString;
|
|
11910
11922
|
adapterMessageId: z.ZodOptional<z.ZodString>;
|
|
@@ -15862,6 +15874,7 @@ declare const SessionStorageSetSessionSchema: z.ZodObject<{
|
|
|
15862
15874
|
coordinator: "coordinator";
|
|
15863
15875
|
aside: "aside";
|
|
15864
15876
|
}>>;
|
|
15877
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
15865
15878
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
15866
15879
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
15867
15880
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -16001,6 +16014,7 @@ declare const SessionStorageSetRequestSchema$1: z.ZodObject<{
|
|
|
16001
16014
|
coordinator: "coordinator";
|
|
16002
16015
|
aside: "aside";
|
|
16003
16016
|
}>>;
|
|
16017
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
16004
16018
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
16005
16019
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16006
16020
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -16124,6 +16138,7 @@ declare const SessionStorageUpdateSchema$1: {
|
|
|
16124
16138
|
metadata: z.ZodOptional<z.ZodNullable<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>>>>>;
|
|
16125
16139
|
spawningToolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16126
16140
|
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16141
|
+
advanceGeneration: z.ZodOptional<z.ZodLiteral<true>>;
|
|
16127
16142
|
identity: z.ZodOptional<z.ZodObject<{
|
|
16128
16143
|
adapterName: z.ZodString;
|
|
16129
16144
|
adapterId: z.ZodString;
|
|
@@ -16283,6 +16298,10 @@ declare const SessionStorageRebindObservedRequestSchema: z.ZodObject<{
|
|
|
16283
16298
|
cwd: z.ZodOptional<z.ZodString>;
|
|
16284
16299
|
logFilePath: z.ZodOptional<z.ZodString>;
|
|
16285
16300
|
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16301
|
+
startMode: z.ZodOptional<z.ZodEnum<{
|
|
16302
|
+
resume: "resume";
|
|
16303
|
+
compact: "compact";
|
|
16304
|
+
}>>;
|
|
16286
16305
|
}, z.core.$strip>;
|
|
16287
16306
|
type SessionStorageRebindObservedRequest = z.infer<typeof SessionStorageRebindObservedRequestSchema>;
|
|
16288
16307
|
/**
|
|
@@ -16401,6 +16420,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16401
16420
|
coordinator: "coordinator";
|
|
16402
16421
|
aside: "aside";
|
|
16403
16422
|
}>>;
|
|
16423
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
16404
16424
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
16405
16425
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16406
16426
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -16549,6 +16569,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16549
16569
|
coordinator: "coordinator";
|
|
16550
16570
|
aside: "aside";
|
|
16551
16571
|
}>>;
|
|
16572
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
16552
16573
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
16553
16574
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16554
16575
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -16728,6 +16749,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16728
16749
|
coordinator: "coordinator";
|
|
16729
16750
|
aside: "aside";
|
|
16730
16751
|
}>>;
|
|
16752
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
16731
16753
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
16732
16754
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16733
16755
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -16923,6 +16945,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
16923
16945
|
coordinator: "coordinator";
|
|
16924
16946
|
aside: "aside";
|
|
16925
16947
|
}>>;
|
|
16948
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
16926
16949
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
16927
16950
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
16928
16951
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -17054,6 +17077,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17054
17077
|
metadata: z.ZodOptional<z.ZodNullable<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>>>>>;
|
|
17055
17078
|
spawningToolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17056
17079
|
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17080
|
+
advanceGeneration: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17057
17081
|
identity: z.ZodOptional<z.ZodObject<{
|
|
17058
17082
|
adapterName: z.ZodString;
|
|
17059
17083
|
adapterId: z.ZodString;
|
|
@@ -17159,6 +17183,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17159
17183
|
coordinator: "coordinator";
|
|
17160
17184
|
aside: "aside";
|
|
17161
17185
|
}>>;
|
|
17186
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
17162
17187
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
17163
17188
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17164
17189
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -17391,6 +17416,10 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17391
17416
|
cwd: z.ZodOptional<z.ZodString>;
|
|
17392
17417
|
logFilePath: z.ZodOptional<z.ZodString>;
|
|
17393
17418
|
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17419
|
+
startMode: z.ZodOptional<z.ZodEnum<{
|
|
17420
|
+
resume: "resume";
|
|
17421
|
+
compact: "compact";
|
|
17422
|
+
}>>;
|
|
17394
17423
|
}, z.core.$strip>;
|
|
17395
17424
|
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
17396
17425
|
outcome: z.ZodLiteral<"rebound">;
|
|
@@ -17484,6 +17513,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17484
17513
|
coordinator: "coordinator";
|
|
17485
17514
|
aside: "aside";
|
|
17486
17515
|
}>>;
|
|
17516
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
17487
17517
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
17488
17518
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17489
17519
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -17639,6 +17669,7 @@ declare const SessionStorageNamespace$1: ContractStorageNamespaceDefinition<"ses
|
|
|
17639
17669
|
coordinator: "coordinator";
|
|
17640
17670
|
aside: "aside";
|
|
17641
17671
|
}>>;
|
|
17672
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
17642
17673
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
17643
17674
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17644
17675
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -17832,6 +17863,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
17832
17863
|
coordinator: "coordinator";
|
|
17833
17864
|
aside: "aside";
|
|
17834
17865
|
}>>;
|
|
17866
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
17835
17867
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
17836
17868
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17837
17869
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -17980,6 +18012,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
17980
18012
|
coordinator: "coordinator";
|
|
17981
18013
|
aside: "aside";
|
|
17982
18014
|
}>>;
|
|
18015
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
17983
18016
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
17984
18017
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
17985
18018
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -18159,6 +18192,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18159
18192
|
coordinator: "coordinator";
|
|
18160
18193
|
aside: "aside";
|
|
18161
18194
|
}>>;
|
|
18195
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
18162
18196
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
18163
18197
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18164
18198
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -18354,6 +18388,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18354
18388
|
coordinator: "coordinator";
|
|
18355
18389
|
aside: "aside";
|
|
18356
18390
|
}>>;
|
|
18391
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
18357
18392
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
18358
18393
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18359
18394
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -18485,6 +18520,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18485
18520
|
metadata: z.ZodOptional<z.ZodNullable<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>>>>>;
|
|
18486
18521
|
spawningToolCallId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18487
18522
|
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18523
|
+
advanceGeneration: z.ZodOptional<z.ZodLiteral<true>>;
|
|
18488
18524
|
identity: z.ZodOptional<z.ZodObject<{
|
|
18489
18525
|
adapterName: z.ZodString;
|
|
18490
18526
|
adapterId: z.ZodString;
|
|
@@ -18590,6 +18626,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18590
18626
|
coordinator: "coordinator";
|
|
18591
18627
|
aside: "aside";
|
|
18592
18628
|
}>>;
|
|
18629
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
18593
18630
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
18594
18631
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18595
18632
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -18822,6 +18859,10 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18822
18859
|
cwd: z.ZodOptional<z.ZodString>;
|
|
18823
18860
|
logFilePath: z.ZodOptional<z.ZodString>;
|
|
18824
18861
|
machineId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18862
|
+
startMode: z.ZodOptional<z.ZodEnum<{
|
|
18863
|
+
resume: "resume";
|
|
18864
|
+
compact: "compact";
|
|
18865
|
+
}>>;
|
|
18825
18866
|
}, z.core.$strip>;
|
|
18826
18867
|
response: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
18827
18868
|
outcome: z.ZodLiteral<"rebound">;
|
|
@@ -18915,6 +18956,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
18915
18956
|
coordinator: "coordinator";
|
|
18916
18957
|
aside: "aside";
|
|
18917
18958
|
}>>;
|
|
18959
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
18918
18960
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
18919
18961
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
18920
18962
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -19070,6 +19112,7 @@ declare const SessionStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
19070
19112
|
coordinator: "coordinator";
|
|
19071
19113
|
aside: "aside";
|
|
19072
19114
|
}>>;
|
|
19115
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
19073
19116
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
19074
19117
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
19075
19118
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -3,10 +3,10 @@ import { s as AdapterProviderAuth$1 } from "./adapter-binding-BxjUfkOn.mjs";
|
|
|
3
3
|
import { i as ExtensionService$1, n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-BH31eOMv.mjs";
|
|
4
4
|
import { t as ExtensionAutomationTriggersContribution } from "./contribution-DDbHzCPF.mjs";
|
|
5
5
|
import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-D-Lgbp1j.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { k as ClientDefinition$1, m as ExtensionClientHookResponsesContribution, rt as VersionRange, tt as VersionLiteral$1 } from "./hook-responses-CQ2q0aPE.mjs";
|
|
7
7
|
import { c as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-ClWxAKQ2.mjs";
|
|
8
8
|
import { t as RequiredTimeoutConfig } from "./index-DM72_93s.mjs";
|
|
9
|
-
import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-
|
|
9
|
+
import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEvent$1 } from "./types-D5kqrOad.mjs";
|
|
10
10
|
import { D as EntityUIConfig$1, I as FormFieldProps } from "./index-De_oh9M-2.mjs";
|
|
11
11
|
import { l as FacetNamespaceDefinition } from "./index-KdlZRuTp.mjs";
|
|
12
12
|
import { t as ExtensionReactionsContribution } from "./index-C87P0WpY2.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as CliContribution } from "./types-QRSc2AUU.mjs";
|
|
2
|
-
import { c as ExtensionInfo } from "./index-
|
|
2
|
+
import { c as ExtensionInfo } from "./index-zEkS2L862.mjs";
|
|
3
3
|
import { r as WindowRegistry } from "./window-registry-DeG37kt8.mjs";
|
|
4
4
|
import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
|
|
5
5
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as ClientDefinitionInput, k as ClientDefinition } from "./hook-responses-CQ2q0aPE.mjs";
|
|
2
2
|
import * as _$zod from "zod";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -597,6 +597,16 @@ declare const ClientSchemas: {
|
|
|
597
597
|
turnId: z.ZodOptional<z.ZodString>;
|
|
598
598
|
agentTranscriptPath: z.ZodOptional<z.ZodString>;
|
|
599
599
|
}, z.core.$strip>;
|
|
600
|
+
'session.token.get': {
|
|
601
|
+
request: z.ZodObject<{
|
|
602
|
+
clientId: z.ZodString;
|
|
603
|
+
adapterSessionId: z.ZodString;
|
|
604
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
605
|
+
}, z.core.$strip>;
|
|
606
|
+
response: z.ZodObject<{
|
|
607
|
+
token: z.ZodNullable<z.ZodString>;
|
|
608
|
+
}, z.core.$strip>;
|
|
609
|
+
};
|
|
600
610
|
'wiring.list': {
|
|
601
611
|
request: z.ZodObject<{
|
|
602
612
|
clientId: z.ZodOptional<z.ZodString>;
|
|
@@ -724,8 +734,8 @@ declare const ClientSchemas: {
|
|
|
724
734
|
reason: z.ZodEnum<{
|
|
725
735
|
update: "update";
|
|
726
736
|
install: "install";
|
|
727
|
-
uninstall: "uninstall";
|
|
728
737
|
"set-active": "set-active";
|
|
738
|
+
uninstall: "uninstall";
|
|
729
739
|
}>;
|
|
730
740
|
}, z.core.$strip>;
|
|
731
741
|
resolveBinary: {
|
|
@@ -1282,8 +1292,8 @@ declare const ClientVersionChangedSchema: z.ZodObject<{
|
|
|
1282
1292
|
reason: z.ZodEnum<{
|
|
1283
1293
|
update: "update";
|
|
1284
1294
|
install: "install";
|
|
1285
|
-
uninstall: "uninstall";
|
|
1286
1295
|
"set-active": "set-active";
|
|
1296
|
+
uninstall: "uninstall";
|
|
1287
1297
|
}>;
|
|
1288
1298
|
}, z.core.$strip>;
|
|
1289
1299
|
type ClientVersionChanged = z.infer<typeof ClientVersionChangedSchema>;
|
|
@@ -1775,6 +1785,52 @@ declare const ClientWiringEntrySchema: z.ZodObject<{
|
|
|
1775
1785
|
/** A single wiring entry in a list response. */
|
|
1776
1786
|
type ClientWiringEntry = z.infer<typeof ClientWiringEntrySchema>;
|
|
1777
1787
|
//#endregion
|
|
1788
|
+
//#region core/contracts/src/client/session-token.d.ts
|
|
1789
|
+
/**
|
|
1790
|
+
* Scope that identifies a session (or a subagent within a session) for token
|
|
1791
|
+
* operations.
|
|
1792
|
+
*
|
|
1793
|
+
* - `clientId` — stable string identity of the client that produced the hook
|
|
1794
|
+
* (e.g. `'claude-code'`, `'codex'`). Two client providers may report the
|
|
1795
|
+
* same provider-local session id; including the client id in the key
|
|
1796
|
+
* prevents a Codex record from overwriting a Claude Code token, and prevents
|
|
1797
|
+
* a subagent-completion event from one client from deleting the other's
|
|
1798
|
+
* entry. An MCP server that runs under Claude Code knows it belongs to that
|
|
1799
|
+
* client because `CLAUDE_CODE_SESSION_ID` is set in its environment.
|
|
1800
|
+
* - `adapterSessionId` — Claude Code hook payload `session_id`; equals
|
|
1801
|
+
* `CLAUDE_CODE_SESSION_ID` in stdio MCP servers.
|
|
1802
|
+
* - `agentId` — present only for SubagentStart events; absent for
|
|
1803
|
+
* top-level SessionStart events.
|
|
1804
|
+
*/
|
|
1805
|
+
declare const ClientSessionTokenScopeSchema: z.ZodObject<{
|
|
1806
|
+
clientId: z.ZodString;
|
|
1807
|
+
adapterSessionId: z.ZodString;
|
|
1808
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1809
|
+
}, z.core.$strip>;
|
|
1810
|
+
type ClientSessionTokenScope = z.infer<typeof ClientSessionTokenScopeSchema>;
|
|
1811
|
+
/**
|
|
1812
|
+
* Request payload for `client.session.token.get`.
|
|
1813
|
+
*
|
|
1814
|
+
* Issued by MCP servers over the WebSocket bus to retrieve a previously
|
|
1815
|
+
* recorded correlation token by its scope.
|
|
1816
|
+
*/
|
|
1817
|
+
declare const ClientSessionTokenGetRequestSchema: z.ZodObject<{
|
|
1818
|
+
clientId: z.ZodString;
|
|
1819
|
+
adapterSessionId: z.ZodString;
|
|
1820
|
+
agentId: z.ZodOptional<z.ZodString>;
|
|
1821
|
+
}, z.core.$strip>;
|
|
1822
|
+
type ClientSessionTokenGetRequest = z.infer<typeof ClientSessionTokenGetRequestSchema>;
|
|
1823
|
+
/**
|
|
1824
|
+
* Response payload for `client.session.token.get`.
|
|
1825
|
+
*
|
|
1826
|
+
* Returns the stored token, or `null` when no token has been recorded for
|
|
1827
|
+
* the given scope (e.g. no SessionToken effect was contributed at hook time).
|
|
1828
|
+
*/
|
|
1829
|
+
declare const ClientSessionTokenGetResponseSchema: z.ZodObject<{
|
|
1830
|
+
token: z.ZodNullable<z.ZodString>;
|
|
1831
|
+
}, z.core.$strip>;
|
|
1832
|
+
type ClientSessionTokenGetResponse = z.infer<typeof ClientSessionTokenGetResponseSchema>;
|
|
1833
|
+
//#endregion
|
|
1778
1834
|
//#region core/contracts/src/client/namespace.d.ts
|
|
1779
1835
|
/**
|
|
1780
1836
|
* Client namespace definition.
|
|
@@ -1788,7 +1844,10 @@ type ClientWiringEntry = z.infer<typeof ClientWiringEntrySchema>;
|
|
|
1788
1844
|
* `client.session.turn.started`, `client.session.turn.completed`,
|
|
1789
1845
|
* `client.session.tool.pre`, `client.session.tool.post`,
|
|
1790
1846
|
* `client.session.compaction.pre`, `client.session.subagent.started`,
|
|
1791
|
-
* `client.session.subagent.completed`), the
|
|
1847
|
+
* `client.session.subagent.completed`), the session correlation-token
|
|
1848
|
+
* subject (`client.session.token.get` as a normal bus request reachable by
|
|
1849
|
+
* remote MCP servers — the token is handed to the runtime in-process via
|
|
1850
|
+
* {@link ClientSessionTokenSink}, never over the bus), the global
|
|
1792
1851
|
* wiring aggregator (`client.wiring.list`), the binary management
|
|
1793
1852
|
* subjects (`client.list`, `client.install`, `client.uninstall`,
|
|
1794
1853
|
* `client.update`, `client.setActive`, `client.installJob.progress`,
|
|
@@ -2324,6 +2383,16 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2324
2383
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2325
2384
|
agentTranscriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2326
2385
|
}, _$zod_v4_core0.$strip>;
|
|
2386
|
+
'session.token.get': {
|
|
2387
|
+
request: _$zod.ZodObject<{
|
|
2388
|
+
clientId: _$zod.ZodString;
|
|
2389
|
+
adapterSessionId: _$zod.ZodString;
|
|
2390
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2391
|
+
}, _$zod_v4_core0.$strip>;
|
|
2392
|
+
response: _$zod.ZodObject<{
|
|
2393
|
+
token: _$zod.ZodNullable<_$zod.ZodString>;
|
|
2394
|
+
}, _$zod_v4_core0.$strip>;
|
|
2395
|
+
};
|
|
2327
2396
|
'wiring.list': {
|
|
2328
2397
|
request: _$zod.ZodObject<{
|
|
2329
2398
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2451,8 +2520,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
|
|
|
2451
2520
|
reason: _$zod.ZodEnum<{
|
|
2452
2521
|
update: "update";
|
|
2453
2522
|
install: "install";
|
|
2454
|
-
uninstall: "uninstall";
|
|
2455
2523
|
"set-active": "set-active";
|
|
2524
|
+
uninstall: "uninstall";
|
|
2456
2525
|
}>;
|
|
2457
2526
|
}, _$zod_v4_core0.$strip>;
|
|
2458
2527
|
resolveBinary: {
|
|
@@ -3000,6 +3069,16 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
3000
3069
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3001
3070
|
agentTranscriptPath: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3002
3071
|
}, _$zod_v4_core0.$strip>;
|
|
3072
|
+
'session.token.get': {
|
|
3073
|
+
request: _$zod.ZodObject<{
|
|
3074
|
+
clientId: _$zod.ZodString;
|
|
3075
|
+
adapterSessionId: _$zod.ZodString;
|
|
3076
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3077
|
+
}, _$zod_v4_core0.$strip>;
|
|
3078
|
+
response: _$zod.ZodObject<{
|
|
3079
|
+
token: _$zod.ZodNullable<_$zod.ZodString>;
|
|
3080
|
+
}, _$zod_v4_core0.$strip>;
|
|
3081
|
+
};
|
|
3003
3082
|
'wiring.list': {
|
|
3004
3083
|
request: _$zod.ZodObject<{
|
|
3005
3084
|
clientId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -3127,8 +3206,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
3127
3206
|
reason: _$zod.ZodEnum<{
|
|
3128
3207
|
update: "update";
|
|
3129
3208
|
install: "install";
|
|
3130
|
-
uninstall: "uninstall";
|
|
3131
3209
|
"set-active": "set-active";
|
|
3210
|
+
uninstall: "uninstall";
|
|
3132
3211
|
}>;
|
|
3133
3212
|
}, _$zod_v4_core0.$strip>;
|
|
3134
3213
|
resolveBinary: {
|
|
@@ -3531,4 +3610,4 @@ type SessionConfigDestroyResponse = z.infer<(typeof ClientSessionConfigSchemas)[
|
|
|
3531
3610
|
type SessionConfigCleanupRequest = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['request']>;
|
|
3532
3611
|
type SessionConfigCleanupResponse = z.infer<(typeof ClientSessionConfigSchemas)['sessionConfig.cleanup']['response']>;
|
|
3533
3612
|
//#endregion
|
|
3534
|
-
export {
|
|
3613
|
+
export { ClientSessionCompactionPreSchema as $, ClientUninstallRequest as $t, SessionConfigInheritance as A, ClientScanResultSchema as An, ClientRuntimeObserveResponse as At, SessionConfigTeardownResponseSchema as B, ClientUsageIngestSchema as Bn, ClientInstallCompleted as Bt, SessionConfigCleanupRequest as C, ClientAccountObserveSchema as Cn, ClientWiringEntrySchema as Ct, SessionConfigDestroyRequest as D, ClientIdentityObservationSchema as Dn, ClientRuntimeIsAdapterManagedResponse as Dt, SessionConfigCreateResponse as E, ClientIdentityObservation as En, ClientRuntimeIsAdapterManagedRequest as Et, SessionConfigSetupResponse as F, ClientSessionAccountObserveSchema as Fn, ClientRuntimeSourceSchema as Ft, ClientSessionTokenGetRequestSchema as G, ClientUsageWindows as Gn, ClientInstallResponse as Gt, ClientNamespace as H, ClientUsageSnapshotSchema as Hn, ClientInstallProgress as Ht, SessionConfigSetupResponseSchema as I, ClientSessionLocator as In, ClientRuntimeStarted as It, ClientSessionTokenScope as J, ClientExecutionContext as Jn, ClientListResponse as Jt, ClientSessionTokenGetResponse as K, ClientUsageWindowsSchema as Kn, ClientInstallSchema as Kt, SessionConfigTeardownRequest as L, ClientSessionLocatorSchema as Ln, ClientRuntimeStartedSchema as Lt, SessionConfigLeaseIdSchema as M, ClientScanTargetSchema as Mn, ClientRuntimeSource as Mt, SessionConfigSetupRequest as N, ClientSessionAccountObserveRequest as Nn, ClientRuntimeSourceLayer as Nt, SessionConfigDestroyResponse as O, ClientMetadataSchema as On, ClientRuntimeIsAdapterManagedSchema as Ot, SessionConfigSetupRequestSchema as P, ClientSessionAccountObserveResponse as Pn, ClientRuntimeSourceLayerSchema as Pt, ClientSessionCompactionPre as Q, ClientResolveBinarySchema as Qn, ClientSetActiveSchema as Qt, SessionConfigTeardownRequestSchema as R, ClientUsageIngestRequest as Rn, ClientBinaryListEntry as Rt, ProfileUpdateResponse as S, ClientAccountObserveResponse as Sn, ClientWiringEntry as St, SessionConfigCreateRequest as T, ClientIdentifierStrengthSchema as Tn, ClientRuntimeEvidenceBaseSchema as Tt, ClientSubjects as U, ClientUsageWindow as Un, ClientInstallProgressSchema as Ut, createClientDefinition as V, ClientUsageSnapshot as Vn, ClientInstallCompletedSchema as Vt, ClientSessionTokenGetRequest as W, ClientUsageWindowSchema as Wn, ClientInstallRequest as Wt, CLIENT_SESSION_COMPACTION_TRIGGERS as X, ClientResolveBinaryRequest as Xn, ClientSetActiveRequest as Xt, ClientSessionTokenScopeSchema as Y, ClientExecutionContextSchema as Yn, ClientListSchema as Yt, CLIENT_SESSION_START_MODES as Z, ClientResolveBinaryResponse as Zn, ClientSetActiveResponse as Zt, ProfileListRequest as _, ClientSessionUsageSnapshot as _n, ClientSessionTurnCompletedSchema as _t, ClientConfigPrimeSchema as a, ClientVersionChanged as an, ClientSessionStartModeSchema as at, ProfileSetDefaultResponse as b, ClientAccountIdentifierSchema as bn, ClientSessionUserPromptSubmitted as bt, ClientProfileSchema as c, InstallErrorSchema as cn, ClientSessionSubagentCompleted as ct, ProfileCreateRequest as d, InstalledVersionEntry as dn, ClientSessionSubagentStartedSchema as dt, ClientUninstallResponse as en, ClientSessionCompactionTrigger as et, ProfileCreateResponse as f, InstalledVersionEntrySchema as fn, ClientSessionToolPost as ft, ProfileGetResponse as g, ClientSessionUsageCostProvenanceSchema as gn, ClientSessionTurnCompleted as gt, ProfileGetRequest as h, ClientSessionUsageCostProvenance as hn, ClientSessionToolPreSchema as ht, ClientConfigPrimeResponse as i, ClientUpdateSchema as in, ClientSessionStartMode as it, SessionConfigInheritanceSchema as j, ClientScanTarget as jn, ClientRuntimeObserveSchema as jt, SessionConfigEnvSchema as k, ClientScanResult as kn, ClientRuntimeObserveRequest as kt, ClientProfileSchemas as l, InstallStage as ln, ClientSessionSubagentCompletedSchema as lt, ProfileDeleteResponse as m, ManagedInstallStrategySchema as mn, ClientSessionToolPre as mt, ClientConfigPrimePhaseSchema as n, ClientUpdateRequest as nn, ClientSessionObservedBase as nt, ClientProfile as o, ClientVersionChangedSchema as on, ClientSessionStarted as ot, ProfileDeleteRequest as p, ManagedInstallStrategy as pn, ClientSessionToolPostSchema as pt, ClientSessionTokenGetResponseSchema as q, ClientSchemas as qn, ClientListRequest as qt, ClientConfigPrimeRequest as r, ClientUpdateResponse as rn, ClientSessionObservedBaseSchema as rt, ClientProfileNameSchema as s, InstallError as sn, ClientSessionStartedSchema as st, ClientConfigPrimePhase as t, ClientUninstallSchema as tn, ClientSessionCompactionTriggerSchema as tt, ClientSessionConfigSchemas as u, InstallStageSchema as un, ClientSessionSubagentStarted as ut, ProfileListResponse as v, ClientSessionUsageSnapshotSchema as vn, ClientSessionTurnStarted as vt, SessionConfigCleanupResponse as w, ClientIdentifierStrength as wn, ClientRuntimeEvidenceBase as wt, ProfileUpdateRequest as x, ClientAccountObserveRequest as xn, ClientSessionUserPromptSubmittedSchema as xt, ProfileSetDefaultRequest as y, ClientAccountIdentifier as yn, ClientSessionTurnStartedSchema as yt, SessionConfigTeardownResponse as z, ClientUsageIngestResponse as zn, ClientBinaryListEntrySchema as zt };
|
|
@@ -438,6 +438,7 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
438
438
|
name: z.ZodString;
|
|
439
439
|
frameworkSubject: z.ZodOptional<z.ZodString>;
|
|
440
440
|
responseCapabilities: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
441
|
+
minimumVersion: z.ZodOptional<z.ZodString>;
|
|
441
442
|
}, z.core.$strict>>>;
|
|
442
443
|
}, z.core.$strip>>, z.ZodTransform<{
|
|
443
444
|
supportsHooks: boolean;
|
|
@@ -448,6 +449,7 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
448
449
|
name: string;
|
|
449
450
|
responseCapabilities: readonly string[];
|
|
450
451
|
frameworkSubject?: string | undefined;
|
|
452
|
+
minimumVersion?: string | undefined;
|
|
451
453
|
}[];
|
|
452
454
|
}, {
|
|
453
455
|
supportsHooks: boolean;
|
|
@@ -458,6 +460,7 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
|
|
|
458
460
|
name: string;
|
|
459
461
|
responseCapabilities: readonly string[];
|
|
460
462
|
frameworkSubject?: string | undefined;
|
|
463
|
+
minimumVersion?: string | undefined;
|
|
461
464
|
}[];
|
|
462
465
|
} | undefined>>;
|
|
463
466
|
managedInstall: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -941,6 +944,7 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
941
944
|
name: z.ZodString;
|
|
942
945
|
frameworkSubject: z.ZodOptional<z.ZodString>;
|
|
943
946
|
responseCapabilities: z.ZodDefault<z.ZodReadonly<z.ZodArray<z.ZodString>>>;
|
|
947
|
+
minimumVersion: z.ZodOptional<z.ZodString>;
|
|
944
948
|
}, z.core.$strict>>>;
|
|
945
949
|
}, z.core.$strip>>, z.ZodTransform<{
|
|
946
950
|
supportsHooks: boolean;
|
|
@@ -951,6 +955,7 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
951
955
|
name: string;
|
|
952
956
|
responseCapabilities: readonly string[];
|
|
953
957
|
frameworkSubject?: string | undefined;
|
|
958
|
+
minimumVersion?: string | undefined;
|
|
954
959
|
}[];
|
|
955
960
|
}, {
|
|
956
961
|
supportsHooks: boolean;
|
|
@@ -961,6 +966,7 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
961
966
|
name: string;
|
|
962
967
|
responseCapabilities: readonly string[];
|
|
963
968
|
frameworkSubject?: string | undefined;
|
|
969
|
+
minimumVersion?: string | undefined;
|
|
964
970
|
}[];
|
|
965
971
|
} | undefined>>;
|
|
966
972
|
managedInstall: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-
|
|
1
|
+
import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-Hnsy6XhM.mjs";
|
|
2
2
|
export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
|
package/dist/kernel/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-
|
|
2
|
-
import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-
|
|
1
|
+
import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-zEkS2L862.mjs";
|
|
2
|
+
import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-Hnsy6XhM.mjs";
|
|
3
3
|
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-DeG37kt8.mjs";
|
|
4
4
|
import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-BCU5oByg.mjs";
|
|
5
5
|
import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-CVRT01082.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-
|
|
1
|
+
import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-zEkS2L862.mjs";
|
|
2
2
|
export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
|