feat: 添加视觉设计语言系统并重构认证页面UI
- 新增 visual_design_language.md 设计规范文档 - 新增 auth 设计 tokens (authBackground, authCard, authInput, feedback 系列等) - 重构登录/注册/验证码/重置密码页面为新设计系统 - 新增 AuthHeroHeader, AuthSurfaceCard, AuthSection, AuthField, PasswordField 组件 - 重构 AppBanner 和 Toast 支持多类型配置 (info/success/warning/error) - 后端 AgentScope: 重整 schemas/prompts/tools 作用域, 新增协议文档 - 更新 AGENTS.md 集成视觉设计语言约束
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
# System Agents Protocol
|
||||
|
||||
> **NOTE**: This document is the single source of truth. All implementations must follow this specification.
|
||||
|
||||
## Overview
|
||||
|
||||
System agent configuration for LLM parameters.
|
||||
|
||||
## Version
|
||||
|
||||
- **Current**: `1.0`
|
||||
- **Status**: Active
|
||||
|
||||
---
|
||||
|
||||
## LLM Configuration
|
||||
|
||||
```typescript
|
||||
interface SystemAgentLLMConfig {
|
||||
temperature?: number; // 0.0 - 2.0
|
||||
max_tokens?: number; // >= 1
|
||||
timeout_seconds?: number; // > 0, <= 300, default 30
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Database Field
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| config | jsonb | LLM configuration including temperature, max_tokens, timeout |
|
||||
|
||||
---
|
||||
|
||||
## JSON Examples
|
||||
|
||||
### Default Configuration
|
||||
|
||||
```json
|
||||
{
|
||||
"temperature": 0.7,
|
||||
"max_tokens": null,
|
||||
"timeout_seconds": 30
|
||||
}
|
||||
```
|
||||
|
||||
### Creative Configuration
|
||||
|
||||
```json
|
||||
{
|
||||
"temperature": 1.2,
|
||||
"max_tokens": 2000,
|
||||
"timeout_seconds": 60
|
||||
}
|
||||
```
|
||||
|
||||
### Precise Configuration
|
||||
|
||||
```json
|
||||
{
|
||||
"temperature": 0.1,
|
||||
"max_tokens": 500,
|
||||
"timeout_seconds": 30
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user