mirror of
https://github.com/HuangYuChuh/ComfyUI_Skills_OpenClaw.git
synced 2026-07-30 19:49:07 +00:00
Motivation: 消除对繁重前端框架及外部 CDN 依赖的诉求,以大幅减少构建体积并提升原生性能;同时通过纯原生的中英双语切换和配置面板层级的工作流开关,增强 Agent 调度能力的安全过滤与本地化体验。 Implementation: - 移除 Vite 静态资产库,全面起用零依赖的原生 HTML、基于 CSS 关键帧的 Toast 及 JS DOM 控制重构面板逻辑。 - 加入基于 localStorage 数据缓存、无侵入更新的纯原生即时多语言字典。 - 后端 (app.py) 增设对于工作流配置的 'enabled' 判断及支持热插拔修改的 API '/toggle' 接口。 - 基础侧 (registry.py) 修改字典表遍历条件,实现对无效/弃用配置在大模型面前的物理隔离。 - 重构全量技能模板 (SKILL.md) 为英文并替换绝对路径为相对路径以利于发布。
28 lines
492 B
JSON
28 lines
492 B
JSON
{
|
|
"10": {
|
|
"inputs": {
|
|
"prompt": "",
|
|
"model": "doubao-seedream-4-0-250828",
|
|
"size": "1:1,2048x2048",
|
|
"num": 1,
|
|
"seed": 0
|
|
},
|
|
"class_type": "LightCCDoubaoImageNode",
|
|
"_meta": {
|
|
"title": "Doubao Image (Seedream)"
|
|
}
|
|
},
|
|
"11": {
|
|
"inputs": {
|
|
"filename_prefix": "ComfyUI",
|
|
"images": [
|
|
"10",
|
|
0
|
|
]
|
|
},
|
|
"class_type": "SaveImage",
|
|
"_meta": {
|
|
"title": "\u4fdd\u5b58\u56fe\u50cf"
|
|
}
|
|
}
|
|
} |