create-principles-disciple 1.0.0 → 1.74.0
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 +109 -7
- package/console/dist/lib/utils.d.ts +2 -0
- package/console/dist/lib/utils.js +5 -0
- package/console/dist/server/config/AuthConfig.d.ts +14 -0
- package/console/dist/server/config/AuthConfig.js +36 -0
- package/console/dist/server/config/WorkspaceConfigStore.d.ts +15 -0
- package/console/dist/server/config/WorkspaceConfigStore.js +100 -0
- package/console/dist/server/index.d.ts +1 -0
- package/console/dist/server/index.js +734 -0
- package/console/dist/server/models/ApprovalsConsoleModel.d.ts +48 -0
- package/console/dist/server/models/ApprovalsConsoleModel.js +208 -0
- package/console/dist/server/models/EventLogReadModel.d.ts +33 -0
- package/console/dist/server/models/EventLogReadModel.js +218 -0
- package/console/dist/server/models/EvolutionConsoleModel.d.ts +79 -0
- package/console/dist/server/models/EvolutionConsoleModel.js +179 -0
- package/console/dist/server/models/FeedbackConsoleModel.d.ts +38 -0
- package/console/dist/server/models/FeedbackConsoleModel.js +129 -0
- package/console/dist/server/models/GateConsoleModel.d.ts +50 -0
- package/console/dist/server/models/GateConsoleModel.js +151 -0
- package/console/dist/server/models/HealthCheckModel.d.ts +43 -0
- package/console/dist/server/models/HealthCheckModel.js +341 -0
- package/console/dist/server/models/OverviewConsoleModel.d.ts +22 -0
- package/console/dist/server/models/OverviewConsoleModel.js +202 -0
- package/console/dist/server/models/PipelineStatsModel.d.ts +35 -0
- package/console/dist/server/models/PipelineStatsModel.js +129 -0
- package/console/dist/server/models/PrinciplesConsoleModel.d.ts +69 -0
- package/console/dist/server/models/PrinciplesConsoleModel.js +200 -0
- package/console/dist/server/models/SampleConsoleModel.d.ts +21 -0
- package/console/dist/server/models/SampleConsoleModel.js +188 -0
- package/console/dist/server/models/ThinkingModelsConsoleModel.d.ts +22 -0
- package/console/dist/server/models/ThinkingModelsConsoleModel.js +75 -0
- package/console/dist/server/models/WorkspaceService.d.ts +34 -0
- package/console/dist/server/models/WorkspaceService.js +105 -0
- package/console/dist/server/routes/agents.d.ts +3 -0
- package/console/dist/server/routes/agents.js +442 -0
- package/console/dist/server/routes/approvals.d.ts +3 -0
- package/console/dist/server/routes/approvals.js +184 -0
- package/console/dist/server/routes/central.d.ts +5 -0
- package/console/dist/server/routes/central.js +31 -0
- package/console/dist/server/routes/events.d.ts +10 -0
- package/console/dist/server/routes/events.js +99 -0
- package/console/dist/server/routes/evolution.d.ts +3 -0
- package/console/dist/server/routes/evolution.js +73 -0
- package/console/dist/server/routes/feedback.d.ts +3 -0
- package/console/dist/server/routes/feedback.js +65 -0
- package/console/dist/server/routes/gates.d.ts +3 -0
- package/console/dist/server/routes/gates.js +52 -0
- package/console/dist/server/routes/health.d.ts +3 -0
- package/console/dist/server/routes/health.js +33 -0
- package/console/dist/server/routes/overview.d.ts +3 -0
- package/console/dist/server/routes/overview.js +49 -0
- package/console/dist/server/routes/pipeline.d.ts +3 -0
- package/console/dist/server/routes/pipeline.js +33 -0
- package/console/dist/server/routes/principles.d.ts +10 -0
- package/console/dist/server/routes/principles.js +48 -0
- package/console/dist/server/routes/samples.d.ts +3 -0
- package/console/dist/server/routes/samples.js +101 -0
- package/console/dist/server/routes/state.d.ts +11 -0
- package/console/dist/server/routes/state.js +97 -0
- package/console/dist/server/routes/thinking-models.d.ts +3 -0
- package/console/dist/server/routes/thinking-models.js +54 -0
- package/console/dist/server/routes/update-history.d.ts +12 -0
- package/console/dist/server/routes/update-history.js +52 -0
- package/console/dist/server/routes/update.d.ts +10 -0
- package/console/dist/server/routes/update.js +435 -0
- package/console/dist/server/routes/workspaces.d.ts +6 -0
- package/console/dist/server/routes/workspaces.js +105 -0
- package/console/dist/server/types/index.d.ts +248 -0
- package/console/dist/server/types/index.js +1 -0
- package/console/dist/server/utils/diagnostic-parser.d.ts +6 -0
- package/console/dist/server/utils/diagnostic-parser.js +81 -0
- package/console/dist/server/utils/request.d.ts +4 -0
- package/console/dist/server/utils/request.js +43 -0
- package/console/dist/server/utils/response.d.ts +8 -0
- package/console/dist/server/utils/response.js +31 -0
- package/console/dist/server.d.ts +1 -0
- package/console/dist/server.js +1 -0
- package/console/dist/types.d.ts +85 -0
- package/console/dist/types.js +1 -0
- package/console/dist/ui/App.d.ts +1 -0
- package/console/dist/ui/App.js +53 -0
- package/console/dist/ui/api.d.ts +498 -0
- package/console/dist/ui/api.js +243 -0
- package/console/dist/ui/components/UpdateBanner.d.ts +1 -0
- package/console/dist/ui/components/UpdateBanner.js +41 -0
- package/console/dist/ui/components/UpdateProgressDialog.d.ts +12 -0
- package/console/dist/ui/components/UpdateProgressDialog.js +28 -0
- package/console/dist/ui/components/app-sidebar.d.ts +7 -0
- package/console/dist/ui/components/app-sidebar.js +74 -0
- package/console/dist/ui/components/approval-card.d.ts +8 -0
- package/console/dist/ui/components/approval-card.js +39 -0
- package/console/dist/ui/components/approval-detail-dialog.d.ts +9 -0
- package/console/dist/ui/components/approval-detail-dialog.js +20 -0
- package/console/dist/ui/components/compare-view.d.ts +7 -0
- package/console/dist/ui/components/compare-view.js +32 -0
- package/console/dist/ui/components/data-freshness-indicator.d.ts +10 -0
- package/console/dist/ui/components/data-freshness-indicator.js +63 -0
- package/console/dist/ui/components/error-boundary.d.ts +15 -0
- package/console/dist/ui/components/error-boundary.js +23 -0
- package/console/dist/ui/components/health-diagnostic-card.d.ts +15 -0
- package/console/dist/ui/components/health-diagnostic-card.js +42 -0
- package/console/dist/ui/components/language-switcher.d.ts +1 -0
- package/console/dist/ui/components/language-switcher.js +17 -0
- package/console/dist/ui/components/page-header.d.ts +10 -0
- package/console/dist/ui/components/page-header.js +37 -0
- package/console/dist/ui/components/rejection-reason-dialog.d.ts +6 -0
- package/console/dist/ui/components/rejection-reason-dialog.js +23 -0
- package/console/dist/ui/components/theme-provider.d.ts +14 -0
- package/console/dist/ui/components/theme-provider.js +35 -0
- package/console/dist/ui/components/theme-toggle.d.ts +1 -0
- package/console/dist/ui/components/theme-toggle.js +30 -0
- package/console/dist/ui/components/ui/alert-dialog.d.ts +20 -0
- package/console/dist/ui/components/ui/alert-dialog.js +26 -0
- package/console/dist/ui/components/ui/badge.d.ts +9 -0
- package/console/dist/ui/components/ui/badge.js +20 -0
- package/console/dist/ui/components/ui/button.d.ts +11 -0
- package/console/dist/ui/components/ui/button.js +33 -0
- package/console/dist/ui/components/ui/card.d.ts +8 -0
- package/console/dist/ui/components/ui/card.js +16 -0
- package/console/dist/ui/components/ui/charts.d.ts +51 -0
- package/console/dist/ui/components/ui/charts.js +69 -0
- package/console/dist/ui/components/ui/dialog.d.ts +19 -0
- package/console/dist/ui/components/ui/dialog.js +22 -0
- package/console/dist/ui/components/ui/input.d.ts +3 -0
- package/console/dist/ui/components/ui/input.js +8 -0
- package/console/dist/ui/components/ui/markdown.d.ts +24 -0
- package/console/dist/ui/components/ui/markdown.js +115 -0
- package/console/dist/ui/components/ui/progress-bar.d.ts +20 -0
- package/console/dist/ui/components/ui/progress-bar.js +38 -0
- package/console/dist/ui/components/ui/select.d.ts +13 -0
- package/console/dist/ui/components/ui/select.js +26 -0
- package/console/dist/ui/components/ui/separator.d.ts +3 -0
- package/console/dist/ui/components/ui/separator.js +6 -0
- package/console/dist/ui/components/ui/sheet.d.ts +25 -0
- package/console/dist/ui/components/ui/sheet.js +36 -0
- package/console/dist/ui/components/ui/skeleton.d.ts +3 -0
- package/console/dist/ui/components/ui/skeleton.js +6 -0
- package/console/dist/ui/components/ui/sonner.d.ts +3 -0
- package/console/dist/ui/components/ui/sonner.js +13 -0
- package/console/dist/ui/components/ui/tooltip.d.ts +7 -0
- package/console/dist/ui/components/ui/tooltip.js +10 -0
- package/console/dist/ui/hooks/useAutoRefresh.d.ts +13 -0
- package/console/dist/ui/hooks/useAutoRefresh.js +64 -0
- package/console/dist/ui/hooks/useBookmarks.d.ts +6 -0
- package/console/dist/ui/hooks/useBookmarks.js +43 -0
- package/console/dist/ui/hooks/useDebounce.d.ts +2 -0
- package/console/dist/ui/hooks/useDebounce.js +32 -0
- package/console/dist/ui/hooks/useKeyboardNavigation.d.ts +14 -0
- package/console/dist/ui/hooks/useKeyboardNavigation.js +75 -0
- package/console/dist/ui/i18n/en.json +530 -0
- package/console/dist/ui/i18n/index.d.ts +2 -0
- package/console/dist/ui/i18n/index.js +21 -0
- package/console/dist/ui/i18n/zh-CN.json +530 -0
- package/console/dist/ui/main.d.ts +1 -0
- package/console/dist/ui/main.js +8 -0
- package/console/dist/ui/pages/AgentsPage.d.ts +1 -0
- package/console/dist/ui/pages/AgentsPage.js +167 -0
- package/console/dist/ui/pages/ApprovalsPage.d.ts +1 -0
- package/console/dist/ui/pages/ApprovalsPage.js +123 -0
- package/console/dist/ui/pages/CentralPage.d.ts +1 -0
- package/console/dist/ui/pages/CentralPage.js +57 -0
- package/console/dist/ui/pages/DataFlowPage.d.ts +1 -0
- package/console/dist/ui/pages/DataFlowPage.js +158 -0
- package/console/dist/ui/pages/EventLogPage.d.ts +1 -0
- package/console/dist/ui/pages/EventLogPage.js +176 -0
- package/console/dist/ui/pages/EvolutionPage.d.ts +1 -0
- package/console/dist/ui/pages/EvolutionPage.js +118 -0
- package/console/dist/ui/pages/FeedbackPage.d.ts +1 -0
- package/console/dist/ui/pages/FeedbackPage.js +46 -0
- package/console/dist/ui/pages/GatesPage.d.ts +1 -0
- package/console/dist/ui/pages/GatesPage.js +31 -0
- package/console/dist/ui/pages/LoginPage.d.ts +5 -0
- package/console/dist/ui/pages/LoginPage.js +39 -0
- package/console/dist/ui/pages/OverviewPage.d.ts +1 -0
- package/console/dist/ui/pages/OverviewPage.js +50 -0
- package/console/dist/ui/pages/PainPage.d.ts +1 -0
- package/console/dist/ui/pages/PainPage.js +50 -0
- package/console/dist/ui/pages/PrincipleDetailPage.d.ts +1 -0
- package/console/dist/ui/pages/PrincipleDetailPage.js +145 -0
- package/console/dist/ui/pages/PrinciplesPage.d.ts +1 -0
- package/console/dist/ui/pages/PrinciplesPage.js +322 -0
- package/console/dist/ui/pages/SamplesPage.d.ts +1 -0
- package/console/dist/ui/pages/SamplesPage.js +105 -0
- package/console/dist/ui/pages/SettingsPage.d.ts +1 -0
- package/console/dist/ui/pages/SettingsPage.js +86 -0
- package/console/dist/ui/pages/TasksPage.d.ts +1 -0
- package/console/dist/ui/pages/TasksPage.js +373 -0
- package/console/dist/ui/pages/ThinkingModelsPage.d.ts +1 -0
- package/console/dist/ui/pages/ThinkingModelsPage.js +32 -0
- package/console/dist/ui/pages/UpdatePage.d.ts +1 -0
- package/console/dist/ui/pages/UpdatePage.js +142 -0
- package/console/dist/ui/utils/format.d.ts +3 -0
- package/console/dist/ui/utils/format.js +20 -0
- package/console/dist/ui/utils/navigation.d.ts +9 -0
- package/console/dist/ui/utils/navigation.js +7 -0
- package/console/dist/web/assets/app.css +2828 -0
- package/console/dist/web/assets/app.js +46353 -0
- package/console/dist/web/index.html +13 -0
- package/console/package.json +53 -0
- package/core/dist/adapters/code-review/code-review-pain-adapter.d.ts +13 -0
- package/core/dist/adapters/code-review/code-review-pain-adapter.d.ts.map +1 -0
- package/core/dist/adapters/code-review/code-review-pain-adapter.js +139 -0
- package/core/dist/adapters/code-review/code-review-pain-adapter.js.map +1 -0
- package/core/dist/adapters/code-review/index.d.ts +6 -0
- package/core/dist/adapters/code-review/index.d.ts.map +1 -0
- package/core/dist/adapters/code-review/index.js +2 -0
- package/core/dist/adapters/code-review/index.js.map +1 -0
- package/core/dist/adapters/code-review/review-event-types.d.ts +54 -0
- package/core/dist/adapters/code-review/review-event-types.d.ts.map +1 -0
- package/core/dist/adapters/code-review/review-event-types.js +8 -0
- package/core/dist/adapters/code-review/review-event-types.js.map +1 -0
- package/core/dist/adapters/coding/index.d.ts +6 -0
- package/core/dist/adapters/coding/index.d.ts.map +1 -0
- package/core/dist/adapters/coding/index.js +5 -0
- package/core/dist/adapters/coding/index.js.map +1 -0
- package/core/dist/adapters/coding/openclaw-event-types.d.ts +26 -0
- package/core/dist/adapters/coding/openclaw-event-types.d.ts.map +1 -0
- package/core/dist/adapters/coding/openclaw-event-types.js +9 -0
- package/core/dist/adapters/coding/openclaw-event-types.js.map +1 -0
- package/core/dist/adapters/coding/openclaw-pain-adapter.d.ts +27 -0
- package/core/dist/adapters/coding/openclaw-pain-adapter.d.ts.map +1 -0
- package/core/dist/adapters/coding/openclaw-pain-adapter.js +102 -0
- package/core/dist/adapters/coding/openclaw-pain-adapter.js.map +1 -0
- package/core/dist/adapters/writing/index.d.ts +6 -0
- package/core/dist/adapters/writing/index.d.ts.map +1 -0
- package/core/dist/adapters/writing/index.js +5 -0
- package/core/dist/adapters/writing/index.js.map +1 -0
- package/core/dist/adapters/writing/writing-pain-adapter.d.ts +22 -0
- package/core/dist/adapters/writing/writing-pain-adapter.d.ts.map +1 -0
- package/core/dist/adapters/writing/writing-pain-adapter.js +62 -0
- package/core/dist/adapters/writing/writing-pain-adapter.js.map +1 -0
- package/core/dist/adapters/writing/writing-types.d.ts +34 -0
- package/core/dist/adapters/writing/writing-types.d.ts.map +1 -0
- package/core/dist/adapters/writing/writing-types.js +9 -0
- package/core/dist/adapters/writing/writing-types.js.map +1 -0
- package/core/dist/evolution-hook.d.ts +70 -0
- package/core/dist/evolution-hook.d.ts.map +1 -0
- package/core/dist/evolution-hook.js +10 -0
- package/core/dist/evolution-hook.js.map +1 -0
- package/core/dist/evolution-store.d.ts +56 -0
- package/core/dist/evolution-store.d.ts.map +1 -0
- package/core/dist/evolution-store.js +150 -0
- package/core/dist/evolution-store.js.map +1 -0
- package/core/dist/index.d.ts +62 -0
- package/core/dist/index.d.ts.map +1 -0
- package/core/dist/index.js +64 -0
- package/core/dist/index.js.map +1 -0
- package/core/dist/io.d.ts +36 -0
- package/core/dist/io.d.ts.map +1 -0
- package/core/dist/io.js +99 -0
- package/core/dist/io.js.map +1 -0
- package/core/dist/pain-flag-resolver.d.ts +18 -0
- package/core/dist/pain-flag-resolver.d.ts.map +1 -0
- package/core/dist/pain-flag-resolver.js +21 -0
- package/core/dist/pain-flag-resolver.js.map +1 -0
- package/core/dist/pain-recorder.d.ts +38 -0
- package/core/dist/pain-recorder.d.ts.map +1 -0
- package/core/dist/pain-recorder.js +62 -0
- package/core/dist/pain-recorder.js.map +1 -0
- package/core/dist/pain-signal-adapter.d.ts +37 -0
- package/core/dist/pain-signal-adapter.d.ts.map +1 -0
- package/core/dist/pain-signal-adapter.js +2 -0
- package/core/dist/pain-signal-adapter.js.map +1 -0
- package/core/dist/pain-signal.d.ts +76 -0
- package/core/dist/pain-signal.d.ts.map +1 -0
- package/core/dist/pain-signal.js +125 -0
- package/core/dist/pain-signal.js.map +1 -0
- package/core/dist/principle-injector.d.ts +67 -0
- package/core/dist/principle-injector.d.ts.map +1 -0
- package/core/dist/principle-injector.js +89 -0
- package/core/dist/principle-injector.js.map +1 -0
- package/core/dist/principle-tree-ledger.d.ts +106 -0
- package/core/dist/principle-tree-ledger.d.ts.map +1 -0
- package/core/dist/principle-tree-ledger.js +254 -0
- package/core/dist/principle-tree-ledger.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/empathy-keyword-matching.test.d.ts +2 -0
- package/core/dist/prompt-builder/__tests__/empathy-keyword-matching.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/empathy-keyword-matching.test.js +380 -0
- package/core/dist/prompt-builder/__tests__/empathy-keyword-matching.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/focus-compression.test.d.ts +2 -0
- package/core/dist/prompt-builder/__tests__/focus-compression.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/focus-compression.test.js +265 -0
- package/core/dist/prompt-builder/__tests__/focus-compression.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/principle-selection.test.d.ts +7 -0
- package/core/dist/prompt-builder/__tests__/principle-selection.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/principle-selection.test.js +214 -0
- package/core/dist/prompt-builder/__tests__/principle-selection.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/prompt-builder-core.test.d.ts +7 -0
- package/core/dist/prompt-builder/__tests__/prompt-builder-core.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/prompt-builder-core.test.js +283 -0
- package/core/dist/prompt-builder/__tests__/prompt-builder-core.test.js.map +1 -0
- package/core/dist/prompt-builder/__tests__/routing-guidance.test.d.ts +11 -0
- package/core/dist/prompt-builder/__tests__/routing-guidance.test.d.ts.map +1 -0
- package/core/dist/prompt-builder/__tests__/routing-guidance.test.js +305 -0
- package/core/dist/prompt-builder/__tests__/routing-guidance.test.js.map +1 -0
- package/core/dist/prompt-builder/attitude-directive.d.ts +7 -0
- package/core/dist/prompt-builder/attitude-directive.d.ts.map +1 -0
- package/core/dist/prompt-builder/attitude-directive.js +39 -0
- package/core/dist/prompt-builder/attitude-directive.js.map +1 -0
- package/core/dist/prompt-builder/correction-cue.d.ts +15 -0
- package/core/dist/prompt-builder/correction-cue.d.ts.map +1 -0
- package/core/dist/prompt-builder/correction-cue.js +39 -0
- package/core/dist/prompt-builder/correction-cue.js.map +1 -0
- package/core/dist/prompt-builder/empathy-keyword-matching.d.ts +30 -0
- package/core/dist/prompt-builder/empathy-keyword-matching.d.ts.map +1 -0
- package/core/dist/prompt-builder/empathy-keyword-matching.js +142 -0
- package/core/dist/prompt-builder/empathy-keyword-matching.js.map +1 -0
- package/core/dist/prompt-builder/empathy-types.d.ts +62 -0
- package/core/dist/prompt-builder/empathy-types.d.ts.map +1 -0
- package/core/dist/prompt-builder/empathy-types.js +88 -0
- package/core/dist/prompt-builder/empathy-types.js.map +1 -0
- package/core/dist/prompt-builder/focus-compression.d.ts +63 -0
- package/core/dist/prompt-builder/focus-compression.d.ts.map +1 -0
- package/core/dist/prompt-builder/focus-compression.js +448 -0
- package/core/dist/prompt-builder/focus-compression.js.map +1 -0
- package/core/dist/prompt-builder/index.d.ts +29 -0
- package/core/dist/prompt-builder/index.d.ts.map +1 -0
- package/core/dist/prompt-builder/index.js +27 -0
- package/core/dist/prompt-builder/index.js.map +1 -0
- package/core/dist/prompt-builder/message-extraction.d.ts +7 -0
- package/core/dist/prompt-builder/message-extraction.d.ts.map +1 -0
- package/core/dist/prompt-builder/message-extraction.js +23 -0
- package/core/dist/prompt-builder/message-extraction.js.map +1 -0
- package/core/dist/prompt-builder/minimal-trigger.d.ts +7 -0
- package/core/dist/prompt-builder/minimal-trigger.d.ts.map +1 -0
- package/core/dist/prompt-builder/minimal-trigger.js +11 -0
- package/core/dist/prompt-builder/minimal-trigger.js.map +1 -0
- package/core/dist/prompt-builder/principle-selection.d.ts +68 -0
- package/core/dist/prompt-builder/principle-selection.d.ts.map +1 -0
- package/core/dist/prompt-builder/principle-selection.js +140 -0
- package/core/dist/prompt-builder/principle-selection.js.map +1 -0
- package/core/dist/prompt-builder/routing-guidance.d.ts +64 -0
- package/core/dist/prompt-builder/routing-guidance.d.ts.map +1 -0
- package/core/dist/prompt-builder/routing-guidance.js +227 -0
- package/core/dist/prompt-builder/routing-guidance.js.map +1 -0
- package/core/dist/prompt-builder/size-guard.d.ts +35 -0
- package/core/dist/prompt-builder/size-guard.d.ts.map +1 -0
- package/core/dist/prompt-builder/size-guard.js +144 -0
- package/core/dist/prompt-builder/size-guard.js.map +1 -0
- package/core/dist/prompt-builder/types.d.ts +28 -0
- package/core/dist/prompt-builder/types.d.ts.map +1 -0
- package/core/dist/prompt-builder/types.js +7 -0
- package/core/dist/prompt-builder/types.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/admission-gate.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/admission-gate.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/admission-gate.test.js +126 -0
- package/core/dist/runtime-v2/__tests__/admission-gate.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.js +2990 -0
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.js +608 -0
- package/core/dist/runtime-v2/__tests__/artificer-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.d.ts +20 -0
- package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.js +473 -0
- package/core/dist/runtime-v2/__tests__/attack-e2e-pipeline-smoke.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/candidate-audit.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/candidate-audit.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/candidate-audit.test.js +100 -0
- package/core/dist/runtime-v2/__tests__/candidate-audit.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-attack.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-attack.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-attack.test.js +276 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-attack.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-real-path.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-real-path.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-real-path.test.js +561 -0
- package/core/dist/runtime-v2/__tests__/chain-integrity-real-path.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/control-plane-triage.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/control-plane-triage.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/control-plane-triage.test.js +107 -0
- package/core/dist/runtime-v2/__tests__/control-plane-triage.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/correction-proposal.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/correction-proposal.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/correction-proposal.test.js +486 -0
- package/core/dist/runtime-v2/__tests__/correction-proposal.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-output-validator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/dreamer-output-validator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-output-validator.test.js +171 -0
- package/core/dist/runtime-v2/__tests__/dreamer-output-validator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-real-llm.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-real-llm.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-real-llm.test.js +155 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-real-llm.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-vslice.test.js +515 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.js +348 -0
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/error-categories.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/error-categories.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/error-categories.test.js +149 -0
- package/core/dist/runtime-v2/__tests__/error-categories.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice.test.js +1047 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/index.d.ts +4 -0
- package/core/dist/runtime-v2/__tests__/fixtures/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/index.js +3 -0
- package/core/dist/runtime-v2/__tests__/fixtures/index.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.d.ts +20 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.js +39 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.test.js +111 -0
- package/core/dist/runtime-v2/__tests__/fixtures/llm-e2e-config.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/test-helpers.d.ts +20 -0
- package/core/dist/runtime-v2/__tests__/fixtures/test-helpers.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/fixtures/test-helpers.js +37 -0
- package/core/dist/runtime-v2/__tests__/fixtures/test-helpers.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/full-chain-real-llm.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/full-chain-real-llm.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/full-chain-real-llm.test.js +152 -0
- package/core/dist/runtime-v2/__tests__/full-chain-real-llm.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/full-trace-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/full-trace-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/full-trace-contract.test.js +552 -0
- package/core/dist/runtime-v2/__tests__/full-trace-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/gfi-workspace-health.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/gfi-workspace-health.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/gfi-workspace-health.test.js +128 -0
- package/core/dist/runtime-v2/__tests__/gfi-workspace-health.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.js +759 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-candidate-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-replay-validator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-replay-validator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-replay-validator.test.js +231 -0
- package/core/dist/runtime-v2/__tests__/golden-trace-replay-validator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/golden-trace.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/golden-trace.test.js +335 -0
- package/core/dist/runtime-v2/__tests__/golden-trace.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/intake-to-internalization-bridge.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/intake-to-internalization-bridge.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/intake-to-internalization-bridge.test.js +307 -0
- package/core/dist/runtime-v2/__tests__/intake-to-internalization-bridge.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-chain-integrity-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-chain-integrity-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-chain-integrity-read-model.test.js +268 -0
- package/core/dist/runtime-v2/__tests__/internalization-chain-integrity-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.js +78 -0
- package/core/dist/runtime-v2/__tests__/internalization-contracts.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-integrity-remediation.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-integrity-remediation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-integrity-remediation.test.js +218 -0
- package/core/dist/runtime-v2/__tests__/internalization-integrity-remediation.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-orchestrator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-orchestrator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-orchestrator.test.js +569 -0
- package/core/dist/runtime-v2/__tests__/internalization-orchestrator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.js +448 -0
- package/core/dist/runtime-v2/__tests__/internalization-peer-runner-contracts.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-queue-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-queue-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-queue-read-model.test.js +415 -0
- package/core/dist/runtime-v2/__tests__/internalization-queue-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-route.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-route.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-route.test.js +136 -0
- package/core/dist/runtime-v2/__tests__/internalization-route.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-state-machine.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/internalization-state-machine.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/internalization-state-machine.test.js +679 -0
- package/core/dist/runtime-v2/__tests__/internalization-state-machine.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/l1-hard-cap.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/l1-hard-cap.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/l1-hard-cap.test.js +157 -0
- package/core/dist/runtime-v2/__tests__/l1-hard-cap.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-cold-start-guard.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/operator-health-cold-start-guard.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-cold-start-guard.test.js +102 -0
- package/core/dist/runtime-v2/__tests__/operator-health-cold-start-guard.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi-degraded.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi-degraded.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi-degraded.test.js +148 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi-degraded.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi.test.js +113 -0
- package/core/dist/runtime-v2/__tests__/operator-health-gfi.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/operator-health-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/operator-health-read-model.test.js +136 -0
- package/core/dist/runtime-v2/__tests__/operator-health-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-chain-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-chain-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-chain-read-model.test.js +248 -0
- package/core/dist/runtime-v2/__tests__/pain-chain-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-evidence-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-evidence-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-evidence-contract.test.js +328 -0
- package/core/dist/runtime-v2/__tests__/pain-evidence-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-flood-simulation.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-flood-simulation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-flood-simulation.test.js +267 -0
- package/core/dist/runtime-v2/__tests__/pain-flood-simulation.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-bridge-retried.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-bridge-retried.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-bridge-retried.test.js +147 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-bridge-retried.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.js +151 -0
- package/core/dist/runtime-v2/__tests__/pain-signal-observability.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.js +209 -0
- package/core/dist/runtime-v2/__tests__/pain-to-principle-service.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-real-llm.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-real-llm.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-real-llm.test.js +167 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-real-llm.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-vslice.test.js +338 -0
- package/core/dist/runtime-v2/__tests__/philosopher-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pi-artifact-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pi-artifact-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pi-artifact-store.test.js +247 -0
- package/core/dist/runtime-v2/__tests__/pi-artifact-store.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.d.ts +8 -0
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.js +333 -0
- package/core/dist/runtime-v2/__tests__/pitask-metadata.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/principle-compiler-core.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/principle-compiler-core.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/principle-compiler-core.test.js +141 -0
- package/core/dist/runtime-v2/__tests__/principle-compiler-core.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/production-canary-fixture-gate.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/production-canary-fixture-gate.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/production-canary-fixture-gate.test.js +524 -0
- package/core/dist/runtime-v2/__tests__/production-canary-fixture-gate.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/proven-channel-baseline.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/proven-channel-baseline.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/proven-channel-baseline.test.js +428 -0
- package/core/dist/runtime-v2/__tests__/proven-channel-baseline.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pruning-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pruning-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pruning-read-model.test.js +783 -0
- package/core/dist/runtime-v2/__tests__/pruning-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/pruning-review-log.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/pruning-review-log.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/pruning-review-log.test.js +159 -0
- package/core/dist/runtime-v2/__tests__/pruning-review-log.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/recovery-sweep-service.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/recovery-sweep-service.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/recovery-sweep-service.test.js +83 -0
- package/core/dist/runtime-v2/__tests__/recovery-sweep-service.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/remediation-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/remediation-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/remediation-contract.test.js +39 -0
- package/core/dist/runtime-v2/__tests__/remediation-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/rollout-reviewer-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/rollout-reviewer-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/rollout-reviewer-runner-vslice.test.js +658 -0
- package/core/dist/runtime-v2/__tests__/rollout-reviewer-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/rule-host-evaluator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/rule-host-evaluator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/rule-host-evaluator.test.js +509 -0
- package/core/dist/runtime-v2/__tests__/rule-host-evaluator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/rulehost-oob-defense-simulation.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/rulehost-oob-defense-simulation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/rulehost-oob-defense-simulation.test.js +535 -0
- package/core/dist/runtime-v2/__tests__/rulehost-oob-defense-simulation.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/runtime-config-boundary.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/runtime-config-boundary.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/runtime-config-boundary.test.js +256 -0
- package/core/dist/runtime-v2/__tests__/runtime-config-boundary.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/runtime-state-handle.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/runtime-state-handle.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/runtime-state-handle.test.js +76 -0
- package/core/dist/runtime-v2/__tests__/runtime-state-handle.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/schema-conformance-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/schema-conformance-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/schema-conformance-read-model.test.js +208 -0
- package/core/dist/runtime-v2/__tests__/schema-conformance-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-real-llm.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-real-llm.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-real-llm.test.js +156 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-real-llm.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-vslice.test.js +430 -0
- package/core/dist/runtime-v2/__tests__/scribe-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/sqlite-confirm-first-state-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/sqlite-confirm-first-state-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/sqlite-confirm-first-state-store.test.js +148 -0
- package/core/dist/runtime-v2/__tests__/sqlite-confirm-first-state-store.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/sqlite-connection-readonly.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/sqlite-connection-readonly.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/sqlite-connection-readonly.test.js +95 -0
- package/core/dist/runtime-v2/__tests__/sqlite-connection-readonly.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.js +257 -0
- package/core/dist/runtime-v2/__tests__/story-a-demo.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/synthetic-baseline.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/synthetic-baseline.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/synthetic-baseline.test.js +155 -0
- package/core/dist/runtime-v2/__tests__/synthetic-baseline.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/task-state-semantics.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/task-state-semantics.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/task-state-semantics.test.js +145 -0
- package/core/dist/runtime-v2/__tests__/task-state-semantics.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/task-three-strikes.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/task-three-strikes.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/task-three-strikes.test.js +268 -0
- package/core/dist/runtime-v2/__tests__/task-three-strikes.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.js +726 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner-agent.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner.test.js +527 -0
- package/core/dist/runtime-v2/__tests__/trace-refiner.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trainer-output-validator.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trainer-output-validator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trainer-output-validator.test.js +257 -0
- package/core/dist/runtime-v2/__tests__/trainer-output-validator.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trainer-runner-vslice.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trainer-runner-vslice.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trainer-runner-vslice.test.js +506 -0
- package/core/dist/runtime-v2/__tests__/trainer-runner-vslice.test.js.map +1 -0
- package/core/dist/runtime-v2/__tests__/trajectory-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/__tests__/trajectory-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/__tests__/trajectory-store.test.js +127 -0
- package/core/dist/runtime-v2/__tests__/trajectory-store.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.js +510 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-dispatcher.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-context-types.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-context-types.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-context-types.test.js +117 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-context-types.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-queue.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-queue.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-queue.test.js +179 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-queue.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-store-extended.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-store-extended.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-store-extended.test.js +174 -0
- package/core/dist/runtime-v2/activation/__tests__/approval-store-extended.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/memory-activation-state-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/memory-activation-state-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/memory-activation-state-store.test.js +244 -0
- package/core/dist/runtime-v2/activation/__tests__/memory-activation-state-store.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.js +109 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-approval-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-approval-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-approval-store.test.js +124 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-approval-store.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts +18 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.js +231 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.js.map +1 -0
- package/core/dist/runtime-v2/activation/activation-types.d.ts +195 -0
- package/core/dist/runtime-v2/activation/activation-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/activation-types.js +29 -0
- package/core/dist/runtime-v2/activation/activation-types.js.map +1 -0
- package/core/dist/runtime-v2/activation/approval-queue.d.ts +15 -0
- package/core/dist/runtime-v2/activation/approval-queue.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/approval-queue.js +50 -0
- package/core/dist/runtime-v2/activation/approval-queue.js.map +1 -0
- package/core/dist/runtime-v2/activation/index.d.ts +15 -0
- package/core/dist/runtime-v2/activation/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/index.js +11 -0
- package/core/dist/runtime-v2/activation/index.js.map +1 -0
- package/core/dist/runtime-v2/activation/low-risk-writers.d.ts +14 -0
- package/core/dist/runtime-v2/activation/low-risk-writers.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/low-risk-writers.js +83 -0
- package/core/dist/runtime-v2/activation/low-risk-writers.js.map +1 -0
- package/core/dist/runtime-v2/activation/memory-activation-state-store.d.ts +13 -0
- package/core/dist/runtime-v2/activation/memory-activation-state-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/memory-activation-state-store.js +28 -0
- package/core/dist/runtime-v2/activation/memory-activation-state-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/memory-approval-store.d.ts +12 -0
- package/core/dist/runtime-v2/activation/memory-approval-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/memory-approval-store.js +102 -0
- package/core/dist/runtime-v2/activation/memory-approval-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts +10 -0
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js +87 -0
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-approval-store.d.ts +14 -0
- package/core/dist/runtime-v2/activation/sqlite-approval-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-approval-store.js +138 -0
- package/core/dist/runtime-v2/activation/sqlite-approval-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-confirm-first-state-store.d.ts +22 -0
- package/core/dist/runtime-v2/activation/sqlite-confirm-first-state-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/sqlite-confirm-first-state-store.js +136 -0
- package/core/dist/runtime-v2/activation/sqlite-confirm-first-state-store.js.map +1 -0
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.js +615 -0
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/writers/index.d.ts +3 -0
- package/core/dist/runtime-v2/activation/writers/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/writers/index.js +2 -0
- package/core/dist/runtime-v2/activation/writers/index.js.map +1 -0
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts +14 -0
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.js +135 -0
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.js +553 -0
- package/core/dist/runtime-v2/adapter/__tests__/chaos-json-repair.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.js +148 -0
- package/core/dist/runtime-v2/adapter/__tests__/json-extractor.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.js +565 -0
- package/core/dist/runtime-v2/adapter/__tests__/openclaw-cli-runtime-adapter.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/output-repair-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/output-repair-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/output-repair-contract.test.js +305 -0
- package/core/dist/runtime-v2/adapter/__tests__/output-repair-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.js +1362 -0
- package/core/dist/runtime-v2/adapter/__tests__/pi-ai-runtime-adapter.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.js +245 -0
- package/core/dist/runtime-v2/adapter/__tests__/runtime-config-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/schema-prompt-adapter.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/schema-prompt-adapter.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/schema-prompt-adapter.test.js +270 -0
- package/core/dist/runtime-v2/adapter/__tests__/schema-prompt-adapter.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.js +494 -0
- package/core/dist/runtime-v2/adapter/__tests__/structured-output-repair.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/test-double-runtime-adapter.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/test-double-runtime-adapter.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/test-double-runtime-adapter.test.js +123 -0
- package/core/dist/runtime-v2/adapter/__tests__/test-double-runtime-adapter.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/index.d.ts +10 -0
- package/core/dist/runtime-v2/adapter/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/index.js +6 -0
- package/core/dist/runtime-v2/adapter/index.js.map +1 -0
- package/core/dist/runtime-v2/adapter/json-extractor.d.ts +14 -0
- package/core/dist/runtime-v2/adapter/json-extractor.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/json-extractor.js +97 -0
- package/core/dist/runtime-v2/adapter/json-extractor.js.map +1 -0
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.d.ts +66 -0
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.js +705 -0
- package/core/dist/runtime-v2/adapter/openclaw-cli-runtime-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts +50 -0
- package/core/dist/runtime-v2/adapter/output-repair-contract.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/output-repair-contract.js +96 -0
- package/core/dist/runtime-v2/adapter/output-repair-contract.js.map +1 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts +114 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js +1110 -0
- package/core/dist/runtime-v2/adapter/pi-ai-runtime-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts +22 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js +84 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.d.ts +13 -0
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.js +266 -0
- package/core/dist/runtime-v2/adapter/schema-prompt-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/structured-output-repair.d.ts +95 -0
- package/core/dist/runtime-v2/adapter/structured-output-repair.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/structured-output-repair.js +259 -0
- package/core/dist/runtime-v2/adapter/structured-output-repair.js.map +1 -0
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.d.ts +35 -0
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.js +94 -0
- package/core/dist/runtime-v2/adapter/test-double-runtime-adapter.js.map +1 -0
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.d.ts +17 -0
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.js +8 -0
- package/core/dist/runtime-v2/adapter/tools/diagnostician-tool.js.map +1 -0
- package/core/dist/runtime-v2/admission-gate.d.ts +27 -0
- package/core/dist/runtime-v2/admission-gate.d.ts.map +1 -0
- package/core/dist/runtime-v2/admission-gate.js +57 -0
- package/core/dist/runtime-v2/admission-gate.js.map +1 -0
- package/core/dist/runtime-v2/agent-spec.d.ts +86 -0
- package/core/dist/runtime-v2/agent-spec.d.ts.map +1 -0
- package/core/dist/runtime-v2/agent-spec.js +74 -0
- package/core/dist/runtime-v2/agent-spec.js.map +1 -0
- package/core/dist/runtime-v2/candidate-audit.d.ts +8 -0
- package/core/dist/runtime-v2/candidate-audit.d.ts.map +1 -0
- package/core/dist/runtime-v2/candidate-audit.js +47 -0
- package/core/dist/runtime-v2/candidate-audit.js.map +1 -0
- package/core/dist/runtime-v2/candidate-intake-service.d.ts +43 -0
- package/core/dist/runtime-v2/candidate-intake-service.d.ts.map +1 -0
- package/core/dist/runtime-v2/candidate-intake-service.js +117 -0
- package/core/dist/runtime-v2/candidate-intake-service.js.map +1 -0
- package/core/dist/runtime-v2/candidate-intake.d.ts +219 -0
- package/core/dist/runtime-v2/candidate-intake.d.ts.map +1 -0
- package/core/dist/runtime-v2/candidate-intake.js +178 -0
- package/core/dist/runtime-v2/candidate-intake.js.map +1 -0
- package/core/dist/runtime-v2/cli/diagnose.d.ts +127 -0
- package/core/dist/runtime-v2/cli/diagnose.d.ts.map +1 -0
- package/core/dist/runtime-v2/cli/diagnose.js +113 -0
- package/core/dist/runtime-v2/cli/diagnose.js.map +1 -0
- package/core/dist/runtime-v2/cli/index.d.ts +5 -0
- package/core/dist/runtime-v2/cli/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/cli/index.js +3 -0
- package/core/dist/runtime-v2/cli/index.js.map +1 -0
- package/core/dist/runtime-v2/cli/probe.d.ts +31 -0
- package/core/dist/runtime-v2/cli/probe.d.ts.map +1 -0
- package/core/dist/runtime-v2/cli/probe.js +58 -0
- package/core/dist/runtime-v2/cli/probe.js.map +1 -0
- package/core/dist/runtime-v2/context-payload.d.ts +298 -0
- package/core/dist/runtime-v2/context-payload.d.ts.map +1 -0
- package/core/dist/runtime-v2/context-payload.js +140 -0
- package/core/dist/runtime-v2/context-payload.js.map +1 -0
- package/core/dist/runtime-v2/control-plane-triage.d.ts +32 -0
- package/core/dist/runtime-v2/control-plane-triage.d.ts.map +1 -0
- package/core/dist/runtime-v2/control-plane-triage.js +220 -0
- package/core/dist/runtime-v2/control-plane-triage.js.map +1 -0
- package/core/dist/runtime-v2/correction/correction-types.d.ts +87 -0
- package/core/dist/runtime-v2/correction/correction-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/correction/correction-types.js +66 -0
- package/core/dist/runtime-v2/correction/correction-types.js.map +1 -0
- package/core/dist/runtime-v2/correction/index.d.ts +2 -0
- package/core/dist/runtime-v2/correction/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/correction/index.js +2 -0
- package/core/dist/runtime-v2/correction/index.js.map +1 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.integration.test.js +170 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.test.js +396 -0
- package/core/dist/runtime-v2/diagnostician/__tests__/diagnostician-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/diagnostician-output.d.ts +84 -0
- package/core/dist/runtime-v2/diagnostician-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/diagnostician-output.js +60 -0
- package/core/dist/runtime-v2/diagnostician-output.js.map +1 -0
- package/core/dist/runtime-v2/diagnostician-prompt-builder.d.ts +130 -0
- package/core/dist/runtime-v2/diagnostician-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/diagnostician-prompt-builder.js +162 -0
- package/core/dist/runtime-v2/diagnostician-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/error-categories.d.ts +42 -0
- package/core/dist/runtime-v2/error-categories.d.ts.map +1 -0
- package/core/dist/runtime-v2/error-categories.js +119 -0
- package/core/dist/runtime-v2/error-categories.js.map +1 -0
- package/core/dist/runtime-v2/evolution/evolution-types.d.ts +709 -0
- package/core/dist/runtime-v2/evolution/evolution-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/evolution/evolution-types.js +410 -0
- package/core/dist/runtime-v2/evolution/evolution-types.js.map +1 -0
- package/core/dist/runtime-v2/evolution/index.d.ts +2 -0
- package/core/dist/runtime-v2/evolution/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/evolution/index.js +2 -0
- package/core/dist/runtime-v2/evolution/index.js.map +1 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.d.ts +2 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js +298 -0
- package/core/dist/runtime-v2/feature-flags/__tests__/feature-flag-contract.test.js.map +1 -0
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts +35 -0
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.d.ts.map +1 -0
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js +124 -0
- package/core/dist/runtime-v2/feature-flags/feature-flag-contract.js.map +1 -0
- package/core/dist/runtime-v2/feature-flags/index.d.ts +3 -0
- package/core/dist/runtime-v2/feature-flags/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/feature-flags/index.js +2 -0
- package/core/dist/runtime-v2/feature-flags/index.js.map +1 -0
- package/core/dist/runtime-v2/full-trace-contract.d.ts +79 -0
- package/core/dist/runtime-v2/full-trace-contract.d.ts.map +1 -0
- package/core/dist/runtime-v2/full-trace-contract.js +464 -0
- package/core/dist/runtime-v2/full-trace-contract.js.map +1 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-kernel.test.d.ts +2 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-kernel.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-kernel.test.js +626 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-kernel.test.js.map +1 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-read-model.test.js +212 -0
- package/core/dist/runtime-v2/gfi/__tests__/gfi-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-kernel.d.ts +12 -0
- package/core/dist/runtime-v2/gfi/gfi-kernel.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-kernel.js +148 -0
- package/core/dist/runtime-v2/gfi/gfi-kernel.js.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-policy.d.ts +3 -0
- package/core/dist/runtime-v2/gfi/gfi-policy.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-policy.js +23 -0
- package/core/dist/runtime-v2/gfi/gfi-policy.js.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-read-model.d.ts +78 -0
- package/core/dist/runtime-v2/gfi/gfi-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-read-model.js +129 -0
- package/core/dist/runtime-v2/gfi/gfi-read-model.js.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-types.d.ts +70 -0
- package/core/dist/runtime-v2/gfi/gfi-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/gfi-types.js +2 -0
- package/core/dist/runtime-v2/gfi/gfi-types.js.map +1 -0
- package/core/dist/runtime-v2/gfi/index.d.ts +6 -0
- package/core/dist/runtime-v2/gfi/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/gfi/index.js +4 -0
- package/core/dist/runtime-v2/gfi/index.js.map +1 -0
- package/core/dist/runtime-v2/golden-trace-candidate-builder.d.ts +23 -0
- package/core/dist/runtime-v2/golden-trace-candidate-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/golden-trace-candidate-builder.js +193 -0
- package/core/dist/runtime-v2/golden-trace-candidate-builder.js.map +1 -0
- package/core/dist/runtime-v2/golden-trace-replay-adapter.d.ts +18 -0
- package/core/dist/runtime-v2/golden-trace-replay-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/golden-trace-replay-adapter.js +18 -0
- package/core/dist/runtime-v2/golden-trace-replay-adapter.js.map +1 -0
- package/core/dist/runtime-v2/golden-trace-replay-validator.d.ts +42 -0
- package/core/dist/runtime-v2/golden-trace-replay-validator.d.ts.map +1 -0
- package/core/dist/runtime-v2/golden-trace-replay-validator.js +220 -0
- package/core/dist/runtime-v2/golden-trace-replay-validator.js.map +1 -0
- package/core/dist/runtime-v2/golden-trace.d.ts +80 -0
- package/core/dist/runtime-v2/golden-trace.d.ts.map +1 -0
- package/core/dist/runtime-v2/golden-trace.js +158 -0
- package/core/dist/runtime-v2/golden-trace.js.map +1 -0
- package/core/dist/runtime-v2/index.d.ts +281 -0
- package/core/dist/runtime-v2/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/index.js +224 -0
- package/core/dist/runtime-v2/index.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.js +57 -0
- package/core/dist/runtime-v2/internalization/__tests__/artificer-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/dreamer-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/dreamer-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/dreamer-prompt-builder.test.js +182 -0
- package/core/dist/runtime-v2/internalization/__tests__/dreamer-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder.test.js +112 -0
- package/core/dist/runtime-v2/internalization/__tests__/evaluator-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-job-graph.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-job-graph.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-job-graph.test.js +176 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-job-graph.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-task-guards.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-task-guards.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-task-guards.test.js +297 -0
- package/core/dist/runtime-v2/internalization/__tests__/internalization-task-guards.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-prompt-builder.test.js +149 -0
- package/core/dist/runtime-v2/internalization/__tests__/philosopher-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.js +92 -0
- package/core/dist/runtime-v2/internalization/__tests__/queue-actionability.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-rulehost-gate.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-rulehost-gate.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-rulehost-gate.test.js +431 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-rulehost-gate.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-sandbox-wrapper.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-sandbox-wrapper.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-sandbox-wrapper.test.js +763 -0
- package/core/dist/runtime-v2/internalization/__tests__/refiner-sandbox-wrapper.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/rollout-reviewer-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/rollout-reviewer-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/rollout-reviewer-prompt-builder.test.js +75 -0
- package/core/dist/runtime-v2/internalization/__tests__/rollout-reviewer-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/scribe-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/scribe-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/scribe-prompt-builder.test.js +56 -0
- package/core/dist/runtime-v2/internalization/__tests__/scribe-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/trainer-prompt-builder.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/__tests__/trainer-prompt-builder.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/__tests__/trainer-prompt-builder.test.js +141 -0
- package/core/dist/runtime-v2/internalization/__tests__/trainer-prompt-builder.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-output.d.ts +67 -0
- package/core/dist/runtime-v2/internalization/artificer-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-output.js +103 -0
- package/core/dist/runtime-v2/internalization/artificer-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.js +62 -0
- package/core/dist/runtime-v2/internalization/artificer-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-runner.d.ts +77 -0
- package/core/dist/runtime-v2/internalization/artificer-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/artificer-runner.js +521 -0
- package/core/dist/runtime-v2/internalization/artificer-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/compile-result.d.ts +20 -0
- package/core/dist/runtime-v2/internalization/compile-result.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/compile-result.js +8 -0
- package/core/dist/runtime-v2/internalization/compile-result.js.map +1 -0
- package/core/dist/runtime-v2/internalization/correction-proposal.d.ts +38 -0
- package/core/dist/runtime-v2/internalization/correction-proposal.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/correction-proposal.js +322 -0
- package/core/dist/runtime-v2/internalization/correction-proposal.js.map +1 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.d.ts +20 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.js +75 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.js.map +1 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.test.js +127 -0
- package/core/dist/runtime-v2/internalization/deprecated-readiness.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-output.d.ts +120 -0
- package/core/dist/runtime-v2/internalization/dreamer-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-output.js +92 -0
- package/core/dist/runtime-v2/internalization/dreamer-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.d.ts +41 -0
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.js +43 -0
- package/core/dist/runtime-v2/internalization/dreamer-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts +134 -0
- package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/dreamer-runner.js +636 -0
- package/core/dist/runtime-v2/internalization/dreamer-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-output.d.ts +71 -0
- package/core/dist/runtime-v2/internalization/evaluator-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-output.js +113 -0
- package/core/dist/runtime-v2/internalization/evaluator-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.js +49 -0
- package/core/dist/runtime-v2/internalization/evaluator-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts +80 -0
- package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/evaluator-runner.js +661 -0
- package/core/dist/runtime-v2/internalization/evaluator-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/index.d.ts +81 -0
- package/core/dist/runtime-v2/internalization/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/index.js +47 -0
- package/core/dist/runtime-v2/internalization/index.js.map +1 -0
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.d.ts +57 -0
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.js +99 -0
- package/core/dist/runtime-v2/internalization/intake-to-internalization-bridge.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-job-graph.d.ts +78 -0
- package/core/dist/runtime-v2/internalization/internalization-job-graph.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-job-graph.js +153 -0
- package/core/dist/runtime-v2/internalization/internalization-job-graph.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.d.ts +182 -0
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.js +355 -0
- package/core/dist/runtime-v2/internalization/internalization-orchestrator.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-route.d.ts +28 -0
- package/core/dist/runtime-v2/internalization/internalization-route.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-route.js +112 -0
- package/core/dist/runtime-v2/internalization/internalization-route.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-state-machine.d.ts +157 -0
- package/core/dist/runtime-v2/internalization/internalization-state-machine.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-state-machine.js +274 -0
- package/core/dist/runtime-v2/internalization/internalization-state-machine.js.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-task-guards.d.ts +92 -0
- package/core/dist/runtime-v2/internalization/internalization-task-guards.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/internalization-task-guards.js +152 -0
- package/core/dist/runtime-v2/internalization/internalization-task-guards.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.d.ts +18 -0
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.js +2 -0
- package/core/dist/runtime-v2/internalization/lifecycle-datasource.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.js +124 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.test.js +201 -0
- package/core/dist/runtime-v2/internalization/lifecycle-metrics.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.d.ts +11 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.js +155 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.test.js +408 -0
- package/core/dist/runtime-v2/internalization/lifecycle-read-model.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-types.d.ts +75 -0
- package/core/dist/runtime-v2/internalization/lifecycle-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/lifecycle-types.js +2 -0
- package/core/dist/runtime-v2/internalization/lifecycle-types.js.map +1 -0
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.d.ts +140 -0
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.js +124 -0
- package/core/dist/runtime-v2/internalization/peer-runner-contracts.js.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-output.d.ts +56 -0
- package/core/dist/runtime-v2/internalization/philosopher-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-output.js +69 -0
- package/core/dist/runtime-v2/internalization/philosopher-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.d.ts +41 -0
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.js +50 -0
- package/core/dist/runtime-v2/internalization/philosopher-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-runner.d.ts +103 -0
- package/core/dist/runtime-v2/internalization/philosopher-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/philosopher-runner.js +519 -0
- package/core/dist/runtime-v2/internalization/philosopher-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/pi-artifact-store.d.ts +13 -0
- package/core/dist/runtime-v2/internalization/pi-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/pi-artifact-store.js +65 -0
- package/core/dist/runtime-v2/internalization/pi-artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/internalization/pi-artifact.d.ts +23 -0
- package/core/dist/runtime-v2/internalization/pi-artifact.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/pi-artifact.js +2 -0
- package/core/dist/runtime-v2/internalization/pi-artifact.js.map +1 -0
- package/core/dist/runtime-v2/internalization/pitask-metadata.d.ts +80 -0
- package/core/dist/runtime-v2/internalization/pitask-metadata.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/pitask-metadata.js +194 -0
- package/core/dist/runtime-v2/internalization/pitask-metadata.js.map +1 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.d.ts +37 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.js +50 -0
- package/core/dist/runtime-v2/internalization/queue-actionability.js.map +1 -0
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.d.ts +20 -0
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.js +151 -0
- package/core/dist/runtime-v2/internalization/refiner-rulehost-gate.js.map +1 -0
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.d.ts +36 -0
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.js +227 -0
- package/core/dist/runtime-v2/internalization/refiner-sandbox-wrapper.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.d.ts +74 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.js +117 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.js +52 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.d.ts +76 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.js +538 -0
- package/core/dist/runtime-v2/internalization/rollout-reviewer-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/routing-policy.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/routing-policy.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/routing-policy.js +169 -0
- package/core/dist/runtime-v2/internalization/routing-policy.js.map +1 -0
- package/core/dist/runtime-v2/internalization/routing-policy.test.d.ts +2 -0
- package/core/dist/runtime-v2/internalization/routing-policy.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/routing-policy.test.js +286 -0
- package/core/dist/runtime-v2/internalization/routing-policy.test.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-code-validator.d.ts +21 -0
- package/core/dist/runtime-v2/internalization/rule-code-validator.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-code-validator.js +42 -0
- package/core/dist/runtime-v2/internalization/rule-code-validator.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-adapter.d.ts +16 -0
- package/core/dist/runtime-v2/internalization/rule-host-adapter.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-adapter.js +13 -0
- package/core/dist/runtime-v2/internalization/rule-host-adapter.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-contracts.d.ts +61 -0
- package/core/dist/runtime-v2/internalization/rule-host-contracts.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-contracts.js +14 -0
- package/core/dist/runtime-v2/internalization/rule-host-contracts.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.d.ts +36 -0
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.js +103 -0
- package/core/dist/runtime-v2/internalization/rule-host-evaluator.js.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-helpers.d.ts +27 -0
- package/core/dist/runtime-v2/internalization/rule-host-helpers.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/rule-host-helpers.js +27 -0
- package/core/dist/runtime-v2/internalization/rule-host-helpers.js.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-output.d.ts +74 -0
- package/core/dist/runtime-v2/internalization/scribe-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-output.js +98 -0
- package/core/dist/runtime-v2/internalization/scribe-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.js +60 -0
- package/core/dist/runtime-v2/internalization/scribe-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-runner.d.ts +77 -0
- package/core/dist/runtime-v2/internalization/scribe-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/scribe-runner.js +518 -0
- package/core/dist/runtime-v2/internalization/scribe-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization/template-generator.d.ts +21 -0
- package/core/dist/runtime-v2/internalization/template-generator.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/template-generator.js +61 -0
- package/core/dist/runtime-v2/internalization/template-generator.js.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-output.d.ts +122 -0
- package/core/dist/runtime-v2/internalization/trainer-output.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-output.js +223 -0
- package/core/dist/runtime-v2/internalization/trainer-output.js.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-prompt-builder.d.ts +24 -0
- package/core/dist/runtime-v2/internalization/trainer-prompt-builder.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-prompt-builder.js +57 -0
- package/core/dist/runtime-v2/internalization/trainer-prompt-builder.js.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-runner.d.ts +76 -0
- package/core/dist/runtime-v2/internalization/trainer-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization/trainer-runner.js +538 -0
- package/core/dist/runtime-v2/internalization/trainer-runner.js.map +1 -0
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.d.ts +42 -0
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.js +413 -0
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.js.map +1 -0
- package/core/dist/runtime-v2/internalization-integrity-remediation.d.ts +17 -0
- package/core/dist/runtime-v2/internalization-integrity-remediation.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization-integrity-remediation.js +269 -0
- package/core/dist/runtime-v2/internalization-integrity-remediation.js.map +1 -0
- package/core/dist/runtime-v2/internalization-queue-read-model.d.ts +93 -0
- package/core/dist/runtime-v2/internalization-queue-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/internalization-queue-read-model.js +217 -0
- package/core/dist/runtime-v2/internalization-queue-read-model.js.map +1 -0
- package/core/dist/runtime-v2/l1-hard-cap.d.ts +21 -0
- package/core/dist/runtime-v2/l1-hard-cap.d.ts.map +1 -0
- package/core/dist/runtime-v2/l1-hard-cap.js +51 -0
- package/core/dist/runtime-v2/l1-hard-cap.js.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/agent-scheduler.test.d.ts +2 -0
- package/core/dist/runtime-v2/observer/__tests__/agent-scheduler.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/agent-scheduler.test.js +49 -0
- package/core/dist/runtime-v2/observer/__tests__/agent-scheduler.test.js.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/correction-observer.test.d.ts +2 -0
- package/core/dist/runtime-v2/observer/__tests__/correction-observer.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/correction-observer.test.js +144 -0
- package/core/dist/runtime-v2/observer/__tests__/correction-observer.test.js.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.real-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.real-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.real-e2e.test.js +67 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.real-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.test.d.ts +2 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.test.js +84 -0
- package/core/dist/runtime-v2/observer/__tests__/empathy-observer.test.js.map +1 -0
- package/core/dist/runtime-v2/observer/agent-scheduler.d.ts +40 -0
- package/core/dist/runtime-v2/observer/agent-scheduler.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/agent-scheduler.js +30 -0
- package/core/dist/runtime-v2/observer/agent-scheduler.js.map +1 -0
- package/core/dist/runtime-v2/observer/correction-observer.d.ts +59 -0
- package/core/dist/runtime-v2/observer/correction-observer.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/correction-observer.js +178 -0
- package/core/dist/runtime-v2/observer/correction-observer.js.map +1 -0
- package/core/dist/runtime-v2/observer/empathy-observer.d.ts +35 -0
- package/core/dist/runtime-v2/observer/empathy-observer.d.ts.map +1 -0
- package/core/dist/runtime-v2/observer/empathy-observer.js +98 -0
- package/core/dist/runtime-v2/observer/empathy-observer.js.map +1 -0
- package/core/dist/runtime-v2/operator-health-read-model.d.ts +45 -0
- package/core/dist/runtime-v2/operator-health-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/operator-health-read-model.js +189 -0
- package/core/dist/runtime-v2/operator-health-read-model.js.map +1 -0
- package/core/dist/runtime-v2/pain-chain-read-model.d.ts +40 -0
- package/core/dist/runtime-v2/pain-chain-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-chain-read-model.js +293 -0
- package/core/dist/runtime-v2/pain-chain-read-model.js.map +1 -0
- package/core/dist/runtime-v2/pain-flood-simulation.d.ts +62 -0
- package/core/dist/runtime-v2/pain-flood-simulation.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-flood-simulation.js +152 -0
- package/core/dist/runtime-v2/pain-flood-simulation.js.map +1 -0
- package/core/dist/runtime-v2/pain-signal-bridge.d.ts +72 -0
- package/core/dist/runtime-v2/pain-signal-bridge.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-signal-bridge.js +340 -0
- package/core/dist/runtime-v2/pain-signal-bridge.js.map +1 -0
- package/core/dist/runtime-v2/pain-signal-observability.d.ts +19 -0
- package/core/dist/runtime-v2/pain-signal-observability.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-signal-observability.js +161 -0
- package/core/dist/runtime-v2/pain-signal-observability.js.map +1 -0
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts +82 -0
- package/core/dist/runtime-v2/pain-signal-runtime-factory.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js +279 -0
- package/core/dist/runtime-v2/pain-signal-runtime-factory.js.map +1 -0
- package/core/dist/runtime-v2/pain-to-principle-service.d.ts +53 -0
- package/core/dist/runtime-v2/pain-to-principle-service.d.ts.map +1 -0
- package/core/dist/runtime-v2/pain-to-principle-service.js +114 -0
- package/core/dist/runtime-v2/pain-to-principle-service.js.map +1 -0
- package/core/dist/runtime-v2/proven-channel-baseline.d.ts +56 -0
- package/core/dist/runtime-v2/proven-channel-baseline.d.ts.map +1 -0
- package/core/dist/runtime-v2/proven-channel-baseline.js +480 -0
- package/core/dist/runtime-v2/proven-channel-baseline.js.map +1 -0
- package/core/dist/runtime-v2/pruning-mask.d.ts +27 -0
- package/core/dist/runtime-v2/pruning-mask.d.ts.map +1 -0
- package/core/dist/runtime-v2/pruning-mask.js +59 -0
- package/core/dist/runtime-v2/pruning-mask.js.map +1 -0
- package/core/dist/runtime-v2/pruning-read-model.d.ts +76 -0
- package/core/dist/runtime-v2/pruning-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/pruning-read-model.js +266 -0
- package/core/dist/runtime-v2/pruning-read-model.js.map +1 -0
- package/core/dist/runtime-v2/pruning-review-log.d.ts +41 -0
- package/core/dist/runtime-v2/pruning-review-log.d.ts.map +1 -0
- package/core/dist/runtime-v2/pruning-review-log.js +106 -0
- package/core/dist/runtime-v2/pruning-review-log.js.map +1 -0
- package/core/dist/runtime-v2/recovery-sweep-service.d.ts +14 -0
- package/core/dist/runtime-v2/recovery-sweep-service.d.ts.map +1 -0
- package/core/dist/runtime-v2/recovery-sweep-service.js +26 -0
- package/core/dist/runtime-v2/recovery-sweep-service.js.map +1 -0
- package/core/dist/runtime-v2/remediation-contract.d.ts +46 -0
- package/core/dist/runtime-v2/remediation-contract.d.ts.map +1 -0
- package/core/dist/runtime-v2/remediation-contract.js +29 -0
- package/core/dist/runtime-v2/remediation-contract.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.js +526 -0
- package/core/dist/runtime-v2/runner/__tests__/default-validator.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnose.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnose.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnose.test.js +81 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnose.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.integration.test.js +378 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.test.js +642 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-runner.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-telemetry.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-telemetry.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-telemetry.test.js +286 -0
- package/core/dist/runtime-v2/runner/__tests__/diagnostician-telemetry.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/dual-track-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/dual-track-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/dual-track-e2e.test.js +320 -0
- package/core/dist/runtime-v2/runner/__tests__/dual-track-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/lease-expiration-recovery.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/lease-expiration-recovery.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/lease-expiration-recovery.integration.test.js +261 -0
- package/core/dist/runtime-v2/runner/__tests__/lease-expiration-recovery.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m5-05-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m5-05-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m5-05-e2e.test.js +405 -0
- package/core/dist/runtime-v2/runner/__tests__/m5-05-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-e2e.test.js +347 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-legacy.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-legacy.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-legacy.test.js +186 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-legacy.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-real-path.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-real-path.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-real-path.test.js +355 -0
- package/core/dist/runtime-v2/runner/__tests__/m6-06-real-path.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m8-02-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m8-02-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m8-02-e2e.test.js +488 -0
- package/core/dist/runtime-v2/runner/__tests__/m8-02-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-adapter-integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-adapter-integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-adapter-integration.test.js +171 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-adapter-integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-e2e.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-e2e.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-e2e.test.js +182 -0
- package/core/dist/runtime-v2/runner/__tests__/m9-e2e.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/max-attempts-exceeded.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/max-attempts-exceeded.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/max-attempts-exceeded.integration.test.js +276 -0
- package/core/dist/runtime-v2/runner/__tests__/max-attempts-exceeded.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge-admission.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge-admission.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge-admission.test.js +462 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge-admission.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge.test.js +160 -0
- package/core/dist/runtime-v2/runner/__tests__/pain-signal-bridge.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/retry-wait-recovery.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/retry-wait-recovery.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/retry-wait-recovery.integration.test.js +272 -0
- package/core/dist/runtime-v2/runner/__tests__/retry-wait-recovery.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/start-run-input.test.d.ts +2 -0
- package/core/dist/runtime-v2/runner/__tests__/start-run-input.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/__tests__/start-run-input.test.js +67 -0
- package/core/dist/runtime-v2/runner/__tests__/start-run-input.test.js.map +1 -0
- package/core/dist/runtime-v2/runner/default-validator.d.ts +10 -0
- package/core/dist/runtime-v2/runner/default-validator.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/default-validator.js +168 -0
- package/core/dist/runtime-v2/runner/default-validator.js.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner-options.d.ts +37 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner-options.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner-options.js +19 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner-options.js.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner.d.ts +87 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner.js +417 -0
- package/core/dist/runtime-v2/runner/diagnostician-runner.js.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-validator.d.ts +56 -0
- package/core/dist/runtime-v2/runner/diagnostician-validator.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/diagnostician-validator.js +11 -0
- package/core/dist/runtime-v2/runner/diagnostician-validator.js.map +1 -0
- package/core/dist/runtime-v2/runner/runner-phase.d.ts +21 -0
- package/core/dist/runtime-v2/runner/runner-phase.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/runner-phase.js +22 -0
- package/core/dist/runtime-v2/runner/runner-phase.js.map +1 -0
- package/core/dist/runtime-v2/runner/runner-result.d.ts +20 -0
- package/core/dist/runtime-v2/runner/runner-result.d.ts.map +1 -0
- package/core/dist/runtime-v2/runner/runner-result.js +2 -0
- package/core/dist/runtime-v2/runner/runner-result.js.map +1 -0
- package/core/dist/runtime-v2/runtime-protocol.d.ts +165 -0
- package/core/dist/runtime-v2/runtime-protocol.d.ts.map +1 -0
- package/core/dist/runtime-v2/runtime-protocol.js +130 -0
- package/core/dist/runtime-v2/runtime-protocol.js.map +1 -0
- package/core/dist/runtime-v2/runtime-selector.d.ts +77 -0
- package/core/dist/runtime-v2/runtime-selector.d.ts.map +1 -0
- package/core/dist/runtime-v2/runtime-selector.js +23 -0
- package/core/dist/runtime-v2/runtime-selector.js.map +1 -0
- package/core/dist/runtime-v2/runtime-state-handle.d.ts +10 -0
- package/core/dist/runtime-v2/runtime-state-handle.d.ts.map +1 -0
- package/core/dist/runtime-v2/runtime-state-handle.js +30 -0
- package/core/dist/runtime-v2/runtime-state-handle.js.map +1 -0
- package/core/dist/runtime-v2/schema-conformance-read-model.d.ts +24 -0
- package/core/dist/runtime-v2/schema-conformance-read-model.d.ts.map +1 -0
- package/core/dist/runtime-v2/schema-conformance-read-model.js +178 -0
- package/core/dist/runtime-v2/schema-conformance-read-model.js.map +1 -0
- package/core/dist/runtime-v2/schema-version.d.ts +20 -0
- package/core/dist/runtime-v2/schema-version.d.ts.map +1 -0
- package/core/dist/runtime-v2/schema-version.js +20 -0
- package/core/dist/runtime-v2/schema-version.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/artifact-store.d.ts +28 -0
- package/core/dist/runtime-v2/store/artifact/artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/artifact-store.js +2 -0
- package/core/dist/runtime-v2/store/artifact/artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/artifact/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/index.js +3 -0
- package/core/dist/runtime-v2/store/artifact/index.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.d.ts +14 -0
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.js +25 -0
- package/core/dist/runtime-v2/store/artifact/memory-artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.d.ts +12 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.js +51 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.d.ts +13 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.js +98 -0
- package/core/dist/runtime-v2/store/artifact/sqlite-pi-artifact-store.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/__tests__/recommendation-kind-resolver.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/candidate/__tests__/recommendation-kind-resolver.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/__tests__/recommendation-kind-resolver.test.js +34 -0
- package/core/dist/runtime-v2/store/candidate/__tests__/recommendation-kind-resolver.test.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/candidate-store.d.ts +42 -0
- package/core/dist/runtime-v2/store/candidate/candidate-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/candidate-store.js +2 -0
- package/core/dist/runtime-v2/store/candidate/candidate-store.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/candidate/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/index.js +3 -0
- package/core/dist/runtime-v2/store/candidate/index.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.d.ts +22 -0
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.js +36 -0
- package/core/dist/runtime-v2/store/candidate/memory-candidate-store.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.d.ts +4 -0
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.js +14 -0
- package/core/dist/runtime-v2/store/candidate/recommendation-kind-resolver.js.map +1 -0
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.d.ts +13 -0
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.js +61 -0
- package/core/dist/runtime-v2/store/candidate/sqlite-candidate-store.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/commit-store.d.ts +19 -0
- package/core/dist/runtime-v2/store/commit/commit-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/commit-store.js +2 -0
- package/core/dist/runtime-v2/store/commit/commit-store.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.d.ts +47 -0
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.js +140 -0
- package/core/dist/runtime-v2/store/commit/diagnostician-committer.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/index.d.ts +7 -0
- package/core/dist/runtime-v2/store/commit/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/index.js +4 -0
- package/core/dist/runtime-v2/store/commit/index.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/memory-commit-store.d.ts +16 -0
- package/core/dist/runtime-v2/store/commit/memory-commit-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/memory-commit-store.js +18 -0
- package/core/dist/runtime-v2/store/commit/memory-commit-store.js.map +1 -0
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.d.ts +11 -0
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.js +25 -0
- package/core/dist/runtime-v2/store/commit/sqlite-commit-store.js.map +1 -0
- package/core/dist/runtime-v2/store/concurrent-lease.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/concurrent-lease.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/concurrent-lease.test.js +129 -0
- package/core/dist/runtime-v2/store/concurrent-lease.test.js.map +1 -0
- package/core/dist/runtime-v2/store/context/context-assembler.d.ts +19 -0
- package/core/dist/runtime-v2/store/context/context-assembler.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/context-assembler.js +2 -0
- package/core/dist/runtime-v2/store/context/context-assembler.js.map +1 -0
- package/core/dist/runtime-v2/store/context/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/context/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/index.js +3 -0
- package/core/dist/runtime-v2/store/context/index.js.map +1 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.d.ts +13 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.js +72 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.js.map +1 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.test.js +113 -0
- package/core/dist/runtime-v2/store/context/resilient-context-assembler.test.js.map +1 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.d.ts +28 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.js +277 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.js.map +1 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.test.js +1181 -0
- package/core/dist/runtime-v2/store/context/sqlite-context-assembler.test.js.map +1 -0
- package/core/dist/runtime-v2/store/diagnostician-committer.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/diagnostician-committer.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/diagnostician-committer.test.js +326 -0
- package/core/dist/runtime-v2/store/diagnostician-committer.test.js.map +1 -0
- package/core/dist/runtime-v2/store/event-emitter.d.ts +18 -0
- package/core/dist/runtime-v2/store/event-emitter.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/event-emitter.js +78 -0
- package/core/dist/runtime-v2/store/event-emitter.js.map +1 -0
- package/core/dist/runtime-v2/store/history/history-query.d.ts +57 -0
- package/core/dist/runtime-v2/store/history/history-query.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/history-query.js +7 -0
- package/core/dist/runtime-v2/store/history/history-query.js.map +1 -0
- package/core/dist/runtime-v2/store/history/index.d.ts +5 -0
- package/core/dist/runtime-v2/store/history/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/index.js +4 -0
- package/core/dist/runtime-v2/store/history/index.js.map +1 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.d.ts +20 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.js +40 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.js.map +1 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.test.js +128 -0
- package/core/dist/runtime-v2/store/history/resilient-history-query.test.js.map +1 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.d.ts +24 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.js +166 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.js.map +1 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.test.js +536 -0
- package/core/dist/runtime-v2/store/history/sqlite-history-query.test.js.map +1 -0
- package/core/dist/runtime-v2/store/idempotent-transitions.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/idempotent-transitions.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/idempotent-transitions.test.js +168 -0
- package/core/dist/runtime-v2/store/idempotent-transitions.test.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/index.d.ts +7 -0
- package/core/dist/runtime-v2/store/lifecycle/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/index.js +4 -0
- package/core/dist/runtime-v2/store/lifecycle/index.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.d.ts +91 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.js +154 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.test.js +243 -0
- package/core/dist/runtime-v2/store/lifecycle/lease-manager.test.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.d.ts +82 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.js +145 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.test.js +318 -0
- package/core/dist/runtime-v2/store/lifecycle/recovery-sweep.test.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.d.ts +105 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.js +48 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.js.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.test.js +86 -0
- package/core/dist/runtime-v2/store/lifecycle/retry-policy.test.js.map +1 -0
- package/core/dist/runtime-v2/store/run/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/run/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/run/index.js +3 -0
- package/core/dist/runtime-v2/store/run/index.js.map +1 -0
- package/core/dist/runtime-v2/store/run/memory-run-store.d.ts +15 -0
- package/core/dist/runtime-v2/store/run/memory-run-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/run/memory-run-store.js +33 -0
- package/core/dist/runtime-v2/store/run/memory-run-store.js.map +1 -0
- package/core/dist/runtime-v2/store/run/run-store.d.ts +43 -0
- package/core/dist/runtime-v2/store/run/run-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/run/run-store.js +2 -0
- package/core/dist/runtime-v2/store/run/run-store.js.map +1 -0
- package/core/dist/runtime-v2/store/run/sqlite-run-store.d.ts +14 -0
- package/core/dist/runtime-v2/store/run/sqlite-run-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/run/sqlite-run-store.js +108 -0
- package/core/dist/runtime-v2/store/run/sqlite-run-store.js.map +1 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.d.ts +116 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.integration.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.integration.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.integration.test.js +187 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.integration.test.js.map +1 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.js +321 -0
- package/core/dist/runtime-v2/store/runtime-state-manager.js.map +1 -0
- package/core/dist/runtime-v2/store/schema-conformance.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/schema-conformance.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/schema-conformance.test.js +607 -0
- package/core/dist/runtime-v2/store/schema-conformance.test.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection-close.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/sqlite-connection-close.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection-close.test.js +57 -0
- package/core/dist/runtime-v2/store/sqlite-connection-close.test.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection-pragma.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/sqlite-connection-pragma.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection-pragma.test.js +261 -0
- package/core/dist/runtime-v2/store/sqlite-connection-pragma.test.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection.d.ts +39 -0
- package/core/dist/runtime-v2/store/sqlite-connection.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-connection.js +364 -0
- package/core/dist/runtime-v2/store/sqlite-connection.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-run-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/sqlite-run-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-run-store.test.js +152 -0
- package/core/dist/runtime-v2/store/sqlite-run-store.test.js.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-task-store.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/sqlite-task-store.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/sqlite-task-store.test.js +166 -0
- package/core/dist/runtime-v2/store/sqlite-task-store.test.js.map +1 -0
- package/core/dist/runtime-v2/store/task/index.d.ts +4 -0
- package/core/dist/runtime-v2/store/task/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/index.js +3 -0
- package/core/dist/runtime-v2/store/task/index.js.map +1 -0
- package/core/dist/runtime-v2/store/task/memory-task-store.d.ts +15 -0
- package/core/dist/runtime-v2/store/task/memory-task-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/memory-task-store.js +43 -0
- package/core/dist/runtime-v2/store/task/memory-task-store.js.map +1 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts +14 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.js +144 -0
- package/core/dist/runtime-v2/store/task/sqlite-task-store.js.map +1 -0
- package/core/dist/runtime-v2/store/task/task-store.d.ts +48 -0
- package/core/dist/runtime-v2/store/task/task-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task/task-store.js +2 -0
- package/core/dist/runtime-v2/store/task/task-store.js.map +1 -0
- package/core/dist/runtime-v2/store/task-migration.d.ts +89 -0
- package/core/dist/runtime-v2/store/task-migration.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/task-migration.js +79 -0
- package/core/dist/runtime-v2/store/task-migration.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/index.d.ts +5 -0
- package/core/dist/runtime-v2/store/trajectory/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/index.js +3 -0
- package/core/dist/runtime-v2/store/trajectory/index.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.d.ts +40 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.js +18 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.test.js +320 -0
- package/core/dist/runtime-v2/store/trajectory/source-trace-locator.test.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.d.ts +23 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.js +140 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-source-trace-locator.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.d.ts +27 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.js +183 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.test.js +328 -0
- package/core/dist/runtime-v2/store/trajectory/sqlite-trajectory-locator.test.js.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.d.ts +30 -0
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.js +2 -0
- package/core/dist/runtime-v2/store/trajectory/trajectory-locator.js.map +1 -0
- package/core/dist/runtime-v2/store/workspace-isolation.test.d.ts +2 -0
- package/core/dist/runtime-v2/store/workspace-isolation.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/store/workspace-isolation.test.js +139 -0
- package/core/dist/runtime-v2/store/workspace-isolation.test.js.map +1 -0
- package/core/dist/runtime-v2/story-a-demo.d.ts +67 -0
- package/core/dist/runtime-v2/story-a-demo.d.ts.map +1 -0
- package/core/dist/runtime-v2/story-a-demo.js +188 -0
- package/core/dist/runtime-v2/story-a-demo.js.map +1 -0
- package/core/dist/runtime-v2/synthetic-baseline.d.ts +28 -0
- package/core/dist/runtime-v2/synthetic-baseline.d.ts.map +1 -0
- package/core/dist/runtime-v2/synthetic-baseline.js +116 -0
- package/core/dist/runtime-v2/synthetic-baseline.js.map +1 -0
- package/core/dist/runtime-v2/task-status.d.ts +99 -0
- package/core/dist/runtime-v2/task-status.d.ts.map +1 -0
- package/core/dist/runtime-v2/task-status.js +88 -0
- package/core/dist/runtime-v2/task-status.js.map +1 -0
- package/core/dist/runtime-v2/trace-refiner-agent.d.ts +71 -0
- package/core/dist/runtime-v2/trace-refiner-agent.d.ts.map +1 -0
- package/core/dist/runtime-v2/trace-refiner-agent.js +239 -0
- package/core/dist/runtime-v2/trace-refiner-agent.js.map +1 -0
- package/core/dist/runtime-v2/trace-refiner.d.ts +47 -0
- package/core/dist/runtime-v2/trace-refiner.d.ts.map +1 -0
- package/core/dist/runtime-v2/trace-refiner.js +261 -0
- package/core/dist/runtime-v2/trace-refiner.js.map +1 -0
- package/core/dist/runtime-v2/types/artifact-lineage.d.ts +19 -0
- package/core/dist/runtime-v2/types/artifact-lineage.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/artifact-lineage.js +6 -0
- package/core/dist/runtime-v2/types/artifact-lineage.js.map +1 -0
- package/core/dist/runtime-v2/types/event-payload.d.ts +232 -0
- package/core/dist/runtime-v2/types/event-payload.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/event-payload.js +149 -0
- package/core/dist/runtime-v2/types/event-payload.js.map +1 -0
- package/core/dist/runtime-v2/types/event-types.d.ts +843 -0
- package/core/dist/runtime-v2/types/event-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/event-types.js +486 -0
- package/core/dist/runtime-v2/types/event-types.js.map +1 -0
- package/core/dist/runtime-v2/types/hygiene-types.d.ts +40 -0
- package/core/dist/runtime-v2/types/hygiene-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/hygiene-types.js +30 -0
- package/core/dist/runtime-v2/types/hygiene-types.js.map +1 -0
- package/core/dist/runtime-v2/types/index.d.ts +32 -0
- package/core/dist/runtime-v2/types/index.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/index.js +17 -0
- package/core/dist/runtime-v2/types/index.js.map +1 -0
- package/core/dist/runtime-v2/types/pain-signal.d.ts +63 -0
- package/core/dist/runtime-v2/types/pain-signal.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/pain-signal.js +118 -0
- package/core/dist/runtime-v2/types/pain-signal.js.map +1 -0
- package/core/dist/runtime-v2/types/pd-task-types.d.ts +139 -0
- package/core/dist/runtime-v2/types/pd-task-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/pd-task-types.js +99 -0
- package/core/dist/runtime-v2/types/pd-task-types.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-dependency.d.ts +15 -0
- package/core/dist/runtime-v2/types/principle-dependency.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-dependency.js +8 -0
- package/core/dist/runtime-v2/types/principle-dependency.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-enums.d.ts +19 -0
- package/core/dist/runtime-v2/types/principle-enums.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-enums.js +59 -0
- package/core/dist/runtime-v2/types/principle-enums.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-lifecycle-event.d.ts +28 -0
- package/core/dist/runtime-v2/types/principle-lifecycle-event.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-lifecycle-event.js +24 -0
- package/core/dist/runtime-v2/types/principle-lifecycle-event.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-schema.d.ts +136 -0
- package/core/dist/runtime-v2/types/principle-schema.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-schema.js +71 -0
- package/core/dist/runtime-v2/types/principle-schema.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-tree-store.d.ts +89 -0
- package/core/dist/runtime-v2/types/principle-tree-store.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-tree-store.js +11 -0
- package/core/dist/runtime-v2/types/principle-tree-store.js.map +1 -0
- package/core/dist/runtime-v2/types/principle-value-metrics.d.ts +27 -0
- package/core/dist/runtime-v2/types/principle-value-metrics.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/principle-value-metrics.js +14 -0
- package/core/dist/runtime-v2/types/principle-value-metrics.js.map +1 -0
- package/core/dist/runtime-v2/types/queue-types.d.ts +51 -0
- package/core/dist/runtime-v2/types/queue-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/queue-types.js +44 -0
- package/core/dist/runtime-v2/types/queue-types.js.map +1 -0
- package/core/dist/runtime-v2/types/replay-types.d.ts +40 -0
- package/core/dist/runtime-v2/types/replay-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/replay-types.js +2 -0
- package/core/dist/runtime-v2/types/replay-types.js.map +1 -0
- package/core/dist/runtime-v2/types/runtime-summary-types.d.ts +93 -0
- package/core/dist/runtime-v2/types/runtime-summary-types.d.ts.map +1 -0
- package/core/dist/runtime-v2/types/runtime-summary-types.js +35 -0
- package/core/dist/runtime-v2/types/runtime-summary-types.js.map +1 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.d.ts +35 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.d.ts.map +1 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.js +259 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.js.map +1 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.test.d.ts +2 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.test.js +111 -0
- package/core/dist/runtime-v2/utils/cli-process-runner.test.js.map +1 -0
- package/core/dist/storage-adapter.d.ts +59 -0
- package/core/dist/storage-adapter.d.ts.map +1 -0
- package/core/dist/storage-adapter.js +2 -0
- package/core/dist/storage-adapter.js.map +1 -0
- package/core/dist/telemetry-event.d.ts +102 -0
- package/core/dist/telemetry-event.d.ts.map +1 -0
- package/core/dist/telemetry-event.js +186 -0
- package/core/dist/telemetry-event.js.map +1 -0
- package/core/dist/trajectory-store.d.ts +45 -0
- package/core/dist/trajectory-store.d.ts.map +1 -0
- package/core/dist/trajectory-store.js +139 -0
- package/core/dist/trajectory-store.js.map +1 -0
- package/core/dist/types/workspace-resolver.d.ts +25 -0
- package/core/dist/types/workspace-resolver.d.ts.map +1 -0
- package/core/dist/types/workspace-resolver.js +10 -0
- package/core/dist/types/workspace-resolver.js.map +1 -0
- package/core/dist/types.d.ts +56 -0
- package/core/dist/types.d.ts.map +1 -0
- package/core/dist/types.js +16 -0
- package/core/dist/types.js.map +1 -0
- package/core/dist/workflow-funnel-loader.d.ts +143 -0
- package/core/dist/workflow-funnel-loader.d.ts.map +1 -0
- package/core/dist/workflow-funnel-loader.js +174 -0
- package/core/dist/workflow-funnel-loader.js.map +1 -0
- package/core/package.json +100 -0
- package/dist/i18n.d.ts +6 -0
- package/dist/i18n.d.ts.map +1 -0
- package/dist/i18n.js +176 -0
- package/dist/i18n.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +203 -122
- package/dist/index.js.map +1 -1
- package/dist/installer.d.ts +21 -6
- package/dist/installer.d.ts.map +1 -1
- package/dist/installer.js +846 -178
- package/dist/installer.js.map +1 -1
- package/dist/mvp-config.d.ts +81 -0
- package/dist/mvp-config.d.ts.map +1 -0
- package/dist/mvp-config.js +265 -0
- package/dist/mvp-config.js.map +1 -0
- package/dist/prompts.d.ts +8 -11
- package/dist/prompts.d.ts.map +1 -1
- package/dist/prompts.js +52 -80
- package/dist/prompts.js.map +1 -1
- package/dist/uninstaller.d.ts +6 -4
- package/dist/uninstaller.d.ts.map +1 -1
- package/dist/uninstaller.js +238 -51
- package/dist/uninstaller.js.map +1 -1
- package/dist/updater.d.ts +45 -0
- package/dist/updater.d.ts.map +1 -0
- package/dist/updater.js +333 -0
- package/dist/updater.js.map +1 -0
- package/dist/utils/env.d.ts +8 -0
- package/dist/utils/env.d.ts.map +1 -1
- package/dist/utils/env.js +79 -3
- package/dist/utils/env.js.map +1 -1
- package/dist/utils/logger.d.ts +1 -0
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +16 -8
- package/dist/utils/logger.js.map +1 -1
- package/package.json +24 -9
- package/pd-cli/dist/commands/artifact.d.ts +14 -0
- package/pd-cli/dist/commands/artifact.d.ts.map +1 -0
- package/pd-cli/dist/commands/artifact.js +67 -0
- package/pd-cli/dist/commands/artifact.js.map +1 -0
- package/pd-cli/dist/commands/candidate.d.ts +83 -0
- package/pd-cli/dist/commands/candidate.d.ts.map +1 -0
- package/pd-cli/dist/commands/candidate.js +891 -0
- package/pd-cli/dist/commands/candidate.js.map +1 -0
- package/pd-cli/dist/commands/central-sync.d.ts +10 -0
- package/pd-cli/dist/commands/central-sync.d.ts.map +1 -0
- package/pd-cli/dist/commands/central-sync.js +32 -0
- package/pd-cli/dist/commands/central-sync.js.map +1 -0
- package/pd-cli/dist/commands/console.d.ts +9 -0
- package/pd-cli/dist/commands/console.d.ts.map +1 -0
- package/pd-cli/dist/commands/console.js +114 -0
- package/pd-cli/dist/commands/console.js.map +1 -0
- package/pd-cli/dist/commands/context.d.ts +7 -0
- package/pd-cli/dist/commands/context.d.ts.map +1 -0
- package/pd-cli/dist/commands/context.js +55 -0
- package/pd-cli/dist/commands/context.js.map +1 -0
- package/pd-cli/dist/commands/demo-story-a.d.ts +12 -0
- package/pd-cli/dist/commands/demo-story-a.d.ts.map +1 -0
- package/pd-cli/dist/commands/demo-story-a.js +175 -0
- package/pd-cli/dist/commands/demo-story-a.js.map +1 -0
- package/pd-cli/dist/commands/diagnose.d.ts +35 -0
- package/pd-cli/dist/commands/diagnose.d.ts.map +1 -0
- package/pd-cli/dist/commands/diagnose.js +390 -0
- package/pd-cli/dist/commands/diagnose.js.map +1 -0
- package/pd-cli/dist/commands/evolution-tasks-list.d.ts +15 -0
- package/pd-cli/dist/commands/evolution-tasks-list.d.ts.map +1 -0
- package/pd-cli/dist/commands/evolution-tasks-list.js +34 -0
- package/pd-cli/dist/commands/evolution-tasks-list.js.map +1 -0
- package/pd-cli/dist/commands/evolution-tasks-show.d.ts +14 -0
- package/pd-cli/dist/commands/evolution-tasks-show.d.ts.map +1 -0
- package/pd-cli/dist/commands/evolution-tasks-show.js +52 -0
- package/pd-cli/dist/commands/evolution-tasks-show.js.map +1 -0
- package/pd-cli/dist/commands/flow.d.ts +7 -0
- package/pd-cli/dist/commands/flow.d.ts.map +1 -0
- package/pd-cli/dist/commands/flow.js +57 -0
- package/pd-cli/dist/commands/flow.js.map +1 -0
- package/pd-cli/dist/commands/health.d.ts +16 -0
- package/pd-cli/dist/commands/health.d.ts.map +1 -0
- package/pd-cli/dist/commands/health.js +150 -0
- package/pd-cli/dist/commands/health.js.map +1 -0
- package/pd-cli/dist/commands/history.d.ts +11 -0
- package/pd-cli/dist/commands/history.d.ts.map +1 -0
- package/pd-cli/dist/commands/history.js +50 -0
- package/pd-cli/dist/commands/history.js.map +1 -0
- package/pd-cli/dist/commands/legacy-cleanup.d.ts +27 -0
- package/pd-cli/dist/commands/legacy-cleanup.d.ts.map +1 -0
- package/pd-cli/dist/commands/legacy-cleanup.js +171 -0
- package/pd-cli/dist/commands/legacy-cleanup.js.map +1 -0
- package/pd-cli/dist/commands/legacy-import.d.ts +7 -0
- package/pd-cli/dist/commands/legacy-import.d.ts.map +1 -0
- package/pd-cli/dist/commands/legacy-import.js +86 -0
- package/pd-cli/dist/commands/legacy-import.js.map +1 -0
- package/pd-cli/dist/commands/pain-record.d.ts +10 -0
- package/pd-cli/dist/commands/pain-record.d.ts.map +1 -0
- package/pd-cli/dist/commands/pain-record.js +162 -0
- package/pd-cli/dist/commands/pain-record.js.map +1 -0
- package/pd-cli/dist/commands/proven-channel-baseline.d.ts +12 -0
- package/pd-cli/dist/commands/proven-channel-baseline.d.ts.map +1 -0
- package/pd-cli/dist/commands/proven-channel-baseline.js +97 -0
- package/pd-cli/dist/commands/proven-channel-baseline.js.map +1 -0
- package/pd-cli/dist/commands/remediation-output.d.ts +40 -0
- package/pd-cli/dist/commands/remediation-output.d.ts.map +1 -0
- package/pd-cli/dist/commands/remediation-output.js +23 -0
- package/pd-cli/dist/commands/remediation-output.js.map +1 -0
- package/pd-cli/dist/commands/run.d.ts +10 -0
- package/pd-cli/dist/commands/run.d.ts.map +1 -0
- package/pd-cli/dist/commands/run.js +68 -0
- package/pd-cli/dist/commands/run.js.map +1 -0
- package/pd-cli/dist/commands/runtime-activation.d.ts +11 -0
- package/pd-cli/dist/commands/runtime-activation.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-activation.js +150 -0
- package/pd-cli/dist/commands/runtime-activation.js.map +1 -0
- package/pd-cli/dist/commands/runtime-canary.d.ts +30 -0
- package/pd-cli/dist/commands/runtime-canary.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-canary.js +343 -0
- package/pd-cli/dist/commands/runtime-canary.js.map +1 -0
- package/pd-cli/dist/commands/runtime-diagnostics-export.d.ts +20 -0
- package/pd-cli/dist/commands/runtime-diagnostics-export.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-diagnostics-export.js +177 -0
- package/pd-cli/dist/commands/runtime-diagnostics-export.js.map +1 -0
- package/pd-cli/dist/commands/runtime-features.d.ts +26 -0
- package/pd-cli/dist/commands/runtime-features.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-features.js +70 -0
- package/pd-cli/dist/commands/runtime-features.js.map +1 -0
- package/pd-cli/dist/commands/runtime-gfi-snapshot.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-gfi-snapshot.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-gfi-snapshot.js +101 -0
- package/pd-cli/dist/commands/runtime-gfi-snapshot.js.map +1 -0
- package/pd-cli/dist/commands/runtime-health-snapshot.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-health-snapshot.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-health-snapshot.js +93 -0
- package/pd-cli/dist/commands/runtime-health-snapshot.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.d.ts +9 -0
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js +393 -0
- package/pd-cli/dist/commands/runtime-internalization-enqueue-successors.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.d.ts +9 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js +54 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity-repair.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity.js +53 -0
- package/pd-cli/dist/commands/runtime-internalization-integrity.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-queue.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-internalization-queue.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-queue.js +85 -0
- package/pd-cli/dist/commands/runtime-internalization-queue.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-run-once.d.ts +12 -0
- package/pd-cli/dist/commands/runtime-internalization-run-once.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-run-once.js +546 -0
- package/pd-cli/dist/commands/runtime-internalization-run-once.js.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-wake-once.d.ts +8 -0
- package/pd-cli/dist/commands/runtime-internalization-wake-once.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-internalization-wake-once.js +72 -0
- package/pd-cli/dist/commands/runtime-internalization-wake-once.js.map +1 -0
- package/pd-cli/dist/commands/runtime-pain-flood-simulation.d.ts +10 -0
- package/pd-cli/dist/commands/runtime-pain-flood-simulation.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-pain-flood-simulation.js +104 -0
- package/pd-cli/dist/commands/runtime-pain-flood-simulation.js.map +1 -0
- package/pd-cli/dist/commands/runtime-pruning.d.ts +45 -0
- package/pd-cli/dist/commands/runtime-pruning.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-pruning.js +355 -0
- package/pd-cli/dist/commands/runtime-pruning.js.map +1 -0
- package/pd-cli/dist/commands/runtime-recovery.d.ts +9 -0
- package/pd-cli/dist/commands/runtime-recovery.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-recovery.js +94 -0
- package/pd-cli/dist/commands/runtime-recovery.js.map +1 -0
- package/pd-cli/dist/commands/runtime-synthetic-baseline.d.ts +7 -0
- package/pd-cli/dist/commands/runtime-synthetic-baseline.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-synthetic-baseline.js +59 -0
- package/pd-cli/dist/commands/runtime-synthetic-baseline.js.map +1 -0
- package/pd-cli/dist/commands/runtime-uat.d.ts +52 -0
- package/pd-cli/dist/commands/runtime-uat.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime-uat.js +274 -0
- package/pd-cli/dist/commands/runtime-uat.js.map +1 -0
- package/pd-cli/dist/commands/runtime.d.ts +20 -0
- package/pd-cli/dist/commands/runtime.d.ts.map +1 -0
- package/pd-cli/dist/commands/runtime.js +256 -0
- package/pd-cli/dist/commands/runtime.js.map +1 -0
- package/pd-cli/dist/commands/samples-list.d.ts +11 -0
- package/pd-cli/dist/commands/samples-list.d.ts.map +1 -0
- package/pd-cli/dist/commands/samples-list.js +37 -0
- package/pd-cli/dist/commands/samples-list.js.map +1 -0
- package/pd-cli/dist/commands/samples-review.d.ts +14 -0
- package/pd-cli/dist/commands/samples-review.d.ts.map +1 -0
- package/pd-cli/dist/commands/samples-review.js +22 -0
- package/pd-cli/dist/commands/samples-review.js.map +1 -0
- package/pd-cli/dist/commands/task.d.ts +14 -0
- package/pd-cli/dist/commands/task.d.ts.map +1 -0
- package/pd-cli/dist/commands/task.js +92 -0
- package/pd-cli/dist/commands/task.js.map +1 -0
- package/pd-cli/dist/commands/trace.d.ts +19 -0
- package/pd-cli/dist/commands/trace.d.ts.map +1 -0
- package/pd-cli/dist/commands/trace.js +154 -0
- package/pd-cli/dist/commands/trace.js.map +1 -0
- package/pd-cli/dist/commands/trajectory.d.ts +11 -0
- package/pd-cli/dist/commands/trajectory.d.ts.map +1 -0
- package/pd-cli/dist/commands/trajectory.js +47 -0
- package/pd-cli/dist/commands/trajectory.js.map +1 -0
- package/pd-cli/dist/index.d.ts +9 -0
- package/pd-cli/dist/index.d.ts.map +1 -0
- package/pd-cli/dist/index.js +739 -0
- package/pd-cli/dist/index.js.map +1 -0
- package/pd-cli/dist/legacy/legacy-import.d.ts +15 -0
- package/pd-cli/dist/legacy/legacy-import.d.ts.map +1 -0
- package/pd-cli/dist/legacy/legacy-import.js +141 -0
- package/pd-cli/dist/legacy/legacy-import.js.map +1 -0
- package/pd-cli/dist/legacy/session-history-import.d.ts +26 -0
- package/pd-cli/dist/legacy/session-history-import.d.ts.map +1 -0
- package/pd-cli/dist/legacy/session-history-import.js +151 -0
- package/pd-cli/dist/legacy/session-history-import.js.map +1 -0
- package/pd-cli/dist/principle-tree-ledger-adapter.d.ts +12 -0
- package/pd-cli/dist/principle-tree-ledger-adapter.d.ts.map +1 -0
- package/pd-cli/dist/principle-tree-ledger-adapter.js +12 -0
- package/pd-cli/dist/principle-tree-ledger-adapter.js.map +1 -0
- package/pd-cli/dist/resolve-workspace.d.ts +12 -0
- package/pd-cli/dist/resolve-workspace.d.ts.map +1 -0
- package/pd-cli/dist/resolve-workspace.js +20 -0
- package/pd-cli/dist/resolve-workspace.js.map +1 -0
- package/pd-cli/dist/services/demo-story-a-runner.d.ts +8 -0
- package/pd-cli/dist/services/demo-story-a-runner.d.ts.map +1 -0
- package/pd-cli/dist/services/demo-story-a-runner.js +369 -0
- package/pd-cli/dist/services/demo-story-a-runner.js.map +1 -0
- package/pd-cli/dist/services/feature-flag-loader.d.ts +6 -0
- package/pd-cli/dist/services/feature-flag-loader.d.ts.map +1 -0
- package/pd-cli/dist/services/feature-flag-loader.js +54 -0
- package/pd-cli/dist/services/feature-flag-loader.js.map +1 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts +10 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.d.ts.map +1 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.js +289 -0
- package/pd-cli/dist/services/pain-flood-simulation-runner.js.map +1 -0
- package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts +12 -0
- package/pd-cli/dist/services/proven-channel-baseline-runner.d.ts.map +1 -0
- package/pd-cli/dist/services/proven-channel-baseline-runner.js +114 -0
- package/pd-cli/dist/services/proven-channel-baseline-runner.js.map +1 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts +8 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.d.ts.map +1 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.js +251 -0
- package/pd-cli/dist/services/synthetic-baseline-runner.js.map +1 -0
- package/pd-cli/package.json +35 -0
- package/plugin/dist/commands/archive-impl.d.ts +18 -0
- package/plugin/dist/commands/archive-impl.js +105 -0
- package/plugin/dist/commands/capabilities.d.ts +3 -0
- package/plugin/dist/commands/capabilities.js +76 -0
- package/plugin/dist/commands/context.d.ts +5 -0
- package/plugin/dist/commands/context.js +293 -0
- package/plugin/dist/commands/disable-impl.d.ts +22 -0
- package/plugin/dist/commands/disable-impl.js +118 -0
- package/plugin/dist/commands/evolution-status.d.ts +4 -0
- package/plugin/dist/commands/evolution-status.js +187 -0
- package/plugin/dist/commands/export.d.ts +2 -0
- package/plugin/dist/commands/export.js +53 -0
- package/plugin/dist/commands/focus.d.ts +14 -0
- package/plugin/dist/commands/focus.js +443 -0
- package/plugin/dist/commands/pain.d.ts +6 -0
- package/plugin/dist/commands/pain.js +309 -0
- package/plugin/dist/commands/principle-rollback.d.ts +4 -0
- package/plugin/dist/commands/principle-rollback.js +26 -0
- package/plugin/dist/commands/promote-impl.d.ts +22 -0
- package/plugin/dist/commands/promote-impl.js +194 -0
- package/plugin/dist/commands/rollback-impl.d.ts +32 -0
- package/plugin/dist/commands/rollback-impl.js +180 -0
- package/plugin/dist/commands/rollback.d.ts +19 -0
- package/plugin/dist/commands/rollback.js +126 -0
- package/plugin/dist/commands/samples.d.ts +2 -0
- package/plugin/dist/commands/samples.js +58 -0
- package/plugin/dist/commands/strategy.d.ts +3 -0
- package/plugin/dist/commands/strategy.js +30 -0
- package/plugin/dist/commands/thinking-os.d.ts +2 -0
- package/plugin/dist/commands/thinking-os.js +164 -0
- package/plugin/dist/commands/workflow-debug.d.ts +6 -0
- package/plugin/dist/commands/workflow-debug.js +111 -0
- package/plugin/dist/config/defaults/runtime.d.ts +64 -0
- package/plugin/dist/config/defaults/runtime.js +81 -0
- package/plugin/dist/config/errors.d.ts +86 -0
- package/plugin/dist/config/errors.js +107 -0
- package/plugin/dist/config/index.d.ts +7 -0
- package/plugin/dist/config/index.js +7 -0
- package/plugin/dist/constants/diagnostician.d.ts +12 -0
- package/plugin/dist/constants/diagnostician.js +65 -0
- package/plugin/dist/constants/tools.d.ts +17 -0
- package/plugin/dist/constants/tools.js +53 -0
- package/plugin/dist/core/__tests__/focus-history.test.d.ts +1 -0
- package/plugin/dist/core/__tests__/focus-history.test.js +160 -0
- package/plugin/dist/core/bootstrap-rules.d.ts +50 -0
- package/plugin/dist/core/bootstrap-rules.js +187 -0
- package/plugin/dist/core/code-implementation-storage.d.ts +80 -0
- package/plugin/dist/core/code-implementation-storage.js +173 -0
- package/plugin/dist/core/config-service.d.ts +15 -0
- package/plugin/dist/core/config-service.js +26 -0
- package/plugin/dist/core/config.d.ts +111 -0
- package/plugin/dist/core/config.js +191 -0
- package/plugin/dist/core/confirm-first-gate.d.ts +59 -0
- package/plugin/dist/core/confirm-first-gate.js +215 -0
- package/plugin/dist/core/control-ui-db.d.ts +106 -0
- package/plugin/dist/core/control-ui-db.js +309 -0
- package/plugin/dist/core/correction-cue-learner.d.ts +33 -0
- package/plugin/dist/core/correction-cue-learner.js +184 -0
- package/plugin/dist/core/correction-types.d.ts +3 -0
- package/plugin/dist/core/correction-types.js +1 -0
- package/plugin/dist/core/detection-funnel.d.ts +33 -0
- package/plugin/dist/core/detection-funnel.js +104 -0
- package/plugin/dist/core/detection-service.d.ts +15 -0
- package/plugin/dist/core/detection-service.js +28 -0
- package/plugin/dist/core/dictionary-service.d.ts +15 -0
- package/plugin/dist/core/dictionary-service.js +26 -0
- package/plugin/dist/core/dictionary.d.ts +38 -0
- package/plugin/dist/core/dictionary.js +148 -0
- package/plugin/dist/core/empathy-keyword-matcher.d.ts +5 -0
- package/plugin/dist/core/empathy-keyword-matcher.js +40 -0
- package/plugin/dist/core/empathy-types.d.ts +2 -0
- package/plugin/dist/core/empathy-types.js +1 -0
- package/plugin/dist/core/event-log.d.ts +73 -0
- package/plugin/dist/core/event-log.js +613 -0
- package/plugin/dist/core/evolution-engine.d.ts +119 -0
- package/plugin/dist/core/evolution-engine.js +460 -0
- package/plugin/dist/core/evolution-hook.d.ts +54 -0
- package/plugin/dist/core/evolution-hook.js +9 -0
- package/plugin/dist/core/evolution-logger.d.ts +137 -0
- package/plugin/dist/core/evolution-logger.js +261 -0
- package/plugin/dist/core/evolution-migration.d.ts +5 -0
- package/plugin/dist/core/evolution-migration.js +65 -0
- package/plugin/dist/core/evolution-reducer.d.ts +124 -0
- package/plugin/dist/core/evolution-reducer.js +730 -0
- package/plugin/dist/core/evolution-types.d.ts +50 -0
- package/plugin/dist/core/evolution-types.js +11 -0
- package/plugin/dist/core/external-training-contract.d.ts +276 -0
- package/plugin/dist/core/external-training-contract.js +269 -0
- package/plugin/dist/core/file-storage-adapter.d.ts +43 -0
- package/plugin/dist/core/file-storage-adapter.js +158 -0
- package/plugin/dist/core/file-store.d.ts +41 -0
- package/plugin/dist/core/file-store.js +46 -0
- package/plugin/dist/core/focus-history.d.ts +50 -0
- package/plugin/dist/core/focus-history.js +574 -0
- package/plugin/dist/core/hygiene/tracker.d.ts +22 -0
- package/plugin/dist/core/hygiene/tracker.js +110 -0
- package/plugin/dist/core/init.d.ts +30 -0
- package/plugin/dist/core/init.js +259 -0
- package/plugin/dist/core/local-worker-routing.d.ts +124 -0
- package/plugin/dist/core/local-worker-routing.js +216 -0
- package/plugin/dist/core/merge-gate-audit.d.ts +21 -0
- package/plugin/dist/core/merge-gate-audit.js +241 -0
- package/plugin/dist/core/migration.d.ts +6 -0
- package/plugin/dist/core/migration.js +87 -0
- package/plugin/dist/core/model-deployment-registry.d.ts +218 -0
- package/plugin/dist/core/model-deployment-registry.js +502 -0
- package/plugin/dist/core/model-training-registry.d.ts +295 -0
- package/plugin/dist/core/model-training-registry.js +474 -0
- package/plugin/dist/core/observability.d.ts +40 -0
- package/plugin/dist/core/observability.js +164 -0
- package/plugin/dist/core/pain-context-extractor.d.ts +31 -0
- package/plugin/dist/core/pain-context-extractor.js +278 -0
- package/plugin/dist/core/pain-diagnostic-gate.d.ts +30 -0
- package/plugin/dist/core/pain-diagnostic-gate.js +96 -0
- package/plugin/dist/core/pain-lifecycle.d.ts +15 -0
- package/plugin/dist/core/pain-lifecycle.js +37 -0
- package/plugin/dist/core/pain-signal-adapter.d.ts +37 -0
- package/plugin/dist/core/pain-signal-adapter.js +1 -0
- package/plugin/dist/core/pain-signal.d.ts +6 -0
- package/plugin/dist/core/pain-signal.js +3 -0
- package/plugin/dist/core/pain.d.ts +87 -0
- package/plugin/dist/core/pain.js +223 -0
- package/plugin/dist/core/path-resolver.d.ts +60 -0
- package/plugin/dist/core/path-resolver.js +359 -0
- package/plugin/dist/core/paths.d.ts +67 -0
- package/plugin/dist/core/paths.js +83 -0
- package/plugin/dist/core/pd-task-reconciler.d.ts +89 -0
- package/plugin/dist/core/pd-task-reconciler.js +262 -0
- package/plugin/dist/core/pd-task-service.d.ts +2 -0
- package/plugin/dist/core/pd-task-service.js +32 -0
- package/plugin/dist/core/pd-task-store.d.ts +5 -0
- package/plugin/dist/core/pd-task-store.js +62 -0
- package/plugin/dist/core/pd-task-types.d.ts +8 -0
- package/plugin/dist/core/pd-task-types.js +2 -0
- package/plugin/dist/core/principle-compiler/__tests__/compiler-replay-gate.test.d.ts +1 -0
- package/plugin/dist/core/principle-compiler/__tests__/compiler-replay-gate.test.js +132 -0
- package/plugin/dist/core/principle-compiler/code-validator.d.ts +14 -0
- package/plugin/dist/core/principle-compiler/code-validator.js +83 -0
- package/plugin/dist/core/principle-compiler/compiler.d.ts +45 -0
- package/plugin/dist/core/principle-compiler/compiler.js +287 -0
- package/plugin/dist/core/principle-compiler/index.d.ts +12 -0
- package/plugin/dist/core/principle-compiler/index.js +10 -0
- package/plugin/dist/core/principle-compiler/ledger-registrar.d.ts +28 -0
- package/plugin/dist/core/principle-compiler/ledger-registrar.js +95 -0
- package/plugin/dist/core/principle-compiler/template-generator.d.ts +7 -0
- package/plugin/dist/core/principle-compiler/template-generator.js +7 -0
- package/plugin/dist/core/principle-injection.d.ts +10 -0
- package/plugin/dist/core/principle-injection.js +10 -0
- package/plugin/dist/core/principle-injector.d.ts +55 -0
- package/plugin/dist/core/principle-injector.js +17 -0
- package/plugin/dist/core/principle-internalization/filesystem-lifecycle-datasource.d.ts +15 -0
- package/plugin/dist/core/principle-internalization/filesystem-lifecycle-datasource.js +34 -0
- package/plugin/dist/core/principle-internalization/lifecycle-read-model.d.ts +17 -0
- package/plugin/dist/core/principle-internalization/lifecycle-read-model.js +21 -0
- package/plugin/dist/core/principle-internalization/lifecycle-refresh.d.ts +2 -0
- package/plugin/dist/core/principle-internalization/lifecycle-refresh.js +4 -0
- package/plugin/dist/core/principle-internalization/principle-lifecycle-service.d.ts +28 -0
- package/plugin/dist/core/principle-internalization/principle-lifecycle-service.js +89 -0
- package/plugin/dist/core/principle-training-state.d.ts +47 -0
- package/plugin/dist/core/principle-training-state.js +113 -0
- package/plugin/dist/core/principle-tree-ledger-adapter.d.ts +32 -0
- package/plugin/dist/core/principle-tree-ledger-adapter.js +125 -0
- package/plugin/dist/core/principle-tree-ledger.d.ts +86 -0
- package/plugin/dist/core/principle-tree-ledger.js +534 -0
- package/plugin/dist/core/principle-tree-migration.d.ts +35 -0
- package/plugin/dist/core/principle-tree-migration.js +137 -0
- package/plugin/dist/core/profile.d.ts +62 -0
- package/plugin/dist/core/profile.js +211 -0
- package/plugin/dist/core/promotion-gate.d.ts +243 -0
- package/plugin/dist/core/promotion-gate.js +554 -0
- package/plugin/dist/core/reflection/reflection-context.d.ts +31 -0
- package/plugin/dist/core/reflection/reflection-context.js +91 -0
- package/plugin/dist/core/replay-engine.d.ts +12 -0
- package/plugin/dist/core/replay-engine.js +82 -0
- package/plugin/dist/core/risk-calculator.d.ts +22 -0
- package/plugin/dist/core/risk-calculator.js +88 -0
- package/plugin/dist/core/rule-host-helpers.d.ts +8 -0
- package/plugin/dist/core/rule-host-helpers.js +7 -0
- package/plugin/dist/core/rule-host-types.d.ts +7 -0
- package/plugin/dist/core/rule-host-types.js +7 -0
- package/plugin/dist/core/rule-host.d.ts +56 -0
- package/plugin/dist/core/rule-host.js +152 -0
- package/plugin/dist/core/rule-implementation-runtime.d.ts +5 -0
- package/plugin/dist/core/rule-implementation-runtime.js +24 -0
- package/plugin/dist/core/runtime-v2-prompt-activation-reader.d.ts +27 -0
- package/plugin/dist/core/runtime-v2-prompt-activation-reader.js +181 -0
- package/plugin/dist/core/schema/db-types.d.ts +11 -0
- package/plugin/dist/core/schema/db-types.js +5 -0
- package/plugin/dist/core/schema/index.d.ts +17 -0
- package/plugin/dist/core/schema/index.js +15 -0
- package/plugin/dist/core/schema/migration-runner.d.ts +53 -0
- package/plugin/dist/core/schema/migration-runner.js +170 -0
- package/plugin/dist/core/schema/migrations/001-init-trajectory.d.ts +6 -0
- package/plugin/dist/core/schema/migrations/001-init-trajectory.js +193 -0
- package/plugin/dist/core/schema/migrations/002-init-central.d.ts +5 -0
- package/plugin/dist/core/schema/migrations/002-init-central.js +108 -0
- package/plugin/dist/core/schema/migrations/003-init-workflow.d.ts +5 -0
- package/plugin/dist/core/schema/migrations/003-init-workflow.js +50 -0
- package/plugin/dist/core/schema/migrations/004-add-thinking-and-gfi.d.ts +8 -0
- package/plugin/dist/core/schema/migrations/004-add-thinking-and-gfi.js +66 -0
- package/plugin/dist/core/schema/migrations/index.d.ts +16 -0
- package/plugin/dist/core/schema/migrations/index.js +27 -0
- package/plugin/dist/core/schema/schema-definitions.d.ts +46 -0
- package/plugin/dist/core/schema/schema-definitions.js +601 -0
- package/plugin/dist/core/session-tracker.d.ts +119 -0
- package/plugin/dist/core/session-tracker.js +462 -0
- package/plugin/dist/core/shadow-observation-registry.d.ts +217 -0
- package/plugin/dist/core/shadow-observation-registry.js +280 -0
- package/plugin/dist/core/storage-adapter.d.ts +58 -0
- package/plugin/dist/core/storage-adapter.js +1 -0
- package/plugin/dist/core/system-logger.d.ts +8 -0
- package/plugin/dist/core/system-logger.js +113 -0
- package/plugin/dist/core/telemetry-event.d.ts +66 -0
- package/plugin/dist/core/telemetry-event.js +86 -0
- package/plugin/dist/core/thinking-models.d.ts +69 -0
- package/plugin/dist/core/thinking-models.js +320 -0
- package/plugin/dist/core/thinking-os-parser.d.ts +35 -0
- package/plugin/dist/core/thinking-os-parser.js +123 -0
- package/plugin/dist/core/training-program.d.ts +233 -0
- package/plugin/dist/core/training-program.js +435 -0
- package/plugin/dist/core/trajectory-types.d.ts +216 -0
- package/plugin/dist/core/trajectory-types.js +8 -0
- package/plugin/dist/core/trajectory.d.ts +242 -0
- package/plugin/dist/core/trajectory.js +1450 -0
- package/plugin/dist/core/workflow-funnel-loader.d.ts +72 -0
- package/plugin/dist/core/workflow-funnel-loader.js +135 -0
- package/plugin/dist/core/workspace-context.d.ts +111 -0
- package/plugin/dist/core/workspace-context.js +247 -0
- package/plugin/dist/core/workspace-dir-service.d.ts +33 -0
- package/plugin/dist/core/workspace-dir-service.js +71 -0
- package/plugin/dist/core/workspace-dir-validation.d.ts +11 -0
- package/plugin/dist/core/workspace-dir-validation.js +37 -0
- package/plugin/dist/hooks/gate-block-helper.d.ts +44 -0
- package/plugin/dist/hooks/gate-block-helper.js +168 -0
- package/plugin/dist/hooks/gate.d.ts +16 -0
- package/plugin/dist/hooks/gate.js +424 -0
- package/plugin/dist/hooks/lifecycle-routing.d.ts +24 -0
- package/plugin/dist/hooks/lifecycle-routing.js +110 -0
- package/plugin/dist/hooks/lifecycle.d.ts +5 -0
- package/plugin/dist/hooks/lifecycle.js +287 -0
- package/plugin/dist/hooks/llm.d.ts +13 -0
- package/plugin/dist/hooks/llm.js +353 -0
- package/plugin/dist/hooks/message-sanitize.d.ts +3 -0
- package/plugin/dist/hooks/message-sanitize.js +47 -0
- package/plugin/dist/hooks/pain.d.ts +11 -0
- package/plugin/dist/hooks/pain.js +553 -0
- package/plugin/dist/hooks/prompt.d.ts +46 -0
- package/plugin/dist/hooks/prompt.js +1108 -0
- package/plugin/dist/hooks/subagent.d.ts +9 -0
- package/plugin/dist/hooks/subagent.js +122 -0
- package/plugin/dist/hooks/trajectory-collector.d.ts +36 -0
- package/plugin/dist/hooks/trajectory-collector.js +258 -0
- package/plugin/dist/i18n/commands.d.ts +26 -0
- package/plugin/dist/i18n/commands.js +108 -0
- package/plugin/dist/index.d.ts +8 -0
- package/plugin/dist/index.js +692 -0
- package/plugin/dist/openclaw-sdk.d.ts +292 -0
- package/plugin/dist/openclaw-sdk.js +4 -0
- package/plugin/dist/service/central-database.d.ts +138 -0
- package/plugin/dist/service/central-database.js +731 -0
- package/plugin/dist/service/central-sync-service.d.ts +8 -0
- package/plugin/dist/service/central-sync-service.js +71 -0
- package/plugin/dist/service/event-log-auditor.d.ts +46 -0
- package/plugin/dist/service/event-log-auditor.js +236 -0
- package/plugin/dist/service/evolution-dedup.d.ts +27 -0
- package/plugin/dist/service/evolution-dedup.js +54 -0
- package/plugin/dist/service/evolution-queue-lock.d.ts +18 -0
- package/plugin/dist/service/evolution-queue-lock.js +36 -0
- package/plugin/dist/service/evolution-queue-migration.d.ts +128 -0
- package/plugin/dist/service/evolution-queue-migration.js +53 -0
- package/plugin/dist/service/evolution-worker.d.ts +103 -0
- package/plugin/dist/service/evolution-worker.js +760 -0
- package/plugin/dist/service/failure-classifier.d.ts +46 -0
- package/plugin/dist/service/failure-classifier.js +57 -0
- package/plugin/dist/service/internalization-trigger-adapter.d.ts +51 -0
- package/plugin/dist/service/internalization-trigger-adapter.js +184 -0
- package/plugin/dist/service/keyword-optimization-service.d.ts +44 -0
- package/plugin/dist/service/keyword-optimization-service.js +137 -0
- package/plugin/dist/service/monitoring-query-service.d.ts +21 -0
- package/plugin/dist/service/monitoring-query-service.js +45 -0
- package/plugin/dist/service/phase3-input-filter.d.ts +73 -0
- package/plugin/dist/service/phase3-input-filter.js +172 -0
- package/plugin/dist/service/queue-io.d.ts +30 -0
- package/plugin/dist/service/queue-io.js +79 -0
- package/plugin/dist/service/queue-migration.d.ts +83 -0
- package/plugin/dist/service/queue-migration.js +56 -0
- package/plugin/dist/service/runtime-summary-service.d.ts +158 -0
- package/plugin/dist/service/runtime-summary-service.js +636 -0
- package/plugin/dist/service/subagent-workflow/index.d.ts +3 -0
- package/plugin/dist/service/subagent-workflow/index.js +2 -0
- package/plugin/dist/service/subagent-workflow/subagent-error-utils.d.ts +8 -0
- package/plugin/dist/service/subagent-workflow/subagent-error-utils.js +23 -0
- package/plugin/dist/service/subagent-workflow/types.d.ts +264 -0
- package/plugin/dist/service/subagent-workflow/types.js +11 -0
- package/plugin/dist/service/subagent-workflow/workflow-store.d.ts +30 -0
- package/plugin/dist/service/subagent-workflow/workflow-store.js +209 -0
- package/plugin/dist/service/trajectory-service.d.ts +2 -0
- package/plugin/dist/service/trajectory-service.js +16 -0
- package/plugin/dist/service/workflow-watchdog.d.ts +23 -0
- package/plugin/dist/service/workflow-watchdog.js +103 -0
- package/plugin/dist/tools/critique-prompt.d.ts +1 -0
- package/plugin/dist/tools/critique-prompt.js +1 -0
- package/plugin/dist/tools/deep-reflect.d.ts +1 -0
- package/plugin/dist/tools/deep-reflect.js +1 -0
- package/plugin/dist/tools/model-index.d.ts +1 -0
- package/plugin/dist/tools/model-index.js +1 -0
- package/plugin/dist/types/event-payload.d.ts +2 -0
- package/plugin/dist/types/event-payload.js +1 -0
- package/plugin/dist/types/event-types.d.ts +2 -0
- package/plugin/dist/types/event-types.js +1 -0
- package/plugin/dist/types/hygiene-types.d.ts +2 -0
- package/plugin/dist/types/hygiene-types.js +1 -0
- package/plugin/dist/types/principle-tree-schema.d.ts +29 -0
- package/plugin/dist/types/principle-tree-schema.js +24 -0
- package/plugin/dist/types/queue.d.ts +2 -0
- package/plugin/dist/types/queue.js +1 -0
- package/plugin/dist/types/runtime-summary.d.ts +1 -0
- package/plugin/dist/types/runtime-summary.js +1 -0
- package/plugin/dist/types.d.ts +33 -0
- package/plugin/dist/types.js +16 -0
- package/plugin/dist/utils/file-lock.d.ts +68 -0
- package/plugin/dist/utils/file-lock.js +310 -0
- package/plugin/dist/utils/glob-match.d.ts +28 -0
- package/plugin/dist/utils/glob-match.js +49 -0
- package/plugin/dist/utils/hashing.d.ts +9 -0
- package/plugin/dist/utils/hashing.js +25 -0
- package/plugin/dist/utils/io.d.ts +12 -0
- package/plugin/dist/utils/io.js +176 -0
- package/plugin/dist/utils/nlp.d.ts +4 -0
- package/plugin/dist/utils/nlp.js +21 -0
- package/plugin/dist/utils/node-vm-polyfill.d.ts +9 -0
- package/plugin/dist/utils/node-vm-polyfill.js +9 -0
- package/plugin/dist/utils/plugin-logger.d.ts +39 -0
- package/plugin/dist/utils/plugin-logger.js +70 -0
- package/plugin/dist/utils/retry.d.ts +210 -0
- package/plugin/dist/utils/retry.js +375 -0
- package/plugin/dist/utils/session-key.d.ts +10 -0
- package/plugin/dist/utils/session-key.js +18 -0
- package/plugin/dist/utils/shadow-fingerprint.d.ts +16 -0
- package/plugin/dist/utils/shadow-fingerprint.js +34 -0
- package/plugin/dist/utils/subagent-probe.d.ts +35 -0
- package/plugin/dist/utils/subagent-probe.js +67 -0
- package/plugin/dist/utils/workspace-resolver.d.ts +50 -0
- package/plugin/dist/utils/workspace-resolver.js +109 -0
- package/plugin/docs/COMMAND_REFERENCE.md +76 -0
- package/plugin/docs/COMMAND_REFERENCE_EN.md +79 -0
- package/plugin/openclaw.plugin.json +65 -0
- package/plugin/package.json +79 -0
- package/plugin/scripts/acceptance-test.mjs +257 -0
- package/plugin/scripts/bootstrap-rules.mjs +66 -0
- package/plugin/scripts/compile-principles.mjs +104 -0
- package/plugin/scripts/db-migrate.mjs +170 -0
- package/plugin/scripts/install-dependencies.cjs +47 -0
- package/plugin/scripts/sync-plugin.mjs +1355 -0
- package/plugin/scripts/validate-live-path.ts +480 -0
- package/plugin/scripts/verify-build.mjs +109 -0
- package/plugin/templates/langs/en/core/AGENTS.md +205 -0
- package/plugin/templates/langs/en/core/BOOT.md +60 -0
- package/plugin/templates/langs/en/core/BOOTSTRAP.md +273 -0
- package/plugin/templates/langs/en/core/HEARTBEAT.md +74 -0
- package/plugin/templates/langs/en/core/IDENTITY.md +8 -0
- package/plugin/templates/langs/en/core/PRINCIPLES.md +10 -0
- package/plugin/templates/langs/en/core/SOUL.md +46 -0
- package/plugin/templates/langs/en/core/TOOLS.md +15 -0
- package/plugin/templates/langs/en/core/USER.md +10 -0
- package/plugin/templates/langs/en/pain/00_seed_samples.md +23 -0
- package/plugin/templates/langs/en/pain_dictionary.json +22 -0
- package/plugin/templates/langs/en/principles/THINKING_OS.md +64 -0
- package/plugin/templates/langs/en/skills/admin/SKILL.md +39 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/EXAMPLES.md +63 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/REFERENCE.md +136 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/SKILL.md +67 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/agent-registry.json +143 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/specs/bugfix-complex-template.json +107 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/specs/feature-complex-template.json +107 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/specs/workflow-validation-minimal-verify.json +95 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/specs/workflow-validation-minimal.json +98 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/workflow-v1-acceptance-checklist.md +58 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/references/workflow-v1.4-work-unit-handoff.md +190 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/runtime/.gitignore +2 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/archive.mjs +310 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/contract-enforcement.mjs +683 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/decision.mjs +604 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/state-store.mjs +32 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/lib/task-specs.mjs +707 -0
- package/plugin/templates/langs/en/skills/ai-sprint-orchestration/scripts/run.mjs +3455 -0
- package/plugin/templates/langs/en/skills/bootstrap-tools/SKILL.md +53 -0
- package/plugin/templates/langs/en/skills/deductive-audit/SKILL.md +36 -0
- package/plugin/templates/langs/en/skills/evolution-framework-update/SKILL.md +31 -0
- package/plugin/templates/langs/en/skills/evolve-system/SKILL.md +46 -0
- package/plugin/templates/langs/en/skills/evolve-task/SKILL.md +83 -0
- package/plugin/templates/langs/en/skills/feedback/SKILL.md +51 -0
- package/plugin/templates/langs/en/skills/init-strategy/SKILL.md +54 -0
- package/plugin/templates/langs/en/skills/inject-rule/SKILL.md +19 -0
- package/plugin/templates/langs/en/skills/manage-okr/SKILL.md +96 -0
- package/plugin/templates/langs/en/skills/pd-auditor/SKILL.md +61 -0
- package/plugin/templates/langs/en/skills/pd-cli-operator/SKILL.md +67 -0
- package/plugin/templates/langs/en/skills/pd-daily/SKILL.md +199 -0
- package/plugin/templates/langs/en/skills/pd-diagnostician/SKILL.md +466 -0
- package/plugin/templates/langs/en/skills/pd-explorer/SKILL.md +65 -0
- package/plugin/templates/langs/en/skills/pd-grooming/SKILL.md +46 -0
- package/plugin/templates/langs/en/skills/pd-implementer/SKILL.md +68 -0
- package/plugin/templates/langs/en/skills/pd-mentor/SKILL.md +230 -0
- package/plugin/templates/langs/en/skills/pd-pain-signal/SKILL.md +30 -0
- package/plugin/templates/langs/en/skills/pd-planner/SKILL.md +65 -0
- package/plugin/templates/langs/en/skills/pd-runtime-v2/SKILL.md +61 -0
- package/plugin/templates/langs/en/skills/plan-script/SKILL.md +32 -0
- package/plugin/templates/langs/en/skills/profile/SKILL.md +24 -0
- package/plugin/templates/langs/en/skills/reflection/SKILL.md +40 -0
- package/plugin/templates/langs/en/skills/reflection-log/SKILL.md +37 -0
- package/plugin/templates/langs/en/skills/report/SKILL.md +13 -0
- package/plugin/templates/langs/en/skills/root-cause/SKILL.md +33 -0
- package/plugin/templates/langs/en/skills/triage/SKILL.md +29 -0
- package/plugin/templates/langs/en/skills/watch-evolution/SKILL.md +33 -0
- package/plugin/templates/langs/zh/core/AGENTS.md +197 -0
- package/plugin/templates/langs/zh/core/BOOT.md +60 -0
- package/plugin/templates/langs/zh/core/BOOTSTRAP.md +273 -0
- package/plugin/templates/langs/zh/core/HEARTBEAT.md +98 -0
- package/plugin/templates/langs/zh/core/IDENTITY.md +8 -0
- package/plugin/templates/langs/zh/core/PRINCIPLES.md +7 -0
- package/plugin/templates/langs/zh/core/SOUL.md +46 -0
- package/plugin/templates/langs/zh/core/TOOLS.md +15 -0
- package/plugin/templates/langs/zh/core/USER.md +10 -0
- package/plugin/templates/langs/zh/pain/00_seed_samples.md +24 -0
- package/plugin/templates/langs/zh/pain_dictionary.json +18 -0
- package/plugin/templates/langs/zh/principles/THINKING_OS.md +64 -0
- package/plugin/templates/langs/zh/skills/admin/SKILL.md +41 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/EXAMPLES.md +63 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/REFERENCE.md +136 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/SKILL.md +67 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/agent-registry.json +143 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/bugfix-complex-template.json +107 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/feature-complex-template.json +107 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/nocturnal-trinity-quality-enhancement.json +111 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/workflow-validation-minimal-verify.json +95 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/specs/workflow-validation-minimal.json +98 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/workflow-v1-acceptance-checklist.md +58 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/references/workflow-v1.4-work-unit-handoff.md +190 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/runtime/.gitignore +2 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/archive.mjs +310 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/contract-enforcement.mjs +683 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/decision.mjs +604 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/state-store.mjs +32 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/lib/task-specs.mjs +707 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/scripts/run.mjs +3455 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/test/archive.test.mjs +230 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/test/contract-enforcement.test.mjs +672 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/test/decision.test.mjs +1321 -0
- package/plugin/templates/langs/zh/skills/ai-sprint-orchestration/test/run.test.mjs +1435 -0
- package/plugin/templates/langs/zh/skills/bootstrap-tools/SKILL.md +52 -0
- package/plugin/templates/langs/zh/skills/deductive-audit/SKILL.md +36 -0
- package/plugin/templates/langs/zh/skills/evolution-framework-update/SKILL.md +31 -0
- package/plugin/templates/langs/zh/skills/evolve-system/SKILL.md +46 -0
- package/plugin/templates/langs/zh/skills/evolve-task/SKILL.md +83 -0
- package/plugin/templates/langs/zh/skills/feedback/SKILL.md +53 -0
- package/plugin/templates/langs/zh/skills/init-strategy/SKILL.md +54 -0
- package/plugin/templates/langs/zh/skills/inject-rule/SKILL.md +19 -0
- package/plugin/templates/langs/zh/skills/manage-okr/SKILL.md +109 -0
- package/plugin/templates/langs/zh/skills/pd-auditor/SKILL.md +61 -0
- package/plugin/templates/langs/zh/skills/pd-cli-operator/SKILL.md +67 -0
- package/plugin/templates/langs/zh/skills/pd-daily/SKILL.md +283 -0
- package/plugin/templates/langs/zh/skills/pd-diagnostician/SKILL.md +391 -0
- package/plugin/templates/langs/zh/skills/pd-explorer/SKILL.md +65 -0
- package/plugin/templates/langs/zh/skills/pd-grooming/SKILL.md +46 -0
- package/plugin/templates/langs/zh/skills/pd-implementer/SKILL.md +68 -0
- package/plugin/templates/langs/zh/skills/pd-mentor/SKILL.md +230 -0
- package/plugin/templates/langs/zh/skills/pd-pain-signal/SKILL.md +30 -0
- package/plugin/templates/langs/zh/skills/pd-planner/SKILL.md +65 -0
- package/plugin/templates/langs/zh/skills/pd-runtime-v2/SKILL.md +61 -0
- package/plugin/templates/langs/zh/skills/plan-script/SKILL.md +32 -0
- package/plugin/templates/langs/zh/skills/profile/SKILL.md +24 -0
- package/plugin/templates/langs/zh/skills/reflection/SKILL.md +40 -0
- package/plugin/templates/langs/zh/skills/reflection-log/SKILL.md +37 -0
- package/plugin/templates/langs/zh/skills/report/SKILL.md +13 -0
- package/plugin/templates/langs/zh/skills/root-cause/SKILL.md +33 -0
- package/plugin/templates/langs/zh/skills/triage/SKILL.md +29 -0
- package/plugin/templates/langs/zh/skills/watch-evolution/SKILL.md +33 -0
- package/plugin/templates/pain_dictionary.json +36 -0
- package/plugin/templates/pain_settings.json +103 -0
- package/plugin/templates/workspace/.principles/DECISION_POLICY.json +44 -0
- package/plugin/templates/workspace/.principles/PRINCIPLES.md +20 -0
- package/plugin/templates/workspace/.principles/PROFILE.json +54 -0
- package/plugin/templates/workspace/.principles/PROFILE.schema.json +56 -0
- package/plugin/templates/workspace/.principles/THINKING_OS.md +64 -0
- package/plugin/templates/workspace/.principles/THINKING_OS_ARCHIVE.md +7 -0
- package/plugin/templates/workspace/.principles/THINKING_OS_CANDIDATES.md +9 -0
- package/plugin/templates/workspace/.principles/models/_INDEX.md +27 -0
- package/plugin/templates/workspace/.principles/models/first_principles.md +62 -0
- package/plugin/templates/workspace/.principles/models/marketing_4p.md +52 -0
- package/plugin/templates/workspace/.principles/models/porter_five.md +63 -0
- package/plugin/templates/workspace/.principles/models/swot.md +60 -0
- package/plugin/templates/workspace/.principles/models/user_story_map.md +63 -0
- package/plugin/templates/workspace/.state/WORKBOARD.json +4 -0
- package/plugin/templates/workspace/AUDIT.md +15 -0
- package/plugin/templates/workspace/PLAN.md +2 -0
- package/plugin/templates/workspace/okr/CURRENT_FOCUS.md +57 -0
- package/plugin/templates/workspace/okr/RECOVERY_PROTOCOL.md +56 -0
- package/plugin/templates/workspace/okr/TASK_CHANGES.jsonl +6 -0
- package/plugin/templates/workspace/okr/WEEK_TASKS.json +6 -0
- package/templates/langs/en/core/AGENTS.md +205 -0
- package/templates/langs/en/core/BOOT.md +60 -0
- package/templates/langs/en/core/BOOTSTRAP.md +273 -0
- package/templates/langs/en/core/HEARTBEAT.md +74 -0
- package/templates/langs/en/core/IDENTITY.md +8 -0
- package/templates/langs/en/core/PRINCIPLES.md +10 -0
- package/templates/langs/en/core/SOUL.md +46 -0
- package/templates/langs/en/core/TOOLS.md +58 -0
- package/templates/langs/en/core/USER.md +10 -0
- package/templates/langs/en/pain/00_seed_samples.md +23 -0
- package/templates/langs/en/pain_dictionary.json +22 -0
- package/templates/langs/en/principles/THINKING_OS.md +64 -0
- package/templates/langs/en/skills/admin/SKILL.md +39 -0
- package/templates/langs/en/skills/bootstrap-tools/SKILL.md +53 -0
- package/templates/langs/en/skills/deductive-audit/SKILL.md +36 -0
- package/templates/langs/en/skills/evolution-framework-update/SKILL.md +31 -0
- package/templates/langs/en/skills/evolve-system/SKILL.md +46 -0
- package/templates/langs/en/skills/evolve-task/SKILL.md +83 -0
- package/templates/langs/en/skills/feedback/SKILL.md +51 -0
- package/templates/langs/en/skills/init-strategy/SKILL.md +54 -0
- package/templates/langs/en/skills/inject-rule/SKILL.md +19 -0
- package/templates/langs/en/skills/manage-okr/SKILL.md +96 -0
- package/templates/langs/en/skills/pain/SKILL.md +19 -0
- package/templates/langs/en/skills/pd-daily/SKILL.md +199 -0
- package/templates/langs/en/skills/pd-grooming/SKILL.md +46 -0
- package/templates/langs/en/skills/pd-mentor/SKILL.md +230 -0
- package/templates/langs/en/skills/plan-script/SKILL.md +32 -0
- package/templates/langs/en/skills/profile/SKILL.md +24 -0
- package/templates/langs/en/skills/reflection/SKILL.md +40 -0
- package/templates/langs/en/skills/reflection-log/SKILL.md +37 -0
- package/templates/langs/en/skills/report/SKILL.md +13 -0
- package/templates/langs/en/skills/root-cause/SKILL.md +33 -0
- package/templates/langs/en/skills/triage/SKILL.md +29 -0
- package/templates/langs/en/skills/watch-evolution/SKILL.md +33 -0
- package/templates/langs/zh/core/AGENTS.md +197 -0
- package/templates/langs/zh/core/BOOT.md +60 -0
- package/templates/langs/zh/core/BOOTSTRAP.md +273 -0
- package/templates/langs/zh/core/HEARTBEAT.md +98 -0
- package/templates/langs/zh/core/IDENTITY.md +8 -0
- package/templates/langs/zh/core/SOUL.md +46 -0
- package/templates/langs/zh/core/TOOLS.md +58 -0
- package/templates/langs/zh/core/USER.md +10 -0
- package/templates/langs/zh/pain/00_seed_samples.md +24 -0
- package/templates/langs/zh/pain_dictionary.json +18 -0
- package/templates/langs/zh/principles/THINKING_OS.md +64 -0
- package/templates/langs/zh/skills/admin/SKILL.md +41 -0
- package/templates/langs/zh/skills/bootstrap-tools/SKILL.md +52 -0
- package/templates/langs/zh/skills/deductive-audit/SKILL.md +36 -0
- package/templates/langs/zh/skills/evolution-framework-update/SKILL.md +31 -0
- package/templates/langs/zh/skills/evolve-system/SKILL.md +46 -0
- package/templates/langs/zh/skills/evolve-task/SKILL.md +83 -0
- package/templates/langs/zh/skills/feedback/SKILL.md +53 -0
- package/templates/langs/zh/skills/init-strategy/SKILL.md +54 -0
- package/templates/langs/zh/skills/inject-rule/SKILL.md +19 -0
- package/templates/langs/zh/skills/manage-okr/SKILL.md +109 -0
- package/templates/langs/zh/skills/pain/SKILL.md +30 -0
- package/templates/langs/zh/skills/pd-auditor/SKILL.md +61 -0
- package/templates/langs/zh/skills/pd-daily/SKILL.md +283 -0
- package/templates/langs/zh/skills/pd-diagnostician/SKILL.md +287 -0
- package/templates/langs/zh/skills/pd-explorer/SKILL.md +65 -0
- package/templates/langs/zh/skills/pd-grooming/SKILL.md +46 -0
- package/templates/langs/zh/skills/pd-implementer/SKILL.md +68 -0
- package/templates/langs/zh/skills/pd-mentor/SKILL.md +230 -0
- package/templates/langs/zh/skills/pd-planner/SKILL.md +65 -0
- package/templates/langs/zh/skills/pd-reporter/SKILL.md +78 -0
- package/templates/langs/zh/skills/pd-reviewer/SKILL.md +66 -0
- package/templates/langs/zh/skills/plan-script/SKILL.md +32 -0
- package/templates/langs/zh/skills/profile/SKILL.md +24 -0
- package/templates/langs/zh/skills/reflection/SKILL.md +40 -0
- package/templates/langs/zh/skills/reflection-log/SKILL.md +37 -0
- package/templates/langs/zh/skills/report/SKILL.md +13 -0
- package/templates/langs/zh/skills/root-cause/SKILL.md +33 -0
- package/templates/langs/zh/skills/triage/SKILL.md +29 -0
- package/templates/langs/zh/skills/watch-evolution/SKILL.md +33 -0
- package/templates/pain_dictionary.json +36 -0
- package/templates/pain_settings.json +129 -0
- package/templates/workspace/.principles/THINKING_OS.md +64 -0
- package/templates/workspace/AUDIT.md +15 -0
- package/templates/workspace/PLAN.md +2 -0
- package/templates/workspace/okr/CURRENT_FOCUS.md +57 -0
- package/templates/workspace/okr/RECOVERY_PROTOCOL.md +56 -0
- package/templates/workspace/okr/TASK_CHANGES.jsonl +6 -0
- package/templates/workspace/okr/WEEK_TASKS.json +6 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pi-ai-runtime-adapter.js","sourceRoot":"","sources":["../../../src/runtime-v2/adapter/pi-ai-runtime-adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE7E,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBA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AAa,CAAC;YAC9B,SAAS,EAAE,2BAA2B;YACtC,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM,IAAI,KAAK;YACvC,SAAS,EAAE,OAAO;YAClB,SAAS,EAAE,eAAe;YAC1B,OAAO,EAAE,eAAe;YACxB,OAAO,EAAE;gBACP,KAAK;gBACL,WAAW,EAAE,OAAO;gBACpB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO;gBACnC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ;gBAC9B,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK;gBACxB,kBAAkB;gBAClB,aAAa;gBACb,SAAS;gBACT,qBAAqB;gBACrB,YAAY,EAAE,OAAO;gBACrB,UAAU;gBACV,gBAAgB;gBAChB,YAAY,EAAE,GAAG,CAAC,OAAO;gBACzB,cAAc,EAAE,IAAI;aACrB;SACF,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PrincipleTreeLedgerAdapter — bridges LedgerAdapter interface to principle-tree-ledger.ts.
|
|
3
|
+
*
|
|
4
|
+
* Lives in principles-core/runtime-v2 so pd-cli can use the same adapter
|
|
5
|
+
* as openclaw-plugin without depending on openclaw-plugin private code.
|
|
6
|
+
*/
|
|
7
|
+
import type { LedgerAdapter, LedgerPrincipleEntry } from '../candidate-intake.js';
|
|
8
|
+
/**
|
|
9
|
+
* PrincipleTreeLedgerAdapter — bridges 11-field LedgerPrincipleEntry to ledger file.
|
|
10
|
+
*
|
|
11
|
+
* Maintains an in-memory idempotency map. Create once and reuse
|
|
12
|
+
* across calls within the same process lifetime.
|
|
13
|
+
*/
|
|
14
|
+
export declare class PrincipleTreeLedgerAdapter implements LedgerAdapter {
|
|
15
|
+
#private;
|
|
16
|
+
constructor(opts: {
|
|
17
|
+
stateDir: string;
|
|
18
|
+
});
|
|
19
|
+
writeProbationEntry(entry: LedgerPrincipleEntry): LedgerPrincipleEntry;
|
|
20
|
+
existsForCandidate(candidateId: string): LedgerPrincipleEntry | null;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=principle-tree-ledger-adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"principle-tree-ledger-adapter.d.ts","sourceRoot":"","sources":["../../../src/runtime-v2/adapter/principle-tree-ledger-adapter.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAuClF;;;;;GAKG;AACH,qBAAa,0BAA2B,YAAW,aAAa;;gBAIlD,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE;IAItC,mBAAmB,CAAC,KAAK,EAAE,oBAAoB,GAAG,oBAAoB;IAWtE,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,oBAAoB,GAAG,IAAI;CAwBrE"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PrincipleTreeLedgerAdapter — bridges LedgerAdapter interface to principle-tree-ledger.ts.
|
|
3
|
+
*
|
|
4
|
+
* Lives in principles-core/runtime-v2 so pd-cli can use the same adapter
|
|
5
|
+
* as openclaw-plugin without depending on openclaw-plugin private code.
|
|
6
|
+
*/
|
|
7
|
+
import { addPrincipleToLedger, loadLedger } from '../../principle-tree-ledger.js';
|
|
8
|
+
const VALID_EVALUABILITIES = ['deterministic', 'weak_heuristic', 'manual_only'];
|
|
9
|
+
function extractCandidateIdStatic(sourceRef) {
|
|
10
|
+
if (sourceRef.startsWith('candidate://')) {
|
|
11
|
+
return sourceRef.slice('candidate://'.length);
|
|
12
|
+
}
|
|
13
|
+
return sourceRef;
|
|
14
|
+
}
|
|
15
|
+
function expandToLedgerPrincipleStatic(entry, candidateId) {
|
|
16
|
+
if (!VALID_EVALUABILITIES.includes(entry.evaluability)) {
|
|
17
|
+
throw new Error(`Invalid evaluability value: ${entry.evaluability}. Must be one of: ${VALID_EVALUABILITIES.join(', ')}`);
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
id: entry.id,
|
|
21
|
+
version: 1,
|
|
22
|
+
text: entry.text,
|
|
23
|
+
triggerPattern: entry.triggerPattern ?? '',
|
|
24
|
+
action: entry.action ?? '',
|
|
25
|
+
status: 'candidate',
|
|
26
|
+
evaluability: entry.evaluability,
|
|
27
|
+
priority: 'P1',
|
|
28
|
+
scope: 'general',
|
|
29
|
+
valueScore: 0,
|
|
30
|
+
adherenceRate: 0,
|
|
31
|
+
painPreventedCount: 0,
|
|
32
|
+
derivedFromPainIds: [candidateId],
|
|
33
|
+
ruleIds: [],
|
|
34
|
+
conflictsWithPrincipleIds: [],
|
|
35
|
+
createdAt: entry.createdAt,
|
|
36
|
+
updatedAt: entry.createdAt,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* PrincipleTreeLedgerAdapter — bridges 11-field LedgerPrincipleEntry to ledger file.
|
|
41
|
+
*
|
|
42
|
+
* Maintains an in-memory idempotency map. Create once and reuse
|
|
43
|
+
* across calls within the same process lifetime.
|
|
44
|
+
*/
|
|
45
|
+
export class PrincipleTreeLedgerAdapter {
|
|
46
|
+
#stateDir;
|
|
47
|
+
#entryMap = new Map();
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
this.#stateDir = opts.stateDir;
|
|
50
|
+
}
|
|
51
|
+
writeProbationEntry(entry) {
|
|
52
|
+
const candidateId = extractCandidateIdStatic(entry.sourceRef);
|
|
53
|
+
const existing = this.#entryMap.get(candidateId);
|
|
54
|
+
if (existing)
|
|
55
|
+
return existing;
|
|
56
|
+
const ledgerPrinciple = expandToLedgerPrincipleStatic(entry, candidateId);
|
|
57
|
+
addPrincipleToLedger(this.#stateDir, ledgerPrinciple);
|
|
58
|
+
this.#entryMap.set(candidateId, entry);
|
|
59
|
+
return entry;
|
|
60
|
+
}
|
|
61
|
+
existsForCandidate(candidateId) {
|
|
62
|
+
const cached = this.#entryMap.get(candidateId);
|
|
63
|
+
if (cached)
|
|
64
|
+
return cached;
|
|
65
|
+
const ledger = loadLedger(this.#stateDir);
|
|
66
|
+
const found = Object.values(ledger.tree.principles).find((p) => p.derivedFromPainIds.includes(candidateId));
|
|
67
|
+
if (!found)
|
|
68
|
+
return null;
|
|
69
|
+
return {
|
|
70
|
+
id: found.id,
|
|
71
|
+
title: '',
|
|
72
|
+
status: 'probation',
|
|
73
|
+
sourceRef: `candidate://${candidateId}`,
|
|
74
|
+
artifactRef: '',
|
|
75
|
+
taskRef: '',
|
|
76
|
+
text: found.text,
|
|
77
|
+
triggerPattern: found.triggerPattern,
|
|
78
|
+
action: found.action,
|
|
79
|
+
evaluability: 'weak_heuristic',
|
|
80
|
+
createdAt: found.createdAt,
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
//# sourceMappingURL=principle-tree-ledger-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"principle-tree-ledger-adapter.js","sourceRoot":"","sources":["../../../src/runtime-v2/adapter/principle-tree-ledger-adapter.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,oBAAoB,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAGlF,MAAM,oBAAoB,GAAG,CAAC,eAAe,EAAE,gBAAgB,EAAE,aAAa,CAAU,CAAC;AAEzF,SAAS,wBAAwB,CAAC,SAAiB;IACjD,IAAI,SAAS,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC;QACzC,OAAO,SAAS,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,SAAS,6BAA6B,CAAC,KAA2B,EAAE,WAAmB;IACrF,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,CAAC;QACvD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,eAAe,CAAC,CAAC;QACtD,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,EAAE,KAAK,CAAC,CAAC;QACvC,OAAO,KAAK,CAAC;IACf,CAAC;IAED,kBAAkB,CAAC,WAAmB;QACpC,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAC/C,IAAI,MAAM;YAAE,OAAO,MAAM,CAAC;QAE1B,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC1C,MAAM,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAC7D,CAAC,CAAC,kBAAkB,CAAC,QAAQ,CAAC,WAAW,CAAC,CAC3C,CAAC;QACF,IAAI,CAAC,KAAK;YAAE,OAAO,IAAI,CAAC;QAExB,OAAO;YACL,EAAE,EAAE,KAAK,CAAC,EAAE;YACZ,KAAK,EAAE,EAAE;YACT,MAAM,EAAE,WAAoB;YAC5B,SAAS,EAAE,eAAe,WAAW,EAAE;YACvC,WAAW,EAAE,EAAE;YACf,OAAO,EAAE,EAAE;YACX,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,cAAc,EAAE,KAAK,CAAC,cAAc;YACpC,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,YAAY,EAAE,gBAAyB;YACvC,SAAS,EAAE,KAAK,CAAC,SAAS;SAC3B,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TSchema } from '@sinclair/typebox';
|
|
2
|
+
export interface SchemaPromptAdapter {
|
|
3
|
+
generateExample(schema: TSchema): string;
|
|
4
|
+
generateConstraints(schema: TSchema): string;
|
|
5
|
+
generateSchemaSummary(schema: TSchema): string;
|
|
6
|
+
}
|
|
7
|
+
export declare const MAX_SCHEMA_PROMPT_DEPTH = 8;
|
|
8
|
+
export declare class DefaultSchemaPromptAdapter implements SchemaPromptAdapter {
|
|
9
|
+
generateExample(schema: TSchema): string;
|
|
10
|
+
generateConstraints(schema: TSchema): string;
|
|
11
|
+
generateSchemaSummary(schema: TSchema): string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=schema-prompt-adapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-prompt-adapter.d.ts","sourceRoot":"","sources":["../../../src/runtime-v2/adapter/schema-prompt-adapter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGjD,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;IACzC,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;IAC7C,qBAAqB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;CAChD;AAED,eAAO,MAAM,uBAAuB,IAAI,CAAC;AAmKzC,qBAAa,0BAA2B,YAAW,mBAAmB;IAEpE,eAAe,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM;IAiBxC,mBAAmB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM;IAkF5C,qBAAqB,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM;CAG/C"}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
import { Value } from '@sinclair/typebox/value';
|
|
2
|
+
import { deriveSchemaSummary } from './structured-output-repair.js';
|
|
3
|
+
export const MAX_SCHEMA_PROMPT_DEPTH = 8;
|
|
4
|
+
const RECOMMENDATION_KINDS = ['principle', 'rule', 'implementation', 'prompt', 'defer'];
|
|
5
|
+
function isRecord(value) {
|
|
6
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
7
|
+
}
|
|
8
|
+
function getProperties(schema) {
|
|
9
|
+
if (!isRecord(schema.properties))
|
|
10
|
+
return null;
|
|
11
|
+
return schema.properties;
|
|
12
|
+
}
|
|
13
|
+
function getArrayItems(schema) {
|
|
14
|
+
if (!isRecord(schema.items))
|
|
15
|
+
return null;
|
|
16
|
+
return schema.items;
|
|
17
|
+
}
|
|
18
|
+
function getUnionSchemas(schema, key) {
|
|
19
|
+
const arr = schema[key];
|
|
20
|
+
if (!Array.isArray(arr) || arr.length === 0)
|
|
21
|
+
return null;
|
|
22
|
+
return arr.filter((s) => isRecord(s));
|
|
23
|
+
}
|
|
24
|
+
function generateValueForSchema(schema, depth = 0) {
|
|
25
|
+
if (depth > MAX_SCHEMA_PROMPT_DEPTH)
|
|
26
|
+
return null;
|
|
27
|
+
if (schema.type === 'boolean')
|
|
28
|
+
return true;
|
|
29
|
+
if (schema.type === 'number') {
|
|
30
|
+
if (typeof schema.minimum === 'number' && typeof schema.maximum === 'number') {
|
|
31
|
+
return (schema.minimum + schema.maximum) / 2;
|
|
32
|
+
}
|
|
33
|
+
if (typeof schema.minimum === 'number')
|
|
34
|
+
return schema.minimum + 1;
|
|
35
|
+
if (typeof schema.maximum === 'number')
|
|
36
|
+
return schema.maximum - 1;
|
|
37
|
+
return 0.8;
|
|
38
|
+
}
|
|
39
|
+
if (schema.type === 'string')
|
|
40
|
+
return 'example';
|
|
41
|
+
if (schema.type === 'integer')
|
|
42
|
+
return 1;
|
|
43
|
+
if (schema.const !== undefined)
|
|
44
|
+
return schema.const;
|
|
45
|
+
if (Array.isArray(schema.enum) && schema.enum.length > 0) {
|
|
46
|
+
return schema.enum[0];
|
|
47
|
+
}
|
|
48
|
+
const anyOf = getUnionSchemas(schema, 'anyOf');
|
|
49
|
+
if (anyOf && anyOf[0])
|
|
50
|
+
return generateValueForSchema(anyOf[0], depth + 1);
|
|
51
|
+
const oneOf = getUnionSchemas(schema, 'oneOf');
|
|
52
|
+
if (oneOf && oneOf[0])
|
|
53
|
+
return generateValueForSchema(oneOf[0], depth + 1);
|
|
54
|
+
const allOf = getUnionSchemas(schema, 'allOf');
|
|
55
|
+
if (allOf) {
|
|
56
|
+
const merged = {};
|
|
57
|
+
for (const sub of allOf) {
|
|
58
|
+
const val = generateValueForSchema(sub, depth + 1);
|
|
59
|
+
if (isRecord(val)) {
|
|
60
|
+
Object.assign(merged, val);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
return merged;
|
|
64
|
+
}
|
|
65
|
+
if (schema.type === 'array') {
|
|
66
|
+
const items = getArrayItems(schema);
|
|
67
|
+
if (!items)
|
|
68
|
+
return [];
|
|
69
|
+
return [generateValueForSchema(items, depth + 1)];
|
|
70
|
+
}
|
|
71
|
+
if (schema.type === 'object') {
|
|
72
|
+
const props = getProperties(schema);
|
|
73
|
+
if (!props)
|
|
74
|
+
return null;
|
|
75
|
+
const required = Array.isArray(schema.required) ? new Set(schema.required) : new Set();
|
|
76
|
+
const result = {};
|
|
77
|
+
for (const [key, propSchema] of Object.entries(props)) {
|
|
78
|
+
if (!isRecord(propSchema))
|
|
79
|
+
continue;
|
|
80
|
+
if (!required.has(key))
|
|
81
|
+
continue;
|
|
82
|
+
result[key] = generateValueForSchema(propSchema, depth + 1);
|
|
83
|
+
}
|
|
84
|
+
return result;
|
|
85
|
+
}
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
function isRecommendationArraySchema(schema) {
|
|
89
|
+
if (schema.type !== 'object')
|
|
90
|
+
return false;
|
|
91
|
+
const props = getProperties(schema);
|
|
92
|
+
if (!props)
|
|
93
|
+
return false;
|
|
94
|
+
const recsProp = props.recommendations;
|
|
95
|
+
if (!isRecord(recsProp) || recsProp.type !== 'array')
|
|
96
|
+
return false;
|
|
97
|
+
const items = getArrayItems(recsProp);
|
|
98
|
+
if (!items)
|
|
99
|
+
return false;
|
|
100
|
+
const itemProps = getProperties(items);
|
|
101
|
+
if (!itemProps)
|
|
102
|
+
return false;
|
|
103
|
+
const kindProp = itemProps.kind;
|
|
104
|
+
if (!isRecord(kindProp))
|
|
105
|
+
return false;
|
|
106
|
+
const anyOf = getUnionSchemas(kindProp, 'anyOf');
|
|
107
|
+
if (!anyOf)
|
|
108
|
+
return false;
|
|
109
|
+
return anyOf.some(s => isRecord(s) && s.const === 'principle');
|
|
110
|
+
}
|
|
111
|
+
function generateRecommendationExample(kind) {
|
|
112
|
+
const base = {
|
|
113
|
+
kind,
|
|
114
|
+
description: `Example ${kind} recommendation`,
|
|
115
|
+
};
|
|
116
|
+
if (kind === 'rule') {
|
|
117
|
+
base.triggerPattern = 'pattern-to-match';
|
|
118
|
+
base.action = 'action-to-take';
|
|
119
|
+
}
|
|
120
|
+
if (kind === 'principle') {
|
|
121
|
+
base.abstractedPrinciple = 'Abstracted principle text (max 200 chars)';
|
|
122
|
+
}
|
|
123
|
+
return base;
|
|
124
|
+
}
|
|
125
|
+
function generateDiagnosticianExample(schema) {
|
|
126
|
+
const rawBase = generateValueForSchema(schema);
|
|
127
|
+
if (!isRecord(rawBase)) {
|
|
128
|
+
return {
|
|
129
|
+
valid: true,
|
|
130
|
+
diagnosisId: 'diag-001',
|
|
131
|
+
summary: 'Example diagnosis summary',
|
|
132
|
+
rootCause: 'Design: Example root cause',
|
|
133
|
+
confidence: 0.85,
|
|
134
|
+
violatedPrinciples: [{ rationale: 'Example principle violation rationale' }],
|
|
135
|
+
evidence: [{ sourceRef: 'source-ref-1', note: 'Example evidence note' }],
|
|
136
|
+
recommendations: RECOMMENDATION_KINDS.map(generateRecommendationExample),
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
const base = {};
|
|
140
|
+
for (const [k, v] of Object.entries(rawBase)) {
|
|
141
|
+
base[k] = v;
|
|
142
|
+
}
|
|
143
|
+
base.recommendations = RECOMMENDATION_KINDS.map(generateRecommendationExample);
|
|
144
|
+
base.valid = true;
|
|
145
|
+
base.diagnosisId = 'diag-001';
|
|
146
|
+
base.summary = 'Example diagnosis summary';
|
|
147
|
+
base.rootCause = 'Design: Example root cause';
|
|
148
|
+
base.confidence = 0.85;
|
|
149
|
+
base.violatedPrinciples = [
|
|
150
|
+
{ rationale: 'Example principle violation rationale' },
|
|
151
|
+
];
|
|
152
|
+
base.evidence = [
|
|
153
|
+
{ sourceRef: 'source-ref-1', note: 'Example evidence note' },
|
|
154
|
+
];
|
|
155
|
+
return base;
|
|
156
|
+
}
|
|
157
|
+
function toRecord(schema) {
|
|
158
|
+
return isRecord(schema) ? schema : null;
|
|
159
|
+
}
|
|
160
|
+
export class DefaultSchemaPromptAdapter {
|
|
161
|
+
// eslint-disable-next-line @typescript-eslint/class-methods-use-this
|
|
162
|
+
generateExample(schema) {
|
|
163
|
+
const rec = toRecord(schema);
|
|
164
|
+
const example = rec && isRecommendationArraySchema(rec)
|
|
165
|
+
? generateDiagnosticianExample(rec)
|
|
166
|
+
: rec
|
|
167
|
+
? generateValueForSchema(rec)
|
|
168
|
+
: null;
|
|
169
|
+
try {
|
|
170
|
+
const checked = Value.Check(schema, example) ? example : Value.Cast(schema, example);
|
|
171
|
+
return JSON.stringify(checked, null, 2);
|
|
172
|
+
}
|
|
173
|
+
catch {
|
|
174
|
+
return JSON.stringify(example, null, 2);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
// eslint-disable-next-line @typescript-eslint/class-methods-use-this
|
|
178
|
+
generateConstraints(schema) {
|
|
179
|
+
const rec = toRecord(schema);
|
|
180
|
+
if (!rec)
|
|
181
|
+
return '(unknown schema)';
|
|
182
|
+
if (rec.type === 'object') {
|
|
183
|
+
const props = getProperties(rec);
|
|
184
|
+
if (!props)
|
|
185
|
+
return '(object schema without properties)';
|
|
186
|
+
const required = Array.isArray(rec.required) ? new Set(rec.required) : new Set();
|
|
187
|
+
const lines = [];
|
|
188
|
+
for (const [key, propSchema] of Object.entries(props)) {
|
|
189
|
+
if (!isRecord(propSchema))
|
|
190
|
+
continue;
|
|
191
|
+
const isReq = required.has(key);
|
|
192
|
+
const reqMark = isReq ? ' (required)' : ' (optional)';
|
|
193
|
+
const constraints = [];
|
|
194
|
+
if (typeof propSchema.description === 'string') {
|
|
195
|
+
constraints.push(`description: ${propSchema.description}`);
|
|
196
|
+
}
|
|
197
|
+
if (propSchema.type === 'array') {
|
|
198
|
+
const items = getArrayItems(propSchema);
|
|
199
|
+
const itemType = isRecord(items) ? items.type ?? 'unknown' : 'unknown';
|
|
200
|
+
lines.push(` ${key}: ${itemType}[]${reqMark}`);
|
|
201
|
+
if (items) {
|
|
202
|
+
const itemProps = getProperties(items);
|
|
203
|
+
if (itemProps) {
|
|
204
|
+
const itemRequired = Array.isArray(items.required) ? new Set(items.required) : new Set();
|
|
205
|
+
for (const [ik, iv] of Object.entries(itemProps)) {
|
|
206
|
+
if (!isRecord(iv))
|
|
207
|
+
continue;
|
|
208
|
+
const ikReq = itemRequired.has(ik) ? ' (required)' : ' (optional)';
|
|
209
|
+
const ikConstraints = [];
|
|
210
|
+
if (Array.isArray(iv.enum)) {
|
|
211
|
+
ikConstraints.push(`enum: ${iv.enum.map(String).join(' | ')}`);
|
|
212
|
+
}
|
|
213
|
+
const anyOf = getUnionSchemas(iv, 'anyOf');
|
|
214
|
+
if (anyOf) {
|
|
215
|
+
const constValues = anyOf
|
|
216
|
+
.filter(s => s.const !== undefined)
|
|
217
|
+
.map(s => String(s.const));
|
|
218
|
+
if (constValues.length > 0) {
|
|
219
|
+
ikConstraints.push(`enum: ${constValues.join(' | ')}`);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
if (typeof iv.minimum === 'number')
|
|
223
|
+
ikConstraints.push(`min: ${iv.minimum}`);
|
|
224
|
+
if (typeof iv.maximum === 'number')
|
|
225
|
+
ikConstraints.push(`max: ${iv.maximum}`);
|
|
226
|
+
if (typeof iv.minLength === 'number')
|
|
227
|
+
ikConstraints.push(`minLength: ${iv.minLength}`);
|
|
228
|
+
if (typeof iv.description === 'string')
|
|
229
|
+
ikConstraints.push(`description: ${iv.description}`);
|
|
230
|
+
const ikType = iv.type ?? (iv.anyOf ? 'union' : 'unknown');
|
|
231
|
+
const ikConstraintStr = ikConstraints.length > 0 ? ` {${ikConstraints.join(', ')}}` : '';
|
|
232
|
+
lines.push(` .${ik}: ${ikType}${ikConstraintStr}${ikReq}`);
|
|
233
|
+
}
|
|
234
|
+
if (Object.hasOwn(itemProps, 'kind') && isRecord(itemProps.kind) && itemProps.kind.anyOf) {
|
|
235
|
+
lines.push(' Conditional: "rule" kind → triggerPattern and action are required');
|
|
236
|
+
lines.push(' Conditional: "principle" kind → abstractedPrinciple is required');
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
continue;
|
|
241
|
+
}
|
|
242
|
+
if (Array.isArray(propSchema.enum)) {
|
|
243
|
+
constraints.push(`enum: ${propSchema.enum.map(String).join(' | ')}`);
|
|
244
|
+
}
|
|
245
|
+
if (typeof propSchema.minimum === 'number')
|
|
246
|
+
constraints.push(`min: ${propSchema.minimum}`);
|
|
247
|
+
if (typeof propSchema.maximum === 'number')
|
|
248
|
+
constraints.push(`max: ${propSchema.maximum}`);
|
|
249
|
+
if (typeof propSchema.minLength === 'number')
|
|
250
|
+
constraints.push(`minLength: ${propSchema.minLength}`);
|
|
251
|
+
const typeStr = propSchema.type ?? (propSchema.anyOf ? 'union' : 'unknown');
|
|
252
|
+
const constraintStr = constraints.length > 0 ? ` {${constraints.join(', ')}}` : '';
|
|
253
|
+
lines.push(` ${key}: ${typeStr}${constraintStr}${reqMark}`);
|
|
254
|
+
}
|
|
255
|
+
return lines.join('\n');
|
|
256
|
+
}
|
|
257
|
+
if (rec.type)
|
|
258
|
+
return `type: ${rec.type}`;
|
|
259
|
+
return '(complex schema)';
|
|
260
|
+
}
|
|
261
|
+
// eslint-disable-next-line @typescript-eslint/class-methods-use-this
|
|
262
|
+
generateSchemaSummary(schema) {
|
|
263
|
+
return deriveSchemaSummary(schema);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
//# sourceMappingURL=schema-prompt-adapter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-prompt-adapter.js","sourceRoot":"","sources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AAa,GAAG,OAAO,EAAE,CAAC,CAAC;YAC/D,CAAC;YAED,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC1B,CAAC;QAED,IAAI,GAAG,CAAC,IAAI;YAAE,OAAO,SAAS,GAAG,CAAC,IAAI,EAAE,CAAC;QACzC,OAAO,kBAAkB,CAAC;IAC5B,CAAC;IAED,qEAAqE;IACrE,qBAAqB,CAAC,MAAe;QACnC,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Structured output repair module — reusable, runtime-agnostic schema repair loop.
|
|
3
|
+
*
|
|
4
|
+
* When an LLM returns valid JSON that fails TypeBox schema validation, this module
|
|
5
|
+
* generates a bounded repair prompt containing the previous output and specific
|
|
6
|
+
* validation errors, then calls the LLM again for a corrected response.
|
|
7
|
+
*
|
|
8
|
+
* Design principles:
|
|
9
|
+
* - Generic over T — no Diagnostician-specific knowledge
|
|
10
|
+
* - Callback-based — schemaCheck and llmCaller are injected, no pi-ai imports
|
|
11
|
+
* - Bounded — all prompts and error summaries are size-limited
|
|
12
|
+
* - Fail-closed — if repair output still fails schemaCheck, return repaired=false
|
|
13
|
+
* - Lineage-safe — repair must not silently override lineage fields (PRI-200)
|
|
14
|
+
*
|
|
15
|
+
* PRI-71: First integration target is Diagnostician via PiAiRuntimeAdapter.
|
|
16
|
+
* PRI-200: Evidence pack, schemaRef in prompt, lineage protection, repairAttempts[].
|
|
17
|
+
* Future peer runners (Dreamer, Philosopher, etc.) can reuse the same module.
|
|
18
|
+
*/
|
|
19
|
+
import type { OutputRepairAttempt } from './output-repair-contract.js';
|
|
20
|
+
/** A single TypeBox validation error from Value.Errors(). */
|
|
21
|
+
export interface SchemaValidationError {
|
|
22
|
+
readonly path: string;
|
|
23
|
+
readonly message: string;
|
|
24
|
+
readonly value: unknown;
|
|
25
|
+
}
|
|
26
|
+
/** Configuration for the repair loop. */
|
|
27
|
+
export interface RepairConfig {
|
|
28
|
+
/** Maximum repair attempts. Default: 3. */
|
|
29
|
+
readonly maxRepairAttempts?: number;
|
|
30
|
+
/** Maximum number of errors to include in repair prompt. Default: 10. */
|
|
31
|
+
readonly maxErrorsInPrompt?: number;
|
|
32
|
+
/** Maximum characters per error description. Default: 200. */
|
|
33
|
+
readonly maxErrorChars?: number;
|
|
34
|
+
/** Maximum characters of raw JSON to include in prompt. Default: 2000. */
|
|
35
|
+
readonly maxRawOutputChars?: number;
|
|
36
|
+
/** Schema reference for the output being repaired (PRI-200). Included in repair prompt. */
|
|
37
|
+
readonly schemaRef?: string;
|
|
38
|
+
/** Original output with lineage fields to preserve during repair (PRI-200). */
|
|
39
|
+
readonly originalOutput?: Record<string, unknown>;
|
|
40
|
+
/** Human-readable schema summary to include in repair prompt (PRI-271 A2). */
|
|
41
|
+
readonly schemaSummary?: string;
|
|
42
|
+
/** Internal override for jitter between repair attempts (PRI-271 A3). Set to 0 to disable. */
|
|
43
|
+
readonly _testJitterMs?: number;
|
|
44
|
+
}
|
|
45
|
+
/** Sensible defaults for repair configuration. */
|
|
46
|
+
export declare const DEFAULT_REPAIR_CONFIG: Required<Omit<RepairConfig, 'schemaRef' | 'originalOutput' | 'schemaSummary' | '_testJitterMs'>>;
|
|
47
|
+
/** Result of a repair attempt. */
|
|
48
|
+
export interface RepairResult<T> {
|
|
49
|
+
/** Whether repair succeeded and output passes schema validation. */
|
|
50
|
+
readonly repaired: boolean;
|
|
51
|
+
/** The repaired and validated output (set when repaired=true). */
|
|
52
|
+
readonly output: T | null;
|
|
53
|
+
/** Number of repair attempts made. */
|
|
54
|
+
readonly attemptsUsed: number;
|
|
55
|
+
/** Bounded summary of what was tried (for telemetry). */
|
|
56
|
+
readonly repairSummary: string;
|
|
57
|
+
/** Detailed repair attempt records for evidence pack (PRI-200). */
|
|
58
|
+
readonly repairAttempts: readonly OutputRepairAttempt[];
|
|
59
|
+
}
|
|
60
|
+
/** Callback for invoking an LLM during repair. Runtime-agnostic. */
|
|
61
|
+
export type RepairLLMCaller = (prompt: string) => Promise<string | null>;
|
|
62
|
+
/** Callbacks injected into the repair loop. */
|
|
63
|
+
export interface RepairCallbacks {
|
|
64
|
+
readonly llmCaller: RepairLLMCaller;
|
|
65
|
+
readonly schemaCheck: (value: unknown) => boolean;
|
|
66
|
+
/** Optional: re-validate schema errors on repaired output for evidence pack. */
|
|
67
|
+
readonly schemaErrors?: (value: unknown) => SchemaValidationError[];
|
|
68
|
+
}
|
|
69
|
+
export { extractJsonObject } from './json-extractor.js';
|
|
70
|
+
import type { TSchema } from '@sinclair/typebox';
|
|
71
|
+
/**
|
|
72
|
+
* Derive a human-readable schema summary from a TypeBox schema (PRI-271 A2).
|
|
73
|
+
*
|
|
74
|
+
* Produces a compact text description of field names, types, required status,
|
|
75
|
+
* and enum values — suitable for inclusion in repair prompts so the LLM knows
|
|
76
|
+
* the target schema structure without needing the full JSON Schema.
|
|
77
|
+
*/
|
|
78
|
+
export declare function deriveSchemaSummary(schema: TSchema): string;
|
|
79
|
+
/**
|
|
80
|
+
* Format TypeBox schema errors into a bounded, human-readable repair prompt.
|
|
81
|
+
*
|
|
82
|
+
* PRI-200: Includes schemaRef when available.
|
|
83
|
+
*/
|
|
84
|
+
export declare function formatRepairPrompt(invalidJson: unknown, errors: readonly SchemaValidationError[], config?: RepairConfig): string;
|
|
85
|
+
/**
|
|
86
|
+
* Attempt to repair structurally invalid LLM output by re-prompting
|
|
87
|
+
* the LLM with specific validation errors.
|
|
88
|
+
*
|
|
89
|
+
* Returns RepairResult<T> — either repaired+validated output or null.
|
|
90
|
+
* Bounded by maxRepairAttempts (default 3).
|
|
91
|
+
*
|
|
92
|
+
* PRI-200: Returns repairAttempts[] for evidence pack, protects lineage fields.
|
|
93
|
+
*/
|
|
94
|
+
export declare function attemptStructuredOutputRepair<T>(invalidOutput: unknown, schemaErrors: readonly SchemaValidationError[], callbacks: RepairCallbacks, config?: RepairConfig): Promise<RepairResult<T>>;
|
|
95
|
+
//# sourceMappingURL=structured-output-repair.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"structured-output-repair.d.ts","sourceRoot":"","sources":["../../../src/runtime-v2/adapter/structured-output-repair.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAEH,OAAO,KAAK,EAAE,mBAAmB,EAA8B,MAAM,6BAA6B,CAAC;AAGnG,6DAA6D;AAC7D,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CACzB;AAED,yCAAyC;AACzC,MAAM,WAAW,YAAY;IAC3B,2CAA2C;IAC3C,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,yEAAyE;IACzE,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,8DAA8D;IAC9D,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,0EAA0E;IAC1E,QAAQ,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IACpC,2FAA2F;IAC3F,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC5B,+EAA+E;IAC/E,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,8EAA8E;IAC9E,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,8FAA8F;IAC9F,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,kDAAkD;AAClD,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,WAAW,GAAG,gBAAgB,GAAG,eAAe,GAAG,eAAe,CAAC,CAKzH,CAAC;AAEX,kCAAkC;AAClC,MAAM,WA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