From 6efca47b2b898839dcb7ba8ea112a96c509a5f50 Mon Sep 17 00:00:00 2001 From: Kazuki Yamada Date: Wed, 9 Jul 2025 00:12:18 +0900 Subject: [PATCH 1/3] chore(deps): switch to tsgo for type checking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace tsc with tsgo for faster TypeScript type checking. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- package-lock.json | 134 ++++++++++++++++++++++++++++++++++++++++++++++ package.json | 5 +- 2 files changed, 137 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index aaff3686c..796addbe4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "@modelcontextprotocol/sdk": "^1.15.0", "@secretlint/core": "^9.3.1", "@secretlint/secretlint-rule-preset-recommend": "^9.3.1", + "@typescript/native-preview": "^7.0.0-dev.20250708.1", "clipboardy": "^4.0.0", "commander": "^14.0.0", "fast-xml-parser": "^5.2.0", @@ -1659,6 +1660,139 @@ "integrity": "sha512-YwcQqIGy90zEHrReYrMTpZfq003Um77WayeE8UwJTHvaM9g9XR9N7GMVSnjRhhDzQYVX375JnB5P6q5kAg221g==", "dev": true }, + "node_modules/@typescript/native-preview": { + "version": "7.0.0-dev.20250708.1", + "resolved": "https://registry.npmjs.org/@typescript/native-preview/-/native-preview-7.0.0-dev.20250708.1.tgz", + "integrity": "sha512-DtzOqUrg7S5fAZ2/SFa2YnOqLu+WeOaKkpg2xQEkROHugnGFWVrTIHLb4abKpDELXASb97vFhFDZbrjcn3QLyw==", + "license": "Apache-2.0", + "bin": { + "tsgo": "bin/tsgo.js" + }, + "engines": { + "node": ">=20.6.0" + }, + "optionalDependencies": { + "@typescript/native-preview-darwin-arm64": "7.0.0-dev.20250708.1", + "@typescript/native-preview-darwin-x64": "7.0.0-dev.20250708.1", + "@typescript/native-preview-linux-arm": "7.0.0-dev.20250708.1", + "@typescript/native-preview-linux-arm64": "7.0.0-dev.20250708.1", + "@typescript/native-preview-linux-x64": "7.0.0-dev.20250708.1", + "@typescript/native-preview-win32-arm64": "7.0.0-dev.20250708.1", + "@typescript/native-preview-win32-x64": "7.0.0-dev.20250708.1" + } + }, + "node_modules/@typescript/native-preview-darwin-arm64": { + "version": "7.0.0-dev.20250708.1", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-arm64/-/native-preview-darwin-arm64-7.0.0-dev.20250708.1.tgz", + "integrity": "sha512-GCjHpuLsxMDO6eCGFfK8p5HrUGhZf9mD03Nd8gqfUVOuzu85DMbYS4dN+UbsprZKEktpVAJo+4ngft/Ri8bbFw==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20.6.0" + } + }, + "node_modules/@typescript/native-preview-darwin-x64": { + "version": "7.0.0-dev.20250708.1", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-darwin-x64/-/native-preview-darwin-x64-7.0.0-dev.20250708.1.tgz", + "integrity": "sha512-WFXh84S5vUWKhG9nok35cICVM2VbQnQ2qetb09B/i7jVx7D8dz/7eiSqie/y4/g/TfQ3Gbc1r1vHSfpCWvVgjg==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=20.6.0" + } + }, + "node_modules/@typescript/native-preview-linux-arm": { + "version": "7.0.0-dev.20250708.1", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm/-/native-preview-linux-arm-7.0.0-dev.20250708.1.tgz", + "integrity": "sha512-E5Pd1Xlzi8tI4oSC+KuXu1sAgHIApp0lgvBqeP0h9tDbyz3+cre95zt0yhy+W0C3YCV3KtoiVCbS6G6+TqzjbA==", + "cpu": [ + "arm" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.6.0" + } + }, + "node_modules/@typescript/native-preview-linux-arm64": { + "version": "7.0.0-dev.20250708.1", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-arm64/-/native-preview-linux-arm64-7.0.0-dev.20250708.1.tgz", + "integrity": "sha512-1jdWz50O/Y+jJZKAIejshlD4i/tJeY2ZqAFWlvhZXqBFjJTjjyZuLIbOoy7aRX2rQaRF90FFukiA4ICKFs+DEA==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.6.0" + } + }, + "node_modules/@typescript/native-preview-linux-x64": { + "version": "7.0.0-dev.20250708.1", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-linux-x64/-/native-preview-linux-x64-7.0.0-dev.20250708.1.tgz", + "integrity": "sha512-9Uoktwwa9XSsbsIil+oxU1qiz+6uown82V8QLGI1CCbAjJ7WJEdYJ3VbL5gttMtU++pfY4UFBWVp2Tm61k5Q0A==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=20.6.0" + } + }, + "node_modules/@typescript/native-preview-win32-arm64": { + "version": "7.0.0-dev.20250708.1", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-arm64/-/native-preview-win32-arm64-7.0.0-dev.20250708.1.tgz", + "integrity": "sha512-Tqo+1RK/Uz7xZlCQ+XJ+1ny2Wo8IaMBdJnakZoReIeAYN+Cylo31Vyg8kAxybKpI63joMbRGfAPfuyvCfIXmpg==", + "cpu": [ + "arm64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=20.6.0" + } + }, + "node_modules/@typescript/native-preview-win32-x64": { + "version": "7.0.0-dev.20250708.1", + "resolved": "https://registry.npmjs.org/@typescript/native-preview-win32-x64/-/native-preview-win32-x64-7.0.0-dev.20250708.1.tgz", + "integrity": "sha512-72wD8/AbzC8pA5phiv8X543RIcAlsfrterDaPC8m2598/8yaPl3uL6FYrKLOTJSTPoOUbfVEJczm9e9UYFd8Nw==", + "cpu": [ + "x64" + ], + "license": "Apache-2.0", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=20.6.0" + } + }, "node_modules/@vitest/coverage-v8": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/@vitest/coverage-v8/-/coverage-v8-3.1.1.tgz", diff --git a/package.json b/package.json index 75715302d..d2588eca1 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "build-bun": "bun run build", "lint": "node --run lint-biome && node --run lint-ts && node --run lint-secretlint", "lint-biome": "biome check --write", - "lint-ts": "tsc --noEmit", + "lint-ts": "tsgo --noEmit", "lint-secretlint": "secretlint \"**/*\" --secretlintignore .gitignore", "test": "vitest", "test-coverage": "vitest run --coverage", @@ -77,6 +77,7 @@ "@modelcontextprotocol/sdk": "^1.15.0", "@secretlint/core": "^9.3.1", "@secretlint/secretlint-rule-preset-recommend": "^9.3.1", + "@typescript/native-preview": "^7.0.0-dev.20250708.1", "clipboardy": "^4.0.0", "commander": "^14.0.0", "fast-xml-parser": "^5.2.0", @@ -91,9 +92,9 @@ "log-update": "^6.1.0", "minimatch": "^10.0.1", "picocolors": "^1.1.1", - "tinypool": "^1.1.1", "strip-comments": "^2.0.1", "tiktoken": "^1.0.20", + "tinypool": "^1.1.1", "tree-sitter-wasms": "^0.1.12", "web-tree-sitter": "^0.24.7", "zod": "^3.24.3" From e2e15fcab1476ad74506a55bb70a398ce4f0eb13 Mon Sep 17 00:00:00 2001 From: Kazuki Yamada Date: Wed, 9 Jul 2025 00:19:26 +0900 Subject: [PATCH 2/3] docs(config): improve rules enforcement in CLAUDE.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restructure and strengthen the rules section to ensure AI assistants read the project rules before starting work. Added clearer formatting and more emphatic language to prevent rule violations. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- CLAUDE.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 4339a13f6..68f10a6fa 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,4 +2,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. -Please make sure to check the rules written in `.agents/rules/base.md` as they contain important project-specific guidelines and instructions. +# Rules +**IMPORTANT** +Before starting any work, you MUST first read and understand the rules in `.agents/rules/base.md`. +These rules contain critical project-specific guidelines and instructions that must be followed for all work in this repository. +Do NOT proceed with any work without reading these rules first. From 9aebabadf4ae87b2490892916faf96afe605478f Mon Sep 17 00:00:00 2001 From: Kazuki Yamada Date: Wed, 9 Jul 2025 00:29:37 +0900 Subject: [PATCH 3/3] chore(deps): move tsgo to devDependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move @typescript/native-preview from dependencies to devDependencies as it's only needed for type checking during development. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- package-lock.json | 10 +++++++++- package.json | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 796addbe4..af0ae9cc0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,6 @@ "@modelcontextprotocol/sdk": "^1.15.0", "@secretlint/core": "^9.3.1", "@secretlint/secretlint-rule-preset-recommend": "^9.3.1", - "@typescript/native-preview": "^7.0.0-dev.20250708.1", "clipboardy": "^4.0.0", "commander": "^14.0.0", "fast-xml-parser": "^5.2.0", @@ -43,6 +42,7 @@ "@secretlint/types": "^9.3.4", "@types/node": "^22.14.1", "@types/strip-comments": "^2.0.4", + "@typescript/native-preview": "^7.0.0-dev.20250708.1", "@vitest/coverage-v8": "^3.1.1", "git-up": "^8.1.1", "rimraf": "^6.0.1", @@ -1664,6 +1664,7 @@ "version": "7.0.0-dev.20250708.1", "resolved": "https://registry.npmjs.org/@typescript/native-preview/-/native-preview-7.0.0-dev.20250708.1.tgz", "integrity": "sha512-DtzOqUrg7S5fAZ2/SFa2YnOqLu+WeOaKkpg2xQEkROHugnGFWVrTIHLb4abKpDELXASb97vFhFDZbrjcn3QLyw==", + "dev": true, "license": "Apache-2.0", "bin": { "tsgo": "bin/tsgo.js" @@ -1688,6 +1689,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -1704,6 +1706,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -1720,6 +1723,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -1736,6 +1740,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -1752,6 +1757,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -1768,6 +1774,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ @@ -1784,6 +1791,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "Apache-2.0", "optional": true, "os": [ diff --git a/package.json b/package.json index d2588eca1..57afb9e0e 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,6 @@ "@modelcontextprotocol/sdk": "^1.15.0", "@secretlint/core": "^9.3.1", "@secretlint/secretlint-rule-preset-recommend": "^9.3.1", - "@typescript/native-preview": "^7.0.0-dev.20250708.1", "clipboardy": "^4.0.0", "commander": "^14.0.0", "fast-xml-parser": "^5.2.0", @@ -104,6 +103,7 @@ "@secretlint/types": "^9.3.4", "@types/node": "^22.14.1", "@types/strip-comments": "^2.0.4", + "@typescript/native-preview": "^7.0.0-dev.20250708.1", "@vitest/coverage-v8": "^3.1.1", "git-up": "^8.1.1", "rimraf": "^6.0.1",