feat: add RTK hook support for token-optimized CLI output #1
Reference in New Issue
Block a user
Delete Branch "feat/rtk-hooks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
enableRtkis set in adapter config, the adapter adds an init container to download RTK, mounts the binary in the main container, and configures Claude Code PreToolUse/PostToolUse hooks.claude/settings.local.json(project-level) instead of the shared~/.claude/settings.json, preventing settings pollution across agents on the same PVCrtkVersionfor pinning andrtkImagefor custom installer imagesKey design decisions
d074cb2) usedrtk install claude-codewhich writes to shared HOME. This implementation runs the install with a temp HOME, then moves the hooks to the project-levelsettings.local.json.rtkImagefield allows custom images instead of hardcodedcurlimages/curl.Test plan
🤖 Generated with Claude Code
Pull request closed