From 8261eeda34597cd43f09fa9eac9193aa239c9d00 Mon Sep 17 00:00:00 2001 From: Jeff Gu Date: Tue, 14 Apr 2026 21:39:11 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E5=92=8C=E4=BB=A3=E7=A0=81=E6=A3=80=E6=9F=A5=E6=8C=87=E5=8D=97?= =?UTF-8?q?=E4=BB=A5=E6=8F=90=E9=AB=98=E5=BC=80=E5=8F=91=E8=B4=A8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AGENTS.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 2d303be..8c7c8da 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -25,10 +25,11 @@ - API routes: `src/admin/*_api.ts`, provider files in `src/providers/`. - Channel types: use string literals (e.g., `openai-responses`, `azure-openai-responses`). -## Testing Guidelines +## Testing & Lint - No dedicated test framework is currently configured. -- Use `bun run build` as a basic safety check for UI changes. +- Use `bun run build` (runs frontend TypeScript check + Vite build) as basic safety check for UI changes. - For backend changes, run `bun run dev` or `bun run dev:worker` and validate with the API Test page. +- Frontend lint: `cd frontend && bun run lint` (ESLint with react-hooks and react-refresh rules). ## Commit & Pull Request Guidelines - No formal commit conventions are documented in-repo; use clear, imperative messages (e.g., "Add responses proxy").