# CLAUDE.md This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. ## 项目概述 ARS(Agent Runtime Server)前端 Demo,一个基于 Vue 3 + Vite 的 SPA,为智能体运行时后端提供会话管理和消息展示界面。与 `ars-backend` 配合使用。 ## 常用命令 ```bash # 安装依赖 npm install # 启动开发服务器 npm run dev # 生产构建 npm run build # 运行所有测试 npm test # 运行单个测试文件 npx vitest tests/chat-view.spec.js # 运行匹配模式的测试 npx vitest -t "message.delta" ``` ## 环境配置 - `VITE_API_BASE`: 后端 API 基址,默认 `http://localhost:8000/api` ## 架构概览 ### 技术栈 - **框架**: Vue 3 (Composition API + `