repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

Established direct web module import baseline before lazy implementation imports

a67ff7d861dcc8607ec51beafac70b0ac5f341eb

Oliver Krylow <o.krylow@isp-insoft.de> ·

SSH signature · not checked

Browse filesCompare with HEAD

Result: {"status":"keep","web_import_ms":222,"elapsed_s":150.8,"win32_start_reload_ms":6599.284,"win32_extension_tax_ms":3971.397,"win32_startup_ms":5009.135,"win32_reload_ms":1590.149,"wsl_start_reload_ms":1863.01,"wsl_extension_tax_ms":793.135,"wsl_web_import_ms":117}

Changed files (1)

extensions/rtk/README.md

Modified
39 39 The bash tool widget is the command indicator.
40 40 When RTK applies, Pi shows the rewritten `rtk ...` command.
41 -On load, Pi warns whether `find` rewrites are disabled or the compatibility guard can be removed.
41 +After session start, Pi checks RTK in the background and warns whether `find` rewrites are disabled or the compatibility guard can be removed.
42 +The first `bash` call waits for that shared check when it is still running.
43 44 ## Behavior
45 46 `rtk` does one thing:
47 -1. probes `rtk --version` on extension load
48 -2. warns once and registers nothing if `rtk` is missing or too old
49 -3. probes `rtk find -path` against a temporary nested marker and warns with the result
50 -4. ignores non-bash tools
51 -5. ignores empty, already-`rtk`, and disabled commands
52 -6. calls `rtk rewrite <command>` with a 2s timeout
53 -7. applies exit `0` and `3` rewrites
54 -8. rejects every `rtk find` rewrite while the path probe fails
55 -9. locally maps missing `journalctl`, `systemctl status`, `hyprctl clients`, and `ps` filters to `rtk summary`
56 -10. leaves other exit `1`, exit `2`, timeouts, errors, and empty output untouched
48 +1. registers the `bash` hook without blocking extension load
49 +2. probes `rtk --version` after session start, or on the first `bash` call
50 +3. warns once and leaves commands unchanged if `rtk` is missing or too old
51 +4. probes `rtk find -path` against a temporary nested marker and warns with the result
52 +5. ignores non-bash tools
53 +6. ignores empty, already-`rtk`, and disabled commands
54 +7. calls `rtk rewrite <command>` with a 2s timeout
55 +8. applies exit `0` and `3` rewrites
56 +9. rejects every `rtk find` rewrite while the path probe fails
57 +10. locally maps missing `journalctl`, `systemctl status`, `hyprctl clients`, and `ps` filters to `rtk summary`
58 +11. leaves other exit `1`, exit `2`, timeouts, errors, and empty output untouched
58 60 No prompt injection.
59 61 No status widget.