File size: 473 Bytes
064bfd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | import { homedir } from 'os'
import { join } from 'path'
import { useEffect } from 'react'
type Props = {
defaultDir: string
onInstalled: (dir: string) => void
onCancel: () => void
onError: (message: string) => void
}
export async function computeDefaultInstallDir(): Promise<string> {
return join(homedir(), '.claude', 'assistant')
}
export function NewInstallWizard({ onCancel }: Props) {
useEffect(() => {
onCancel()
}, [onCancel])
return null
}
|