@agentxm/workspace-state 0.29.0 → 0.29.2

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.
@@ -8,7 +8,7 @@ import { ACQUIRED_EXTENSIONS_DIR, AXM_DIR_NAME, LOCK_FILENAME, USER_WORKSPACE_DI
8
8
  import { makeAbsolutePath } from "@agentxm/extension-model/unstable/path-types";
9
9
  import { SETTINGS_FILENAME } from "@agentxm/extension-model/unstable/workspace-files";
10
10
  export { AXM_DIR_NAME, USER_WORKSPACE_DIRECTORY } from "./constants.js";
11
- const axmUserHomeConfig = Config.option(Config.string("AXM_USER_HOME"));
11
+ const axmUserHomeConfig = Config.option(Config.String("AXM_USER_HOME"));
12
12
  export const resolveUserHomePure = (configuredHome) => configuredHome ?? os.homedir();
13
13
  export const resolveUserAxmHomePure = (pathJoin, homeDir) => pathJoin(homeDir, AXM_DIR_NAME);
14
14
  export const resolveUserWorkspaceRootPure = (pathJoin, homeDir) => pathJoin(resolveUserAxmHomePure(pathJoin, homeDir), USER_WORKSPACE_DIRECTORY);
@@ -27,6 +27,7 @@
27
27
  * composes the builder output with the real (Phase 9) Live layer; in
28
28
  * Phase 5 it falls back to a `Layer.fail` placeholder.
29
29
  */
30
+ import * as ByteSize from "effect/ByteSize";
30
31
  import * as Data from "effect/Data";
31
32
  import * as Effect from "effect/Effect";
32
33
  import * as FileSystem from "effect/FileSystem";
@@ -207,7 +208,7 @@ const makeInMemoryFs = (files) => {
207
208
  uid: Option.none(),
208
209
  gid: Option.none(),
209
210
  rdev: Option.none(),
210
- size: FileSystem.Size(0),
211
+ size: ByteSize.bytes(0),
211
212
  blksize: Option.none(),
212
213
  blocks: Option.none(),
213
214
  });
@@ -225,7 +226,7 @@ const makeInMemoryFs = (files) => {
225
226
  uid: Option.none(),
226
227
  gid: Option.none(),
227
228
  rdev: Option.none(),
228
- size: FileSystem.Size(0),
229
+ size: ByteSize.bytes(0),
229
230
  blksize: Option.none(),
230
231
  blocks: Option.none(),
231
232
  });
package/package.json CHANGED
@@ -4,25 +4,26 @@
4
4
  "url": "https://github.com/agentxm/axm/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@agentxm/agent-integration": "^0.29.0",
8
- "@agentxm/extension-content": "^0.29.0",
9
- "@agentxm/extension-model": "^0.29.0",
10
- "@agentxm/registry-protocol": "^0.29.0",
11
- "@agentxm/workspace-transactions": "^0.29.0",
12
- "effect": "4.0.0-rc.112",
7
+ "@agentxm/agent-integration": "^0.29.2",
8
+ "@agentxm/extension-content": "^0.29.2",
9
+ "@agentxm/extension-model": "^0.29.2",
10
+ "@agentxm/registry-protocol": "^0.29.2",
11
+ "@agentxm/workspace-transactions": "^0.29.2",
12
+ "effect": "4.0.0-rc.115",
13
13
  "jsonc-parser": "^3.3.1",
14
14
  "semver": "^7.8.5",
15
15
  "yaml": "^2.9.0"
16
16
  },
17
17
  "description": "AXM workspace state kernel: settings, lockfile, read model, and desired-state vocabulary for the axm CLI. Unstable and unsupported — use the axm.sh CLI.",
18
18
  "devDependencies": {
19
- "@agentxm/specification-metadata": "^0.29.0",
20
- "@effect/platform-node": "4.0.0-rc.112",
21
- "@effect/vitest": "4.0.0-rc.112",
19
+ "@agentxm/specification-metadata": "^0.29.2",
20
+ "@effect/platform-node": "4.0.0-rc.115",
21
+ "@effect/vitest": "4.0.0-rc.115",
22
+ "@fast-check/vitest": "^0.5.0",
22
23
  "@types/semver": "^7.7.1",
23
24
  "@typescript/native": "npm:typescript@^7.0.2",
24
25
  "typescript": "npm:@typescript/typescript6@^6.0.2",
25
- "vitest": "^4.1.10"
26
+ "vitest": "^5.0.0"
26
27
  },
27
28
  "engines": {
28
29
  "node": ">=22.19.0"
@@ -64,5 +65,5 @@
64
65
  },
65
66
  "sideEffects": false,
66
67
  "type": "module",
67
- "version": "0.29.0"
68
+ "version": "0.29.2"
68
69
  }