create-principles-disciple 1.115.0 → 1.117.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.
@@ -31,6 +31,8 @@ export interface SessionState {
31
31
  dailyPainSignals: number;
32
32
  dailyGfiPeak: number;
33
33
  injectedProbationIds?: string[];
34
+ injectedPrincipleIds?: string[];
35
+ receiptAutoCorrects?: number;
34
36
  }
35
37
  /**
36
38
  * Initialize persistence for session state.
@@ -60,6 +62,10 @@ export declare function resetFriction(sessionId: string, workspaceDir?: string,
60
62
  }): SessionState;
61
63
  export declare function trackBlock(sessionId: string): SessionState;
62
64
  export declare function setInjectedProbationIds(sessionId: string, ids: string[], workspaceDir?: string): SessionState;
65
+ /** PRI-534: record the principle ids injected into this session's prompt context. */
66
+ export declare function setInjectedPrincipleIds(sessionId: string | undefined, ids: readonly string[], workspaceDir?: string): void;
67
+ /** PRI-534: count one applied live auto-correction in this session. */
68
+ export declare function trackReceiptAutoCorrect(sessionId: string | undefined, workspaceDir?: string): void;
63
69
  export declare function getInjectedProbationIds(sessionId: string, workspaceDir?: string): string[];
64
70
  export declare function clearInjectedProbationIds(sessionId: string, workspaceDir?: string): SessionState;
65
71
  export declare function getSession(sessionId: string): SessionState | undefined;
@@ -2,7 +2,7 @@
2
2
  "id": "principles-disciple",
3
3
  "name": "Principles Disciple",
4
4
  "description": "Stop correcting the same AI behavior across sessions. Turn repeated Agent corrections into Owner-approved, observable, reversible behavior principles.",
5
- "version": "1.212.0",
5
+ "version": "1.214.0",
6
6
  "activation": {
7
7
  "onCapabilities": [
8
8
  "hook"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "principles-disciple",
3
- "version": "1.212.0",
3
+ "version": "1.214.0",
4
4
  "description": "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",