Part of
hooks/— see alsosrc/hooks/for installation code
- TypeScript plugin using the zx library (not a shell hook)
- Intercepts
tool.execute.beforeevents, callsrtk rewriteas a subprocess - Uses
.quiet().nothrow()to silently ignore failures - Mutates
args.commandin-place if rewrite differs from original - Installed to
~/.config/opencode/plugins/rtk.tsbyrtk init -g --opencode