Frontend
React SPA using Vite, TanStack Router/Query, Tailwind, shadcn/ui, XState Store, and Zod. Root `CLAUDE.md` owns compatibility and delivery; this file adds web conventions.
## Ownership and Contracts
- Domain features live
No other project uses it yet
2.8k2mo agoReviewMountCreate a free account to mount
repo.
## Overview
OpenAlgo is a production algorithmic trading platform: Flask backend, React 19
frontend. It is **several products in one self-hosted instance**, all sharing a
single broker session
No other project uses it yet
2.8k2mo agoReviewMountCreate a free account to mount
keep indentation ≤3 levels and functions single-purpose.
- Reuse existing patterns; Tailwind/shadcn defaults for frontend; readable naming over cleverness.
- Comments only when intent is non-obvious; keep them short.
- Enforce
No other project uses it yet
2.8k10mo agoReviewMountCreate a free account to mount
host that agents reach over the network.
## Build, run, test
```bash
make build # Builds frontend (React/Vite) then Go binary → ./agent-vault
make web-dev # Frontend-only hot reload (Vite
2.3k8mo agoReviewMountCreate a free account to mount
configs/mcp-gateway.yaml
go run cmd/mock-server/main.go
# Configuration testing
go run cmd/mcp-gateway/main.go test -c configs/mcp-gateway.yaml
```
### Web Frontend
```bash
cd web/
pnpm run dev # development server
pnpm run build # production build
pnpm run lint
2.2k18mo agoReviewMountCreate a free account to mount
tauri build # Linux/Windows build
pnpm dev # Start Vite dev server only
pnpm build # Build frontend with TypeScript checking
pnpm lint # Run ESLint
```
## Branch Strategy
```
main ← 릴리즈 전용 (사용자가 GitHub에서 보는
2.2k5mo agoReviewMountCreate a free account to mount
team)
- `publish: true` (only if template should appear in dashboard)
### Visual and Content Requirements
- **Frontend Component**: Must have visual UI that clearly demonstrates functionality
- **Preview Image**: Required 16:9 aspect
2.1k11mo agoReviewMountCreate a free account to mount
Apps Component Framework (PCF)
Each PCF control is a self-contained project with TypeScript/React frontend and MSBuild packaging.
**Basic Commands:**
```bash
cd component-framework/[ControlName]
# Install dependencies
npm install
# Build
2k11mo agoReviewMountCreate a free account to mount
Project Guidelines
1. All code comments must be written in English.
2. Frontend changes must consider internationalization and include both Chinese and English user-facing text where applicable.
3. When
1.7k6mo agoReviewMountCreate a free account to mount
agent state pattern** where state lives in the agent and syncs to the frontend.
## Architecture
This is a **Turborepo monorepo** with three apps:
### Repository Structure
```
apps/
├── app/ # Next.js frontend
1.6k6mo agoReviewMountCreate a free account to mount
docs/checklists/pre-commit.md](docs/checklists/pre-commit.md).** Read it before any commit that touches Rust, the MCP server, the frontend, or release surfaces — it covers manifest sync, MCPB bundle guards, fmt/clippy/test, Unix-only-API gating
1.5k2mo agoReviewMountCreate a free account to mount
A file Claude Code reads at the start of every session. It holds the commands, conventions and warnings the agent needs for this project.
Where does it go?
At the repository root. Claude Code also reads CLAUDE.md files in subdirectories when it works there.
What should it contain?
Build and test commands, the project's layout, conventions that aren't obvious from the code, and mistakes to avoid. Short files tend to work better than long ones.
CLAUDE.md or AGENTS.md?
Claude Code reads CLAUDE.md; most other agents read AGENTS.md. Many projects keep one and point the other at it.