@makaio/framework 1.0.0-dev-1789404058608 → 1.0.0-dev-1789642522820
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/{adapter-C4v_gNTI.mjs → adapter-DSRgsh2d.mjs} +1 -1
- package/dist/adapters/claude/index.d.mts +24 -24
- package/dist/adapters/claude/index.mjs +3 -3
- package/dist/bus/index.mjs +1 -1
- package/dist/bus-BOGcnhgA.mjs +9 -0
- package/dist/client-DqfP7BeX.mjs +1 -0
- package/dist/clients/index.d.mts +152 -11
- package/dist/clients/index.mjs +1 -1
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/index.mjs +1 -1
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +2 -2
- package/dist/contracts/capabilities/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +3 -3
- package/dist/contracts/client/index.mjs +1 -1
- package/dist/contracts/extension/index.d.mts +4 -4
- package/dist/contracts/index.d.mts +35 -35
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +1 -1
- package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/session/index.mjs +1 -1
- package/dist/contracts/shared/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/workflow/index.d.mts +2 -2
- package/dist/drizzle/0040_session_generation.sql +1 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/{framework-packages-Bg4edkkM.mjs → framework-packages-BNFG51Td.mjs} +1 -1
- package/dist/{hook-responses-Dq16X3Cb.d.mts → hook-responses-CQ2q0aPE.d.mts} +47 -4
- package/dist/{index-DaAWCLe9.d.mts → index-B-u0Tu8X.d.mts} +24 -24
- package/dist/{index-C1nSuiG0.d.mts → index-B6WkHnCQ.d.mts} +1 -1
- package/dist/{index-Du4wUv9q.d.mts → index-BS-Fhlux.d.mts} +48 -13
- package/dist/{index-BArnbdj6.d.mts → index-Bh57xARQ.d.mts} +65 -65
- package/dist/{index-DH0m01hJ2.d.mts → index-CXpgL3gz2.d.mts} +3 -3
- package/dist/{index-n1hV8uFw2.d.mts → index-CdWxSwhQ2.d.mts} +11 -11
- package/dist/{index-DjQebquc.d.mts → index-ClKwF6LE.d.mts} +291 -291
- package/dist/{index-BUC9P6Q12.d.mts → index-CztxEJrG2.d.mts} +51 -8
- package/dist/{index-BEi6nx1S2.d.mts → index-De_oh9M-2.d.mts} +1 -1
- package/dist/{index-N3f65Z_S.d.mts → index-Dn23R_ck.d.mts} +9 -9
- package/dist/{index-gu4mzfTr.d.mts → index-Hnsy6XhM.d.mts} +1 -1
- package/dist/{index-CWlvL7GB.d.mts → index-nkix3hP7.d.mts} +6 -6
- package/dist/{index-CGxjX4fw.d.mts → index-p1l00SGS.d.mts} +320 -12
- package/dist/{index-T-aAKybB.d.mts → index-xsaaa85T.d.mts} +8 -8
- package/dist/{index-HMb0RcTG2.d.mts → index-zEkS2L862.d.mts} +18 -12
- 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-DQpBf2CK.d.mts → namespace-B5IFLQc-.d.mts} +6 -6
- package/dist/{namespace-Cmu-5_P9.d.mts → namespace-BR03HE8G.d.mts} +42 -0
- package/dist/{namespace-uCaKZm89.d.mts → namespace-BqfzcRkL.d.mts} +3 -3
- package/dist/{namespace-CPGTaFqO.d.mts → namespace-Phxf0Lep.d.mts} +2 -2
- package/dist/{namespace-D2RZfl0a.d.mts → namespace-UFcDEBJB.d.mts} +2 -2
- package/dist/{namespace-DSRoDmT6.d.mts → namespace-rJ3ycPMg.d.mts} +2 -2
- package/dist/{orchestrator-shared-CtPB6PAr.mjs → orchestrator-shared-CxO1lfpP.mjs} +1 -1
- package/dist/ownership-memory-handler-BOhmmlJj.mjs +1 -0
- package/dist/{package-D-oIvXJD.d.mts → package-CDj3F-L3.d.mts} +1 -1
- package/dist/package.json +1 -1
- package/dist/{registry-DNMjJ-Oj.mjs → registry-DtaRGU8i.mjs} +1 -0
- package/dist/{schema-BA1cHBbc.d.mts → schema-DqKCg5Ec.d.mts} +30 -0
- package/dist/{schemas-CJKDu4Kt.d.mts → schemas-2_D4iVbb.d.mts} +1 -1
- package/dist/{schemas-BQsXr4FF.d.mts → schemas-CFciElld.d.mts} +7 -7
- package/dist/{schemas-BcynDWi-.d.mts → schemas-Cj6Gbqch.d.mts} +7 -7
- package/dist/schemas-CkxAK13D.mjs +1 -0
- package/dist/{schemas-e8o4JGBu.d.mts → schemas-Cq1d5tid.d.mts} +2 -2
- 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/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/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 +28 -28
- package/dist/services/index.mjs +1 -1
- package/dist/services/session/index.d.mts +4 -4
- package/dist/services/session/index.mjs +1 -1
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/orchestrator-testing/index.mjs +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/session/storage/schema.mjs +1 -1
- package/dist/services/session/testing/index.mjs +2 -1
- package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- 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/tool-approval/index.mjs +1 -1
- package/dist/services/tools/index.mjs +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/services/workflow-transitions/index.mjs +1 -1
- package/dist/session-BP5aq2kt.mjs +95 -0
- package/dist/{session-BB0s7c2B.mjs → session-BcArFp9M.mjs} +1 -1
- package/dist/{session-lineage-BQimcKsh.d.mts → session-lineage-C3myyt5x.d.mts} +1 -1
- package/dist/storage/drizzle/client.mjs +1 -1
- package/dist/storage/drizzle/index.mjs +1 -1
- package/dist/{tool-approval-service-pbkGcAV8.mjs → tool-approval-service-CXTklh3T.mjs} +1 -1
- package/dist/{tools-C5Gy0IQG.mjs → tools-hiFv-jJn.mjs} +1 -1
- package/dist/{transition-JmAdtcwW.d.mts → transition-D-Lgbp1j.d.mts} +1 -1
- package/dist/{types-C5MnkQv6.d.mts → types-D5kqrOad.d.mts} +18 -9
- package/dist/{view-builder-ByHQ4Oop.d.mts → view-builder-CHUTXJDl.d.mts} +2 -2
- package/dist/workflow-engine/index.d.mts +34 -34
- package/dist/workflow-engine/package.d.mts +1 -1
- package/dist/{workflow-transitions-C0sg3kar.mjs → workflow-transitions-BalNKTtE.mjs} +1 -1
- package/package.json +1 -1
- package/dist/bus-DlTN167w.mjs +0 -9
- package/dist/client-CgtNXGXg.mjs +0 -1
- package/dist/ownership-memory-handler-xex7sLiX.mjs +0 -1
- package/dist/schemas-ClkcU_N5.mjs +0 -1
- package/dist/session-6UG5udTX.mjs +0 -95
- package/dist/{index-CCH0Dnty2.d.mts → index-Htfr-K5U2.d.mts} +6 -6
- package/dist/{schemas-lAb9QH1A.d.mts → schemas-JjyFxrC0.d.mts} +8 -8
|
@@ -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 { l as JsonValue$1 } from "./json-value-Ymw2f8i_.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { l as JsonValue$1 } from "./json-value-Ymw2f8i_.mjs";
|
|
2
|
-
import { s as MessageBlock$1 } from "./index-
|
|
2
|
+
import { s as MessageBlock$1 } from "./index-De_oh9M-2.mjs";
|
|
3
3
|
import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-Cv0XiTXb.mjs";
|
|
4
4
|
import * as _$zod from "zod";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -232,6 +232,7 @@ declare const MakaioSessionSchema: z.ZodObject<{
|
|
|
232
232
|
coordinator: "coordinator";
|
|
233
233
|
aside: "aside";
|
|
234
234
|
}>>;
|
|
235
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
235
236
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
236
237
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
237
238
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -380,6 +381,7 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
|
|
|
380
381
|
coordinator: "coordinator";
|
|
381
382
|
aside: "aside";
|
|
382
383
|
}>>;
|
|
384
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
383
385
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
384
386
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
385
387
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -602,6 +604,7 @@ declare const SessionSnapshotSchema: z.ZodObject<{
|
|
|
602
604
|
coordinator: "coordinator";
|
|
603
605
|
aside: "aside";
|
|
604
606
|
}>>;
|
|
607
|
+
generation: z.ZodOptional<z.ZodNumber>;
|
|
605
608
|
adapterName: z.ZodOptional<z.ZodString>;
|
|
606
609
|
adapterSessionId: z.ZodOptional<z.ZodString>;
|
|
607
610
|
currentAdapterSessionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1552,8 +1555,8 @@ type Turn$1 = z.infer<typeof TurnSchema$1>;
|
|
|
1552
1555
|
*/
|
|
1553
1556
|
declare const MessageRoutingStatusSchema: z.ZodEnum<{
|
|
1554
1557
|
completed: "completed";
|
|
1555
|
-
sent: "sent";
|
|
1556
1558
|
acknowledged: "acknowledged";
|
|
1559
|
+
sent: "sent";
|
|
1557
1560
|
}>;
|
|
1558
1561
|
type MessageRoutingStatus = z.infer<typeof MessageRoutingStatusSchema>;
|
|
1559
1562
|
/**
|
|
@@ -1564,8 +1567,8 @@ declare const MessageRoutingSchema$1: z.ZodObject<{
|
|
|
1564
1567
|
agentId: z.ZodString;
|
|
1565
1568
|
status: z.ZodEnum<{
|
|
1566
1569
|
completed: "completed";
|
|
1567
|
-
sent: "sent";
|
|
1568
1570
|
acknowledged: "acknowledged";
|
|
1571
|
+
sent: "sent";
|
|
1569
1572
|
}>;
|
|
1570
1573
|
timestamp: z.ZodNumber;
|
|
1571
1574
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -5107,8 +5110,8 @@ declare const SessionOwnershipClaimResponseSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
5107
5110
|
}, z.core.$strip>, z.ZodObject<{
|
|
5108
5111
|
outcome: z.ZodLiteral<"not-found">;
|
|
5109
5112
|
missing: z.ZodEnum<{
|
|
5110
|
-
session: "session";
|
|
5111
5113
|
agent: "agent";
|
|
5114
|
+
session: "session";
|
|
5112
5115
|
}>;
|
|
5113
5116
|
}, z.core.$strip>, z.ZodObject<{
|
|
5114
5117
|
outcome: z.ZodLiteral<"currency-changed">;
|
|
@@ -5929,8 +5932,8 @@ declare const SessionOwnershipStorageNamespace: ContractStorageNamespaceDefiniti
|
|
|
5929
5932
|
}, z.core.$strip>, z.ZodObject<{
|
|
5930
5933
|
outcome: z.ZodLiteral<"not-found">;
|
|
5931
5934
|
missing: z.ZodEnum<{
|
|
5932
|
-
session: "session";
|
|
5933
5935
|
agent: "agent";
|
|
5936
|
+
session: "session";
|
|
5934
5937
|
}>;
|
|
5935
5938
|
}, z.core.$strip>, z.ZodObject<{
|
|
5936
5939
|
outcome: z.ZodLiteral<"currency-changed">;
|
|
@@ -6673,8 +6676,8 @@ declare const SessionOwnershipStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_
|
|
|
6673
6676
|
}, z.core.$strip>, z.ZodObject<{
|
|
6674
6677
|
outcome: z.ZodLiteral<"not-found">;
|
|
6675
6678
|
missing: z.ZodEnum<{
|
|
6676
|
-
session: "session";
|
|
6677
6679
|
agent: "agent";
|
|
6680
|
+
session: "session";
|
|
6678
6681
|
}>;
|
|
6679
6682
|
}, z.core.$strip>, z.ZodObject<{
|
|
6680
6683
|
outcome: z.ZodLiteral<"currency-changed">;
|
|
@@ -7461,8 +7464,8 @@ declare const SessionOwnershipReserveStartServiceResponseSchema: z.ZodDiscrimina
|
|
|
7461
7464
|
}, z.core.$strip>, z.ZodObject<{
|
|
7462
7465
|
outcome: z.ZodLiteral<"not-found">;
|
|
7463
7466
|
missing: z.ZodEnum<{
|
|
7464
|
-
session: "session";
|
|
7465
7467
|
agent: "agent";
|
|
7468
|
+
session: "session";
|
|
7466
7469
|
}>;
|
|
7467
7470
|
}, z.core.$strip>, z.ZodObject<{
|
|
7468
7471
|
outcome: z.ZodLiteral<"machine-identity-unavailable">;
|
|
@@ -8020,8 +8023,8 @@ declare const SessionSchemas: {
|
|
|
8020
8023
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
8021
8024
|
outcome: _$zod.ZodLiteral<"not-found">;
|
|
8022
8025
|
missing: _$zod.ZodEnum<{
|
|
8023
|
-
session: "session";
|
|
8024
8026
|
agent: "agent";
|
|
8027
|
+
session: "session";
|
|
8025
8028
|
}>;
|
|
8026
8029
|
}, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
|
|
8027
8030
|
outcome: _$zod.ZodLiteral<"machine-identity-unavailable">;
|
|
@@ -10445,6 +10448,7 @@ declare const SessionSchemas: {
|
|
|
10445
10448
|
coordinator: "coordinator";
|
|
10446
10449
|
aside: "aside";
|
|
10447
10450
|
}>>;
|
|
10451
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
10448
10452
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
10449
10453
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
10450
10454
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -11117,6 +11121,7 @@ declare const SessionSchemas: {
|
|
|
11117
11121
|
coordinator: "coordinator";
|
|
11118
11122
|
aside: "aside";
|
|
11119
11123
|
}>>;
|
|
11124
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
11120
11125
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
11121
11126
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
11122
11127
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -11835,8 +11840,8 @@ declare const SessionSchemas: {
|
|
|
11835
11840
|
maxTokens: _$zod.ZodNumber;
|
|
11836
11841
|
percentage: _$zod.ZodNumber;
|
|
11837
11842
|
level: _$zod.ZodEnum<{
|
|
11838
|
-
ok: "ok";
|
|
11839
11843
|
warn: "warn";
|
|
11844
|
+
ok: "ok";
|
|
11840
11845
|
critical: "critical";
|
|
11841
11846
|
}>;
|
|
11842
11847
|
lastUpdatedAt: _$zod.ZodNumber;
|
|
@@ -12306,6 +12311,7 @@ declare const SessionSchemas: {
|
|
|
12306
12311
|
coordinator: "coordinator";
|
|
12307
12312
|
aside: "aside";
|
|
12308
12313
|
}>>;
|
|
12314
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
12309
12315
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
12310
12316
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
12311
12317
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -12464,6 +12470,7 @@ declare const SessionSchemas: {
|
|
|
12464
12470
|
coordinator: "coordinator";
|
|
12465
12471
|
aside: "aside";
|
|
12466
12472
|
}>>;
|
|
12473
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
12467
12474
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
12468
12475
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
12469
12476
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -12613,6 +12620,7 @@ declare const SessionSchemas: {
|
|
|
12613
12620
|
coordinator: "coordinator";
|
|
12614
12621
|
aside: "aside";
|
|
12615
12622
|
}>>;
|
|
12623
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
12616
12624
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
12617
12625
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
12618
12626
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -12876,6 +12884,7 @@ declare const SessionSchemas: {
|
|
|
12876
12884
|
coordinator: "coordinator";
|
|
12877
12885
|
aside: "aside";
|
|
12878
12886
|
}>>;
|
|
12887
|
+
generation: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
12879
12888
|
adapterName: _$zod.ZodOptional<_$zod.ZodString>;
|
|
12880
12889
|
adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
12881
12890
|
currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-
|
|
1
|
+
import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-JjyFxrC0.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
4
4
|
|
|
@@ -134,8 +134,8 @@ type ProjectedField = z.infer<typeof ProjectedFieldSchema>;
|
|
|
134
134
|
declare const ArtifactProjectionPolicySchema: z.ZodObject<{
|
|
135
135
|
mode: z.ZodEnum<{
|
|
136
136
|
none: "none";
|
|
137
|
-
comment: "comment";
|
|
138
137
|
surface: "surface";
|
|
138
|
+
comment: "comment";
|
|
139
139
|
}>;
|
|
140
140
|
defaultRole: z.ZodOptional<z.ZodEnum<{
|
|
141
141
|
artifact: "artifact";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as InitialProviderOperationClaimContextSource, $t as AttemptSettlementSnapshot, A as OperationReportDecision, At as evaluateRuntimeReadiness, B as RecordProvisioningAbsentInput, Bt as snapshotRequestExecutionCancellationInput, C as ExecutionAttemptStatus, Ct as RuntimeOutcomeFenceMismatchError, D as MarkRuntimeReadyInput, Dt as evaluateOperationCompletion, E as InfrastructureFailureDecision, Et as evaluateOperationAdmission, F as ReadBootstrapStartStateInput, Ft as RequestAttemptCancellationInput, G as RuntimeRegistrationDecision, Gt as ReadAttemptCancellationControlInput, H as RegisterRuntimeInput, Ht as AttemptControlEvidence, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, Jt as evaluateAttemptControlReceipt, K as decodeDurableOutcome, Kt as RecordAttemptControlReceiptInput, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, Ot as evaluatePreparationReport, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Q as InitialProviderOperationClaimContext, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, T as GetInstructionInput, Tt as evaluateAttemptReachability, U as ReportOperationInput, Ut as AttemptControlEvidenceDecision, V as RecoverableAttemptRecord, Vt as AttemptCancellationControlState, W as RuntimeReadinessDecision, Wt as AttemptControlEvidenceRepository, X as CompleteProviderOperationInput, Xt as snapshotAttemptControlReceipt, Y as sameDurableOutcome, Yt as evaluateAttemptControlReport, Z as HandoffProviderOperationInput, Zt as snapshotAttemptControlReport, _ as EXECUTION_ATTEMPT_STATUSES, _t as isProviderOperationResolved, a as AllocationRefEvolutionDecision, an as replayEnsuredAttempt, at as ProviderOperationClaimDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, cn as snapshotReadAttemptSettlementInput, ct as ProviderOperationLeaseRenewal, d as BootstrapStartState, dt as ProviderOperationOwnershipRecord, en as EnsureExecutionAttemptDecision, et as ListOpenProviderOperationsInput, f as CompleteOperationInput, ft as ProvisionerIncarnationLossDecision, g as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, gt as TakeOverProviderOperationInput, h as DurableOutcome, ht as RenewProviderOperationClaimInput, i as AllocationRefEvolution, in as readAttemptSettlementSnapshot, it as ProviderOperationClaim, j as OutcomeCodec, jt as evaluateRuntimeRegistration, k as OperationCompletionDecision, kt as evaluateProvisionerIncarnationLoss, l as AttemptOperationStartGate, lt as ProviderOperationMutationDecision, m as DuplicateExecutionAttemptError, mt as RecordProviderOperationUncertaintyInput, n as AdmitOperationInput, nn as EnsureExecutionAttemptPersistenceInput, nt as PROVIDER_OPERATION_OBLIGATIONS, o as AllocationTerminationDecision, on as snapshotEnsureExecutionAttemptInput, ot as ProviderOperationCompletionDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, qt as ReportAttemptControlInput, r as AllocationRecordingDecision, rn as ReadAttemptSettlementInput, rt as ProcessBoundProvisionerLossProof, s as AttemptControlState, sn as snapshotEnsureExecutionAttemptPersistenceInput, st as ProviderOperationLeasePolicy, t as ATTEMPT_OPERATION_START_GATES, tn as EnsureExecutionAttemptInput, tt as OpenProviderOperationRecord, u as BeginProvisioningInput, ut as ProviderOperationObligation, v as ExecutionAttemptCreate, vt as ExecutionAttemptOutcomeCommit, w as ExecutionOwnerId, wt as assertRuntimeOutcomeFence, x as ExecutionAttemptRepository, xt as AttemptReachabilityDecision, y as ExecutionAttemptRecord, yt as ExecutionAttemptOutcomeDecision, z as RecordProvisionerIncarnationLostInput, zt as snapshotRequestAttemptCancellationInput } from "../execution-attempt-repository-BUah8hma.mjs";
|
|
2
|
-
import { A as BootstrapStartOptions, C as OutcomeAcceptance, D as submitAttemptOutcome, E as OutcomePreCommitValidation, M as WorkflowMaterializationSpecResolver, N as WorkflowWorkspaceRootResolver, O as ExecutionAttemptAuthority, P as registerDrizzleWorkflowStorage, S as AttemptOutcomeSubmissionDeps, T as OutcomeConvergenceInput, _ as AttemptOutcomeDecodingInput, a as WorkflowEngineServiceOptions, b as AcceptedAttemptOutcome, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as workflowAttemptOutcomeCodec, h as toCommittedWorkflowRunnerResult, i as WorkflowEngineService, j as WorkflowMaterializationSpecResolution, k as BootstrapStartAuthority, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerCompletion, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as ExecutionAttemptHandlersDeps, w as OutcomeConvergence, x as AttemptOutcomeSubmission, y as registerExecutionAttemptHandlers } from "../package-
|
|
2
|
+
import { A as BootstrapStartOptions, C as OutcomeAcceptance, D as submitAttemptOutcome, E as OutcomePreCommitValidation, M as WorkflowMaterializationSpecResolver, N as WorkflowWorkspaceRootResolver, O as ExecutionAttemptAuthority, P as registerDrizzleWorkflowStorage, S as AttemptOutcomeSubmissionDeps, T as OutcomeConvergenceInput, _ as AttemptOutcomeDecodingInput, a as WorkflowEngineServiceOptions, b as AcceptedAttemptOutcome, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as workflowAttemptOutcomeCodec, h as toCommittedWorkflowRunnerResult, i as WorkflowEngineService, j as WorkflowMaterializationSpecResolution, k as BootstrapStartAuthority, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerCompletion, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as ExecutionAttemptHandlersDeps, w as OutcomeConvergence, x as AttemptOutcomeSubmission, y as registerExecutionAttemptHandlers } from "../package-CDj3F-L3.mjs";
|
|
3
3
|
import { WorkflowTriggerPayloadPredicate, assertWorkflowTriggerPayload, compileWorkflowTriggerBindingFilter } from "./workflow-trigger-binding-consumer.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
@@ -835,8 +835,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
835
835
|
pending: "pending";
|
|
836
836
|
completed: "completed";
|
|
837
837
|
cancelled: "cancelled";
|
|
838
|
-
running: "running";
|
|
839
838
|
failed: "failed";
|
|
839
|
+
running: "running";
|
|
840
840
|
paused: "paused";
|
|
841
841
|
finalizing: "finalizing";
|
|
842
842
|
}>;
|
|
@@ -877,8 +877,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
877
877
|
pending: "pending";
|
|
878
878
|
completed: "completed";
|
|
879
879
|
cancelled: "cancelled";
|
|
880
|
-
running: "running";
|
|
881
880
|
failed: "failed";
|
|
881
|
+
running: "running";
|
|
882
882
|
paused: "paused";
|
|
883
883
|
finalizing: "finalizing";
|
|
884
884
|
}>;
|
|
@@ -926,8 +926,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
926
926
|
pending: "pending";
|
|
927
927
|
completed: "completed";
|
|
928
928
|
cancelled: "cancelled";
|
|
929
|
-
running: "running";
|
|
930
929
|
failed: "failed";
|
|
930
|
+
running: "running";
|
|
931
931
|
paused: "paused";
|
|
932
932
|
finalizing: "finalizing";
|
|
933
933
|
}>;
|
|
@@ -1266,8 +1266,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1266
1266
|
pending: "pending";
|
|
1267
1267
|
completed: "completed";
|
|
1268
1268
|
cancelled: "cancelled";
|
|
1269
|
-
running: "running";
|
|
1270
1269
|
failed: "failed";
|
|
1270
|
+
running: "running";
|
|
1271
1271
|
paused: "paused";
|
|
1272
1272
|
finalizing: "finalizing";
|
|
1273
1273
|
}>>;
|
|
@@ -1464,8 +1464,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1464
1464
|
pending: "pending";
|
|
1465
1465
|
completed: "completed";
|
|
1466
1466
|
cancelled: "cancelled";
|
|
1467
|
-
running: "running";
|
|
1468
1467
|
failed: "failed";
|
|
1468
|
+
running: "running";
|
|
1469
1469
|
paused: "paused";
|
|
1470
1470
|
finalizing: "finalizing";
|
|
1471
1471
|
}>>;
|
|
@@ -1488,8 +1488,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1488
1488
|
pending: "pending";
|
|
1489
1489
|
completed: "completed";
|
|
1490
1490
|
cancelled: "cancelled";
|
|
1491
|
-
running: "running";
|
|
1492
1491
|
failed: "failed";
|
|
1492
|
+
running: "running";
|
|
1493
1493
|
paused: "paused";
|
|
1494
1494
|
finalizing: "finalizing";
|
|
1495
1495
|
}>;
|
|
@@ -1541,8 +1541,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1541
1541
|
pending: "pending";
|
|
1542
1542
|
completed: "completed";
|
|
1543
1543
|
cancelled: "cancelled";
|
|
1544
|
-
running: "running";
|
|
1545
1544
|
failed: "failed";
|
|
1545
|
+
running: "running";
|
|
1546
1546
|
paused: "paused";
|
|
1547
1547
|
finalizing: "finalizing";
|
|
1548
1548
|
}>;
|
|
@@ -1602,8 +1602,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1602
1602
|
pending: "pending";
|
|
1603
1603
|
completed: "completed";
|
|
1604
1604
|
cancelled: "cancelled";
|
|
1605
|
-
running: "running";
|
|
1606
1605
|
failed: "failed";
|
|
1606
|
+
running: "running";
|
|
1607
1607
|
skipped: "skipped";
|
|
1608
1608
|
waiting: "waiting";
|
|
1609
1609
|
}>;
|
|
@@ -1648,8 +1648,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1648
1648
|
pending: "pending";
|
|
1649
1649
|
completed: "completed";
|
|
1650
1650
|
cancelled: "cancelled";
|
|
1651
|
-
running: "running";
|
|
1652
1651
|
failed: "failed";
|
|
1652
|
+
running: "running";
|
|
1653
1653
|
skipped: "skipped";
|
|
1654
1654
|
waiting: "waiting";
|
|
1655
1655
|
}>;
|
|
@@ -1691,8 +1691,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1691
1691
|
pending: "pending";
|
|
1692
1692
|
completed: "completed";
|
|
1693
1693
|
cancelled: "cancelled";
|
|
1694
|
-
running: "running";
|
|
1695
1694
|
failed: "failed";
|
|
1695
|
+
running: "running";
|
|
1696
1696
|
skipped: "skipped";
|
|
1697
1697
|
waiting: "waiting";
|
|
1698
1698
|
}>;
|
|
@@ -1965,8 +1965,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1965
1965
|
}>;
|
|
1966
1966
|
status: z.ZodEnum<{
|
|
1967
1967
|
completed: "completed";
|
|
1968
|
-
running: "running";
|
|
1969
1968
|
failed: "failed";
|
|
1969
|
+
running: "running";
|
|
1970
1970
|
skipped: "skipped";
|
|
1971
1971
|
}>;
|
|
1972
1972
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2001,8 +2001,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2001
2001
|
}>;
|
|
2002
2002
|
status: z.ZodEnum<{
|
|
2003
2003
|
completed: "completed";
|
|
2004
|
-
running: "running";
|
|
2005
2004
|
failed: "failed";
|
|
2005
|
+
running: "running";
|
|
2006
2006
|
skipped: "skipped";
|
|
2007
2007
|
}>;
|
|
2008
2008
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3065,7 +3065,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3065
3065
|
tableName: "workflow_executions";
|
|
3066
3066
|
dataType: "string";
|
|
3067
3067
|
columnType: "SQLiteText";
|
|
3068
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
3068
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "paused" | "finalizing";
|
|
3069
3069
|
driverParam: string;
|
|
3070
3070
|
notNull: true;
|
|
3071
3071
|
hasDefault: false;
|
|
@@ -3392,7 +3392,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3392
3392
|
tableName: "workflow_execution_frames";
|
|
3393
3393
|
dataType: "string";
|
|
3394
3394
|
columnType: "SQLiteText";
|
|
3395
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
3395
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
|
|
3396
3396
|
driverParam: string;
|
|
3397
3397
|
notNull: true;
|
|
3398
3398
|
hasDefault: true;
|
|
@@ -3405,7 +3405,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3405
3405
|
generated: undefined;
|
|
3406
3406
|
}, {}, {
|
|
3407
3407
|
length: number | undefined;
|
|
3408
|
-
$type: "pending" | "completed" | "cancelled" | "
|
|
3408
|
+
$type: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
|
|
3409
3409
|
}>;
|
|
3410
3410
|
attempt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3411
3411
|
name: string;
|
|
@@ -3922,7 +3922,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3922
3922
|
tableName: "workflow_step_spans";
|
|
3923
3923
|
dataType: "string";
|
|
3924
3924
|
columnType: "SQLiteText";
|
|
3925
|
-
data: "completed" | "
|
|
3925
|
+
data: "completed" | "failed" | "running" | "skipped";
|
|
3926
3926
|
driverParam: string;
|
|
3927
3927
|
notNull: true;
|
|
3928
3928
|
hasDefault: false;
|
|
@@ -3935,7 +3935,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3935
3935
|
generated: undefined;
|
|
3936
3936
|
}, {}, {
|
|
3937
3937
|
length: number | undefined;
|
|
3938
|
-
$type: "completed" | "
|
|
3938
|
+
$type: "completed" | "failed" | "running" | "skipped";
|
|
3939
3939
|
}>;
|
|
3940
3940
|
startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3941
3941
|
name: string;
|
|
@@ -4944,7 +4944,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4944
4944
|
tableName: "worklog_summaries";
|
|
4945
4945
|
dataType: "string";
|
|
4946
4946
|
columnType: "SQLiteText";
|
|
4947
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
4947
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "paused" | "finalizing";
|
|
4948
4948
|
driverParam: string;
|
|
4949
4949
|
notNull: true;
|
|
4950
4950
|
hasDefault: false;
|
|
@@ -5206,7 +5206,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5206
5206
|
tableName: "worklog_frame_entries";
|
|
5207
5207
|
dataType: "string";
|
|
5208
5208
|
columnType: "SQLiteText";
|
|
5209
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
5209
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
|
|
5210
5210
|
driverParam: string;
|
|
5211
5211
|
notNull: true;
|
|
5212
5212
|
hasDefault: false;
|
|
@@ -6040,7 +6040,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
6040
6040
|
tableName: "workflow_finalizations";
|
|
6041
6041
|
dataType: "string";
|
|
6042
6042
|
columnType: "SQLiteText";
|
|
6043
|
-
data: "
|
|
6043
|
+
data: "acknowledged" | "failed" | "claimed";
|
|
6044
6044
|
driverParam: string;
|
|
6045
6045
|
notNull: true;
|
|
6046
6046
|
hasDefault: false;
|
|
@@ -6484,8 +6484,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6484
6484
|
pending: "pending";
|
|
6485
6485
|
completed: "completed";
|
|
6486
6486
|
cancelled: "cancelled";
|
|
6487
|
-
running: "running";
|
|
6488
6487
|
failed: "failed";
|
|
6488
|
+
running: "running";
|
|
6489
6489
|
paused: "paused";
|
|
6490
6490
|
finalizing: "finalizing";
|
|
6491
6491
|
}>;
|
|
@@ -6526,8 +6526,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6526
6526
|
pending: "pending";
|
|
6527
6527
|
completed: "completed";
|
|
6528
6528
|
cancelled: "cancelled";
|
|
6529
|
-
running: "running";
|
|
6530
6529
|
failed: "failed";
|
|
6530
|
+
running: "running";
|
|
6531
6531
|
paused: "paused";
|
|
6532
6532
|
finalizing: "finalizing";
|
|
6533
6533
|
}>;
|
|
@@ -6575,8 +6575,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6575
6575
|
pending: "pending";
|
|
6576
6576
|
completed: "completed";
|
|
6577
6577
|
cancelled: "cancelled";
|
|
6578
|
-
running: "running";
|
|
6579
6578
|
failed: "failed";
|
|
6579
|
+
running: "running";
|
|
6580
6580
|
paused: "paused";
|
|
6581
6581
|
finalizing: "finalizing";
|
|
6582
6582
|
}>;
|
|
@@ -6915,8 +6915,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6915
6915
|
pending: "pending";
|
|
6916
6916
|
completed: "completed";
|
|
6917
6917
|
cancelled: "cancelled";
|
|
6918
|
-
running: "running";
|
|
6919
6918
|
failed: "failed";
|
|
6919
|
+
running: "running";
|
|
6920
6920
|
paused: "paused";
|
|
6921
6921
|
finalizing: "finalizing";
|
|
6922
6922
|
}>>;
|
|
@@ -7113,8 +7113,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7113
7113
|
pending: "pending";
|
|
7114
7114
|
completed: "completed";
|
|
7115
7115
|
cancelled: "cancelled";
|
|
7116
|
-
running: "running";
|
|
7117
7116
|
failed: "failed";
|
|
7117
|
+
running: "running";
|
|
7118
7118
|
paused: "paused";
|
|
7119
7119
|
finalizing: "finalizing";
|
|
7120
7120
|
}>>;
|
|
@@ -7137,8 +7137,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7137
7137
|
pending: "pending";
|
|
7138
7138
|
completed: "completed";
|
|
7139
7139
|
cancelled: "cancelled";
|
|
7140
|
-
running: "running";
|
|
7141
7140
|
failed: "failed";
|
|
7141
|
+
running: "running";
|
|
7142
7142
|
paused: "paused";
|
|
7143
7143
|
finalizing: "finalizing";
|
|
7144
7144
|
}>;
|
|
@@ -7190,8 +7190,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7190
7190
|
pending: "pending";
|
|
7191
7191
|
completed: "completed";
|
|
7192
7192
|
cancelled: "cancelled";
|
|
7193
|
-
running: "running";
|
|
7194
7193
|
failed: "failed";
|
|
7194
|
+
running: "running";
|
|
7195
7195
|
paused: "paused";
|
|
7196
7196
|
finalizing: "finalizing";
|
|
7197
7197
|
}>;
|
|
@@ -7251,8 +7251,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7251
7251
|
pending: "pending";
|
|
7252
7252
|
completed: "completed";
|
|
7253
7253
|
cancelled: "cancelled";
|
|
7254
|
-
running: "running";
|
|
7255
7254
|
failed: "failed";
|
|
7255
|
+
running: "running";
|
|
7256
7256
|
skipped: "skipped";
|
|
7257
7257
|
waiting: "waiting";
|
|
7258
7258
|
}>;
|
|
@@ -7297,8 +7297,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7297
7297
|
pending: "pending";
|
|
7298
7298
|
completed: "completed";
|
|
7299
7299
|
cancelled: "cancelled";
|
|
7300
|
-
running: "running";
|
|
7301
7300
|
failed: "failed";
|
|
7301
|
+
running: "running";
|
|
7302
7302
|
skipped: "skipped";
|
|
7303
7303
|
waiting: "waiting";
|
|
7304
7304
|
}>;
|
|
@@ -7340,8 +7340,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7340
7340
|
pending: "pending";
|
|
7341
7341
|
completed: "completed";
|
|
7342
7342
|
cancelled: "cancelled";
|
|
7343
|
-
running: "running";
|
|
7344
7343
|
failed: "failed";
|
|
7344
|
+
running: "running";
|
|
7345
7345
|
skipped: "skipped";
|
|
7346
7346
|
waiting: "waiting";
|
|
7347
7347
|
}>;
|
|
@@ -7614,8 +7614,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7614
7614
|
}>;
|
|
7615
7615
|
status: z.ZodEnum<{
|
|
7616
7616
|
completed: "completed";
|
|
7617
|
-
running: "running";
|
|
7618
7617
|
failed: "failed";
|
|
7618
|
+
running: "running";
|
|
7619
7619
|
skipped: "skipped";
|
|
7620
7620
|
}>;
|
|
7621
7621
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7650,8 +7650,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
7650
7650
|
}>;
|
|
7651
7651
|
status: z.ZodEnum<{
|
|
7652
7652
|
completed: "completed";
|
|
7653
|
-
running: "running";
|
|
7654
7653
|
failed: "failed";
|
|
7654
|
+
running: "running";
|
|
7655
7655
|
skipped: "skipped";
|
|
7656
7656
|
}>;
|
|
7657
7657
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8441,7 +8441,7 @@ declare const workflowStepSpansDual: _$_makaio_storage_drizzle0.DualTable<"workf
|
|
|
8441
8441
|
frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>; /** Step identifier within the workflow definition. */
|
|
8442
8442
|
stepId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_id", [string, ...string[]]>>>; /** Step type discriminant. */
|
|
8443
8443
|
stepType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_type", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_type", [string, ...string[]]>>>; /** Current span status. */
|
|
8444
|
-
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "
|
|
8444
|
+
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "failed" | "running" | "skipped">>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", [string, ...string[]]>, "completed" | "failed" | "running" | "skipped">>>; /** Step start timestamp (epoch ms). */
|
|
8445
8445
|
startedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Step completion timestamp (epoch ms). */
|
|
8446
8446
|
completedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Wall-clock duration in milliseconds. */
|
|
8447
8447
|
durationMs: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Input tokens consumed (agent steps). */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createWorkflowEnginePackage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-
|
|
1
|
+
import { n as createWorkflowEnginePackage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-CDj3F-L3.mjs";
|
|
2
2
|
export { WorkflowEngineToken, createWorkflowEnginePackage, workflowEnginePackage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{u as e}from"./framework-packages-
|
|
1
|
+
import{u as e}from"./framework-packages-BNFG51Td.mjs";function t(){let t=new Map;return{filter:e=>!!(e.transitionRules?.rules?.length||e.transitionActions?.actions),async processActivated(i,a,o){let s=o.getService(e);if(!s)throw Error(`TransitionContributionProcessor: TransitionPipelineService is not available — ensure '${e.name}' is started before extensions with transitionRules or transitionActions.`);let c=a.transitionRules?.rules??[],l=a.transitionActions?.actions,u=c.length>0,d=l!==void 0;u&&n(i,c),d&&r(i,l);let f=!1,p=!1;try{u&&(s.ruleRegistry.register(i,c),f=!0),d&&(s.actionRegistry.register(i,l),p=!0)}catch(e){throw f&&s.ruleRegistry.deregister(i),p&&s.actionRegistry.deregister(i),e}t.set(i,()=>{u&&s.ruleRegistry.deregister(i),d&&s.actionRegistry.deregister(i)})},async processStopped(e){let n=t.get(e);if(n){try{n()}catch(t){console.error(`[TransitionContributionProcessor] Deregister error for "${e}":`,t)}t.delete(e)}}}}function n(e,t){let n=`${e}.`;for(let e of t)if(!e.id.startsWith(n))throw Error(`TransitionContributionProcessor: rule '${e.id}' must be namespaced by extension '${n}'`)}function r(e,t){let n=`${e}.`;for(let e of Object.keys(t))if(!e.startsWith(n))throw Error(`TransitionContributionProcessor: action type '${e}' must be namespaced by extension '${n}'`)}export{t};
|