@makaio/framework 1.0.0-dev-1781442380278 → 1.0.0-dev-1781454904823
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/bus/index.d.mts +2 -2
- package/dist/bus/index.mjs +1 -1
- package/dist/contracts/adapter/index.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/canonical-model/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/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +817 -93
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/{definition-CZcVOhXZ.d.mts → definition-DSq5ErZD.d.mts} +1 -1
- package/dist/drizzle/0018_m_mqcweucg.sql +17 -0
- package/dist/drizzle/0019_m_mqcwyn0w.sql +1 -0
- package/dist/drizzle/meta/_journal.json +14 -0
- package/dist/{index-DvETyI0_.d.mts → index-BBteExwv.d.mts} +1 -1
- package/dist/{index-BF84QInS.d.mts → index-BKbzDEv4.d.mts} +86 -86
- package/dist/{index-B1PgTu7q.d.mts → index-BVf5D_xQ.d.mts} +4 -4
- package/dist/{index-Cj3XCjXZ.d.mts → index-BkKWL_tI.d.mts} +54 -54
- package/dist/{index-LrZlZUvQ.d.mts → index-CK_hi7fg.d.mts} +4 -4
- package/dist/{index-HiAth5G0.d.mts → index-CgJf67BC.d.mts} +23 -23
- package/dist/{index-DigeEyrf.d.mts → index-Cs009Dqh.d.mts} +1 -1
- package/dist/{index-DUI1W-zN.d.mts → index-Cs1JVq0D.d.mts} +8 -8
- package/dist/{index-oUqyVvsD.d.mts → index-D8nNK-pF.d.mts} +1 -1
- package/dist/{index-DHVoVh-j.d.mts → index-DN0GXDlw.d.mts} +7 -7
- package/dist/{index-DyqZej9j.d.mts → index-GuspCNLR.d.mts} +8 -8
- package/dist/{index-cN4DkU5Y2.d.mts → index-iXawmtSH2.d.mts} +9 -9
- package/dist/{index-DUsm-DeE.d.mts → index-xeg-bqxO.d.mts} +10 -10
- 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-BXuuv8L9.d.mts → namespace-1tHmgGQV.d.mts} +20 -20
- package/dist/{namespace-Ba1gUpUu.d.mts → namespace-CN2TfSCY.d.mts} +4 -4
- package/dist/{namespace-Q-z7Lr2f.d.mts → namespace-DphMg7CF.d.mts} +4 -4
- package/dist/{namespace-B1Bldc48.d.mts → namespace-Dy0pcIqF.d.mts} +9 -9
- package/dist/{namespace-DM3TSh_y.d.mts → namespace-Dyj2m6DT.d.mts} +20 -20
- package/dist/package-CBjoefAW.mjs +1 -0
- package/dist/{package-BEbo1-6S.d.mts → package-fwIv7zzj.d.mts} +1 -1
- package/dist/package.json +1 -1
- package/dist/primitive-runtime-BHSEOIH6.mjs +1 -0
- package/dist/runtime-node/index.d.mts +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
- package/dist/{schema-BKdn_bdY.d.mts → schema-D2B2V6r6.d.mts} +1 -1
- package/dist/{schemas-BbFAwUpf.d.mts → schemas-ByBtBmoL.d.mts} +3 -3
- package/dist/{schemas-IDGAJ_zv.d.mts → schemas-CN9hprME.d.mts} +6 -6
- package/dist/{schemas-DvjQHkmw2.d.mts → schemas-D0gBYOoc2.d.mts} +6 -6
- package/dist/{schemas-CyEdMtnQ.d.mts → schemas-za4KzhEe.d.mts} +20 -20
- 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 +6 -6
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +30 -30
- 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 +6 -6
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/services/tray-menu/index.d.mts +2 -2
- package/dist/services/tray-menu/namespace.d.mts +1 -1
- package/dist/services/tray-menu/schemas.d.mts +1 -1
- package/dist/{types-Bo2-N1YR.d.mts → types-Co-MJvHY.d.mts} +45 -45
- package/dist/workflow-engine/index.d.mts +554 -35
- 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.d.mts +3 -2
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/package.json +1 -1
- package/dist/package-DMoFY63f.mjs +0 -1
- package/dist/primitive-runtime-DWbV7f_r.mjs +0 -1
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { a as WorkflowExecutor, i as WorkflowEngineService, n as createWorkflowEnginePackage, o as registerDrizzleWorkflowStorage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-
|
|
1
|
+
import { a as WorkflowExecutor, i as WorkflowEngineService, n as createWorkflowEnginePackage, o as registerDrizzleWorkflowStorage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-fwIv7zzj.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _$_makaio_core0 from "@makaio/framework/core";
|
|
4
|
+
import { IMakaioBus } from "@makaio/framework/bus";
|
|
4
5
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|
|
5
|
-
import { JsonValue, WorkflowExecutionSchema, WorkflowListQuerySchema } from "@makaio/framework/contracts";
|
|
6
|
+
import { JsonPatchOperation, JsonValue, WorkflowExecutionSchema, WorkflowListQuerySchema } from "@makaio/framework/contracts";
|
|
6
7
|
import * as _$_makaio_storage_core0 from "@makaio/framework/storage";
|
|
7
8
|
import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
|
|
8
9
|
import * as _$drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
|
|
9
10
|
import * as _$_makaio_storage_drizzle0 from "@makaio/framework/storage/drizzle";
|
|
11
|
+
import { MakaioDatabase } from "@makaio/framework/storage/drizzle";
|
|
10
12
|
import * as _$drizzle_orm0 from "drizzle-orm";
|
|
11
13
|
import { WorkflowExpressionContext } from "@makaio/framework/expression";
|
|
12
14
|
|
|
@@ -43,6 +45,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
43
45
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
44
46
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
45
47
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
48
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
49
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
50
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
51
|
+
}, z.core.$strip>>;
|
|
46
52
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
47
53
|
kind: z.ZodString;
|
|
48
54
|
schemaVersion: z.ZodString;
|
|
@@ -155,6 +161,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
155
161
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
156
162
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
157
163
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
164
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
166
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
167
|
+
}, z.core.$strip>>;
|
|
158
168
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
159
169
|
kind: z.ZodString;
|
|
160
170
|
schemaVersion: z.ZodString;
|
|
@@ -293,6 +303,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
293
303
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
294
304
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
295
305
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
306
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
307
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
308
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
309
|
+
}, z.core.$strip>>;
|
|
296
310
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
297
311
|
kind: z.ZodString;
|
|
298
312
|
schemaVersion: z.ZodString;
|
|
@@ -410,8 +424,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
410
424
|
completed: "completed";
|
|
411
425
|
cancelled: "cancelled";
|
|
412
426
|
failed: "failed";
|
|
413
|
-
running: "running";
|
|
414
427
|
paused: "paused";
|
|
428
|
+
running: "running";
|
|
415
429
|
}>;
|
|
416
430
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
417
431
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -451,8 +465,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
451
465
|
completed: "completed";
|
|
452
466
|
cancelled: "cancelled";
|
|
453
467
|
failed: "failed";
|
|
454
|
-
running: "running";
|
|
455
468
|
paused: "paused";
|
|
469
|
+
running: "running";
|
|
456
470
|
}>;
|
|
457
471
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
458
472
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -499,8 +513,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
499
513
|
completed: "completed";
|
|
500
514
|
cancelled: "cancelled";
|
|
501
515
|
failed: "failed";
|
|
502
|
-
running: "running";
|
|
503
516
|
paused: "paused";
|
|
517
|
+
running: "running";
|
|
504
518
|
}>;
|
|
505
519
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
506
520
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -548,6 +562,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
548
562
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
549
563
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
550
564
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
565
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
566
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
567
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
551
569
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
552
570
|
kind: z.ZodString;
|
|
553
571
|
schemaVersion: z.ZodString;
|
|
@@ -716,6 +734,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
716
734
|
"exit-and-resume": "exit-and-resume";
|
|
717
735
|
}>>;
|
|
718
736
|
}, z.core.$strip>;
|
|
737
|
+
initialState: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
719
738
|
}, z.core.$strip>;
|
|
720
739
|
response: z.ZodObject<{
|
|
721
740
|
id: z.ZodString;
|
|
@@ -730,8 +749,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
730
749
|
completed: "completed";
|
|
731
750
|
cancelled: "cancelled";
|
|
732
751
|
failed: "failed";
|
|
733
|
-
running: "running";
|
|
734
752
|
paused: "paused";
|
|
753
|
+
running: "running";
|
|
735
754
|
}>>;
|
|
736
755
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
737
756
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -799,8 +818,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
799
818
|
completed: "completed";
|
|
800
819
|
cancelled: "cancelled";
|
|
801
820
|
failed: "failed";
|
|
802
|
-
running: "running";
|
|
803
821
|
paused: "paused";
|
|
822
|
+
running: "running";
|
|
804
823
|
}>>;
|
|
805
824
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
806
825
|
kind: z.ZodString;
|
|
@@ -822,8 +841,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
822
841
|
completed: "completed";
|
|
823
842
|
cancelled: "cancelled";
|
|
824
843
|
failed: "failed";
|
|
825
|
-
running: "running";
|
|
826
844
|
paused: "paused";
|
|
845
|
+
running: "running";
|
|
827
846
|
}>;
|
|
828
847
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
829
848
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -852,6 +871,58 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
852
871
|
}, z.core.$strip>>;
|
|
853
872
|
}, z.core.$strip>;
|
|
854
873
|
};
|
|
874
|
+
/**
|
|
875
|
+
* Batch-fetch recent executions grouped by artifact reference.
|
|
876
|
+
* Internal storage implementation for the public `workflow.listExecutionsByArtifactRefs` subject.
|
|
877
|
+
*/
|
|
878
|
+
listExecutionsByArtifactRefs: {
|
|
879
|
+
request: z.ZodObject<{
|
|
880
|
+
refs: z.ZodArray<z.ZodObject<{
|
|
881
|
+
kind: z.ZodString;
|
|
882
|
+
id: z.ZodString;
|
|
883
|
+
}, z.core.$strip>>;
|
|
884
|
+
limitPerRef: z.ZodDefault<z.ZodNumber>;
|
|
885
|
+
}, z.core.$strip>;
|
|
886
|
+
response: z.ZodObject<{
|
|
887
|
+
executionsByRef: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
888
|
+
id: z.ZodString;
|
|
889
|
+
workflowId: z.ZodString;
|
|
890
|
+
coordinatorSessionId: z.ZodOptional<z.ZodString>;
|
|
891
|
+
status: z.ZodEnum<{
|
|
892
|
+
pending: "pending";
|
|
893
|
+
completed: "completed";
|
|
894
|
+
cancelled: "cancelled";
|
|
895
|
+
failed: "failed";
|
|
896
|
+
paused: "paused";
|
|
897
|
+
running: "running";
|
|
898
|
+
}>;
|
|
899
|
+
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
900
|
+
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
901
|
+
startedAt: z.ZodNumber;
|
|
902
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
903
|
+
error: z.ZodOptional<z.ZodString>;
|
|
904
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
905
|
+
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
906
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
907
|
+
type: z.ZodLiteral<"global">;
|
|
908
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
909
|
+
type: z.ZodLiteral<"workspace">;
|
|
910
|
+
id: z.ZodString;
|
|
911
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
912
|
+
type: z.ZodLiteral<"session">;
|
|
913
|
+
id: z.ZodString;
|
|
914
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
915
|
+
type: z.ZodLiteral<"external">;
|
|
916
|
+
kind: z.ZodString;
|
|
917
|
+
id: z.ZodString;
|
|
918
|
+
}, z.core.$strict>], "type">;
|
|
919
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
920
|
+
kind: z.ZodString;
|
|
921
|
+
id: z.ZodString;
|
|
922
|
+
}, z.core.$strip>>;
|
|
923
|
+
}, z.core.$strip>>>;
|
|
924
|
+
}, z.core.$strip>;
|
|
925
|
+
};
|
|
855
926
|
/**
|
|
856
927
|
* Upsert a single execution frame by `frameId`.
|
|
857
928
|
* Called by the runtime when a frame is created or transitions state.
|
|
@@ -865,12 +936,12 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
865
936
|
frameId: z.ZodString;
|
|
866
937
|
nodeId: z.ZodString;
|
|
867
938
|
nodeType: z.ZodEnum<{
|
|
868
|
-
sequence: "sequence";
|
|
869
939
|
station: "station";
|
|
870
940
|
"delegate-agent": "delegate-agent";
|
|
871
941
|
"delegate-role": "delegate-role";
|
|
872
|
-
|
|
942
|
+
sequence: "sequence";
|
|
873
943
|
gate: "gate";
|
|
944
|
+
parallel: "parallel";
|
|
874
945
|
iterate: "iterate";
|
|
875
946
|
"iterate-chain": "iterate-chain";
|
|
876
947
|
}>;
|
|
@@ -910,12 +981,12 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
910
981
|
frameId: z.ZodString;
|
|
911
982
|
nodeId: z.ZodString;
|
|
912
983
|
nodeType: z.ZodEnum<{
|
|
913
|
-
sequence: "sequence";
|
|
914
984
|
station: "station";
|
|
915
985
|
"delegate-agent": "delegate-agent";
|
|
916
986
|
"delegate-role": "delegate-role";
|
|
917
|
-
|
|
987
|
+
sequence: "sequence";
|
|
918
988
|
gate: "gate";
|
|
989
|
+
parallel: "parallel";
|
|
919
990
|
iterate: "iterate";
|
|
920
991
|
"iterate-chain": "iterate-chain";
|
|
921
992
|
}>;
|
|
@@ -952,12 +1023,12 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
952
1023
|
frameId: z.ZodString;
|
|
953
1024
|
nodeId: z.ZodString;
|
|
954
1025
|
nodeType: z.ZodEnum<{
|
|
955
|
-
sequence: "sequence";
|
|
956
1026
|
station: "station";
|
|
957
1027
|
"delegate-agent": "delegate-agent";
|
|
958
1028
|
"delegate-role": "delegate-role";
|
|
959
|
-
|
|
1029
|
+
sequence: "sequence";
|
|
960
1030
|
gate: "gate";
|
|
1031
|
+
parallel: "parallel";
|
|
961
1032
|
iterate: "iterate";
|
|
962
1033
|
"iterate-chain": "iterate-chain";
|
|
963
1034
|
}>;
|
|
@@ -1347,6 +1418,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1347
1418
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1348
1419
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1349
1420
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1421
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1422
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
1423
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1424
|
+
}, z.core.$strip>>;
|
|
1350
1425
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
1351
1426
|
kind: z.ZodString;
|
|
1352
1427
|
schemaVersion: z.ZodString;
|
|
@@ -1550,6 +1625,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1550
1625
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1551
1626
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1552
1627
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
1628
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1629
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
1630
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
1631
|
+
}, z.core.$strip>>;
|
|
1553
1632
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
1554
1633
|
kind: z.ZodString;
|
|
1555
1634
|
schemaVersion: z.ZodString;
|
|
@@ -1719,6 +1798,38 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1719
1798
|
}>>;
|
|
1720
1799
|
}, z.core.$strip>>;
|
|
1721
1800
|
}, z.core.$strip>;
|
|
1801
|
+
}>; /** Initialize execution state snapshot at sequence 0. */
|
|
1802
|
+
initializeState: _$_makaio_core0.LocalSubjectSchema<{
|
|
1803
|
+
request: z.ZodObject<{
|
|
1804
|
+
executionId: z.ZodString;
|
|
1805
|
+
initialValue: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
1806
|
+
}, z.core.$strip>;
|
|
1807
|
+
response: z.ZodObject<{}, z.core.$strip>;
|
|
1808
|
+
}>; /** Read current execution state snapshot. */
|
|
1809
|
+
getState: _$_makaio_core0.LocalSubjectSchema<{
|
|
1810
|
+
request: z.ZodObject<{
|
|
1811
|
+
executionId: z.ZodString;
|
|
1812
|
+
}, z.core.$strip>;
|
|
1813
|
+
response: z.ZodObject<{
|
|
1814
|
+
state: z.ZodNullable<z.ZodObject<{
|
|
1815
|
+
executionId: z.ZodString;
|
|
1816
|
+
sequence: z.ZodNumber;
|
|
1817
|
+
value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
1818
|
+
}, z.core.$strip>>;
|
|
1819
|
+
}, z.core.$strip>;
|
|
1820
|
+
}>; /** Apply a state mutation with optimistic concurrency control. */
|
|
1821
|
+
patchState: _$_makaio_core0.LocalSubjectSchema<{
|
|
1822
|
+
request: z.ZodObject<{
|
|
1823
|
+
executionId: z.ZodString;
|
|
1824
|
+
expectedSequence: z.ZodNumber;
|
|
1825
|
+
nextValue: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
1826
|
+
}, z.core.$strip>;
|
|
1827
|
+
response: z.ZodObject<{
|
|
1828
|
+
executionId: z.ZodString;
|
|
1829
|
+
sequence: z.ZodNumber;
|
|
1830
|
+
patch: z.ZodArray<z.ZodType<_$_makaio_contracts0.JsonPatchOperation, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonPatchOperation, unknown>>>;
|
|
1831
|
+
value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
1832
|
+
}, z.core.$strip>;
|
|
1722
1833
|
}>;
|
|
1723
1834
|
}, {
|
|
1724
1835
|
drizzle: {
|
|
@@ -2086,6 +2197,31 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2086
2197
|
}, {}, {
|
|
2087
2198
|
$type: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
2088
2199
|
}>;
|
|
2200
|
+
state: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2201
|
+
name: string;
|
|
2202
|
+
tableName: "workflow_definitions";
|
|
2203
|
+
dataType: "json";
|
|
2204
|
+
columnType: "SQLiteTextJson";
|
|
2205
|
+
data: {
|
|
2206
|
+
schema: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
2207
|
+
initial?: _$_makaio_contracts0.JsonValue | undefined;
|
|
2208
|
+
};
|
|
2209
|
+
driverParam: string;
|
|
2210
|
+
notNull: false;
|
|
2211
|
+
hasDefault: false;
|
|
2212
|
+
isPrimaryKey: false;
|
|
2213
|
+
isAutoincrement: false;
|
|
2214
|
+
hasRuntimeDefault: false;
|
|
2215
|
+
enumValues: undefined;
|
|
2216
|
+
baseColumn: never;
|
|
2217
|
+
identity: undefined;
|
|
2218
|
+
generated: undefined;
|
|
2219
|
+
}, {}, {
|
|
2220
|
+
$type: {
|
|
2221
|
+
schema: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
2222
|
+
initial?: _$_makaio_contracts0.JsonValue | undefined;
|
|
2223
|
+
};
|
|
2224
|
+
}>;
|
|
2089
2225
|
artifact: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2090
2226
|
name: string;
|
|
2091
2227
|
tableName: "workflow_definitions";
|
|
@@ -2331,7 +2467,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2331
2467
|
tableName: "workflow_executions";
|
|
2332
2468
|
dataType: "string";
|
|
2333
2469
|
columnType: "SQLiteText";
|
|
2334
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "
|
|
2470
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running";
|
|
2335
2471
|
driverParam: string;
|
|
2336
2472
|
notNull: true;
|
|
2337
2473
|
hasDefault: false;
|
|
@@ -2562,7 +2698,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2562
2698
|
tableName: "workflow_execution_frames";
|
|
2563
2699
|
dataType: "string";
|
|
2564
2700
|
columnType: "SQLiteText";
|
|
2565
|
-
data: "
|
|
2701
|
+
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain";
|
|
2566
2702
|
driverParam: string;
|
|
2567
2703
|
notNull: true;
|
|
2568
2704
|
hasDefault: false;
|
|
@@ -2575,7 +2711,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2575
2711
|
generated: undefined;
|
|
2576
2712
|
}, {}, {
|
|
2577
2713
|
length: number | undefined;
|
|
2578
|
-
$type: "
|
|
2714
|
+
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain";
|
|
2579
2715
|
}>;
|
|
2580
2716
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2581
2717
|
name: string;
|
|
@@ -3568,6 +3704,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3568
3704
|
inputSchema?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
3569
3705
|
configSchema?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
3570
3706
|
outputSchema?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
3707
|
+
state?: {
|
|
3708
|
+
schema: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
3709
|
+
initial?: _$_makaio_contracts0.JsonValue | undefined;
|
|
3710
|
+
} | undefined;
|
|
3571
3711
|
artifact?: {
|
|
3572
3712
|
kind: string;
|
|
3573
3713
|
schemaVersion: string;
|
|
@@ -3685,6 +3825,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3685
3825
|
inputSchema?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
3686
3826
|
configSchema?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
3687
3827
|
outputSchema?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
|
|
3828
|
+
state?: {
|
|
3829
|
+
schema: Record<string, _$_makaio_contracts0.JsonValue>;
|
|
3830
|
+
initial?: _$_makaio_contracts0.JsonValue | undefined;
|
|
3831
|
+
} | undefined;
|
|
3688
3832
|
artifact?: {
|
|
3689
3833
|
kind: string;
|
|
3690
3834
|
schemaVersion: string;
|
|
@@ -4170,7 +4314,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4170
4314
|
tableName: "worklog_summaries";
|
|
4171
4315
|
dataType: "string";
|
|
4172
4316
|
columnType: "SQLiteText";
|
|
4173
|
-
data: "pending" | "completed" | "cancelled" | "failed" | "
|
|
4317
|
+
data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running";
|
|
4174
4318
|
driverParam: string;
|
|
4175
4319
|
notNull: true;
|
|
4176
4320
|
hasDefault: false;
|
|
@@ -4393,7 +4537,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4393
4537
|
tableName: "worklog_frame_entries";
|
|
4394
4538
|
dataType: "string";
|
|
4395
4539
|
columnType: "SQLiteText";
|
|
4396
|
-
data: "
|
|
4540
|
+
data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain";
|
|
4397
4541
|
driverParam: string;
|
|
4398
4542
|
notNull: true;
|
|
4399
4543
|
hasDefault: false;
|
|
@@ -4406,7 +4550,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4406
4550
|
generated: undefined;
|
|
4407
4551
|
}, {}, {
|
|
4408
4552
|
length: number | undefined;
|
|
4409
|
-
$type: "
|
|
4553
|
+
$type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain";
|
|
4410
4554
|
}>;
|
|
4411
4555
|
path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
4412
4556
|
name: string;
|
|
@@ -4956,6 +5100,183 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4956
5100
|
};
|
|
4957
5101
|
dialect: "sqlite";
|
|
4958
5102
|
}>;
|
|
5103
|
+
workflowExecutionState: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
|
|
5104
|
+
name: "workflow_execution_state";
|
|
5105
|
+
schema: undefined;
|
|
5106
|
+
columns: {
|
|
5107
|
+
executionId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5108
|
+
name: "execution_id";
|
|
5109
|
+
tableName: "workflow_execution_state";
|
|
5110
|
+
dataType: "string";
|
|
5111
|
+
columnType: "SQLiteText";
|
|
5112
|
+
data: string;
|
|
5113
|
+
driverParam: string;
|
|
5114
|
+
notNull: true;
|
|
5115
|
+
hasDefault: false;
|
|
5116
|
+
isPrimaryKey: true;
|
|
5117
|
+
isAutoincrement: false;
|
|
5118
|
+
hasRuntimeDefault: false;
|
|
5119
|
+
enumValues: [string, ...string[]];
|
|
5120
|
+
baseColumn: never;
|
|
5121
|
+
identity: undefined;
|
|
5122
|
+
generated: undefined;
|
|
5123
|
+
}, {}, {
|
|
5124
|
+
length: number | undefined;
|
|
5125
|
+
}>;
|
|
5126
|
+
sequence: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5127
|
+
name: string;
|
|
5128
|
+
tableName: "workflow_execution_state";
|
|
5129
|
+
dataType: "number";
|
|
5130
|
+
columnType: "SQLiteInteger";
|
|
5131
|
+
data: number;
|
|
5132
|
+
driverParam: number;
|
|
5133
|
+
notNull: true;
|
|
5134
|
+
hasDefault: true;
|
|
5135
|
+
isPrimaryKey: false;
|
|
5136
|
+
isAutoincrement: false;
|
|
5137
|
+
hasRuntimeDefault: false;
|
|
5138
|
+
enumValues: undefined;
|
|
5139
|
+
baseColumn: never;
|
|
5140
|
+
identity: undefined;
|
|
5141
|
+
generated: undefined;
|
|
5142
|
+
}, {}, {}>;
|
|
5143
|
+
value: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5144
|
+
name: string;
|
|
5145
|
+
tableName: "workflow_execution_state";
|
|
5146
|
+
dataType: "json";
|
|
5147
|
+
columnType: "SQLiteTextJson";
|
|
5148
|
+
data: _$_makaio_contracts0.JsonValue;
|
|
5149
|
+
driverParam: string;
|
|
5150
|
+
notNull: true;
|
|
5151
|
+
hasDefault: false;
|
|
5152
|
+
isPrimaryKey: false;
|
|
5153
|
+
isAutoincrement: false;
|
|
5154
|
+
hasRuntimeDefault: false;
|
|
5155
|
+
enumValues: undefined;
|
|
5156
|
+
baseColumn: never;
|
|
5157
|
+
identity: undefined;
|
|
5158
|
+
generated: undefined;
|
|
5159
|
+
}, {}, {
|
|
5160
|
+
$type: _$_makaio_contracts0.JsonValue;
|
|
5161
|
+
}>;
|
|
5162
|
+
updatedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5163
|
+
name: string;
|
|
5164
|
+
tableName: "workflow_execution_state";
|
|
5165
|
+
dataType: "number";
|
|
5166
|
+
columnType: "SQLiteInteger";
|
|
5167
|
+
data: number;
|
|
5168
|
+
driverParam: number;
|
|
5169
|
+
notNull: true;
|
|
5170
|
+
hasDefault: false;
|
|
5171
|
+
isPrimaryKey: false;
|
|
5172
|
+
isAutoincrement: false;
|
|
5173
|
+
hasRuntimeDefault: false;
|
|
5174
|
+
enumValues: undefined;
|
|
5175
|
+
baseColumn: never;
|
|
5176
|
+
identity: undefined;
|
|
5177
|
+
generated: undefined;
|
|
5178
|
+
}, {}, {}>;
|
|
5179
|
+
};
|
|
5180
|
+
dialect: "sqlite";
|
|
5181
|
+
}>;
|
|
5182
|
+
workflowExecutionStateEvents: _$drizzle_orm_sqlite_core0.SQLiteTableWithColumns<{
|
|
5183
|
+
name: "workflow_execution_state_events";
|
|
5184
|
+
schema: undefined;
|
|
5185
|
+
columns: {
|
|
5186
|
+
executionId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5187
|
+
name: "execution_id";
|
|
5188
|
+
tableName: "workflow_execution_state_events";
|
|
5189
|
+
dataType: "string";
|
|
5190
|
+
columnType: "SQLiteText";
|
|
5191
|
+
data: string;
|
|
5192
|
+
driverParam: string;
|
|
5193
|
+
notNull: true;
|
|
5194
|
+
hasDefault: false;
|
|
5195
|
+
isPrimaryKey: false;
|
|
5196
|
+
isAutoincrement: false;
|
|
5197
|
+
hasRuntimeDefault: false;
|
|
5198
|
+
enumValues: [string, ...string[]];
|
|
5199
|
+
baseColumn: never;
|
|
5200
|
+
identity: undefined;
|
|
5201
|
+
generated: undefined;
|
|
5202
|
+
}, {}, {
|
|
5203
|
+
length: number | undefined;
|
|
5204
|
+
}>;
|
|
5205
|
+
sequence: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5206
|
+
name: string;
|
|
5207
|
+
tableName: "workflow_execution_state_events";
|
|
5208
|
+
dataType: "number";
|
|
5209
|
+
columnType: "SQLiteInteger";
|
|
5210
|
+
data: number;
|
|
5211
|
+
driverParam: number;
|
|
5212
|
+
notNull: true;
|
|
5213
|
+
hasDefault: false;
|
|
5214
|
+
isPrimaryKey: false;
|
|
5215
|
+
isAutoincrement: false;
|
|
5216
|
+
hasRuntimeDefault: false;
|
|
5217
|
+
enumValues: undefined;
|
|
5218
|
+
baseColumn: never;
|
|
5219
|
+
identity: undefined;
|
|
5220
|
+
generated: undefined;
|
|
5221
|
+
}, {}, {}>;
|
|
5222
|
+
patch: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5223
|
+
name: string;
|
|
5224
|
+
tableName: "workflow_execution_state_events";
|
|
5225
|
+
dataType: "json";
|
|
5226
|
+
columnType: "SQLiteTextJson";
|
|
5227
|
+
data: _$_makaio_contracts0.JsonPatchOperation[];
|
|
5228
|
+
driverParam: string;
|
|
5229
|
+
notNull: true;
|
|
5230
|
+
hasDefault: false;
|
|
5231
|
+
isPrimaryKey: false;
|
|
5232
|
+
isAutoincrement: false;
|
|
5233
|
+
hasRuntimeDefault: false;
|
|
5234
|
+
enumValues: undefined;
|
|
5235
|
+
baseColumn: never;
|
|
5236
|
+
identity: undefined;
|
|
5237
|
+
generated: undefined;
|
|
5238
|
+
}, {}, {
|
|
5239
|
+
$type: _$_makaio_contracts0.JsonPatchOperation[];
|
|
5240
|
+
}>;
|
|
5241
|
+
value: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5242
|
+
name: string;
|
|
5243
|
+
tableName: "workflow_execution_state_events";
|
|
5244
|
+
dataType: "json";
|
|
5245
|
+
columnType: "SQLiteTextJson";
|
|
5246
|
+
data: _$_makaio_contracts0.JsonValue;
|
|
5247
|
+
driverParam: string;
|
|
5248
|
+
notNull: true;
|
|
5249
|
+
hasDefault: false;
|
|
5250
|
+
isPrimaryKey: false;
|
|
5251
|
+
isAutoincrement: false;
|
|
5252
|
+
hasRuntimeDefault: false;
|
|
5253
|
+
enumValues: undefined;
|
|
5254
|
+
baseColumn: never;
|
|
5255
|
+
identity: undefined;
|
|
5256
|
+
generated: undefined;
|
|
5257
|
+
}, {}, {
|
|
5258
|
+
$type: _$_makaio_contracts0.JsonValue;
|
|
5259
|
+
}>;
|
|
5260
|
+
createdAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5261
|
+
name: string;
|
|
5262
|
+
tableName: "workflow_execution_state_events";
|
|
5263
|
+
dataType: "number";
|
|
5264
|
+
columnType: "SQLiteInteger";
|
|
5265
|
+
data: number;
|
|
5266
|
+
driverParam: number;
|
|
5267
|
+
notNull: true;
|
|
5268
|
+
hasDefault: false;
|
|
5269
|
+
isPrimaryKey: false;
|
|
5270
|
+
isAutoincrement: false;
|
|
5271
|
+
hasRuntimeDefault: false;
|
|
5272
|
+
enumValues: undefined;
|
|
5273
|
+
baseColumn: never;
|
|
5274
|
+
identity: undefined;
|
|
5275
|
+
generated: undefined;
|
|
5276
|
+
}, {}, {}>;
|
|
5277
|
+
};
|
|
5278
|
+
dialect: "sqlite";
|
|
5279
|
+
}>;
|
|
4959
5280
|
};
|
|
4960
5281
|
}>;
|
|
4961
5282
|
declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"storage:workflow", {
|
|
@@ -4971,6 +5292,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
4971
5292
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
4972
5293
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
4973
5294
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5295
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
5296
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5297
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
5298
|
+
}, z.core.$strip>>;
|
|
4974
5299
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
4975
5300
|
kind: z.ZodString;
|
|
4976
5301
|
schemaVersion: z.ZodString;
|
|
@@ -5083,6 +5408,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5083
5408
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5084
5409
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5085
5410
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5411
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
5412
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5413
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
5414
|
+
}, z.core.$strip>>;
|
|
5086
5415
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
5087
5416
|
kind: z.ZodString;
|
|
5088
5417
|
schemaVersion: z.ZodString;
|
|
@@ -5221,6 +5550,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5221
5550
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5222
5551
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5223
5552
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5553
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
5554
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5555
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
5556
|
+
}, z.core.$strip>>;
|
|
5224
5557
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
5225
5558
|
kind: z.ZodString;
|
|
5226
5559
|
schemaVersion: z.ZodString;
|
|
@@ -5338,8 +5671,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5338
5671
|
completed: "completed";
|
|
5339
5672
|
cancelled: "cancelled";
|
|
5340
5673
|
failed: "failed";
|
|
5341
|
-
running: "running";
|
|
5342
5674
|
paused: "paused";
|
|
5675
|
+
running: "running";
|
|
5343
5676
|
}>;
|
|
5344
5677
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
5345
5678
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -5379,8 +5712,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5379
5712
|
completed: "completed";
|
|
5380
5713
|
cancelled: "cancelled";
|
|
5381
5714
|
failed: "failed";
|
|
5382
|
-
running: "running";
|
|
5383
5715
|
paused: "paused";
|
|
5716
|
+
running: "running";
|
|
5384
5717
|
}>;
|
|
5385
5718
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
5386
5719
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -5427,8 +5760,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5427
5760
|
completed: "completed";
|
|
5428
5761
|
cancelled: "cancelled";
|
|
5429
5762
|
failed: "failed";
|
|
5430
|
-
running: "running";
|
|
5431
5763
|
paused: "paused";
|
|
5764
|
+
running: "running";
|
|
5432
5765
|
}>;
|
|
5433
5766
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
5434
5767
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -5476,6 +5809,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5476
5809
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5477
5810
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5478
5811
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
5812
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
5813
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
5814
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
5815
|
+
}, z.core.$strip>>;
|
|
5479
5816
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
5480
5817
|
kind: z.ZodString;
|
|
5481
5818
|
schemaVersion: z.ZodString;
|
|
@@ -5644,6 +5981,7 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5644
5981
|
"exit-and-resume": "exit-and-resume";
|
|
5645
5982
|
}>>;
|
|
5646
5983
|
}, z.core.$strip>;
|
|
5984
|
+
initialState: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
5647
5985
|
}, z.core.$strip>;
|
|
5648
5986
|
response: z.ZodObject<{
|
|
5649
5987
|
id: z.ZodString;
|
|
@@ -5658,8 +5996,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5658
5996
|
completed: "completed";
|
|
5659
5997
|
cancelled: "cancelled";
|
|
5660
5998
|
failed: "failed";
|
|
5661
|
-
running: "running";
|
|
5662
5999
|
paused: "paused";
|
|
6000
|
+
running: "running";
|
|
5663
6001
|
}>>;
|
|
5664
6002
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5665
6003
|
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5727,8 +6065,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5727
6065
|
completed: "completed";
|
|
5728
6066
|
cancelled: "cancelled";
|
|
5729
6067
|
failed: "failed";
|
|
5730
|
-
running: "running";
|
|
5731
6068
|
paused: "paused";
|
|
6069
|
+
running: "running";
|
|
5732
6070
|
}>>;
|
|
5733
6071
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
5734
6072
|
kind: z.ZodString;
|
|
@@ -5750,8 +6088,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5750
6088
|
completed: "completed";
|
|
5751
6089
|
cancelled: "cancelled";
|
|
5752
6090
|
failed: "failed";
|
|
5753
|
-
running: "running";
|
|
5754
6091
|
paused: "paused";
|
|
6092
|
+
running: "running";
|
|
5755
6093
|
}>;
|
|
5756
6094
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
5757
6095
|
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
@@ -5780,6 +6118,58 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5780
6118
|
}, z.core.$strip>>;
|
|
5781
6119
|
}, z.core.$strip>;
|
|
5782
6120
|
};
|
|
6121
|
+
/**
|
|
6122
|
+
* Batch-fetch recent executions grouped by artifact reference.
|
|
6123
|
+
* Internal storage implementation for the public `workflow.listExecutionsByArtifactRefs` subject.
|
|
6124
|
+
*/
|
|
6125
|
+
listExecutionsByArtifactRefs: {
|
|
6126
|
+
request: z.ZodObject<{
|
|
6127
|
+
refs: z.ZodArray<z.ZodObject<{
|
|
6128
|
+
kind: z.ZodString;
|
|
6129
|
+
id: z.ZodString;
|
|
6130
|
+
}, z.core.$strip>>;
|
|
6131
|
+
limitPerRef: z.ZodDefault<z.ZodNumber>;
|
|
6132
|
+
}, z.core.$strip>;
|
|
6133
|
+
response: z.ZodObject<{
|
|
6134
|
+
executionsByRef: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
6135
|
+
id: z.ZodString;
|
|
6136
|
+
workflowId: z.ZodString;
|
|
6137
|
+
coordinatorSessionId: z.ZodOptional<z.ZodString>;
|
|
6138
|
+
status: z.ZodEnum<{
|
|
6139
|
+
pending: "pending";
|
|
6140
|
+
completed: "completed";
|
|
6141
|
+
cancelled: "cancelled";
|
|
6142
|
+
failed: "failed";
|
|
6143
|
+
paused: "paused";
|
|
6144
|
+
running: "running";
|
|
6145
|
+
}>;
|
|
6146
|
+
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
6147
|
+
config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6148
|
+
startedAt: z.ZodNumber;
|
|
6149
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
6150
|
+
error: z.ZodOptional<z.ZodString>;
|
|
6151
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
6152
|
+
triggerPayload: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
6153
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6154
|
+
type: z.ZodLiteral<"global">;
|
|
6155
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6156
|
+
type: z.ZodLiteral<"workspace">;
|
|
6157
|
+
id: z.ZodString;
|
|
6158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6159
|
+
type: z.ZodLiteral<"session">;
|
|
6160
|
+
id: z.ZodString;
|
|
6161
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
6162
|
+
type: z.ZodLiteral<"external">;
|
|
6163
|
+
kind: z.ZodString;
|
|
6164
|
+
id: z.ZodString;
|
|
6165
|
+
}, z.core.$strict>], "type">;
|
|
6166
|
+
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
6167
|
+
kind: z.ZodString;
|
|
6168
|
+
id: z.ZodString;
|
|
6169
|
+
}, z.core.$strip>>;
|
|
6170
|
+
}, z.core.$strip>>>;
|
|
6171
|
+
}, z.core.$strip>;
|
|
6172
|
+
};
|
|
5783
6173
|
/**
|
|
5784
6174
|
* Upsert a single execution frame by `frameId`.
|
|
5785
6175
|
* Called by the runtime when a frame is created or transitions state.
|
|
@@ -5793,12 +6183,12 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5793
6183
|
frameId: z.ZodString;
|
|
5794
6184
|
nodeId: z.ZodString;
|
|
5795
6185
|
nodeType: z.ZodEnum<{
|
|
5796
|
-
sequence: "sequence";
|
|
5797
6186
|
station: "station";
|
|
5798
6187
|
"delegate-agent": "delegate-agent";
|
|
5799
6188
|
"delegate-role": "delegate-role";
|
|
5800
|
-
|
|
6189
|
+
sequence: "sequence";
|
|
5801
6190
|
gate: "gate";
|
|
6191
|
+
parallel: "parallel";
|
|
5802
6192
|
iterate: "iterate";
|
|
5803
6193
|
"iterate-chain": "iterate-chain";
|
|
5804
6194
|
}>;
|
|
@@ -5838,12 +6228,12 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5838
6228
|
frameId: z.ZodString;
|
|
5839
6229
|
nodeId: z.ZodString;
|
|
5840
6230
|
nodeType: z.ZodEnum<{
|
|
5841
|
-
sequence: "sequence";
|
|
5842
6231
|
station: "station";
|
|
5843
6232
|
"delegate-agent": "delegate-agent";
|
|
5844
6233
|
"delegate-role": "delegate-role";
|
|
5845
|
-
|
|
6234
|
+
sequence: "sequence";
|
|
5846
6235
|
gate: "gate";
|
|
6236
|
+
parallel: "parallel";
|
|
5847
6237
|
iterate: "iterate";
|
|
5848
6238
|
"iterate-chain": "iterate-chain";
|
|
5849
6239
|
}>;
|
|
@@ -5880,12 +6270,12 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5880
6270
|
frameId: z.ZodString;
|
|
5881
6271
|
nodeId: z.ZodString;
|
|
5882
6272
|
nodeType: z.ZodEnum<{
|
|
5883
|
-
sequence: "sequence";
|
|
5884
6273
|
station: "station";
|
|
5885
6274
|
"delegate-agent": "delegate-agent";
|
|
5886
6275
|
"delegate-role": "delegate-role";
|
|
5887
|
-
|
|
6276
|
+
sequence: "sequence";
|
|
5888
6277
|
gate: "gate";
|
|
6278
|
+
parallel: "parallel";
|
|
5889
6279
|
iterate: "iterate";
|
|
5890
6280
|
"iterate-chain": "iterate-chain";
|
|
5891
6281
|
}>;
|
|
@@ -6275,6 +6665,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6275
6665
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
6276
6666
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
6277
6667
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
6668
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
6669
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
6670
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
6671
|
+
}, z.core.$strip>>;
|
|
6278
6672
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
6279
6673
|
kind: z.ZodString;
|
|
6280
6674
|
schemaVersion: z.ZodString;
|
|
@@ -6478,6 +6872,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6478
6872
|
inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
6479
6873
|
configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
6480
6874
|
outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
|
|
6875
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
6876
|
+
schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
|
|
6877
|
+
initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
|
|
6878
|
+
}, z.core.$strip>>;
|
|
6481
6879
|
artifact: z.ZodOptional<z.ZodObject<{
|
|
6482
6880
|
kind: z.ZodString;
|
|
6483
6881
|
schemaVersion: z.ZodString;
|
|
@@ -6647,6 +7045,38 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6647
7045
|
}>>;
|
|
6648
7046
|
}, z.core.$strip>>;
|
|
6649
7047
|
}, z.core.$strip>;
|
|
7048
|
+
}>; /** Initialize execution state snapshot at sequence 0. */
|
|
7049
|
+
initializeState: _$_makaio_core0.LocalSubjectSchema<{
|
|
7050
|
+
request: z.ZodObject<{
|
|
7051
|
+
executionId: z.ZodString;
|
|
7052
|
+
initialValue: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
7053
|
+
}, z.core.$strip>;
|
|
7054
|
+
response: z.ZodObject<{}, z.core.$strip>;
|
|
7055
|
+
}>; /** Read current execution state snapshot. */
|
|
7056
|
+
getState: _$_makaio_core0.LocalSubjectSchema<{
|
|
7057
|
+
request: z.ZodObject<{
|
|
7058
|
+
executionId: z.ZodString;
|
|
7059
|
+
}, z.core.$strip>;
|
|
7060
|
+
response: z.ZodObject<{
|
|
7061
|
+
state: z.ZodNullable<z.ZodObject<{
|
|
7062
|
+
executionId: z.ZodString;
|
|
7063
|
+
sequence: z.ZodNumber;
|
|
7064
|
+
value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
7065
|
+
}, z.core.$strip>>;
|
|
7066
|
+
}, z.core.$strip>;
|
|
7067
|
+
}>; /** Apply a state mutation with optimistic concurrency control. */
|
|
7068
|
+
patchState: _$_makaio_core0.LocalSubjectSchema<{
|
|
7069
|
+
request: z.ZodObject<{
|
|
7070
|
+
executionId: z.ZodString;
|
|
7071
|
+
expectedSequence: z.ZodNumber;
|
|
7072
|
+
nextValue: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
7073
|
+
}, z.core.$strip>;
|
|
7074
|
+
response: z.ZodObject<{
|
|
7075
|
+
executionId: z.ZodString;
|
|
7076
|
+
sequence: z.ZodNumber;
|
|
7077
|
+
patch: z.ZodArray<z.ZodType<_$_makaio_contracts0.JsonPatchOperation, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonPatchOperation, unknown>>>;
|
|
7078
|
+
value: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
7079
|
+
}, z.core.$strip>;
|
|
6650
7080
|
}>;
|
|
6651
7081
|
}>, "storage:workflow">;
|
|
6652
7082
|
//#endregion
|
|
@@ -6813,7 +7243,14 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
|
|
|
6813
7243
|
}>>>; /** JSON Schema for workflow input parameters (JSON object). */
|
|
6814
7244
|
inputSchema: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, Record<string, JsonValue>>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, Record<string, JsonValue>>>; /** JSON Schema for static workflow configuration (JSON object). */
|
|
6815
7245
|
configSchema: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, Record<string, JsonValue>>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, Record<string, JsonValue>>>; /** JSON Schema for the workflow's primary output (JSON object). */
|
|
6816
|
-
outputSchema: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, Record<string, JsonValue>>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, Record<string, JsonValue>>>; /**
|
|
7246
|
+
outputSchema: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, Record<string, JsonValue>>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, Record<string, JsonValue>>>; /** Optional state contract for run-scoped mutable state (JSON object). */
|
|
7247
|
+
state: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, {
|
|
7248
|
+
schema: Record<string, JsonValue>;
|
|
7249
|
+
initial?: JsonValue | undefined;
|
|
7250
|
+
}>, _$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, {
|
|
7251
|
+
schema: Record<string, JsonValue>;
|
|
7252
|
+
initial?: JsonValue | undefined;
|
|
7253
|
+
}>>; /** Primary artifact binding declared by the workflow (JSON object). */
|
|
6817
7254
|
artifact: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, {
|
|
6818
7255
|
kind: string;
|
|
6819
7256
|
schemaVersion: string;
|
|
@@ -6975,7 +7412,7 @@ declare const worklogFrameEntriesDual: _$_makaio_storage_drizzle0.DualTable<"wor
|
|
|
6975
7412
|
/** Unique frame identifier within the execution. */frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>>; /** Execution this frame belongs to. */
|
|
6976
7413
|
executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>; /** Node identifier from the workflow definition. */
|
|
6977
7414
|
nodeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_id", [string, ...string[]]>>>; /** Node type discriminant. */
|
|
6978
|
-
nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "
|
|
7415
|
+
nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_type", [string, ...string[]]>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain">>;
|
|
6979
7416
|
/**
|
|
6980
7417
|
* Ordered path of frame IDs from the root frame to this frame (inclusive).
|
|
6981
7418
|
* Stored as a JSON array for tree correlation.
|
|
@@ -6993,5 +7430,87 @@ declare const worklogFrameEntriesDual: _$_makaio_storage_drizzle0.DualTable<"wor
|
|
|
6993
7430
|
estimatedCost: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteRealBuilderInitial<string>, _$drizzle_orm_pg_core0.PgDoublePrecisionBuilderInitial<string>>; /** Human-readable error message when `status` is `'failed'`. */
|
|
6994
7431
|
error: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"error", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"error", [string, ...string[]]>>;
|
|
6995
7432
|
}>;
|
|
7433
|
+
/**
|
|
7434
|
+
* Workflow execution state snapshot table.
|
|
7435
|
+
*
|
|
7436
|
+
* Stores the latest state value for each execution. Updated in place via
|
|
7437
|
+
* optimistic-concurrency patches through the `patchWorkflowState` handler.
|
|
7438
|
+
* The `sequence` column is a monotonically increasing counter used for
|
|
7439
|
+
* compare-and-set conflict detection.
|
|
7440
|
+
*
|
|
7441
|
+
* CENTRAL tier — migrated alongside `workflow_executions`.
|
|
7442
|
+
*/
|
|
7443
|
+
declare const workflowExecutionStateDual: _$_makaio_storage_drizzle0.DualTable<"workflow_execution_state", {
|
|
7444
|
+
/** Execution this state belongs to (1:1 with workflow_executions.id). */executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>>; /** Monotonically increasing sequence number for optimistic concurrency. */
|
|
7445
|
+
sequence: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>>>; /** Current state value (JSON). */
|
|
7446
|
+
value: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, JsonValue>>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, JsonValue>>>; /** Last update timestamp (epoch ms). */
|
|
7447
|
+
updatedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>>;
|
|
7448
|
+
}>;
|
|
7449
|
+
/**
|
|
7450
|
+
* Workflow execution state mutation log table.
|
|
7451
|
+
*
|
|
7452
|
+
* Append-only log of every state mutation applied to an execution. Each row
|
|
7453
|
+
* records the JSON-Patch array (`patch`) and the resulting full value
|
|
7454
|
+
* (`value`) at the given `sequence` number. Used for audit trails,
|
|
7455
|
+
* debugging, and eventual replay.
|
|
7456
|
+
*
|
|
7457
|
+
* CENTRAL tier — migrated alongside `workflow_executions`.
|
|
7458
|
+
*/
|
|
7459
|
+
declare const workflowExecutionStateEventsDual: _$_makaio_storage_drizzle0.DualTable<"workflow_execution_state_events", {
|
|
7460
|
+
/** Execution this event belongs to. */executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>; /** Sequence number of the mutation (matches the snapshot sequence after apply). */
|
|
7461
|
+
sequence: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>>; /** JSON-Patch operations applied in this mutation (JSON array). */
|
|
7462
|
+
patch: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, JsonPatchOperation[]>>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, JsonPatchOperation[]>>>; /** Full state value after applying the patch (JSON). */
|
|
7463
|
+
value: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextJsonBuilderInitial<string>, JsonValue>>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgJsonbBuilderInitial<string>, JsonValue>>>; /** Mutation timestamp (epoch ms). */
|
|
7464
|
+
createdAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>>;
|
|
7465
|
+
}>;
|
|
7466
|
+
//#endregion
|
|
7467
|
+
//#region subsystems/workflow-engine/src/storage/state-handler.d.ts
|
|
7468
|
+
/**
|
|
7469
|
+
* Initialize workflow state for an execution.
|
|
7470
|
+
*
|
|
7471
|
+
* Creates the initial state snapshot row with sequence 0 and appends a
|
|
7472
|
+
* corresponding entry to the mutation log. If a state row already exists
|
|
7473
|
+
* for the given execution, the insert is a no-op (idempotent) to prevent
|
|
7474
|
+
* a restart or re-init from overwriting live state.
|
|
7475
|
+
* @param db - Database instance.
|
|
7476
|
+
* @param executionId - Execution to initialize state for.
|
|
7477
|
+
* @param initialValue - Initial state value.
|
|
7478
|
+
*/
|
|
7479
|
+
declare function initializeWorkflowState(db: MakaioDatabase, executionId: string, initialValue: JsonValue): Promise<void>;
|
|
7480
|
+
/**
|
|
7481
|
+
* Get the current state snapshot for an execution.
|
|
7482
|
+
* @param db - Database instance.
|
|
7483
|
+
* @param executionId - Execution to get state for.
|
|
7484
|
+
* @returns Current state with sequence number, or null if no state exists.
|
|
7485
|
+
*/
|
|
7486
|
+
declare function getWorkflowState(db: MakaioDatabase, executionId: string): Promise<{
|
|
7487
|
+
executionId: string;
|
|
7488
|
+
sequence: number;
|
|
7489
|
+
value: JsonValue;
|
|
7490
|
+
} | null>;
|
|
7491
|
+
/**
|
|
7492
|
+
* Apply a state mutation with optimistic concurrency control.
|
|
7493
|
+
*
|
|
7494
|
+
* Atomically updates the snapshot and appends a mutation log entry. The
|
|
7495
|
+
* persisted patch is derived from the stored current value and accepted next
|
|
7496
|
+
* value so the append-only event log always reflects the actual snapshot
|
|
7497
|
+
* transition.
|
|
7498
|
+
* Throws when the current sequence does not match `expectedSequence`.
|
|
7499
|
+
* @param db - Database instance
|
|
7500
|
+
* @param params - Patch parameters including executionId, expectedSequence, and nextValue
|
|
7501
|
+
* @returns The new state with updated sequence number.
|
|
7502
|
+
* @throws Error with message containing 'state sequence conflict' when expectedSequence doesn't match.
|
|
7503
|
+
* @throws Error when no state exists for the given execution.
|
|
7504
|
+
*/
|
|
7505
|
+
declare function patchWorkflowState(db: MakaioDatabase, params: {
|
|
7506
|
+
executionId: string;
|
|
7507
|
+
expectedSequence: number;
|
|
7508
|
+
nextValue: JsonValue;
|
|
7509
|
+
}): Promise<{
|
|
7510
|
+
executionId: string;
|
|
7511
|
+
sequence: number;
|
|
7512
|
+
patch: JsonPatchOperation[];
|
|
7513
|
+
value: JsonValue;
|
|
7514
|
+
}>;
|
|
6996
7515
|
//#endregion
|
|
6997
|
-
export { WorkflowEngineService, WorkflowEngineToken, WorkflowExecutor, WorkflowStorageNamespace, WorkflowStorageSubjects, buildWorkflowExpressionContextFromResolvedInputs, createWorkflowEnginePackage, registerDrizzleWorkflowStorage, runShellStep, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
|
|
7516
|
+
export { WorkflowEngineService, WorkflowEngineToken, WorkflowExecutor, WorkflowStorageNamespace, WorkflowStorageSubjects, buildWorkflowExpressionContextFromResolvedInputs, createWorkflowEnginePackage, getWorkflowState, initializeWorkflowState, patchWorkflowState, registerDrizzleWorkflowStorage, runShellStep, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
|