@makaio/framework 1.0.0-dev-1789178369476 → 1.0.0-dev-1789178780636
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/adapters/claude/index.d.mts +5 -5
- package/dist/{artifact-DGxKwbHE.mjs → artifact-CH7yhgti.mjs} +1 -1
- package/dist/bus/index.d.mts +1 -1
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-CPlKKH4v.mjs +9 -0
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/artifact/index.mjs +1 -1
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/extension/index.mjs +1 -1
- package/dist/contracts/index.d.mts +44 -44
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/skill/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +1 -1
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{extension-D8uLQSDc.mjs → extension-DRwry8GA.mjs} +1 -1
- package/dist/{index-BqtdO-uk.d.mts → index-4GaVggnR.d.mts} +41 -41
- package/dist/{index-C1nSuiG0.d.mts → index-B6WkHnCQ.d.mts} +1 -1
- package/dist/{index-B4pPwpKk.d.mts → index-BDRfiSz8.d.mts} +1 -1
- package/dist/{index-U--ajOHy.d.mts → index-BI8PuDkI.d.mts} +1 -1
- package/dist/{index-D0xS-mYt.d.mts → index-CA3Uzki8.d.mts} +10 -10
- package/dist/{index-C6e9cwAl2.d.mts → index-CdWxSwhQ2.d.mts} +4 -4
- package/dist/{index-Du4wUv9q.d.mts → index-CsLb9M1M.d.mts} +7 -7
- package/dist/{index-B3fuld9X.d.mts → index-DI07GxEW.d.mts} +5 -5
- package/dist/{index-CdgRoaey.d.mts → index-DNgrWs5j.d.mts} +21 -21
- package/dist/{index-zmDRR8gv2.d.mts → index-DVocx__-2.d.mts} +11 -11
- package/dist/{index-a_peDAyG.d.mts → index-DhunnX8V.d.mts} +13 -7
- package/dist/{index-gu4mzfTr.d.mts → index-GPTSqhvy.d.mts} +1 -1
- package/dist/{index-DyVXhEBC2.d.mts → index-GpfGF9AO2.d.mts} +3 -3
- package/dist/{index-HMb0RcTG2.d.mts → index-KnN2OyWD2.d.mts} +36 -36
- package/dist/{index-GFf4oKBg2.d.mts → index-iVisrVdC2.d.mts} +37 -37
- package/dist/{index-T-aAKybB.d.mts → index-xsaaa85T.d.mts} +8 -8
- 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/kind-registration-WrdMzWmV.mjs +1 -0
- package/dist/{materialization-kP_vEXV3.mjs → materialization-C_92G2CL.mjs} +1 -1
- package/dist/{namespace-DM5vykb7.d.mts → namespace-BrqkCnyt.d.mts} +4 -4
- package/dist/{namespace-f6Kz5cwX.d.mts → namespace-CjvSQYRJ.d.mts} +12 -12
- package/dist/{namespace-B5IFLQc-.d.mts → namespace-DQpBf2CK.d.mts} +6 -6
- package/dist/{namespace-C_tttgJ8.d.mts → namespace-DlOQmhgX.d.mts} +18 -18
- package/dist/{namespace-CPGTaFqO.d.mts → namespace-Phxf0Lep.d.mts} +2 -2
- package/dist/{namespace-LSHmxtMn.d.mts → namespace-uCaKZm89.d.mts} +4 -4
- package/dist/package.json +1 -1
- package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
- package/dist/{schemas-CJKDu4Kt.d.mts → schemas-2_D4iVbb.d.mts} +1 -1
- package/dist/{schemas-Cj6Gbqch.d.mts → schemas-BcynDWi-.d.mts} +7 -7
- package/dist/{schemas-CPNdGMLf.d.mts → schemas-COiUhOce.d.mts} +8 -8
- package/dist/{schemas-CEJe8O6P.d.mts → schemas-DlVKv9QC.d.mts} +4 -4
- package/dist/{schemas-rlb0IQ-G.mjs → schemas-Dl_3zv9l.mjs} +1 -1
- package/dist/{schemas-CeItAAQM.d.mts → schemas-uA8246K9.d.mts} +8 -8
- package/dist/services/adapter-runtime/index.d.mts +3 -3
- package/dist/services/adapter-runtime/namespace.d.mts +1 -1
- package/dist/services/adapter-runtime/schemas.d.mts +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/context-rules/index.d.mts +3 -3
- package/dist/services/execution-target/index.d.mts +2 -2
- package/dist/services/execution-target/namespace.d.mts +1 -1
- package/dist/services/execution-target/schemas.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +36 -36
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +5 -5
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +8 -8
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +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/{types-7QB81mzR.d.mts → types-DhbllltK.d.mts} +15 -15
- package/dist/{worker-DWEma08Q.mjs → worker-IIubsEFG.mjs} +1 -1
- package/dist/{workflow-DA2yJJK-.mjs → workflow-dVr_9gaf.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +39 -39
- package/package.json +1 -1
- package/dist/bus-CyrTcF8F.mjs +0 -9
- package/dist/kind-registration-BcNuwXPC.mjs +0 -1
|
@@ -13,8 +13,8 @@ declare const TrayMenuNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:tr
|
|
|
13
13
|
label: _$zod.ZodString;
|
|
14
14
|
section: _$zod.ZodEnum<{
|
|
15
15
|
tools: "tools";
|
|
16
|
-
views: "views";
|
|
17
16
|
utilities: "utilities";
|
|
17
|
+
views: "views";
|
|
18
18
|
}>;
|
|
19
19
|
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
20
20
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
@@ -48,8 +48,8 @@ declare const TrayMenuNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:tr
|
|
|
48
48
|
}, _$zod_v4_core0.$strip>>;
|
|
49
49
|
section: _$zod.ZodEnum<{
|
|
50
50
|
tools: "tools";
|
|
51
|
-
views: "views";
|
|
52
51
|
utilities: "utilities";
|
|
52
|
+
views: "views";
|
|
53
53
|
}>;
|
|
54
54
|
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
55
55
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -83,8 +83,8 @@ declare const TrayMenuNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:tr
|
|
|
83
83
|
label: _$zod.ZodString;
|
|
84
84
|
section: _$zod.ZodEnum<{
|
|
85
85
|
tools: "tools";
|
|
86
|
-
views: "views";
|
|
87
86
|
utilities: "utilities";
|
|
87
|
+
views: "views";
|
|
88
88
|
}>;
|
|
89
89
|
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
90
90
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
@@ -104,8 +104,8 @@ declare const TrayMenuSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
104
104
|
label: _$zod.ZodString;
|
|
105
105
|
section: _$zod.ZodEnum<{
|
|
106
106
|
tools: "tools";
|
|
107
|
-
views: "views";
|
|
108
107
|
utilities: "utilities";
|
|
108
|
+
views: "views";
|
|
109
109
|
}>;
|
|
110
110
|
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
111
111
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
@@ -139,8 +139,8 @@ declare const TrayMenuSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
139
139
|
}, _$zod_v4_core0.$strip>>;
|
|
140
140
|
section: _$zod.ZodEnum<{
|
|
141
141
|
tools: "tools";
|
|
142
|
-
views: "views";
|
|
143
142
|
utilities: "utilities";
|
|
143
|
+
views: "views";
|
|
144
144
|
}>;
|
|
145
145
|
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
146
146
|
}, _$zod_v4_core0.$strip>;
|
|
@@ -174,8 +174,8 @@ declare const TrayMenuSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
174
174
|
label: _$zod.ZodString;
|
|
175
175
|
section: _$zod.ZodEnum<{
|
|
176
176
|
tools: "tools";
|
|
177
|
-
views: "views";
|
|
178
177
|
utilities: "utilities";
|
|
178
|
+
views: "views";
|
|
179
179
|
}>;
|
|
180
180
|
priority: _$zod.ZodDefault<_$zod.ZodNumber>;
|
|
181
181
|
enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
|
|
@@ -585,8 +585,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
585
585
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
586
586
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
587
587
|
intent: _$zod.ZodEnum<{
|
|
588
|
-
resume: "resume";
|
|
589
588
|
fork: "fork";
|
|
589
|
+
resume: "resume";
|
|
590
590
|
}>;
|
|
591
591
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
592
592
|
reason: _$zod.ZodEnum<{
|
|
@@ -611,8 +611,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
611
611
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
612
612
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
613
613
|
intent: _$zod.ZodEnum<{
|
|
614
|
-
resume: "resume";
|
|
615
614
|
fork: "fork";
|
|
615
|
+
resume: "resume";
|
|
616
616
|
}>;
|
|
617
617
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
618
618
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -967,8 +967,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
967
967
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
968
968
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
969
969
|
intent: _$zod.ZodEnum<{
|
|
970
|
-
resume: "resume";
|
|
971
970
|
fork: "fork";
|
|
971
|
+
resume: "resume";
|
|
972
972
|
}>;
|
|
973
973
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
974
974
|
reason: _$zod.ZodEnum<{
|
|
@@ -993,8 +993,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
993
993
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
994
994
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
995
995
|
intent: _$zod.ZodEnum<{
|
|
996
|
-
resume: "resume";
|
|
997
996
|
fork: "fork";
|
|
997
|
+
resume: "resume";
|
|
998
998
|
}>;
|
|
999
999
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
1000
1000
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -1339,8 +1339,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
1339
1339
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
1340
1340
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1341
1341
|
intent: _$zod.ZodEnum<{
|
|
1342
|
-
resume: "resume";
|
|
1343
1342
|
fork: "fork";
|
|
1343
|
+
resume: "resume";
|
|
1344
1344
|
}>;
|
|
1345
1345
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
1346
1346
|
reason: _$zod.ZodEnum<{
|
|
@@ -1365,8 +1365,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
1365
1365
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1366
1366
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1367
1367
|
intent: _$zod.ZodEnum<{
|
|
1368
|
-
resume: "resume";
|
|
1369
1368
|
fork: "fork";
|
|
1369
|
+
resume: "resume";
|
|
1370
1370
|
}>;
|
|
1371
1371
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
1372
1372
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -1719,8 +1719,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
1719
1719
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
1720
1720
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1721
1721
|
intent: _$zod.ZodEnum<{
|
|
1722
|
-
resume: "resume";
|
|
1723
1722
|
fork: "fork";
|
|
1723
|
+
resume: "resume";
|
|
1724
1724
|
}>;
|
|
1725
1725
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
1726
1726
|
reason: _$zod.ZodEnum<{
|
|
@@ -1745,8 +1745,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
1745
1745
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1746
1746
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
1747
1747
|
intent: _$zod.ZodEnum<{
|
|
1748
|
-
resume: "resume";
|
|
1749
1748
|
fork: "fork";
|
|
1749
|
+
resume: "resume";
|
|
1750
1750
|
}>;
|
|
1751
1751
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
1752
1752
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -2087,8 +2087,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2087
2087
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
2088
2088
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
2089
2089
|
intent: _$zod.ZodEnum<{
|
|
2090
|
-
resume: "resume";
|
|
2091
2090
|
fork: "fork";
|
|
2091
|
+
resume: "resume";
|
|
2092
2092
|
}>;
|
|
2093
2093
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
2094
2094
|
reason: _$zod.ZodEnum<{
|
|
@@ -2113,8 +2113,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2113
2113
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2114
2114
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2115
2115
|
intent: _$zod.ZodEnum<{
|
|
2116
|
-
resume: "resume";
|
|
2117
2116
|
fork: "fork";
|
|
2117
|
+
resume: "resume";
|
|
2118
2118
|
}>;
|
|
2119
2119
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
2120
2120
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -2469,8 +2469,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2469
2469
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
2470
2470
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
2471
2471
|
intent: _$zod.ZodEnum<{
|
|
2472
|
-
resume: "resume";
|
|
2473
2472
|
fork: "fork";
|
|
2473
|
+
resume: "resume";
|
|
2474
2474
|
}>;
|
|
2475
2475
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
2476
2476
|
reason: _$zod.ZodEnum<{
|
|
@@ -2495,8 +2495,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2495
2495
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2496
2496
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2497
2497
|
intent: _$zod.ZodEnum<{
|
|
2498
|
-
resume: "resume";
|
|
2499
2498
|
fork: "fork";
|
|
2499
|
+
resume: "resume";
|
|
2500
2500
|
}>;
|
|
2501
2501
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
2502
2502
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -2841,8 +2841,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2841
2841
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
2842
2842
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
2843
2843
|
intent: _$zod.ZodEnum<{
|
|
2844
|
-
resume: "resume";
|
|
2845
2844
|
fork: "fork";
|
|
2845
|
+
resume: "resume";
|
|
2846
2846
|
}>;
|
|
2847
2847
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
2848
2848
|
reason: _$zod.ZodEnum<{
|
|
@@ -2867,8 +2867,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2867
2867
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
2868
2868
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
2869
2869
|
intent: _$zod.ZodEnum<{
|
|
2870
|
-
resume: "resume";
|
|
2871
2870
|
fork: "fork";
|
|
2871
|
+
resume: "resume";
|
|
2872
2872
|
}>;
|
|
2873
2873
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
2874
2874
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -3221,8 +3221,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
3221
3221
|
type: _$zod.ZodLiteral<"locality.degraded">;
|
|
3222
3222
|
payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
3223
3223
|
intent: _$zod.ZodEnum<{
|
|
3224
|
-
resume: "resume";
|
|
3225
3224
|
fork: "fork";
|
|
3225
|
+
resume: "resume";
|
|
3226
3226
|
}>;
|
|
3227
3227
|
verdictKind: _$zod.ZodLiteral<"degrade">;
|
|
3228
3228
|
reason: _$zod.ZodEnum<{
|
|
@@ -3247,8 +3247,8 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
3247
3247
|
turnId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
3248
3248
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
3249
3249
|
intent: _$zod.ZodEnum<{
|
|
3250
|
-
resume: "resume";
|
|
3251
3250
|
fork: "fork";
|
|
3251
|
+
resume: "resume";
|
|
3252
3252
|
}>;
|
|
3253
3253
|
verdictKind: _$zod.ZodLiteral<"foreign">;
|
|
3254
3254
|
foreignMachineId: _$zod.ZodString;
|
|
@@ -3537,14 +3537,14 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
3537
3537
|
timestamp: number;
|
|
3538
3538
|
type: "locality.degraded";
|
|
3539
3539
|
payload: {
|
|
3540
|
-
intent: "
|
|
3540
|
+
intent: "fork" | "resume";
|
|
3541
3541
|
verdictKind: "degrade";
|
|
3542
3542
|
reason: "adapter-unsupported" | "adapter-mismatch" | "no-adapter-session" | "missing-machine-id" | "machine-mismatch" | "cwd-mismatch" | "transforms-present" | "compression-present" | "connector-swap" | "mid-history-unsupported" | "hybrid-imported-orchestrated" | "native-attempt-failed" | "agent-already-started" | "fork-point-unresolvable" | "adapter-session-moved";
|
|
3543
3543
|
agentId?: string | undefined;
|
|
3544
3544
|
adapterId?: string | undefined;
|
|
3545
3545
|
turnId?: string | undefined;
|
|
3546
3546
|
} | {
|
|
3547
|
-
intent: "
|
|
3547
|
+
intent: "fork" | "resume";
|
|
3548
3548
|
verdictKind: "foreign";
|
|
3549
3549
|
foreignMachineId: string;
|
|
3550
3550
|
agentId?: string | undefined;
|
|
@@ -47,8 +47,8 @@ declare const AdapterRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"a
|
|
|
47
47
|
teardownCompleted: _$zod.ZodObject<{
|
|
48
48
|
evidence: _$zod.ZodEnum<{
|
|
49
49
|
unknown: "unknown";
|
|
50
|
-
closed: "closed";
|
|
51
50
|
exited: "exited";
|
|
51
|
+
closed: "closed";
|
|
52
52
|
released: "released";
|
|
53
53
|
detached: "detached";
|
|
54
54
|
}>;
|
|
@@ -100,8 +100,8 @@ declare const AdapterRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
100
100
|
teardownCompleted: _$zod.ZodObject<{
|
|
101
101
|
evidence: _$zod.ZodEnum<{
|
|
102
102
|
unknown: "unknown";
|
|
103
|
-
closed: "closed";
|
|
104
103
|
exited: "exited";
|
|
104
|
+
closed: "closed";
|
|
105
105
|
released: "released";
|
|
106
106
|
detached: "detached";
|
|
107
107
|
}>;
|
|
@@ -335,8 +335,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
335
335
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
336
336
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
337
337
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
338
|
-
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
339
338
|
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
339
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
340
340
|
timestamp: _$zod.ZodNumber;
|
|
341
341
|
contentText: _$zod.ZodString;
|
|
342
342
|
adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1120,8 +1120,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
1120
1120
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1121
1121
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
1122
1122
|
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1123
|
-
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1124
1123
|
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1124
|
+
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1125
1125
|
timestamp: _$zod.ZodNumber;
|
|
1126
1126
|
contentText: _$zod.ZodString;
|
|
1127
1127
|
adapterMessageId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2030,10 +2030,10 @@ declare const MessageStorageNamespace$1: {
|
|
|
2030
2030
|
})[];
|
|
2031
2031
|
messageId: string;
|
|
2032
2032
|
agentId: never;
|
|
2033
|
-
adapterSessionId: never;
|
|
2034
2033
|
turnId: string | null;
|
|
2035
|
-
|
|
2034
|
+
adapterSessionId: never;
|
|
2036
2035
|
timestamp: number;
|
|
2036
|
+
limit: never;
|
|
2037
2037
|
query: string;
|
|
2038
2038
|
contentText: string;
|
|
2039
2039
|
adapterMessageId: string;
|
package/dist/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{randomBytes as e}from"node:crypto";import{getFullSubjectForSubjectDefinition as t}from"@makaio/framework/core";import{ArtifactSubjects as n,ExecutionAttemptSubjects as r,SubagentSubjects as i,WorkerSubjects as a,WorkflowSubjects as o}from"@makaio/framework/contracts";import{captureHmacIdentitySecretCleanup as s,registerHmacIdentitySecret as c,resolveHmacIdentityPeer as l,resolveHmacIdentitySecret as u,rotateHmacIdentitySecret as d}from"@makaio/framework/node/transports";import{AdapterSubsystemSubjects as f}from"@makaio/framework/services/adapter-subsystem";import{WorkflowStorageSubjects as p}from"@makaio/framework/workflow-engine";const m=[r.runtime.register,r.bootstrap.awaitStart,r.instruction.get,r.operation.admit,r.operation.report,r.operation.deliver,r.outcome.submit,r.control.deliver,r.control.report,a.runtime.inputs.get,a.control.outcome.submit,o.getRunContext,f.listAdapters,o.bootstrapAuthorityState,o.finalizeDelegateResult,p.getExecution,p.setFrame,p.setSpan,p.listFrames,p.getGateInstance,p.setGateInstance,o.frame.started,o.frame.completed,o.frame.failed,o.frame.sessionLinked,o.execution.progress,o.gate.suspended,o.gate.resumed,o.gate.resolved,o.gate.respond,o.state.get,o.state.patch,o.resolveAgent,o.resolveRole,n.kind.list,n.query,n.resolve,n.create,n.revise,n.patch,o.artifact.updated,i.spawn,i.await,i.getStatus,i.kill];function h(e){return[...m.map(t),`workflow.${e}.cancel`]}function g(e){let{executionAttemptId:t,executionId:n,secret:r}=e,i=e.allowedSubjects??h(n);return{secret:r,cleanup:c(t,r,{peerKind:`workflow-execution-attempt`,claims:{executionId:n},allowedSubjects:i})}}function _(t){let n=e(32).toString(`hex`);return g({...t,secret:n})}function v(t){let{executionAttemptId:n,executionId:r}=t,i=l(n);if(i?.kind!==`workflow-execution-attempt`||i.claims?.executionId!==r)throw Error(`Cannot rotate workflow execution bus secret: attempt "${n}" is not registered for execution "${r}"`);let a=e(32).toString(`hex`);return{secret:a,cleanup:d(n,a)}}function y(e){return u(e.executionAttemptId)===null?_(e):v(e)}function b(e){let{executionAttemptId:t,executionId:n}=e,r=l(t);if(r!==null){if(r.kind!==`workflow-execution-attempt`||r.claims?.executionId!==n)throw Error(`Cannot capture workflow execution bus secret cleanup: attempt "${t}" is not registered for execution "${n}"`);return s(t)}}function x(e){return u(e)??void 0}export{h as buildExecutionAttemptAllowedSubjects,b as captureWorkflowExecutionBusSecretCleanup,y as mintOrRotateWorkflowExecutionBusSecret,_ as mintWorkflowExecutionBusSecret,g as registerWorkflowExecutionBusSecret,x as resolveWorkflowExecutionBusSecret,v as rotateWorkflowExecutionBusSecret};
|
|
1
|
+
import{randomBytes as e}from"node:crypto";import{getFullSubjectForSubjectDefinition as t}from"@makaio/framework/core";import{ArtifactSubjects as n,ExecutionAttemptSubjects as r,SubagentSubjects as i,WorkerSubjects as a,WorkflowSubjects as o}from"@makaio/framework/contracts";import{captureHmacIdentitySecretCleanup as s,registerHmacIdentitySecret as c,resolveHmacIdentityPeer as l,resolveHmacIdentitySecret as u,rotateHmacIdentitySecret as d}from"@makaio/framework/node/transports";import{AdapterSubsystemSubjects as f}from"@makaio/framework/services/adapter-subsystem";import{WorkflowStorageSubjects as p}from"@makaio/framework/workflow-engine";const m=[r.runtime.register,r.bootstrap.awaitStart,r.instruction.get,r.operation.admit,r.operation.report,r.operation.deliver,r.outcome.submit,r.control.deliver,r.control.report,a.runtime.inputs.get,a.control.outcome.submit,o.getRunContext,f.listAdapters,o.bootstrapAuthorityState,o.finalizeDelegateResult,p.getExecution,p.setFrame,p.setSpan,p.listFrames,p.getGateInstance,p.setGateInstance,o.frame.started,o.frame.completed,o.frame.failed,o.frame.sessionLinked,o.execution.progress,o.gate.suspended,o.gate.resumed,o.gate.resolved,o.gate.respond,o.state.get,o.state.patch,o.resolveAgent,o.resolveRole,n.kind.list,n.query,n.resolve,n.resolvePart,n.create,n.revise,n.patch,o.artifact.updated,i.spawn,i.await,i.getStatus,i.kill];function h(e){return[...m.map(t),`workflow.${e}.cancel`]}function g(e){let{executionAttemptId:t,executionId:n,secret:r}=e,i=e.allowedSubjects??h(n);return{secret:r,cleanup:c(t,r,{peerKind:`workflow-execution-attempt`,claims:{executionId:n},allowedSubjects:i})}}function _(t){let n=e(32).toString(`hex`);return g({...t,secret:n})}function v(t){let{executionAttemptId:n,executionId:r}=t,i=l(n);if(i?.kind!==`workflow-execution-attempt`||i.claims?.executionId!==r)throw Error(`Cannot rotate workflow execution bus secret: attempt "${n}" is not registered for execution "${r}"`);let a=e(32).toString(`hex`);return{secret:a,cleanup:d(n,a)}}function y(e){return u(e.executionAttemptId)===null?_(e):v(e)}function b(e){let{executionAttemptId:t,executionId:n}=e,r=l(t);if(r!==null){if(r.kind!==`workflow-execution-attempt`||r.claims?.executionId!==n)throw Error(`Cannot capture workflow execution bus secret cleanup: attempt "${t}" is not registered for execution "${n}"`);return s(t)}}function x(e){return u(e)??void 0}export{h as buildExecutionAttemptAllowedSubjects,b as captureWorkflowExecutionBusSecretCleanup,y as mintOrRotateWorkflowExecutionBusSecret,_ as mintWorkflowExecutionBusSecret,g as registerWorkflowExecutionBusSecret,x as resolveWorkflowExecutionBusSecret,v as rotateWorkflowExecutionBusSecret};
|
|
@@ -143,8 +143,8 @@ declare const AdapterRuntimeSchemas: {
|
|
|
143
143
|
teardownCompleted: z.ZodObject<{
|
|
144
144
|
evidence: z.ZodEnum<{
|
|
145
145
|
unknown: "unknown";
|
|
146
|
-
closed: "closed";
|
|
147
146
|
exited: "exited";
|
|
147
|
+
closed: "closed";
|
|
148
148
|
released: "released";
|
|
149
149
|
detached: "detached";
|
|
150
150
|
}>;
|
|
@@ -4,8 +4,8 @@ import { z } from "zod";
|
|
|
4
4
|
/** Visual grouping for system tray menu entries. */
|
|
5
5
|
declare const TrayMenuSectionSchema: z.ZodEnum<{
|
|
6
6
|
tools: "tools";
|
|
7
|
-
views: "views";
|
|
8
7
|
utilities: "utilities";
|
|
8
|
+
views: "views";
|
|
9
9
|
}>;
|
|
10
10
|
/** Opaque metadata echoed back to the owning package on click. */
|
|
11
11
|
declare const TrayMenuMetadataSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -16,8 +16,8 @@ declare const TrayMenuEntrySchema: z.ZodObject<{
|
|
|
16
16
|
label: z.ZodString;
|
|
17
17
|
section: z.ZodEnum<{
|
|
18
18
|
tools: "tools";
|
|
19
|
-
views: "views";
|
|
20
19
|
utilities: "utilities";
|
|
20
|
+
views: "views";
|
|
21
21
|
}>;
|
|
22
22
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
23
23
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -44,8 +44,8 @@ declare const TrayMenuGroupSchema: z.ZodObject<{
|
|
|
44
44
|
}, z.core.$strip>>;
|
|
45
45
|
section: z.ZodEnum<{
|
|
46
46
|
tools: "tools";
|
|
47
|
-
views: "views";
|
|
48
47
|
utilities: "utilities";
|
|
48
|
+
views: "views";
|
|
49
49
|
}>;
|
|
50
50
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
51
51
|
}, z.core.$strip>;
|
|
@@ -56,8 +56,8 @@ declare const TrayMenuListEntrySchema: z.ZodObject<{
|
|
|
56
56
|
label: z.ZodString;
|
|
57
57
|
section: z.ZodEnum<{
|
|
58
58
|
tools: "tools";
|
|
59
|
-
views: "views";
|
|
60
59
|
utilities: "utilities";
|
|
60
|
+
views: "views";
|
|
61
61
|
}>;
|
|
62
62
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
63
63
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -81,8 +81,8 @@ declare const TrayMenuSchemas: {
|
|
|
81
81
|
label: z.ZodString;
|
|
82
82
|
section: z.ZodEnum<{
|
|
83
83
|
tools: "tools";
|
|
84
|
-
views: "views";
|
|
85
84
|
utilities: "utilities";
|
|
85
|
+
views: "views";
|
|
86
86
|
}>;
|
|
87
87
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
88
88
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -116,8 +116,8 @@ declare const TrayMenuSchemas: {
|
|
|
116
116
|
}, z.core.$strip>>;
|
|
117
117
|
section: z.ZodEnum<{
|
|
118
118
|
tools: "tools";
|
|
119
|
-
views: "views";
|
|
120
119
|
utilities: "utilities";
|
|
120
|
+
views: "views";
|
|
121
121
|
}>;
|
|
122
122
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
123
123
|
}, z.core.$strip>;
|
|
@@ -151,8 +151,8 @@ declare const TrayMenuSchemas: {
|
|
|
151
151
|
label: z.ZodString;
|
|
152
152
|
section: z.ZodEnum<{
|
|
153
153
|
tools: "tools";
|
|
154
|
-
views: "views";
|
|
155
154
|
utilities: "utilities";
|
|
155
|
+
views: "views";
|
|
156
156
|
}>;
|
|
157
157
|
priority: z.ZodDefault<z.ZodNumber>;
|
|
158
158
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -15,8 +15,8 @@ declare const SubagentTemplateSchema: z.ZodObject<{
|
|
|
15
15
|
model: z.ZodOptional<z.ZodString>;
|
|
16
16
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
17
17
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
18
|
-
fresh: "fresh";
|
|
19
18
|
fork: "fork";
|
|
19
|
+
fresh: "fresh";
|
|
20
20
|
}>>;
|
|
21
21
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
22
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -46,15 +46,15 @@ declare const SubagentTemplateCreateSchema: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodString;
|
|
47
47
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
48
48
|
adapterName: z.ZodString;
|
|
49
|
-
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
50
49
|
model: z.ZodOptional<z.ZodString>;
|
|
51
50
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
51
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
52
52
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
53
53
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
54
54
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
55
55
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
56
|
-
fresh: "fresh";
|
|
57
56
|
fork: "fork";
|
|
57
|
+
fresh: "fresh";
|
|
58
58
|
}>>;
|
|
59
59
|
}, z.core.$strip>;
|
|
60
60
|
type SubagentTemplateCreate = z.infer<typeof SubagentTemplateCreateSchema>;
|
|
@@ -69,8 +69,8 @@ declare const SubagentTemplateUpdateSchema: z.ZodObject<{
|
|
|
69
69
|
model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
70
70
|
systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
71
71
|
contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
72
|
-
fresh: "fresh";
|
|
73
72
|
fork: "fork";
|
|
73
|
+
fresh: "fresh";
|
|
74
74
|
}>>>;
|
|
75
75
|
allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
76
76
|
disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -114,8 +114,8 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
114
114
|
model: z.ZodOptional<z.ZodString>;
|
|
115
115
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
116
116
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
117
|
-
fresh: "fresh";
|
|
118
117
|
fork: "fork";
|
|
118
|
+
fresh: "fresh";
|
|
119
119
|
}>>;
|
|
120
120
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
121
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -131,15 +131,15 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
131
131
|
name: z.ZodString;
|
|
132
132
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
133
133
|
adapterName: z.ZodString;
|
|
134
|
-
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
135
134
|
model: z.ZodOptional<z.ZodString>;
|
|
136
135
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
136
|
+
providerConfigId: z.ZodOptional<z.ZodString>;
|
|
137
137
|
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
138
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
139
139
|
allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
140
140
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
141
|
-
fresh: "fresh";
|
|
142
141
|
fork: "fork";
|
|
142
|
+
fresh: "fresh";
|
|
143
143
|
}>>;
|
|
144
144
|
}, z.core.$strip>;
|
|
145
145
|
response: z.ZodObject<{
|
|
@@ -155,8 +155,8 @@ declare const SubagentTemplateSettingsSchemas: {
|
|
|
155
155
|
model: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
156
156
|
systemPrompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
157
157
|
contextMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
158
|
-
fresh: "fresh";
|
|
159
158
|
fork: "fork";
|
|
159
|
+
fresh: "fresh";
|
|
160
160
|
}>>>;
|
|
161
161
|
allowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
162
162
|
disallowedTools: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
@@ -100,8 +100,8 @@ declare const ExecutionTargetInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
100
100
|
description: z.ZodOptional<z.ZodString>;
|
|
101
101
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
102
102
|
name: z.ZodString;
|
|
103
|
-
image: z.ZodOptional<z.ZodString>;
|
|
104
103
|
enabled: z.ZodBoolean;
|
|
104
|
+
image: z.ZodOptional<z.ZodString>;
|
|
105
105
|
busUrl: z.ZodOptional<z.ZodString>;
|
|
106
106
|
scope: z.ZodString;
|
|
107
107
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -110,8 +110,8 @@ declare const ExecutionTargetInputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
110
110
|
description: z.ZodOptional<z.ZodString>;
|
|
111
111
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
112
112
|
name: z.ZodString;
|
|
113
|
-
image: z.ZodOptional<z.ZodString>;
|
|
114
113
|
enabled: z.ZodBoolean;
|
|
114
|
+
image: z.ZodOptional<z.ZodString>;
|
|
115
115
|
scope: z.ZodString;
|
|
116
116
|
gitCredentialMode: z.ZodDefault<z.ZodEnum<{
|
|
117
117
|
token: "token";
|
|
@@ -203,8 +203,8 @@ declare const ExecutionTargetSchemas: {
|
|
|
203
203
|
description: z.ZodOptional<z.ZodString>;
|
|
204
204
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
205
205
|
name: z.ZodString;
|
|
206
|
-
image: z.ZodOptional<z.ZodString>;
|
|
207
206
|
enabled: z.ZodBoolean;
|
|
207
|
+
image: z.ZodOptional<z.ZodString>;
|
|
208
208
|
busUrl: z.ZodOptional<z.ZodString>;
|
|
209
209
|
scope: z.ZodString;
|
|
210
210
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -213,8 +213,8 @@ declare const ExecutionTargetSchemas: {
|
|
|
213
213
|
description: z.ZodOptional<z.ZodString>;
|
|
214
214
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
215
215
|
name: z.ZodString;
|
|
216
|
-
image: z.ZodOptional<z.ZodString>;
|
|
217
216
|
enabled: z.ZodBoolean;
|
|
217
|
+
image: z.ZodOptional<z.ZodString>;
|
|
218
218
|
scope: z.ZodString;
|
|
219
219
|
gitCredentialMode: z.ZodDefault<z.ZodEnum<{
|
|
220
220
|
token: "token";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{r as n,u as r}from"./kind-registration-
|
|
1
|
+
import{n as e,o as t}from"./json-value-DM-EjTC1.mjs";import{r as n,u as r}from"./kind-registration-WrdMzWmV.mjs";import{t as i}from"./repo-context-cO-TLEGN.mjs";import{z as a}from"zod";const o=a.string().min(1).regex(/\S/),s=a.strictObject({refClass:a.literal(`artifact`),kind:o,id:o,revision:o}),c=`x-makaio-value-type`,l=`evidence/v1`,u=a.string().min(1).regex(/\S/),d=a.strictObject({kind:a.literal(`whole-source`)}),f=a.strictObject({kind:a.literal(`lines`),startLine:a.number().int().positive(),lineCount:a.number().int().positive()}),p=a.strictObject({kind:a.literal(`data-path`),path:n}),m=a.strictObject({kind:a.literal(`git-file`),repository:i.strict(),path:u,commit:a.string().regex(/^(?:[0-9a-fA-F]{40}|[0-9a-fA-F]{64})$/)}),h=a.strictObject({kind:a.literal(`confluence-page`),site:u,pageId:u,version:a.number().int().positive()}),g=a.strictObject({kind:a.literal(`artifact`),reference:s}),_=a.union([a.strictObject({source:m,location:a.union([d,f]),excerpt:a.string().optional()}),a.strictObject({source:h,location:d,excerpt:a.string().optional()}),a.strictObject({source:g,location:a.union([d,p]),excerpt:a.string().optional()})]).meta({title:`EvidenceValue`,description:`An immutable, directly cited source and its source-specific location.`,[c]:l}),v=a.string().regex(/^(?:\/(?:[^~/]|~[01])*)+$/,`Expected a data-relative JSON Pointer`),y=a.object({kind:a.string().min(1),id:a.string().min(1),displayName:a.string().optional()}),b=a.object({level:a.string().min(1),ids:a.record(a.string().min(1),a.string().min(1)).optional()}).superRefine((e,t)=>{e.level!==`global`&&(!e.ids||Object.keys(e.ids).length===0)&&t.addIssue({code:a.ZodIssueCode.custom,path:[`ids`],message:`ids is required when scope level is not 'global'`})}),x=a.object({level:a.string().min(1),ids:a.record(a.string().min(1),a.string().min(1)).optional()}),S=a.object({refClass:a.literal(`local`).default(`local`),artifact:s,localId:a.string().min(1)}),C=a.object({refClass:a.literal(`evidence`).default(`evidence`),kind:a.string().min(1),id:a.string().min(1),revision:a.string().min(1).optional(),locator:a.string().min(1).optional()}),w=a.strictObject({refClass:a.literal(`entity`),entityType:a.string().min(1),id:a.string().min(1)}),T=a.discriminatedUnion(`refClass`,[s,S,C,w]);function E(e){return!e||typeof e!=`object`||Array.isArray(e)||`refClass`in e?e:`artifact`in e&&`localId`in e?{...e,refClass:`local`}:`locator`in e||!(`revision`in e)?{...e,refClass:`evidence`}:{...e,refClass:`artifact`}}const D=a.preprocess(E,T),O=a.discriminatedUnion(`refClass`,[s.extend({revision:s.shape.revision.optional()}),S,C,w]);function k(e){return!e||typeof e!=`object`||Array.isArray(e)||`refClass`in e?e:`artifact`in e&&`localId`in e?{...e,refClass:`local`}:`locator`in e?{...e,refClass:`evidence`}:{...e,refClass:`artifact`}}const A=a.preprocess(k,O),j=a.object({type:a.string().min(1),target:D}),M=a.enum([`assumed`,`inferred`,`stated`,`confirmed`,`verified`]),N=a.object({kind:a.string().min(1),actor:y,timestamp:a.number().int().nonnegative(),detail:a.string().optional(),evidenceRef:D.optional()}),P=a.object({level:M,basis:a.array(N)}),F=a.object({id:a.string().min(1),kind:a.string().min(1),summary:a.string().min(1),detail:a.string().optional(),severity:a.enum([`info`,`warning`,`blocker`]).optional(),tags:a.array(a.string().min(1)).optional(),regarding:a.union([s,S]).optional(),evidence:a.union([s,C]).optional(),actor:y,timestamp:a.number().int().nonnegative()}),I=a.object({markdown:a.string().optional(),summary:a.string().optional(),plaintext:a.string().optional()}),L=a.object({kind:s.shape.kind,id:s.shape.id,revision:s.shape.revision,scope:b,schemaVersion:r,data:e,relations:a.array(j),evidence:a.array(_).optional(),confidence:P.optional(),representations:I.optional(),actor:y,timestamp:a.number().int().nonnegative(),createdAt:a.number().int().nonnegative().optional()}),R=a.object({type:a.string().min(1),symmetry:a.enum([`asymmetric`,`symmetric`]),implication:a.string().min(1).optional(),sourceKinds:a.array(a.string().min(1)).optional(),targetKinds:a.array(a.string().min(1)).optional(),targetRefClasses:a.array(a.enum([`artifact`,`local`,`evidence`,`entity`])).optional()}),z=a.object({kind:a.string().min(1).optional(),scope:x.optional(),ids:a.array(a.string().min(1)).optional(),currentOnly:a.boolean().optional(),search:a.string().optional(),relation:a.object({type:a.string().min(1).optional(),target:A.optional()}).optional(),confidence:a.object({maxLevel:M.optional(),minLevel:M.optional()}).optional(),indexed:a.record(a.string(),t).optional(),limit:a.number().int().min(1).optional()}),B=a.object({base:s,target:s}),V=a.object({base:L,target:L,changedPaths:a.array(a.string())});export{_ as C,l as S,w as _,z as a,R as b,j as c,L as d,b as f,P as g,M as h,F as i,D as l,N as m,B as n,x as o,v as p,V as r,A as s,y as t,I as u,C as v,s as w,c as x,S as y};
|
|
@@ -17,9 +17,9 @@ declare const AdapterSubsystemSchemas: {
|
|
|
17
17
|
response: z.ZodObject<{
|
|
18
18
|
config: z.ZodNullable<z.ZodObject<{
|
|
19
19
|
description: z.ZodOptional<z.ZodString>;
|
|
20
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
21
|
-
protocol: z.ZodOptional<z.ZodString>;
|
|
22
20
|
clientId: z.ZodOptional<z.ZodString>;
|
|
21
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
22
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
23
23
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
24
24
|
label: z.ZodString;
|
|
25
25
|
url: z.ZodString;
|
|
@@ -45,9 +45,9 @@ declare const AdapterSubsystemSchemas: {
|
|
|
45
45
|
response: z.ZodObject<{
|
|
46
46
|
configs: z.ZodArray<z.ZodObject<{
|
|
47
47
|
description: z.ZodOptional<z.ZodString>;
|
|
48
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
49
|
-
protocol: z.ZodOptional<z.ZodString>;
|
|
50
48
|
clientId: z.ZodOptional<z.ZodString>;
|
|
49
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
50
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
51
51
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
52
52
|
label: z.ZodString;
|
|
53
53
|
url: z.ZodString;
|
|
@@ -1716,9 +1716,9 @@ declare const AdapterSubsystemSchemas: {
|
|
|
1716
1716
|
response: z.ZodObject<{
|
|
1717
1717
|
config: z.ZodObject<{
|
|
1718
1718
|
description: z.ZodOptional<z.ZodString>;
|
|
1719
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1720
|
-
protocol: z.ZodOptional<z.ZodString>;
|
|
1721
1719
|
clientId: z.ZodOptional<z.ZodString>;
|
|
1720
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
1721
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1722
1722
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1723
1723
|
label: z.ZodString;
|
|
1724
1724
|
url: z.ZodString;
|
|
@@ -3121,9 +3121,9 @@ type BindingRecord = z.infer<typeof BindingRecordSchema>;
|
|
|
3121
3121
|
/** Normalized adapter file-backed read model. */
|
|
3122
3122
|
declare const AdapterFileConfigSchema: z.ZodObject<{
|
|
3123
3123
|
description: z.ZodOptional<z.ZodString>;
|
|
3124
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3125
|
-
protocol: z.ZodOptional<z.ZodString>;
|
|
3126
3124
|
clientId: z.ZodOptional<z.ZodString>;
|
|
3125
|
+
protocol: z.ZodOptional<z.ZodString>;
|
|
3126
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3127
3127
|
helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3128
3128
|
label: z.ZodString;
|
|
3129
3129
|
url: z.ZodString;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-
|
|
2
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-
|
|
3
|
-
import { a as ResolveLiveAdapterIdentity, c as resolveDeterministicAdapterId, i as ResolveLiveAdapterId, n as AdapterRuntimeIdentityHandlerOptions, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../../index-
|
|
1
|
+
import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-2_D4iVbb.mjs";
|
|
2
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-Phxf0Lep.mjs";
|
|
3
|
+
import { a as ResolveLiveAdapterIdentity, c as resolveDeterministicAdapterId, i as ResolveLiveAdapterId, n as AdapterRuntimeIdentityHandlerOptions, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../../index-B6WkHnCQ.mjs";
|
|
4
4
|
export { AdapterIdentityRegistry, AdapterRuntimeIdentityHandlerOptions, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, RegisteredAdapterRuntimeIdentityHandlers, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveAdapterId, ResolveLiveAdapterIdentity, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema, buildDeterministicAdapterId, registerAdapterRuntimeIdentityHandlers, resolveDeterministicAdapterId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-
|
|
1
|
+
import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-Phxf0Lep.mjs";
|
|
2
2
|
export { AdapterRuntimeNamespace, AdapterRuntimeSubjects };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-
|
|
1
|
+
import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-2_D4iVbb.mjs";
|
|
2
2
|
export { AdapterRuntimeSchemas, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-
|
|
1
|
+
import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-uA8246K9.mjs";
|
|
2
2
|
import { a as CreateCanonicalProviderConfigInput, c as AdapterFileConfigSet, i as CanonicalProviderConfigPatchSchema, l as IAdapterConfigRepository, n as CanonicalProviderConfigAuthPayload, o as CreateCanonicalProviderConfigInputPayload, r as CanonicalProviderConfigPatch, s as CreateCanonicalProviderConfigInputSchema, t as CanonicalProviderConfigAuth, u as ProviderConfigFileSet } from "../../index-DiZ4LmyE.mjs";
|
|
3
|
-
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-
|
|
3
|
+
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-CjvSQYRJ.mjs";
|
|
4
4
|
export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterRuntimePackages, AdapterRuntimePackagesSchema, AdapterRuntimeSnapshot, AdapterRuntimeSnapshotErrorCode, AdapterRuntimeSnapshotErrorCodeSchema, AdapterRuntimeSnapshotResolution, AdapterRuntimeSnapshotResolutionSchema, AdapterRuntimeSnapshotSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigAuth, CanonicalProviderConfigAuthPayload, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CompatibleAuthOption, CompatibleAuthOptionSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigAuthSummary, ProviderConfigAuthSummarySchema, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet, ProviderRuntimeSnapshot, ProviderRuntimeSnapshotSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-
|
|
1
|
+
import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-CjvSQYRJ.mjs";
|
|
2
2
|
export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterSubsystemNamespace, AdapterSubsystemSubjects };
|
|
@@ -160,8 +160,8 @@ declare const ResolvedContextRulesSchema: z.ZodObject<{
|
|
|
160
160
|
declare const ContextRuleChangedEventSchema: z.ZodObject<{
|
|
161
161
|
ruleId: z.ZodString;
|
|
162
162
|
changeType: z.ZodEnum<{
|
|
163
|
-
updated: "updated";
|
|
164
163
|
created: "created";
|
|
164
|
+
updated: "updated";
|
|
165
165
|
deleted: "deleted";
|
|
166
166
|
}>;
|
|
167
167
|
previous: z.ZodNullable<z.ZodObject<{
|
|
@@ -313,8 +313,8 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
|
|
|
313
313
|
changed: _$zod.ZodObject<{
|
|
314
314
|
ruleId: _$zod.ZodString;
|
|
315
315
|
changeType: _$zod.ZodEnum<{
|
|
316
|
-
updated: "updated";
|
|
317
316
|
created: "created";
|
|
317
|
+
updated: "updated";
|
|
318
318
|
deleted: "deleted";
|
|
319
319
|
}>;
|
|
320
320
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|
|
@@ -383,8 +383,8 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
|
|
|
383
383
|
changed: _$zod.ZodObject<{
|
|
384
384
|
ruleId: _$zod.ZodString;
|
|
385
385
|
changeType: _$zod.ZodEnum<{
|
|
386
|
-
updated: "updated";
|
|
387
386
|
created: "created";
|
|
387
|
+
updated: "updated";
|
|
388
388
|
deleted: "deleted";
|
|
389
389
|
}>;
|
|
390
390
|
previous: _$zod.ZodNullable<_$zod.ZodObject<{
|