create-principles-disciple 1.104.0 → 1.104.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/console/dist/server/config/pd-config-store.d.ts +8 -1
- package/console/dist/server/config/pd-config-store.js +50 -0
- package/console/dist/server/index.js +24 -3
- package/console/dist/server/models/HealthCheckModel.d.ts +27 -0
- package/console/dist/server/models/HealthCheckModel.js +56 -0
- package/console/dist/server/routes/failed-tasks.d.ts +24 -0
- package/console/dist/server/routes/failed-tasks.js +207 -0
- package/console/dist/server/routes/feedback-reports.d.ts +1 -0
- package/console/dist/server/routes/feedback-reports.js +29 -2
- package/console/dist/server/routes/lifecycle.js +19 -1
- package/console/dist/server/routes/onboarding.js +2 -2
- package/console/dist/server/routes/update.js +307 -35
- package/console/dist/server/utils/gateway.d.ts +25 -0
- package/console/dist/server/utils/gateway.js +131 -0
- package/console/dist/ui/App.d.ts +1 -1
- package/console/dist/ui/App.js +2 -1
- package/console/dist/ui/api.d.ts +2 -1
- package/console/dist/ui/api.js +14 -2
- package/console/dist/ui/components/auth/login-form.d.ts +2 -1
- package/console/dist/ui/components/auth/splash-screen.d.ts +2 -1
- package/console/dist/ui/components/error-boundary.d.ts +1 -1
- package/console/dist/ui/components/focus/daily-thought-card.d.ts +1 -1
- package/console/dist/ui/components/language-switcher.d.ts +2 -1
- package/console/dist/ui/components/layout/app-sidebar.d.ts +6 -1
- package/console/dist/ui/components/layout/app-sidebar.js +10 -2
- package/console/dist/ui/components/layout/page-loading.d.ts +1 -1
- package/console/dist/ui/components/layout/page-shell.d.ts +1 -1
- package/console/dist/ui/components/layout/section-title.d.ts +1 -1
- package/console/dist/ui/components/notifications/NotificationProvider.d.ts +1 -1
- package/console/dist/ui/components/onboarding/CircuitDiagram.d.ts +1 -1
- package/console/dist/ui/components/onboarding/DemoResultView.d.ts +1 -1
- package/console/dist/ui/components/onboarding/SlashCommandsCard.d.ts +16 -0
- package/console/dist/ui/components/onboarding/SlashCommandsCard.js +20 -0
- package/console/dist/ui/components/onboarding/slashCommands.d.ts +20 -0
- package/console/dist/ui/components/onboarding/slashCommands.js +23 -0
- package/console/dist/ui/components/theme-provider.d.ts +1 -1
- package/console/dist/ui/components/theme-toggle.d.ts +2 -1
- package/console/dist/ui/components/ui/alert-dialog.d.ts +8 -8
- package/console/dist/ui/components/ui/badge.d.ts +2 -2
- package/console/dist/ui/components/ui/button.d.ts +2 -2
- package/console/dist/ui/components/ui/charts.d.ts +5 -5
- package/console/dist/ui/components/ui/dialog.d.ts +8 -8
- package/console/dist/ui/components/ui/markdown.d.ts +4 -4
- package/console/dist/ui/components/ui/progress-bar.d.ts +2 -2
- package/console/dist/ui/components/ui/sheet.d.ts +9 -9
- package/console/dist/ui/components/ui/shiny-text.d.ts +1 -1
- package/console/dist/ui/components/ui/skeleton.d.ts +1 -1
- package/console/dist/ui/components/ui/sonner.d.ts +1 -1
- package/console/dist/ui/i18n/en.json +52 -7
- package/console/dist/ui/i18n/zh-CN.json +52 -7
- package/console/dist/ui/pages/ReportProblemValidators.d.ts +63 -0
- package/console/dist/ui/pages/ReportProblemValidators.js +238 -0
- package/console/dist/ui/pages/activation/ActivationPage.d.ts +1 -1
- package/console/dist/ui/pages/activation/ActivationPage.js +1 -1
- package/console/dist/ui/pages/control-center/AgentCard.d.ts +1 -1
- package/console/dist/ui/pages/control-center/AgentCard.js +1 -1
- package/console/dist/ui/pages/control-center/AgentGroup.d.ts +1 -1
- package/console/dist/ui/pages/control-center/ControlCenterPage.d.ts +1 -1
- package/console/dist/ui/pages/control-center/ControlCenterPage.js +1 -1
- package/console/dist/ui/pages/control-center/EmpathyObserverCostHint.d.ts +1 -1
- package/console/dist/ui/pages/control-center/RuntimeProfileManager.d.ts +1 -1
- package/console/dist/ui/pages/control-center/RuntimeProfileManager.js +1 -1
- package/console/dist/ui/pages/control-center/WorkflowDiagram.d.ts +1 -1
- package/console/dist/ui/pages/debt/DebtPage.d.ts +2 -1
- package/console/dist/ui/pages/debt/DebtPage.js +1 -1
- package/console/dist/ui/pages/design-system/DesignSystemPage.d.ts +2 -1
- package/console/dist/ui/pages/failed-tasks/FailedTasksPage.d.ts +1 -0
- package/console/dist/ui/pages/failed-tasks/FailedTasksPage.js +229 -0
- package/console/dist/ui/pages/focus/FocusPage.d.ts +1 -1
- package/console/dist/ui/pages/focus/FocusPage.js +2 -2
- package/console/dist/ui/pages/intent/IntentOnboarding.d.ts +4 -4
- package/console/dist/ui/pages/intent/IntentOnboarding.js +1 -1
- package/console/dist/ui/pages/intent/IntentPage.d.ts +1 -1
- package/console/dist/ui/pages/intent/IntentPage.js +1 -1
- package/console/dist/ui/pages/pain/PainPage.d.ts +1 -1
- package/console/dist/ui/pages/pain/PainPage.js +1 -1
- package/console/dist/ui/pages/principles/PrincipleDetailPage.d.ts +1 -1
- package/console/dist/ui/pages/principles/PrincipleDetailPage.js +1 -1
- package/console/dist/ui/pages/principles/PrinciplesPage.d.ts +1 -1
- package/console/dist/ui/pages/report-problem/ReportProblemPage.d.ts +1 -1
- package/console/dist/ui/pages/report-problem/ReportProblemPage.js +36 -9
- package/console/dist/ui/pages/settings/SettingsPage.d.ts +1 -1
- package/console/dist/ui/pages/settings/SettingsPage.js +1 -1
- package/console/dist/ui/pages/settings/UpdatePage.d.ts +1 -1
- package/console/dist/ui/pages/settings/UpdatePage.js +35 -3
- package/console/dist/ui/pages/signal-keywords/KeywordEditDialog.d.ts +1 -1
- package/console/dist/ui/pages/signal-keywords/KeywordListSection.d.ts +1 -1
- package/console/dist/ui/pages/signal-keywords/PendingTermsSection.d.ts +1 -1
- package/console/dist/ui/pages/signal-keywords/SignalKeywordsPage.d.ts +1 -1
- package/console/dist/ui/pages/welcome/WelcomePage.d.ts +1 -1
- package/console/dist/ui/pages/welcome/WelcomePage.js +7 -5
- package/console/dist/ui/utils/agent-metadata.js +9 -9
- package/console/dist/ui/utils/validators.d.ts +14 -2
- package/console/dist/ui/utils/validators.js +18 -1
- package/console/dist/web/assets/app.css +428 -716
- package/console/dist/web/assets/app.js +1574 -877
- package/console/package.json +14 -14
- package/core/dist/adapters/__tests__/code-review-pain-adapter.test.d.ts +2 -0
- package/core/dist/adapters/__tests__/code-review-pain-adapter.test.d.ts.map +1 -0
- package/core/dist/adapters/__tests__/code-review-pain-adapter.test.js +346 -0
- package/core/dist/adapters/__tests__/code-review-pain-adapter.test.js.map +1 -0
- package/core/dist/adapters/__tests__/openclaw-pain-adapter.test.d.ts +2 -0
- package/core/dist/adapters/__tests__/openclaw-pain-adapter.test.d.ts.map +1 -0
- package/core/dist/adapters/__tests__/openclaw-pain-adapter.test.js +290 -0
- package/core/dist/adapters/__tests__/openclaw-pain-adapter.test.js.map +1 -0
- package/core/dist/adapters/__tests__/writing-pain-adapter.test.d.ts +2 -0
- package/core/dist/adapters/__tests__/writing-pain-adapter.test.d.ts.map +1 -0
- package/core/dist/adapters/__tests__/writing-pain-adapter.test.js +239 -0
- package/core/dist/adapters/__tests__/writing-pain-adapter.test.js.map +1 -0
- package/core/dist/adapters/code-review/code-review-pain-adapter.d.ts.map +1 -1
- package/core/dist/adapters/coding/openclaw-pain-adapter.d.ts.map +1 -1
- package/core/dist/adapters/writing/writing-pain-adapter.d.ts.map +1 -1
- package/core/dist/evolution-store.js.map +1 -1
- package/core/dist/evolution-store.test.d.ts +2 -0
- package/core/dist/evolution-store.test.d.ts.map +1 -0
- package/core/dist/evolution-store.test.js +291 -0
- package/core/dist/evolution-store.test.js.map +1 -0
- package/core/dist/host/__tests__/host-adapter.test.d.ts +2 -0
- package/core/dist/host/__tests__/host-adapter.test.d.ts.map +1 -0
- package/core/dist/host/__tests__/host-adapter.test.js +96 -0
- package/core/dist/host/__tests__/host-adapter.test.js.map +1 -0
- package/core/dist/host/host-adapter.d.ts +185 -0
- package/core/dist/host/host-adapter.d.ts.map +1 -0
- package/core/dist/host/host-adapter.js +81 -0
- package/core/dist/host/host-adapter.js.map +1 -0
- package/core/dist/host/host-installer.d.ts +165 -0
- package/core/dist/host/host-installer.d.ts.map +1 -0
- package/core/dist/host/host-installer.js +55 -0
- package/core/dist/host/host-installer.js.map +1 -0
- package/core/dist/host/index.d.ts +14 -0
- package/core/dist/host/index.d.ts.map +1 -0
- package/core/dist/host/index.js +3 -0
- package/core/dist/host/index.js.map +1 -0
- package/core/dist/index.d.ts +2 -0
- package/core/dist/index.d.ts.map +1 -1
- package/core/dist/index.js +1 -0
- package/core/dist/index.js.map +1 -1
- package/core/dist/principle-injector.d.ts.map +1 -1
- package/core/dist/principle-injector.test.d.ts +2 -0
- package/core/dist/principle-injector.test.d.ts.map +1 -0
- package/core/dist/principle-injector.test.js +158 -0
- package/core/dist/principle-injector.test.js.map +1 -0
- package/core/dist/principle-tree-ledger-lifecycle.test.d.ts +2 -0
- package/core/dist/principle-tree-ledger-lifecycle.test.d.ts.map +1 -0
- package/core/dist/principle-tree-ledger-lifecycle.test.js +530 -0
- package/core/dist/principle-tree-ledger-lifecycle.test.js.map +1 -0
- package/core/dist/principle-tree-ledger.d.ts.map +1 -1
- package/core/dist/principle-tree-ledger.js +55 -30
- package/core/dist/principle-tree-ledger.js.map +1 -1
- package/core/dist/prompt-builder/__tests__/attitude-directive.test.d.ts +2 -0
- package/core/dist/prompt-builder/__tests__/attitude-directive.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/attitude-directive.test.js +49 -0
- package/core/dist/prompt-builder/__tests__/attitude-directive.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/correction-cue.test.d.ts +2 -0
- package/core/dist/prompt-builder/__tests__/correction-cue.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/correction-cue.test.js +61 -0
- package/core/dist/prompt-builder/__tests__/correction-cue.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/message-extraction.test.d.ts +2 -0
- package/core/dist/prompt-builder/__tests__/message-extraction.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/message-extraction.test.js +90 -0
- package/core/dist/prompt-builder/__tests__/message-extraction.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/minimal-trigger.test.d.ts +2 -0
- package/core/dist/prompt-builder/__tests__/minimal-trigger.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/minimal-trigger.test.js +45 -0
- package/core/dist/prompt-builder/__tests__/minimal-trigger.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/principle-selection.test.js.map +1 -1
- package/core/dist/prompt-builder/empathy-keyword-matching.js.map +1 -1
- package/core/dist/prompt-builder/empathy-types.js.map +1 -1
- package/core/dist/prompt-builder/focus-compression.js.map +1 -1
- package/core/dist/prompt-builder/routing-guidance.d.ts +3 -3
- package/core/dist/prompt-builder/routing-guidance.d.ts.map +1 -1
- package/core/dist/prompt-builder/routing-guidance.js.map +1 -1
- package/core/dist/quality-scorecard/__tests__/quality-scorecard.test.js +399 -1
- package/core/dist/quality-scorecard/__tests__/quality-scorecard.test.js.map +1 -1
- package/core/dist/quality-scorecard/__tests__/report-generator.test.d.ts +2 -0
- package/core/dist/quality-scorecard/__tests__/report-generator.test.d.ts.map +1 -0
- package/core/dist/quality-scorecard/__tests__/report-generator.test.js +627 -0
- package/core/dist/quality-scorecard/__tests__/report-generator.test.js.map +1 -0
- package/core/dist/quality-scorecard/types.d.ts +1 -1
- package/core/dist/quality-scorecard/types.d.ts.map +1 -1
- package/core/dist/runtime-v2/__tests__/admission-gate.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/adversarial-loop.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.js +317 -6
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.js +839 -0
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/bridge-result-shaper.test.d.ts +26 -0
- package/core/dist/runtime-v2/__tests__/bridge-result-shaper.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/bridge-result-shaper.test.js +402 -0
- package/core/dist/runtime-v2/__tests__/bridge-result-shaper.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/build-golden-trace-from-artificer.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/context-payload-validation.test.d.ts +11 -0
- package/core/dist/runtime-v2/__tests__/context-payload-validation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/context-payload-validation.test.js +309 -0
- package/core/dist/runtime-v2/__tests__/context-payload-validation.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/diagnostician-output-schema.test.d.ts +25 -0
- package/core/dist/runtime-v2/__tests__/diagnostician-output-schema.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/diagnostician-output-schema.test.js +405 -0
- package/core/dist/runtime-v2/__tests__/diagnostician-output-schema.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-vslice.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/error-categories.test.js +1 -0
- package/core/dist/runtime-v2/__tests__/error-categories.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/evaluator-repair-loop.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/evaluator-repair-loop.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/evaluator-repair-loop.test.js +562 -0
- package/core/dist/runtime-v2/__tests__/evaluator-repair-loop.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice-v2.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/evidence-chain-intent-tension.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/feedback/create-report.test.js +51 -0
- package/core/dist/runtime-v2/__tests__/feedback/create-report.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/feedback/privacy-preview.test.js +1 -1
- package/core/dist/runtime-v2/__tests__/feedback/privacy-preview.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/feedback/render-markdown.test.js +1 -1
- package/core/dist/runtime-v2/__tests__/feedback/render-markdown.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/fixtures/test-helpers.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/intake-to-internalization-bridge.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/internalization-consumer-product-path.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.js +1 -1
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/internalization-orchestrator.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/internalization-route.test.js +1 -1
- package/core/dist/runtime-v2/__tests__/internalization-route.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/internalization-state-machine.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/l1-hard-cap.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/operator-health-cold-start-guard.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/pain-signal-bridge-result-shaping.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/pain-signal-runtime-factory-edge-cases.test.d.ts +8 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-runtime-factory-edge-cases.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-runtime-factory-edge-cases.test.js +168 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-runtime-factory-edge-cases.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.js +13 -2
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/philosopher-runner-vslice.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/pi-artifact-store.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.js +150 -0
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/pruning-mask.test.d.ts +25 -0
- package/core/dist/runtime-v2/__tests__/pruning-mask.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pruning-mask.test.js +281 -0
- package/core/dist/runtime-v2/__tests__/pruning-mask.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/resolve-runtime-config-from-pd-config.test.js +8 -8
- package/core/dist/runtime-v2/__tests__/resolve-runtime-config-from-pd-config.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/rollout-reviewer-runner-vslice.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/schema-orphan-detection.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/schema-version.test.d.ts +19 -0
- package/core/dist/runtime-v2/__tests__/schema-version.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/schema-version.test.js +176 -0
- package/core/dist/runtime-v2/__tests__/schema-version.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-vslice.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.js +20 -5
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/task-state-semantics.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/task-three-strikes.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/workflow-funnel-loader.test.d.ts +29 -0
- package/core/dist/runtime-v2/__tests__/workflow-funnel-loader.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/workflow-funnel-loader.test.js +431 -0
- package/core/dist/runtime-v2/__tests__/workflow-funnel-loader.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/workspace-leak-guard.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/workspace-leak-guard.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/workspace-leak-guard.test.js +110 -0
- package/core/dist/runtime-v2/__tests__/workspace-leak-guard.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.js +109 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/__tests__/activation-re-dispatch.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/__tests__/approval-completion-service.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/__tests__/approval-store-extended.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/__tests__/helpers.js.map +1 -1
- package/core/dist/runtime-v2/activation/__tests__/memory-activation-state-store.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/__tests__/prompt-activation-reader-contract.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts +11 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/activation-dispatcher.js +60 -6
- package/core/dist/runtime-v2/activation/activation-dispatcher.js.map +1 -1
- package/core/dist/runtime-v2/activation/activation-types.d.ts +4 -0
- package/core/dist/runtime-v2/activation/activation-types.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/approval-completion-service.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/approval-completion-service.js.map +1 -1
- package/core/dist/runtime-v2/activation/approval-queue.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/approval-queue.js.map +1 -1
- package/core/dist/runtime-v2/activation/low-risk-writers.d.ts +2 -2
- package/core/dist/runtime-v2/activation/low-risk-writers.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/memory-activation-state-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/memory-approval-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/prompt-activation-reader-contract.js.map +1 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js.map +1 -1
- package/core/dist/runtime-v2/activation/sqlite-approval-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/sqlite-approval-store.js.map +1 -1
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts +1 -1
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/__tests__/artificer-l2-adapter.test.js +13 -3
- package/core/dist/runtime-v2/adapter/__tests__/artificer-l2-adapter.test.js.map +1 -1
- package/core/dist/runtime-v2/adapter/__tests__/l2-agent-loop-adapter.test.js +3 -2
- package/core/dist/runtime-v2/adapter/__tests__/l2-agent-loop-adapter.test.js.map +1 -1
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter-message-file.test.d.ts +19 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter-message-file.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter-message-file.test.js +188 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter-message-file.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.js +102 -9
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.js.map +1 -1
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.js +51 -23
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.js.map +1 -1
- package/core/dist/runtime-v2/adapter/__tests__/principle-tree-ledger-adapter.test.js.map +1 -1
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.js +1 -1
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.js.map +1 -1
- package/core/dist/runtime-v2/adapter/artificer-l2-adapter.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/artificer-l2-adapter.js +2 -1
- package/core/dist/runtime-v2/adapter/artificer-l2-adapter.js.map +1 -1
- package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.d.ts +1 -1
- package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.js +2 -2
- package/core/dist/runtime-v2/adapter/l2-agent-loop-adapter.js.map +1 -1
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.js +42 -16
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.js.map +1 -1
- package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts +1 -1
- package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/output-schema-registry.d.ts +36 -0
- package/core/dist/runtime-v2/adapter/output-schema-registry.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/output-schema-registry.js +44 -0
- package/core/dist/runtime-v2/adapter/output-schema-registry.js.map +1 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts +17 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js +61 -33
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js.map +1 -1
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/structured-output-repair.js.map +1 -1
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.js +1 -1
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.js.map +1 -1
- package/core/dist/runtime-v2/admission-gate.js.map +1 -1
- package/core/dist/runtime-v2/agent-spec.d.ts +10 -10
- package/core/dist/runtime-v2/agent-spec.d.ts.map +1 -1
- package/core/dist/runtime-v2/candidate-intake-service.d.ts.map +1 -1
- package/core/dist/runtime-v2/candidate-intake.d.ts +5 -5
- package/core/dist/runtime-v2/candidate-intake.d.ts.map +1 -1
- package/core/dist/runtime-v2/candidate-intake.js.map +1 -1
- package/core/dist/runtime-v2/config/__tests__/pd-config-agent-binding.test.js +29 -1
- package/core/dist/runtime-v2/config/__tests__/pd-config-agent-binding.test.js.map +1 -1
- package/core/dist/runtime-v2/config/__tests__/pd-config-context-injection.test.d.ts +2 -0
- package/core/dist/runtime-v2/config/__tests__/pd-config-context-injection.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/config/__tests__/pd-config-context-injection.test.js +308 -0
- package/core/dist/runtime-v2/config/__tests__/pd-config-context-injection.test.js.map +1 -0
- package/core/dist/runtime-v2/config/__tests__/pd-config-contract.test.js +5 -4
- package/core/dist/runtime-v2/config/__tests__/pd-config-contract.test.js.map +1 -1
- package/core/dist/runtime-v2/config/__tests__/pd-config-validation-edge-cases.test.js +44 -0
- package/core/dist/runtime-v2/config/__tests__/pd-config-validation-edge-cases.test.js.map +1 -1
- package/core/dist/runtime-v2/config/index.d.ts +1 -1
- package/core/dist/runtime-v2/config/index.d.ts.map +1 -1
- package/core/dist/runtime-v2/config/index.js.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-agent-binding.d.ts +2 -0
- package/core/dist/runtime-v2/config/pd-config-agent-binding.d.ts.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-agent-binding.js +16 -0
- package/core/dist/runtime-v2/config/pd-config-agent-binding.js.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-defaults.d.ts +2 -2
- package/core/dist/runtime-v2/config/pd-config-defaults.d.ts.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-defaults.js +5 -15
- package/core/dist/runtime-v2/config/pd-config-defaults.js.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-effective.d.ts.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-effective.js.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-feature-flags.d.ts +1 -1
- package/core/dist/runtime-v2/config/pd-config-feature-flags.d.ts.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-types.d.ts +25 -10
- package/core/dist/runtime-v2/config/pd-config-types.d.ts.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-types.js.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-validate.d.ts.map +1 -1
- package/core/dist/runtime-v2/config/pd-config-validate.js +9 -0
- package/core/dist/runtime-v2/config/pd-config-validate.js.map +1 -1
- package/core/dist/runtime-v2/context-payload.d.ts +8 -8
- package/core/dist/runtime-v2/core-principles/core-axiom-block.js.map +1 -1
- package/core/dist/runtime-v2/detection/__tests__/detection-funnel-policy.test.js.map +1 -1
- package/core/dist/runtime-v2/detection/detection-funnel-policy.d.ts.map +1 -1
- package/core/dist/runtime-v2/diagnostician/__tests__/diag-distiller-output.test.js +46 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diag-distiller-output.test.js.map +1 -1
- package/core/dist/runtime-v2/diagnostician/diag-distiller-output.d.ts +2 -0
- package/core/dist/runtime-v2/diagnostician/diag-distiller-output.d.ts.map +1 -1
- package/core/dist/runtime-v2/diagnostician/diag-distiller-output.js +29 -2
- package/core/dist/runtime-v2/diagnostician/diag-distiller-output.js.map +1 -1
- package/core/dist/runtime-v2/diagnostician/diag-rootcause-output.d.ts.map +1 -1
- package/core/dist/runtime-v2/diagnostician/distiller-prompt-builder.d.ts.map +1 -1
- package/core/dist/runtime-v2/diagnostician/distiller-prompt-builder.js.map +1 -1
- package/core/dist/runtime-v2/diagnostician/rootcause-prompt-builder.d.ts.map +1 -1
- package/core/dist/runtime-v2/diagnostician/rootcause-prompt-builder.js.map +1 -1
- package/core/dist/runtime-v2/diagnostician/router-prompt-builder.d.ts.map +1 -1
- package/core/dist/runtime-v2/diagnostician/router-prompt-builder.js.map +1 -1
- package/core/dist/runtime-v2/diagnostician-output.d.ts.map +1 -1
- package/core/dist/runtime-v2/diagnostician-output.js +7 -1
- package/core/dist/runtime-v2/diagnostician-output.js.map +1 -1
- package/core/dist/runtime-v2/error-categories.d.ts +2 -2
- package/core/dist/runtime-v2/error-categories.d.ts.map +1 -1
- package/core/dist/runtime-v2/error-categories.js +4 -1
- package/core/dist/runtime-v2/error-categories.js.map +1 -1
- package/core/dist/runtime-v2/evidence-triage/__tests__/admission-events.test.js.map +1 -1
- package/core/dist/runtime-v2/evidence-triage/__tests__/observation-resolver.test.js.map +1 -1
- package/core/dist/runtime-v2/evidence-triage/__tests__/triage-policy.test.js.map +1 -1
- package/core/dist/runtime-v2/evidence-triage/trigger-controller.js.map +1 -1
- package/core/dist/runtime-v2/feature-flags/__tests__/artifact-summary-redundancy-flag.test.d.ts +15 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/artifact-summary-redundancy-flag.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/artifact-summary-redundancy-flag.test.js +90 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/artifact-summary-redundancy-flag.test.js.map +1 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/context-manifest-budget-flag.test.d.ts +12 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/context-manifest-budget-flag.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/context-manifest-budget-flag.test.js +114 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/context-manifest-budget-flag.test.js.map +1 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js +66 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js.map +1 -1
- package/core/dist/runtime-v2/feature-flags/__tests__/progressive-evaluator-flag.test.d.ts +8 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/progressive-evaluator-flag.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/progressive-evaluator-flag.test.js +56 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/progressive-evaluator-flag.test.js.map +1 -0
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts +1 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +1 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js +56 -1
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +1 -1
- package/core/dist/runtime-v2/feature-flags/plugin-surface-registry.js.map +1 -1
- package/core/dist/runtime-v2/feature-flags/surface-guard-policy.js.map +1 -1
- package/core/dist/runtime-v2/feedback/__tests__/create-report-agent-draft.test.d.ts +2 -0
- package/core/dist/runtime-v2/feedback/__tests__/create-report-agent-draft.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/feedback/__tests__/create-report-agent-draft.test.js +221 -0
- package/core/dist/runtime-v2/feedback/__tests__/create-report-agent-draft.test.js.map +1 -0
- package/core/dist/runtime-v2/feedback/__tests__/mailto-url.test.d.ts +11 -0
- package/core/dist/runtime-v2/feedback/__tests__/mailto-url.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/feedback/__tests__/mailto-url.test.js +160 -0
- package/core/dist/runtime-v2/feedback/__tests__/mailto-url.test.js.map +1 -0
- package/core/dist/runtime-v2/feedback/__tests__/pending-agent-draft-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/feedback/__tests__/pending-agent-draft-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/feedback/__tests__/pending-agent-draft-store.test.js +342 -0
- package/core/dist/runtime-v2/feedback/__tests__/pending-agent-draft-store.test.js.map +1 -0
- package/core/dist/runtime-v2/feedback/create-report.d.ts +7 -1
- package/core/dist/runtime-v2/feedback/create-report.d.ts.map +1 -1
- package/core/dist/runtime-v2/feedback/create-report.js +65 -7
- package/core/dist/runtime-v2/feedback/create-report.js.map +1 -1
- package/core/dist/runtime-v2/feedback/feedback-types.d.ts +18 -1
- package/core/dist/runtime-v2/feedback/feedback-types.d.ts.map +1 -1
- package/core/dist/runtime-v2/feedback/feedback-types.js +19 -12
- package/core/dist/runtime-v2/feedback/feedback-types.js.map +1 -1
- package/core/dist/runtime-v2/feedback/index.d.ts +3 -1
- package/core/dist/runtime-v2/feedback/index.d.ts.map +1 -1
- package/core/dist/runtime-v2/feedback/index.js +7 -1
- package/core/dist/runtime-v2/feedback/index.js.map +1 -1
- package/core/dist/runtime-v2/feedback/pending-agent-draft-store.d.ts +106 -0
- package/core/dist/runtime-v2/feedback/pending-agent-draft-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/feedback/pending-agent-draft-store.js +220 -0
- package/core/dist/runtime-v2/feedback/pending-agent-draft-store.js.map +1 -0
- package/core/dist/runtime-v2/feedback/privacy-preview.d.ts +16 -0
- package/core/dist/runtime-v2/feedback/privacy-preview.d.ts.map +1 -1
- package/core/dist/runtime-v2/feedback/privacy-preview.js +54 -0
- package/core/dist/runtime-v2/feedback/privacy-preview.js.map +1 -1
- package/core/dist/runtime-v2/feedback/redact-sensitive.js.map +1 -1
- package/core/dist/runtime-v2/feedback/render-markdown.js.map +1 -1
- package/core/dist/runtime-v2/full-trace-contract.d.ts +8 -8
- package/core/dist/runtime-v2/full-trace-contract.d.ts.map +1 -1
- package/core/dist/runtime-v2/gfi/__tests__/gfi-kernel.test.js.map +1 -1
- package/core/dist/runtime-v2/gfi/__tests__/gfi-read-model.test.js.map +1 -1
- package/core/dist/runtime-v2/gfi/gfi-kernel.js.map +1 -1
- package/core/dist/runtime-v2/golden-trace.js.map +1 -1
- package/core/dist/runtime-v2/index.d.ts +11 -2
- package/core/dist/runtime-v2/index.d.ts.map +1 -1
- package/core/dist/runtime-v2/index.js +13 -1
- package/core/dist/runtime-v2/index.js.map +1 -1
- package/core/dist/runtime-v2/intent/__tests__/intent-patch-proposal.test.js.map +1 -1
- package/core/dist/runtime-v2/intent/intent-doc-reader-port.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/__fixtures__/intent-tension-cases.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/adversarial-case.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/adversarial-feedback.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/artifact-content-hash.property.test.d.ts +11 -0
- package/core/dist/runtime-v2/internalization/__tests__/artifact-content-hash.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/artifact-content-hash.property.test.js +124 -0
- package/core/dist/runtime-v2/internalization/__tests__/artifact-content-hash.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/artifact-summary.property.test.d.ts +12 -0
- package/core/dist/runtime-v2/internalization/__tests__/artifact-summary.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/artifact-summary.property.test.js +253 -0
- package/core/dist/runtime-v2/internalization/__tests__/artifact-summary.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.js +175 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/behavior-example-pack.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/c2-live-runner-chain.test.js +32 -5
- package/core/dist/runtime-v2/internalization/__tests__/c2-live-runner-chain.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/candidate-lineage.property.test.d.ts +15 -0
- package/core/dist/runtime-v2/internalization/__tests__/candidate-lineage.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/candidate-lineage.property.test.js +301 -0
- package/core/dist/runtime-v2/internalization/__tests__/candidate-lineage.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/context-manifest.property.test.d.ts +12 -0
- package/core/dist/runtime-v2/internalization/__tests__/context-manifest.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/context-manifest.property.test.js +176 -0
- package/core/dist/runtime-v2/internalization/__tests__/context-manifest.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/diag-chain-e2e.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/diag-distiller-runner.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/diag-rootcause-intent-tension.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/diag-rootcause-runner.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/diag-router-intent-tension.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/diag-router-runner.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/internalization-consumer-decision.test.js +27 -1
- package/core/dist/runtime-v2/internalization/__tests__/internalization-consumer-decision.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/internalization-task-guards.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-runner-trust-boundary.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-toggle-characterization.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-toggle-characterization.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-toggle-characterization.test.js +279 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-toggle-characterization.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-scope-regression.test.d.ts +22 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-scope-regression.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-scope-regression.test.js +92 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-scope-regression.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike-fixtures.d.ts +165 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike-fixtures.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike-fixtures.js +659 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike-fixtures.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike-fixtures.test.d.ts +22 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike-fixtures.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike-fixtures.test.js +229 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike-fixtures.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike.test.js +1039 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-disclosure-spike.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-evaluator-stage-isolation.property.test.d.ts +13 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-evaluator-stage-isolation.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-evaluator-stage-isolation.property.test.js +257 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-evaluator-stage-isolation.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-evaluator.property.test.d.ts +11 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-evaluator.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-evaluator.property.test.js +154 -0
- package/core/dist/runtime-v2/internalization/__tests__/progressive-evaluator.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/prompt-budget-manager.property.test.d.ts +12 -0
- package/core/dist/runtime-v2/internalization/__tests__/prompt-budget-manager.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/prompt-budget-manager.property.test.js +254 -0
- package/core/dist/runtime-v2/internalization/__tests__/prompt-budget-manager.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.js +14 -5
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/refiner-rulehost-gate.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/refiner-sandbox-wrapper.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/resolve-injection.property.test.d.ts +15 -0
- package/core/dist/runtime-v2/internalization/__tests__/resolve-injection.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/resolve-injection.property.test.js +150 -0
- package/core/dist/runtime-v2/internalization/__tests__/resolve-injection.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/rule-code-dialect.test.js +29 -0
- package/core/dist/runtime-v2/internalization/__tests__/rule-code-dialect.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/rule-context-v2.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/split-diagnostician-runner-retry.test.js +173 -0
- package/core/dist/runtime-v2/internalization/__tests__/split-diagnostician-runner-retry.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/summary-chain-flow.property.test.d.ts +22 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-chain-flow.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-chain-flow.property.test.js +280 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-chain-flow.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-envelope-writer.property.test.d.ts +25 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-envelope-writer.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-envelope-writer.property.test.js +413 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-envelope-writer.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-freshness.property.test.d.ts +12 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-freshness.property.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-freshness.property.test.js +176 -0
- package/core/dist/runtime-v2/internalization/__tests__/summary-freshness.property.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/artifact-content-hash.d.ts +19 -0
- package/core/dist/runtime-v2/internalization/artifact-content-hash.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/artifact-content-hash.js +116 -0
- package/core/dist/runtime-v2/internalization/artifact-content-hash.js.map +1 -0
- package/core/dist/runtime-v2/internalization/artifact-summary.d.ts +106 -0
- package/core/dist/runtime-v2/internalization/artifact-summary.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/artifact-summary.js +331 -0
- package/core/dist/runtime-v2/internalization/artifact-summary.js.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-output.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts +42 -1
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.js +22 -3
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.js.map +1 -1
- package/core/dist/runtime-v2/internalization/artificer-runner.d.ts +22 -0
- package/core/dist/runtime-v2/internalization/artificer-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/artificer-runner.js +229 -3
- package/core/dist/runtime-v2/internalization/artificer-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/attach-summary-envelope.d.ts +60 -0
- package/core/dist/runtime-v2/internalization/attach-summary-envelope.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/attach-summary-envelope.js +126 -0
- package/core/dist/runtime-v2/internalization/attach-summary-envelope.js.map +1 -0
- package/core/dist/runtime-v2/internalization/candidate-lineage.d.ts +136 -0
- package/core/dist/runtime-v2/internalization/candidate-lineage.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/candidate-lineage.js +230 -0
- package/core/dist/runtime-v2/internalization/candidate-lineage.js.map +1 -0
- package/core/dist/runtime-v2/internalization/context-manifest.d.ts +117 -0
- package/core/dist/runtime-v2/internalization/context-manifest.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/context-manifest.js +156 -0
- package/core/dist/runtime-v2/internalization/context-manifest.js.map +1 -0
- package/core/dist/runtime-v2/internalization/context-manifests.d.ts +74 -0
- package/core/dist/runtime-v2/internalization/context-manifests.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/context-manifests.js +192 -0
- package/core/dist/runtime-v2/internalization/context-manifests.js.map +1 -0
- package/core/dist/runtime-v2/internalization/correction-proposal.js.map +1 -1
- package/core/dist/runtime-v2/internalization/diag-distiller-runner.d.ts +1 -1
- package/core/dist/runtime-v2/internalization/diag-distiller-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/diag-distiller-runner.js +23 -2
- package/core/dist/runtime-v2/internalization/diag-distiller-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/diag-rootcause-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/diag-rootcause-runner.js +9 -1
- package/core/dist/runtime-v2/internalization/diag-rootcause-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/diag-router-runner.d.ts +7 -2
- package/core/dist/runtime-v2/internalization/diag-router-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/diag-router-runner.js +28 -1
- package/core/dist/runtime-v2/internalization/diag-router-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/dimension-coverage-policy.d.ts +54 -0
- package/core/dist/runtime-v2/internalization/dimension-coverage-policy.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/dimension-coverage-policy.js +70 -0
- package/core/dist/runtime-v2/internalization/dimension-coverage-policy.js.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-output.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.js.map +1 -1
- package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts +9 -1
- package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/dreamer-runner.js +41 -7
- package/core/dist/runtime-v2/internalization/dreamer-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/evaluator-output.d.ts +27 -1
- package/core/dist/runtime-v2/internalization/evaluator-output.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/evaluator-output.js +7 -1
- package/core/dist/runtime-v2/internalization/evaluator-output.js.map +1 -1
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts +1 -1
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.js +12 -0
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.js.map +1 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts +115 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.js +384 -5
- package/core/dist/runtime-v2/internalization/evaluator-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/index.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/index.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/index.js +2 -0
- package/core/dist/runtime-v2/internalization/index.js.map +1 -1
- package/core/dist/runtime-v2/internalization/internalization-consumer-decision.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/internalization-consumer-decision.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/internalization-consumer-decision.js +25 -2
- package/core/dist/runtime-v2/internalization/internalization-consumer-decision.js.map +1 -1
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.d.ts +1 -1
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.js +44 -1
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.js.map +1 -1
- package/core/dist/runtime-v2/internalization/internalization-task-guards.js.map +1 -1
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.d.ts +3 -0
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.js.map +1 -1
- package/core/dist/runtime-v2/internalization/philosopher-output.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.js.map +1 -1
- package/core/dist/runtime-v2/internalization/philosopher-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/philosopher-runner.js +25 -1
- package/core/dist/runtime-v2/internalization/philosopher-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/pi-artifact-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/pitask-metadata.d.ts +35 -1
- package/core/dist/runtime-v2/internalization/pitask-metadata.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/pitask-metadata.js +64 -0
- package/core/dist/runtime-v2/internalization/pitask-metadata.js.map +1 -1
- package/core/dist/runtime-v2/internalization/progressive-evaluator.d.ts +115 -0
- package/core/dist/runtime-v2/internalization/progressive-evaluator.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/progressive-evaluator.js +248 -0
- package/core/dist/runtime-v2/internalization/progressive-evaluator.js.map +1 -0
- package/core/dist/runtime-v2/internalization/prompt-budget-manager.d.ts +90 -0
- package/core/dist/runtime-v2/internalization/prompt-budget-manager.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/prompt-budget-manager.js +149 -0
- package/core/dist/runtime-v2/internalization/prompt-budget-manager.js.map +1 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.d.ts +11 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/queue-actionability.js +12 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.js.map +1 -1
- package/core/dist/runtime-v2/internalization/resolve-injection.d.ts +62 -0
- package/core/dist/runtime-v2/internalization/resolve-injection.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/resolve-injection.js +78 -0
- package/core/dist/runtime-v2/internalization/resolve-injection.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.d.ts +1 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/routing-policy.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/rule-code-validator.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/rule-code-validator.js +7 -1
- package/core/dist/runtime-v2/internalization/rule-code-validator.js.map +1 -1
- package/core/dist/runtime-v2/internalization/rule-host-input-builder.js.map +1 -1
- package/core/dist/runtime-v2/internalization/scribe-output.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.js.map +1 -1
- package/core/dist/runtime-v2/internalization/scribe-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/scribe-runner.js +33 -1
- package/core/dist/runtime-v2/internalization/scribe-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.js +75 -13
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/summary-field-reader.d.ts +38 -0
- package/core/dist/runtime-v2/internalization/summary-field-reader.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/summary-field-reader.js +108 -0
- package/core/dist/runtime-v2/internalization/summary-field-reader.js.map +1 -0
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization-integrity-remediation.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization-queue-read-model.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization-queue-read-model.js.map +1 -1
- package/core/dist/runtime-v2/language-directive.d.ts +1 -1
- package/core/dist/runtime-v2/language-directive.d.ts.map +1 -1
- package/core/dist/runtime-v2/language-directive.js.map +1 -1
- package/core/dist/runtime-v2/mainline-contract.js.map +1 -1
- package/core/dist/runtime-v2/observer/agent-scheduler.d.ts.map +1 -1
- package/core/dist/runtime-v2/observer/correction-observer.d.ts.map +1 -1
- package/core/dist/runtime-v2/observer/empathy-observer.d.ts.map +1 -1
- package/core/dist/runtime-v2/operator-health-read-model.d.ts.map +1 -1
- package/core/dist/runtime-v2/pain-chain-read-model.d.ts.map +1 -1
- package/core/dist/runtime-v2/pain-gate/__tests__/pain-diagnostic-gate-policy.test.js.map +1 -1
- package/core/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.d.ts +1 -1
- package/core/dist/runtime-v2/pain-gate/pain-diagnostic-gate-policy.d.ts.map +1 -1
- package/core/dist/runtime-v2/pain-signal-bridge.d.ts.map +1 -1
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts +4 -0
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts.map +1 -1
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js +3 -1
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js.map +1 -1
- package/core/dist/runtime-v2/pain-to-principle-service.d.ts +2 -0
- package/core/dist/runtime-v2/pain-to-principle-service.d.ts.map +1 -1
- package/core/dist/runtime-v2/pain-to-principle-service.js +2 -0
- package/core/dist/runtime-v2/pain-to-principle-service.js.map +1 -1
- package/core/dist/runtime-v2/proven-channel-baseline.js +1 -1
- package/core/dist/runtime-v2/proven-channel-baseline.js.map +1 -1
- package/core/dist/runtime-v2/pruning-read-model.d.ts.map +1 -1
- package/core/dist/runtime-v2/recovery-sweep-service.js.map +1 -1
- package/core/dist/runtime-v2/runner/__tests__/base-peer-runner-agent-draft.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/base-peer-runner-agent-draft.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/base-peer-runner-agent-draft.test.js +459 -0
- package/core/dist/runtime-v2/runner/__tests__/base-peer-runner-agent-draft.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/base-peer-runner-rate-limit-degradation.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/base-peer-runner-rate-limit-degradation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/base-peer-runner-rate-limit-degradation.test.js +320 -0
- package/core/dist/runtime-v2/runner/__tests__/base-peer-runner-rate-limit-degradation.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.js +63 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.js.map +1 -1
- package/core/dist/runtime-v2/runner/__tests__/diagnose.test.js.map +1 -1
- package/core/dist/runtime-v2/runner/base-peer-runner.d.ts +117 -4
- package/core/dist/runtime-v2/runner/base-peer-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/runner/base-peer-runner.js +403 -0
- package/core/dist/runtime-v2/runner/base-peer-runner.js.map +1 -1
- package/core/dist/runtime-v2/runner/default-validator.d.ts.map +1 -1
- package/core/dist/runtime-v2/runner/default-validator.js +31 -3
- package/core/dist/runtime-v2/runner/default-validator.js.map +1 -1
- package/core/dist/runtime-v2/runner/diagnostician-validator.d.ts.map +1 -1
- package/core/dist/runtime-v2/runner/peer-runner-types.d.ts +36 -0
- package/core/dist/runtime-v2/runner/peer-runner-types.d.ts.map +1 -1
- package/core/dist/runtime-v2/runtime-protocol.d.ts +1 -1
- package/core/dist/runtime-v2/schema-conformance-read-model.d.ts.map +1 -1
- package/core/dist/runtime-v2/signal-collector/types.d.ts.map +1 -1
- package/core/dist/runtime-v2/stalled-diagnostician-task-read-model.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.js.map +1 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.js.map +1 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.js.map +1 -1
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.js.map +1 -1
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.d.ts +15 -0
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.js +32 -1
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.js.map +1 -1
- package/core/dist/runtime-v2/store/commit/memory-commit-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.js.map +1 -1
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.js.map +1 -1
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.js.map +1 -1
- package/core/dist/runtime-v2/store/diagnostician-committer.test.js +36 -2
- package/core/dist/runtime-v2/store/diagnostician-committer.test.js.map +1 -1
- package/core/dist/runtime-v2/store/event-emitter.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/history/resilient-history-query.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/history/resilient-history-query.js.map +1 -1
- package/core/dist/runtime-v2/store/history/sqlite-history-query.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/history/sqlite-history-query.js.map +1 -1
- package/core/dist/runtime-v2/store/intent/__tests__/sqlite-intent-decision-store.test.js.map +1 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-decision-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-decision-store.js.map +1 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-doc-version-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/intent/sqlite-intent-doc-version-store.js.map +1 -1
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.js.map +1 -1
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.test.js.map +1 -1
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.js.map +1 -1
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.test.js.map +1 -1
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.js.map +1 -1
- package/core/dist/runtime-v2/store/pain/__tests__/sqlite-dead-letter-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/pain/__tests__/sqlite-dead-letter-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/pain/__tests__/sqlite-dead-letter-store.test.js +225 -0
- package/core/dist/runtime-v2/store/pain/__tests__/sqlite-dead-letter-store.test.js.map +1 -0
- package/core/dist/runtime-v2/store/pain/index.d.ts +3 -0
- package/core/dist/runtime-v2/store/pain/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/pain/index.js +2 -0
- package/core/dist/runtime-v2/store/pain/index.js.map +1 -0
- package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.d.ts +70 -0
- package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.js +154 -0
- package/core/dist/runtime-v2/store/pain/sqlite-dead-letter-store.js.map +1 -0
- package/core/dist/runtime-v2/store/run/memory-run-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/run/sqlite-run-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/run/sqlite-run-store.js.map +1 -1
- package/core/dist/runtime-v2/store/runtime-state-manager.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/runtime-state-manager.integration.test.js.map +1 -1
- package/core/dist/runtime-v2/store/runtime-state-manager.js.map +1 -1
- package/core/dist/runtime-v2/store/sqlite-connection.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/sqlite-connection.js +46 -1
- package/core/dist/runtime-v2/store/sqlite-connection.js.map +1 -1
- package/core/dist/runtime-v2/store/sqlite-task-store.test.js.map +1 -1
- package/core/dist/runtime-v2/store/task/__tests__/sqlite-task-store.failed-tasks.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/task/__tests__/sqlite-task-store.failed-tasks.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/__tests__/sqlite-task-store.failed-tasks.test.js +442 -0
- package/core/dist/runtime-v2/store/task/__tests__/sqlite-task-store.failed-tasks.test.js.map +1 -0
- package/core/dist/runtime-v2/store/task/index.d.ts +1 -0
- package/core/dist/runtime-v2/store/task/index.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/task/index.js.map +1 -1
- package/core/dist/runtime-v2/store/task/memory-task-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts +45 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/task/sqlite-task-store.js +205 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.js.map +1 -1
- package/core/dist/runtime-v2/store/task/task-types.d.ts +60 -0
- package/core/dist/runtime-v2/store/task/task-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/task-types.js +2 -0
- package/core/dist/runtime-v2/store/task/task-types.js.map +1 -0
- package/core/dist/runtime-v2/store/task-migration.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/task-migration.js.map +1 -1
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.test.js.map +1 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.js.map +1 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.js.map +1 -1
- package/core/dist/runtime-v2/store/workspace-leak-guard.d.ts +23 -0
- package/core/dist/runtime-v2/store/workspace-leak-guard.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/workspace-leak-guard.js +111 -0
- package/core/dist/runtime-v2/store/workspace-leak-guard.js.map +1 -0
- package/core/dist/runtime-v2/story-a-demo.d.ts +1 -1
- package/core/dist/runtime-v2/story-a-demo.d.ts.map +1 -1
- package/core/dist/runtime-v2/story-a-demo.js +8 -10
- package/core/dist/runtime-v2/story-a-demo.js.map +1 -1
- package/core/dist/runtime-v2/task-status.d.ts +2 -2
- package/core/dist/runtime-v2/tools/__tests__/agent-tool-contract.test.js.map +1 -1
- package/core/dist/runtime-v2/tools/__tests__/artificer-l2-tool-contract.test.js.map +1 -1
- package/core/dist/runtime-v2/tools/__tests__/dreamer-output-typebox.test.js.map +1 -1
- package/core/dist/runtime-v2/trace-refiner.d.ts +2 -2
- package/core/dist/runtime-v2/trace-refiner.d.ts.map +1 -1
- package/core/dist/runtime-v2/types/evidence-chain-contract.js.map +1 -1
- package/core/dist/trajectory-store.js.map +1 -1
- package/core/dist/trajectory-store.test.d.ts +2 -0
- package/core/dist/trajectory-store.test.d.ts.map +1 -0
- package/core/dist/trajectory-store.test.js +251 -0
- package/core/dist/trajectory-store.test.js.map +1 -0
- package/core/dist/workflow-funnel-loader.d.ts.map +1 -1
- package/core/package.json +13 -7
- package/dist/i18n.d.ts.map +1 -1
- package/dist/i18n.js +56 -6
- package/dist/i18n.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +186 -27
- package/dist/index.js.map +1 -1
- package/dist/installer.d.ts +11 -2
- package/dist/installer.d.ts.map +1 -1
- package/dist/installer.js +296 -145
- package/dist/installer.js.map +1 -1
- package/dist/installers/codex-host-installer.d.ts +15 -0
- package/dist/installers/codex-host-installer.d.ts.map +1 -0
- package/dist/installers/codex-host-installer.js +445 -0
- package/dist/installers/codex-host-installer.js.map +1 -0
- package/dist/installers/index.d.ts +40 -0
- package/dist/installers/index.d.ts.map +1 -0
- package/dist/installers/index.js +35 -0
- package/dist/installers/index.js.map +1 -0
- package/dist/installers/openclaw-host-installer.d.ts +18 -0
- package/dist/installers/openclaw-host-installer.d.ts.map +1 -0
- package/dist/installers/openclaw-host-installer.js +404 -0
- package/dist/installers/openclaw-host-installer.js.map +1 -0
- package/dist/mvp-config.d.ts +23 -4
- package/dist/mvp-config.d.ts.map +1 -1
- package/dist/mvp-config.js +15 -7
- package/dist/mvp-config.js.map +1 -1
- package/dist/prompts.d.ts +17 -1
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +114 -0
- package/dist/prompts.js.map +1 -1
- package/dist/uninstaller.d.ts +18 -1
- package/dist/uninstaller.d.ts.map +1 -1
- package/dist/uninstaller.js +60 -75
- package/dist/uninstaller.js.map +1 -1
- package/dist/updater.d.ts +0 -6
- package/dist/updater.d.ts.map +1 -1
- package/dist/updater.js +0 -11
- package/dist/updater.js.map +1 -1
- package/dist/utils/env.d.ts +14 -0
- package/dist/utils/env.d.ts.map +1 -1
- package/dist/utils/env.js +35 -2
- package/dist/utils/env.js.map +1 -1
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/logger.js.map +1 -1
- package/package.json +7 -7
- package/pd-cli/dist/commands/__tests__/pain-retry-maxTokens-flag.test.d.ts +2 -0
- package/pd-cli/dist/commands/__tests__/pain-retry-maxTokens-flag.test.d.ts.map +1 -0
- package/pd-cli/dist/commands/__tests__/pain-retry-maxTokens-flag.test.js +60 -0
- package/pd-cli/dist/commands/__tests__/pain-retry-maxTokens-flag.test.js.map +1 -0
- package/pd-cli/dist/commands/__tests__/rulecode-flag-wiring.test.js +11 -4
- package/pd-cli/dist/commands/__tests__/rulecode-flag-wiring.test.js.map +1 -1
- package/pd-cli/dist/commands/__tests__/runtime-probe-config.test.js +2 -2
- package/pd-cli/dist/commands/__tests__/runtime-probe-config.test.js.map +1 -1
- package/pd-cli/dist/commands/admission-gate.d.ts +24 -0
- package/pd-cli/dist/commands/admission-gate.d.ts.map +1 -0
- package/pd-cli/dist/commands/admission-gate.js +29 -0
- package/pd-cli/dist/commands/admission-gate.js.map +1 -0
- package/pd-cli/dist/commands/candidate.d.ts.map +1 -1
- package/pd-cli/dist/commands/candidate.js +2 -21
- package/pd-cli/dist/commands/candidate.js.map +1 -1
- package/pd-cli/dist/commands/console.d.ts.map +1 -1
- package/pd-cli/dist/commands/console.js +40 -0
- package/pd-cli/dist/commands/console.js.map +1 -1
- package/pd-cli/dist/commands/demo-story-a.js.map +1 -1
- package/pd-cli/dist/commands/diagnose.d.ts.map +1 -1
- package/pd-cli/dist/commands/diagnose.js +88 -9
- package/pd-cli/dist/commands/diagnose.js.map +1 -1
- package/pd-cli/dist/commands/errors-list.d.ts +25 -0
- package/pd-cli/dist/commands/errors-list.d.ts.map +1 -0
- package/pd-cli/dist/commands/errors-list.js +368 -0
- package/pd-cli/dist/commands/errors-list.js.map +1 -0
- package/pd-cli/dist/commands/health.js.map +1 -1
- package/pd-cli/dist/commands/pain-evidence.d.ts +6 -0
- package/pd-cli/dist/commands/pain-evidence.d.ts.map +1 -1
- package/pd-cli/dist/commands/pain-evidence.js +6 -0
- package/pd-cli/dist/commands/pain-evidence.js.map +1 -1
- package/pd-cli/dist/commands/pain-retry.d.ts +1 -0
- package/pd-cli/dist/commands/pain-retry.d.ts.map +1 -1
- package/pd-cli/dist/commands/pain-retry.js +288 -19
- package/pd-cli/dist/commands/pain-retry.js.map +1 -1
- package/pd-cli/dist/commands/proven-channel-baseline.js.map +1 -1
- package/pd-cli/dist/commands/runtime-canary.d.ts.map +1 -1
- package/pd-cli/dist/commands/runtime-canary.js +28 -5
- package/pd-cli/dist/commands/runtime-canary.js.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-context-trace.d.ts +25 -0
- package/pd-cli/dist/commands/runtime-internalization-context-trace.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-context-trace.js +374 -0
- package/pd-cli/dist/commands/runtime-internalization-context-trace.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-run-once.d.ts.map +1 -1
- package/pd-cli/dist/commands/runtime-internalization-run-once.js +20 -5
- package/pd-cli/dist/commands/runtime-internalization-run-once.js.map +1 -1
- package/pd-cli/dist/commands/runtime-uat.guard.test.js +13 -15
- package/pd-cli/dist/commands/runtime-uat.guard.test.js.map +1 -1
- package/pd-cli/dist/commands/runtime-uat.js.map +1 -1
- package/pd-cli/dist/index.js +21 -3
- package/pd-cli/dist/index.js.map +1 -1
- package/pd-cli/dist/services/__tests__/evaluator-runner-deps.test.d.ts +2 -0
- package/pd-cli/dist/services/__tests__/evaluator-runner-deps.test.d.ts.map +1 -0
- package/pd-cli/dist/services/__tests__/evaluator-runner-deps.test.js +304 -0
- package/pd-cli/dist/services/__tests__/evaluator-runner-deps.test.js.map +1 -0
- package/pd-cli/dist/services/__tests__/rulehost-readiness.test.js.map +1 -1
- package/pd-cli/dist/services/__tests__/runtime-adapter-resolver.test.js.map +1 -1
- package/pd-cli/dist/services/config-doctor.js.map +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 +9 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.js.map +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 +10 -2
- package/pd-cli/dist/services/proven-channel-baseline-runner.js.map +1 -1
- package/pd-cli/dist/services/quality-scorecard/data-extractor.js.map +1 -1
- package/pd-cli/dist/services/resolve-runtime-from-pd-config.js.map +1 -1
- package/pd-cli/dist/services/rulehost-pipeline-runner.d.ts +73 -1
- package/pd-cli/dist/services/rulehost-pipeline-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/rulehost-pipeline-runner.js +107 -6
- package/pd-cli/dist/services/rulehost-pipeline-runner.js.map +1 -1
- package/pd-cli/dist/services/rulehost-readiness.js.map +1 -1
- package/pd-cli/dist/services/runtime-adapter-resolver.d.ts +1 -0
- package/pd-cli/dist/services/runtime-adapter-resolver.d.ts.map +1 -1
- package/pd-cli/dist/services/runtime-adapter-resolver.js +2 -0
- package/pd-cli/dist/services/runtime-adapter-resolver.js.map +1 -1
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts.map +1 -1
- package/pd-cli/dist/services/synthetic-baseline-runner.js +11 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.js.map +1 -1
- package/pd-cli/dist/utils/production-workspace-guard.d.ts +4 -4
- package/pd-cli/dist/utils/production-workspace-guard.d.ts.map +1 -1
- package/pd-cli/dist/utils/production-workspace-guard.js +19 -16
- package/pd-cli/dist/utils/production-workspace-guard.js.map +1 -1
- package/pd-cli/dist/utils/production-workspace-guard.test.js +54 -19
- package/pd-cli/dist/utils/production-workspace-guard.test.js.map +1 -1
- package/pd-cli/package.json +4 -4
- package/plugin/dist/assets/logo.svg +11 -0
- package/plugin/dist/bundle.js +3152 -0
- package/plugin/dist/config/defaults/runtime.d.ts +1 -1
- package/plugin/dist/constants/tools.d.ts +4 -4
- package/plugin/dist/core/config-health.d.ts +1 -11
- package/plugin/dist/core/dictionary.d.ts +1 -1
- package/plugin/dist/core/path-resolver.d.ts +3 -3
- package/plugin/dist/core/signal-collector-host.d.ts +9 -1
- package/plugin/dist/core/system-logger.d.ts +16 -0
- package/plugin/dist/index.d.ts +1 -1
- package/plugin/dist/index.js +1 -808
- package/plugin/dist/openclaw-sdk.d.ts +49 -8
- package/plugin/dist/openclaw.plugin.json +65 -0
- package/plugin/dist/service/evolution-worker.d.ts +27 -1
- package/plugin/dist/templates/langs/en/core/AGENTS.md +205 -0
- package/plugin/dist/templates/langs/en/core/BOOT.md +60 -0
- package/plugin/dist/templates/langs/en/core/BOOTSTRAP.md +259 -0
- package/plugin/dist/templates/langs/en/core/HEARTBEAT.md +74 -0
- package/plugin/dist/templates/langs/en/core/IDENTITY.md +8 -0
- package/plugin/dist/templates/langs/en/core/PRINCIPLES.md +10 -0
- package/plugin/dist/templates/langs/en/core/SOUL.md +46 -0
- package/plugin/dist/templates/langs/en/core/TOOLS.md +15 -0
- package/plugin/dist/templates/langs/en/core/USER.md +10 -0
- package/plugin/dist/templates/langs/en/pain/00_seed_samples.md +23 -0
- package/plugin/dist/templates/langs/en/pain_dictionary.json +22 -0
- package/plugin/dist/templates/langs/en/principles/THINKING_OS.md +77 -0
- package/plugin/dist/templates/langs/en/skills/admin/SKILL.md +39 -0
- package/plugin/dist/templates/langs/en/skills/ai-sprint-orchestration/runtime/.gitignore +2 -0
- package/plugin/dist/templates/langs/en/skills/bootstrap-tools/SKILL.md +53 -0
- package/plugin/dist/templates/langs/en/skills/deductive-audit/SKILL.md +36 -0
- package/plugin/dist/templates/langs/en/skills/evolution-framework-update/SKILL.md +31 -0
- package/plugin/dist/templates/langs/en/skills/evolve-task/SKILL.md +83 -0
- package/plugin/dist/templates/langs/en/skills/feedback/SKILL.md +51 -0
- package/plugin/dist/templates/langs/en/skills/init-strategy/SKILL.md +54 -0
- package/plugin/dist/templates/langs/en/skills/inject-rule/SKILL.md +19 -0
- package/plugin/dist/templates/langs/en/skills/pd-auditor/SKILL.md +61 -0
- package/plugin/dist/templates/langs/en/skills/pd-cli-operator/SKILL.md +76 -0
- package/plugin/dist/templates/langs/en/skills/pd-explorer/SKILL.md +65 -0
- package/plugin/dist/templates/langs/en/skills/pd-implementer/SKILL.md +68 -0
- package/plugin/dist/templates/langs/en/skills/pd-mentor/SKILL.md +213 -0
- package/plugin/dist/templates/langs/en/skills/pd-pain-signal/SKILL.md +30 -0
- package/plugin/dist/templates/langs/en/skills/pd-planner/SKILL.md +65 -0
- package/plugin/dist/templates/langs/en/skills/pd-runtime-v2/SKILL.md +71 -0
- package/plugin/dist/templates/langs/en/skills/profile/SKILL.md +24 -0
- package/plugin/dist/templates/langs/en/skills/reflection/SKILL.md +40 -0
- package/plugin/dist/templates/langs/en/skills/reflection-log/SKILL.md +37 -0
- package/plugin/dist/templates/langs/en/skills/report/SKILL.md +13 -0
- package/plugin/dist/templates/langs/en/skills/root-cause/SKILL.md +33 -0
- package/plugin/dist/templates/langs/en/skills/triage/SKILL.md +29 -0
- package/plugin/dist/templates/langs/en/skills/watch-evolution/SKILL.md +33 -0
- package/plugin/dist/templates/langs/zh/core/AGENTS.md +197 -0
- package/plugin/dist/templates/langs/zh/core/BOOT.md +60 -0
- package/plugin/dist/templates/langs/zh/core/BOOTSTRAP.md +260 -0
- package/plugin/dist/templates/langs/zh/core/HEARTBEAT.md +98 -0
- package/plugin/dist/templates/langs/zh/core/IDENTITY.md +8 -0
- package/plugin/dist/templates/langs/zh/core/PRINCIPLES.md +7 -0
- package/plugin/dist/templates/langs/zh/core/SOUL.md +46 -0
- package/plugin/dist/templates/langs/zh/core/TOOLS.md +15 -0
- package/plugin/dist/templates/langs/zh/core/USER.md +10 -0
- package/plugin/dist/templates/langs/zh/pain/00_seed_samples.md +24 -0
- package/plugin/dist/templates/langs/zh/pain_dictionary.json +18 -0
- package/plugin/dist/templates/langs/zh/principles/THINKING_OS.md +77 -0
- package/plugin/dist/templates/langs/zh/skills/admin/SKILL.md +41 -0
- package/plugin/dist/templates/langs/zh/skills/bootstrap-tools/SKILL.md +52 -0
- package/plugin/dist/templates/langs/zh/skills/deductive-audit/SKILL.md +36 -0
- package/plugin/dist/templates/langs/zh/skills/evolution-framework-update/SKILL.md +31 -0
- package/plugin/dist/templates/langs/zh/skills/evolve-task/SKILL.md +83 -0
- package/plugin/dist/templates/langs/zh/skills/feedback/SKILL.md +53 -0
- package/plugin/dist/templates/langs/zh/skills/init-strategy/SKILL.md +54 -0
- package/plugin/dist/templates/langs/zh/skills/inject-rule/SKILL.md +19 -0
- package/plugin/dist/templates/langs/zh/skills/pd-auditor/SKILL.md +61 -0
- package/plugin/dist/templates/langs/zh/skills/pd-cli-operator/SKILL.md +76 -0
- package/plugin/dist/templates/langs/zh/skills/pd-explorer/SKILL.md +65 -0
- package/plugin/dist/templates/langs/zh/skills/pd-implementer/SKILL.md +68 -0
- package/plugin/dist/templates/langs/zh/skills/pd-mentor/SKILL.md +213 -0
- package/plugin/dist/templates/langs/zh/skills/pd-pain-signal/SKILL.md +30 -0
- package/plugin/dist/templates/langs/zh/skills/pd-planner/SKILL.md +65 -0
- package/plugin/dist/templates/langs/zh/skills/pd-runtime-v2/SKILL.md +71 -0
- package/plugin/dist/templates/langs/zh/skills/profile/SKILL.md +24 -0
- package/plugin/dist/templates/langs/zh/skills/reflection/SKILL.md +40 -0
- package/plugin/dist/templates/langs/zh/skills/reflection-log/SKILL.md +37 -0
- package/plugin/dist/templates/langs/zh/skills/report/SKILL.md +13 -0
- package/plugin/dist/templates/langs/zh/skills/root-cause/SKILL.md +33 -0
- package/plugin/dist/templates/langs/zh/skills/triage/SKILL.md +29 -0
- package/plugin/dist/templates/langs/zh/skills/watch-evolution/SKILL.md +33 -0
- package/plugin/dist/templates/pain_dictionary.json +36 -0
- package/plugin/dist/templates/pain_settings.json +103 -0
- package/plugin/dist/templates/workspace/.principles/DECISION_POLICY.json +44 -0
- package/plugin/dist/templates/workspace/.principles/PRINCIPLES.md +20 -0
- package/plugin/dist/templates/workspace/.principles/PROFILE.json +54 -0
- package/plugin/dist/templates/workspace/.principles/PROFILE.schema.json +56 -0
- package/plugin/dist/templates/workspace/.principles/THINKING_OS.md +65 -0
- package/plugin/dist/templates/workspace/.principles/THINKING_OS_ARCHIVE.md +7 -0
- package/plugin/dist/templates/workspace/.principles/THINKING_OS_CANDIDATES.md +9 -0
- package/plugin/dist/templates/workspace/.principles/models/_INDEX.md +27 -0
- package/plugin/dist/templates/workspace/.principles/models/first_principles.md +62 -0
- package/plugin/dist/templates/workspace/.principles/models/marketing_4p.md +52 -0
- package/plugin/dist/templates/workspace/.principles/models/porter_five.md +63 -0
- package/plugin/dist/templates/workspace/.principles/models/swot.md +60 -0
- package/plugin/dist/templates/workspace/.principles/models/user_story_map.md +63 -0
- package/plugin/dist/templates/workspace/.state/WORKBOARD.json +4 -0
- package/plugin/dist/templates/workspace/AUDIT.md +15 -0
- package/plugin/dist/templates/workspace/okr/CURRENT_FOCUS.md +57 -0
- package/plugin/dist/templates/workspace/okr/RECOVERY_PROTOCOL.md +56 -0
- package/plugin/dist/templates/workspace/okr/TASK_CHANGES.jsonl +6 -0
- package/plugin/dist/templates/workspace/okr/WEEK_TASKS.json +6 -0
- package/plugin/openclaw.plugin.json +5 -5
- package/plugin/package.json +22 -10
- package/plugin/scripts/bootstrap-rules.mjs +5 -1
- package/plugin/scripts/postinstall.cjs +177 -0
- package/plugin/scripts/sync-plugin.mjs +12 -1
- package/plugin/dist/commands/archive-impl.js +0 -105
- package/plugin/dist/commands/capabilities.js +0 -77
- package/plugin/dist/commands/context.js +0 -299
- package/plugin/dist/commands/disable-impl.js +0 -118
- package/plugin/dist/commands/evolution-status.js +0 -185
- package/plugin/dist/commands/export.js +0 -53
- package/plugin/dist/commands/focus.js +0 -451
- package/plugin/dist/commands/pain.js +0 -336
- package/plugin/dist/commands/principle-rollback.js +0 -26
- package/plugin/dist/commands/promote-impl.js +0 -194
- package/plugin/dist/commands/rollback-impl.js +0 -180
- package/plugin/dist/commands/rollback.js +0 -126
- package/plugin/dist/commands/samples.js +0 -83
- package/plugin/dist/commands/strategy.js +0 -16
- package/plugin/dist/commands/thinking-os.js +0 -186
- package/plugin/dist/commands/workflow-debug.js +0 -132
- package/plugin/dist/config/defaults/runtime.js +0 -74
- package/plugin/dist/config/errors.js +0 -107
- package/plugin/dist/config/index.js +0 -7
- package/plugin/dist/constants/tools.js +0 -53
- package/plugin/dist/core/__tests__/focus-history.test.js +0 -160
- package/plugin/dist/core/behavior-example-pack-assembler.js +0 -207
- package/plugin/dist/core/bootstrap-rules.js +0 -187
- package/plugin/dist/core/code-implementation-storage.js +0 -139
- package/plugin/dist/core/config-health.js +0 -60
- package/plugin/dist/core/config-service.js +0 -26
- package/plugin/dist/core/config.js +0 -191
- package/plugin/dist/core/control-ui-db.js +0 -333
- package/plugin/dist/core/correction-cue-learner.js +0 -186
- package/plugin/dist/core/correction-types.js +0 -1
- package/plugin/dist/core/detection-funnel.js +0 -56
- package/plugin/dist/core/detection-service.js +0 -28
- package/plugin/dist/core/dictionary-service.js +0 -26
- package/plugin/dist/core/dictionary.js +0 -148
- package/plugin/dist/core/empathy-keyword-matcher.js +0 -40
- package/plugin/dist/core/empathy-types.js +0 -1
- package/plugin/dist/core/event-log.js +0 -706
- package/plugin/dist/core/evolution-engine.js +0 -460
- package/plugin/dist/core/evolution-logger.js +0 -261
- package/plugin/dist/core/evolution-reducer.js +0 -720
- package/plugin/dist/core/evolution-types.js +0 -11
- package/plugin/dist/core/file-store.js +0 -46
- package/plugin/dist/core/focus-history.js +0 -574
- package/plugin/dist/core/hygiene/tracker.js +0 -110
- package/plugin/dist/core/init.js +0 -254
- package/plugin/dist/core/intent-doc-reader-adapter.js +0 -76
- package/plugin/dist/core/intent-doc-reader.js +0 -210
- package/plugin/dist/core/migration.js +0 -86
- package/plugin/dist/core/pain-diagnostic-gate.js +0 -69
- package/plugin/dist/core/pain.js +0 -56
- package/plugin/dist/core/path-resolver.js +0 -358
- package/plugin/dist/core/paths.js +0 -77
- package/plugin/dist/core/pd-config-loader.js +0 -307
- package/plugin/dist/core/pd-task-reconciler.js +0 -262
- package/plugin/dist/core/pd-task-service.js +0 -32
- package/plugin/dist/core/pd-task-store.js +0 -62
- package/plugin/dist/core/pd-task-types.js +0 -2
- package/plugin/dist/core/principle-compiler/__tests__/compiler-replay-gate.test.js +0 -132
- package/plugin/dist/core/principle-compiler/code-validator.js +0 -86
- package/plugin/dist/core/principle-compiler/compiler.js +0 -289
- package/plugin/dist/core/principle-compiler/index.js +0 -10
- package/plugin/dist/core/principle-compiler/ledger-registrar.js +0 -95
- package/plugin/dist/core/principle-compiler/template-generator.js +0 -7
- package/plugin/dist/core/principle-injection.js +0 -10
- package/plugin/dist/core/principle-internalization/filesystem-lifecycle-datasource.js +0 -34
- package/plugin/dist/core/principle-internalization/lifecycle-read-model.js +0 -21
- package/plugin/dist/core/principle-internalization/lifecycle-refresh.js +0 -4
- package/plugin/dist/core/principle-internalization/principle-lifecycle-service.js +0 -89
- package/plugin/dist/core/principle-training-state.js +0 -113
- package/plugin/dist/core/principle-tree-ledger.js +0 -42
- package/plugin/dist/core/profile.js +0 -211
- package/plugin/dist/core/reflection/reflection-context.js +0 -91
- package/plugin/dist/core/replay-engine.js +0 -82
- package/plugin/dist/core/rule-context-assembler.js +0 -148
- package/plugin/dist/core/rule-host.js +0 -554
- package/plugin/dist/core/rule-implementation-runtime.js +0 -112
- package/plugin/dist/core/runtime-v2-prompt-activation-reader.js +0 -99
- package/plugin/dist/core/session-tracker.js +0 -462
- package/plugin/dist/core/signal-collector-host.js +0 -337
- package/plugin/dist/core/system-logger.js +0 -113
- package/plugin/dist/core/thinking-models.js +0 -94
- package/plugin/dist/core/thinking-os-parser.js +0 -132
- package/plugin/dist/core/trajectory-types.js +0 -8
- package/plugin/dist/core/trajectory.js +0 -1692
- package/plugin/dist/core/workflow-funnel-loader.js +0 -135
- package/plugin/dist/core/workspace-context.js +0 -260
- package/plugin/dist/core/workspace-dir-validation.js +0 -37
- package/plugin/dist/core/workspace-guidance-migrator.js +0 -141
- package/plugin/dist/hooks/after-tool-call-helpers.js +0 -552
- package/plugin/dist/hooks/after-tool-call-types.js +0 -13
- package/plugin/dist/hooks/gate-block-helper.js +0 -249
- package/plugin/dist/hooks/gate.js +0 -430
- package/plugin/dist/hooks/lifecycle.js +0 -284
- package/plugin/dist/hooks/llm.js +0 -452
- package/plugin/dist/hooks/message-sanitize.js +0 -77
- package/plugin/dist/hooks/pain.js +0 -369
- package/plugin/dist/hooks/prompt-helpers.js +0 -288
- package/plugin/dist/hooks/prompt-types.js +0 -12
- package/plugin/dist/hooks/prompt.js +0 -501
- package/plugin/dist/hooks/raw-observation-adapter.js +0 -15
- package/plugin/dist/hooks/raw-observation-types.js +0 -11
- package/plugin/dist/hooks/trajectory-collector.js +0 -164
- package/plugin/dist/hooks/trajectory-evidence.js +0 -92
- package/plugin/dist/hooks/triage-adapter.js +0 -72
- package/plugin/dist/hooks/trigger-cooldown-tracker.js +0 -80
- package/plugin/dist/i18n/commands.js +0 -120
- package/plugin/dist/openclaw-sdk.js +0 -4
- package/plugin/dist/rulehost-evidence.js +0 -3
- package/plugin/dist/service/correction-observer-service.js +0 -191
- package/plugin/dist/service/evolution-dedup.js +0 -54
- package/plugin/dist/service/evolution-worker.js +0 -578
- package/plugin/dist/service/internalization-auto-consumer-service.js +0 -323
- package/plugin/dist/service/keyword-optimization-service.js +0 -137
- package/plugin/dist/service/phase3-input-filter.js +0 -172
- package/plugin/dist/service/queue-io.js +0 -91
- package/plugin/dist/service/queue-migration.js +0 -113
- package/plugin/dist/service/runtime-summary-service.js +0 -639
- package/plugin/dist/service/subagent-workflow/subagent-error-utils.js +0 -23
- package/plugin/dist/service/subagent-workflow/types.js +0 -11
- package/plugin/dist/service/subagent-workflow/workflow-store.js +0 -298
- package/plugin/dist/service/trajectory-service.js +0 -16
- package/plugin/dist/service/workflow-watchdog.js +0 -104
- package/plugin/dist/types/event-types.js +0 -1
- package/plugin/dist/types/hygiene-types.js +0 -1
- package/plugin/dist/types/principle-tree-schema.js +0 -24
- package/plugin/dist/types/queue.js +0 -1
- package/plugin/dist/types/runtime-summary.js +0 -1
- package/plugin/dist/types.js +0 -11
- package/plugin/dist/utils/file-lock.js +0 -310
- package/plugin/dist/utils/hashing.js +0 -25
- package/plugin/dist/utils/io.js +0 -174
- package/plugin/dist/utils/node-vm-polyfill.js +0 -9
- package/plugin/dist/utils/retry.js +0 -380
- package/plugin/dist/utils/session-key.js +0 -21
- package/plugin/dist/utils/workspace-resolver.js +0 -288
package/dist/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { Command } from 'commander';
|
|
3
3
|
import * as path from 'path';
|
|
4
4
|
import * as url from 'url';
|
|
5
|
+
import { createRequire } from 'module';
|
|
5
6
|
import { banner, logger, setQuietMode } from './utils/logger.js';
|
|
6
7
|
import { runPrompts } from './prompts.js';
|
|
7
8
|
import { install } from './installer.js';
|
|
@@ -9,10 +10,24 @@ import { uninstall, checkInstallStatus } from './uninstaller.js';
|
|
|
9
10
|
import { checkEnvironment, detectWorkspace } from './utils/env.js';
|
|
10
11
|
import { MVP_CHANNELS, buildFailureOutput, } from './mvp-config.js';
|
|
11
12
|
import { setLanguage, t, getLanguage, isLanguage } from './i18n.js';
|
|
13
|
+
import { isHostTarget, HOST_TARGETS } from './installers/index.js';
|
|
12
14
|
export { isLanguage } from './i18n.js';
|
|
13
15
|
const __filename = url.fileURLToPath(import.meta.url);
|
|
14
16
|
const __dirname = path.dirname(__filename);
|
|
15
17
|
const PLUGIN_DIR = path.resolve(__dirname, '..');
|
|
18
|
+
// Fix-1 (P0-BUG-1): Read version from package.json instead of hardcoding.
|
|
19
|
+
// EP-06 (Source of Truth): package.json is the canonical version source.
|
|
20
|
+
// rc-2-no-as-bypass: validate the parsed JSON at runtime instead of `as` cast.
|
|
21
|
+
const requireFromMeta = createRequire(import.meta.url);
|
|
22
|
+
const pkgJson = requireFromMeta('../package.json');
|
|
23
|
+
if (typeof pkgJson !== 'object' || pkgJson === null) {
|
|
24
|
+
throw new Error('Invalid package.json: expected an object');
|
|
25
|
+
}
|
|
26
|
+
const pkgVersionValue = Object.hasOwn(pkgJson, 'version') ? Reflect.get(pkgJson, 'version') : undefined;
|
|
27
|
+
if (typeof pkgVersionValue !== 'string' || pkgVersionValue.length === 0) {
|
|
28
|
+
throw new Error('Invalid package.json: "version" must be a non-empty string');
|
|
29
|
+
}
|
|
30
|
+
const pkgVersion = pkgVersionValue;
|
|
16
31
|
async function runInstall(options) {
|
|
17
32
|
const jsonMode = options.json === true;
|
|
18
33
|
if (!isLanguage(options.lang)) {
|
|
@@ -27,6 +42,20 @@ async function runInstall(options) {
|
|
|
27
42
|
return;
|
|
28
43
|
}
|
|
29
44
|
setLanguage(options.lang);
|
|
45
|
+
// ADR-0020 §2.3: Validate --host value. Default is 'openclaw' for backward compat.
|
|
46
|
+
const rawHost = typeof options.host === 'string' ? options.host : 'openclaw';
|
|
47
|
+
if (!isHostTarget(rawHost)) {
|
|
48
|
+
if (jsonMode) {
|
|
49
|
+
console.log(JSON.stringify(buildFailureOutput('invalid_host', `--host must be one of: ${HOST_TARGETS.join(', ')}. Got: ${JSON.stringify(rawHost)}. Next: re-run with --host openclaw (or --host codex / --host all)`), null, 2));
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
logger.error(`--host must be one of: ${HOST_TARGETS.join(', ')}. Got: ${JSON.stringify(rawHost)}`);
|
|
53
|
+
logger.info(`Next: re-run with --host openclaw (or --host codex / --host all)`);
|
|
54
|
+
}
|
|
55
|
+
process.exit(1);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const host = rawHost;
|
|
30
59
|
if (jsonMode) {
|
|
31
60
|
setQuietMode(true);
|
|
32
61
|
}
|
|
@@ -48,21 +77,27 @@ async function runInstall(options) {
|
|
|
48
77
|
if (!jsonMode) {
|
|
49
78
|
logger.success(`Node.js ${env.nodeVersion}`);
|
|
50
79
|
}
|
|
51
|
-
|
|
80
|
+
// ADR-0020: OpenClaw check is only required when host includes 'openclaw'.
|
|
81
|
+
// For --host codex, the operator may not have OpenClaw installed at all.
|
|
82
|
+
const needsOpenClaw = host === 'openclaw' || host === 'all';
|
|
83
|
+
if (needsOpenClaw && !env.hasOpenClaw) {
|
|
52
84
|
if (jsonMode) {
|
|
53
|
-
console.log(JSON.stringify(buildFailureOutput('openclaw_not_found', `${t('openclaw_required')} ${t('openclaw_install_hint')} | ${t('next_action')}: ${t('openclaw_rerun_hint')}`), null, 2));
|
|
85
|
+
console.log(JSON.stringify(buildFailureOutput('openclaw_not_found', `${t('openclaw_required')} ${t('openclaw_install_hint')} | ${t('next_action')}: ${t('openclaw_rerun_hint')} or use --host codex to skip OpenClaw`), null, 2));
|
|
54
86
|
}
|
|
55
87
|
else {
|
|
56
88
|
logger.error(`\u274C ${t('openclaw_required')}`);
|
|
57
89
|
logger.info(` ${t('openclaw_install_hint')}`);
|
|
58
|
-
logger.info(` ${t('next_action')}: ${t('openclaw_rerun_hint')}`);
|
|
90
|
+
logger.info(` ${t('next_action')}: ${t('openclaw_rerun_hint')} or use --host codex to skip OpenClaw`);
|
|
59
91
|
}
|
|
60
92
|
process.exit(1);
|
|
61
93
|
return;
|
|
62
94
|
}
|
|
63
|
-
if (!jsonMode) {
|
|
95
|
+
if (!jsonMode && needsOpenClaw) {
|
|
64
96
|
logger.success(`OpenClaw ${env.openclawVersion}`);
|
|
65
97
|
}
|
|
98
|
+
if (!jsonMode && host === 'codex') {
|
|
99
|
+
logger.info(`Host: Codex CLI (OpenClaw not required)`);
|
|
100
|
+
}
|
|
66
101
|
if (jsonMode && !options.yes && !options.nonInteractive) {
|
|
67
102
|
options.yes = true;
|
|
68
103
|
}
|
|
@@ -70,6 +105,8 @@ async function runInstall(options) {
|
|
|
70
105
|
const cliOptions = {
|
|
71
106
|
language: options.lang,
|
|
72
107
|
workspaceDir: typeof options.workspace === 'string' ? options.workspace : undefined,
|
|
108
|
+
host,
|
|
109
|
+
stopGateway: options.stopGateway === true,
|
|
73
110
|
};
|
|
74
111
|
if (options.force) {
|
|
75
112
|
cliOptions.mode = 'force';
|
|
@@ -93,6 +130,66 @@ async function runInstall(options) {
|
|
|
93
130
|
console.log();
|
|
94
131
|
}
|
|
95
132
|
const nonInteractive = options.nonInteractive || options.yes || jsonMode;
|
|
133
|
+
// Fix-4 (P0-BUG-4): In non-interactive mode, collect runtime profile from
|
|
134
|
+
// CLI flags (--provider/--api-key-env/--model) or env vars
|
|
135
|
+
// (PD_PROVIDER/PD_API_KEY_ENV/PD_MODEL). rc-9: when provider is given
|
|
136
|
+
// without apiKeyEnv, fail loud instead of silently writing an unusable
|
|
137
|
+
// profile. rc-3: validate provider allowlist and apiKeyEnv format before
|
|
138
|
+
// writing, reusing the same patterns as prompts.ts.
|
|
139
|
+
if (nonInteractive) {
|
|
140
|
+
const provider = typeof options.provider === 'string' ? options.provider : process.env.PD_PROVIDER;
|
|
141
|
+
const apiKeyEnv = typeof options.apiKeyEnv === 'string' ? options.apiKeyEnv : process.env.PD_API_KEY_ENV;
|
|
142
|
+
const model = typeof options.model === 'string' ? options.model : process.env.PD_MODEL;
|
|
143
|
+
if (provider) {
|
|
144
|
+
const allowedProviders = ['openai', 'anthropic', 'deepseek'];
|
|
145
|
+
if (!allowedProviders.includes(provider)) {
|
|
146
|
+
const msg = `--provider "${provider}" is not supported. Valid: openai, anthropic, deepseek.`;
|
|
147
|
+
if (jsonMode) {
|
|
148
|
+
console.log(JSON.stringify(buildFailureOutput('runtime_profile_invalid', msg), null, 2));
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
logger.error(msg);
|
|
152
|
+
}
|
|
153
|
+
process.exit(1);
|
|
154
|
+
return;
|
|
155
|
+
}
|
|
156
|
+
if (!apiKeyEnv) {
|
|
157
|
+
const msg = `--provider "${provider}" given but --api-key-env is missing. Pass --api-key-env OPENAI_API_KEY (or set PD_API_KEY_ENV).`;
|
|
158
|
+
if (jsonMode) {
|
|
159
|
+
console.log(JSON.stringify(buildFailureOutput('runtime_profile_incomplete', msg), null, 2));
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
logger.error(msg);
|
|
163
|
+
}
|
|
164
|
+
process.exit(1);
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
if (!/^[A-Z_][A-Z0-9_]*$/.test(apiKeyEnv)) {
|
|
168
|
+
const msg = `--api-key-env "${apiKeyEnv}" is not a valid environment variable name (uppercase letters, digits, underscore; cannot start with a digit).`;
|
|
169
|
+
if (jsonMode) {
|
|
170
|
+
console.log(JSON.stringify(buildFailureOutput('runtime_profile_invalid', msg), null, 2));
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
logger.error(msg);
|
|
174
|
+
}
|
|
175
|
+
process.exit(1);
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
cliOptions.runtimeProfile = { provider, apiKeyEnv, model: model || undefined };
|
|
179
|
+
}
|
|
180
|
+
else if (apiKeyEnv) {
|
|
181
|
+
// rc-3: fail loud — apiKeyEnv without provider is unusable.
|
|
182
|
+
const msg = `--api-key-env given without --provider. Pass --provider openai (or set PD_PROVIDER).`;
|
|
183
|
+
if (jsonMode) {
|
|
184
|
+
console.log(JSON.stringify(buildFailureOutput('runtime_profile_incomplete', msg), null, 2));
|
|
185
|
+
}
|
|
186
|
+
else {
|
|
187
|
+
logger.error(msg);
|
|
188
|
+
}
|
|
189
|
+
process.exit(1);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
96
193
|
const installOptions = nonInteractive
|
|
97
194
|
? {
|
|
98
195
|
language: cliOptions.language || getLanguage(),
|
|
@@ -100,6 +197,10 @@ async function runInstall(options) {
|
|
|
100
197
|
workspaceDir: cliOptions.workspaceDir || workspaceInfo.detectedPath,
|
|
101
198
|
channels: [...MVP_CHANNELS],
|
|
102
199
|
overwriteConfig: false,
|
|
200
|
+
// ADR-0020 §2.3: propagate validated host target into install options.
|
|
201
|
+
host,
|
|
202
|
+
runtimeProfile: cliOptions.runtimeProfile,
|
|
203
|
+
stopGateway: cliOptions.stopGateway === true,
|
|
103
204
|
}
|
|
104
205
|
: await runPrompts(cliOptions, workspaceInfo);
|
|
105
206
|
if (!installOptions) {
|
|
@@ -112,7 +213,7 @@ async function runInstall(options) {
|
|
|
112
213
|
process.exit(0);
|
|
113
214
|
return;
|
|
114
215
|
}
|
|
115
|
-
const result = await install(installOptions, PLUGIN_DIR, jsonMode);
|
|
216
|
+
const result = await install(installOptions, PLUGIN_DIR, { quiet: jsonMode, nonInteractive: Boolean(nonInteractive) });
|
|
116
217
|
if (jsonMode) {
|
|
117
218
|
const output = {
|
|
118
219
|
success: result.success,
|
|
@@ -151,8 +252,16 @@ async function runInstall(options) {
|
|
|
151
252
|
}
|
|
152
253
|
console.log();
|
|
153
254
|
console.log(t('verification'));
|
|
154
|
-
console.log(`
|
|
155
|
-
console.log(`
|
|
255
|
+
console.log(` Configuration .................. ${result.verification.features}`);
|
|
256
|
+
console.log(` Demo verification .............. ${result.verification.storyA}${result.verification.storyASkipReason ? ` (${result.verification.storyASkipReason})` : ''}`);
|
|
257
|
+
// Fix-4: surface runtime profile status so the user knows whether LLM
|
|
258
|
+
// features (diagnose, candidate intake, internalization) will work.
|
|
259
|
+
if (installOptions.runtimeProfile) {
|
|
260
|
+
console.log(` LLM runtime profile ............ ${installOptions.runtimeProfile.provider} / ${installOptions.runtimeProfile.model ?? '(default)'} (key: $${installOptions.runtimeProfile.apiKeyEnv})`);
|
|
261
|
+
}
|
|
262
|
+
else {
|
|
263
|
+
console.log(` LLM runtime profile ............ not configured (configure via console: pd console open --workspace "${result.workspaceDir}")`);
|
|
264
|
+
}
|
|
156
265
|
console.log();
|
|
157
266
|
console.log(t('ready'));
|
|
158
267
|
console.log(`${t('diagnostics')}: pd runtime canary --workspace "${result.workspaceDir}" --json`);
|
|
@@ -178,8 +287,8 @@ async function runInstall(options) {
|
|
|
178
287
|
}
|
|
179
288
|
console.log();
|
|
180
289
|
console.log(t('verification'));
|
|
181
|
-
console.log(`
|
|
182
|
-
console.log(`
|
|
290
|
+
console.log(` Configuration .................. ${result.verification.features}`);
|
|
291
|
+
console.log(` Demo verification .............. ${result.verification.storyA}${result.verification.storyASkipReason ? ` (${result.verification.storyASkipReason})` : ''}`);
|
|
183
292
|
console.log();
|
|
184
293
|
console.log(t('not_ready_for_release'));
|
|
185
294
|
console.log(`${t('diagnostics')}: ${diagCmd}`);
|
|
@@ -197,12 +306,31 @@ async function runInstall(options) {
|
|
|
197
306
|
}
|
|
198
307
|
}
|
|
199
308
|
async function runUninstall(options) {
|
|
200
|
-
|
|
309
|
+
// rc-3-fail-loud: validate --lang the same way runInstall does, instead of
|
|
310
|
+
// silently defaulting any non-'en' value to 'zh'.
|
|
311
|
+
if (!isLanguage(options.lang)) {
|
|
312
|
+
logger.error(`--lang must be 'zh' or 'en', got: ${JSON.stringify(options.lang)}`);
|
|
313
|
+
logger.info(`Next: re-run with --lang zh or --lang en`);
|
|
314
|
+
process.exit(1);
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
setLanguage(options.lang);
|
|
318
|
+
// ADR-0020 §2.3: validate --host (default 'all' for uninstall).
|
|
319
|
+
const rawHost = typeof options.host === 'string' ? options.host : 'all';
|
|
320
|
+
if (!isHostTarget(rawHost)) {
|
|
321
|
+
logger.error(`--host must be one of: ${HOST_TARGETS.join(', ')}. Got: ${JSON.stringify(rawHost)}`);
|
|
322
|
+
logger.info(`Next: re-run with --host openclaw (or --host codex / --host all)`);
|
|
323
|
+
process.exit(1);
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
const host = rawHost;
|
|
201
327
|
console.log(banner);
|
|
202
328
|
console.log();
|
|
203
|
-
logger.info(
|
|
329
|
+
logger.info(`Preparing to uninstall Principles Disciple (host: ${host})...\n`);
|
|
204
330
|
const result = await uninstall({
|
|
205
331
|
force: options.force === true,
|
|
332
|
+
lang: options.lang,
|
|
333
|
+
host,
|
|
206
334
|
});
|
|
207
335
|
if (!result.success) {
|
|
208
336
|
logger.error(`${t('uninstall_failed')}: ${result.error}`);
|
|
@@ -210,8 +338,15 @@ async function runUninstall(options) {
|
|
|
210
338
|
return;
|
|
211
339
|
}
|
|
212
340
|
}
|
|
213
|
-
async function showStatus() {
|
|
214
|
-
|
|
341
|
+
async function showStatus(options) {
|
|
342
|
+
// rc-3-fail-loud: validate --lang the same way runInstall does.
|
|
343
|
+
if (!isLanguage(options.lang)) {
|
|
344
|
+
logger.error(`--lang must be 'zh' or 'en', got: ${JSON.stringify(options.lang)}`);
|
|
345
|
+
logger.info(`Next: re-run with --lang zh or --lang en`);
|
|
346
|
+
process.exit(1);
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
setLanguage(options.lang);
|
|
215
350
|
console.log(banner);
|
|
216
351
|
console.log();
|
|
217
352
|
const status = checkInstallStatus();
|
|
@@ -233,11 +368,14 @@ async function showStatus() {
|
|
|
233
368
|
console.log(' npx create-principles-disciple');
|
|
234
369
|
}
|
|
235
370
|
}
|
|
236
|
-
|
|
371
|
+
// cli-7: exported so parser tests can inspect the REAL option registration
|
|
372
|
+
// (catches removal/rename/default-change of flags). Not .parse()'d on import —
|
|
373
|
+
// see the main-module guard at the bottom of this file.
|
|
374
|
+
export const program = new Command();
|
|
237
375
|
program
|
|
238
376
|
.name('create-principles-disciple')
|
|
239
377
|
.description('Principles Disciple - MVP-First Integration Wizard')
|
|
240
|
-
.version(
|
|
378
|
+
.version(pkgVersion);
|
|
241
379
|
program
|
|
242
380
|
.command('install', { isDefault: true, hidden: true })
|
|
243
381
|
.description('Install Principles Disciple (MVP-First)')
|
|
@@ -248,6 +386,17 @@ program
|
|
|
248
386
|
.option('-y, --yes', 'Non-interactive mode with defaults', false)
|
|
249
387
|
.option('--non-interactive', 'Skip interactive prompts', false)
|
|
250
388
|
.option('--json', 'Output result as JSON (implies non-interactive)', false)
|
|
389
|
+
// Fix-4 (P0-BUG-4): allow non-interactive LLM runtime profile configuration.
|
|
390
|
+
// When --provider is given, the installer pre-fills pd.default profile
|
|
391
|
+
// instead of leaving it empty (which would cause silent LLM failures).
|
|
392
|
+
.option('--provider <provider>', 'LLM provider for pd.default profile (openai/anthropic/deepseek). Enables non-interactive runtime profile config.')
|
|
393
|
+
.option('--api-key-env <name>', 'Environment variable name holding the LLM API key (e.g. OPENAI_API_KEY). Requires --provider.')
|
|
394
|
+
.option('--model <model>', 'LLM model id (optional; sensible default per provider if omitted)')
|
|
395
|
+
// ADR-0020 §2.3: host target selector. Default 'openclaw' for backward compat.
|
|
396
|
+
.option('--host <host>', `Host platform (${HOST_TARGETS.join('/')})`, 'openclaw')
|
|
397
|
+
// Gateway lock prevention: auto-stop a running OpenClaw gateway before
|
|
398
|
+
// install (avoids EPERM on the backup rename) and restart it afterwards.
|
|
399
|
+
.option('--stop-gateway', 'Stop the OpenClaw gateway before install if running, restart after', false)
|
|
251
400
|
.action(async (options) => {
|
|
252
401
|
await runInstall(options);
|
|
253
402
|
});
|
|
@@ -257,23 +406,33 @@ program
|
|
|
257
406
|
.alias('rm')
|
|
258
407
|
.description('Uninstall Principles Disciple (preserves user data)')
|
|
259
408
|
.option('-f, --force', 'Force uninstall without confirmation', false)
|
|
409
|
+
.option('-l, --lang <lang>', 'Language (zh/en)', 'zh')
|
|
410
|
+
// ADR-0020 §2.3: host-scoped uninstall. Default 'all' cleans every host
|
|
411
|
+
// PD ever registered with. Operators can scope to one host via --host codex.
|
|
412
|
+
.option('--host <host>', `Host platform (${HOST_TARGETS.join('/')})`, 'all')
|
|
260
413
|
.action(async (options) => {
|
|
261
414
|
await runUninstall(options);
|
|
262
415
|
});
|
|
263
416
|
program
|
|
264
417
|
.command('status')
|
|
265
418
|
.description('Check install status')
|
|
266
|
-
.
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
process.on('uncaughtException', (error) => {
|
|
270
|
-
if (error instanceof Error && error.name === 'ExitPromptError') {
|
|
271
|
-
logger.info('Goodbye!');
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
logger.error(`Uncaught error: ${error.message}`);
|
|
275
|
-
process.exit(1);
|
|
276
|
-
}
|
|
419
|
+
.option('-l, --lang <lang>', 'Language (zh/en)', 'zh')
|
|
420
|
+
.action(async (options) => {
|
|
421
|
+
await showStatus(options);
|
|
277
422
|
});
|
|
278
|
-
|
|
423
|
+
// cli-7: only wire the process handler and parse argv when this module is the
|
|
424
|
+
// CLI entry point — NOT when imported by tests (which inspect `program` opts
|
|
425
|
+
// directly). Without this guard, importing index.js would run the installer.
|
|
426
|
+
if (url.pathToFileURL(process.argv[1] ?? '').href === import.meta.url) {
|
|
427
|
+
process.on('uncaughtException', (error) => {
|
|
428
|
+
if (error instanceof Error && error.name === 'ExitPromptError') {
|
|
429
|
+
logger.info('Goodbye!');
|
|
430
|
+
}
|
|
431
|
+
else {
|
|
432
|
+
logger.error(`Uncaught error: ${error.message}`);
|
|
433
|
+
process.exit(1);
|
|
434
|
+
}
|
|
435
|
+
});
|
|
436
|
+
program.parse(process.argv);
|
|
437
|
+
}
|
|
279
438
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAuB,MAAM,cAAc,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OA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CAAC;aAAM,CAAC;YACN,MAAM,CAAC,KAAK,CAAC,mBAAmB,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;YACjD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC"}
|
package/dist/installer.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { InstallOptions } from './prompts.js';
|
|
2
2
|
import { type ComponentStatus, type VerificationResult } from './mvp-config.js';
|
|
3
|
+
import type { HostInstallResult } from '@principles/core/host';
|
|
3
4
|
/** PRI-343: Keep in sync with @principles/core CONVERSATION_ACCESS_CONFIG_KEY */
|
|
4
|
-
export declare const CONVERSATION_ACCESS_CONFIG_KEY:
|
|
5
|
+
export declare const CONVERSATION_ACCESS_CONFIG_KEY: 'allowConversationAccess';
|
|
5
6
|
/**
|
|
6
7
|
* PRI-343: Pure function — deep-merges allowConversationAccess: true into
|
|
7
8
|
* the openclaw.json config without mutating the input.
|
|
@@ -38,6 +39,14 @@ export interface InstallResult {
|
|
|
38
39
|
/** Task 8: URL the browser was opened to when the installer auto-launched the
|
|
39
40
|
* console via `pd console open`. Undefined when auto-launch was skipped or failed. */
|
|
40
41
|
consoleUrl?: string;
|
|
42
|
+
/** ADR-0020 §2.3: Host-side install results (one per HostInstaller). */
|
|
43
|
+
hostResults?: HostInstallResult[];
|
|
41
44
|
}
|
|
42
|
-
export
|
|
45
|
+
export interface InstallRunMode {
|
|
46
|
+
/** Suppress human output (spinner / progress). True under --json. */
|
|
47
|
+
quiet?: boolean;
|
|
48
|
+
/** No interactive prompts. True under --yes / --non-interactive / --json. */
|
|
49
|
+
nonInteractive?: boolean;
|
|
50
|
+
}
|
|
51
|
+
export declare function install(options: InstallOptions, pluginDir: string, mode?: InstallRunMode): Promise<InstallResult>;
|
|
43
52
|
//# sourceMappingURL=installer.d.ts.map
|
package/dist/installer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../src/installer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"installer.d.ts","sourceRoot":"","sources":["../src/installer.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAWL,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAExB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAsB,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEnF,iFAAiF;AACjF,eAAO,MAAM,8BAA8B,EAAG,yBAAkC,CAAC;AAMjF;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAmCjG;AAyDD;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAW5F;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,GAAG,IAAI,CAW5E;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,IAAI,CAOpF;AAsJD,wBAAsB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAqCvE;AA6wBD,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,eAAe,CAAC;IAC5B,YAAY,EAAE,kBAAkB,CAAC;IAC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