init
This commit is contained in:
commit
ec53fcbe95
1905 changed files with 513762 additions and 0 deletions
20
commands/remote-setup/index.ts
Normal file
20
commands/remote-setup/index.ts
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
import type { Command } from '../../commands.js'
|
||||
import { getFeatureValue_CACHED_MAY_BE_STALE } from '../../services/analytics/growthbook.js'
|
||||
import { isPolicyAllowed } from '../../services/policyLimits/index.js'
|
||||
|
||||
const web = {
|
||||
type: 'local-jsx',
|
||||
name: 'web-setup',
|
||||
description:
|
||||
'Setup Claude Code on the web (requires connecting your GitHub account)',
|
||||
availability: ['claude-ai'],
|
||||
isEnabled: () =>
|
||||
getFeatureValue_CACHED_MAY_BE_STALE('tengu_cobalt_lantern', false) &&
|
||||
isPolicyAllowed('allow_remote_sessions'),
|
||||
get isHidden() {
|
||||
return !isPolicyAllowed('allow_remote_sessions')
|
||||
},
|
||||
load: () => import('./remote-setup.js'),
|
||||
} satisfies Command
|
||||
|
||||
export default web
|
||||
Loading…
Add table
Add a link
Reference in a new issue