Files
nexus/wiki/concepts/文件驱动UI.md
2026-04-17 19:17:27 +08:00

959 B
Raw Blame History

id, title, type, tags, sources, last_updated
id title type tags sources last_updated
文件驱动UI 文件驱动 UI (File-system-first UI) concept
UI
Agent
架构
raw/Agent/usecases/local-crm-framework.md
2026-04-17

Definition

将 UI 配置(过滤器、视图、列设置等)存储为文件系统中的 YAML/Markdown 文件,使 AI Agent 能像编辑代码一样直接读取和修改 UI 界面的设计模式。

Mechanism

所有 UI 相关设置都是文件Agent 可以通过文件系统操作直接修改界面,无需 API 包装器或数据库更新。

Benefits

  • Agent 可以直接修改 UI与修改代码无异
  • 版本控制友好
  • 无需额外的 UI 更新 API
  • 配置可复用和共享

Examples

  • 表过滤器YAML 文件定义
  • 视图配置Markdown 文件存储
  • 列显示/隐藏YAML 文件控制
  • 日历设置YAML 文件管理