@lmzhen/dsh-evolution-state 0.3.19 → 0.3.21

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.
@@ -4,12 +4,12 @@
4
4
  * The service owns no medium and performs no IO. It resolves the mounted
5
5
  * provider from `ctx.evolutionStateStorage` (see evolution-state-json and
6
6
  * evolution-state-domain); `provider` config may pin one by name.
7
- * @module @deepseek-ai/dsh-evolution-state
7
+ * @module @lmzhen/dsh-evolution-state
8
8
  */
9
9
  import { Context, Service } from '@deepseek-ai/cordis';
10
10
  import type Schema from '@deepseek-ai/schemastery';
11
- import type { CuratorStateRecord, PendingRecord, PendingStatus, ReviewStateRecord } from '@deepseek-ai/dsh-evolution-state-storage';
12
- export type { CuratorStateRecord, EvolutionStateStorage, PendingRecord, PendingStatus, ReviewStateRecord, } from '@deepseek-ai/dsh-evolution-state-storage';
11
+ import type { CuratorStateRecord, PendingRecord, PendingStatus, ReviewStateRecord } from '@lmzhen/dsh-evolution-state-storage';
12
+ export type { CuratorStateRecord, EvolutionStateStorage, PendingRecord, PendingStatus, ReviewStateRecord, } from '@lmzhen/dsh-evolution-state-storage';
13
13
  declare module '@deepseek-ai/cordis' {
14
14
  interface Context {
15
15
  evolutionState: EvolutionState;
@@ -34,7 +34,7 @@ export declare class EvolutionState extends Service {
34
34
  transactCuratorState(task: (current: CuratorStateRecord | null) => CuratorStateRecord | null): Promise<void>;
35
35
  listPending(status?: PendingStatus): Promise<PendingRecord[]>;
36
36
  savePending(record: PendingRecord): Promise<void>;
37
- tryResolvePending(id: string, status: 'approved' | 'rejected'): Promise<import("@deepseek-ai/dsh-evolution-state-storage").PendingResolution>;
37
+ tryResolvePending(id: string, status: 'approved' | 'rejected'): Promise<import("@lmzhen/dsh-evolution-state-storage").PendingResolution>;
38
38
  claimPending(id: string, claimId: string): Promise<PendingRecord | null>;
39
39
  releasePendingClaim(id: string, claimId: string): Promise<void>;
40
40
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-state",
3
3
  "description": "Durable evolution state consumer over pluggable storage providers (community build)",
4
- "version": "0.3.19",
4
+ "version": "0.3.21",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -25,10 +25,8 @@
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "files": [
28
- "lib/index.js",
29
- "lib/invariant.js",
30
- "lib/types/**/*.d.ts",
31
- "lib/types/invariant.d.ts"
28
+ "lib/*.js",
29
+ "lib/types/**/*.d.ts"
32
30
  ],
33
31
  "license": "MIT",
34
32
  "dependencies": {
@@ -37,17 +35,15 @@
37
35
  "peerDependencies": {
38
36
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
39
37
  "@deepseek-ai/cordis": "^4.0.1",
40
- "@deepseek-ai/dsh-storage-domain": "^0.1.1-rc.2",
41
- "@lmzhen/dsh-evolution-state-storage": "^0.3.19",
42
- "@lmzhen/dsh-evolution-state-domain": "^0.3.19"
38
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.21"
43
39
  },
44
40
  "devDependencies": {
45
41
  "@deepseek-ai/dsh-invariants": "^0.1.1-rc.2",
46
42
  "@deepseek-ai/dsh-storage-domain": "^0.1.1-rc.2",
47
- "@lmzhen/dsh-evolution-state-storage": "^0.3.19",
48
- "@lmzhen/dsh-evolution-state-domain": "^0.3.19",
49
- "@lmzhen/dsh-evolution-io": "^0.3.19",
50
- "@lmzhen/dsh-evolution-io-node": "^0.3.19",
51
- "@lmzhen/dsh-evolution-state-json": "^0.3.19"
43
+ "@lmzhen/dsh-evolution-state-storage": "^0.3.21",
44
+ "@lmzhen/dsh-evolution-state-domain": "^0.3.21",
45
+ "@lmzhen/dsh-evolution-io": "^0.3.21",
46
+ "@lmzhen/dsh-evolution-io-node": "^0.3.21",
47
+ "@lmzhen/dsh-evolution-state-json": "^0.3.21"
52
48
  }
53
49
  }