@kuralle-agents/fs 0.12.0 → 0.13.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.
package/README.md CHANGED
@@ -188,15 +188,15 @@ fs and shell tools are **non-replayed** (`replay: false`): they always execute f
188
188
  ## Examples
189
189
 
190
190
  ```bash
191
- bun packages/kuralle-fs/examples/kb-agent.ts
192
- bun packages/kuralle-fs/examples/skills-on-fs.ts # deterministic, no key
193
- KURALLE_EXAMPLE_PROVIDER=openai bun packages/kuralle-fs/examples/composite-workspace.ts
194
- KURALLE_EXAMPLE_PROVIDER=openai bun packages/kuralle-fs/examples/workspace-skills-shell.ts # live: model uses bash + a fs skill
195
- KURALLE_EXAMPLE_PROVIDER=openai bun packages/kuralle-fs/examples/okf-knowledge-agent.ts # live: agent navigates an OKF bundle
196
- KURALLE_EXAMPLE_PROVIDER=openai bun packages/kuralle-fs/examples/okf-benchmark.ts # benchmark: progressive vs whole-dump
197
- KURALLE_EXAMPLE_PROVIDER=openai bun packages/kuralle-fs/examples/skill-latency-spike.ts # benchmark: with vs without skills
198
- bun packages/kuralle-fs/examples/persistent-workspace.ts # SqlFileSystem: file+skill survive a restart
199
- KURALLE_EXAMPLE_PROVIDER=openai bun packages/kuralle-fs/examples/persistent-workspace-live.ts # live: model writes, fresh runtime reads back
191
+ bun packages/fs/examples/kb-agent.ts
192
+ bun packages/fs/examples/skills-on-fs.ts # deterministic, no key
193
+ KURALLE_EXAMPLE_PROVIDER=openai bun packages/fs/examples/composite-workspace.ts
194
+ KURALLE_EXAMPLE_PROVIDER=openai bun packages/fs/examples/workspace-skills-shell.ts # live: model uses bash + a fs skill
195
+ KURALLE_EXAMPLE_PROVIDER=openai bun packages/fs/examples/okf-knowledge-agent.ts # live: agent navigates an OKF bundle
196
+ KURALLE_EXAMPLE_PROVIDER=openai bun packages/fs/examples/okf-benchmark.ts # benchmark: progressive vs whole-dump
197
+ KURALLE_EXAMPLE_PROVIDER=openai bun packages/fs/examples/skill-latency-spike.ts # benchmark: with vs without skills
198
+ bun packages/fs/examples/persistent-workspace.ts # SqlFileSystem: file+skill survive a restart
199
+ KURALLE_EXAMPLE_PROVIDER=openai bun packages/fs/examples/persistent-workspace-live.ts # live: model writes, fresh runtime reads back
200
200
  ```
201
201
 
202
202
  ## License
@@ -2,7 +2,7 @@ import type { BlobStore, SqlBackend, SqlParam } from './types.js';
2
2
  import { SqlFileSystem } from './sql-fs.js';
3
3
  /** Minimal structural shape of a Cloudflare DO SqlStorage (no @cloudflare/workers-types dep). */
4
4
  export interface SqlStorageLike {
5
- exec(query: string, ...bindings: SqlParam[]): Iterable<Record<string, SqlParam>>;
5
+ exec(query: string, ...bindings: SqlParam[]): Iterable<Record<string, SqlParam | ArrayBuffer>>;
6
6
  databaseSize: number;
7
7
  }
8
8
  /** Minimal structural shape of a D1Database. */
package/package.json CHANGED
@@ -4,9 +4,9 @@
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/kuralle/kuralle-agents.git",
7
- "directory": "packages/kuralle-fs"
7
+ "directory": "packages/fs"
8
8
  },
9
- "version": "0.12.0",
9
+ "version": "0.13.0",
10
10
  "description": "Portable filesystem primitive for Kuralle agents",
11
11
  "type": "module",
12
12
  "sideEffects": false,
@@ -31,16 +31,22 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "just-bash": "^3.1.0",
35
- "@kuralle-agents/core": "0.12.0"
34
+ "@kuralle-agents/core": "0.13.0"
36
35
  },
37
36
  "peerDependencies": {
37
+ "just-bash": "^3.1.0",
38
38
  "zod": "^4.0.0"
39
39
  },
40
+ "peerDependenciesMeta": {
41
+ "just-bash": {
42
+ "optional": true
43
+ }
44
+ },
40
45
  "devDependencies": {
41
46
  "@cloudflare/vitest-pool-workers": "^0.12.7",
42
47
  "@types/node": "^22.5.0",
43
48
  "bun-types": "^1.3.0",
49
+ "just-bash": "^3.1.0",
44
50
  "typescript": "^5.3.0",
45
51
  "vitest": "^3.2.4",
46
52
  "zod": "^4.0.0"