MCPcopy Index your code
hub / github.com/Noumena-Network/code / isBridgeSafeCommand

Function isBridgeSafeCommand

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

Source from the content-addressed store, hash-verified

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

Callers 1

processUserInputBaseFunction · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected