Resolve tmux/cmux capability at startup so pane control remains tmux-driven while notifications prefer cmux and gracefully fall back to desktop notifications.
19 lines
558 B
TypeScript
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 &.`
|