(cmd: Command)
| 681 | * BRIDGE_SAFE_COMMANDS; 'local-jsx' commands render Ink UI and stay blocked. |
| 682 | */ |
| 683 | export function isBridgeSafeCommand(cmd: Command): boolean { |
| 684 | if (cmd.type === 'local-jsx') return false |
| 685 | if (cmd.type === 'prompt') return true |
| 686 | return BRIDGE_SAFE_COMMANDS.has(cmd) |
| 687 | } |
| 688 | |
| 689 | /** |
| 690 | * Filter commands to only include those safe for remote mode. |
no test coverage detected