principles-disciple 2.0.2 → 2.0.4

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.
@@ -1,2 +1,2 @@
1
1
  export type { EventType, EventCategory, EventLogEntry, ToolCallEventData, PainSignalEventData, RulePromotionEventData, GovernanceActionEventData, HookExecutionEventData, GateBlockEventData, GateBypassEventData, EvolutionTaskEventData, EmpathyRollbackEventData, HeartbeatDiagnosisEventData, DiagnosisTaskEventData, DiagnosticianReportEventData, PrincipleCandidateEventData, RuleEnforcedEventData, RuleHostEvaluatedEventData, RuleHostBlockedEventData, RuleHostRequireApprovalEventData, RuleHostAutoCorrectProposedEventData, RuleHostAutoCorrectAppliedEventData, RuntimeV2PromptActivationsInjectedEventData, RuleHostUnhealthyEventData, RuleHostSkippedEventData, TrajectoryObservabilityFailureEventData, ToolCallStats, ErrorStats, EmpathyEventStats, GfiStats, HookStats, DailyStats, } from '@principles/core/runtime-v2';
2
- export { createEmptyDailyStats, } from '@principles/core/runtime-v2';
2
+ export { createEmptyDailyStats, } from '@principles/core/runtime-v2/types/event-types';
@@ -2,7 +2,7 @@
2
2
  "id": "principles-disciple",
3
3
  "name": "Principles Disciple",
4
4
  "description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
5
- "version": "2.0.2",
5
+ "version": "2.0.4",
6
6
  "activation": {
7
7
  "onStartup": true,
8
8
  "onCapabilities": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "principles-disciple",
3
- "version": "2.0.2",
3
+ "version": "2.0.4",
4
4
  "description": "Principles Disciple is an AI Agent Governance System. Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -57,10 +57,10 @@
57
57
  }
58
58
  },
59
59
  "scripts": {
60
- "build": "tsc",
60
+ "build": "tsc -p tsconfig.build.json && node ../../scripts/build/check-dist-hygiene.mjs",
61
61
  "build:bundle": "node esbuild.config.js",
62
62
  "build:production": "node esbuild.config.js --production && node scripts/verify-build.mjs",
63
- "build:types": "tsc --emitDeclarationOnly",
63
+ "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json",
64
64
  "prepack": "npm run build:production && npm run build:types",
65
65
  "test": "vitest run",
66
66
  "test:unit": "vitest run --config vitest.unit.config.ts tests/core tests/service tests/hooks tests/commands tests/utils tests/scripts",
@@ -74,7 +74,7 @@
74
74
  "sync-plugin": "node scripts/sync-plugin.mjs"
75
75
  },
76
76
  "devDependencies": {
77
- "@principles/host-runtime": "^0.7.7",
77
+ "@principles/host-runtime": "^0.7.8",
78
78
  "@types/better-sqlite3": "^9.6.0",
79
79
  "@types/js-yaml": "^4.0.9",
80
80
  "@types/micromatch": "^4.0.10",
@@ -100,7 +100,7 @@
100
100
  }
101
101
  },
102
102
  "dependencies": {
103
- "@principles/core": "^1.287.0",
103
+ "@principles/core": "^1.287.3",
104
104
  "@sinclair/typebox": "^0.34.48",
105
105
  "better-sqlite3": "^13.0.3",
106
106
  "commander": "^12.0.0",
@@ -1 +0,0 @@
1
- export {};