@zhin.js/agent 1.1.30 → 1.1.32
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/README.md +5 -20
- package/lib/config/deprecated-agent-binding-keys.d.ts +21 -0
- package/lib/config/deprecated-agent-binding-keys.d.ts.map +1 -0
- package/lib/config/deprecated-agent-binding-keys.js +37 -0
- package/lib/config/deprecated-agent-binding-keys.js.map +1 -0
- package/lib/config/deprecated-agent-keys.d.ts +16 -0
- package/lib/config/deprecated-agent-keys.d.ts.map +1 -0
- package/lib/config/deprecated-agent-keys.js +23 -0
- package/lib/config/deprecated-agent-keys.js.map +1 -0
- package/lib/config/fix-ai-config.d.ts.map +1 -1
- package/lib/config/fix-ai-config.js +16 -20
- package/lib/config/fix-ai-config.js.map +1 -1
- package/lib/config/index.d.ts +4 -1
- package/lib/config/index.d.ts.map +1 -1
- package/lib/config/index.js +3 -1
- package/lib/config/index.js.map +1 -1
- package/lib/config/model-harness-runtime.d.ts.map +1 -1
- package/lib/config/model-harness-runtime.js +47 -5
- package/lib/config/model-harness-runtime.js.map +1 -1
- package/lib/config/model-harness.d.ts +30 -0
- package/lib/config/model-harness.d.ts.map +1 -1
- package/lib/config/normalize-ai-config.d.ts.map +1 -1
- package/lib/config/normalize-ai-config.js +10 -2
- package/lib/config/normalize-ai-config.js.map +1 -1
- package/lib/config/perception-config.d.ts +36 -0
- package/lib/config/perception-config.d.ts.map +1 -0
- package/lib/config/perception-config.js +55 -0
- package/lib/config/perception-config.js.map +1 -0
- package/lib/config/types.d.ts +13 -1
- package/lib/config/types.d.ts.map +1 -1
- package/lib/config/types.js.map +1 -1
- package/lib/config/validate-ai-config.d.ts.map +1 -1
- package/lib/config/validate-ai-config.js +0 -19
- package/lib/config/validate-ai-config.js.map +1 -1
- package/lib/config/zhin-agent-config.d.ts +36 -1
- package/lib/config/zhin-agent-config.d.ts.map +1 -1
- package/lib/config/zhin-agent-defaults.d.ts.map +1 -1
- package/lib/config/zhin-agent-defaults.js +7 -4
- package/lib/config/zhin-agent-defaults.js.map +1 -1
- package/lib/config/zhin-agent-dependencies.d.ts +5 -0
- package/lib/config/zhin-agent-dependencies.d.ts.map +1 -1
- package/lib/context/context-system.d.ts +4 -0
- package/lib/context/context-system.d.ts.map +1 -1
- package/lib/context/context-system.js +2 -0
- package/lib/context/context-system.js.map +1 -1
- package/lib/context/model-resolver.d.ts +1 -0
- package/lib/context/model-resolver.d.ts.map +1 -1
- package/lib/context/model-resolver.js +4 -1
- package/lib/context/model-resolver.js.map +1 -1
- package/lib/context/turn-envelope.d.ts +4 -0
- package/lib/context/turn-envelope.d.ts.map +1 -1
- package/lib/context/turn-envelope.js +4 -0
- package/lib/context/turn-envelope.js.map +1 -1
- package/lib/core/agent-core-run.d.ts +22 -1
- package/lib/core/agent-core-run.d.ts.map +1 -1
- package/lib/core/agent-core-run.js +363 -51
- package/lib/core/agent-core-run.js.map +1 -1
- package/lib/core/agent-core.d.ts +5 -0
- package/lib/core/agent-core.d.ts.map +1 -1
- package/lib/core/agent-core.js +5 -0
- package/lib/core/agent-core.js.map +1 -1
- package/lib/core/agent-loop-standalone.d.ts +6 -0
- package/lib/core/agent-loop-standalone.d.ts.map +1 -1
- package/lib/core/agent-loop-standalone.js +7 -2
- package/lib/core/agent-loop-standalone.js.map +1 -1
- package/lib/core/agent-loop-turn.d.ts +5 -0
- package/lib/core/agent-loop-turn.d.ts.map +1 -1
- package/lib/core/agent-loop-turn.js +5 -0
- package/lib/core/agent-loop-turn.js.map +1 -1
- package/lib/core/contracts.d.ts +1 -1
- package/lib/core/contracts.js +1 -1
- package/lib/core/exhausted-turn-reply.d.ts +33 -0
- package/lib/core/exhausted-turn-reply.d.ts.map +1 -0
- package/lib/core/exhausted-turn-reply.js +54 -0
- package/lib/core/exhausted-turn-reply.js.map +1 -0
- package/lib/core/exploration-budget.d.ts +17 -0
- package/lib/core/exploration-budget.d.ts.map +1 -0
- package/lib/core/exploration-budget.js +41 -0
- package/lib/core/exploration-budget.js.map +1 -0
- package/lib/core/index.d.ts +3 -0
- package/lib/core/index.d.ts.map +1 -1
- package/lib/core/index.js +2 -0
- package/lib/core/index.js.map +1 -1
- package/lib/core/missing-tool-resolver.d.ts +17 -0
- package/lib/core/missing-tool-resolver.d.ts.map +1 -0
- package/lib/core/missing-tool-resolver.js +21 -0
- package/lib/core/missing-tool-resolver.js.map +1 -0
- package/lib/core/progress-reporter.d.ts +46 -0
- package/lib/core/progress-reporter.d.ts.map +1 -0
- package/lib/core/progress-reporter.js +100 -0
- package/lib/core/progress-reporter.js.map +1 -0
- package/lib/core/tool-calls-user-format.d.ts +5 -0
- package/lib/core/tool-calls-user-format.d.ts.map +1 -1
- package/lib/core/tool-calls-user-format.js +23 -3
- package/lib/core/tool-calls-user-format.js.map +1 -1
- package/lib/core/turn-event-mapper.d.ts.map +1 -1
- package/lib/core/turn-event-mapper.js +2 -0
- package/lib/core/turn-event-mapper.js.map +1 -1
- package/lib/core/turn-progress.d.ts +75 -0
- package/lib/core/turn-progress.d.ts.map +1 -0
- package/lib/core/turn-progress.js +152 -0
- package/lib/core/turn-progress.js.map +1 -0
- package/lib/deferred-worker-runner.d.ts +6 -0
- package/lib/deferred-worker-runner.d.ts.map +1 -1
- package/lib/deferred-worker-runner.js +4 -0
- package/lib/deferred-worker-runner.js.map +1 -1
- package/lib/detached-task/index.d.ts +6 -0
- package/lib/detached-task/index.d.ts.map +1 -0
- package/lib/detached-task/index.js +6 -0
- package/lib/detached-task/index.js.map +1 -0
- package/lib/detached-task/interjection.d.ts +28 -0
- package/lib/detached-task/interjection.d.ts.map +1 -0
- package/lib/detached-task/interjection.js +128 -0
- package/lib/detached-task/interjection.js.map +1 -0
- package/lib/detached-task/runner.d.ts +89 -0
- package/lib/detached-task/runner.d.ts.map +1 -0
- package/lib/detached-task/runner.js +334 -0
- package/lib/detached-task/runner.js.map +1 -0
- package/lib/detached-task/store.d.ts +21 -0
- package/lib/detached-task/store.d.ts.map +1 -0
- package/lib/detached-task/store.js +63 -0
- package/lib/detached-task/store.js.map +1 -0
- package/lib/detached-task/token.d.ts +8 -0
- package/lib/detached-task/token.d.ts.map +1 -0
- package/lib/detached-task/token.js +8 -0
- package/lib/detached-task/token.js.map +1 -0
- package/lib/detached-task/types.d.ts +104 -0
- package/lib/detached-task/types.d.ts.map +1 -0
- package/lib/detached-task/types.js +43 -0
- package/lib/detached-task/types.js.map +1 -0
- package/lib/event/turn-event.d.ts +11 -0
- package/lib/event/turn-event.d.ts.map +1 -1
- package/lib/event/turn-event.js.map +1 -1
- package/lib/index.d.ts +5 -87
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -85
- package/lib/index.js.map +1 -1
- package/lib/init/activate-ai-database-storage.d.ts +1 -3
- package/lib/init/activate-ai-database-storage.d.ts.map +1 -1
- package/lib/init/activate-ai-database-storage.js +13 -18
- package/lib/init/activate-ai-database-storage.js.map +1 -1
- package/lib/init/configure-zhin-agent.d.ts +1 -1
- package/lib/init/configure-zhin-agent.d.ts.map +1 -1
- package/lib/init/configure-zhin-agent.js +4 -0
- package/lib/init/configure-zhin-agent.js.map +1 -1
- package/lib/init/define-ai-database-models.d.ts +1 -1
- package/lib/init/define-ai-database-models.d.ts.map +1 -1
- package/lib/init/define-ai-database-models.js +1 -21
- package/lib/init/define-ai-database-models.js.map +1 -1
- package/lib/init/runtime-management-commands.d.ts +8 -0
- package/lib/init/runtime-management-commands.d.ts.map +1 -1
- package/lib/init/runtime-management-commands.js +38 -0
- package/lib/init/runtime-management-commands.js.map +1 -1
- package/lib/internal/agent-host.d.ts +11 -0
- package/lib/internal/agent-host.d.ts.map +1 -1
- package/lib/media/index.d.ts +1 -0
- package/lib/media/index.d.ts.map +1 -1
- package/lib/media/index.js +1 -0
- package/lib/media/index.js.map +1 -1
- package/lib/media/perception.d.ts +47 -0
- package/lib/media/perception.d.ts.map +1 -0
- package/lib/media/perception.js +136 -0
- package/lib/media/perception.js.map +1 -0
- package/lib/memory/compaction-runtime.d.ts +13 -0
- package/lib/memory/compaction-runtime.d.ts.map +1 -1
- package/lib/memory/compaction-runtime.js +25 -3
- package/lib/memory/compaction-runtime.js.map +1 -1
- package/lib/memory/index.d.ts +2 -0
- package/lib/memory/index.d.ts.map +1 -1
- package/lib/memory/index.js +1 -0
- package/lib/memory/index.js.map +1 -1
- package/lib/memory/memory-write-policy.d.ts +39 -0
- package/lib/memory/memory-write-policy.d.ts.map +1 -0
- package/lib/memory/memory-write-policy.js +44 -0
- package/lib/memory/memory-write-policy.js.map +1 -0
- package/lib/memory/semantic-recall.d.ts +44 -0
- package/lib/memory/semantic-recall.d.ts.map +1 -0
- package/lib/memory/semantic-recall.js +69 -0
- package/lib/memory/semantic-recall.js.map +1 -0
- package/lib/memory/told-ledger.d.ts +54 -0
- package/lib/memory/told-ledger.d.ts.map +1 -0
- package/lib/memory/told-ledger.js +119 -0
- package/lib/memory/told-ledger.js.map +1 -0
- package/lib/plugin-runtime/agent-host-port.d.ts +0 -102
- package/lib/plugin-runtime/agent-host-port.d.ts.map +1 -1
- package/lib/plugin-runtime/agent-host-port.js.map +1 -1
- package/lib/plugin-runtime/agent-runtime.d.ts +3 -0
- package/lib/plugin-runtime/agent-runtime.d.ts.map +1 -1
- package/lib/plugin-runtime/agent-runtime.js +42 -10
- package/lib/plugin-runtime/agent-runtime.js.map +1 -1
- package/lib/plugin-runtime/agent-trace-runtime.d.ts +5 -0
- package/lib/plugin-runtime/agent-trace-runtime.d.ts.map +1 -1
- package/lib/plugin-runtime/agent-trace-runtime.js +7 -0
- package/lib/plugin-runtime/agent-trace-runtime.js.map +1 -1
- package/lib/plugin-runtime/deferred-capability-plan.d.ts +27 -24
- package/lib/plugin-runtime/deferred-capability-plan.d.ts.map +1 -1
- package/lib/plugin-runtime/deferred-capability-plan.js +52 -82
- package/lib/plugin-runtime/deferred-capability-plan.js.map +1 -1
- package/lib/plugin-runtime/file-search-scope.d.ts +22 -0
- package/lib/plugin-runtime/file-search-scope.d.ts.map +1 -0
- package/lib/plugin-runtime/file-search-scope.js +129 -0
- package/lib/plugin-runtime/file-search-scope.js.map +1 -0
- package/lib/plugin-runtime/full-agent-turn-engine.d.ts.map +1 -1
- package/lib/plugin-runtime/full-agent-turn-engine.js +177 -21
- package/lib/plugin-runtime/full-agent-turn-engine.js.map +1 -1
- package/lib/plugin-runtime/index.d.ts +0 -78
- package/lib/plugin-runtime/index.d.ts.map +1 -1
- package/lib/plugin-runtime/index.js +0 -77
- package/lib/plugin-runtime/index.js.map +1 -1
- package/lib/plugin-runtime/native-bash-tool.d.ts +12 -0
- package/lib/plugin-runtime/native-bash-tool.d.ts.map +1 -1
- package/lib/plugin-runtime/native-bash-tool.js +32 -8
- package/lib/plugin-runtime/native-bash-tool.js.map +1 -1
- package/lib/plugin-runtime/native-file-tools.d.ts.map +1 -1
- package/lib/plugin-runtime/native-file-tools.js +120 -51
- package/lib/plugin-runtime/native-file-tools.js.map +1 -1
- package/lib/plugin-runtime/native-semantic-memory-tools.d.ts +27 -1
- package/lib/plugin-runtime/native-semantic-memory-tools.d.ts.map +1 -1
- package/lib/plugin-runtime/native-semantic-memory-tools.js +87 -9
- package/lib/plugin-runtime/native-semantic-memory-tools.js.map +1 -1
- package/lib/plugin-runtime/subagent-turn-capability.d.ts +32 -0
- package/lib/plugin-runtime/subagent-turn-capability.d.ts.map +1 -0
- package/lib/plugin-runtime/subagent-turn-capability.js +168 -0
- package/lib/plugin-runtime/subagent-turn-capability.js.map +1 -0
- package/lib/prompt/estimate-tokens.d.ts +7 -0
- package/lib/prompt/estimate-tokens.d.ts.map +1 -0
- package/lib/prompt/estimate-tokens.js +12 -0
- package/lib/prompt/estimate-tokens.js.map +1 -0
- package/lib/prompt/system-prompt.d.ts +2 -0
- package/lib/prompt/system-prompt.d.ts.map +1 -1
- package/lib/prompt/system-prompt.js +13 -2
- package/lib/prompt/system-prompt.js.map +1 -1
- package/lib/routing/subagent-summarize.d.ts +1 -1
- package/lib/routing/subagent-summarize.d.ts.map +1 -1
- package/lib/routing/subagent-summarize.js +2 -2
- package/lib/routing/subagent-summarize.js.map +1 -1
- package/lib/security/file-role-policy.d.ts +4 -2
- package/lib/security/file-role-policy.d.ts.map +1 -1
- package/lib/security/file-role-policy.js +21 -9
- package/lib/security/file-role-policy.js.map +1 -1
- package/lib/security/outbound-leak-guard.d.ts +61 -0
- package/lib/security/outbound-leak-guard.d.ts.map +1 -0
- package/lib/security/outbound-leak-guard.js +145 -0
- package/lib/security/outbound-leak-guard.js.map +1 -0
- package/lib/security/policy-facade.d.ts.map +1 -1
- package/lib/security/policy-facade.js +9 -0
- package/lib/security/policy-facade.js.map +1 -1
- package/lib/security/policy-narrowing.d.ts +12 -0
- package/lib/security/policy-narrowing.d.ts.map +1 -0
- package/lib/security/policy-narrowing.js +38 -0
- package/lib/security/policy-narrowing.js.map +1 -0
- package/lib/security/provenance.d.ts +65 -0
- package/lib/security/provenance.d.ts.map +1 -0
- package/lib/security/provenance.js +112 -0
- package/lib/security/provenance.js.map +1 -0
- package/lib/security/trust-level.d.ts +76 -0
- package/lib/security/trust-level.d.ts.map +1 -0
- package/lib/security/trust-level.js +87 -0
- package/lib/security/trust-level.js.map +1 -0
- package/lib/security/usage-quota.d.ts +73 -0
- package/lib/security/usage-quota.d.ts.map +1 -0
- package/lib/security/usage-quota.js +123 -0
- package/lib/security/usage-quota.js.map +1 -0
- package/lib/service.d.ts +4 -0
- package/lib/service.d.ts.map +1 -1
- package/lib/service.js +16 -1
- package/lib/service.js.map +1 -1
- package/lib/session/approval-port.d.ts +26 -0
- package/lib/session/approval-port.d.ts.map +1 -1
- package/lib/session/approval-port.js +36 -0
- package/lib/session/approval-port.js.map +1 -1
- package/lib/session/approval-review-agent.d.ts +2 -2
- package/lib/session/approval-review-agent.d.ts.map +1 -1
- package/lib/session/approval-review-agent.js +57 -39
- package/lib/session/approval-review-agent.js.map +1 -1
- package/lib/session/session-io.d.ts.map +1 -1
- package/lib/session/session-io.js +1 -0
- package/lib/session/session-io.js.map +1 -1
- package/lib/session/turn-ingress-session.d.ts.map +1 -1
- package/lib/session/turn-ingress-session.js +1 -0
- package/lib/session/turn-ingress-session.js.map +1 -1
- package/lib/skill/capability-catalog.d.ts +27 -0
- package/lib/skill/capability-catalog.d.ts.map +1 -0
- package/lib/skill/capability-catalog.js +70 -0
- package/lib/skill/capability-catalog.js.map +1 -0
- package/lib/tool/deferred-resolution.d.ts.map +1 -1
- package/lib/tool/deferred-resolution.js +2 -1
- package/lib/tool/deferred-resolution.js.map +1 -1
- package/lib/tool/turn-tool-runtime.d.ts +13 -1
- package/lib/tool/turn-tool-runtime.d.ts.map +1 -1
- package/lib/tool/turn-tool-runtime.js +81 -7
- package/lib/tool/turn-tool-runtime.js.map +1 -1
- package/lib/tool-catalog/deferred-turn-controller.d.ts +4 -0
- package/lib/tool-catalog/deferred-turn-controller.d.ts.map +1 -1
- package/lib/tool-catalog/deferred-turn-controller.js +13 -3
- package/lib/tool-catalog/deferred-turn-controller.js.map +1 -1
- package/lib/tool-catalog/resolve-config.d.ts.map +1 -1
- package/lib/tool-catalog/resolve-config.js +5 -1
- package/lib/tool-catalog/resolve-config.js.map +1 -1
- package/lib/tool-catalog/types.d.ts +14 -1
- package/lib/tool-catalog/types.d.ts.map +1 -1
- package/lib/tool-catalog/types.js +15 -0
- package/lib/tool-catalog/types.js.map +1 -1
- package/lib/trace/context-budget.d.ts +56 -0
- package/lib/trace/context-budget.d.ts.map +1 -0
- package/lib/trace/context-budget.js +102 -0
- package/lib/trace/context-budget.js.map +1 -0
- package/lib/trace/index.d.ts +12 -0
- package/lib/trace/index.d.ts.map +1 -0
- package/lib/trace/index.js +7 -0
- package/lib/trace/index.js.map +1 -0
- package/lib/trace/turn-trace-archive.d.ts +49 -0
- package/lib/trace/turn-trace-archive.d.ts.map +1 -0
- package/lib/trace/turn-trace-archive.js +208 -0
- package/lib/trace/turn-trace-archive.js.map +1 -0
- package/lib/trace/turn-trace-format.d.ts +10 -0
- package/lib/trace/turn-trace-format.d.ts.map +1 -0
- package/lib/trace/turn-trace-format.js +132 -0
- package/lib/trace/turn-trace-format.js.map +1 -0
- package/lib/trace/turn-trace-registry.d.ts +30 -0
- package/lib/trace/turn-trace-registry.d.ts.map +1 -0
- package/lib/trace/turn-trace-registry.js +62 -0
- package/lib/trace/turn-trace-registry.js.map +1 -0
- package/lib/trace/turn-trace-store.d.ts +15 -0
- package/lib/trace/turn-trace-store.d.ts.map +1 -0
- package/lib/trace/turn-trace-store.js +67 -0
- package/lib/trace/turn-trace-store.js.map +1 -0
- package/lib/trace/turn-trace.d.ts +147 -0
- package/lib/trace/turn-trace.d.ts.map +1 -0
- package/lib/trace/turn-trace.js +341 -0
- package/lib/trace/turn-trace.js.map +1 -0
- package/lib/turn/execute-agent-turn.d.ts.map +1 -1
- package/lib/turn/execute-agent-turn.js +21 -10
- package/lib/turn/execute-agent-turn.js.map +1 -1
- package/lib/turn/inbound-media.d.ts +15 -0
- package/lib/turn/inbound-media.d.ts.map +1 -1
- package/lib/turn/inbound-media.js +41 -1
- package/lib/turn/inbound-media.js.map +1 -1
- package/lib/turn/inbound-queue-config.d.ts +1 -0
- package/lib/turn/inbound-queue-config.d.ts.map +1 -1
- package/lib/turn/inbound-queue-config.js +9 -1
- package/lib/turn/inbound-queue-config.js.map +1 -1
- package/lib/turn/index.d.ts +5 -0
- package/lib/turn/index.d.ts.map +1 -1
- package/lib/turn/index.js +4 -0
- package/lib/turn/index.js.map +1 -1
- package/lib/turn/journal-feed.d.ts +31 -0
- package/lib/turn/journal-feed.d.ts.map +1 -0
- package/lib/turn/journal-feed.js +43 -0
- package/lib/turn/journal-feed.js.map +1 -0
- package/lib/turn/turn-admission-gate.d.ts +62 -0
- package/lib/turn/turn-admission-gate.d.ts.map +1 -0
- package/lib/turn/turn-admission-gate.js +194 -0
- package/lib/turn/turn-admission-gate.js.map +1 -0
- package/lib/turn/turn-ingress.d.ts +4 -0
- package/lib/turn/turn-ingress.d.ts.map +1 -1
- package/lib/turn/turn-ingress.js.map +1 -1
- package/lib/turn/turn-pipeline.js +1 -0
- package/lib/turn/turn-pipeline.js.map +1 -1
- package/lib/zhin-agent/index.d.ts +9 -0
- package/lib/zhin-agent/index.d.ts.map +1 -1
- package/lib/zhin-agent/index.js +13 -0
- package/lib/zhin-agent/index.js.map +1 -1
- package/package.json +20 -13
- package/lib/data-governance/data-governance.d.ts +0 -198
- package/lib/data-governance/data-governance.d.ts.map +0 -1
- package/lib/data-governance/data-governance.js +0 -660
- package/lib/data-governance/data-governance.js.map +0 -1
- package/lib/data-governance/database-payload-lifecycle-repository.d.ts +0 -68
- package/lib/data-governance/database-payload-lifecycle-repository.d.ts.map +0 -1
- package/lib/data-governance/database-payload-lifecycle-repository.js +0 -226
- package/lib/data-governance/database-payload-lifecycle-repository.js.map +0 -1
- package/lib/data-governance/disclosure-authority.d.ts +0 -38
- package/lib/data-governance/disclosure-authority.d.ts.map +0 -1
- package/lib/data-governance/disclosure-authority.js +0 -2
- package/lib/data-governance/disclosure-authority.js.map +0 -1
- package/lib/data-governance/disclosure-manifest.d.ts +0 -110
- package/lib/data-governance/disclosure-manifest.d.ts.map +0 -1
- package/lib/data-governance/disclosure-manifest.js +0 -264
- package/lib/data-governance/disclosure-manifest.js.map +0 -1
- package/lib/data-governance/encrypted-database-payload-vault.d.ts +0 -107
- package/lib/data-governance/encrypted-database-payload-vault.d.ts.map +0 -1
- package/lib/data-governance/encrypted-database-payload-vault.js +0 -236
- package/lib/data-governance/encrypted-database-payload-vault.js.map +0 -1
- package/lib/data-governance/encrypted-file-payload-vault.d.ts +0 -117
- package/lib/data-governance/encrypted-file-payload-vault.d.ts.map +0 -1
- package/lib/data-governance/encrypted-file-payload-vault.js +0 -507
- package/lib/data-governance/encrypted-file-payload-vault.js.map +0 -1
- package/lib/data-governance/file-payload-lifecycle-repository.d.ts +0 -19
- package/lib/data-governance/file-payload-lifecycle-repository.d.ts.map +0 -1
- package/lib/data-governance/file-payload-lifecycle-repository.js +0 -194
- package/lib/data-governance/file-payload-lifecycle-repository.js.map +0 -1
- package/lib/data-governance/governance-authority-repository.d.ts +0 -152
- package/lib/data-governance/governance-authority-repository.d.ts.map +0 -1
- package/lib/data-governance/governance-authority-repository.js +0 -455
- package/lib/data-governance/governance-authority-repository.js.map +0 -1
- package/lib/data-governance/governed-payload-write-saga.d.ts +0 -126
- package/lib/data-governance/governed-payload-write-saga.d.ts.map +0 -1
- package/lib/data-governance/governed-payload-write-saga.js +0 -471
- package/lib/data-governance/governed-payload-write-saga.js.map +0 -1
- package/lib/data-governance/payload-hold-overdue-projection.d.ts +0 -57
- package/lib/data-governance/payload-hold-overdue-projection.d.ts.map +0 -1
- package/lib/data-governance/payload-hold-overdue-projection.js +0 -80
- package/lib/data-governance/payload-hold-overdue-projection.js.map +0 -1
- package/lib/data-governance/payload-lifecycle.d.ts +0 -359
- package/lib/data-governance/payload-lifecycle.d.ts.map +0 -1
- package/lib/data-governance/payload-lifecycle.js +0 -930
- package/lib/data-governance/payload-lifecycle.js.map +0 -1
- package/lib/data-governance/payload-vault-storage-handoff.d.ts +0 -255
- package/lib/data-governance/payload-vault-storage-handoff.d.ts.map +0 -1
- package/lib/data-governance/payload-vault-storage-handoff.js +0 -471
- package/lib/data-governance/payload-vault-storage-handoff.js.map +0 -1
- package/lib/plugin-runtime/database-overlay-pack-promotion-repository.d.ts +0 -70
- package/lib/plugin-runtime/database-overlay-pack-promotion-repository.d.ts.map +0 -1
- package/lib/plugin-runtime/database-overlay-pack-promotion-repository.js +0 -203
- package/lib/plugin-runtime/database-overlay-pack-promotion-repository.js.map +0 -1
- package/lib/plugin-runtime/github-actions-delivery-provider.d.ts +0 -44
- package/lib/plugin-runtime/github-actions-delivery-provider.d.ts.map +0 -1
- package/lib/plugin-runtime/github-actions-delivery-provider.js +0 -246
- package/lib/plugin-runtime/github-actions-delivery-provider.js.map +0 -1
- package/lib/plugin-runtime/github-exact-merge-gateway.d.ts +0 -62
- package/lib/plugin-runtime/github-exact-merge-gateway.d.ts.map +0 -1
- package/lib/plugin-runtime/github-exact-merge-gateway.js +0 -79
- package/lib/plugin-runtime/github-exact-merge-gateway.js.map +0 -1
- package/lib/plugin-runtime/github-workroom-capability.d.ts +0 -15
- package/lib/plugin-runtime/github-workroom-capability.d.ts.map +0 -1
- package/lib/plugin-runtime/github-workroom-capability.js +0 -79
- package/lib/plugin-runtime/github-workroom-capability.js.map +0 -1
- package/lib/plugin-runtime/self-delivery-project-composition.d.ts +0 -25
- package/lib/plugin-runtime/self-delivery-project-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/self-delivery-project-composition.js +0 -85
- package/lib/plugin-runtime/self-delivery-project-composition.js.map +0 -1
- package/lib/plugin-runtime/self-delivery-project.d.ts +0 -65
- package/lib/plugin-runtime/self-delivery-project.d.ts.map +0 -1
- package/lib/plugin-runtime/self-delivery-project.js +0 -140
- package/lib/plugin-runtime/self-delivery-project.js.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-authority.d.ts +0 -5
- package/lib/plugin-runtime/workroom-acceptance-authority.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-authority.js +0 -14
- package/lib/plugin-runtime/workroom-acceptance-authority.js.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-fact-providers.d.ts +0 -233
- package/lib/plugin-runtime/workroom-acceptance-fact-providers.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-fact-providers.js +0 -517
- package/lib/plugin-runtime/workroom-acceptance-fact-providers.js.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-internal-providers.d.ts +0 -139
- package/lib/plugin-runtime/workroom-acceptance-internal-providers.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-internal-providers.js +0 -435
- package/lib/plugin-runtime/workroom-acceptance-internal-providers.js.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-policy.d.ts +0 -4
- package/lib/plugin-runtime/workroom-acceptance-policy.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-policy.js +0 -20
- package/lib/plugin-runtime/workroom-acceptance-policy.js.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-production-composition.d.ts +0 -177
- package/lib/plugin-runtime/workroom-acceptance-production-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-production-composition.js +0 -794
- package/lib/plugin-runtime/workroom-acceptance-production-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-provider-composition.d.ts +0 -189
- package/lib/plugin-runtime/workroom-acceptance-provider-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-acceptance-provider-composition.js +0 -590
- package/lib/plugin-runtime/workroom-acceptance-provider-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-accepted-source-runtime.d.ts +0 -75
- package/lib/plugin-runtime/workroom-accepted-source-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-accepted-source-runtime.js +0 -267
- package/lib/plugin-runtime/workroom-accepted-source-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-assignment-authority-grant-runtime.d.ts +0 -42
- package/lib/plugin-runtime/workroom-assignment-authority-grant-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-assignment-authority-grant-runtime.js +0 -90
- package/lib/plugin-runtime/workroom-assignment-authority-grant-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-assignment-authority-provider.d.ts +0 -84
- package/lib/plugin-runtime/workroom-assignment-authority-provider.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-assignment-authority-provider.js +0 -494
- package/lib/plugin-runtime/workroom-assignment-authority-provider.js.map +0 -1
- package/lib/plugin-runtime/workroom-assignment-knowledge-composition.d.ts +0 -58
- package/lib/plugin-runtime/workroom-assignment-knowledge-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-assignment-knowledge-composition.js +0 -218
- package/lib/plugin-runtime/workroom-assignment-knowledge-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-authority-writer.d.ts +0 -49
- package/lib/plugin-runtime/workroom-data-governance-authority-writer.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-authority-writer.js +0 -140
- package/lib/plugin-runtime/workroom-data-governance-authority-writer.js.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-bootstrap.d.ts +0 -27
- package/lib/plugin-runtime/workroom-data-governance-bootstrap.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-bootstrap.js +0 -324
- package/lib/plugin-runtime/workroom-data-governance-bootstrap.js.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-composition.d.ts +0 -28
- package/lib/plugin-runtime/workroom-data-governance-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-composition.js +0 -41
- package/lib/plugin-runtime/workroom-data-governance-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-root-provider.d.ts +0 -51
- package/lib/plugin-runtime/workroom-data-governance-root-provider.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-root-provider.js +0 -66
- package/lib/plugin-runtime/workroom-data-governance-root-provider.js.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-runtime.d.ts +0 -100
- package/lib/plugin-runtime/workroom-data-governance-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-runtime.js +0 -1356
- package/lib/plugin-runtime/workroom-data-governance-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-storage.d.ts +0 -66
- package/lib/plugin-runtime/workroom-data-governance-storage.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-data-governance-storage.js +0 -159
- package/lib/plugin-runtime/workroom-data-governance-storage.js.map +0 -1
- package/lib/plugin-runtime/workroom-data-lifecycle-composition.d.ts +0 -37
- package/lib/plugin-runtime/workroom-data-lifecycle-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-data-lifecycle-composition.js +0 -131
- package/lib/plugin-runtime/workroom-data-lifecycle-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-data-lifecycle-console.d.ts +0 -238
- package/lib/plugin-runtime/workroom-data-lifecycle-console.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-data-lifecycle-console.js +0 -495
- package/lib/plugin-runtime/workroom-data-lifecycle-console.js.map +0 -1
- package/lib/plugin-runtime/workroom-data-lifecycle-human-ingress.d.ts +0 -15
- package/lib/plugin-runtime/workroom-data-lifecycle-human-ingress.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-data-lifecycle-human-ingress.js +0 -119
- package/lib/plugin-runtime/workroom-data-lifecycle-human-ingress.js.map +0 -1
- package/lib/plugin-runtime/workroom-delivery-gateway.d.ts +0 -96
- package/lib/plugin-runtime/workroom-delivery-gateway.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-delivery-gateway.js +0 -129
- package/lib/plugin-runtime/workroom-delivery-gateway.js.map +0 -1
- package/lib/plugin-runtime/workroom-dynamic-planning-provider.d.ts +0 -142
- package/lib/plugin-runtime/workroom-dynamic-planning-provider.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-dynamic-planning-provider.js +0 -302
- package/lib/plugin-runtime/workroom-dynamic-planning-provider.js.map +0 -1
- package/lib/plugin-runtime/workroom-dynamic-planning.d.ts +0 -4
- package/lib/plugin-runtime/workroom-dynamic-planning.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-dynamic-planning.js +0 -13
- package/lib/plugin-runtime/workroom-dynamic-planning.js.map +0 -1
- package/lib/plugin-runtime/workroom-effect-composition.d.ts +0 -37
- package/lib/plugin-runtime/workroom-effect-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-effect-composition.js +0 -80
- package/lib/plugin-runtime/workroom-effect-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-effect-production.d.ts +0 -138
- package/lib/plugin-runtime/workroom-effect-production.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-effect-production.js +0 -291
- package/lib/plugin-runtime/workroom-effect-production.js.map +0 -1
- package/lib/plugin-runtime/workroom-effect-runtime.d.ts +0 -56
- package/lib/plugin-runtime/workroom-effect-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-effect-runtime.js +0 -239
- package/lib/plugin-runtime/workroom-effect-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-governed-dispatch-composition.d.ts +0 -32
- package/lib/plugin-runtime/workroom-governed-dispatch-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-governed-dispatch-composition.js +0 -43
- package/lib/plugin-runtime/workroom-governed-dispatch-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-journal-payload-composition.d.ts +0 -16
- package/lib/plugin-runtime/workroom-journal-payload-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-journal-payload-composition.js +0 -69
- package/lib/plugin-runtime/workroom-journal-payload-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-local-agent-core-adapter.d.ts +0 -17
- package/lib/plugin-runtime/workroom-local-agent-core-adapter.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-local-agent-core-adapter.js +0 -101
- package/lib/plugin-runtime/workroom-local-agent-core-adapter.js.map +0 -1
- package/lib/plugin-runtime/workroom-local-agent-loop.d.ts +0 -91
- package/lib/plugin-runtime/workroom-local-agent-loop.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-local-agent-loop.js +0 -313
- package/lib/plugin-runtime/workroom-local-agent-loop.js.map +0 -1
- package/lib/plugin-runtime/workroom-local-assignment-authority.d.ts +0 -5
- package/lib/plugin-runtime/workroom-local-assignment-authority.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-local-assignment-authority.js +0 -16
- package/lib/plugin-runtime/workroom-local-assignment-authority.js.map +0 -1
- package/lib/plugin-runtime/workroom-local-assignment-executor.d.ts +0 -59
- package/lib/plugin-runtime/workroom-local-assignment-executor.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-local-assignment-executor.js +0 -197
- package/lib/plugin-runtime/workroom-local-assignment-executor.js.map +0 -1
- package/lib/plugin-runtime/workroom-local-assignment-runtime.d.ts +0 -34
- package/lib/plugin-runtime/workroom-local-assignment-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-local-assignment-runtime.js +0 -235
- package/lib/plugin-runtime/workroom-local-assignment-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-local-assignment-supply.d.ts +0 -39
- package/lib/plugin-runtime/workroom-local-assignment-supply.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-local-assignment-supply.js +0 -107
- package/lib/plugin-runtime/workroom-local-assignment-supply.js.map +0 -1
- package/lib/plugin-runtime/workroom-overlay-pack-promotion.d.ts +0 -145
- package/lib/plugin-runtime/workroom-overlay-pack-promotion.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-overlay-pack-promotion.js +0 -516
- package/lib/plugin-runtime/workroom-overlay-pack-promotion.js.map +0 -1
- package/lib/plugin-runtime/workroom-payload-processor-recall.d.ts +0 -91
- package/lib/plugin-runtime/workroom-payload-processor-recall.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-payload-processor-recall.js +0 -189
- package/lib/plugin-runtime/workroom-payload-processor-recall.js.map +0 -1
- package/lib/plugin-runtime/workroom-plan-gate-authority.d.ts +0 -7
- package/lib/plugin-runtime/workroom-plan-gate-authority.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-plan-gate-authority.js +0 -40
- package/lib/plugin-runtime/workroom-plan-gate-authority.js.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-capacity.d.ts +0 -132
- package/lib/plugin-runtime/workroom-portfolio-capacity.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-capacity.js +0 -189
- package/lib/plugin-runtime/workroom-portfolio-capacity.js.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-checkpoint-ack.d.ts +0 -38
- package/lib/plugin-runtime/workroom-portfolio-checkpoint-ack.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-checkpoint-ack.js +0 -103
- package/lib/plugin-runtime/workroom-portfolio-checkpoint-ack.js.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-control-composition.d.ts +0 -30
- package/lib/plugin-runtime/workroom-portfolio-control-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-control-composition.js +0 -103
- package/lib/plugin-runtime/workroom-portfolio-control-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-control-runtime.d.ts +0 -42
- package/lib/plugin-runtime/workroom-portfolio-control-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-control-runtime.js +0 -209
- package/lib/plugin-runtime/workroom-portfolio-control-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-grant-assignment.d.ts +0 -141
- package/lib/plugin-runtime/workroom-portfolio-grant-assignment.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-grant-assignment.js +0 -334
- package/lib/plugin-runtime/workroom-portfolio-grant-assignment.js.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-kernel-authority.d.ts +0 -23
- package/lib/plugin-runtime/workroom-portfolio-kernel-authority.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-kernel-authority.js +0 -88
- package/lib/plugin-runtime/workroom-portfolio-kernel-authority.js.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-sponsor.d.ts +0 -96
- package/lib/plugin-runtime/workroom-portfolio-sponsor.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-portfolio-sponsor.js +0 -313
- package/lib/plugin-runtime/workroom-portfolio-sponsor.js.map +0 -1
- package/lib/plugin-runtime/workroom-preemption-runtime.d.ts +0 -57
- package/lib/plugin-runtime/workroom-preemption-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-preemption-runtime.js +0 -163
- package/lib/plugin-runtime/workroom-preemption-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-priority-authority.d.ts +0 -19
- package/lib/plugin-runtime/workroom-priority-authority.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-priority-authority.js +0 -76
- package/lib/plugin-runtime/workroom-priority-authority.js.map +0 -1
- package/lib/plugin-runtime/workroom-profile-authority-composition.d.ts +0 -61
- package/lib/plugin-runtime/workroom-profile-authority-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-profile-authority-composition.js +0 -232
- package/lib/plugin-runtime/workroom-profile-authority-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-profile-authority-runtime.d.ts +0 -229
- package/lib/plugin-runtime/workroom-profile-authority-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-profile-authority-runtime.js +0 -1133
- package/lib/plugin-runtime/workroom-profile-authority-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-projection-outbound.d.ts +0 -10
- package/lib/plugin-runtime/workroom-projection-outbound.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-projection-outbound.js +0 -35
- package/lib/plugin-runtime/workroom-projection-outbound.js.map +0 -1
- package/lib/plugin-runtime/workroom-projection-runtime.d.ts +0 -93
- package/lib/plugin-runtime/workroom-projection-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-projection-runtime.js +0 -476
- package/lib/plugin-runtime/workroom-projection-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-remote-assignment-authority.d.ts +0 -9
- package/lib/plugin-runtime/workroom-remote-assignment-authority.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-remote-assignment-authority.js +0 -20
- package/lib/plugin-runtime/workroom-remote-assignment-authority.js.map +0 -1
- package/lib/plugin-runtime/workroom-remote-callback-runtime.d.ts +0 -38
- package/lib/plugin-runtime/workroom-remote-callback-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-remote-callback-runtime.js +0 -80
- package/lib/plugin-runtime/workroom-remote-callback-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-remote-executor.d.ts +0 -9
- package/lib/plugin-runtime/workroom-remote-executor.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-remote-executor.js +0 -23
- package/lib/plugin-runtime/workroom-remote-executor.js.map +0 -1
- package/lib/plugin-runtime/workroom-reviewer-authority-runtime.d.ts +0 -72
- package/lib/plugin-runtime/workroom-reviewer-authority-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-reviewer-authority-runtime.js +0 -142
- package/lib/plugin-runtime/workroom-reviewer-authority-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-risk-acceptance-runtime.d.ts +0 -112
- package/lib/plugin-runtime/workroom-risk-acceptance-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-risk-acceptance-runtime.js +0 -376
- package/lib/plugin-runtime/workroom-risk-acceptance-runtime.js.map +0 -1
- package/lib/plugin-runtime/workroom-run-profile-pin-authority.d.ts +0 -42
- package/lib/plugin-runtime/workroom-run-profile-pin-authority.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-run-profile-pin-authority.js +0 -125
- package/lib/plugin-runtime/workroom-run-profile-pin-authority.js.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-portfolio-composition.d.ts +0 -32
- package/lib/plugin-runtime/workroom-scheduler-portfolio-composition.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-portfolio-composition.js +0 -83
- package/lib/plugin-runtime/workroom-scheduler-portfolio-composition.js.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-portfolio-contract.d.ts +0 -16
- package/lib/plugin-runtime/workroom-scheduler-portfolio-contract.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-portfolio-contract.js +0 -49
- package/lib/plugin-runtime/workroom-scheduler-portfolio-contract.js.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-portfolio-request-authority.d.ts +0 -66
- package/lib/plugin-runtime/workroom-scheduler-portfolio-request-authority.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-portfolio-request-authority.js +0 -250
- package/lib/plugin-runtime/workroom-scheduler-portfolio-request-authority.js.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-portfolio-supply.d.ts +0 -42
- package/lib/plugin-runtime/workroom-scheduler-portfolio-supply.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-portfolio-supply.js +0 -141
- package/lib/plugin-runtime/workroom-scheduler-portfolio-supply.js.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-route-registry.d.ts +0 -27
- package/lib/plugin-runtime/workroom-scheduler-route-registry.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-route-registry.js +0 -136
- package/lib/plugin-runtime/workroom-scheduler-route-registry.js.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-runtime.d.ts +0 -84
- package/lib/plugin-runtime/workroom-scheduler-runtime.d.ts.map +0 -1
- package/lib/plugin-runtime/workroom-scheduler-runtime.js +0 -236
- package/lib/plugin-runtime/workroom-scheduler-runtime.js.map +0 -1
- package/lib/portfolio/capacity-control-outbox.d.ts +0 -174
- package/lib/portfolio/capacity-control-outbox.d.ts.map +0 -1
- package/lib/portfolio/capacity-control-outbox.js +0 -338
- package/lib/portfolio/capacity-control-outbox.js.map +0 -1
- package/lib/portfolio/database-capacity-control-outbox.d.ts +0 -62
- package/lib/portfolio/database-capacity-control-outbox.d.ts.map +0 -1
- package/lib/portfolio/database-capacity-control-outbox.js +0 -166
- package/lib/portfolio/database-capacity-control-outbox.js.map +0 -1
- package/lib/portfolio/file-capacity-control-outbox.d.ts +0 -10
- package/lib/portfolio/file-capacity-control-outbox.d.ts.map +0 -1
- package/lib/portfolio/file-capacity-control-outbox.js +0 -113
- package/lib/portfolio/file-capacity-control-outbox.js.map +0 -1
- package/lib/portfolio/file-portfolio-journal.d.ts +0 -11
- package/lib/portfolio/file-portfolio-journal.d.ts.map +0 -1
- package/lib/portfolio/file-portfolio-journal.js +0 -196
- package/lib/portfolio/file-portfolio-journal.js.map +0 -1
- package/lib/portfolio/portfolio-admission.d.ts +0 -95
- package/lib/portfolio/portfolio-admission.d.ts.map +0 -1
- package/lib/portfolio/portfolio-admission.js +0 -1080
- package/lib/portfolio/portfolio-admission.js.map +0 -1
- package/lib/portfolio/portfolio-journal.d.ts +0 -359
- package/lib/portfolio/portfolio-journal.d.ts.map +0 -1
- package/lib/portfolio/portfolio-journal.js +0 -844
- package/lib/portfolio/portfolio-journal.js.map +0 -1
- package/lib/portfolio/resource-bundle.d.ts +0 -136
- package/lib/portfolio/resource-bundle.d.ts.map +0 -1
- package/lib/portfolio/resource-bundle.js +0 -387
- package/lib/portfolio/resource-bundle.js.map +0 -1
- package/lib/portfolio/sponsor-projection.d.ts +0 -78
- package/lib/portfolio/sponsor-projection.d.ts.map +0 -1
- package/lib/portfolio/sponsor-projection.js +0 -135
- package/lib/portfolio/sponsor-projection.js.map +0 -1
- package/lib/routing/match-rules.d.ts +0 -4
- package/lib/routing/match-rules.d.ts.map +0 -1
- package/lib/routing/match-rules.js +0 -29
- package/lib/routing/match-rules.js.map +0 -1
- package/lib/routing/route-matcher.d.ts +0 -16
- package/lib/routing/route-matcher.d.ts.map +0 -1
- package/lib/routing/route-matcher.js +0 -62
- package/lib/routing/route-matcher.js.map +0 -1
- package/lib/routing/workroom-bot-identity.d.ts +0 -22
- package/lib/routing/workroom-bot-identity.d.ts.map +0 -1
- package/lib/routing/workroom-bot-identity.js +0 -53
- package/lib/routing/workroom-bot-identity.js.map +0 -1
- package/lib/workroom/acceptance-control.d.ts +0 -77
- package/lib/workroom/acceptance-control.d.ts.map +0 -1
- package/lib/workroom/acceptance-control.js +0 -345
- package/lib/workroom/acceptance-control.js.map +0 -1
- package/lib/workroom/acceptance-policy.d.ts +0 -152
- package/lib/workroom/acceptance-policy.d.ts.map +0 -1
- package/lib/workroom/acceptance-policy.js +0 -610
- package/lib/workroom/acceptance-policy.js.map +0 -1
- package/lib/workroom/accepted-source-memory-application.d.ts +0 -113
- package/lib/workroom/accepted-source-memory-application.d.ts.map +0 -1
- package/lib/workroom/accepted-source-memory-application.js +0 -327
- package/lib/workroom/accepted-source-memory-application.js.map +0 -1
- package/lib/workroom/accepted-source-projector.d.ts +0 -89
- package/lib/workroom/accepted-source-projector.d.ts.map +0 -1
- package/lib/workroom/accepted-source-projector.js +0 -281
- package/lib/workroom/accepted-source-projector.js.map +0 -1
- package/lib/workroom/assignment-authority-grant-application.d.ts +0 -125
- package/lib/workroom/assignment-authority-grant-application.d.ts.map +0 -1
- package/lib/workroom/assignment-authority-grant-application.js +0 -318
- package/lib/workroom/assignment-authority-grant-application.js.map +0 -1
- package/lib/workroom/assignment-authority-grant-repository.d.ts +0 -152
- package/lib/workroom/assignment-authority-grant-repository.d.ts.map +0 -1
- package/lib/workroom/assignment-authority-grant-repository.js +0 -389
- package/lib/workroom/assignment-authority-grant-repository.js.map +0 -1
- package/lib/workroom/assignment-authority.d.ts +0 -75
- package/lib/workroom/assignment-authority.d.ts.map +0 -1
- package/lib/workroom/assignment-authority.js +0 -179
- package/lib/workroom/assignment-authority.js.map +0 -1
- package/lib/workroom/assignment-executor.d.ts +0 -110
- package/lib/workroom/assignment-executor.d.ts.map +0 -1
- package/lib/workroom/assignment-executor.js +0 -371
- package/lib/workroom/assignment-executor.js.map +0 -1
- package/lib/workroom/assignment-observation-ingress.d.ts +0 -21
- package/lib/workroom/assignment-observation-ingress.d.ts.map +0 -1
- package/lib/workroom/assignment-observation-ingress.js +0 -24
- package/lib/workroom/assignment-observation-ingress.js.map +0 -1
- package/lib/workroom/canonical-value.d.ts +0 -7
- package/lib/workroom/canonical-value.d.ts.map +0 -1
- package/lib/workroom/canonical-value.js +0 -32
- package/lib/workroom/canonical-value.js.map +0 -1
- package/lib/workroom/catalog-definition.d.ts +0 -52
- package/lib/workroom/catalog-definition.d.ts.map +0 -1
- package/lib/workroom/catalog-definition.js +0 -6
- package/lib/workroom/catalog-definition.js.map +0 -1
- package/lib/workroom/catalog.d.ts +0 -80
- package/lib/workroom/catalog.d.ts.map +0 -1
- package/lib/workroom/catalog.js +0 -386
- package/lib/workroom/catalog.js.map +0 -1
- package/lib/workroom/coding-assignment-executor.d.ts +0 -90
- package/lib/workroom/coding-assignment-executor.d.ts.map +0 -1
- package/lib/workroom/coding-assignment-executor.js +0 -250
- package/lib/workroom/coding-assignment-executor.js.map +0 -1
- package/lib/workroom/coding-git-objects.d.ts +0 -17
- package/lib/workroom/coding-git-objects.d.ts.map +0 -1
- package/lib/workroom/coding-git-objects.js +0 -68
- package/lib/workroom/coding-git-objects.js.map +0 -1
- package/lib/workroom/database-project-knowledge-journal.d.ts +0 -62
- package/lib/workroom/database-project-knowledge-journal.d.ts.map +0 -1
- package/lib/workroom/database-project-knowledge-journal.js +0 -161
- package/lib/workroom/database-project-knowledge-journal.js.map +0 -1
- package/lib/workroom/durable-file-store.d.ts +0 -56
- package/lib/workroom/durable-file-store.d.ts.map +0 -1
- package/lib/workroom/durable-file-store.js +0 -125
- package/lib/workroom/durable-file-store.js.map +0 -1
- package/lib/workroom/dynamic-workflow-planner.d.ts +0 -86
- package/lib/workroom/dynamic-workflow-planner.d.ts.map +0 -1
- package/lib/workroom/dynamic-workflow-planner.js +0 -260
- package/lib/workroom/dynamic-workflow-planner.js.map +0 -1
- package/lib/workroom/effect-blocker-repository.d.ts +0 -51
- package/lib/workroom/effect-blocker-repository.d.ts.map +0 -1
- package/lib/workroom/effect-blocker-repository.js +0 -174
- package/lib/workroom/effect-blocker-repository.js.map +0 -1
- package/lib/workroom/effect-ledger.d.ts +0 -211
- package/lib/workroom/effect-ledger.d.ts.map +0 -1
- package/lib/workroom/effect-ledger.js +0 -484
- package/lib/workroom/effect-ledger.js.map +0 -1
- package/lib/workroom/file-accepted-source-memory-repository.d.ts +0 -15
- package/lib/workroom/file-accepted-source-memory-repository.d.ts.map +0 -1
- package/lib/workroom/file-accepted-source-memory-repository.js +0 -136
- package/lib/workroom/file-accepted-source-memory-repository.js.map +0 -1
- package/lib/workroom/file-coding-execution-store.d.ts +0 -25
- package/lib/workroom/file-coding-execution-store.d.ts.map +0 -1
- package/lib/workroom/file-coding-execution-store.js +0 -122
- package/lib/workroom/file-coding-execution-store.js.map +0 -1
- package/lib/workroom/file-effect-ledger.d.ts +0 -10
- package/lib/workroom/file-effect-ledger.d.ts.map +0 -1
- package/lib/workroom/file-effect-ledger.js +0 -121
- package/lib/workroom/file-effect-ledger.js.map +0 -1
- package/lib/workroom/file-human-ingress-application.d.ts +0 -10
- package/lib/workroom/file-human-ingress-application.d.ts.map +0 -1
- package/lib/workroom/file-human-ingress-application.js +0 -177
- package/lib/workroom/file-human-ingress-application.js.map +0 -1
- package/lib/workroom/file-human-ingress.d.ts +0 -24
- package/lib/workroom/file-human-ingress.d.ts.map +0 -1
- package/lib/workroom/file-human-ingress.js +0 -234
- package/lib/workroom/file-human-ingress.js.map +0 -1
- package/lib/workroom/file-interaction-space-binding-repository.d.ts +0 -24
- package/lib/workroom/file-interaction-space-binding-repository.d.ts.map +0 -1
- package/lib/workroom/file-interaction-space-binding-repository.js +0 -293
- package/lib/workroom/file-interaction-space-binding-repository.js.map +0 -1
- package/lib/workroom/file-profile-journal.d.ts +0 -33
- package/lib/workroom/file-profile-journal.d.ts.map +0 -1
- package/lib/workroom/file-profile-journal.js +0 -311
- package/lib/workroom/file-profile-journal.js.map +0 -1
- package/lib/workroom/git-workspace-gateway.d.ts +0 -152
- package/lib/workroom/git-workspace-gateway.d.ts.map +0 -1
- package/lib/workroom/git-workspace-gateway.js +0 -257
- package/lib/workroom/git-workspace-gateway.js.map +0 -1
- package/lib/workroom/github-workspace-transport.d.ts +0 -30
- package/lib/workroom/github-workspace-transport.d.ts.map +0 -1
- package/lib/workroom/github-workspace-transport.js +0 -224
- package/lib/workroom/github-workspace-transport.js.map +0 -1
- package/lib/workroom/governed-dispatch-reasons.d.ts +0 -10
- package/lib/workroom/governed-dispatch-reasons.d.ts.map +0 -1
- package/lib/workroom/governed-dispatch-reasons.js +0 -20
- package/lib/workroom/governed-dispatch-reasons.js.map +0 -1
- package/lib/workroom/human-ingress-application.d.ts +0 -128
- package/lib/workroom/human-ingress-application.d.ts.map +0 -1
- package/lib/workroom/human-ingress-application.js +0 -415
- package/lib/workroom/human-ingress-application.js.map +0 -1
- package/lib/workroom/human-ingress-orchestrator.d.ts +0 -99
- package/lib/workroom/human-ingress-orchestrator.d.ts.map +0 -1
- package/lib/workroom/human-ingress-orchestrator.js +0 -262
- package/lib/workroom/human-ingress-orchestrator.js.map +0 -1
- package/lib/workroom/human-ingress-source-reader.d.ts +0 -29
- package/lib/workroom/human-ingress-source-reader.d.ts.map +0 -1
- package/lib/workroom/human-ingress-source-reader.js +0 -126
- package/lib/workroom/human-ingress-source-reader.js.map +0 -1
- package/lib/workroom/human-ingress.d.ts +0 -182
- package/lib/workroom/human-ingress.d.ts.map +0 -1
- package/lib/workroom/human-ingress.js +0 -526
- package/lib/workroom/human-ingress.js.map +0 -1
- package/lib/workroom/interaction-space-binding-service.d.ts +0 -57
- package/lib/workroom/interaction-space-binding-service.d.ts.map +0 -1
- package/lib/workroom/interaction-space-binding-service.js +0 -197
- package/lib/workroom/interaction-space-binding-service.js.map +0 -1
- package/lib/workroom/interaction-space-router.d.ts +0 -75
- package/lib/workroom/interaction-space-router.d.ts.map +0 -1
- package/lib/workroom/interaction-space-router.js +0 -243
- package/lib/workroom/interaction-space-router.js.map +0 -1
- package/lib/workroom/journal/activatable-journal.d.ts +0 -15
- package/lib/workroom/journal/activatable-journal.d.ts.map +0 -1
- package/lib/workroom/journal/activatable-journal.js +0 -39
- package/lib/workroom/journal/activatable-journal.js.map +0 -1
- package/lib/workroom/journal/contracts.d.ts +0 -141
- package/lib/workroom/journal/contracts.d.ts.map +0 -1
- package/lib/workroom/journal/contracts.js +0 -19
- package/lib/workroom/journal/contracts.js.map +0 -1
- package/lib/workroom/journal/database-journal.d.ts +0 -31
- package/lib/workroom/journal/database-journal.d.ts.map +0 -1
- package/lib/workroom/journal/database-journal.js +0 -118
- package/lib/workroom/journal/database-journal.js.map +0 -1
- package/lib/workroom/journal/event-codec.d.ts +0 -26
- package/lib/workroom/journal/event-codec.d.ts.map +0 -1
- package/lib/workroom/journal/event-codec.js +0 -243
- package/lib/workroom/journal/event-codec.js.map +0 -1
- package/lib/workroom/journal/event-validation.d.ts +0 -10
- package/lib/workroom/journal/event-validation.d.ts.map +0 -1
- package/lib/workroom/journal/event-validation.js +0 -671
- package/lib/workroom/journal/event-validation.js.map +0 -1
- package/lib/workroom/journal/file-journal.d.ts +0 -15
- package/lib/workroom/journal/file-journal.d.ts.map +0 -1
- package/lib/workroom/journal/file-journal.js +0 -272
- package/lib/workroom/journal/file-journal.js.map +0 -1
- package/lib/workroom/journal/index.d.ts +0 -9
- package/lib/workroom/journal/index.d.ts.map +0 -1
- package/lib/workroom/journal/index.js +0 -8
- package/lib/workroom/journal/index.js.map +0 -1
- package/lib/workroom/journal/memory-journal.d.ts +0 -27
- package/lib/workroom/journal/memory-journal.d.ts.map +0 -1
- package/lib/workroom/journal/memory-journal.js +0 -103
- package/lib/workroom/journal/memory-journal.js.map +0 -1
- package/lib/workroom/journal/payload-governance.d.ts +0 -29
- package/lib/workroom/journal/payload-governance.d.ts.map +0 -1
- package/lib/workroom/journal/payload-governance.js +0 -282
- package/lib/workroom/journal/payload-governance.js.map +0 -1
- package/lib/workroom/journal/payload-reference.d.ts +0 -9
- package/lib/workroom/journal/payload-reference.d.ts.map +0 -1
- package/lib/workroom/journal/payload-reference.js +0 -60
- package/lib/workroom/journal/payload-reference.js.map +0 -1
- package/lib/workroom/journal/stored-event-projection.d.ts +0 -6
- package/lib/workroom/journal/stored-event-projection.d.ts.map +0 -1
- package/lib/workroom/journal/stored-event-projection.js +0 -280
- package/lib/workroom/journal/stored-event-projection.js.map +0 -1
- package/lib/workroom/journal-model.d.ts +0 -40
- package/lib/workroom/journal-model.d.ts.map +0 -1
- package/lib/workroom/journal-model.js +0 -12
- package/lib/workroom/journal-model.js.map +0 -1
- package/lib/workroom/kernel-contracts.d.ts +0 -168
- package/lib/workroom/kernel-contracts.d.ts.map +0 -1
- package/lib/workroom/kernel-contracts.js +0 -2
- package/lib/workroom/kernel-contracts.js.map +0 -1
- package/lib/workroom/kernel-state.d.ts +0 -5
- package/lib/workroom/kernel-state.d.ts.map +0 -1
- package/lib/workroom/kernel-state.js +0 -885
- package/lib/workroom/kernel-state.js.map +0 -1
- package/lib/workroom/legacy-embedded-payload-migration.d.ts +0 -89
- package/lib/workroom/legacy-embedded-payload-migration.d.ts.map +0 -1
- package/lib/workroom/legacy-embedded-payload-migration.js +0 -312
- package/lib/workroom/legacy-embedded-payload-migration.js.map +0 -1
- package/lib/workroom/legacy-run-offline-migration.d.ts +0 -84
- package/lib/workroom/legacy-run-offline-migration.d.ts.map +0 -1
- package/lib/workroom/legacy-run-offline-migration.js +0 -470
- package/lib/workroom/legacy-run-offline-migration.js.map +0 -1
- package/lib/workroom/local-assignment-issuance.d.ts +0 -68
- package/lib/workroom/local-assignment-issuance.d.ts.map +0 -1
- package/lib/workroom/local-assignment-issuance.js +0 -128
- package/lib/workroom/local-assignment-issuance.js.map +0 -1
- package/lib/workroom/plan-approval-control.d.ts +0 -52
- package/lib/workroom/plan-approval-control.d.ts.map +0 -1
- package/lib/workroom/plan-approval-control.js +0 -9
- package/lib/workroom/plan-approval-control.js.map +0 -1
- package/lib/workroom/plan-revision.d.ts +0 -44
- package/lib/workroom/plan-revision.d.ts.map +0 -1
- package/lib/workroom/plan-revision.js +0 -133
- package/lib/workroom/plan-revision.js.map +0 -1
- package/lib/workroom/profile-compiler.d.ts +0 -130
- package/lib/workroom/profile-compiler.d.ts.map +0 -1
- package/lib/workroom/profile-compiler.js +0 -357
- package/lib/workroom/profile-compiler.js.map +0 -1
- package/lib/workroom/profile-registry.d.ts +0 -191
- package/lib/workroom/profile-registry.d.ts.map +0 -1
- package/lib/workroom/profile-registry.js +0 -698
- package/lib/workroom/profile-registry.js.map +0 -1
- package/lib/workroom/project-knowledge-registry.d.ts +0 -136
- package/lib/workroom/project-knowledge-registry.d.ts.map +0 -1
- package/lib/workroom/project-knowledge-registry.js +0 -429
- package/lib/workroom/project-knowledge-registry.js.map +0 -1
- package/lib/workroom/projection-outbox/contracts.d.ts +0 -195
- package/lib/workroom/projection-outbox/contracts.d.ts.map +0 -1
- package/lib/workroom/projection-outbox/contracts.js +0 -11
- package/lib/workroom/projection-outbox/contracts.js.map +0 -1
- package/lib/workroom/projection-outbox/delivery-worker.d.ts +0 -22
- package/lib/workroom/projection-outbox/delivery-worker.d.ts.map +0 -1
- package/lib/workroom/projection-outbox/delivery-worker.js +0 -96
- package/lib/workroom/projection-outbox/delivery-worker.js.map +0 -1
- package/lib/workroom/projection-outbox/file-repository.d.ts +0 -11
- package/lib/workroom/projection-outbox/file-repository.d.ts.map +0 -1
- package/lib/workroom/projection-outbox/file-repository.js +0 -89
- package/lib/workroom/projection-outbox/file-repository.js.map +0 -1
- package/lib/workroom/projection-outbox/index.d.ts +0 -10
- package/lib/workroom/projection-outbox/index.d.ts.map +0 -1
- package/lib/workroom/projection-outbox/index.js +0 -8
- package/lib/workroom/projection-outbox/index.js.map +0 -1
- package/lib/workroom/projection-outbox/memory-repository.d.ts +0 -11
- package/lib/workroom/projection-outbox/memory-repository.d.ts.map +0 -1
- package/lib/workroom/projection-outbox/memory-repository.js +0 -40
- package/lib/workroom/projection-outbox/memory-repository.js.map +0 -1
- package/lib/workroom/projection-outbox/projector.d.ts +0 -36
- package/lib/workroom/projection-outbox/projector.d.ts.map +0 -1
- package/lib/workroom/projection-outbox/projector.js +0 -517
- package/lib/workroom/projection-outbox/projector.js.map +0 -1
- package/lib/workroom/projection-outbox/repository-state.d.ts +0 -17
- package/lib/workroom/projection-outbox/repository-state.d.ts.map +0 -1
- package/lib/workroom/projection-outbox/repository-state.js +0 -343
- package/lib/workroom/projection-outbox/repository-state.js.map +0 -1
- package/lib/workroom/projection-outbox/tracer.d.ts +0 -19
- package/lib/workroom/projection-outbox/tracer.d.ts.map +0 -1
- package/lib/workroom/projection-outbox/tracer.js +0 -201
- package/lib/workroom/projection-outbox/tracer.js.map +0 -1
- package/lib/workroom/remote-assignment-dispatch-command.d.ts +0 -31
- package/lib/workroom/remote-assignment-dispatch-command.d.ts.map +0 -1
- package/lib/workroom/remote-assignment-dispatch-command.js +0 -56
- package/lib/workroom/remote-assignment-dispatch-command.js.map +0 -1
- package/lib/workroom/remote-assignment-issuance.d.ts +0 -88
- package/lib/workroom/remote-assignment-issuance.d.ts.map +0 -1
- package/lib/workroom/remote-assignment-issuance.js +0 -201
- package/lib/workroom/remote-assignment-issuance.js.map +0 -1
- package/lib/workroom/remote-callback-application.d.ts +0 -115
- package/lib/workroom/remote-callback-application.d.ts.map +0 -1
- package/lib/workroom/remote-callback-application.js +0 -570
- package/lib/workroom/remote-callback-application.js.map +0 -1
- package/lib/workroom/remote-callback-gateway.d.ts +0 -60
- package/lib/workroom/remote-callback-gateway.d.ts.map +0 -1
- package/lib/workroom/remote-callback-gateway.js +0 -173
- package/lib/workroom/remote-callback-gateway.js.map +0 -1
- package/lib/workroom/remote-callback-inbox.d.ts +0 -278
- package/lib/workroom/remote-callback-inbox.d.ts.map +0 -1
- package/lib/workroom/remote-callback-inbox.js +0 -1088
- package/lib/workroom/remote-callback-inbox.js.map +0 -1
- package/lib/workroom/remote-callback-reconciliation-worker.d.ts +0 -60
- package/lib/workroom/remote-callback-reconciliation-worker.d.ts.map +0 -1
- package/lib/workroom/remote-callback-reconciliation-worker.js +0 -197
- package/lib/workroom/remote-callback-reconciliation-worker.js.map +0 -1
- package/lib/workroom/remote-dispatch-admission.d.ts +0 -45
- package/lib/workroom/remote-dispatch-admission.d.ts.map +0 -1
- package/lib/workroom/remote-dispatch-admission.js +0 -187
- package/lib/workroom/remote-dispatch-admission.js.map +0 -1
- package/lib/workroom/remote-dispatch-outbox.d.ts +0 -204
- package/lib/workroom/remote-dispatch-outbox.d.ts.map +0 -1
- package/lib/workroom/remote-dispatch-outbox.js +0 -768
- package/lib/workroom/remote-dispatch-outbox.js.map +0 -1
- package/lib/workroom/remote-dispatch-scheduler.d.ts +0 -36
- package/lib/workroom/remote-dispatch-scheduler.d.ts.map +0 -1
- package/lib/workroom/remote-dispatch-scheduler.js +0 -133
- package/lib/workroom/remote-dispatch-scheduler.js.map +0 -1
- package/lib/workroom/remote-dispatch-worker.d.ts +0 -22
- package/lib/workroom/remote-dispatch-worker.d.ts.map +0 -1
- package/lib/workroom/remote-dispatch-worker.js +0 -124
- package/lib/workroom/remote-dispatch-worker.js.map +0 -1
- package/lib/workroom/remote-dispatch.d.ts +0 -79
- package/lib/workroom/remote-dispatch.d.ts.map +0 -1
- package/lib/workroom/remote-dispatch.js +0 -220
- package/lib/workroom/remote-dispatch.js.map +0 -1
- package/lib/workroom/remote-executor.d.ts +0 -15
- package/lib/workroom/remote-executor.d.ts.map +0 -1
- package/lib/workroom/remote-executor.js +0 -21
- package/lib/workroom/remote-executor.js.map +0 -1
- package/lib/workroom/role-capability-snapshot.d.ts +0 -88
- package/lib/workroom/role-capability-snapshot.d.ts.map +0 -1
- package/lib/workroom/role-capability-snapshot.js +0 -456
- package/lib/workroom/role-capability-snapshot.js.map +0 -1
- package/lib/workroom/runtime.d.ts +0 -142
- package/lib/workroom/runtime.d.ts.map +0 -1
- package/lib/workroom/runtime.js +0 -543
- package/lib/workroom/runtime.js.map +0 -1
- package/lib/workroom/scheduler-priority-control.d.ts +0 -35
- package/lib/workroom/scheduler-priority-control.d.ts.map +0 -1
- package/lib/workroom/scheduler-priority-control.js +0 -9
- package/lib/workroom/scheduler-priority-control.js.map +0 -1
- package/lib/workroom/software-delivery-plan.d.ts +0 -32
- package/lib/workroom/software-delivery-plan.d.ts.map +0 -1
- package/lib/workroom/software-delivery-plan.js +0 -60
- package/lib/workroom/software-delivery-plan.js.map +0 -1
- package/lib/workroom/validate-catalog.d.ts +0 -2
- package/lib/workroom/validate-catalog.d.ts.map +0 -1
- package/lib/workroom/validate-catalog.js +0 -230
- package/lib/workroom/validate-catalog.js.map +0 -1
- package/lib/workroom/workflow-plan-builder.d.ts +0 -88
- package/lib/workroom/workflow-plan-builder.d.ts.map +0 -1
- package/lib/workroom/workflow-plan-builder.js +0 -232
- package/lib/workroom/workflow-plan-builder.js.map +0 -1
- package/lib/workroom/workroom-assignment-knowledge-context.d.ts +0 -102
- package/lib/workroom/workroom-assignment-knowledge-context.d.ts.map +0 -1
- package/lib/workroom/workroom-assignment-knowledge-context.js +0 -127
- package/lib/workroom/workroom-assignment-knowledge-context.js.map +0 -1
- package/lib/workroom/workroom-kernel.d.ts +0 -157
- package/lib/workroom/workroom-kernel.d.ts.map +0 -1
- package/lib/workroom/workroom-kernel.js +0 -1526
- package/lib/workroom/workroom-kernel.js.map +0 -1
- package/lib/workroom/workroom-preemption.d.ts +0 -65
- package/lib/workroom/workroom-preemption.d.ts.map +0 -1
- package/lib/workroom/workroom-preemption.js +0 -213
- package/lib/workroom/workroom-preemption.js.map +0 -1
- package/lib/workroom/workroom-run-control.d.ts +0 -69
- package/lib/workroom/workroom-run-control.d.ts.map +0 -1
- package/lib/workroom/workroom-run-control.js +0 -144
- package/lib/workroom/workroom-run-control.js.map +0 -1
- package/lib/workroom/workroom-scheduler-application.d.ts +0 -43
- package/lib/workroom/workroom-scheduler-application.d.ts.map +0 -1
- package/lib/workroom/workroom-scheduler-application.js +0 -71
- package/lib/workroom/workroom-scheduler-application.js.map +0 -1
- package/lib/workroom/workroom-scheduler.d.ts +0 -135
- package/lib/workroom/workroom-scheduler.d.ts.map +0 -1
- package/lib/workroom/workroom-scheduler.js +0 -660
- package/lib/workroom/workroom-scheduler.js.map +0 -1
- package/lib/workroom/workroom-task-report-store.d.ts +0 -131
- package/lib/workroom/workroom-task-report-store.d.ts.map +0 -1
- package/lib/workroom/workroom-task-report-store.js +0 -528
- package/lib/workroom/workroom-task-report-store.js.map +0 -1
|
@@ -1,768 +0,0 @@
|
|
|
1
|
-
import { createHash, randomUUID } from 'node:crypto';
|
|
2
|
-
import { link as nodeLink, mkdir as nodeMkdir, open as nodeOpen, readFile as nodeReadFile, readdir as nodeReaddir, unlink as nodeUnlink, } from 'node:fs/promises';
|
|
3
|
-
import { dirname, join } from 'node:path';
|
|
4
|
-
import { compareCanonicalWorkroomText, canonicalWorkroomJson as stableJson, deepFreezeWorkroomValue as deepFreeze, } from './canonical-value.js';
|
|
5
|
-
import { assertWorkroomRemoteDispatchRetry, createWorkroomRemoteDispatchOutboxItem, } from './remote-dispatch.js';
|
|
6
|
-
const nodeFileSystem = Object.freeze({
|
|
7
|
-
supportsDirectorySync: process.platform !== 'win32',
|
|
8
|
-
mkdir: async (path) => {
|
|
9
|
-
await nodeMkdir(path);
|
|
10
|
-
},
|
|
11
|
-
readdir: async (path) => await nodeReaddir(path),
|
|
12
|
-
readFile: async (path, encoding) => await nodeReadFile(path, encoding),
|
|
13
|
-
open: async (path, flags) => await nodeOpen(path, flags),
|
|
14
|
-
link: async (existingPath, newPath) => await nodeLink(existingPath, newPath),
|
|
15
|
-
unlink: async (path) => await nodeUnlink(path),
|
|
16
|
-
});
|
|
17
|
-
export class WorkroomRemoteDispatchOutboxSequenceConflictError extends Error {
|
|
18
|
-
dispatchId;
|
|
19
|
-
expectedSequence;
|
|
20
|
-
actualSequence;
|
|
21
|
-
constructor(dispatchId, expectedSequence, actualSequence) {
|
|
22
|
-
super(`Workroom Remote Dispatch Outbox ${dispatchId} sequence conflict: `
|
|
23
|
-
+ `expected ${expectedSequence}, actual ${actualSequence}`);
|
|
24
|
-
this.dispatchId = dispatchId;
|
|
25
|
-
this.expectedSequence = expectedSequence;
|
|
26
|
-
this.actualSequence = actualSequence;
|
|
27
|
-
this.name = 'WorkroomRemoteDispatchOutboxSequenceConflictError';
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export class MemoryWorkroomRemoteDispatchOutboxRepository {
|
|
31
|
-
#events = new Map();
|
|
32
|
-
async read(dispatchId) {
|
|
33
|
-
return project(this.#events.get(identifier(dispatchId, 'dispatchId')) ?? []);
|
|
34
|
-
}
|
|
35
|
-
async listRunnable(now) {
|
|
36
|
-
const trustedNow = timestamp(now, 'now');
|
|
37
|
-
return Object.freeze([...this.#events.values()]
|
|
38
|
-
.map(events => project(events))
|
|
39
|
-
.filter((entry) => entry !== undefined && isRunnable(entry, trustedNow))
|
|
40
|
-
.sort((left, right) => compareCanonicalWorkroomText(left.dispatchId, right.dispatchId)));
|
|
41
|
-
}
|
|
42
|
-
async listGovernanceBlocked(input) {
|
|
43
|
-
return Object.freeze([...this.#events.values()]
|
|
44
|
-
.map(events => project(events))
|
|
45
|
-
.filter((entry) => entry?.status === 'blocked'
|
|
46
|
-
&& entry.item.envelope.projectId === input.projectId
|
|
47
|
-
&& entry.item.envelope.runId === input.runId
|
|
48
|
-
&& entry.item.envelope.taskKey === input.taskKey
|
|
49
|
-
&& entry.item.envelope.taskRevision === input.taskRevision)
|
|
50
|
-
.sort(compareBlockedDispatch));
|
|
51
|
-
}
|
|
52
|
-
async append(dispatchId, expectedSequence, drafts) {
|
|
53
|
-
const id = identifier(dispatchId, 'dispatchId');
|
|
54
|
-
const current = this.#events.get(id) ?? [];
|
|
55
|
-
const appended = materializeAppend(id, current, expectedSequence, drafts);
|
|
56
|
-
if (appended.length > 0 && appended.some(event => event.sequence >= current.length)) {
|
|
57
|
-
this.#events.set(id, Object.freeze([...current, ...appended]));
|
|
58
|
-
}
|
|
59
|
-
return appended;
|
|
60
|
-
}
|
|
61
|
-
async enqueue(item, expectedSequence, enqueuedAt) {
|
|
62
|
-
return enqueue(this, item, expectedSequence, enqueuedAt);
|
|
63
|
-
}
|
|
64
|
-
async claim(input) {
|
|
65
|
-
return claim(this, input);
|
|
66
|
-
}
|
|
67
|
-
async recordTransportObservation(input) {
|
|
68
|
-
return recordTransportObservation(this, input);
|
|
69
|
-
}
|
|
70
|
-
async recordGovernanceBlock(input) {
|
|
71
|
-
return recordGovernanceBlock(this, input);
|
|
72
|
-
}
|
|
73
|
-
async recover(input) {
|
|
74
|
-
return recover(this, input);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* Durable adapter. Each append is an immutable segment and the first sequence
|
|
79
|
-
* path is claimed with a hard link, making expectedSequence a filesystem CAS.
|
|
80
|
-
*/
|
|
81
|
-
export class FileWorkroomRemoteDispatchOutboxRepository {
|
|
82
|
-
directory;
|
|
83
|
-
fileSystem;
|
|
84
|
-
constructor(directory, fileSystem = nodeFileSystem) {
|
|
85
|
-
this.directory = directory;
|
|
86
|
-
this.fileSystem = fileSystem;
|
|
87
|
-
}
|
|
88
|
-
async read(dispatchId) {
|
|
89
|
-
return project(await this.#readEvents(identifier(dispatchId, 'dispatchId')));
|
|
90
|
-
}
|
|
91
|
-
async listRunnable(now) {
|
|
92
|
-
const trustedNow = timestamp(now, 'now');
|
|
93
|
-
return Object.freeze((await this.#readAllProjections())
|
|
94
|
-
.filter(entry => isRunnable(entry, trustedNow)));
|
|
95
|
-
}
|
|
96
|
-
async listGovernanceBlocked(input) {
|
|
97
|
-
const entries = await this.#readAllProjections();
|
|
98
|
-
return Object.freeze(entries.filter(entry => entry.status === 'blocked'
|
|
99
|
-
&& entry.item.envelope.projectId === input.projectId
|
|
100
|
-
&& entry.item.envelope.runId === input.runId
|
|
101
|
-
&& entry.item.envelope.taskKey === input.taskKey
|
|
102
|
-
&& entry.item.envelope.taskRevision === input.taskRevision)
|
|
103
|
-
.sort(compareBlockedDispatch));
|
|
104
|
-
}
|
|
105
|
-
async #readAllProjections() {
|
|
106
|
-
let names;
|
|
107
|
-
try {
|
|
108
|
-
names = (await this.fileSystem.readdir(this.directory)).filter(name => name.endsWith('.json')).sort();
|
|
109
|
-
}
|
|
110
|
-
catch (error) {
|
|
111
|
-
if (isMissingFile(error))
|
|
112
|
-
return [];
|
|
113
|
-
throw error;
|
|
114
|
-
}
|
|
115
|
-
const byDispatch = new Map();
|
|
116
|
-
for (const name of names) {
|
|
117
|
-
const value = JSON.parse(await this.fileSystem.readFile(join(this.directory, name), 'utf8'));
|
|
118
|
-
if (!Array.isArray(value))
|
|
119
|
-
throw new Error('Remote Dispatch Outbox segment must be an event array');
|
|
120
|
-
for (const event of value.map(parseEvent)) {
|
|
121
|
-
if (!name.startsWith(`${digest(event.dispatchId)}.`)) {
|
|
122
|
-
throw new Error('Remote Dispatch Outbox segment identity does not match its filename');
|
|
123
|
-
}
|
|
124
|
-
const stream = byDispatch.get(event.dispatchId) ?? [];
|
|
125
|
-
stream.push(event);
|
|
126
|
-
byDispatch.set(event.dispatchId, stream);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
return [...byDispatch.entries()]
|
|
130
|
-
.sort(([left], [right]) => compareCanonicalWorkroomText(left, right))
|
|
131
|
-
.map(([, events]) => project(events.sort((left, right) => left.sequence - right.sequence)))
|
|
132
|
-
.filter((entry) => entry !== undefined);
|
|
133
|
-
}
|
|
134
|
-
async append(dispatchId, expectedSequence, drafts) {
|
|
135
|
-
const id = identifier(dispatchId, 'dispatchId');
|
|
136
|
-
const current = await this.#readEvents(id);
|
|
137
|
-
const appended = materializeAppend(id, current, expectedSequence, drafts);
|
|
138
|
-
if (appended.length === 0 || appended.every(event => event.sequence < current.length)) {
|
|
139
|
-
if (current.length > 0)
|
|
140
|
-
await this.#syncDirectory();
|
|
141
|
-
return appended;
|
|
142
|
-
}
|
|
143
|
-
await this.#ensureDurableOutboxDirectory();
|
|
144
|
-
const segment = this.#segmentPath(id, appended[0].sequence);
|
|
145
|
-
const temporary = `${segment}.${randomUUID()}.tmp`;
|
|
146
|
-
let temporaryExists = false;
|
|
147
|
-
try {
|
|
148
|
-
const handle = await this.fileSystem.open(temporary, 'wx');
|
|
149
|
-
temporaryExists = true;
|
|
150
|
-
try {
|
|
151
|
-
await handle.writeFile(JSON.stringify(appended), 'utf8');
|
|
152
|
-
await handle.sync();
|
|
153
|
-
}
|
|
154
|
-
finally {
|
|
155
|
-
await handle.close();
|
|
156
|
-
}
|
|
157
|
-
await this.fileSystem.link(temporary, segment);
|
|
158
|
-
await this.fileSystem.unlink(temporary);
|
|
159
|
-
temporaryExists = false;
|
|
160
|
-
await this.#syncDirectory();
|
|
161
|
-
}
|
|
162
|
-
catch (error) {
|
|
163
|
-
if (temporaryExists) {
|
|
164
|
-
await this.fileSystem.unlink(temporary).catch(cleanupError => {
|
|
165
|
-
if (!isMissingFile(cleanupError))
|
|
166
|
-
throw cleanupError;
|
|
167
|
-
});
|
|
168
|
-
temporaryExists = false;
|
|
169
|
-
}
|
|
170
|
-
if (isAlreadyExists(error)) {
|
|
171
|
-
const winner = await this.#readEvents(id);
|
|
172
|
-
const replay = materializeAppend(id, winner, expectedSequence, drafts);
|
|
173
|
-
await this.#syncDirectory();
|
|
174
|
-
if (replay.length > 0 && replay.every(event => event.sequence < winner.length)) {
|
|
175
|
-
return replay;
|
|
176
|
-
}
|
|
177
|
-
throw new WorkroomRemoteDispatchOutboxSequenceConflictError(id, expectedSequence, winner.at(-1)?.sequence ?? -1);
|
|
178
|
-
}
|
|
179
|
-
throw error;
|
|
180
|
-
}
|
|
181
|
-
finally {
|
|
182
|
-
if (temporaryExists) {
|
|
183
|
-
await this.fileSystem.unlink(temporary).catch(error => {
|
|
184
|
-
if (!isMissingFile(error))
|
|
185
|
-
throw error;
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
return appended;
|
|
190
|
-
}
|
|
191
|
-
async enqueue(item, expectedSequence, enqueuedAt) {
|
|
192
|
-
return enqueue(this, item, expectedSequence, enqueuedAt);
|
|
193
|
-
}
|
|
194
|
-
async claim(input) {
|
|
195
|
-
return claim(this, input);
|
|
196
|
-
}
|
|
197
|
-
async recordTransportObservation(input) {
|
|
198
|
-
return recordTransportObservation(this, input);
|
|
199
|
-
}
|
|
200
|
-
async recordGovernanceBlock(input) {
|
|
201
|
-
return recordGovernanceBlock(this, input);
|
|
202
|
-
}
|
|
203
|
-
async recover(input) {
|
|
204
|
-
return recover(this, input);
|
|
205
|
-
}
|
|
206
|
-
async #readEvents(dispatchId) {
|
|
207
|
-
const prefix = `${digest(dispatchId)}.`;
|
|
208
|
-
let names;
|
|
209
|
-
try {
|
|
210
|
-
names = (await this.fileSystem.readdir(this.directory))
|
|
211
|
-
.filter(name => name.startsWith(prefix) && name.endsWith('.json'))
|
|
212
|
-
.sort();
|
|
213
|
-
}
|
|
214
|
-
catch (error) {
|
|
215
|
-
if (isMissingFile(error))
|
|
216
|
-
return [];
|
|
217
|
-
throw error;
|
|
218
|
-
}
|
|
219
|
-
const events = (await Promise.all(names.map(async (name) => {
|
|
220
|
-
const value = JSON.parse(await this.fileSystem.readFile(join(this.directory, name), 'utf8'));
|
|
221
|
-
if (!Array.isArray(value))
|
|
222
|
-
throw new Error('Remote Dispatch Outbox segment must be an event array');
|
|
223
|
-
return value.map(parseEvent);
|
|
224
|
-
}))).flat().sort((left, right) => left.sequence - right.sequence);
|
|
225
|
-
if (events.some(event => event.dispatchId !== dispatchId)) {
|
|
226
|
-
throw new Error('Remote Dispatch Outbox dispatch identity collision');
|
|
227
|
-
}
|
|
228
|
-
assertContiguous(events);
|
|
229
|
-
return Object.freeze(events);
|
|
230
|
-
}
|
|
231
|
-
#segmentPath(dispatchId, firstSequence) {
|
|
232
|
-
return join(this.directory, `${digest(dispatchId)}.${String(firstSequence).padStart(16, '0')}.json`);
|
|
233
|
-
}
|
|
234
|
-
async #syncDirectory() {
|
|
235
|
-
await this.#syncDirectoryPath(this.directory);
|
|
236
|
-
}
|
|
237
|
-
async #ensureDurableOutboxDirectory() {
|
|
238
|
-
try {
|
|
239
|
-
await this.fileSystem.mkdir(this.directory);
|
|
240
|
-
}
|
|
241
|
-
catch (error) {
|
|
242
|
-
if (!isAlreadyExists(error)) {
|
|
243
|
-
if (isMissingFile(error)) {
|
|
244
|
-
throw new Error(`Remote Dispatch Outbox requires a pre-existing durable parent directory: `
|
|
245
|
-
+ dirname(this.directory), { cause: error });
|
|
246
|
-
}
|
|
247
|
-
throw error;
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
// Repeating this for an already-live empty leaf is intentional: a prior
|
|
251
|
-
// parent fsync may have failed, so existence alone is not durability proof.
|
|
252
|
-
await this.#syncDirectoryPath(dirname(this.directory));
|
|
253
|
-
}
|
|
254
|
-
async #syncDirectoryPath(path) {
|
|
255
|
-
if (this.fileSystem.supportsDirectorySync === false)
|
|
256
|
-
return;
|
|
257
|
-
const handle = await this.fileSystem.open(path, 'r');
|
|
258
|
-
try {
|
|
259
|
-
await handle.sync();
|
|
260
|
-
}
|
|
261
|
-
finally {
|
|
262
|
-
await handle.close();
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
async function enqueue(repository, item, expectedSequence, enqueuedAt) {
|
|
267
|
-
const normalized = normalizeItem(item);
|
|
268
|
-
const [event] = await repository.append(normalized.dispatchId, expectedSequence, [{
|
|
269
|
-
eventId: `${normalized.dispatchId}:enqueued`,
|
|
270
|
-
occurredAt: timestamp(enqueuedAt, 'enqueuedAt'),
|
|
271
|
-
type: 'dispatch.enqueued',
|
|
272
|
-
payload: { item: normalized },
|
|
273
|
-
}]);
|
|
274
|
-
return event;
|
|
275
|
-
}
|
|
276
|
-
async function claim(repository, input) {
|
|
277
|
-
const dispatchId = identifier(input.dispatchId, 'dispatchId');
|
|
278
|
-
const state = await repository.read(dispatchId);
|
|
279
|
-
if (!state)
|
|
280
|
-
throw new Error(`Remote Dispatch Outbox item does not exist: ${dispatchId}`);
|
|
281
|
-
const replayingInitialClaim = state.status === 'leased'
|
|
282
|
-
&& state.attemptCount === 1
|
|
283
|
-
&& state.observations.length === 0
|
|
284
|
-
&& state.lease?.ownerId === input.ownerId
|
|
285
|
-
&& state.lease.leaseId === input.leaseId
|
|
286
|
-
&& state.lease.leaseFence === input.leaseFence
|
|
287
|
-
&& state.lease.claimedAt === input.now
|
|
288
|
-
&& state.lease.expiresAt === input.leaseExpiresAt;
|
|
289
|
-
if ((state.status !== 'pending' || state.lease) && !replayingInitialClaim) {
|
|
290
|
-
throw new Error('Remote Dispatch Outbox item is not available for an initial claim');
|
|
291
|
-
}
|
|
292
|
-
const now = timestamp(input.now, 'now');
|
|
293
|
-
const lease = normalizeLease({
|
|
294
|
-
ownerId: input.ownerId,
|
|
295
|
-
leaseId: input.leaseId,
|
|
296
|
-
leaseFence: input.leaseFence,
|
|
297
|
-
claimedAt: now,
|
|
298
|
-
expiresAt: input.leaseExpiresAt,
|
|
299
|
-
});
|
|
300
|
-
if (lease.leaseFence !== 1) {
|
|
301
|
-
throw new Error('Initial Remote Dispatch Outbox leaseFence must be 1');
|
|
302
|
-
}
|
|
303
|
-
if (lease.expiresAt <= now) {
|
|
304
|
-
throw new Error('Remote Dispatch Outbox lease must expire after now');
|
|
305
|
-
}
|
|
306
|
-
const [event] = await repository.append(dispatchId, input.expectedSequence, [{
|
|
307
|
-
eventId: `${dispatchId}:claimed:${lease.leaseFence}:${encodeURIComponent(lease.leaseId)}`,
|
|
308
|
-
occurredAt: now,
|
|
309
|
-
type: 'dispatch.claimed',
|
|
310
|
-
payload: { lease },
|
|
311
|
-
}]);
|
|
312
|
-
return event;
|
|
313
|
-
}
|
|
314
|
-
async function recordTransportObservation(repository, input) {
|
|
315
|
-
const dispatchId = identifier(input.dispatchId, 'dispatchId');
|
|
316
|
-
const observationId = identifier(input.observationId, 'observationId');
|
|
317
|
-
const [event] = await repository.append(dispatchId, input.expectedSequence, [{
|
|
318
|
-
eventId: `${dispatchId}:transport-observed:${encodeURIComponent(observationId)}`,
|
|
319
|
-
occurredAt: timestamp(input.now, 'now'),
|
|
320
|
-
type: 'dispatch.transport_observed',
|
|
321
|
-
payload: {
|
|
322
|
-
leaseId: identifier(input.leaseId, 'leaseId'),
|
|
323
|
-
leaseFence: positiveSequence(input.leaseFence, 'leaseFence'),
|
|
324
|
-
observationId,
|
|
325
|
-
observation: normalizeTransportObservation(input.observation),
|
|
326
|
-
},
|
|
327
|
-
}]);
|
|
328
|
-
return event;
|
|
329
|
-
}
|
|
330
|
-
async function recordGovernanceBlock(repository, input) {
|
|
331
|
-
const dispatchId = identifier(input.dispatchId, 'dispatchId');
|
|
332
|
-
const reason = identifier(input.reason, 'governance reason');
|
|
333
|
-
const manifestDigest = sha(input.manifestDigest, 'manifestDigest');
|
|
334
|
-
const [event] = await repository.append(dispatchId, input.expectedSequence, [{
|
|
335
|
-
eventId: `${dispatchId}:governance-blocked:${input.attempt}:${input.assignmentFence}`,
|
|
336
|
-
occurredAt: timestamp(input.now, 'now'),
|
|
337
|
-
type: 'dispatch.governance_blocked',
|
|
338
|
-
payload: {
|
|
339
|
-
reason,
|
|
340
|
-
manifestDigest,
|
|
341
|
-
attempt: positiveSequence(input.attempt, 'attempt'),
|
|
342
|
-
assignmentFence: positiveSequence(input.assignmentFence, 'assignmentFence'),
|
|
343
|
-
},
|
|
344
|
-
}]);
|
|
345
|
-
return event;
|
|
346
|
-
}
|
|
347
|
-
async function recover(repository, input) {
|
|
348
|
-
const dispatchId = identifier(input.dispatchId, 'dispatchId');
|
|
349
|
-
const state = await repository.read(dispatchId);
|
|
350
|
-
if (!state)
|
|
351
|
-
throw new Error(`Remote Dispatch Outbox item does not exist: ${dispatchId}`);
|
|
352
|
-
const now = timestamp(input.now, 'now');
|
|
353
|
-
let cause;
|
|
354
|
-
if (state.status === 'reconcile_required')
|
|
355
|
-
cause = 'outcome_unknown';
|
|
356
|
-
else if (state.status === 'retryable')
|
|
357
|
-
cause = 'transport_failed';
|
|
358
|
-
else if (state.status === 'leased' && state.lease && now >= state.lease.expiresAt) {
|
|
359
|
-
cause = 'lease_expired';
|
|
360
|
-
}
|
|
361
|
-
else if (state.status === 'leased'
|
|
362
|
-
&& state.lease?.leaseId === input.leaseId
|
|
363
|
-
&& state.lease.leaseFence === input.leaseFence
|
|
364
|
-
&& state.lastRecoveryCause) {
|
|
365
|
-
cause = state.lastRecoveryCause;
|
|
366
|
-
}
|
|
367
|
-
else {
|
|
368
|
-
throw new Error('Remote Dispatch Outbox item is not eligible for recovery');
|
|
369
|
-
}
|
|
370
|
-
const lease = normalizeLease({
|
|
371
|
-
ownerId: input.ownerId,
|
|
372
|
-
leaseId: input.leaseId,
|
|
373
|
-
leaseFence: input.leaseFence,
|
|
374
|
-
claimedAt: now,
|
|
375
|
-
expiresAt: input.leaseExpiresAt,
|
|
376
|
-
});
|
|
377
|
-
if (lease.expiresAt <= now)
|
|
378
|
-
throw new Error('Remote Dispatch Outbox lease must expire after now');
|
|
379
|
-
const [event] = await repository.append(dispatchId, input.expectedSequence, [{
|
|
380
|
-
eventId: `${dispatchId}:recovered:${lease.leaseFence}:${encodeURIComponent(lease.leaseId)}`,
|
|
381
|
-
occurredAt: now,
|
|
382
|
-
type: 'dispatch.recovered',
|
|
383
|
-
payload: { lease, cause },
|
|
384
|
-
}]);
|
|
385
|
-
return event;
|
|
386
|
-
}
|
|
387
|
-
function materializeAppend(dispatchId, current, expectedSequence, drafts) {
|
|
388
|
-
sequence(expectedSequence, 'expectedSequence');
|
|
389
|
-
const normalized = deduplicateDrafts(drafts.map(normalizeDraft));
|
|
390
|
-
const byEventId = new Map(current.map(event => [event.eventId, event]));
|
|
391
|
-
const replayed = [];
|
|
392
|
-
for (const draft of normalized) {
|
|
393
|
-
const existing = byEventId.get(draft.eventId);
|
|
394
|
-
if (!existing)
|
|
395
|
-
continue;
|
|
396
|
-
if (stableJson({
|
|
397
|
-
occurredAt: existing.occurredAt,
|
|
398
|
-
type: existing.type,
|
|
399
|
-
payload: existing.payload,
|
|
400
|
-
}) !== stableJson({
|
|
401
|
-
occurredAt: draft.occurredAt,
|
|
402
|
-
type: draft.type,
|
|
403
|
-
payload: draft.payload,
|
|
404
|
-
})) {
|
|
405
|
-
throw new Error(`Remote Dispatch Outbox eventId payload conflict: ${draft.eventId}`);
|
|
406
|
-
}
|
|
407
|
-
replayed.push(existing);
|
|
408
|
-
}
|
|
409
|
-
if (replayed.length > 0) {
|
|
410
|
-
if (replayed.length !== normalized.length) {
|
|
411
|
-
throw new Error('Remote Dispatch Outbox append cannot mix replayed and new events');
|
|
412
|
-
}
|
|
413
|
-
return Object.freeze(replayed);
|
|
414
|
-
}
|
|
415
|
-
const actualSequence = current.at(-1)?.sequence ?? -1;
|
|
416
|
-
if (actualSequence !== expectedSequence) {
|
|
417
|
-
throw new WorkroomRemoteDispatchOutboxSequenceConflictError(dispatchId, expectedSequence, actualSequence);
|
|
418
|
-
}
|
|
419
|
-
const appended = Object.freeze(normalized.map((draft, index) => deepFreeze({
|
|
420
|
-
...draft,
|
|
421
|
-
version: 1,
|
|
422
|
-
dispatchId,
|
|
423
|
-
sequence: expectedSequence + index + 1,
|
|
424
|
-
})));
|
|
425
|
-
project(Object.freeze([...current, ...appended]));
|
|
426
|
-
return appended;
|
|
427
|
-
}
|
|
428
|
-
function normalizeDraft(draft) {
|
|
429
|
-
const eventId = identifier(draft.eventId, 'eventId');
|
|
430
|
-
const occurredAt = timestamp(draft.occurredAt, 'occurredAt');
|
|
431
|
-
if (draft.type === 'dispatch.enqueued') {
|
|
432
|
-
return deepFreeze({
|
|
433
|
-
eventId,
|
|
434
|
-
occurredAt,
|
|
435
|
-
type: draft.type,
|
|
436
|
-
payload: { item: normalizeItem(draft.payload?.item) },
|
|
437
|
-
});
|
|
438
|
-
}
|
|
439
|
-
if (draft.type === 'dispatch.claimed') {
|
|
440
|
-
return deepFreeze({
|
|
441
|
-
eventId,
|
|
442
|
-
occurredAt,
|
|
443
|
-
type: draft.type,
|
|
444
|
-
payload: { lease: normalizeLease(draft.payload?.lease) },
|
|
445
|
-
});
|
|
446
|
-
}
|
|
447
|
-
if (draft.type === 'dispatch.transport_observed') {
|
|
448
|
-
return deepFreeze({
|
|
449
|
-
eventId,
|
|
450
|
-
occurredAt,
|
|
451
|
-
type: draft.type,
|
|
452
|
-
payload: {
|
|
453
|
-
leaseId: identifier(draft.payload?.leaseId, 'leaseId'),
|
|
454
|
-
leaseFence: positiveSequence(draft.payload?.leaseFence, 'leaseFence'),
|
|
455
|
-
observationId: identifier(draft.payload?.observationId, 'observationId'),
|
|
456
|
-
observation: normalizeTransportObservation(draft.payload?.observation),
|
|
457
|
-
},
|
|
458
|
-
});
|
|
459
|
-
}
|
|
460
|
-
if (draft.type === 'dispatch.governance_blocked') {
|
|
461
|
-
return deepFreeze({
|
|
462
|
-
eventId,
|
|
463
|
-
occurredAt,
|
|
464
|
-
type: draft.type,
|
|
465
|
-
payload: {
|
|
466
|
-
reason: identifier(draft.payload?.reason, 'governance reason'),
|
|
467
|
-
manifestDigest: sha(draft.payload?.manifestDigest, 'manifestDigest'),
|
|
468
|
-
attempt: positiveSequence(draft.payload?.attempt, 'attempt'),
|
|
469
|
-
assignmentFence: positiveSequence(draft.payload?.assignmentFence, 'assignmentFence'),
|
|
470
|
-
},
|
|
471
|
-
});
|
|
472
|
-
}
|
|
473
|
-
if (draft.type === 'dispatch.recovered') {
|
|
474
|
-
return deepFreeze({
|
|
475
|
-
eventId,
|
|
476
|
-
occurredAt,
|
|
477
|
-
type: draft.type,
|
|
478
|
-
payload: {
|
|
479
|
-
lease: normalizeLease(draft.payload?.lease),
|
|
480
|
-
cause: recoveryCause(draft.payload?.cause),
|
|
481
|
-
},
|
|
482
|
-
});
|
|
483
|
-
}
|
|
484
|
-
throw new Error('Invalid Remote Dispatch Outbox event type');
|
|
485
|
-
}
|
|
486
|
-
function parseEvent(value) {
|
|
487
|
-
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
488
|
-
throw new Error('Invalid Remote Dispatch Outbox event');
|
|
489
|
-
}
|
|
490
|
-
const event = value;
|
|
491
|
-
const draft = normalizeDraft(event);
|
|
492
|
-
return deepFreeze({
|
|
493
|
-
...draft,
|
|
494
|
-
version: event.version === 1 ? 1 : fail('Invalid Remote Dispatch Outbox event version'),
|
|
495
|
-
dispatchId: identifier(event.dispatchId, 'dispatchId'),
|
|
496
|
-
sequence: sequence(event.sequence, 'sequence'),
|
|
497
|
-
});
|
|
498
|
-
}
|
|
499
|
-
function project(events) {
|
|
500
|
-
if (events.length === 0)
|
|
501
|
-
return undefined;
|
|
502
|
-
assertContiguous(events);
|
|
503
|
-
const first = events[0];
|
|
504
|
-
if (first.type !== 'dispatch.enqueued' || first.sequence !== 0) {
|
|
505
|
-
throw new Error('Remote Dispatch Outbox must begin with dispatch.enqueued');
|
|
506
|
-
}
|
|
507
|
-
if (first.dispatchId !== first.payload.item.dispatchId) {
|
|
508
|
-
throw new Error('Remote Dispatch Outbox item identity does not match stream identity');
|
|
509
|
-
}
|
|
510
|
-
assertDeterministicEventId(first);
|
|
511
|
-
let status = 'pending';
|
|
512
|
-
let lease;
|
|
513
|
-
let lastLeaseFence;
|
|
514
|
-
let attemptCount = 0;
|
|
515
|
-
const observations = [];
|
|
516
|
-
const observationIds = new Set();
|
|
517
|
-
let lastRecoveryCause;
|
|
518
|
-
let governanceBlock;
|
|
519
|
-
for (const event of events.slice(1)) {
|
|
520
|
-
assertDeterministicEventId(event);
|
|
521
|
-
if (event.type === 'dispatch.claimed') {
|
|
522
|
-
if (status !== 'pending') {
|
|
523
|
-
throw new Error(`Invalid Remote Dispatch Outbox transition: ${event.type}`);
|
|
524
|
-
}
|
|
525
|
-
if (event.payload.lease.leaseFence !== 1
|
|
526
|
-
|| event.payload.lease.claimedAt !== event.occurredAt) {
|
|
527
|
-
throw new Error('Invalid initial Remote Dispatch Outbox lease/fence');
|
|
528
|
-
}
|
|
529
|
-
lease = event.payload.lease;
|
|
530
|
-
lastLeaseFence = lease.leaseFence;
|
|
531
|
-
status = 'leased';
|
|
532
|
-
attemptCount += 1;
|
|
533
|
-
continue;
|
|
534
|
-
}
|
|
535
|
-
if (event.type === 'dispatch.transport_observed') {
|
|
536
|
-
if (status !== 'leased' || !lease
|
|
537
|
-
|| event.payload.leaseId !== lease.leaseId
|
|
538
|
-
|| event.payload.leaseFence !== lease.leaseFence) {
|
|
539
|
-
throw new Error('Remote Dispatch Outbox observation does not match the active lease/fence');
|
|
540
|
-
}
|
|
541
|
-
if (event.occurredAt >= lease.expiresAt) {
|
|
542
|
-
throw new Error('Remote Dispatch Outbox observation arrived after lease expiry');
|
|
543
|
-
}
|
|
544
|
-
if (observationIds.has(event.payload.observationId)) {
|
|
545
|
-
throw new Error(`Remote Dispatch Outbox observationId conflict: ${event.payload.observationId}`);
|
|
546
|
-
}
|
|
547
|
-
observationIds.add(event.payload.observationId);
|
|
548
|
-
observations.push(deepFreeze({
|
|
549
|
-
observationId: event.payload.observationId,
|
|
550
|
-
observedAt: event.occurredAt,
|
|
551
|
-
leaseId: event.payload.leaseId,
|
|
552
|
-
leaseFence: event.payload.leaseFence,
|
|
553
|
-
...event.payload.observation,
|
|
554
|
-
}));
|
|
555
|
-
status = event.payload.observation.outcome === 'delivered'
|
|
556
|
-
? 'delivered'
|
|
557
|
-
: event.payload.observation.outcome === 'outcome_unknown'
|
|
558
|
-
? 'reconcile_required'
|
|
559
|
-
: 'retryable';
|
|
560
|
-
lease = undefined;
|
|
561
|
-
continue;
|
|
562
|
-
}
|
|
563
|
-
if (event.type === 'dispatch.governance_blocked') {
|
|
564
|
-
if (status !== 'pending' && status !== 'retryable') {
|
|
565
|
-
throw new Error('Invalid Remote Dispatch governance block transition');
|
|
566
|
-
}
|
|
567
|
-
if (event.payload.attempt !== first.payload.item.envelope.attempt
|
|
568
|
-
|| event.payload.assignmentFence !== first.payload.item.envelope.fence
|
|
569
|
-
|| event.payload.manifestDigest
|
|
570
|
-
!== first.payload.item.envelope.disclosureManifest.manifest.digest) {
|
|
571
|
-
throw new Error('Remote Dispatch governance block escaped exact Assignment/Manifest authority');
|
|
572
|
-
}
|
|
573
|
-
status = 'blocked';
|
|
574
|
-
governanceBlock = deepFreeze({ ...event.payload, blockedAt: event.occurredAt });
|
|
575
|
-
lease = undefined;
|
|
576
|
-
continue;
|
|
577
|
-
}
|
|
578
|
-
if (event.type === 'dispatch.recovered') {
|
|
579
|
-
const expectedCause = status === 'reconcile_required'
|
|
580
|
-
? 'outcome_unknown'
|
|
581
|
-
: status === 'retryable'
|
|
582
|
-
? 'transport_failed'
|
|
583
|
-
: status === 'leased' && lease && event.occurredAt >= lease.expiresAt
|
|
584
|
-
? 'lease_expired'
|
|
585
|
-
: undefined;
|
|
586
|
-
if (!expectedCause || event.payload.cause !== expectedCause) {
|
|
587
|
-
throw new Error('Invalid Remote Dispatch Outbox recovery transition');
|
|
588
|
-
}
|
|
589
|
-
if (lastLeaseFence === undefined || event.payload.lease.leaseFence !== lastLeaseFence + 1) {
|
|
590
|
-
throw new Error('Remote Dispatch Outbox recovery must increase the lease fence by one');
|
|
591
|
-
}
|
|
592
|
-
if (event.payload.lease.claimedAt !== event.occurredAt) {
|
|
593
|
-
throw new Error('Remote Dispatch Outbox recovery lease does not match Kernel clock input');
|
|
594
|
-
}
|
|
595
|
-
lease = event.payload.lease;
|
|
596
|
-
lastLeaseFence = lease.leaseFence;
|
|
597
|
-
lastRecoveryCause = event.payload.cause;
|
|
598
|
-
status = 'leased';
|
|
599
|
-
attemptCount += 1;
|
|
600
|
-
continue;
|
|
601
|
-
}
|
|
602
|
-
throw new Error(`Invalid Remote Dispatch Outbox transition: ${event.type}`);
|
|
603
|
-
}
|
|
604
|
-
return deepFreeze({
|
|
605
|
-
version: 1,
|
|
606
|
-
dispatchId: first.dispatchId,
|
|
607
|
-
sequence: events.at(-1).sequence,
|
|
608
|
-
status,
|
|
609
|
-
item: first.payload.item,
|
|
610
|
-
attemptCount,
|
|
611
|
-
observations: Object.freeze(observations),
|
|
612
|
-
...(lease ? { lease } : {}),
|
|
613
|
-
...(lastLeaseFence === undefined ? {} : { lastLeaseFence }),
|
|
614
|
-
...(lastRecoveryCause === undefined ? {} : { lastRecoveryCause }),
|
|
615
|
-
...(governanceBlock === undefined ? {} : { governanceBlock }),
|
|
616
|
-
});
|
|
617
|
-
}
|
|
618
|
-
function isRunnable(projection, now) {
|
|
619
|
-
return projection.status === 'pending'
|
|
620
|
-
|| projection.status === 'retryable'
|
|
621
|
-
|| (projection.status === 'leased'
|
|
622
|
-
&& projection.lease !== undefined
|
|
623
|
-
&& now >= projection.lease.expiresAt);
|
|
624
|
-
}
|
|
625
|
-
function compareBlockedDispatch(left, right) {
|
|
626
|
-
return right.item.envelope.attempt - left.item.envelope.attempt
|
|
627
|
-
|| right.item.envelope.fence - left.item.envelope.fence
|
|
628
|
-
|| compareCanonicalWorkroomText(left.dispatchId, right.dispatchId);
|
|
629
|
-
}
|
|
630
|
-
function assertDeterministicEventId(event) {
|
|
631
|
-
const expected = event.type === 'dispatch.enqueued'
|
|
632
|
-
? `${event.dispatchId}:enqueued`
|
|
633
|
-
: event.type === 'dispatch.claimed'
|
|
634
|
-
? `${event.dispatchId}:claimed:${event.payload.lease.leaseFence}:`
|
|
635
|
-
+ encodeURIComponent(event.payload.lease.leaseId)
|
|
636
|
-
: event.type === 'dispatch.transport_observed'
|
|
637
|
-
? `${event.dispatchId}:transport-observed:`
|
|
638
|
-
+ encodeURIComponent(event.payload.observationId)
|
|
639
|
-
: event.type === 'dispatch.governance_blocked'
|
|
640
|
-
? `${event.dispatchId}:governance-blocked:${event.payload.attempt}:`
|
|
641
|
-
+ event.payload.assignmentFence
|
|
642
|
-
: `${event.dispatchId}:recovered:${event.payload.lease.leaseFence}:`
|
|
643
|
-
+ encodeURIComponent(event.payload.lease.leaseId);
|
|
644
|
-
if (event.eventId !== expected) {
|
|
645
|
-
throw new Error(`Remote Dispatch Outbox event identity is not deterministic: ${event.eventId}`);
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
function normalizeLease(value) {
|
|
649
|
-
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
650
|
-
throw new Error('Invalid Remote Dispatch Outbox lease');
|
|
651
|
-
}
|
|
652
|
-
const lease = value;
|
|
653
|
-
const claimedAt = timestamp(lease.claimedAt, 'lease.claimedAt');
|
|
654
|
-
const expiresAt = timestamp(lease.expiresAt, 'lease.expiresAt');
|
|
655
|
-
if (expiresAt <= claimedAt)
|
|
656
|
-
throw new Error('Remote Dispatch Outbox lease expiry is invalid');
|
|
657
|
-
return deepFreeze({
|
|
658
|
-
ownerId: identifier(lease.ownerId, 'lease.ownerId'),
|
|
659
|
-
leaseId: identifier(lease.leaseId, 'lease.leaseId'),
|
|
660
|
-
leaseFence: positiveSequence(lease.leaseFence, 'lease.leaseFence'),
|
|
661
|
-
claimedAt,
|
|
662
|
-
expiresAt,
|
|
663
|
-
});
|
|
664
|
-
}
|
|
665
|
-
function normalizeTransportObservation(value) {
|
|
666
|
-
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
667
|
-
throw new Error('Invalid Remote Dispatch Outbox transport observation');
|
|
668
|
-
}
|
|
669
|
-
const observation = value;
|
|
670
|
-
if (!['delivered', 'outcome_unknown', 'failed'].includes(observation.outcome ?? '')) {
|
|
671
|
-
throw new Error('Invalid Remote Dispatch Outbox transport outcome');
|
|
672
|
-
}
|
|
673
|
-
return deepFreeze({
|
|
674
|
-
outcome: observation.outcome,
|
|
675
|
-
receiptId: identifier(observation.receiptId, 'observation.receiptId'),
|
|
676
|
-
...optionalIdentifier(observation.remoteTaskId, 'observation.remoteTaskId'),
|
|
677
|
-
...optionalIdentifier(observation.remoteContextId, 'observation.remoteContextId'),
|
|
678
|
-
...optionalIdentifier(observation.reason, 'observation.reason'),
|
|
679
|
-
});
|
|
680
|
-
}
|
|
681
|
-
function recoveryCause(value) {
|
|
682
|
-
if (!['outcome_unknown', 'transport_failed', 'lease_expired'].includes(String(value))) {
|
|
683
|
-
throw new Error('Invalid Remote Dispatch Outbox recovery cause');
|
|
684
|
-
}
|
|
685
|
-
return value;
|
|
686
|
-
}
|
|
687
|
-
function optionalIdentifier(value, name) {
|
|
688
|
-
if (value === undefined)
|
|
689
|
-
return {};
|
|
690
|
-
const key = name.slice(name.lastIndexOf('.') + 1);
|
|
691
|
-
return { [key]: identifier(value, name) };
|
|
692
|
-
}
|
|
693
|
-
function normalizeItem(value) {
|
|
694
|
-
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
695
|
-
throw new Error('Invalid Remote Dispatch Outbox item');
|
|
696
|
-
}
|
|
697
|
-
const item = value;
|
|
698
|
-
const { version: _version, dispatchId: _dispatchId, messageId: _messageId, ...input } = item.envelope;
|
|
699
|
-
const canonical = createWorkroomRemoteDispatchOutboxItem(input);
|
|
700
|
-
assertWorkroomRemoteDispatchRetry(canonical, item);
|
|
701
|
-
if (item.version !== 1
|
|
702
|
-
|| item.dispatchId !== item.envelope.dispatchId
|
|
703
|
-
|| item.messageId !== item.envelope.messageId) {
|
|
704
|
-
throw new Error('Remote Dispatch Outbox item identity does not match its envelope');
|
|
705
|
-
}
|
|
706
|
-
return canonical;
|
|
707
|
-
}
|
|
708
|
-
function deduplicateDrafts(drafts) {
|
|
709
|
-
const result = [];
|
|
710
|
-
const byId = new Map();
|
|
711
|
-
for (const draft of drafts) {
|
|
712
|
-
const existing = byId.get(draft.eventId);
|
|
713
|
-
if (existing) {
|
|
714
|
-
if (stableJson(existing) !== stableJson(draft)) {
|
|
715
|
-
throw new Error(`Remote Dispatch Outbox eventId payload conflict: ${draft.eventId}`);
|
|
716
|
-
}
|
|
717
|
-
continue;
|
|
718
|
-
}
|
|
719
|
-
byId.set(draft.eventId, draft);
|
|
720
|
-
result.push(draft);
|
|
721
|
-
}
|
|
722
|
-
return Object.freeze(result);
|
|
723
|
-
}
|
|
724
|
-
function assertContiguous(events) {
|
|
725
|
-
events.forEach((event, index) => {
|
|
726
|
-
if (event.sequence !== index)
|
|
727
|
-
throw new Error('Remote Dispatch Outbox sequence is not contiguous');
|
|
728
|
-
});
|
|
729
|
-
}
|
|
730
|
-
function digest(value) {
|
|
731
|
-
return createHash('sha256').update(value).digest('hex');
|
|
732
|
-
}
|
|
733
|
-
function identifier(value, name) {
|
|
734
|
-
if (typeof value !== 'string' || !value.trim())
|
|
735
|
-
throw new Error(`Invalid ${name}`);
|
|
736
|
-
return value;
|
|
737
|
-
}
|
|
738
|
-
function sha(value, name) {
|
|
739
|
-
const normalized = identifier(value, name);
|
|
740
|
-
if (!/^sha256:[a-f0-9]{64}$/u.test(normalized))
|
|
741
|
-
throw new Error(`Invalid ${name}`);
|
|
742
|
-
return normalized;
|
|
743
|
-
}
|
|
744
|
-
function timestamp(value, name) {
|
|
745
|
-
if (!Number.isFinite(value) || value < 0)
|
|
746
|
-
throw new Error(`Invalid ${name}`);
|
|
747
|
-
return value;
|
|
748
|
-
}
|
|
749
|
-
function sequence(value, name) {
|
|
750
|
-
if (!Number.isSafeInteger(value) || value < -1)
|
|
751
|
-
throw new Error(`Invalid ${name}`);
|
|
752
|
-
return value;
|
|
753
|
-
}
|
|
754
|
-
function positiveSequence(value, name) {
|
|
755
|
-
if (!Number.isSafeInteger(value) || value < 1)
|
|
756
|
-
throw new Error(`Invalid ${name}`);
|
|
757
|
-
return value;
|
|
758
|
-
}
|
|
759
|
-
function fail(message) {
|
|
760
|
-
throw new Error(message);
|
|
761
|
-
}
|
|
762
|
-
function isMissingFile(error) {
|
|
763
|
-
return error instanceof Error && 'code' in error && error.code === 'ENOENT';
|
|
764
|
-
}
|
|
765
|
-
function isAlreadyExists(error) {
|
|
766
|
-
return error instanceof Error && 'code' in error && error.code === 'EEXIST';
|
|
767
|
-
}
|
|
768
|
-
//# sourceMappingURL=remote-dispatch-outbox.js.map
|