@agentxm/workspace-state 0.28.7 → 0.28.9

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.
@@ -103,7 +103,7 @@ const insertionIndexFor = (priorWasCanonical, path, properties) => {
103
103
  export const renderExistingSettings = (priorText, prior, target, canonicalContent, applyPatch = applyJsonPatchToText) => {
104
104
  const patch = JsonPatch.get(prior, target);
105
105
  if (patch.length === 0) {
106
- return { content: ensureSingleTrailingNewline(priorText) };
106
+ return { content: priorText };
107
107
  }
108
108
  const priorWasCanonical = hasCanonicalTopLevelOrder(prior);
109
109
  const edited = applyPatch(priorText, prior, patch, {
package/package.json CHANGED
@@ -1,59 +1,59 @@
1
1
  {
2
- "name": "@agentxm/workspace-state",
3
- "version": "0.28.7",
4
- "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.",
5
- "type": "module",
6
- "license": "FSL-1.1-MIT",
7
- "homepage": "https://axm.sh",
2
+ "author": "AgentXM <hello@agentxm.ai> (https://agentxm.ai)",
8
3
  "bugs": {
9
4
  "url": "https://github.com/agentxm/axm/issues"
10
5
  },
11
- "author": "AgentXM <hello@agentxm.ai> (https://agentxm.ai)",
12
- "repository": {
13
- "type": "git",
14
- "url": "https://github.com/agentxm/axm.git",
15
- "directory": "packages/workspace-state"
6
+ "dependencies": {
7
+ "@agentxm/extension-model": "^0.28.9",
8
+ "@agentxm/registry-protocol": "^0.28.9",
9
+ "effect": "4.0.0-rc.112",
10
+ "jsonc-parser": "^3.3.1",
11
+ "semver": "^7.8.5",
12
+ "yaml": "^2.9.0"
13
+ },
14
+ "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.",
15
+ "devDependencies": {
16
+ "@effect/platform-node": "4.0.0-rc.112",
17
+ "@effect/vitest": "4.0.0-rc.112",
18
+ "@types/semver": "^7.7.1",
19
+ "@typescript/native": "npm:typescript@^7.0.2",
20
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
21
+ "vitest": "^4.1.10"
22
+ },
23
+ "engines": {
24
+ "node": ">=22.19.0"
16
25
  },
17
- "sideEffects": false,
18
26
  "exports": {
19
27
  ".": {
20
- "types": "./dist/src/index.d.ts",
21
28
  "axm-source": "./src/index.ts",
22
- "default": "./dist/src/index.js"
29
+ "default": "./dist/src/index.js",
30
+ "types": "./dist/src/index.d.ts"
23
31
  },
24
32
  "./testing": {
25
- "types": "./dist/src/testing.d.ts",
26
33
  "axm-source": "./src/testing.ts",
27
- "default": "./dist/src/testing.js"
34
+ "default": "./dist/src/testing.js",
35
+ "types": "./dist/src/testing.d.ts"
28
36
  }
29
37
  },
30
38
  "files": [
31
39
  "dist/src/",
32
40
  "!**/*.map"
33
41
  ],
34
- "publishConfig": {
35
- "access": "public"
36
- },
37
- "engines": {
38
- "node": ">=22.19.0"
39
- },
42
+ "homepage": "https://axm.sh",
43
+ "license": "FSL-1.1-MIT",
44
+ "name": "@agentxm/workspace-state",
40
45
  "nx": {
41
46
  "includedScripts": []
42
47
  },
43
- "dependencies": {
44
- "effect": "4.0.0-rc.112",
45
- "jsonc-parser": "^3.3.1",
46
- "semver": "^7.8.5",
47
- "yaml": "^2.9.0",
48
- "@agentxm/extension-model": "^0.28.7",
49
- "@agentxm/registry-protocol": "^0.28.7"
48
+ "publishConfig": {
49
+ "access": "public"
50
50
  },
51
- "devDependencies": {
52
- "@effect/platform-node": "4.0.0-rc.112",
53
- "@effect/vitest": "4.0.0-rc.112",
54
- "@types/semver": "^7.5.8",
55
- "@typescript/native": "npm:typescript@^7.0.2",
56
- "typescript": "npm:@typescript/typescript6@^6.0.2",
57
- "vitest": "^4.1.10"
58
- }
59
- }
51
+ "repository": {
52
+ "directory": "packages/workspace-state",
53
+ "type": "git",
54
+ "url": "https://github.com/agentxm/axm.git"
55
+ },
56
+ "sideEffects": false,
57
+ "type": "module",
58
+ "version": "0.28.9"
59
+ }