mirror of
https://github.com/yamadashy/repomix.git
synced 2026-11-02 16:11:13 +01:00
- Extract git diff token calculation into separate worker and dedicated module - Parallelize git diff metrics calculation with other metrics computations using Promise.all - Isolate TokenCounter usage for git diffs within child process worker to prevent memory leaks - Add comprehensive worker cleanup with exit handler for proper resource management - Update tests to reflect new worker-based architecture and remove direct TokenCounter mocking Memory improvements: - Git diff token calculation now runs in isolated child process - Enables parallel execution of all three metrics calculations (files, output, git diff) - Further reduces main process memory footprint by isolating heavy TokenCounter operations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://repomix.com/schemas/latest/schema.json",
|
|
"input": {
|
|
"maxFileSize": 50000000
|
|
},
|
|
"output": {
|
|
"filePath": "repomix-output.xml",
|
|
"style": "xml",
|
|
"parsableStyle": false,
|
|
"compress": false,
|
|
"headerText": "This repository contains the source code for the Repomix tool.\nRepomix is designed to pack repository contents into a single file,\nmaking it easier for AI systems to analyze and process the codebase.\n\nKey Features:\n- Configurable ignore patterns\n- Custom header text support\n- Efficient file processing and packing\n\nPlease refer to the README.md file for more detailed information on usage and configuration.\n",
|
|
"instructionFilePath": "repomix-instruction.md",
|
|
"fileSummary": true,
|
|
"directoryStructure": true,
|
|
"files": true,
|
|
"removeComments": false,
|
|
"removeEmptyLines": false,
|
|
"topFilesLength": 5,
|
|
"showLineNumbers": false,
|
|
"includeEmptyDirectories": true,
|
|
"truncateBase64": true,
|
|
"git": {
|
|
"sortByChanges": true,
|
|
"sortByChangesMaxCommits": 100,
|
|
"includeDiffs": true
|
|
}
|
|
},
|
|
"include": [],
|
|
"ignore": {
|
|
"useGitignore": true,
|
|
"useDefaultPatterns": true,
|
|
// ignore is specified in .repomixignore
|
|
"customPatterns": []
|
|
},
|
|
"security": {
|
|
"enableSecurityCheck": true
|
|
},
|
|
"tokenCount": {
|
|
"encoding": "o200k_base"
|
|
}
|
|
}
|