MCPcopy
hub / github.com/liuup/claude-code-analysis / isBridgeSafeCommand

Function isBridgeSafeCommand

src/commands.ts:672–676  ·  view source on GitHub ↗
(cmd: Command)

Source from the content-addressed store, hash-verified

670 * BRIDGE_SAFE_COMMANDS; 'local-jsx' commands render Ink UI and stay blocked.
671 */
672export 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.

Callers 1

processUserInputBaseFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected