@makaio/framework 1.0.0-dev-1781354548379 → 1.0.0-dev-1781368205459
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/README.md +1 -1
- package/dist/.makaio-build.json +2 -2
- package/dist/adapter-subsystem/index.d.mts +493 -0
- package/dist/adapter-subsystem/index.mjs +1 -0
- package/dist/clients/index.d.mts +5 -5
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +62 -62
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/inbound-hooks/index.d.mts +174 -0
- package/dist/inbound-hooks/index.mjs +1 -0
- package/dist/{index-CH5U3zSA2.d.mts → index-B4vJi_iM2.d.mts} +1 -1
- package/dist/{index-C3zfJg6s.d.mts → index-B6VdcJ5l.d.mts} +34 -34
- package/dist/{index-Da4ABgRq.d.mts → index-Cb0zGPMV.d.mts} +24 -24
- package/dist/{index-DPIdX6kb.d.mts → index-ChrHbhJV.d.mts} +99 -99
- package/dist/{index-BpXX9WZJ.d.mts → index-Ckm-R1Cr.d.mts} +6 -6
- package/dist/{index-BHzgDuRE.d.mts → index-D0Fupmhd.d.mts} +3 -3
- package/dist/{index-CTn_Xi-p.d.mts → index-DC6F_m3G.d.mts} +1 -1
- package/dist/{index-IekAD8Gp.d.mts → index-DhpOh71Z.d.mts} +4 -4
- package/dist/{index-DrGLAuZc.d.mts → index-Dtj6N2sx.d.mts} +2 -2
- package/dist/{index-BAhJKQLX.d.mts → index-EsXVjKsv.d.mts} +4 -4
- package/dist/{index-BDRKAxIV.d.mts → index-dAjtejnc.d.mts} +2 -2
- 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-B73Sxj5L.d.mts → namespace-B03JE_ec.d.mts} +4 -4
- package/dist/{namespace-DRFJN-_z.d.mts → namespace-BGmNI3O1.d.mts} +2 -2
- package/dist/{namespace-BxxBhcV_.d.mts → namespace-BPlAuhc_.d.mts} +9 -9
- package/dist/{namespace-B60mn8J-2.d.mts → namespace-CtK3nKKj2.d.mts} +2 -2
- package/dist/{namespace-Boe6l5n9.d.mts → namespace-_Ii2qs15.d.mts} +42 -42
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.d.mts +8 -59
- package/dist/runtime-node/index.mjs +26 -26
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/{schema-DGMLvVoQ.d.mts → schema-BJS05p13.d.mts} +2 -2
- package/dist/{schemas-Dv5FxHDT.d.mts → schemas-C2c64X6h.d.mts} +2 -2
- package/dist/{schemas-kVcJMjjn2.d.mts → schemas-CwF2K9N52.d.mts} +7 -7
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/execution-target/index.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/git/namespace.d.mts +2 -2
- package/dist/services/git/schemas.d.mts +1 -1
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +20 -20
- 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/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{types-BpuLMR2m.d.mts → types-CjrDiL2H.d.mts} +34 -34
- package/dist/workflow-engine/index.d.mts +30 -30
- package/package.json +9 -1
- package/dist/drizzle/0001_messages_content_tsv.na.md +0 -18
- package/dist/drizzle/meta/0000_snapshot.json +0 -2813
- package/dist/drizzle/meta/0001_snapshot.json +0 -2820
- package/dist/drizzle/meta/0002_snapshot.json +0 -2827
- package/dist/drizzle/meta/0003_snapshot.json +0 -2834
- package/dist/drizzle/meta/0004_snapshot.json +0 -2842
- package/dist/drizzle/meta/0005_snapshot.json +0 -2849
- package/dist/drizzle/meta/0006_snapshot.json +0 -2865
- package/dist/drizzle/meta/0007_snapshot.json +0 -2879
- package/dist/drizzle/meta/0008_snapshot.json +0 -2886
- package/dist/drizzle/meta/0009_snapshot.json +0 -2901
- package/dist/drizzle/meta/0010_snapshot.json +0 -2908
- package/dist/drizzle/meta/0011_snapshot.json +0 -2915
- package/dist/drizzle/meta/0012_snapshot.json +0 -2934
- package/dist/drizzle/meta/0013_snapshot.json +0 -2954
- package/dist/drizzle/meta/0014_snapshot.json +0 -2959
- package/dist/drizzle/meta/0015_snapshot.json +0 -2966
- package/dist/drizzle/meta/0016_snapshot.json +0 -2973
- package/dist/drizzle/meta/0017_snapshot.json +0 -2980
|
@@ -44,9 +44,9 @@ type ContainerRuntime = z.infer<typeof ContainerRuntimeSchema>;
|
|
|
44
44
|
* Container state.
|
|
45
45
|
*/
|
|
46
46
|
declare const ContainerStateSchema: z.ZodEnum<{
|
|
47
|
-
created: "created";
|
|
48
47
|
running: "running";
|
|
49
48
|
stopped: "stopped";
|
|
49
|
+
created: "created";
|
|
50
50
|
destroyed: "destroyed";
|
|
51
51
|
}>;
|
|
52
52
|
type ContainerState = z.infer<typeof ContainerStateSchema>;
|
|
@@ -225,9 +225,9 @@ type StatusRequest = z.infer<typeof StatusRequestSchema>;
|
|
|
225
225
|
*/
|
|
226
226
|
declare const StatusResponseSchema: z.ZodObject<{
|
|
227
227
|
state: z.ZodEnum<{
|
|
228
|
-
created: "created";
|
|
229
228
|
running: "running";
|
|
230
229
|
stopped: "stopped";
|
|
230
|
+
created: "created";
|
|
231
231
|
destroyed: "destroyed";
|
|
232
232
|
}>;
|
|
233
233
|
sessionId: z.ZodString;
|
|
@@ -360,9 +360,9 @@ declare const DockerNamespace: _$_makaio_core0.BusNamespaceDefinition<"docker",
|
|
|
360
360
|
}, _$zod_v4_core0.$strip>;
|
|
361
361
|
response: _$zod.ZodObject<{
|
|
362
362
|
state: _$zod.ZodEnum<{
|
|
363
|
-
created: "created";
|
|
364
363
|
running: "running";
|
|
365
364
|
stopped: "stopped";
|
|
365
|
+
created: "created";
|
|
366
366
|
destroyed: "destroyed";
|
|
367
367
|
}>;
|
|
368
368
|
sessionId: _$zod.ZodString;
|
|
@@ -478,9 +478,9 @@ declare const DockerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
|
|
|
478
478
|
}, _$zod_v4_core0.$strip>;
|
|
479
479
|
response: _$zod.ZodObject<{
|
|
480
480
|
state: _$zod.ZodEnum<{
|
|
481
|
-
created: "created";
|
|
482
481
|
running: "running";
|
|
483
482
|
stopped: "stopped";
|
|
483
|
+
created: "created";
|
|
484
484
|
destroyed: "destroyed";
|
|
485
485
|
}>;
|
|
486
486
|
sessionId: _$zod.ZodString;
|
|
@@ -598,9 +598,9 @@ declare const ContainerSpawnNamespace: _$_makaio_core0.BusNamespaceDefinition<"d
|
|
|
598
598
|
}, _$zod_v4_core0.$strip>;
|
|
599
599
|
response: _$zod.ZodObject<{
|
|
600
600
|
state: _$zod.ZodEnum<{
|
|
601
|
-
created: "created";
|
|
602
601
|
running: "running";
|
|
603
602
|
stopped: "stopped";
|
|
603
|
+
created: "created";
|
|
604
604
|
destroyed: "destroyed";
|
|
605
605
|
}>;
|
|
606
606
|
sessionId: _$zod.ZodString;
|
|
@@ -716,9 +716,9 @@ declare const ContainerSpawnSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
716
716
|
}, _$zod_v4_core0.$strip>;
|
|
717
717
|
response: _$zod.ZodObject<{
|
|
718
718
|
state: _$zod.ZodEnum<{
|
|
719
|
-
created: "created";
|
|
720
719
|
running: "running";
|
|
721
720
|
stopped: "stopped";
|
|
721
|
+
created: "created";
|
|
722
722
|
destroyed: "destroyed";
|
|
723
723
|
}>;
|
|
724
724
|
sessionId: _$zod.ZodString;
|
|
@@ -1565,8 +1565,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
|
|
|
1565
1565
|
level: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
1566
1566
|
error: "error";
|
|
1567
1567
|
warn: "warn";
|
|
1568
|
-
debug: "debug";
|
|
1569
1568
|
info: "info";
|
|
1569
|
+
debug: "debug";
|
|
1570
1570
|
}>>;
|
|
1571
1571
|
}, _$zod_v4_core0.$strip>;
|
|
1572
1572
|
error: _$zod.ZodObject<{
|
|
@@ -3158,8 +3158,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
|
|
|
3158
3158
|
level: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
3159
3159
|
error: "error";
|
|
3160
3160
|
warn: "warn";
|
|
3161
|
-
debug: "debug";
|
|
3162
3161
|
info: "info";
|
|
3162
|
+
debug: "debug";
|
|
3163
3163
|
}>>;
|
|
3164
3164
|
}, _$zod_v4_core0.$strip>;
|
|
3165
3165
|
error: _$zod.ZodObject<{
|
|
@@ -4775,8 +4775,8 @@ declare const AdapterSchemas: {
|
|
|
4775
4775
|
level: _$zod.ZodOptional<_$zod.ZodEnum<{
|
|
4776
4776
|
error: "error";
|
|
4777
4777
|
warn: "warn";
|
|
4778
|
-
debug: "debug";
|
|
4779
4778
|
info: "info";
|
|
4779
|
+
debug: "debug";
|
|
4780
4780
|
}>>;
|
|
4781
4781
|
}, _$zod_v4_core0.$strip>;
|
|
4782
4782
|
error: _$zod.ZodObject<{
|
|
@@ -2,7 +2,7 @@ import { F as ArtifactLifecycleHookRegistration$1, P as ArtifactLifecycleHookEve
|
|
|
2
2
|
import { A as VersionRange, O as VersionLiteral$1, r as ClientDefinition$1 } from "./definition-BSghHJpQ.mjs";
|
|
3
3
|
import { o as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-q6iLw11H.mjs";
|
|
4
4
|
import { t as RequiredTimeoutConfig } from "./index-Bsp0O_sI.mjs";
|
|
5
|
-
import { b as SESSION_EVENT_TYPES, i as MakaioSessionEvent$1, j as SessionMessage$1 } from "./types-
|
|
5
|
+
import { b as SESSION_EVENT_TYPES, i as MakaioSessionEvent$1, j as SessionMessage$1 } from "./types-CjrDiL2H.mjs";
|
|
6
6
|
import { D as EntityUIConfig, I as FormFieldProps, Q as JsonValue$1 } from "./index-fVgKVvta.mjs";
|
|
7
7
|
import { l as FacetNamespaceDefinition } from "./index-Bibt5jAX.mjs";
|
|
8
8
|
import { t as SurfaceBindingDefinition } from "./definition-DqJOg6Lv.mjs";
|
|
@@ -146,6 +146,7 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
|
|
|
146
146
|
enabled: z.ZodArray<z.ZodString>;
|
|
147
147
|
disabled: z.ZodArray<z.ZodString>;
|
|
148
148
|
}, z.core.$strip>;
|
|
149
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
149
150
|
registryTools: z.ZodObject<{
|
|
150
151
|
enabled: z.ZodArray<z.ZodString>;
|
|
151
152
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -175,7 +176,6 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
|
|
|
175
176
|
"always-ask": "always-ask";
|
|
176
177
|
"full-access": "full-access";
|
|
177
178
|
}>>>;
|
|
178
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
179
179
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
180
180
|
reject: "reject";
|
|
181
181
|
"always-ask": "always-ask";
|
|
@@ -322,6 +322,7 @@ declare const HarnessSchemas: {
|
|
|
322
322
|
enabled: z.ZodArray<z.ZodString>;
|
|
323
323
|
disabled: z.ZodArray<z.ZodString>;
|
|
324
324
|
}, z.core.$strip>;
|
|
325
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
325
326
|
registryTools: z.ZodObject<{
|
|
326
327
|
enabled: z.ZodArray<z.ZodString>;
|
|
327
328
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -351,7 +352,6 @@ declare const HarnessSchemas: {
|
|
|
351
352
|
"always-ask": "always-ask";
|
|
352
353
|
"full-access": "full-access";
|
|
353
354
|
}>>>;
|
|
354
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
355
355
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
356
356
|
reject: "reject";
|
|
357
357
|
"always-ask": "always-ask";
|
|
@@ -765,6 +765,7 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
|
|
|
765
765
|
enabled: z.ZodArray<z.ZodString>;
|
|
766
766
|
disabled: z.ZodArray<z.ZodString>;
|
|
767
767
|
}, z.core.$strip>;
|
|
768
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
768
769
|
registryTools: z.ZodObject<{
|
|
769
770
|
enabled: z.ZodArray<z.ZodString>;
|
|
770
771
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -794,7 +795,6 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
|
|
|
794
795
|
"always-ask": "always-ask";
|
|
795
796
|
"full-access": "full-access";
|
|
796
797
|
}>>>;
|
|
797
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
798
798
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
799
799
|
reject: "reject";
|
|
800
800
|
"always-ask": "always-ask";
|
|
@@ -1208,6 +1208,7 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
1208
1208
|
enabled: z.ZodArray<z.ZodString>;
|
|
1209
1209
|
disabled: z.ZodArray<z.ZodString>;
|
|
1210
1210
|
}, z.core.$strip>;
|
|
1211
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1211
1212
|
registryTools: z.ZodObject<{
|
|
1212
1213
|
enabled: z.ZodArray<z.ZodString>;
|
|
1213
1214
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -1237,7 +1238,6 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
1237
1238
|
"always-ask": "always-ask";
|
|
1238
1239
|
"full-access": "full-access";
|
|
1239
1240
|
}>>>;
|
|
1240
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1241
1241
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1242
1242
|
reject: "reject";
|
|
1243
1243
|
"always-ask": "always-ask";
|
|
@@ -1901,7 +1901,7 @@ declare const sessionStorageSchema: _$_makaio_storage_drizzle0.DialectSchema<{
|
|
|
1901
1901
|
tableName: "sessions";
|
|
1902
1902
|
dataType: "string";
|
|
1903
1903
|
columnType: "SQLiteText";
|
|
1904
|
-
data: "closed" | "
|
|
1904
|
+
data: "closed" | "active" | "archived" | "discovered";
|
|
1905
1905
|
driverParam: string;
|
|
1906
1906
|
notNull: true;
|
|
1907
1907
|
hasDefault: false;
|
|
@@ -2015,7 +2015,7 @@ declare const sessionStorageSchema: _$_makaio_storage_drizzle0.DialectSchema<{
|
|
|
2015
2015
|
tableName: "sessions";
|
|
2016
2016
|
dataType: "string";
|
|
2017
2017
|
columnType: "SQLiteText";
|
|
2018
|
-
data: "fork" | "
|
|
2018
|
+
data: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
|
|
2019
2019
|
driverParam: string;
|
|
2020
2020
|
notNull: false;
|
|
2021
2021
|
hasDefault: false;
|
|
@@ -27,10 +27,10 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
|
|
|
27
27
|
*/
|
|
28
28
|
declare const VariantUpgradeStatusSchema: z.ZodEnum<{
|
|
29
29
|
error: "error";
|
|
30
|
-
complete: "complete";
|
|
31
30
|
downloading: "downloading";
|
|
32
31
|
progress: "progress";
|
|
33
32
|
applying: "applying";
|
|
33
|
+
complete: "complete";
|
|
34
34
|
}>;
|
|
35
35
|
/** Inferred TypeScript type for an upgrade status value. */
|
|
36
36
|
type VariantUpgradeStatus = z.infer<typeof VariantUpgradeStatusSchema>;
|
|
@@ -101,10 +101,10 @@ declare const VariantSchemas: {
|
|
|
101
101
|
upgradeProgress: z.ZodObject<{
|
|
102
102
|
status: z.ZodEnum<{
|
|
103
103
|
error: "error";
|
|
104
|
-
complete: "complete";
|
|
105
104
|
downloading: "downloading";
|
|
106
105
|
progress: "progress";
|
|
107
106
|
applying: "applying";
|
|
107
|
+
complete: "complete";
|
|
108
108
|
}>;
|
|
109
109
|
percent: z.ZodOptional<z.ZodNumber>;
|
|
110
110
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -158,10 +158,10 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
|
|
|
158
158
|
upgradeProgress: _$zod.ZodObject<{
|
|
159
159
|
status: _$zod.ZodEnum<{
|
|
160
160
|
error: "error";
|
|
161
|
-
complete: "complete";
|
|
162
161
|
downloading: "downloading";
|
|
163
162
|
progress: "progress";
|
|
164
163
|
applying: "applying";
|
|
164
|
+
complete: "complete";
|
|
165
165
|
}>;
|
|
166
166
|
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
167
167
|
message: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -205,10 +205,10 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
205
205
|
upgradeProgress: _$zod.ZodObject<{
|
|
206
206
|
status: _$zod.ZodEnum<{
|
|
207
207
|
error: "error";
|
|
208
|
-
complete: "complete";
|
|
209
208
|
downloading: "downloading";
|
|
210
209
|
progress: "progress";
|
|
211
210
|
applying: "applying";
|
|
211
|
+
complete: "complete";
|
|
212
212
|
}>;
|
|
213
213
|
percent: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
214
214
|
message: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -2,11 +2,11 @@ import { r as ExtensionDiscovery } from "./extension-discovery-CkV_VRdJ.mjs";
|
|
|
2
2
|
import { RegistrableBusNamespaceDefinition } from "@makaio/framework/core";
|
|
3
3
|
import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@makaio/framework/bus";
|
|
4
4
|
import { ExtensionConfigProvider, IWorkerNodeProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, NormalizedWorkerNodeCapabilities, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerContributionManifest, WorkerNodeCapabilities, WorkerNodeDispatch, WorkerNodeHandle, WorkerNodeProvisionRequest, WorkerNodeRequirements, WorkflowDefinition, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas } from "@makaio/framework/contracts";
|
|
5
|
+
import { DispatchingAuth, TransportAuth } from "@makaio/framework/node/transports";
|
|
5
6
|
import { StorageEngine } from "@makaio/framework/storage/drizzle";
|
|
7
|
+
import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
|
|
6
8
|
import { PostInstallHandler, StrategyDependencies } from "@makaio/framework/clients";
|
|
7
|
-
import { DispatchingAuth, TransportAuth } from "@makaio/framework/node/transports";
|
|
8
9
|
import { DatabaseClient } from "@makaio/framework/storage/drizzle/client";
|
|
9
|
-
import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
|
|
10
10
|
import { Hono } from "hono";
|
|
11
11
|
import { Server } from "node:http";
|
|
12
12
|
|
|
@@ -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-B4vJi_iM2.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-Cb0zGPMV.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-B4vJi_iM2.mjs";
|
|
3
3
|
import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-CfEi_Ji4.mjs";
|
|
4
4
|
import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../index-DOfq0qqv.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-BbCjtc3h.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-Cb0zGPMV.mjs";
|
|
2
2
|
export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
|
|
@@ -334,8 +334,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
334
334
|
output: _$zod.ZodString;
|
|
335
335
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
336
336
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
337
|
-
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
338
337
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
338
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
339
339
|
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
340
340
|
timestamp: _$zod.ZodNumber;
|
|
341
341
|
contentText: _$zod.ZodString;
|
|
@@ -1119,8 +1119,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
1119
1119
|
output: _$zod.ZodString;
|
|
1120
1120
|
isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1121
1121
|
}, _$zod_v4_core0.$strip>], "type">>;
|
|
1122
|
-
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1123
1122
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1123
|
+
agentId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1124
1124
|
turnId: _$zod.ZodNullable<_$zod.ZodString>;
|
|
1125
1125
|
timestamp: _$zod.ZodNumber;
|
|
1126
1126
|
contentText: _$zod.ZodString;
|
|
@@ -1964,8 +1964,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
1964
1964
|
timestamp: number;
|
|
1965
1965
|
contentText: string;
|
|
1966
1966
|
origin?: "text" | "voice" | "compact" | undefined;
|
|
1967
|
-
agentId?: string | undefined;
|
|
1968
1967
|
adapterSessionId?: string | undefined;
|
|
1968
|
+
agentId?: string | undefined;
|
|
1969
1969
|
adapterMessageId?: string | undefined;
|
|
1970
1970
|
editOf?: string | undefined;
|
|
1971
1971
|
messageId?: string | undefined;
|
|
@@ -2029,8 +2029,8 @@ declare const MessageStorageNamespace$1: {
|
|
|
2029
2029
|
isError?: boolean | undefined;
|
|
2030
2030
|
})[];
|
|
2031
2031
|
messageId: string;
|
|
2032
|
-
agentId: never;
|
|
2033
2032
|
adapterSessionId: never;
|
|
2033
|
+
agentId: never;
|
|
2034
2034
|
turnId: string | null;
|
|
2035
2035
|
limit: never;
|
|
2036
2036
|
timestamp: number;
|
|
@@ -427,8 +427,8 @@ declare const AgentRuntimeNamespace: _$_makaio_core0.BusNamespaceDefinition<"age
|
|
|
427
427
|
status: _$zod.ZodEnum<{
|
|
428
428
|
completed: "completed";
|
|
429
429
|
cancelled: "cancelled";
|
|
430
|
-
failed: "failed";
|
|
431
430
|
running: "running";
|
|
431
|
+
failed: "failed";
|
|
432
432
|
waiting_input: "waiting_input";
|
|
433
433
|
}>;
|
|
434
434
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -879,8 +879,8 @@ declare const AgentRuntimeSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.
|
|
|
879
879
|
status: _$zod.ZodEnum<{
|
|
880
880
|
completed: "completed";
|
|
881
881
|
cancelled: "cancelled";
|
|
882
|
-
failed: "failed";
|
|
883
882
|
running: "running";
|
|
883
|
+
failed: "failed";
|
|
884
884
|
waiting_input: "waiting_input";
|
|
885
885
|
}>;
|
|
886
886
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -525,9 +525,9 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
525
525
|
parentSessionId: _$zod.ZodString;
|
|
526
526
|
kind: _$zod.ZodEnum<{
|
|
527
527
|
fork: "fork";
|
|
528
|
+
branch: "branch";
|
|
528
529
|
subagent: "subagent";
|
|
529
530
|
compress: "compress";
|
|
530
|
-
branch: "branch";
|
|
531
531
|
rewrite: "rewrite";
|
|
532
532
|
coordinator: "coordinator";
|
|
533
533
|
aside: "aside";
|
|
@@ -843,9 +843,9 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
843
843
|
parentSessionId: _$zod.ZodString;
|
|
844
844
|
kind: _$zod.ZodEnum<{
|
|
845
845
|
fork: "fork";
|
|
846
|
+
branch: "branch";
|
|
846
847
|
subagent: "subagent";
|
|
847
848
|
compress: "compress";
|
|
848
|
-
branch: "branch";
|
|
849
849
|
rewrite: "rewrite";
|
|
850
850
|
coordinator: "coordinator";
|
|
851
851
|
aside: "aside";
|
|
@@ -1151,9 +1151,9 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
1151
1151
|
parentSessionId: _$zod.ZodString;
|
|
1152
1152
|
kind: _$zod.ZodEnum<{
|
|
1153
1153
|
fork: "fork";
|
|
1154
|
+
branch: "branch";
|
|
1154
1155
|
subagent: "subagent";
|
|
1155
1156
|
compress: "compress";
|
|
1156
|
-
branch: "branch";
|
|
1157
1157
|
rewrite: "rewrite";
|
|
1158
1158
|
coordinator: "coordinator";
|
|
1159
1159
|
aside: "aside";
|
|
@@ -1467,9 +1467,9 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
1467
1467
|
parentSessionId: _$zod.ZodString;
|
|
1468
1468
|
kind: _$zod.ZodEnum<{
|
|
1469
1469
|
fork: "fork";
|
|
1470
|
+
branch: "branch";
|
|
1470
1471
|
subagent: "subagent";
|
|
1471
1472
|
compress: "compress";
|
|
1472
|
-
branch: "branch";
|
|
1473
1473
|
rewrite: "rewrite";
|
|
1474
1474
|
coordinator: "coordinator";
|
|
1475
1475
|
aside: "aside";
|
|
@@ -1771,9 +1771,9 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
1771
1771
|
parentSessionId: _$zod.ZodString;
|
|
1772
1772
|
kind: _$zod.ZodEnum<{
|
|
1773
1773
|
fork: "fork";
|
|
1774
|
+
branch: "branch";
|
|
1774
1775
|
subagent: "subagent";
|
|
1775
1776
|
compress: "compress";
|
|
1776
|
-
branch: "branch";
|
|
1777
1777
|
rewrite: "rewrite";
|
|
1778
1778
|
coordinator: "coordinator";
|
|
1779
1779
|
aside: "aside";
|
|
@@ -2089,9 +2089,9 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2089
2089
|
parentSessionId: _$zod.ZodString;
|
|
2090
2090
|
kind: _$zod.ZodEnum<{
|
|
2091
2091
|
fork: "fork";
|
|
2092
|
+
branch: "branch";
|
|
2092
2093
|
subagent: "subagent";
|
|
2093
2094
|
compress: "compress";
|
|
2094
|
-
branch: "branch";
|
|
2095
2095
|
rewrite: "rewrite";
|
|
2096
2096
|
coordinator: "coordinator";
|
|
2097
2097
|
aside: "aside";
|
|
@@ -2397,9 +2397,9 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2397
2397
|
parentSessionId: _$zod.ZodString;
|
|
2398
2398
|
kind: _$zod.ZodEnum<{
|
|
2399
2399
|
fork: "fork";
|
|
2400
|
+
branch: "branch";
|
|
2400
2401
|
subagent: "subagent";
|
|
2401
2402
|
compress: "compress";
|
|
2402
|
-
branch: "branch";
|
|
2403
2403
|
rewrite: "rewrite";
|
|
2404
2404
|
coordinator: "coordinator";
|
|
2405
2405
|
aside: "aside";
|
|
@@ -2713,9 +2713,9 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2713
2713
|
parentSessionId: _$zod.ZodString;
|
|
2714
2714
|
kind: _$zod.ZodEnum<{
|
|
2715
2715
|
fork: "fork";
|
|
2716
|
+
branch: "branch";
|
|
2716
2717
|
subagent: "subagent";
|
|
2717
2718
|
compress: "compress";
|
|
2718
|
-
branch: "branch";
|
|
2719
2719
|
rewrite: "rewrite";
|
|
2720
2720
|
coordinator: "coordinator";
|
|
2721
2721
|
aside: "aside";
|
|
@@ -2978,7 +2978,7 @@ declare const SessionEventStorageNamespace$1: {
|
|
|
2978
2978
|
payload: {
|
|
2979
2979
|
childSessionId: string;
|
|
2980
2980
|
parentSessionId: string;
|
|
2981
|
-
kind: "fork" | "
|
|
2981
|
+
kind: "fork" | "branch" | "subagent" | "compress" | "rewrite" | "coordinator" | "aside";
|
|
2982
2982
|
forkPointMessageId?: string | undefined;
|
|
2983
2983
|
};
|
|
2984
2984
|
} | {
|
|
@@ -37,8 +37,8 @@ declare const SubagentTemplateKernelNamespace: _$_makaio_core0.BusNamespaceDefin
|
|
|
37
37
|
status: _$zod.ZodEnum<{
|
|
38
38
|
completed: "completed";
|
|
39
39
|
cancelled: "cancelled";
|
|
40
|
-
failed: "failed";
|
|
41
40
|
running: "running";
|
|
41
|
+
failed: "failed";
|
|
42
42
|
waiting_input: "waiting_input";
|
|
43
43
|
}>;
|
|
44
44
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -101,8 +101,8 @@ declare const SubagentTemplateSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
|
|
|
101
101
|
status: _$zod.ZodEnum<{
|
|
102
102
|
completed: "completed";
|
|
103
103
|
cancelled: "cancelled";
|
|
104
|
-
failed: "failed";
|
|
105
104
|
running: "running";
|
|
105
|
+
failed: "failed";
|
|
106
106
|
waiting_input: "waiting_input";
|
|
107
107
|
}>;
|
|
108
108
|
result: _$zod.ZodOptional<_$zod.ZodString>;
|