文件最后提交记录最后更新时间
fix(grep): adjust the command to fall through if the output would already be as small as possible 1 个月前
fix: re-add env python as noisy dir 20 天前
fix(truncate): global caps reduce (avoid underflow and 0 results) - Avoid underflow + 0 results caused by overwrite of global constant CAPS - Soon user will be able to apply global configuration, this will change global CAPS and should not cause any underflow or 0 results, if overwrite sub >= CAPS -> use CAPS. 15 天前
refacto(truncations): Set global CAPS for truncation Following tee and hint refacto Add global CAP constant to be inherited , to enable easier global configuration later 16 天前
fix(find): include hidden files when pattern targets dotfiles (#1101) rtk find used WalkBuilder with .hidden(true), which skips ALL hidden files and directories. As a result, rtk find . -name ".claude.json" always returned "0 for '.claude.json'" even when the files existed. Fix: detect when the -name pattern starts with a dot and set .hidden(false) for that walk, so hidden entries are visited. Non-dotfile patterns keep the default .hidden(true) behaviour. Add regression tests covering both cases. Closes #1101 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> 1 个月前
refacto(truncations): Set global CAPS for truncation Following tee and hint refacto Add global CAP constant to be inherited , to enable easier global configuration later 16 天前
Merge pull request #1456 from JBF1991/fix-grep-passthrough fix(grep): adjust the command to fall through if the output would already be as small as possible1 个月前
test(json): assert truncated value byte length for multibyte strings 1 个月前
chore(refacto-codebase): Folders + Technical docs - codebase more clear for humans and AI agents - alignement on vision and filter quality in technical docs 2 个月前
fix(truncate): global caps reduce (avoid underflow and 0 results) - Avoid underflow + 0 results caused by overwrite of global constant CAPS - Soon user will be able to apply global configuration, this will change global CAPS and should not cause any underflow or 0 results, if overwrite sub >= CAPS -> use CAPS. 15 天前
fix(truncate): global caps reduce (avoid underflow and 0 results) - Avoid underflow + 0 results caused by overwrite of global constant CAPS - Soon user will be able to apply global configuration, this will change global CAPS and should not cause any underflow or 0 results, if overwrite sub >= CAPS -> use CAPS. 15 天前
fix(automod): add auto discovery for cmds 2 个月前
refacto(truncations): Set global CAPS for truncation Following tee and hint refacto Add global CAP constant to be inherited , to enable easier global configuration later 16 天前
fix(review): address ChildGuard disarm, stdin dedup, hook masking 2 个月前
refacto(truncations): Set global CAPS for truncation Following tee and hint refacto Add global CAP constant to be inherited , to enable easier global configuration later 16 天前
fix(cmds): more covering for run_filtered 2 个月前
fix(filters): address adversarial test-suite findings on aggressive filtering Several filters dropped or rewrote information an agent needs, producing output that was misleading rather than merely compressed. This fixes the clear-cut cases surfaced by the TheDecipherist/rtk-test suite: - ls: stop hiding the .env file (removed .env/env from NOISE_DIRS). - git status: restore the explicit "HEAD detached at <sha>" line instead of the opaque "* HEAD (no branch)". - log/docker logs: recognise CRITICAL/FATAL/ALERT/EMERGENCY/SEVERE (and NOTICE) as severities so those lines are no longer silently filtered; expose log as a rtk pipe filter and accept a positional filter name. - wc: forward stdin to the child so cat file | rtk wc counts the pipe instead of reporting 0 (new RunOptions::inherit_stdin). - jest/vitest: include skipped/pending test count in the compact summary. - pytest: surface xfailed/xpassed counts and list XFAIL/XPASS entries with their reasons (adds -rxX). - ruff/eslint: list individual violations with file:line:col, not just rule/file group counts. - pnpm/npm list: render the actual package list instead of the false-positive "All packages up-to-date" when there's no upgrade info. - git add: stay silent on a no-op instead of printing an ambiguous "ok". - git stash: pass git's own message through instead of collapsing to "ok". - docker ps: keep the Status column (health/restart info) and list stopped/exited containers; docker images: show all images with full names; docker compose ps: use -a so crashed services stay visible. All 1870 unit tests pass; cargo fmt + clippy clean. 21 天前
README.md

System and Generic Utilities

Part of src/cmds/ — see also docs/contributing/TECHNICAL.md

Specifics

  • read.rs uses core/filter for language-aware code stripping (FilterLevel: none/minimal/aggressive)
  • grep_cmd.rs reads core/config for limits.grep_max_results and limits.grep_max_per_file. Format-altering flags (-c, -l, -L, -o, -Z) bypass RTK filtering and run raw.
  • local_llm.rs (rtk smart) uses core/filter for heuristic file summarization
  • format_cmd.rs is a cross-ecosystem dispatcher: auto-detects and routes to prettier_cmd or ruff_cmd (black is handled inline, not as a separate module)

Cross-command

  • format_cmd routes to cmds/js/prettier_cmd and cmds/python/ruff_cmd