tianshu-mcp 0.7.1 → 0.7.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.en.md CHANGED
@@ -8,6 +8,25 @@ Chinese version: [CHANGELOG.md](CHANGELOG.md)
8
8
 
9
9
  ---
10
10
 
11
+ ## [0.7.2] - 2026-09-28
12
+
13
+ ### Fixed
14
+
15
+ - **Cross-platform CI failure (every ubuntu / macOS leg)** (`test/unit/opendesign-discovery.test.ts`):
16
+ the new `DevToolsActivePort` candidate-path case injected only `APPDATA`, while production's
17
+ `devToolsActivePortPaths` **keys the base directory off the host platform** (win32 uses `APPDATA`,
18
+ other platforms use `HOME/Library/Application Support`) — so on ubuntu/macOS the base went down the
19
+ `HOME` branch and the assertion could never match. This is the **third** occurrence of the same
20
+ family (the earlier two were `discoverOpenDesign`'s candidate paths and the version read-back):
21
+ assertions coupled to the host platform, passing on only one class of machine.
22
+ Fix: the case now injects the platform-appropriate env and derives the matching expectation, sharing
23
+ the production source of truth.
24
+ Measured impact: CI #295/#296 and Release #44 all failed on this, so the **GitHub Release was never
25
+ created** (the npm package itself is unaffected).
26
+
27
+ > Note: the `0.7.1` npm package is published and its `dist` is correct; this release only fixes the
28
+ > test's cross-platform coupling so tag / Release / npm can converge on a single commit.
29
+
11
30
  ## [0.7.1] - 2026-09-28
12
31
 
13
32
  > This change moves the built-in agent `opendesign` (the Open Design desktop app, `driver=gui` /
package/CHANGELOG.md CHANGED
@@ -7,6 +7,22 @@
7
7
 
8
8
  ---
9
9
 
10
+ ## [0.7.2] - 2026-09-28
11
+
12
+ ### 修复
13
+
14
+ - **CI 跨平台红(ubuntu / macOS 全腿)**(`test/unit/opendesign-discovery.test.ts`):新增的
15
+ `DevToolsActivePort` 候选路径用例只注入了 `APPDATA`,而生产里 `devToolsActivePortPaths`
16
+ **按宿主平台取基址**(win32 用 `APPDATA`,其他平台用 `HOME/Library/Application Support`)——
17
+ 于是 ubuntu/macos 腿上路径基址走了 `HOME` 分支,断言必然不匹配。
18
+ 这是**同一族**缺陷的第三次出现(前两次在 `discoverOpenDesign` 的候选路径与版本回读上),
19
+ 均属「断言与宿主平台耦合,只在某一类机器上通过」。
20
+ 修法:用例按宿主平台注入对应 env 并算出对应期望值,与生产同源。
21
+ 实测影响:CI #295/#296 与 Release #44 均因此失败,**GitHub Release 未能创建**(npm 包本身不受影响)。
22
+
23
+ > 说明:`0.7.1` 的 npm 包已发布且 `dist` 内容正确,本版仅修测试的跨平台耦合,
24
+ > 使 tag / Release 与 npm 三者可在同一 commit 上收敛。
25
+
10
26
  ## [0.7.1] - 2026-09-28
11
27
 
12
28
  > 本次变更把内置 agent `opendesign`(Open Design 桌面端,`driver=gui` / `adapter=opendesign-gui`)
@@ -4,4 +4,4 @@
4
4
  * 本文件由 scripts/sync-version.mjs 在每次 build 前重新生成。
5
5
  */
6
6
  // generated: 勿手改 —— 运行 `npm run build` 自动同步
7
- export const MCP_SERVER_VERSION = "0.7.1";
7
+ export const MCP_SERVER_VERSION = "0.7.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tianshu-mcp",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "天枢 × AI-Agent 编排 MCP server —— 驱动 Codex、TraeWork、ZCode、Kimi Code、Qoder CN 与 Open Design 完成项目开发、验收、失败返修与再验收闭环。",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",