@clearideas/agent-runtime-store-local 0.6.0 → 0.6.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.
@@ -3,6 +3,11 @@ import type { WorkspaceEntry, WorkspaceLimits, WorkspaceStore } from "@clearidea
3
3
  export interface LocalDirectoryWorkspaceOptions {
4
4
  /** Host directory that becomes the workspace root. */
5
5
  root: string;
6
+ /**
7
+ * Explicitly allow a raw read-only directory bind. Defaults to never.
8
+ * auto exposes all directory entries and bypasses store size limits for programs.
9
+ */
10
+ attach?: "auto" | "never";
6
11
  /** Defaults to read. */
7
12
  mode?: WorkspaceMode;
8
13
  /** Glob allowlist over relative file paths. Defaults to every safe path. */
@@ -47,7 +47,7 @@ export class LocalDirectoryWorkspace {
47
47
  maxTotalBytes: positiveInteger(options.maxTotalBytes, DEFAULT_WORKSPACE_MAX_TOTAL_BYTES, "Workspace maxTotalBytes"),
48
48
  };
49
49
  this.#maxScanEntries = positiveInteger(options.maxScanEntries, DEFAULT_MAX_SCAN_ENTRIES, "Workspace maxScanEntries");
50
- if (this.#filter.isUnfiltered) {
50
+ if (options.attach === "auto" && this.#filter.isUnfiltered) {
51
51
  this.attachable = { kind: "local-directory", root: this.#root };
52
52
  }
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clearideas/agent-runtime-store-local",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "Memory, file, console, and JSONL adapters for Clear Ideas Agent Runtime.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Clear Ideas Incorporated",
@@ -36,8 +36,8 @@
36
36
  "postpack": "node ../../scripts/cleanup-package-license.mjs"
37
37
  },
38
38
  "dependencies": {
39
- "@clearideas/agent-runtime-contracts": "0.6.0",
40
- "@clearideas/agent-runtime-core": "0.6.0",
39
+ "@clearideas/agent-runtime-contracts": "0.6.1",
40
+ "@clearideas/agent-runtime-core": "0.6.1",
41
41
  "yaml": "^2.9.1"
42
42
  },
43
43
  "devDependencies": {