| name | cloe-desktop-action |
| description | Cloe Desktop 桌面角色伴侣使用指南——动作触发、TTS语音、Canvas画布、嵌入终端、特效、GIF生成 |
Cloe Desktop 使用指南
Cloe Desktop 是基于 Electron + xterm.js + Excalidraw 的桌面角色伴侣,通过 HTTP bridge API 控制角色动作、语音、画布和嵌入终端。
前置条件
curl -s http://localhost:19851/status
模块索引
快速参考
curl -s http://localhost:19851/actions
curl -s http://localhost:19851/action -d '{"action":"wave"}'
python3 ~/.hermes/skills/creative/cloe-desktop-action/scripts/generate_tts.py --text "你好" --speak
curl -s -X POST http://localhost:19851/canvas/show -H 'Content-Type: application/json' -d '{"mode":"canvas"}'
curl -s -X POST http://localhost:19851/canvas/hide
curl -s -X POST http://localhost:19851/canvas/excalidraw/draw -H 'Content-Type: application/json' -d '{"elements":[...]}'
curl -s http://localhost:19851/canvas/excalidraw/scene
curl -s -X DELETE http://localhost:19851/canvas/excalidraw/scene
curl -s http://localhost:19851/character-layout
curl -s -X POST http://localhost:19851/character-layout -H 'Content-Type: application/json' \
-d '{"position":{"x":0.7,"y":1},"size":{"scale":1.2}}'
curl -s -X POST http://localhost:19851/reminders -H 'Content-Type: application/json' \
-d '{"name":"喝水","mode":"interval","duration":1800,"action":"wave"}'
curl -s -X POST http://localhost:19851/toggle-mute
curl -s -X POST http://localhost:19851/toggle-global-pause
curl -s -X POST http://localhost:19851/tasks -H 'Content-Type: application/json' -d '{"title":"写文档"}'
curl -s -X POST http://localhost:19851/tasks/TASK_ID/start
curl -s -X POST http://localhost:19851/weather/config -H 'Content-Type: application/json' -d '{"enabled":true,"provider":"open-meteo","city":"auto"}'
curl -s -X POST http://localhost:19851/weather/preview -H 'Content-Type: application/json' -d '{"weatherType":"rain"}'
curl -s -X POST http://localhost:19851/agent-sessions -H 'Content-Type: application/json' \
-d '{"source":"zcode","source_label":"ZCode","title":"Running tests"}'
curl -s -X POST http://localhost:19851/agent-sessions/SESSION_ID/turn-end -H 'Content-Type: application/json' -d '{}'
curl -s -X POST http://localhost:19851/agent-sessions/SESSION_ID/needs-decision -H 'Content-Type: application/json' -d '{}'
项目位置