@makaio/framework 1.0.0-dev-1788258714339 → 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/{context-resolution-CW4OtPrS.d.mts → context-resolution-841T7jBI.d.mts} +2 -2
- package/dist/contracts/artifact/index.d.mts +2 -2
- 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/harness/index.d.mts +1 -1
- package/dist/contracts/index.d.mts +12 -12
- package/dist/contracts/index.mjs +1 -1
- package/dist/contracts/materialization/index.d.mts +3 -3
- package/dist/contracts/worker/index.d.mts +2 -0
- package/dist/contracts/worker/index.mjs +1 -0
- package/dist/contracts/workflow/index.d.mts +2 -2
- 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-DJ2KgJDJ2.d.mts → index-BmilK-co2.d.mts} +49 -49
- package/dist/{index-CMekqu_D.d.mts → index-C6aSnO8m.d.mts} +42 -42
- package/dist/{index-DXqG0r3o.d.mts → index-CDud4NAm.d.mts} +24 -24
- package/dist/{index-B9V3T4EQ.d.mts → index-D037TVsm.d.mts} +4 -4
- package/dist/{index-DWkFkvRn2.d.mts → index-D8D-yibS2.d.mts} +3 -3
- package/dist/{index-CYjgoYeX.d.mts → index-DHH-93YD.d.mts} +1 -1
- package/dist/{index-BqlCDBfc.d.mts → index-DI2lS7VT.d.mts} +3 -3
- package/dist/{index-C3lu_fy5.d.mts → index-DNI6UF9h.d.mts} +73 -73
- package/dist/{index-4KJ6IDE7.d.mts → index-DXtQRehh.d.mts} +6 -6
- package/dist/{index-OG402CBI.d.mts → index-Wbd_syN2.d.mts} +83 -83
- 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-Dd0po67F.d.mts → schemas-D7EeKBDJ.d.mts} +5 -5
- package/dist/services/adapter-subsystem/index.d.mts +2 -2
- package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
- package/dist/services/harness/index.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 +4 -4
- package/dist/services/subagent-template/index.d.mts +1 -1
- package/dist/services/subagent-template/schemas.d.mts +1 -1
- package/dist/{transition-DXmCUq6w.d.mts → transition-D3zUBTPc.d.mts} +1 -1
- package/dist/ui-components/index.d.mts +4 -4
- package/dist/{view-builder-k82f5KFd.d.mts → view-builder-B0j9p5C0.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 +193 -38
- 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 };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as ArtifactRevision$1 } from "./context-resolution-
|
|
1
|
+
import { q as ArtifactRevision$1 } from "./context-resolution-841T7jBI.mjs";
|
|
2
2
|
import { n as AutomationTriggerBinding$1, o as AutomationTriggerParams, u as DefinedAutomationTrigger } from "./definition-DyGImhyi.mjs";
|
|
3
3
|
import { a as JsonObjectContractSchema, l as JsonValue$1 } from "./json-value-DPqb-SJ8.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
@@ -890,8 +890,8 @@ declare const WorkflowFrameStateSchema$1: z.ZodObject<{
|
|
|
890
890
|
cancelled: "cancelled";
|
|
891
891
|
failed: "failed";
|
|
892
892
|
running: "running";
|
|
893
|
-
skipped: "skipped";
|
|
894
893
|
waiting: "waiting";
|
|
894
|
+
skipped: "skipped";
|
|
895
895
|
}>;
|
|
896
896
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
897
897
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -906,8 +906,8 @@ type WorkflowFrameState$1 = z.infer<typeof WorkflowFrameStateSchema$1>;
|
|
|
906
906
|
declare const WorkflowGateStatusSchema: z.ZodEnum<{
|
|
907
907
|
cancelled: "cancelled";
|
|
908
908
|
rejected: "rejected";
|
|
909
|
-
resumed: "resumed";
|
|
910
909
|
waiting: "waiting";
|
|
910
|
+
resumed: "resumed";
|
|
911
911
|
"timed-out": "timed-out";
|
|
912
912
|
}>;
|
|
913
913
|
type WorkflowGateStatus = z.infer<typeof WorkflowGateStatusSchema>;
|
|
@@ -927,8 +927,8 @@ declare const WorkflowGateInstanceSchema$1: z.ZodObject<{
|
|
|
927
927
|
status: z.ZodEnum<{
|
|
928
928
|
cancelled: "cancelled";
|
|
929
929
|
rejected: "rejected";
|
|
930
|
-
resumed: "resumed";
|
|
931
930
|
waiting: "waiting";
|
|
931
|
+
resumed: "resumed";
|
|
932
932
|
"timed-out": "timed-out";
|
|
933
933
|
}>;
|
|
934
934
|
autoAction: z.ZodEnum<{
|
|
@@ -1278,8 +1278,8 @@ declare const GateInstanceListQuerySchema$1: z.ZodObject<{
|
|
|
1278
1278
|
status: z.ZodOptional<z.ZodEnum<{
|
|
1279
1279
|
cancelled: "cancelled";
|
|
1280
1280
|
rejected: "rejected";
|
|
1281
|
-
resumed: "resumed";
|
|
1282
1281
|
waiting: "waiting";
|
|
1282
|
+
resumed: "resumed";
|
|
1283
1283
|
"timed-out": "timed-out";
|
|
1284
1284
|
}>>;
|
|
1285
1285
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3752,8 +3752,8 @@ declare const WorkflowSchemas: {
|
|
|
3752
3752
|
status: z.ZodOptional<z.ZodEnum<{
|
|
3753
3753
|
cancelled: "cancelled";
|
|
3754
3754
|
rejected: "rejected";
|
|
3755
|
-
resumed: "resumed";
|
|
3756
3755
|
waiting: "waiting";
|
|
3756
|
+
resumed: "resumed";
|
|
3757
3757
|
"timed-out": "timed-out";
|
|
3758
3758
|
}>>;
|
|
3759
3759
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3768,8 +3768,8 @@ declare const WorkflowSchemas: {
|
|
|
3768
3768
|
status: z.ZodEnum<{
|
|
3769
3769
|
cancelled: "cancelled";
|
|
3770
3770
|
rejected: "rejected";
|
|
3771
|
-
resumed: "resumed";
|
|
3772
3771
|
waiting: "waiting";
|
|
3772
|
+
resumed: "resumed";
|
|
3773
3773
|
"timed-out": "timed-out";
|
|
3774
3774
|
}>;
|
|
3775
3775
|
autoAction: z.ZodEnum<{
|
|
@@ -3866,8 +3866,8 @@ declare const WorkflowSchemas: {
|
|
|
3866
3866
|
cancelled: "cancelled";
|
|
3867
3867
|
failed: "failed";
|
|
3868
3868
|
running: "running";
|
|
3869
|
-
skipped: "skipped";
|
|
3870
3869
|
waiting: "waiting";
|
|
3870
|
+
skipped: "skipped";
|
|
3871
3871
|
}>;
|
|
3872
3872
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
3873
3873
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4844,8 +4844,8 @@ declare const WorkflowSchemas: {
|
|
|
4844
4844
|
cancelled: "cancelled";
|
|
4845
4845
|
failed: "failed";
|
|
4846
4846
|
running: "running";
|
|
4847
|
-
skipped: "skipped";
|
|
4848
4847
|
waiting: "waiting";
|
|
4848
|
+
skipped: "skipped";
|
|
4849
4849
|
}>;
|
|
4850
4850
|
attempt: z.ZodNumber;
|
|
4851
4851
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6460,8 +6460,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6460
6460
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6461
6461
|
cancelled: "cancelled";
|
|
6462
6462
|
rejected: "rejected";
|
|
6463
|
-
resumed: "resumed";
|
|
6464
6463
|
waiting: "waiting";
|
|
6464
|
+
resumed: "resumed";
|
|
6465
6465
|
"timed-out": "timed-out";
|
|
6466
6466
|
}>>;
|
|
6467
6467
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6476,8 +6476,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6476
6476
|
status: z.ZodEnum<{
|
|
6477
6477
|
cancelled: "cancelled";
|
|
6478
6478
|
rejected: "rejected";
|
|
6479
|
-
resumed: "resumed";
|
|
6480
6479
|
waiting: "waiting";
|
|
6480
|
+
resumed: "resumed";
|
|
6481
6481
|
"timed-out": "timed-out";
|
|
6482
6482
|
}>;
|
|
6483
6483
|
autoAction: z.ZodEnum<{
|
|
@@ -6574,8 +6574,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
6574
6574
|
cancelled: "cancelled";
|
|
6575
6575
|
failed: "failed";
|
|
6576
6576
|
running: "running";
|
|
6577
|
-
skipped: "skipped";
|
|
6578
6577
|
waiting: "waiting";
|
|
6578
|
+
skipped: "skipped";
|
|
6579
6579
|
}>;
|
|
6580
6580
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
6581
6581
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7552,8 +7552,8 @@ declare const WorkflowNamespace$1: _$_makaio_core0.BusNamespaceDefinition<"workf
|
|
|
7552
7552
|
cancelled: "cancelled";
|
|
7553
7553
|
failed: "failed";
|
|
7554
7554
|
running: "running";
|
|
7555
|
-
skipped: "skipped";
|
|
7556
7555
|
waiting: "waiting";
|
|
7556
|
+
skipped: "skipped";
|
|
7557
7557
|
}>;
|
|
7558
7558
|
attempt: z.ZodNumber;
|
|
7559
7559
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9168,8 +9168,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9168
9168
|
status: z.ZodOptional<z.ZodEnum<{
|
|
9169
9169
|
cancelled: "cancelled";
|
|
9170
9170
|
rejected: "rejected";
|
|
9171
|
-
resumed: "resumed";
|
|
9172
9171
|
waiting: "waiting";
|
|
9172
|
+
resumed: "resumed";
|
|
9173
9173
|
"timed-out": "timed-out";
|
|
9174
9174
|
}>>;
|
|
9175
9175
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
@@ -9184,8 +9184,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9184
9184
|
status: z.ZodEnum<{
|
|
9185
9185
|
cancelled: "cancelled";
|
|
9186
9186
|
rejected: "rejected";
|
|
9187
|
-
resumed: "resumed";
|
|
9188
9187
|
waiting: "waiting";
|
|
9188
|
+
resumed: "resumed";
|
|
9189
9189
|
"timed-out": "timed-out";
|
|
9190
9190
|
}>;
|
|
9191
9191
|
autoAction: z.ZodEnum<{
|
|
@@ -9282,8 +9282,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
9282
9282
|
cancelled: "cancelled";
|
|
9283
9283
|
failed: "failed";
|
|
9284
9284
|
running: "running";
|
|
9285
|
-
skipped: "skipped";
|
|
9286
9285
|
waiting: "waiting";
|
|
9286
|
+
skipped: "skipped";
|
|
9287
9287
|
}>;
|
|
9288
9288
|
attempt: z.ZodDefault<z.ZodNumber>;
|
|
9289
9289
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -10260,8 +10260,8 @@ declare const WorkflowSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
|
|
|
10260
10260
|
cancelled: "cancelled";
|
|
10261
10261
|
failed: "failed";
|
|
10262
10262
|
running: "running";
|
|
10263
|
-
skipped: "skipped";
|
|
10264
10263
|
waiting: "waiting";
|
|
10264
|
+
skipped: "skipped";
|
|
10265
10265
|
}>;
|
|
10266
10266
|
attempt: z.ZodNumber;
|
|
10267
10267
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -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.
|
|
@@ -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.
|
|
@@ -11520,8 +11520,8 @@ declare const WorkLogFrameEntrySchema$1: z.ZodObject<{
|
|
|
11520
11520
|
cancelled: "cancelled";
|
|
11521
11521
|
failed: "failed";
|
|
11522
11522
|
running: "running";
|
|
11523
|
-
skipped: "skipped";
|
|
11524
11523
|
waiting: "waiting";
|
|
11524
|
+
skipped: "skipped";
|
|
11525
11525
|
}>;
|
|
11526
11526
|
attempt: z.ZodNumber;
|
|
11527
11527
|
iteration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11574,8 +11574,8 @@ declare const WorkLogGateEventSchema: z.ZodObject<{
|
|
|
11574
11574
|
status: z.ZodEnum<{
|
|
11575
11575
|
cancelled: "cancelled";
|
|
11576
11576
|
rejected: "rejected";
|
|
11577
|
-
resumed: "resumed";
|
|
11578
11577
|
waiting: "waiting";
|
|
11578
|
+
resumed: "resumed";
|
|
11579
11579
|
"timed-out": "timed-out";
|
|
11580
11580
|
}>;
|
|
11581
11581
|
prompt: z.ZodOptional<z.ZodString>;
|
|
@@ -146,7 +146,6 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
|
|
|
146
146
|
enabled: z.ZodArray<z.ZodString>;
|
|
147
147
|
disabled: z.ZodArray<z.ZodString>;
|
|
148
148
|
}, z.core.$strip>;
|
|
149
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
150
149
|
registryTools: z.ZodObject<{
|
|
151
150
|
enabled: z.ZodArray<z.ZodString>;
|
|
152
151
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -176,6 +175,7 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
|
|
|
176
175
|
"always-ask": "always-ask";
|
|
177
176
|
"full-access": "full-access";
|
|
178
177
|
}>>>;
|
|
178
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
179
179
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
180
180
|
reject: "reject";
|
|
181
181
|
"always-ask": "always-ask";
|
|
@@ -322,7 +322,6 @@ declare const HarnessSchemas: {
|
|
|
322
322
|
enabled: z.ZodArray<z.ZodString>;
|
|
323
323
|
disabled: z.ZodArray<z.ZodString>;
|
|
324
324
|
}, z.core.$strip>;
|
|
325
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
326
325
|
registryTools: z.ZodObject<{
|
|
327
326
|
enabled: z.ZodArray<z.ZodString>;
|
|
328
327
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -352,6 +351,7 @@ declare const HarnessSchemas: {
|
|
|
352
351
|
"always-ask": "always-ask";
|
|
353
352
|
"full-access": "full-access";
|
|
354
353
|
}>>>;
|
|
354
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
355
355
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
356
356
|
reject: "reject";
|
|
357
357
|
"always-ask": "always-ask";
|
|
@@ -765,7 +765,6 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
|
|
|
765
765
|
enabled: z.ZodArray<z.ZodString>;
|
|
766
766
|
disabled: z.ZodArray<z.ZodString>;
|
|
767
767
|
}, z.core.$strip>;
|
|
768
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
769
768
|
registryTools: z.ZodObject<{
|
|
770
769
|
enabled: z.ZodArray<z.ZodString>;
|
|
771
770
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -795,6 +794,7 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
|
|
|
795
794
|
"always-ask": "always-ask";
|
|
796
795
|
"full-access": "full-access";
|
|
797
796
|
}>>>;
|
|
797
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
798
798
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
799
799
|
reject: "reject";
|
|
800
800
|
"always-ask": "always-ask";
|
|
@@ -1208,7 +1208,6 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
1208
1208
|
enabled: z.ZodArray<z.ZodString>;
|
|
1209
1209
|
disabled: z.ZodArray<z.ZodString>;
|
|
1210
1210
|
}, z.core.$strip>;
|
|
1211
|
-
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1212
1211
|
registryTools: z.ZodObject<{
|
|
1213
1212
|
enabled: z.ZodArray<z.ZodString>;
|
|
1214
1213
|
disabled: z.ZodArray<z.ZodString>;
|
|
@@ -1238,6 +1237,7 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
|
|
|
1238
1237
|
"always-ask": "always-ask";
|
|
1239
1238
|
"full-access": "full-access";
|
|
1240
1239
|
}>>>;
|
|
1240
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1241
1241
|
approvalPolicy: z.ZodOptional<z.ZodEnum<{
|
|
1242
1242
|
reject: "reject";
|
|
1243
1243
|
"always-ask": "always-ask";
|
|
@@ -254,8 +254,8 @@ declare const MaterializationSchemas: {
|
|
|
254
254
|
provider: z.ZodString;
|
|
255
255
|
externalId: z.ZodString;
|
|
256
256
|
operation: z.ZodEnum<{
|
|
257
|
-
upserted: "upserted";
|
|
258
257
|
deleted: "deleted";
|
|
258
|
+
upserted: "upserted";
|
|
259
259
|
}>;
|
|
260
260
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
261
261
|
external: "external";
|
|
@@ -492,8 +492,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
|
|
|
492
492
|
provider: z.ZodString;
|
|
493
493
|
externalId: z.ZodString;
|
|
494
494
|
operation: z.ZodEnum<{
|
|
495
|
-
upserted: "upserted";
|
|
496
495
|
deleted: "deleted";
|
|
496
|
+
upserted: "upserted";
|
|
497
497
|
}>;
|
|
498
498
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
499
499
|
external: "external";
|
|
@@ -742,8 +742,8 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
|
|
|
742
742
|
provider: z.ZodString;
|
|
743
743
|
externalId: z.ZodString;
|
|
744
744
|
operation: z.ZodEnum<{
|
|
745
|
-
upserted: "upserted";
|
|
746
745
|
deleted: "deleted";
|
|
746
|
+
upserted: "upserted";
|
|
747
747
|
}>;
|
|
748
748
|
origin: z.ZodOptional<z.ZodEnum<{
|
|
749
749
|
external: "external";
|
|
@@ -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,8 +1,8 @@
|
|
|
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";
|
|
5
|
-
import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-
|
|
5
|
+
import { n as ExtensionTransitionRulesContribution, t as ExtensionTransitionActionsContribution, v as WorkflowBlockCollection$1 } from "./transition-D3zUBTPc.mjs";
|
|
6
6
|
import { E as ClientDefinition$1, Q as VersionLiteral$1, et as VersionRange, f as ExtensionClientHookResponsesContribution } from "./hook-responses-9Ywsqzzq.mjs";
|
|
7
7
|
import { c as ProviderDefinitionInput$1, r as ProtocolId$1 } from "./definition-BrgzUuFk.mjs";
|
|
8
8
|
import { t as RequiredTimeoutConfig } from "./index-l01zsChf.mjs";
|
|
@@ -10,7 +10,7 @@ import { Qt as SESSION_EVENT_TYPES, bn as SessionMessage$1, i as MakaioSessionEv
|
|
|
10
10
|
import { D as EntityUIConfig$1, I as FormFieldProps } from "./index-CmwAJ8-5.mjs";
|
|
11
11
|
import { l as FacetNamespaceDefinition } from "./index-BuMsrli0.mjs";
|
|
12
12
|
import { t as ExtensionReactionsContribution } from "./index-B0VO0rAl.mjs";
|
|
13
|
-
import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-
|
|
13
|
+
import { G as SurfaceBindingDefinition, p as ExtensionArtifactViewBuildersContribution } from "./view-builder-B0j9p5C0.mjs";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import { MakaioBusLike, PayloadFilter, RegistrableBusNamespaceDefinition, SubjectSchema } from "@makaio/framework/core";
|
|
16
16
|
import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
|