- Conversation sidebar with create/delete/history - Chat area with streaming LLM responses (z-ai-web-dev-sdk) - Voice input via Web Speech API with recording indicator - Browser TTS auto-speak for assistant responses - Settings panel (voice, TTS, sidebar toggle) - Prisma schema: Conversation + Message models - API routes: /api/chat/stream, /api/conversations, /api/messages - Zustand store for state management - Web Speech API type declarations
261 lines
11 KiB
Plaintext
261 lines
11 KiB
Plaintext
==========================================
|
||
[2026-03-31 00:36:21] Starting: bun install
|
||
==========================================
|
||
[BUN] Installing dependencies...
|
||
[0.29ms] ".env"
|
||
bun install v1.3.10 (30e609e0)
|
||
|
||
+ @tailwindcss/postcss@4.1.18
|
||
+ @types/react@19.2.8
|
||
+ @types/react-dom@19.2.3
|
||
+ bun-types@1.3.6
|
||
+ eslint@9.39.2
|
||
+ eslint-config-next@16.1.3
|
||
+ tailwindcss@4.1.18
|
||
+ tw-animate-css@1.4.0
|
||
+ typescript@5.9.3
|
||
+ @dnd-kit/core@6.3.1
|
||
+ @dnd-kit/sortable@10.0.0
|
||
+ @dnd-kit/utilities@3.2.2
|
||
+ @hookform/resolvers@5.2.2
|
||
+ @mdxeditor/editor@3.52.3
|
||
+ @prisma/client@6.19.2
|
||
+ @radix-ui/react-accordion@1.2.12
|
||
+ @radix-ui/react-alert-dialog@1.1.15
|
||
+ @radix-ui/react-aspect-ratio@1.1.8
|
||
+ @radix-ui/react-avatar@1.1.11
|
||
+ @radix-ui/react-checkbox@1.3.3
|
||
+ @radix-ui/react-collapsible@1.1.12
|
||
+ @radix-ui/react-context-menu@2.2.16
|
||
+ @radix-ui/react-dialog@1.1.15
|
||
+ @radix-ui/react-dropdown-menu@2.1.16
|
||
+ @radix-ui/react-hover-card@1.1.15
|
||
+ @radix-ui/react-label@2.1.8
|
||
+ @radix-ui/react-menubar@1.1.16
|
||
+ @radix-ui/react-navigation-menu@1.2.14
|
||
+ @radix-ui/react-popover@1.1.15
|
||
+ @radix-ui/react-progress@1.1.8
|
||
+ @radix-ui/react-radio-group@1.3.8
|
||
+ @radix-ui/react-scroll-area@1.2.10
|
||
+ @radix-ui/react-select@2.2.6
|
||
+ @radix-ui/react-separator@1.1.8
|
||
+ @radix-ui/react-slider@1.3.6
|
||
+ @radix-ui/react-slot@1.2.4
|
||
+ @radix-ui/react-switch@1.2.6
|
||
+ @radix-ui/react-tabs@1.1.13
|
||
+ @radix-ui/react-toast@1.2.15
|
||
+ @radix-ui/react-toggle@1.1.10
|
||
+ @radix-ui/react-toggle-group@1.1.11
|
||
+ @radix-ui/react-tooltip@1.2.8
|
||
+ @reactuses/core@6.1.9
|
||
+ @tanstack/react-query@5.90.19
|
||
+ @tanstack/react-table@8.21.3
|
||
+ class-variance-authority@0.7.1
|
||
+ clsx@2.1.1
|
||
+ cmdk@1.1.1
|
||
+ date-fns@4.1.0
|
||
+ embla-carousel-react@8.6.0
|
||
+ framer-motion@12.26.2
|
||
+ input-otp@1.4.2
|
||
+ lucide-react@0.525.0
|
||
+ next@16.1.3
|
||
+ next-auth@4.24.13
|
||
+ next-intl@4.7.0
|
||
+ next-themes@0.4.6
|
||
+ prisma@6.19.2
|
||
+ react@19.2.3
|
||
+ react-day-picker@9.13.0
|
||
+ react-dom@19.2.3
|
||
+ react-hook-form@7.71.1
|
||
+ react-markdown@10.1.0
|
||
+ react-resizable-panels@3.0.6
|
||
+ react-syntax-highlighter@15.6.6
|
||
+ recharts@2.15.4
|
||
+ sharp@0.34.5
|
||
+ sonner@2.0.7
|
||
+ tailwind-merge@3.4.0
|
||
+ tailwindcss-animate@1.0.7
|
||
+ uuid@11.1.0
|
||
+ vaul@1.1.2
|
||
+ z-ai-web-dev-sdk@0.0.17
|
||
+ zod@4.3.5
|
||
+ zustand@5.0.10
|
||
|
||
827 packages installed [10.10s]
|
||
==========================================
|
||
[2026-03-31 00:36:31] Completed: bun install
|
||
[LOG] Step: bun install | Duration: 10s
|
||
==========================================
|
||
|
||
==========================================
|
||
[2026-03-31 00:36:31] Starting: bun run db:push
|
||
==========================================
|
||
[BUN] Setting up database...
|
||
$ prisma db push
|
||
Environment variables loaded from .env
|
||
Prisma schema loaded from prisma/schema.prisma
|
||
Datasource "db": SQLite database "custom.db" at "file:/home/z/my-project/db/custom.db"
|
||
|
||
SQLite database custom.db created at file:/home/z/my-project/db/custom.db
|
||
|
||
🚀 Your database is now in sync with your Prisma schema. Done in 20ms
|
||
|
||
Running generate... (Use --skip-generate to skip the generators)
|
||
[2K[1A[2K[GRunning generate... - Prisma Client
|
||
[2K[1A[2K[G✔ Generated Prisma Client (v6.19.2) to ./node_modules/@prisma/client in 77ms
|
||
┌─────────────────────────────────────────────────────────┐
|
||
│ Update available 6.19.2 -> 7.6.0 │
|
||
│ │
|
||
│ This is a major update - please follow the guide at │
|
||
│ https://pris.ly/d/major-version-upgrade │
|
||
│ │
|
||
│ Run the following to update │
|
||
│ npm i --save-dev prisma@latest │
|
||
│ npm i @prisma/client@latest │
|
||
└─────────────────────────────────────────────────────────┘
|
||
|
||
==========================================
|
||
[2026-03-31 00:36:32] Completed: bun run db:push
|
||
[LOG] Step: bun run db:push | Duration: 1s
|
||
==========================================
|
||
|
||
==========================================
|
||
[2026-03-31 00:36:32] Starting: Starting Next.js dev server
|
||
==========================================
|
||
[BUN] Starting development server...
|
||
==========================================
|
||
[2026-03-31 00:36:32] Completed: Starting Next.js dev server
|
||
[LOG] Step: Starting Next.js dev server | Duration: 0s
|
||
==========================================
|
||
|
||
==========================================
|
||
$ next dev -p 3000 2>&1 | tee dev.log
|
||
[2026-03-31 00:36:32] Starting: Waiting for Next.js dev server
|
||
==========================================
|
||
Waiting for Next.js dev server to be ready on localhost:3000...
|
||
Attempt 1/60: Next.js dev server not ready yet, waiting...
|
||
▲ Next.js 16.1.3 (Turbopack)
|
||
- Local: http://localhost:3000
|
||
- Network: http://21.0.2.81:3000
|
||
- Environments: .env
|
||
|
||
✓ Starting...
|
||
Attention: Next.js now collects completely anonymous telemetry regarding usage.
|
||
This information is used to shape Next.js' roadmap and prioritize features.
|
||
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
|
||
https://nextjs.org/telemetry
|
||
|
||
|
||
We detected TypeScript in your project and reconfigured your tsconfig.json file for you.
|
||
The following suggested values were added to your tsconfig.json. These values can be changed to fit your project's needs:
|
||
|
||
- include was updated to add '.next/dev/types/**/*.ts'
|
||
|
||
The following mandatory changes were made to your tsconfig.json:
|
||
|
||
- jsx was set to react-jsx (next.js uses the React automatic runtime)
|
||
|
||
✓ Ready in 871ms
|
||
Next.js dev server is ready!
|
||
GET / 200 in 2.7s (compile: 2.6s, render: 136ms)
|
||
==========================================
|
||
GET / 200 in 2.7s (compile: 2.5s, render: 183ms)
|
||
[2026-03-31 00:36:36] Completed: Waiting for Next.js dev server
|
||
[LOG] Step: Waiting for Next.js dev server | Duration: 4s
|
||
==========================================
|
||
|
||
==========================================
|
||
[2026-03-31 00:36:36] Starting: Health check
|
||
==========================================
|
||
[BUN] Performing health check...
|
||
GET / 200 in 50ms (compile: 10ms, render: 40ms)
|
||
[BUN] Health check passed
|
||
==========================================
|
||
[2026-03-31 00:36:36] Completed: Health check
|
||
[LOG] Step: Health check | Duration: 0s
|
||
==========================================
|
||
|
||
==========================================
|
||
[2026-03-31 00:36:36] Starting: Starting mini-services
|
||
==========================================
|
||
Found mini-services directory, scanning for sub-services...
|
||
Mini-services startup completed. Started 0 service(s).
|
||
==========================================
|
||
[2026-03-31 00:36:36] Completed: Starting mini-services
|
||
[LOG] Step: Starting mini-services | Duration: 0s
|
||
==========================================
|
||
|
||
Next.js dev server is running in background (PID: 876).
|
||
Use 'kill 876' to stop it.
|
||
GET / 200 in 26ms (compile: 3ms, render: 24ms)
|
||
GET / 200 in 25ms (compile: 2ms, render: 23ms)
|
||
⚠ Cross origin request detected from preview-chat-592721cb-d050-493a-b56c-c134cc8105f9.space.z.ai to /_next/* resource. In a future major version of Next.js, you will need to explicitly configure "allowedDevOrigins" in next.config to allow this.
|
||
Read more: https://nextjs.org/docs/app/api-reference/config/next-config-js/allowedDevOrigins
|
||
GET / 200 in 63ms (compile: 35ms, render: 29ms)
|
||
GET / 200 in 13ms (compile: 3ms, render: 10ms)
|
||
GET / 200 in 11ms (compile: 1772µs, render: 9ms)
|
||
GET / 200 in 19ms (compile: 3ms, render: 16ms)
|
||
GET / 200 in 29ms (compile: 5ms, render: 24ms)
|
||
GET / 200 in 23ms (compile: 3ms, render: 19ms)
|
||
GET / 200 in 26ms (compile: 5ms, render: 22ms)
|
||
GET / 200 in 23ms (compile: 3ms, render: 20ms)
|
||
GET / 200 in 16ms (compile: 1843µs, render: 14ms)
|
||
GET / 200 in 13ms (compile: 1867µs, render: 11ms)
|
||
GET / 200 in 20ms (compile: 2ms, render: 18ms)
|
||
GET / 200 in 14ms (compile: 2ms, render: 12ms)
|
||
GET / 200 in 14ms (compile: 1948µs, render: 12ms)
|
||
GET / 200 in 18ms (compile: 1834µs, render: 16ms)
|
||
GET / 200 in 15ms (compile: 3ms, render: 12ms)
|
||
GET / 200 in 14ms (compile: 1995µs, render: 12ms)
|
||
GET / 200 in 13ms (compile: 1826µs, render: 11ms)
|
||
GET / 200 in 10ms (compile: 1385µs, render: 9ms)
|
||
GET / 200 in 12ms (compile: 1608µs, render: 11ms)
|
||
GET / 200 in 13ms (compile: 2ms, render: 11ms)
|
||
GET / 200 in 18ms (compile: 2ms, render: 15ms)
|
||
GET / 200 in 20ms (compile: 2ms, render: 18ms)
|
||
GET / 200 in 28ms (compile: 3ms, render: 24ms)
|
||
GET / 200 in 13ms (compile: 2ms, render: 11ms)
|
||
GET / 200 in 13ms (compile: 2ms, render: 11ms)
|
||
GET / 200 in 15ms (compile: 1807µs, render: 13ms)
|
||
GET / 200 in 18ms (compile: 2ms, render: 16ms)
|
||
GET / 200 in 19ms (compile: 3ms, render: 17ms)
|
||
GET / 200 in 46ms (compile: 8ms, render: 38ms)
|
||
GET / 200 in 40ms (compile: 27ms, render: 13ms)
|
||
GET / 200 in 16ms (compile: 2ms, render: 13ms)
|
||
GET / 200 in 20ms (compile: 1960µs, render: 18ms)
|
||
GET / 200 in 16ms (compile: 4ms, render: 12ms)
|
||
GET / 200 in 13ms (compile: 1625µs, render: 11ms)
|
||
GET / 200 in 13ms (compile: 1705µs, render: 11ms)
|
||
GET / 200 in 13ms (compile: 1743µs, render: 11ms)
|
||
GET / 200 in 32ms (compile: 1733µs, render: 30ms)
|
||
GET / 200 in 13ms (compile: 1658µs, render: 12ms)
|
||
GET / 200 in 12ms (compile: 1418µs, render: 10ms)
|
||
GET / 200 in 14ms (compile: 3ms, render: 11ms)
|
||
GET / 200 in 13ms (compile: 1543µs, render: 11ms)
|
||
GET / 200 in 12ms (compile: 1559µs, render: 11ms)
|
||
GET / 200 in 13ms (compile: 1593µs, render: 11ms)
|
||
GET / 200 in 12ms (compile: 1559µs, render: 10ms)
|
||
GET / 200 in 15ms (compile: 2ms, render: 13ms)
|
||
GET / 200 in 18ms (compile: 2ms, render: 16ms)
|
||
GET / 200 in 17ms (compile: 2ms, render: 15ms)
|
||
GET / 200 in 19ms (compile: 3ms, render: 16ms)
|
||
GET / 200 in 19ms (compile: 3ms, render: 16ms)
|
||
GET / 200 in 19ms (compile: 2ms, render: 17ms)
|
||
GET / 200 in 22ms (compile: 3ms, render: 20ms)
|
||
GET / 200 in 13ms (compile: 1974µs, render: 11ms)
|
||
GET / 200 in 13ms (compile: 2ms, render: 11ms)
|
||
GET / 200 in 22ms (compile: 3ms, render: 19ms)
|
||
GET / 200 in 14ms (compile: 2ms, render: 12ms)
|
||
GET / 200 in 17ms (compile: 2ms, render: 15ms)
|
||
GET / 200 in 25ms (compile: 3ms, render: 22ms)
|
||
GET / 200 in 20ms (compile: 3ms, render: 17ms)
|
||
GET / 200 in 17ms (compile: 2ms, render: 15ms)
|
||
GET / 200 in 19ms (compile: 2ms, render: 16ms)
|
||
✓ Compiled in 160ms
|
||
✓ Compiled in 74ms
|
||
✓ Compiled in 601ms
|
||
GET / 200 in 60ms (compile: 39ms, render: 20ms)
|
||
prisma:query SELECT `main`.`Conversation`.`id`, `main`.`Conversation`.`title`, `main`.`Conversation`.`userId`, `main`.`Conversation`.`createdAt`, `main`.`Conversation`.`updatedAt` FROM `main`.`Conversation` WHERE 1=1 ORDER BY `main`.`Conversation`.`updatedAt` DESC LIMIT ? OFFSET ?
|
||
GET /api/conversations 200 in 375ms (compile: 341ms, render: 34ms)
|
||
✓ Compiled in 136ms
|