feat: transparent rtk filter for bash tool #86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/rtk-bash"
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
Pass bash commands through rtk (Rust Token Killer) for 60-90% token consumption reduction on common dev commands.
Design
rtkbefore command execution, model needs no behavior changertk_enabledin GlobalConfig, nil=auto-detect(自动检测 rtk 是否安装),true=强制启用,false=强制禁用no_rtk: trueto bypass rtk for full raw outputChanges
internal/config/config.gointernal/api/handler.gointernal/agent/system.gointernal/tools/bash_tools.goweb/src/api/config.tsweb/src/components/SettingsDialog.tsxCloses #69