From a9b31f540f56dc8d157391660d21a4e70d3bcdab Mon Sep 17 00:00:00 2001 From: MT-Fire <798521692@qq.com> Date: Tue, 3 Mar 2026 11:31:05 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E6=B7=BB=E5=8A=A0=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E7=9A=84=E7=BB=9F=E4=B8=80=E6=97=A5=E5=BF=97=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 2 +- CLAUDE.md | 84 ++++++++ server/docs/logging.md | 101 ++++++++++ server/logger.js | 96 +++++++++ server/server.js | 314 +++++++++++++++++++++++------ src/components/chat/ChatMain.vue | 33 +++ src/components/input/ChatInput.vue | 46 +++-- src/services/api.ts | 54 ++++- 8 files changed, 641 insertions(+), 89 deletions(-) create mode 100644 CLAUDE.md create mode 100644 server/docs/logging.md create mode 100644 server/logger.js diff --git a/.gitignore b/.gitignore index af4d31b..2ee3483 100644 --- a/.gitignore +++ b/.gitignore @@ -11,7 +11,7 @@ node_modules dist dist-ssr *.local - +uploads .env # Editor directories and files diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..e70246e --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,84 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Commands + +```bash +# Development +npm run dev # Start Vite dev server +npm run build # Type-check and build for production +npm run preview # Preview production build +``` + +## Architecture Overview + +This is a Vue 3 + TypeScript AI chat UI application built with the following stack: + +**Core:** +- Vue 3 (Composition API with `