Files
zopu-code/vite.config.ts
-Puter d8383a788e feat: Slice 1 polish - MiMo V2.5 model, visible reasoning, image attachments, mobile keyboard fix
- Switch conversation agent to xiaomi/mimo-v2.5 (multimodal: text + image)
- Render native reasoning parts as live 'Thinking trace' (streaming open,
  collapsed after completion); inline <think> extraction for streaming models
- Image attachments: picker (up to 4, 10MB each), base64 to Flue
  AgentPromptImage, authenticated blob-URL replay for historical images
- Mobile keyboard viewport fix: visual-viewport hook, fixed shell,
  interactive-widget=resizes-content, header pinned, composer follows keyboard
- Conversation to Signal to proposed Work: Convex persistence, Effect
  validation in @code/work-os, Work cards with exact source provenance
- Streamdown markdown + Mermaid chart rendering in chat messages
- Flue tool turns hidden, reasoning-containing turns remain visible
- Frontend regression tests: keyboard viewport, responsive shell,
  attachment overflow, authenticated images, reasoning traces, transforms
- .env.example updated to xiaomi/mimo-v2.5 config
2026-07-27 12:22:54 +05:30

51 lines
1.2 KiB
TypeScript

import { defineConfig } from "vite-plus";
export default defineConfig({
fmt: {
ignorePatterns: [
"node_modules/**",
"**/node_modules/**",
".agents/skills/**",
"repos/**",
"apps/daemon/**",
"apps/desktop/**",
"apps/native/**",
"apps/tui/**",
"apps/web/build/**",
"apps/web/.react-router/**",
"apps/native/.expo/**",
"apps/native/dist/**",
"apps/native/web-build/**",
"packages/backend/convex/_generated/**",
],
semi: true,
singleQuote: false,
sortPackageJson: true,
},
lint: {
ignorePatterns: [
"node_modules/**",
"**/node_modules/**",
".agents/skills/**",
"repos/**",
"apps/daemon/**",
"apps/desktop/**",
"apps/native/**",
"apps/tui/**",
"apps/web/build/**",
"apps/web/.react-router/**",
"apps/native/.expo/**",
"apps/native/dist/**",
"apps/native/web-build/**",
"packages/backend/convex/_generated/**",
],
options: {
typeAware: false,
typeCheck: false,
},
},
staged: {
"*.{js,ts,jsx,tsx,vue,svelte,json,jsonc,css,md}": "vp check --fix",
},
});