@lmzhen/dsh-evolution-approval 0.3.69 → 0.3.71

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.
@@ -42,16 +42,18 @@ export interface ApprovalRequest {
42
42
  * (`overrideOf` → deployment `config.policy` → 'ask') and ignores this value
43
43
  * entirely; it is read only in assemblies WITHOUT that service. A caller
44
44
  * holding the session object must pass it as `session`: a bare `sessionId`
45
- * cannot be probed (the platform reads `session.events` off the object).
45
+ * cannot be probed (the platform resolves the override from the object's
46
+ * session log view).
46
47
  */
47
48
  sessionPolicy?: 'ask' | 'never';
48
49
  /** 0.3.17 (E-25): the requesting session id, kept on the record for
49
50
  * audit attribution (staged AND resolved history). */
50
51
  sessionId?: string;
51
52
  /** 0.3.40 (V6-27 fix): the requesting SESSION OBJECT. The platform
52
- * `approval.overrideOf(session: Session)` reads `session.events` a bare id
53
- * string throws a TypeError in the real implementation (`.events` on a
54
- * string is undefined `events.length`). Callers that hold the session
53
+ * `approval.overrideOf(session: Session)` needs the session's log view
54
+ * `session.events` before 0.1.5, `session.snapshotEvents()` from 0.1.5 on
55
+ * so a bare id string throws in the real implementation (a missing log view
56
+ * reads as `undefined.length`). Callers that hold the session
55
57
  * (model tools, review pipeline) MUST pass it so the session-level override
56
58
  * (`approval/policy` event) is honored; absent falls back to the id probe
57
59
  * (undefined for platform lookups) + the config chain. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-approval",
3
3
  "description": "Stage/pending approval service for Hermes-style self-evolution writes (community build)",
4
- "version": "0.3.69",
4
+ "version": "0.3.71",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -33,17 +33,17 @@
33
33
  "@deepseek-ai/schemastery": "^3.18.1"
34
34
  },
35
35
  "peerDependencies": {
36
- "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
36
+ "@deepseek-ai/dsh-invariants": "^0.1.5-rc.2",
37
37
  "@deepseek-ai/cordis": "^4.0.1",
38
- "@lmzhen/dsh-evolution-state-storage": "^0.3.69",
39
- "@lmzhen/dsh-evolution-state": "^0.3.69"
38
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.71",
39
+ "@lmzhen/dsh-evolution-state": "^0.3.71"
40
40
  },
41
41
  "devDependencies": {
42
- "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
43
- "@lmzhen/dsh-evolution-state-storage": "^0.3.69",
44
- "@lmzhen/dsh-evolution-state": "^0.3.69",
45
- "@lmzhen/dsh-evolution-io": "^0.3.69",
46
- "@lmzhen/dsh-evolution-io-node": "^0.3.69",
47
- "@lmzhen/dsh-evolution-state-json": "^0.3.69"
42
+ "@deepseek-ai/dsh-invariants": "^0.1.5-rc.2",
43
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.71",
44
+ "@lmzhen/dsh-evolution-state": "^0.3.71",
45
+ "@lmzhen/dsh-evolution-io": "^0.3.71",
46
+ "@lmzhen/dsh-evolution-io-node": "^0.3.71",
47
+ "@lmzhen/dsh-evolution-state-json": "^0.3.71"
48
48
  }
49
49
  }