Files
oh-my-openagent/src/tools/interactive-bash/constants.ts
Kenny 64a87a78d6 feat: integrate cmux-aware runtime with resilient notifications
Resolve tmux/cmux capability at startup so pane control remains tmux-driven while notifications prefer cmux and gracefully fall back to desktop notifications.
2026-03-29 13:56:31 +08:00

19 lines
558 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 remains TMUX ONLY in phase 1 (cmux notify does not add pane control). 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 &.`