Files
zeekay 19bfa8dd9c feat(desktop): add Hanzo Bot desktop app in apps/desktop
- Fork desktop client into hanzoai/bot under apps/desktop
- Minimalist bot-first UI matching screenshots:
  - Left sidebar with bot cards, animated Face, star badge, search, '+' create bot, user profile, and 'Connect apps' pill
  - Centered top pill with active bot Face & name, frameless titlebar drag and window controls
  - Chat stream with onboarding questionnaire / choice cards, animated reactive Bot Face (blinking, talking, listening, thinking)
  - Bottom pill composer with '+' attachment, mic dictation, and voice waveform mode
  - Modals for creating bots, connecting apps (Google Workspace, Slack, Notion, GitHub), local workspace & folders, and Live Voice Mode
- Tauri 2.x native setup:
  - productName: 'Hanzo Bot', identifier: 'com.hanzo.bot', binary: 'hanzo-bot'
  - Local workspace management with folder pickers, file ops, and hanzoai/dev runner
  - Local daemon status check (127.0.0.1:18789) and cloud bot integration
  - Native RGBA icons and .icns generated from Hanzo Bot assets
2026-10-25 12:18:19 -07:00

30 lines
599 B
TypeScript

import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
const host = process.env.TAURI_DEV_HOST;
export default defineConfig({
plugins: [react()],
clearScreen: false,
server: {
port: 1420,
strictPort: true,
host: host || false,
hmr: host
? {
protocol: 'ws',
host,
port: 1421,
}
: undefined,
watch: {
ignored: ['**/src-tauri/**'],
},
},
build: {
target: 'esnext',
minify: !process.env.TAURI_ENV_DEBUG ? 'esbuild' : false,
sourcemap: !!process.env.TAURI_ENV_DEBUG,
},
});