@lmzhen/dsh-evolution-state-storage 0.26.26 → 0.27.1

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.
@@ -99,6 +99,15 @@ export interface PendingRecord {
99
99
  * which session — kept so resolved audit history is attributable. */
100
100
  origin?: string | undefined;
101
101
  sessionId?: string | undefined;
102
+ /** W6/G4: the platform's admission decision that resolved this record (channel/principal/
103
+ * deploymentAllowsRemote). Optional and read-tolerant: records resolved before 0.2.1 (or by TTL
104
+ * expiry, which has no request) carry none — readers must never backfill it. Structural shape
105
+ * (not an import) keeps the storage domain independent of core's http-routes module. */
106
+ decidedBy?: {
107
+ readonly channel: 'connection.fetch' | 'command';
108
+ readonly principal: 'owner';
109
+ readonly deploymentAllowsRemote: boolean;
110
+ } | undefined;
102
111
  }
103
112
  export interface PendingResolution {
104
113
  record: PendingRecord | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-state-storage",
3
3
  "description": "Provider registry seam for durable evolution state (community build)",
4
- "version": "0.26.26",
4
+ "version": "0.27.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,6 +27,9 @@
27
27
  "license": "MIT",
28
28
  "dependencies": {},
29
29
  "peerDependencies": {
30
- "@deepseek-ai/cordis": "^4.0.1"
30
+ "@deepseek-ai/cordis": "^4.0.5"
31
+ },
32
+ "engines": {
33
+ "dsh": ">=0.2.1-rc.1 <0.2.2-0"
31
34
  }
32
35
  }