dsh-quay-bot 0.0.0-stage → 0.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/README.md +36 -2
  2. package/avatar/LICENSE +21 -0
  3. package/avatar/build.mjs +81 -0
  4. package/avatar/catalog.json +421 -0
  5. package/avatar/dist/avatar-engine.js +1 -0
  6. package/avatar/gallery/droid.json +14 -0
  7. package/avatar/gallery/ghost.json +14 -0
  8. package/avatar/gallery/grok-pod.json +14 -0
  9. package/avatar/gallery/guardian.json +14 -0
  10. package/avatar/gallery/mecha.json +14 -0
  11. package/avatar/gallery/mochi.json +14 -0
  12. package/avatar/gallery/neko.json +14 -0
  13. package/avatar/gallery/orbiter.json +14 -0
  14. package/avatar/gallery/relay.json +14 -0
  15. package/avatar/gallery/spark.json +14 -0
  16. package/avatar/src/bot/clay.ts +135 -0
  17. package/avatar/src/bot/effects.ts +100 -0
  18. package/avatar/src/bot/grok-bot.ts +626 -0
  19. package/avatar/src/bot/index.ts +15 -0
  20. package/avatar/src/bot/palettes.ts +62 -0
  21. package/avatar/src/bot/ring.ts +219 -0
  22. package/avatar/src/bot/scheduler.ts +239 -0
  23. package/avatar/src/bot/shapes.ts +277 -0
  24. package/avatar/src/bot/spring.ts +196 -0
  25. package/avatar/src/core/color.ts +92 -0
  26. package/avatar/src/core/eyes.ts +297 -0
  27. package/avatar/src/core/field.ts +482 -0
  28. package/avatar/src/core/frame.ts +655 -0
  29. package/avatar/src/core/fx.ts +375 -0
  30. package/avatar/src/core/index.ts +49 -0
  31. package/avatar/src/core/paint.ts +331 -0
  32. package/avatar/src/core/path.ts +495 -0
  33. package/avatar/src/core/pose.ts +581 -0
  34. package/avatar/src/core/svg.ts +98 -0
  35. package/avatar/src/core/types.ts +153 -0
  36. package/avatar/src/core/validate.ts +296 -0
  37. package/avatar/src/core/volume.ts +681 -0
  38. package/avatar/src/entry.ts +260 -0
  39. package/botscreen/__init__.py +2 -0
  40. package/botscreen/__main__.py +5 -0
  41. package/botscreen/artifacts.py +388 -0
  42. package/botscreen/audit.py +94 -0
  43. package/botscreen/botscreen/__init__.py +2 -0
  44. package/botscreen/botscreen/__main__.py +5 -0
  45. package/botscreen/botscreen/artifacts.py +388 -0
  46. package/botscreen/botscreen/audit.py +94 -0
  47. package/botscreen/botscreen/cgroup.py +293 -0
  48. package/botscreen/botscreen/config.py +320 -0
  49. package/botscreen/botscreen/desktop/assets/chrome.png +0 -0
  50. package/botscreen/botscreen/desktop/assets/codex.png +0 -0
  51. package/botscreen/botscreen/desktop/assets/drive.png +0 -0
  52. package/botscreen/botscreen/desktop/assets/folder.png +0 -0
  53. package/botscreen/botscreen/desktop/assets/search.png +0 -0
  54. package/botscreen/botscreen/desktop/assets/terminal.png +0 -0
  55. package/botscreen/botscreen/desktop/assets/trash.png +0 -0
  56. package/botscreen/botscreen/desktop/assets/wallpaper.png +0 -0
  57. package/botscreen/botscreen/desktop.py +244 -0
  58. package/botscreen/botscreen/driver.py +832 -0
  59. package/botscreen/botscreen/gateway.py +2089 -0
  60. package/botscreen/botscreen/iconlayer.py +841 -0
  61. package/botscreen/botscreen/mcp_server.py +435 -0
  62. package/botscreen/botscreen/resources.py +494 -0
  63. package/botscreen/botscreen/screen.py +1282 -0
  64. package/botscreen/botscreen/session.py +706 -0
  65. package/botscreen/botscreen/state.py +330 -0
  66. package/botscreen/botscreen/streamer.py +388 -0
  67. package/botscreen/cgroup.py +293 -0
  68. package/botscreen/config.py +320 -0
  69. package/botscreen/desktop/assets/chrome.png +0 -0
  70. package/botscreen/desktop/assets/codex.png +0 -0
  71. package/botscreen/desktop/assets/drive.png +0 -0
  72. package/botscreen/desktop/assets/folder.png +0 -0
  73. package/botscreen/desktop/assets/search.png +0 -0
  74. package/botscreen/desktop/assets/terminal.png +0 -0
  75. package/botscreen/desktop/assets/trash.png +0 -0
  76. package/botscreen/desktop/assets/wallpaper.png +0 -0
  77. package/botscreen/desktop.py +244 -0
  78. package/botscreen/driver.py +832 -0
  79. package/botscreen/gateway.py +2089 -0
  80. package/botscreen/iconlayer.py +841 -0
  81. package/botscreen/mcp_server.py +435 -0
  82. package/botscreen/requirements.txt +8 -0
  83. package/botscreen/resources.py +494 -0
  84. package/botscreen/screen.py +1282 -0
  85. package/botscreen/session.py +706 -0
  86. package/botscreen/state.py +330 -0
  87. package/botscreen/streamer.py +388 -0
  88. package/builtin-skills/artifact-delivery/SKILL.md +33 -0
  89. package/builtin-skills/bot-team-control/SKILL.md +85 -0
  90. package/builtin-skills/browser-desktop-automation/SKILL.md +84 -0
  91. package/builtin-skills/memory-hygiene/SKILL.md +24 -0
  92. package/builtin-skills/room-completion/SKILL.md +30 -0
  93. package/builtin-skills/scheduled-routines/SKILL.md +79 -0
  94. package/builtin-skills/team-collaboration/SKILL.md +28 -0
  95. package/client.js +8480 -0
  96. package/cordis.patch.yml +3 -0
  97. package/docs/DETAIL.md +58 -0
  98. package/docs/remote-dialog.png +0 -0
  99. package/host/api.js +2699 -0
  100. package/host/approvals.js +458 -0
  101. package/host/artifacts.js +242 -0
  102. package/host/avatar.js +355 -0
  103. package/host/channels.js +412 -0
  104. package/host/cron.js +200 -0
  105. package/host/dispatch.js +907 -0
  106. package/host/isolation.js +1060 -0
  107. package/host/mcp.js +494 -0
  108. package/host/memory/catalog.js +323 -0
  109. package/host/memory/installer.js +250 -0
  110. package/host/memory/manager.js +553 -0
  111. package/host/memory/protocol.js +164 -0
  112. package/host/memory/providers/builtin/index.js +43 -0
  113. package/host/memory/providers/builtin/plugin.json +20 -0
  114. package/host/memory/providers/local_sqlite/index.js +121 -0
  115. package/host/memory/providers/local_sqlite/plugin.json +31 -0
  116. package/host/memory/providers/memory_tencentdb/client.js +129 -0
  117. package/host/memory/providers/memory_tencentdb/fallback.js +456 -0
  118. package/host/memory/providers/memory_tencentdb/index.js +478 -0
  119. package/host/memory/providers/memory_tencentdb/plugin.json +78 -0
  120. package/host/models.js +210 -0
  121. package/host/persona.js +281 -0
  122. package/host/qr.js +436 -0
  123. package/host/remote.js +442 -0
  124. package/host/room-locks.js +224 -0
  125. package/host/room-protocol.js +759 -0
  126. package/host/rooms.js +1916 -0
  127. package/host/routines.js +280 -0
  128. package/host/scheduler/deliver.js +89 -0
  129. package/host/scheduler/executor.js +330 -0
  130. package/host/scheduler/model.js +191 -0
  131. package/host/scheduler/runs.js +126 -0
  132. package/host/scheduler/schedule.js +223 -0
  133. package/host/scheduler/scheduler.js +334 -0
  134. package/host/scheduler/service.js +320 -0
  135. package/host/screen.js +1768 -0
  136. package/host/store.js +832 -0
  137. package/icon.svg +14 -0
  138. package/index.js +1832 -0
  139. package/locale/en.json +7 -0
  140. package/locale/zh.json +7 -0
  141. package/package.json +53 -4
  142. package/remote/bin/dsh-remote.mjs +418 -0
  143. package/remote/package.json +27 -0
  144. package/remote/src/config.mjs +183 -0
  145. package/remote/src/crypto.mjs +220 -0
  146. package/remote/src/keys.mjs +226 -0
  147. package/remote/src/proxy.mjs +1028 -0
  148. package/remote/src/sessions.mjs +163 -0
  149. package/remote/src/shim.js +838 -0
  150. package/remote/src/supervisor.mjs +207 -0
  151. package/remote/src/tunnel.mjs +489 -0
  152. package/remote/src/upstream.mjs +372 -0
  153. package/remote/src/util.mjs +139 -0
  154. package/remote/src/ws.mjs +313 -0
  155. package/requirements.txt +8 -0
  156. package/vendor/pip/pip-25.1.1-py3-none-any.whl +0 -0
  157. package/vendor/pip/setuptools-78.1.1-py3-none-any.whl +0 -0
