Skip to content

Commit 5c489a9

Browse files
steipeteclaude
andcommitted
fix: Correct unit test failures and improve mocking
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent fd26c20 commit 5c489a9

13 files changed

+1279
-1128
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111
- Made Claude CLI execution timeout configurable via `CLAUDE_CLI_TIMEOUT_SECONDS` environment variable (defaults to 3600 seconds / 60 minutes).
12+
- Dynamically fetch and display Claude CLI version in the tool description. MCP server version is also displayed.
1213

1314
### Changed
1415
- Increased default Claude CLI execution timeout from 30 minutes to 60 minutes.
1516
- Removed comment from JSON example in `README.md`.
17+
- Tool description newlines are preserved, and backticks are correctly escaped for markdown.
18+
- Improved error message in tool description if Claude CLI version cannot be fetched.
19+
20+
### Removed
21+
- Removed the old mechanism of printing MCP server version on the first tool use.
1622

1723
## [1.10.13] - 2025-05-20
1824

package-lock.json

Lines changed: 36 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@
1212
"build": "tsc",
1313
"start": "node dist/server.js",
1414
"dev": "tsx src/server.ts",
15-
"test": "npm run build && vitest",
15+
"test": "npm run build && vitest run",
1616
"test:unit": "vitest run --config vitest.config.unit.ts",
1717
"test:e2e": "npm run build && vitest run --config vitest.config.e2e.ts",
18-
"test:e2e:local": "npm run build && vitest run --config vitest.config.e2e.ts",
1918
"test:coverage": "npm run build && vitest --coverage --config vitest.config.unit.ts",
2019
"test:watch": "vitest --watch"
2120
},
@@ -27,10 +26,12 @@
2726
"devDependencies": {
2827
"@eslint/js": "^9.26.0",
2928
"@types/node": "^22.15.20",
29+
"@types/which": "^3.0.4",
3030
"@vitest/coverage-v8": "^2.1.8",
3131
"tsx": "^4.19.4",
3232
"typescript": "^5.8.3",
33-
"vitest": "^2.1.8"
33+
"vitest": "^2.1.8",
34+
"which": "^5.0.0"
3435
},
3536
"repository": {
3637
"type": "git",

0 commit comments

Comments
 (0)