@lmzhen/dsh-evolution-io 0.3.18 → 0.3.20

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.
@@ -5,8 +5,8 @@
5
5
  import { Context, Service } from '@deepseek-ai/cordis';
6
6
  export interface EvolutionIo {
7
7
  readonly name: string;
8
- readText(path: string, signal?: AbortSignal): Promise<string | null>;
9
- writeText(path: string, content: string, signal?: AbortSignal): Promise<void>;
8
+ readText(path: string): Promise<string | null>;
9
+ writeText(path: string, content: string): Promise<void>;
10
10
  remove(path: string): Promise<void>;
11
11
  list(path: string): Promise<string[]>;
12
12
  exists(path: string): Promise<boolean>;
@@ -17,7 +17,7 @@ export interface EvolutionIo {
17
17
  * bytes, or `null` when unknown (unsupported backend, missing file, stat
18
18
  * failure). An implementation without this probe gets no read guard.
19
19
  */
20
- size?(path: string, signal?: AbortSignal): Promise<number | null>;
20
+ size?(path: string): Promise<number | null>;
21
21
  /**
22
22
  * Optional atomic read-modify-write (rc.50 P2-2): the read and the write run
23
23
  * inside a single cross-process lock so two processes sharing DSH_HOME
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-io",
3
3
  "description": "IO seam for evolution providers (community build)",
4
- "version": "0.3.18",
4
+ "version": "0.3.20",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },