init claude-code
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in New Issue
Block a user