@makaio/framework 1.0.0-dev-1787949057928 → 1.0.0-dev-1788511348215
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/attempt-record-codec-dC9LSFUE.mjs +1 -0
- package/dist/authority-state-bootstrap-eitx6Ukn.mjs +1 -0
- package/dist/bus/index.mjs +1 -1
- package/dist/capabilities-DEvmD9VJ.mjs +1 -0
- package/dist/contracts/artifact/index.d.mts +1 -1
- package/dist/contracts/capabilities/index.d.mts +2 -2
- package/dist/contracts/capabilities/index.mjs +1 -1
- package/dist/contracts/client/index.d.mts +1 -1
- package/dist/contracts/extension/index.d.mts +2 -2
- package/dist/contracts/index.d.mts +12 -12
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/worker/index.d.mts +2 -0
- package/dist/contracts/worker/index.mjs +1 -0
- package/dist/contracts/workflow/index.d.mts +1 -1
- package/dist/contracts/workflow/index.mjs +1 -1
- package/dist/{execution-attempt-repository-BJ2W6wwx.d.mts → execution-attempt-repository-DY4KTptE.d.mts} +359 -57
- package/dist/{index-8NdPPzUh2.d.mts → index-6trZYnUP2.d.mts} +12 -12
- package/dist/{index-CPi0UpRh.d.mts → index-B_8bA2JW.d.mts} +1 -1
- package/dist/{index-DfUpqwBa2.d.mts → index-BmilK-co2.d.mts} +53 -53
- package/dist/{index-CMekqu_D.d.mts → index-C6aSnO8m.d.mts} +42 -42
- package/dist/{index-BUwDmh1I.d.mts → index-CDud4NAm.d.mts} +10 -10
- package/dist/{index-CYjgoYeX.d.mts → index-DHH-93YD.d.mts} +1 -1
- package/dist/{index-B9io6JAL.d.mts → index-DI2lS7VT.d.mts} +1 -1
- package/dist/{index-cLB38AWX.d.mts → index-DNI6UF9h.d.mts} +60 -60
- package/dist/{index-NUByQvlg.d.mts → index-DXtQRehh.d.mts} +14 -14
- package/dist/{index-CVNbBtA-.d.mts → index-Wbd_syN2.d.mts} +112 -112
- 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-C06lJSuj.d.mts → namespace-K23m4b0n.d.mts} +6 -6
- package/dist/package-Cgjpm9om.mjs +7 -0
- package/dist/{package-BNFTUFLB.d.mts → package-efR90JGe.d.mts} +59 -30
- package/dist/package.json +1 -1
- package/dist/runtime-node/index.d.mts +1 -1
- package/dist/runtime-node/index.mjs +1 -1
- package/dist/runtime-node/makaio-config.d.mts +2 -2
- package/dist/runtime-node/makaio-config.mjs +1 -1
- package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
- package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
- package/dist/runtime-node/workflow-worker/index.mjs +1 -1
- package/dist/{schemas-OWvBn7AH.d.mts → schemas-BCXvEWyF.d.mts} +4 -4
- package/dist/{schemas-BAv9RB9M.d.mts → schemas-D7EeKBDJ.d.mts} +3 -3
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/filesystem/namespace.d.mts +6 -6
- package/dist/services/filesystem/schemas.d.mts +3 -3
- package/dist/services/index.d.mts +9 -9
- package/dist/services/provider-context/index.d.mts +1 -1
- package/dist/services/session/index.d.mts +1 -1
- package/dist/services/settings/namespace.d.mts +2 -2
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/worker-CARV52hT.mjs +1 -0
- package/dist/worker-CLsRbzpk.mjs +1 -0
- package/dist/workflow-BomH9DBB.mjs +1 -0
- package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
- package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
- package/dist/workflow-engine/index.d.mts +178 -23
- 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/testing/index.d.mts +30 -9
- package/dist/workflow-engine/testing/index.mjs +1 -1
- package/dist/workflow-engine/testing/sqlite.d.mts +3 -2
- package/dist/workflow-engine/testing/sqlite.mjs +20 -20
- package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
- package/dist/workflow-worker-Dul-wcOR.mjs +1 -0
- package/package.json +4 -4
- package/dist/attempt-record-codec-BYfYkj4M.mjs +0 -1
- package/dist/authority-state-bootstrap-CLYus369.mjs +0 -1
- package/dist/capabilities-BUwuA7XX.mjs +0 -1
- package/dist/contracts/worker-node/index.d.mts +0 -2
- package/dist/contracts/worker-node/index.mjs +0 -1
- package/dist/package-B01gmu75.mjs +0 -7
- package/dist/worker-node-CjuQb9hl.mjs +0 -1
- package/dist/worker-node-Dtf9ilsR.mjs +0 -1
- package/dist/workflow-C4mck_NW.mjs +0 -1
- package/dist/workflow-worker-aNbdgqml.mjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as ExtensionDiscovery } from "./extension-discovery-Dhu3WplO.mjs";
|
|
2
2
|
import { RegistrableBusNamespaceDefinition } from "@makaio/framework/core";
|
|
3
3
|
import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@makaio/framework/bus";
|
|
4
|
-
import { ExtensionConfigProvider,
|
|
4
|
+
import { ExtensionConfigProvider, IWorkerProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, LoopGateHandler, MakaioNodeExtension, NormalizedWorkerCapabilities, OutcomeAckDecision, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerAllocatedOutcome, WorkerBootstrapClaimResponse, WorkerCapabilities, WorkerContributionManifest, WorkerContributionRef, WorkerDispatch, WorkerMaterializationSpec, WorkerProvisionRequest, WorkerRequirements, WorkerRuntimeContext, WorkflowDefinition, WorkflowRunContext, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerCompletion, WorkflowRunnerCompletion as WorkflowRunnerCompletion$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas } from "@makaio/framework/contracts";
|
|
5
5
|
import { DispatchingAuth, TransportAuth } from "@makaio/framework/node/transports";
|
|
6
6
|
import { ContributionProcessor, ExtensionCoordinator, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, TransportProvider, WindowRegistry } from "@makaio/framework/kernel";
|
|
7
7
|
import { StorageEngine } from "@makaio/framework/storage/drizzle";
|
|
@@ -747,22 +747,22 @@ type WorkflowRunnerBootOptions = {
|
|
|
747
747
|
readonly idleTimeoutMs?: number;
|
|
748
748
|
} | {
|
|
749
749
|
/**
|
|
750
|
-
* Delegate workflow executions to a product-owned
|
|
750
|
+
* Delegate workflow executions to a product-owned Worker dispatch seam.
|
|
751
751
|
*
|
|
752
752
|
* The dispatch function is supplied by the host composition root and
|
|
753
753
|
* typically wired to `workerPool.dispatch`. Framework code remains
|
|
754
754
|
* decoupled from any pool implementation details.
|
|
755
755
|
*/
|
|
756
|
-
readonly mode: 'worker
|
|
756
|
+
readonly mode: 'worker';
|
|
757
757
|
/**
|
|
758
|
-
*
|
|
758
|
+
* Worker dispatch function injected by the host composition root.
|
|
759
759
|
*
|
|
760
760
|
* Called once per workflow execution with the full worker config and
|
|
761
761
|
* manifest. Product hosts may wire this to `workerPool.dispatch`.
|
|
762
762
|
* When omitted, the Node runtime dispatches through the framework
|
|
763
|
-
* `worker
|
|
763
|
+
* `worker.dispatch` bus subject and requires a bus instance.
|
|
764
764
|
*/
|
|
765
|
-
readonly dispatch?:
|
|
765
|
+
readonly dispatch?: WorkerDispatch;
|
|
766
766
|
/**
|
|
767
767
|
* Contribution manifest forwarded to each dispatch call.
|
|
768
768
|
*
|
|
@@ -777,7 +777,7 @@ type WorkflowRunnerBootOptions = {
|
|
|
777
777
|
* When provided, the pool uses these to select a compatible provider.
|
|
778
778
|
* Omit to accept any available pool with no constraints.
|
|
779
779
|
*/
|
|
780
|
-
readonly requirements?:
|
|
780
|
+
readonly requirements?: WorkerRequirements;
|
|
781
781
|
};
|
|
782
782
|
/**
|
|
783
783
|
* Bound address info passed to {@link BootMakaioRuntimeOptions.onTransportReady}.
|
|
@@ -1055,17 +1055,17 @@ interface CoreBootOptions {
|
|
|
1055
1055
|
/** Host-owned resolvers that create portable specs for path-backed workflow starts. */
|
|
1056
1056
|
readonly workflowMaterializationSpecResolvers?: readonly WorkflowMaterializationSpecResolver[];
|
|
1057
1057
|
/**
|
|
1058
|
-
* Injected execution attempt persistence port for
|
|
1058
|
+
* Injected execution attempt persistence port for Worker dispatch.
|
|
1059
1059
|
*
|
|
1060
|
-
* Required when `workflowRunner.mode` is `'worker
|
|
1060
|
+
* Required when `workflowRunner.mode` is `'worker'`. The consuming
|
|
1061
1061
|
* Factory provides the concrete implementation that owns durable attempt
|
|
1062
1062
|
* records and accept/duplicate/conflict/fence decisions.
|
|
1063
1063
|
*
|
|
1064
1064
|
* When omitted, framework-only, in-process, and Piscina modes operate
|
|
1065
|
-
* without attempt tracking.
|
|
1065
|
+
* without attempt tracking. Worker mode fails fast at boot when this
|
|
1066
1066
|
* is not provided.
|
|
1067
1067
|
*/
|
|
1068
|
-
readonly executionAttemptRepository?: ExecutionAttemptRepository
|
|
1068
|
+
readonly executionAttemptRepository?: ExecutionAttemptRepository<WorkflowRunResult>;
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Runtime data home for config, database, machine identity, and installed
|
|
1071
1071
|
* extensions. Defaults to the `MAKAIO_HOME` environment override when set,
|
|
@@ -1344,7 +1344,7 @@ declare class ThinWorkflowPiscinaRunner implements IWorkflowRunner$1 {
|
|
|
1344
1344
|
* Execute a complete workflow in a pooled worker thread.
|
|
1345
1345
|
*
|
|
1346
1346
|
* When `manifest` is provided it overrides the runner's construction-time
|
|
1347
|
-
* default, so per-request contribution sets from the
|
|
1347
|
+
* default, so per-request contribution sets from the Worker pool are
|
|
1348
1348
|
* applied correctly without requiring a new runner instance.
|
|
1349
1349
|
* @param config - Full workflow worker configuration with source, inputs, and bus info.
|
|
1350
1350
|
* @param signal - AbortSignal for cooperative cancellation.
|
|
@@ -1398,18 +1398,18 @@ interface CreateNodeWorkflowRunnerPackageOptionsParams {
|
|
|
1398
1398
|
* Host-owned bus instance forwarded to in-process runner construction.
|
|
1399
1399
|
*
|
|
1400
1400
|
* Required when `workflowRunner.mode` is `'in-process'` or omitted on an
|
|
1401
|
-
* explicit runner object. Also used by
|
|
1401
|
+
* explicit runner object. Also used by Worker mode when no explicit
|
|
1402
1402
|
* dispatch function is supplied. Ignored for Piscina mode.
|
|
1403
1403
|
*/
|
|
1404
1404
|
readonly bus?: IMakaioBus;
|
|
1405
1405
|
/**
|
|
1406
1406
|
* Injected execution attempt persistence port.
|
|
1407
1407
|
*
|
|
1408
|
-
* Required when `workflowRunner.mode` is `'worker
|
|
1408
|
+
* Required when `workflowRunner.mode` is `'worker'`. Threaded
|
|
1409
1409
|
* through to the workflow engine service options so the Authority
|
|
1410
1410
|
* service can delegate durable decisions.
|
|
1411
1411
|
*/
|
|
1412
|
-
readonly executionAttemptRepository?: ExecutionAttemptRepository
|
|
1412
|
+
readonly executionAttemptRepository?: ExecutionAttemptRepository<WorkflowRunResult>;
|
|
1413
1413
|
/** Host-owned resolvers for portable path-backed workflow starts. */
|
|
1414
1414
|
readonly workflowMaterializationSpecResolvers?: readonly WorkflowMaterializationSpecResolver[];
|
|
1415
1415
|
}
|
|
@@ -1431,18 +1431,18 @@ interface NodeWorkflowRunnerPackageOptions {
|
|
|
1431
1431
|
/**
|
|
1432
1432
|
* Injected execution attempt persistence port.
|
|
1433
1433
|
*
|
|
1434
|
-
* Present only when the workflow runner uses
|
|
1434
|
+
* Present only when the workflow runner uses Worker dispatch mode.
|
|
1435
1435
|
* Forwarded to the workflow engine service for Authority construction.
|
|
1436
1436
|
*/
|
|
1437
|
-
readonly executionAttemptRepository?: ExecutionAttemptRepository
|
|
1437
|
+
readonly executionAttemptRepository?: ExecutionAttemptRepository<WorkflowRunResult>;
|
|
1438
1438
|
/**
|
|
1439
1439
|
* Execution attempt Authority constructed from the injected repository.
|
|
1440
1440
|
*
|
|
1441
|
-
* Present only when the workflow runner uses
|
|
1441
|
+
* Present only when the workflow runner uses Worker dispatch mode.
|
|
1442
1442
|
* Shared between the runner (for attempt creation before dispatch) and
|
|
1443
1443
|
* the workflow engine service (for outcome commitment).
|
|
1444
1444
|
*/
|
|
1445
|
-
readonly executionAttemptAuthority?: ExecutionAttemptAuthority
|
|
1445
|
+
readonly executionAttemptAuthority?: ExecutionAttemptAuthority<WorkflowRunResult>;
|
|
1446
1446
|
/** Host-owned resolvers forwarded to the workflow engine service. */
|
|
1447
1447
|
readonly workflowMaterializationSpecResolvers?: readonly WorkflowMaterializationSpecResolver[];
|
|
1448
1448
|
}
|
|
@@ -1467,17 +1467,17 @@ interface CreateNodeWorkflowRunnerParams {
|
|
|
1467
1467
|
* Host-owned bus instance forwarded to {@link InProcessWorkflowRunner}.
|
|
1468
1468
|
*
|
|
1469
1469
|
* Required when `runner` is present and its `mode` is `'in-process'` or
|
|
1470
|
-
* omitted. Also required for `'worker
|
|
1470
|
+
* omitted. Also required for `'worker'` mode when no explicit dispatch
|
|
1471
1471
|
* function is supplied. Ignored for Piscina mode.
|
|
1472
1472
|
*/
|
|
1473
1473
|
readonly bus?: IMakaioBus;
|
|
1474
1474
|
/**
|
|
1475
|
-
* Execution attempt Authority injected into
|
|
1475
|
+
* Execution attempt Authority injected into Worker runners.
|
|
1476
1476
|
*
|
|
1477
|
-
* Required when `runner.mode` is `'worker
|
|
1477
|
+
* Required when `runner.mode` is `'worker'`. The runner uses this
|
|
1478
1478
|
* to create attempts before dispatch and wait for committed outcomes.
|
|
1479
1479
|
*/
|
|
1480
|
-
readonly authority?: ExecutionAttemptAuthority
|
|
1480
|
+
readonly authority?: ExecutionAttemptAuthority<WorkflowRunResult>;
|
|
1481
1481
|
}
|
|
1482
1482
|
/**
|
|
1483
1483
|
* Create a workflow-level runner based on the Node runtime configuration.
|
|
@@ -1490,18 +1490,18 @@ interface CreateNodeWorkflowRunnerParams {
|
|
|
1490
1490
|
*/
|
|
1491
1491
|
declare function createNodeWorkflowRunner(params: CreateNodeWorkflowRunnerParams): IWorkflowRunner | undefined;
|
|
1492
1492
|
//#endregion
|
|
1493
|
-
//#region runtimes/node/src/workflow-worker/worker-
|
|
1493
|
+
//#region runtimes/node/src/workflow-worker/worker-runner.d.ts
|
|
1494
1494
|
/**
|
|
1495
|
-
* Construction options for {@link
|
|
1495
|
+
* Construction options for {@link WorkerRunner}.
|
|
1496
1496
|
*/
|
|
1497
|
-
interface
|
|
1497
|
+
interface WorkerRunnerOptions {
|
|
1498
1498
|
/**
|
|
1499
1499
|
* Dispatch seam injected by the host composition root.
|
|
1500
1500
|
*
|
|
1501
1501
|
* Product hosts wire this to `workerPool.dispatch` or another implementation.
|
|
1502
1502
|
* Framework code calls through this seam without coupling to any pool.
|
|
1503
1503
|
*/
|
|
1504
|
-
readonly dispatch:
|
|
1504
|
+
readonly dispatch: WorkerDispatch;
|
|
1505
1505
|
/**
|
|
1506
1506
|
* Execution attempt Authority used to create attempts before dispatch and
|
|
1507
1507
|
* wait for committed outcomes after dispatch returns.
|
|
@@ -1509,7 +1509,7 @@ interface WorkerNodeRunnerOptions {
|
|
|
1509
1509
|
* Required for authority-committed completions. When absent, the runner
|
|
1510
1510
|
* cannot create attempts or wait for durable outcomes.
|
|
1511
1511
|
*/
|
|
1512
|
-
readonly authority: ExecutionAttemptAuthority
|
|
1512
|
+
readonly authority: ExecutionAttemptAuthority<WorkflowRunResult>;
|
|
1513
1513
|
/**
|
|
1514
1514
|
* Extension contribution manifest forwarded to dispatched workers.
|
|
1515
1515
|
*
|
|
@@ -1523,10 +1523,10 @@ interface WorkerNodeRunnerOptions {
|
|
|
1523
1523
|
* When provided, the receiving pool uses these to select a compatible
|
|
1524
1524
|
* provider. Omit to accept any available pool.
|
|
1525
1525
|
*/
|
|
1526
|
-
readonly requirements?:
|
|
1526
|
+
readonly requirements?: WorkerRequirements;
|
|
1527
1527
|
}
|
|
1528
1528
|
/**
|
|
1529
|
-
* Workflow runner that delegates full workflow execution to a
|
|
1529
|
+
* Workflow runner that delegates full workflow execution to a Worker
|
|
1530
1530
|
* dispatch seam supplied by the host composition root.
|
|
1531
1531
|
*
|
|
1532
1532
|
* This class implements the {@link IWorkflowRunner} contract while remaining
|
|
@@ -1537,12 +1537,12 @@ interface WorkerNodeRunnerOptions {
|
|
|
1537
1537
|
* The runner creates an execution attempt through the injected Authority
|
|
1538
1538
|
* before dispatch and waits for the committed outcome after dispatch returns.
|
|
1539
1539
|
*/
|
|
1540
|
-
declare class
|
|
1540
|
+
declare class WorkerRunner implements IWorkflowRunner {
|
|
1541
1541
|
private readonly options;
|
|
1542
1542
|
/**
|
|
1543
1543
|
* @param options - Dispatch seam, authority, optional manifest, and optional requirements.
|
|
1544
1544
|
*/
|
|
1545
|
-
constructor(options:
|
|
1545
|
+
constructor(options: WorkerRunnerOptions);
|
|
1546
1546
|
/**
|
|
1547
1547
|
* Execute a complete workflow by delegating to the injected dispatch seam.
|
|
1548
1548
|
*
|
|
@@ -1711,7 +1711,7 @@ interface PiscinaThinWorkflowProviderOptions {
|
|
|
1711
1711
|
* call site instead of having the value silently dropped. See
|
|
1712
1712
|
* {@link PiscinaThinWorkflowProvider}.
|
|
1713
1713
|
*/
|
|
1714
|
-
readonly baseCapabilities?: Omit<Partial<
|
|
1714
|
+
readonly baseCapabilities?: Omit<Partial<WorkerCapabilities>, 'supportsRecovery'>;
|
|
1715
1715
|
/**
|
|
1716
1716
|
* Optional retry configuration for outcome submission.
|
|
1717
1717
|
*
|
|
@@ -1737,7 +1737,7 @@ interface ReadinessAwareWorkflowRunner extends IWorkflowRunner {
|
|
|
1737
1737
|
* @param manifest - Optional per-call contribution manifest.
|
|
1738
1738
|
* @returns Terminal result promise and post-composition readiness promise.
|
|
1739
1739
|
*/
|
|
1740
|
-
runWithReadiness(config:
|
|
1740
|
+
runWithReadiness(config: WorkerProvisionRequest['workerConfig'], signal: AbortSignal, manifest?: WorkerProvisionRequest['workerManifest']): ThinWorkflowPiscinaRunWithReadiness;
|
|
1741
1741
|
}
|
|
1742
1742
|
/**
|
|
1743
1743
|
* Built-in thin workflow provider backed by the existing workflow-level
|
|
@@ -1747,7 +1747,7 @@ interface ReadinessAwareWorkflowRunner extends IWorkflowRunner {
|
|
|
1747
1747
|
* with the framework capability registry and participate in pool-driven
|
|
1748
1748
|
* dispatch. Each {@link provision} call starts the underlying runner and
|
|
1749
1749
|
* returns a validated {@link ProviderAllocationRef} together with an
|
|
1750
|
-
* infrastructure-only {@link
|
|
1750
|
+
* infrastructure-only {@link WorkerHandle}.
|
|
1751
1751
|
*
|
|
1752
1752
|
* The handle controls allocation lifecycle (cancel/terminate) but does
|
|
1753
1753
|
* NOT expose readiness or workflow results. Readiness is signaled via
|
|
@@ -1765,7 +1765,7 @@ interface ReadinessAwareWorkflowRunner extends IWorkflowRunner {
|
|
|
1765
1765
|
* recovery capability, and `supportsRecovery` stays `false` regardless of the
|
|
1766
1766
|
* capability overrides a host supplies.
|
|
1767
1767
|
*/
|
|
1768
|
-
declare class PiscinaThinWorkflowProvider implements
|
|
1768
|
+
declare class PiscinaThinWorkflowProvider implements IWorkerProvider {
|
|
1769
1769
|
private readonly options;
|
|
1770
1770
|
/** Execution environment tag used for pool provider matching. */
|
|
1771
1771
|
readonly environment: "piscina";
|
|
@@ -1777,7 +1777,7 @@ declare class PiscinaThinWorkflowProvider implements IWorkerNodeProvider {
|
|
|
1777
1777
|
*/
|
|
1778
1778
|
readonly allocationLifetime: "provisioner-process-bound";
|
|
1779
1779
|
/** Capabilities advertised to the pool dispatch selector. */
|
|
1780
|
-
readonly baseCapabilities:
|
|
1780
|
+
readonly baseCapabilities: NormalizedWorkerCapabilities;
|
|
1781
1781
|
/**
|
|
1782
1782
|
* @param options - Provider identity, runner, and optional capability overrides.
|
|
1783
1783
|
*/
|
|
@@ -1801,7 +1801,7 @@ declare class PiscinaThinWorkflowProvider implements IWorkerNodeProvider {
|
|
|
1801
1801
|
* runner. Cancellation is never flattened into an outcome, so callers
|
|
1802
1802
|
* can tell it apart from an ambiguous infrastructure rejection.
|
|
1803
1803
|
*
|
|
1804
|
-
* The return type is narrower than {@link
|
|
1804
|
+
* The return type is narrower than {@link IWorkerProvider.provision}:
|
|
1805
1805
|
* this provider allocates a local worker thread or rejects, and it has no
|
|
1806
1806
|
* way to positively prove that nothing was created. The narrow type states
|
|
1807
1807
|
* what it can prove today. Gaining the ability to confirm absence means
|
|
@@ -1810,7 +1810,7 @@ declare class PiscinaThinWorkflowProvider implements IWorkerNodeProvider {
|
|
|
1810
1810
|
* @param signal - AbortSignal for cooperative cancellation of the provision operation.
|
|
1811
1811
|
* @returns Allocated outcome with a validated allocation reference and infrastructure handle.
|
|
1812
1812
|
*/
|
|
1813
|
-
provision(request:
|
|
1813
|
+
provision(request: WorkerProvisionRequest, signal: AbortSignal): Promise<WorkerAllocatedOutcome>;
|
|
1814
1814
|
/**
|
|
1815
1815
|
* Submit a workflow outcome through the Authority bus protocol after
|
|
1816
1816
|
* the runner promise settles.
|
|
@@ -1867,7 +1867,7 @@ interface InProcessWorkflowRunnerOptions {
|
|
|
1867
1867
|
* In-process implementation of {@link IWorkflowRunner}.
|
|
1868
1868
|
*
|
|
1869
1869
|
* Executes a full workflow inside the calling process using the shared host
|
|
1870
|
-
* bus. Unlike the Piscina and
|
|
1870
|
+
* bus. Unlike the Piscina and Worker runners, this runner does not spawn
|
|
1871
1871
|
* isolated processes or threads — the workflow orchestrator runs inline on the
|
|
1872
1872
|
* caller's bus.
|
|
1873
1873
|
*
|
|
@@ -1970,7 +1970,7 @@ type HeadlessWorkerBootstrapCredentials = WorkerBootstrapClaimResponse;
|
|
|
1970
1970
|
/**
|
|
1971
1971
|
* Bootstrap the worker by claiming execution-scoped bus credentials.
|
|
1972
1972
|
*
|
|
1973
|
-
* Implementations issue `
|
|
1973
|
+
* Implementations issue `WorkerSubjects.control['bootstrap.claim']`
|
|
1974
1974
|
* against an unauthenticated or bootstrap-authenticated bus and return the
|
|
1975
1975
|
* execution-scoped credentials for the authenticated connection.
|
|
1976
1976
|
* @param signal - Cancellation signal. Abort rejects the bootstrap.
|
|
@@ -2174,4 +2174,4 @@ declare function loadWorkflowModules(source: Exclude<WorkflowWorkerSource, {
|
|
|
2174
2174
|
*/
|
|
2175
2175
|
declare function loadWorkflowModule(source: WorkflowWorkerSource): Promise<RuntimeLoadedWorkflow>;
|
|
2176
2176
|
//#endregion
|
|
2177
|
-
export { WorkspaceRootResolver as $, submitOutcomeWithAck as A, createHonoRouteGraph as At, ThinWorkflowPiscinaRunnerOptions as B, PiscinaThinWorkflowProvider as C, resolveFrameworkSpecifier as Ct, OutcomeReconnect as D, HttpRouteContribution as Dt, OutcomeDeliveryError as E, HttpContributionPhase as Et, createNodeWorkflowRunner as F, activateAdapterRuntimeIdentity as Ft, MakaioRuntime as G, BootCoordinatorSetupContext as H, createNodeWorkflowRunnerPackageOptions as I, prepareAdapterRuntime as It, UpstreamTelemetryBootOptions as J, ServerTransportProvider as K, ThinWorkflowPiscinaRunner as L,
|
|
2177
|
+
export { WorkspaceRootResolver as $, submitOutcomeWithAck as A, createHonoRouteGraph as At, ThinWorkflowPiscinaRunnerOptions as B, PiscinaThinWorkflowProvider as C, resolveFrameworkSpecifier as Ct, OutcomeReconnect as D, HttpRouteContribution as Dt, OutcomeDeliveryError as E, HttpContributionPhase as Et, createNodeWorkflowRunner as F, activateAdapterRuntimeIdentity as Ft, MakaioRuntime as G, BootCoordinatorSetupContext as H, createNodeWorkflowRunnerPackageOptions as I, prepareAdapterRuntime as It, UpstreamTelemetryBootOptions as J, ServerTransportProvider as K, ThinWorkflowPiscinaRunner as L, WorkerRunnerOptions as M, ActivatedAdapterRuntimeIdentity as Mt, CreateNodeWorkflowRunnerPackageOptionsParams as N, PrepareAdapterRuntimeInput as Nt, OutcomeSubmitPayload as O, HonoRouteGraph as Ot, NodeWorkflowRunnerPackageOptions as P, PreparedAdapterRuntime as Pt, ParsedSriIntegrity as Q, IWorkflowRunner$1 as R, InProcessWorkflowRunnerOptions as S, NoopFrameworkModuleResolver as St, DELIVERED_DECISIONS as T, createHttpRouteGraphBuilder as Tt, BootMakaioRuntimeOptions as U, WorkflowRunResult$1 as V, CoreBootOptions as W, LocalDirectoryMaterializerOptions as X, WorkflowRunnerBootOptions as Y, MaterializationError as Z, IsolatedWorkflowRuntimeContext as _, selectFrameworkCorePackages as _t, HeadlessWorkerBootstrapCredentials as a, materializeLocalDirectory as at, createIsolatedWorkflowRuntime as b, FrameworkModuleResolver as bt, HeadlessWorkerExecutor as c, WorkflowWorkerEntryMode as ct, HeadlessWorkflowWorkerDeps as d, DatabaseBootOptions as dt, assertContainedIn as et, HeadlessWorkflowWorkerResult as f, InitializeNodeDatabaseOptions as ft, IsolatedWorkflowRuntime as g, normalizeNodeHostCapabilities as gt, CreateIsolatedWorkflowRuntimeOptions as h, HostCapabilityDeclaration as ht, HeadlessWorkerBootstrap as i, computeFileDigest as it, WorkerRunner as j, ActivateAdapterRuntimeIdentityInput as jt, OutcomeSubmitRetryConfig as k, HonoRouteGraphOptions as kt, HeadlessWorkerMaterializer as l, WorkflowWorkerEntryResolverOptions as lt, runHeadlessWorkflowWorker as m, initializeNodeDatabase as mt, loadWorkflowModules as n, computeContributionPackageDigest as nt, HeadlessWorkerBusConnector as o, parseSriIntegrity as ot, MaterializedWorkspace as p, InitializeNodeDatabaseResult as pt, TransportReadyInfo as q, loadWorkflowFromConfig as r, computeDirectoryDigest as rt, HeadlessWorkerContributionLoader as s, verifyContribution as st, loadWorkflowModule as t, assertNoSymlinkEscape as tt, HeadlessWorkerPostCommitObserver as u, resolveWorkflowWorkerEntry as ut, WorkflowRuntimeAuthorityConnector as v, ShutdownStep as vt, PiscinaThinWorkflowProviderOptions as w, HttpRouteGraphBuilder as wt, InProcessWorkflowRunner as x, NodeFrameworkModuleResolver as xt, WorkflowRuntimeContributionLoader as y, BridgeBrowserOptions as yt, RuntimeLoadedWorkflow as z };
|
|
@@ -4427,8 +4427,8 @@ declare const WorkflowSchemas: {
|
|
|
4427
4427
|
"exit-and-resume": "exit-and-resume";
|
|
4428
4428
|
}>>;
|
|
4429
4429
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
4430
|
-
authority: "authority";
|
|
4431
4430
|
worker: "worker";
|
|
4431
|
+
authority: "authority";
|
|
4432
4432
|
}>>;
|
|
4433
4433
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4434
4434
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -7135,8 +7135,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7135
7135
|
"exit-and-resume": "exit-and-resume";
|
|
7136
7136
|
}>>;
|
|
7137
7137
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
7138
|
-
authority: "authority";
|
|
7139
7138
|
worker: "worker";
|
|
7139
|
+
authority: "authority";
|
|
7140
7140
|
}>>;
|
|
7141
7141
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7142
7142
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -9843,8 +9843,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9843
9843
|
"exit-and-resume": "exit-and-resume";
|
|
9844
9844
|
}>>;
|
|
9845
9845
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
9846
|
-
authority: "authority";
|
|
9847
9846
|
worker: "worker";
|
|
9847
|
+
authority: "authority";
|
|
9848
9848
|
}>>;
|
|
9849
9849
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9850
9850
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -10464,7 +10464,7 @@ type WorkflowRunContextSource = z.infer<typeof WorkflowRunContextSourceSchema>;
|
|
|
10464
10464
|
*
|
|
10465
10465
|
* Created at execution start by the host, pulled by the executor over the
|
|
10466
10466
|
* authenticated bus after connecting. Replaces the push-model delivery of
|
|
10467
|
-
* {@link WorkflowWorkerConfig} for
|
|
10467
|
+
* {@link WorkflowWorkerConfig} for Worker providers.
|
|
10468
10468
|
*
|
|
10469
10469
|
* Does NOT contain: bus URL, auth secret, credential values, or git tokens.
|
|
10470
10470
|
* Those are transport/bootstrap or secret material, not durable run context.
|
|
@@ -10626,8 +10626,8 @@ declare const WorkflowRunContextSchema$1: z.ZodObject<{
|
|
|
10626
10626
|
"exit-and-resume": "exit-and-resume";
|
|
10627
10627
|
}>>;
|
|
10628
10628
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
10629
|
-
authority: "authority";
|
|
10630
10629
|
worker: "worker";
|
|
10630
|
+
authority: "authority";
|
|
10631
10631
|
}>>;
|
|
10632
10632
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10633
10633
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -10977,8 +10977,8 @@ declare const WorkflowWorkerConfigSchema$1: z.ZodObject<{
|
|
|
10977
10977
|
"exit-and-resume": "exit-and-resume";
|
|
10978
10978
|
}>>;
|
|
10979
10979
|
terminalAuthority: z.ZodOptional<z.ZodEnum<{
|
|
10980
|
-
authority: "authority";
|
|
10981
10980
|
worker: "worker";
|
|
10981
|
+
authority: "authority";
|
|
10982
10982
|
}>>;
|
|
10983
10983
|
materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10984
10984
|
kind: z.ZodLiteral<"local-directory">;
|
|
@@ -11255,7 +11255,7 @@ declare const WorkflowRunResultSchema$1: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
11255
11255
|
* Reference to an extension package that a workflow worker process should import.
|
|
11256
11256
|
*
|
|
11257
11257
|
* Fully serializable so it can cross worker-thread, process, container, or
|
|
11258
|
-
* remote
|
|
11258
|
+
* remote host boundaries without carrying runtime objects.
|
|
11259
11259
|
*
|
|
11260
11260
|
/**
|
|
11261
11261
|
* Serializable manifest declaring the exact worker-local extension packages.
|
|
@@ -11280,7 +11280,7 @@ interface WorkflowRunnerRunOptions$1 {
|
|
|
11280
11280
|
/**
|
|
11281
11281
|
* Opaque metadata forwarded to dispatch layers that support it.
|
|
11282
11282
|
*
|
|
11283
|
-
* Runners that do not call through
|
|
11283
|
+
* Runners that do not call through Worker dispatch may ignore this.
|
|
11284
11284
|
*/
|
|
11285
11285
|
readonly dispatchMetadata?: z.infer<typeof JsonObjectContractSchema>;
|
|
11286
11286
|
}
|
|
@@ -11294,7 +11294,7 @@ interface WorkflowRunnerRunOptions$1 {
|
|
|
11294
11294
|
* park the execution (in-process and Piscina runners).
|
|
11295
11295
|
* - `authority-committed`: the Authority outcome RPC has converged canonical
|
|
11296
11296
|
* state. The host executor verifies durable state but must not invoke
|
|
11297
|
-
* the fallback finalizer (
|
|
11297
|
+
* the fallback finalizer (Worker dispatch runners).
|
|
11298
11298
|
*/
|
|
11299
11299
|
type WorkflowRunnerCompletion$1 = {
|
|
11300
11300
|
readonly state: 'uncommitted';
|
|
@@ -11316,7 +11316,7 @@ interface IWorkflowRunner$1 {
|
|
|
11316
11316
|
*
|
|
11317
11317
|
* When `manifest` is supplied it takes precedence over any manifest baked
|
|
11318
11318
|
* into the runner at construction time, enabling per-call contribution
|
|
11319
|
-
* sets (e.g. when the
|
|
11319
|
+
* sets (e.g. when the Worker pool dispatches with a request-specific
|
|
11320
11320
|
* manifest). Callers that do not need per-call control may omit it.
|
|
11321
11321
|
* @param config - Full workflow worker configuration including source, inputs, and bus info.
|
|
11322
11322
|
* @param signal - AbortSignal for cooperative cancellation.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as CliContribution } from "./types-tyv0B605.mjs";
|
|
2
|
-
import { c as ExtensionInfo } from "./index-
|
|
2
|
+
import { c as ExtensionInfo } from "./index-6trZYnUP2.mjs";
|
|
3
3
|
import { r as WindowRegistry } from "./window-registry-Pcf35cac.mjs";
|
|
4
4
|
import { IMakaioBus } from "@makaio/framework/bus";
|
|
5
5
|
import { ExtensionContributionProcessor, ExtensionService, ExtensionToken, MakaioExtension, NodeExtensionContext, StorageDialect, TrayManifest, VersionLiteral } from "@makaio/framework/contracts";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as ArtifactLifecycleHookRegistration$1, N as AnyArtifactKindDefinition, W as ArtifactLifecycleHookEvent } from "./index-
|
|
1
|
+
import { G as ArtifactLifecycleHookRegistration$1, N as AnyArtifactKindDefinition, W as ArtifactLifecycleHookEvent } from "./index-DNI6UF9h.mjs";
|
|
2
2
|
import { s as AdapterProviderAuth$1 } from "./adapter-binding-CATvmGuz.mjs";
|
|
3
3
|
import { i as ExtensionService$1, n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-QmFuHdq5.mjs";
|
|
4
4
|
import { t as ExtensionAutomationTriggersContribution } from "./contribution-CUHLVLsT.mjs";
|
|
@@ -817,6 +817,16 @@ declare const ArtifactSchemas: {
|
|
|
817
817
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
818
818
|
kind: z.ZodString;
|
|
819
819
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
820
|
+
scope: z.ZodObject<{
|
|
821
|
+
level: z.ZodString;
|
|
822
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
823
|
+
}, z.core.$strip>;
|
|
824
|
+
schemaVersion: z.ZodString;
|
|
825
|
+
actor: z.ZodObject<{
|
|
826
|
+
kind: z.ZodString;
|
|
827
|
+
id: z.ZodString;
|
|
828
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
829
|
+
}, z.core.$strip>;
|
|
820
830
|
relations: z.ZodArray<z.ZodObject<{
|
|
821
831
|
type: z.ZodString;
|
|
822
832
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -841,16 +851,6 @@ declare const ArtifactSchemas: {
|
|
|
841
851
|
locator: z.ZodOptional<z.ZodString>;
|
|
842
852
|
}, z.core.$strip>], "refClass">>;
|
|
843
853
|
}, z.core.$strip>>;
|
|
844
|
-
scope: z.ZodObject<{
|
|
845
|
-
level: z.ZodString;
|
|
846
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
847
|
-
}, z.core.$strip>;
|
|
848
|
-
schemaVersion: z.ZodString;
|
|
849
|
-
actor: z.ZodObject<{
|
|
850
|
-
kind: z.ZodString;
|
|
851
|
-
id: z.ZodString;
|
|
852
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
853
|
-
}, z.core.$strip>;
|
|
854
854
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
855
855
|
level: z.ZodEnum<{
|
|
856
856
|
inferred: "inferred";
|
|
@@ -999,6 +999,16 @@ declare const ArtifactSchemas: {
|
|
|
999
999
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
1000
1000
|
kind: z.ZodString;
|
|
1001
1001
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
1002
|
+
scope: z.ZodObject<{
|
|
1003
|
+
level: z.ZodString;
|
|
1004
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1005
|
+
}, z.core.$strip>;
|
|
1006
|
+
schemaVersion: z.ZodString;
|
|
1007
|
+
actor: z.ZodObject<{
|
|
1008
|
+
kind: z.ZodString;
|
|
1009
|
+
id: z.ZodString;
|
|
1010
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1011
|
+
}, z.core.$strip>;
|
|
1002
1012
|
relations: z.ZodArray<z.ZodObject<{
|
|
1003
1013
|
type: z.ZodString;
|
|
1004
1014
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -1023,16 +1033,6 @@ declare const ArtifactSchemas: {
|
|
|
1023
1033
|
locator: z.ZodOptional<z.ZodString>;
|
|
1024
1034
|
}, z.core.$strip>], "refClass">>;
|
|
1025
1035
|
}, z.core.$strip>>;
|
|
1026
|
-
scope: z.ZodObject<{
|
|
1027
|
-
level: z.ZodString;
|
|
1028
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1029
|
-
}, z.core.$strip>;
|
|
1030
|
-
schemaVersion: z.ZodString;
|
|
1031
|
-
actor: z.ZodObject<{
|
|
1032
|
-
kind: z.ZodString;
|
|
1033
|
-
id: z.ZodString;
|
|
1034
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
1035
|
-
}, z.core.$strip>;
|
|
1036
1036
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
1037
1037
|
level: z.ZodEnum<{
|
|
1038
1038
|
inferred: "inferred";
|
|
@@ -2270,6 +2270,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2270
2270
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2271
2271
|
kind: z.ZodString;
|
|
2272
2272
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2273
|
+
scope: z.ZodObject<{
|
|
2274
|
+
level: z.ZodString;
|
|
2275
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2276
|
+
}, z.core.$strip>;
|
|
2277
|
+
schemaVersion: z.ZodString;
|
|
2278
|
+
actor: z.ZodObject<{
|
|
2279
|
+
kind: z.ZodString;
|
|
2280
|
+
id: z.ZodString;
|
|
2281
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2282
|
+
}, z.core.$strip>;
|
|
2273
2283
|
relations: z.ZodArray<z.ZodObject<{
|
|
2274
2284
|
type: z.ZodString;
|
|
2275
2285
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2294,16 +2304,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2294
2304
|
locator: z.ZodOptional<z.ZodString>;
|
|
2295
2305
|
}, z.core.$strip>], "refClass">>;
|
|
2296
2306
|
}, z.core.$strip>>;
|
|
2297
|
-
scope: z.ZodObject<{
|
|
2298
|
-
level: z.ZodString;
|
|
2299
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2300
|
-
}, z.core.$strip>;
|
|
2301
|
-
schemaVersion: z.ZodString;
|
|
2302
|
-
actor: z.ZodObject<{
|
|
2303
|
-
kind: z.ZodString;
|
|
2304
|
-
id: z.ZodString;
|
|
2305
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2306
|
-
}, z.core.$strip>;
|
|
2307
2307
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
2308
2308
|
level: z.ZodEnum<{
|
|
2309
2309
|
inferred: "inferred";
|
|
@@ -2452,6 +2452,16 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2452
2452
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
2453
2453
|
kind: z.ZodString;
|
|
2454
2454
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
2455
|
+
scope: z.ZodObject<{
|
|
2456
|
+
level: z.ZodString;
|
|
2457
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2458
|
+
}, z.core.$strip>;
|
|
2459
|
+
schemaVersion: z.ZodString;
|
|
2460
|
+
actor: z.ZodObject<{
|
|
2461
|
+
kind: z.ZodString;
|
|
2462
|
+
id: z.ZodString;
|
|
2463
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
2464
|
+
}, z.core.$strip>;
|
|
2455
2465
|
relations: z.ZodArray<z.ZodObject<{
|
|
2456
2466
|
type: z.ZodString;
|
|
2457
2467
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2476,16 +2486,6 @@ declare const ArtifactNamespace: _$_makaio_core0.BusNamespaceDefinition<"artifac
|
|
|
2476
2486
|
locator: z.ZodOptional<z.ZodString>;
|
|
2477
2487
|
}, z.core.$strip>], "refClass">>;
|
|
2478
2488
|
}, z.core.$strip>>;
|
|
2479
|
-
scope: z.ZodObject<{
|
|
2480
|
-
level: z.ZodString;
|
|
2481
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2482
|
-
}, z.core.$strip>;
|
|
2483
|
-
schemaVersion: z.ZodString;
|
|
2484
|
-
actor: z.ZodObject<{
|
|
2485
|
-
kind: z.ZodString;
|
|
2486
|
-
id: z.ZodString;
|
|
2487
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
2488
|
-
}, z.core.$strip>;
|
|
2489
2489
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
2490
2490
|
level: z.ZodEnum<{
|
|
2491
2491
|
inferred: "inferred";
|
|
@@ -3737,6 +3737,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3737
3737
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3738
3738
|
kind: z.ZodString;
|
|
3739
3739
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3740
|
+
scope: z.ZodObject<{
|
|
3741
|
+
level: z.ZodString;
|
|
3742
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3743
|
+
}, z.core.$strip>;
|
|
3744
|
+
schemaVersion: z.ZodString;
|
|
3745
|
+
actor: z.ZodObject<{
|
|
3746
|
+
kind: z.ZodString;
|
|
3747
|
+
id: z.ZodString;
|
|
3748
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3749
|
+
}, z.core.$strip>;
|
|
3740
3750
|
relations: z.ZodArray<z.ZodObject<{
|
|
3741
3751
|
type: z.ZodString;
|
|
3742
3752
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3761,16 +3771,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3761
3771
|
locator: z.ZodOptional<z.ZodString>;
|
|
3762
3772
|
}, z.core.$strip>], "refClass">>;
|
|
3763
3773
|
}, z.core.$strip>>;
|
|
3764
|
-
scope: z.ZodObject<{
|
|
3765
|
-
level: z.ZodString;
|
|
3766
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3767
|
-
}, z.core.$strip>;
|
|
3768
|
-
schemaVersion: z.ZodString;
|
|
3769
|
-
actor: z.ZodObject<{
|
|
3770
|
-
kind: z.ZodString;
|
|
3771
|
-
id: z.ZodString;
|
|
3772
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3773
|
-
}, z.core.$strip>;
|
|
3774
3774
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
3775
3775
|
level: z.ZodEnum<{
|
|
3776
3776
|
inferred: "inferred";
|
|
@@ -3919,6 +3919,16 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3919
3919
|
data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
|
|
3920
3920
|
kind: z.ZodString;
|
|
3921
3921
|
createdAt: z.ZodOptional<z.ZodNumber>;
|
|
3922
|
+
scope: z.ZodObject<{
|
|
3923
|
+
level: z.ZodString;
|
|
3924
|
+
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3925
|
+
}, z.core.$strip>;
|
|
3926
|
+
schemaVersion: z.ZodString;
|
|
3927
|
+
actor: z.ZodObject<{
|
|
3928
|
+
kind: z.ZodString;
|
|
3929
|
+
id: z.ZodString;
|
|
3930
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3931
|
+
}, z.core.$strip>;
|
|
3922
3932
|
relations: z.ZodArray<z.ZodObject<{
|
|
3923
3933
|
type: z.ZodString;
|
|
3924
3934
|
target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3943,16 +3953,6 @@ declare const ArtifactSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
3943
3953
|
locator: z.ZodOptional<z.ZodString>;
|
|
3944
3954
|
}, z.core.$strip>], "refClass">>;
|
|
3945
3955
|
}, z.core.$strip>>;
|
|
3946
|
-
scope: z.ZodObject<{
|
|
3947
|
-
level: z.ZodString;
|
|
3948
|
-
ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3949
|
-
}, z.core.$strip>;
|
|
3950
|
-
schemaVersion: z.ZodString;
|
|
3951
|
-
actor: z.ZodObject<{
|
|
3952
|
-
kind: z.ZodString;
|
|
3953
|
-
id: z.ZodString;
|
|
3954
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3955
|
-
}, z.core.$strip>;
|
|
3956
3956
|
confidence: z.ZodOptional<z.ZodObject<{
|
|
3957
3957
|
level: z.ZodEnum<{
|
|
3958
3958
|
inferred: "inferred";
|