# frontend **Repository Path**: minrag/frontend ## Basic Information - **Project Name**: frontend - **Description**: ไฝฟ็”จ coze็š„ https://github.com/coze-dev/coze-studio/tree/main/frontend - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2025-08-27 - **Last Updated**: 2025-08-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Coze Studio Frontend This is the frontend project of Coze Studio, an AI Agent development platform built with monorepo architecture, based on React 18 and modern frontend technology stack. ## ๐Ÿ—๏ธ Project Architecture ### Core Technology Stack - **Framework**: React 18 + TypeScript - **Build Tool**: Rsbuild - **Package Manager**: Rush + PNPM - **Routing**: React Router v6 - **State Management**: Zustand - **UI Components**: @coze-arch/coze-design - **Internationalization**: @coze-arch/i18n ### Directory Structure ``` frontend/ โ”œโ”€โ”€ apps/ # Application layer โ”‚ โ””โ”€โ”€ coze-studio/ # Main application โ”œโ”€โ”€ packages/ # Core packages โ”‚ โ”œโ”€โ”€ agent-ide/ # AI Agent development environment โ”‚ โ”œโ”€โ”€ arch/ # Architecture infrastructure โ”‚ โ”œโ”€โ”€ common/ # Common components and utilities โ”‚ โ”œโ”€โ”€ components/ # UI component library โ”‚ โ”œโ”€โ”€ data/ # Data layer โ”‚ โ”œโ”€โ”€ devops/ # DevOps tools โ”‚ โ”œโ”€โ”€ foundation/ # Foundation infrastructure โ”‚ โ”œโ”€โ”€ project-ide/ # Project development environment โ”‚ โ”œโ”€โ”€ studio/ # Studio core features โ”‚ โ””โ”€โ”€ workflow/ # Workflow engine โ”œโ”€โ”€ config/ # Configuration files โ”‚ โ”œโ”€โ”€ eslint-config/ # ESLint configuration โ”‚ โ”œโ”€โ”€ rsbuild-config/ # Rsbuild build configuration โ”‚ โ”œโ”€โ”€ ts-config/ # TypeScript configuration โ”‚ โ”œโ”€โ”€ postcss-config/ # PostCSS configuration โ”‚ โ”œโ”€โ”€ stylelint-config/ # Stylelint configuration โ”‚ โ”œโ”€โ”€ tailwind-config/ # Tailwind CSS configuration โ”‚ โ””โ”€โ”€ vitest-config/ # Vitest testing configuration โ””โ”€โ”€ infra/ # Infrastructure tools โ”œโ”€โ”€ idl/ # Interface Definition Language tools โ”œโ”€โ”€ plugins/ # Build plugins โ””โ”€โ”€ utils/ # Utility libraries ``` ## ๐Ÿš€ Quick Start ### Prerequisites - Node.js >= 21 - PNPM 8.15.8 - Rush 5.147.1 ### Install Dependencies ```bash # Run in project root directory rush install # update rush update ``` ### Development Mode ```bash # Start development server cd apps/coze-studio npm run dev # or use rushx rushx dev ``` ### Production Build ```bash # Build application cd apps/coze-studio npm run build # or use rushx rushx build ``` ## ๐Ÿ“ฆ Core Modules ### Agent IDE - **agent-ide**: AI Agent integrated development environment - **prompt**: Prompt editor - **tool**: Tool configuration management - **workflow**: Workflow integration ### Architecture Layer (arch) - **bot-api**: API interface layer - **bot-hooks**: React Hooks library - **foundation-sdk**: Foundation SDK - **i18n**: Internationalization support - **bot-flags**: Feature flags management - **web-context**: Web context utilities ### Workflow Engine (workflow) - **fabric-canvas**: Canvas rendering engine - **nodes**: Node component library - **sdk**: Workflow SDK - **playground**: Debug runtime environment ### Data Layer (data) - **knowledge**: Knowledge base management - **memory**: Memory system - **common**: Common data processing ## ๐Ÿ”ง Development Standards ### Code Quality - Code formatting with ESLint + Prettier - TypeScript strict mode - Unit test coverage requirements - Team-based tier management (level-1 to level-4) ### Team Collaboration - Rush-based monorepo management - Workspace dependency management - Unified build and release process ## ๐Ÿ“„ ๅŒๆญฅไปฃ็  ```shell #git clone https://github.com/coze-dev/coze-studio.git git clone https://gitee.com/minrag/coze-studio.git cd coze-studio ## ๅฎ‰่ฃ… git-filter-repo pip install git-filter-repo ### ๆŠฝๅ–frontendไฝœไธบๆ น้กน็›ฎ git filter-repo --path frontend/ --path-rename frontend/: ## ๆไบคๅˆฐ coze-fronten git remote add origin https://gitee.com/minrag/coze-frontend.git git push -f -u origin "main" git clone https://gitee.com/minrag/frontend.git cd frontend git remote add upstream https://gitee.com/minrag/coze-frontend.git git fetch upstream git merge upstream/main ```