init claude-code
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import type { Command } from '../../commands.js'
|
||||
import { isPolicyAllowed } from '../../services/policyLimits/index.js'
|
||||
import { isClaudeAISubscriber } from '../../utils/auth.js'
|
||||
|
||||
export default {
|
||||
type: 'local-jsx',
|
||||
name: 'remote-env',
|
||||
description: 'Configure the default remote environment for teleport sessions',
|
||||
isEnabled: () =>
|
||||
isClaudeAISubscriber() && isPolicyAllowed('allow_remote_sessions'),
|
||||
get isHidden() {
|
||||
return !isClaudeAISubscriber() || !isPolicyAllowed('allow_remote_sessions')
|
||||
},
|
||||
load: () => import('./remote-env.js'),
|
||||
} satisfies Command
|
||||
Reference in New Issue
Block a user