Skip to content

Commit 2aad26e

Browse files
chore(release): 2.0.0, consolidate CHANGELOG, clean biome warnings
Version bump to 2.0.0 to reflect the breaking tool rename from the preceding refactor. The [Unreleased] entry is promoted to [2.0.0]. docs/CHANGELOG.md was a verbatim duplicate of the root CHANGELOG.md with no references pointing at it. Remove it so there is one source of truth. scripts/test-with-claude-code.ts: clean five long-standing biome warnings so biome check passes with zero findings: - use node: import protocol for fs/promises and path - drop unused private results field and TestResult interface (dead) - underscore-prefix the unused action parameter in generateParams - switch the non-null assertion on skippedByTool.get(...) to ?. - biome-ignore the two template-literal placeholders in generated output strings (they are intentional — the script emits TS example code into a generated markdown doc) Verified: biome check clean, tsc --noEmit clean, vitest 27 passed, knip clean, tsc build clean. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 88188ed commit 2aad26e

4 files changed

Lines changed: 9 additions & 129 deletions

File tree

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [2.0.0] - 2026-04-11
11+
1012
### Changed
1113
- **BREAKING: drop `dynadot_` prefix from composite tool names.** Rename
1214
`dynadot_domain``domain`, `dynadot_domain_settings``domain_settings`,

docs/CHANGELOG.md

Lines changed: 0 additions & 114 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "domain-mcp",
3-
"version": "1.1.1",
3+
"version": "2.0.0",
44
"description": "MCP server for domain management via Claude, Cursor, and any Model Context Protocol client. 108 Dynadot API actions across 10 generic tools: domain search, registration, renewal, DNS, WHOIS, nameservers, transfers, and aftermarket.",
55
"type": "module",
66
"main": "dist/index.js",

scripts/test-with-claude-code.ts

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
* No external API calls - uses your Claude Code subscription.
88
*/
99

10-
import * as fs from 'fs/promises';
11-
import * as path from 'path';
10+
import * as fs from 'node:fs/promises';
11+
import * as path from 'node:path';
1212
import { compositeTools } from '../src/schemas/index.js';
1313

1414
interface TestCase {
@@ -20,15 +20,6 @@ interface TestCase {
2020
skipReason?: string;
2121
}
2222

23-
interface TestResult {
24-
tool: string;
25-
action: string;
26-
status: 'pass' | 'fail' | 'skip';
27-
error?: string;
28-
duration?: number;
29-
response?: unknown;
30-
}
31-
3223
// Actions that require write operations (skip in read-only mode)
3324
const WRITE_ACTIONS = new Set([
3425
'register',
@@ -96,7 +87,6 @@ const TEST_DATA = {
9687

9788
class ClaudeCodeToolTester {
9889
private testCases: TestCase[] = [];
99-
private results: TestResult[] = [];
10090

10191
/**
10292
* Discover all test cases from schema
@@ -139,7 +129,7 @@ class ClaudeCodeToolTester {
139129
* Generate sample parameters for an action
140130
*/
141131
private generateParams(
142-
action: string,
132+
_action: string,
143133
schema?: Record<string, unknown>,
144134
): Record<string, unknown> | undefined {
145135
if (!schema || Object.keys(schema).length === 0) {
@@ -334,8 +324,10 @@ console.log(\`TEST_FOLDER_ID=\${folderId}\`);
334324
md += ']);\n';
335325
md += 'results.forEach((r, i) => {\n';
336326
md += ' if (r.status === "fulfilled") {\n';
327+
// biome-ignore lint/suspicious/noTemplateCurlyInString: emitting a template-literal placeholder into generated TS code
337328
md += ' console.log(`✅ Test ${i + 1}: PASS`);\n';
338329
md += ' } else {\n';
330+
// biome-ignore lint/suspicious/noTemplateCurlyInString: emitting a template-literal placeholder into generated TS code
339331
md += ' console.log(`❌ Test ${i + 1}: FAIL - ${r.reason}`);\n';
340332
md += ' }\n';
341333
md += '});\n';
@@ -392,7 +384,7 @@ Write operations skipped in read-only mode:
392384
if (!skippedByTool.has(tc.tool)) {
393385
skippedByTool.set(tc.tool, []);
394386
}
395-
skippedByTool.get(tc.tool)!.push(tc);
387+
skippedByTool.get(tc.tool)?.push(tc);
396388
});
397389

398390
for (const [tool, cases] of skippedByTool) {

0 commit comments

Comments
 (0)