@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,660 +0,0 @@
|
|
|
1
|
-
import { canonicalWorkroomJson, compareCanonicalWorkroomText, deepFreezeWorkroomValue as deepFreeze, digestCanonicalWorkroomValue, } from './canonical-value.js';
|
|
2
|
-
export function parseWorkroomDispatchTaskDecision(value) {
|
|
3
|
-
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
4
|
-
throw new Error('Workroom Scheduler dispatch decision shape is invalid');
|
|
5
|
-
}
|
|
6
|
-
const input = value;
|
|
7
|
-
const actualKeys = Object.keys(input).sort();
|
|
8
|
-
const expectedKeys = [
|
|
9
|
-
'decisionId', 'digest', 'expectedSequence', 'policy', 'projectId', 'reason',
|
|
10
|
-
'role', 'runId', 'sponsorLane', 'taskKey', 'taskRevision', 'type', 'version',
|
|
11
|
-
].sort();
|
|
12
|
-
if (actualKeys.length !== expectedKeys.length
|
|
13
|
-
|| actualKeys.some((key, index) => key !== expectedKeys[index])) {
|
|
14
|
-
throw new Error('Workroom Scheduler dispatch decision keys are invalid');
|
|
15
|
-
}
|
|
16
|
-
if (input.version !== 1 || input.type !== 'dispatch_task') {
|
|
17
|
-
throw new Error('Workroom Scheduler dispatch decision version/type is invalid');
|
|
18
|
-
}
|
|
19
|
-
const body = deepFreeze({
|
|
20
|
-
version: 1,
|
|
21
|
-
type: 'dispatch_task',
|
|
22
|
-
projectId: text(input.projectId, 'Scheduler decision projectId'),
|
|
23
|
-
runId: text(input.runId, 'Scheduler decision runId'),
|
|
24
|
-
expectedSequence: nonNegativeInteger(input.expectedSequence, 'Scheduler decision expectedSequence'),
|
|
25
|
-
taskKey: text(input.taskKey, 'Scheduler decision taskKey'),
|
|
26
|
-
taskRevision: positiveInteger(input.taskRevision, 'Scheduler decision taskRevision'),
|
|
27
|
-
role: text(input.role, 'Scheduler decision role'),
|
|
28
|
-
sponsorLane: lane(input.sponsorLane),
|
|
29
|
-
reason: schedulerReason(input.reason),
|
|
30
|
-
policy: {
|
|
31
|
-
ref: text(input.policy?.ref, 'Scheduler decision policy ref'),
|
|
32
|
-
revision: positiveInteger(input.policy?.revision, 'Scheduler decision policy revision'),
|
|
33
|
-
digest: canonicalDigest(input.policy?.digest, 'Scheduler decision policy digest'),
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
const digest = digestCanonicalWorkroomValue(body);
|
|
37
|
-
const expectedId = `scheduler:${digest.slice('sha256:'.length)}`;
|
|
38
|
-
if (input.digest !== digest || input.decisionId !== expectedId) {
|
|
39
|
-
throw new Error('Workroom Scheduler dispatch decision digest/identity is invalid');
|
|
40
|
-
}
|
|
41
|
-
return deepFreeze({ ...body, digest, decisionId: expectedId });
|
|
42
|
-
}
|
|
43
|
-
export function parseWorkroomPreemptionPrepareDecision(value) {
|
|
44
|
-
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
45
|
-
throw new Error('Workroom preemption prepare decision shape is invalid');
|
|
46
|
-
}
|
|
47
|
-
const input = value;
|
|
48
|
-
const actualKeys = Object.keys(input).sort();
|
|
49
|
-
const expectedKeys = [
|
|
50
|
-
'allowedSuccessors', 'assignmentAttempt', 'assignmentEnvelopeDigest', 'assignmentFence',
|
|
51
|
-
'assignmentId', 'deadline', 'decisionId', 'digest', 'expectedSequence', 'owner', 'policy',
|
|
52
|
-
'projectId', 'reason', 'requestedAt', 'reservedTaskKey', 'reservedTaskRevision', 'runId',
|
|
53
|
-
'takeoverFence', 'type', 'version', 'victimTaskKey', 'victimTaskRevision',
|
|
54
|
-
].sort();
|
|
55
|
-
if (actualKeys.length !== expectedKeys.length
|
|
56
|
-
|| actualKeys.some((key, index) => key !== expectedKeys[index])) {
|
|
57
|
-
throw new Error('Workroom preemption prepare decision keys are invalid');
|
|
58
|
-
}
|
|
59
|
-
const body = deepFreeze({
|
|
60
|
-
version: 1,
|
|
61
|
-
type: 'prepare_preemption',
|
|
62
|
-
projectId: text(input.projectId, 'Preemption projectId'),
|
|
63
|
-
runId: text(input.runId, 'Preemption runId'),
|
|
64
|
-
expectedSequence: nonNegativeInteger(input.expectedSequence, 'Preemption expectedSequence'),
|
|
65
|
-
victimTaskKey: text(input.victimTaskKey, 'Preemption victimTaskKey'),
|
|
66
|
-
victimTaskRevision: positiveInteger(input.victimTaskRevision, 'Preemption victimTaskRevision'),
|
|
67
|
-
reservedTaskKey: text(input.reservedTaskKey, 'Preemption reservedTaskKey'),
|
|
68
|
-
reservedTaskRevision: positiveInteger(input.reservedTaskRevision, 'Preemption reservedTaskRevision'),
|
|
69
|
-
assignmentId: text(input.assignmentId, 'Preemption assignmentId'),
|
|
70
|
-
assignmentAttempt: positiveInteger(input.assignmentAttempt, 'Preemption assignmentAttempt'),
|
|
71
|
-
assignmentFence: positiveInteger(input.assignmentFence, 'Preemption assignmentFence'),
|
|
72
|
-
assignmentEnvelopeDigest: canonicalDigest(input.assignmentEnvelopeDigest, 'Preemption Envelope digest'),
|
|
73
|
-
owner: text(input.owner, 'Preemption owner'),
|
|
74
|
-
requestedAt: finiteTime(input.requestedAt, 'Preemption requestedAt'),
|
|
75
|
-
deadline: finiteTime(input.deadline, 'Preemption deadline'),
|
|
76
|
-
takeoverFence: positiveInteger(input.takeoverFence, 'Preemption takeoverFence'),
|
|
77
|
-
reason: preemptionReason(input.reason),
|
|
78
|
-
allowedSuccessors: ['replan', 'cancel_run'],
|
|
79
|
-
policy: {
|
|
80
|
-
ref: text(input.policy?.ref, 'Preemption policy ref'),
|
|
81
|
-
revision: positiveInteger(input.policy?.revision, 'Preemption policy revision'),
|
|
82
|
-
digest: canonicalDigest(input.policy?.digest, 'Preemption policy digest'),
|
|
83
|
-
},
|
|
84
|
-
});
|
|
85
|
-
if (body.deadline <= body.requestedAt || body.takeoverFence !== body.assignmentFence + 1
|
|
86
|
-
|| canonicalWorkroomJson(input.allowedSuccessors) !== canonicalWorkroomJson(body.allowedSuccessors)) {
|
|
87
|
-
throw new Error('Workroom preemption deadline/fence/successors are invalid');
|
|
88
|
-
}
|
|
89
|
-
const digest = digestCanonicalWorkroomValue(body);
|
|
90
|
-
const decisionId = `scheduler-preemption:${digest.slice('sha256:'.length)}`;
|
|
91
|
-
if (input.digest !== digest || input.decisionId !== decisionId) {
|
|
92
|
-
throw new Error('Workroom preemption prepare decision digest/identity is invalid');
|
|
93
|
-
}
|
|
94
|
-
return deepFreeze({ ...body, digest, decisionId });
|
|
95
|
-
}
|
|
96
|
-
const LANE_ORDER = Object.freeze({
|
|
97
|
-
urgent: 0,
|
|
98
|
-
high: 1,
|
|
99
|
-
normal: 2,
|
|
100
|
-
low: 3,
|
|
101
|
-
});
|
|
102
|
-
export function createWorkroomSchedulerPolicySnapshot(input) {
|
|
103
|
-
text(input.policyRef, 'Scheduler policyRef');
|
|
104
|
-
positiveInteger(input.revision, 'Scheduler policy revision');
|
|
105
|
-
nonNegativeInteger(input.pinnedAtSequence, 'Scheduler policy pinnedAtSequence');
|
|
106
|
-
positiveInteger(input.capacity, 'Scheduler capacity');
|
|
107
|
-
positiveInteger(input.agingStepMs, 'Scheduler agingStepMs');
|
|
108
|
-
positiveInteger(input.preemptionDeadlineMs, 'Scheduler preemptionDeadlineMs');
|
|
109
|
-
const starvationBoundMs = deepFreeze({
|
|
110
|
-
urgent: positiveInteger(input.starvationBoundMs?.urgent, 'Scheduler urgent starvation bound'),
|
|
111
|
-
high: positiveInteger(input.starvationBoundMs?.high, 'Scheduler high starvation bound'),
|
|
112
|
-
normal: positiveInteger(input.starvationBoundMs?.normal, 'Scheduler normal starvation bound'),
|
|
113
|
-
low: positiveInteger(input.starvationBoundMs?.low, 'Scheduler low starvation bound'),
|
|
114
|
-
});
|
|
115
|
-
const body = deepFreeze({
|
|
116
|
-
version: 1,
|
|
117
|
-
comparatorVersion: 1,
|
|
118
|
-
policyRef: input.policyRef,
|
|
119
|
-
revision: input.revision,
|
|
120
|
-
pinnedAtSequence: input.pinnedAtSequence,
|
|
121
|
-
capacity: input.capacity,
|
|
122
|
-
agingStepMs: input.agingStepMs,
|
|
123
|
-
starvationBoundMs,
|
|
124
|
-
preemptionDeadlineMs: input.preemptionDeadlineMs,
|
|
125
|
-
});
|
|
126
|
-
return deepFreeze({ ...body, digest: digestCanonicalWorkroomValue(body) });
|
|
127
|
-
}
|
|
128
|
-
export function assertWorkroomSchedulerPolicySnapshot(value, pinnedAtSequence) {
|
|
129
|
-
if (!value || value.version !== 1 || value.comparatorVersion !== 1) {
|
|
130
|
-
throw new Error('Workroom Scheduler Policy Snapshot shape is invalid');
|
|
131
|
-
}
|
|
132
|
-
const rebuilt = createWorkroomSchedulerPolicySnapshot(value);
|
|
133
|
-
if (rebuilt.digest !== value.digest) {
|
|
134
|
-
throw new Error('Workroom Scheduler Policy Snapshot digest does not match its canonical body');
|
|
135
|
-
}
|
|
136
|
-
if (pinnedAtSequence !== undefined && value.pinnedAtSequence !== pinnedAtSequence) {
|
|
137
|
-
throw new Error('Workroom Scheduler Policy Snapshot is pinned at another Journal sequence');
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
/** Pure `Journal facts + pinned policy -> one typed decision` boundary. */
|
|
141
|
-
export function decideWorkroomSchedule(events) {
|
|
142
|
-
const state = projectScheduler(events);
|
|
143
|
-
if (state.cancelRequested || state.replanRequested)
|
|
144
|
-
return null;
|
|
145
|
-
assertWaitRecoveryMetadata(state.tasks);
|
|
146
|
-
const used = state.activeAssignments.size + state.pendingDispatches.size;
|
|
147
|
-
const candidates = [...state.tasks.values()].filter(task => task.status === 'ready'
|
|
148
|
-
&& !state.pendingDispatches.has(task.key)
|
|
149
|
-
&& task.dependsOn.every(key => state.tasks.get(key)?.status === 'accepted'));
|
|
150
|
-
const selected = candidates.sort((left, right) => compareTasks(state, left, right))[0];
|
|
151
|
-
if (!selected)
|
|
152
|
-
return null;
|
|
153
|
-
if (used >= state.policy.capacity) {
|
|
154
|
-
if (state.pendingPreemptionDecisionId)
|
|
155
|
-
return null;
|
|
156
|
-
const incomingStarved = isStarved(state, selected);
|
|
157
|
-
const victims = [...state.activeAssignments.entries()].flatMap(([assignmentId, assignment]) => {
|
|
158
|
-
const task = state.tasks.get(assignment.taskKey);
|
|
159
|
-
if (!task || assignment.status !== 'running' || task.preemptibility !== 'checkpointable')
|
|
160
|
-
return [];
|
|
161
|
-
if (!incomingStarved && LANE_ORDER[selected.sponsorLane] >= LANE_ORDER[task.sponsorLane])
|
|
162
|
-
return [];
|
|
163
|
-
return [{ assignmentId, assignment, task }];
|
|
164
|
-
}).sort((left, right) => {
|
|
165
|
-
const laneOrder = LANE_ORDER[right.task.sponsorLane] - LANE_ORDER[left.task.sponsorLane];
|
|
166
|
-
if (laneOrder !== 0)
|
|
167
|
-
return laneOrder;
|
|
168
|
-
return compareCanonicalWorkroomText(left.task.key, right.task.key);
|
|
169
|
-
});
|
|
170
|
-
const victim = victims[0];
|
|
171
|
-
if (!victim)
|
|
172
|
-
return null;
|
|
173
|
-
const body = deepFreeze({
|
|
174
|
-
version: 1,
|
|
175
|
-
type: 'prepare_preemption',
|
|
176
|
-
projectId: state.projectId,
|
|
177
|
-
runId: state.runId,
|
|
178
|
-
expectedSequence: state.sequence,
|
|
179
|
-
victimTaskKey: victim.task.key,
|
|
180
|
-
victimTaskRevision: victim.task.revision,
|
|
181
|
-
reservedTaskKey: selected.key,
|
|
182
|
-
reservedTaskRevision: selected.revision,
|
|
183
|
-
assignmentId: victim.assignmentId,
|
|
184
|
-
assignmentAttempt: victim.assignment.attempt,
|
|
185
|
-
assignmentFence: victim.assignment.fence,
|
|
186
|
-
assignmentEnvelopeDigest: victim.assignment.envelopeDigest,
|
|
187
|
-
owner: victim.assignment.owner,
|
|
188
|
-
requestedAt: state.now,
|
|
189
|
-
deadline: state.now + state.policy.preemptionDeadlineMs,
|
|
190
|
-
takeoverFence: victim.assignment.fence + 1,
|
|
191
|
-
reason: incomingStarved ? 'starvation_bound' : 'higher_priority',
|
|
192
|
-
allowedSuccessors: ['replan', 'cancel_run'],
|
|
193
|
-
policy: {
|
|
194
|
-
ref: state.policy.policyRef,
|
|
195
|
-
revision: state.policy.revision,
|
|
196
|
-
digest: state.policy.digest,
|
|
197
|
-
},
|
|
198
|
-
});
|
|
199
|
-
const digest = digestCanonicalWorkroomValue(body);
|
|
200
|
-
return deepFreeze({
|
|
201
|
-
...body,
|
|
202
|
-
decisionId: `scheduler-preemption:${digest.slice('sha256:'.length)}`,
|
|
203
|
-
digest,
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
const reason = state.reservedTaskKey === selected.key
|
|
207
|
-
? 'preemption_reservation'
|
|
208
|
-
: isStarved(state, selected) ? 'starvation_bound' : 'scheduler_order';
|
|
209
|
-
const body = deepFreeze({
|
|
210
|
-
version: 1,
|
|
211
|
-
type: 'dispatch_task',
|
|
212
|
-
projectId: state.projectId,
|
|
213
|
-
runId: state.runId,
|
|
214
|
-
expectedSequence: state.sequence,
|
|
215
|
-
taskKey: selected.key,
|
|
216
|
-
taskRevision: selected.revision,
|
|
217
|
-
role: selected.role,
|
|
218
|
-
sponsorLane: selected.sponsorLane,
|
|
219
|
-
reason,
|
|
220
|
-
policy: {
|
|
221
|
-
ref: state.policy.policyRef,
|
|
222
|
-
revision: state.policy.revision,
|
|
223
|
-
digest: state.policy.digest,
|
|
224
|
-
},
|
|
225
|
-
});
|
|
226
|
-
const digest = digestCanonicalWorkroomValue(body);
|
|
227
|
-
return deepFreeze({
|
|
228
|
-
...body,
|
|
229
|
-
decisionId: `scheduler:${digest.slice('sha256:'.length)}`,
|
|
230
|
-
digest,
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* Creates a typed proposal only. The Sponsor/Orchestrator principal and
|
|
235
|
-
* authorityRef must be injected by a trusted role-scoped command port before
|
|
236
|
-
* a Kernel CAS adapter may persist it.
|
|
237
|
-
*/
|
|
238
|
-
export function proposeWorkroomPriorityChange(input) {
|
|
239
|
-
for (const [value, label] of [
|
|
240
|
-
[input.projectId, 'projectId'], [input.runId, 'runId'], [input.taskKey, 'taskKey'],
|
|
241
|
-
[input.principalId, 'principalId'], [input.authorityRef, 'authorityRef'],
|
|
242
|
-
])
|
|
243
|
-
text(value, `Priority change ${label}`);
|
|
244
|
-
positiveInteger(input.taskRevision, 'Priority change taskRevision');
|
|
245
|
-
nonNegativeInteger(input.expectedSequence, 'Priority change expectedSequence');
|
|
246
|
-
nonNegativeInteger(input.localRank, 'Priority change localRank');
|
|
247
|
-
finiteTime(input.deadline, 'Priority change deadline');
|
|
248
|
-
lane(input.currentLane);
|
|
249
|
-
lane(input.requestedLane);
|
|
250
|
-
if (input.authority === 'orchestrator' && input.requestedLane !== input.currentLane) {
|
|
251
|
-
throw new Error('Orchestrator cannot move a Task across Sponsor lanes');
|
|
252
|
-
}
|
|
253
|
-
const body = deepFreeze({
|
|
254
|
-
version: 1,
|
|
255
|
-
type: 'priority_change',
|
|
256
|
-
...structuredClone(input),
|
|
257
|
-
owner: input.principalId,
|
|
258
|
-
allowedSuccessors: ['restore', 'rebase', 'cancel_run'],
|
|
259
|
-
});
|
|
260
|
-
const digest = digestCanonicalWorkroomValue(body);
|
|
261
|
-
return deepFreeze({
|
|
262
|
-
...body,
|
|
263
|
-
proposalId: `scheduler-priority:${digest.slice('sha256:'.length)}`,
|
|
264
|
-
digest,
|
|
265
|
-
});
|
|
266
|
-
}
|
|
267
|
-
export function parseWorkroomPriorityChangeProposal(value) {
|
|
268
|
-
if (!value || typeof value !== 'object' || Array.isArray(value)) {
|
|
269
|
-
throw new Error('Workroom priority change proposal shape is invalid');
|
|
270
|
-
}
|
|
271
|
-
const input = value;
|
|
272
|
-
const rebuilt = proposeWorkroomPriorityChange({
|
|
273
|
-
projectId: input.projectId,
|
|
274
|
-
runId: input.runId,
|
|
275
|
-
taskKey: input.taskKey,
|
|
276
|
-
taskRevision: input.taskRevision,
|
|
277
|
-
expectedSequence: input.expectedSequence,
|
|
278
|
-
currentLane: input.currentLane,
|
|
279
|
-
requestedLane: input.requestedLane,
|
|
280
|
-
localRank: input.localRank,
|
|
281
|
-
principalId: input.principalId,
|
|
282
|
-
authority: input.authority,
|
|
283
|
-
authorityRef: input.authorityRef,
|
|
284
|
-
deadline: input.deadline,
|
|
285
|
-
});
|
|
286
|
-
if (canonicalWorkroomJson(rebuilt) !== canonicalWorkroomJson(input)) {
|
|
287
|
-
throw new Error('Workroom priority change proposal is not canonical');
|
|
288
|
-
}
|
|
289
|
-
return rebuilt;
|
|
290
|
-
}
|
|
291
|
-
export function getWorkroomScheduledTaskSnapshot(events, taskKey) {
|
|
292
|
-
const task = projectScheduler(events).tasks.get(text(taskKey, 'Scheduled Task key'));
|
|
293
|
-
if (!task)
|
|
294
|
-
throw new Error(`Scheduled Task ${taskKey} not found`);
|
|
295
|
-
return deepFreeze({
|
|
296
|
-
taskRevision: task.revision,
|
|
297
|
-
sponsorLane: task.sponsorLane,
|
|
298
|
-
localRank: task.localRank,
|
|
299
|
-
});
|
|
300
|
-
}
|
|
301
|
-
export function getWorkroomScheduledTaskCapacitySnapshot(events, taskKey) {
|
|
302
|
-
const task = projectScheduler(events).tasks.get(text(taskKey, 'Scheduled Task key'));
|
|
303
|
-
if (!task)
|
|
304
|
-
throw new Error(`Scheduled Task ${taskKey} not found`);
|
|
305
|
-
return deepFreeze({
|
|
306
|
-
taskKey: task.key,
|
|
307
|
-
taskRevision: task.revision,
|
|
308
|
-
role: task.role,
|
|
309
|
-
preemptibility: task.preemptibility,
|
|
310
|
-
status: task.status,
|
|
311
|
-
});
|
|
312
|
-
}
|
|
313
|
-
function projectScheduler(events) {
|
|
314
|
-
const created = events[0];
|
|
315
|
-
if (!created || created.sequence !== 0 || created.type !== 'run.created') {
|
|
316
|
-
throw new Error('Workroom Scheduler requires a Run Journal beginning at sequence 0');
|
|
317
|
-
}
|
|
318
|
-
const tasks = new Map();
|
|
319
|
-
const activeAssignments = new Map();
|
|
320
|
-
const pendingDispatches = new Set();
|
|
321
|
-
let policy;
|
|
322
|
-
let now = created.occurredAt;
|
|
323
|
-
let cancelRequested = false;
|
|
324
|
-
let replanRequested = false;
|
|
325
|
-
let reservedTaskKey;
|
|
326
|
-
let pendingPreemptionDecisionId;
|
|
327
|
-
for (const [index, event] of events.entries()) {
|
|
328
|
-
if (event.runId !== created.runId || event.sequence !== index) {
|
|
329
|
-
throw new Error('Workroom Scheduler Journal scope/sequence is not contiguous');
|
|
330
|
-
}
|
|
331
|
-
now = event.type === 'clock.advanced'
|
|
332
|
-
? finiteTime(event.payload.now, 'Scheduler clock')
|
|
333
|
-
: Math.max(now, finiteTime(event.occurredAt, 'Scheduler event time'));
|
|
334
|
-
switch (event.type) {
|
|
335
|
-
case 'plan.admitted': {
|
|
336
|
-
if (policy)
|
|
337
|
-
throw new Error('Workroom Scheduler Policy Snapshot is duplicated');
|
|
338
|
-
const plan = event.payload.plan && typeof event.payload.plan === 'object'
|
|
339
|
-
? event.payload.plan
|
|
340
|
-
: undefined;
|
|
341
|
-
const candidate = (event.payload.schedulerPolicy ?? plan?.schedulerPolicy);
|
|
342
|
-
if (!candidate)
|
|
343
|
-
throw new Error('Workroom Scheduler Policy Snapshot is not pinned');
|
|
344
|
-
assertWorkroomSchedulerPolicySnapshot(candidate, event.sequence);
|
|
345
|
-
policy = candidate;
|
|
346
|
-
break;
|
|
347
|
-
}
|
|
348
|
-
case 'run.cancel_requested':
|
|
349
|
-
case 'run.cancelled':
|
|
350
|
-
cancelRequested = true;
|
|
351
|
-
break;
|
|
352
|
-
case 'run.replan_requested':
|
|
353
|
-
replanRequested = true;
|
|
354
|
-
break;
|
|
355
|
-
case 'plan.revision_applied':
|
|
356
|
-
replanRequested = false;
|
|
357
|
-
break;
|
|
358
|
-
case 'task.planned': {
|
|
359
|
-
const key = text(event.payload.taskKey, 'Scheduled Task key');
|
|
360
|
-
if (tasks.has(key))
|
|
361
|
-
throw new Error(`Scheduled Task ${key} is duplicated`);
|
|
362
|
-
tasks.set(key, Object.freeze({
|
|
363
|
-
key,
|
|
364
|
-
revision: 1,
|
|
365
|
-
role: text(event.payload.role, `Scheduled Task ${key} role`),
|
|
366
|
-
sponsorLane: lane(event.payload.sponsorLane),
|
|
367
|
-
localRank: nonNegativeInteger(event.payload.localRank, `Scheduled Task ${key} localRank`),
|
|
368
|
-
...(event.payload.deadline === undefined
|
|
369
|
-
? {}
|
|
370
|
-
: { deadline: finiteTime(event.payload.deadline, `Scheduled Task ${key} deadline`) }),
|
|
371
|
-
enqueuedAt: finiteTime(event.payload.enqueuedAt, `Scheduled Task ${key} enqueuedAt`),
|
|
372
|
-
enqueueSequence: event.sequence,
|
|
373
|
-
dependsOn: stringList(event.payload.dependsOn, `Scheduled Task ${key} dependsOn`),
|
|
374
|
-
preemptibility: preemptibility(event.payload.preemptibility),
|
|
375
|
-
status: 'ready',
|
|
376
|
-
blockers: new Map(),
|
|
377
|
-
}));
|
|
378
|
-
break;
|
|
379
|
-
}
|
|
380
|
-
case 'task.blocked': {
|
|
381
|
-
const task = requireTask(tasks, event.payload.taskKey);
|
|
382
|
-
const blockers = new Map(task.blockers);
|
|
383
|
-
blockers.set(text(event.payload.blockerId, 'Task Blocker id'), Object.freeze({
|
|
384
|
-
owner: typeof event.payload.owner === 'string' ? event.payload.owner : '',
|
|
385
|
-
deadline: typeof event.payload.deadline === 'number' ? event.payload.deadline : Number.NaN,
|
|
386
|
-
allowedSuccessors: Array.isArray(event.payload.allowedActions)
|
|
387
|
-
? event.payload.allowedActions.map(String)
|
|
388
|
-
: ['resolve', 'replan', 'cancel'],
|
|
389
|
-
}));
|
|
390
|
-
tasks.set(task.key, Object.freeze({ ...task, status: 'blocked', blockers }));
|
|
391
|
-
break;
|
|
392
|
-
}
|
|
393
|
-
case 'task.blocker_resolved': {
|
|
394
|
-
const task = requireTask(tasks, event.payload.taskKey);
|
|
395
|
-
const blockers = new Map(task.blockers);
|
|
396
|
-
blockers.delete(String(event.payload.blockerId));
|
|
397
|
-
tasks.set(task.key, Object.freeze({
|
|
398
|
-
...task,
|
|
399
|
-
status: blockers.size === 0 ? 'ready' : 'blocked',
|
|
400
|
-
enqueuedAt: blockers.size === 0 ? event.occurredAt : task.enqueuedAt,
|
|
401
|
-
enqueueSequence: blockers.size === 0 ? event.sequence : task.enqueueSequence,
|
|
402
|
-
blockers,
|
|
403
|
-
}));
|
|
404
|
-
break;
|
|
405
|
-
}
|
|
406
|
-
case 'assignment.claimed': {
|
|
407
|
-
const assignmentId = text(event.payload.assignmentId, 'Assignment id');
|
|
408
|
-
const task = requireTask(tasks, event.payload.taskKey);
|
|
409
|
-
activeAssignments.set(assignmentId, {
|
|
410
|
-
taskKey: task.key,
|
|
411
|
-
status: 'leased',
|
|
412
|
-
attempt: positiveInteger(event.payload.attempt, 'Assignment attempt'),
|
|
413
|
-
fence: positiveInteger(event.payload.fence, 'Assignment fence'),
|
|
414
|
-
envelopeDigest: canonicalDigest(event.payload.envelopeDigest, 'Assignment Envelope digest'),
|
|
415
|
-
owner: text(event.payload.owner, 'Assignment owner'),
|
|
416
|
-
});
|
|
417
|
-
pendingDispatches.delete(task.key);
|
|
418
|
-
tasks.set(task.key, Object.freeze({ ...task, status: 'executing' }));
|
|
419
|
-
break;
|
|
420
|
-
}
|
|
421
|
-
case 'assignment.started': {
|
|
422
|
-
const assignment = activeAssignments.get(String(event.payload.assignmentId));
|
|
423
|
-
if (assignment)
|
|
424
|
-
activeAssignments.set(String(event.payload.assignmentId), { ...assignment, status: 'running' });
|
|
425
|
-
break;
|
|
426
|
-
}
|
|
427
|
-
case 'assignment.execution_completed': {
|
|
428
|
-
const assignment = activeAssignments.get(String(event.payload.assignmentId));
|
|
429
|
-
if (assignment) {
|
|
430
|
-
activeAssignments.delete(String(event.payload.assignmentId));
|
|
431
|
-
const task = requireTask(tasks, assignment.taskKey);
|
|
432
|
-
tasks.set(task.key, Object.freeze({ ...task, status: 'awaiting_acceptance' }));
|
|
433
|
-
}
|
|
434
|
-
break;
|
|
435
|
-
}
|
|
436
|
-
case 'assignment.cancelled':
|
|
437
|
-
case 'assignment.preempted':
|
|
438
|
-
case 'assignment.lease_expired': {
|
|
439
|
-
const assignment = activeAssignments.get(String(event.payload.assignmentId));
|
|
440
|
-
if (assignment) {
|
|
441
|
-
activeAssignments.delete(String(event.payload.assignmentId));
|
|
442
|
-
const task = requireTask(tasks, assignment.taskKey);
|
|
443
|
-
tasks.set(task.key, Object.freeze({
|
|
444
|
-
...task, status: 'ready', enqueuedAt: event.occurredAt, enqueueSequence: event.sequence,
|
|
445
|
-
}));
|
|
446
|
-
}
|
|
447
|
-
break;
|
|
448
|
-
}
|
|
449
|
-
case 'task.accepted':
|
|
450
|
-
setTaskStatus(tasks, event.payload.taskKey, 'accepted');
|
|
451
|
-
break;
|
|
452
|
-
case 'task.failed':
|
|
453
|
-
setTaskStatus(tasks, event.payload.taskKey, 'failed');
|
|
454
|
-
break;
|
|
455
|
-
case 'task.cancelled':
|
|
456
|
-
setTaskStatus(tasks, event.payload.taskKey, 'cancelled');
|
|
457
|
-
break;
|
|
458
|
-
case 'task.rework_requested':
|
|
459
|
-
case 'task.revised': {
|
|
460
|
-
const task = requireTask(tasks, event.payload.taskKey);
|
|
461
|
-
tasks.set(task.key, Object.freeze({
|
|
462
|
-
...task,
|
|
463
|
-
revision: task.revision + 1,
|
|
464
|
-
status: 'ready',
|
|
465
|
-
enqueuedAt: event.occurredAt,
|
|
466
|
-
enqueueSequence: event.sequence,
|
|
467
|
-
}));
|
|
468
|
-
break;
|
|
469
|
-
}
|
|
470
|
-
case 'task.plan_revised': {
|
|
471
|
-
const task = requireTask(tasks, event.payload.taskKey);
|
|
472
|
-
if (Number(event.payload.expectedTaskRevision) !== task.revision
|
|
473
|
-
|| Number(event.payload.newTaskRevision) !== task.revision + 1) {
|
|
474
|
-
throw new Error('Persisted Plan Revision targets another Task revision');
|
|
475
|
-
}
|
|
476
|
-
tasks.set(task.key, Object.freeze({
|
|
477
|
-
...task,
|
|
478
|
-
revision: task.revision + 1,
|
|
479
|
-
role: text(event.payload.role, `Scheduled Task ${task.key} role`),
|
|
480
|
-
sponsorLane: lane(event.payload.sponsorLane),
|
|
481
|
-
localRank: nonNegativeInteger(event.payload.localRank, `Scheduled Task ${task.key} localRank`),
|
|
482
|
-
deadline: finiteTime(event.payload.deadline, `Scheduled Task ${task.key} deadline`),
|
|
483
|
-
enqueuedAt: finiteTime(event.payload.enqueuedAt, `Scheduled Task ${task.key} enqueuedAt`),
|
|
484
|
-
enqueueSequence: event.sequence,
|
|
485
|
-
dependsOn: stringList(event.payload.dependsOn, `Scheduled Task ${task.key} dependsOn`),
|
|
486
|
-
preemptibility: preemptibility(event.payload.preemptibility),
|
|
487
|
-
status: 'ready',
|
|
488
|
-
blockers: new Map(),
|
|
489
|
-
}));
|
|
490
|
-
break;
|
|
491
|
-
}
|
|
492
|
-
case 'scheduler.priority_changed': {
|
|
493
|
-
if (finiteTime(event.payload.deadline, 'Persisted priority deadline') <= now) {
|
|
494
|
-
throw new Error('Workroom priority proposal is expired');
|
|
495
|
-
}
|
|
496
|
-
const task = requireTask(tasks, event.payload.taskKey);
|
|
497
|
-
if (Number(event.payload.taskRevision) !== task.revision) {
|
|
498
|
-
throw new Error('Persisted Workroom priority change targets another Task revision');
|
|
499
|
-
}
|
|
500
|
-
tasks.set(task.key, Object.freeze({
|
|
501
|
-
...task,
|
|
502
|
-
sponsorLane: lane(event.payload.requestedLane),
|
|
503
|
-
localRank: nonNegativeInteger(event.payload.localRank, 'Persisted priority localRank'),
|
|
504
|
-
}));
|
|
505
|
-
break;
|
|
506
|
-
}
|
|
507
|
-
case 'scheduler.dispatch_requested':
|
|
508
|
-
pendingDispatches.add(text(event.payload.taskKey, 'Scheduler dispatch Task key'));
|
|
509
|
-
break;
|
|
510
|
-
case 'scheduler.preemption_requested':
|
|
511
|
-
reservedTaskKey = text(event.payload.reservedTaskKey, 'Scheduler reserved Task key');
|
|
512
|
-
pendingPreemptionDecisionId = text(event.payload.decisionId, 'Scheduler preemption decision id');
|
|
513
|
-
break;
|
|
514
|
-
case 'scheduler.preemption_checkpoint_acknowledged':
|
|
515
|
-
if (event.payload.decisionId === pendingPreemptionDecisionId) {
|
|
516
|
-
pendingPreemptionDecisionId = undefined;
|
|
517
|
-
}
|
|
518
|
-
break;
|
|
519
|
-
case 'scheduler.preemption_timed_out':
|
|
520
|
-
if (event.payload.decisionId === pendingPreemptionDecisionId) {
|
|
521
|
-
pendingPreemptionDecisionId = undefined;
|
|
522
|
-
reservedTaskKey = undefined;
|
|
523
|
-
}
|
|
524
|
-
break;
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
if (!policy)
|
|
528
|
-
throw new Error('Workroom Scheduler Policy Snapshot is not pinned');
|
|
529
|
-
return Object.freeze({
|
|
530
|
-
runId: created.runId,
|
|
531
|
-
projectId: text(created.payload.projectId, 'Workroom Project id'),
|
|
532
|
-
sequence: events.at(-1).sequence,
|
|
533
|
-
now,
|
|
534
|
-
cancelRequested,
|
|
535
|
-
replanRequested,
|
|
536
|
-
policy,
|
|
537
|
-
tasks,
|
|
538
|
-
activeAssignments,
|
|
539
|
-
pendingDispatches,
|
|
540
|
-
...(reservedTaskKey === undefined ? {} : { reservedTaskKey }),
|
|
541
|
-
...(pendingPreemptionDecisionId === undefined ? {} : { pendingPreemptionDecisionId }),
|
|
542
|
-
});
|
|
543
|
-
}
|
|
544
|
-
function compareTasks(state, left, right) {
|
|
545
|
-
const leftReserved = left.key === state.reservedTaskKey;
|
|
546
|
-
const rightReserved = right.key === state.reservedTaskKey;
|
|
547
|
-
if (leftReserved !== rightReserved)
|
|
548
|
-
return leftReserved ? -1 : 1;
|
|
549
|
-
const leftStarved = isStarved(state, left);
|
|
550
|
-
const rightStarved = isStarved(state, right);
|
|
551
|
-
if (leftStarved !== rightStarved)
|
|
552
|
-
return leftStarved ? -1 : 1;
|
|
553
|
-
if (leftStarved && rightStarved) {
|
|
554
|
-
const leftAt = left.enqueuedAt + state.policy.starvationBoundMs[left.sponsorLane];
|
|
555
|
-
const rightAt = right.enqueuedAt + state.policy.starvationBoundMs[right.sponsorLane];
|
|
556
|
-
if (leftAt !== rightAt)
|
|
557
|
-
return leftAt - rightAt;
|
|
558
|
-
}
|
|
559
|
-
const laneOrder = LANE_ORDER[left.sponsorLane] - LANE_ORDER[right.sponsorLane];
|
|
560
|
-
if (laneOrder !== 0)
|
|
561
|
-
return laneOrder;
|
|
562
|
-
const leftDeadline = left.deadline ?? Number.POSITIVE_INFINITY;
|
|
563
|
-
const rightDeadline = right.deadline ?? Number.POSITIVE_INFINITY;
|
|
564
|
-
if (leftDeadline !== rightDeadline)
|
|
565
|
-
return leftDeadline - rightDeadline;
|
|
566
|
-
const rank = effectiveRank(state, right) - effectiveRank(state, left);
|
|
567
|
-
if (rank !== 0)
|
|
568
|
-
return rank;
|
|
569
|
-
if (left.enqueueSequence !== right.enqueueSequence) {
|
|
570
|
-
return left.enqueueSequence - right.enqueueSequence;
|
|
571
|
-
}
|
|
572
|
-
return compareCanonicalWorkroomText(left.key, right.key);
|
|
573
|
-
}
|
|
574
|
-
function effectiveRank(state, task) {
|
|
575
|
-
return task.localRank + Math.floor(Math.max(0, state.now - task.enqueuedAt) / state.policy.agingStepMs);
|
|
576
|
-
}
|
|
577
|
-
function isStarved(state, task) {
|
|
578
|
-
return state.now - task.enqueuedAt >= state.policy.starvationBoundMs[task.sponsorLane];
|
|
579
|
-
}
|
|
580
|
-
function assertWaitRecoveryMetadata(tasks) {
|
|
581
|
-
for (const task of tasks.values()) {
|
|
582
|
-
for (const blocker of task.blockers.values()) {
|
|
583
|
-
if (!blocker.owner.trim() || !Number.isFinite(blocker.deadline) || blocker.deadline < 0
|
|
584
|
-
|| blocker.allowedSuccessors.length === 0
|
|
585
|
-
|| !blocker.allowedSuccessors.includes('cancel')) {
|
|
586
|
-
throw new Error('Workroom wait requires owner, deadline and allowed successors including cancel');
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
function setTaskStatus(tasks, key, status) {
|
|
592
|
-
const task = requireTask(tasks, key);
|
|
593
|
-
tasks.set(task.key, Object.freeze({ ...task, status }));
|
|
594
|
-
}
|
|
595
|
-
function requireTask(tasks, key) {
|
|
596
|
-
const id = text(key, 'Scheduled Task key');
|
|
597
|
-
const task = tasks.get(id);
|
|
598
|
-
if (!task)
|
|
599
|
-
throw new Error(`Scheduled Task ${id} is absent from the admitted Plan`);
|
|
600
|
-
return task;
|
|
601
|
-
}
|
|
602
|
-
function lane(value) {
|
|
603
|
-
if (!['urgent', 'high', 'normal', 'low'].includes(String(value))) {
|
|
604
|
-
throw new Error('Workroom Sponsor lane is invalid');
|
|
605
|
-
}
|
|
606
|
-
return value;
|
|
607
|
-
}
|
|
608
|
-
function preemptibility(value) {
|
|
609
|
-
if (value !== 'checkpointable' && value !== 'atomic') {
|
|
610
|
-
throw new Error('Workroom Task preemptibility is invalid');
|
|
611
|
-
}
|
|
612
|
-
return value;
|
|
613
|
-
}
|
|
614
|
-
function schedulerReason(value) {
|
|
615
|
-
if (!['scheduler_order', 'starvation_bound', 'preemption_reservation'].includes(String(value))) {
|
|
616
|
-
throw new Error('Workroom Scheduler dispatch reason is invalid');
|
|
617
|
-
}
|
|
618
|
-
return value;
|
|
619
|
-
}
|
|
620
|
-
function preemptionReason(value) {
|
|
621
|
-
if (value !== 'higher_priority' && value !== 'starvation_bound') {
|
|
622
|
-
throw new Error('Workroom preemption reason is invalid');
|
|
623
|
-
}
|
|
624
|
-
return value;
|
|
625
|
-
}
|
|
626
|
-
function canonicalDigest(value, label) {
|
|
627
|
-
if (typeof value !== 'string' || !/^sha256:[a-f0-9]{64}$/u.test(value)) {
|
|
628
|
-
throw new Error(`${label} must be a canonical SHA-256 digest`);
|
|
629
|
-
}
|
|
630
|
-
return value;
|
|
631
|
-
}
|
|
632
|
-
function text(value, label) {
|
|
633
|
-
if (typeof value !== 'string' || !value.trim() || value !== value.trim()) {
|
|
634
|
-
throw new Error(`${label} is required`);
|
|
635
|
-
}
|
|
636
|
-
return value;
|
|
637
|
-
}
|
|
638
|
-
function stringList(value, label) {
|
|
639
|
-
if (!Array.isArray(value) || value.some(item => typeof item !== 'string' || !item.trim())) {
|
|
640
|
-
throw new Error(`${label} must be a string list`);
|
|
641
|
-
}
|
|
642
|
-
return Object.freeze([...new Set(value)].sort());
|
|
643
|
-
}
|
|
644
|
-
function positiveInteger(value, label) {
|
|
645
|
-
if (!Number.isSafeInteger(value) || Number(value) < 1)
|
|
646
|
-
throw new Error(`${label} must be a positive safe integer`);
|
|
647
|
-
return Number(value);
|
|
648
|
-
}
|
|
649
|
-
function nonNegativeInteger(value, label) {
|
|
650
|
-
if (!Number.isSafeInteger(value) || Number(value) < 0)
|
|
651
|
-
throw new Error(`${label} must be a non-negative safe integer`);
|
|
652
|
-
return Number(value);
|
|
653
|
-
}
|
|
654
|
-
function finiteTime(value, label) {
|
|
655
|
-
if (typeof value !== 'number' || !Number.isFinite(value) || value < 0) {
|
|
656
|
-
throw new Error(`${label} must be a non-negative finite timestamp`);
|
|
657
|
-
}
|
|
658
|
-
return value;
|
|
659
|
-
}
|
|
660
|
-
//# sourceMappingURL=workroom-scheduler.js.map
|