feat(tools): add interactive_bash tool for tmux session management
Add a new tool for managing tmux sessions with automatic tracking and cleanup: - interactive_bash tool: Accepts tmux commands via tmux_command parameter - Session tracking hook: Tracks omo-* prefixed tmux sessions per OpenCode session - System reminder: Appends active session list after create/delete operations - Auto cleanup: Kills all tracked tmux sessions on OpenCode session deletion - Output truncation: Registered in TRUNCATABLE_TOOLS for long capture-pane outputs 🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
@@ -21,6 +21,7 @@ import { grep } from "./grep"
|
||||
import { glob } from "./glob"
|
||||
import { slashcommand } from "./slashcommand"
|
||||
import { skill } from "./skill"
|
||||
import { interactive_bash } from "./interactive-bash"
|
||||
|
||||
import {
|
||||
createBackgroundTask,
|
||||
@@ -62,4 +63,5 @@ export const builtinTools = {
|
||||
glob,
|
||||
slashcommand,
|
||||
skill,
|
||||
interactive_bash,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user