init
This commit is contained in:
commit
ec53fcbe95
1905 changed files with 513762 additions and 0 deletions
15
commands/remote-env/index.ts
Normal file
15
commands/remote-env/index.ts
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue