Commit Graph
4 Commits
Author SHA1 Message Date
科林_Cyril Pilgrim 1a8ecc3ee1 polish(ui): clean up server panel markup and i18n for add-server section
Motivation:
The add-server section used inline styles instead of semantic classes, and the delete/cancel buttons lacked proper i18n keys and semantic CSS class names.

Implementation:
Moved inline flex styles for 'add-server-inline' and 'add-server-panel' into CSS classes. Added data-i18n-placeholder attributes to new server inputs. Replaced raw class 'btn-icon danger' with 'btn-danger btn-icon' on delete button. Added missing 'data-i18n=cancel' to the cancel button.
2026-03-08 18:10:53 +08:00
科林_Cyril Pilgrim bc4097ac2d refactor(backend): support multi-server workflow isolation and registry mapping
Motivation:
The backend previously assumed a single global ComfyUI server, making it impossible to switch between environments or add remote nodes.

Implementation:
Refactored UIStorageService and scripts to organize workflows into server-specific subdirectories. Introduced ServerModel and runtime configuration loader to handle multi-server routing.
2026-03-08 17:40:03 +08:00
科林_Cyril Pilgrim 8aae5ad119 feat(ui/registry): implement native UI, i18n system and workflow toggle control
Motivation:
消除对繁重前端框架及外部 CDN 依赖的诉求,以大幅减少构建体积并提升原生性能;同时通过纯原生的中英双语切换和配置面板层级的工作流开关,增强 Agent 调度能力的安全过滤与本地化体验。

Implementation:
- 移除 Vite 静态资产库,全面起用零依赖的原生 HTML、基于 CSS 关键帧的 Toast 及 JS DOM 控制重构面板逻辑。
- 加入基于 localStorage 数据缓存、无侵入更新的纯原生即时多语言字典。
- 后端 (app.py) 增设对于工作流配置的 'enabled' 判断及支持热插拔修改的 API '/toggle' 接口。
- 基础侧 (registry.py) 修改字典表遍历条件,实现对无效/弃用配置在大模型面前的物理隔离。
- 重构全量技能模板 (SKILL.md) 为英文并替换绝对路径为相对路径以利于发布。
2026-03-07 23:26:59 +08:00
科林_Cyril Pilgrim 33beec15d9 feat: scaffold ComfyUI OpenClaw skill and document workflow requirements
- add runnable local bridge (registry/client/ui scaffold)\n- add sample workflow/schema structure and dependencies\n- document API-format export requirement\n- document Save Image end-node requirement for stable outputs
2026-03-07 14:24:35 +08:00