create-principles-disciple 1.147.12 → 1.147.14
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/_release/product-identity.json +1 -1
- package/codex-adapter/dist/codex-evidence-recorder.d.ts +1 -1
- package/codex-adapter/dist/ingestion/admission.d.ts +1 -1
- package/codex-adapter/dist/ingestion/admission.js +1 -1
- package/codex-adapter/dist/ingestion/catch-up.js +1 -1
- package/codex-adapter/dist/ingestion/turn-context.js +1 -1
- package/codex-adapter/dist/pd-hook.js +3 -3
- package/codex-adapter/dist/tool-semantics.d.ts +1 -1
- package/codex-adapter/dist/tool-semantics.js +1 -1
- package/codex-adapter/dist/worker/workspace-worker.js +2 -2
- package/codex-adapter/package.json +1 -1
- package/console/dist/server/config/pd-config-store.d.ts +2 -2
- package/console/dist/server/config/pd-config-store.js +34 -20
- package/console/dist/server/feedback/github-adapter.d.ts +1 -1
- package/console/dist/server/feedback/github-adapter.js +3 -2
- package/console/dist/server/feedback/ingest-adapter.d.ts +1 -1
- package/console/dist/server/feedback/ingest-adapter.js +3 -2
- package/console/dist/server/feedback/submit-service.d.ts +1 -1
- package/console/dist/server/feedback/submit-service.js +1 -1
- package/console/dist/server/index.js +13 -10
- package/console/dist/server/models/ActivationsConsoleModel.d.ts +5 -5
- package/console/dist/server/models/ActivationsConsoleModel.js +11 -10
- package/console/dist/server/models/ApprovalsConsoleModel.d.ts +2 -2
- package/console/dist/server/models/ApprovalsConsoleModel.js +7 -6
- package/console/dist/server/models/ApprovalsGroupedConsoleModel.js +5 -4
- package/console/dist/server/models/CodexGovernanceHealthModel.js +2 -1
- package/console/dist/server/models/ConsoleLifecycleDatasource.d.ts +2 -2
- package/console/dist/server/models/ConsoleLifecycleDatasource.js +2 -1
- package/console/dist/server/models/EvidenceChainConsoleModel.d.ts +1 -1
- package/console/dist/server/models/EvidenceChainConsoleModel.js +4 -3
- package/console/dist/server/models/ExaminerEvidenceModel.d.ts +1 -1
- package/console/dist/server/models/ExaminerEvidenceModel.js +2 -1
- package/console/dist/server/models/FeedbackReportConsoleModel.d.ts +1 -1
- package/console/dist/server/models/FeedbackReportConsoleModel.js +8 -7
- package/console/dist/server/models/GovernanceConsoleModel.js +3 -2
- package/console/dist/server/models/GovernanceExperienceCollector.d.ts +1 -1
- package/console/dist/server/models/GovernanceExperienceCollector.js +1 -1
- package/console/dist/server/models/GovernanceProjectionCollector.d.ts +1 -1
- package/console/dist/server/models/GovernanceProjectionCollector.js +1 -1
- package/console/dist/server/models/HealthCheckModel.js +3 -2
- package/console/dist/server/models/IntentDecisionModel.d.ts +1 -1
- package/console/dist/server/models/IntentDecisionModel.js +1 -1
- package/console/dist/server/models/IntentPageModel.d.ts +1 -1
- package/console/dist/server/models/IntentPageModel.js +99 -27
- package/console/dist/server/models/LifecycleConsoleModel.js +1 -1
- package/console/dist/server/models/OwnerDecisionConsoleModel.d.ts +1 -1
- package/console/dist/server/models/OwnerDecisionConsoleModel.js +1 -1
- package/console/dist/server/models/OwnerDecisionViewModel.d.ts +1 -1
- package/console/dist/server/models/OwnerDecisionViewModel.js +5 -5
- package/console/dist/server/models/PrincipleClassifier.js +1 -1
- package/console/dist/server/models/PrincipleTrajectoryModel.js +8 -7
- package/console/dist/server/models/PrinciplesConsoleModel.d.ts +1 -1
- package/console/dist/server/models/PrinciplesConsoleModel.js +10 -3
- package/console/dist/server/models/ReceiptsConsoleModel.d.ts +1 -1
- package/console/dist/server/models/ReceiptsConsoleModel.js +5 -4
- package/console/dist/server/models/RuleCandidateBindingConsoleModel.d.ts +3 -3
- package/console/dist/server/models/RuleCandidateBindingConsoleModel.js +1 -1
- package/console/dist/server/models/artifact-principle-resolver.d.ts +1 -1
- package/console/dist/server/models/artifact-principle-resolver.js +1 -1
- package/console/dist/server/models/principle-id-resolution.d.ts +3 -3
- package/console/dist/server/models/principle-id-resolution.js +2 -2
- package/console/dist/server/routes/activations.d.ts +1 -1
- package/console/dist/server/routes/activations.js +10 -10
- package/console/dist/server/routes/approvals-grouped.js +2 -2
- package/console/dist/server/routes/approvals.js +8 -11
- package/console/dist/server/routes/design-gate.js +1 -1
- package/console/dist/server/routes/evidence-chain.js +2 -2
- package/console/dist/server/routes/evidence-outcomes.js +1 -1
- package/console/dist/server/routes/failed-tasks.d.ts +1 -1
- package/console/dist/server/routes/failed-tasks.js +3 -6
- package/console/dist/server/routes/feedback-reports.js +5 -8
- package/console/dist/server/routes/governance.d.ts +1 -1
- package/console/dist/server/routes/governance.js +3 -3
- package/console/dist/server/routes/health.js +2 -2
- package/console/dist/server/routes/intent-decisions.js +7 -10
- package/console/dist/server/routes/lifecycle.js +2 -2
- package/console/dist/server/routes/onboarding.d.ts +1 -1
- package/console/dist/server/routes/onboarding.js +3 -3
- package/console/dist/server/routes/owner-decision.js +4 -4
- package/console/dist/server/routes/owner-decisions.js +4 -4
- package/console/dist/server/routes/owner-identity.d.ts +1 -1
- package/console/dist/server/routes/owner-identity.js +1 -1
- package/console/dist/server/routes/principles.js +13 -13
- package/console/dist/server/routes/receipts.js +4 -4
- package/console/dist/server/routes/update-transaction.js +4 -4
- package/console/dist/server/routes/update.js +3 -3
- package/console/dist/server/routes/workspaces.js +5 -8
- package/console/dist/server/utils/cli-smoke.js +2 -1
- package/console/dist/server/utils/gateway.js +2 -1
- package/console/dist/server/utils/pd-backups.js +3 -2
- package/console/dist/server/utils/request.js +8 -6
- package/console/dist/server/utils/response.d.ts +10 -0
- package/console/dist/server/utils/response.js +18 -0
- package/console/dist/shared/approved-rule-revision-contract.d.ts +1 -1
- package/console/dist/web/assets/app.js +31 -31
- package/console/lab/lib/examiner-injection-evidence.mjs +1 -1
- package/core/dist/host/host-adapter.d.ts +3 -3
- package/core/dist/host/host-adapter.d.ts.map +1 -1
- package/core/dist/index.d.ts +26 -26
- package/core/dist/index.d.ts.map +1 -1
- package/core/dist/index.js +16 -16
- package/core/dist/index.js.map +1 -1
- package/core/dist/principle-tree-ledger.d.ts +5 -5
- package/core/dist/principle-tree-ledger.d.ts.map +1 -1
- package/core/dist/principle-tree-ledger.js +17 -4
- package/core/dist/principle-tree-ledger.js.map +1 -1
- package/core/dist/prompt-builder/model-config.js +1 -1
- package/core/dist/prompt-builder/model-config.js.map +1 -1
- package/core/dist/prompt-builder/size-guard.d.ts.map +1 -1
- package/core/dist/prompt-builder/size-guard.js +39 -6
- package/core/dist/prompt-builder/size-guard.js.map +1 -1
- package/core/dist/prompt-builder/xml-escape.d.ts +1 -1
- package/core/dist/prompt-builder/xml-escape.js +1 -1
- package/core/dist/runtime/activation/activation-control-types.d.ts.map +1 -0
- package/core/dist/runtime/activation/activation-control-types.js.map +1 -0
- package/core/dist/runtime/activation/activation-dispatcher.d.ts.map +1 -0
- package/core/dist/runtime/activation/activation-dispatcher.js.map +1 -0
- package/core/dist/runtime/activation/activation-types.d.ts.map +1 -0
- package/core/dist/runtime/activation/activation-types.js.map +1 -0
- package/core/dist/runtime/activation/adaptive-delivery-record.d.ts.map +1 -0
- package/core/dist/runtime/activation/adaptive-delivery-record.js.map +1 -0
- package/core/dist/runtime/activation/adaptive-principle-intervention.d.ts +83 -0
- package/core/dist/runtime/activation/adaptive-principle-intervention.d.ts.map +1 -0
- package/core/dist/runtime/activation/adaptive-principle-intervention.js +119 -0
- package/core/dist/runtime/activation/adaptive-principle-intervention.js.map +1 -0
- package/core/dist/runtime/activation/approval-completion-service.d.ts.map +1 -0
- package/core/dist/runtime/activation/approval-completion-service.js.map +1 -0
- package/core/dist/runtime/activation/approval-queue.d.ts.map +1 -0
- package/core/dist/runtime/activation/approval-queue.js.map +1 -0
- package/core/dist/runtime/activation/approval-review-guard.d.ts.map +1 -0
- package/core/dist/runtime/activation/approval-review-guard.js.map +1 -0
- package/core/dist/runtime/activation/index.d.ts +48 -0
- package/core/dist/runtime/activation/index.d.ts.map +1 -0
- package/core/dist/runtime/activation/index.js +38 -0
- package/core/dist/runtime/activation/index.js.map +1 -0
- package/core/dist/runtime/activation/ledger-identity.d.ts.map +1 -0
- package/core/dist/runtime/activation/ledger-identity.js.map +1 -0
- package/core/dist/runtime/activation/low-risk-writers.d.ts.map +1 -0
- package/core/dist/runtime/activation/low-risk-writers.js.map +1 -0
- package/core/dist/runtime/activation/memory-activation-state-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/memory-activation-state-store.js.map +1 -0
- package/core/dist/runtime/activation/memory-approval-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/memory-approval-store.js.map +1 -0
- package/core/dist/runtime/activation/openclaw-promotion-checks.d.ts.map +1 -0
- package/core/dist/runtime/activation/openclaw-promotion-checks.js.map +1 -0
- package/core/dist/runtime/activation/production-gate-deps.d.ts.map +1 -0
- package/core/dist/runtime/activation/production-gate-deps.js.map +1 -0
- package/core/dist/runtime/activation/promotion-evidence-snapshot.d.ts.map +1 -0
- package/core/dist/runtime/activation/promotion-evidence-snapshot.js.map +1 -0
- package/core/dist/runtime/activation/promotion-readiness-evaluator.d.ts.map +1 -0
- package/core/dist/runtime/activation/promotion-readiness-evaluator.js.map +1 -0
- package/core/dist/runtime/activation/promotion-readiness-reader.d.ts.map +1 -0
- package/core/dist/runtime/activation/promotion-readiness-reader.js.map +1 -0
- package/core/dist/runtime/activation/prompt-activation-reader-contract.d.ts +118 -0
- package/core/dist/runtime/activation/prompt-activation-reader-contract.d.ts.map +1 -0
- package/core/dist/runtime/activation/prompt-activation-reader-contract.js +209 -0
- package/core/dist/runtime/activation/prompt-activation-reader-contract.js.map +1 -0
- package/core/dist/runtime/activation/prompt-budget-policy.d.ts.map +1 -0
- package/core/dist/runtime/activation/prompt-budget-policy.js +326 -0
- package/core/dist/runtime/activation/prompt-budget-policy.js.map +1 -0
- package/core/dist/runtime/activation/prompt-replacement.d.ts.map +1 -0
- package/core/dist/runtime/activation/prompt-replacement.js.map +1 -0
- package/core/dist/runtime/activation/recovery-composition.d.ts.map +1 -0
- package/core/dist/runtime/activation/recovery-composition.js.map +1 -0
- package/core/dist/runtime/activation/recovery-control-surfaces.d.ts.map +1 -0
- package/core/dist/runtime/activation/recovery-control-surfaces.js.map +1 -0
- package/core/dist/runtime/activation/rule-replacement.d.ts.map +1 -0
- package/core/dist/runtime/activation/rule-replacement.js.map +1 -0
- package/core/dist/runtime/activation/rulecode-owner-decision-service.d.ts.map +1 -0
- package/core/dist/runtime/activation/rulecode-owner-decision-service.js.map +1 -0
- package/core/dist/runtime/activation/rulecode-safety-circuit-breaker.d.ts.map +1 -0
- package/core/dist/runtime/activation/rulecode-safety-circuit-breaker.js.map +1 -0
- package/core/dist/runtime/activation/rulecode-shadow-summary.d.ts.map +1 -0
- package/core/dist/runtime/activation/rulecode-shadow-summary.js.map +1 -0
- package/core/dist/runtime/activation/sqlite-activation-safety-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/sqlite-activation-safety-store.js.map +1 -0
- package/core/dist/runtime/activation/sqlite-activation-state-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/sqlite-activation-state-store.js.map +1 -0
- package/core/dist/runtime/activation/sqlite-approval-store.d.ts.map +1 -0
- package/core/dist/runtime/activation/sqlite-approval-store.js.map +1 -0
- package/core/dist/runtime/activation/writers/index.d.ts.map +1 -0
- package/core/dist/runtime/activation/writers/index.js.map +1 -0
- package/core/dist/runtime/activation/writers/rule-host-writer.d.ts.map +1 -0
- package/core/dist/runtime/activation/writers/rule-host-writer.js.map +1 -0
- package/core/dist/runtime/activation-compatibility-read-model.d.ts.map +1 -0
- package/core/dist/runtime/activation-compatibility-read-model.js.map +1 -0
- package/core/dist/runtime/adapter/artificer-l2-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/artificer-l2-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/index.d.ts.map +1 -0
- package/core/dist/runtime/adapter/index.js.map +1 -0
- package/core/dist/runtime/adapter/json-extractor.d.ts.map +1 -0
- package/core/dist/runtime/adapter/json-extractor.js.map +1 -0
- package/core/dist/runtime/adapter/l2-agent-loop-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/l2-agent-loop-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/output-repair-contract.d.ts.map +1 -0
- package/core/dist/runtime/adapter/output-repair-contract.js +99 -0
- package/core/dist/runtime/adapter/output-repair-contract.js.map +1 -0
- package/core/dist/runtime/adapter/output-schema-registry.d.ts.map +1 -0
- package/core/dist/runtime/adapter/output-schema-registry.js.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-catalog.d.ts.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-catalog.js.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-http-transport.d.ts.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-http-transport.js.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/pi-ai-runtime-adapter.js +1489 -0
- package/core/dist/runtime/adapter/pi-ai-runtime-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/principle-tree-ledger-adapter.d.ts +98 -0
- package/core/dist/runtime/adapter/principle-tree-ledger-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/principle-tree-ledger-adapter.js +243 -0
- package/core/dist/runtime/adapter/principle-tree-ledger-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/schema-json-converter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/schema-json-converter.js.map +1 -0
- package/core/dist/runtime/adapter/schema-prompt-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/schema-prompt-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/split-pipeline-fixtures.d.ts.map +1 -0
- package/core/dist/runtime/adapter/split-pipeline-fixtures.js.map +1 -0
- package/core/dist/runtime/adapter/structured-output-repair.d.ts.map +1 -0
- package/core/dist/runtime/adapter/structured-output-repair.js +298 -0
- package/core/dist/runtime/adapter/structured-output-repair.js.map +1 -0
- package/core/dist/runtime/adapter/test-double-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime/adapter/test-double-runtime-adapter.js.map +1 -0
- package/core/dist/runtime/adapter/tools/diagnostician-tool.d.ts.map +1 -0
- package/core/dist/runtime/adapter/tools/diagnostician-tool.js.map +1 -0
- package/core/dist/runtime/admission-gate.d.ts.map +1 -0
- package/core/dist/runtime/admission-gate.js.map +1 -0
- package/core/dist/runtime/adversarial-loop.d.ts.map +1 -0
- package/core/dist/runtime/adversarial-loop.js.map +1 -0
- package/core/dist/runtime/agent-spec.d.ts.map +1 -0
- package/core/dist/runtime/agent-spec.js.map +1 -0
- package/core/dist/runtime/bridge-result-shaper.d.ts.map +1 -0
- package/core/dist/runtime/bridge-result-shaper.js.map +1 -0
- package/core/dist/runtime/build-l2-principle-reader.d.ts.map +1 -0
- package/core/dist/runtime/build-l2-principle-reader.js.map +1 -0
- package/core/dist/runtime/candidate-audit.d.ts.map +1 -0
- package/core/dist/runtime/candidate-audit.js.map +1 -0
- package/core/dist/runtime/candidate-intake-service.d.ts.map +1 -0
- package/core/dist/runtime/candidate-intake-service.js.map +1 -0
- package/core/dist/runtime/candidate-intake.d.ts.map +1 -0
- package/core/dist/runtime/candidate-intake.js.map +1 -0
- package/core/dist/runtime/cli/diagnose.d.ts.map +1 -0
- package/core/dist/runtime/cli/diagnose.js.map +1 -0
- package/core/dist/runtime/cli/index.d.ts.map +1 -0
- package/core/dist/runtime/cli/index.js.map +1 -0
- package/core/dist/runtime/cli/probe.d.ts.map +1 -0
- package/core/dist/runtime/cli/probe.js.map +1 -0
- package/core/dist/runtime/config/index.d.ts.map +1 -0
- package/core/dist/runtime/config/index.js.map +1 -0
- package/core/dist/runtime/config/pd-config-agent-binding.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-agent-binding.js.map +1 -0
- package/core/dist/runtime/config/pd-config-defaults.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-defaults.js.map +1 -0
- package/core/dist/runtime/config/pd-config-effective.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-effective.js.map +1 -0
- package/core/dist/runtime/config/pd-config-feature-flags.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-feature-flags.js.map +1 -0
- package/core/dist/runtime/config/pd-config-redaction.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-redaction.js +202 -0
- package/core/dist/runtime/config/pd-config-redaction.js.map +1 -0
- package/core/dist/runtime/config/pd-config-types.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-types.js.map +1 -0
- package/core/dist/runtime/config/pd-config-validate.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-config-validate.js.map +1 -0
- package/core/dist/runtime/config/pd-profile-constants.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-profile-constants.js.map +1 -0
- package/core/dist/runtime/config/pd-validate-profile.d.ts.map +1 -0
- package/core/dist/runtime/config/pd-validate-profile.js.map +1 -0
- package/core/dist/runtime/context-payload.d.ts.map +1 -0
- package/core/dist/runtime/context-payload.js.map +1 -0
- package/core/dist/runtime/control-plane-triage.d.ts.map +1 -0
- package/core/dist/runtime/control-plane-triage.js.map +1 -0
- package/core/dist/runtime/core-principles/core-axiom-block.d.ts.map +1 -0
- package/core/dist/runtime/core-principles/core-axiom-block.js.map +1 -0
- package/core/dist/runtime/core-principles/core-principle-registry.d.ts.map +1 -0
- package/core/dist/runtime/core-principles/core-principle-registry.js.map +1 -0
- package/core/dist/runtime/core-principles/index.d.ts.map +1 -0
- package/core/dist/runtime/core-principles/index.js.map +1 -0
- package/core/dist/runtime/core-principles/strip-fabricated-ids.d.ts.map +1 -0
- package/core/dist/runtime/core-principles/strip-fabricated-ids.js.map +1 -0
- package/core/dist/runtime/correction/correction-types.d.ts.map +1 -0
- package/core/dist/runtime/correction/correction-types.js.map +1 -0
- package/core/dist/runtime/correction/index.d.ts.map +1 -0
- package/core/dist/runtime/correction/index.js.map +1 -0
- package/core/dist/runtime/detection/detection-funnel-policy.d.ts.map +1 -0
- package/core/dist/runtime/detection/detection-funnel-policy.js.map +1 -0
- package/core/dist/runtime/detection/index.d.ts.map +1 -0
- package/core/dist/runtime/detection/index.js.map +1 -0
- package/core/dist/runtime/diagnostician/diag-distiller-output.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/diag-distiller-output.js.map +1 -0
- package/core/dist/runtime/diagnostician/diag-rootcause-output.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/diag-rootcause-output.js.map +1 -0
- package/core/dist/runtime/diagnostician/distiller-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/distiller-prompt-builder.js.map +1 -0
- package/core/dist/runtime/diagnostician/evidence-ref-binding.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/evidence-ref-binding.js.map +1 -0
- package/core/dist/runtime/diagnostician/rootcause-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/rootcause-prompt-builder.js.map +1 -0
- package/core/dist/runtime/diagnostician/router-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician/router-prompt-builder.js.map +1 -0
- package/core/dist/runtime/diagnostician-association-shadow.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-association-shadow.js.map +1 -0
- package/core/dist/runtime/diagnostician-association-validation.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-association-validation.js.map +1 -0
- package/core/dist/runtime/diagnostician-capability.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-capability.js.map +1 -0
- package/core/dist/runtime/diagnostician-output.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-output.js.map +1 -0
- package/core/dist/runtime/diagnostician-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/diagnostician-prompt-builder.js.map +1 -0
- package/core/dist/runtime/error-categories.d.ts +42 -0
- package/core/dist/runtime/error-categories.d.ts.map +1 -0
- package/core/dist/runtime/error-categories.js +122 -0
- package/core/dist/runtime/error-categories.js.map +1 -0
- package/core/dist/runtime/evidence-guards.d.ts.map +1 -0
- package/core/dist/runtime/evidence-guards.js.map +1 -0
- package/core/dist/runtime/evidence-sanitizer.d.ts.map +1 -0
- package/core/dist/runtime/evidence-sanitizer.js.map +1 -0
- package/core/dist/runtime/evidence-triage/index.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/index.js.map +1 -0
- package/core/dist/runtime/evidence-triage/observation-resolver.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/observation-resolver.js.map +1 -0
- package/core/dist/runtime/evidence-triage/source-descriptors.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/source-descriptors.js.map +1 -0
- package/core/dist/runtime/evidence-triage/triage-policy.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/triage-policy.js.map +1 -0
- package/core/dist/runtime/evidence-triage/trigger-controller.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/trigger-controller.js.map +1 -0
- package/core/dist/runtime/evidence-triage/types.d.ts.map +1 -0
- package/core/dist/runtime/evidence-triage/types.js.map +1 -0
- package/core/dist/runtime/evolution/evolution-types.d.ts.map +1 -0
- package/core/dist/runtime/evolution/evolution-types.js.map +1 -0
- package/core/dist/runtime/feature-flags/feature-flag-contract.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/feature-flag-contract.js.map +1 -0
- package/core/dist/runtime/feature-flags/feature-flag-lifecycle.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/feature-flag-lifecycle.js +273 -0
- package/core/dist/runtime/feature-flags/feature-flag-lifecycle.js.map +1 -0
- package/core/dist/runtime/feature-flags/index.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/index.js.map +1 -0
- package/core/dist/runtime/feature-flags/plugin-surface-registry.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/plugin-surface-registry.js.map +1 -0
- package/core/dist/runtime/feature-flags/surface-guard-policy.d.ts.map +1 -0
- package/core/dist/runtime/feature-flags/surface-guard-policy.js.map +1 -0
- package/core/dist/runtime/feedback/create-report.d.ts.map +1 -0
- package/core/dist/runtime/feedback/create-report.js.map +1 -0
- package/core/dist/runtime/feedback/feedback-types.d.ts.map +1 -0
- package/core/dist/runtime/feedback/feedback-types.js.map +1 -0
- package/core/dist/runtime/feedback/fingerprint.d.ts.map +1 -0
- package/core/dist/runtime/feedback/fingerprint.js.map +1 -0
- package/core/dist/runtime/feedback/index.d.ts.map +1 -0
- package/core/dist/runtime/feedback/index.js +18 -0
- package/core/dist/runtime/feedback/index.js.map +1 -0
- package/core/dist/runtime/feedback/internal-guards.d.ts.map +1 -0
- package/core/dist/runtime/feedback/internal-guards.js.map +1 -0
- package/core/dist/runtime/feedback/pending-agent-draft-store.d.ts.map +1 -0
- package/core/dist/runtime/feedback/pending-agent-draft-store.js.map +1 -0
- package/core/dist/runtime/feedback/privacy-preview.d.ts.map +1 -0
- package/core/dist/runtime/feedback/privacy-preview.js.map +1 -0
- package/core/dist/runtime/feedback/redact-sensitive.d.ts.map +1 -0
- package/core/dist/runtime/feedback/redact-sensitive.js +318 -0
- package/core/dist/runtime/feedback/redact-sensitive.js.map +1 -0
- package/core/dist/runtime/feedback/render-github-url.d.ts.map +1 -0
- package/core/dist/runtime/feedback/render-github-url.js.map +1 -0
- package/core/dist/runtime/feedback/render-markdown.d.ts.map +1 -0
- package/core/dist/runtime/feedback/render-markdown.js.map +1 -0
- package/core/dist/runtime/feedback/safe-stringify.d.ts.map +1 -0
- package/core/dist/runtime/feedback/safe-stringify.js.map +1 -0
- package/core/dist/runtime/full-trace-contract.d.ts.map +1 -0
- package/core/dist/runtime/full-trace-contract.js +481 -0
- package/core/dist/runtime/full-trace-contract.js.map +1 -0
- package/core/dist/runtime/golden-trace-replay-validator.d.ts.map +1 -0
- package/core/dist/runtime/golden-trace-replay-validator.js.map +1 -0
- package/core/dist/runtime/golden-trace.d.ts.map +1 -0
- package/core/dist/runtime/golden-trace.js.map +1 -0
- package/core/dist/runtime/governance-experience-contract.d.ts.map +1 -0
- package/core/dist/runtime/governance-experience-contract.js.map +1 -0
- package/core/dist/runtime/governance-experience.d.ts.map +1 -0
- package/core/dist/runtime/governance-experience.js.map +1 -0
- package/core/dist/runtime/governance-projection-contract.d.ts.map +1 -0
- package/core/dist/runtime/governance-projection-contract.js.map +1 -0
- package/core/dist/runtime/governance-projection.d.ts.map +1 -0
- package/core/dist/runtime/governance-projection.js.map +1 -0
- package/core/dist/runtime/governance-timestamp-schema.d.ts.map +1 -0
- package/core/dist/runtime/governance-timestamp-schema.js.map +1 -0
- package/core/dist/runtime/index.d.ts +446 -0
- package/core/dist/runtime/index.d.ts.map +1 -0
- package/core/dist/runtime/index.js +409 -0
- package/core/dist/runtime/index.js.map +1 -0
- package/core/dist/runtime/intent/index.d.ts.map +1 -0
- package/core/dist/runtime/intent/index.js.map +1 -0
- package/core/dist/runtime/intent/intent-browser.d.ts +23 -0
- package/core/dist/runtime/intent/intent-browser.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-browser.js +21 -0
- package/core/dist/runtime/intent/intent-browser.js.map +1 -0
- package/core/dist/runtime/intent/intent-decision-record.d.ts +125 -0
- package/core/dist/runtime/intent/intent-decision-record.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-decision-record.js +21 -0
- package/core/dist/runtime/intent/intent-decision-record.js.map +1 -0
- package/core/dist/runtime/intent/intent-doc-reader-port.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-doc-reader-port.js.map +1 -0
- package/core/dist/runtime/intent/intent-doc-version.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-doc-version.js.map +1 -0
- package/core/dist/runtime/intent/intent-doc.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-doc.js.map +1 -0
- package/core/dist/runtime/intent/intent-friction-block.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-friction-block.js.map +1 -0
- package/core/dist/runtime/intent/intent-hash.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-hash.js.map +1 -0
- package/core/dist/runtime/intent/intent-patch-proposal.d.ts.map +1 -0
- package/core/dist/runtime/intent/intent-patch-proposal.js.map +1 -0
- package/core/dist/runtime/internalization/adversarial-case.d.ts.map +1 -0
- package/core/dist/runtime/internalization/adversarial-case.js.map +1 -0
- package/core/dist/runtime/internalization/adversarial-feedback.d.ts.map +1 -0
- package/core/dist/runtime/internalization/adversarial-feedback.js.map +1 -0
- package/core/dist/runtime/internalization/approved-rule-revision.d.ts.map +1 -0
- package/core/dist/runtime/internalization/approved-rule-revision.js.map +1 -0
- package/core/dist/runtime/internalization/artifact-content-hash.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artifact-content-hash.js.map +1 -0
- package/core/dist/runtime/internalization/artifact-summary.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artifact-summary.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-code-bearing.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-code-bearing.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-intent-preflight.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-intent-preflight.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-output.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-run-correlation.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-run-correlation.js.map +1 -0
- package/core/dist/runtime/internalization/artificer-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/artificer-runner.js.map +1 -0
- package/core/dist/runtime/internalization/bash-risk.d.ts.map +1 -0
- package/core/dist/runtime/internalization/bash-risk.js +908 -0
- package/core/dist/runtime/internalization/bash-risk.js.map +1 -0
- package/core/dist/runtime/internalization/behavior-example-pack.d.ts +47 -0
- package/core/dist/runtime/internalization/behavior-example-pack.d.ts.map +1 -0
- package/core/dist/runtime/internalization/behavior-example-pack.js +214 -0
- package/core/dist/runtime/internalization/behavior-example-pack.js.map +1 -0
- package/core/dist/runtime/internalization/candidate-identity.d.ts.map +1 -0
- package/core/dist/runtime/internalization/candidate-identity.js.map +1 -0
- package/core/dist/runtime/internalization/compile-result.d.ts.map +1 -0
- package/core/dist/runtime/internalization/compile-result.js.map +1 -0
- package/core/dist/runtime/internalization/consumer-evidence-preflight.d.ts.map +1 -0
- package/core/dist/runtime/internalization/consumer-evidence-preflight.js.map +1 -0
- package/core/dist/runtime/internalization/correction-proposal.d.ts.map +1 -0
- package/core/dist/runtime/internalization/correction-proposal.js +352 -0
- package/core/dist/runtime/internalization/correction-proposal.js.map +1 -0
- package/core/dist/runtime/internalization/deprecated-readiness.d.ts.map +1 -0
- package/core/dist/runtime/internalization/deprecated-readiness.js.map +1 -0
- package/core/dist/runtime/internalization/design-gate-facts.d.ts.map +1 -0
- package/core/dist/runtime/internalization/design-gate-facts.js.map +1 -0
- package/core/dist/runtime/internalization/diag-distiller-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/diag-distiller-runner.js.map +1 -0
- package/core/dist/runtime/internalization/diag-rootcause-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/diag-rootcause-runner.js.map +1 -0
- package/core/dist/runtime/internalization/diag-router-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/diag-router-runner.js.map +1 -0
- package/core/dist/runtime/internalization/dreamer-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/dreamer-output.js.map +1 -0
- package/core/dist/runtime/internalization/dreamer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/dreamer-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/dreamer-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/dreamer-runner.js.map +1 -0
- package/core/dist/runtime/internalization/evaluator-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/evaluator-output.js.map +1 -0
- package/core/dist/runtime/internalization/evaluator-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/evaluator-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/evaluator-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/evaluator-runner.js.map +1 -0
- package/core/dist/runtime/internalization/evidence-readiness.d.ts.map +1 -0
- package/core/dist/runtime/internalization/evidence-readiness.js.map +1 -0
- package/core/dist/runtime/internalization/formation-context.d.ts.map +1 -0
- package/core/dist/runtime/internalization/formation-context.js.map +1 -0
- package/core/dist/runtime/internalization/golden-dogfood-fixtures.d.ts.map +1 -0
- package/core/dist/runtime/internalization/golden-dogfood-fixtures.js.map +1 -0
- package/core/dist/runtime/internalization/index.d.ts.map +1 -0
- package/core/dist/runtime/internalization/index.js.map +1 -0
- package/core/dist/runtime/internalization/intake-to-internalization-bridge.d.ts.map +1 -0
- package/core/dist/runtime/internalization/intake-to-internalization-bridge.js.map +1 -0
- package/core/dist/runtime/internalization/intent-contract.d.ts.map +1 -0
- package/core/dist/runtime/internalization/intent-contract.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-consumer-decision.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-consumer-decision.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-job-graph.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-job-graph.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-orchestrator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-orchestrator.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-route.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-route.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-state-machine.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-state-machine.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-task-guards.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-task-guards.js.map +1 -0
- package/core/dist/runtime/internalization/internalization-transition-decision.d.ts.map +1 -0
- package/core/dist/runtime/internalization/internalization-transition-decision.js.map +1 -0
- package/core/dist/runtime/internalization/legacy-rule-contract-scanner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/legacy-rule-contract-scanner.js.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-datasource.d.ts.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-datasource.js.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-metrics.d.ts.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-metrics.js.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-read-model.d.ts.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-read-model.js.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-types.d.ts.map +1 -0
- package/core/dist/runtime/internalization/lifecycle-types.js.map +1 -0
- package/core/dist/runtime/internalization/owner-decision-review.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-decision-review.js.map +1 -0
- package/core/dist/runtime/internalization/owner-evidence-recovery.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-evidence-recovery.js.map +1 -0
- package/core/dist/runtime/internalization/owner-resolution-service.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-resolution-service.js.map +1 -0
- package/core/dist/runtime/internalization/owner-retry.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-retry.js.map +1 -0
- package/core/dist/runtime/internalization/owner-review.d.ts.map +1 -0
- package/core/dist/runtime/internalization/owner-review.js.map +1 -0
- package/core/dist/runtime/internalization/peer-runner-contracts.d.ts.map +1 -0
- package/core/dist/runtime/internalization/peer-runner-contracts.js.map +1 -0
- package/core/dist/runtime/internalization/philosopher-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/philosopher-output.js.map +1 -0
- package/core/dist/runtime/internalization/philosopher-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/philosopher-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/philosopher-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/philosopher-runner.js.map +1 -0
- package/core/dist/runtime/internalization/pi-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/internalization/pi-artifact-store.js.map +1 -0
- package/core/dist/runtime/internalization/pi-artifact.d.ts.map +1 -0
- package/core/dist/runtime/internalization/pi-artifact.js.map +1 -0
- package/core/dist/runtime/internalization/pitask-metadata.d.ts.map +1 -0
- package/core/dist/runtime/internalization/pitask-metadata.js +1030 -0
- package/core/dist/runtime/internalization/pitask-metadata.js.map +1 -0
- package/core/dist/runtime/internalization/prompt-serializer.d.ts.map +1 -0
- package/core/dist/runtime/internalization/prompt-serializer.js.map +1 -0
- package/core/dist/runtime/internalization/queue-actionability.d.ts.map +1 -0
- package/core/dist/runtime/internalization/queue-actionability.js.map +1 -0
- package/core/dist/runtime/internalization/refiner-rulehost-gate.d.ts.map +1 -0
- package/core/dist/runtime/internalization/refiner-rulehost-gate.js.map +1 -0
- package/core/dist/runtime/internalization/refiner-sandbox-wrapper.d.ts.map +1 -0
- package/core/dist/runtime/internalization/refiner-sandbox-wrapper.js.map +1 -0
- package/core/dist/runtime/internalization/repair-replay-resolver.d.ts.map +1 -0
- package/core/dist/runtime/internalization/repair-replay-resolver.js.map +1 -0
- package/core/dist/runtime/internalization/revision-reopen.d.ts.map +1 -0
- package/core/dist/runtime/internalization/revision-reopen.js.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-output.js.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rollout-reviewer-runner.js.map +1 -0
- package/core/dist/runtime/internalization/router-context-evidence.d.ts.map +1 -0
- package/core/dist/runtime/internalization/router-context-evidence.js.map +1 -0
- package/core/dist/runtime/internalization/routing-policy.d.ts.map +1 -0
- package/core/dist/runtime/internalization/routing-policy.js.map +1 -0
- package/core/dist/runtime/internalization/rule-activation-contract.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-activation-contract.js.map +1 -0
- package/core/dist/runtime/internalization/rule-binding-revision.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-binding-revision.js.map +1 -0
- package/core/dist/runtime/internalization/rule-code-validator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-code-validator.js.map +1 -0
- package/core/dist/runtime/internalization/rule-context-v2.d.ts +64 -0
- package/core/dist/runtime/internalization/rule-context-v2.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-context-v2.js +285 -0
- package/core/dist/runtime/internalization/rule-context-v2.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-adapter.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-adapter.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-contracts.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-contracts.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-evaluator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-evaluator.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-helpers.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-helpers.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-input-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-input-builder.js.map +1 -0
- package/core/dist/runtime/internalization/rule-host-validator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-host-validator.js.map +1 -0
- package/core/dist/runtime/internalization/rule-reliability-validation.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-reliability-validation.js.map +1 -0
- package/core/dist/runtime/internalization/rule-source-correction.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rule-source-correction.js.map +1 -0
- package/core/dist/runtime/internalization/rulecode-verification-obligations.d.ts.map +1 -0
- package/core/dist/runtime/internalization/rulecode-verification-obligations.js.map +1 -0
- package/core/dist/runtime/internalization/scribe-output.d.ts.map +1 -0
- package/core/dist/runtime/internalization/scribe-output.js.map +1 -0
- package/core/dist/runtime/internalization/scribe-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime/internalization/scribe-prompt-builder.js.map +1 -0
- package/core/dist/runtime/internalization/scribe-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/scribe-runner.js.map +1 -0
- package/core/dist/runtime/internalization/split-diagnostician-runner.d.ts.map +1 -0
- package/core/dist/runtime/internalization/split-diagnostician-runner.js.map +1 -0
- package/core/dist/runtime/internalization/template-generator.d.ts.map +1 -0
- package/core/dist/runtime/internalization/template-generator.js.map +1 -0
- package/core/dist/runtime/internalization/textual-basis-anchor.d.ts.map +1 -0
- package/core/dist/runtime/internalization/textual-basis-anchor.js.map +1 -0
- package/core/dist/runtime/internalization/tool-semantic-baseline.d.ts.map +1 -0
- package/core/dist/runtime/internalization/tool-semantic-baseline.js.map +1 -0
- package/core/dist/runtime/internalization/tool-semantic-registry.d.ts.map +1 -0
- package/core/dist/runtime/internalization/tool-semantic-registry.js.map +1 -0
- package/core/dist/runtime/internalization/v2-adversarial-cases.d.ts.map +1 -0
- package/core/dist/runtime/internalization/v2-adversarial-cases.js.map +1 -0
- package/core/dist/runtime/internalization-chain-integrity-read-model.d.ts.map +1 -0
- package/core/dist/runtime/internalization-chain-integrity-read-model.js.map +1 -0
- package/core/dist/runtime/internalization-integrity-remediation.d.ts.map +1 -0
- package/core/dist/runtime/internalization-integrity-remediation.js.map +1 -0
- package/core/dist/runtime/internalization-queue-read-model.d.ts.map +1 -0
- package/core/dist/runtime/internalization-queue-read-model.js.map +1 -0
- package/core/dist/runtime/intervention-evidence-normalizer.d.ts.map +1 -0
- package/core/dist/runtime/intervention-evidence-normalizer.js.map +1 -0
- package/core/dist/runtime/l1-hard-cap.d.ts.map +1 -0
- package/core/dist/runtime/l1-hard-cap.js.map +1 -0
- package/core/dist/runtime/language-directive.d.ts.map +1 -0
- package/core/dist/runtime/language-directive.js.map +1 -0
- package/core/dist/runtime/learning-lab/actor-action-output.d.ts.map +1 -0
- package/core/dist/runtime/learning-lab/actor-action-output.js.map +1 -0
- package/core/dist/runtime/mainline-contract.d.ts.map +1 -0
- package/core/dist/runtime/mainline-contract.js.map +1 -0
- package/core/dist/runtime/observer/agent-scheduler.d.ts.map +1 -0
- package/core/dist/runtime/observer/agent-scheduler.js.map +1 -0
- package/core/dist/runtime/observer/correction-observer.d.ts.map +1 -0
- package/core/dist/runtime/observer/correction-observer.js.map +1 -0
- package/core/dist/runtime/operator-health-read-model.d.ts.map +1 -0
- package/core/dist/runtime/operator-health-read-model.js +135 -0
- package/core/dist/runtime/operator-health-read-model.js.map +1 -0
- package/core/dist/runtime/owner-decision/owner-decision-view-contract.d.ts.map +1 -0
- package/core/dist/runtime/owner-decision/owner-decision-view-contract.js.map +1 -0
- package/core/dist/runtime/owner-decision/owner-decision-view.d.ts.map +1 -0
- package/core/dist/runtime/owner-decision/owner-decision-view.js.map +1 -0
- package/core/dist/runtime/owner-decision/semantic-selector.d.ts.map +1 -0
- package/core/dist/runtime/owner-decision/semantic-selector.js.map +1 -0
- package/core/dist/runtime/owner-identity.d.ts.map +1 -0
- package/core/dist/runtime/owner-identity.js.map +1 -0
- package/core/dist/runtime/pain-chain-read-model.d.ts.map +1 -0
- package/core/dist/runtime/pain-chain-read-model.js +327 -0
- package/core/dist/runtime/pain-chain-read-model.js.map +1 -0
- package/core/dist/runtime/pain-flood-simulation.d.ts.map +1 -0
- package/core/dist/runtime/pain-flood-simulation.js +152 -0
- package/core/dist/runtime/pain-flood-simulation.js.map +1 -0
- package/core/dist/runtime/pain-ingress-payload.d.ts.map +1 -0
- package/core/dist/runtime/pain-ingress-payload.js.map +1 -0
- package/core/dist/runtime/pain-ingress.d.ts.map +1 -0
- package/core/dist/runtime/pain-ingress.js.map +1 -0
- package/core/dist/runtime/pain-recall-capability.d.ts.map +1 -0
- package/core/dist/runtime/pain-recall-capability.js.map +1 -0
- package/core/dist/runtime/pain-recall-read-model.d.ts.map +1 -0
- package/core/dist/runtime/pain-recall-read-model.js.map +1 -0
- package/core/dist/runtime/pain-recall-snapshot-hooks.d.ts.map +1 -0
- package/core/dist/runtime/pain-recall-snapshot-hooks.js.map +1 -0
- package/core/dist/runtime/pain-signal-bridge.d.ts +389 -0
- package/core/dist/runtime/pain-signal-bridge.d.ts.map +1 -0
- package/core/dist/runtime/pain-signal-bridge.js +1460 -0
- package/core/dist/runtime/pain-signal-bridge.js.map +1 -0
- package/core/dist/runtime/pain-signal-observability.d.ts +36 -0
- package/core/dist/runtime/pain-signal-observability.d.ts.map +1 -0
- package/core/dist/runtime/pain-signal-observability.js.map +1 -0
- package/core/dist/runtime/pain-signal-runtime-factory.d.ts +254 -0
- package/core/dist/runtime/pain-signal-runtime-factory.d.ts.map +1 -0
- package/core/dist/runtime/pain-signal-runtime-factory.js +780 -0
- package/core/dist/runtime/pain-signal-runtime-factory.js.map +1 -0
- package/core/dist/runtime/pain-to-principle-service.d.ts.map +1 -0
- package/core/dist/runtime/pain-to-principle-service.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-domain.d.ts +89 -0
- package/core/dist/runtime/principle-reuse/reuse-domain.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-domain.js +16 -0
- package/core/dist/runtime/principle-reuse/reuse-domain.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-evaluation-output.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-evaluation-output.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-evaluation-runner.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-evaluation-runner.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-proposal.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-proposal.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-retrieval.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-retrieval.js.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-shortlist.d.ts.map +1 -0
- package/core/dist/runtime/principle-reuse/reuse-shortlist.js.map +1 -0
- package/core/dist/runtime/principle-tree/ledger-codec.d.ts.map +1 -0
- package/core/dist/runtime/principle-tree/ledger-codec.js.map +1 -0
- package/core/dist/runtime/principle-tree/rule-candidate-binding.d.ts.map +1 -0
- package/core/dist/runtime/principle-tree/rule-candidate-binding.js.map +1 -0
- package/core/dist/runtime/product-telemetry/daily-identity.d.ts.map +1 -0
- package/core/dist/runtime/product-telemetry/daily-identity.js.map +1 -0
- package/core/dist/runtime/product-telemetry/snapshot-contract.d.ts.map +1 -0
- package/core/dist/runtime/product-telemetry/snapshot-contract.js.map +1 -0
- package/core/dist/runtime/proven-channel-baseline.d.ts.map +1 -0
- package/core/dist/runtime/proven-channel-baseline.js +547 -0
- package/core/dist/runtime/proven-channel-baseline.js.map +1 -0
- package/core/dist/runtime/pruning-read-model.d.ts.map +1 -0
- package/core/dist/runtime/pruning-read-model.js.map +1 -0
- package/core/dist/runtime/receipt-coverage.d.ts.map +1 -0
- package/core/dist/runtime/receipt-coverage.js.map +1 -0
- package/core/dist/runtime/recovery-actions-log.d.ts.map +1 -0
- package/core/dist/runtime/recovery-actions-log.js.map +1 -0
- package/core/dist/runtime/recovery-sweep-service.d.ts.map +1 -0
- package/core/dist/runtime/recovery-sweep-service.js.map +1 -0
- package/core/dist/runtime/remediation-contract.d.ts.map +1 -0
- package/core/dist/runtime/remediation-contract.js.map +1 -0
- package/core/dist/runtime/risk/index.d.ts.map +1 -0
- package/core/dist/runtime/risk/index.js.map +1 -0
- package/core/dist/runtime/risk/risk-calculator-policy.d.ts.map +1 -0
- package/core/dist/runtime/risk/risk-calculator-policy.js.map +1 -0
- package/core/dist/runtime/runner/base-peer-runner.d.ts.map +1 -0
- package/core/dist/runtime/runner/base-peer-runner.js.map +1 -0
- package/core/dist/runtime/runner/default-validator.d.ts.map +1 -0
- package/core/dist/runtime/runner/default-validator.js.map +1 -0
- package/core/dist/runtime/runner/diagnostician-validator.d.ts.map +1 -0
- package/core/dist/runtime/runner/diagnostician-validator.js.map +1 -0
- package/core/dist/runtime/runner/peer-runner-types.d.ts.map +1 -0
- package/core/dist/runtime/runner/peer-runner-types.js.map +1 -0
- package/core/dist/runtime/runner/runner-phase.d.ts.map +1 -0
- package/core/dist/runtime/runner/runner-phase.js.map +1 -0
- package/core/dist/runtime/runner/runner-result.d.ts.map +1 -0
- package/core/dist/runtime/runner/runner-result.js.map +1 -0
- package/core/dist/runtime/runtime-protocol.d.ts.map +1 -0
- package/core/dist/runtime/runtime-protocol.js.map +1 -0
- package/core/dist/runtime/runtime-state-handle.d.ts.map +1 -0
- package/core/dist/runtime/runtime-state-handle.js.map +1 -0
- package/core/dist/runtime/schema-conformance-read-model.d.ts.map +1 -0
- package/core/dist/runtime/schema-conformance-read-model.js.map +1 -0
- package/core/dist/runtime/schema-version.d.ts +20 -0
- package/core/dist/runtime/schema-version.d.ts.map +1 -0
- package/core/dist/runtime/schema-version.js +20 -0
- package/core/dist/runtime/schema-version.js.map +1 -0
- package/core/dist/runtime/signal-collector/confidence-gate.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/confidence-gate.js.map +1 -0
- package/core/dist/runtime/signal-collector/index.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/index.js.map +1 -0
- package/core/dist/runtime/signal-collector/keyword-stage.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/keyword-stage.js.map +1 -0
- package/core/dist/runtime/signal-collector/llm-stage.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/llm-stage.js.map +1 -0
- package/core/dist/runtime/signal-collector/signal-collector.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/signal-collector.js.map +1 -0
- package/core/dist/runtime/signal-collector/types.d.ts.map +1 -0
- package/core/dist/runtime/signal-collector/types.js.map +1 -0
- package/core/dist/runtime/stalled-diagnostician-task-read-model.d.ts.map +1 -0
- package/core/dist/runtime/stalled-diagnostician-task-read-model.js.map +1 -0
- package/core/dist/runtime/store/artifact/artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/artifact-store.js.map +1 -0
- package/core/dist/runtime/store/artifact/index.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/index.js.map +1 -0
- package/core/dist/runtime/store/artifact/memory-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/memory-artifact-store.js.map +1 -0
- package/core/dist/runtime/store/artifact/sqlite-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/sqlite-artifact-store.js.map +1 -0
- package/core/dist/runtime/store/artifact/sqlite-pi-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime/store/artifact/sqlite-pi-artifact-store.js.map +1 -0
- package/core/dist/runtime/store/candidate/admission-document.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/admission-document.js.map +1 -0
- package/core/dist/runtime/store/candidate/candidate-store.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/candidate-store.js.map +1 -0
- package/core/dist/runtime/store/candidate/index.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/index.js.map +1 -0
- package/core/dist/runtime/store/candidate/memory-candidate-store.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/memory-candidate-store.js.map +1 -0
- package/core/dist/runtime/store/candidate/recommendation-kind-resolver.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/recommendation-kind-resolver.js.map +1 -0
- package/core/dist/runtime/store/candidate/sqlite-candidate-store.d.ts.map +1 -0
- package/core/dist/runtime/store/candidate/sqlite-candidate-store.js.map +1 -0
- package/core/dist/runtime/store/commit/commit-store.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/commit-store.js.map +1 -0
- package/core/dist/runtime/store/commit/diagnostician-committer.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/diagnostician-committer.js.map +1 -0
- package/core/dist/runtime/store/commit/index.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/index.js.map +1 -0
- package/core/dist/runtime/store/commit/memory-commit-store.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/memory-commit-store.js.map +1 -0
- package/core/dist/runtime/store/commit/sqlite-commit-store.d.ts.map +1 -0
- package/core/dist/runtime/store/commit/sqlite-commit-store.js.map +1 -0
- package/core/dist/runtime/store/context/context-assembler.d.ts.map +1 -0
- package/core/dist/runtime/store/context/context-assembler.js.map +1 -0
- package/core/dist/runtime/store/context/index.d.ts.map +1 -0
- package/core/dist/runtime/store/context/index.js.map +1 -0
- package/core/dist/runtime/store/context/resilient-context-assembler.d.ts.map +1 -0
- package/core/dist/runtime/store/context/resilient-context-assembler.js.map +1 -0
- package/core/dist/runtime/store/context/sqlite-context-assembler.d.ts.map +1 -0
- package/core/dist/runtime/store/context/sqlite-context-assembler.js.map +1 -0
- package/core/dist/runtime/store/context/trajectory-turn-reader.d.ts.map +1 -0
- package/core/dist/runtime/store/context/trajectory-turn-reader.js.map +1 -0
- package/core/dist/runtime/store/design-gate/sqlite-design-gate-store.d.ts.map +1 -0
- package/core/dist/runtime/store/design-gate/sqlite-design-gate-store.js.map +1 -0
- package/core/dist/runtime/store/event-emitter.d.ts.map +1 -0
- package/core/dist/runtime/store/event-emitter.js.map +1 -0
- package/core/dist/runtime/store/history/history-query.d.ts.map +1 -0
- package/core/dist/runtime/store/history/history-query.js.map +1 -0
- package/core/dist/runtime/store/history/index.d.ts.map +1 -0
- package/core/dist/runtime/store/history/index.js.map +1 -0
- package/core/dist/runtime/store/history/resilient-history-query.d.ts.map +1 -0
- package/core/dist/runtime/store/history/resilient-history-query.js.map +1 -0
- package/core/dist/runtime/store/history/sqlite-history-query.d.ts.map +1 -0
- package/core/dist/runtime/store/history/sqlite-history-query.js.map +1 -0
- package/core/dist/runtime/store/intent/index.d.ts.map +1 -0
- package/core/dist/runtime/store/intent/index.js.map +1 -0
- package/core/dist/runtime/store/intent/sqlite-intent-decision-store.d.ts.map +1 -0
- package/core/dist/runtime/store/intent/sqlite-intent-decision-store.js.map +1 -0
- package/core/dist/runtime/store/intent/sqlite-intent-doc-version-store.d.ts.map +1 -0
- package/core/dist/runtime/store/intent/sqlite-intent-doc-version-store.js.map +1 -0
- package/core/dist/runtime/store/intervention-evidence-schema.d.ts.map +1 -0
- package/core/dist/runtime/store/intervention-evidence-schema.js.map +1 -0
- package/core/dist/runtime/store/lifecycle/index.d.ts.map +1 -0
- package/core/dist/runtime/store/lifecycle/index.js.map +1 -0
- package/core/dist/runtime/store/lifecycle/lease-manager.d.ts.map +1 -0
- package/core/dist/runtime/store/lifecycle/lease-manager.js.map +1 -0
- package/core/dist/runtime/store/lifecycle/recovery-sweep.d.ts.map +1 -0
- package/core/dist/runtime/store/lifecycle/recovery-sweep.js.map +1 -0
- package/core/dist/runtime/store/lifecycle/retry-policy.d.ts.map +1 -0
- package/core/dist/runtime/store/lifecycle/retry-policy.js.map +1 -0
- package/core/dist/runtime/store/pain/index.d.ts.map +1 -0
- package/core/dist/runtime/store/pain/index.js.map +1 -0
- package/core/dist/runtime/store/pain/sqlite-dead-letter-store.d.ts.map +1 -0
- package/core/dist/runtime/store/pain/sqlite-dead-letter-store.js.map +1 -0
- package/core/dist/runtime/store/pain-diagnosis/pain-diagnosis-store.d.ts.map +1 -0
- package/core/dist/runtime/store/pain-diagnosis/pain-diagnosis-store.js.map +1 -0
- package/core/dist/runtime/store/pain-diagnosis/sqlite-pain-diagnosis-store.d.ts.map +1 -0
- package/core/dist/runtime/store/pain-diagnosis/sqlite-pain-diagnosis-store.js.map +1 -0
- package/core/dist/runtime/store/reconciliation-cursor-store.d.ts.map +1 -0
- package/core/dist/runtime/store/reconciliation-cursor-store.js.map +1 -0
- package/core/dist/runtime/store/run/index.d.ts.map +1 -0
- package/core/dist/runtime/store/run/index.js.map +1 -0
- package/core/dist/runtime/store/run/memory-run-store.d.ts.map +1 -0
- package/core/dist/runtime/store/run/memory-run-store.js.map +1 -0
- package/core/dist/runtime/store/run/run-store.d.ts.map +1 -0
- package/core/dist/runtime/store/run/run-store.js.map +1 -0
- package/core/dist/runtime/store/run/sqlite-run-store.d.ts.map +1 -0
- package/core/dist/runtime/store/run/sqlite-run-store.js.map +1 -0
- package/core/dist/runtime/store/runtime-state-manager.d.ts.map +1 -0
- package/core/dist/runtime/store/runtime-state-manager.js.map +1 -0
- package/core/dist/runtime/store/sqlite-connection.d.ts.map +1 -0
- package/core/dist/runtime/store/sqlite-connection.js.map +1 -0
- package/core/dist/runtime/store/sqlite-intervention-evidence-store.d.ts.map +1 -0
- package/core/dist/runtime/store/sqlite-intervention-evidence-store.js.map +1 -0
- package/core/dist/runtime/store/task/index.d.ts.map +1 -0
- package/core/dist/runtime/store/task/index.js.map +1 -0
- package/core/dist/runtime/store/task/memory-task-store.d.ts.map +1 -0
- package/core/dist/runtime/store/task/memory-task-store.js.map +1 -0
- package/core/dist/runtime/store/task/sqlite-approved-rule-revision.d.ts.map +1 -0
- package/core/dist/runtime/store/task/sqlite-approved-rule-revision.js.map +1 -0
- package/core/dist/runtime/store/task/sqlite-family-reopen.d.ts.map +1 -0
- package/core/dist/runtime/store/task/sqlite-family-reopen.js.map +1 -0
- package/core/dist/runtime/store/task/sqlite-task-store.d.ts.map +1 -0
- package/core/dist/runtime/store/task/sqlite-task-store.js.map +1 -0
- package/core/dist/runtime/store/task/task-store.d.ts.map +1 -0
- package/core/dist/runtime/store/task/task-store.js.map +1 -0
- package/core/dist/runtime/store/task/task-types.d.ts.map +1 -0
- package/core/dist/runtime/store/task/task-types.js.map +1 -0
- package/core/dist/runtime/store/trajectory/index.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/index.js.map +1 -0
- package/core/dist/runtime/store/trajectory/source-trace-locator.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/source-trace-locator.js.map +1 -0
- package/core/dist/runtime/store/trajectory/sqlite-source-trace-locator.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/sqlite-source-trace-locator.js.map +1 -0
- package/core/dist/runtime/store/trajectory/sqlite-trajectory-locator.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/sqlite-trajectory-locator.js.map +1 -0
- package/core/dist/runtime/store/trajectory/trajectory-locator.d.ts.map +1 -0
- package/core/dist/runtime/store/trajectory/trajectory-locator.js.map +1 -0
- package/core/dist/runtime/store/workspace-leak-guard.d.ts.map +1 -0
- package/core/dist/runtime/store/workspace-leak-guard.js.map +1 -0
- package/core/dist/runtime/story-a-demo.d.ts +77 -0
- package/core/dist/runtime/story-a-demo.d.ts.map +1 -0
- package/core/dist/runtime/story-a-demo.js.map +1 -0
- package/core/dist/runtime/synthetic-baseline.d.ts.map +1 -0
- package/core/dist/runtime/synthetic-baseline.js +116 -0
- package/core/dist/runtime/synthetic-baseline.js.map +1 -0
- package/core/dist/runtime/system-prompt-merge.d.ts.map +1 -0
- package/core/dist/runtime/system-prompt-merge.js.map +1 -0
- package/core/dist/runtime/task-status.d.ts.map +1 -0
- package/core/dist/runtime/task-status.js.map +1 -0
- package/core/dist/runtime/tools/agent-tool-contract.d.ts.map +1 -0
- package/core/dist/runtime/tools/agent-tool-contract.js.map +1 -0
- package/core/dist/runtime/tools/artificer-l2-tool-contract.d.ts.map +1 -0
- package/core/dist/runtime/tools/artificer-l2-tool-contract.js.map +1 -0
- package/core/dist/runtime/tools/artificer-output-typebox.d.ts.map +1 -0
- package/core/dist/runtime/tools/artificer-output-typebox.js.map +1 -0
- package/core/dist/runtime/tools/dreamer-output-typebox.d.ts.map +1 -0
- package/core/dist/runtime/tools/dreamer-output-typebox.js.map +1 -0
- package/core/dist/runtime/trajectory-schema.d.ts.map +1 -0
- package/core/dist/runtime/trajectory-schema.js.map +1 -0
- package/core/dist/runtime/types/artifact-lineage.d.ts.map +1 -0
- package/core/dist/runtime/types/artifact-lineage.js.map +1 -0
- package/core/dist/runtime/types/event-payload.d.ts.map +1 -0
- package/core/dist/runtime/types/event-payload.js.map +1 -0
- package/core/dist/runtime/types/event-types.d.ts +940 -0
- package/core/dist/runtime/types/event-types.d.ts.map +1 -0
- package/core/dist/runtime/types/event-types.js +520 -0
- package/core/dist/runtime/types/event-types.js.map +1 -0
- package/core/dist/runtime/types/evidence-chain-contract.d.ts +282 -0
- package/core/dist/runtime/types/evidence-chain-contract.d.ts.map +1 -0
- package/core/dist/runtime/types/evidence-chain-contract.js +1301 -0
- package/core/dist/runtime/types/evidence-chain-contract.js.map +1 -0
- package/core/dist/runtime/types/hygiene-types.d.ts.map +1 -0
- package/core/dist/runtime/types/hygiene-types.js.map +1 -0
- package/core/dist/runtime/types/index.d.ts +32 -0
- package/core/dist/runtime/types/index.d.ts.map +1 -0
- package/core/dist/runtime/types/index.js +21 -0
- package/core/dist/runtime/types/index.js.map +1 -0
- package/core/dist/runtime/types/intervention-evidence-contract.d.ts.map +1 -0
- package/core/dist/runtime/types/intervention-evidence-contract.js.map +1 -0
- package/core/dist/runtime/types/ledger-store.d.ts.map +1 -0
- package/core/dist/runtime/types/ledger-store.js.map +1 -0
- package/core/dist/runtime/types/pain-signal.d.ts.map +1 -0
- package/core/dist/runtime/types/pain-signal.js.map +1 -0
- package/core/dist/runtime/types/pd-task-types.d.ts.map +1 -0
- package/core/dist/runtime/types/pd-task-types.js.map +1 -0
- package/core/dist/runtime/types/principle-dependency.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-dependency.js.map +1 -0
- package/core/dist/runtime/types/principle-enums.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-enums.js.map +1 -0
- package/core/dist/runtime/types/principle-lifecycle-event.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-lifecycle-event.js.map +1 -0
- package/core/dist/runtime/types/principle-schema.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-schema.js.map +1 -0
- package/core/dist/runtime/types/principle-tree-store.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-tree-store.js.map +1 -0
- package/core/dist/runtime/types/principle-value-metrics.d.ts.map +1 -0
- package/core/dist/runtime/types/principle-value-metrics.js.map +1 -0
- package/core/dist/runtime/types/replay-types.d.ts.map +1 -0
- package/core/dist/runtime/types/replay-types.js.map +1 -0
- package/core/dist/runtime/types/rule-candidate-binding.d.ts.map +1 -0
- package/core/dist/runtime/types/rule-candidate-binding.js.map +1 -0
- package/core/dist/trajectory-types.d.ts +1 -1
- package/core/dist/trajectory-types.d.ts.map +1 -1
- package/core/dist/workflow-funnel-loader.d.ts +1 -1
- package/core/dist/workflow-funnel-loader.d.ts.map +1 -1
- package/core/package.json +55 -55
- package/dist/installer.js +1 -1
- package/dist/installer.js.map +1 -1
- package/dist/installers/workbuddy-host-installer.js +1 -1
- package/dist/utils/config-file-io.d.ts +1 -1
- package/dist/utils/config-file-io.d.ts.map +1 -1
- package/dist/utils/config-file-io.js +1 -1
- package/dist/utils/config-file-io.js.map +1 -1
- package/dist/utils/env.js +1 -1
- package/dist/utils/env.js.map +1 -1
- package/host-runtime/dist/active-principle-prompt.d.ts +1 -1
- package/host-runtime/dist/active-principle-prompt.js +1 -1
- package/host-runtime/dist/adaptive-journal-reconciliation.js +1 -1
- package/host-runtime/dist/adaptive-principle-revalidation.d.ts +1 -1
- package/host-runtime/dist/behavior-example-pack-assembler.d.ts +2 -2
- package/host-runtime/dist/behavior-example-pack-assembler.js +6 -6
- package/host-runtime/dist/behavior-history.d.ts +1 -1
- package/host-runtime/dist/behavior-history.js +1 -1
- package/host-runtime/dist/cli-recovery-probe.d.ts +1 -1
- package/host-runtime/dist/codex-artificer-trusted-facts.d.ts +1 -1
- package/host-runtime/dist/codex-rule-context-provider.d.ts +1 -1
- package/host-runtime/dist/codex-rule-context-provider.js +1 -1
- package/host-runtime/dist/codex-worker-status.js +1 -1
- package/host-runtime/dist/design-gate-facts.d.ts +1 -1
- package/host-runtime/dist/design-gate-facts.js +1 -1
- package/host-runtime/dist/evaluator-runtime-context.d.ts +1 -1
- package/host-runtime/dist/evaluator-runtime-context.js +1 -1
- package/host-runtime/dist/governance-observation-store.js +1 -1
- package/host-runtime/dist/governance-signal-admission.d.ts +2 -2
- package/host-runtime/dist/governance-signal-admission.js +3 -3
- package/host-runtime/dist/host-liveness-contract.d.ts +1 -1
- package/host-runtime/dist/host-tool-declaration.d.ts +1 -1
- package/host-runtime/dist/host-tool-declaration.js +1 -1
- package/host-runtime/dist/host-tool-semantic-resolver.d.ts +1 -1
- package/host-runtime/dist/host-tool-semantic-resolver.js +1 -1
- package/host-runtime/dist/index.d.ts +1 -1
- package/host-runtime/dist/index.js +2 -2
- package/host-runtime/dist/internalization-consumer-cycle.d.ts +2 -2
- package/host-runtime/dist/internalization-consumer-cycle.js +2 -2
- package/host-runtime/dist/internalization-consumer-governance.d.ts +1 -1
- package/host-runtime/dist/internalization-consumer-governance.js +1 -1
- package/host-runtime/dist/intervention-evidence-ingress.d.ts +1 -1
- package/host-runtime/dist/intervention-evidence-ingress.js +1 -1
- package/host-runtime/dist/pd-config.d.ts +1 -1
- package/host-runtime/dist/pd-config.js +1 -1
- package/host-runtime/dist/product-telemetry/consent-store.js +1 -1
- package/host-runtime/dist/product-telemetry/exporter.d.ts +1 -1
- package/host-runtime/dist/product-telemetry/milestone-readers.d.ts +1 -1
- package/host-runtime/dist/product-telemetry/service.d.ts +1 -1
- package/host-runtime/dist/product-telemetry/service.js +1 -1
- package/host-runtime/dist/product-telemetry/workspace-scope.js +1 -1
- package/host-runtime/dist/production-pain-evidence.d.ts +1 -1
- package/host-runtime/dist/production-pain-evidence.js +3 -3
- package/host-runtime/dist/production-rulehost-gate.d.ts +1 -1
- package/host-runtime/dist/production-rulehost-gate.js +3 -3
- package/host-runtime/dist/prompt-activation-authority.d.ts +1 -1
- package/host-runtime/dist/prompt-activation-deliverability.d.ts +1 -1
- package/host-runtime/dist/prompt-activation-deliverability.js +1 -1
- package/host-runtime/dist/prompt-injection-budget-observation.d.ts +16 -5
- package/host-runtime/dist/prompt-injection-budget-observation.js +23 -9
- package/host-runtime/dist/prompt-injection-projection.d.ts +1 -1
- package/host-runtime/dist/prompt-injection-projection.js +1 -1
- package/host-runtime/dist/prompt-injection-status.d.ts +1 -1
- package/host-runtime/dist/prompt-injection-status.js +1 -1
- package/host-runtime/dist/signal-classifier.d.ts +2 -2
- package/host-runtime/dist/signal-classifier.js +3 -3
- package/host-runtime/dist/workbuddy-rule-context-provider.d.ts +1 -1
- package/host-runtime/dist/workbuddy-rule-context-provider.js +1 -1
- package/host-runtime/dist/workbuddy-worker-status.js +1 -1
- package/host-runtime/dist/workspace-behavior-evidence.d.ts +1 -1
- package/host-runtime/dist/workspace-behavior-evidence.js +2 -2
- package/host-runtime/dist/workspace-telemetry-emitter.d.ts +1 -1
- package/host-runtime/dist/workspace-telemetry-emitter.js +1 -1
- package/host-runtime/package.json +1 -1
- package/package.json +3 -3
- package/pd-cli/dist/commands/admission-gate.d.ts +1 -1
- package/pd-cli/dist/commands/admission-gate.d.ts.map +1 -1
- package/pd-cli/dist/commands/admission-gate.js +1 -1
- package/pd-cli/dist/commands/admission-gate.js.map +1 -1
- package/pd-cli/dist/commands/artifact.js +1 -1
- package/pd-cli/dist/commands/artifact.js.map +1 -1
- package/pd-cli/dist/commands/build-trajectory-evidence.d.ts +1 -1
- package/pd-cli/dist/commands/build-trajectory-evidence.d.ts.map +1 -1
- package/pd-cli/dist/commands/build-trajectory-evidence.js +1 -1
- package/pd-cli/dist/commands/build-trajectory-evidence.js.map +1 -1
- package/pd-cli/dist/commands/candidate.d.ts +1 -1
- package/pd-cli/dist/commands/candidate.d.ts.map +1 -1
- package/pd-cli/dist/commands/candidate.js +1 -1
- package/pd-cli/dist/commands/candidate.js.map +1 -1
- package/pd-cli/dist/commands/codex-reconcile.js +2 -2
- package/pd-cli/dist/commands/codex-reconcile.js.map +1 -1
- package/pd-cli/dist/commands/codex-setup.js +1 -1
- package/pd-cli/dist/commands/codex-setup.js.map +1 -1
- package/pd-cli/dist/commands/console.d.ts +1 -1
- package/pd-cli/dist/commands/console.js +5 -5
- package/pd-cli/dist/commands/console.js.map +1 -1
- package/pd-cli/dist/commands/demo-story-a.d.ts.map +1 -1
- package/pd-cli/dist/commands/demo-story-a.js +18 -8
- package/pd-cli/dist/commands/demo-story-a.js.map +1 -1
- package/pd-cli/dist/commands/diagnose.js +2 -2
- package/pd-cli/dist/commands/diagnose.js.map +1 -1
- package/pd-cli/dist/commands/health-codex.js +2 -2
- package/pd-cli/dist/commands/health-codex.js.map +1 -1
- package/pd-cli/dist/commands/health.d.ts +3 -3
- package/pd-cli/dist/commands/health.js +4 -4
- package/pd-cli/dist/commands/health.js.map +1 -1
- package/pd-cli/dist/commands/intent.d.ts +1 -1
- package/pd-cli/dist/commands/intent.d.ts.map +1 -1
- package/pd-cli/dist/commands/intent.js +116 -23
- package/pd-cli/dist/commands/intent.js.map +1 -1
- package/pd-cli/dist/commands/legacy-cleanup.js +1 -1
- package/pd-cli/dist/commands/legacy-cleanup.js.map +1 -1
- package/pd-cli/dist/commands/legacy-import.js +2 -2
- package/pd-cli/dist/commands/pain-recall.js +1 -1
- package/pd-cli/dist/commands/pain-recall.js.map +1 -1
- package/pd-cli/dist/commands/pain-record.js +1 -1
- package/pd-cli/dist/commands/pain-record.js.map +1 -1
- package/pd-cli/dist/commands/pain-retry.js +1 -1
- package/pd-cli/dist/commands/pain-retry.js.map +1 -1
- package/pd-cli/dist/commands/principles-stats.js +1 -1
- package/pd-cli/dist/commands/principles-stats.js.map +1 -1
- package/pd-cli/dist/commands/proven-channel-baseline.js +1 -1
- package/pd-cli/dist/commands/proven-channel-baseline.js.map +1 -1
- package/pd-cli/dist/commands/recovery-reachability-probe.d.ts +1 -1
- package/pd-cli/dist/commands/recovery-reachability-probe.d.ts.map +1 -1
- package/pd-cli/dist/commands/rulecode.d.ts +1 -1
- package/pd-cli/dist/commands/rulecode.d.ts.map +1 -1
- package/pd-cli/dist/commands/rulecode.js +1 -1
- package/pd-cli/dist/commands/rulecode.js.map +1 -1
- package/pd-cli/dist/commands/runtime-activation.d.ts +3 -3
- package/pd-cli/dist/commands/runtime-activation.d.ts.map +1 -1
- package/pd-cli/dist/commands/runtime-activation.js +6 -6
- package/pd-cli/dist/commands/runtime-activation.js.map +1 -1
- package/pd-cli/dist/commands/runtime-artifact-repair.js +1 -1
- package/pd-cli/dist/commands/runtime-artifact-repair.js.map +1 -1
- package/pd-cli/dist/commands/runtime-canary.js +1 -1
- package/pd-cli/dist/commands/runtime-canary.js.map +1 -1
- package/pd-cli/dist/commands/runtime-compatibility-scan.js +1 -1
- package/pd-cli/dist/commands/runtime-compatibility-scan.js.map +1 -1
- package/pd-cli/dist/commands/runtime-diagnostics-export.d.ts.map +1 -1
- package/pd-cli/dist/commands/runtime-diagnostics-export.js +8 -3
- package/pd-cli/dist/commands/runtime-diagnostics-export.js.map +1 -1
- package/pd-cli/dist/commands/runtime-health-snapshot.js +2 -2
- package/pd-cli/dist/commands/runtime-health-snapshot.js.map +1 -1
- package/pd-cli/dist/commands/runtime-init.js +3 -3
- package/pd-cli/dist/commands/runtime-init.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-audit-artificer-evidence.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-audit-artificer-evidence.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-evidence.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-evidence.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-integrity.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-integrity.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-queue.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-queue.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-retry.js +1 -1
- package/pd-cli/dist/commands/runtime-internalization-retry.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-run-once.js +2 -2
- package/pd-cli/dist/commands/runtime-internalization-run-once.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-run-rulehost.js +3 -3
- package/pd-cli/dist/commands/runtime-internalization-run-rulehost.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-wake-once.js +2 -2
- package/pd-cli/dist/commands/runtime-internalization-wake-once.js.map +1 -1
- package/pd-cli/dist/commands/runtime-pruning.js +1 -1
- package/pd-cli/dist/commands/runtime-pruning.js.map +1 -1
- package/pd-cli/dist/commands/runtime-recovery-failed-task.js +1 -1
- package/pd-cli/dist/commands/runtime-recovery-failed-task.js.map +1 -1
- package/pd-cli/dist/commands/runtime-recovery-failed-tasks.js +1 -1
- package/pd-cli/dist/commands/runtime-recovery-failed-tasks.js.map +1 -1
- package/pd-cli/dist/commands/runtime-recovery.js +1 -1
- package/pd-cli/dist/commands/runtime-recovery.js.map +1 -1
- package/pd-cli/dist/commands/runtime-uat.js +1 -1
- package/pd-cli/dist/commands/runtime.js +1 -1
- package/pd-cli/dist/commands/runtime.js.map +1 -1
- package/pd-cli/dist/commands/trace.js +1 -1
- package/pd-cli/dist/commands/trace.js.map +1 -1
- package/pd-cli/dist/commands/workbuddy-worker.js +1 -1
- package/pd-cli/dist/commands/workbuddy-worker.js.map +1 -1
- package/pd-cli/dist/config-reader.d.ts +1 -1
- package/pd-cli/dist/config-reader.d.ts.map +1 -1
- package/pd-cli/dist/config-reader.js +1 -1
- package/pd-cli/dist/config-reader.js.map +1 -1
- package/pd-cli/dist/legacy/session-history-import.d.ts +2 -2
- package/pd-cli/dist/legacy/session-history-import.js +2 -2
- package/pd-cli/dist/services/admission-write-gate.d.ts +1 -1
- package/pd-cli/dist/services/admission-write-gate.d.ts.map +1 -1
- package/pd-cli/dist/services/admission-write-gate.js +1 -1
- package/pd-cli/dist/services/admission-write-gate.js.map +1 -1
- package/pd-cli/dist/services/config-doctor.js +1 -1
- package/pd-cli/dist/services/config-doctor.js.map +1 -1
- package/pd-cli/dist/services/demo-rule-compiler.d.ts +1 -1
- package/pd-cli/dist/services/demo-rule-compiler.d.ts.map +1 -1
- package/pd-cli/dist/services/demo-rule-compiler.js +1 -1
- package/pd-cli/dist/services/demo-rule-compiler.js.map +1 -1
- package/pd-cli/dist/services/demo-story-a-runner.d.ts +1 -1
- package/pd-cli/dist/services/demo-story-a-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/demo-story-a-runner.js +3 -3
- package/pd-cli/dist/services/demo-story-a-runner.js.map +1 -1
- package/pd-cli/dist/services/mainline-snapshot-assembler.d.ts +3 -3
- package/pd-cli/dist/services/mainline-snapshot-assembler.d.ts.map +1 -1
- package/pd-cli/dist/services/mainline-snapshot-assembler.js +3 -3
- package/pd-cli/dist/services/mainline-snapshot-assembler.js.map +1 -1
- package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts +1 -1
- package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/pain-flood-simulation-runner.js +12 -12
- package/pd-cli/dist/services/pain-flood-simulation-runner.js.map +1 -1
- package/pd-cli/dist/services/pd-config-loader.d.ts +1 -1
- package/pd-cli/dist/services/pd-config-loader.d.ts.map +1 -1
- package/pd-cli/dist/services/pd-config-loader.js +1 -1
- package/pd-cli/dist/services/pd-config-loader.js.map +1 -1
- package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts +1 -1
- package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/proven-channel-baseline-runner.js +1 -1
- package/pd-cli/dist/services/proven-channel-baseline-runner.js.map +1 -1
- package/pd-cli/dist/services/resolve-runtime-from-pd-config.d.ts +2 -2
- package/pd-cli/dist/services/resolve-runtime-from-pd-config.d.ts.map +1 -1
- package/pd-cli/dist/services/resolve-runtime-from-pd-config.js +1 -1
- package/pd-cli/dist/services/resolve-runtime-from-pd-config.js.map +1 -1
- package/pd-cli/dist/services/reuse-gated-intake.d.ts +2 -2
- package/pd-cli/dist/services/reuse-gated-intake.d.ts.map +1 -1
- package/pd-cli/dist/services/reuse-gated-intake.js +1 -1
- package/pd-cli/dist/services/reuse-gated-intake.js.map +1 -1
- package/pd-cli/dist/services/rulehost-pipeline-runner.d.ts +3 -3
- package/pd-cli/dist/services/rulehost-pipeline-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/rulehost-pipeline-runner.js +2 -2
- package/pd-cli/dist/services/rulehost-pipeline-runner.js.map +1 -1
- package/pd-cli/dist/services/rulehost-readiness.js +1 -1
- package/pd-cli/dist/services/rulehost-readiness.js.map +1 -1
- package/pd-cli/dist/services/runtime-adapter-resolver.d.ts +2 -2
- package/pd-cli/dist/services/runtime-adapter-resolver.d.ts.map +1 -1
- package/pd-cli/dist/services/runtime-adapter-resolver.js +1 -1
- package/pd-cli/dist/services/runtime-adapter-resolver.js.map +1 -1
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts +1 -1
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/synthetic-baseline-runner.js +15 -15
- package/pd-cli/dist/services/synthetic-baseline-runner.js.map +1 -1
- package/pd-cli/dist/services/workspace-telemetry.js +1 -1
- package/pd-cli/dist/services/workspace-telemetry.js.map +1 -1
- package/pd-cli/dist/services/workspace-tool-semantics.d.ts +1 -1
- package/pd-cli/dist/services/workspace-tool-semantics.d.ts.map +1 -1
- package/pd-mcp-server/dist/envelope.d.ts +1 -1
- package/pd-mcp-server/dist/envelope.js +1 -1
- package/pd-mcp-server/dist/server.d.ts +2 -2
- package/pd-mcp-server/dist/server.js +2 -2
- package/pd-mcp-server/dist/version.d.ts +1 -1
- package/pd-mcp-server/dist/version.js +1 -1
- package/pd-mcp-server/package.json +1 -1
- package/plugin/dist/bundle.js +609 -608
- package/plugin/dist/commands/promote-impl.d.ts +1 -1
- package/plugin/dist/constants/tool-semantics.d.ts +1 -1
- package/plugin/dist/core/correction-types.d.ts +2 -2
- package/plugin/dist/core/event-log.d.ts +3 -3
- package/plugin/dist/core/evolution-types.d.ts +5 -5
- package/plugin/dist/core/intent-doc-reader-adapter.d.ts +1 -1
- package/plugin/dist/core/intent-doc-reader.d.ts +1 -1
- package/plugin/dist/core/pd-task-types.d.ts +2 -2
- package/plugin/dist/core/principle-compiler/code-validator.d.ts +2 -2
- package/plugin/dist/core/principle-compiler/compiler.d.ts +2 -2
- package/plugin/dist/core/principle-compiler/template-generator.d.ts +1 -1
- package/plugin/dist/core/principle-internalization/filesystem-lifecycle-datasource.d.ts +2 -2
- package/plugin/dist/core/principle-internalization/lifecycle-read-model.d.ts +5 -5
- package/plugin/dist/core/principle-internalization/principle-lifecycle-service.d.ts +3 -3
- package/plugin/dist/core/principle-tree-ledger.d.ts +1 -1
- package/plugin/dist/core/replay-engine.d.ts +1 -1
- package/plugin/dist/core/rule-context-assembler.d.ts +1 -1
- package/plugin/dist/core/rule-host.d.ts +3 -3
- package/plugin/dist/core/runtime-prompt-activation-reader.d.ts +30 -0
- package/plugin/dist/core/signal-collector-host.d.ts +1 -1
- package/plugin/dist/core/workspace-context.d.ts +1 -1
- package/plugin/dist/governance-audit.d.ts +2 -2
- package/plugin/dist/governance-audit.js +1 -1
- package/plugin/dist/hooks/controlled-admission.d.ts +87 -0
- package/plugin/dist/hooks/gate.d.ts +1 -1
- package/plugin/dist/hooks/message-sanitize.d.ts +1 -1
- package/plugin/dist/hooks/pain-ingress-adapter.d.ts +1 -1
- package/plugin/dist/hooks/prompt.d.ts +1 -1
- package/plugin/dist/hooks/raw-observation-adapter.d.ts +2 -2
- package/plugin/dist/hooks/raw-observation-types.d.ts +2 -2
- package/plugin/dist/hooks/trajectory-evidence.d.ts +1 -1
- package/plugin/dist/hooks/triage-adapter.d.ts +1 -1
- package/plugin/dist/index.d.ts +1 -1
- package/plugin/dist/openclaw.plugin.json +1 -1
- package/plugin/dist/service/correction-observer-service.d.ts +1 -1
- package/plugin/dist/service/keyword-optimization-service.d.ts +2 -2
- package/plugin/dist/types/event-types.d.ts +2 -2
- package/plugin/dist/types/hygiene-types.d.ts +2 -2
- package/plugin/dist/types/principle-tree-schema.d.ts +2 -2
- package/plugin/dist/utils/workspace-resolver.d.ts +1 -1
- package/plugin/openclaw.plugin.json +1 -1
- package/plugin/package.json +1 -1
- package/release-manager/dist/installer.js +1 -1
- package/release-manager/dist/installers/workbuddy-host-installer.js +1 -1
- package/release-manager/dist/utils/config-file-io.js +1 -1
- package/release-manager/dist/utils/env.js +1 -1
- package/release-manager/package.json +1 -1
- package/workbuddy-adapter/dist/pd-hook.js +3 -3
- package/workbuddy-adapter/dist/tool-semantics.d.ts +1 -1
- package/workbuddy-adapter/dist/tool-semantics.js +1 -1
- package/workbuddy-adapter/dist/workbuddy-evidence-recorder.d.ts +1 -1
- package/workbuddy-adapter/dist/worker/workspace-worker.js +2 -2
- package/workbuddy-adapter/package.json +1 -1
- package/core/dist/runtime-v2/activation/activation-control-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/activation-control-types.js.map +0 -1
- package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/activation-dispatcher.js.map +0 -1
- package/core/dist/runtime-v2/activation/activation-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/activation-types.js.map +0 -1
- package/core/dist/runtime-v2/activation/adaptive-delivery-record.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/adaptive-delivery-record.js.map +0 -1
- package/core/dist/runtime-v2/activation/adaptive-principle-intervention.d.ts +0 -46
- package/core/dist/runtime-v2/activation/adaptive-principle-intervention.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/adaptive-principle-intervention.js +0 -91
- package/core/dist/runtime-v2/activation/adaptive-principle-intervention.js.map +0 -1
- package/core/dist/runtime-v2/activation/approval-completion-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/approval-completion-service.js.map +0 -1
- package/core/dist/runtime-v2/activation/approval-queue.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/approval-queue.js.map +0 -1
- package/core/dist/runtime-v2/activation/approval-review-guard.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/approval-review-guard.js.map +0 -1
- package/core/dist/runtime-v2/activation/index.d.ts +0 -48
- package/core/dist/runtime-v2/activation/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/index.js +0 -38
- package/core/dist/runtime-v2/activation/index.js.map +0 -1
- package/core/dist/runtime-v2/activation/ledger-identity.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/ledger-identity.js.map +0 -1
- package/core/dist/runtime-v2/activation/low-risk-writers.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/low-risk-writers.js.map +0 -1
- package/core/dist/runtime-v2/activation/memory-activation-state-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/memory-activation-state-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/memory-approval-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/memory-approval-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/openclaw-promotion-checks.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/openclaw-promotion-checks.js.map +0 -1
- package/core/dist/runtime-v2/activation/production-gate-deps.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/production-gate-deps.js.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-evidence-snapshot.js.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-readiness-evaluator.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-readiness-evaluator.js.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-readiness-reader.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/promotion-readiness-reader.js.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts +0 -118
- package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.js +0 -209
- package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.js.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-budget-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-budget-policy.js +0 -326
- package/core/dist/runtime-v2/activation/prompt-budget-policy.js.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-replacement.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/prompt-replacement.js.map +0 -1
- package/core/dist/runtime-v2/activation/recovery-composition.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/recovery-composition.js.map +0 -1
- package/core/dist/runtime-v2/activation/recovery-control-surfaces.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/recovery-control-surfaces.js.map +0 -1
- package/core/dist/runtime-v2/activation/rule-replacement.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/rule-replacement.js.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-owner-decision-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-owner-decision-service.js.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-safety-circuit-breaker.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-safety-circuit-breaker.js.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-shadow-summary.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/rulecode-shadow-summary.js.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-safety-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-safety-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-approval-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/sqlite-approval-store.js.map +0 -1
- package/core/dist/runtime-v2/activation/writers/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/writers/index.js.map +0 -1
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.js.map +0 -1
- package/core/dist/runtime-v2/activation-compatibility-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/activation-compatibility-read-model.js.map +0 -1
- package/core/dist/runtime-v2/adapter/artificer-l2-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/artificer-l2-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/index.js.map +0 -1
- package/core/dist/runtime-v2/adapter/json-extractor.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/json-extractor.js.map +0 -1
- package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/output-repair-contract.js +0 -99
- package/core/dist/runtime-v2/adapter/output-repair-contract.js.map +0 -1
- package/core/dist/runtime-v2/adapter/output-schema-registry.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/output-schema-registry.js.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-catalog.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-catalog.js.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-http-transport.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-http-transport.js.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js +0 -1489
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts +0 -98
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js +0 -243
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/schema-json-converter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/schema-json-converter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/split-pipeline-fixtures.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/split-pipeline-fixtures.js.map +0 -1
- package/core/dist/runtime-v2/adapter/structured-output-repair.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/structured-output-repair.js +0 -298
- package/core/dist/runtime-v2/adapter/structured-output-repair.js.map +0 -1
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.js.map +0 -1
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.d.ts.map +0 -1
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.js.map +0 -1
- package/core/dist/runtime-v2/admission-gate.d.ts.map +0 -1
- package/core/dist/runtime-v2/admission-gate.js.map +0 -1
- package/core/dist/runtime-v2/adversarial-loop.d.ts.map +0 -1
- package/core/dist/runtime-v2/adversarial-loop.js.map +0 -1
- package/core/dist/runtime-v2/agent-spec.d.ts.map +0 -1
- package/core/dist/runtime-v2/agent-spec.js.map +0 -1
- package/core/dist/runtime-v2/bridge-result-shaper.d.ts.map +0 -1
- package/core/dist/runtime-v2/bridge-result-shaper.js.map +0 -1
- package/core/dist/runtime-v2/build-l2-principle-reader.d.ts.map +0 -1
- package/core/dist/runtime-v2/build-l2-principle-reader.js.map +0 -1
- package/core/dist/runtime-v2/candidate-audit.d.ts.map +0 -1
- package/core/dist/runtime-v2/candidate-audit.js.map +0 -1
- package/core/dist/runtime-v2/candidate-intake-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/candidate-intake-service.js.map +0 -1
- package/core/dist/runtime-v2/candidate-intake.d.ts.map +0 -1
- package/core/dist/runtime-v2/candidate-intake.js.map +0 -1
- package/core/dist/runtime-v2/cli/diagnose.d.ts.map +0 -1
- package/core/dist/runtime-v2/cli/diagnose.js.map +0 -1
- package/core/dist/runtime-v2/cli/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/cli/index.js.map +0 -1
- package/core/dist/runtime-v2/cli/probe.d.ts.map +0 -1
- package/core/dist/runtime-v2/cli/probe.js.map +0 -1
- package/core/dist/runtime-v2/config/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/index.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-agent-binding.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-agent-binding.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-defaults.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-defaults.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-effective.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-effective.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-feature-flags.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-feature-flags.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-redaction.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-redaction.js +0 -202
- package/core/dist/runtime-v2/config/pd-config-redaction.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-types.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-validate.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-config-validate.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-profile-constants.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-profile-constants.js.map +0 -1
- package/core/dist/runtime-v2/config/pd-validate-profile.d.ts.map +0 -1
- package/core/dist/runtime-v2/config/pd-validate-profile.js.map +0 -1
- package/core/dist/runtime-v2/context-payload.d.ts.map +0 -1
- package/core/dist/runtime-v2/context-payload.js.map +0 -1
- package/core/dist/runtime-v2/control-plane-triage.d.ts.map +0 -1
- package/core/dist/runtime-v2/control-plane-triage.js.map +0 -1
- package/core/dist/runtime-v2/core-principles/core-axiom-block.d.ts.map +0 -1
- package/core/dist/runtime-v2/core-principles/core-axiom-block.js.map +0 -1
- package/core/dist/runtime-v2/core-principles/core-principle-registry.d.ts.map +0 -1
- package/core/dist/runtime-v2/core-principles/core-principle-registry.js.map +0 -1
- package/core/dist/runtime-v2/core-principles/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/core-principles/index.js.map +0 -1
- package/core/dist/runtime-v2/core-principles/strip-fabricated-ids.d.ts.map +0 -1
- package/core/dist/runtime-v2/core-principles/strip-fabricated-ids.js.map +0 -1
- package/core/dist/runtime-v2/correction/correction-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/correction/correction-types.js.map +0 -1
- package/core/dist/runtime-v2/correction/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/correction/index.js.map +0 -1
- package/core/dist/runtime-v2/detection/detection-funnel-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/detection/detection-funnel-policy.js.map +0 -1
- package/core/dist/runtime-v2/detection/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/detection/index.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/diag-distiller-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/diag-distiller-output.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/diag-rootcause-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/diag-rootcause-output.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/distiller-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/distiller-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/evidence-ref-binding.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/evidence-ref-binding.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/rootcause-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/rootcause-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician/router-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician/router-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-association-shadow.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-association-shadow.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-association-validation.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-association-validation.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-capability.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-capability.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-output.js.map +0 -1
- package/core/dist/runtime-v2/diagnostician-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/diagnostician-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/error-categories.d.ts +0 -42
- package/core/dist/runtime-v2/error-categories.d.ts.map +0 -1
- package/core/dist/runtime-v2/error-categories.js +0 -122
- package/core/dist/runtime-v2/error-categories.js.map +0 -1
- package/core/dist/runtime-v2/evidence-guards.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-guards.js.map +0 -1
- package/core/dist/runtime-v2/evidence-sanitizer.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-sanitizer.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/index.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/observation-resolver.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/observation-resolver.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/source-descriptors.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/source-descriptors.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/triage-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/triage-policy.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/trigger-controller.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/trigger-controller.js.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/types.d.ts.map +0 -1
- package/core/dist/runtime-v2/evidence-triage/types.js.map +0 -1
- package/core/dist/runtime-v2/evolution/evolution-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/evolution/evolution-types.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.js +0 -273
- package/core/dist/runtime-v2/feature-flags/feature-flag-lifecycle.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/index.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/plugin-surface-registry.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/plugin-surface-registry.js.map +0 -1
- package/core/dist/runtime-v2/feature-flags/surface-guard-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/feature-flags/surface-guard-policy.js.map +0 -1
- package/core/dist/runtime-v2/feedback/create-report.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/create-report.js.map +0 -1
- package/core/dist/runtime-v2/feedback/feedback-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/feedback-types.js.map +0 -1
- package/core/dist/runtime-v2/feedback/fingerprint.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/fingerprint.js.map +0 -1
- package/core/dist/runtime-v2/feedback/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/index.js +0 -18
- package/core/dist/runtime-v2/feedback/index.js.map +0 -1
- package/core/dist/runtime-v2/feedback/internal-guards.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/internal-guards.js.map +0 -1
- package/core/dist/runtime-v2/feedback/pending-agent-draft-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/pending-agent-draft-store.js.map +0 -1
- package/core/dist/runtime-v2/feedback/privacy-preview.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/privacy-preview.js.map +0 -1
- package/core/dist/runtime-v2/feedback/redact-sensitive.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/redact-sensitive.js +0 -301
- package/core/dist/runtime-v2/feedback/redact-sensitive.js.map +0 -1
- package/core/dist/runtime-v2/feedback/render-github-url.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/render-github-url.js.map +0 -1
- package/core/dist/runtime-v2/feedback/render-markdown.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/render-markdown.js.map +0 -1
- package/core/dist/runtime-v2/feedback/safe-stringify.d.ts.map +0 -1
- package/core/dist/runtime-v2/feedback/safe-stringify.js.map +0 -1
- package/core/dist/runtime-v2/full-trace-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/full-trace-contract.js +0 -466
- package/core/dist/runtime-v2/full-trace-contract.js.map +0 -1
- package/core/dist/runtime-v2/golden-trace-replay-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/golden-trace-replay-validator.js.map +0 -1
- package/core/dist/runtime-v2/golden-trace.d.ts.map +0 -1
- package/core/dist/runtime-v2/golden-trace.js.map +0 -1
- package/core/dist/runtime-v2/governance-experience-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-experience-contract.js.map +0 -1
- package/core/dist/runtime-v2/governance-experience.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-experience.js.map +0 -1
- package/core/dist/runtime-v2/governance-projection-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-projection-contract.js.map +0 -1
- package/core/dist/runtime-v2/governance-projection.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-projection.js.map +0 -1
- package/core/dist/runtime-v2/governance-timestamp-schema.d.ts.map +0 -1
- package/core/dist/runtime-v2/governance-timestamp-schema.js.map +0 -1
- package/core/dist/runtime-v2/index.d.ts +0 -446
- package/core/dist/runtime-v2/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/index.js +0 -409
- package/core/dist/runtime-v2/index.js.map +0 -1
- package/core/dist/runtime-v2/intent/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/index.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-browser.d.ts +0 -23
- package/core/dist/runtime-v2/intent/intent-browser.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-browser.js +0 -21
- package/core/dist/runtime-v2/intent/intent-browser.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-decision-record.d.ts +0 -125
- package/core/dist/runtime-v2/intent/intent-decision-record.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-decision-record.js +0 -21
- package/core/dist/runtime-v2/intent/intent-decision-record.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc-reader-port.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc-reader-port.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc-version.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc-version.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-doc.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-friction-block.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-friction-block.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-hash.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-hash.js.map +0 -1
- package/core/dist/runtime-v2/intent/intent-patch-proposal.d.ts.map +0 -1
- package/core/dist/runtime-v2/intent/intent-patch-proposal.js.map +0 -1
- package/core/dist/runtime-v2/internalization/adversarial-case.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/adversarial-case.js.map +0 -1
- package/core/dist/runtime-v2/internalization/adversarial-feedback.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/adversarial-feedback.js.map +0 -1
- package/core/dist/runtime-v2/internalization/approved-rule-revision.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/approved-rule-revision.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artifact-content-hash.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artifact-content-hash.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artifact-summary.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artifact-summary.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-code-bearing.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-code-bearing.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-intent-preflight.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-intent-preflight.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-run-correlation.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-run-correlation.js.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/artificer-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/bash-risk.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/bash-risk.js +0 -905
- package/core/dist/runtime-v2/internalization/bash-risk.js.map +0 -1
- package/core/dist/runtime-v2/internalization/behavior-example-pack.d.ts +0 -47
- package/core/dist/runtime-v2/internalization/behavior-example-pack.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/behavior-example-pack.js +0 -214
- package/core/dist/runtime-v2/internalization/behavior-example-pack.js.map +0 -1
- package/core/dist/runtime-v2/internalization/candidate-identity.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/candidate-identity.js.map +0 -1
- package/core/dist/runtime-v2/internalization/compile-result.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/compile-result.js.map +0 -1
- package/core/dist/runtime-v2/internalization/consumer-evidence-preflight.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/consumer-evidence-preflight.js.map +0 -1
- package/core/dist/runtime-v2/internalization/correction-proposal.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/correction-proposal.js +0 -333
- package/core/dist/runtime-v2/internalization/correction-proposal.js.map +0 -1
- package/core/dist/runtime-v2/internalization/deprecated-readiness.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/deprecated-readiness.js.map +0 -1
- package/core/dist/runtime-v2/internalization/design-gate-facts.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/design-gate-facts.js.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-distiller-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-distiller-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-rootcause-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-rootcause-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-router-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/diag-router-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/dreamer-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/evidence-readiness.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/evidence-readiness.js.map +0 -1
- package/core/dist/runtime-v2/internalization/formation-context.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/formation-context.js.map +0 -1
- package/core/dist/runtime-v2/internalization/golden-dogfood-fixtures.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/golden-dogfood-fixtures.js.map +0 -1
- package/core/dist/runtime-v2/internalization/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/index.js.map +0 -1
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.js.map +0 -1
- package/core/dist/runtime-v2/internalization/intent-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/intent-contract.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-consumer-decision.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-consumer-decision.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-job-graph.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-job-graph.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-route.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-route.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-state-machine.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-state-machine.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-task-guards.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-task-guards.js.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-transition-decision.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/internalization-transition-decision.js.map +0 -1
- package/core/dist/runtime-v2/internalization/legacy-rule-contract-scanner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/legacy-rule-contract-scanner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.js.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.js.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.js.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/lifecycle-types.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-decision-review.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-decision-review.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-evidence-recovery.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-evidence-recovery.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-resolution-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-resolution-service.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-retry.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-retry.js.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-review.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/owner-review.js.map +0 -1
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.js.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/philosopher-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/pi-artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/pi-artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/internalization/pi-artifact.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/pi-artifact.js.map +0 -1
- package/core/dist/runtime-v2/internalization/pitask-metadata.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/pitask-metadata.js +0 -1030
- package/core/dist/runtime-v2/internalization/pitask-metadata.js.map +0 -1
- package/core/dist/runtime-v2/internalization/prompt-serializer.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/prompt-serializer.js.map +0 -1
- package/core/dist/runtime-v2/internalization/queue-actionability.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/queue-actionability.js.map +0 -1
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.js.map +0 -1
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.js.map +0 -1
- package/core/dist/runtime-v2/internalization/repair-replay-resolver.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/repair-replay-resolver.js.map +0 -1
- package/core/dist/runtime-v2/internalization/revision-reopen.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/revision-reopen.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/router-context-evidence.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/router-context-evidence.js.map +0 -1
- package/core/dist/runtime-v2/internalization/routing-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/routing-policy.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-activation-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-activation-contract.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-binding-revision.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-binding-revision.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-code-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-code-validator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-context-v2.d.ts +0 -64
- package/core/dist/runtime-v2/internalization/rule-context-v2.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-context-v2.js +0 -285
- package/core/dist/runtime-v2/internalization/rule-context-v2.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-adapter.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-adapter.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-contracts.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-contracts.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-helpers.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-helpers.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-input-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-input-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-host-validator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-reliability-validation.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-reliability-validation.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-source-correction.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rule-source-correction.js.map +0 -1
- package/core/dist/runtime-v2/internalization/rulecode-verification-obligations.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/rulecode-verification-obligations.js.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-output.js.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.js.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/scribe-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.js.map +0 -1
- package/core/dist/runtime-v2/internalization/template-generator.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/template-generator.js.map +0 -1
- package/core/dist/runtime-v2/internalization/textual-basis-anchor.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/textual-basis-anchor.js.map +0 -1
- package/core/dist/runtime-v2/internalization/tool-semantic-baseline.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/tool-semantic-baseline.js.map +0 -1
- package/core/dist/runtime-v2/internalization/tool-semantic-registry.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/tool-semantic-registry.js.map +0 -1
- package/core/dist/runtime-v2/internalization/v2-adversarial-cases.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization/v2-adversarial-cases.js.map +0 -1
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.js.map +0 -1
- package/core/dist/runtime-v2/internalization-integrity-remediation.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization-integrity-remediation.js.map +0 -1
- package/core/dist/runtime-v2/internalization-queue-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/internalization-queue-read-model.js.map +0 -1
- package/core/dist/runtime-v2/intervention-evidence-normalizer.d.ts.map +0 -1
- package/core/dist/runtime-v2/intervention-evidence-normalizer.js.map +0 -1
- package/core/dist/runtime-v2/l1-hard-cap.d.ts.map +0 -1
- package/core/dist/runtime-v2/l1-hard-cap.js.map +0 -1
- package/core/dist/runtime-v2/language-directive.d.ts.map +0 -1
- package/core/dist/runtime-v2/language-directive.js.map +0 -1
- package/core/dist/runtime-v2/learning-lab/actor-action-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/learning-lab/actor-action-output.js.map +0 -1
- package/core/dist/runtime-v2/mainline-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/mainline-contract.js.map +0 -1
- package/core/dist/runtime-v2/observer/agent-scheduler.d.ts.map +0 -1
- package/core/dist/runtime-v2/observer/agent-scheduler.js.map +0 -1
- package/core/dist/runtime-v2/observer/correction-observer.d.ts.map +0 -1
- package/core/dist/runtime-v2/observer/correction-observer.js.map +0 -1
- package/core/dist/runtime-v2/operator-health-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/operator-health-read-model.js +0 -135
- package/core/dist/runtime-v2/operator-health-read-model.js.map +0 -1
- package/core/dist/runtime-v2/owner-decision/owner-decision-view-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/owner-decision/owner-decision-view-contract.js.map +0 -1
- package/core/dist/runtime-v2/owner-decision/owner-decision-view.d.ts.map +0 -1
- package/core/dist/runtime-v2/owner-decision/owner-decision-view.js.map +0 -1
- package/core/dist/runtime-v2/owner-decision/semantic-selector.d.ts.map +0 -1
- package/core/dist/runtime-v2/owner-decision/semantic-selector.js.map +0 -1
- package/core/dist/runtime-v2/owner-identity.d.ts.map +0 -1
- package/core/dist/runtime-v2/owner-identity.js.map +0 -1
- package/core/dist/runtime-v2/pain-chain-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-chain-read-model.js +0 -327
- package/core/dist/runtime-v2/pain-chain-read-model.js.map +0 -1
- package/core/dist/runtime-v2/pain-flood-simulation.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-flood-simulation.js +0 -152
- package/core/dist/runtime-v2/pain-flood-simulation.js.map +0 -1
- package/core/dist/runtime-v2/pain-ingress-payload.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-ingress-payload.js.map +0 -1
- package/core/dist/runtime-v2/pain-ingress.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-ingress.js.map +0 -1
- package/core/dist/runtime-v2/pain-recall-capability.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-recall-capability.js.map +0 -1
- package/core/dist/runtime-v2/pain-recall-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-recall-read-model.js.map +0 -1
- package/core/dist/runtime-v2/pain-recall-snapshot-hooks.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-recall-snapshot-hooks.js.map +0 -1
- package/core/dist/runtime-v2/pain-signal-bridge.d.ts +0 -389
- package/core/dist/runtime-v2/pain-signal-bridge.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-signal-bridge.js +0 -1460
- package/core/dist/runtime-v2/pain-signal-bridge.js.map +0 -1
- package/core/dist/runtime-v2/pain-signal-observability.d.ts +0 -36
- package/core/dist/runtime-v2/pain-signal-observability.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-signal-observability.js.map +0 -1
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts +0 -254
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js +0 -780
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js.map +0 -1
- package/core/dist/runtime-v2/pain-to-principle-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/pain-to-principle-service.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-domain.d.ts +0 -89
- package/core/dist/runtime-v2/principle-reuse/reuse-domain.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-domain.js +0 -16
- package/core/dist/runtime-v2/principle-reuse/reuse-domain.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-output.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-output.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-evaluation-runner.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-proposal.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-proposal.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-retrieval.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-retrieval.js.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-shortlist.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-reuse/reuse-shortlist.js.map +0 -1
- package/core/dist/runtime-v2/principle-tree/ledger-codec.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-tree/ledger-codec.js.map +0 -1
- package/core/dist/runtime-v2/principle-tree/rule-candidate-binding.d.ts.map +0 -1
- package/core/dist/runtime-v2/principle-tree/rule-candidate-binding.js.map +0 -1
- package/core/dist/runtime-v2/product-telemetry/daily-identity.d.ts.map +0 -1
- package/core/dist/runtime-v2/product-telemetry/daily-identity.js.map +0 -1
- package/core/dist/runtime-v2/product-telemetry/snapshot-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/product-telemetry/snapshot-contract.js.map +0 -1
- package/core/dist/runtime-v2/proven-channel-baseline.d.ts.map +0 -1
- package/core/dist/runtime-v2/proven-channel-baseline.js +0 -547
- package/core/dist/runtime-v2/proven-channel-baseline.js.map +0 -1
- package/core/dist/runtime-v2/pruning-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/pruning-read-model.js.map +0 -1
- package/core/dist/runtime-v2/receipt-coverage.d.ts.map +0 -1
- package/core/dist/runtime-v2/receipt-coverage.js.map +0 -1
- package/core/dist/runtime-v2/recovery-actions-log.d.ts.map +0 -1
- package/core/dist/runtime-v2/recovery-actions-log.js.map +0 -1
- package/core/dist/runtime-v2/recovery-sweep-service.d.ts.map +0 -1
- package/core/dist/runtime-v2/recovery-sweep-service.js.map +0 -1
- package/core/dist/runtime-v2/remediation-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/remediation-contract.js.map +0 -1
- package/core/dist/runtime-v2/risk/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/risk/index.js.map +0 -1
- package/core/dist/runtime-v2/risk/risk-calculator-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/risk/risk-calculator-policy.js.map +0 -1
- package/core/dist/runtime-v2/runner/base-peer-runner.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/base-peer-runner.js.map +0 -1
- package/core/dist/runtime-v2/runner/default-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/default-validator.js.map +0 -1
- package/core/dist/runtime-v2/runner/diagnostician-validator.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/diagnostician-validator.js.map +0 -1
- package/core/dist/runtime-v2/runner/peer-runner-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/peer-runner-types.js.map +0 -1
- package/core/dist/runtime-v2/runner/runner-phase.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/runner-phase.js.map +0 -1
- package/core/dist/runtime-v2/runner/runner-result.d.ts.map +0 -1
- package/core/dist/runtime-v2/runner/runner-result.js.map +0 -1
- package/core/dist/runtime-v2/runtime-protocol.d.ts.map +0 -1
- package/core/dist/runtime-v2/runtime-protocol.js.map +0 -1
- package/core/dist/runtime-v2/runtime-state-handle.d.ts.map +0 -1
- package/core/dist/runtime-v2/runtime-state-handle.js.map +0 -1
- package/core/dist/runtime-v2/schema-conformance-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/schema-conformance-read-model.js.map +0 -1
- package/core/dist/runtime-v2/schema-version.d.ts +0 -20
- package/core/dist/runtime-v2/schema-version.d.ts.map +0 -1
- package/core/dist/runtime-v2/schema-version.js +0 -20
- package/core/dist/runtime-v2/schema-version.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/confidence-gate.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/confidence-gate.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/index.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/keyword-stage.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/keyword-stage.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/llm-stage.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/llm-stage.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/signal-collector.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/signal-collector.js.map +0 -1
- package/core/dist/runtime-v2/signal-collector/types.d.ts.map +0 -1
- package/core/dist/runtime-v2/signal-collector/types.js.map +0 -1
- package/core/dist/runtime-v2/stalled-diagnostician-task-read-model.d.ts.map +0 -1
- package/core/dist/runtime-v2/stalled-diagnostician-task-read-model.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/index.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/admission-document.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/admission-document.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/candidate-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/candidate-store.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/index.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.js.map +0 -1
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/commit-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/commit-store.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/index.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/memory-commit-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/memory-commit-store.js.map +0 -1
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.js.map +0 -1
- package/core/dist/runtime-v2/store/context/context-assembler.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/context-assembler.js.map +0 -1
- package/core/dist/runtime-v2/store/context/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/index.js.map +0 -1
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.js.map +0 -1
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.js.map +0 -1
- package/core/dist/runtime-v2/store/context/trajectory-turn-reader.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/context/trajectory-turn-reader.js.map +0 -1
- package/core/dist/runtime-v2/store/design-gate/sqlite-design-gate-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/design-gate/sqlite-design-gate-store.js.map +0 -1
- package/core/dist/runtime-v2/store/event-emitter.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/event-emitter.js.map +0 -1
- package/core/dist/runtime-v2/store/history/history-query.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/history/history-query.js.map +0 -1
- package/core/dist/runtime-v2/store/history/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/history/index.js.map +0 -1
- package/core/dist/runtime-v2/store/history/resilient-history-query.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/history/resilient-history-query.js.map +0 -1
- package/core/dist/runtime-v2/store/history/sqlite-history-query.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/history/sqlite-history-query.js.map +0 -1
- package/core/dist/runtime-v2/store/intent/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/intent/index.js.map +0 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-decision-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-decision-store.js.map +0 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-doc-version-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-doc-version-store.js.map +0 -1
- package/core/dist/runtime-v2/store/intervention-evidence-schema.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/intervention-evidence-schema.js.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/index.js.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.js.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.js.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.js.map +0 -1
- package/core/dist/runtime-v2/store/pain/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/pain/index.js.map +0 -1
- package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.js.map +0 -1
- package/core/dist/runtime-v2/store/pain-diagnosis/pain-diagnosis-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/pain-diagnosis/pain-diagnosis-store.js.map +0 -1
- package/core/dist/runtime-v2/store/pain-diagnosis/sqlite-pain-diagnosis-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/pain-diagnosis/sqlite-pain-diagnosis-store.js.map +0 -1
- package/core/dist/runtime-v2/store/reconciliation-cursor-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/reconciliation-cursor-store.js.map +0 -1
- package/core/dist/runtime-v2/store/run/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/run/index.js.map +0 -1
- package/core/dist/runtime-v2/store/run/memory-run-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/run/memory-run-store.js.map +0 -1
- package/core/dist/runtime-v2/store/run/run-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/run/run-store.js.map +0 -1
- package/core/dist/runtime-v2/store/run/sqlite-run-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/run/sqlite-run-store.js.map +0 -1
- package/core/dist/runtime-v2/store/runtime-state-manager.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/runtime-state-manager.js.map +0 -1
- package/core/dist/runtime-v2/store/sqlite-connection.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/sqlite-connection.js.map +0 -1
- package/core/dist/runtime-v2/store/sqlite-intervention-evidence-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/sqlite-intervention-evidence-store.js.map +0 -1
- package/core/dist/runtime-v2/store/task/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/index.js.map +0 -1
- package/core/dist/runtime-v2/store/task/memory-task-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/memory-task-store.js.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-approved-rule-revision.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-approved-rule-revision.js.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-family-reopen.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-family-reopen.js.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/sqlite-task-store.js.map +0 -1
- package/core/dist/runtime-v2/store/task/task-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/task-store.js.map +0 -1
- package/core/dist/runtime-v2/store/task/task-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/task/task-types.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/index.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.js.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.js.map +0 -1
- package/core/dist/runtime-v2/store/workspace-leak-guard.d.ts.map +0 -1
- package/core/dist/runtime-v2/store/workspace-leak-guard.js.map +0 -1
- package/core/dist/runtime-v2/story-a-demo.d.ts +0 -77
- package/core/dist/runtime-v2/story-a-demo.d.ts.map +0 -1
- package/core/dist/runtime-v2/story-a-demo.js.map +0 -1
- package/core/dist/runtime-v2/synthetic-baseline.d.ts.map +0 -1
- package/core/dist/runtime-v2/synthetic-baseline.js +0 -116
- package/core/dist/runtime-v2/synthetic-baseline.js.map +0 -1
- package/core/dist/runtime-v2/system-prompt-merge.d.ts.map +0 -1
- package/core/dist/runtime-v2/system-prompt-merge.js.map +0 -1
- package/core/dist/runtime-v2/task-status.d.ts.map +0 -1
- package/core/dist/runtime-v2/task-status.js.map +0 -1
- package/core/dist/runtime-v2/tools/agent-tool-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/tools/agent-tool-contract.js.map +0 -1
- package/core/dist/runtime-v2/tools/artificer-l2-tool-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/tools/artificer-l2-tool-contract.js.map +0 -1
- package/core/dist/runtime-v2/tools/artificer-output-typebox.d.ts.map +0 -1
- package/core/dist/runtime-v2/tools/artificer-output-typebox.js.map +0 -1
- package/core/dist/runtime-v2/tools/dreamer-output-typebox.d.ts.map +0 -1
- package/core/dist/runtime-v2/tools/dreamer-output-typebox.js.map +0 -1
- package/core/dist/runtime-v2/trajectory-schema.d.ts.map +0 -1
- package/core/dist/runtime-v2/trajectory-schema.js.map +0 -1
- package/core/dist/runtime-v2/types/artifact-lineage.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/artifact-lineage.js.map +0 -1
- package/core/dist/runtime-v2/types/event-payload.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/event-payload.js.map +0 -1
- package/core/dist/runtime-v2/types/event-types.d.ts +0 -940
- package/core/dist/runtime-v2/types/event-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/event-types.js +0 -520
- package/core/dist/runtime-v2/types/event-types.js.map +0 -1
- package/core/dist/runtime-v2/types/evidence-chain-contract.d.ts +0 -282
- package/core/dist/runtime-v2/types/evidence-chain-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/evidence-chain-contract.js +0 -1301
- package/core/dist/runtime-v2/types/evidence-chain-contract.js.map +0 -1
- package/core/dist/runtime-v2/types/hygiene-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/hygiene-types.js.map +0 -1
- package/core/dist/runtime-v2/types/index.d.ts +0 -32
- package/core/dist/runtime-v2/types/index.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/index.js +0 -21
- package/core/dist/runtime-v2/types/index.js.map +0 -1
- package/core/dist/runtime-v2/types/intervention-evidence-contract.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/intervention-evidence-contract.js.map +0 -1
- package/core/dist/runtime-v2/types/ledger-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/ledger-store.js.map +0 -1
- package/core/dist/runtime-v2/types/pain-signal.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/pain-signal.js.map +0 -1
- package/core/dist/runtime-v2/types/pd-task-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/pd-task-types.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-dependency.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-dependency.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-enums.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-enums.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-lifecycle-event.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-lifecycle-event.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-schema.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-schema.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-tree-store.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-tree-store.js.map +0 -1
- package/core/dist/runtime-v2/types/principle-value-metrics.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/principle-value-metrics.js.map +0 -1
- package/core/dist/runtime-v2/types/replay-types.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/replay-types.js.map +0 -1
- package/core/dist/runtime-v2/types/rule-candidate-binding.d.ts.map +0 -1
- package/core/dist/runtime-v2/types/rule-candidate-binding.js.map +0 -1
- package/plugin/dist/core/runtime-v2-prompt-activation-reader.d.ts +0 -30
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-control-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-control-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-dispatcher.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-dispatcher.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/activation-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/adaptive-delivery-record.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/adaptive-delivery-record.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-completion-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-completion-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-queue.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-queue.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-review-guard.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/approval-review-guard.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/ledger-identity.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/ledger-identity.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/low-risk-writers.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/low-risk-writers.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/memory-activation-state-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/memory-activation-state-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/memory-approval-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/memory-approval-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/openclaw-promotion-checks.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/openclaw-promotion-checks.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/production-gate-deps.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/production-gate-deps.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-evidence-snapshot.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-evidence-snapshot.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-evaluator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-evaluator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-reader.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/promotion-readiness-reader.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/prompt-budget-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/prompt-replacement.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/prompt-replacement.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/recovery-composition.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/recovery-composition.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/recovery-control-surfaces.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/recovery-control-surfaces.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rule-replacement.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rule-replacement.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-owner-decision-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-owner-decision-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-safety-circuit-breaker.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-safety-circuit-breaker.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-shadow-summary.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/rulecode-shadow-summary.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-safety-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-safety-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-state-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-activation-state-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-approval-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/sqlite-approval-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/writers/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/writers/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/writers/rule-host-writer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation/writers/rule-host-writer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation-compatibility-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/activation-compatibility-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/artificer-l2-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/artificer-l2-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/json-extractor.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/json-extractor.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/l2-agent-loop-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/l2-agent-loop-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/output-repair-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/output-schema-registry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/output-schema-registry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-catalog.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-catalog.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-http-transport.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-http-transport.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/pi-ai-runtime-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/schema-json-converter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/schema-json-converter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/schema-prompt-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/schema-prompt-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/split-pipeline-fixtures.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/split-pipeline-fixtures.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/structured-output-repair.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/test-double-runtime-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/test-double-runtime-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/tools/diagnostician-tool.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adapter/tools/diagnostician-tool.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/admission-gate.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/admission-gate.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adversarial-loop.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/adversarial-loop.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/agent-spec.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/agent-spec.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/bridge-result-shaper.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/bridge-result-shaper.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/build-l2-principle-reader.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/build-l2-principle-reader.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-audit.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-audit.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-intake-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-intake-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-intake.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/candidate-intake.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/diagnose.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/diagnose.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/probe.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/cli/probe.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-agent-binding.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-agent-binding.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-defaults.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-defaults.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-effective.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-effective.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-feature-flags.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-feature-flags.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-redaction.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-validate.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-config-validate.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-profile-constants.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-profile-constants.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-validate-profile.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/config/pd-validate-profile.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/context-payload.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/context-payload.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/control-plane-triage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/control-plane-triage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/core-axiom-block.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/core-axiom-block.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/core-principle-registry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/core-principle-registry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/strip-fabricated-ids.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/core-principles/strip-fabricated-ids.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/correction/correction-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/correction/correction-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/correction/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/correction/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/detection/detection-funnel-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/detection/detection-funnel-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/detection/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/detection/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-distiller-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-distiller-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-rootcause-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/diag-rootcause-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/distiller-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/distiller-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/evidence-ref-binding.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/evidence-ref-binding.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/rootcause-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/rootcause-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/router-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician/router-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-shadow.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-shadow.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-validation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-association-validation.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-capability.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-capability.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/diagnostician-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-guards.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-guards.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-sanitizer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-sanitizer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/observation-resolver.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/observation-resolver.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/source-descriptors.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/source-descriptors.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/triage-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/triage-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/trigger-controller.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/trigger-controller.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evidence-triage/types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evolution/evolution-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/evolution/evolution-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/feature-flag-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/feature-flag-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/feature-flag-lifecycle.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/plugin-surface-registry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/plugin-surface-registry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/surface-guard-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feature-flags/surface-guard-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/create-report.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/create-report.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/feedback-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/feedback-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/fingerprint.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/fingerprint.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/internal-guards.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/internal-guards.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/pending-agent-draft-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/pending-agent-draft-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/privacy-preview.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/privacy-preview.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/redact-sensitive.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/render-github-url.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/render-github-url.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/render-markdown.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/render-markdown.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/safe-stringify.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/feedback/safe-stringify.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/full-trace-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/golden-trace-replay-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/golden-trace-replay-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/golden-trace.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/golden-trace.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-experience-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-experience-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-experience.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-experience.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-projection-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-projection-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-projection.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-projection.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-timestamp-schema.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/governance-timestamp-schema.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-reader-port.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-reader-port.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-version.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc-version.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-doc.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-friction-block.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-friction-block.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-hash.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-hash.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-patch-proposal.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intent/intent-patch-proposal.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-case.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-case.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-feedback.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/adversarial-feedback.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/approved-rule-revision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/approved-rule-revision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-content-hash.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-content-hash.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-summary.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artifact-summary.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-code-bearing.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-code-bearing.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-intent-preflight.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-intent-preflight.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-run-correlation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-run-correlation.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/artificer-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/bash-risk.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/candidate-identity.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/candidate-identity.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/compile-result.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/compile-result.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/consumer-evidence-preflight.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/consumer-evidence-preflight.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/correction-proposal.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/deprecated-readiness.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/deprecated-readiness.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/design-gate-facts.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/design-gate-facts.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-distiller-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-distiller-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-rootcause-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-rootcause-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-router-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/diag-router-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/dreamer-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evaluator-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evidence-readiness.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/evidence-readiness.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/formation-context.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/formation-context.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/golden-dogfood-fixtures.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/golden-dogfood-fixtures.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/intake-to-internalization-bridge.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/intake-to-internalization-bridge.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/intent-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/intent-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-consumer-decision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-consumer-decision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-job-graph.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-job-graph.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-orchestrator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-orchestrator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-route.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-route.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-state-machine.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-state-machine.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-task-guards.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-task-guards.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-transition-decision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/internalization-transition-decision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/legacy-rule-contract-scanner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/legacy-rule-contract-scanner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-datasource.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-datasource.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-metrics.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-metrics.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/lifecycle-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-decision-review.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-decision-review.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-evidence-recovery.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-evidence-recovery.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-resolution-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-resolution-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-retry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-retry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-review.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/owner-review.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/peer-runner-contracts.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/peer-runner-contracts.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/philosopher-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pi-artifact.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/pitask-metadata.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/prompt-serializer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/prompt-serializer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/queue-actionability.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/queue-actionability.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-rulehost-gate.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-rulehost-gate.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-sandbox-wrapper.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/refiner-sandbox-wrapper.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/repair-replay-resolver.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/repair-replay-resolver.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/revision-reopen.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/revision-reopen.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rollout-reviewer-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/router-context-evidence.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/router-context-evidence.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/routing-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/routing-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-activation-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-activation-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-binding-revision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-binding-revision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-code-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-code-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-adapter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-adapter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-contracts.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-contracts.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-evaluator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-evaluator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-helpers.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-helpers.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-input-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-input-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-host-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-reliability-validation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-reliability-validation.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-source-correction.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rule-source-correction.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rulecode-verification-obligations.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/rulecode-verification-obligations.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-prompt-builder.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-prompt-builder.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/scribe-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/split-diagnostician-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/split-diagnostician-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/template-generator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/template-generator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/textual-basis-anchor.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/textual-basis-anchor.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-baseline.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-baseline.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-registry.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/tool-semantic-registry.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/v2-adversarial-cases.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization/v2-adversarial-cases.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-chain-integrity-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-chain-integrity-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-integrity-remediation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-integrity-remediation.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-queue-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/internalization-queue-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intervention-evidence-normalizer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/intervention-evidence-normalizer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/l1-hard-cap.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/l1-hard-cap.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/language-directive.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/language-directive.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/learning-lab/actor-action-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/learning-lab/actor-action-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/mainline-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/mainline-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/observer/agent-scheduler.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/observer/agent-scheduler.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/observer/correction-observer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/observer/correction-observer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/operator-health-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/owner-decision-view.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/semantic-selector.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-decision/semantic-selector.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-identity.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/owner-identity.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-chain-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-flood-simulation.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-ingress-payload.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-ingress-payload.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-ingress.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-ingress.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-capability.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-capability.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-snapshot-hooks.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-recall-snapshot-hooks.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-signal-observability.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-to-principle-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pain-to-principle-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-output.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-output.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-evaluation-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-proposal.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-proposal.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-retrieval.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-retrieval.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-shortlist.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-reuse/reuse-shortlist.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-tree/ledger-codec.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-tree/ledger-codec.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-tree/rule-candidate-binding.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/principle-tree/rule-candidate-binding.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/product-telemetry/daily-identity.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/product-telemetry/daily-identity.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/product-telemetry/snapshot-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/product-telemetry/snapshot-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/proven-channel-baseline.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pruning-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/pruning-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/receipt-coverage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/receipt-coverage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/recovery-actions-log.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/recovery-actions-log.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/recovery-sweep-service.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/recovery-sweep-service.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/remediation-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/remediation-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/risk/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/risk/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/risk/risk-calculator-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/risk/risk-calculator-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/base-peer-runner.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/base-peer-runner.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/default-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/default-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/diagnostician-validator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/diagnostician-validator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/peer-runner-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/peer-runner-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/runner-phase.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/runner-phase.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/runner-result.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runner/runner-result.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runtime-protocol.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runtime-protocol.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runtime-state-handle.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/runtime-state-handle.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/schema-conformance-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/schema-conformance-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/confidence-gate.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/confidence-gate.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/keyword-stage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/keyword-stage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/llm-stage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/llm-stage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/signal-collector.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/signal-collector.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/signal-collector/types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/stalled-diagnostician-task-read-model.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/stalled-diagnostician-task-read-model.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/memory-artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/memory-artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-pi-artifact-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/artifact/sqlite-pi-artifact-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/admission-document.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/admission-document.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/candidate-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/candidate-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/memory-candidate-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/memory-candidate-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/recommendation-kind-resolver.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/recommendation-kind-resolver.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/sqlite-candidate-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/candidate/sqlite-candidate-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/commit-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/commit-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/diagnostician-committer.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/diagnostician-committer.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/memory-commit-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/memory-commit-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/sqlite-commit-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/commit/sqlite-commit-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/context-assembler.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/context-assembler.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/resilient-context-assembler.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/resilient-context-assembler.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/sqlite-context-assembler.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/sqlite-context-assembler.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/trajectory-turn-reader.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/context/trajectory-turn-reader.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/design-gate/sqlite-design-gate-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/design-gate/sqlite-design-gate-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/event-emitter.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/event-emitter.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/history-query.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/history-query.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/resilient-history-query.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/resilient-history-query.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/sqlite-history-query.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/history/sqlite-history-query.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-decision-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-decision-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-doc-version-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intent/sqlite-intent-doc-version-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intervention-evidence-schema.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/intervention-evidence-schema.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/lease-manager.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/lease-manager.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/recovery-sweep.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/recovery-sweep.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/retry-policy.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/lifecycle/retry-policy.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain/sqlite-dead-letter-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain/sqlite-dead-letter-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/pain-diagnosis-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/pain-diagnosis-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/sqlite-pain-diagnosis-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/pain-diagnosis/sqlite-pain-diagnosis-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/reconciliation-cursor-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/reconciliation-cursor-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/memory-run-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/memory-run-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/run-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/run-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/sqlite-run-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/run/sqlite-run-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/runtime-state-manager.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/runtime-state-manager.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/sqlite-connection.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/sqlite-connection.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/sqlite-intervention-evidence-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/sqlite-intervention-evidence-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/memory-task-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/memory-task-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-approved-rule-revision.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-approved-rule-revision.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-family-reopen.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-family-reopen.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-task-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/sqlite-task-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/task-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/task-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/task-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/task/task-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/index.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/index.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/source-trace-locator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/source-trace-locator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-source-trace-locator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-source-trace-locator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-trajectory-locator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/sqlite-trajectory-locator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/trajectory-locator.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/trajectory/trajectory-locator.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/workspace-leak-guard.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/store/workspace-leak-guard.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/story-a-demo.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/synthetic-baseline.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/system-prompt-merge.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/system-prompt-merge.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/task-status.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/task-status.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/agent-tool-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/agent-tool-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/artificer-l2-tool-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/artificer-l2-tool-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/artificer-output-typebox.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/artificer-output-typebox.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/dreamer-output-typebox.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/tools/dreamer-output-typebox.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/trajectory-schema.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/trajectory-schema.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/artifact-lineage.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/artifact-lineage.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/event-payload.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/event-payload.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/hygiene-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/hygiene-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/intervention-evidence-contract.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/intervention-evidence-contract.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/ledger-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/ledger-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/pain-signal.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/pain-signal.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/pd-task-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/pd-task-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-dependency.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-dependency.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-enums.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-enums.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-lifecycle-event.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-lifecycle-event.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-schema.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-schema.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-tree-store.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-tree-store.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-value-metrics.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/principle-value-metrics.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/replay-types.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/replay-types.js +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/rule-candidate-binding.d.ts +0 -0
- /package/core/dist/{runtime-v2 → runtime}/types/rule-candidate-binding.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createRequire } from 'module'; const require = createRequire(import.meta.url);
|
|
2
|
-
var xi=Object.defineProperty;var Oi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ar=(e,t)=>{for(var r in t)xi(e,r,{get:t[r],enumerable:!0})};import*as B from"fs";import*as Dt from"path";var Hr={receiptState:["open","closed","reconciled"],execution:["completed","degraded","timeout","failed","unknown"],payload:["none","prepared","returned","confirmed","unknown"],selection:["selected","none_applicable","skipped","unavailable"],submission:["proceeded","blocked","unknown"]};function qr(e){return e===null||typeof e!="object"||Array.isArray(e)||Object.getPrototypeOf(e)!==Object.prototype||Object.hasOwn(e,"__proto__")?!1:Reflect.ownKeys(e).every(r=>{if(typeof r!="string")return!1;let o=Object.getOwnPropertyDescriptor(e,r);return o!==void 0&&Object.hasOwn(o,"value")})}function Ze(e){return typeof e=="string"&&e.trim().length>0}function Ei(e,t){return typeof e=="string"&&t.includes(e)}var Wr=()=>({ok:!1,errors:["record must be a plain data object"]});function zr(e){try{let t=[];if(!qr(e))return Wr();let r=Object.hasOwn(e,"evidence"),o=r?e.evidence:void 0,s=qr(o)?o:void 0,c=!r||s!==void 0,m=c&&r;c||t.push("evidence must be a plain data object when present"),(!Object.hasOwn(e,"hookInvocationId")||!Ze(e.hookInvocationId))&&t.push("hookInvocationId must be a non-empty string"),Object.hasOwn(e,"requestId")&&!Ze(e.requestId)&&t.push("requestId must be a non-empty string when present");for(let f of Object.keys(Hr)){let N=Hr[f];(!Object.hasOwn(e,f)||!Ei(e[f],N))&&t.push(`${f} must be one of: ${N.join(", ")}`)}if(Object.hasOwn(e,"selectionPending")&&typeof e.selectionPending!="boolean"&&t.push("selectionPending must be a boolean when present"),e.receiptState==="open"){for(let f of["execution","payload","submission"])e[f]!=="unknown"&&t.push(`open receipt requires ${f}=unknown`);(e.selection!=="unavailable"||e.selectionPending!==!0)&&t.push("open receipt requires selection=unavailable and selectionPending=true")}else e.selectionPending===!0&&t.push("selectionPending cannot be true for a terminal receipt");if(e.payload==="confirmed"&&(e.execution!=="completed"&&t.push("confirmed payload requires execution=completed"),(!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0)&&t.push("confirmed payload requires independentlyVerified=true"),(!m||!s||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("confirmed payload requires a non-empty evidence.reference")),e.submission!=="unknown"&&(!m||!s||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("known submission requires a non-empty independent evidence.reference"),e.submission!=="unknown"&&(!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0)&&t.push("known submission requires independentlyVerified=true"),typeof e.execution=="string"&&["degraded","timeout","failed","unknown"].includes(e.execution)&&typeof e.payload=="string"&&["returned","confirmed"].includes(e.payload)&&t.push(`${e.execution} execution cannot have payload=${e.payload}`),e.execution==="timeout"&&((!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("timeout requires independently verified evidence with a non-empty reference"),(!m||!s||!Object.hasOwn(s,"hostKillConfirmed")||s.hostKillConfirmed!==!0)&&t.push("timeout requires evidence.hostKillConfirmed=true")),e.selection==="none_applicable"&&(e.execution!=="completed"||e.payload!=="none")&&t.push("none_applicable requires execution=completed and payload=none"),e.selection==="unavailable"&&typeof e.payload=="string"&&["prepared","returned","confirmed"].includes(e.payload)&&t.push(`unavailable selection cannot have payload=${e.payload}`),c&&s){Object.hasOwn(s,"reference")&&!Ze(s.reference)&&t.push("evidence.reference must be a non-empty string when present");for(let f of["independentlyVerified","hostKillConfirmed"])Object.hasOwn(s,f)&&typeof s[f]!="boolean"&&t.push(`evidence.${f} must be a boolean when present`)}return{ok:t.length===0,errors:t}}catch{return Wr()}}import*as ur from"path";import*as Yr from"os";var Si=[/(^|[/\\])fake([/\\]|$)/i,/(^|[/\\])mock([/\\]|$)/i,/(^|[/\\])tmp[/\\]fake-/i],hi=ur.join(Yr.tmpdir(),".pd-test-quarantine");function Ri(e){if(!e)return!1;let t=e.replace(/\\/g,"/");return Si.some(r=>r.test(t))}function Jr(e){if(!e||!(process.env.NODE_ENV==="test"||!!process.env.VITEST)||!Ri(e))return e;let r=e.replace(/[:*?"<>|]/g,"_").replace(/[/\\]/g,"_");for(;r.startsWith("_");)r=r.slice(1);for(;r.endsWith("_");)r=r.slice(0,-1);return ur.join(hi,r)}var H={};ar(H,{HasPropertyKey:()=>kt,IsArray:()=>v,IsAsyncIterator:()=>cr,IsBigInt:()=>bt,IsBoolean:()=>Te,IsDate:()=>Ve,IsFunction:()=>pr,IsIterator:()=>mr,IsNull:()=>fr,IsNumber:()=>Q,IsObject:()=>O,IsRegExp:()=>gt,IsString:()=>R,IsSymbol:()=>dr,IsUint8Array:()=>Fe,IsUndefined:()=>D});function kt(e,t){return t in e}function cr(e){return O(e)&&!v(e)&&!Fe(e)&&Symbol.asyncIterator in e}function v(e){return Array.isArray(e)}function bt(e){return typeof e=="bigint"}function Te(e){return typeof e=="boolean"}function Ve(e){return e instanceof globalThis.Date}function pr(e){return typeof e=="function"}function mr(e){return O(e)&&!v(e)&&!Fe(e)&&Symbol.iterator in e}function fr(e){return e===null}function Q(e){return typeof e=="number"}function O(e){return typeof e=="object"&&e!==null}function gt(e){return e instanceof globalThis.RegExp}function R(e){return typeof e=="string"}function dr(e){return typeof e=="symbol"}function Fe(e){return e instanceof globalThis.Uint8Array}function D(e){return e===void 0}function Ti(e){return e.map(t=>Kt(t))}function Fi(e){return new Date(e.getTime())}function Ai(e){return new Uint8Array(e)}function _i(e){return new RegExp(e.source,e.flags)}function Ni(e){let t={};for(let r of Object.getOwnPropertyNames(e))t[r]=Kt(e[r]);for(let r of Object.getOwnPropertySymbols(e))t[r]=Kt(e[r]);return t}function Kt(e){return v(e)?Ti(e):Ve(e)?Fi(e):Fe(e)?Ai(e):gt(e)?_i(e):O(e)?Ni(e):e}function A(e){return Kt(e)}function Xe(e,t){return t===void 0?A(e):A({...t,...e})}function Zr(e){return e!==null&&typeof e=="object"}function Xr(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function Qr(e){return e===void 0}function en(e){return typeof e=="number"}var Ut;(function(e){e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(m,f){return e.ExactOptionalPropertyTypes?f in m:m[f]!==void 0}e.IsExactOptionalProperty=t;function r(m){let f=Zr(m);return e.AllowArrayObject?f:f&&!Xr(m)}e.IsObjectLike=r;function o(m){return r(m)&&!(m instanceof Date)&&!(m instanceof Uint8Array)}e.IsRecordLike=o;function s(m){return e.AllowNaN?en(m):Number.isFinite(m)}e.IsNumberLike=s;function c(m){let f=Qr(m);return e.AllowNullVoid?f||m===null:f}e.IsVoidLike=c})(Ut||(Ut={}));function ji(e){return globalThis.Object.freeze(e).map(t=>xt(t))}function Pi(e){let t={};for(let r of Object.getOwnPropertyNames(e))t[r]=xt(e[r]);for(let r of Object.getOwnPropertySymbols(e))t[r]=xt(e[r]);return globalThis.Object.freeze(t)}function xt(e){return v(e)?ji(e):Ve(e)?e:Fe(e)?e:gt(e)?e:O(e)?Pi(e):e}function a(e,t){let r=t!==void 0?{...t,...e}:e;switch(Ut.InstanceMode){case"freeze":return xt(r);case"clone":return A(r);default:return r}}var G=class extends Error{constructor(t){super(t)}};var K=Symbol.for("TypeBox.Transform"),fe=Symbol.for("TypeBox.Readonly"),$=Symbol.for("TypeBox.Optional"),se=Symbol.for("TypeBox.Hint"),p=Symbol.for("TypeBox.Kind");function Qe(e){return O(e)&&e[fe]==="Readonly"}function Y(e){return O(e)&&e[$]==="Optional"}function lr(e){return l(e,"Any")}function Ir(e){return l(e,"Argument")}function de(e){return l(e,"Array")}function $e(e){return l(e,"AsyncIterator")}function Be(e){return l(e,"BigInt")}function Ae(e){return l(e,"Boolean")}function le(e){return l(e,"Computed")}function Ie(e){return l(e,"Constructor")}function Ci(e){return l(e,"Date")}function ye(e){return l(e,"Function")}function be(e){return l(e,"Integer")}function j(e){return l(e,"Intersect")}function He(e){return l(e,"Iterator")}function l(e,t){return O(e)&&p in e&&e[p]===t}function wt(e){return Te(e)||Q(e)||R(e)}function ee(e){return l(e,"Literal")}function te(e){return l(e,"MappedKey")}function _(e){return l(e,"MappedResult")}function Pe(e){return l(e,"Never")}function Li(e){return l(e,"Not")}function Ot(e){return l(e,"Null")}function ge(e){return l(e,"Number")}function k(e){return l(e,"Object")}function qe(e){return l(e,"Promise")}function We(e){return l(e,"Record")}function C(e){return l(e,"Ref")}function yr(e){return l(e,"RegExp")}function _e(e){return l(e,"String")}function Et(e){return l(e,"Symbol")}function re(e){return l(e,"TemplateLiteral")}function vi(e){return l(e,"This")}function Ce(e){return O(e)&&K in e}function ne(e){return l(e,"Tuple")}function St(e){return l(e,"Undefined")}function I(e){return l(e,"Union")}function Di(e){return l(e,"Uint8Array")}function ki(e){return l(e,"Unknown")}function Ki(e){return l(e,"Unsafe")}function Ui(e){return l(e,"Void")}function wi(e){return O(e)&&p in e&&R(e[p])}function oe(e){return lr(e)||Ir(e)||de(e)||Ae(e)||Be(e)||$e(e)||le(e)||Ie(e)||Ci(e)||ye(e)||be(e)||j(e)||He(e)||ee(e)||te(e)||_(e)||Pe(e)||Li(e)||Ot(e)||ge(e)||k(e)||qe(e)||We(e)||C(e)||yr(e)||_e(e)||Et(e)||re(e)||vi(e)||ne(e)||St(e)||I(e)||Di(e)||ki(e)||Ki(e)||Ui(e)||wi(e)}var i={};ar(i,{IsAny:()=>on,IsArgument:()=>sn,IsArray:()=>an,IsAsyncIterator:()=>un,IsBigInt:()=>cn,IsBoolean:()=>pn,IsComputed:()=>mn,IsConstructor:()=>fn,IsDate:()=>dn,IsFunction:()=>ln,IsImport:()=>Hi,IsInteger:()=>In,IsIntersect:()=>yn,IsIterator:()=>bn,IsKind:()=>$n,IsKindOf:()=>d,IsLiteral:()=>Rt,IsLiteralBoolean:()=>qi,IsLiteralNumber:()=>xn,IsLiteralString:()=>gn,IsLiteralValue:()=>On,IsMappedKey:()=>En,IsMappedResult:()=>Sn,IsNever:()=>hn,IsNot:()=>Rn,IsNull:()=>Tn,IsNumber:()=>Fn,IsObject:()=>An,IsOptional:()=>Bi,IsPromise:()=>_n,IsProperties:()=>Gt,IsReadonly:()=>$i,IsRecord:()=>Nn,IsRecursive:()=>Wi,IsRef:()=>jn,IsRegExp:()=>Pn,IsSchema:()=>M,IsString:()=>Cn,IsSymbol:()=>Ln,IsTemplateLiteral:()=>vn,IsThis:()=>Dn,IsTransform:()=>kn,IsTuple:()=>Kn,IsUint8Array:()=>wn,IsUndefined:()=>Un,IsUnion:()=>Or,IsUnionLiteral:()=>zi,IsUnknown:()=>Gn,IsUnsafe:()=>Mn,IsVoid:()=>Vn,TypeGuardUnknownTypeError:()=>br});var br=class extends G{},Gi=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function tn(e){try{return new RegExp(e),!0}catch{return!1}}function gr(e){if(!R(e))return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r>=7&&r<=13||r===27||r===127)return!1}return!0}function rn(e){return xr(e)||M(e)}function ht(e){return D(e)||bt(e)}function T(e){return D(e)||Q(e)}function xr(e){return D(e)||Te(e)}function E(e){return D(e)||R(e)}function Mi(e){return D(e)||R(e)&&gr(e)&&tn(e)}function Vi(e){return D(e)||R(e)&&gr(e)}function nn(e){return D(e)||M(e)}function $i(e){return O(e)&&e[fe]==="Readonly"}function Bi(e){return O(e)&&e[$]==="Optional"}function on(e){return d(e,"Any")&&E(e.$id)}function sn(e){return d(e,"Argument")&&Q(e.index)}function an(e){return d(e,"Array")&&e.type==="array"&&E(e.$id)&&M(e.items)&&T(e.minItems)&&T(e.maxItems)&&xr(e.uniqueItems)&&nn(e.contains)&&T(e.minContains)&&T(e.maxContains)}function un(e){return d(e,"AsyncIterator")&&e.type==="AsyncIterator"&&E(e.$id)&&M(e.items)}function cn(e){return d(e,"BigInt")&&e.type==="bigint"&&E(e.$id)&&ht(e.exclusiveMaximum)&&ht(e.exclusiveMinimum)&&ht(e.maximum)&&ht(e.minimum)&&ht(e.multipleOf)}function pn(e){return d(e,"Boolean")&&e.type==="boolean"&&E(e.$id)}function mn(e){return d(e,"Computed")&&R(e.target)&&v(e.parameters)&&e.parameters.every(t=>M(t))}function fn(e){return d(e,"Constructor")&&e.type==="Constructor"&&E(e.$id)&&v(e.parameters)&&e.parameters.every(t=>M(t))&&M(e.returns)}function dn(e){return d(e,"Date")&&e.type==="Date"&&E(e.$id)&&T(e.exclusiveMaximumTimestamp)&&T(e.exclusiveMinimumTimestamp)&&T(e.maximumTimestamp)&&T(e.minimumTimestamp)&&T(e.multipleOfTimestamp)}function ln(e){return d(e,"Function")&&e.type==="Function"&&E(e.$id)&&v(e.parameters)&&e.parameters.every(t=>M(t))&&M(e.returns)}function Hi(e){return d(e,"Import")&&kt(e,"$defs")&&O(e.$defs)&&Gt(e.$defs)&&kt(e,"$ref")&&R(e.$ref)&&e.$ref in e.$defs}function In(e){return d(e,"Integer")&&e.type==="integer"&&E(e.$id)&&T(e.exclusiveMaximum)&&T(e.exclusiveMinimum)&&T(e.maximum)&&T(e.minimum)&&T(e.multipleOf)}function Gt(e){return O(e)&&Object.entries(e).every(([t,r])=>gr(t)&&M(r))}function yn(e){return d(e,"Intersect")&&!(R(e.type)&&e.type!=="object")&&v(e.allOf)&&e.allOf.every(t=>M(t)&&!kn(t))&&E(e.type)&&(xr(e.unevaluatedProperties)||nn(e.unevaluatedProperties))&&E(e.$id)}function bn(e){return d(e,"Iterator")&&e.type==="Iterator"&&E(e.$id)&&M(e.items)}function d(e,t){return O(e)&&p in e&&e[p]===t}function gn(e){return Rt(e)&&R(e.const)}function xn(e){return Rt(e)&&Q(e.const)}function qi(e){return Rt(e)&&Te(e.const)}function Rt(e){return d(e,"Literal")&&E(e.$id)&&On(e.const)}function On(e){return Te(e)||Q(e)||R(e)}function En(e){return d(e,"MappedKey")&&v(e.keys)&&e.keys.every(t=>Q(t)||R(t))}function Sn(e){return d(e,"MappedResult")&&Gt(e.properties)}function hn(e){return d(e,"Never")&&O(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function Rn(e){return d(e,"Not")&&M(e.not)}function Tn(e){return d(e,"Null")&&e.type==="null"&&E(e.$id)}function Fn(e){return d(e,"Number")&&e.type==="number"&&E(e.$id)&&T(e.exclusiveMaximum)&&T(e.exclusiveMinimum)&&T(e.maximum)&&T(e.minimum)&&T(e.multipleOf)}function An(e){return d(e,"Object")&&e.type==="object"&&E(e.$id)&&Gt(e.properties)&&rn(e.additionalProperties)&&T(e.minProperties)&&T(e.maxProperties)}function _n(e){return d(e,"Promise")&&e.type==="Promise"&&E(e.$id)&&M(e.item)}function Nn(e){return d(e,"Record")&&e.type==="object"&&E(e.$id)&&rn(e.additionalProperties)&&O(e.patternProperties)&&(t=>{let r=Object.getOwnPropertyNames(t.patternProperties);return r.length===1&&tn(r[0])&&O(t.patternProperties)&&M(t.patternProperties[r[0]])})(e)}function Wi(e){return O(e)&&se in e&&e[se]==="Recursive"}function jn(e){return d(e,"Ref")&&E(e.$id)&&R(e.$ref)}function Pn(e){return d(e,"RegExp")&&E(e.$id)&&R(e.source)&&R(e.flags)&&T(e.maxLength)&&T(e.minLength)}function Cn(e){return d(e,"String")&&e.type==="string"&&E(e.$id)&&T(e.minLength)&&T(e.maxLength)&&Mi(e.pattern)&&Vi(e.format)}function Ln(e){return d(e,"Symbol")&&e.type==="symbol"&&E(e.$id)}function vn(e){return d(e,"TemplateLiteral")&&e.type==="string"&&R(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function Dn(e){return d(e,"This")&&E(e.$id)&&R(e.$ref)}function kn(e){return O(e)&&K in e}function Kn(e){return d(e,"Tuple")&&e.type==="array"&&E(e.$id)&&Q(e.minItems)&&Q(e.maxItems)&&e.minItems===e.maxItems&&(D(e.items)&&D(e.additionalItems)&&e.minItems===0||v(e.items)&&e.items.every(t=>M(t)))}function Un(e){return d(e,"Undefined")&&e.type==="undefined"&&E(e.$id)}function zi(e){return Or(e)&&e.anyOf.every(t=>gn(t)||xn(t))}function Or(e){return d(e,"Union")&&E(e.$id)&&O(e)&&v(e.anyOf)&&e.anyOf.every(t=>M(t))}function wn(e){return d(e,"Uint8Array")&&e.type==="Uint8Array"&&E(e.$id)&&T(e.minByteLength)&&T(e.maxByteLength)}function Gn(e){return d(e,"Unknown")&&E(e.$id)}function Mn(e){return d(e,"Unsafe")}function Vn(e){return d(e,"Void")&&e.type==="void"&&E(e.$id)}function $n(e){return O(e)&&p in e&&R(e[p])&&!Gi.includes(e[p])}function M(e){return O(e)&&(on(e)||sn(e)||an(e)||pn(e)||cn(e)||un(e)||mn(e)||fn(e)||dn(e)||ln(e)||In(e)||yn(e)||bn(e)||Rt(e)||En(e)||Sn(e)||hn(e)||Rn(e)||Tn(e)||Fn(e)||An(e)||_n(e)||Nn(e)||jn(e)||Pn(e)||Cn(e)||Ln(e)||vn(e)||Dn(e)||Kn(e)||Un(e)||Or(e)||wn(e)||Gn(e)||Mn(e)||Vn(e)||$n(e))}var Er="(true|false)",Tt="(0|[1-9][0-9]*)",Sr="(.*)",Yi="(?!.*)",Hp=`^${Er}$`,Le=`^${Tt}$`,ve=`^${Sr}$`,Bn=`^${Yi}$`;function Hn(e,t){return e.includes(t)}function qn(e){return[...new Set(e)]}function Ji(e,t){return e.filter(r=>t.includes(r))}function Zi(e,t){return e.reduce((r,o)=>Ji(r,o),t)}function Wn(e){return e.length===1?e[0]:e.length>1?Zi(e.slice(1),e[0]):[]}function zn(e){let t=[];for(let r of e)t.push(...r);return t}function De(e){return a({[p]:"Any"},e)}function et(e,t){return a({[p]:"Array",type:"array",items:e},t)}function Yn(e){return a({[p]:"Argument",index:e})}function tt(e,t){return a({[p]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function F(e,t,r){return a({[p]:"Computed",target:e,parameters:t},r)}function Xi(e,t){let{[t]:r,...o}=e;return o}function P(e,t){return t.reduce((r,o)=>Xi(r,o),e)}function y(e){return a({[p]:"Never",not:{}},e)}function b(e){return a({[p]:"MappedResult",properties:e})}function rt(e,t,r){return a({[p]:"Constructor",type:"Constructor",parameters:e,returns:t},r)}function Se(e,t,r){return a({[p]:"Function",type:"Function",parameters:e,returns:t},r)}function Ft(e,t){return a({[p]:"Union",anyOf:e},t)}function Qi(e){return e.some(t=>Y(t))}function Jn(e){return e.map(t=>Y(t)?es(t):t)}function es(e){return P(e,[$])}function ts(e,t){return Qi(e)?q(Ft(Jn(e),t)):Ft(Jn(e),t)}function he(e,t){return e.length===1?a(e[0],t):e.length===0?y(t):ts(e,t)}function x(e,t){return e.length===0?y(t):e.length===1?a(e[0],t):Ft(e,t)}var Mt=class extends G{};function rs(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function hr(e,t,r){return e[t]===r&&e.charCodeAt(t-1)!==92}function je(e,t){return hr(e,t,"(")}function At(e,t){return hr(e,t,")")}function Zn(e,t){return hr(e,t,"|")}function ns(e){if(!(je(e,0)&&At(e,e.length-1)))return!1;let t=0;for(let r=0;r<e.length;r++)if(je(e,r)&&(t+=1),At(e,r)&&(t-=1),t===0&&r!==e.length-1)return!1;return!0}function os(e){return e.slice(1,e.length-1)}function is(e){let t=0;for(let r=0;r<e.length;r++)if(je(e,r)&&(t+=1),At(e,r)&&(t-=1),Zn(e,r)&&t===0)return!0;return!1}function ss(e){for(let t=0;t<e.length;t++)if(je(e,t))return!0;return!1}function as(e){let[t,r]=[0,0],o=[];for(let c=0;c<e.length;c++)if(je(e,c)&&(t+=1),At(e,c)&&(t-=1),Zn(e,c)&&t===0){let m=e.slice(r,c);m.length>0&&o.push(nt(m)),r=c+1}let s=e.slice(r);return s.length>0&&o.push(nt(s)),o.length===0?{type:"const",const:""}:o.length===1?o[0]:{type:"or",expr:o}}function us(e){function t(s,c){if(!je(s,c))throw new Mt("TemplateLiteralParser: Index must point to open parens");let m=0;for(let f=c;f<s.length;f++)if(je(s,f)&&(m+=1),At(s,f)&&(m-=1),m===0)return[c,f];throw new Mt("TemplateLiteralParser: Unclosed group parens in expression")}function r(s,c){for(let m=c;m<s.length;m++)if(je(s,m))return[c,m];return[c,s.length]}let o=[];for(let s=0;s<e.length;s++)if(je(e,s)){let[c,m]=t(e,s),f=e.slice(c,m+1);o.push(nt(f)),s=m}else{let[c,m]=r(e,s),f=e.slice(c,m);f.length>0&&o.push(nt(f)),s=m-1}return o.length===0?{type:"const",const:""}:o.length===1?o[0]:{type:"and",expr:o}}function nt(e){return ns(e)?nt(os(e)):is(e)?as(e):ss(e)?us(e):{type:"const",const:rs(e)}}function ot(e){return nt(e.slice(1,e.length-1))}var Rr=class extends G{};function cs(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function ps(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function ms(e){return e.type==="const"&&e.const===".*"}function ze(e){return cs(e)||ms(e)?!1:ps(e)?!0:e.type==="and"?e.expr.every(t=>ze(t)):e.type==="or"?e.expr.every(t=>ze(t)):e.type==="const"?!0:(()=>{throw new Rr("Unknown expression type")})()}function Xn(e){let t=ot(e.pattern);return ze(t)}var Tr=class extends G{};function*Qn(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let r of Qn(e.slice(1)))yield`${t}${r}`}function*fs(e){return yield*Qn(e.expr.map(t=>[..._t(t)]))}function*ds(e){for(let t of e.expr)yield*_t(t)}function*ls(e){return yield e.const}function*_t(e){return e.type==="and"?yield*fs(e):e.type==="or"?yield*ds(e):e.type==="const"?yield*ls(e):(()=>{throw new Tr("Unknown expression")})()}function Vt(e){let t=ot(e.pattern);return ze(t)?[..._t(t)]:[]}function g(e,t){return a({[p]:"Literal",const:e,type:typeof e},t)}function $t(e){return a({[p]:"Boolean",type:"boolean"},e)}function it(e){return a({[p]:"BigInt",type:"bigint"},e)}function ae(e){return a({[p]:"Number",type:"number"},e)}function xe(e){return a({[p]:"String",type:"string"},e)}function*Is(e){let t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield $t():t==="number"?yield ae():t==="bigint"?yield it():t==="string"?yield xe():yield(()=>{let r=t.split("|").map(o=>g(o.trim()));return r.length===0?y():r.length===1?r[0]:he(r)})()}function*ys(e){if(e[1]!=="{"){let t=g("$"),r=Fr(e.slice(1));return yield*[t,...r]}for(let t=2;t<e.length;t++)if(e[t]==="}"){let r=Is(e.slice(2,t)),o=Fr(e.slice(t+1));return yield*[...r,...o]}yield g(e)}function*Fr(e){for(let t=0;t<e.length;t++)if(e[t]==="$"){let r=g(e.slice(0,t)),o=ys(e.slice(t));return yield*[r,...o]}yield g(e)}function eo(e){return[...Fr(e)]}var Ar=class extends G{};function bs(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function to(e,t){return re(e)?e.pattern.slice(1,e.pattern.length-1):I(e)?`(${e.anyOf.map(r=>to(r,t)).join("|")})`:ge(e)?`${t}${Tt}`:be(e)?`${t}${Tt}`:Be(e)?`${t}${Tt}`:_e(e)?`${t}${Sr}`:ee(e)?`${t}${bs(e.const.toString())}`:Ae(e)?`${t}${Er}`:(()=>{throw new Ar(`Unexpected Kind '${e[p]}'`)})()}function _r(e){return`^${e.map(t=>to(t,"")).join("")}$`}function Ye(e){let r=Vt(e).map(o=>g(o));return he(r)}function Bt(e,t){let r=R(e)?_r(eo(e)):_r(e);return a({[p]:"TemplateLiteral",type:"string",pattern:r},t)}function gs(e){return Vt(e).map(r=>r.toString())}function xs(e){let t=[];for(let r of e)t.push(...J(r));return t}function Os(e){return[e.toString()]}function J(e){return[...new Set(re(e)?gs(e):I(e)?xs(e.anyOf):ee(e)?Os(e.const):ge(e)?["[number]"]:be(e)?["[number]"]:[])]}function Es(e,t,r){let o={};for(let s of Object.getOwnPropertyNames(t))o[s]=ke(e,J(t[s]),r);return o}function Ss(e,t,r){return Es(e,t.properties,r)}function ro(e,t,r){let o=Ss(e,t,r);return b(o)}function oo(e,t){return e.map(r=>io(r,t))}function hs(e){return e.filter(t=>!Pe(t))}function Rs(e,t){return Ht(hs(oo(e,t)))}function Ts(e){return e.some(t=>Pe(t))?[]:e}function Fs(e,t){return he(Ts(oo(e,t)))}function As(e,t){return t in e?e[t]:t==="[number]"?he(e):y()}function _s(e,t){return t==="[number]"?e:y()}function Ns(e,t){return t in e?e[t]:y()}function io(e,t){return j(e)?Rs(e.allOf,t):I(e)?Fs(e.anyOf,t):ne(e)?As(e.items??[],t):de(e)?_s(e.items,t):k(e)?Ns(e.properties,t):y()}function Nr(e,t){return t.map(r=>io(e,r))}function no(e,t){return he(Nr(e,t))}function ke(e,t,r){if(C(e)||C(t)){let o="Index types using Ref parameters require both Type and Key to be of TSchema";if(!oe(e)||!oe(t))throw new G(o);return F("Index",[e,t])}return _(t)?ro(e,t,r):te(t)?so(e,t,r):a(oe(t)?no(e,J(t)):no(e,t),r)}function js(e,t,r){return{[t]:ke(e,[t],A(r))}}function Ps(e,t,r){return t.reduce((o,s)=>({...o,...js(e,s,r)}),{})}function Cs(e,t,r){return Ps(e,t.keys,r)}function so(e,t,r){let o=Cs(e,t,r);return b(o)}function st(e,t){return a({[p]:"Iterator",type:"Iterator",items:e},t)}function Ls(e){return globalThis.Object.keys(e).filter(t=>!Y(e[t]))}function vs(e,t){let r=Ls(e),o=r.length>0?{[p]:"Object",type:"object",required:r,properties:e}:{[p]:"Object",type:"object",properties:e};return a(o,t)}var S=vs;function qt(e,t){return a({[p]:"Promise",type:"Promise",item:e},t)}function Ds(e){return a(P(e,[fe]))}function ks(e){return a({...e,[fe]:"Readonly"})}function Ks(e,t){return t===!1?Ds(e):ks(e)}function Z(e,t){let r=t??!0;return _(e)?ao(e,r):Ks(e,r)}function Us(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=Z(e[o],t);return r}function ws(e,t){return Us(e.properties,t)}function ao(e,t){let r=ws(e,t);return b(r)}function ue(e,t){return a(e.length>0?{[p]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[p]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function uo(e,t){return e in t?ce(e,t[e]):b(t)}function Gs(e){return{[e]:g(e)}}function Ms(e){let t={};for(let r of e)t[r]=g(r);return t}function Vs(e,t){return Hn(t,e)?Gs(e):Ms(t)}function $s(e,t){let r=Vs(e,t);return uo(e,r)}function Nt(e,t){return t.map(r=>ce(e,r))}function Bs(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(t))r[o]=ce(e,t[o]);return r}function ce(e,t){let r={...t};return Y(t)?q(ce(e,P(t,[$]))):Qe(t)?Z(ce(e,P(t,[fe]))):_(t)?uo(e,t.properties):te(t)?$s(e,t.keys):Ie(t)?rt(Nt(e,t.parameters),ce(e,t.returns),r):ye(t)?Se(Nt(e,t.parameters),ce(e,t.returns),r):$e(t)?tt(ce(e,t.items),r):He(t)?st(ce(e,t.items),r):j(t)?W(Nt(e,t.allOf),r):I(t)?x(Nt(e,t.anyOf),r):ne(t)?ue(Nt(e,t.items??[]),r):k(t)?S(Bs(e,t.properties),r):de(t)?et(ce(e,t.items),r):qe(t)?qt(ce(e,t.item),r):t}function Hs(e,t){let r={};for(let o of e)r[o]=ce(o,t);return r}function co(e,t,r){let o=oe(e)?J(e):e,s=t({[p]:"MappedKey",keys:o}),c=Hs(o,s);return S(c,r)}function qs(e){return a(P(e,[$]))}function Ws(e){return a({...e,[$]:"Optional"})}function zs(e,t){return t===!1?qs(e):Ws(e)}function q(e,t){let r=t??!0;return _(e)?po(e,r):zs(e,r)}function Ys(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=q(e[o],t);return r}function Js(e,t){return Ys(e.properties,t)}function po(e,t){let r=Js(e,t);return b(r)}function jt(e,t={}){let r=e.every(s=>k(s)),o=oe(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return a(t.unevaluatedProperties===!1||oe(t.unevaluatedProperties)||r?{...o,[p]:"Intersect",type:"object",allOf:e}:{...o,[p]:"Intersect",allOf:e},t)}function Zs(e){return e.every(t=>Y(t))}function Xs(e){return P(e,[$])}function mo(e){return e.map(t=>Y(t)?Xs(t):t)}function Qs(e,t){return Zs(e)?q(jt(mo(e),t)):jt(mo(e),t)}function Ht(e,t={}){if(e.length===1)return a(e[0],t);if(e.length===0)return y(t);if(e.some(r=>Ce(r)))throw new Error("Cannot intersect transform types");return Qs(e,t)}function W(e,t){if(e.length===1)return a(e[0],t);if(e.length===0)return y(t);if(e.some(r=>Ce(r)))throw new Error("Cannot intersect transform types");return jt(e,t)}function Re(...e){let[t,r]=typeof e[0]=="string"?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!="string")throw new G("Ref: $ref must be a string");return a({[p]:"Ref",$ref:t},r)}function ea(e,t){return F("Awaited",[F(e,t)])}function ta(e){return F("Awaited",[Re(e)])}function ra(e){return W(fo(e))}function na(e){return x(fo(e))}function oa(e){return at(e)}function fo(e){return e.map(t=>at(t))}function at(e,t){return a(le(e)?ea(e.target,e.parameters):j(e)?ra(e.allOf):I(e)?na(e.anyOf):qe(e)?oa(e.item):C(e)?ta(e.$ref):e,t)}function lo(e){let t=[];for(let r of e)t.push(Pt(r));return t}function ia(e){let t=lo(e);return zn(t)}function sa(e){let t=lo(e);return Wn(t)}function aa(e){return e.map((t,r)=>r.toString())}function ua(e){return["[number]"]}function ca(e){return globalThis.Object.getOwnPropertyNames(e)}function pa(e){return ma?globalThis.Object.getOwnPropertyNames(e).map(r=>r[0]==="^"&&r[r.length-1]==="$"?r.slice(1,r.length-1):r):[]}function Pt(e){return j(e)?ia(e.allOf):I(e)?sa(e.anyOf):ne(e)?aa(e.items??[]):de(e)?ua(e.items):k(e)?ca(e.properties):We(e)?pa(e.patternProperties):[]}var ma=!1;function fa(e,t){return F("KeyOf",[F(e,t)])}function da(e){return F("KeyOf",[Re(e)])}function la(e,t){let r=Pt(e),o=Ia(r),s=he(o);return a(s,t)}function Ia(e){return e.map(t=>t==="[number]"?ae():g(t))}function ut(e,t){return le(e)?fa(e.target,e.parameters):C(e)?da(e.$ref):_(e)?Io(e,t):la(e,t)}function ya(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=ut(e[o],A(t));return r}function ba(e,t){return ya(e.properties,t)}function Io(e,t){let r=ba(e,t);return b(r)}function ga(e){let t=[];for(let r of e)t.push(...Pt(r));return qn(t)}function xa(e){return e.filter(t=>!Pe(t))}function Oa(e,t){let r=[];for(let o of e)r.push(...Nr(o,[t]));return xa(r)}function Ea(e,t){let r={};for(let o of t)r[o]=Ht(Oa(e,o));return r}function yo(e,t){let r=ga(e),o=Ea(e,r);return S(o,t)}function Wt(e){return a({[p]:"Date",type:"Date"},e)}function zt(e){return a({[p]:"Null",type:"null"},e)}function Yt(e){return a({[p]:"Symbol",type:"symbol"},e)}function Jt(e){return a({[p]:"Undefined",type:"undefined"},e)}function Zt(e){return a({[p]:"Uint8Array",type:"Uint8Array"},e)}function Ke(e){return a({[p]:"Unknown"},e)}function Sa(e){return e.map(t=>jr(t,!1))}function ha(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=Z(jr(e[r],!1));return t}function Xt(e,t){return t===!0?e:Z(e)}function jr(e,t){return cr(e)?Xt(De(),t):mr(e)?Xt(De(),t):v(e)?Z(ue(Sa(e))):Fe(e)?Zt():Ve(e)?Wt():O(e)?Xt(S(ha(e)),t):pr(e)?Xt(Se([],Ke()),t):D(e)?Jt():fr(e)?zt():dr(e)?Yt():bt(e)?it():Q(e)?g(e):Te(e)?g(e):R(e)?g(e):S({})}function bo(e,t){return a(jr(e,!0),t)}function go(e,t){return Ie(e)?ue(e.parameters,t):y(t)}function xo(e,t){if(D(e))throw new Error("Enum undefined or empty");let r=globalThis.Object.getOwnPropertyNames(e).filter(c=>isNaN(c)).map(c=>e[c]),s=[...new Set(r)].map(c=>g(c));return x(s,{...t,[se]:"Enum"})}var Cr=class extends G{},u;(function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"})(u||(u={}));function pe(e){return e===u.False?e:u.True}function ct(e){throw new Cr(e)}function U(e){return i.IsNever(e)||i.IsIntersect(e)||i.IsUnion(e)||i.IsUnknown(e)||i.IsAny(e)}function w(e,t){return i.IsNever(t)?Fo(e,t):i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsUnknown(t)?jo(e,t):i.IsAny(t)?Dr(e,t):ct("StructuralRight")}function Dr(e,t){return u.True}function Ra(e,t){return i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)&&t.anyOf.some(r=>i.IsAny(r)||i.IsUnknown(r))?u.True:i.IsUnion(t)?u.Union:i.IsUnknown(t)||i.IsAny(t)?u.True:u.Union}function Ta(e,t){return i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:i.IsNever(e)?u.True:u.False}function Fa(e,t){return i.IsObject(t)&&er(t)?u.True:U(t)?w(e,t):i.IsArray(t)?pe(h(e.items,t.items)):u.False}function Aa(e,t){return U(t)?w(e,t):i.IsAsyncIterator(t)?pe(h(e.items,t.items)):u.False}function _a(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsBigInt(t)?u.True:u.False}function Ro(e,t){return i.IsLiteralBoolean(e)||i.IsBoolean(e)?u.True:u.False}function Na(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsBoolean(t)?u.True:u.False}function ja(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsConstructor(t)?e.parameters.length>t.parameters.length?u.False:e.parameters.every((r,o)=>pe(h(t.parameters[o],r))===u.True)?pe(h(e.returns,t.returns)):u.False:u.False}function Pa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsDate(t)?u.True:u.False}function Ca(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsFunction(t)?e.parameters.length>t.parameters.length?u.False:e.parameters.every((r,o)=>pe(h(t.parameters[o],r))===u.True)?pe(h(e.returns,t.returns)):u.False:u.False}function To(e,t){return i.IsLiteral(e)&&H.IsNumber(e.const)||i.IsNumber(e)||i.IsInteger(e)?u.True:u.False}function La(e,t){return i.IsInteger(t)||i.IsNumber(t)?u.True:U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):u.False}function Qt(e,t){return t.allOf.every(r=>h(e,r)===u.True)?u.True:u.False}function va(e,t){return e.allOf.some(r=>h(r,t)===u.True)?u.True:u.False}function Da(e,t){return U(t)?w(e,t):i.IsIterator(t)?pe(h(e.items,t.items)):u.False}function ka(e,t){return i.IsLiteral(t)&&t.const===e.const?u.True:U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsString(t)?No(e,t):i.IsNumber(t)?Ao(e,t):i.IsInteger(t)?To(e,t):i.IsBoolean(t)?Ro(e,t):u.False}function Fo(e,t){return u.False}function Ka(e,t){return u.True}function Oo(e){let[t,r]=[e,0];for(;i.IsNot(t);)t=t.not,r+=1;return r%2===0?t:Ke()}function Ua(e,t){return i.IsNot(e)?h(Oo(e),t):i.IsNot(t)?h(e,Oo(t)):ct("Invalid fallthrough for Not")}function wa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsNull(t)?u.True:u.False}function Ao(e,t){return i.IsLiteralNumber(e)||i.IsNumber(e)||i.IsInteger(e)?u.True:u.False}function Ga(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsInteger(t)||i.IsNumber(t)?u.True:u.False}function X(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function Eo(e){return er(e)}function So(e){return X(e,0)||X(e,1)&&"description"in e.properties&&i.IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(i.IsString(e.properties.description.anyOf[0])&&i.IsUndefined(e.properties.description.anyOf[1])||i.IsString(e.properties.description.anyOf[1])&&i.IsUndefined(e.properties.description.anyOf[0]))}function Pr(e){return X(e,0)}function ho(e){return X(e,0)}function Ma(e){return X(e,0)}function Va(e){return X(e,0)}function $a(e){return er(e)}function Ba(e){let t=ae();return X(e,0)||X(e,1)&&"length"in e.properties&&pe(h(e.properties.length,t))===u.True}function Ha(e){return X(e,0)}function er(e){let t=ae();return X(e,0)||X(e,1)&&"length"in e.properties&&pe(h(e.properties.length,t))===u.True}function qa(e){let t=Se([De()],De());return X(e,0)||X(e,1)&&"then"in e.properties&&pe(h(e.properties.then,t))===u.True}function _o(e,t){return h(e,t)===u.False||i.IsOptional(e)&&!i.IsOptional(t)?u.False:u.True}function z(e,t){return i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:i.IsNever(e)||i.IsLiteralString(e)&&Eo(t)||i.IsLiteralNumber(e)&&Pr(t)||i.IsLiteralBoolean(e)&&ho(t)||i.IsSymbol(e)&&So(t)||i.IsBigInt(e)&&Ma(t)||i.IsString(e)&&Eo(t)||i.IsSymbol(e)&&So(t)||i.IsNumber(e)&&Pr(t)||i.IsInteger(e)&&Pr(t)||i.IsBoolean(e)&&ho(t)||i.IsUint8Array(e)&&$a(t)||i.IsDate(e)&&Va(t)||i.IsConstructor(e)&&Ha(t)||i.IsFunction(e)&&Ba(t)?u.True:i.IsRecord(e)&&i.IsString(Lr(e))?t[se]==="Record"?u.True:u.False:i.IsRecord(e)&&i.IsNumber(Lr(e))&&X(t,0)?u.True:u.False}function Wa(e,t){return U(t)?w(e,t):i.IsRecord(t)?me(e,t):i.IsObject(t)?(()=>{for(let r of Object.getOwnPropertyNames(t.properties)){if(!(r in e.properties)&&!i.IsOptional(t.properties[r]))return u.False;if(i.IsOptional(t.properties[r]))return u.True;if(_o(e.properties[r],t.properties[r])===u.False)return u.False}return u.True})():u.False}function za(e,t){return U(t)?w(e,t):i.IsObject(t)&&qa(t)?u.True:i.IsPromise(t)?pe(h(e.item,t.item)):u.False}function Lr(e){return Le in e.patternProperties?ae():ve in e.patternProperties?xe():ct("Unknown record key pattern")}function vr(e){return Le in e.patternProperties?e.patternProperties[Le]:ve in e.patternProperties?e.patternProperties[ve]:ct("Unable to get record value schema")}function me(e,t){let[r,o]=[Lr(t),vr(t)];return i.IsLiteralString(e)&&i.IsNumber(r)&&pe(h(e,o))===u.True?u.True:i.IsUint8Array(e)&&i.IsNumber(r)||i.IsString(e)&&i.IsNumber(r)||i.IsArray(e)&&i.IsNumber(r)?h(e,o):i.IsObject(e)?(()=>{for(let s of Object.getOwnPropertyNames(e.properties))if(_o(o,e.properties[s])===u.False)return u.False;return u.True})():u.False}function Ya(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?h(vr(e),vr(t)):u.False}function Ja(e,t){let r=i.IsRegExp(e)?xe():e,o=i.IsRegExp(t)?xe():t;return h(r,o)}function No(e,t){return i.IsLiteral(e)&&H.IsString(e.const)||i.IsString(e)?u.True:u.False}function Za(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsString(t)?u.True:u.False}function Xa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsSymbol(t)?u.True:u.False}function Qa(e,t){return i.IsTemplateLiteral(e)?h(Ye(e),t):i.IsTemplateLiteral(t)?h(e,Ye(t)):ct("Invalid fallthrough for TemplateLiteral")}function eu(e,t){return i.IsArray(t)&&e.items!==void 0&&e.items.every(r=>h(r,t.items)===u.True)}function tu(e,t){return i.IsNever(e)?u.True:i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:u.False}function ru(e,t){return U(t)?w(e,t):i.IsObject(t)&&er(t)||i.IsArray(t)&&eu(e,t)?u.True:i.IsTuple(t)?H.IsUndefined(e.items)&&!H.IsUndefined(t.items)||!H.IsUndefined(e.items)&&H.IsUndefined(t.items)?u.False:H.IsUndefined(e.items)&&!H.IsUndefined(t.items)||e.items.every((r,o)=>h(r,t.items[o])===u.True)?u.True:u.False:u.False}function nu(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsUint8Array(t)?u.True:u.False}function ou(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsVoid(t)?au(e,t):i.IsUndefined(t)?u.True:u.False}function kr(e,t){return t.anyOf.some(r=>h(e,r)===u.True)?u.True:u.False}function iu(e,t){return e.anyOf.every(r=>h(r,t)===u.True)?u.True:u.False}function jo(e,t){return u.True}function su(e,t){return i.IsNever(t)?Fo(e,t):i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsAny(t)?Dr(e,t):i.IsString(t)?No(e,t):i.IsNumber(t)?Ao(e,t):i.IsInteger(t)?To(e,t):i.IsBoolean(t)?Ro(e,t):i.IsArray(t)?Ta(e,t):i.IsTuple(t)?tu(e,t):i.IsObject(t)?z(e,t):i.IsUnknown(t)?u.True:u.False}function au(e,t){return i.IsUndefined(e)||i.IsUndefined(e)?u.True:u.False}function uu(e,t){return i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsUnknown(t)?jo(e,t):i.IsAny(t)?Dr(e,t):i.IsObject(t)?z(e,t):i.IsVoid(t)?u.True:u.False}function h(e,t){return i.IsTemplateLiteral(e)||i.IsTemplateLiteral(t)?Qa(e,t):i.IsRegExp(e)||i.IsRegExp(t)?Ja(e,t):i.IsNot(e)||i.IsNot(t)?Ua(e,t):i.IsAny(e)?Ra(e,t):i.IsArray(e)?Fa(e,t):i.IsBigInt(e)?_a(e,t):i.IsBoolean(e)?Na(e,t):i.IsAsyncIterator(e)?Aa(e,t):i.IsConstructor(e)?ja(e,t):i.IsDate(e)?Pa(e,t):i.IsFunction(e)?Ca(e,t):i.IsInteger(e)?La(e,t):i.IsIntersect(e)?va(e,t):i.IsIterator(e)?Da(e,t):i.IsLiteral(e)?ka(e,t):i.IsNever(e)?Ka(e,t):i.IsNull(e)?wa(e,t):i.IsNumber(e)?Ga(e,t):i.IsObject(e)?Wa(e,t):i.IsRecord(e)?Ya(e,t):i.IsString(e)?Za(e,t):i.IsSymbol(e)?Xa(e,t):i.IsTuple(e)?ru(e,t):i.IsPromise(e)?za(e,t):i.IsUint8Array(e)?nu(e,t):i.IsUndefined(e)?ou(e,t):i.IsUnion(e)?iu(e,t):i.IsUnknown(e)?su(e,t):i.IsVoid(e)?uu(e,t):ct(`Unknown left type operand '${e[p]}'`)}function Ue(e,t){return h(e,t)}function cu(e,t,r,o,s){let c={};for(let m of globalThis.Object.getOwnPropertyNames(e))c[m]=pt(e[m],t,r,o,A(s));return c}function pu(e,t,r,o,s){return cu(e.properties,t,r,o,s)}function Po(e,t,r,o,s){let c=pu(e,t,r,o,s);return b(c)}function mu(e,t,r,o){let s=Ue(e,t);return s===u.Union?x([r,o]):s===u.True?r:o}function pt(e,t,r,o,s){return _(e)?Po(e,t,r,o,s):te(e)?a(Co(e,t,r,o,s)):a(mu(e,t,r,o),s)}function fu(e,t,r,o,s){return{[e]:pt(g(e),t,r,o,A(s))}}function du(e,t,r,o,s){return e.reduce((c,m)=>({...c,...fu(m,t,r,o,s)}),{})}function lu(e,t,r,o,s){return du(e.keys,t,r,o,s)}function Co(e,t,r,o,s){let c=lu(e,t,r,o,s);return b(c)}function Lo(e,t){return mt(Ye(e),t)}function Iu(e,t){let r=e.filter(o=>Ue(o,t)===u.False);return r.length===1?r[0]:x(r)}function mt(e,t,r={}){return re(e)?a(Lo(e,t),r):_(e)?a(vo(e,t),r):a(I(e)?Iu(e.anyOf,t):Ue(e,t)!==u.False?y():e,r)}function yu(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=mt(e[o],t);return r}function bu(e,t){return yu(e.properties,t)}function vo(e,t){let r=bu(e,t);return b(r)}function Do(e,t){return ft(Ye(e),t)}function gu(e,t){let r=e.filter(o=>Ue(o,t)!==u.False);return r.length===1?r[0]:x(r)}function ft(e,t,r){return re(e)?a(Do(e,t),r):_(e)?a(ko(e,t),r):a(I(e)?gu(e.anyOf,t):Ue(e,t)!==u.False?e:y(),r)}function xu(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=ft(e[o],t);return r}function Ou(e,t){return xu(e.properties,t)}function ko(e,t){let r=Ou(e,t);return b(r)}function Ko(e,t){return Ie(e)?a(e.returns,t):y(t)}function tr(e){return Z(q(e))}function Je(e,t,r){return a({[p]:"Record",type:"object",patternProperties:{[e]:t}},r)}function Kr(e,t,r){let o={};for(let s of e)o[s]=t;return S(o,{...r,[se]:"Record"})}function Eu(e,t,r){return Xn(e)?Kr(J(e),t,r):Je(e.pattern,t,r)}function Su(e,t,r){return Kr(J(x(e)),t,r)}function hu(e,t,r){return Kr([e.toString()],t,r)}function Ru(e,t,r){return Je(e.source,t,r)}function Tu(e,t,r){let o=D(e.pattern)?ve:e.pattern;return Je(o,t,r)}function Fu(e,t,r){return Je(ve,t,r)}function Au(e,t,r){return Je(Bn,t,r)}function _u(e,t,r){return S({true:t,false:t},r)}function Nu(e,t,r){return Je(Le,t,r)}function ju(e,t,r){return Je(Le,t,r)}function rr(e,t,r={}){return I(e)?Su(e.anyOf,t,r):re(e)?Eu(e,t,r):ee(e)?hu(e.const,t,r):Ae(e)?_u(e,t,r):be(e)?Nu(e,t,r):ge(e)?ju(e,t,r):yr(e)?Ru(e,t,r):_e(e)?Tu(e,t,r):lr(e)?Fu(e,t,r):Pe(e)?Au(e,t,r):y(r)}function nr(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function Uo(e){let t=nr(e);return t===ve?xe():t===Le?ae():xe({pattern:t})}function or(e){return e.patternProperties[nr(e)]}function Pu(e,t){return t.parameters=Ct(e,t.parameters),t.returns=Oe(e,t.returns),t}function Cu(e,t){return t.parameters=Ct(e,t.parameters),t.returns=Oe(e,t.returns),t}function Lu(e,t){return t.allOf=Ct(e,t.allOf),t}function vu(e,t){return t.anyOf=Ct(e,t.anyOf),t}function Du(e,t){return D(t.items)||(t.items=Ct(e,t.items)),t}function ku(e,t){return t.items=Oe(e,t.items),t}function Ku(e,t){return t.items=Oe(e,t.items),t}function Uu(e,t){return t.items=Oe(e,t.items),t}function wu(e,t){return t.item=Oe(e,t.item),t}function Gu(e,t){let r=Bu(e,t.properties);return{...t,...S(r)}}function Mu(e,t){let r=Oe(e,Uo(t)),o=Oe(e,or(t)),s=rr(r,o);return{...t,...s}}function Vu(e,t){return t.index in e?e[t.index]:Ke()}function $u(e,t){let r=Qe(t),o=Y(t),s=Oe(e,t);return r&&o?tr(s):r&&!o?Z(s):!r&&o?q(s):s}function Bu(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:$u(e,t[o])}),{})}function Ct(e,t){return t.map(r=>Oe(e,r))}function Oe(e,t){return Ie(t)?Pu(e,t):ye(t)?Cu(e,t):j(t)?Lu(e,t):I(t)?vu(e,t):ne(t)?Du(e,t):de(t)?ku(e,t):$e(t)?Ku(e,t):He(t)?Uu(e,t):qe(t)?wu(e,t):k(t)?Gu(e,t):We(t)?Mu(e,t):Ir(t)?Vu(e,t):t}function wo(e,t){return Oe(t,Xe(e))}function Go(e){return a({[p]:"Integer",type:"integer"},e)}function Hu(e,t,r){return{[e]:Ee(g(e),t,A(r))}}function qu(e,t,r){return e.reduce((s,c)=>({...s,...Hu(c,t,r)}),{})}function Wu(e,t,r){return qu(e.keys,t,r)}function Mo(e,t,r){let o=Wu(e,t,r);return b(o)}function zu(e){let[t,r]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),r].join("")}function Yu(e){let[t,r]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),r].join("")}function Ju(e){return e.toUpperCase()}function Zu(e){return e.toLowerCase()}function Xu(e,t,r){let o=ot(e.pattern);if(!ze(o))return{...e,pattern:Vo(e.pattern,t)};let m=[..._t(o)].map(V=>g(V)),f=$o(m,t),N=x(f);return Bt([N],r)}function Vo(e,t){return typeof e=="string"?t==="Uncapitalize"?zu(e):t==="Capitalize"?Yu(e):t==="Uppercase"?Ju(e):t==="Lowercase"?Zu(e):e:e.toString()}function $o(e,t){return e.map(r=>Ee(r,t))}function Ee(e,t,r={}){return te(e)?Mo(e,t,r):re(e)?Xu(e,t,r):I(e)?x($o(e.anyOf,t),r):ee(e)?g(Vo(e.const,t),r):a(e,r)}function Bo(e,t={}){return Ee(e,"Capitalize",t)}function Ho(e,t={}){return Ee(e,"Lowercase",t)}function qo(e,t={}){return Ee(e,"Uncapitalize",t)}function Wo(e,t={}){return Ee(e,"Uppercase",t)}function Qu(e,t,r){let o={};for(let s of globalThis.Object.getOwnPropertyNames(e))o[s]=we(e[s],t,A(r));return o}function ec(e,t,r){return Qu(e.properties,t,r)}function zo(e,t,r){let o=ec(e,t,r);return b(o)}function tc(e,t){return e.map(r=>Ur(r,t))}function rc(e,t){return e.map(r=>Ur(r,t))}function nc(e,t){let{[t]:r,...o}=e;return o}function oc(e,t){return t.reduce((r,o)=>nc(r,o),e)}function ic(e,t,r){let o=P(e,[K,"$id","required","properties"]),s=oc(r,t);return S(s,o)}function sc(e){let t=e.reduce((r,o)=>wt(o)?[...r,g(o)]:r,[]);return x(t)}function Ur(e,t){return j(e)?W(tc(e.allOf,t)):I(e)?x(rc(e.anyOf,t)):k(e)?ic(e,t,e.properties):S({})}function we(e,t,r){let o=v(t)?sc(t):t,s=oe(t)?J(t):t,c=C(e),m=C(t);return _(e)?zo(e,s,r):te(t)?Yo(e,t,r):c&&m?F("Omit",[e,o],r):!c&&m?F("Omit",[e,o],r):c&&!m?F("Omit",[e,o],r):a({...Ur(e,s),...r})}function ac(e,t,r){return{[t]:we(e,[t],A(r))}}function uc(e,t,r){return t.reduce((o,s)=>({...o,...ac(e,s,r)}),{})}function cc(e,t,r){return uc(e,t.keys,r)}function Yo(e,t,r){let o=cc(e,t,r);return b(o)}function pc(e,t,r){let o={};for(let s of globalThis.Object.getOwnPropertyNames(e))o[s]=Ge(e[s],t,A(r));return o}function mc(e,t,r){return pc(e.properties,t,r)}function Jo(e,t,r){let o=mc(e,t,r);return b(o)}function fc(e,t){return e.map(r=>wr(r,t))}function dc(e,t){return e.map(r=>wr(r,t))}function lc(e,t){let r={};for(let o of t)o in e&&(r[o]=e[o]);return r}function Ic(e,t,r){let o=P(e,[K,"$id","required","properties"]),s=lc(r,t);return S(s,o)}function yc(e){let t=e.reduce((r,o)=>wt(o)?[...r,g(o)]:r,[]);return x(t)}function wr(e,t){return j(e)?W(fc(e.allOf,t)):I(e)?x(dc(e.anyOf,t)):k(e)?Ic(e,t,e.properties):S({})}function Ge(e,t,r){let o=v(t)?yc(t):t,s=oe(t)?J(t):t,c=C(e),m=C(t);return _(e)?Jo(e,s,r):te(t)?Zo(e,t,r):c&&m?F("Pick",[e,o],r):!c&&m?F("Pick",[e,o],r):c&&!m?F("Pick",[e,o],r):a({...wr(e,s),...r})}function bc(e,t,r){return{[t]:Ge(e,[t],A(r))}}function gc(e,t,r){return t.reduce((o,s)=>({...o,...bc(e,s,r)}),{})}function xc(e,t,r){return gc(e,t.keys,r)}function Zo(e,t,r){let o=xc(e,t,r);return b(o)}function Oc(e,t){return F("Partial",[F(e,t)])}function Ec(e){return F("Partial",[Re(e)])}function Sc(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=q(e[r]);return t}function hc(e,t){let r=P(e,[K,"$id","required","properties"]),o=Sc(t);return S(o,r)}function Xo(e){return e.map(t=>Qo(t))}function Qo(e){return le(e)?Oc(e.target,e.parameters):C(e)?Ec(e.$ref):j(e)?W(Xo(e.allOf)):I(e)?x(Xo(e.anyOf)):k(e)?hc(e,e.properties):Be(e)||Ae(e)||be(e)||ee(e)||Ot(e)||ge(e)||_e(e)||Et(e)||St(e)?e:S({})}function dt(e,t){return _(e)?ei(e,t):a({...Qo(e),...t})}function Rc(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=dt(e[o],A(t));return r}function Tc(e,t){return Rc(e.properties,t)}function ei(e,t){let r=Tc(e,t);return b(r)}function Fc(e,t){return F("Required",[F(e,t)])}function Ac(e){return F("Required",[Re(e)])}function _c(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=P(e[r],[$]);return t}function Nc(e,t){let r=P(e,[K,"$id","required","properties"]),o=_c(t);return S(o,r)}function ti(e){return e.map(t=>ri(t))}function ri(e){return le(e)?Fc(e.target,e.parameters):C(e)?Ac(e.$ref):j(e)?W(ti(e.allOf)):I(e)?x(ti(e.anyOf)):k(e)?Nc(e,e.properties):Be(e)||Ae(e)||be(e)||ee(e)||Ot(e)||ge(e)||_e(e)||Et(e)||St(e)?e:S({})}function lt(e,t){return _(e)?ni(e,t):a({...ri(e),...t})}function jc(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=lt(e[o],t);return r}function Pc(e,t){return jc(e.properties,t)}function ni(e,t){let r=Pc(e,t);return b(r)}function Cc(e,t){return t.map(r=>C(r)?Gr(e,r.$ref):ie(e,r))}function Gr(e,t){return t in e?C(e[t])?Gr(e,e[t].$ref):ie(e,e[t]):y()}function Lc(e){return at(e[0])}function vc(e){return ke(e[0],e[1])}function Dc(e){return ut(e[0])}function kc(e){return dt(e[0])}function Kc(e){return we(e[0],e[1])}function Uc(e){return Ge(e[0],e[1])}function wc(e){return lt(e[0])}function Gc(e,t,r){let o=Cc(e,r);return t==="Awaited"?Lc(o):t==="Index"?vc(o):t==="KeyOf"?Dc(o):t==="Partial"?kc(o):t==="Omit"?Kc(o):t==="Pick"?Uc(o):t==="Required"?wc(o):y()}function Mc(e,t){return et(ie(e,t))}function Vc(e,t){return tt(ie(e,t))}function $c(e,t,r){return rt(Lt(e,t),ie(e,r))}function Bc(e,t,r){return Se(Lt(e,t),ie(e,r))}function Hc(e,t){return W(Lt(e,t))}function qc(e,t){return st(ie(e,t))}function Wc(e,t){return S(globalThis.Object.keys(t).reduce((r,o)=>({...r,[o]:ie(e,t[o])}),{}))}function zc(e,t){let[r,o]=[ie(e,or(t)),nr(t)],s=Xe(t);return s.patternProperties[o]=r,s}function Yc(e,t){return C(t)?{...Gr(e,t.$ref),[K]:t[K]}:t}function Jc(e,t){return ue(Lt(e,t))}function Zc(e,t){return x(Lt(e,t))}function Lt(e,t){return t.map(r=>ie(e,r))}function ie(e,t){return Y(t)?a(ie(e,P(t,[$])),t):Qe(t)?a(ie(e,P(t,[fe])),t):Ce(t)?a(Yc(e,t),t):de(t)?a(Mc(e,t.items),t):$e(t)?a(Vc(e,t.items),t):le(t)?a(Gc(e,t.target,t.parameters)):Ie(t)?a($c(e,t.parameters,t.returns),t):ye(t)?a(Bc(e,t.parameters,t.returns),t):j(t)?a(Hc(e,t.allOf),t):He(t)?a(qc(e,t.items),t):k(t)?a(Wc(e,t.properties),t):We(t)?a(zc(e,t)):ne(t)?a(Jc(e,t.items||[]),t):I(t)?a(Zc(e,t.anyOf),t):t}function Xc(e,t){return t in e?ie(e,e[t]):y()}function oi(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,r)=>({...t,[r]:Xc(e,r)}),{})}var Mr=class{constructor(t){let r=oi(t),o=this.WithIdentifiers(r);this.$defs=o}Import(t,r){let o={...this.$defs,[t]:a(this.$defs[t],r)};return a({[p]:"Import",$defs:o,$ref:t})}WithIdentifiers(t){return globalThis.Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:{...t[o],$id:o}}),{})}};function ii(e){return new Mr(e)}function si(e,t){return a({[p]:"Not",not:e},t)}function ai(e,t){return ye(e)?ue(e.parameters,t):y()}var Qc=0;function ui(e,t={}){D(t.$id)&&(t.$id=`T${Qc++}`);let r=Xe(e({[p]:"This",$ref:`${t.$id}`}));return r.$id=t.$id,a({[se]:"Recursive",...r},t)}function ci(e,t){let r=R(e)?new globalThis.RegExp(e):e;return a({[p]:"RegExp",type:"RegExp",source:r.source,flags:r.flags},t)}function ep(e){return j(e)?e.allOf:I(e)?e.anyOf:ne(e)?e.items??[]:[]}function pi(e){return ep(e)}function mi(e,t){return ye(e)?a(e.returns,t):y(t)}var Vr=class{constructor(t){this.schema=t}Decode(t){return new $r(this.schema,t)}},$r=class{constructor(t,r){this.schema=t,this.decode=r}EncodeTransform(t,r){let c={Encode:m=>r[K].Encode(t(m)),Decode:m=>this.decode(r[K].Decode(m))};return{...r,[K]:c}}EncodeSchema(t,r){let o={Decode:this.decode,Encode:t};return{...r,[K]:o}}Encode(t){return Ce(this.schema)?this.EncodeTransform(t,this.schema):this.EncodeSchema(t,this.schema)}};function fi(e){return new Vr(e)}function di(e={}){return a({[p]:e[p]??"Unsafe"},e)}function li(e){return a({[p]:"Void",type:"void"},e)}var Br={};ar(Br,{Any:()=>De,Argument:()=>Yn,Array:()=>et,AsyncIterator:()=>tt,Awaited:()=>at,BigInt:()=>it,Boolean:()=>$t,Capitalize:()=>Bo,Composite:()=>yo,Const:()=>bo,Constructor:()=>rt,ConstructorParameters:()=>go,Date:()=>Wt,Enum:()=>xo,Exclude:()=>mt,Extends:()=>pt,Extract:()=>ft,Function:()=>Se,Index:()=>ke,InstanceType:()=>Ko,Instantiate:()=>wo,Integer:()=>Go,Intersect:()=>W,Iterator:()=>st,KeyOf:()=>ut,Literal:()=>g,Lowercase:()=>Ho,Mapped:()=>co,Module:()=>ii,Never:()=>y,Not:()=>si,Null:()=>zt,Number:()=>ae,Object:()=>S,Omit:()=>we,Optional:()=>q,Parameters:()=>ai,Partial:()=>dt,Pick:()=>Ge,Promise:()=>qt,Readonly:()=>Z,ReadonlyOptional:()=>tr,Record:()=>rr,Recursive:()=>ui,Ref:()=>Re,RegExp:()=>ci,Required:()=>lt,Rest:()=>pi,ReturnType:()=>mi,String:()=>xe,Symbol:()=>Yt,TemplateLiteral:()=>Bt,Transform:()=>fi,Tuple:()=>ue,Uint8Array:()=>Zt,Uncapitalize:()=>qo,Undefined:()=>Jt,Union:()=>x,Unknown:()=>Ke,Unsafe:()=>di,Uppercase:()=>Wo,Void:()=>li});var n=Br;var tp=n.Union([n.Literal("tool_call"),n.Literal("pain_signal"),n.Literal("rule_promotion"),n.Literal("governance_action"),n.Literal("hook_execution"),n.Literal("adaptive_delivery"),n.Literal("gate_block"),n.Literal("gate_bypass"),n.Literal("evolution_task"),n.Literal("empathy_rollback"),n.Literal("error"),n.Literal("warn"),n.Literal("diagnosis_task"),n.Literal("heartbeat_diagnosis"),n.Literal("diagnostician_report"),n.Literal("principle_candidate"),n.Literal("rule_enforced"),n.Literal("rulehost_evaluated"),n.Literal("rulehost_blocked"),n.Literal("rulehost_requireApproval"),n.Literal("rulehost_auto_correct_proposed"),n.Literal("rulehost_auto_correct_applied"),n.Literal("runtime_v2_prompt_activations_injected"),n.Literal("rulehost_unhealthy"),n.Literal("rulehost_skipped"),n.Literal("trajectory_observability_failure")]),rp=n.Union([n.Literal("success"),n.Literal("failure"),n.Literal("detected"),n.Literal("blocked"),n.Literal("bypassed"),n.Literal("approved"),n.Literal("enqueued"),n.Literal("completed"),n.Literal("promoted"),n.Literal("passed"),n.Literal("changed"),n.Literal("rolled_back"),n.Literal("written"),n.Literal("injected"),n.Literal("created"),n.Literal("matched"),n.Literal("evaluated"),n.Literal("requireApproval"),n.Literal("auto_correct")]),aE=n.Object({ts:n.String(),date:n.String(),type:tp,category:rp,sessionId:n.Optional(n.String()),workspaceDir:n.Optional(n.String()),data:n.Record(n.String(),n.Any())}),uE=n.Object({toolName:n.String(),filePath:n.Optional(n.String()),error:n.Optional(n.String()),errorType:n.Optional(n.String()),exitCode:n.Optional(n.Number()),runId:n.Optional(n.String()),toolCallId:n.Optional(n.String())}),cE=n.Object({score:n.Number(),source:n.String(),eventId:n.Optional(n.String()),reason:n.Optional(n.String()),isRisky:n.Optional(n.Boolean()),origin:n.Optional(n.Union([n.Literal("assistant_self_report"),n.Literal("user_manual"),n.Literal("system_infer")])),severity:n.Optional(n.Union([n.Literal("mild"),n.Literal("moderate"),n.Literal("severe")])),confidence:n.Optional(n.Number()),detection_mode:n.Optional(n.Union([n.Literal("structured"),n.Literal("legacy_tag")])),deduped:n.Optional(n.Boolean()),trigger_text_excerpt:n.Optional(n.String()),raw_score:n.Optional(n.Number()),calibrated_score:n.Optional(n.Number())}),pE=n.Object({fingerprint:n.String(),ruleId:n.String(),phrase:n.String(),sampleCount:n.Number(),avgSimilarity:n.Number()}),mE=n.Object({action:n.Union([n.Literal("deactivate"),n.Literal("promote"),n.Literal("global_pause")]),activationId:n.Optional(n.String({minLength:1})),subject:n.Optional(n.Literal("all_live_rulecode")),actor:n.Union([n.Literal("owner"),n.Literal("cli"),n.Literal("session")]),reasonCode:n.String({minLength:1,maxLength:200}),outcome:n.Literal("authorized")}),fE=n.Object({hook:n.String(),sessionId:n.Optional(n.String()),durationMs:n.Optional(n.Number()),error:n.Optional(n.String())}),dE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),blockSource:n.Optional(n.String())}),lE=n.Object({toolName:n.String(),filePath:n.String(),bypassType:n.Union([n.Literal("stage4_architect"),n.Literal("whitelisted")])}),IE=n.Object({taskId:n.String(),taskType:n.String(),reason:n.String()}),yE=n.Object({eventId:n.String(),originalScore:n.Number(),originalSessionId:n.Optional(n.String()),reason:n.String(),triggeredBy:n.Union([n.Literal("user_command"),n.Literal("natural_language"),n.Literal("system")])}),bE=n.Object({taskCount:n.Number(),taskIds:n.Array(n.String()),trigger:n.Union([n.Literal("heartbeat"),n.Literal("immediate")])}),gE=n.Object({taskId:n.String(),painEventId:n.Optional(n.String()),sessionId:n.Optional(n.String())}),xE=n.Object({taskId:n.String(),reportPath:n.String(),category:n.Union([n.Literal("success"),n.Literal("missing_json"),n.Literal("incomplete_fields")])}),OE=n.Object({principleId:n.String(),taskId:n.String(),source:n.Union([n.Literal("diagnostician"),n.Literal("manual")])}),EE=n.Object({ruleId:n.String(),principleId:n.String(),enforcement:n.Union([n.Literal("warn"),n.Literal("block"),n.Literal("requireApproval")]),toolName:n.String(),filePath:n.String()}),SE=n.Object({toolName:n.String(),filePath:n.String(),matched:n.Boolean(),decision:n.Union([n.Literal("allow"),n.Literal("block"),n.Literal("requireApproval"),n.Literal("auto_correct"),n.Literal("no_rules_armed"),n.Literal("evaluation_failed")]),ruleId:n.Optional(n.String()),activationId:n.Optional(n.String()),activationMode:n.Optional(n.Union([n.Literal("shadow"),n.Literal("live")])),hostKind:n.Optional(n.String())});var hE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),ruleId:n.Optional(n.String())}),RE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),ruleId:n.Optional(n.String())}),TE=n.Object({toolName:n.String(),filePath:n.String(),ruleId:n.String(),principleId:n.Optional(n.String()),confidence:n.Number(),reason:n.String(),applicationMode:n.Union([n.Literal("shadow"),n.Literal("live")]),correctedFields:n.Array(n.String()),validationValid:n.Boolean()}),FE=n.Object({toolName:n.String(),filePath:n.String(),ruleId:n.String(),principleId:n.Optional(n.String()),confidence:n.Number(),reason:n.String(),correctedFields:n.Array(n.Object({field:n.String(),original:n.Unknown(),applied:n.Unknown()}))}),AE=n.Object({hookInvocationId:n.Optional(n.String()),sessionId:n.String(),workspaceDir:n.String(),principleIds:n.Array(n.String()),activationIds:n.Array(n.String()),artifactIds:n.Array(n.String()),injectedCount:n.Number(),skippedWarnings:n.Array(n.String()),injectedCharCount:n.Number(),budget:n.Number(),skipReason:n.Optional(n.String()),nextAction:n.Optional(n.String()),legacySelectedCount:n.Optional(n.Number()),legacyTotalChars:n.Optional(n.Number()),legacyTruncated:n.Optional(n.Boolean()),v2Truncated:n.Optional(n.Boolean()),crossBlockDuplicateIds:n.Optional(n.Array(n.String())),runId:n.Optional(n.String()),hostKind:n.Optional(n.Union([n.Literal("openclaw"),n.Literal("codex"),n.Literal("workbuddy")])),eventId:n.Optional(n.String()),selectionPolicy:n.Optional(n.Union([n.Literal("legacy_fifo_prefix_v1"),n.Literal("fair_rotation_v1")])),eligibleCount:n.Optional(n.Number()),rotationStartIndex:n.Optional(n.Number()),selectionRoundOrdinal:n.Optional(n.Number()),selectionRoundSource:n.Optional(n.Literal("session_user_turn_ordinal")),droppedActivationIds:n.Optional(n.Array(n.String(),{maxItems:16})),oversizedActivationIds:n.Optional(n.Array(n.String(),{maxItems:16})),budgetPolicyVersion:n.Optional(n.String()),budgetCapacitySource:n.Optional(n.Union([n.Literal("operator_declared"),n.Literal("host_effective_window"),n.Literal("pi_catalog_exact"),n.Literal("pi_catalog_model_id"),n.Literal("legacy_fallback")])),budgetCapacityStatus:n.Optional(n.Union([n.Literal("confirmed"),n.Literal("unknown")])),budgetContextWindowTokens:n.Optional(n.Number()),budgetFallbackReason:n.Optional(n.Union([n.Literal("host_capacity_absent"),n.Literal("host_capacity_source_untrusted"),n.Literal("host_capacity_invalid_value"),n.Literal("catalog_unavailable"),n.Literal("model_identity_absent"),n.Literal("catalog_no_exact_match"),n.Literal("catalog_no_match_for_model_id"),n.Literal("catalog_ambiguous_model_id"),n.Literal("catalog_provider_absent"),n.Literal("catalog_metadata_invalid")]))}),_E=n.Object({activationId:n.String(),artifactId:n.String(),ruleId:n.String(),reason:n.String(),nextAction:n.String()}),NE=n.Object({activationId:n.String(),artifactId:n.String(),ruleId:n.String(),mode:n.Optional(n.Union([n.Literal("shadow"),n.Literal("live")])),reason:n.String(),nextAction:n.String()}),jE=n.Object({sessionId:n.Optional(n.String()),reason:n.String(),nextAction:n.String()}),np=n.Object({total:n.Number(),success:n.Number(),failure:n.Number(),byTool:n.Record(n.String(),n.Object({success:n.Number(),failure:n.Number()}))}),op=n.Object({total:n.Number(),byType:n.Record(n.String(),n.Number()),byTool:n.Record(n.String(),n.Number())}),ip=n.Object({totalEvents:n.Number(),dedupedCount:n.Number(),dedupeHitRate:n.Number(),totalPenaltyScore:n.Number(),rolledBackScore:n.Number(),rollbackCount:n.Number(),bySeverity:n.Object({mild:n.Number(),moderate:n.Number(),severe:n.Number()}),scoreBySeverity:n.Object({mild:n.Number(),moderate:n.Number(),severe:n.Number()}),byDetectionMode:n.Object({structured:n.Number(),legacy_tag:n.Number()}),byOrigin:n.Object({assistant_self_report:n.Number(),user_manual:n.Number(),system_infer:n.Number()}),confidenceDistribution:n.Object({high:n.Number(),medium:n.Number(),low:n.Number()}),dailyTrend:n.Array(n.Object({date:n.String(),count:n.Number(),score:n.Number()}))}),sp=n.Object({tasksEnqueued:n.Number(),tasksCompleted:n.Number(),rulesPromoted:n.Number(),diagnosisTasksWritten:n.Number(),heartbeatsInjected:n.Number(),diagnosticianReportsWritten:n.Number(),reportsMissingJson:n.Number(),reportsIncompleteFields:n.Number(),principleCandidatesCreated:n.Number(),rulesEnforced:n.Number(),rulehostEvaluated:n.Number(),rulehostBlocked:n.Number(),rulehostRequireApproval:n.Number(),rulehostAutoCorrectProposed:n.Number(),rulehostAutoCorrectApplied:n.Number()});var ap=n.Object({total:n.Number(),success:n.Number(),failure:n.Number(),byType:n.Record(n.String(),n.Object({total:n.Number(),success:n.Number(),failure:n.Number()})),errors:n.Number(),totalDurationMs:n.Number()}),PE=n.Object({date:n.String(),createdAt:n.String(),updatedAt:n.String(),tools:n.Object({total:n.Number(),success:n.Number(),failure:n.Number()}),toolCalls:np,errors:op,empathy:ip,evolution:sp,hooks:ap});function ir(e){let t=new Date().toISOString();return{date:e,createdAt:t,updatedAt:t,tools:{total:0,success:0,failure:0},toolCalls:{total:0,success:0,failure:0,byTool:{}},errors:{total:0,byType:{},byTool:{}},empathy:{totalEvents:0,dedupedCount:0,dedupeHitRate:0,totalPenaltyScore:0,rolledBackScore:0,rollbackCount:0,bySeverity:{mild:0,moderate:0,severe:0},scoreBySeverity:{mild:0,moderate:0,severe:0},byDetectionMode:{structured:0,legacy_tag:0},byOrigin:{assistant_self_report:0,user_manual:0,system_infer:0},confidenceDistribution:{high:0,medium:0,low:0},dailyTrend:[]},evolution:{tasksEnqueued:0,tasksCompleted:0,rulesPromoted:0,diagnosisTasksWritten:0,heartbeatsInjected:0,diagnosticianReportsWritten:0,reportsMissingJson:0,reportsIncompleteFields:0,principleCandidatesCreated:0,rulesEnforced:0,rulehostEvaluated:0,rulehostBlocked:0,rulehostRequireApproval:0,rulehostAutoCorrectProposed:0,rulehostAutoCorrectApplied:0},hooks:{total:0,success:0,failure:0,byType:{},errors:0,totalDurationMs:0}}}import*as It from"fs";var Ii=3,up=50;function yi(e,t){let r=e+".tmp";It.writeFileSync(r,t,"utf8");let o;for(let s=0;s<Ii;s++)try{It.renameSync(r,e);return}catch(c){o=c;let m=c.code;if(m==="EPERM"||m==="EBUSY"||m==="EACCES"){if(s<Ii-1){let f=up*Math.pow(2,s),N=Date.now()+f,V=!1;for(;Date.now()<N;)if(!V&&Date.now()>=N-10){try{Oi("fs").accessSync?.(r)}catch{}V=!0}}continue}break}try{It.unlinkSync(r)}catch{}throw o}var bi="<redacted-path>",yt="[REDACTED]";var cp=/(?:[A-Za-z]:[\\/](?:[^\\\s/:*?"<>|]+[\\/])+[^\\\s/:*?"<>|]*)/g,pp=/(?<![a-zA-Z0-9_.])[\\/](?:usr|home|Users|var|opt|etc|tmp|root|run|mnt|media|srv|boot|dev|proc|sys)(?:[\\/][^\\\s/:*?"<>|]+)+/g;function mp(e){return typeof e!="string"?e:e.replace(cp,bi).replace(pp,bi)}var fp=/\bsk-(?:ant-)?[A-Za-z0-9_-]{16,}\b/g,dp=/\bgh[pousr]_[A-Za-z0-9_]{16,}\b/g,lp=/\blin_api_[A-Za-z0-9_-]{16,}\b/g,Ip=/(Authorization\s*:\s*)(["'])?([A-Za-z]+\s+)?([^\s"';,]+)/gi,yp=/(\$env:\s*[A-Z_][A-Z0-9_]{2,}\s*=\s*")([^"]*)(")/gi,bp=/\b(api[_-]?key|token|secret|password|auth(?:_?token)?)\s*[:=]\s*['"]?([^\s'",}{]+)['"]?/gi,gp=/\bBearer\s+[A-Za-z0-9._\-+/=]{8,}\b/g;function xp(e){return typeof e!="string"?e:e.replace(fp,yt).replace(dp,yt).replace(lp,yt).replace(Ip,"$1$2$3[REDACTED]").replace(yp,"$1[REDACTED]$3").replace(gp,yt).replace(bp,(t,r)=>`${r}=${yt}`)}var Op=/\b([A-Z_][A-Z0-9_]{2,})\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s,;}{]+))/g;function Ep(e){return typeof e!="string"?e:e.replace(Op,(t,r)=>`${r}=${yt}`)}function vt(e){if(typeof e!="string")return e;let t=mp(e);return t=xp(t),t=Ep(t),t}var gi=7,sr=class{logsDir;statsFile;logger;statsCache=new Map;eventBuffer=[];maxBufferSize=20;flushIntervalMs=3e4;flushTimer;currentEventsFile;currentDate;constructor(t,r){let o=Jr(t);this.logsDir=Dt.join(o,"logs"),B.existsSync(this.logsDir)||B.mkdirSync(this.logsDir,{recursive:!0}),this.statsFile=Dt.join(this.logsDir,"daily-stats.json"),this.logger=r,this.loadStats(),this.startFlushTimer()}getEventsFile(t){return Dt.join(this.logsDir,`events_${t}.jsonl`)}getTodayStr(){return new Date().toISOString().split("T")[0]??""}ensureEventsFile(){let t=this.getTodayStr();return(this.currentDate!==t||!this.currentEventsFile)&&(this.currentDate=t,this.currentEventsFile=this.getEventsFile(t),this.cleanupOldEventFiles(t)),this.currentEventsFile}cleanupOldEventFiles(t){if(!(gi<=0))try{let r=Date.now()-gi*24*60*60*1e3,o=B.readdirSync(this.logsDir);for(let s of o){if(!s.startsWith("events_")||!s.endsWith(".jsonl"))continue;let c=Dt.join(this.logsDir,s);B.statSync(c).mtimeMs<r&&B.unlinkSync(c)}}catch(r){this.logger?.debug?.(`[PD] Event file cleanup failed (non-blocking): ${String(r)}`)}}recordToolCall(t,r){let o=r.error||r.exitCode!==void 0&&r.exitCode!==0?"failure":"success";this.record("tool_call",o,t,r)}recordPainSignal(t,r){this.record("pain_signal","detected",t,r)}recordRulePromotion(t){this.record("rule_promotion","promoted",void 0,t)}recordGovernanceAction(t,r){this.record("governance_action","approved",void 0,t),r?.flushImmediately&&this.flushEvents()}recordHookExecution(t,r){let o=t.error?"failure":"success";this.record("hook_execution",o,void 0,t),r?.flushImmediately&&this.flushEvents()}recordAdaptiveDelivery(t,r){let o=zr(r);if(!o.ok)throw new Error(`Invalid adaptive delivery record: ${o.errors.join("; ")}`);this.record("adaptive_delivery","written",t,r),this.flushEvents()}recordGateBlock(t,r){this.record("gate_block","blocked",t,r)}recordGateBypass(t,r){this.record("gate_bypass","bypassed",t,r)}recordEmpathyRollback(t,r){this.record("empathy_rollback","rolled_back",t,r)}recordError(t,r,o){this.record("error","failure",t,{message:r,...o})}recordWarn(t,r,o){this.record("warn","failure",t,{message:r,...o})}recordDiagnosisTask(t){this.record("diagnosis_task","written",void 0,t)}recordHeartbeatDiagnosis(t){this.record("heartbeat_diagnosis","injected",void 0,t)}recordDiagnosticianReport(t){let r={success:"completed",missing_json:"failure",incomplete_fields:"failure"};this.record("diagnostician_report",r[t.category],void 0,t)}recordPrincipleCandidate(t){this.record("principle_candidate","created",void 0,t)}recordRuleEnforced(t){this.record("rule_enforced","matched",void 0,t)}recordRuleHostEvaluated(t){this.record("rulehost_evaluated","evaluated",void 0,t)}recordRuleHostBlocked(t){this.record("rulehost_blocked","blocked",void 0,t)}recordRuleHostRequireApproval(t){this.record("rulehost_requireApproval","requireApproval",void 0,t)}recordRuleHostAutoCorrectProposed(t){this.record("rulehost_auto_correct_proposed","auto_correct",void 0,t)}recordRuleHostAutoCorrectApplied(t){this.record("rulehost_auto_correct_applied","auto_correct",void 0,t)}recordRuntimeV2ActivationsInjected(t){this.record("runtime_v2_prompt_activations_injected","injected",t.sessionId,t)}recordRuleHostUnhealthy(t){this.record("rulehost_unhealthy","failure",void 0,t)}recordRuleHostSkipped(t){this.record("rulehost_skipped","failure",void 0,t)}recordTrajectoryObservabilityFailure(t){this.record("trajectory_observability_failure","failure",t.sessionId,t)}redactEventData(t,r){try{if(!new Set(["tool_call","rulehost_evaluated","rulehost_blocked","rulehost_requireApproval","rulehost_auto_correct_proposed","rulehost_auto_correct_applied","rulehost_skipped","trajectory_observability_failure","rule_enforced","hook_execution","gate_block","gate_bypass"]).has(t))return r;let s={};for(let[c,m]of Object.entries(r))if(typeof m=="string")s[c]=vt(m);else if(Array.isArray(m))s[c]=m.map(f=>{if(typeof f=="string")return vt(f);if(typeof f=="object"&&f!==null){let N={};for(let[V,L]of Object.entries(f))N[V]=typeof L=="string"?vt(L):L;return N}return f});else if(typeof m=="object"&&m!==null){let f={};for(let[N,V]of Object.entries(m))typeof V=="string"?f[N]=vt(V):f[N]=V;s[c]=f}else s[c]=m;return s}catch(o){return{redactionFailure:!0,redactionStatus:"failed","redaction.status":"failed",redactionReason:(o instanceof Error?o.message.slice(0,200):String(o).slice(0,200))||"unknown error",redactionDataDropped:!0,originalType:t,originalSessionId:r.sessionId??null}}}record(t,r,o,s){let c=new Date,m=this.formatDate(c),f=this.redactEventData(t,s),N={ts:c.toISOString(),date:m,type:t,category:r,sessionId:o,data:f};this.eventBuffer.push(N),this.updateStats(N),this.eventBuffer.length>=this.maxBufferSize&&this.flushEvents()}formatDate(t){return t.toISOString().split("T")[0]??""}loadStats(){if(B.existsSync(this.statsFile))try{let t=JSON.parse(B.readFileSync(this.statsFile,"utf-8"));for(let r in t)this.statsCache.set(r,t[r])}catch(t){this.logger&&this.logger.error(`[PD] Failed to load daily-stats.json: ${String(t)}`)}}updateStats(t){let r=this.statsCache.get(t.date);if(r||(r=ir(t.date),this.statsCache.set(t.date,r)),t.type==="tool_call")r.tools.total++,t.category==="success"?r.tools.success++:r.tools.failure++;else if(t.type==="pain_signal"){let o=t.data;if(o.source==="user_empathy"){if(o.deduped)r.empathy.dedupedCount++;else{r.empathy.totalEvents++,r.empathy.totalPenaltyScore+=o.score||0,o.severity&&(r.empathy.bySeverity[o.severity]++,r.empathy.scoreBySeverity[o.severity]+=o.score||0),o.detection_mode&&r.empathy.byDetectionMode[o.detection_mode]++,o.origin&&r.empathy.byOrigin[o.origin]++;let c=o.confidence??1;c>=.8?r.empathy.confidenceDistribution.high++:c>=.5?r.empathy.confidenceDistribution.medium++:r.empathy.confidenceDistribution.low++}let s=r.empathy.totalEvents+r.empathy.dedupedCount;r.empathy.dedupeHitRate=s>0?r.empathy.dedupedCount/s:0}}else if(t.type==="hook_execution"){let o=t.data;if(r.hooks.total++,t.category==="success"?r.hooks.success++:r.hooks.failure++,o.hook){r.hooks.byType[o.hook]||(r.hooks.byType[o.hook]={total:0,success:0,failure:0});let s=r.hooks.byType[o.hook];s&&(s.total++,t.category==="success"?s.success++:s.failure++)}}else if(t.type==="empathy_rollback"){let o=t.data;r.empathy.rollbackCount++,r.empathy.rolledBackScore+=o.originalScore||0}else if(t.type==="rule_promotion")r.evolution.rulesPromoted++;else if(t.type==="evolution_task")t.category==="completed"?r.evolution.tasksCompleted++:t.category==="enqueued"&&r.evolution.tasksEnqueued++;else if(t.type==="diagnosis_task")r.evolution.diagnosisTasksWritten++;else if(t.type==="heartbeat_diagnosis")r.evolution.heartbeatsInjected++;else if(t.type==="diagnostician_report"){let o=t.data;if(Object.prototype.hasOwnProperty.call(o,"category")){let s=o.category;typeof s=="string"&&(s==="success"||s==="missing_json"||s==="incomplete_fields")&&r.evolution.diagnosticianReportsWritten++,typeof s=="string"&&s==="missing_json"&&r.evolution.reportsMissingJson++,typeof s=="string"&&s==="incomplete_fields"&&r.evolution.reportsIncompleteFields++}else Object.prototype.hasOwnProperty.call(o,"success")&&r.evolution.diagnosticianReportsWritten++}else t.type==="principle_candidate"?r.evolution.principleCandidatesCreated++:t.type==="rule_enforced"?r.evolution.rulesEnforced++:t.type==="rulehost_evaluated"?r.evolution.rulehostEvaluated++:t.type==="rulehost_blocked"?r.evolution.rulehostBlocked++:t.type==="rulehost_requireApproval"?r.evolution.rulehostRequireApproval++:t.type==="rulehost_auto_correct_proposed"?r.evolution.rulehostAutoCorrectProposed++:t.type==="rulehost_auto_correct_applied"&&r.evolution.rulehostAutoCorrectApplied++}startFlushTimer(){this.flushTimer=setInterval(()=>this.flush(),this.flushIntervalMs),this.flushTimer.unref()}flush(){this.flushEvents(),this.flushStats()}getBufferedEvents(){return this.eventBuffer.map(t=>({...t,data:{...t.data}}))}getEventDedupKey(t){let r=typeof t.data?.eventId=="string"?String(t.data.eventId):null;if(r)return`${t.type}:${t.sessionId??"none"}:${r}`;let o=t.data??{};return[t.ts??"no-ts",t.type??"no-type",t.category??"no-category",t.sessionId??"no-session",typeof o.source=="string"?o.source:"no-source",typeof o.toolName=="string"?o.toolName:"no-tool",typeof o.reason=="string"?o.reason:"no-reason"].join("::")}readPersistedEvents(){let t=this.ensureEventsFile();if(!B.existsSync(t))return[];try{return B.readFileSync(t,"utf-8").trim().split(`
|
|
2
|
+
var xi=Object.defineProperty;var Oi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ar=(e,t)=>{for(var r in t)xi(e,r,{get:t[r],enumerable:!0})};import*as B from"fs";import*as vt from"path";var Hr={receiptState:["open","closed","reconciled"],execution:["completed","degraded","timeout","failed","unknown"],payload:["none","prepared","returned","confirmed","unknown"],selection:["selected","none_applicable","skipped","unavailable"],submission:["proceeded","blocked","unknown"]};function qr(e){return e===null||typeof e!="object"||Array.isArray(e)||Object.getPrototypeOf(e)!==Object.prototype||Object.hasOwn(e,"__proto__")?!1:Reflect.ownKeys(e).every(r=>{if(typeof r!="string")return!1;let o=Object.getOwnPropertyDescriptor(e,r);return o!==void 0&&Object.hasOwn(o,"value")})}function Ze(e){return typeof e=="string"&&e.trim().length>0}function Ei(e,t){return typeof e=="string"&&t.includes(e)}var Wr=()=>({ok:!1,errors:["record must be a plain data object"]});function zr(e){try{let t=[];if(!qr(e))return Wr();let r=Object.hasOwn(e,"evidence"),o=r?e.evidence:void 0,s=qr(o)?o:void 0,c=!r||s!==void 0,m=c&&r;c||t.push("evidence must be a plain data object when present"),(!Object.hasOwn(e,"hookInvocationId")||!Ze(e.hookInvocationId))&&t.push("hookInvocationId must be a non-empty string"),Object.hasOwn(e,"requestId")&&!Ze(e.requestId)&&t.push("requestId must be a non-empty string when present");for(let f of Object.keys(Hr)){let N=Hr[f];(!Object.hasOwn(e,f)||!Ei(e[f],N))&&t.push(`${f} must be one of: ${N.join(", ")}`)}if(Object.hasOwn(e,"selectionPending")&&typeof e.selectionPending!="boolean"&&t.push("selectionPending must be a boolean when present"),e.receiptState==="open"){for(let f of["execution","payload","submission"])e[f]!=="unknown"&&t.push(`open receipt requires ${f}=unknown`);(e.selection!=="unavailable"||e.selectionPending!==!0)&&t.push("open receipt requires selection=unavailable and selectionPending=true")}else e.selectionPending===!0&&t.push("selectionPending cannot be true for a terminal receipt");if(e.payload==="confirmed"&&(e.execution!=="completed"&&t.push("confirmed payload requires execution=completed"),(!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0)&&t.push("confirmed payload requires independentlyVerified=true"),(!m||!s||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("confirmed payload requires a non-empty evidence.reference")),e.submission!=="unknown"&&(!m||!s||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("known submission requires a non-empty independent evidence.reference"),e.submission!=="unknown"&&(!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0)&&t.push("known submission requires independentlyVerified=true"),typeof e.execution=="string"&&["degraded","timeout","failed","unknown"].includes(e.execution)&&typeof e.payload=="string"&&["returned","confirmed"].includes(e.payload)&&t.push(`${e.execution} execution cannot have payload=${e.payload}`),e.execution==="timeout"&&((!m||!s||!Object.hasOwn(s,"independentlyVerified")||s.independentlyVerified!==!0||!Object.hasOwn(s,"reference")||!Ze(s.reference))&&t.push("timeout requires independently verified evidence with a non-empty reference"),(!m||!s||!Object.hasOwn(s,"hostKillConfirmed")||s.hostKillConfirmed!==!0)&&t.push("timeout requires evidence.hostKillConfirmed=true")),e.selection==="none_applicable"&&(e.execution!=="completed"||e.payload!=="none")&&t.push("none_applicable requires execution=completed and payload=none"),e.selection==="unavailable"&&typeof e.payload=="string"&&["prepared","returned","confirmed"].includes(e.payload)&&t.push(`unavailable selection cannot have payload=${e.payload}`),c&&s){Object.hasOwn(s,"reference")&&!Ze(s.reference)&&t.push("evidence.reference must be a non-empty string when present");for(let f of["independentlyVerified","hostKillConfirmed"])Object.hasOwn(s,f)&&typeof s[f]!="boolean"&&t.push(`evidence.${f} must be a boolean when present`)}return{ok:t.length===0,errors:t}}catch{return Wr()}}import*as ur from"path";import*as Yr from"os";var Si=[/(^|[/\\])fake([/\\]|$)/i,/(^|[/\\])mock([/\\]|$)/i,/(^|[/\\])tmp[/\\]fake-/i],hi=ur.join(Yr.tmpdir(),".pd-test-quarantine");function Ri(e){if(!e)return!1;let t=e.replace(/\\/g,"/");return Si.some(r=>r.test(t))}function Jr(e){if(!e||!(process.env.NODE_ENV==="test"||!!process.env.VITEST)||!Ri(e))return e;let r=e.replace(/[:*?"<>|]/g,"_").replace(/[/\\]/g,"_");for(;r.startsWith("_");)r=r.slice(1);for(;r.endsWith("_");)r=r.slice(0,-1);return ur.join(hi,r)}var H={};ar(H,{HasPropertyKey:()=>kt,IsArray:()=>D,IsAsyncIterator:()=>cr,IsBigInt:()=>bt,IsBoolean:()=>Te,IsDate:()=>Ve,IsFunction:()=>pr,IsIterator:()=>mr,IsNull:()=>fr,IsNumber:()=>Q,IsObject:()=>O,IsRegExp:()=>gt,IsString:()=>R,IsSymbol:()=>dr,IsUint8Array:()=>Fe,IsUndefined:()=>v});function kt(e,t){return t in e}function cr(e){return O(e)&&!D(e)&&!Fe(e)&&Symbol.asyncIterator in e}function D(e){return Array.isArray(e)}function bt(e){return typeof e=="bigint"}function Te(e){return typeof e=="boolean"}function Ve(e){return e instanceof globalThis.Date}function pr(e){return typeof e=="function"}function mr(e){return O(e)&&!D(e)&&!Fe(e)&&Symbol.iterator in e}function fr(e){return e===null}function Q(e){return typeof e=="number"}function O(e){return typeof e=="object"&&e!==null}function gt(e){return e instanceof globalThis.RegExp}function R(e){return typeof e=="string"}function dr(e){return typeof e=="symbol"}function Fe(e){return e instanceof globalThis.Uint8Array}function v(e){return e===void 0}function Ti(e){return e.map(t=>Kt(t))}function Fi(e){return new Date(e.getTime())}function Ai(e){return new Uint8Array(e)}function _i(e){return new RegExp(e.source,e.flags)}function Ni(e){let t={};for(let r of Object.getOwnPropertyNames(e))t[r]=Kt(e[r]);for(let r of Object.getOwnPropertySymbols(e))t[r]=Kt(e[r]);return t}function Kt(e){return D(e)?Ti(e):Ve(e)?Fi(e):Fe(e)?Ai(e):gt(e)?_i(e):O(e)?Ni(e):e}function A(e){return Kt(e)}function Xe(e,t){return t===void 0?A(e):A({...t,...e})}function Zr(e){return e!==null&&typeof e=="object"}function Xr(e){return globalThis.Array.isArray(e)&&!globalThis.ArrayBuffer.isView(e)}function Qr(e){return e===void 0}function en(e){return typeof e=="number"}var Ut;(function(e){e.InstanceMode="default",e.ExactOptionalPropertyTypes=!1,e.AllowArrayObject=!1,e.AllowNaN=!1,e.AllowNullVoid=!1;function t(m,f){return e.ExactOptionalPropertyTypes?f in m:m[f]!==void 0}e.IsExactOptionalProperty=t;function r(m){let f=Zr(m);return e.AllowArrayObject?f:f&&!Xr(m)}e.IsObjectLike=r;function o(m){return r(m)&&!(m instanceof Date)&&!(m instanceof Uint8Array)}e.IsRecordLike=o;function s(m){return e.AllowNaN?en(m):Number.isFinite(m)}e.IsNumberLike=s;function c(m){let f=Qr(m);return e.AllowNullVoid?f||m===null:f}e.IsVoidLike=c})(Ut||(Ut={}));function ji(e){return globalThis.Object.freeze(e).map(t=>xt(t))}function Pi(e){let t={};for(let r of Object.getOwnPropertyNames(e))t[r]=xt(e[r]);for(let r of Object.getOwnPropertySymbols(e))t[r]=xt(e[r]);return globalThis.Object.freeze(t)}function xt(e){return D(e)?ji(e):Ve(e)?e:Fe(e)?e:gt(e)?e:O(e)?Pi(e):e}function a(e,t){let r=t!==void 0?{...t,...e}:e;switch(Ut.InstanceMode){case"freeze":return xt(r);case"clone":return A(r);default:return r}}var G=class extends Error{constructor(t){super(t)}};var K=Symbol.for("TypeBox.Transform"),fe=Symbol.for("TypeBox.Readonly"),$=Symbol.for("TypeBox.Optional"),se=Symbol.for("TypeBox.Hint"),p=Symbol.for("TypeBox.Kind");function Qe(e){return O(e)&&e[fe]==="Readonly"}function Y(e){return O(e)&&e[$]==="Optional"}function lr(e){return l(e,"Any")}function Ir(e){return l(e,"Argument")}function de(e){return l(e,"Array")}function $e(e){return l(e,"AsyncIterator")}function Be(e){return l(e,"BigInt")}function Ae(e){return l(e,"Boolean")}function le(e){return l(e,"Computed")}function Ie(e){return l(e,"Constructor")}function Ci(e){return l(e,"Date")}function ye(e){return l(e,"Function")}function be(e){return l(e,"Integer")}function j(e){return l(e,"Intersect")}function He(e){return l(e,"Iterator")}function l(e,t){return O(e)&&p in e&&e[p]===t}function wt(e){return Te(e)||Q(e)||R(e)}function ee(e){return l(e,"Literal")}function te(e){return l(e,"MappedKey")}function _(e){return l(e,"MappedResult")}function Pe(e){return l(e,"Never")}function Li(e){return l(e,"Not")}function Ot(e){return l(e,"Null")}function ge(e){return l(e,"Number")}function k(e){return l(e,"Object")}function qe(e){return l(e,"Promise")}function We(e){return l(e,"Record")}function C(e){return l(e,"Ref")}function yr(e){return l(e,"RegExp")}function _e(e){return l(e,"String")}function Et(e){return l(e,"Symbol")}function re(e){return l(e,"TemplateLiteral")}function Di(e){return l(e,"This")}function Ce(e){return O(e)&&K in e}function ne(e){return l(e,"Tuple")}function St(e){return l(e,"Undefined")}function I(e){return l(e,"Union")}function vi(e){return l(e,"Uint8Array")}function ki(e){return l(e,"Unknown")}function Ki(e){return l(e,"Unsafe")}function Ui(e){return l(e,"Void")}function wi(e){return O(e)&&p in e&&R(e[p])}function oe(e){return lr(e)||Ir(e)||de(e)||Ae(e)||Be(e)||$e(e)||le(e)||Ie(e)||Ci(e)||ye(e)||be(e)||j(e)||He(e)||ee(e)||te(e)||_(e)||Pe(e)||Li(e)||Ot(e)||ge(e)||k(e)||qe(e)||We(e)||C(e)||yr(e)||_e(e)||Et(e)||re(e)||Di(e)||ne(e)||St(e)||I(e)||vi(e)||ki(e)||Ki(e)||Ui(e)||wi(e)}var i={};ar(i,{IsAny:()=>on,IsArgument:()=>sn,IsArray:()=>an,IsAsyncIterator:()=>un,IsBigInt:()=>cn,IsBoolean:()=>pn,IsComputed:()=>mn,IsConstructor:()=>fn,IsDate:()=>dn,IsFunction:()=>ln,IsImport:()=>Hi,IsInteger:()=>In,IsIntersect:()=>yn,IsIterator:()=>bn,IsKind:()=>$n,IsKindOf:()=>d,IsLiteral:()=>Rt,IsLiteralBoolean:()=>qi,IsLiteralNumber:()=>xn,IsLiteralString:()=>gn,IsLiteralValue:()=>On,IsMappedKey:()=>En,IsMappedResult:()=>Sn,IsNever:()=>hn,IsNot:()=>Rn,IsNull:()=>Tn,IsNumber:()=>Fn,IsObject:()=>An,IsOptional:()=>Bi,IsPromise:()=>_n,IsProperties:()=>Gt,IsReadonly:()=>$i,IsRecord:()=>Nn,IsRecursive:()=>Wi,IsRef:()=>jn,IsRegExp:()=>Pn,IsSchema:()=>M,IsString:()=>Cn,IsSymbol:()=>Ln,IsTemplateLiteral:()=>Dn,IsThis:()=>vn,IsTransform:()=>kn,IsTuple:()=>Kn,IsUint8Array:()=>wn,IsUndefined:()=>Un,IsUnion:()=>Or,IsUnionLiteral:()=>zi,IsUnknown:()=>Gn,IsUnsafe:()=>Mn,IsVoid:()=>Vn,TypeGuardUnknownTypeError:()=>br});var br=class extends G{},Gi=["Argument","Any","Array","AsyncIterator","BigInt","Boolean","Computed","Constructor","Date","Enum","Function","Integer","Intersect","Iterator","Literal","MappedKey","MappedResult","Not","Null","Number","Object","Promise","Record","Ref","RegExp","String","Symbol","TemplateLiteral","This","Tuple","Undefined","Union","Uint8Array","Unknown","Void"];function tn(e){try{return new RegExp(e),!0}catch{return!1}}function gr(e){if(!R(e))return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r>=7&&r<=13||r===27||r===127)return!1}return!0}function rn(e){return xr(e)||M(e)}function ht(e){return v(e)||bt(e)}function T(e){return v(e)||Q(e)}function xr(e){return v(e)||Te(e)}function E(e){return v(e)||R(e)}function Mi(e){return v(e)||R(e)&&gr(e)&&tn(e)}function Vi(e){return v(e)||R(e)&&gr(e)}function nn(e){return v(e)||M(e)}function $i(e){return O(e)&&e[fe]==="Readonly"}function Bi(e){return O(e)&&e[$]==="Optional"}function on(e){return d(e,"Any")&&E(e.$id)}function sn(e){return d(e,"Argument")&&Q(e.index)}function an(e){return d(e,"Array")&&e.type==="array"&&E(e.$id)&&M(e.items)&&T(e.minItems)&&T(e.maxItems)&&xr(e.uniqueItems)&&nn(e.contains)&&T(e.minContains)&&T(e.maxContains)}function un(e){return d(e,"AsyncIterator")&&e.type==="AsyncIterator"&&E(e.$id)&&M(e.items)}function cn(e){return d(e,"BigInt")&&e.type==="bigint"&&E(e.$id)&&ht(e.exclusiveMaximum)&&ht(e.exclusiveMinimum)&&ht(e.maximum)&&ht(e.minimum)&&ht(e.multipleOf)}function pn(e){return d(e,"Boolean")&&e.type==="boolean"&&E(e.$id)}function mn(e){return d(e,"Computed")&&R(e.target)&&D(e.parameters)&&e.parameters.every(t=>M(t))}function fn(e){return d(e,"Constructor")&&e.type==="Constructor"&&E(e.$id)&&D(e.parameters)&&e.parameters.every(t=>M(t))&&M(e.returns)}function dn(e){return d(e,"Date")&&e.type==="Date"&&E(e.$id)&&T(e.exclusiveMaximumTimestamp)&&T(e.exclusiveMinimumTimestamp)&&T(e.maximumTimestamp)&&T(e.minimumTimestamp)&&T(e.multipleOfTimestamp)}function ln(e){return d(e,"Function")&&e.type==="Function"&&E(e.$id)&&D(e.parameters)&&e.parameters.every(t=>M(t))&&M(e.returns)}function Hi(e){return d(e,"Import")&&kt(e,"$defs")&&O(e.$defs)&&Gt(e.$defs)&&kt(e,"$ref")&&R(e.$ref)&&e.$ref in e.$defs}function In(e){return d(e,"Integer")&&e.type==="integer"&&E(e.$id)&&T(e.exclusiveMaximum)&&T(e.exclusiveMinimum)&&T(e.maximum)&&T(e.minimum)&&T(e.multipleOf)}function Gt(e){return O(e)&&Object.entries(e).every(([t,r])=>gr(t)&&M(r))}function yn(e){return d(e,"Intersect")&&!(R(e.type)&&e.type!=="object")&&D(e.allOf)&&e.allOf.every(t=>M(t)&&!kn(t))&&E(e.type)&&(xr(e.unevaluatedProperties)||nn(e.unevaluatedProperties))&&E(e.$id)}function bn(e){return d(e,"Iterator")&&e.type==="Iterator"&&E(e.$id)&&M(e.items)}function d(e,t){return O(e)&&p in e&&e[p]===t}function gn(e){return Rt(e)&&R(e.const)}function xn(e){return Rt(e)&&Q(e.const)}function qi(e){return Rt(e)&&Te(e.const)}function Rt(e){return d(e,"Literal")&&E(e.$id)&&On(e.const)}function On(e){return Te(e)||Q(e)||R(e)}function En(e){return d(e,"MappedKey")&&D(e.keys)&&e.keys.every(t=>Q(t)||R(t))}function Sn(e){return d(e,"MappedResult")&&Gt(e.properties)}function hn(e){return d(e,"Never")&&O(e.not)&&Object.getOwnPropertyNames(e.not).length===0}function Rn(e){return d(e,"Not")&&M(e.not)}function Tn(e){return d(e,"Null")&&e.type==="null"&&E(e.$id)}function Fn(e){return d(e,"Number")&&e.type==="number"&&E(e.$id)&&T(e.exclusiveMaximum)&&T(e.exclusiveMinimum)&&T(e.maximum)&&T(e.minimum)&&T(e.multipleOf)}function An(e){return d(e,"Object")&&e.type==="object"&&E(e.$id)&&Gt(e.properties)&&rn(e.additionalProperties)&&T(e.minProperties)&&T(e.maxProperties)}function _n(e){return d(e,"Promise")&&e.type==="Promise"&&E(e.$id)&&M(e.item)}function Nn(e){return d(e,"Record")&&e.type==="object"&&E(e.$id)&&rn(e.additionalProperties)&&O(e.patternProperties)&&(t=>{let r=Object.getOwnPropertyNames(t.patternProperties);return r.length===1&&tn(r[0])&&O(t.patternProperties)&&M(t.patternProperties[r[0]])})(e)}function Wi(e){return O(e)&&se in e&&e[se]==="Recursive"}function jn(e){return d(e,"Ref")&&E(e.$id)&&R(e.$ref)}function Pn(e){return d(e,"RegExp")&&E(e.$id)&&R(e.source)&&R(e.flags)&&T(e.maxLength)&&T(e.minLength)}function Cn(e){return d(e,"String")&&e.type==="string"&&E(e.$id)&&T(e.minLength)&&T(e.maxLength)&&Mi(e.pattern)&&Vi(e.format)}function Ln(e){return d(e,"Symbol")&&e.type==="symbol"&&E(e.$id)}function Dn(e){return d(e,"TemplateLiteral")&&e.type==="string"&&R(e.pattern)&&e.pattern[0]==="^"&&e.pattern[e.pattern.length-1]==="$"}function vn(e){return d(e,"This")&&E(e.$id)&&R(e.$ref)}function kn(e){return O(e)&&K in e}function Kn(e){return d(e,"Tuple")&&e.type==="array"&&E(e.$id)&&Q(e.minItems)&&Q(e.maxItems)&&e.minItems===e.maxItems&&(v(e.items)&&v(e.additionalItems)&&e.minItems===0||D(e.items)&&e.items.every(t=>M(t)))}function Un(e){return d(e,"Undefined")&&e.type==="undefined"&&E(e.$id)}function zi(e){return Or(e)&&e.anyOf.every(t=>gn(t)||xn(t))}function Or(e){return d(e,"Union")&&E(e.$id)&&O(e)&&D(e.anyOf)&&e.anyOf.every(t=>M(t))}function wn(e){return d(e,"Uint8Array")&&e.type==="Uint8Array"&&E(e.$id)&&T(e.minByteLength)&&T(e.maxByteLength)}function Gn(e){return d(e,"Unknown")&&E(e.$id)}function Mn(e){return d(e,"Unsafe")}function Vn(e){return d(e,"Void")&&e.type==="void"&&E(e.$id)}function $n(e){return O(e)&&p in e&&R(e[p])&&!Gi.includes(e[p])}function M(e){return O(e)&&(on(e)||sn(e)||an(e)||pn(e)||cn(e)||un(e)||mn(e)||fn(e)||dn(e)||ln(e)||In(e)||yn(e)||bn(e)||Rt(e)||En(e)||Sn(e)||hn(e)||Rn(e)||Tn(e)||Fn(e)||An(e)||_n(e)||Nn(e)||jn(e)||Pn(e)||Cn(e)||Ln(e)||Dn(e)||vn(e)||Kn(e)||Un(e)||Or(e)||wn(e)||Gn(e)||Mn(e)||Vn(e)||$n(e))}var Er="(true|false)",Tt="(0|[1-9][0-9]*)",Sr="(.*)",Yi="(?!.*)",Hp=`^${Er}$`,Le=`^${Tt}$`,De=`^${Sr}$`,Bn=`^${Yi}$`;function Hn(e,t){return e.includes(t)}function qn(e){return[...new Set(e)]}function Ji(e,t){return e.filter(r=>t.includes(r))}function Zi(e,t){return e.reduce((r,o)=>Ji(r,o),t)}function Wn(e){return e.length===1?e[0]:e.length>1?Zi(e.slice(1),e[0]):[]}function zn(e){let t=[];for(let r of e)t.push(...r);return t}function ve(e){return a({[p]:"Any"},e)}function et(e,t){return a({[p]:"Array",type:"array",items:e},t)}function Yn(e){return a({[p]:"Argument",index:e})}function tt(e,t){return a({[p]:"AsyncIterator",type:"AsyncIterator",items:e},t)}function F(e,t,r){return a({[p]:"Computed",target:e,parameters:t},r)}function Xi(e,t){let{[t]:r,...o}=e;return o}function P(e,t){return t.reduce((r,o)=>Xi(r,o),e)}function y(e){return a({[p]:"Never",not:{}},e)}function b(e){return a({[p]:"MappedResult",properties:e})}function rt(e,t,r){return a({[p]:"Constructor",type:"Constructor",parameters:e,returns:t},r)}function Se(e,t,r){return a({[p]:"Function",type:"Function",parameters:e,returns:t},r)}function Ft(e,t){return a({[p]:"Union",anyOf:e},t)}function Qi(e){return e.some(t=>Y(t))}function Jn(e){return e.map(t=>Y(t)?es(t):t)}function es(e){return P(e,[$])}function ts(e,t){return Qi(e)?q(Ft(Jn(e),t)):Ft(Jn(e),t)}function he(e,t){return e.length===1?a(e[0],t):e.length===0?y(t):ts(e,t)}function x(e,t){return e.length===0?y(t):e.length===1?a(e[0],t):Ft(e,t)}var Mt=class extends G{};function rs(e){return e.replace(/\\\$/g,"$").replace(/\\\*/g,"*").replace(/\\\^/g,"^").replace(/\\\|/g,"|").replace(/\\\(/g,"(").replace(/\\\)/g,")")}function hr(e,t,r){return e[t]===r&&e.charCodeAt(t-1)!==92}function je(e,t){return hr(e,t,"(")}function At(e,t){return hr(e,t,")")}function Zn(e,t){return hr(e,t,"|")}function ns(e){if(!(je(e,0)&&At(e,e.length-1)))return!1;let t=0;for(let r=0;r<e.length;r++)if(je(e,r)&&(t+=1),At(e,r)&&(t-=1),t===0&&r!==e.length-1)return!1;return!0}function os(e){return e.slice(1,e.length-1)}function is(e){let t=0;for(let r=0;r<e.length;r++)if(je(e,r)&&(t+=1),At(e,r)&&(t-=1),Zn(e,r)&&t===0)return!0;return!1}function ss(e){for(let t=0;t<e.length;t++)if(je(e,t))return!0;return!1}function as(e){let[t,r]=[0,0],o=[];for(let c=0;c<e.length;c++)if(je(e,c)&&(t+=1),At(e,c)&&(t-=1),Zn(e,c)&&t===0){let m=e.slice(r,c);m.length>0&&o.push(nt(m)),r=c+1}let s=e.slice(r);return s.length>0&&o.push(nt(s)),o.length===0?{type:"const",const:""}:o.length===1?o[0]:{type:"or",expr:o}}function us(e){function t(s,c){if(!je(s,c))throw new Mt("TemplateLiteralParser: Index must point to open parens");let m=0;for(let f=c;f<s.length;f++)if(je(s,f)&&(m+=1),At(s,f)&&(m-=1),m===0)return[c,f];throw new Mt("TemplateLiteralParser: Unclosed group parens in expression")}function r(s,c){for(let m=c;m<s.length;m++)if(je(s,m))return[c,m];return[c,s.length]}let o=[];for(let s=0;s<e.length;s++)if(je(e,s)){let[c,m]=t(e,s),f=e.slice(c,m+1);o.push(nt(f)),s=m}else{let[c,m]=r(e,s),f=e.slice(c,m);f.length>0&&o.push(nt(f)),s=m-1}return o.length===0?{type:"const",const:""}:o.length===1?o[0]:{type:"and",expr:o}}function nt(e){return ns(e)?nt(os(e)):is(e)?as(e):ss(e)?us(e):{type:"const",const:rs(e)}}function ot(e){return nt(e.slice(1,e.length-1))}var Rr=class extends G{};function cs(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="0"&&e.expr[1].type==="const"&&e.expr[1].const==="[1-9][0-9]*"}function ps(e){return e.type==="or"&&e.expr.length===2&&e.expr[0].type==="const"&&e.expr[0].const==="true"&&e.expr[1].type==="const"&&e.expr[1].const==="false"}function ms(e){return e.type==="const"&&e.const===".*"}function ze(e){return cs(e)||ms(e)?!1:ps(e)?!0:e.type==="and"?e.expr.every(t=>ze(t)):e.type==="or"?e.expr.every(t=>ze(t)):e.type==="const"?!0:(()=>{throw new Rr("Unknown expression type")})()}function Xn(e){let t=ot(e.pattern);return ze(t)}var Tr=class extends G{};function*Qn(e){if(e.length===1)return yield*e[0];for(let t of e[0])for(let r of Qn(e.slice(1)))yield`${t}${r}`}function*fs(e){return yield*Qn(e.expr.map(t=>[..._t(t)]))}function*ds(e){for(let t of e.expr)yield*_t(t)}function*ls(e){return yield e.const}function*_t(e){return e.type==="and"?yield*fs(e):e.type==="or"?yield*ds(e):e.type==="const"?yield*ls(e):(()=>{throw new Tr("Unknown expression")})()}function Vt(e){let t=ot(e.pattern);return ze(t)?[..._t(t)]:[]}function g(e,t){return a({[p]:"Literal",const:e,type:typeof e},t)}function $t(e){return a({[p]:"Boolean",type:"boolean"},e)}function it(e){return a({[p]:"BigInt",type:"bigint"},e)}function ae(e){return a({[p]:"Number",type:"number"},e)}function xe(e){return a({[p]:"String",type:"string"},e)}function*Is(e){let t=e.trim().replace(/"|'/g,"");return t==="boolean"?yield $t():t==="number"?yield ae():t==="bigint"?yield it():t==="string"?yield xe():yield(()=>{let r=t.split("|").map(o=>g(o.trim()));return r.length===0?y():r.length===1?r[0]:he(r)})()}function*ys(e){if(e[1]!=="{"){let t=g("$"),r=Fr(e.slice(1));return yield*[t,...r]}for(let t=2;t<e.length;t++)if(e[t]==="}"){let r=Is(e.slice(2,t)),o=Fr(e.slice(t+1));return yield*[...r,...o]}yield g(e)}function*Fr(e){for(let t=0;t<e.length;t++)if(e[t]==="$"){let r=g(e.slice(0,t)),o=ys(e.slice(t));return yield*[r,...o]}yield g(e)}function eo(e){return[...Fr(e)]}var Ar=class extends G{};function bs(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function to(e,t){return re(e)?e.pattern.slice(1,e.pattern.length-1):I(e)?`(${e.anyOf.map(r=>to(r,t)).join("|")})`:ge(e)?`${t}${Tt}`:be(e)?`${t}${Tt}`:Be(e)?`${t}${Tt}`:_e(e)?`${t}${Sr}`:ee(e)?`${t}${bs(e.const.toString())}`:Ae(e)?`${t}${Er}`:(()=>{throw new Ar(`Unexpected Kind '${e[p]}'`)})()}function _r(e){return`^${e.map(t=>to(t,"")).join("")}$`}function Ye(e){let r=Vt(e).map(o=>g(o));return he(r)}function Bt(e,t){let r=R(e)?_r(eo(e)):_r(e);return a({[p]:"TemplateLiteral",type:"string",pattern:r},t)}function gs(e){return Vt(e).map(r=>r.toString())}function xs(e){let t=[];for(let r of e)t.push(...J(r));return t}function Os(e){return[e.toString()]}function J(e){return[...new Set(re(e)?gs(e):I(e)?xs(e.anyOf):ee(e)?Os(e.const):ge(e)?["[number]"]:be(e)?["[number]"]:[])]}function Es(e,t,r){let o={};for(let s of Object.getOwnPropertyNames(t))o[s]=ke(e,J(t[s]),r);return o}function Ss(e,t,r){return Es(e,t.properties,r)}function ro(e,t,r){let o=Ss(e,t,r);return b(o)}function oo(e,t){return e.map(r=>io(r,t))}function hs(e){return e.filter(t=>!Pe(t))}function Rs(e,t){return Ht(hs(oo(e,t)))}function Ts(e){return e.some(t=>Pe(t))?[]:e}function Fs(e,t){return he(Ts(oo(e,t)))}function As(e,t){return t in e?e[t]:t==="[number]"?he(e):y()}function _s(e,t){return t==="[number]"?e:y()}function Ns(e,t){return t in e?e[t]:y()}function io(e,t){return j(e)?Rs(e.allOf,t):I(e)?Fs(e.anyOf,t):ne(e)?As(e.items??[],t):de(e)?_s(e.items,t):k(e)?Ns(e.properties,t):y()}function Nr(e,t){return t.map(r=>io(e,r))}function no(e,t){return he(Nr(e,t))}function ke(e,t,r){if(C(e)||C(t)){let o="Index types using Ref parameters require both Type and Key to be of TSchema";if(!oe(e)||!oe(t))throw new G(o);return F("Index",[e,t])}return _(t)?ro(e,t,r):te(t)?so(e,t,r):a(oe(t)?no(e,J(t)):no(e,t),r)}function js(e,t,r){return{[t]:ke(e,[t],A(r))}}function Ps(e,t,r){return t.reduce((o,s)=>({...o,...js(e,s,r)}),{})}function Cs(e,t,r){return Ps(e,t.keys,r)}function so(e,t,r){let o=Cs(e,t,r);return b(o)}function st(e,t){return a({[p]:"Iterator",type:"Iterator",items:e},t)}function Ls(e){return globalThis.Object.keys(e).filter(t=>!Y(e[t]))}function Ds(e,t){let r=Ls(e),o=r.length>0?{[p]:"Object",type:"object",required:r,properties:e}:{[p]:"Object",type:"object",properties:e};return a(o,t)}var S=Ds;function qt(e,t){return a({[p]:"Promise",type:"Promise",item:e},t)}function vs(e){return a(P(e,[fe]))}function ks(e){return a({...e,[fe]:"Readonly"})}function Ks(e,t){return t===!1?vs(e):ks(e)}function Z(e,t){let r=t??!0;return _(e)?ao(e,r):Ks(e,r)}function Us(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=Z(e[o],t);return r}function ws(e,t){return Us(e.properties,t)}function ao(e,t){let r=ws(e,t);return b(r)}function ue(e,t){return a(e.length>0?{[p]:"Tuple",type:"array",items:e,additionalItems:!1,minItems:e.length,maxItems:e.length}:{[p]:"Tuple",type:"array",minItems:e.length,maxItems:e.length},t)}function uo(e,t){return e in t?ce(e,t[e]):b(t)}function Gs(e){return{[e]:g(e)}}function Ms(e){let t={};for(let r of e)t[r]=g(r);return t}function Vs(e,t){return Hn(t,e)?Gs(e):Ms(t)}function $s(e,t){let r=Vs(e,t);return uo(e,r)}function Nt(e,t){return t.map(r=>ce(e,r))}function Bs(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(t))r[o]=ce(e,t[o]);return r}function ce(e,t){let r={...t};return Y(t)?q(ce(e,P(t,[$]))):Qe(t)?Z(ce(e,P(t,[fe]))):_(t)?uo(e,t.properties):te(t)?$s(e,t.keys):Ie(t)?rt(Nt(e,t.parameters),ce(e,t.returns),r):ye(t)?Se(Nt(e,t.parameters),ce(e,t.returns),r):$e(t)?tt(ce(e,t.items),r):He(t)?st(ce(e,t.items),r):j(t)?W(Nt(e,t.allOf),r):I(t)?x(Nt(e,t.anyOf),r):ne(t)?ue(Nt(e,t.items??[]),r):k(t)?S(Bs(e,t.properties),r):de(t)?et(ce(e,t.items),r):qe(t)?qt(ce(e,t.item),r):t}function Hs(e,t){let r={};for(let o of e)r[o]=ce(o,t);return r}function co(e,t,r){let o=oe(e)?J(e):e,s=t({[p]:"MappedKey",keys:o}),c=Hs(o,s);return S(c,r)}function qs(e){return a(P(e,[$]))}function Ws(e){return a({...e,[$]:"Optional"})}function zs(e,t){return t===!1?qs(e):Ws(e)}function q(e,t){let r=t??!0;return _(e)?po(e,r):zs(e,r)}function Ys(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=q(e[o],t);return r}function Js(e,t){return Ys(e.properties,t)}function po(e,t){let r=Js(e,t);return b(r)}function jt(e,t={}){let r=e.every(s=>k(s)),o=oe(t.unevaluatedProperties)?{unevaluatedProperties:t.unevaluatedProperties}:{};return a(t.unevaluatedProperties===!1||oe(t.unevaluatedProperties)||r?{...o,[p]:"Intersect",type:"object",allOf:e}:{...o,[p]:"Intersect",allOf:e},t)}function Zs(e){return e.every(t=>Y(t))}function Xs(e){return P(e,[$])}function mo(e){return e.map(t=>Y(t)?Xs(t):t)}function Qs(e,t){return Zs(e)?q(jt(mo(e),t)):jt(mo(e),t)}function Ht(e,t={}){if(e.length===1)return a(e[0],t);if(e.length===0)return y(t);if(e.some(r=>Ce(r)))throw new Error("Cannot intersect transform types");return Qs(e,t)}function W(e,t){if(e.length===1)return a(e[0],t);if(e.length===0)return y(t);if(e.some(r=>Ce(r)))throw new Error("Cannot intersect transform types");return jt(e,t)}function Re(...e){let[t,r]=typeof e[0]=="string"?[e[0],e[1]]:[e[0].$id,e[1]];if(typeof t!="string")throw new G("Ref: $ref must be a string");return a({[p]:"Ref",$ref:t},r)}function ea(e,t){return F("Awaited",[F(e,t)])}function ta(e){return F("Awaited",[Re(e)])}function ra(e){return W(fo(e))}function na(e){return x(fo(e))}function oa(e){return at(e)}function fo(e){return e.map(t=>at(t))}function at(e,t){return a(le(e)?ea(e.target,e.parameters):j(e)?ra(e.allOf):I(e)?na(e.anyOf):qe(e)?oa(e.item):C(e)?ta(e.$ref):e,t)}function lo(e){let t=[];for(let r of e)t.push(Pt(r));return t}function ia(e){let t=lo(e);return zn(t)}function sa(e){let t=lo(e);return Wn(t)}function aa(e){return e.map((t,r)=>r.toString())}function ua(e){return["[number]"]}function ca(e){return globalThis.Object.getOwnPropertyNames(e)}function pa(e){return ma?globalThis.Object.getOwnPropertyNames(e).map(r=>r[0]==="^"&&r[r.length-1]==="$"?r.slice(1,r.length-1):r):[]}function Pt(e){return j(e)?ia(e.allOf):I(e)?sa(e.anyOf):ne(e)?aa(e.items??[]):de(e)?ua(e.items):k(e)?ca(e.properties):We(e)?pa(e.patternProperties):[]}var ma=!1;function fa(e,t){return F("KeyOf",[F(e,t)])}function da(e){return F("KeyOf",[Re(e)])}function la(e,t){let r=Pt(e),o=Ia(r),s=he(o);return a(s,t)}function Ia(e){return e.map(t=>t==="[number]"?ae():g(t))}function ut(e,t){return le(e)?fa(e.target,e.parameters):C(e)?da(e.$ref):_(e)?Io(e,t):la(e,t)}function ya(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=ut(e[o],A(t));return r}function ba(e,t){return ya(e.properties,t)}function Io(e,t){let r=ba(e,t);return b(r)}function ga(e){let t=[];for(let r of e)t.push(...Pt(r));return qn(t)}function xa(e){return e.filter(t=>!Pe(t))}function Oa(e,t){let r=[];for(let o of e)r.push(...Nr(o,[t]));return xa(r)}function Ea(e,t){let r={};for(let o of t)r[o]=Ht(Oa(e,o));return r}function yo(e,t){let r=ga(e),o=Ea(e,r);return S(o,t)}function Wt(e){return a({[p]:"Date",type:"Date"},e)}function zt(e){return a({[p]:"Null",type:"null"},e)}function Yt(e){return a({[p]:"Symbol",type:"symbol"},e)}function Jt(e){return a({[p]:"Undefined",type:"undefined"},e)}function Zt(e){return a({[p]:"Uint8Array",type:"Uint8Array"},e)}function Ke(e){return a({[p]:"Unknown"},e)}function Sa(e){return e.map(t=>jr(t,!1))}function ha(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=Z(jr(e[r],!1));return t}function Xt(e,t){return t===!0?e:Z(e)}function jr(e,t){return cr(e)?Xt(ve(),t):mr(e)?Xt(ve(),t):D(e)?Z(ue(Sa(e))):Fe(e)?Zt():Ve(e)?Wt():O(e)?Xt(S(ha(e)),t):pr(e)?Xt(Se([],Ke()),t):v(e)?Jt():fr(e)?zt():dr(e)?Yt():bt(e)?it():Q(e)?g(e):Te(e)?g(e):R(e)?g(e):S({})}function bo(e,t){return a(jr(e,!0),t)}function go(e,t){return Ie(e)?ue(e.parameters,t):y(t)}function xo(e,t){if(v(e))throw new Error("Enum undefined or empty");let r=globalThis.Object.getOwnPropertyNames(e).filter(c=>isNaN(c)).map(c=>e[c]),s=[...new Set(r)].map(c=>g(c));return x(s,{...t,[se]:"Enum"})}var Cr=class extends G{},u;(function(e){e[e.Union=0]="Union",e[e.True=1]="True",e[e.False=2]="False"})(u||(u={}));function pe(e){return e===u.False?e:u.True}function ct(e){throw new Cr(e)}function U(e){return i.IsNever(e)||i.IsIntersect(e)||i.IsUnion(e)||i.IsUnknown(e)||i.IsAny(e)}function w(e,t){return i.IsNever(t)?Fo(e,t):i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsUnknown(t)?jo(e,t):i.IsAny(t)?vr(e,t):ct("StructuralRight")}function vr(e,t){return u.True}function Ra(e,t){return i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)&&t.anyOf.some(r=>i.IsAny(r)||i.IsUnknown(r))?u.True:i.IsUnion(t)?u.Union:i.IsUnknown(t)||i.IsAny(t)?u.True:u.Union}function Ta(e,t){return i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:i.IsNever(e)?u.True:u.False}function Fa(e,t){return i.IsObject(t)&&er(t)?u.True:U(t)?w(e,t):i.IsArray(t)?pe(h(e.items,t.items)):u.False}function Aa(e,t){return U(t)?w(e,t):i.IsAsyncIterator(t)?pe(h(e.items,t.items)):u.False}function _a(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsBigInt(t)?u.True:u.False}function Ro(e,t){return i.IsLiteralBoolean(e)||i.IsBoolean(e)?u.True:u.False}function Na(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsBoolean(t)?u.True:u.False}function ja(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsConstructor(t)?e.parameters.length>t.parameters.length?u.False:e.parameters.every((r,o)=>pe(h(t.parameters[o],r))===u.True)?pe(h(e.returns,t.returns)):u.False:u.False}function Pa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsDate(t)?u.True:u.False}function Ca(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsFunction(t)?e.parameters.length>t.parameters.length?u.False:e.parameters.every((r,o)=>pe(h(t.parameters[o],r))===u.True)?pe(h(e.returns,t.returns)):u.False:u.False}function To(e,t){return i.IsLiteral(e)&&H.IsNumber(e.const)||i.IsNumber(e)||i.IsInteger(e)?u.True:u.False}function La(e,t){return i.IsInteger(t)||i.IsNumber(t)?u.True:U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):u.False}function Qt(e,t){return t.allOf.every(r=>h(e,r)===u.True)?u.True:u.False}function Da(e,t){return e.allOf.some(r=>h(r,t)===u.True)?u.True:u.False}function va(e,t){return U(t)?w(e,t):i.IsIterator(t)?pe(h(e.items,t.items)):u.False}function ka(e,t){return i.IsLiteral(t)&&t.const===e.const?u.True:U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsString(t)?No(e,t):i.IsNumber(t)?Ao(e,t):i.IsInteger(t)?To(e,t):i.IsBoolean(t)?Ro(e,t):u.False}function Fo(e,t){return u.False}function Ka(e,t){return u.True}function Oo(e){let[t,r]=[e,0];for(;i.IsNot(t);)t=t.not,r+=1;return r%2===0?t:Ke()}function Ua(e,t){return i.IsNot(e)?h(Oo(e),t):i.IsNot(t)?h(e,Oo(t)):ct("Invalid fallthrough for Not")}function wa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsNull(t)?u.True:u.False}function Ao(e,t){return i.IsLiteralNumber(e)||i.IsNumber(e)||i.IsInteger(e)?u.True:u.False}function Ga(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsInteger(t)||i.IsNumber(t)?u.True:u.False}function X(e,t){return Object.getOwnPropertyNames(e.properties).length===t}function Eo(e){return er(e)}function So(e){return X(e,0)||X(e,1)&&"description"in e.properties&&i.IsUnion(e.properties.description)&&e.properties.description.anyOf.length===2&&(i.IsString(e.properties.description.anyOf[0])&&i.IsUndefined(e.properties.description.anyOf[1])||i.IsString(e.properties.description.anyOf[1])&&i.IsUndefined(e.properties.description.anyOf[0]))}function Pr(e){return X(e,0)}function ho(e){return X(e,0)}function Ma(e){return X(e,0)}function Va(e){return X(e,0)}function $a(e){return er(e)}function Ba(e){let t=ae();return X(e,0)||X(e,1)&&"length"in e.properties&&pe(h(e.properties.length,t))===u.True}function Ha(e){return X(e,0)}function er(e){let t=ae();return X(e,0)||X(e,1)&&"length"in e.properties&&pe(h(e.properties.length,t))===u.True}function qa(e){let t=Se([ve()],ve());return X(e,0)||X(e,1)&&"then"in e.properties&&pe(h(e.properties.then,t))===u.True}function _o(e,t){return h(e,t)===u.False||i.IsOptional(e)&&!i.IsOptional(t)?u.False:u.True}function z(e,t){return i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:i.IsNever(e)||i.IsLiteralString(e)&&Eo(t)||i.IsLiteralNumber(e)&&Pr(t)||i.IsLiteralBoolean(e)&&ho(t)||i.IsSymbol(e)&&So(t)||i.IsBigInt(e)&&Ma(t)||i.IsString(e)&&Eo(t)||i.IsSymbol(e)&&So(t)||i.IsNumber(e)&&Pr(t)||i.IsInteger(e)&&Pr(t)||i.IsBoolean(e)&&ho(t)||i.IsUint8Array(e)&&$a(t)||i.IsDate(e)&&Va(t)||i.IsConstructor(e)&&Ha(t)||i.IsFunction(e)&&Ba(t)?u.True:i.IsRecord(e)&&i.IsString(Lr(e))?t[se]==="Record"?u.True:u.False:i.IsRecord(e)&&i.IsNumber(Lr(e))&&X(t,0)?u.True:u.False}function Wa(e,t){return U(t)?w(e,t):i.IsRecord(t)?me(e,t):i.IsObject(t)?(()=>{for(let r of Object.getOwnPropertyNames(t.properties)){if(!(r in e.properties)&&!i.IsOptional(t.properties[r]))return u.False;if(i.IsOptional(t.properties[r]))return u.True;if(_o(e.properties[r],t.properties[r])===u.False)return u.False}return u.True})():u.False}function za(e,t){return U(t)?w(e,t):i.IsObject(t)&&qa(t)?u.True:i.IsPromise(t)?pe(h(e.item,t.item)):u.False}function Lr(e){return Le in e.patternProperties?ae():De in e.patternProperties?xe():ct("Unknown record key pattern")}function Dr(e){return Le in e.patternProperties?e.patternProperties[Le]:De in e.patternProperties?e.patternProperties[De]:ct("Unable to get record value schema")}function me(e,t){let[r,o]=[Lr(t),Dr(t)];return i.IsLiteralString(e)&&i.IsNumber(r)&&pe(h(e,o))===u.True?u.True:i.IsUint8Array(e)&&i.IsNumber(r)||i.IsString(e)&&i.IsNumber(r)||i.IsArray(e)&&i.IsNumber(r)?h(e,o):i.IsObject(e)?(()=>{for(let s of Object.getOwnPropertyNames(e.properties))if(_o(o,e.properties[s])===u.False)return u.False;return u.True})():u.False}function Ya(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?h(Dr(e),Dr(t)):u.False}function Ja(e,t){let r=i.IsRegExp(e)?xe():e,o=i.IsRegExp(t)?xe():t;return h(r,o)}function No(e,t){return i.IsLiteral(e)&&H.IsString(e.const)||i.IsString(e)?u.True:u.False}function Za(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsString(t)?u.True:u.False}function Xa(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsSymbol(t)?u.True:u.False}function Qa(e,t){return i.IsTemplateLiteral(e)?h(Ye(e),t):i.IsTemplateLiteral(t)?h(e,Ye(t)):ct("Invalid fallthrough for TemplateLiteral")}function eu(e,t){return i.IsArray(t)&&e.items!==void 0&&e.items.every(r=>h(r,t.items)===u.True)}function tu(e,t){return i.IsNever(e)?u.True:i.IsUnknown(e)?u.False:i.IsAny(e)?u.Union:u.False}function ru(e,t){return U(t)?w(e,t):i.IsObject(t)&&er(t)||i.IsArray(t)&&eu(e,t)?u.True:i.IsTuple(t)?H.IsUndefined(e.items)&&!H.IsUndefined(t.items)||!H.IsUndefined(e.items)&&H.IsUndefined(t.items)?u.False:H.IsUndefined(e.items)&&!H.IsUndefined(t.items)||e.items.every((r,o)=>h(r,t.items[o])===u.True)?u.True:u.False:u.False}function nu(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsUint8Array(t)?u.True:u.False}function ou(e,t){return U(t)?w(e,t):i.IsObject(t)?z(e,t):i.IsRecord(t)?me(e,t):i.IsVoid(t)?au(e,t):i.IsUndefined(t)?u.True:u.False}function kr(e,t){return t.anyOf.some(r=>h(e,r)===u.True)?u.True:u.False}function iu(e,t){return e.anyOf.every(r=>h(r,t)===u.True)?u.True:u.False}function jo(e,t){return u.True}function su(e,t){return i.IsNever(t)?Fo(e,t):i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsAny(t)?vr(e,t):i.IsString(t)?No(e,t):i.IsNumber(t)?Ao(e,t):i.IsInteger(t)?To(e,t):i.IsBoolean(t)?Ro(e,t):i.IsArray(t)?Ta(e,t):i.IsTuple(t)?tu(e,t):i.IsObject(t)?z(e,t):i.IsUnknown(t)?u.True:u.False}function au(e,t){return i.IsUndefined(e)||i.IsUndefined(e)?u.True:u.False}function uu(e,t){return i.IsIntersect(t)?Qt(e,t):i.IsUnion(t)?kr(e,t):i.IsUnknown(t)?jo(e,t):i.IsAny(t)?vr(e,t):i.IsObject(t)?z(e,t):i.IsVoid(t)?u.True:u.False}function h(e,t){return i.IsTemplateLiteral(e)||i.IsTemplateLiteral(t)?Qa(e,t):i.IsRegExp(e)||i.IsRegExp(t)?Ja(e,t):i.IsNot(e)||i.IsNot(t)?Ua(e,t):i.IsAny(e)?Ra(e,t):i.IsArray(e)?Fa(e,t):i.IsBigInt(e)?_a(e,t):i.IsBoolean(e)?Na(e,t):i.IsAsyncIterator(e)?Aa(e,t):i.IsConstructor(e)?ja(e,t):i.IsDate(e)?Pa(e,t):i.IsFunction(e)?Ca(e,t):i.IsInteger(e)?La(e,t):i.IsIntersect(e)?Da(e,t):i.IsIterator(e)?va(e,t):i.IsLiteral(e)?ka(e,t):i.IsNever(e)?Ka(e,t):i.IsNull(e)?wa(e,t):i.IsNumber(e)?Ga(e,t):i.IsObject(e)?Wa(e,t):i.IsRecord(e)?Ya(e,t):i.IsString(e)?Za(e,t):i.IsSymbol(e)?Xa(e,t):i.IsTuple(e)?ru(e,t):i.IsPromise(e)?za(e,t):i.IsUint8Array(e)?nu(e,t):i.IsUndefined(e)?ou(e,t):i.IsUnion(e)?iu(e,t):i.IsUnknown(e)?su(e,t):i.IsVoid(e)?uu(e,t):ct(`Unknown left type operand '${e[p]}'`)}function Ue(e,t){return h(e,t)}function cu(e,t,r,o,s){let c={};for(let m of globalThis.Object.getOwnPropertyNames(e))c[m]=pt(e[m],t,r,o,A(s));return c}function pu(e,t,r,o,s){return cu(e.properties,t,r,o,s)}function Po(e,t,r,o,s){let c=pu(e,t,r,o,s);return b(c)}function mu(e,t,r,o){let s=Ue(e,t);return s===u.Union?x([r,o]):s===u.True?r:o}function pt(e,t,r,o,s){return _(e)?Po(e,t,r,o,s):te(e)?a(Co(e,t,r,o,s)):a(mu(e,t,r,o),s)}function fu(e,t,r,o,s){return{[e]:pt(g(e),t,r,o,A(s))}}function du(e,t,r,o,s){return e.reduce((c,m)=>({...c,...fu(m,t,r,o,s)}),{})}function lu(e,t,r,o,s){return du(e.keys,t,r,o,s)}function Co(e,t,r,o,s){let c=lu(e,t,r,o,s);return b(c)}function Lo(e,t){return mt(Ye(e),t)}function Iu(e,t){let r=e.filter(o=>Ue(o,t)===u.False);return r.length===1?r[0]:x(r)}function mt(e,t,r={}){return re(e)?a(Lo(e,t),r):_(e)?a(Do(e,t),r):a(I(e)?Iu(e.anyOf,t):Ue(e,t)!==u.False?y():e,r)}function yu(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=mt(e[o],t);return r}function bu(e,t){return yu(e.properties,t)}function Do(e,t){let r=bu(e,t);return b(r)}function vo(e,t){return ft(Ye(e),t)}function gu(e,t){let r=e.filter(o=>Ue(o,t)!==u.False);return r.length===1?r[0]:x(r)}function ft(e,t,r){return re(e)?a(vo(e,t),r):_(e)?a(ko(e,t),r):a(I(e)?gu(e.anyOf,t):Ue(e,t)!==u.False?e:y(),r)}function xu(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=ft(e[o],t);return r}function Ou(e,t){return xu(e.properties,t)}function ko(e,t){let r=Ou(e,t);return b(r)}function Ko(e,t){return Ie(e)?a(e.returns,t):y(t)}function tr(e){return Z(q(e))}function Je(e,t,r){return a({[p]:"Record",type:"object",patternProperties:{[e]:t}},r)}function Kr(e,t,r){let o={};for(let s of e)o[s]=t;return S(o,{...r,[se]:"Record"})}function Eu(e,t,r){return Xn(e)?Kr(J(e),t,r):Je(e.pattern,t,r)}function Su(e,t,r){return Kr(J(x(e)),t,r)}function hu(e,t,r){return Kr([e.toString()],t,r)}function Ru(e,t,r){return Je(e.source,t,r)}function Tu(e,t,r){let o=v(e.pattern)?De:e.pattern;return Je(o,t,r)}function Fu(e,t,r){return Je(De,t,r)}function Au(e,t,r){return Je(Bn,t,r)}function _u(e,t,r){return S({true:t,false:t},r)}function Nu(e,t,r){return Je(Le,t,r)}function ju(e,t,r){return Je(Le,t,r)}function rr(e,t,r={}){return I(e)?Su(e.anyOf,t,r):re(e)?Eu(e,t,r):ee(e)?hu(e.const,t,r):Ae(e)?_u(e,t,r):be(e)?Nu(e,t,r):ge(e)?ju(e,t,r):yr(e)?Ru(e,t,r):_e(e)?Tu(e,t,r):lr(e)?Fu(e,t,r):Pe(e)?Au(e,t,r):y(r)}function nr(e){return globalThis.Object.getOwnPropertyNames(e.patternProperties)[0]}function Uo(e){let t=nr(e);return t===De?xe():t===Le?ae():xe({pattern:t})}function or(e){return e.patternProperties[nr(e)]}function Pu(e,t){return t.parameters=Ct(e,t.parameters),t.returns=Oe(e,t.returns),t}function Cu(e,t){return t.parameters=Ct(e,t.parameters),t.returns=Oe(e,t.returns),t}function Lu(e,t){return t.allOf=Ct(e,t.allOf),t}function Du(e,t){return t.anyOf=Ct(e,t.anyOf),t}function vu(e,t){return v(t.items)||(t.items=Ct(e,t.items)),t}function ku(e,t){return t.items=Oe(e,t.items),t}function Ku(e,t){return t.items=Oe(e,t.items),t}function Uu(e,t){return t.items=Oe(e,t.items),t}function wu(e,t){return t.item=Oe(e,t.item),t}function Gu(e,t){let r=Bu(e,t.properties);return{...t,...S(r)}}function Mu(e,t){let r=Oe(e,Uo(t)),o=Oe(e,or(t)),s=rr(r,o);return{...t,...s}}function Vu(e,t){return t.index in e?e[t.index]:Ke()}function $u(e,t){let r=Qe(t),o=Y(t),s=Oe(e,t);return r&&o?tr(s):r&&!o?Z(s):!r&&o?q(s):s}function Bu(e,t){return globalThis.Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:$u(e,t[o])}),{})}function Ct(e,t){return t.map(r=>Oe(e,r))}function Oe(e,t){return Ie(t)?Pu(e,t):ye(t)?Cu(e,t):j(t)?Lu(e,t):I(t)?Du(e,t):ne(t)?vu(e,t):de(t)?ku(e,t):$e(t)?Ku(e,t):He(t)?Uu(e,t):qe(t)?wu(e,t):k(t)?Gu(e,t):We(t)?Mu(e,t):Ir(t)?Vu(e,t):t}function wo(e,t){return Oe(t,Xe(e))}function Go(e){return a({[p]:"Integer",type:"integer"},e)}function Hu(e,t,r){return{[e]:Ee(g(e),t,A(r))}}function qu(e,t,r){return e.reduce((s,c)=>({...s,...Hu(c,t,r)}),{})}function Wu(e,t,r){return qu(e.keys,t,r)}function Mo(e,t,r){let o=Wu(e,t,r);return b(o)}function zu(e){let[t,r]=[e.slice(0,1),e.slice(1)];return[t.toLowerCase(),r].join("")}function Yu(e){let[t,r]=[e.slice(0,1),e.slice(1)];return[t.toUpperCase(),r].join("")}function Ju(e){return e.toUpperCase()}function Zu(e){return e.toLowerCase()}function Xu(e,t,r){let o=ot(e.pattern);if(!ze(o))return{...e,pattern:Vo(e.pattern,t)};let m=[..._t(o)].map(V=>g(V)),f=$o(m,t),N=x(f);return Bt([N],r)}function Vo(e,t){return typeof e=="string"?t==="Uncapitalize"?zu(e):t==="Capitalize"?Yu(e):t==="Uppercase"?Ju(e):t==="Lowercase"?Zu(e):e:e.toString()}function $o(e,t){return e.map(r=>Ee(r,t))}function Ee(e,t,r={}){return te(e)?Mo(e,t,r):re(e)?Xu(e,t,r):I(e)?x($o(e.anyOf,t),r):ee(e)?g(Vo(e.const,t),r):a(e,r)}function Bo(e,t={}){return Ee(e,"Capitalize",t)}function Ho(e,t={}){return Ee(e,"Lowercase",t)}function qo(e,t={}){return Ee(e,"Uncapitalize",t)}function Wo(e,t={}){return Ee(e,"Uppercase",t)}function Qu(e,t,r){let o={};for(let s of globalThis.Object.getOwnPropertyNames(e))o[s]=we(e[s],t,A(r));return o}function ec(e,t,r){return Qu(e.properties,t,r)}function zo(e,t,r){let o=ec(e,t,r);return b(o)}function tc(e,t){return e.map(r=>Ur(r,t))}function rc(e,t){return e.map(r=>Ur(r,t))}function nc(e,t){let{[t]:r,...o}=e;return o}function oc(e,t){return t.reduce((r,o)=>nc(r,o),e)}function ic(e,t,r){let o=P(e,[K,"$id","required","properties"]),s=oc(r,t);return S(s,o)}function sc(e){let t=e.reduce((r,o)=>wt(o)?[...r,g(o)]:r,[]);return x(t)}function Ur(e,t){return j(e)?W(tc(e.allOf,t)):I(e)?x(rc(e.anyOf,t)):k(e)?ic(e,t,e.properties):S({})}function we(e,t,r){let o=D(t)?sc(t):t,s=oe(t)?J(t):t,c=C(e),m=C(t);return _(e)?zo(e,s,r):te(t)?Yo(e,t,r):c&&m?F("Omit",[e,o],r):!c&&m?F("Omit",[e,o],r):c&&!m?F("Omit",[e,o],r):a({...Ur(e,s),...r})}function ac(e,t,r){return{[t]:we(e,[t],A(r))}}function uc(e,t,r){return t.reduce((o,s)=>({...o,...ac(e,s,r)}),{})}function cc(e,t,r){return uc(e,t.keys,r)}function Yo(e,t,r){let o=cc(e,t,r);return b(o)}function pc(e,t,r){let o={};for(let s of globalThis.Object.getOwnPropertyNames(e))o[s]=Ge(e[s],t,A(r));return o}function mc(e,t,r){return pc(e.properties,t,r)}function Jo(e,t,r){let o=mc(e,t,r);return b(o)}function fc(e,t){return e.map(r=>wr(r,t))}function dc(e,t){return e.map(r=>wr(r,t))}function lc(e,t){let r={};for(let o of t)o in e&&(r[o]=e[o]);return r}function Ic(e,t,r){let o=P(e,[K,"$id","required","properties"]),s=lc(r,t);return S(s,o)}function yc(e){let t=e.reduce((r,o)=>wt(o)?[...r,g(o)]:r,[]);return x(t)}function wr(e,t){return j(e)?W(fc(e.allOf,t)):I(e)?x(dc(e.anyOf,t)):k(e)?Ic(e,t,e.properties):S({})}function Ge(e,t,r){let o=D(t)?yc(t):t,s=oe(t)?J(t):t,c=C(e),m=C(t);return _(e)?Jo(e,s,r):te(t)?Zo(e,t,r):c&&m?F("Pick",[e,o],r):!c&&m?F("Pick",[e,o],r):c&&!m?F("Pick",[e,o],r):a({...wr(e,s),...r})}function bc(e,t,r){return{[t]:Ge(e,[t],A(r))}}function gc(e,t,r){return t.reduce((o,s)=>({...o,...bc(e,s,r)}),{})}function xc(e,t,r){return gc(e,t.keys,r)}function Zo(e,t,r){let o=xc(e,t,r);return b(o)}function Oc(e,t){return F("Partial",[F(e,t)])}function Ec(e){return F("Partial",[Re(e)])}function Sc(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=q(e[r]);return t}function hc(e,t){let r=P(e,[K,"$id","required","properties"]),o=Sc(t);return S(o,r)}function Xo(e){return e.map(t=>Qo(t))}function Qo(e){return le(e)?Oc(e.target,e.parameters):C(e)?Ec(e.$ref):j(e)?W(Xo(e.allOf)):I(e)?x(Xo(e.anyOf)):k(e)?hc(e,e.properties):Be(e)||Ae(e)||be(e)||ee(e)||Ot(e)||ge(e)||_e(e)||Et(e)||St(e)?e:S({})}function dt(e,t){return _(e)?ei(e,t):a({...Qo(e),...t})}function Rc(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=dt(e[o],A(t));return r}function Tc(e,t){return Rc(e.properties,t)}function ei(e,t){let r=Tc(e,t);return b(r)}function Fc(e,t){return F("Required",[F(e,t)])}function Ac(e){return F("Required",[Re(e)])}function _c(e){let t={};for(let r of globalThis.Object.getOwnPropertyNames(e))t[r]=P(e[r],[$]);return t}function Nc(e,t){let r=P(e,[K,"$id","required","properties"]),o=_c(t);return S(o,r)}function ti(e){return e.map(t=>ri(t))}function ri(e){return le(e)?Fc(e.target,e.parameters):C(e)?Ac(e.$ref):j(e)?W(ti(e.allOf)):I(e)?x(ti(e.anyOf)):k(e)?Nc(e,e.properties):Be(e)||Ae(e)||be(e)||ee(e)||Ot(e)||ge(e)||_e(e)||Et(e)||St(e)?e:S({})}function lt(e,t){return _(e)?ni(e,t):a({...ri(e),...t})}function jc(e,t){let r={};for(let o of globalThis.Object.getOwnPropertyNames(e))r[o]=lt(e[o],t);return r}function Pc(e,t){return jc(e.properties,t)}function ni(e,t){let r=Pc(e,t);return b(r)}function Cc(e,t){return t.map(r=>C(r)?Gr(e,r.$ref):ie(e,r))}function Gr(e,t){return t in e?C(e[t])?Gr(e,e[t].$ref):ie(e,e[t]):y()}function Lc(e){return at(e[0])}function Dc(e){return ke(e[0],e[1])}function vc(e){return ut(e[0])}function kc(e){return dt(e[0])}function Kc(e){return we(e[0],e[1])}function Uc(e){return Ge(e[0],e[1])}function wc(e){return lt(e[0])}function Gc(e,t,r){let o=Cc(e,r);return t==="Awaited"?Lc(o):t==="Index"?Dc(o):t==="KeyOf"?vc(o):t==="Partial"?kc(o):t==="Omit"?Kc(o):t==="Pick"?Uc(o):t==="Required"?wc(o):y()}function Mc(e,t){return et(ie(e,t))}function Vc(e,t){return tt(ie(e,t))}function $c(e,t,r){return rt(Lt(e,t),ie(e,r))}function Bc(e,t,r){return Se(Lt(e,t),ie(e,r))}function Hc(e,t){return W(Lt(e,t))}function qc(e,t){return st(ie(e,t))}function Wc(e,t){return S(globalThis.Object.keys(t).reduce((r,o)=>({...r,[o]:ie(e,t[o])}),{}))}function zc(e,t){let[r,o]=[ie(e,or(t)),nr(t)],s=Xe(t);return s.patternProperties[o]=r,s}function Yc(e,t){return C(t)?{...Gr(e,t.$ref),[K]:t[K]}:t}function Jc(e,t){return ue(Lt(e,t))}function Zc(e,t){return x(Lt(e,t))}function Lt(e,t){return t.map(r=>ie(e,r))}function ie(e,t){return Y(t)?a(ie(e,P(t,[$])),t):Qe(t)?a(ie(e,P(t,[fe])),t):Ce(t)?a(Yc(e,t),t):de(t)?a(Mc(e,t.items),t):$e(t)?a(Vc(e,t.items),t):le(t)?a(Gc(e,t.target,t.parameters)):Ie(t)?a($c(e,t.parameters,t.returns),t):ye(t)?a(Bc(e,t.parameters,t.returns),t):j(t)?a(Hc(e,t.allOf),t):He(t)?a(qc(e,t.items),t):k(t)?a(Wc(e,t.properties),t):We(t)?a(zc(e,t)):ne(t)?a(Jc(e,t.items||[]),t):I(t)?a(Zc(e,t.anyOf),t):t}function Xc(e,t){return t in e?ie(e,e[t]):y()}function oi(e){return globalThis.Object.getOwnPropertyNames(e).reduce((t,r)=>({...t,[r]:Xc(e,r)}),{})}var Mr=class{constructor(t){let r=oi(t),o=this.WithIdentifiers(r);this.$defs=o}Import(t,r){let o={...this.$defs,[t]:a(this.$defs[t],r)};return a({[p]:"Import",$defs:o,$ref:t})}WithIdentifiers(t){return globalThis.Object.getOwnPropertyNames(t).reduce((r,o)=>({...r,[o]:{...t[o],$id:o}}),{})}};function ii(e){return new Mr(e)}function si(e,t){return a({[p]:"Not",not:e},t)}function ai(e,t){return ye(e)?ue(e.parameters,t):y()}var Qc=0;function ui(e,t={}){v(t.$id)&&(t.$id=`T${Qc++}`);let r=Xe(e({[p]:"This",$ref:`${t.$id}`}));return r.$id=t.$id,a({[se]:"Recursive",...r},t)}function ci(e,t){let r=R(e)?new globalThis.RegExp(e):e;return a({[p]:"RegExp",type:"RegExp",source:r.source,flags:r.flags},t)}function ep(e){return j(e)?e.allOf:I(e)?e.anyOf:ne(e)?e.items??[]:[]}function pi(e){return ep(e)}function mi(e,t){return ye(e)?a(e.returns,t):y(t)}var Vr=class{constructor(t){this.schema=t}Decode(t){return new $r(this.schema,t)}},$r=class{constructor(t,r){this.schema=t,this.decode=r}EncodeTransform(t,r){let c={Encode:m=>r[K].Encode(t(m)),Decode:m=>this.decode(r[K].Decode(m))};return{...r,[K]:c}}EncodeSchema(t,r){let o={Decode:this.decode,Encode:t};return{...r,[K]:o}}Encode(t){return Ce(this.schema)?this.EncodeTransform(t,this.schema):this.EncodeSchema(t,this.schema)}};function fi(e){return new Vr(e)}function di(e={}){return a({[p]:e[p]??"Unsafe"},e)}function li(e){return a({[p]:"Void",type:"void"},e)}var Br={};ar(Br,{Any:()=>ve,Argument:()=>Yn,Array:()=>et,AsyncIterator:()=>tt,Awaited:()=>at,BigInt:()=>it,Boolean:()=>$t,Capitalize:()=>Bo,Composite:()=>yo,Const:()=>bo,Constructor:()=>rt,ConstructorParameters:()=>go,Date:()=>Wt,Enum:()=>xo,Exclude:()=>mt,Extends:()=>pt,Extract:()=>ft,Function:()=>Se,Index:()=>ke,InstanceType:()=>Ko,Instantiate:()=>wo,Integer:()=>Go,Intersect:()=>W,Iterator:()=>st,KeyOf:()=>ut,Literal:()=>g,Lowercase:()=>Ho,Mapped:()=>co,Module:()=>ii,Never:()=>y,Not:()=>si,Null:()=>zt,Number:()=>ae,Object:()=>S,Omit:()=>we,Optional:()=>q,Parameters:()=>ai,Partial:()=>dt,Pick:()=>Ge,Promise:()=>qt,Readonly:()=>Z,ReadonlyOptional:()=>tr,Record:()=>rr,Recursive:()=>ui,Ref:()=>Re,RegExp:()=>ci,Required:()=>lt,Rest:()=>pi,ReturnType:()=>mi,String:()=>xe,Symbol:()=>Yt,TemplateLiteral:()=>Bt,Transform:()=>fi,Tuple:()=>ue,Uint8Array:()=>Zt,Uncapitalize:()=>qo,Undefined:()=>Jt,Union:()=>x,Unknown:()=>Ke,Unsafe:()=>di,Uppercase:()=>Wo,Void:()=>li});var n=Br;var tp=n.Union([n.Literal("tool_call"),n.Literal("pain_signal"),n.Literal("rule_promotion"),n.Literal("governance_action"),n.Literal("hook_execution"),n.Literal("adaptive_delivery"),n.Literal("gate_block"),n.Literal("gate_bypass"),n.Literal("evolution_task"),n.Literal("empathy_rollback"),n.Literal("error"),n.Literal("warn"),n.Literal("diagnosis_task"),n.Literal("heartbeat_diagnosis"),n.Literal("diagnostician_report"),n.Literal("principle_candidate"),n.Literal("rule_enforced"),n.Literal("rulehost_evaluated"),n.Literal("rulehost_blocked"),n.Literal("rulehost_requireApproval"),n.Literal("rulehost_auto_correct_proposed"),n.Literal("rulehost_auto_correct_applied"),n.Literal("runtime_v2_prompt_activations_injected"),n.Literal("rulehost_unhealthy"),n.Literal("rulehost_skipped"),n.Literal("trajectory_observability_failure")]),rp=n.Union([n.Literal("success"),n.Literal("failure"),n.Literal("detected"),n.Literal("blocked"),n.Literal("bypassed"),n.Literal("approved"),n.Literal("enqueued"),n.Literal("completed"),n.Literal("promoted"),n.Literal("passed"),n.Literal("changed"),n.Literal("rolled_back"),n.Literal("written"),n.Literal("injected"),n.Literal("created"),n.Literal("matched"),n.Literal("evaluated"),n.Literal("requireApproval"),n.Literal("auto_correct")]),aE=n.Object({ts:n.String(),date:n.String(),type:tp,category:rp,sessionId:n.Optional(n.String()),workspaceDir:n.Optional(n.String()),data:n.Record(n.String(),n.Any())}),uE=n.Object({toolName:n.String(),filePath:n.Optional(n.String()),error:n.Optional(n.String()),errorType:n.Optional(n.String()),exitCode:n.Optional(n.Number()),runId:n.Optional(n.String()),toolCallId:n.Optional(n.String())}),cE=n.Object({score:n.Number(),source:n.String(),eventId:n.Optional(n.String()),reason:n.Optional(n.String()),isRisky:n.Optional(n.Boolean()),origin:n.Optional(n.Union([n.Literal("assistant_self_report"),n.Literal("user_manual"),n.Literal("system_infer")])),severity:n.Optional(n.Union([n.Literal("mild"),n.Literal("moderate"),n.Literal("severe")])),confidence:n.Optional(n.Number()),detection_mode:n.Optional(n.Union([n.Literal("structured"),n.Literal("legacy_tag")])),deduped:n.Optional(n.Boolean()),trigger_text_excerpt:n.Optional(n.String()),raw_score:n.Optional(n.Number()),calibrated_score:n.Optional(n.Number())}),pE=n.Object({fingerprint:n.String(),ruleId:n.String(),phrase:n.String(),sampleCount:n.Number(),avgSimilarity:n.Number()}),mE=n.Object({action:n.Union([n.Literal("deactivate"),n.Literal("promote"),n.Literal("global_pause")]),activationId:n.Optional(n.String({minLength:1})),subject:n.Optional(n.Literal("all_live_rulecode")),actor:n.Union([n.Literal("owner"),n.Literal("cli"),n.Literal("session")]),reasonCode:n.String({minLength:1,maxLength:200}),outcome:n.Literal("authorized")}),fE=n.Object({hook:n.String(),sessionId:n.Optional(n.String()),durationMs:n.Optional(n.Number()),error:n.Optional(n.String())}),dE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),blockSource:n.Optional(n.String())}),lE=n.Object({toolName:n.String(),filePath:n.String(),bypassType:n.Union([n.Literal("stage4_architect"),n.Literal("whitelisted")])}),IE=n.Object({taskId:n.String(),taskType:n.String(),reason:n.String()}),yE=n.Object({eventId:n.String(),originalScore:n.Number(),originalSessionId:n.Optional(n.String()),reason:n.String(),triggeredBy:n.Union([n.Literal("user_command"),n.Literal("natural_language"),n.Literal("system")])}),bE=n.Object({taskCount:n.Number(),taskIds:n.Array(n.String()),trigger:n.Union([n.Literal("heartbeat"),n.Literal("immediate")])}),gE=n.Object({taskId:n.String(),painEventId:n.Optional(n.String()),sessionId:n.Optional(n.String())}),xE=n.Object({taskId:n.String(),reportPath:n.String(),category:n.Union([n.Literal("success"),n.Literal("missing_json"),n.Literal("incomplete_fields")])}),OE=n.Object({principleId:n.String(),taskId:n.String(),source:n.Union([n.Literal("diagnostician"),n.Literal("manual")])}),EE=n.Object({ruleId:n.String(),principleId:n.String(),enforcement:n.Union([n.Literal("warn"),n.Literal("block"),n.Literal("requireApproval")]),toolName:n.String(),filePath:n.String()}),SE=n.Object({toolName:n.String(),filePath:n.String(),matched:n.Boolean(),decision:n.Union([n.Literal("allow"),n.Literal("block"),n.Literal("requireApproval"),n.Literal("auto_correct"),n.Literal("no_rules_armed"),n.Literal("evaluation_failed")]),ruleId:n.Optional(n.String()),activationId:n.Optional(n.String()),activationMode:n.Optional(n.Union([n.Literal("shadow"),n.Literal("live")])),hostKind:n.Optional(n.String())});var hE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),ruleId:n.Optional(n.String())}),RE=n.Object({toolName:n.String(),filePath:n.String(),reason:n.String(),ruleId:n.Optional(n.String())}),TE=n.Object({toolName:n.String(),filePath:n.String(),ruleId:n.String(),principleId:n.Optional(n.String()),confidence:n.Number(),reason:n.String(),applicationMode:n.Union([n.Literal("shadow"),n.Literal("live")]),correctedFields:n.Array(n.String()),validationValid:n.Boolean()}),FE=n.Object({toolName:n.String(),filePath:n.String(),ruleId:n.String(),principleId:n.Optional(n.String()),confidence:n.Number(),reason:n.String(),correctedFields:n.Array(n.Object({field:n.String(),original:n.Unknown(),applied:n.Unknown()}))}),AE=n.Object({hookInvocationId:n.Optional(n.String()),sessionId:n.String(),workspaceDir:n.String(),principleIds:n.Array(n.String()),activationIds:n.Array(n.String()),artifactIds:n.Array(n.String()),injectedCount:n.Number(),skippedWarnings:n.Array(n.String()),injectedCharCount:n.Number(),budget:n.Number(),skipReason:n.Optional(n.String()),nextAction:n.Optional(n.String()),legacySelectedCount:n.Optional(n.Number()),legacyTotalChars:n.Optional(n.Number()),legacyTruncated:n.Optional(n.Boolean()),v2Truncated:n.Optional(n.Boolean()),crossBlockDuplicateIds:n.Optional(n.Array(n.String())),runId:n.Optional(n.String()),hostKind:n.Optional(n.Union([n.Literal("openclaw"),n.Literal("codex"),n.Literal("workbuddy")])),eventId:n.Optional(n.String()),selectionPolicy:n.Optional(n.Union([n.Literal("legacy_fifo_prefix_v1"),n.Literal("fair_rotation_v1")])),eligibleCount:n.Optional(n.Number()),rotationStartIndex:n.Optional(n.Number()),selectionRoundOrdinal:n.Optional(n.Number()),selectionRoundSource:n.Optional(n.Literal("session_user_turn_ordinal")),droppedActivationIds:n.Optional(n.Array(n.String(),{maxItems:16})),oversizedActivationIds:n.Optional(n.Array(n.String(),{maxItems:16})),budgetPolicyVersion:n.Optional(n.String()),budgetCapacitySource:n.Optional(n.Union([n.Literal("operator_declared"),n.Literal("host_effective_window"),n.Literal("pi_catalog_exact"),n.Literal("pi_catalog_model_id"),n.Literal("legacy_fallback")])),budgetCapacityStatus:n.Optional(n.Union([n.Literal("confirmed"),n.Literal("unknown")])),budgetContextWindowTokens:n.Optional(n.Number()),budgetFallbackReason:n.Optional(n.Union([n.Literal("host_capacity_absent"),n.Literal("host_capacity_source_untrusted"),n.Literal("host_capacity_invalid_value"),n.Literal("catalog_unavailable"),n.Literal("model_identity_absent"),n.Literal("catalog_no_exact_match"),n.Literal("catalog_no_match_for_model_id"),n.Literal("catalog_ambiguous_model_id"),n.Literal("catalog_provider_absent"),n.Literal("catalog_metadata_invalid")]))}),_E=n.Object({activationId:n.String(),artifactId:n.String(),ruleId:n.String(),reason:n.String(),nextAction:n.String()}),NE=n.Object({activationId:n.String(),artifactId:n.String(),ruleId:n.String(),mode:n.Optional(n.Union([n.Literal("shadow"),n.Literal("live")])),reason:n.String(),nextAction:n.String()}),jE=n.Object({sessionId:n.Optional(n.String()),reason:n.String(),nextAction:n.String()}),np=n.Object({total:n.Number(),success:n.Number(),failure:n.Number(),byTool:n.Record(n.String(),n.Object({success:n.Number(),failure:n.Number()}))}),op=n.Object({total:n.Number(),byType:n.Record(n.String(),n.Number()),byTool:n.Record(n.String(),n.Number())}),ip=n.Object({totalEvents:n.Number(),dedupedCount:n.Number(),dedupeHitRate:n.Number(),totalPenaltyScore:n.Number(),rolledBackScore:n.Number(),rollbackCount:n.Number(),bySeverity:n.Object({mild:n.Number(),moderate:n.Number(),severe:n.Number()}),scoreBySeverity:n.Object({mild:n.Number(),moderate:n.Number(),severe:n.Number()}),byDetectionMode:n.Object({structured:n.Number(),legacy_tag:n.Number()}),byOrigin:n.Object({assistant_self_report:n.Number(),user_manual:n.Number(),system_infer:n.Number()}),confidenceDistribution:n.Object({high:n.Number(),medium:n.Number(),low:n.Number()}),dailyTrend:n.Array(n.Object({date:n.String(),count:n.Number(),score:n.Number()}))}),sp=n.Object({tasksEnqueued:n.Number(),tasksCompleted:n.Number(),rulesPromoted:n.Number(),diagnosisTasksWritten:n.Number(),heartbeatsInjected:n.Number(),diagnosticianReportsWritten:n.Number(),reportsMissingJson:n.Number(),reportsIncompleteFields:n.Number(),principleCandidatesCreated:n.Number(),rulesEnforced:n.Number(),rulehostEvaluated:n.Number(),rulehostBlocked:n.Number(),rulehostRequireApproval:n.Number(),rulehostAutoCorrectProposed:n.Number(),rulehostAutoCorrectApplied:n.Number()});var ap=n.Object({total:n.Number(),success:n.Number(),failure:n.Number(),byType:n.Record(n.String(),n.Object({total:n.Number(),success:n.Number(),failure:n.Number()})),errors:n.Number(),totalDurationMs:n.Number()}),PE=n.Object({date:n.String(),createdAt:n.String(),updatedAt:n.String(),tools:n.Object({total:n.Number(),success:n.Number(),failure:n.Number()}),toolCalls:np,errors:op,empathy:ip,evolution:sp,hooks:ap});function ir(e){let t=new Date().toISOString();return{date:e,createdAt:t,updatedAt:t,tools:{total:0,success:0,failure:0},toolCalls:{total:0,success:0,failure:0,byTool:{}},errors:{total:0,byType:{},byTool:{}},empathy:{totalEvents:0,dedupedCount:0,dedupeHitRate:0,totalPenaltyScore:0,rolledBackScore:0,rollbackCount:0,bySeverity:{mild:0,moderate:0,severe:0},scoreBySeverity:{mild:0,moderate:0,severe:0},byDetectionMode:{structured:0,legacy_tag:0},byOrigin:{assistant_self_report:0,user_manual:0,system_infer:0},confidenceDistribution:{high:0,medium:0,low:0},dailyTrend:[]},evolution:{tasksEnqueued:0,tasksCompleted:0,rulesPromoted:0,diagnosisTasksWritten:0,heartbeatsInjected:0,diagnosticianReportsWritten:0,reportsMissingJson:0,reportsIncompleteFields:0,principleCandidatesCreated:0,rulesEnforced:0,rulehostEvaluated:0,rulehostBlocked:0,rulehostRequireApproval:0,rulehostAutoCorrectProposed:0,rulehostAutoCorrectApplied:0},hooks:{total:0,success:0,failure:0,byType:{},errors:0,totalDurationMs:0}}}import*as It from"fs";var Ii=3,up=50;function yi(e,t){let r=e+".tmp";It.writeFileSync(r,t,"utf8");let o;for(let s=0;s<Ii;s++)try{It.renameSync(r,e);return}catch(c){o=c;let m=c.code;if(m==="EPERM"||m==="EBUSY"||m==="EACCES"){if(s<Ii-1){let f=up*Math.pow(2,s),N=Date.now()+f,V=!1;for(;Date.now()<N;)if(!V&&Date.now()>=N-10){try{Oi("fs").accessSync?.(r)}catch{}V=!0}}continue}break}try{It.unlinkSync(r)}catch{}throw o}var bi="<redacted-path>",yt="[REDACTED]";var cp=/(?:[A-Za-z]:[\\/](?:[^\\\s/:*?"<>|]+[\\/])+[^\\\s/:*?"<>|]*)/g,pp=/(?<![a-zA-Z0-9_.])[\\/](?:usr|home|Users|var|opt|etc|tmp|root|run|mnt|media|srv|boot|dev|proc|sys)(?:[\\/][^\\\s/:*?"<>|]+)+/g;function mp(e){return typeof e!="string"?e:e.replace(cp,bi).replace(pp,bi)}var fp=/\bsk-(?:ant-)?[A-Za-z0-9_-]{16,}\b/g,dp=/\bgh[pousr]_[A-Za-z0-9_]{16,}\b/g,lp=/\blin_api_[A-Za-z0-9_-]{16,}\b/g,Ip=/(Authorization\s*:\s*)(["'])?([A-Za-z]+\s+)?([^\s"';,]+)/gi,yp=/(\$env:\s*[A-Z_][A-Z0-9_]{2,}\s*=\s*")([^"]*)(")/gi,bp=/\b(api[_-]?key|token|secret|password|auth(?:_?token)?)\s*[:=]\s*['"]?([^\s'",}{]+)['"]?/gi,gp=/\bBearer\s+[A-Za-z0-9._\-+/=]{8,}\b/g;function xp(e){return typeof e!="string"?e:e.replace(fp,yt).replace(dp,yt).replace(lp,yt).replace(Ip,"$1$2$3[REDACTED]").replace(yp,"$1[REDACTED]$3").replace(gp,yt).replace(bp,(t,r)=>`${r}=${yt}`)}var Op=/\b([A-Z_][A-Z0-9_]{2,})\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s,;}{]+))/g;function Ep(e){return typeof e!="string"?e:e.replace(Op,(t,r)=>`${r}=${yt}`)}function Dt(e){if(typeof e!="string")return e;let t=mp(e);return t=xp(t),t=Ep(t),t}var gi=7,sr=class{logsDir;statsFile;logger;statsCache=new Map;eventBuffer=[];maxBufferSize=20;flushIntervalMs=3e4;flushTimer;currentEventsFile;currentDate;constructor(t,r){let o=Jr(t);this.logsDir=vt.join(o,"logs"),B.existsSync(this.logsDir)||B.mkdirSync(this.logsDir,{recursive:!0}),this.statsFile=vt.join(this.logsDir,"daily-stats.json"),this.logger=r,this.loadStats(),this.startFlushTimer()}getEventsFile(t){return vt.join(this.logsDir,`events_${t}.jsonl`)}getTodayStr(){return new Date().toISOString().split("T")[0]??""}ensureEventsFile(){let t=this.getTodayStr();return(this.currentDate!==t||!this.currentEventsFile)&&(this.currentDate=t,this.currentEventsFile=this.getEventsFile(t),this.cleanupOldEventFiles(t)),this.currentEventsFile}cleanupOldEventFiles(t){if(!(gi<=0))try{let r=Date.now()-gi*24*60*60*1e3,o=B.readdirSync(this.logsDir);for(let s of o){if(!s.startsWith("events_")||!s.endsWith(".jsonl"))continue;let c=vt.join(this.logsDir,s);B.statSync(c).mtimeMs<r&&B.unlinkSync(c)}}catch(r){this.logger?.debug?.(`[PD] Event file cleanup failed (non-blocking): ${String(r)}`)}}recordToolCall(t,r){let o=r.error||r.exitCode!==void 0&&r.exitCode!==0?"failure":"success";this.record("tool_call",o,t,r)}recordPainSignal(t,r){this.record("pain_signal","detected",t,r)}recordRulePromotion(t){this.record("rule_promotion","promoted",void 0,t)}recordGovernanceAction(t,r){this.record("governance_action","approved",void 0,t),r?.flushImmediately&&this.flushEvents()}recordHookExecution(t,r){let o=t.error?"failure":"success";this.record("hook_execution",o,void 0,t),r?.flushImmediately&&this.flushEvents()}recordAdaptiveDelivery(t,r){let o=zr(r);if(!o.ok)throw new Error(`Invalid adaptive delivery record: ${o.errors.join("; ")}`);this.record("adaptive_delivery","written",t,r),this.flushEvents()}recordGateBlock(t,r){this.record("gate_block","blocked",t,r)}recordGateBypass(t,r){this.record("gate_bypass","bypassed",t,r)}recordEmpathyRollback(t,r){this.record("empathy_rollback","rolled_back",t,r)}recordError(t,r,o){this.record("error","failure",t,{message:r,...o})}recordWarn(t,r,o){this.record("warn","failure",t,{message:r,...o})}recordDiagnosisTask(t){this.record("diagnosis_task","written",void 0,t)}recordHeartbeatDiagnosis(t){this.record("heartbeat_diagnosis","injected",void 0,t)}recordDiagnosticianReport(t){let r={success:"completed",missing_json:"failure",incomplete_fields:"failure"};this.record("diagnostician_report",r[t.category],void 0,t)}recordPrincipleCandidate(t){this.record("principle_candidate","created",void 0,t)}recordRuleEnforced(t){this.record("rule_enforced","matched",void 0,t)}recordRuleHostEvaluated(t){this.record("rulehost_evaluated","evaluated",void 0,t)}recordRuleHostBlocked(t){this.record("rulehost_blocked","blocked",void 0,t)}recordRuleHostRequireApproval(t){this.record("rulehost_requireApproval","requireApproval",void 0,t)}recordRuleHostAutoCorrectProposed(t){this.record("rulehost_auto_correct_proposed","auto_correct",void 0,t)}recordRuleHostAutoCorrectApplied(t){this.record("rulehost_auto_correct_applied","auto_correct",void 0,t)}recordRuntimeActivationsInjected(t){this.record("runtime_v2_prompt_activations_injected","injected",t.sessionId,t)}recordRuleHostUnhealthy(t){this.record("rulehost_unhealthy","failure",void 0,t)}recordRuleHostSkipped(t){this.record("rulehost_skipped","failure",void 0,t)}recordTrajectoryObservabilityFailure(t){this.record("trajectory_observability_failure","failure",t.sessionId,t)}redactEventData(t,r){try{if(!new Set(["tool_call","rulehost_evaluated","rulehost_blocked","rulehost_requireApproval","rulehost_auto_correct_proposed","rulehost_auto_correct_applied","rulehost_skipped","trajectory_observability_failure","rule_enforced","hook_execution","gate_block","gate_bypass"]).has(t))return r;let s={};for(let[c,m]of Object.entries(r))if(typeof m=="string")s[c]=Dt(m);else if(Array.isArray(m))s[c]=m.map(f=>{if(typeof f=="string")return Dt(f);if(typeof f=="object"&&f!==null){let N={};for(let[V,L]of Object.entries(f))N[V]=typeof L=="string"?Dt(L):L;return N}return f});else if(typeof m=="object"&&m!==null){let f={};for(let[N,V]of Object.entries(m))typeof V=="string"?f[N]=Dt(V):f[N]=V;s[c]=f}else s[c]=m;return s}catch(o){return{redactionFailure:!0,redactionStatus:"failed","redaction.status":"failed",redactionReason:(o instanceof Error?o.message.slice(0,200):String(o).slice(0,200))||"unknown error",redactionDataDropped:!0,originalType:t,originalSessionId:r.sessionId??null}}}record(t,r,o,s){let c=new Date,m=this.formatDate(c),f=this.redactEventData(t,s),N={ts:c.toISOString(),date:m,type:t,category:r,sessionId:o,data:f};this.eventBuffer.push(N),this.updateStats(N),this.eventBuffer.length>=this.maxBufferSize&&this.flushEvents()}formatDate(t){return t.toISOString().split("T")[0]??""}loadStats(){if(B.existsSync(this.statsFile))try{let t=JSON.parse(B.readFileSync(this.statsFile,"utf-8"));for(let r in t)this.statsCache.set(r,t[r])}catch(t){this.logger&&this.logger.error(`[PD] Failed to load daily-stats.json: ${String(t)}`)}}updateStats(t){let r=this.statsCache.get(t.date);if(r||(r=ir(t.date),this.statsCache.set(t.date,r)),t.type==="tool_call")r.tools.total++,t.category==="success"?r.tools.success++:r.tools.failure++;else if(t.type==="pain_signal"){let o=t.data;if(o.source==="user_empathy"){if(o.deduped)r.empathy.dedupedCount++;else{r.empathy.totalEvents++,r.empathy.totalPenaltyScore+=o.score||0,o.severity&&(r.empathy.bySeverity[o.severity]++,r.empathy.scoreBySeverity[o.severity]+=o.score||0),o.detection_mode&&r.empathy.byDetectionMode[o.detection_mode]++,o.origin&&r.empathy.byOrigin[o.origin]++;let c=o.confidence??1;c>=.8?r.empathy.confidenceDistribution.high++:c>=.5?r.empathy.confidenceDistribution.medium++:r.empathy.confidenceDistribution.low++}let s=r.empathy.totalEvents+r.empathy.dedupedCount;r.empathy.dedupeHitRate=s>0?r.empathy.dedupedCount/s:0}}else if(t.type==="hook_execution"){let o=t.data;if(r.hooks.total++,t.category==="success"?r.hooks.success++:r.hooks.failure++,o.hook){r.hooks.byType[o.hook]||(r.hooks.byType[o.hook]={total:0,success:0,failure:0});let s=r.hooks.byType[o.hook];s&&(s.total++,t.category==="success"?s.success++:s.failure++)}}else if(t.type==="empathy_rollback"){let o=t.data;r.empathy.rollbackCount++,r.empathy.rolledBackScore+=o.originalScore||0}else if(t.type==="rule_promotion")r.evolution.rulesPromoted++;else if(t.type==="evolution_task")t.category==="completed"?r.evolution.tasksCompleted++:t.category==="enqueued"&&r.evolution.tasksEnqueued++;else if(t.type==="diagnosis_task")r.evolution.diagnosisTasksWritten++;else if(t.type==="heartbeat_diagnosis")r.evolution.heartbeatsInjected++;else if(t.type==="diagnostician_report"){let o=t.data;if(Object.prototype.hasOwnProperty.call(o,"category")){let s=o.category;typeof s=="string"&&(s==="success"||s==="missing_json"||s==="incomplete_fields")&&r.evolution.diagnosticianReportsWritten++,typeof s=="string"&&s==="missing_json"&&r.evolution.reportsMissingJson++,typeof s=="string"&&s==="incomplete_fields"&&r.evolution.reportsIncompleteFields++}else Object.prototype.hasOwnProperty.call(o,"success")&&r.evolution.diagnosticianReportsWritten++}else t.type==="principle_candidate"?r.evolution.principleCandidatesCreated++:t.type==="rule_enforced"?r.evolution.rulesEnforced++:t.type==="rulehost_evaluated"?r.evolution.rulehostEvaluated++:t.type==="rulehost_blocked"?r.evolution.rulehostBlocked++:t.type==="rulehost_requireApproval"?r.evolution.rulehostRequireApproval++:t.type==="rulehost_auto_correct_proposed"?r.evolution.rulehostAutoCorrectProposed++:t.type==="rulehost_auto_correct_applied"&&r.evolution.rulehostAutoCorrectApplied++}startFlushTimer(){this.flushTimer=setInterval(()=>this.flush(),this.flushIntervalMs),this.flushTimer.unref()}flush(){this.flushEvents(),this.flushStats()}getBufferedEvents(){return this.eventBuffer.map(t=>({...t,data:{...t.data}}))}getEventDedupKey(t){let r=typeof t.data?.eventId=="string"?String(t.data.eventId):null;if(r)return`${t.type}:${t.sessionId??"none"}:${r}`;let o=t.data??{};return[t.ts??"no-ts",t.type??"no-type",t.category??"no-category",t.sessionId??"no-session",typeof o.source=="string"?o.source:"no-source",typeof o.toolName=="string"?o.toolName:"no-tool",typeof o.reason=="string"?o.reason:"no-reason"].join("::")}readPersistedEvents(){let t=this.ensureEventsFile();if(!B.existsSync(t))return[];try{return B.readFileSync(t,"utf-8").trim().split(`
|
|
3
3
|
`).filter(o=>o.trim().length>0).map(o=>{try{return JSON.parse(o)}catch(s){return this.logger?.warn?.(`[PD] Corrupted event line skipped: ${String(s).slice(0,100)}`),null}}).filter(o=>o!==null)}catch(r){return this.logger&&this.logger.error(`[PD] Failed to read events file: ${String(r)}`),[]}}getMergedEvents(){let t=new Map;for(let r of[...this.readPersistedEvents(),...this.getBufferedEvents()])t.set(this.getEventDedupKey(r),r);return[...t.values()].sort((r,o)=>r.ts.localeCompare(o.ts))}flushEvents(){if(this.eventBuffer.length===0)return;let t=this.ensureEventsFile(),r=this.eventBuffer.map(o=>JSON.stringify(o)).join(`
|
|
4
4
|
`)+`
|
|
5
5
|
`;try{B.appendFileSync(t,r,"utf-8"),this.eventBuffer=[]}catch(o){this.logger&&this.logger.error(`[PD] Failed to flush events: ${String(o)}`)}}flushStats(){if(this.statsCache.size===0)return;let t={};this.statsCache.forEach((r,o)=>{t[o]=r});try{yi(this.statsFile,JSON.stringify(t,null,2))}catch(r){this.logger&&this.logger.error(`[PD] Failed to flush daily-stats.json: ${String(r)}`)}}getDailyStats(t){let r=this.statsCache.get(t);return r||(r=ir(t),this.statsCache.set(t,r)),r}getEmpathyStats(t,r){let o=new Date,s=this.formatDate(o),c={totalEvents:0,dedupedCount:0,dedupeHitRate:0,totalPenaltyScore:0,rolledBackScore:0,rollbackCount:0,bySeverity:{mild:0,moderate:0,severe:0},scoreBySeverity:{mild:0,moderate:0,severe:0},byDetectionMode:{structured:0,legacy_tag:0},byOrigin:{assistant_self_report:0,user_manual:0,system_infer:0},confidenceDistribution:{high:0,medium:0,low:0},dailyTrend:[]};if(t==="session"&&r)this.aggregateSessionEmpathy(r,c);else if(t==="week")for(let f=0;f<7;f++){let N=new Date(o);N.setDate(N.getDate()-f);let V=this.formatDate(N),L=this.getDailyStats(V);c.totalEvents+=L.empathy.totalEvents,c.dedupedCount+=L.empathy.dedupedCount,c.totalPenaltyScore+=L.empathy.totalPenaltyScore,c.rolledBackScore+=L.empathy.rolledBackScore,c.rollbackCount+=L.empathy.rollbackCount;for(let Me of["mild","moderate","severe"])c.bySeverity[Me]+=L.empathy.bySeverity[Me],c.scoreBySeverity[Me]+=L.empathy.scoreBySeverity[Me];c.byDetectionMode.structured+=L.empathy.byDetectionMode.structured,c.byDetectionMode.legacy_tag+=L.empathy.byDetectionMode.legacy_tag;for(let Me of["assistant_self_report","user_manual","system_infer"])c.byOrigin[Me]+=L.empathy.byOrigin[Me];c.confidenceDistribution.high+=L.empathy.confidenceDistribution.high,c.confidenceDistribution.medium+=L.empathy.confidenceDistribution.medium,c.confidenceDistribution.low+=L.empathy.confidenceDistribution.low,(L.empathy.totalEvents>0||L.empathy.dedupedCount>0)&&c.dailyTrend.push({date:V,count:L.empathy.totalEvents,score:L.empathy.totalPenaltyScore})}else{let f=this.getDailyStats(s);Object.assign(c,f.empathy),(f.empathy.totalEvents>0||f.empathy.dedupedCount>0)&&(c.dailyTrend=[{date:s,count:f.empathy.totalEvents,score:f.empathy.totalPenaltyScore}])}let m=c.totalEvents+c.dedupedCount;return c.dedupeHitRate=m>0?c.dedupedCount/m:0,c}aggregateSessionEmpathy(t,r){for(let o of this.getMergedEvents())if(o.sessionId===t&&o.type==="pain_signal"){let s=o.data;if(s.source==="user_empathy")if(s.deduped)r.dedupedCount++;else{r.totalEvents++,r.totalPenaltyScore+=s.score||0,s.severity&&(r.bySeverity[s.severity]++,r.scoreBySeverity[s.severity]+=s.score||0),s.detection_mode&&r.byDetectionMode[s.detection_mode]++,s.origin&&r.byOrigin[s.origin]++;let c=s.confidence??1;c>=.8?r.confidenceDistribution.high++:c>=.5?r.confidenceDistribution.medium++:r.confidenceDistribution.low++}}else if(o.sessionId===t&&o.type==="empathy_rollback"){let s=o.data;r.rollbackCount++,r.rolledBackScore+=s.originalScore||0}}rollbackEmpathyEvent(t,r,o,s){let c=this.getMergedEvents(),m=null;for(let N of c)if(N.type==="pain_signal"){let V=N.data;if(V.eventId===t&&V.source==="user_empathy"){m={entry:N,data:V};break}}if(!m||m.data.deduped)return 0;let f=m.data.score||0;return this.recordEmpathyRollback(r,{eventId:t,originalScore:f,originalSessionId:m.entry.sessionId,reason:o,triggeredBy:s}),f}getLastEmpathyEventId(t){let r=this.getMergedEvents();for(let o=r.length-1;o>=0;o--){let s=r[o];if(s&&s.sessionId===t&&s.type==="pain_signal"){let c=s.data;if(c.source==="user_empathy"&&!c.deduped)return c.eventId||null}}return null}findLatestPainSignal(t){let r=this.getMergedEvents();for(let o=r.length-1;o>=0;o--){let s=r[o];if(s&&s.sessionId===t&&s.type==="pain_signal")return s.data}return null}dispose(){this.flushTimer&&(clearInterval(this.flushTimer),this.flushTimer=void 0),this.flush()}};var hp=(e,t)=>{let r=new sr(e);try{r.recordGovernanceAction(t,{flushImmediately:!0})}finally{r.dispose()}};async function HE(e,t,r,o=hp){return o(e,t),r()}export{HE as authorizeGovernanceAction,hp as writeGovernanceAction};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { PluginHookBeforePromptBuildEvent } from '../openclaw-sdk.js';
|
|
2
|
+
import type { AdaptiveActivationConfig } from './adaptive-activation-config.js';
|
|
3
|
+
export declare const CONTROLLED_ADMISSION_ENV: {
|
|
4
|
+
readonly admissionFile: 'PD_AA_ADMISSION_FILE';
|
|
5
|
+
readonly experimentRoot: 'PD_AA_EXPERIMENT_ROOT';
|
|
6
|
+
};
|
|
7
|
+
export type ControlledAdmissionReason = 'admission_native_identity_present' | 'admission_path_outside_root' | 'admission_file_invalid' | 'admission_input_mismatch' | 'admission_input_parse_mismatch' | 'admission_manifest_mismatch' | 'admission_target_mismatch' | 'admission_mapping_mismatch' | 'admission_session_mismatch' | 'admission_agent_to_agent' | 'admission_scene_mismatch' | 'admission_expired' | 'admission_already_consumed' | 'admission_claim_write_failed';
|
|
8
|
+
export interface ControlledAdmissionEnvironment {
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
admissionFile?: string;
|
|
11
|
+
experimentRoot?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ControlledAdmissionIdentity {
|
|
14
|
+
admissionId: string;
|
|
15
|
+
operator: string;
|
|
16
|
+
purpose: string;
|
|
17
|
+
inputSha256: string;
|
|
18
|
+
manifestSha256: string;
|
|
19
|
+
mappingSha256: string;
|
|
20
|
+
targetArtifactId: string;
|
|
21
|
+
targetActivationId: string;
|
|
22
|
+
expiresAt: string;
|
|
23
|
+
consumedAt: string;
|
|
24
|
+
consumedBy: {
|
|
25
|
+
sessionId: string;
|
|
26
|
+
runId: string | null;
|
|
27
|
+
hookInvocationId: string;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export interface ControlledAdmissionManifest {
|
|
31
|
+
targetArtifactId: string;
|
|
32
|
+
targetActivationId: string;
|
|
33
|
+
sourceRef: string;
|
|
34
|
+
fixtureFile: string;
|
|
35
|
+
fixtureSha256: string;
|
|
36
|
+
expectedToolName: string;
|
|
37
|
+
expectedContentMarker: string;
|
|
38
|
+
configSnapshot: Record<string, unknown>;
|
|
39
|
+
}
|
|
40
|
+
export interface ControlledAdmissionClaim {
|
|
41
|
+
claimId: string;
|
|
42
|
+
identity: ControlledAdmissionIdentity;
|
|
43
|
+
manifest: ControlledAdmissionManifest;
|
|
44
|
+
admittedText: string;
|
|
45
|
+
hookInvocationId: string;
|
|
46
|
+
}
|
|
47
|
+
export type ControlledAdmissionClaimResult = {
|
|
48
|
+
status: 'disabled';
|
|
49
|
+
} | {
|
|
50
|
+
status: 'rejected';
|
|
51
|
+
reason: ControlledAdmissionReason;
|
|
52
|
+
detail?: string;
|
|
53
|
+
} | {
|
|
54
|
+
status: 'claimed';
|
|
55
|
+
claim: ControlledAdmissionClaim;
|
|
56
|
+
};
|
|
57
|
+
export interface ControlledAdmissionClaimRequest {
|
|
58
|
+
event: PluginHookBeforePromptBuildEvent;
|
|
59
|
+
workspaceDir: string;
|
|
60
|
+
sessionId: string | undefined;
|
|
61
|
+
runId?: string | null;
|
|
62
|
+
mapping: AdaptiveActivationConfig;
|
|
63
|
+
hookInvocationId: string;
|
|
64
|
+
now?: number;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* The controlled admission branch is opt-in per isolated process only. There is
|
|
68
|
+
* no persisted configuration and no plugin default that could enable it.
|
|
69
|
+
*/
|
|
70
|
+
export declare function readControlledAdmissionEnvironment(env?: NodeJS.ProcessEnv): ControlledAdmissionEnvironment;
|
|
71
|
+
export declare function isControlledAdmissionConfigured(env?: NodeJS.ProcessEnv): boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Takes the same-round provider→prompt handoff for the exact host event object
|
|
74
|
+
* and hook invocation. A duplicate callback, a new run with the same input, a
|
|
75
|
+
* cross-session callback or a post-tool second request cannot take it: either
|
|
76
|
+
* the entry is already gone or its identity does not match.
|
|
77
|
+
*/
|
|
78
|
+
export declare function takeControlledAdmissionHandoff(event: PluginHookBeforePromptBuildEvent, hookInvocationId: string | undefined, now?: number): ControlledAdmissionClaim | null;
|
|
79
|
+
/** Journal close / abnormal exit removes the handoff entry; disk `consumedAt` stays authoritative. */
|
|
80
|
+
export declare function releaseControlledAdmissionClaim(claim: ControlledAdmissionClaim | null | undefined): void;
|
|
81
|
+
export declare function resetControlledAdmissionCacheForTest(): void;
|
|
82
|
+
/**
|
|
83
|
+
* Exclusive read→validate→write consumption. The lock, every read, the consumed
|
|
84
|
+
* marker write and its rollback happen inside one mutual exclusion region, so
|
|
85
|
+
* two callers can never both observe an unconsumed admission.
|
|
86
|
+
*/
|
|
87
|
+
export declare function claimControlledAdmission(request: ControlledAdmissionClaimRequest): ControlledAdmissionClaimResult;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* 2. Rule Host: Dynamic principle-based evaluation (sole gate)
|
|
10
10
|
*/
|
|
11
11
|
import { WorkspaceContext } from '../core/workspace-context.js';
|
|
12
|
-
import type { RuleContextV2 } from '@principles/core/runtime
|
|
12
|
+
import type { RuleContextV2 } from '@principles/core/runtime';
|
|
13
13
|
import type { PluginHookBeforeToolCallEvent, PluginHookToolContext, PluginHookBeforeToolCallResult, PluginLogger } from '../openclaw-sdk.js';
|
|
14
14
|
import type { HostEventResult } from '@principles/core/host';
|
|
15
15
|
export declare function handleBeforeToolCall(event: PluginHookBeforeToolCallEvent, ctx: PluginHookToolContext & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PluginHookBeforeMessageWriteEvent, PluginHookBeforeMessageWriteResult } from '../openclaw-sdk.js';
|
|
2
|
-
import { convergePath, MAX_EVIDENCE_VALUE_CHARS } from '@principles/core/runtime
|
|
2
|
+
import { convergePath, MAX_EVIDENCE_VALUE_CHARS } from '@principles/core/runtime';
|
|
3
3
|
export { MAX_EVIDENCE_VALUE_CHARS, convergePath };
|
|
4
4
|
/**
|
|
5
5
|
* Sanitize a single string value for evidence storage.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PainEvidenceEntry, PainIngressDecision } from '@principles/core/runtime
|
|
1
|
+
import type { PainEvidenceEntry, PainIngressDecision } from '@principles/core/runtime';
|
|
2
2
|
import type { WorkspaceContext } from '../core/workspace-context.js';
|
|
3
3
|
export interface PluginIngressInput {
|
|
4
4
|
wctx: WorkspaceContext;
|
|
@@ -27,7 +27,7 @@ export declare function beginAdaptivePromptInvocation(ctx: PluginHookAgentContex
|
|
|
27
27
|
}, target: {
|
|
28
28
|
artifactId: string;
|
|
29
29
|
activationId: string;
|
|
30
|
-
}, runtimeMode: string): string;
|
|
30
|
+
}, runtimeMode: string, hookInvocationId?: string): string;
|
|
31
31
|
export declare function handleBeforePromptBuild(event: PluginHookBeforePromptBuildEvent, ctx: PluginHookAgentContext & {
|
|
32
32
|
api?: PromptHookApi;
|
|
33
33
|
}, sharedActivePrinciplePrompt?: ActivePrinciplePromptResult): Promise<PluginHookBeforePromptBuildResult | void>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Raw Observation Adapter — PRI-362 / PRI-446
|
|
3
3
|
*
|
|
4
4
|
* The source-kind resolution logic and RawObservation builders have been
|
|
5
|
-
* migrated to principles-core (runtime
|
|
5
|
+
* migrated to principles-core (runtime/evidence-triage/observation-resolver.ts).
|
|
6
6
|
*
|
|
7
7
|
* This file is now a thin re-export adapter. It preserves the original export
|
|
8
8
|
* names (resolveSourceKind, buildToolFailureObservation, RawObservation) so
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
* ERR checklist:
|
|
15
15
|
* - ERR-011: re-export adapter, not a local re-definition of migrated logic.
|
|
16
16
|
*/
|
|
17
|
-
export { resolveSourceKind, buildToolFailureObservation, buildManualPainObservation, } from '@principles/core/runtime
|
|
17
|
+
export { resolveSourceKind, buildToolFailureObservation, buildManualPainObservation, } from '@principles/core/runtime';
|
|
18
18
|
export type { RawObservation } from './raw-observation-types.js';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Raw Observation Types — PRI-362 / PRI-446
|
|
3
3
|
*
|
|
4
4
|
* The RawObservation type has been migrated to principles-core
|
|
5
|
-
* (runtime
|
|
5
|
+
* (runtime/evidence-triage/observation-resolver.ts). This file re-exports it
|
|
6
6
|
* so existing plugin import sites keep working unchanged.
|
|
7
7
|
*
|
|
8
8
|
* ERR checklist:
|
|
9
9
|
* - ERR-011: this is a re-export adapter, not a local re-definition.
|
|
10
10
|
*/
|
|
11
|
-
export type { RawObservation } from '@principles/core/runtime
|
|
11
|
+
export type { RawObservation } from '@principles/core/runtime';
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* automatic emitter, so the legacy untyped array wrapper was removed: the
|
|
12
12
|
* Owner manual pain path is the only consumer and it uses the typed API.
|
|
13
13
|
*/
|
|
14
|
-
import type { PainEvidenceEntry } from '@principles/core/runtime
|
|
14
|
+
import type { PainEvidenceEntry } from '@principles/core/runtime';
|
|
15
15
|
import type { WorkspaceContext } from '../core/workspace-context.js';
|
|
16
16
|
/**
|
|
17
17
|
* PRI-642 (SPEC §7.2): discriminated acquisition result. `unavailable` carries
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
* - ERR-002: Every triage result carries reason + nextAction.
|
|
24
24
|
* - ERR-024/025/048: Production-path tests cover this adapter.
|
|
25
25
|
*/
|
|
26
|
-
import { type TriageResult, type SourceKind } from '@principles/core/runtime
|
|
26
|
+
import { type TriageResult, type SourceKind } from '@principles/core/runtime';
|
|
27
27
|
/**
|
|
28
28
|
* Map RawObservation to SourceKind.
|
|
29
29
|
*
|
package/plugin/dist/index.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ declare const plugin: {
|
|
|
77
77
|
description: string;
|
|
78
78
|
register(api: OpenClawPluginApi): void;
|
|
79
79
|
};
|
|
80
|
-
export { PrincipleTreeLedgerAdapter } from '@principles/core/runtime
|
|
80
|
+
export { PrincipleTreeLedgerAdapter } from '@principles/core/runtime';
|
|
81
81
|
export { loadFeatureFlagFromWorkspace, isRecord };
|
|
82
82
|
export { initTrajectorySchema } from './core/trajectory.js';
|
|
83
83
|
export default plugin;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "principles-disciple",
|
|
3
3
|
"name": "Principles Disciple",
|
|
4
4
|
"description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.7.1",
|
|
6
6
|
"activation": {
|
|
7
7
|
"onStartup": true,
|
|
8
8
|
"onCapabilities": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OpenClawPluginServiceContext, PluginLogger } from '../openclaw-sdk.js';
|
|
2
2
|
import { WorkspaceContext } from '../core/workspace-context.js';
|
|
3
|
-
import { CorrectionObserver } from '@principles/core/runtime
|
|
3
|
+
import { CorrectionObserver } from '@principles/core/runtime';
|
|
4
4
|
export interface CorrectionObserverServiceShape {
|
|
5
5
|
id: string;
|
|
6
6
|
start: (ctx: OpenClawPluginServiceContext) => void;
|