mirror of
http://10.0.2.1:3031/sauer/claude-code.git
synced 2026-06-30 21:46:58 +10:00
17 lines
418 B
TypeScript
17 lines
418 B
TypeScript
import { getIsRemoteMode } from '../../bootstrap/state.js'
|
|
import type { Command } from '../../commands.js'
|
|
|
|
const session = {
|
|
type: 'local-jsx',
|
|
name: 'session',
|
|
aliases: ['remote'],
|
|
description: 'Show remote session URL and QR code',
|
|
isEnabled: () => getIsRemoteMode(),
|
|
get isHidden() {
|
|
return !getIsRemoteMode()
|
|
},
|
|
load: () => import('./session.js'),
|
|
} satisfies Command
|
|
|
|
export default session
|