create-principles-disciple 1.97.0 → 1.98.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/console/dist/server/models/ActivationsConsoleModel.js +29 -3
- package/console/dist/server/models/ApprovalsConsoleModel.d.ts +13 -0
- package/console/dist/server/models/ApprovalsConsoleModel.js +94 -3
- package/console/dist/web/assets/app.js +9 -5
- package/console/package.json +3 -3
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.js +5 -4
- package/core/dist/runtime-v2/__tests__/architecture-regression.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.js +15 -2
- package/core/dist/runtime-v2/__tests__/dreamer-runner.test.js.map +1 -1
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice-v2.test.js +44 -0
- package/core/dist/runtime-v2/__tests__/evaluator-runner-vslice-v2.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/__tests__/activation-re-dispatch.test.d.ts +2 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-re-dispatch.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-re-dispatch.test.js +149 -0
- package/core/dist/runtime-v2/activation/__tests__/activation-re-dispatch.test.js.map +1 -0
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.js +72 -2
- package/core/dist/runtime-v2/activation/__tests__/sqlite-activation-state-store.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/activation-dispatcher.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/activation-dispatcher.js +5 -0
- package/core/dist/runtime-v2/activation/activation-dispatcher.js.map +1 -1
- package/core/dist/runtime-v2/activation/activation-types.d.ts +1 -0
- package/core/dist/runtime-v2/activation/activation-types.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/activation-types.js.map +1 -1
- package/core/dist/runtime-v2/activation/memory-activation-state-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/memory-activation-state-store.js +6 -1
- package/core/dist/runtime-v2/activation/memory-activation-state-store.js.map +1 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts +1 -0
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js +64 -10
- package/core/dist/runtime-v2/activation/sqlite-activation-state-store.js.map +1 -1
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.js +11 -8
- package/core/dist/runtime-v2/activation/writers/__tests__/rule-host-writer.test.js.map +1 -1
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.d.ts.map +1 -1
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.js +8 -1
- package/core/dist/runtime-v2/activation/writers/rule-host-writer.js.map +1 -1
- package/core/dist/runtime-v2/adapter/__tests__/principle-tree-ledger-adapter.test.d.ts +2 -0
- package/core/dist/runtime-v2/adapter/__tests__/principle-tree-ledger-adapter.test.d.ts.map +1 -0
- package/core/dist/runtime-v2/adapter/__tests__/principle-tree-ledger-adapter.test.js +134 -0
- package/core/dist/runtime-v2/adapter/__tests__/principle-tree-ledger-adapter.test.js.map +1 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts +15 -0
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.d.ts.map +1 -1
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js +23 -1
- package/core/dist/runtime-v2/adapter/principle-tree-ledger-adapter.js.map +1 -1
- package/core/dist/runtime-v2/index.d.ts +1 -1
- package/core/dist/runtime-v2/index.d.ts.map +1 -1
- package/core/dist/runtime-v2/index.js +1 -1
- package/core/dist/runtime-v2/index.js.map +1 -1
- package/core/dist/runtime-v2/internalization/__tests__/split-diagnostician-runner-retry.test.js +113 -0
- package/core/dist/runtime-v2/internalization/__tests__/split-diagnostician-runner-retry.test.js.map +1 -1
- package/core/dist/runtime-v2/internalization/dreamer-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/dreamer-runner.js +4 -0
- package/core/dist/runtime-v2/internalization/dreamer-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.js +3 -1
- package/core/dist/runtime-v2/internalization/evaluator-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.js +27 -0
- package/core/dist/runtime-v2/internalization/split-diagnostician-runner.js.map +1 -1
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.d.ts.map +1 -1
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.js +4 -1
- package/core/dist/runtime-v2/internalization-chain-integrity-read-model.js.map +1 -1
- package/core/dist/runtime-v2/proven-channel-baseline.js +1 -1
- package/core/dist/runtime-v2/proven-channel-baseline.js.map +1 -1
- package/core/dist/runtime-v2/store/sqlite-connection.d.ts.map +1 -1
- package/core/dist/runtime-v2/store/sqlite-connection.js +4 -0
- package/core/dist/runtime-v2/store/sqlite-connection.js.map +1 -1
- package/core/dist/runtime-v2/types/event-types.d.ts +4 -0
- package/core/dist/runtime-v2/types/event-types.d.ts.map +1 -1
- package/core/dist/runtime-v2/types/event-types.js +5 -0
- package/core/dist/runtime-v2/types/event-types.js.map +1 -1
- package/core/package.json +1 -1
- package/dist/mvp-config.js +1 -1
- package/dist/mvp-config.js.map +1 -1
- package/package.json +3 -3
- package/pd-cli/dist/commands/diagnose.d.ts.map +1 -1
- package/pd-cli/dist/commands/diagnose.js +71 -4
- package/pd-cli/dist/commands/diagnose.js.map +1 -1
- package/pd-cli/dist/commands/pain-record.d.ts.map +1 -1
- package/pd-cli/dist/commands/pain-record.js +21 -0
- package/pd-cli/dist/commands/pain-record.js.map +1 -1
- package/pd-cli/dist/commands/runtime-activation.d.ts +26 -0
- package/pd-cli/dist/commands/runtime-activation.d.ts.map +1 -1
- package/pd-cli/dist/commands/runtime-activation.js +307 -3
- package/pd-cli/dist/commands/runtime-activation.js.map +1 -1
- package/pd-cli/dist/config-reader.js +1 -1
- package/pd-cli/dist/config-reader.js.map +1 -1
- package/pd-cli/dist/index.js +22 -1
- package/pd-cli/dist/index.js.map +1 -1
- package/pd-cli/dist/services/pd-config-loader.js +1 -1
- package/pd-cli/dist/services/pd-config-loader.js.map +1 -1
- package/pd-cli/package.json +1 -1
- package/plugin/dist/core/pd-config-loader.js +1 -1
- package/plugin/dist/core/rule-host.d.ts +22 -1
- package/plugin/dist/core/rule-host.js +107 -18
- package/plugin/dist/core/workflow-funnel-loader.js +2 -2
- package/plugin/dist/core/workspace-context.d.ts +4 -0
- package/plugin/dist/core/workspace-context.js +13 -0
- package/plugin/dist/hooks/gate.js +36 -50
- package/plugin/package.json +2 -2
package/console/package.json
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@radix-ui/react-tooltip": "^1.2.10",
|
|
28
28
|
"@tailwindcss/postcss": "^4.3.0",
|
|
29
29
|
"@tailwindcss/vite": "^4.3.0",
|
|
30
|
-
"autoprefixer": "^10.5.
|
|
30
|
+
"autoprefixer": "^10.5.2",
|
|
31
31
|
"better-sqlite3": "^12.9.0",
|
|
32
32
|
"class-variance-authority": "^0.7.1",
|
|
33
33
|
"clsx": "^2.1.1",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"postcss-cli": "^11.0.1",
|
|
39
39
|
"react": "^19.2.6",
|
|
40
40
|
"react-dom": "^19.2.6",
|
|
41
|
-
"react-i18next": "^17.0.
|
|
41
|
+
"react-i18next": "^17.0.8",
|
|
42
42
|
"react-router-dom": "^7.15.0",
|
|
43
43
|
"semver": "^7.8.4",
|
|
44
44
|
"sonner": "^2.0.7",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@playwright/test": "^1.61.1",
|
|
50
50
|
"@types/better-sqlite3": "^7.6.13",
|
|
51
51
|
"@types/js-yaml": "^4.0.9",
|
|
52
|
-
"@types/node": "^
|
|
52
|
+
"@types/node": "^26.0.1",
|
|
53
53
|
"@types/react": "^19.0.0",
|
|
54
54
|
"@types/react-dom": "^19.0.0",
|
|
55
55
|
"@types/semver": "^7.7.1",
|
|
@@ -977,7 +977,8 @@ describe('PRI-45 RuleHost adapter boundary', () => {
|
|
|
977
977
|
const { readFileSync } = await import('node:fs');
|
|
978
978
|
const { resolve } = await import('node:path');
|
|
979
979
|
const src = readFileSync(resolve(__dirname, '../../../../openclaw-plugin/src/core/rule-host.ts'), 'utf-8');
|
|
980
|
-
expect(src).
|
|
980
|
+
expect(src).toContain('const liveDecision = mergeDecisions(');
|
|
981
|
+
expect(src).toContain('return this.evaluateDetailed(input).liveDecision');
|
|
981
982
|
});
|
|
982
983
|
});
|
|
983
984
|
// ── PRI-47: Store layer modularization Phase 1 ──────────────────────────────
|
|
@@ -2071,12 +2072,12 @@ describe('PRI-146: RuleHostWriter shadow activation boundary', () => {
|
|
|
2071
2072
|
expect(src).not.toContain('eval(');
|
|
2072
2073
|
expect(src).not.toContain('new Function');
|
|
2073
2074
|
});
|
|
2074
|
-
it('
|
|
2075
|
+
it('LIVE_AFTER_APPROVAL: rule-host-writer.ts uses live action for owner-approved activations', async () => {
|
|
2075
2076
|
const { readFileSync } = await import('node:fs');
|
|
2076
2077
|
const { resolve } = await import('node:path');
|
|
2077
2078
|
const src = readFileSync(resolve(__dirname, '..', 'activation', 'writers', 'rule-host-writer.ts'), 'utf-8');
|
|
2078
|
-
expect(src).
|
|
2079
|
-
expect(src).toContain('code_tool_hook_shadow_activate');
|
|
2079
|
+
expect(src).toContain('code_tool_hook_live_activate');
|
|
2080
|
+
expect(src).not.toContain('code_tool_hook_shadow_activate');
|
|
2080
2081
|
expect(src).toContain('accepted_shadow');
|
|
2081
2082
|
});
|
|
2082
2083
|
it('USES_GATE: rule-host-writer.ts imports evaluateRefinerRuleHostGate', async () => {
|