@makaio/framework 1.0.0-dev-1781996773251 → 1.0.0-dev-1782127638374
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.makaio-build.json +2 -2
- package/dist/adapter-subsystem/index.d.mts +13 -2
- package/dist/adapter-subsystem/index.mjs +1 -1
- package/dist/adapters/config/index.d.mts +1 -1
- package/dist/adapters/index.d.mts +11 -8
- package/dist/adapters/index.mjs +2 -2
- package/dist/adapters/stream-session/index.d.mts +18 -8
- package/dist/adapters/stream-session/index.mjs +1 -1
- package/dist/bus/index.d.mts +20 -20
- package/dist/clients/index.d.mts +5 -5
- package/dist/contracts/adapter/index.d.mts +2 -2
- package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/canonical-model/index.d.mts +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +3 -3
- package/dist/contracts/facet/index.d.mts +1 -1
- package/dist/contracts/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +188 -188
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/session/index.d.mts +2 -2
- package/dist/contracts/shared/index.d.mts +1 -1
- package/dist/contracts/variant/index.d.mts +1 -1
- package/dist/contracts/workflow/index.d.mts +2 -2
- package/dist/{definition-0EXM1tyu.d.mts → definition-rjwHUOBd.d.mts} +1 -1
- package/dist/{index-DvLCzle5.d.mts → index-BB8AMXbw.d.mts} +28 -28
- package/dist/{index-Dch9gi4S.d.mts → index-BCNDvAhA.d.mts} +1 -1
- package/dist/{index-DnLf0YKC.d.mts → index-BWIkf5oJ.d.mts} +6 -6
- package/dist/{index-Cx1Bm6WD.d.mts → index-Ck7dBtkM.d.mts} +4 -4
- package/dist/{index-WHUV7neB.d.mts → index-CqImyhjX.d.mts} +100 -100
- package/dist/{index-DImePakw.d.mts → index-D1nWOF49.d.mts} +8 -8
- package/dist/{index-BfsvUD9j.d.mts → index-DDOB47U7.d.mts} +53 -53
- package/dist/{index-WOoVeAEf.d.mts → index-DO_Cu5A4.d.mts} +13 -13
- package/dist/{index-DDehaguq.d.mts → index-DP-JW3Jc.d.mts} +399 -399
- package/dist/{index-CuILCdip.d.mts → index-DTBQOCar.d.mts} +16 -16
- package/dist/{index-DHUARU-6.d.mts → index-DeIxVnVs.d.mts} +12 -12
- package/dist/{index-DOIbPMcj.d.mts → index-DknXbjOs.d.mts} +16 -16
- package/dist/{index-4eP9DRL_.d.mts → index-Mi_UJoUV.d.mts} +4 -4
- package/dist/{index-CaerrEDH.d.mts → index-NkNbYFud.d.mts} +1 -1
- package/dist/{index-CUSOL0X_.d.mts → index-ZpJftSoa.d.mts} +357 -357
- package/dist/{index-DFk-zky_.d.mts → index-ntS1EXlf.d.mts} +1 -1
- 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-Do_rmLFb.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
- package/dist/{namespace-Bm77p82L.d.mts → namespace-4xHw59K8.d.mts} +1 -1
- package/dist/{namespace-KMxsPJwm.d.mts → namespace-Bv8B89uB.d.mts} +9 -9
- package/dist/{namespace-CfvtDD_U.d.mts → namespace-CUkosedS.d.mts} +154 -154
- package/dist/{namespace-D8P8Sxce2.d.mts → namespace-DXWpFdQH2.d.mts} +2 -2
- package/dist/{namespace-UaiY5v62.d.mts → namespace-XmDoz6Sz.d.mts} +58 -58
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.d.mts +1 -1
- package/dist/runtime-node/index.mjs +3 -3
- package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
- package/dist/{schema-CKTzwiif.d.mts → schema-fZknEOha.d.mts} +3 -3
- package/dist/{schemas-CwgS7KoL2.d.mts → schemas-1ynXdrNI2.d.mts} +7 -7
- package/dist/{schemas-CoFCV42v.d.mts → schemas-BOhGc0CT.d.mts} +154 -154
- package/dist/{schemas-CDGld_OC.d.mts → schemas-CscdPqCt.d.mts} +3 -3
- package/dist/{schemas-DDaP5WkH.d.mts → schemas-Dn5bfiTL.d.mts} +2 -2
- package/dist/services/agent-runtime/index.d.mts +2 -2
- package/dist/services/agent-runtime/namespace.d.mts +1 -1
- package/dist/services/agent-runtime/schemas.d.mts +1 -1
- package/dist/services/context-rules/index.d.mts +3 -3
- package/dist/services/filesystem/namespace.d.mts +12 -12
- package/dist/services/filesystem/schemas.d.mts +6 -6
- package/dist/services/harness/index.d.mts +3 -3
- package/dist/services/index.d.mts +106 -106
- package/dist/services/session/index.d.mts +5 -5
- package/dist/services/session/messages/namespace.d.mts +1 -1
- package/dist/services/session/session-events/namespace.d.mts +1 -1
- package/dist/services/session/storage/namespace.d.mts +1 -1
- package/dist/services/session/storage/schema.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +4 -4
- package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
- package/dist/services/subagent-template/index.d.mts +2 -2
- package/dist/services/subagent-template/namespace.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/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/{session-lineage-Cht4jbvV.d.mts → session-lineage-DR-9DU-U.d.mts} +1 -1
- package/dist/{transition-BBElJqQ8.d.mts → transition-_Uow1Pr1.d.mts} +1 -1
- package/dist/{types-B49V7vZJ.d.mts → types-BTqJIp9-.d.mts} +270 -270
- package/dist/{types-BrTJEhR-.d.mts → types-Cse8s_cD.d.mts} +9 -1
- package/dist/workflow-engine/index.d.mts +52 -52
- package/package.json +1 -1
|
@@ -439,8 +439,9 @@ declare abstract class AIAgentConnector<TBus extends ScopedBus<string> = ScopedB
|
|
|
439
439
|
protected readonly sessionId?: string;
|
|
440
440
|
/** Currently active message handle waiting for completion. */
|
|
441
441
|
protected pendingMessageHandle?: MessageHandle;
|
|
442
|
-
/** Scoped event bus for adapter-specific emission. */
|
|
442
|
+
/** Scoped event bus for adapter-specific emission; global bus owns cross-namespace runtime requests. */
|
|
443
443
|
private readonly scopedBus;
|
|
444
|
+
protected readonly globalBus: IMakaioBus;
|
|
444
445
|
/** Filtered event bus for agent-specific (filtered by agentId) message handling. */
|
|
445
446
|
private readonly filteredBus;
|
|
446
447
|
/** Optional error handler callback. */
|
|
@@ -739,6 +740,8 @@ declare abstract class AIAgentConnector<TBus extends ScopedBus<string> = ScopedB
|
|
|
739
740
|
interface ConfigFactoryInput<TBus extends ScopedBus<string> = ScopedBus<string>> {
|
|
740
741
|
/** Scoped bus for adapter-specific events */
|
|
741
742
|
bus: TBus;
|
|
743
|
+
/** Global bus for cross-namespace runtime requests */
|
|
744
|
+
globalBus?: IMakaioBus;
|
|
742
745
|
/** Unique agent identifier (required - generated by AIAgent) */
|
|
743
746
|
agentId: string;
|
|
744
747
|
/** Adapter instance identifier (required - provided by AIAgent from adapter) */
|
|
@@ -847,6 +850,10 @@ interface AgentRuntimeInput {
|
|
|
847
850
|
env?: Record<string, string>;
|
|
848
851
|
/** Reasoning effort for supporting adapters */
|
|
849
852
|
reasoningEffort?: AIReasoningLevel$1;
|
|
853
|
+
/** Allowed tool names. Empty array disables all adapter-visible tools. */
|
|
854
|
+
allowedTools?: string[];
|
|
855
|
+
/** Disallowed tool names. Takes precedence over allowedTools. */
|
|
856
|
+
disallowedTools?: string[];
|
|
850
857
|
}
|
|
851
858
|
/**
|
|
852
859
|
* Runtime options as RESOLVED config - model/cwd required (after configFactory applies defaults).
|
|
@@ -864,6 +871,7 @@ type AgentContext = Required<AgentIdentity>;
|
|
|
864
871
|
type ExecutionContext = AgentContext;
|
|
865
872
|
interface MinimalAgentConnectorConfig<TBus extends ScopedBus<string> = ScopedBus<string>> {
|
|
866
873
|
bus: TBus;
|
|
874
|
+
globalBus?: IMakaioBus;
|
|
867
875
|
}
|
|
868
876
|
/**
|
|
869
877
|
* Base configuration for AI agent connector instances.
|
|
@@ -423,8 +423,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
423
423
|
pending: "pending";
|
|
424
424
|
completed: "completed";
|
|
425
425
|
cancelled: "cancelled";
|
|
426
|
-
failed: "failed";
|
|
427
426
|
running: "running";
|
|
427
|
+
failed: "failed";
|
|
428
428
|
paused: "paused";
|
|
429
429
|
}>;
|
|
430
430
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -464,8 +464,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
464
464
|
pending: "pending";
|
|
465
465
|
completed: "completed";
|
|
466
466
|
cancelled: "cancelled";
|
|
467
|
-
failed: "failed";
|
|
468
467
|
running: "running";
|
|
468
|
+
failed: "failed";
|
|
469
469
|
paused: "paused";
|
|
470
470
|
}>;
|
|
471
471
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -512,8 +512,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
512
512
|
pending: "pending";
|
|
513
513
|
completed: "completed";
|
|
514
514
|
cancelled: "cancelled";
|
|
515
|
-
failed: "failed";
|
|
516
515
|
running: "running";
|
|
516
|
+
failed: "failed";
|
|
517
517
|
paused: "paused";
|
|
518
518
|
}>;
|
|
519
519
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -758,8 +758,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
758
758
|
pending: "pending";
|
|
759
759
|
completed: "completed";
|
|
760
760
|
cancelled: "cancelled";
|
|
761
|
-
failed: "failed";
|
|
762
761
|
running: "running";
|
|
762
|
+
failed: "failed";
|
|
763
763
|
paused: "paused";
|
|
764
764
|
}>>;
|
|
765
765
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -827,8 +827,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
827
827
|
pending: "pending";
|
|
828
828
|
completed: "completed";
|
|
829
829
|
cancelled: "cancelled";
|
|
830
|
-
failed: "failed";
|
|
831
830
|
running: "running";
|
|
831
|
+
failed: "failed";
|
|
832
832
|
paused: "paused";
|
|
833
833
|
}>>;
|
|
834
834
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -850,8 +850,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
850
850
|
pending: "pending";
|
|
851
851
|
completed: "completed";
|
|
852
852
|
cancelled: "cancelled";
|
|
853
|
-
failed: "failed";
|
|
854
853
|
running: "running";
|
|
854
|
+
failed: "failed";
|
|
855
855
|
paused: "paused";
|
|
856
856
|
}>;
|
|
857
857
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -902,8 +902,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
902
902
|
pending: "pending";
|
|
903
903
|
completed: "completed";
|
|
904
904
|
cancelled: "cancelled";
|
|
905
|
-
failed: "failed";
|
|
906
905
|
running: "running";
|
|
906
|
+
failed: "failed";
|
|
907
907
|
paused: "paused";
|
|
908
908
|
}>;
|
|
909
909
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -962,10 +962,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
962
962
|
pending: "pending";
|
|
963
963
|
completed: "completed";
|
|
964
964
|
cancelled: "cancelled";
|
|
965
|
-
failed: "failed";
|
|
966
965
|
running: "running";
|
|
967
|
-
|
|
966
|
+
failed: "failed";
|
|
968
967
|
skipped: "skipped";
|
|
968
|
+
waiting: "waiting";
|
|
969
969
|
}>;
|
|
970
970
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
971
971
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1008,10 +1008,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1008
1008
|
pending: "pending";
|
|
1009
1009
|
completed: "completed";
|
|
1010
1010
|
cancelled: "cancelled";
|
|
1011
|
-
failed: "failed";
|
|
1012
1011
|
running: "running";
|
|
1013
|
-
|
|
1012
|
+
failed: "failed";
|
|
1014
1013
|
skipped: "skipped";
|
|
1014
|
+
waiting: "waiting";
|
|
1015
1015
|
}>;
|
|
1016
1016
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
1017
1017
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1051,10 +1051,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1051
1051
|
pending: "pending";
|
|
1052
1052
|
completed: "completed";
|
|
1053
1053
|
cancelled: "cancelled";
|
|
1054
|
-
failed: "failed";
|
|
1055
1054
|
running: "running";
|
|
1056
|
-
|
|
1055
|
+
failed: "failed";
|
|
1057
1056
|
skipped: "skipped";
|
|
1057
|
+
waiting: "waiting";
|
|
1058
1058
|
}>;
|
|
1059
1059
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
1060
1060
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1081,8 +1081,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1081
1081
|
status: z.ZodEnum<{
|
|
1082
1082
|
cancelled: "cancelled";
|
|
1083
1083
|
rejected: "rejected";
|
|
1084
|
-
waiting: "waiting";
|
|
1085
1084
|
resumed: "resumed";
|
|
1085
|
+
waiting: "waiting";
|
|
1086
1086
|
"timed-out": "timed-out";
|
|
1087
1087
|
}>;
|
|
1088
1088
|
autoAction: z.ZodEnum<{
|
|
@@ -1213,8 +1213,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1213
1213
|
status: z.ZodEnum<{
|
|
1214
1214
|
cancelled: "cancelled";
|
|
1215
1215
|
rejected: "rejected";
|
|
1216
|
-
waiting: "waiting";
|
|
1217
1216
|
resumed: "resumed";
|
|
1217
|
+
waiting: "waiting";
|
|
1218
1218
|
"timed-out": "timed-out";
|
|
1219
1219
|
}>;
|
|
1220
1220
|
autoAction: z.ZodEnum<{
|
|
@@ -1238,8 +1238,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1238
1238
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1239
1239
|
cancelled: "cancelled";
|
|
1240
1240
|
rejected: "rejected";
|
|
1241
|
-
waiting: "waiting";
|
|
1242
1241
|
resumed: "resumed";
|
|
1242
|
+
waiting: "waiting";
|
|
1243
1243
|
"timed-out": "timed-out";
|
|
1244
1244
|
}>>;
|
|
1245
1245
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1254,8 +1254,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1254
1254
|
status: z.ZodEnum<{
|
|
1255
1255
|
cancelled: "cancelled";
|
|
1256
1256
|
rejected: "rejected";
|
|
1257
|
-
waiting: "waiting";
|
|
1258
1257
|
resumed: "resumed";
|
|
1258
|
+
waiting: "waiting";
|
|
1259
1259
|
"timed-out": "timed-out";
|
|
1260
1260
|
}>;
|
|
1261
1261
|
autoAction: z.ZodEnum<{
|
|
@@ -1289,8 +1289,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1289
1289
|
status: z.ZodEnum<{
|
|
1290
1290
|
cancelled: "cancelled";
|
|
1291
1291
|
rejected: "rejected";
|
|
1292
|
-
waiting: "waiting";
|
|
1293
1292
|
resumed: "resumed";
|
|
1293
|
+
waiting: "waiting";
|
|
1294
1294
|
"timed-out": "timed-out";
|
|
1295
1295
|
}>;
|
|
1296
1296
|
autoAction: z.ZodEnum<{
|
|
@@ -1319,8 +1319,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1319
1319
|
}>;
|
|
1320
1320
|
status: z.ZodEnum<{
|
|
1321
1321
|
completed: "completed";
|
|
1322
|
-
failed: "failed";
|
|
1323
1322
|
running: "running";
|
|
1323
|
+
failed: "failed";
|
|
1324
1324
|
skipped: "skipped";
|
|
1325
1325
|
}>;
|
|
1326
1326
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1355,8 +1355,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
1355
1355
|
}>;
|
|
1356
1356
|
status: z.ZodEnum<{
|
|
1357
1357
|
completed: "completed";
|
|
1358
|
-
failed: "failed";
|
|
1359
1358
|
running: "running";
|
|
1359
|
+
failed: "failed";
|
|
1360
1360
|
skipped: "skipped";
|
|
1361
1361
|
}>;
|
|
1362
1362
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2482,7 +2482,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2482
2482
|
tableName: "workflow_executions";
|
|
2483
2483
|
dataType: "string";
|
|
2484
2484
|
columnType: "SQLiteText";
|
|
2485
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
2485
|
+
data: "pending" | "completed" | "cancelled" | "running" | "failed" | "paused";
|
|
2486
2486
|
driverParam: string;
|
|
2487
2487
|
notNull: true;
|
|
2488
2488
|
hasDefault: false;
|
|
@@ -2771,7 +2771,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2771
2771
|
tableName: "workflow_execution_frames";
|
|
2772
2772
|
dataType: "string";
|
|
2773
2773
|
columnType: "SQLiteText";
|
|
2774
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
2774
|
+
data: "pending" | "completed" | "cancelled" | "running" | "failed" | "skipped" | "waiting";
|
|
2775
2775
|
driverParam: string;
|
|
2776
2776
|
notNull: true;
|
|
2777
2777
|
hasDefault: true;
|
|
@@ -2784,7 +2784,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
2784
2784
|
generated: undefined;
|
|
2785
2785
|
}, {}, {
|
|
2786
2786
|
length: number | undefined;
|
|
2787
|
-
$type: "pending" | "completed" | "cancelled" | "
|
|
2787
|
+
$type: "pending" | "completed" | "cancelled" | "running" | "failed" | "skipped" | "waiting";
|
|
2788
2788
|
}>;
|
|
2789
2789
|
attempt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
2790
2790
|
name: string;
|
|
@@ -3054,7 +3054,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3054
3054
|
tableName: "workflow_gate_instances";
|
|
3055
3055
|
dataType: "string";
|
|
3056
3056
|
columnType: "SQLiteText";
|
|
3057
|
-
data: "cancelled" | "rejected" | "
|
|
3057
|
+
data: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
|
|
3058
3058
|
driverParam: string;
|
|
3059
3059
|
notNull: true;
|
|
3060
3060
|
hasDefault: true;
|
|
@@ -3067,7 +3067,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3067
3067
|
generated: undefined;
|
|
3068
3068
|
}, {}, {
|
|
3069
3069
|
length: number | undefined;
|
|
3070
|
-
$type: "cancelled" | "rejected" | "
|
|
3070
|
+
$type: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
|
|
3071
3071
|
}>;
|
|
3072
3072
|
autoAction: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3073
3073
|
name: "auto_action";
|
|
@@ -3282,7 +3282,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3282
3282
|
tableName: "workflow_step_spans";
|
|
3283
3283
|
dataType: "string";
|
|
3284
3284
|
columnType: "SQLiteText";
|
|
3285
|
-
data: "completed" | "
|
|
3285
|
+
data: "completed" | "running" | "failed" | "skipped";
|
|
3286
3286
|
driverParam: string;
|
|
3287
3287
|
notNull: true;
|
|
3288
3288
|
hasDefault: false;
|
|
@@ -3295,7 +3295,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
3295
3295
|
generated: undefined;
|
|
3296
3296
|
}, {}, {
|
|
3297
3297
|
length: number | undefined;
|
|
3298
|
-
$type: "completed" | "
|
|
3298
|
+
$type: "completed" | "running" | "failed" | "skipped";
|
|
3299
3299
|
}>;
|
|
3300
3300
|
startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
3301
3301
|
name: string;
|
|
@@ -4329,7 +4329,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4329
4329
|
tableName: "worklog_summaries";
|
|
4330
4330
|
dataType: "string";
|
|
4331
4331
|
columnType: "SQLiteText";
|
|
4332
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
4332
|
+
data: "pending" | "completed" | "cancelled" | "running" | "failed" | "paused";
|
|
4333
4333
|
driverParam: string;
|
|
4334
4334
|
notNull: true;
|
|
4335
4335
|
hasDefault: false;
|
|
@@ -4591,7 +4591,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
4591
4591
|
tableName: "worklog_frame_entries";
|
|
4592
4592
|
dataType: "string";
|
|
4593
4593
|
columnType: "SQLiteText";
|
|
4594
|
-
data: "pending" | "completed" | "cancelled" | "
|
|
4594
|
+
data: "pending" | "completed" | "cancelled" | "running" | "failed" | "skipped" | "waiting";
|
|
4595
4595
|
driverParam: string;
|
|
4596
4596
|
notNull: true;
|
|
4597
4597
|
hasDefault: false;
|
|
@@ -5025,7 +5025,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5025
5025
|
tableName: "worklog_gate_events";
|
|
5026
5026
|
dataType: "string";
|
|
5027
5027
|
columnType: "SQLiteText";
|
|
5028
|
-
data: "cancelled" | "rejected" | "
|
|
5028
|
+
data: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
|
|
5029
5029
|
driverParam: string;
|
|
5030
5030
|
notNull: true;
|
|
5031
5031
|
hasDefault: false;
|
|
@@ -5038,7 +5038,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
|
|
|
5038
5038
|
generated: undefined;
|
|
5039
5039
|
}, {}, {
|
|
5040
5040
|
length: number | undefined;
|
|
5041
|
-
$type: "cancelled" | "rejected" | "
|
|
5041
|
+
$type: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
|
|
5042
5042
|
}>;
|
|
5043
5043
|
prompt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
|
|
5044
5044
|
name: "prompt";
|
|
@@ -5685,8 +5685,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5685
5685
|
pending: "pending";
|
|
5686
5686
|
completed: "completed";
|
|
5687
5687
|
cancelled: "cancelled";
|
|
5688
|
-
failed: "failed";
|
|
5689
5688
|
running: "running";
|
|
5689
|
+
failed: "failed";
|
|
5690
5690
|
paused: "paused";
|
|
5691
5691
|
}>;
|
|
5692
5692
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -5726,8 +5726,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5726
5726
|
pending: "pending";
|
|
5727
5727
|
completed: "completed";
|
|
5728
5728
|
cancelled: "cancelled";
|
|
5729
|
-
failed: "failed";
|
|
5730
5729
|
running: "running";
|
|
5730
|
+
failed: "failed";
|
|
5731
5731
|
paused: "paused";
|
|
5732
5732
|
}>;
|
|
5733
5733
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -5774,8 +5774,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
5774
5774
|
pending: "pending";
|
|
5775
5775
|
completed: "completed";
|
|
5776
5776
|
cancelled: "cancelled";
|
|
5777
|
-
failed: "failed";
|
|
5778
5777
|
running: "running";
|
|
5778
|
+
failed: "failed";
|
|
5779
5779
|
paused: "paused";
|
|
5780
5780
|
}>;
|
|
5781
5781
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6020,8 +6020,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6020
6020
|
pending: "pending";
|
|
6021
6021
|
completed: "completed";
|
|
6022
6022
|
cancelled: "cancelled";
|
|
6023
|
-
failed: "failed";
|
|
6024
6023
|
running: "running";
|
|
6024
|
+
failed: "failed";
|
|
6025
6025
|
paused: "paused";
|
|
6026
6026
|
}>>;
|
|
6027
6027
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6089,8 +6089,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6089
6089
|
pending: "pending";
|
|
6090
6090
|
completed: "completed";
|
|
6091
6091
|
cancelled: "cancelled";
|
|
6092
|
-
failed: "failed";
|
|
6093
6092
|
running: "running";
|
|
6093
|
+
failed: "failed";
|
|
6094
6094
|
paused: "paused";
|
|
6095
6095
|
}>>;
|
|
6096
6096
|
artifactRef: z.ZodOptional<z.ZodObject<{
|
|
@@ -6112,8 +6112,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6112
6112
|
pending: "pending";
|
|
6113
6113
|
completed: "completed";
|
|
6114
6114
|
cancelled: "cancelled";
|
|
6115
|
-
failed: "failed";
|
|
6116
6115
|
running: "running";
|
|
6116
|
+
failed: "failed";
|
|
6117
6117
|
paused: "paused";
|
|
6118
6118
|
}>;
|
|
6119
6119
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6164,8 +6164,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6164
6164
|
pending: "pending";
|
|
6165
6165
|
completed: "completed";
|
|
6166
6166
|
cancelled: "cancelled";
|
|
6167
|
-
failed: "failed";
|
|
6168
6167
|
running: "running";
|
|
6168
|
+
failed: "failed";
|
|
6169
6169
|
paused: "paused";
|
|
6170
6170
|
}>;
|
|
6171
6171
|
inputs: z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>;
|
|
@@ -6224,10 +6224,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6224
6224
|
pending: "pending";
|
|
6225
6225
|
completed: "completed";
|
|
6226
6226
|
cancelled: "cancelled";
|
|
6227
|
-
failed: "failed";
|
|
6228
6227
|
running: "running";
|
|
6229
|
-
|
|
6228
|
+
failed: "failed";
|
|
6230
6229
|
skipped: "skipped";
|
|
6230
|
+
waiting: "waiting";
|
|
6231
6231
|
}>;
|
|
6232
6232
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
6233
6233
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6270,10 +6270,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6270
6270
|
pending: "pending";
|
|
6271
6271
|
completed: "completed";
|
|
6272
6272
|
cancelled: "cancelled";
|
|
6273
|
-
failed: "failed";
|
|
6274
6273
|
running: "running";
|
|
6275
|
-
|
|
6274
|
+
failed: "failed";
|
|
6276
6275
|
skipped: "skipped";
|
|
6276
|
+
waiting: "waiting";
|
|
6277
6277
|
}>;
|
|
6278
6278
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
6279
6279
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6313,10 +6313,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6313
6313
|
pending: "pending";
|
|
6314
6314
|
completed: "completed";
|
|
6315
6315
|
cancelled: "cancelled";
|
|
6316
|
-
failed: "failed";
|
|
6317
6316
|
running: "running";
|
|
6318
|
-
|
|
6317
|
+
failed: "failed";
|
|
6319
6318
|
skipped: "skipped";
|
|
6319
|
+
waiting: "waiting";
|
|
6320
6320
|
}>;
|
|
6321
6321
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
6322
6322
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6343,8 +6343,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6343
6343
|
status: z.ZodEnum<{
|
|
6344
6344
|
cancelled: "cancelled";
|
|
6345
6345
|
rejected: "rejected";
|
|
6346
|
-
waiting: "waiting";
|
|
6347
6346
|
resumed: "resumed";
|
|
6347
|
+
waiting: "waiting";
|
|
6348
6348
|
"timed-out": "timed-out";
|
|
6349
6349
|
}>;
|
|
6350
6350
|
autoAction: z.ZodEnum<{
|
|
@@ -6475,8 +6475,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6475
6475
|
status: z.ZodEnum<{
|
|
6476
6476
|
cancelled: "cancelled";
|
|
6477
6477
|
rejected: "rejected";
|
|
6478
|
-
waiting: "waiting";
|
|
6479
6478
|
resumed: "resumed";
|
|
6479
|
+
waiting: "waiting";
|
|
6480
6480
|
"timed-out": "timed-out";
|
|
6481
6481
|
}>;
|
|
6482
6482
|
autoAction: z.ZodEnum<{
|
|
@@ -6500,8 +6500,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6500
6500
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6501
6501
|
cancelled: "cancelled";
|
|
6502
6502
|
rejected: "rejected";
|
|
6503
|
-
waiting: "waiting";
|
|
6504
6503
|
resumed: "resumed";
|
|
6504
|
+
waiting: "waiting";
|
|
6505
6505
|
"timed-out": "timed-out";
|
|
6506
6506
|
}>>;
|
|
6507
6507
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6516,8 +6516,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6516
6516
|
status: z.ZodEnum<{
|
|
6517
6517
|
cancelled: "cancelled";
|
|
6518
6518
|
rejected: "rejected";
|
|
6519
|
-
waiting: "waiting";
|
|
6520
6519
|
resumed: "resumed";
|
|
6520
|
+
waiting: "waiting";
|
|
6521
6521
|
"timed-out": "timed-out";
|
|
6522
6522
|
}>;
|
|
6523
6523
|
autoAction: z.ZodEnum<{
|
|
@@ -6551,8 +6551,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6551
6551
|
status: z.ZodEnum<{
|
|
6552
6552
|
cancelled: "cancelled";
|
|
6553
6553
|
rejected: "rejected";
|
|
6554
|
-
waiting: "waiting";
|
|
6555
6554
|
resumed: "resumed";
|
|
6555
|
+
waiting: "waiting";
|
|
6556
6556
|
"timed-out": "timed-out";
|
|
6557
6557
|
}>;
|
|
6558
6558
|
autoAction: z.ZodEnum<{
|
|
@@ -6581,8 +6581,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6581
6581
|
}>;
|
|
6582
6582
|
status: z.ZodEnum<{
|
|
6583
6583
|
completed: "completed";
|
|
6584
|
-
failed: "failed";
|
|
6585
6584
|
running: "running";
|
|
6585
|
+
failed: "failed";
|
|
6586
6586
|
skipped: "skipped";
|
|
6587
6587
|
}>;
|
|
6588
6588
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6617,8 +6617,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
|
|
|
6617
6617
|
}>;
|
|
6618
6618
|
status: z.ZodEnum<{
|
|
6619
6619
|
completed: "completed";
|
|
6620
|
-
failed: "failed";
|
|
6621
6620
|
running: "running";
|
|
6621
|
+
failed: "failed";
|
|
6622
6622
|
skipped: "skipped";
|
|
6623
6623
|
}>;
|
|
6624
6624
|
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7394,7 +7394,7 @@ declare const workflowStepSpansDual: _$_makaio_storage_drizzle0.DualTable<"workf
|
|
|
7394
7394
|
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. */
|
|
7395
7395
|
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. */
|
|
7396
7396
|
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. */
|
|
7397
|
-
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "
|
|
7397
|
+
status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "running" | "failed" | "skipped">>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", [string, ...string[]]>, "completed" | "running" | "failed" | "skipped">>>; /** Step start timestamp (epoch ms). */
|
|
7398
7398
|
startedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Step completion timestamp (epoch ms). */
|
|
7399
7399
|
completedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Wall-clock duration in milliseconds. */
|
|
7400
7400
|
durationMs: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Input tokens consumed (agent steps). */
|