diff --git a/web/src/client/components/session-create-form.ts b/web/src/client/components/session-create-form.ts index fbf96b05..abd5d817 100644 --- a/web/src/client/components/session-create-form.ts +++ b/web/src/client/components/session-create-form.ts @@ -26,6 +26,16 @@ export class SessionCreateForm extends LitElement { @state() private isCreating = false; @state() private showFileBrowser = false; + @state() private selectedQuickStart = 'zsh'; + + private quickStartCommands = [ + { label: 'claude', command: 'claude' }, + { label: 'zsh', command: 'zsh' }, + { label: 'bash', command: 'bash' }, + { label: 'python3', command: 'python3' }, + { label: 'node', command: 'node' }, + { label: 'npm run dev', command: 'npm run dev' }, + ]; private readonly STORAGE_KEY_WORKING_DIR = 'vibetunnel_last_working_dir'; private readonly STORAGE_KEY_COMMAND = 'vibetunnel_last_command'; @@ -225,6 +235,11 @@ export class SessionCreateForm extends LitElement { this.dispatchEvent(new CustomEvent('cancel')); } + private handleQuickStart(command: string) { + this.command = command; + this.selectedQuickStart = command; + } + render() { if (!this.visible) { return html``; @@ -232,14 +247,15 @@ export class SessionCreateForm extends LitElement { return html`