@makaio/framework 1.0.0-dev-1789178369476 → 1.0.0-dev-1789234461336
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/artifact-CKz9YQPu.mjs +1 -0
- package/dist/authority-state-bootstrap-BkI-zYRx.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/{bus-CyrTcF8F.mjs → bus-BZB7jNes.mjs} +2 -2
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +3 -3
- 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 +75 -75
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +2 -2
- package/dist/contracts/materialization/index.mjs +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/worker/index.d.mts +1 -1
- package/dist/contracts/worker/index.mjs +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/drizzle/0038_execution-attempt-repository.sql +73 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{extension-D8uLQSDc.mjs → extension-CfrTp3rC.mjs} +1 -1
- package/dist/{framework-packages-CCIReKIe.mjs → framework-packages-Bg4edkkM.mjs} +1 -1
- package/dist/{index-C1nSuiG0.d.mts → index-B6WkHnCQ.d.mts} +1 -1
- package/dist/{index-B3fuld9X.d.mts → index-Bg3WVL8n.d.mts} +4 -4
- package/dist/{index-CdgRoaey.d.mts → index-BmCm9R8_.d.mts} +2 -2
- package/dist/{index-U--ajOHy.d.mts → index-BpQX136X.d.mts} +1 -1
- package/dist/{index-D0xS-mYt.d.mts → index-CA3Uzki8.d.mts} +10 -10
- package/dist/{index-BFS-2kcS.d.mts → index-C_kOkO3E.d.mts} +16 -0
- package/dist/{index-a_peDAyG.d.mts → index-ClKwF6LE.d.mts} +84 -3
- package/dist/{index-BqtdO-uk.d.mts → index-Cplq28EL.d.mts} +30 -14
- package/dist/{index-DtCVHx8-.d.mts → index-CzUUoexw.d.mts} +17 -9
- package/dist/{index-Du4wUv9q.d.mts → index-DMkzJCjS.d.mts} +7 -7
- package/dist/{index-DyVXhEBC2.d.mts → index-DXZImst_2.d.mts} +11 -8
- package/dist/{index-gu4mzfTr.d.mts → index-D_j_T3nS.d.mts} +1 -1
- package/dist/{index-GFf4oKBg2.d.mts → index-iVisrVdC2.d.mts} +37 -37
- package/dist/{index-HMb0RcTG2.d.mts → index-mTaFX2HH2.d.mts} +12 -12
- 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-Dzfo6kyb.mjs +1 -0
- package/dist/materialization-iFhpbs1s.mjs +1 -0
- package/dist/{namespace-DM5vykb7.d.mts → namespace-BsQPRiMd.d.mts} +2 -2
- 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/node/transports/index.d.mts +32 -11
- package/dist/node/transports/index.mjs +2 -2
- package/dist/{package-DdymauE9.d.mts → package-CDj3F-L3.d.mts} +1 -0
- package/dist/package-D2Erka-E.mjs +7 -0
- package/dist/package.json +1 -1
- package/dist/packages-vF9F4M41.mjs +1 -0
- package/dist/runtime-node/index.d.mts +1 -1
- package/dist/runtime-node/index.mjs +1 -1
- package/dist/runtime-node/workflow-execution-bus-access.d.mts +37 -20
- package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schemas-CJKDu4Kt.d.mts → schemas-2_D4iVbb.d.mts} +1 -1
- package/dist/{schemas-rlb0IQ-G.mjs → schemas-CHM0wMq4.mjs} +1 -1
- package/dist/{schemas-CPNdGMLf.d.mts → schemas-COiUhOce.d.mts} +8 -8
- package/dist/{schemas-CEJe8O6P.d.mts → schemas-CaBRbfhU.d.mts} +2 -2
- package/dist/{schemas-CKVm28Oy.d.mts → schemas-JjyFxrC0.d.mts} +4 -0
- 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/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 +22 -22
- package/dist/services/index.mjs +1 -1
- package/dist/services/materialization/index.mjs +1 -1
- package/dist/services/session/handlers/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +4 -4
- 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/tools/index.mjs +1 -1
- package/dist/services/workflow-transitions/index.mjs +1 -1
- package/dist/{tools-Dj_ImUQ8.mjs → tools-C5Gy0IQG.mjs} +1 -1
- package/dist/{transition-B-YmSK-s.d.mts → transition-D-Lgbp1j.d.mts} +1 -1
- package/dist/{types-7QB81mzR.d.mts → types-DhbllltK.d.mts} +15 -15
- package/dist/{view-builder-BUZoNyEQ.d.mts → view-builder-CHUTXJDl.d.mts} +14 -1
- package/dist/{worker-DWEma08Q.mjs → worker-4pqm147Q.mjs} +1 -1
- package/dist/{workflow-DA2yJJK-.mjs → workflow-C5cS1mgK.mjs} +1 -1
- package/dist/workflow-engine/index.d.mts +81 -4
- 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-transitions-t6jn_pR_.mjs → workflow-transitions-C0sg3kar.mjs} +1 -1
- package/dist/{workflow-worker-C3ZbuhyA.mjs → workflow-worker-l-wflI6V.mjs} +2 -2
- package/package.json +1 -1
- package/dist/artifact-DGxKwbHE.mjs +0 -1
- package/dist/authority-state-bootstrap-CV7HpB4v.mjs +0 -1
- package/dist/kind-registration-BcNuwXPC.mjs +0 -1
- package/dist/materialization-kP_vEXV3.mjs +0 -1
- package/dist/package-Bn4iwDm3.mjs +0 -7
- package/dist/packages-G3bMStlV.mjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { x as ArtifactRevision$1 } from "./schemas-
|
|
1
|
+
import { x as ArtifactRevision$1 } from "./schemas-JjyFxrC0.mjs";
|
|
2
2
|
import { a as JsonObjectContractSchema, l as JsonValue$1 } from "./json-value-Ymw2f8i_.mjs";
|
|
3
3
|
import { n as AutomationTriggerBinding$1, o as AutomationTriggerParams, u as DefinedAutomationTrigger } from "./definition-CuaBQyde.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -964,8 +964,8 @@ declare const WorkflowResolvedRoleSchema: z.ZodObject<{
|
|
|
964
964
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
965
965
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
966
966
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
967
|
-
fresh: "fresh";
|
|
968
967
|
fork: "fork";
|
|
968
|
+
fresh: "fresh";
|
|
969
969
|
}>>;
|
|
970
970
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
971
971
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -1075,8 +1075,8 @@ declare const WorkflowResolvedAgentSchema: z.ZodObject<{
|
|
|
1075
1075
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
1076
1076
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1077
1077
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
1078
|
-
fresh: "fresh";
|
|
1079
1078
|
fork: "fork";
|
|
1079
|
+
fresh: "fresh";
|
|
1080
1080
|
}>>;
|
|
1081
1081
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1082
1082
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -3045,6 +3045,7 @@ declare const WorkflowSchemas: {
|
|
|
3045
3045
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3046
3046
|
relations: z.ZodArray<z.ZodObject<{
|
|
3047
3047
|
type: z.ZodString;
|
|
3048
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
3048
3049
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3049
3050
|
refClass: z.ZodLiteral<"artifact">;
|
|
3050
3051
|
kind: z.ZodString;
|
|
@@ -3232,6 +3233,7 @@ declare const WorkflowSchemas: {
|
|
|
3232
3233
|
entityType: string;
|
|
3233
3234
|
id: string;
|
|
3234
3235
|
};
|
|
3236
|
+
sourceLocalId?: string | undefined;
|
|
3235
3237
|
}[];
|
|
3236
3238
|
actor: {
|
|
3237
3239
|
kind: string;
|
|
@@ -3358,6 +3360,7 @@ declare const WorkflowSchemas: {
|
|
|
3358
3360
|
relations: {
|
|
3359
3361
|
type: string;
|
|
3360
3362
|
target: unknown;
|
|
3363
|
+
sourceLocalId?: string | undefined;
|
|
3361
3364
|
}[];
|
|
3362
3365
|
actor: {
|
|
3363
3366
|
kind: string;
|
|
@@ -3490,6 +3493,7 @@ declare const WorkflowSchemas: {
|
|
|
3490
3493
|
entityType: string;
|
|
3491
3494
|
id: string;
|
|
3492
3495
|
};
|
|
3496
|
+
sourceLocalId?: string | undefined;
|
|
3493
3497
|
}[];
|
|
3494
3498
|
actor: {
|
|
3495
3499
|
kind: string;
|
|
@@ -3616,6 +3620,7 @@ declare const WorkflowSchemas: {
|
|
|
3616
3620
|
relations: {
|
|
3617
3621
|
type: string;
|
|
3618
3622
|
target: unknown;
|
|
3623
|
+
sourceLocalId?: string | undefined;
|
|
3619
3624
|
}[];
|
|
3620
3625
|
actor: {
|
|
3621
3626
|
kind: string;
|
|
@@ -4320,8 +4325,8 @@ declare const WorkflowSchemas: {
|
|
|
4320
4325
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
4321
4326
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
4322
4327
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
4323
|
-
fresh: "fresh";
|
|
4324
4328
|
fork: "fork";
|
|
4329
|
+
fresh: "fresh";
|
|
4325
4330
|
}>>;
|
|
4326
4331
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4327
4332
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -4431,8 +4436,8 @@ declare const WorkflowSchemas: {
|
|
|
4431
4436
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
4432
4437
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
4433
4438
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
4434
|
-
fresh: "fresh";
|
|
4435
4439
|
fork: "fork";
|
|
4440
|
+
fresh: "fresh";
|
|
4436
4441
|
}>>;
|
|
4437
4442
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4438
4443
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -6012,6 +6017,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6012
6017
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
6013
6018
|
relations: z.ZodArray<z.ZodObject<{
|
|
6014
6019
|
type: z.ZodString;
|
|
6020
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
6015
6021
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6016
6022
|
refClass: z.ZodLiteral<"artifact">;
|
|
6017
6023
|
kind: z.ZodString;
|
|
@@ -6199,6 +6205,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6199
6205
|
entityType: string;
|
|
6200
6206
|
id: string;
|
|
6201
6207
|
};
|
|
6208
|
+
sourceLocalId?: string | undefined;
|
|
6202
6209
|
}[];
|
|
6203
6210
|
actor: {
|
|
6204
6211
|
kind: string;
|
|
@@ -6325,6 +6332,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6325
6332
|
relations: {
|
|
6326
6333
|
type: string;
|
|
6327
6334
|
target: unknown;
|
|
6335
|
+
sourceLocalId?: string | undefined;
|
|
6328
6336
|
}[];
|
|
6329
6337
|
actor: {
|
|
6330
6338
|
kind: string;
|
|
@@ -6457,6 +6465,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6457
6465
|
entityType: string;
|
|
6458
6466
|
id: string;
|
|
6459
6467
|
};
|
|
6468
|
+
sourceLocalId?: string | undefined;
|
|
6460
6469
|
}[];
|
|
6461
6470
|
actor: {
|
|
6462
6471
|
kind: string;
|
|
@@ -6583,6 +6592,7 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6583
6592
|
relations: {
|
|
6584
6593
|
type: string;
|
|
6585
6594
|
target: unknown;
|
|
6595
|
+
sourceLocalId?: string | undefined;
|
|
6586
6596
|
}[];
|
|
6587
6597
|
actor: {
|
|
6588
6598
|
kind: string;
|
|
@@ -7287,8 +7297,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7287
7297
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
7288
7298
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
7289
7299
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
7290
|
-
fresh: "fresh";
|
|
7291
7300
|
fork: "fork";
|
|
7301
|
+
fresh: "fresh";
|
|
7292
7302
|
}>>;
|
|
7293
7303
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7294
7304
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -7398,8 +7408,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7398
7408
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
7399
7409
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
7400
7410
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
7401
|
-
fresh: "fresh";
|
|
7402
7411
|
fork: "fork";
|
|
7412
|
+
fresh: "fresh";
|
|
7403
7413
|
}>>;
|
|
7404
7414
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7405
7415
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -8979,6 +8989,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
8979
8989
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
8980
8990
|
relations: z.ZodArray<z.ZodObject<{
|
|
8981
8991
|
type: z.ZodString;
|
|
8992
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
8982
8993
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8983
8994
|
refClass: z.ZodLiteral<"artifact">;
|
|
8984
8995
|
kind: z.ZodString;
|
|
@@ -9166,6 +9177,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9166
9177
|
entityType: string;
|
|
9167
9178
|
id: string;
|
|
9168
9179
|
};
|
|
9180
|
+
sourceLocalId?: string | undefined;
|
|
9169
9181
|
}[];
|
|
9170
9182
|
actor: {
|
|
9171
9183
|
kind: string;
|
|
@@ -9292,6 +9304,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9292
9304
|
relations: {
|
|
9293
9305
|
type: string;
|
|
9294
9306
|
target: unknown;
|
|
9307
|
+
sourceLocalId?: string | undefined;
|
|
9295
9308
|
}[];
|
|
9296
9309
|
actor: {
|
|
9297
9310
|
kind: string;
|
|
@@ -9424,6 +9437,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9424
9437
|
entityType: string;
|
|
9425
9438
|
id: string;
|
|
9426
9439
|
};
|
|
9440
|
+
sourceLocalId?: string | undefined;
|
|
9427
9441
|
}[];
|
|
9428
9442
|
actor: {
|
|
9429
9443
|
kind: string;
|
|
@@ -9550,6 +9564,7 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9550
9564
|
relations: {
|
|
9551
9565
|
type: string;
|
|
9552
9566
|
target: unknown;
|
|
9567
|
+
sourceLocalId?: string | undefined;
|
|
9553
9568
|
}[];
|
|
9554
9569
|
actor: {
|
|
9555
9570
|
kind: string;
|
|
@@ -10254,8 +10269,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10254
10269
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
10255
10270
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
10256
10271
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
10257
|
-
fresh: "fresh";
|
|
10258
10272
|
fork: "fork";
|
|
10273
|
+
fresh: "fresh";
|
|
10259
10274
|
}>>;
|
|
10260
10275
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10261
10276
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -10365,8 +10380,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10365
10380
|
harnessId: z.ZodOptional<z.ZodString>;
|
|
10366
10381
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
10367
10382
|
contextMode: z.ZodOptional<z.ZodEnum<{
|
|
10368
|
-
fresh: "fresh";
|
|
10369
10383
|
fork: "fork";
|
|
10384
|
+
fresh: "fresh";
|
|
10370
10385
|
}>>;
|
|
10371
10386
|
providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10372
10387
|
state: z.ZodLiteral<"resolved">;
|
|
@@ -11797,8 +11812,8 @@ declare const ExecutionAttemptControlReportSchema$1: z.ZodObject<{
|
|
|
11797
11812
|
}, z.core.$strict>;
|
|
11798
11813
|
/** Correlation refusals do not invalidate the durable Attempt-wide Cancel. */
|
|
11799
11814
|
declare const ExecutionAttemptControlRefusalReasonSchema: z.ZodEnum<{
|
|
11800
|
-
"not-found": "not-found";
|
|
11801
11815
|
conflict: "conflict";
|
|
11816
|
+
"not-found": "not-found";
|
|
11802
11817
|
"stale-generation": "stale-generation";
|
|
11803
11818
|
"cancel-mismatch": "cancel-mismatch";
|
|
11804
11819
|
"operation-mismatch": "operation-mismatch";
|
|
@@ -11811,8 +11826,8 @@ declare const ExecutionAttemptControlReportResponseSchema: z.ZodDiscriminatedUni
|
|
|
11811
11826
|
}, z.core.$strict>, z.ZodObject<{
|
|
11812
11827
|
decision: z.ZodLiteral<"refused">;
|
|
11813
11828
|
reason: z.ZodEnum<{
|
|
11814
|
-
"not-found": "not-found";
|
|
11815
11829
|
conflict: "conflict";
|
|
11830
|
+
"not-found": "not-found";
|
|
11816
11831
|
"stale-generation": "stale-generation";
|
|
11817
11832
|
"cancel-mismatch": "cancel-mismatch";
|
|
11818
11833
|
"operation-mismatch": "operation-mismatch";
|
|
@@ -12244,6 +12259,7 @@ declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12244
12259
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
12245
12260
|
relations: z.ZodArray<z.ZodObject<{
|
|
12246
12261
|
type: z.ZodString;
|
|
12262
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
12247
12263
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12248
12264
|
refClass: z.ZodLiteral<"artifact">;
|
|
12249
12265
|
kind: z.ZodString;
|
|
@@ -13231,8 +13247,8 @@ type IterateHandler<TTrigger = unknown, TPreviousSteps extends Record<string, Pr
|
|
|
13231
13247
|
* - fresh: Start with clean context
|
|
13232
13248
|
*/
|
|
13233
13249
|
declare const ContextModeSchema$1: z.ZodEnum<{
|
|
13234
|
-
fresh: "fresh";
|
|
13235
13250
|
fork: "fork";
|
|
13251
|
+
fresh: "fresh";
|
|
13236
13252
|
}>;
|
|
13237
13253
|
type ContextMode = z.infer<typeof ContextModeSchema$1>;
|
|
13238
13254
|
/**
|
|
@@ -13367,8 +13383,8 @@ declare const SubagentConfigSchema$1: z.ZodObject<{
|
|
|
13367
13383
|
"extra-high": "extra-high";
|
|
13368
13384
|
}>>;
|
|
13369
13385
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
13370
|
-
fresh: "fresh";
|
|
13371
13386
|
fork: "fork";
|
|
13387
|
+
fresh: "fresh";
|
|
13372
13388
|
}>>;
|
|
13373
13389
|
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13374
13390
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -13537,8 +13553,8 @@ declare const SpawnSubagentRpcRequestSchema$1: z.ZodObject<{
|
|
|
13537
13553
|
"extra-high": "extra-high";
|
|
13538
13554
|
}>>;
|
|
13539
13555
|
contextMode: z.ZodDefault<z.ZodEnum<{
|
|
13540
|
-
fresh: "fresh";
|
|
13541
13556
|
fork: "fork";
|
|
13557
|
+
fresh: "fresh";
|
|
13542
13558
|
}>>;
|
|
13543
13559
|
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13544
13560
|
disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1766,8 +1766,8 @@ declare class AuthorityRequestDeliveryError extends Error {
|
|
|
1766
1766
|
* Optional reconnect callback invoked before each retry when the
|
|
1767
1767
|
* previous attempt failed with a transport-level error.
|
|
1768
1768
|
*
|
|
1769
|
-
* Implementations should trigger a bus reconnect (e.g.
|
|
1770
|
-
*
|
|
1769
|
+
* Implementations should trigger a bus reconnect (e.g. `bus.reconnect()`)
|
|
1770
|
+
* and return once the attempt has been initiated.
|
|
1771
1771
|
* Failures from the reconnect attempt are non-fatal; the next retry
|
|
1772
1772
|
* will naturally fail again if the transport is still down.
|
|
1773
1773
|
*/
|
|
@@ -1776,6 +1776,11 @@ type OutcomeReconnect = () => Promise<void>;
|
|
|
1776
1776
|
interface OutcomeSubmitOptions {
|
|
1777
1777
|
readonly retry?: OutcomeSubmitRetryConfig;
|
|
1778
1778
|
readonly reconnect?: OutcomeReconnect;
|
|
1779
|
+
/**
|
|
1780
|
+
* Cancels a pending request, retry delay, or reconnect wait.
|
|
1781
|
+
* The reconnect itself remains owned by its host lifecycle.
|
|
1782
|
+
*/
|
|
1783
|
+
readonly signal?: AbortSignal;
|
|
1779
1784
|
}
|
|
1780
1785
|
/**
|
|
1781
1786
|
* Submit a workflow outcome for durable acknowledgement with
|
|
@@ -1797,7 +1802,7 @@ interface OutcomeSubmitOptions {
|
|
|
1797
1802
|
* bus request; expiry throws a deterministic {@link OutcomeDeliveryError}.
|
|
1798
1803
|
* @param bus - Worker-local bus connected to the Authority.
|
|
1799
1804
|
* @param payload - Attempt identity and terminal result.
|
|
1800
|
-
* @param options - Optional retry configuration and
|
|
1805
|
+
* @param options - Optional retry configuration, reconnect callback, and cancellation signal.
|
|
1801
1806
|
* @returns Durable ACK decision (`accepted` or `duplicate`).
|
|
1802
1807
|
* @throws {@link OutcomeDeliveryError} On non-transient rejection or deadline expiry.
|
|
1803
1808
|
*/
|
|
@@ -1807,7 +1812,7 @@ declare function submitOutcomeWithAck(bus: IMakaioBus, payload: OutcomeSubmitPay
|
|
|
1807
1812
|
* as legacy workflow results.
|
|
1808
1813
|
* @param bus - Runtime bus authenticated as the Attempt peer.
|
|
1809
1814
|
* @param payload - Fenced Attempt result and optional admitted operation.
|
|
1810
|
-
* @param options - Retry and
|
|
1815
|
+
* @param options - Retry, reconnect, and cancellation behavior.
|
|
1811
1816
|
* @returns Durable Authority acknowledgement.
|
|
1812
1817
|
*/
|
|
1813
1818
|
declare function submitAttemptOutcomeWithAck(bus: IMakaioBus, payload: AttemptOutcomeSubmitPayload, options?: OutcomeSubmitOptions): Promise<OutcomeAckDecision>;
|
|
@@ -2906,12 +2911,17 @@ declare function bootstrapWorkerRuntime(options: BootstrapWorkerRuntimeOptions):
|
|
|
2906
2911
|
//#endregion
|
|
2907
2912
|
//#region runtimes/node/src/workflow-worker/attempt-control-client.d.ts
|
|
2908
2913
|
/** Options for the report transport retried independently of the cancel signal. */
|
|
2909
|
-
type AttemptControlReportOptions = OutcomeSubmitOptions
|
|
2914
|
+
type AttemptControlReportOptions = Omit<OutcomeSubmitOptions, 'signal'>;
|
|
2910
2915
|
/** Dependencies for the attempt control endpoint installer. */
|
|
2911
2916
|
interface AttemptControlEndpointDeps {
|
|
2912
2917
|
/** Retry and reconnect options for the `control.report` retrying transport. */
|
|
2913
2918
|
readonly reportOptions?: AttemptControlReportOptions;
|
|
2914
|
-
/**
|
|
2919
|
+
/**
|
|
2920
|
+
* Shutdown signal for `control.report` delivery, independent from the Cancel
|
|
2921
|
+
* signal that stops the workload.
|
|
2922
|
+
*/
|
|
2923
|
+
readonly reportSignal?: AbortSignal;
|
|
2924
|
+
/** Outer cancellation signal for endpoint installation only. */
|
|
2915
2925
|
readonly signal?: AbortSignal;
|
|
2916
2926
|
/** Wall-clock supplier; defaults to `() => new Date()`. */
|
|
2917
2927
|
readonly now?: () => Date;
|
|
@@ -2975,9 +2985,7 @@ interface InstalledAttemptControlEndpoint {
|
|
|
2975
2985
|
* The subject is static and filtered by `{ executionAttemptId, runtimeIncarnationId }`
|
|
2976
2986
|
* on the runtime bus — the same fenced scaffold the operation delivery endpoint
|
|
2977
2987
|
* uses. A delivery for another attempt or incarnation is a filter miss, never
|
|
2978
|
-
* seen here.
|
|
2979
|
-
* {@link installFencedAttemptEndpoint} for the gap that filter leaves open, and
|
|
2980
|
-
* for why it is wider on this subject than on `operation.deliver`.
|
|
2988
|
+
* seen here.
|
|
2981
2989
|
*
|
|
2982
2990
|
* The endpoint must exist before the runtime registers so that the authority's
|
|
2983
2991
|
* `reconcileAttemptCancellation` call can reach it. The scaffold's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-
|
|
1
|
+
import { g as OwnedAdapterInstance, h as MachineScopedAdapterInstance, w as Turn$1 } from "./index-BpQX136X.mjs";
|
|
2
2
|
import { a as PipelineStep, o as SessionEditorAction, t as ActionCategory } from "./types-BRM1AZaP.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -6596,8 +6596,8 @@ declare const MessageRoutingNamespace: _$_makaio_storage_core0.StorageNamespaceD
|
|
|
6596
6596
|
agentId: z.ZodString;
|
|
6597
6597
|
status: z.ZodEnum<{
|
|
6598
6598
|
completed: "completed";
|
|
6599
|
-
sent: "sent";
|
|
6600
6599
|
acknowledged: "acknowledged";
|
|
6600
|
+
sent: "sent";
|
|
6601
6601
|
}>;
|
|
6602
6602
|
timestamp: z.ZodNumber;
|
|
6603
6603
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -6622,8 +6622,8 @@ declare const MessageRoutingNamespace: _$_makaio_storage_core0.StorageNamespaceD
|
|
|
6622
6622
|
agentId: z.ZodString;
|
|
6623
6623
|
status: z.ZodEnum<{
|
|
6624
6624
|
completed: "completed";
|
|
6625
|
-
sent: "sent";
|
|
6626
6625
|
acknowledged: "acknowledged";
|
|
6626
|
+
sent: "sent";
|
|
6627
6627
|
}>;
|
|
6628
6628
|
timestamp: z.ZodNumber;
|
|
6629
6629
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -6710,7 +6710,7 @@ declare const MessageRoutingNamespace: _$_makaio_storage_core0.StorageNamespaceD
|
|
|
6710
6710
|
tableName: "message_routing";
|
|
6711
6711
|
dataType: "string";
|
|
6712
6712
|
columnType: "SQLiteText";
|
|
6713
|
-
data: "completed" | "
|
|
6713
|
+
data: "completed" | "acknowledged" | "sent";
|
|
6714
6714
|
driverParam: string;
|
|
6715
6715
|
notNull: true;
|
|
6716
6716
|
hasDefault: false;
|
|
@@ -6781,8 +6781,8 @@ declare const MessageRoutingSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
6781
6781
|
agentId: z.ZodString;
|
|
6782
6782
|
status: z.ZodEnum<{
|
|
6783
6783
|
completed: "completed";
|
|
6784
|
-
sent: "sent";
|
|
6785
6784
|
acknowledged: "acknowledged";
|
|
6785
|
+
sent: "sent";
|
|
6786
6786
|
}>;
|
|
6787
6787
|
timestamp: z.ZodNumber;
|
|
6788
6788
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -6807,8 +6807,8 @@ declare const MessageRoutingSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
|
|
|
6807
6807
|
agentId: z.ZodString;
|
|
6808
6808
|
status: z.ZodEnum<{
|
|
6809
6809
|
completed: "completed";
|
|
6810
|
-
sent: "sent";
|
|
6811
6810
|
acknowledged: "acknowledged";
|
|
6811
|
+
sent: "sent";
|
|
6812
6812
|
}>;
|
|
6813
6813
|
timestamp: z.ZodNumber;
|
|
6814
6814
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -6952,7 +6952,7 @@ declare const messageRouting: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<
|
|
|
6952
6952
|
tableName: "message_routing";
|
|
6953
6953
|
dataType: "string";
|
|
6954
6954
|
columnType: "SQLiteText";
|
|
6955
|
-
data: "completed" | "
|
|
6955
|
+
data: "completed" | "acknowledged" | "sent";
|
|
6956
6956
|
driverParam: string;
|
|
6957
6957
|
notNull: true;
|
|
6958
6958
|
hasDefault: false;
|
|
@@ -28,8 +28,8 @@ declare const WorkerBootstrapGrantedClaimResponseSchema: z.ZodObject<{
|
|
|
28
28
|
/** Non-secret refusals shared with start authorization plus remote claim eligibility. */
|
|
29
29
|
declare const WorkerBootstrapClaimRefusalReasonSchema: z.ZodEnum<{
|
|
30
30
|
resolved: "resolved";
|
|
31
|
-
"not-found": "not-found";
|
|
32
31
|
fenced: "fenced";
|
|
32
|
+
"not-found": "not-found";
|
|
33
33
|
"allocation-terminated": "allocation-terminated";
|
|
34
34
|
"gate-closed": "gate-closed";
|
|
35
35
|
"bootstrap-expired": "bootstrap-expired";
|
|
@@ -51,8 +51,8 @@ declare const WorkerBootstrapClaimResponseSchema: z.ZodDiscriminatedUnion<[z.Zod
|
|
|
51
51
|
status: z.ZodLiteral<"refused">;
|
|
52
52
|
reason: z.ZodEnum<{
|
|
53
53
|
resolved: "resolved";
|
|
54
|
-
"not-found": "not-found";
|
|
55
54
|
fenced: "fenced";
|
|
55
|
+
"not-found": "not-found";
|
|
56
56
|
"allocation-terminated": "allocation-terminated";
|
|
57
57
|
"gate-closed": "gate-closed";
|
|
58
58
|
"bootstrap-expired": "bootstrap-expired";
|
|
@@ -627,6 +627,7 @@ declare const WorkerSchemas$1: {
|
|
|
627
627
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
628
628
|
relations: z.ZodArray<z.ZodObject<{
|
|
629
629
|
type: z.ZodString;
|
|
630
|
+
sourceLocalId: z.ZodOptional<z.ZodString>;
|
|
630
631
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
631
632
|
refClass: z.ZodLiteral<"artifact">;
|
|
632
633
|
kind: z.ZodString;
|
|
@@ -777,10 +778,10 @@ declare const WorkerSchemas$1: {
|
|
|
777
778
|
}, z.core.$strict>;
|
|
778
779
|
response: z.ZodObject<{
|
|
779
780
|
decision: z.ZodEnum<{
|
|
780
|
-
fenced: "fenced";
|
|
781
781
|
accepted: "accepted";
|
|
782
782
|
duplicate: "duplicate";
|
|
783
783
|
conflict: "conflict";
|
|
784
|
+
fenced: "fenced";
|
|
784
785
|
}>;
|
|
785
786
|
}, z.core.$strict>;
|
|
786
787
|
};
|
|
@@ -813,8 +814,8 @@ declare const WorkerSchemas$1: {
|
|
|
813
814
|
status: z.ZodLiteral<"refused">;
|
|
814
815
|
reason: z.ZodEnum<{
|
|
815
816
|
resolved: "resolved";
|
|
816
|
-
"not-found": "not-found";
|
|
817
817
|
fenced: "fenced";
|
|
818
|
+
"not-found": "not-found";
|
|
818
819
|
"allocation-terminated": "allocation-terminated";
|
|
819
820
|
"gate-closed": "gate-closed";
|
|
820
821
|
"bootstrap-expired": "bootstrap-expired";
|
|
@@ -1229,6 +1230,7 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
|
|
|
1229
1230
|
data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1230
1231
|
relations: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1231
1232
|
type: _$zod.ZodString;
|
|
1233
|
+
sourceLocalId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1232
1234
|
target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1233
1235
|
refClass: _$zod.ZodLiteral<"artifact">;
|
|
1234
1236
|
kind: _$zod.ZodString;
|
|
@@ -1379,10 +1381,10 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
|
|
|
1379
1381
|
}, _$zod_v4_core0.$strict>;
|
|
1380
1382
|
response: _$zod.ZodObject<{
|
|
1381
1383
|
decision: _$zod.ZodEnum<{
|
|
1382
|
-
fenced: "fenced";
|
|
1383
1384
|
accepted: "accepted";
|
|
1384
1385
|
duplicate: "duplicate";
|
|
1385
1386
|
conflict: "conflict";
|
|
1387
|
+
fenced: "fenced";
|
|
1386
1388
|
}>;
|
|
1387
1389
|
}, _$zod_v4_core0.$strict>;
|
|
1388
1390
|
};
|
|
@@ -1404,8 +1406,8 @@ declare const WorkerNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker",
|
|
|
1404
1406
|
status: _$zod.ZodLiteral<"refused">;
|
|
1405
1407
|
reason: _$zod.ZodEnum<{
|
|
1406
1408
|
resolved: "resolved";
|
|
1407
|
-
"not-found": "not-found";
|
|
1408
1409
|
fenced: "fenced";
|
|
1410
|
+
"not-found": "not-found";
|
|
1409
1411
|
"allocation-terminated": "allocation-terminated";
|
|
1410
1412
|
"gate-closed": "gate-closed";
|
|
1411
1413
|
"bootstrap-expired": "bootstrap-expired";
|
|
@@ -1738,6 +1740,7 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
1738
1740
|
data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1739
1741
|
relations: _$zod.ZodArray<_$zod.ZodObject<{
|
|
1740
1742
|
type: _$zod.ZodString;
|
|
1743
|
+
sourceLocalId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1741
1744
|
target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
|
|
1742
1745
|
refClass: _$zod.ZodLiteral<"artifact">;
|
|
1743
1746
|
kind: _$zod.ZodString;
|
|
@@ -1888,10 +1891,10 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
1888
1891
|
}, _$zod_v4_core0.$strict>;
|
|
1889
1892
|
response: _$zod.ZodObject<{
|
|
1890
1893
|
decision: _$zod.ZodEnum<{
|
|
1891
|
-
fenced: "fenced";
|
|
1892
1894
|
accepted: "accepted";
|
|
1893
1895
|
duplicate: "duplicate";
|
|
1894
1896
|
conflict: "conflict";
|
|
1897
|
+
fenced: "fenced";
|
|
1895
1898
|
}>;
|
|
1896
1899
|
}, _$zod_v4_core0.$strict>;
|
|
1897
1900
|
};
|
|
@@ -1913,8 +1916,8 @@ declare const WorkerSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Flat
|
|
|
1913
1916
|
status: _$zod.ZodLiteral<"refused">;
|
|
1914
1917
|
reason: _$zod.ZodEnum<{
|
|
1915
1918
|
resolved: "resolved";
|
|
1916
|
-
"not-found": "not-found";
|
|
1917
1919
|
fenced: "fenced";
|
|
1920
|
+
"not-found": "not-found";
|
|
1918
1921
|
"allocation-terminated": "allocation-terminated";
|
|
1919
1922
|
"gate-closed": "gate-closed";
|
|
1920
1923
|
"bootstrap-expired": "bootstrap-expired";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as CliContribution } from "./types-QRSc2AUU.mjs";
|
|
2
|
-
import { c as ExtensionInfo } from "./index-
|
|
2
|
+
import { c as ExtensionInfo } from "./index-mTaFX2HH2.mjs";
|
|
3
3
|
import { r as WindowRegistry } from "./window-registry-DeG37kt8.mjs";
|
|
4
4
|
import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
|
|
5
5
|
import { IMakaioBus } from "@makaio/framework/bus";
|