@zhin.js/agent 1.1.31 → 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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { aiOutboundJsonSchema, buildAiOutboundPromptHint } from '@zhin.js/core';
|
|
5
5
|
import { formatCompact, truncatePreview, getLogger } from '@zhin.js/logger';
|
|
6
|
-
import { agentLoop, agentContextFrom, assistantText, createUserMessage, agentToolsToLlmTools } from '@zhin.js/ai';
|
|
6
|
+
import { agentLoop, agentContextFrom, assistantText, createUserMessage, agentToolsToLlmTools, createResilientCompletionPort, isProviderFailureMessage, resolveProviderConfigResilience, resolveProviderResilienceConfig } from '@zhin.js/ai';
|
|
7
7
|
import { tokenUsageToLegacy } from './agent-run-shared.js';
|
|
8
8
|
import { applyExecPolicyToTools } from '../security/exec-policy.js';
|
|
9
9
|
import { resolveModelHarness } from '../config/model-harness-runtime.js';
|
|
@@ -12,6 +12,7 @@ import { logPromptComposition } from '../internal/prompt-trace.js';
|
|
|
12
12
|
import { planToolRun } from '../tool/runtime.js';
|
|
13
13
|
import { sanitizeAssistantReply, unwrapJsonStringLayers } from './text-sanitize.js';
|
|
14
14
|
import { formatToolCallsForUser } from './tool-calls-user-format.js';
|
|
15
|
+
import { summarizeExhaustedTurn } from './exhausted-turn-reply.js';
|
|
15
16
|
import { shouldSuppressReplyForSpawnDelegation } from './spawn-delegation.js';
|
|
16
17
|
import { logPhase, tokenUsageLogFields, logAgentLoopIterationEnd } from '../internal/phase-trace.js';
|
|
17
18
|
import { buildAgentPromptCacheStreamOptions } from '../config/index.js';
|
|
@@ -22,6 +23,15 @@ import { resolveDeferredApiTools } from '../tool-catalog/tool-catalog.js';
|
|
|
22
23
|
import { createTurnEventMapperState, mapAgentEventToTurnEvents, } from './turn-event-mapper.js';
|
|
23
24
|
import { TurnJournalCommitError } from '../turn/journal-integrity.js';
|
|
24
25
|
import { ExecutableToolRegistry } from '../tool/executable-tool-registry.js';
|
|
26
|
+
import { withoutForbiddenShell } from '../plugin-runtime/native-bash-tool.js';
|
|
27
|
+
import { createMissingToolResolver } from './missing-tool-resolver.js';
|
|
28
|
+
import { DEFAULT_EXPLORATION_BUDGET, EXPLORATION_GUIDANCE, ExplorationBudget, } from './exploration-budget.js';
|
|
29
|
+
import { TurnProgressTracker, autoContinueAllowed, buildContinuationInstruction, isProgress, resolveToolBudget, } from './turn-progress.js';
|
|
30
|
+
import { TurnProgressReporter, summarizeProgress } from './progress-reporter.js';
|
|
31
|
+
import { estimatePromptTokens } from '../prompt/estimate-tokens.js';
|
|
32
|
+
import { noteTurnTrace } from '../trace/turn-trace-registry.js';
|
|
33
|
+
import { buildContextBudgetReport } from '../trace/context-budget.js';
|
|
34
|
+
import { renderDeferredToolIndex } from '../skill/capability-catalog.js';
|
|
25
35
|
const logger = getLogger('ZhinAgent:AgentLoopTurn');
|
|
26
36
|
/** 入库前解开模型误包的 JSON 字符串,避免下一轮历史继续叠转义。 */
|
|
27
37
|
function normalizeAssistantMessageText(assistant) {
|
|
@@ -36,11 +46,77 @@ function resolveAssistantReplyText(assistant) {
|
|
|
36
46
|
const text = assistantText(assistant);
|
|
37
47
|
if (text.trim())
|
|
38
48
|
return text;
|
|
49
|
+
if (assistant.errorMessage && isProviderFailureMessage(assistant.errorMessage)) {
|
|
50
|
+
return `${assistant.errorMessage}。`;
|
|
51
|
+
}
|
|
39
52
|
if (assistant.errorMessage) {
|
|
40
53
|
return `模型调用失败:${assistant.errorMessage}。请检查 API 密钥与网络后重试。`;
|
|
41
54
|
}
|
|
42
55
|
return text;
|
|
43
56
|
}
|
|
57
|
+
/** Media kinds the turn's prompt carries as real media blocks (accepted by the primary model). */
|
|
58
|
+
export function requiredTurnInputModalities(messages) {
|
|
59
|
+
const kinds = new Set();
|
|
60
|
+
for (const message of messages) {
|
|
61
|
+
if (message.role !== 'user')
|
|
62
|
+
continue;
|
|
63
|
+
const media = message.media;
|
|
64
|
+
for (const block of media ?? [])
|
|
65
|
+
kinds.add(block.type);
|
|
66
|
+
}
|
|
67
|
+
return [...kinds];
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Wrap the turn's completion port with retry / timeout / fallback. Fallback models come
|
|
71
|
+
* from the already-resolved `modelCandidates`; candidates the provider does not know are
|
|
72
|
+
* skipped rather than failing the turn, and so are candidates that cannot take the
|
|
73
|
+
* media the turn carries (an accepted image must never silently become a placeholder
|
|
74
|
+
* on fallback).
|
|
75
|
+
*/
|
|
76
|
+
function createTurnCompletionPort(input) {
|
|
77
|
+
const { host, providerAlias, modelId, sessionId } = input;
|
|
78
|
+
const requiredInput = input.requiredInput ?? [];
|
|
79
|
+
const fallbackModels = [];
|
|
80
|
+
for (const candidate of input.modelCandidates) {
|
|
81
|
+
if (!candidate || candidate === modelId)
|
|
82
|
+
continue;
|
|
83
|
+
let model;
|
|
84
|
+
try {
|
|
85
|
+
model = host.llmRuntime.model(providerAlias, candidate);
|
|
86
|
+
}
|
|
87
|
+
catch {
|
|
88
|
+
logger.debug(formatCompact({ op: 'provider_fallback_skip', model: candidate }));
|
|
89
|
+
continue;
|
|
90
|
+
}
|
|
91
|
+
const modelInput = Array.isArray(model.input) ? model.input : ['text'];
|
|
92
|
+
const missing = requiredInput.filter((kind) => !modelInput.includes(kind));
|
|
93
|
+
if (missing.length > 0) {
|
|
94
|
+
logger.debug(formatCompact({ op: 'provider_fallback_skip', model: candidate, reason: 'input_modalities', missing: missing.join(',') }));
|
|
95
|
+
continue;
|
|
96
|
+
}
|
|
97
|
+
fallbackModels.push(model);
|
|
98
|
+
}
|
|
99
|
+
// Precedence: ai.providerResilience < provider `timeout` / `maxRetries` < model harness quirks.
|
|
100
|
+
const providerConfig = host.llmRuntime.providerConfig?.(providerAlias);
|
|
101
|
+
const config = resolveProviderResilienceConfig(host.config.providerResilience, resolveProviderConfigResilience(providerConfig), {
|
|
102
|
+
emptyReplyRetries: input.harness.emptyReplyRetries,
|
|
103
|
+
requestTimeoutMs: input.harness.requestTimeoutMs,
|
|
104
|
+
});
|
|
105
|
+
return createResilientCompletionPort(host.llmRuntime, {
|
|
106
|
+
config,
|
|
107
|
+
fallbackModels,
|
|
108
|
+
timers: host.config.providerTimers,
|
|
109
|
+
onEvent: (event) => {
|
|
110
|
+
const { type, error, ...fields } = event;
|
|
111
|
+
logger.warn(formatCompact({
|
|
112
|
+
op: `provider_${type}`,
|
|
113
|
+
session: sessionId,
|
|
114
|
+
...fields,
|
|
115
|
+
error: truncatePreview(error, 200),
|
|
116
|
+
}));
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
}
|
|
44
120
|
function logAssistantIterationFailure(assistant, modelId, sessionId) {
|
|
45
121
|
if (assistant.stopReason !== 'error' || !assistant.errorMessage)
|
|
46
122
|
return;
|
|
@@ -191,6 +267,11 @@ async function* runAgentLoopVisionTurnOnceRun(input) {
|
|
|
191
267
|
toolCalls: [],
|
|
192
268
|
};
|
|
193
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* @deprecated No production caller: image turns run through `runText` with media
|
|
272
|
+
* blocks (plus the perception pre-pass for text-only models). This path has no
|
|
273
|
+
* provider resilience and no tools. Removed in the next minor.
|
|
274
|
+
*/
|
|
194
275
|
export async function* runAgentLoopVisionTurnRun(input) {
|
|
195
276
|
const candidates = input.modelCandidates.filter(Boolean);
|
|
196
277
|
if (candidates.length === 0) {
|
|
@@ -225,8 +306,14 @@ export async function collectAgentLoopTurnRun(gen, onTurnEvent) {
|
|
|
225
306
|
}
|
|
226
307
|
}
|
|
227
308
|
export async function* runAgentLoopTextTurnRun(input) {
|
|
228
|
-
const { host, sessionId, userMessageExtra,
|
|
309
|
+
const { host, sessionId, userMessageExtra, personaEnhanced, modelId, onChunk, promptHooks, signal, } = input;
|
|
229
310
|
const repo = host.contextRepository;
|
|
311
|
+
// Bash is only offered when this turn's policy can actually run it, so the
|
|
312
|
+
// model never burns a step on a tool that is guaranteed to fail. Filtering
|
|
313
|
+
// the catalog also keeps load_tool / auto-load from re-adding it.
|
|
314
|
+
const turnPolicy = input.turnContext.policy;
|
|
315
|
+
const allTools = withoutForbiddenShell(turnPolicy, input.allTools);
|
|
316
|
+
const resolvedTools = withoutForbiddenShell(turnPolicy, input.resolvedTools);
|
|
230
317
|
const providerAlias = host.getTurnProvider().name;
|
|
231
318
|
const llmModel = host.llmRuntime.model(providerAlias, modelId);
|
|
232
319
|
const persistentConversation = input.conversationPersistence !== 'none';
|
|
@@ -276,7 +363,7 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
276
363
|
})
|
|
277
364
|
: [];
|
|
278
365
|
const deferredController = directTools ? undefined : input.deferredController;
|
|
279
|
-
const catalog = directTools ? [] :
|
|
366
|
+
const catalog = directTools ? [] : withoutForbiddenShell(turnPolicy, input.toolCatalog ?? []);
|
|
280
367
|
if (!directTools && hasTools && (!deferredController || catalog.length === 0)) {
|
|
281
368
|
throw new Error('Deferred tool loading requires a turn-owned controller and catalog');
|
|
282
369
|
}
|
|
@@ -287,6 +374,7 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
287
374
|
const loaded = deferredController.loadedToolNames();
|
|
288
375
|
return resolveDeferredApiTools(catalog, alwaysLoaded, loaded);
|
|
289
376
|
};
|
|
377
|
+
let promptSections = [];
|
|
290
378
|
if (hasTools) {
|
|
291
379
|
const sections = input.promptProfile.kind === 'interactive'
|
|
292
380
|
? await describeAgentPathPromptSections(host, {
|
|
@@ -298,6 +386,7 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
298
386
|
runtime: input.promptRuntime,
|
|
299
387
|
})
|
|
300
388
|
: [];
|
|
389
|
+
promptSections = sections;
|
|
301
390
|
logPromptComposition({
|
|
302
391
|
config: host.promptTraceConfig,
|
|
303
392
|
sessionId,
|
|
@@ -322,17 +411,46 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
322
411
|
}
|
|
323
412
|
const harness = resolveModelHarness(host.getTurnProvider().name, modelId, host.config.modelHarness);
|
|
324
413
|
const maxIterations = hasTools
|
|
325
|
-
? (harness.maxIterations ?? host.config.maxIterations)
|
|
414
|
+
? (input.maxIterations ?? harness.maxIterations ?? host.config.maxIterations)
|
|
326
415
|
: 1;
|
|
416
|
+
const explorationBudget = hasTools
|
|
417
|
+
? new ExplorationBudget(harness.explorationBudget ?? DEFAULT_EXPLORATION_BUDGET)
|
|
418
|
+
: undefined;
|
|
419
|
+
if (hasTools && harness.explorationGuidance) {
|
|
420
|
+
systemPrompt = `${systemPrompt}\n\n${EXPLORATION_GUIDANCE}`;
|
|
421
|
+
}
|
|
422
|
+
if (hasTools && !directTools) {
|
|
423
|
+
const toolIndex = renderDeferredToolIndex(deferredCatalogTools(catalog, agentTools)
|
|
424
|
+
.map((item) => ({ name: item.name, description: item.brief })));
|
|
425
|
+
if (toolIndex)
|
|
426
|
+
systemPrompt = `${systemPrompt}\n\n${toolIndex}`;
|
|
427
|
+
}
|
|
327
428
|
const executableTools = new ExecutableToolRegistry(agentTools);
|
|
328
429
|
let llmTools = directTools
|
|
329
430
|
? agentToolsToLlmTools(agentTools)
|
|
330
431
|
: buildLlmToolsForProvider(llmModel.sdk, catalog, agentTools, resolveAlwaysLoadedSet(host.config), deferredController?.loadedToolNames() ?? []);
|
|
432
|
+
if (hasTools) {
|
|
433
|
+
noteTurnTrace(traceTurnId(input.turnContext), {
|
|
434
|
+
kind: 'context_budget',
|
|
435
|
+
report: buildContextBudgetReport({
|
|
436
|
+
systemPrompt,
|
|
437
|
+
sections: promptSections,
|
|
438
|
+
bootstrapContext: input.promptRuntime?.bootstrapContext,
|
|
439
|
+
activeSkillsContext: input.promptRuntime?.activeSkillsContext,
|
|
440
|
+
loadedTools: agentTools,
|
|
441
|
+
deferredToolCount: deferredCatalogTools(catalog, agentTools).length,
|
|
442
|
+
historyMessages: loaded.messages,
|
|
443
|
+
userMessages: promptMessages,
|
|
444
|
+
}),
|
|
445
|
+
});
|
|
446
|
+
}
|
|
331
447
|
const toolCalls = [];
|
|
332
448
|
let iterations = 0;
|
|
333
449
|
let lastAssistantText = '';
|
|
334
450
|
let lastUsage;
|
|
335
451
|
const conversationBatches = [];
|
|
452
|
+
/** This turn's prompt plus every message the loop produced; used for reply recovery. */
|
|
453
|
+
let turnTranscript = [];
|
|
336
454
|
logPhase(host.phaseConfig, 'agent_loop.turn.start', sessionId, {
|
|
337
455
|
model: modelId,
|
|
338
456
|
maxIterations,
|
|
@@ -357,10 +475,51 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
357
475
|
return llmTools;
|
|
358
476
|
};
|
|
359
477
|
const contextWindow = llmModel.contextWindow ?? host.config.contextTokens;
|
|
478
|
+
// System prompt and tool schemas count against the window too, so the
|
|
479
|
+
// compaction threshold is measured on what is left for messages (#730).
|
|
480
|
+
const fixedPromptTokens = () => estimatePromptTokens(systemPrompt)
|
|
481
|
+
+ llmTools.reduce((sum, tool) => sum + estimatePromptTokens(`${tool.name} ${tool.description}`), 0);
|
|
360
482
|
const loopHooks = input.loopHooks;
|
|
483
|
+
const completionPort = createTurnCompletionPort({
|
|
484
|
+
host,
|
|
485
|
+
providerAlias,
|
|
486
|
+
modelId,
|
|
487
|
+
modelCandidates: input.modelCandidates,
|
|
488
|
+
harness,
|
|
489
|
+
sessionId,
|
|
490
|
+
requiredInput: requiredTurnInputModalities(promptMessages),
|
|
491
|
+
});
|
|
492
|
+
// Progress-aware budget: maxIterations is soft, extended while progressing.
|
|
493
|
+
const toolBudget = resolveToolBudget(host.config.toolBudget, harness);
|
|
494
|
+
const progress = new TurnProgressTracker(toolBudget);
|
|
495
|
+
const turnStartedAt = Date.now();
|
|
496
|
+
let turnTokens = 0;
|
|
497
|
+
let segmentStartIteration = 0;
|
|
498
|
+
let extensionPending = false;
|
|
499
|
+
let lastReportIteration = 0;
|
|
500
|
+
const segmentHardCap = Math.max(maxIterations, input.maxTotalIterations ?? toolBudget.maxTotalIterations);
|
|
501
|
+
const hardLimitReached = () => (toolBudget.maxWallClockMs > 0 && Date.now() - turnStartedAt >= toolBudget.maxWallClockMs)
|
|
502
|
+
|| (toolBudget.maxTotalTokens > 0 && turnTokens >= toolBudget.maxTotalTokens);
|
|
503
|
+
const nextIterationLimit = (iteration, limit) => {
|
|
504
|
+
if (iteration > 0 && hardLimitReached())
|
|
505
|
+
return iteration;
|
|
506
|
+
if (iteration < limit)
|
|
507
|
+
return limit;
|
|
508
|
+
if (toolBudget.extendBy === 0 || limit >= segmentHardCap || progress.stalled)
|
|
509
|
+
return limit;
|
|
510
|
+
const windowStart = segmentStartIteration + iteration - toolBudget.progressWindow + 1;
|
|
511
|
+
if (!progress.progressedSince(windowStart))
|
|
512
|
+
return limit;
|
|
513
|
+
const next = Math.min(segmentHardCap, limit + toolBudget.extendBy);
|
|
514
|
+
extensionPending = true;
|
|
515
|
+
noteTurnTrace(traceTurnId(input.turnContext), { kind: 'budget_extended', from: limit, to: next });
|
|
516
|
+
logPhase(host.phaseConfig, 'agent_loop.budget.extend', sessionId, { from: limit, to: next });
|
|
517
|
+
return next;
|
|
518
|
+
};
|
|
519
|
+
const recordProgress = (toolName, args, ok, output) => progress.record(iterations, { toolName, args, ok, output });
|
|
361
520
|
const loopConfig = {
|
|
362
521
|
model: llmModel,
|
|
363
|
-
transport:
|
|
522
|
+
transport: completionPort,
|
|
364
523
|
maxIterations,
|
|
365
524
|
sessionId,
|
|
366
525
|
streamOptions: {
|
|
@@ -380,6 +539,8 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
380
539
|
model: llmModel,
|
|
381
540
|
compactionConfig: host.config.compaction,
|
|
382
541
|
contextWindow,
|
|
542
|
+
reservedTokens: fixedPromptTokens(),
|
|
543
|
+
toldLedger: host.toldLedger?.render(sessionId),
|
|
383
544
|
mode: 'text',
|
|
384
545
|
loopHooks,
|
|
385
546
|
}) : messages,
|
|
@@ -390,6 +551,8 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
390
551
|
model: llmModel,
|
|
391
552
|
compactionConfig: host.config.compaction,
|
|
392
553
|
contextWindow,
|
|
554
|
+
reservedTokens: fixedPromptTokens(),
|
|
555
|
+
toldLedger: host.toldLedger?.render(sessionId),
|
|
393
556
|
mode: 'text',
|
|
394
557
|
force: true,
|
|
395
558
|
loopHooks,
|
|
@@ -413,6 +576,7 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
413
576
|
});
|
|
414
577
|
if (preDecision.decision === 'deny') {
|
|
415
578
|
const reason = preDecision.reason;
|
|
579
|
+
recordProgress(resolvedName, effectiveArgs, false);
|
|
416
580
|
toolCalls.push({ tool: resolvedName, args: effectiveArgs, result: reason });
|
|
417
581
|
return toolResultToAgentMessage(toolCall, reason, true);
|
|
418
582
|
}
|
|
@@ -422,6 +586,7 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
422
586
|
}
|
|
423
587
|
const tool = executableTools.resolve(resolvedName);
|
|
424
588
|
if (!tool) {
|
|
589
|
+
recordProgress(resolvedName, effectiveArgs, false);
|
|
425
590
|
return toolResultToAgentMessage(toolCall, `工具「${resolvedName}」执行失败:工具不存在或所属插件未启用。`, true);
|
|
426
591
|
}
|
|
427
592
|
try {
|
|
@@ -434,6 +599,7 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
434
599
|
}
|
|
435
600
|
if (outcome.status !== 'completed') {
|
|
436
601
|
const reason = outcome.status === 'failed' ? outcome.error : outcome.reason;
|
|
602
|
+
recordProgress(resolvedName, effectiveArgs, false);
|
|
437
603
|
toolCalls.push({ tool: resolvedName, args: effectiveArgs, result: reason });
|
|
438
604
|
return toolResultToAgentMessage(toolCall, reason, true);
|
|
439
605
|
}
|
|
@@ -451,6 +617,7 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
451
617
|
turn: input.turnContext,
|
|
452
618
|
});
|
|
453
619
|
if (postDecision.decision === 'reject') {
|
|
620
|
+
recordProgress(resolvedName, effectiveArgs, false);
|
|
454
621
|
toolCalls.push({ tool: resolvedName, args: effectiveArgs, result: postDecision.reason });
|
|
455
622
|
return toolResultToAgentMessage(toolCall, postDecision.reason, true);
|
|
456
623
|
}
|
|
@@ -460,7 +627,9 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
460
627
|
: JSON.stringify(postDecision.modifiedOutput);
|
|
461
628
|
}
|
|
462
629
|
}
|
|
463
|
-
const
|
|
630
|
+
const progressKind = recordProgress(resolvedName, effectiveArgs, true, resultText);
|
|
631
|
+
const budgetNote = explorationBudget?.record(resolvedName, isProgress(progressKind));
|
|
632
|
+
const finalText = budgetNote ? `${resultText}\n\n${budgetNote}` : resultText;
|
|
464
633
|
toolCalls.push({ tool: resolvedName, args: effectiveArgs, result: finalText });
|
|
465
634
|
return toolResultToAgentMessage(toolCall, finalText, false);
|
|
466
635
|
}
|
|
@@ -476,6 +645,7 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
476
645
|
}
|
|
477
646
|
const message = err instanceof Error ? err.message : String(err);
|
|
478
647
|
const failure = `工具「${resolvedName}」执行失败:${message}`;
|
|
648
|
+
recordProgress(resolvedName, effectiveArgs, false);
|
|
479
649
|
toolCalls.push({ tool: resolvedName, args: effectiveArgs, result: failure });
|
|
480
650
|
return toolResultToAgentMessage(toolCall, failure, true);
|
|
481
651
|
}
|
|
@@ -485,6 +655,16 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
485
655
|
await loopHooks?.runAfterToolCall({ toolCall, result, sessionId });
|
|
486
656
|
},
|
|
487
657
|
refreshTools: hasTools ? () => rebuildLlmTools() : undefined,
|
|
658
|
+
// The model called a deferred catalog tool without load_tool: load it and
|
|
659
|
+
// run the call. The catalog only holds tools this turn may use, and the
|
|
660
|
+
// rebuilt list re-applies exec policy, so disallowed tools stay rejected.
|
|
661
|
+
resolveMissingTool: hasTools
|
|
662
|
+
? createMissingToolResolver({
|
|
663
|
+
catalog,
|
|
664
|
+
load: deferredController?.load?.bind(deferredController),
|
|
665
|
+
rebuild: rebuildLlmTools,
|
|
666
|
+
})
|
|
667
|
+
: undefined,
|
|
488
668
|
shouldRecompleteAfterTool: (result) => {
|
|
489
669
|
if (result.role !== 'toolResult' || !Array.isArray(result.content))
|
|
490
670
|
return false;
|
|
@@ -494,53 +674,143 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
494
674
|
},
|
|
495
675
|
maxRecompletePerIteration: 1,
|
|
496
676
|
toolExecution: host.config.toolExecution ?? 'tiered',
|
|
677
|
+
nextIterationLimit,
|
|
497
678
|
};
|
|
498
679
|
const mapperState = createTurnEventMapperState(maxIterations);
|
|
499
680
|
const emitTurnEvent = (event) => {
|
|
500
681
|
input.onTurnEvent?.(event);
|
|
501
682
|
};
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
if (
|
|
542
|
-
|
|
683
|
+
const autoContinue = hasTools
|
|
684
|
+
&& input.autoContinuation !== false
|
|
685
|
+
&& autoContinueAllowed(toolBudget.autoContinue, input.turnContext);
|
|
686
|
+
let continuations = 0;
|
|
687
|
+
let segmentPrompt = promptMessages;
|
|
688
|
+
let segmentContext = loopContext;
|
|
689
|
+
let lastAssistantHadToolCalls = false;
|
|
690
|
+
const reporter = input.progressSink && hasTools && toolBudget.progressMaxUpdates > 0
|
|
691
|
+
? new TurnProgressReporter({
|
|
692
|
+
sink: input.progressSink,
|
|
693
|
+
minIntervalMs: toolBudget.progressMinIntervalMs,
|
|
694
|
+
maxUpdates: toolBudget.progressMaxUpdates,
|
|
695
|
+
summarize: () => summarizeProgress({
|
|
696
|
+
transport: host.llmRuntime,
|
|
697
|
+
model: llmModel,
|
|
698
|
+
systemPrompt,
|
|
699
|
+
messages: [...loaded.messages, ...turnTranscript, ...segmentMessages],
|
|
700
|
+
sessionId,
|
|
701
|
+
signal,
|
|
702
|
+
}),
|
|
703
|
+
})
|
|
704
|
+
: undefined;
|
|
705
|
+
// Messages of the running segment, for progress summaries before agent_end.
|
|
706
|
+
let segmentMessages = [];
|
|
707
|
+
// Each segment is one agentLoop run; continuations add segments to the same
|
|
708
|
+
// Turn, so policy, approval ports and persisted history stay those of the Turn.
|
|
709
|
+
while (true) {
|
|
710
|
+
segmentStartIteration = iterations;
|
|
711
|
+
progress.startSegment();
|
|
712
|
+
lastAssistantHadToolCalls = false;
|
|
713
|
+
segmentMessages = [...segmentPrompt];
|
|
714
|
+
for await (const event of agentLoop(segmentPrompt, segmentContext, loopConfig, signal)) {
|
|
715
|
+
for (const te of mapAgentEventToTurnEvents(event, mapperState)) {
|
|
716
|
+
if (input.toolEventSource === 'authority'
|
|
717
|
+
&& (te.type === 'tool_call' || te.type === 'tool_result'))
|
|
718
|
+
continue;
|
|
719
|
+
emitTurnEvent(te);
|
|
720
|
+
yield te;
|
|
721
|
+
}
|
|
722
|
+
if (event.type === 'turn_start') {
|
|
723
|
+
// Milestone updates between iterations keep long Turns from looking frozen.
|
|
724
|
+
if (reporter && progress.progressedSince(lastReportIteration + 1)) {
|
|
725
|
+
const sent = await reporter.report(extensionPending ? 'extension' : 'progress', {
|
|
726
|
+
steps: iterations,
|
|
727
|
+
interimText: lastAssistantHadToolCalls ? lastAssistantText : undefined,
|
|
728
|
+
});
|
|
729
|
+
if (sent)
|
|
730
|
+
lastReportIteration = iterations;
|
|
731
|
+
}
|
|
732
|
+
extensionPending = false;
|
|
733
|
+
iterations += 1;
|
|
734
|
+
}
|
|
735
|
+
if (event.type === 'message_end')
|
|
736
|
+
segmentMessages.push(event.message);
|
|
737
|
+
if (event.type === 'message_update' && event.delta?.type === 'text_delta') {
|
|
738
|
+
onChunk?.(event.delta.text, lastAssistantText + event.delta.text);
|
|
739
|
+
}
|
|
740
|
+
if (event.type === 'message_end' && event.message.role === 'assistant') {
|
|
741
|
+
const assistant = event.message;
|
|
742
|
+
lastAssistantText = resolveAssistantReplyText(assistant);
|
|
743
|
+
lastUsage = assistant.usage;
|
|
744
|
+
if (assistant.usage)
|
|
745
|
+
turnTokens += tokenUsageToLegacy(assistant.usage).total_tokens;
|
|
746
|
+
lastAssistantHadToolCalls = assistant.content.some((block) => block.type === 'toolCall');
|
|
747
|
+
logAssistantIterationFailure(assistant, modelId, sessionId);
|
|
748
|
+
const toolNames = assistant.content
|
|
749
|
+
.filter((b) => b.type === 'toolCall')
|
|
750
|
+
.map((b) => b.name)
|
|
751
|
+
.join(',');
|
|
752
|
+
logAgentLoopIterationEnd(host.phaseConfig, sessionId, {
|
|
753
|
+
iteration: iterations,
|
|
754
|
+
model: modelId,
|
|
755
|
+
label: hasTools ? 'orchestrator' : 'chat',
|
|
756
|
+
usage: assistant.usage,
|
|
757
|
+
stopReason: assistant.stopReason,
|
|
758
|
+
toolNames: toolNames || undefined,
|
|
759
|
+
});
|
|
760
|
+
onChunk?.(lastAssistantText, lastAssistantText);
|
|
543
761
|
}
|
|
762
|
+
if (event.type === 'agent_end') {
|
|
763
|
+
if (signal?.aborted)
|
|
764
|
+
continue;
|
|
765
|
+
const userBatch = event.userMessages ?? segmentPrompt;
|
|
766
|
+
const batch = [...userBatch, ...event.messages];
|
|
767
|
+
turnTranscript = [...turnTranscript, ...batch];
|
|
768
|
+
const messageExtras = batch.map((msg, i) => (msg.role === 'user' && i === 0 && continuations === 0 ? userMessageExtra : undefined));
|
|
769
|
+
if (persistentConversation) {
|
|
770
|
+
conversationBatches.push({ messages: batch, messageExtras });
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
// Auto-continue only a Turn that stopped mid-task (model still calling tools)
|
|
775
|
+
// after real progress, within the continuation and hard caps.
|
|
776
|
+
if (!autoContinue
|
|
777
|
+
|| signal?.aborted
|
|
778
|
+
|| !lastAssistantHadToolCalls
|
|
779
|
+
|| !progress.segmentProgressed
|
|
780
|
+
|| continuations >= toolBudget.maxContinuations
|
|
781
|
+
|| hardLimitReached()
|
|
782
|
+
|| shouldSuppressReplyForSpawnDelegation(toolCalls))
|
|
783
|
+
break;
|
|
784
|
+
const checkpoint = await summarizeExhaustedTurn({
|
|
785
|
+
transport: host.llmRuntime,
|
|
786
|
+
model: llmModel,
|
|
787
|
+
systemPrompt,
|
|
788
|
+
messages: [...loaded.messages, ...turnTranscript],
|
|
789
|
+
maxIterations: iterations - segmentStartIteration,
|
|
790
|
+
sessionId,
|
|
791
|
+
signal,
|
|
792
|
+
});
|
|
793
|
+
if (!checkpoint.assistant || signal?.aborted)
|
|
794
|
+
break;
|
|
795
|
+
conversationBatches.at(-1)?.messages.push(checkpoint.assistant);
|
|
796
|
+
conversationBatches.at(-1)?.messageExtras.push(undefined);
|
|
797
|
+
turnTranscript = [...turnTranscript, checkpoint.assistant];
|
|
798
|
+
continuations += 1;
|
|
799
|
+
await reporter?.report('continuation', { steps: iterations, interimText: checkpoint.reply });
|
|
800
|
+
lastReportIteration = iterations;
|
|
801
|
+
noteTurnTrace(traceTurnId(input.turnContext), { kind: 'continuation', index: continuations });
|
|
802
|
+
logPhase(host.phaseConfig, 'agent_loop.budget.continue', sessionId, { continuation: continuations });
|
|
803
|
+
segmentPrompt = [createUserMessage(buildContinuationInstruction(continuations, toolBudget.maxContinuations, reporter?.reported))];
|
|
804
|
+
segmentContext = agentContextFrom({
|
|
805
|
+
systemPrompt,
|
|
806
|
+
messages: [...loaded.messages, ...turnTranscript],
|
|
807
|
+
tools: llmTools,
|
|
808
|
+
});
|
|
809
|
+
}
|
|
810
|
+
// Progress updates already reached the user, finished or not (#730 ledger).
|
|
811
|
+
if (persistentConversation && reporter) {
|
|
812
|
+
for (const text of reporter.reported) {
|
|
813
|
+
host.toldLedger?.record(sessionId, text, 'progress', traceTurnId(input.turnContext));
|
|
544
814
|
}
|
|
545
815
|
}
|
|
546
816
|
if (signal?.aborted) {
|
|
@@ -560,9 +830,6 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
560
830
|
projectConversation: () => appendConversationBatches(repo, sessionId, conversationBatches),
|
|
561
831
|
};
|
|
562
832
|
}
|
|
563
|
-
const reply = sanitizeAssistantReply(lastAssistantText, {
|
|
564
|
-
toolSummary: formatToolCallsForUser(toolCalls),
|
|
565
|
-
});
|
|
566
833
|
const spawnedSubagent = toolCalls.some(tc => tc.tool === 'spawn_task');
|
|
567
834
|
if (spawnedSubagent) {
|
|
568
835
|
await host.getActiveTurnTracker()?.waitForPendingSubagents();
|
|
@@ -572,7 +839,42 @@ export async function* runAgentLoopTextTurnRun(input) {
|
|
|
572
839
|
&& tc.result
|
|
573
840
|
&& typeof tc.result === 'object'
|
|
574
841
|
&& typeof tc.result.image === 'string');
|
|
575
|
-
|
|
842
|
+
// The loop ran tools but never produced visible text (usually maxIterations
|
|
843
|
+
// was hit mid-exploration). Ask the model for a tools-off summary instead of
|
|
844
|
+
// showing raw tool output.
|
|
845
|
+
const needsReplyRecovery = !delegatedOnly
|
|
846
|
+
&& hasTools
|
|
847
|
+
&& (toolCalls.length > 0 || iterations >= maxIterations)
|
|
848
|
+
&& !lastAssistantText.trim();
|
|
849
|
+
let reply;
|
|
850
|
+
if (needsReplyRecovery) {
|
|
851
|
+
const summary = await summarizeExhaustedTurn({
|
|
852
|
+
transport: host.llmRuntime,
|
|
853
|
+
model: llmModel,
|
|
854
|
+
systemPrompt,
|
|
855
|
+
messages: [...loaded.messages, ...turnTranscript],
|
|
856
|
+
maxIterations,
|
|
857
|
+
sessionId,
|
|
858
|
+
signal,
|
|
859
|
+
});
|
|
860
|
+
const lastBatch = conversationBatches.at(-1);
|
|
861
|
+
if (summary.assistant && lastBatch) {
|
|
862
|
+
lastBatch.messages.push(summary.assistant);
|
|
863
|
+
lastBatch.messageExtras.push(undefined);
|
|
864
|
+
}
|
|
865
|
+
reply = summary.reply;
|
|
866
|
+
onChunk?.(reply, reply);
|
|
867
|
+
}
|
|
868
|
+
else {
|
|
869
|
+
reply = sanitizeAssistantReply(lastAssistantText, {
|
|
870
|
+
toolSummary: formatToolCallsForUser(toolCalls),
|
|
871
|
+
});
|
|
872
|
+
}
|
|
873
|
+
const finalReply = delegatedOnly
|
|
874
|
+
? ''
|
|
875
|
+
: continuations > 0 && reply.trim()
|
|
876
|
+
? `(任务步骤较多,已自动续跑 ${continuations} 次)\n\n${reply}`
|
|
877
|
+
: reply;
|
|
576
878
|
logPhase(host.phaseConfig, 'agent_loop.turn.end', sessionId, {
|
|
577
879
|
iterations,
|
|
578
880
|
...tokenUsageLogFields(lastUsage),
|
|
@@ -598,4 +900,14 @@ async function appendConversationBatches(repo, sessionId, batches) {
|
|
|
598
900
|
await repo.appendMessages(sessionId, batch.messages, { messageExtras: batch.messageExtras });
|
|
599
901
|
}
|
|
600
902
|
}
|
|
903
|
+
/** Turn id for trace notes; context views built outside TurnIngress carry none. */
|
|
904
|
+
/** Catalog tools whose schema is not sent on this request (reachable via load_tool / discover). */
|
|
905
|
+
function deferredCatalogTools(catalog, loaded) {
|
|
906
|
+
const loadedNames = new Set(loaded.map((tool) => tool.name));
|
|
907
|
+
return catalog.filter((item) => item.source !== 'meta' && !loadedNames.has(item.name));
|
|
908
|
+
}
|
|
909
|
+
function traceTurnId(view) {
|
|
910
|
+
const identity = view?.identity;
|
|
911
|
+
return typeof identity?.turnId === 'string' ? identity.turnId : undefined;
|
|
912
|
+
}
|
|
601
913
|
//# sourceMappingURL=agent-core-run.js.map
|