ast-mcp-server 0.14.0 → 0.14.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.
package/CHANGELOG.md CHANGED
@@ -6,7 +6,30 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
- ## [0.14.0] — not yet published (2026-10-25)
9
+ ## [0.14.2] — not yet published (2026-10-28)
10
+
11
+ ### Security
12
+
13
+ - Updated `qs` to the patched `6.16.1` (GHSA-6pq8-jhm2-2vcw, `qs.stringify` with `arrayFormat: 'comma'` could throw an uncaught `TypeError`). `qs` reaches the server through `express` and `body-parser`, and the pinned resolution moved from `6.16.0`.
14
+
15
+ ### Changed
16
+
17
+ - Updated runtime dependencies: `ts-morph` from `24.0.0` to `28.0.0`, `@toon-format/toon` from `4.1.0` to `4.4.0`, and `@modelcontextprotocol/sdk` from `1.32.1` to `1.32.2` in the lockfile.
18
+ - Updated development tooling: Vitest 5 (now with an explicit `vite` development dependency), `@types/node` 26, `gpt-tokenizer` 4, and patch updates to ESLint, Prettier, `typescript-eslint` and `yaml`. `process.disconnect` is now called optionally in the compiler worker entry to match the stricter Node 26 typings.
19
+ - Updated reviewed GitHub Actions pins (`actions/setup-node` 7.1.0, `actions/upload-artifact` 7.0.2, `actions/download-artifact` 8.0.2, `github/codeql-action` 4.39.1), including the release workflow.
20
+
21
+ ## [0.14.1] — published to `latest` and `next`, registry verified (2026-10-26)
22
+
23
+ ### Security
24
+
25
+ - Deduplicated `zod` in the lockfile to the patched `4.6.7` (GHSA-mrhx-c7xc-m3w5). The `@modelcontextprotocol/sdk` range `^3.25 || ^4.0` had kept a second, vulnerable `4.4.3` copy beside the direct dependency; `yarn audit` did not report it. No runtime code or advertised tool contract changes.
26
+
27
+ ### Release status
28
+
29
+ - npm published immutable `0.14.1` bytes with integrity `sha512-Z9a0rXsYYf+Eef8XCoA6qrId1puqiq3nFjsb5FP165OsvRr666MdL9N66/RmHXb/Uu7ynoVZ9X2ZqGSHED4H5A==`. Public-registry verification passed; `latest` and `next` both resolve to `0.14.1`; and npm `gitHead`, the annotated `v0.14.1` tag, and the GitHub Release target exact commit `f37f398b083135f0f65a265c8aca26d9edc5c74d`.
30
+ - Publish run `40377206195` reported its readback as ambiguous because of registry lag although npm accepted the version (it appeared about 40 seconds later); verification `40387042272` and promotion `40387852805` are green and authoritative.
31
+
32
+ ## [0.14.0] — published to `latest` and `next`, registry verified (2026-10-25)
10
33
 
11
34
  ### Changed
12
35
 
@@ -16,6 +39,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
16
39
 
17
40
  - Upgraded `@modelcontextprotocol/sdk` to `^1.32.1` (GHSA-6qxp-vccf-f47h), `body-parser` to 2.4.0, and `zod` to 4.6.7 for the memory-exhaustion advisory, and raised the `hono` and `fast-uri` resolutions to 4.13.13 and 3.1.9. `yarn audit` reports no suggestions.
18
41
 
42
+ ### Release status
43
+
44
+ - npm published immutable `0.14.0` bytes with integrity `sha512-+g1GpmB9ZMd4tB/z7o75AZ4LdnqEn+MQDiRh0LDBV2j4xb9iKB8XMoiME47tW0u2HgfxWsKtQBChGxfnrz3dVw==`. Public-registry verification passed; `latest` and `next` both resolve to `0.14.0`; and npm `gitHead`, the annotated `v0.14.0` tag, and the GitHub Release target exact commit `f6e64751398f69eb3f0f1abc808f4221f7d2bc52`.
45
+ - Publish run `40232707904` reported its readback as ambiguous because of registry lag although npm had accepted the version; verification `40249874010` and promotion `40255528749` are green and authoritative.
46
+
19
47
  ## [0.13.1] — published to `latest` and `next`, registry verified (2026-09-01)
