Replace the original strip-comments package with @repomix/strip-comments,
which provides enhanced support for:
- Go directives (//go:build, //go:generate, etc.)
- C++ document comments (///)
- Python docstrings (""" and ''') and hash comments
This removes the custom GoManipulator, PythonManipulator, and CppManipulator
implementations in favor of the improved library support.
Note: preserveNewlines option keeps newlines for line number preservation,
so docstrings are replaced with empty lines rather than being fully removed.
MCP SDK 1.24.0 now fully supports Zod v4, allowing us to remove the
compatibility workarounds that were introduced in #923.
Changes:
- Update @modelcontextprotocol/sdk from ^1.22.0 to ^1.24.0
- Remove @ts-nocheck comments from all MCP tool and prompt files
- Change imports from 'zod/v3' to 'zod'
- Remove .shape as any casts and biome-ignore comments
- Pass Zod schemas directly to registerTool() instead of .shape
- Remove src/mcp/tsconfig.json (no longer needed without Zod v3)
Add GitHub Actions workflow for npm publishing using OIDC-based trusted
publishing instead of long-lived npm tokens. This improves security by
using short-lived, cryptographically-signed tokens.
The workflow includes:
- Manual trigger with dry-run option for testing
- Full CI checks (lint, test, build) before publishing
- npm audit signatures verification
- Provenance attestation for supply chain security
Update tree-sitter-wasms package to version 0.1.15 to get latest language
grammar updates. Updated C# query patterns to match the new tree-sitter-c_sharp
grammar structure based on official tags.scm.
Changes:
- Update @repomix/tree-sitter-wasms from 0.1.14 to 0.1.15
- Fix C# query patterns for compatibility with new grammar:
- Remove field specifiers from base_list patterns
- Add type_parameter_constraints_clause pattern
- Add type_parameter_constraint pattern (correct node name)
- Restore type: field for object_creation_expression and variable_declaration
- Add comprehensive C# test cases for inheritance, interfaces, generics, etc.
All patterns now follow the official tree-sitter-c-sharp tags.scm specification.
- Upgrade globby from v15 to v16
- Use gitignore option to respect parent directory .gitignore files
- This matches Git's standard behavior where parent .gitignore patterns apply to subdirectories
- Move .gitignore handling from ignoreFiles to gitignore option
- Update tests to reflect the new behavior
This change improves compatibility with Git and provides more accurate file filtering when running Repomix in subdirectories.
This commit replaces the tree-sitter-wasms dependency with @repomix/tree-sitter-wasms v0.1.14, which contains only the tree-sitter WASM files needed for Repomix's supported languages.
The new package is specifically tailored to Repomix's requirements, providing a more focused set of language parsers without the full tree-sitter-wasms package.
Update tree-sitter-wasms to v0.1.13 which includes Dart support. Add
compression functionality for Dart files including:
- Import/export statements
- Class definitions
- Function declarations
- Comments (single-line and documentation)
The implementation extracts code structure while omitting implementation
details, making it easier to understand Dart codebases at a glance.
Add support for TypeScript configuration files (.ts, .mts, .cts) using jiti for better developer experience.
**Changes:**
- Install jiti dependency for TypeScript transpilation
- Update config file priority: TS > JS > JSON
- Add TypeScript config test fixtures
- Add integration tests for all TS config formats
- Update documentation (README and website) with TS examples
- Fix existing tests to account for new priority order
**Priority order:**
1. repomix.config.ts/mts/cts
2. repomix.config.js/mjs/cjs
3. repomix.config.json5
4. repomix.config.jsonc
5. repomix.config.json
**Benefits:**
- Full TypeScript type checking in config files
- Excellent IDE autocomplete and IntelliSense
- Compile-time error detection
- Dynamic configuration with type safety
Relates to #870
Update web-tree-sitter to the latest version (0.25.10) to benefit from bug fixes and improvements in WASM compilation, web bindings, and performance.
Key API changes adapted:
- Parser changed from namespace to class
- Query now instantiated with `new Query(language, source)` instead of `language.query(source)`
- SyntaxNode type renamed to Node
- Parser.parse() can now return null, added null check
- TreeCursor and Tree interface signatures updated
All tests passing (783/783) with no regressions.
This commit updates the following core dependencies to their latest versions:
- @modelcontextprotocol/sdk: 1.15.0 → 1.18.2
- @types/node: 24.5.2 → 24.6.0
- oxlint: 1.16.0 → 1.19.0
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This replaces the ratchet tool with pinact for managing GitHub Actions SHA pinning across all workflow files. The changes include:
- Remove ratchet-update.yml and ratchet-verify.yml workflows
- Add new pinact.yml workflow for automated SHA pinning
- Update all workflow files to use pinact-style comments (# v1.2.3 instead of # ratchet:action@v1)
- Add .pinact.yaml configuration file with ignore rules for Homebrew actions and local actions
- Update package.json scripts to use pinact commands instead of ratchet
Pinact provides more reliable SHA pinning with better GitHub Actions integration.
- Update @types/node from ^22.14.1 to ^24.5.2
- Update @vitest/coverage-v8 from ^3.1.1 to ^3.2.4
- Update oxlint from ^1.12.0 to ^1.16.0
- Update tsx from ^4.19.4 to ^4.20.5
- Update typescript from ^5.8.3 to ^5.9.2
- Update vite from ^5.4.18 to ^7.1.6
- Update vitest from ^3.1.1 to ^3.2.4
Updated biome from v1.9.4 to v2.2.4 to take advantage of latest linting improvements.
- Upgraded @biomejs/biome from ^1.9.4 to ^2.2.4
- Updated biome.json configuration for v2 compatibility:
- Changed schema to 2.2.4
- Updated file includes/ignores syntax
- Added Vue file overrides to disable noUnusedVariables/noUnusedImports
- Fixed all lint errors:
- Added radix parameter to parseInt calls
- Prefixed unused parameters with underscore
- Removed unused imports
- Fixed biome suppression comments
- Removed !important from CSS
- Added type ignores for Vue component definitions
All 325 files now pass lint with 0 warnings and 0 errors.
- Remove unnecessary config parameter from PingTask interface for better performance
- Improve error serialization using util.inspect with safety limits
- Update function signatures to match simplified ping interface
- Add comprehensive error details formatting with depth and length limits
These changes address PR review comments and improve worker efficiency.
- Use class names for RepomixError type checking instead of hardcoded strings
- Remove unused RepomixError import from fileProcess.ts
- Simplify comments in errorHandle.ts and fileProcess.ts
- Clean up constructor-based error checking logic
- Update @typescript/native-preview from 7.0.0-dev.20250708.1 to 7.0.0-dev.20250824.1
- Update package-lock.json files for all subprojects to reflect the latest version
- Ensures compatibility with latest TypeScript native performance improvements
This keeps all packages in sync with the latest tsgo release for consistent type checking performance.
- Add oxlint as dev dependency and integrate into npm run lint
- Create oxlint configuration with warning levels for gradual adoption
- Add oxlint CI job to GitHub Actions
- Fix regex patterns flagged by oxlint:
- Remove unnecessary escape characters in file regex patterns
- Fix regex patterns in website validation and PHP test files
- Update lint script order: biome -> oxlint -> ts -> secretlint
oxlint provides 50-100x faster linting with 500+ rules from ESLint ecosystem.
Current warnings are configured as non-blocking to allow gradual improvement.
- Add memory-check script for general memory usage analysis
- Add memory-check-one-file script for single file memory profiling
- Enables easy monitoring of memory improvements during development
- Useful for testing memory efficiency of child_process worker implementation
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>