Files
oh-my-opencode/src/tools/interactive-bash/constants.ts
T
justsisyphus 1ecb2bafdf fix(hooks): prevent start-work false trigger from command description
- Remove 'Start Sisyphus work session' text check, keep only <session-context> tag
- Update interactive_bash description with WARNING: TMUX ONLY emphasis
- Update tests to use <session-context> wrapper
2026-01-16 14:01:29 +09:00

19 lines
502 B
TypeScript

export const DEFAULT_TIMEOUT_MS = 60_000
export const BLOCKED_TMUX_SUBCOMMANDS = [
"capture-pane",
"capturep",
"save-buffer",
"saveb",
"show-buffer",
"showb",
"pipe-pane",
"pipep",
]
export const INTERACTIVE_BASH_DESCRIPTION = `WARNING: This is TMUX ONLY. Pass tmux subcommands directly (without 'tmux' prefix).
Examples: new-session -d -s omo-dev, send-keys -t omo-dev "vim" Enter
For TUI apps needing ongoing interaction (vim, htop, pudb). One-shot commands → use Bash with &.`