@@ -13,7 +13,7 @@ compatibility: >-
1313 normally if it isn't installed.
1414metadata :
1515 author : Coding-Dev-Tools
16- version : " 1.0.0 "
16+ version : " 1.0.1 "
1717 homepage : https://github.com/rtk-ai/rtk
1818allowed-tools : Bash(rtk:*) Bash(git:*) Bash(cargo:*) Bash(ls:*) Bash(cat:*) Bash(grep:*) Bash(find:*) Bash(diff:*) Bash(docker:*) Bash(kubectl:*) Bash(gh:*) Bash(glab:*) Bash(pnpm:*) Bash(npm:*) Bash(pip:*) Bash(bundle:*) Bash(ruff:*) Bash(tsc:*) Bash(eslint:*) Bash(pytest:*) Bash(go:*) Bash(jest:*) Bash(vitest:*) Bash(dotnet:*) Bash(aws:*) Bash(psql:*) Bash(prisma:*) Bash(wget:*)
1919---
@@ -68,7 +68,7 @@ remember it — and `|` pipes and `<<` heredocs bypass the rewrite.
6868- 🟢 ** Compress freely** — large, noisy, low-stakes output you skim:
6969 ` rtk ls ` , ` rtk git status ` , ` rtk git log ` , ` rtk docker ps ` , ` rtk pip list ` .
7070- 🟡 ** Default mode only** — big runs where you need the failures: `rtk cargo
71- test` , ` rtk err <cmd >` . Plain ` rtk` keeps errors/diffs — don't add ` -u `.
71+ test` , ` rtk err <cmd >` . Plain ` rtk` keeps errors/diffs — don't add ` --ultra-compact `.
7272- 🔴 ** Keep full fidelity (run raw)** — diffs/patches you'll apply, JSON or
7373 ` --format ` output you'll parse, secrets, small outputs, and files you'll edit
7474 (use the native Read tool).
@@ -80,7 +80,7 @@ Full tiered table: [references/commands.md](references/commands.md).
8080Use the * least* compression that still answers the question:
8181
8282```
83- raw / native Read → rtk <cmd> (keeps signal, default) → -u / -l aggressive / rtk smart (lossy, skim-only)
83+ raw / native Read → rtk <cmd> (keeps signal, default) → --ultra-compact / -l aggressive / rtk smart (lossy, skim-only)
8484```
8585
8686Start as far left as the task needs. Escalate compression only for big, boring
@@ -112,14 +112,30 @@ number. Full reference:
112112- ** Exit codes.** RTK aims to pass the wrapped command's exit code through, but it
113113 isn't guaranteed for every command/version. When a pass/fail verdict matters
114114 (tests, gates), trust the raw exit code or re-run raw / ` rtk proxy <cmd> ` .
115- - ** Piped output.** The harness captures stdout as a non-TTY pipe; RTK may still
116- emit icons/decoration ([ RTK #1282 ] ( https://github.com/rtk-ai/rtk/issues/1282 ) ).
117- For anything you'll parse, run raw; set ` NO_COLOR=1 ` if decoration leaks in.
115+ - ** Piped output can be silently wrong, not just decorated.** On a non-TTY pipe
116+ RTK can substitute its compressed summary for the real content — e.g. a
117+ redirected ` grep ` writing a line * count* summary instead of the matching lines
118+ ([ RTK #1282 ] ( https://github.com/rtk-ai/rtk/issues/1282 ) , a correctness bug, not
119+ a cosmetic one). Run anything you'll parse or redirect ** raw** . Separately, RTK
120+ has emitted ANSI color codes into piped/non-TTY output before
121+ ([ RTK #1409 ] ( https://github.com/rtk-ai/rtk/issues/1409 ) , fixed); set
122+ ` NO_COLOR=1 ` defensively if you see escape codes leak through.
123+ - ** ` -u ` is not a working flag.** RTK's own README still lists ` -u ` as a short
124+ form of ` --ultra-compact ` , but it was removed upstream (it collided with
125+ ` git push -u ` ) and isn't restored — using it fails outright
126+ ([ RTK #2369 ] ( https://github.com/rtk-ai/rtk/issues/2369 ) , open). Always use the
127+ long form ` --ultra-compact ` .
118128- ** Streaming.** RTK buffers to filter, so don't wrap ` -f ` /follow or growing logs.
119129- ** PATH.** In a non-interactive shell ` rtk ` may not be found; the integration
120130 treats it as optional and falls back to raw commands.
131+ - ** Native tools.** Command Code's built-in file/search tools (Read/Grep/Glob)
132+ are lossless, give line numbers, and don't pass through RTK — prefer them over
133+ ` rtk read/grep/find ` .
121134- ** Permissions.** ` rtk ` (and ` rtk proxy ` ) can execute arbitrary wrapped commands
122135 — allow-list it deliberately.
136+ - ** Hooks on Windows.** RTK's filters work on Windows, but its auto-rewrite hook
137+ has gaps there ([ RTK discussion #671 ] ( https://github.com/rtk-ai/rtk/discussions/671 ) );
138+ ` .ps1 ` stays CRLF per ` .gitattributes ` .
123139
124140## Prerequisite
125141
0 commit comments