Skip to content

feat(hooks): add Whale agent support#2277

Open
shayne-snap wants to merge 1 commit into
rtk-ai:developfrom
shayne-snap:feat/whale-agent-support
Open

feat(hooks): add Whale agent support#2277
shayne-snap wants to merge 1 commit into
rtk-ai:developfrom
shayne-snap:feat/whale-agent-support

Conversation

@shayne-snap
Copy link
Copy Markdown

@shayne-snap shayne-snap commented Jun 5, 2026

Summary

  • Add Whale as a supported RTK agent target for rtk init --agent whale and rtk hook whale.
  • Install and uninstall a managed Whale PreToolUse hook in project config or $WHALE_HOME / ~/.whale for global config.
  • Track Whale hook installation in telemetry and document the new integration.

Closes #2207.

Test plan

  • cargo fmt --all --check
  • cargo clippy --all-targets
  • cargo test
  • bash scripts/check-test-presence.sh origin/develop
  • Manual testing: installed/uninstalled Whale hook in temp project and temp WHALE_HOME
  • Manual testing: verified rtk hook whale rewrites shell_run payloads with Whale updated_input
  • Manual testing: verified real Whale exec session runs rewritten rtk git status command through the hook

Signed-off-by: shayne-snap <shayne-snap@users.noreply.github.com>
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jun 5, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(init): add Whale agent support

2 participants