(cmd: Command)
| 670 | * BRIDGE_SAFE_COMMANDS; 'local-jsx' commands render Ink UI and stay blocked. |
| 671 | */ |
| 672 | export function isBridgeSafeCommand(cmd: Command): boolean { |
| 673 | if (cmd.type === 'local-jsx') return false |
| 674 | if (cmd.type === 'prompt') return true |
| 675 | return BRIDGE_SAFE_COMMANDS.has(cmd) |
| 676 | } |
| 677 | |
| 678 | /** |
| 679 | * Filter commands to only include those safe for remote mode. |
no test coverage detected