Something went wrong. Try again.
source dump of claude code forked from oppi.li/claude-code
Something went wrong. Try again.
604 B · 26 lines
TypeScript
at main
123456789101112131415161718192021222324252627import { feature } from 'bun:bundle'import { isBridgeEnabled } from '../../bridge/bridgeEnabled.js'import type { Command } from '../../commands.js'
function isEnabled(): boolean { if (!feature('BRIDGE_MODE')) { return false } return isBridgeEnabled()}
const bridge = { type: 'local-jsx', name: 'remote-control', aliases: ['rc'], description: 'Connect this terminal for remote-control sessions', argumentHint: '[name]', isEnabled, get isHidden() { return !isEnabled() }, immediate: true, load: () => import('./bridge.js'),} satisfies Command
export default bridge