mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
- Add file size check to reject files larger than 10MB - Add largeFileLineThreshold setting (default 5000 lines) - When maxReadFileLine is -1 and file exceeds threshold, automatically truncate to first 1000 lines - Add configuration options for the threshold - Add tests for the new functionality This prevents the 'Failed to condense' error when Roo Code accidentally tries to read very large files, which was causing context window exhaustion and loss of task memory. Fixes #6069 |
||
|---|---|---|
| .. | ||
| npm | ||
| src | ||
| eslint.config.mjs | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsup.config.ts | ||
| vitest.config.ts | ||
@roo-code/types
Publish to NPM
First authenticate with NPM:
npm login
Next, manually bump the NPM package version:
cd packages/types/npm && npm version minor && cd -
Finally, publish to NPM:
pnpm --filter @roo-code/types npm:publish
Note that you'll be asked for an MFA code to complete the publish.