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