Auto-sync: 2026-04-17 19:17

This commit is contained in:
2026-04-17 19:17:27 +08:00
parent a1c4f6495b
commit 52c143d5e4
49 changed files with 1444 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
---
id: 文件驱动UI
title: 文件驱动 UI (File-system-first UI)
type: concept
tags: [UI, Agent, 架构]
sources:
- raw/Agent/usecases/local-crm-framework.md
last_updated: 2026-04-17
---
## Definition
将 UI 配置(过滤器、视图、列设置等)存储为文件系统中的 YAML/Markdown 文件,使 AI Agent 能像编辑代码一样直接读取和修改 UI 界面的设计模式。
## Mechanism
所有 UI 相关设置都是文件Agent 可以通过文件系统操作直接修改界面,无需 API 包装器或数据库更新。
## Benefits
- Agent 可以直接修改 UI与修改代码无异
- 版本控制友好
- 无需额外的 UI 更新 API
- 配置可复用和共享
## Examples
- 表过滤器YAML 文件定义
- 视图配置Markdown 文件存储
- 列显示/隐藏YAML 文件控制
- 日历设置YAML 文件管理
## Related
- [[DenchClaw]]:采用此模式的 CRM 框架
- [[Local CRM Framework with DenchClaw]]