20
48
 
21
49
  ### Fixed
package/README.md CHANGED
@@ -353,7 +353,7 @@ For a local candidate, pack and install its tarball instead:
353
353
 
354
354
  ```bash
355
355
  yarn pack --out ast-mcp-server-%v.tgz
356
- dsh plugin --profile web add ./ast-mcp-server-0.14.0.tgz
356
+ dsh plugin --profile web add ./ast-mcp-server-0.14.2.tgz
357
357
  ```
358
358
 
359
359
  The first supported surface is **reads + prepare + preview**. Every apply path is
package/cordis.patch.yml CHANGED
@@ -3,7 +3,7 @@
3
3
  # Mounts the packaged `ast-mcp-server` stdio command through the official
4
4
  # `@deepseek-ai/dsh-mcp-client` bridge. Harness does not resolve MCP binaries
5
5
  # from PATH, so the entrypoint is resolved relative to the profile directory
6
- # (`baseUrl`), where `dsh plugin --profile <name> add ./ast-mcp-server-0.14.0.tgz`
6
+ # (`baseUrl`), where `dsh plugin --profile <name> add ./ast-mcp-server-0.14.2.tgz`
7
7
  # installs a locally packed package as a dependency.
8
8
  #
9
9
  # First-slice surface: reads + prepare + preview. Every apply path is denied
@@ -21,7 +21,7 @@ export function installPrivateControl(runtime, input) {
21
21
  else
22
22
  process.exit(1); }; setTimeout(force, (handle.shutdownGraceMs ?? 10_000) + 2_000).unref(); };
23
23
  const shutdown = (handle, trigger) => { if (trigger === "parent_exit")
24
- arm(handle); void handle.shutdown(trigger).finally(() => process.disconnect()); };
24
+ arm(handle); void handle.shutdown(trigger).finally(() => process.disconnect?.()); };
25
25
  process.on("message", (message) => { const decoded = decodeCompilerWorkerEnvelope(JSON.stringify(message)); if (!decoded.ok)
26
26
  return; if (decoded.value.type === "handshake") {
27
27
  generation = decoded.value.generation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ast-mcp-server",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "Structural code MCP server and batch CLI for compact TypeScript/JavaScript reads and hash-bound AST edits.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -63,7 +63,7 @@
63
63
  "fast-uri": "3.1.9",
64
64
  "hono": "4.13.13",
65
65
  "nanoid": "3.3.18",
66
- "qs": "6.16.0"
66
+ "qs": "6.16.1"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "tsc",
@@ -101,22 +101,23 @@
101
101
  },
102
102
  "dependencies": {
103
103
  "@modelcontextprotocol/sdk": "^1.32.1",
104
- "@toon-format/toon": "4.1.0",
104
+ "@toon-format/toon": "4.4.0",
105
105
  "diff": "^9.0.0",
106
106
  "jsonc-parser": "^3.3.1",
107
- "ts-morph": "24.0.0",
107
+ "ts-morph": "28.0.0",
108
108
  "zod": "^4.6.7"
109
109
  },
110
110
  "devDependencies": {
111
111
  "@eslint/js": "^10.0.1",
112
- "@types/node": "^22.5.0",
112
+ "@types/node": "^26.6.5",
113
113
  "eslint": "^10.8.0",
114
- "gpt-tokenizer": "3.4.0",
114
+ "gpt-tokenizer": "4.1.0",
115
115
  "prettier": "^3.9.6",
116
116
  "typescript": "^5.6.0",
117
117
  "typescript-eslint": "^8.65.0",
118
- "vitest": "^4.1.12",
118
+ "vite": "^8.3.4",
119
+ "vitest": "^5.0.5",
119
120
  "yaml": "^2.9.0"
120
121
  },
121
- "gitHead": "f6e64751398f69eb3f0f1abc808f4221f7d2bc52"
122
+ "gitHead": "425a967002178dde685cae1dcf0ec5fad533ff54"
122
123
  }