source dump of claude code
at main 16 lines 418 B view raw
1import { getIsRemoteMode } from '../../bootstrap/state.js' 2import type { Command } from '../../commands.js' 3 4const session = { 5 type: 'local-jsx', 6 name: 'session', 7 aliases: ['remote'], 8 description: 'Show remote session URL and QR code', 9 isEnabled: () => getIsRemoteMode(), 10 get isHidden() { 11 return !getIsRemoteMode() 12 }, 13 load: () => import('./session.js'), 14} satisfies Command 15 16export default session