MCPcopy Index your code
hub / github.com/codeaashu/claude-code / isBridgeSafeCommand

Function isBridgeSafeCommand

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

Source from the content-addressed store, hash-verified

672 * BRIDGE_SAFE_COMMANDS; 'local-jsx' commands render Ink UI and stay blocked.
673 */
674export function isBridgeSafeCommand(cmd: Command): boolean {
675 if (cmd.type === 'local-jsx') return false
676 if (cmd.type === 'prompt') return true
677 return BRIDGE_SAFE_COMMANDS.has(cmd)
678}
679
680/**
681 * 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