Something went wrong. Try again.
source dump of claude code forked from oppi.li/claude-code
Something went wrong. Try again.
577 B · 15 lines
TypeScript
at main
12345678910111213141516import 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