@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,257 +0,0 @@
|
|
|
1
|
-
import { canonicalWorkroomJson, deepFreezeWorkroomValue as deepFreeze, digestCanonicalWorkroomValue as digest, } from './canonical-value.js';
|
|
2
|
-
export function createGitWorkspaceLease(input) {
|
|
3
|
-
const expectedBranch = `refs/heads/zhin/${required(input.runId, 'runId')}/${required(input.assignmentId, 'assignmentId')}/attempt-${positive(input.attempt, 'attempt')}`;
|
|
4
|
-
const repositoryId = required(input.repository?.id, 'repository id');
|
|
5
|
-
if (!/^github:[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/u.test(repositoryId)) {
|
|
6
|
-
throw new Error('Git Workspace canonical repository ID is invalid');
|
|
7
|
-
}
|
|
8
|
-
if (repositoryId.slice('github:'.length).split('/').some(part => part === '.' || part === '..')) {
|
|
9
|
-
throw new Error('Git Workspace canonical repository ID is invalid');
|
|
10
|
-
}
|
|
11
|
-
if (repositoryId !== repositoryId.toLowerCase()) {
|
|
12
|
-
throw new Error('Git Workspace canonical repository ID must be lowercase');
|
|
13
|
-
}
|
|
14
|
-
const targetRef = branchRef(input.targetRef, 'targetRef');
|
|
15
|
-
const attemptBranch = branchRef(input.attemptBranch, 'attemptBranch');
|
|
16
|
-
if (attemptBranch !== expectedBranch || attemptBranch === targetRef) {
|
|
17
|
-
throw new Error('Git Workspace attempt branch is not the exact per-attempt branch');
|
|
18
|
-
}
|
|
19
|
-
if (!Array.isArray(input.pathScopes) || input.pathScopes.length === 0) {
|
|
20
|
-
throw new Error('Git Workspace requires explicit path scope');
|
|
21
|
-
}
|
|
22
|
-
const pathScopes = Object.freeze(input.pathScopes.map(scope => canonicalPath(scope, 'path scope')).sort());
|
|
23
|
-
if (new Set(pathScopes).size !== pathScopes.length)
|
|
24
|
-
throw new Error('Git Workspace path scopes contain duplicates');
|
|
25
|
-
const body = deepFreeze({
|
|
26
|
-
version: 1,
|
|
27
|
-
leaseRef: required(input.leaseRef, 'leaseRef'),
|
|
28
|
-
projectId: required(input.projectId, 'projectId'),
|
|
29
|
-
runId: input.runId,
|
|
30
|
-
taskKey: required(input.taskKey, 'taskKey'),
|
|
31
|
-
taskRevision: positive(input.taskRevision, 'taskRevision'),
|
|
32
|
-
assignmentId: input.assignmentId,
|
|
33
|
-
attempt: input.attempt,
|
|
34
|
-
fence: positive(input.fence, 'fence'),
|
|
35
|
-
repository: deepFreeze({
|
|
36
|
-
id: repositoryId,
|
|
37
|
-
bindingRef: required(input.repository.bindingRef, 'repository bindingRef'),
|
|
38
|
-
bindingDigest: requiredDigest(input.repository.bindingDigest, 'repository bindingDigest'),
|
|
39
|
-
}),
|
|
40
|
-
baseSha: gitSha(input.baseSha, 'baseSha'),
|
|
41
|
-
...(input.checkpointSha === undefined
|
|
42
|
-
? {}
|
|
43
|
-
: { checkpointSha: gitSha(input.checkpointSha, 'checkpointSha') }),
|
|
44
|
-
targetRef,
|
|
45
|
-
attemptBranch,
|
|
46
|
-
pathScopes,
|
|
47
|
-
mode: enumValue(input.mode, ['branch_only', 'pull_request'], 'workspace mode'),
|
|
48
|
-
expiresAt: positive(input.expiresAt, 'expiresAt'),
|
|
49
|
-
});
|
|
50
|
-
return deepFreeze({ ...body, digest: digest(body) });
|
|
51
|
-
}
|
|
52
|
-
/** The only component that sees credentials; callers supply only an immutable lease. */
|
|
53
|
-
export class GitWorkspaceGateway {
|
|
54
|
-
options;
|
|
55
|
-
#generation;
|
|
56
|
-
#now;
|
|
57
|
-
constructor(options) {
|
|
58
|
-
this.options = options;
|
|
59
|
-
this.#generation = positive(options.generation, 'generation');
|
|
60
|
-
this.#now = options.now ?? Date.now;
|
|
61
|
-
}
|
|
62
|
-
async push(input, signal) {
|
|
63
|
-
signal.throwIfAborted();
|
|
64
|
-
const lease = assertLease(input.lease);
|
|
65
|
-
this.#assertActive(lease);
|
|
66
|
-
assertFence(lease, input.fence);
|
|
67
|
-
if (input.ref === lease.targetRef)
|
|
68
|
-
throw new Error('Git Workspace Gateway forbids canonical target push');
|
|
69
|
-
if (input.ref !== lease.attemptBranch)
|
|
70
|
-
throw new Error('Git Workspace Gateway push ref is outside the lease');
|
|
71
|
-
if (input.force !== false)
|
|
72
|
-
throw new Error('Force push is forbidden');
|
|
73
|
-
assertChangedPaths(input.changedPaths, lease.pathScopes);
|
|
74
|
-
const headSha = gitSha(input.headSha, 'push headSha');
|
|
75
|
-
const credential = await this.#credential(lease, 'git_push', signal);
|
|
76
|
-
const request = deepFreeze({
|
|
77
|
-
operationId: required(input.operationId, 'operationId'),
|
|
78
|
-
repositoryId: lease.repository.id,
|
|
79
|
-
ref: lease.attemptBranch,
|
|
80
|
-
headSha,
|
|
81
|
-
force: false,
|
|
82
|
-
baseSha: lease.baseSha,
|
|
83
|
-
pathScopes: lease.pathScopes,
|
|
84
|
-
idempotencyKey: `git-push:${lease.digest}:${input.operationId}`,
|
|
85
|
-
});
|
|
86
|
-
const receipt = await this.options.transport.push(request, credential, signal);
|
|
87
|
-
signal.throwIfAborted();
|
|
88
|
-
return validatePushReceipt(receipt, request);
|
|
89
|
-
}
|
|
90
|
-
async openPullRequest(input, signal) {
|
|
91
|
-
signal.throwIfAborted();
|
|
92
|
-
const lease = assertLease(input.lease);
|
|
93
|
-
this.#assertActive(lease);
|
|
94
|
-
assertFence(lease, input.fence);
|
|
95
|
-
if (lease.mode !== 'pull_request')
|
|
96
|
-
throw new Error('Git Workspace lease does not allow Pull Requests');
|
|
97
|
-
if (input.headRef !== lease.attemptBranch || input.baseRef !== lease.targetRef) {
|
|
98
|
-
throw new Error('Pull Request refs are outside the exact Git Workspace lease');
|
|
99
|
-
}
|
|
100
|
-
const headSha = gitSha(input.headSha, 'Pull Request headSha');
|
|
101
|
-
const credential = await this.#credential(lease, 'git_open_pr', signal);
|
|
102
|
-
const request = deepFreeze({
|
|
103
|
-
operationId: required(input.operationId, 'operationId'),
|
|
104
|
-
repositoryId: lease.repository.id,
|
|
105
|
-
headRef: lease.attemptBranch,
|
|
106
|
-
baseRef: lease.targetRef,
|
|
107
|
-
baseSha: lease.baseSha,
|
|
108
|
-
pathScopes: lease.pathScopes,
|
|
109
|
-
headSha,
|
|
110
|
-
idempotencyKey: `git-pr:${lease.digest}:${input.operationId}`,
|
|
111
|
-
});
|
|
112
|
-
const receipt = await this.options.transport.openPullRequest(request, credential, signal);
|
|
113
|
-
signal.throwIfAborted();
|
|
114
|
-
return validatePullRequestReceipt(receipt, request);
|
|
115
|
-
}
|
|
116
|
-
async cancel(input, signal) {
|
|
117
|
-
signal.throwIfAborted();
|
|
118
|
-
const lease = assertLease(input.lease);
|
|
119
|
-
this.#assertActive(lease);
|
|
120
|
-
assertFence(lease, input.fence);
|
|
121
|
-
const operationId = required(input.operationId, 'operationId');
|
|
122
|
-
const remoteOperationId = required(input.remoteOperationId, 'remoteOperationId');
|
|
123
|
-
const credential = await this.#credential(lease, 'git_cancel_remote', signal);
|
|
124
|
-
const receipt = await this.options.transport.cancel(deepFreeze({
|
|
125
|
-
operationId,
|
|
126
|
-
repositoryId: lease.repository.id,
|
|
127
|
-
remoteOperationId,
|
|
128
|
-
idempotencyKey: `git-cancel:${lease.digest}:${operationId}`,
|
|
129
|
-
}), credential, signal);
|
|
130
|
-
signal.throwIfAborted();
|
|
131
|
-
validateProvider(receipt.provider);
|
|
132
|
-
if (receipt.repositoryId !== lease.repository.id
|
|
133
|
-
|| receipt.remoteOperationId !== remoteOperationId) {
|
|
134
|
-
throw new Error('Git cancel receipt binding drift');
|
|
135
|
-
}
|
|
136
|
-
required(receipt.receiptRef, 'cancel receiptRef');
|
|
137
|
-
requiredDigest(receipt.receiptDigest, 'cancel receiptDigest');
|
|
138
|
-
return deepFreeze({
|
|
139
|
-
provider: receipt.provider,
|
|
140
|
-
repositoryId: lease.repository.id,
|
|
141
|
-
remoteOperationId,
|
|
142
|
-
acknowledged: receipt.acknowledged === true,
|
|
143
|
-
externalReceiptRef: receipt.receiptRef,
|
|
144
|
-
externalReceiptDigest: receipt.receiptDigest,
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
async #credential(lease, operation, signal) {
|
|
148
|
-
const credential = await this.options.credentials.resolve({
|
|
149
|
-
generation: this.#generation,
|
|
150
|
-
leaseDigest: lease.digest,
|
|
151
|
-
repositoryId: lease.repository.id,
|
|
152
|
-
bindingRef: lease.repository.bindingRef,
|
|
153
|
-
bindingDigest: lease.repository.bindingDigest,
|
|
154
|
-
operation,
|
|
155
|
-
}, signal);
|
|
156
|
-
required(credential?.credentialId, 'credentialId');
|
|
157
|
-
required(credential?.secret, 'credential secret');
|
|
158
|
-
positive(credential?.expiresAt, 'credential expiresAt');
|
|
159
|
-
if (credential.expiresAt <= this.#now())
|
|
160
|
-
throw new Error('Git Workspace credential is expired');
|
|
161
|
-
signal.throwIfAborted();
|
|
162
|
-
this.#assertActive(lease);
|
|
163
|
-
return credential;
|
|
164
|
-
}
|
|
165
|
-
#assertActive(lease) {
|
|
166
|
-
if (lease.expiresAt <= this.#now())
|
|
167
|
-
throw new Error('Git Workspace Lease is expired');
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
function validatePushReceipt(receipt, input) {
|
|
171
|
-
validateProvider(receipt.provider);
|
|
172
|
-
if (receipt.repositoryId !== input.repositoryId || receipt.ref !== input.ref
|
|
173
|
-
|| receipt.headSha !== input.headSha) {
|
|
174
|
-
throw new Error('Git push receipt binding drift');
|
|
175
|
-
}
|
|
176
|
-
required(receipt.externalReceiptRef, 'push externalReceiptRef');
|
|
177
|
-
requiredDigest(receipt.externalReceiptDigest, 'push externalReceiptDigest');
|
|
178
|
-
return deepFreeze(receipt);
|
|
179
|
-
}
|
|
180
|
-
function validatePullRequestReceipt(receipt, input) {
|
|
181
|
-
validateProvider(receipt.provider);
|
|
182
|
-
if (receipt.repositoryId !== input.repositoryId || receipt.headRef !== input.headRef
|
|
183
|
-
|| receipt.baseRef !== input.baseRef || receipt.prHeadSha !== input.headSha) {
|
|
184
|
-
throw new Error('Pull Request receipt head SHA or ref binding drift');
|
|
185
|
-
}
|
|
186
|
-
required(receipt.prRef, 'Pull Request ref');
|
|
187
|
-
requiredDigest(receipt.externalReceiptDigest, 'Pull Request externalReceiptDigest');
|
|
188
|
-
return deepFreeze(receipt);
|
|
189
|
-
}
|
|
190
|
-
function validateProvider(value) {
|
|
191
|
-
required(value?.id, 'provider id');
|
|
192
|
-
requiredDigest(value?.digest, 'provider digest');
|
|
193
|
-
}
|
|
194
|
-
function assertLease(value) {
|
|
195
|
-
const canonical = createGitWorkspaceLease(value);
|
|
196
|
-
if (value.digest !== canonical.digest
|
|
197
|
-
|| canonicalWorkroomJson(value) !== canonicalWorkroomJson(canonical)) {
|
|
198
|
-
throw new Error('Git Workspace Lease digest drift');
|
|
199
|
-
}
|
|
200
|
-
return canonical;
|
|
201
|
-
}
|
|
202
|
-
function assertFence(lease, fence) {
|
|
203
|
-
if (fence !== lease.fence)
|
|
204
|
-
throw new Error('Git Workspace fence is stale');
|
|
205
|
-
}
|
|
206
|
-
function assertChangedPaths(paths, scopes) {
|
|
207
|
-
if (!Array.isArray(paths) || paths.length === 0)
|
|
208
|
-
throw new Error('Git push requires changed paths');
|
|
209
|
-
for (const path of paths) {
|
|
210
|
-
const canonical = canonicalPath(path, 'changed path');
|
|
211
|
-
if (!scopes.some(scope => canonical === scope
|
|
212
|
-
|| (scope.endsWith('/') && canonical.startsWith(scope)))) {
|
|
213
|
-
throw new Error(`Git changed path is outside lease path scope: ${canonical}`);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
function canonicalPath(value, label) {
|
|
218
|
-
const path = required(value, label);
|
|
219
|
-
if (path.startsWith('/') || path.includes('\\') || path.split('/').some(part => part === '..' || part === '.')) {
|
|
220
|
-
throw new Error(`${label} is not a canonical repository path`);
|
|
221
|
-
}
|
|
222
|
-
return path;
|
|
223
|
-
}
|
|
224
|
-
function branchRef(value, label) {
|
|
225
|
-
const ref = required(value, label);
|
|
226
|
-
if (!/^refs\/heads\/[A-Za-z0-9._/-]+$/u.test(ref) || ref.includes('..')
|
|
227
|
-
|| ref.includes('//') || ref.endsWith('/')) {
|
|
228
|
-
throw new Error(`${label} is not a canonical branch ref`);
|
|
229
|
-
}
|
|
230
|
-
return ref;
|
|
231
|
-
}
|
|
232
|
-
function gitSha(value, label) {
|
|
233
|
-
if (typeof value !== 'string' || !/^(?:[a-f0-9]{40}|[a-f0-9]{64})$/u.test(value))
|
|
234
|
-
throw new Error(`${label} is invalid`);
|
|
235
|
-
return value;
|
|
236
|
-
}
|
|
237
|
-
function requiredDigest(value, label) {
|
|
238
|
-
if (typeof value !== 'string' || !/^sha256:[a-f0-9]{64}$/u.test(value))
|
|
239
|
-
throw new Error(`${label} is invalid`);
|
|
240
|
-
return value;
|
|
241
|
-
}
|
|
242
|
-
function required(value, label) {
|
|
243
|
-
if (typeof value !== 'string' || !value.trim() || value !== value.trim())
|
|
244
|
-
throw new Error(`${label} is invalid`);
|
|
245
|
-
return value;
|
|
246
|
-
}
|
|
247
|
-
function positive(value, label) {
|
|
248
|
-
if (!Number.isSafeInteger(value) || Number(value) < 1)
|
|
249
|
-
throw new Error(`${label} is invalid`);
|
|
250
|
-
return Number(value);
|
|
251
|
-
}
|
|
252
|
-
function enumValue(value, allowed, label) {
|
|
253
|
-
if (!allowed.includes(value))
|
|
254
|
-
throw new Error(`${label} is invalid`);
|
|
255
|
-
return value;
|
|
256
|
-
}
|
|
257
|
-
//# sourceMappingURL=git-workspace-gateway.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"git-workspace-gateway.js","sourceRoot":"","sources":["../../src/workroom/git-workspace-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,uBAAuB,IAAI,UAAU,EACrC,4BAA4B,IAAI,MAAM,GACvC,MAAM,sBAAsB,CAAC;AAkH9B,MAAM,UAAU,uBAAuB,CAAC,KAA6B;IACnE,MAAM,cAAc,GAAG,mBAAmB,QAAQ,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,YAAY,EAAE,cAAc,CAAC,YAAY,QAAQ,CAAC,KAAK,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC;IACzK,MAAM,YAAY,GAAG,QAAQ,CAAC,KAAK,CAAC,UAAU,EAAE,EAAE,EAAE,eAAe,CAAC,CAAC;IACrE,IAAI,CAAC,4CAA4C,CAAC,IAAI,CAAC,YAAY,CAAC,EA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,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,aAAa,CAAC,CAAC;IAC1E,OAAO,KAAU,CAAC;AACpB,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { GitWorkspaceCredential, GitWorkspaceTransportPort, GitPushTransportInput, GitPullRequestTransportInput, GitPushReceipt, GitPullRequestReceipt } from './git-workspace-gateway.js';
|
|
2
|
-
export interface GitHubWorkspaceTransportOptions {
|
|
3
|
-
/** Trusted host configuration, never a URL supplied by a task or tool. */
|
|
4
|
-
readonly apiBaseUrl?: string;
|
|
5
|
-
readonly fetch?: typeof globalThis.fetch;
|
|
6
|
-
}
|
|
7
|
-
/** A failed/ambiguous write must be reconciled by reads; this transport never retries writes. */
|
|
8
|
-
export declare class GitHubWorkspaceHttpError extends Error {
|
|
9
|
-
readonly status: number;
|
|
10
|
-
constructor(status: number);
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Publishes refs to commits already present on GitHub; does not upload local Git objects.
|
|
14
|
-
* Instantiate per generation and place behind GitWorkspaceGateway, never expose it as a tool.
|
|
15
|
-
* REST does not provide compare-and-swap PR creation: verify returned refs/SHA and fail closed.
|
|
16
|
-
*/
|
|
17
|
-
export declare class GitHubWorkspaceTransport implements GitWorkspaceTransportPort {
|
|
18
|
-
#private;
|
|
19
|
-
readonly provider: Readonly<{
|
|
20
|
-
id: string;
|
|
21
|
-
digest: string;
|
|
22
|
-
}>;
|
|
23
|
-
constructor(options?: GitHubWorkspaceTransportOptions);
|
|
24
|
-
push(input: GitPushTransportInput, credential: GitWorkspaceCredential, signal: AbortSignal): Promise<GitPushReceipt>;
|
|
25
|
-
queryPush(input: GitPushTransportInput, credential: GitWorkspaceCredential, signal: AbortSignal): Promise<GitPushReceipt | undefined>;
|
|
26
|
-
openPullRequest(input: GitPullRequestTransportInput, credential: GitWorkspaceCredential, signal: AbortSignal): Promise<GitPullRequestReceipt>;
|
|
27
|
-
queryPullRequest(input: GitPullRequestTransportInput, credential: GitWorkspaceCredential, signal: AbortSignal): Promise<GitPullRequestReceipt | undefined>;
|
|
28
|
-
cancel(_input: Parameters<GitWorkspaceTransportPort['cancel']>[0], _credential: GitWorkspaceCredential, signal: AbortSignal): Promise<Awaited<ReturnType<GitWorkspaceTransportPort['cancel']>>>;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=github-workspace-transport.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"github-workspace-transport.d.ts","sourceRoot":"","sources":["../../src/workroom/github-workspace-transport.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,sBAAsB,EAAE,yBAAyB,EAAE,qBAAqB,EACxE,4BAA4B,EAAE,cAAc,EAAE,qBAAqB,EACpE,MAAM,4BAA4B,CAAC;AAEpC,MAAM,WAAW,+BAA+B;IAC9C,0EAA0E;IAC1E,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,UAAU,CAAC,KAAK,CAAC;CAC1C;AAED,iGAAiG;AACjG,qBAAa,wBAAyB,SAAQ,KAAK;IACrC,QAAQ,CAAC,MAAM,EAAE,MAAM;gBAAd,MAAM,EAAE,MAAM;CAIpC;AAID;;;;GAIG;AACH,qBAAa,wBAAyB,YAAW,yBAAyB;;IACxE,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;gBAIhD,OAAO,GAAE,+BAAoC;IAUnD,IAAI,CAAC,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,cAAc,CAAC;IAepH,SAAS,CAAC,KAAK,EAAE,qBAAqB,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;IAUrI,eAAe,CAAC,KAAK,EAAE,4BAA4B,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,qBAAqB,CAAC;IAgB7I,gBAAgB,CAAC,KAAK,EAAE,4BAA4B,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,qBAAqB,GAAG,SAAS,CAAC;IA2B1J,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;CAsFtM"}
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
import { digestCanonicalWorkroomValue as digest, deepFreezeWorkroomValue as freeze } from './canonical-value.js';
|
|
2
|
-
/** A failed/ambiguous write must be reconciled by reads; this transport never retries writes. */
|
|
3
|
-
export class GitHubWorkspaceHttpError extends Error {
|
|
4
|
-
status;
|
|
5
|
-
constructor(status) {
|
|
6
|
-
super(`GitHub Workspace HTTP ${status}; reconcile before retrying a write`);
|
|
7
|
-
this.status = status;
|
|
8
|
-
this.name = 'GitHubWorkspaceHttpError';
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Publishes refs to commits already present on GitHub; does not upload local Git objects.
|
|
13
|
-
* Instantiate per generation and place behind GitWorkspaceGateway, never expose it as a tool.
|
|
14
|
-
* REST does not provide compare-and-swap PR creation: verify returned refs/SHA and fail closed.
|
|
15
|
-
*/
|
|
16
|
-
export class GitHubWorkspaceTransport {
|
|
17
|
-
provider;
|
|
18
|
-
#base;
|
|
19
|
-
#fetch;
|
|
20
|
-
constructor(options = {}) {
|
|
21
|
-
const url = new URL(options.apiBaseUrl ?? 'https://api.github.com');
|
|
22
|
-
if (url.protocol !== 'https:' || url.username || url.password || url.search || url.hash) {
|
|
23
|
-
throw new Error('GitHub Workspace API base must be a trusted HTTPS URL');
|
|
24
|
-
}
|
|
25
|
-
this.#base = url.href.replace(/\/$/u, '');
|
|
26
|
-
this.#fetch = options.fetch ?? globalThis.fetch;
|
|
27
|
-
this.provider = freeze({ id: 'github', digest: digest({ transport: 'github-rest-workspace-v1', apiBaseUrl: this.#base }) });
|
|
28
|
-
}
|
|
29
|
-
async push(input, credential, signal) {
|
|
30
|
-
const path = repositoryPath(input.repositoryId);
|
|
31
|
-
refName(input.ref);
|
|
32
|
-
sha(input.headSha);
|
|
33
|
-
sha(input.baseSha);
|
|
34
|
-
if (input.force !== false)
|
|
35
|
-
throw new Error('Force push is forbidden');
|
|
36
|
-
await this.#verifyDiff(input, credential, signal);
|
|
37
|
-
const current = await this.#readRef(input.repositoryId, input.ref, credential, signal);
|
|
38
|
-
if (current && object(current.object).sha === input.headSha)
|
|
39
|
-
return this.#pushReceipt(input, current);
|
|
40
|
-
const response = current
|
|
41
|
-
? await this.#request(`${path}/git/refs/${encodeRef(input.ref)}`, credential, signal, 'PATCH', { sha: input.headSha, force: false })
|
|
42
|
-
: await this.#request(`${path}/git/refs`, credential, signal, 'POST', { ref: input.ref, sha: input.headSha });
|
|
43
|
-
return this.#pushReceipt(input, object(response));
|
|
44
|
-
}
|
|
45
|
-
async queryPush(input, credential, signal) {
|
|
46
|
-
sha(input.headSha);
|
|
47
|
-
const current = await this.#readRef(input.repositoryId, input.ref, credential, signal);
|
|
48
|
-
// Absence or a moved ref does not prove that an earlier write did not commit.
|
|
49
|
-
if (!current || object(current.object).sha !== input.headSha)
|
|
50
|
-
return undefined;
|
|
51
|
-
// Recovery may run after the durable attempt but before execution ever verified the diff.
|
|
52
|
-
await this.#verifyDiff(input, credential, signal);
|
|
53
|
-
return this.#pushReceipt(input, current);
|
|
54
|
-
}
|
|
55
|
-
async openPullRequest(input, credential, signal) {
|
|
56
|
-
const existing = await this.queryPullRequest(input, credential, signal);
|
|
57
|
-
if (existing)
|
|
58
|
-
return existing;
|
|
59
|
-
await this.#verifyDiff(input, credential, signal);
|
|
60
|
-
const head = await this.#readRef(input.repositoryId, input.headRef, credential, signal);
|
|
61
|
-
if (!head || object(head.object).sha !== input.headSha)
|
|
62
|
-
throw new Error('GitHub PR head SHA drift before creation');
|
|
63
|
-
const response = await this.#request(`${repositoryPath(input.repositoryId)}/pulls`, credential, signal, 'POST', {
|
|
64
|
-
title: `Workroom: ${refName(input.headRef)}`,
|
|
65
|
-
body: marker(input),
|
|
66
|
-
head: refName(input.headRef),
|
|
67
|
-
base: refName(input.baseRef),
|
|
68
|
-
draft: true,
|
|
69
|
-
});
|
|
70
|
-
return this.#pullRequestReceipt(input, object(response));
|
|
71
|
-
}
|
|
72
|
-
async queryPullRequest(input, credential, signal) {
|
|
73
|
-
const path = repositoryPath(input.repositoryId);
|
|
74
|
-
sha(input.headSha);
|
|
75
|
-
const owner = input.repositoryId.slice('github:'.length).split('/')[0];
|
|
76
|
-
const search = new URLSearchParams({ state: 'all', head: `${owner}:${refName(input.headRef)}`, base: refName(input.baseRef), per_page: '100' });
|
|
77
|
-
// Explicit page traversal rather than following provider-supplied URLs with credentials.
|
|
78
|
-
for (let page = 1; page <= 100; page += 1) {
|
|
79
|
-
search.set('page', String(page));
|
|
80
|
-
const rows = await this.#request(`${path}/pulls?${search}`, credential, signal);
|
|
81
|
-
if (!Array.isArray(rows))
|
|
82
|
-
throw new Error('GitHub PR list response is invalid');
|
|
83
|
-
for (const raw of rows) {
|
|
84
|
-
const row = object(raw);
|
|
85
|
-
if (typeof row.body === 'string' && row.body.includes(marker(input))) {
|
|
86
|
-
const receipt = this.#pullRequestReceipt(input, row);
|
|
87
|
-
await this.#verifyDiff(input, credential, signal);
|
|
88
|
-
return receipt;
|
|
89
|
-
}
|
|
90
|
-
// Another operation owns this branch pair. Do not silently adopt or duplicate it.
|
|
91
|
-
if (object(row.head).ref === refName(input.headRef) && object(row.base).ref === refName(input.baseRef)) {
|
|
92
|
-
throw new Error('GitHub PR already exists with a different operation binding');
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
if (rows.length < 100)
|
|
96
|
-
return undefined;
|
|
97
|
-
}
|
|
98
|
-
throw new Error('GitHub PR lookup pagination limit reached; outcome remains unknown');
|
|
99
|
-
}
|
|
100
|
-
async cancel(_input, _credential, signal) {
|
|
101
|
-
signal.throwIfAborted();
|
|
102
|
-
// Closing a PR or deleting a branch is compensation, not cancellation of an HTTP write.
|
|
103
|
-
throw new Error('GitHub synchronous writes cannot be cancelled; reconcile the original operation');
|
|
104
|
-
}
|
|
105
|
-
async #verifyDiff(input, credential, signal) {
|
|
106
|
-
const path = repositoryPath(input.repositoryId);
|
|
107
|
-
sha(input.baseSha);
|
|
108
|
-
sha(input.headSha);
|
|
109
|
-
// Read the actual immutable Git diff; the worker-supplied changedPaths is not evidence.
|
|
110
|
-
const comparison = object(await this.#request(`${path}/compare/${input.baseSha}...${input.headSha}`, credential, signal));
|
|
111
|
-
if (comparison.status !== 'ahead' || object(comparison.base_commit).sha !== input.baseSha
|
|
112
|
-
|| object(comparison.merge_base_commit).sha !== input.baseSha) {
|
|
113
|
-
throw new Error('GitHub candidate must descend from the exact workspace base SHA');
|
|
114
|
-
}
|
|
115
|
-
if (!Array.isArray(comparison.files) || comparison.files.length === 0 || comparison.files.length >= 300) {
|
|
116
|
-
// GitHub caps compare files at 300, even with pagination. Never authorize a truncated diff.
|
|
117
|
-
throw new Error('GitHub candidate diff is empty or may be truncated');
|
|
118
|
-
}
|
|
119
|
-
for (const raw of comparison.files) {
|
|
120
|
-
const file = object(raw);
|
|
121
|
-
assertPathScope(file.filename, input.pathScopes);
|
|
122
|
-
if (file.status === 'renamed')
|
|
123
|
-
assertPathScope(file.previous_filename, input.pathScopes);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
#pushReceipt(input, response) {
|
|
127
|
-
if (response.ref !== input.ref || object(response.object).sha !== input.headSha || object(response.object).type !== 'commit') {
|
|
128
|
-
throw new Error('GitHub push receipt SHA or ref binding drift');
|
|
129
|
-
}
|
|
130
|
-
return freeze({ provider: this.provider, repositoryId: input.repositoryId, ref: input.ref, headSha: input.headSha,
|
|
131
|
-
externalReceiptRef: `${this.#base}${repositoryPath(input.repositoryId)}/git/ref/${encodeRef(input.ref)}`,
|
|
132
|
-
externalReceiptDigest: digest({ operationId: input.operationId, idempotencyKey: input.idempotencyKey, repositoryId: input.repositoryId, response }),
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
#pullRequestReceipt(input, response) {
|
|
136
|
-
const head = object(response.head);
|
|
137
|
-
const base = object(response.base);
|
|
138
|
-
const repo = input.repositoryId.slice('github:'.length);
|
|
139
|
-
if (head.sha !== input.headSha || head.ref !== refName(input.headRef) || base.ref !== refName(input.baseRef)
|
|
140
|
-
|| String(object(head.repo).full_name).toLowerCase() !== repo || String(object(base.repo).full_name).toLowerCase() !== repo
|
|
141
|
-
|| typeof response.body !== 'string' || !response.body.includes(marker(input))
|
|
142
|
-
|| !Number.isSafeInteger(response.number) || Number(response.number) < 1) {
|
|
143
|
-
throw new Error('GitHub PR receipt repository, SHA, ref, or operation binding drift');
|
|
144
|
-
}
|
|
145
|
-
return freeze({ provider: this.provider, repositoryId: input.repositoryId,
|
|
146
|
-
prRef: `${this.#base}${repositoryPath(input.repositoryId)}/pulls/${response.number}`,
|
|
147
|
-
headRef: input.headRef, baseRef: input.baseRef, prHeadSha: input.headSha,
|
|
148
|
-
externalReceiptDigest: digest({ operationId: input.operationId, idempotencyKey: input.idempotencyKey, response }),
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
async #readRef(repositoryId, ref, credential, signal) {
|
|
152
|
-
const response = await this.#request(`${repositoryPath(repositoryId)}/git/ref/${encodeRef(ref)}`, credential, signal, 'GET', undefined, true);
|
|
153
|
-
if (response === undefined)
|
|
154
|
-
return undefined;
|
|
155
|
-
const result = object(response);
|
|
156
|
-
if (result.ref !== ref || object(result.object).type !== 'commit')
|
|
157
|
-
throw new Error('GitHub ref response binding drift');
|
|
158
|
-
return result;
|
|
159
|
-
}
|
|
160
|
-
async #request(path, credential, signal, method = 'GET', body, allowMissing = false) {
|
|
161
|
-
signal.throwIfAborted();
|
|
162
|
-
let response;
|
|
163
|
-
try {
|
|
164
|
-
response = await this.#fetch(`${this.#base}${path}`, {
|
|
165
|
-
method, signal, redirect: 'error', headers: {
|
|
166
|
-
accept: 'application/vnd.github+json', authorization: `Bearer ${credential.secret}`,
|
|
167
|
-
'X-GitHub-Api-Version': '2022-11-28', 'content-type': 'application/json',
|
|
168
|
-
}, ...(body ? { body: JSON.stringify(body) } : {}),
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
catch {
|
|
172
|
-
signal.throwIfAborted();
|
|
173
|
-
// Do not leak fetch error bodies, URLs or credential-bearing host diagnostics.
|
|
174
|
-
throw new Error('GitHub Workspace request interrupted; reconcile before retrying a write');
|
|
175
|
-
}
|
|
176
|
-
signal.throwIfAborted();
|
|
177
|
-
if (allowMissing && response.status === 404)
|
|
178
|
-
return undefined;
|
|
179
|
-
if (!response.ok)
|
|
180
|
-
throw new GitHubWorkspaceHttpError(response.status);
|
|
181
|
-
try {
|
|
182
|
-
const value = await response.json();
|
|
183
|
-
signal.throwIfAborted();
|
|
184
|
-
return value;
|
|
185
|
-
}
|
|
186
|
-
catch {
|
|
187
|
-
signal.throwIfAborted();
|
|
188
|
-
throw new Error('GitHub Workspace response is invalid JSON; reconcile before retrying a write');
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
function object(value) {
|
|
193
|
-
if (!value || typeof value !== 'object' || Array.isArray(value))
|
|
194
|
-
throw new Error('GitHub Workspace response object is invalid');
|
|
195
|
-
return value;
|
|
196
|
-
}
|
|
197
|
-
function repositoryPath(repositoryId) {
|
|
198
|
-
if (!/^github:[a-z0-9_.-]+\/[a-z0-9_.-]+$/u.test(repositoryId))
|
|
199
|
-
throw new Error('GitHub repository ID is invalid');
|
|
200
|
-
if (repositoryId.slice('github:'.length).split('/').some(part => part === '.' || part === '..'))
|
|
201
|
-
throw new Error('GitHub repository ID is invalid');
|
|
202
|
-
return `/repos/${repositoryId.slice('github:'.length).split('/').map(encodeURIComponent).join('/')}`;
|
|
203
|
-
}
|
|
204
|
-
function refName(ref) {
|
|
205
|
-
if (!/^refs\/heads\/[A-Za-z0-9._/-]+$/u.test(ref) || ref.includes('..') || ref.includes('//') || ref.endsWith('/'))
|
|
206
|
-
throw new Error('GitHub branch ref is invalid');
|
|
207
|
-
return ref.slice('refs/heads/'.length);
|
|
208
|
-
}
|
|
209
|
-
function encodeRef(ref) { return `heads/${refName(ref).split('/').map(encodeURIComponent).join('/')}`; }
|
|
210
|
-
function sha(value) {
|
|
211
|
-
if (!/^(?:[a-f0-9]{40}|[a-f0-9]{64})$/u.test(value))
|
|
212
|
-
throw new Error('GitHub exact commit SHA is invalid');
|
|
213
|
-
}
|
|
214
|
-
function marker(input) {
|
|
215
|
-
return `<!-- zhin-workroom:${digest(input)} -->`;
|
|
216
|
-
}
|
|
217
|
-
function assertPathScope(value, scopes) {
|
|
218
|
-
if (typeof value !== 'string' || !value || value.startsWith('/') || value.includes('\\')
|
|
219
|
-
|| value.split('/').some(part => !part || part === '.' || part === '..')
|
|
220
|
-
|| !scopes.some(scope => value === scope || (scope.endsWith('/') && value.startsWith(scope)))) {
|
|
221
|
-
throw new Error('GitHub actual changed path is outside the workspace lease');
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
//# sourceMappingURL=github-workspace-transport.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"github-workspace-transport.js","sourceRoot":"","sources":["../../src/workroom/github-workspace-transport.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,IAAI,MAAM,EAAE,uBAAuB,IAAI,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAYjH,iGAAiG;AACjG,MAAM,OAA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AACH,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { GovernedDisclosureBlockReason } from '../data-governance/disclosure-authority.js';
|
|
2
|
-
export type WorkroomGovernedDispatchRecoveryAction = 'rematerialize' | 'operator_repair' | 'authority_repair' | 'new_generation';
|
|
3
|
-
export interface WorkroomGovernedDispatchReason {
|
|
4
|
-
readonly version: 1;
|
|
5
|
-
readonly code: GovernedDisclosureBlockReason;
|
|
6
|
-
readonly retryable: boolean;
|
|
7
|
-
readonly action: WorkroomGovernedDispatchRecoveryAction;
|
|
8
|
-
}
|
|
9
|
-
export declare function createWorkroomGovernedDispatchReason(value: string): WorkroomGovernedDispatchReason;
|
|
10
|
-
//# sourceMappingURL=governed-dispatch-reasons.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"governed-dispatch-reasons.d.ts","sourceRoot":"","sources":["../../src/workroom/governed-dispatch-reasons.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAEhG,MAAM,MAAM,sCAAsC,GAC9C,eAAe,GACf,iBAAiB,GACjB,kBAAkB,GAClB,gBAAgB,CAAC;AAErB,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,6BAA6B,CAAC;IAC7C,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,sCAAsC,CAAC;CACzD;AAkBD,wBAAgB,oCAAoC,CAClD,KAAK,EAAE,MAAM,GACZ,8BAA8B,CAMhC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const reasons = Object.freeze({
|
|
2
|
-
project_authority_unavailable: { retryable: true, action: 'authority_repair' },
|
|
3
|
-
payload_vault_key_unavailable: { retryable: true, action: 'operator_repair' },
|
|
4
|
-
source_classification_quarantined: { retryable: false, action: 'authority_repair' },
|
|
5
|
-
source_authority_conflict: { retryable: false, action: 'rematerialize' },
|
|
6
|
-
disclosure_denied: { retryable: false, action: 'authority_repair' },
|
|
7
|
-
disclosure_approval_required: { retryable: false, action: 'rematerialize' },
|
|
8
|
-
disclosure_manifest_stale: { retryable: false, action: 'rematerialize' },
|
|
9
|
-
disclosure_manifest_expired: { retryable: false, action: 'rematerialize' },
|
|
10
|
-
disclosure_recipient_revoked: { retryable: false, action: 'rematerialize' },
|
|
11
|
-
generation_retired: { retryable: false, action: 'new_generation' },
|
|
12
|
-
});
|
|
13
|
-
export function createWorkroomGovernedDispatchReason(value) {
|
|
14
|
-
if (!Object.hasOwn(reasons, value)) {
|
|
15
|
-
throw new Error('Workroom governed dispatch reason is unknown');
|
|
16
|
-
}
|
|
17
|
-
const code = value;
|
|
18
|
-
return Object.freeze({ version: 1, code, ...reasons[code] });
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=governed-dispatch-reasons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"governed-dispatch-reasons.js","sourceRoot":"","sources":["../../src/workroom/governed-dispatch-reasons.ts"],"names":[],"mappings":"AAeA,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAGxB;IACH,6BAA6B,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,kBAAkB,EAAE;IAC9E,6BAA6B,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,iBAAiB,EAAE;IAC7E,iCAAiC,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,kBAAkB,EAAE;IACnF,yBAAyB,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE;IACxE,iBAAiB,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,kBAAkB,EAAE;IACnE,4BAA4B,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE;IAC3E,y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