Add tmux availability check for conditional interactive_bash tool registration

- Implement getTmuxPath() utility to detect tmux availability at plugin load time
- Add getCachedTmuxPath() for retrieving cached tmux path
- Add startBackgroundCheck() for asynchronous tmux detection
- Conditionally register interactive_bash tool only when tmux is available
- Silently skip registration without error messages if tmux not found
- Export utilities from tools/interactive-bash/index.ts

Tool now gracefully handles systems without tmux installed.

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2025-12-15 19:02:31 +09:00
parent 2d2834f8a7
commit 153fa844d4
5 changed files with 84 additions and 5 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
import { interactive_bash } from "./tools"
import { startBackgroundCheck } from "./utils"
export { interactive_bash }
export { interactive_bash, startBackgroundCheck }