forked from
oppi.li/claude-code
source dump of claude code
1import type { Command } from '../../commands.js'
2import { getFeatureValue_CACHED_MAY_BE_STALE } from '../../services/analytics/growthbook.js'
3import { isPolicyAllowed } from '../../services/policyLimits/index.js'
4
5const web = {
6 type: 'local-jsx',
7 name: 'web-setup',
8 description:
9 'Setup Claude Code on the web (requires connecting your GitHub account)',
10 availability: ['claude-ai'],
11 isEnabled: () =>
12 getFeatureValue_CACHED_MAY_BE_STALE('tengu_cobalt_lantern', false) &&
13 isPolicyAllowed('allow_remote_sessions'),
14 get isHidden() {
15 return !isPolicyAllowed('allow_remote_sessions')
16 },
17 load: () => import('./remote-setup.js'),
18} satisfies Command
19
20export default web