package/README.md CHANGED
@@ -1,3 +1,37 @@
1
- # Temporary Holding Version
1
+ # @local/dsh-botmode
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ DeepSeek Harness 的 Bot 团队模式插件(Host + Web Client 双半区,v0.6.0)。
4
+
5
+ - 每个 Bot 独立目录、SOUL/MEMORY、永久私聊会话,以及**按房间隔离的隐藏 Group Session**(支持配置房间共享工程目录 `workDir`)
6
+ - 每个 Bot 可单独绑定模型:DSH 默认(空绑定,下一轮重新读取)、provider/model、思考档位;模型目录标出是否支持图片输入
7
+ - Bot 聊天可发图片(PNG/JPEG/WebP/GIF),纯文本模型由 Host 在入队前拒绝
8
+ - `message_agent` 异步队友消息(会话级 FIFO、跳数护栏 `MAX_AGENT_HOPS=4`、同链去重、回信降级、>16k 落盘、群聊隐藏会话严格禁止)
9
+ - **Hermes 底座 + 终态驱动全异步 Actor 并发群聊(Group Room)**:
10
+ - 2–6 人,支持 `auto`(并发协作 / `@` 接力)/ `everyone`(全员并发审阅)/ `lead`(Lead 统筹派工与验收)
11
+ - **全异步 `BotActor` 总线 + 快照水位线防漏看**:空闲 Bot 并发响应消除慢 Bot 木桶效应;提交前锁定 `snapshotSeq` + `selfSentSeqs` 跳过集,杜绝并发漏看;精准 `@` 他人消息零 Token 推进水位线
12
+ - **3 种显式业务终态(默认无回合数硬切)**:`completed`(仅显式调用 `room_finish_task` 触发,绝不靠正文正则误判)、`settled`(全员 `(pass)` 且无在途任务/待审批)、`waiting_user`(`@user` 询问,或局部挂起等待工具审批 / `ask_user_question`,不阻塞其他并行成员)
13
+ - **3 个病态异常探针兜底**:连续 5 轮纯文本零工具/零改文件/零认领空转软暂停(`idle_spin`)、单 Bot 连续 3 次重复报错指纹局部暂停并广播排障求助(`paused_error`)、软 Token 预算检查点(`token_budget`,点继续无损续跑)
14
+ - **共享任务板与文件软锁 + 分轨流式渲染**:`claim_subtask(taskId, paths)` 配合 DSH 工具拦截层软锁防并发覆写文件;前端底部按 `botId` 分轨实时流式展示思考与工具状态,完成后按 `seq` 到达顺序固化入主聊天流;人类中途发言采用 **Soft Steer 软插话**(不强杀在途脚本,仅 `Stop` / `/stop` 全局强停)
15
+ - **全局可插拔团队记忆库(Memory Hub)**:
16
+ - 所有 Bot 共用一套全局激活的记忆库插件,按 `team_id` + `agent_id (= bot.id)` + `user_id` 严格隔离各 Bot 记忆
17
+ - 默认内置 `memory_tencentdb`(对接 v3 HTTP Gateway `127.0.0.1:8420`,支持 L0–L3 并行预取与异步写入、熔断保护,网关未启动时自动回退至 Node 22 原生 SQLite FTS5)
18
+ - 同时内置 `local_sqlite`(纯本地零依赖 SQLite FTS5)与 `builtin`(仅 `MEMORY.md`)
19
+ - 支持在页面或 `/botmode memory install` 一键下载、安装、配置、热切换与卸载其他记忆库插件
20
+ - Host 持久 Routines:cron 解析 + 冷会话唤醒,定时器在 `ctx.effect()` 内
21
+ - Bot 审批与提问桥:`approval/request`(once / session / always / deny)与 `user-questions/request`(`ask_user_question`)同时覆盖私聊与隐藏群聊会话
22
+
23
+ 安装(桌面端):
24
+
25
+ ```bash
26
+ dsh plugin --profile desktop install /path/to/dsh-bot/packages/dsh-botmode
27
+ ```
28
+
29
+ 状态根:`$DSH_HOME/botmode`。HTTP:`/botmode/api/state`、`/botmode/api/models`、`/botmode/api/memory`、`/botmode/api/image`、`/botmode/api/command`。
30
+
31
+ 测试:
32
+
33
+ ```bash
34
+ node packages/dsh-botmode/test/host.test.mjs
35
+ ```
36
+
37
+ 完整架构、命令表与限制见仓库根目录 [README.md](../../README.md)。
package/avatar/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Avatar Forge contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Build script for the embedded Image-bot (Avatar Forge) module.
3
+ *
4
+ * Outputs:
5
+ * 1. `avatar/dist/avatar-engine.js` — zero-dependency browser bundle (IIFE) exposing
6
+ * `<grok-bot>` and `window.__DSH_AVATAR_ENGINE__`.
7
+ * 2. `avatar/catalog.json` — static 19-avatar catalog + 12 clay palettes consumed by
8
+ * the zero-dependency Node Host (`host/avatar.js`) and `/botmode/api/avatar/catalog`.
9
+ *
10
+ * Usage:
11
+ * node packages/dsh-botmode/avatar/build.mjs
12
+ */
13
+ import { execFileSync } from 'node:child_process'
14
+ import { existsSync, mkdirSync, writeFileSync } from 'node:fs'
15
+ import { dirname, join, resolve } from 'node:path'
16
+ import { fileURLToPath } from 'node:url'
17
+ import { createRequire } from 'node:module'
18
+
19
+ const __dirname = dirname(fileURLToPath(import.meta.url))
20
+ const entryPath = join(__dirname, 'src', 'entry.ts')
21
+ const distDir = join(__dirname, 'dist')
22
+ const bundlePath = join(distDir, 'avatar-engine.js')
23
+ const catalogPath = join(__dirname, 'catalog.json')
24
+
25
+ const esbuildCandidates = [
26
+ process.env.ESBUILD_BIN,
27
+ resolve(__dirname, 'node_modules/.bin/esbuild'),
28
+ '/home/ubuntu/Desktop/Image-bot/node_modules/.bin/esbuild',
29
+ ].filter(Boolean)
30
+
31
+ const esbuildBin = esbuildCandidates.find((p) => existsSync(p))
32
+ if (!esbuildBin) {
33
+ throw new Error(`esbuild binary not found in: ${esbuildCandidates.join(', ')}`)
34
+ }
35
+
36
+ mkdirSync(distDir, { recursive: true })
37
+
38
+ // 1. Build browser IIFE bundle
39
+ execFileSync(esbuildBin, [
40
+ entryPath,
41
+ '--bundle',
42
+ '--format=iife',
43
+ '--global-name=__DSH_AVATAR_BUNDLE__',
44
+ '--target=es2020',
45
+ '--minify',
46
+ `--outfile=${bundlePath}`,
47
+ ], { stdio: 'inherit' })
48
+
49
+ // 2. Build a temporary CJS bundle to evaluate and emit `catalog.json` cleanly without tsx
50
+ const tmpCjs = join(distDir, '.catalog-gen.cjs')
51
+ execFileSync(esbuildBin, [
52
+ entryPath,
53
+ '--bundle',
54
+ '--platform=node',
55
+ '--format=cjs',
56
+ '--target=node20',
57
+ `--outfile=${tmpCjs}`,
58
+ ], { stdio: 'inherit' })
59
+
60
+ if (typeof globalThis.HTMLElement === 'undefined') {
61
+ globalThis.HTMLElement = class {}
62
+ }
63
+ const require = createRequire(import.meta.url)
64
+ const mod = require(tmpCjs)
65
+ const catalog = {
66
+ version: 1,
67
+ defaultAvatarId: mod.DEFAULT_AVATAR_ID,
68
+ defaultColor: mod.DEFAULT_AVATAR_COLOR,
69
+ defaultEyeColor: mod.DEFAULT_AVATAR_EYE_COLOR,
70
+ items: mod.ALL_AVATARS,
71
+ palettes: mod.PALETTES,
72
+ eyeSwatches: ['#151515', '#1b1b1b', '#ffffff', '#0a7cff', '#e11d48'],
73
+ materials: ['flat', 'fluffy'],
74
+ states: ['idle', 'thinking', 'working', 'waiting', 'blocked', 'done', 'alert'],
75
+ moods: mod.EXPRESSIONS,
76
+ }
77
+ writeFileSync(catalogPath, `${JSON.stringify(catalog, null, 2)}\n`, 'utf8')
78
+
79
+ // Clean up temporary CJS artifact
80
+ execFileSync('rm', ['-f', tmpCjs])
81
+ console.log(`Built avatar-engine.js and catalog.json (${catalog.items.length} avatars, ${catalog.palettes.length} palettes).`)
@@ -0,0 +1,421 @@
1
+ {
2
+ "version": 1,
3
+ "defaultAvatarId": "mochi",
4
+ "defaultColor": "#ff8a1f",
5
+ "defaultEyeColor": "#1b1b1b",
6
+ "items": [
7
+ {
8
+ "version": 1,
9
+ "id": "droid",
10
+ "name": "Droid",
11
+ "body": {
12
+ "path": "M37 14L63 14A18 18 0 0 1 81 32L81 38A18 18 0 0 1 63 56L37 56A18 18 0 0 1 19 38L19 32A18 18 0 0 1 37 14ZM45 52L55 52A4 4 0 0 1 59 56L59 58A4 4 0 0 1 55 62L45 62A4 4 0 0 1 41 58L41 56A4 4 0 0 1 45 52ZM40 59L60 59A12 12 0 0 1 72 71L72 76A12 12 0 0 1 60 88L40 88A12 12 0 0 1 28 76L28 71A12 12 0 0 1 40 59Z"
13
+ },
14
+ "eyes": {
15
+ "x": 50,
16
+ "y": 34,
17
+ "spacing": 17,
18
+ "scale": 1.08
19
+ }
20
+ },
21
+ {
22
+ "version": 1,
23
+ "id": "ghost",
24
+ "name": "Phantom",
25
+ "body": {
26
+ "path": "M24 50C24 27 35 12 50 12C65 12 76 27 76 50L77 78C77 84 72 87 67 87C62 87 60 83 58 80C56 84 53 87 50 87C47 87 44 84 42 80C40 83 38 87 33 87C28 87 23 84 23 78Z"
27
+ },
28
+ "eyes": {
29
+ "x": 50,
30
+ "y": 43,
31
+ "spacing": 16,
32
+ "scale": 1.15
33
+ }
34
+ },
35
+ {
36
+ "version": 1,
37
+ "id": "grok-pod",
38
+ "name": "Grok Pod",
39
+ "body": {
40
+ "path": "M14 46A36 33 0 1 1 86 46A36 33 0 1 1 14 46ZM34 70L66 70A8 8 0 0 1 74 78L74 78A8 8 0 0 1 66 86L34 86A8 8 0 0 1 26 78L26 78A8 8 0 0 1 34 70Z"
41
+ },
42
+ "eyes": {
43
+ "x": 50,
44
+ "y": 45,
45
+ "spacing": 18,
46
+ "scale": 1.15
47
+ }
48
+ },
49
+ {
50
+ "version": 1,
51
+ "id": "guardian",
52
+ "name": "Guardian",
53
+ "body": {
54
+ "path": "M50 11C59.82 11 75.62 13.67 81 20C86.38 26.33 85.58 42.13 84 51C82.42 59.87 76.38 69.98 71 76C65.62 82.02 56.65 89 50 89C43.35 89 34.38 82.02 29 76C23.62 69.98 17.58 59.87 16 51C14.42 42.13 13.62 26.33 19 20C24.38 13.67 40.18 11 50 11Z"
55
+ },
56
+ "eyes": {
57
+ "x": 50,
58
+ "y": 46,
59
+ "spacing": 17,
60
+ "scale": 1.12
61
+ }
62
+ },
63
+ {
64
+ "version": 1,
65
+ "id": "mecha",
66
+ "name": "Mecha",
67
+ "body": {
68
+ "path": "M42 20L58 20A22 22 0 0 1 80 42L80 60A22 22 0 0 1 58 82L42 82A22 22 0 0 1 20 60L20 42A22 22 0 0 1 42 20ZM17 36L17 36A7 7 0 0 1 24 43L24 59A7 7 0 0 1 17 66L17 66A7 7 0 0 1 10 59L10 43A7 7 0 0 1 17 36ZM83 36L83 36A7 7 0 0 1 90 43L90 59A7 7 0 0 1 83 66L83 66A7 7 0 0 1 76 59L76 43A7 7 0 0 1 83 36Z"
69
+ },
70
+ "eyes": {
71
+ "x": 50,
72
+ "y": 49,
73
+ "spacing": 17,
74
+ "scale": 1.1
75
+ }
76
+ },
77
+ {
78
+ "version": 1,
79
+ "id": "mochi",
80
+ "name": "Mochi",
81
+ "body": {
82
+ "path": "M50 14C56.65 14 65.46 15.25 71 20C76.54 24.75 82.47 36.4 85 44C87.53 51.6 89.22 61.35 87 68C84.78 74.65 76.86 82.83 71 86C65.14 89.17 56.65 88 50 88C43.35 88 34.86 89.17 29 86C23.14 82.83 15.22 74.65 13 68C10.78 61.35 12.47 51.6 15 44C17.53 36.4 23.46 24.75 29 20C34.54 15.25 43.35 14 50 14Z"
83
+ },
84
+ "eyes": {
85
+ "x": 50,
86
+ "y": 50,
87
+ "spacing": 17,
88
+ "scale": 1.15
89
+ }
90
+ },
91
+ {
92
+ "version": 1,
93
+ "id": "neko",
94
+ "name": "Neko",
95
+ "body": {
96
+ "path": "M16 54A34 31 0 1 1 84 54A34 31 0 1 1 16 54ZM20 42C17.02 39.88 17.88 15.84 21 14C24.12 12.16 42.14 25.03 42 29C41.86 32.97 22.98 44.13 20 42ZM80 42C82.98 39.88 82.12 15.84 79 14C75.88 12.16 57.86 25.03 58 29C58.14 32.97 77.03 44.13 80 42Z"
97
+ },
98
+ "eyes": {
99
+ "x": 50,
100
+ "y": 52,
101
+ "spacing": 17,
102
+ "scale": 1.1
103
+ }
104
+ },
105
+ {
106
+ "version": 1,
107
+ "id": "orbiter",
108
+ "name": "Orbiter",
109
+ "body": {
110
+ "path": "M23 49A27 27 0 1 1 77 49A27 27 0 1 1 23 49ZM46.92 42.4L51.37 41.3L55.81 40.35L60.17 39.57L64.41 38.98L68.47 38.57L72.29 38.36L75.84 38.35L79.05 38.53L81.91 38.91L84.36 39.47L86.38 40.22L87.94 41.14L89.03 42.23L89.62 43.46L89.72 44.82L89.32 46.3L88.42 47.88L87.04 49.54L85.19 51.25L82.9 52.99L80.2 54.75L77.12 56.49L73.69 58.21L69.97 59.87L66 61.46L61.82 62.96L57.5 64.34L53.08 65.6L48.63 66.7L44.19 67.65L39.83 68.43L35.59 69.02L31.53 69.43L27.71 69.64L24.16 69.65L20.95 69.47L18.09 69.09L15.64 68.53L13.62 67.78L12.06 66.86L10.97 65.77L10.38 64.54L10.28 63.18L10.68 61.7L11.58 60.12L12.96 58.46L14.81 56.75L17.1 55.01L19.8 53.25L22.88 51.51L26.31 49.79L30.03 48.13L34 46.54L38.18 45.04L42.5 43.66ZM44.86 49.71L41.2 50.79L37.65 51.91L34.26 53.06L31.06 54.22L28.11 55.37L25.42 56.51L23.05 57.62L21.02 58.68L19.35 59.68L18.06 60.62L17.18 61.46L16.71 62.22L16.66 62.87L17.03 63.41L17.81 63.83L19 64.13L20.57 64.3L22.52 64.34L24.81 64.25L27.42 64.03L30.32 63.69L33.46 63.22L36.81 62.64L40.32 61.95L43.96 61.16L47.67 60.27L51.41 59.32L55.14 58.29L58.8 57.21L62.35 56.09L65.74 54.94L68.94 53.78L71.89 52.63L74.58 51.49L76.95 50.38L78.98 49.32L80.65 48.32L81.94 47.38L82.82 46.54L83.29 45.78L83.34 45.13L82.97 44.59L82.19 44.17L81 43.87L79.43 43.7L77.48 43.66L75.19 43.75L72.58 43.97L69.68 44.31L66.54 44.78L63.19 45.36L59.68 46.05L56.04 46.84L52.33 47.73L48.59 48.68Z"
111
+ },
112
+ "eyes": {
113
+ "x": 50,
114
+ "y": 46,
115
+ "spacing": 15,
116
+ "scale": 1.05
117
+ }
118
+ },
119
+ {
120
+ "version": 1,
121
+ "id": "relay",
122
+ "name": "Relay",
123
+ "body": {
124
+ "path": "M40 30L60 30A24 24 0 0 1 84 54L84 62A24 24 0 0 1 60 86L40 86A24 24 0 0 1 16 62L16 54A24 24 0 0 1 40 30ZM49 16L51 16A4 4 0 0 1 55 20L55 30A4 4 0 0 1 51 34L49 34A4 4 0 0 1 45 30L45 20A4 4 0 0 1 49 16ZM43 15A7 7 0 1 1 57 15A7 7 0 1 1 43 15Z"
125
+ },
126
+ "eyes": {
127
+ "x": 50,
128
+ "y": 56,
129
+ "spacing": 18,
130
+ "scale": 1.12
131
+ }
132
+ },
133
+ {
134
+ "version": 1,
135
+ "id": "shape-blob",
136
+ "name": "Blob",
137
+ "body": {
138
+ "path": "M50 12C57.33 12 66.17 12.33 72 16C77.83 19.67 82.5 26.5 85 34C87.5 41.5 88.83 52.83 87 61C85.17 69.17 80.17 78.5 74 83C67.83 87.5 58 88 50 88C42 88 32.17 87.5 26 83C19.83 78.5 14.83 69.17 13 61C11.17 52.83 12.5 41.5 15 34C17.5 26.5 22.17 19.67 28 16C33.83 12.33 42.67 12 50 12Z"
139
+ },
140
+ "eyes": {
141
+ "x": 50,
142
+ "y": 50,
143
+ "spacing": 18,
144
+ "scale": 1.15
145
+ }
146
+ },
147
+ {
148
+ "version": 1,
149
+ "id": "shape-capsule",
150
+ "name": "Capsule",
151
+ "body": {
152
+ "path": "M43 17H57A33 33 0 0 1 90 50A33 33 0 0 1 57 83H43A33 33 0 0 1 10 50A33 33 0 0 1 43 17Z"
153
+ },
154
+ "eyes": {
155
+ "x": 50,
156
+ "y": 49,
157
+ "spacing": 18,
158
+ "scale": 1.1
159
+ }
160
+ },
161
+ {
162
+ "version": 1,
163
+ "id": "shape-circle",
164
+ "name": "Circle",
165
+ "body": {
166
+ "path": "M11 50A39 39 0 1 1 89 50A39 39 0 1 1 11 50Z"
167
+ },
168
+ "eyes": {
169
+ "x": 50,
170
+ "y": 48,
171
+ "spacing": 18,
172
+ "scale": 1.15
173
+ }
174
+ },
175
+ {
176
+ "version": 1,
177
+ "id": "shape-cloud",
178
+ "name": "Cloud",
179
+ "body": {
180
+ "path": "M24 76C17.83 74.1 12.9 70.59 11 66C9.1 61.41 9.94 51.59 12 47C14.06 42.41 20.83 41.12 24 37C27.17 32.88 27.88 24.17 32 21C36.12 17.83 44.3 16.84 50 17C55.7 17.16 63.88 18.83 68 22C72.12 25.17 72.83 33.04 76 37C79.17 40.96 85.94 42.41 88 47C90.06 51.59 90.9 61.41 89 66C87.1 70.59 82.18 74.1 76 76C69.83 77.9 58.23 78 50 78C41.77 78 30.18 77.9 24 76Z"
181
+ },
182
+ "eyes": {
183
+ "x": 50,
184
+ "y": 52,
185
+ "spacing": 17,
186
+ "scale": 1.05
187
+ }
188
+ },
189
+ {
190
+ "version": 1,
191
+ "id": "shape-droplet",
192
+ "name": "Droplet",
193
+ "body": {
194
+ "path": "M50 11C55.7 11 62.62 18.14 68 24C73.38 29.86 81.15 40.56 84 48C86.85 55.44 87.9 64.98 86 71C84.1 77.02 77.7 83.15 72 86C66.3 88.85 56.97 89 50 89C43.03 89 33.7 88.85 28 86C22.3 83.15 15.9 77.02 14 71C12.1 64.98 13.15 55.44 16 48C18.85 40.56 26.62 29.86 32 24C37.38 18.14 44.3 11 50 11Z"
195
+ },
196
+ "eyes": {
197
+ "x": 50,
198
+ "y": 57,
199
+ "spacing": 16,
200
+ "scale": 1.08
201
+ }
202
+ },
203
+ {
204
+ "version": 1,
205
+ "id": "shape-hexagon",
206
+ "name": "Hexagon",
207
+ "body": {
208
+ "path": "M40.47 15.5Q50 10 59.53 15.5L75.11 24.5Q84.64 30 84.64 41L84.64 59Q84.64 70 75.11 75.5L59.53 84.5Q50 90 40.47 84.5L24.89 75.5Q15.36 70 15.36 59L15.36 41Q15.36 30 24.89 24.5Z"
209
+ },
210
+ "eyes": {
211
+ "x": 50,
212
+ "y": 49,
213
+ "spacing": 17,
214
+ "scale": 1.1
215
+ }
216
+ },
217
+ {
218
+ "version": 1,
219
+ "id": "shape-sphere",
220
+ "name": "Sphere",
221
+ "body": {
222
+ "path": "M11 50A39 39 0 1 1 89 50A39 39 0 1 1 11 50Z"
223
+ },
224
+ "eyes": {
225
+ "x": 50,
226
+ "y": 48,
227
+ "spacing": 18,
228
+ "scale": 1.12
229
+ }
230
+ },
231
+ {
232
+ "version": 1,
233
+ "id": "shape-squircle",
234
+ "name": "Squircle",
235
+ "body": {
236
+ "path": "M88 50C88 54.32 87.94 61.42 87.84 64.41C87.75 67.41 87.57 68.52 87.38 69.96C87.19 71.41 86.88 72.95 86.59 74.05C86.31 75.15 85.87 76.42 85.48 77.32C85.1 78.21 84.52 79.27 84.03 80C83.54 80.74 82.82 81.61 82.22 82.22C81.61 82.82 80.74 83.54 80 84.03C79.27 84.52 78.21 85.1 77.32 85.48C76.42 85.87 75.15 86.31 74.05 86.59C72.95 86.88 71.41 87.19 69.96 87.38C68.52 87.57 67.41 87.75 64.41 87.84C61.42 87.94 54.32 88 50 88C45.68 88 38.58 87.94 35.59 87.84C32.59 87.75 31.48 87.57 30.04 87.38C28.59 87.19 27.05 86.88 25.95 86.59C24.85 86.31 23.58 85.87 22.68 85.48C21.79 85.1 20.73 84.52 20 84.03C19.26 83.54 18.39 82.82 17.78 82.22C17.18 81.61 16.46 80.74 15.97 80C15.48 79.27 14.9 78.21 14.52 77.32C14.13 76.42 13.69 75.15 13.41 74.05C13.12 72.95 12.81 71.41 12.62 69.96C12.43 68.52 12.25 67.41 12.16 64.41C12.06 61.42 12 54.32 12 50C12 45.68 12.06 38.58 12.16 35.59C12.25 32.59 12.43 31.48 12.62 30.04C12.81 28.59 13.12 27.05 13.41 25.95C13.69 24.85 14.13 23.58 14.52 22.68C14.9 21.79 15.48 20.73 15.97 20C16.46 19.26 17.18 18.39 17.78 17.78C18.39 17.18 19.26 16.46 20 15.97C20.73 15.48 21.79 14.9 22.68 14.52C23.58 14.13 24.85 13.69 25.95 13.41C27.05 13.12 28.59 12.81 30.04 12.62C31.48 12.43 32.59 12.25 35.59 12.16C38.58 12.06 45.68 12 50 12C54.32 12 61.42 12.06 64.41 12.16C67.41 12.25 68.52 12.43 69.96 12.62C71.41 12.81 72.95 13.12 74.05 13.41C75.15 13.69 76.42 14.13 77.32 14.52C78.21 14.9 79.27 15.48 80 15.97C80.74 16.46 81.61 17.18 82.22 17.78C82.82 18.39 83.54 19.26 84.03 20C84.52 20.73 85.1 21.79 85.48 22.68C85.87 23.58 86.31 24.85 86.59 25.95C86.88 27.05 87.19 28.59 87.38 30.04C87.57 31.48 87.75 32.59 87.84 35.59C87.94 38.58 88 45.68 88 50Z"
237
+ },
238
+ "eyes": {
239
+ "x": 50,
240
+ "y": 48,
241
+ "spacing": 18,
242
+ "scale": 1.15
243
+ }
244
+ },
245
+ {
246
+ "version": 1,
247
+ "id": "shape-star",
248
+ "name": "Star",
249
+ "body": {
250
+ "path": "M44.26 16.93Q50 10 55.74 16.93L60.13 22.23Q65.87 29.16 74.24 32.48L80.63 35.01Q88.99 38.33 84.18 45.93L80.5 51.74Q75.68 59.34 75.11 68.33L74.67 75.19Q74.1 84.17 65.38 81.94L58.72 80.23Q50 78 41.28 80.23L34.62 81.94Q25.9 84.17 25.33 75.19L24.89 68.33Q24.32 59.34 19.5 51.74L15.82 45.93Q11.01 38.33 19.37 35.01L25.76 32.48Q34.13 29.16 39.87 22.23Z"
251
+ },
252
+ "eyes": {
253
+ "x": 50,
254
+ "y": 51,
255
+ "spacing": 15,
256
+ "scale": 0.96
257
+ }
258
+ },
259
+ {
260
+ "version": 1,
261
+ "id": "spark",
262
+ "name": "Spark",
263
+ "body": {
264
+ "path": "M50 10C53.6 10 56 28 62 34C68 40 90 45.2 90 50C90 54.8 68 60 62 66C56 72 53.6 90 50 90C46.4 90 44 72 38 66C32 60 10 54.8 10 50C10 45.2 32 40 38 34C44 28 46.4 10 50 10Z"
265
+ },
266
+ "eyes": {
267
+ "x": 50,
268
+ "y": 50,
269
+ "spacing": 15,
270
+ "scale": 1.05
271
+ }
272
+ }
273
+ ],
274
+ "palettes": [
275
+ {
276
+ "id": "coral",
277
+ "name": "赤陶橙",
278
+ "base": "#ff6a1a",
279
+ "highlight": "#ffd4b8",
280
+ "shadow": "#8c2800",
281
+ "eye": "#141622",
282
+ "accent": "#ffaa66"
283
+ },
284
+ {
285
+ "id": "cobalt",
286
+ "name": "钴蓝",
287
+ "base": "#2563eb",
288
+ "highlight": "#bfdbfe",
289
+ "shadow": "#132a73",
290
+ "eye": "#fafaff",
291
+ "accent": "#60a5fa"
292
+ },
293
+ {
294
+ "id": "emerald",
295
+ "name": "薄荷翠",
296
+ "base": "#10b981",
297
+ "highlight": "#ccfbf1",
298
+ "shadow": "#064e3b",
299
+ "eye": "#141622",
300
+ "accent": "#5eead4"
301
+ },
302
+ {
303
+ "id": "amber",
304
+ "name": "琥珀金",
305
+ "base": "#f59e0b",
306
+ "highlight": "#fef3c7",
307
+ "shadow": "#78350f",
308
+ "eye": "#141622",
309
+ "accent": "#fcd34d"
310
+ },
311
+ {
312
+ "id": "crimson",
313
+ "name": "绯红",
314
+ "base": "#ef4444",
315
+ "highlight": "#fecaca",
316
+ "shadow": "#7f1d1d",
317
+ "eye": "#fafaff",
318
+ "accent": "#fca5a5"
319
+ },
320
+ {
321
+ "id": "violet",
322
+ "name": "暮紫",
323
+ "base": "#8b5cf6",
324
+ "highlight": "#ede9fe",
325
+ "shadow": "#4c1d95",
326
+ "eye": "#fafaff",
327
+ "accent": "#c4b5fd"
328
+ },
329
+ {
330
+ "id": "teal",
331
+ "name": "深海青",
332
+ "base": "#0d9488",
333
+ "highlight": "#ccfbf1",
334
+ "shadow": "#11423e",
335
+ "eye": "#fafaff",
336
+ "accent": "#2dd4bf"
337
+ },
338
+ {
339
+ "id": "rose",
340
+ "name": "蔷薇粉",
341
+ "base": "#ec4899",
342
+ "highlight": "#fce7f3",
343
+ "shadow": "#831843",
344
+ "eye": "#fafaff",
345
+ "accent": "#f9a8d4"
346
+ },
347
+ {
348
+ "id": "indigo",
349
+ "name": "靛青",
350
+ "base": "#4f46e5",
351
+ "highlight": "#e0e7ff",
352
+ "shadow": "#1e1b4b",
353
+ "eye": "#fafaff",
354
+ "accent": "#818cf8"
355
+ },
356
+ {
357
+ "id": "lime",
358
+ "name": "青柠",
359
+ "base": "#84cc16",
360
+ "highlight": "#f7fee7",
361
+ "shadow": "#365314",
362
+ "eye": "#141622",
363
+ "accent": "#bef264"
364
+ },
365
+ {
366
+ "id": "obsidian",
367
+ "name": "黑曜石",
368
+ "base": "#27272a",
369
+ "highlight": "#71717a",
370
+ "shadow": "#09090b",
371
+ "eye": "#fafaff",
372
+ "accent": "#a1a1aa"
373
+ },
374
+ {
375
+ "id": "pearl",
376
+ "name": "陶瓷白",
377
+ "base": "#ede9e2",
378
+ "highlight": "#ffffff",
379
+ "shadow": "#9c9284",
380
+ "eye": "#141622",
381
+ "accent": "#ff6a1a"
382
+ }
383
+ ],
384
+ "eyeSwatches": [
385
+ "#151515",
386
+ "#1b1b1b",
387
+ "#ffffff",
388
+ "#0a7cff",
389
+ "#e11d48"
390
+ ],
391
+ "materials": [
392
+ "flat",
393
+ "fluffy"
394
+ ],
395
+ "states": [
396
+ "idle",
397
+ "thinking",
398
+ "working",
399
+ "waiting",
400
+ "blocked",
401
+ "done",
402
+ "alert"
403
+ ],
404
+ "moods": [
405
+ "neutral",
406
+ "happy",
407
+ "joy",
408
+ "love",
409
+ "surprised",
410
+ "curious",
411
+ "skeptical",
412
+ "sleepy",
413
+ "bored",
414
+ "sad",
415
+ "angry",
416
+ "focused",
417
+ "confused",
418
+ "shy",
419
+ "smug"
420
+ ]
421
+ }