Something went wrong. Try again.
source dump of claude code forked from oppi.li/claude-code
Something went wrong. Try again.
601 B · 26 lines
TypeScript
at main
123456789101112131415161718192021222324252627import type { Command } from '../../commands.js'
function isSupportedPlatform(): boolean { if (process.platform === 'darwin') { return true } if (process.platform === 'win32' && process.arch === 'x64') { return true } return false}
const desktop = { type: 'local-jsx', name: 'desktop', aliases: ['app'], description: 'Continue the current session in Claude Desktop', availability: ['claude-ai'], isEnabled: isSupportedPlatform, get isHidden() { return !isSupportedPlatform() }, load: () => import('./desktop.js'),} satisfies Command
export default desktop