@makaio/framework 1.0.0-dev-1783940945655 → 1.0.0-dev-1783973359164
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-subsystem/index.d.mts +10 -0
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/authority-state-bootstrap-CEuKScnL.mjs +1 -0
- package/dist/bus/index.d.mts +31 -31
- package/dist/bus/index.mjs +1 -1
- package/dist/{canonical-model-CVRCW9h7.mjs → canonical-model-C31NaBJs.mjs} +1 -1
- package/dist/clients/index.d.mts +5 -5
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +228 -160
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +2 -2
- package/dist/contracts/session/index.d.mts +3 -3
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +3 -3
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{detached-extension-handle-CTaQoolf.mjs → detached-extension-handle-vDK194QV.mjs} +1 -1
- package/dist/drizzle/0026_m_mrgvi7fq.sql +16 -0
- package/dist/drizzle/0027_m_mrgw0uzg.sql +1 -0
- package/dist/drizzle/0028_m_mrgx04i1.sql +1 -0
- package/dist/drizzle/0029_terminal-authority.sql +1 -0
- package/dist/drizzle/meta/_journal.json +28 -0
- package/dist/{index-Do7Wgio_2.d.mts → index-BDr2Ba122.d.mts} +1 -1
- package/dist/{index-p6dWV52m.d.mts → index-BKZAAWo2.d.mts} +330 -330
- package/dist/{index-CB2XTzvd.d.mts → index-Bbr5LEUc.d.mts} +1 -1
- package/dist/{index-5s_dN3cg2.d.mts → index-BmsPH78f2.d.mts} +33 -5
- package/dist/{index-BsEvzFey.d.mts → index-ButbwvVY.d.mts} +6 -6
- package/dist/{index-D5IEq4_E.d.mts → index-C2C1qH1Y.d.mts} +6 -4
- package/dist/{index-BtL7ONuM.d.mts → index-C6LZOiDv.d.mts} +149 -1
- package/dist/{index-DxatNFz7.d.mts → index-COC9jCdc.d.mts} +12 -12
- package/dist/{index-BcejR1Jc.d.mts → index-CtjLeK1F.d.mts} +1 -1
- package/dist/{index-Cw3cjGAT.d.mts → index-Cx8jGKOs.d.mts} +11 -11
- package/dist/{index-DNc1yLQs.d.mts → index-DHGW7dFf.d.mts} +8 -8
- package/dist/{index-DlUPWOh4.d.mts → index-DNkR5yTY.d.mts} +2876 -709
- package/dist/{index-iJP-l15K.d.mts → index-DXBiCH2y.d.mts} +27 -1
- package/dist/{index-CW6-0k3Z.d.mts → index-DlAfs3RD.d.mts} +105 -105
- package/dist/{index-sCOlgPyj.d.mts → index-DpZbaS7y.d.mts} +388 -388
- package/dist/{index-C9Q1E8Y-.d.mts → index-x2gFj3BK.d.mts} +38 -38
- 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/{load-extensions-BtUrq2_t.mjs → load-extensions-nqL5WAKj.mjs} +1 -1
- package/dist/mcp-http-server/index.d.mts +27 -90
- package/dist/mcp-http-server/index.mjs +1 -1
- package/dist/{namespace-CQBSXm1U.d.mts → namespace-B0uZIZYT.d.mts} +20 -20
- package/dist/{namespace-CfgtqUWS.d.mts → namespace-BoA6u44C.d.mts} +156 -156
- package/dist/{namespace-CpyL93kW.d.mts → namespace-CCZXyxSe.d.mts} +9 -9
- package/dist/{namespace-D3SQQgxa2.d.mts → namespace-CukqFYHf2.d.mts} +1 -1
- package/dist/{namespace-CGgOLxiW2.d.mts → namespace-rO-C2Dgu2.d.mts} +2 -2
- package/dist/package-BYpWkSuQ.mjs +1 -0
- package/dist/package-CsFFT9iR.mjs +7 -0
- package/dist/{package-CdBiknf3.d.mts → package-DG9GSY8M.d.mts} +52 -1
- package/dist/package.json +1 -1
- package/dist/rules/index.mjs +1 -1
- package/dist/runtime-node/extension-validation.mjs +1 -1
- package/dist/runtime-node/index.d.mts +4 -89
- package/dist/runtime-node/index.mjs +24 -24
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
- package/dist/{schema-BnTOFCdU.d.mts → schema-aOwmHxaF.d.mts} +1 -1
- package/dist/{schemas--uwN5dfK2.d.mts → schemas-CoJCTFod2.d.mts} +19 -19
- package/dist/{schemas-C17AifUQ.d.mts → schemas-OaBqeEUT.d.mts} +156 -156
- package/dist/schemas-th_nuC5t.mjs +1 -0
- package/dist/service-base/index.d.mts +4 -3
- package/dist/service-base/index.mjs +1 -1
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +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/index.d.mts +104 -104
- package/dist/services/index.mjs +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/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +16 -16
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent/index.d.mts +2 -2
- package/dist/services/subagent/index.mjs +1 -1
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tools/index.mjs +1 -1
- package/dist/{session-lineage-BLw8iWAj.d.mts → session-lineage-YShrn77v.d.mts} +1 -1
- package/dist/storage/drizzle/index.d.mts +8 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/tools/index.d.mts +1 -1
- package/dist/{tools-C8vqn1KY.mjs → tools-PC_L6g2m.mjs} +1 -1
- package/dist/{transition-Bfe8VVc1.d.mts → transition-CwUIm1hJ.d.mts} +8 -0
- package/dist/{types-q95p55BF.d.mts → types-BaDYigzD.d.mts} +567 -256
- package/dist/workflow-DFJYGjq_.mjs +1 -0
- package/dist/workflow-engine/index.d.mts +690 -87
- package/dist/workflow-engine/index.mjs +1 -1
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/workflow-engine/package.mjs +1 -1
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-worker-BEFjCccX.mjs +1 -0
- package/package.json +9 -8
- package/dist/loop-gate-handlers-0a3dIY8O.mjs +0 -1
- package/dist/package-0gVhAVkO.mjs +0 -7
- package/dist/package-BwvGaKwn.mjs +0 -1
- package/dist/schemas-D6lj9NMg.mjs +0 -1
- package/dist/workflow-CvVAZ89A.mjs +0 -1
- package/dist/workflow-worker-CudfEstp.mjs +0 -1
- /package/dist/{await-trigger-D623tvig.mjs → await-trigger-DP-fTQc4.mjs} +0 -0
- /package/dist/{descriptor-to-package-D5SWf6TL.mjs → descriptor-to-package-Rs-OjOQU.mjs} +0 -0
- /package/dist/{esm-oHhRYTEn.mjs → esm-C_WW4-pP.mjs} +0 -0
package/dist/bus/index.d.mts
CHANGED
|
@@ -307,7 +307,7 @@ type RequestSchema<Request extends ZodType = ZodType, Response extends ZodType =
|
|
|
307
307
|
* Use `localSubject()` from `@makaio/bus-core` to create these.
|
|
308
308
|
* @example
|
|
309
309
|
* ```typescript
|
|
310
|
-
* import { localSubject } from '@makaio/
|
|
310
|
+
* import { localSubject } from '@makaio/bus-core';
|
|
311
311
|
*
|
|
312
312
|
* const WidgetSchemas = {
|
|
313
313
|
* register: localSubject(widgetDefinitionSchema), // local event
|
|
@@ -338,7 +338,7 @@ type CollectorOnlySubjectSchema<T extends EventSchema = EventSchema> = {
|
|
|
338
338
|
* `channelSubject()` from `@makaio/bus-core` to create these.
|
|
339
339
|
* @example
|
|
340
340
|
* ```typescript
|
|
341
|
-
* import { channelSubject } from '@makaio/
|
|
341
|
+
* import { channelSubject } from '@makaio/bus-core';
|
|
342
342
|
*
|
|
343
343
|
* const DirectSchemas = {
|
|
344
344
|
* message: channelSubject(z.object({ text: z.string() })),
|
|
@@ -697,7 +697,7 @@ declare function isRequestSchema(schema: SubjectSchema): schema is RequestSchema
|
|
|
697
697
|
* @returns A LocalSubjectSchema wrapper
|
|
698
698
|
* @example
|
|
699
699
|
* ```typescript
|
|
700
|
-
* import { localSubject } from '@makaio/
|
|
700
|
+
* import { localSubject } from '@makaio/core';
|
|
701
701
|
*
|
|
702
702
|
* const WidgetSchemas = {
|
|
703
703
|
* // Local event - contains React component, can't be serialized
|
|
@@ -736,7 +736,7 @@ declare function collectorOnlySubject<T extends EventSchema>(schema: T): Collect
|
|
|
736
736
|
* @returns A ChannelSubjectSchema wrapper
|
|
737
737
|
* @example
|
|
738
738
|
* ```typescript
|
|
739
|
-
* import { channelSubject } from '@makaio/
|
|
739
|
+
* import { channelSubject } from '@makaio/core';
|
|
740
740
|
*
|
|
741
741
|
* const DirectSchemas = {
|
|
742
742
|
* // Channel event - encrypted, point-to-point only
|
|
@@ -764,7 +764,7 @@ declare function channelSubject<T extends EventSchema | RequestSchema>(schema: T
|
|
|
764
764
|
* @returns A DefaultTransportsSubjectSchema wrapper
|
|
765
765
|
* @example
|
|
766
766
|
* ```typescript
|
|
767
|
-
* import { defaultTransports } from '@makaio/
|
|
767
|
+
* import { defaultTransports } from '@makaio/core';
|
|
768
768
|
*
|
|
769
769
|
* const Schemas = {
|
|
770
770
|
* internalEvent: defaultTransports(z.object({ id: z.string() }), 'local-only'),
|
|
@@ -3229,7 +3229,7 @@ declare function createBusInstance<Namespace extends string | undefined = undefi
|
|
|
3229
3229
|
* - Middleware chains for request processing
|
|
3230
3230
|
* @example Basic usage
|
|
3231
3231
|
* ```typescript
|
|
3232
|
-
* import { MakaioBus } from '@makaio/
|
|
3232
|
+
* import { MakaioBus } from '@makaio/bus-core';
|
|
3233
3233
|
* import { z } from 'zod';
|
|
3234
3234
|
*
|
|
3235
3235
|
* // Register namespace with typed subjects
|
|
@@ -3452,7 +3452,7 @@ type DisconnectedPayload = {
|
|
|
3452
3452
|
* Registration happens per-context inside `createBus()`.
|
|
3453
3453
|
* @example
|
|
3454
3454
|
* ```typescript
|
|
3455
|
-
* import { BusLifecycle } from '@makaio/
|
|
3455
|
+
* import { BusLifecycle } from '@makaio/bus-core';
|
|
3456
3456
|
*
|
|
3457
3457
|
* MakaioBus.on(BusLifecycle.connected, ({ payload }) => {
|
|
3458
3458
|
* console.log('Transport connected:', payload.transport);
|
|
@@ -3480,7 +3480,7 @@ declare const BusLifecycle: BusSubjects<FlatSubjectDefinitions<"bus:lifecycle",
|
|
|
3480
3480
|
* @example
|
|
3481
3481
|
* ```typescript
|
|
3482
3482
|
* // In an extension package
|
|
3483
|
-
* declare module '@makaio/
|
|
3483
|
+
* declare module '@makaio/bus-core' {
|
|
3484
3484
|
* interface ExtensionNamespaceExtensions {
|
|
3485
3485
|
* customMetadata?: {
|
|
3486
3486
|
* version: string;
|
|
@@ -3636,25 +3636,6 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
|
|
|
3636
3636
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3637
3637
|
mcpSessionContext: z.ZodOptional<z.ZodObject<{
|
|
3638
3638
|
sessionId: z.ZodString;
|
|
3639
|
-
directTools: z.ZodArray<z.ZodObject<{
|
|
3640
|
-
fullName: z.ZodString;
|
|
3641
|
-
originalName: z.ZodString;
|
|
3642
|
-
serverName: z.ZodString;
|
|
3643
|
-
description: z.ZodOptional<z.ZodString>;
|
|
3644
|
-
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3645
|
-
exposureMode: z.ZodEnum<{
|
|
3646
|
-
hidden: "hidden";
|
|
3647
|
-
discovery: "discovery";
|
|
3648
|
-
direct: "direct";
|
|
3649
|
-
}>;
|
|
3650
|
-
enabled: z.ZodBoolean;
|
|
3651
|
-
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
3652
|
-
discovery: "discovery";
|
|
3653
|
-
toolset: "toolset";
|
|
3654
|
-
}>>;
|
|
3655
|
-
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
3656
|
-
exposed: z.ZodBoolean;
|
|
3657
|
-
}, z.core.$strip>>;
|
|
3658
3639
|
servers: z.ZodArray<z.ZodObject<{
|
|
3659
3640
|
name: z.ZodString;
|
|
3660
3641
|
transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3691,20 +3672,39 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
|
|
|
3691
3672
|
type: z.ZodLiteral<"http">;
|
|
3692
3673
|
}, z.core.$strip>], "type">;
|
|
3693
3674
|
exposureMode: z.ZodEnum<{
|
|
3694
|
-
discovery: "discovery";
|
|
3695
3675
|
direct: "direct";
|
|
3676
|
+
discovery: "discovery";
|
|
3696
3677
|
}>;
|
|
3697
3678
|
}, z.core.$strip>>;
|
|
3698
|
-
|
|
3679
|
+
directTools: z.ZodArray<z.ZodObject<{
|
|
3699
3680
|
fullName: z.ZodString;
|
|
3700
3681
|
originalName: z.ZodString;
|
|
3701
3682
|
serverName: z.ZodString;
|
|
3702
3683
|
description: z.ZodOptional<z.ZodString>;
|
|
3703
3684
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3704
3685
|
exposureMode: z.ZodEnum<{
|
|
3686
|
+
direct: "direct";
|
|
3687
|
+
discovery: "discovery";
|
|
3705
3688
|
hidden: "hidden";
|
|
3689
|
+
}>;
|
|
3690
|
+
enabled: z.ZodBoolean;
|
|
3691
|
+
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
3706
3692
|
discovery: "discovery";
|
|
3693
|
+
toolset: "toolset";
|
|
3694
|
+
}>>;
|
|
3695
|
+
enabledAt: z.ZodOptional<z.ZodNumber>;
|
|
3696
|
+
exposed: z.ZodBoolean;
|
|
3697
|
+
}, z.core.$strip>>;
|
|
3698
|
+
discoverableTools: z.ZodArray<z.ZodObject<{
|
|
3699
|
+
fullName: z.ZodString;
|
|
3700
|
+
originalName: z.ZodString;
|
|
3701
|
+
serverName: z.ZodString;
|
|
3702
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3703
|
+
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3704
|
+
exposureMode: z.ZodEnum<{
|
|
3707
3705
|
direct: "direct";
|
|
3706
|
+
discovery: "discovery";
|
|
3707
|
+
hidden: "hidden";
|
|
3708
3708
|
}>;
|
|
3709
3709
|
enabled: z.ZodBoolean;
|
|
3710
3710
|
enabledBy: z.ZodOptional<z.ZodEnum<{
|
|
@@ -3721,7 +3721,7 @@ declare const CanonicalModelSelectionSchema: z.ZodObject<{
|
|
|
3721
3721
|
model: z.ZodString;
|
|
3722
3722
|
}, z.core.$loose>;
|
|
3723
3723
|
type CanonicalModelSelection = z.infer<typeof CanonicalModelSelectionSchema>;
|
|
3724
|
-
declare module '@makaio/
|
|
3724
|
+
declare module '@makaio/contracts' {
|
|
3725
3725
|
interface AgentSelectionKindMap {
|
|
3726
3726
|
'canonical-model': CanonicalModelSelection;
|
|
3727
3727
|
}
|
|
@@ -3746,7 +3746,7 @@ type SkillActivationTrigger = z.infer<typeof SkillActivationTriggerSchema>;
|
|
|
3746
3746
|
type SkillDeactivationReason = z.infer<typeof SkillDeactivationReasonSchema>;
|
|
3747
3747
|
//#endregion
|
|
3748
3748
|
//#region core/contracts/src/skill/types.d.ts
|
|
3749
|
-
declare module '@makaio/
|
|
3749
|
+
declare module '@makaio/contracts' {
|
|
3750
3750
|
interface SessionEventTypeMap {
|
|
3751
3751
|
/** Skill catalog built for a session agent. */
|
|
3752
3752
|
'skill.catalog.built': {
|