wezard 2.9.0 → 3.0.2

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 (477) hide show
  1. package/CLAUDE.md +43 -21
  2. package/README.md +37 -50
  3. package/cli/wezard.sh +59 -20
  4. package/config.example.jsonc +5 -8
  5. package/dist/cli/audit.js +11 -13
  6. package/dist/cli/audit.js.map +1 -1
  7. package/dist/cli/codex-hook.js +20 -17
  8. package/dist/cli/codex-hook.js.map +1 -1
  9. package/dist/cli/ext.js +271 -0
  10. package/dist/cli/ext.js.map +1 -0
  11. package/dist/cli/init.js +44 -13
  12. package/dist/cli/init.js.map +1 -1
  13. package/dist/cli/skills.js +113 -0
  14. package/dist/cli/skills.js.map +1 -0
  15. package/dist/cli/sync.js +3 -2
  16. package/dist/cli/sync.js.map +1 -1
  17. package/dist/cli/wx.js +7 -6
  18. package/dist/cli/wx.js.map +1 -1
  19. package/dist/daemon/aibot-media.js +28 -20
  20. package/dist/daemon/aibot-media.js.map +1 -1
  21. package/dist/daemon/apprentice.js +75 -0
  22. package/dist/daemon/apprentice.js.map +1 -0
  23. package/dist/daemon/approval.js +75 -33
  24. package/dist/daemon/approval.js.map +1 -1
  25. package/dist/daemon/channel-context.js +7 -0
  26. package/dist/daemon/channel-context.js.map +1 -1
  27. package/dist/daemon/channel-onboarding.js +61 -0
  28. package/dist/daemon/channel-onboarding.js.map +1 -0
  29. package/dist/daemon/channel-posts.js +93 -0
  30. package/dist/daemon/channel-posts.js.map +1 -0
  31. package/dist/daemon/channel-rebind.js +100 -0
  32. package/dist/daemon/channel-rebind.js.map +1 -0
  33. package/dist/daemon/channel-store.js.map +1 -1
  34. package/dist/daemon/channel.js +273 -409
  35. package/dist/daemon/channel.js.map +1 -1
  36. package/dist/daemon/chat-name.js +24 -161
  37. package/dist/daemon/chat-name.js.map +1 -1
  38. package/dist/daemon/claim.js +1 -45
  39. package/dist/daemon/claim.js.map +1 -1
  40. package/dist/daemon/classes.js +416 -0
  41. package/dist/daemon/classes.js.map +1 -0
  42. package/dist/daemon/config-api.js +6 -30
  43. package/dist/daemon/config-api.js.map +1 -1
  44. package/dist/daemon/control-socket.js +93 -0
  45. package/dist/daemon/control-socket.js.map +1 -0
  46. package/dist/daemon/danger-scrub.js +315 -0
  47. package/dist/daemon/danger-scrub.js.map +1 -0
  48. package/dist/daemon/danger.js +146 -16
  49. package/dist/daemon/danger.js.map +1 -1
  50. package/dist/daemon/detail.js +50 -22
  51. package/dist/daemon/detail.js.map +1 -1
  52. package/dist/daemon/exec-surface.js +108 -0
  53. package/dist/daemon/exec-surface.js.map +1 -0
  54. package/dist/daemon/external.js +595 -0
  55. package/dist/daemon/external.js.map +1 -0
  56. package/dist/daemon/handoff.js +51 -50
  57. package/dist/daemon/handoff.js.map +1 -1
  58. package/dist/daemon/http.js +119 -31
  59. package/dist/daemon/http.js.map +1 -1
  60. package/dist/daemon/idle-reap.js +30 -0
  61. package/dist/daemon/idle-reap.js.map +1 -0
  62. package/dist/daemon/inbound.js +436 -207
  63. package/dist/daemon/inbound.js.map +1 -1
  64. package/dist/daemon/index.js +3353 -2760
  65. package/dist/daemon/index.js.map +1 -1
  66. package/dist/daemon/last-response.js +51 -25
  67. package/dist/daemon/last-response.js.map +1 -1
  68. package/dist/daemon/legacy-panes.js +67 -0
  69. package/dist/daemon/legacy-panes.js.map +1 -0
  70. package/dist/daemon/mcp-http.js.map +1 -1
  71. package/dist/daemon/me-room.js +137 -0
  72. package/dist/daemon/me-room.js.map +1 -0
  73. package/dist/daemon/media.js +14 -0
  74. package/dist/daemon/media.js.map +1 -1
  75. package/dist/daemon/memory-steward.js +1 -1
  76. package/dist/daemon/memory-steward.js.map +1 -1
  77. package/dist/daemon/message-format.js +15 -2
  78. package/dist/daemon/message-format.js.map +1 -1
  79. package/dist/daemon/mirror-bridge.js +583 -488
  80. package/dist/daemon/mirror-bridge.js.map +1 -1
  81. package/dist/daemon/mirror-store.js +24 -0
  82. package/dist/daemon/mirror-store.js.map +1 -1
  83. package/dist/daemon/notices.js +5 -6
  84. package/dist/daemon/notices.js.map +1 -1
  85. package/dist/daemon/onboarding.js +459 -0
  86. package/dist/daemon/onboarding.js.map +1 -0
  87. package/dist/daemon/outbound.js +21 -11
  88. package/dist/daemon/outbound.js.map +1 -1
  89. package/dist/daemon/peers.js +39 -231
  90. package/dist/daemon/peers.js.map +1 -1
  91. package/dist/daemon/plan-http.js +2 -3
  92. package/dist/daemon/plan-http.js.map +1 -1
  93. package/dist/daemon/plans.js.map +1 -1
  94. package/dist/daemon/reach.js +1 -5
  95. package/dist/daemon/reach.js.map +1 -1
  96. package/dist/daemon/room-auto-adhoc.js +18 -0
  97. package/dist/daemon/room-auto-adhoc.js.map +1 -0
  98. package/dist/daemon/room-bind.js +297 -0
  99. package/dist/daemon/room-bind.js.map +1 -0
  100. package/dist/daemon/room-facts.js +35 -0
  101. package/dist/daemon/room-facts.js.map +1 -0
  102. package/dist/daemon/room-hub.js +569 -0
  103. package/dist/daemon/room-hub.js.map +1 -0
  104. package/dist/daemon/room-overdue.js +160 -0
  105. package/dist/daemon/room-overdue.js.map +1 -0
  106. package/dist/daemon/room-prune.js +74 -0
  107. package/dist/daemon/room-prune.js.map +1 -0
  108. package/dist/daemon/room-spawn.js +20 -0
  109. package/dist/daemon/room-spawn.js.map +1 -0
  110. package/dist/daemon/room-watchdog.js +175 -0
  111. package/dist/daemon/room-watchdog.js.map +1 -0
  112. package/dist/daemon/rooms.js +204 -0
  113. package/dist/daemon/rooms.js.map +1 -0
  114. package/dist/daemon/route.js +7 -18
  115. package/dist/daemon/route.js.map +1 -1
  116. package/dist/daemon/session-scan.js +1 -1
  117. package/dist/daemon/session-scan.js.map +1 -1
  118. package/dist/daemon/short-id-log.js +43 -0
  119. package/dist/daemon/short-id-log.js.map +1 -0
  120. package/dist/daemon/spawn-tmux.js +60 -45
  121. package/dist/daemon/spawn-tmux.js.map +1 -1
  122. package/dist/daemon/steward-guard.js +3 -3
  123. package/dist/daemon/steward-guard.js.map +1 -1
  124. package/dist/daemon/steward-model.js +17 -3
  125. package/dist/daemon/steward-model.js.map +1 -1
  126. package/dist/daemon/steward-repair.js +171 -0
  127. package/dist/daemon/steward-repair.js.map +1 -0
  128. package/dist/daemon/steward.js +171 -0
  129. package/dist/daemon/steward.js.map +1 -0
  130. package/dist/daemon/tasks.js +4 -14
  131. package/dist/daemon/tasks.js.map +1 -1
  132. package/dist/daemon/tool-face.js +31 -0
  133. package/dist/daemon/tool-face.js.map +1 -0
  134. package/dist/daemon/turn-opening.js +30 -0
  135. package/dist/daemon/turn-opening.js.map +1 -0
  136. package/dist/daemon/wake-tail.js +55 -0
  137. package/dist/daemon/wake-tail.js.map +1 -0
  138. package/dist/daemon/weixin-cmd.js +10 -14
  139. package/dist/daemon/weixin-cmd.js.map +1 -1
  140. package/dist/daemon/wezard-session.js +6 -2
  141. package/dist/daemon/wezard-session.js.map +1 -1
  142. package/dist/daemon/wizard-memory.js +4 -10
  143. package/dist/daemon/wizard-memory.js.map +1 -1
  144. package/dist/daemon/wizard-names.js +0 -22
  145. package/dist/daemon/wizard-names.js.map +1 -1
  146. package/dist/daemon/wizard.js +683 -159
  147. package/dist/daemon/wizard.js.map +1 -1
  148. package/dist/daemon/ws.js +1 -1
  149. package/dist/daemon/ws.js.map +1 -1
  150. package/dist/mcp/output.js +30 -7
  151. package/dist/mcp/output.js.map +1 -1
  152. package/dist/mcp/relay.js +152 -0
  153. package/dist/mcp/relay.js.map +1 -0
  154. package/dist/mcp/tools.js +318 -265
  155. package/dist/mcp/tools.js.map +1 -1
  156. package/dist/shared/allow-rules.js +1 -7
  157. package/dist/shared/allow-rules.js.map +1 -1
  158. package/dist/shared/charter-rearm.js +179 -0
  159. package/dist/shared/charter-rearm.js.map +1 -0
  160. package/dist/shared/chat-http.js +412 -480
  161. package/dist/shared/chat-http.js.map +1 -1
  162. package/dist/shared/chat-record.js +55 -0
  163. package/dist/shared/chat-record.js.map +1 -0
  164. package/dist/shared/chat-render.js +7 -4
  165. package/dist/shared/chat-render.js.map +1 -1
  166. package/dist/shared/chat-view.js +2 -41
  167. package/dist/shared/chat-view.js.map +1 -1
  168. package/dist/shared/cli-backends.js +13 -5
  169. package/dist/shared/cli-backends.js.map +1 -1
  170. package/dist/shared/cli-local-status.js +28 -0
  171. package/dist/shared/cli-local-status.js.map +1 -0
  172. package/dist/shared/cli-socket.js +14 -0
  173. package/dist/shared/cli-socket.js.map +1 -0
  174. package/dist/shared/codex-hooks.js +5 -2
  175. package/dist/shared/codex-hooks.js.map +1 -1
  176. package/dist/shared/config.js +90 -66
  177. package/dist/shared/config.js.map +1 -1
  178. package/dist/shared/daemon-addr.js +23 -0
  179. package/dist/shared/daemon-addr.js.map +1 -0
  180. package/dist/shared/daemon-client.js +41 -0
  181. package/dist/shared/daemon-client.js.map +1 -0
  182. package/dist/shared/daemon-token.js +2 -2
  183. package/dist/shared/daemon-token.js.map +1 -1
  184. package/dist/shared/detail-render.js +98 -21
  185. package/dist/shared/detail-render.js.map +1 -1
  186. package/dist/shared/detail-store.js.map +1 -1
  187. package/dist/shared/external.js +402 -0
  188. package/dist/shared/external.js.map +1 -0
  189. package/dist/shared/group-members.js +35 -0
  190. package/dist/shared/group-members.js.map +1 -0
  191. package/dist/shared/inject-view.js +143 -0
  192. package/dist/shared/inject-view.js.map +1 -0
  193. package/dist/shared/instance-id.js +21 -0
  194. package/dist/shared/instance-id.js.map +1 -0
  195. package/dist/shared/legacy-routes.js +199 -0
  196. package/dist/shared/legacy-routes.js.map +1 -0
  197. package/dist/shared/mem-guard.js +32 -0
  198. package/dist/shared/mem-guard.js.map +1 -0
  199. package/dist/shared/message-footer.js +11 -3
  200. package/dist/shared/message-footer.js.map +1 -1
  201. package/dist/shared/model-tiers.js +39 -1
  202. package/dist/shared/model-tiers.js.map +1 -1
  203. package/dist/shared/ports.js +56 -0
  204. package/dist/shared/ports.js.map +1 -0
  205. package/dist/shared/reminder.js +30 -38
  206. package/dist/shared/reminder.js.map +1 -1
  207. package/dist/shared/role-render.js +210 -210
  208. package/dist/shared/role-render.js.map +1 -1
  209. package/dist/shared/role-view.js +65 -300
  210. package/dist/shared/role-view.js.map +1 -1
  211. package/dist/shared/room-label.js +13 -0
  212. package/dist/shared/room-label.js.map +1 -0
  213. package/dist/shared/room-migrate.js +404 -0
  214. package/dist/shared/room-migrate.js.map +1 -0
  215. package/dist/shared/room-overdue.js +153 -0
  216. package/dist/shared/room-overdue.js.map +1 -0
  217. package/dist/shared/room-search.js +102 -0
  218. package/dist/shared/room-search.js.map +1 -0
  219. package/dist/shared/room-view.js +275 -0
  220. package/dist/shared/room-view.js.map +1 -0
  221. package/dist/shared/room.js +827 -0
  222. package/dist/shared/room.js.map +1 -0
  223. package/dist/shared/session-hooks.js +20 -8
  224. package/dist/shared/session-hooks.js.map +1 -1
  225. package/dist/shared/session-label.js +82 -84
  226. package/dist/shared/session-label.js.map +1 -1
  227. package/dist/shared/session-mcp.js +36 -40
  228. package/dist/shared/session-mcp.js.map +1 -1
  229. package/dist/shared/session-skills.js +8 -0
  230. package/dist/shared/session-skills.js.map +1 -1
  231. package/dist/shared/skill-sync.js +229 -0
  232. package/dist/shared/skill-sync.js.map +1 -0
  233. package/dist/shared/smarts.js +24 -0
  234. package/dist/shared/smarts.js.map +1 -0
  235. package/dist/shared/stream-page.js +22 -0
  236. package/dist/shared/stream-page.js.map +1 -0
  237. package/dist/shared/task-file.js +0 -5
  238. package/dist/shared/task-file.js.map +1 -1
  239. package/dist/shared/task-template.js +1 -1
  240. package/dist/shared/task-template.js.map +1 -1
  241. package/dist/shared/tool-hints.js +20 -11
  242. package/dist/shared/tool-hints.js.map +1 -1
  243. package/dist/shared/workspace-trust.js +8 -0
  244. package/dist/shared/workspace-trust.js.map +1 -1
  245. package/dist/shared/world.js +101 -166
  246. package/dist/shared/world.js.map +1 -1
  247. package/dist/svr/facts-store.js +26 -0
  248. package/dist/svr/facts-store.js.map +1 -0
  249. package/dist/svr/index.js +114 -16
  250. package/dist/svr/index.js.map +1 -1
  251. package/hooks/pre-tool-use.sh +14 -10
  252. package/hooks/stop.sh +28 -0
  253. package/launchd/com.wezard.svr.plist.template +2 -0
  254. package/package.json +9 -2
  255. package/scripts/install.sh +23 -0
  256. package/skills/LICENSE.wecom-unified.txt +21 -0
  257. package/skills/wecom-unified/SKILL.md +151 -0
  258. package/skills/wecom-unified/assets/templates/broadside/DESIGN.preset.md +172 -0
  259. package/skills/wecom-unified/assets/templates/broadside/shell/content.jsx +31 -0
  260. package/skills/wecom-unified/assets/templates/broadside/slides/01_cover.slide +48 -0
  261. package/skills/wecom-unified/assets/templates/broadside/slides/02_section.slide +58 -0
  262. package/skills/wecom-unified/assets/templates/broadside/slides/03_cards.slide +53 -0
  263. package/skills/wecom-unified/assets/templates/broadside/slides/04_image.slide +64 -0
  264. package/skills/wecom-unified/assets/templates/cartesian/DESIGN.preset.md +139 -0
  265. package/skills/wecom-unified/assets/templates/cartesian/shell/content.jsx +28 -0
  266. package/skills/wecom-unified/assets/templates/cartesian/slides/01_cover.slide +44 -0
  267. package/skills/wecom-unified/assets/templates/cartesian/slides/02_compare.slide +79 -0
  268. package/skills/wecom-unified/assets/templates/cartesian/slides/03_table.slide +79 -0
  269. package/skills/wecom-unified/assets/templates/cobalt-grid/DESIGN.preset.md +118 -0
  270. package/skills/wecom-unified/assets/templates/cobalt-grid/shell/content.jsx +24 -0
  271. package/skills/wecom-unified/assets/templates/cobalt-grid/slides/01_cover.slide +61 -0
  272. package/skills/wecom-unified/assets/templates/cobalt-grid/slides/02_structure.slide +85 -0
  273. package/skills/wecom-unified/assets/templates/cobalt-grid/slides/03_data.slide +60 -0
  274. package/skills/wecom-unified/assets/templates/editorial-forest/DESIGN.preset.md +135 -0
  275. package/skills/wecom-unified/assets/templates/editorial-forest/shell/content.jsx +19 -0
  276. package/skills/wecom-unified/assets/templates/editorial-forest/slides/01_cover.slide +29 -0
  277. package/skills/wecom-unified/assets/templates/editorial-forest/slides/02_cards.slide +60 -0
  278. package/skills/wecom-unified/assets/templates/editorial-forest/slides/03_data.slide +49 -0
  279. package/skills/wecom-unified/assets/templates/editorial-forest/slides/04_image.slide +46 -0
  280. package/skills/wecom-unified/assets/templates/emerald-editorial/DESIGN.preset.md +119 -0
  281. package/skills/wecom-unified/assets/templates/emerald-editorial/shell/content.jsx +18 -0
  282. package/skills/wecom-unified/assets/templates/emerald-editorial/slides/01_cover.slide +36 -0
  283. package/skills/wecom-unified/assets/templates/emerald-editorial/slides/02_section.slide +39 -0
  284. package/skills/wecom-unified/assets/templates/emerald-editorial/slides/03_data.slide +79 -0
  285. package/skills/wecom-unified/assets/templates/emerald-editorial/slides/04_steps.slide +53 -0
  286. package/skills/wecom-unified/assets/templates/grove/DESIGN.preset.md +159 -0
  287. package/skills/wecom-unified/assets/templates/grove/shell/content.jsx +18 -0
  288. package/skills/wecom-unified/assets/templates/grove/shell/content_light.jsx +18 -0
  289. package/skills/wecom-unified/assets/templates/grove/slides/01_cover.slide +26 -0
  290. package/skills/wecom-unified/assets/templates/grove/slides/02_compare.slide +92 -0
  291. package/skills/wecom-unified/assets/templates/grove/slides/03_table.slide +68 -0
  292. package/skills/wecom-unified/assets/templates/index.json +280 -0
  293. package/skills/wecom-unified/assets/templates/long-table/DESIGN.preset.md +135 -0
  294. package/skills/wecom-unified/assets/templates/long-table/shell/content.jsx +36 -0
  295. package/skills/wecom-unified/assets/templates/long-table/slides/01_cover.slide +71 -0
  296. package/skills/wecom-unified/assets/templates/long-table/slides/02_cards.slide +72 -0
  297. package/skills/wecom-unified/assets/templates/long-table/slides/03_timeline.slide +81 -0
  298. package/skills/wecom-unified/assets/templates/long-table/slides/04_image.slide +60 -0
  299. package/skills/wecom-unified/assets/templates/sakura-chroma/DESIGN.preset.md +121 -0
  300. package/skills/wecom-unified/assets/templates/sakura-chroma/shell/content.jsx +13 -0
  301. package/skills/wecom-unified/assets/templates/sakura-chroma/slides/01_cover.slide +54 -0
  302. package/skills/wecom-unified/assets/templates/sakura-chroma/slides/02_products.slide +134 -0
  303. package/skills/wecom-unified/assets/templates/sakura-chroma/slides/03_section.slide +30 -0
  304. package/skills/wecom-unified/assets/templates/sakura-chroma/slides/04_schedule.slide +65 -0
  305. package/skills/wecom-unified/assets/templates/signal/DESIGN.preset.md +121 -0
  306. package/skills/wecom-unified/assets/templates/signal/shell/content.jsx +18 -0
  307. package/skills/wecom-unified/assets/templates/signal/shell/content_dark.jsx +23 -0
  308. package/skills/wecom-unified/assets/templates/signal/slides/01_cover.slide +48 -0
  309. package/skills/wecom-unified/assets/templates/signal/slides/02_cards.slide +67 -0
  310. package/skills/wecom-unified/assets/templates/signal/slides/03_data.slide +68 -0
  311. package/skills/wecom-unified/references/wecomcli-calendar-agenda.md +227 -0
  312. package/skills/wecom-unified/references/wecomcli-calendar-cancel.md +108 -0
  313. package/skills/wecom-unified/references/wecomcli-calendar-create.md +238 -0
  314. package/skills/wecom-unified/references/wecomcli-calendar-freebusy.md +207 -0
  315. package/skills/wecom-unified/references/wecomcli-calendar-meeting-room.md +170 -0
  316. package/skills/wecom-unified/references/wecomcli-calendar-search.md +209 -0
  317. package/skills/wecom-unified/references/wecomcli-calendar-update.md +272 -0
  318. package/skills/wecom-unified/references/wecomcli-calendar.md +296 -0
  319. package/skills/wecom-unified/references/wecomcli-contact.md +48 -0
  320. package/skills/wecom-unified/references/wecomcli-disk.md +380 -0
  321. package/skills/wecom-unified/references/wecomcli-doc-contents-append.md +20 -0
  322. package/skills/wecom-unified/references/wecomcli-doc-contents-overwrite.md +27 -0
  323. package/skills/wecom-unified/references/wecomcli-doc-create.md +162 -0
  324. package/skills/wecom-unified/references/wecomcli-doc-manage-doc-members-update.md +24 -0
  325. package/skills/wecom-unified/references/wecomcli-doc-manage-doc-names-update.md +20 -0
  326. package/skills/wecom-unified/references/wecomcli-doc-manage-doc-rules-update.md +22 -0
  327. package/skills/wecom-unified/references/wecomcli-doc-manage.md +127 -0
  328. package/skills/wecom-unified/references/wecomcli-doc.md +135 -0
  329. package/skills/wecom-unified/references/wecomcli-email-forward-mail.md +131 -0
  330. package/skills/wecom-unified/references/wecomcli-email-get-mail.md +187 -0
  331. package/skills/wecom-unified/references/wecomcli-email-reply-mail.md +138 -0
  332. package/skills/wecom-unified/references/wecomcli-email-search-mail.md +114 -0
  333. package/skills/wecom-unified/references/wecomcli-email-security.md +52 -0
  334. package/skills/wecom-unified/references/wecomcli-email-send-mail.md +186 -0
  335. package/skills/wecom-unified/references/wecomcli-email-send-schedule.md +83 -0
  336. package/skills/wecom-unified/references/wecomcli-email.md +206 -0
  337. package/skills/wecom-unified/references/wecomcli-media.md +89 -0
  338. package/skills/wecom-unified/references/wecomcli-meeting-cancel.md +113 -0
  339. package/skills/wecom-unified/references/wecomcli-meeting-create.md +167 -0
  340. package/skills/wecom-unified/references/wecomcli-meeting-list.md +228 -0
  341. package/skills/wecom-unified/references/wecomcli-meeting-original-get.md +101 -0
  342. package/skills/wecom-unified/references/wecomcli-meeting-search.md +176 -0
  343. package/skills/wecom-unified/references/wecomcli-meeting-update.md +217 -0
  344. package/skills/wecom-unified/references/wecomcli-meeting.md +366 -0
  345. package/skills/wecom-unified/references/wecomcli-message.md +190 -0
  346. package/skills/wecom-unified/references/wecomcli-pptx-component-animation.md +62 -0
  347. package/skills/wecom-unified/references/wecomcli-pptx-component-box.md +102 -0
  348. package/skills/wecom-unified/references/wecomcli-pptx-component-chart.md +261 -0
  349. package/skills/wecom-unified/references/wecomcli-pptx-component-codeblock.md +70 -0
  350. package/skills/wecom-unified/references/wecomcli-pptx-component-diagram.md +54 -0
  351. package/skills/wecom-unified/references/wecomcli-pptx-component-faicon.md +71 -0
  352. package/skills/wecom-unified/references/wecomcli-pptx-component-hyperlink.md +55 -0
  353. package/skills/wecom-unified/references/wecomcli-pptx-component-image.md +107 -0
  354. package/skills/wecom-unified/references/wecomcli-pptx-component-math.md +65 -0
  355. package/skills/wecom-unified/references/wecomcli-pptx-component-qrcode.md +22 -0
  356. package/skills/wecom-unified/references/wecomcli-pptx-component-slide.md +74 -0
  357. package/skills/wecom-unified/references/wecomcli-pptx-component-svg.md +95 -0
  358. package/skills/wecom-unified/references/wecomcli-pptx-component-table.md +72 -0
  359. package/skills/wecom-unified/references/wecomcli-pptx-component-text.md +96 -0
  360. package/skills/wecom-unified/references/wecomcli-pptx-content-contract.md +73 -0
  361. package/skills/wecom-unified/references/wecomcli-pptx-create-from-material.md +67 -0
  362. package/skills/wecom-unified/references/wecomcli-pptx-create-from-scratch.md +178 -0
  363. package/skills/wecom-unified/references/wecomcli-pptx-create-from-template.md +123 -0
  364. package/skills/wecom-unified/references/wecomcli-pptx-design-principle.md +65 -0
  365. package/skills/wecom-unified/references/wecomcli-pptx-government-contract.md +40 -0
  366. package/skills/wecom-unified/references/wecomcli-pptx-human-alignment.md +140 -0
  367. package/skills/wecom-unified/references/wecomcli-pptx-pptx-api.md +161 -0
  368. package/skills/wecom-unified/references/wecomcli-pptx-pptx-edit.md +37 -0
  369. package/skills/wecom-unified/references/wecomcli-pptx-story-principle.md +184 -0
  370. package/skills/wecom-unified/references/wecomcli-pptx-templates-README.md +165 -0
  371. package/skills/wecom-unified/references/wecomcli-pptx-templates-anti-ai-slop.md +52 -0
  372. package/skills/wecom-unified/references/wecomcli-pptx.md +158 -0
  373. package/skills/wecom-unified/references/wecomcli-sheet-conditional-formatting.md +203 -0
  374. package/skills/wecom-unified/references/wecomcli-sheet-filter.md +179 -0
  375. package/skills/wecom-unified/references/wecomcli-sheet-float-image.md +235 -0
  376. package/skills/wecom-unified/references/wecomcli-sheet-formulas.md +71 -0
  377. package/skills/wecom-unified/references/wecomcli-sheet-history.md +118 -0
  378. package/skills/wecom-unified/references/wecomcli-sheet-protection.md +170 -0
  379. package/skills/wecom-unified/references/wecomcli-sheet-range-operations.md +306 -0
  380. package/skills/wecom-unified/references/wecomcli-sheet-read-data.md +151 -0
  381. package/skills/wecom-unified/references/wecomcli-sheet-search-replace.md +121 -0
  382. package/skills/wecom-unified/references/wecomcli-sheet-structure-operations.md +394 -0
  383. package/skills/wecom-unified/references/wecomcli-sheet-style.md +246 -0
  384. package/skills/wecom-unified/references/wecomcli-sheet-table-style.md +199 -0
  385. package/skills/wecom-unified/references/wecomcli-sheet-validation.md +217 -0
  386. package/skills/wecom-unified/references/wecomcli-sheet-visual-standards.md +166 -0
  387. package/skills/wecom-unified/references/wecomcli-sheet-workbook.md +264 -0
  388. package/skills/wecom-unified/references/wecomcli-sheet-write-cells.md +320 -0
  389. package/skills/wecom-unified/references/wecomcli-sheet-xlsx-process.md +324 -0
  390. package/skills/wecom-unified/references/wecomcli-sheet.md +96 -0
  391. package/skills/wecom-unified/references/wecomcli-smartpage-data-driven-pages.md +50 -0
  392. package/skills/wecom-unified/references/wecomcli-smartpage-edit.md +526 -0
  393. package/skills/wecom-unified/references/wecomcli-smartpage-formula-arraylist.md +369 -0
  394. package/skills/wecom-unified/references/wecomcli-smartpage-formula-datetime.md +283 -0
  395. package/skills/wecom-unified/references/wecomcli-smartpage-formula-logic.md +247 -0
  396. package/skills/wecom-unified/references/wecomcli-smartpage-formula-math.md +362 -0
  397. package/skills/wecom-unified/references/wecomcli-smartpage-formula-operators.md +246 -0
  398. package/skills/wecom-unified/references/wecomcli-smartpage-formula-pageblock.md +76 -0
  399. package/skills/wecom-unified/references/wecomcli-smartpage-formula-reference.md +192 -0
  400. package/skills/wecom-unified/references/wecomcli-smartpage-formula-templates.md +410 -0
  401. package/skills/wecom-unified/references/wecomcli-smartpage-formula-text.md +377 -0
  402. package/skills/wecom-unified/references/wecomcli-smartpage-formula-user.md +22 -0
  403. package/skills/wecom-unified/references/wecomcli-smartpage-mdx-syntax.md +739 -0
  404. package/skills/wecom-unified/references/wecomcli-smartpage.md +179 -0
  405. package/skills/wecom-unified/references/wecomcli-smartsheet-chart-types.md +95 -0
  406. package/skills/wecom-unified/references/wecomcli-smartsheet-common.md +160 -0
  407. package/skills/wecom-unified/references/wecomcli-smartsheet-edit.md +609 -0
  408. package/skills/wecom-unified/references/wecomcli-smartsheet-field-types.md +438 -0
  409. package/skills/wecom-unified/references/wecomcli-smartsheet-formula.md +845 -0
  410. package/skills/wecom-unified/references/wecomcli-smartsheet-read.md +411 -0
  411. package/skills/wecom-unified/references/wecomcli-smartsheet-record-values.md +218 -0
  412. package/skills/wecom-unified/references/wecomcli-smartsheet-template-ai_efficiency.md +709 -0
  413. package/skills/wecom-unified/references/wecomcli-smartsheet-template-connect_to_app.md +380 -0
  414. package/skills/wecom-unified/references/wecomcli-smartsheet-template-financial_accounting.md +369 -0
  415. package/skills/wecom-unified/references/wecomcli-smartsheet-template-hr_and_administration.md +475 -0
  416. package/skills/wecom-unified/references/wecomcli-smartsheet-template-ledger_records.md +156 -0
  417. package/skills/wecom-unified/references/wecomcli-smartsheet-template-manufacturing.md +395 -0
  418. package/skills/wecom-unified/references/wecomcli-smartsheet-template-marketing.md +186 -0
  419. package/skills/wecom-unified/references/wecomcli-smartsheet-template-office_essentials.md +299 -0
  420. package/skills/wecom-unified/references/wecomcli-smartsheet-template-personal_efficiency.md +70 -0
  421. package/skills/wecom-unified/references/wecomcli-smartsheet-template-procurement_logistics.md +325 -0
  422. package/skills/wecom-unified/references/wecomcli-smartsheet-template-project_management.md +564 -0
  423. package/skills/wecom-unified/references/wecomcli-smartsheet-template-rd_process_customer.md +222 -0
  424. package/skills/wecom-unified/references/wecomcli-smartsheet-template-rd_process_ops.md +105 -0
  425. package/skills/wecom-unified/references/wecomcli-smartsheet-template-rd_process_project.md +109 -0
  426. package/skills/wecom-unified/references/wecomcli-smartsheet-template-rd_process_research.md +92 -0
  427. package/skills/wecom-unified/references/wecomcli-smartsheet-template-sales_and_operations.md +446 -0
  428. package/skills/wecom-unified/references/wecomcli-smartsheet-template-store_management.md +431 -0
  429. package/skills/wecom-unified/references/wecomcli-smartsheet-template-team_tasks.md +274 -0
  430. package/skills/wecom-unified/references/wecomcli-smartsheet-template-wechat_customer.md +384 -0
  431. package/skills/wecom-unified/references/wecomcli-smartsheet-template-work_report.md +100 -0
  432. package/skills/wecom-unified/references/wecomcli-smartsheet-templates.md +53 -0
  433. package/skills/wecom-unified/references/wecomcli-smartsheet-view-types.md +373 -0
  434. package/skills/wecom-unified/references/wecomcli-smartsheet-webhook-examples.md +176 -0
  435. package/skills/wecom-unified/references/wecomcli-smartsheet-webhook.md +186 -0
  436. package/skills/wecom-unified/references/wecomcli-smartsheet.md +147 -0
  437. package/skills/wecom-unified/references/wecomcli-todo-create.md +137 -0
  438. package/skills/wecom-unified/references/wecomcli-todo-delete.md +63 -0
  439. package/skills/wecom-unified/references/wecomcli-todo-finish.md +72 -0
  440. package/skills/wecom-unified/references/wecomcli-todo-get.md +69 -0
  441. package/skills/wecom-unified/references/wecomcli-todo-list.md +136 -0
  442. package/skills/wecom-unified/references/wecomcli-todo-update.md +112 -0
  443. package/skills/wecom-unified/references/wecomcli-todo.md +68 -0
  444. package/skills/wecom-unified/scripts/build_docx.py +1274 -0
  445. package/skills/wecom-unified/scripts/build_page.py +2449 -0
  446. package/skills/wecom-unified/scripts/collect.py +868 -0
  447. package/skills/wecom-unified/scripts/doc_image_extractor.py +498 -0
  448. package/skills/wecom-unified/scripts/pptx2image.py +268 -0
  449. package/skills/wecom-unified/scripts/recalc.py +403 -0
  450. package/systemd/wezard-svr.service.template +2 -0
  451. package/systemd/wezard.service.template +6 -0
  452. package/web/chat.css +70 -273
  453. package/web/chat.js +2269 -2190
  454. package/dist/daemon/bot-mux.js +0 -161
  455. package/dist/daemon/bot-mux.js.map +0 -1
  456. package/dist/daemon/chat-log.js +0 -130
  457. package/dist/daemon/chat-log.js.map +0 -1
  458. package/dist/daemon/dispatch.js +0 -6
  459. package/dist/daemon/dispatch.js.map +0 -1
  460. package/dist/daemon/idle-nudge.js +0 -90
  461. package/dist/daemon/idle-nudge.js.map +0 -1
  462. package/dist/daemon/message-events.js +0 -1155
  463. package/dist/daemon/message-events.js.map +0 -1
  464. package/dist/daemon/pending-items.js +0 -160
  465. package/dist/daemon/pending-items.js.map +0 -1
  466. package/dist/daemon/router.js +0 -742
  467. package/dist/daemon/router.js.map +0 -1
  468. package/dist/daemon/tips.js +0 -25
  469. package/dist/daemon/tips.js.map +0 -1
  470. package/dist/daemon/wedoc.js +0 -210
  471. package/dist/daemon/wedoc.js.map +0 -1
  472. package/dist/shared/role-search.js +0 -100
  473. package/dist/shared/role-search.js.map +0 -1
  474. package/dist/shared/startup-notice.js +0 -21
  475. package/dist/shared/startup-notice.js.map +0 -1
  476. package/dist/shared/turn-state.js +0 -27
  477. package/dist/shared/turn-state.js.map +0 -1
package/web/chat.css CHANGED
@@ -42,11 +42,9 @@ button { font: inherit; color: inherit }
42
42
  .app { display: flex; flex: 1; min-height: 0 }
43
43
  @keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .3 } }
44
44
 
45
- /* 名字 = 地址。点是地址的一部分, 也是这一页唯一的颜色记号。 */
45
+ /* 名字 = 地址。rolepage 是系统面 (设计稿 §1.5): 名字一律裸名, 不画点也不画记号。 */
46
46
  .nm { font-weight: 600 }
47
- .nm::before { content: "."; color: var(--accent); font-weight: 700 }
48
- .nm.human::before, .nm.task::before, .nm.system::before, .nm.chat::before { content: none }
49
- .nm.chat, .ch-who .sub .up { color: var(--chat) }
47
+ .nm.chat { color: var(--chat) }
50
48
  .nm.human { color: var(--human) }
51
49
  .nm.system {
52
50
  color: var(--wezard);
@@ -56,11 +54,18 @@ button { font: inherit; color: inherit }
56
54
 
57
55
  /* ── 侧栏: 我 + 会话 ─────────────────────────────────────────────── */
58
56
  .side {
59
- /* 宽屏按页宽 25% 放大, 窄时不低于 332px。 */
60
- width: max(332px, 25vw); flex: none; background: var(--card); border-right: 1px solid var(--line);
57
+ /* 宽屏按页宽放大, 窄时不低于 332px; 关系图默认 40%, 列表 25% (chat.js 的拖拽条按视角各记一个宽度, 盖过这里)。 */
58
+ position: relative; width: max(332px, 40vw); flex: none; background: var(--card); border-right: 1px solid var(--line);
61
59
  display: flex; flex-direction: column; min-height: 0;
62
60
  }
63
61
 
62
+ /* 侧栏右缘的拖拽条: 宽屏才有, 双击恢复默认宽度。 */
63
+ .sb-rs { position: absolute; top: 0; right: -4px; bottom: 0; width: 8px; z-index: 6; cursor: col-resize; touch-action: none }
64
+ .sb-rs::after { content: ""; position: absolute; top: 0; bottom: 0; left: 3px; width: 2px; background: var(--accent); opacity: 0; transition: opacity .12s }
65
+ .sb-rs:hover::after, .sb-rs.drag::after { opacity: .55 }
66
+ body.sb-dragging { cursor: col-resize; user-select: none }
67
+ @media (max-width: 760px) { .sb-rs { display: none } }
68
+
64
69
  /* ── 左栏顶: 当前 role 的名片 (身份); 关系/日程入口是名片下、会话列表上的一排 ──── */
65
70
  .rolebar {
66
71
  /* margin 归零: 通用 header 规则带着 8px 下边距, 会把下面的入口条顶得上宽下窄。 */
@@ -79,13 +84,19 @@ button { font: inherit; color: inherit }
79
84
  }
80
85
  .rolebar .id .l { min-width: 0; display: flex; flex-direction: column; gap: 2px }
81
86
  .rolebar .id .nm { font-size: 15.5px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
82
- /* 职责是一句话, 至多两行; 截掉的悬停看全文 (chat.js 的截断提示)。 */
87
+ /* 职责: 一块浅灰底的文字块, 与上面的名字 / facts 隔开一段; 最多三行, 溢出的点一下展开 / 收起。 */
83
88
  .rolebar .job {
84
- margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink); opacity: .8; word-break: break-word;
85
- display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
86
- }
89
+ margin: 8px 0 0; padding: 7px 10px; font-size: 12.5px; line-height: 1.65; color: var(--mute); word-break: break-word;
90
+ background: var(--paper); border-radius: 8px; position: relative;
91
+ display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
92
+ }
93
+ .rolebar .job.more { cursor: pointer; padding-right: 22px }
94
+ .rolebar .job.more::after { content: "▾"; position: absolute; right: 8px; bottom: 5px; font-size: 10px; color: var(--faint) }
95
+ .rolebar .job.more:hover { color: var(--ink) }
96
+ .rolebar .job.open { display: block; -webkit-line-clamp: unset; overflow: visible }
97
+ .rolebar .job.open::after { content: "▴" }
87
98
  /* 名字下的描述: 📁 cwd · 🏠 home · 🐣 出生, 一段低调的灰字, 排不下就整项落到下一行。 */
88
- .rolebar .facts { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 11.5px; line-height: 1.45; color: var(--faint); min-width: 0 }
99
+ .rolebar .facts { display: flex; flex-wrap: wrap; gap: 2px 10px; font-size: 11.5px; line-height: 1.75; color: var(--faint); min-width: 0 }
89
100
  /* 每条自身不折行; 独占一行仍超宽 (长路径 / 长群名) 才省略。 */
90
101
  .rolebar .facts span { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis }
91
102
  .rolebar .facts .fx { cursor: pointer }
@@ -103,12 +114,6 @@ button { font: inherit; color: inherit }
103
114
  /* 复制提示用 ⧉ 小图标, 不用 cursor:copy —— 那颗绿色的加号读起来像「添加」。 */
104
115
  .rolebar .nl .cp::after { content: "⧉"; flex: none; font-size: 12px; color: var(--faint); display: none }
105
116
  .rolebar .nl .cp:hover::after { display: inline }
106
- .toast {
107
- position: fixed; left: 50%; bottom: 28px; z-index: 1000; transform: translate(-50%, 8px);
108
- padding: 6px 12px; border-radius: 8px; font-size: 12.5px; color: #fff; background: rgba(28, 36, 48, .88);
109
- opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s;
110
- }
111
- .toast.on { opacity: 1; transform: translate(-50%, 0) }
112
117
  #rb-sp { flex: none; display: inline-flex }
113
118
  .sp { position: relative; display: inline-flex }
114
119
  .sp-btn {
@@ -215,70 +220,42 @@ button { font: inherit; color: inherit }
215
220
  .convs h2 > * { flex: none }
216
221
  .convs h2 > span:first-of-type { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis }
217
222
 
218
- /* 群下的子项 (.si) 与私聊项 (.ci) 同一套尺寸 —— 只有一份。 */
219
- .ci, .si {
223
+ /* 会话项 (.ci) 的尺寸。 */
224
+ .ci {
220
225
  display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; overflow: hidden;
221
226
  padding: 8px 10px; border: 0; border-radius: 9px; background: transparent; cursor: pointer;
222
227
  }
223
- .ci.on, .si.on { background: #eaf0fc }
228
+ .ci.on { background: #eaf0fc }
224
229
  /* 下分割线: 每一项自己的下边线 (侧栏项、群下子项、关系图卡片一律), 两端收到内容边距。 */
225
- .ci, .si { position: relative }
226
- .ci::after, .si::after {
230
+ .ci { position: relative }
231
+ .ci::after {
227
232
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 1px;
228
233
  background: var(--line); opacity: .6; pointer-events: none;
229
234
  }
230
- .ci > .av, .si > .av {
235
+ .ci > .av {
231
236
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
232
237
  background: var(--av-bg); box-shadow: inset 0 0 0 1px var(--av-line); font-size: 20px; line-height: 1;
233
238
  }
234
- .ci .b, .si .b { min-width: 0; flex: 1; overflow: hidden }
235
- .ci .l1, .si .l1 { display: flex; align-items: baseline; gap: 6px; overflow: hidden; white-space: nowrap }
236
- .ci .t, .si .t { font-size: 13.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
237
- .ci .ts, .si .ts { margin-left: auto; flex: none; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums }
238
- .ci .pv, .si .pv { display: block; font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
239
- .ci .pv:empty, .si .pv:empty { display: none }
239
+ .ci .b { min-width: 0; flex: 1; overflow: hidden }
240
+ .ci .l1 { display: flex; align-items: baseline; gap: 6px; overflow: hidden; white-space: nowrap }
241
+ .ci .t { font-size: 13.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
242
+ .ci .ts { margin-left: auto; flex: none; font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums }
243
+ .ci .pv { display: block; font-size: 12px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
244
+ .ci .pv:empty { display: none }
240
245
  .ci .tag { font-size: 10.5px; border-radius: 4px; padding: 0 4px; flex: none }
241
- .ci-chevron {
242
- flex: none; align-self: center; position: relative; z-index: 1; width: 20px; height: 20px; padding: 0; border: 0;
243
- background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center;
244
- color: var(--faint); transition: color .12s, transform .12s;
245
- }
246
- .ci-chevron::before { content: "›"; font-size: 16px; font-weight: 300; display: flex; align-items: center; justify-content: center; line-height: 1 }
247
- .ci-chevron:hover { color: var(--accent) }
248
- .ci-chevron.on::before { transform: rotate(90deg) }
249
246
  /* 头像与名字是进入那个 role 视角的入口 —— 侧栏项、会话头、消息行同一种读法。
250
247
  它们嵌在整行那颗按钮里; 行本身悬停不变底色, 只有入口自己亮起。z-index 保证没有兄弟盖住命中区。 */
251
248
  .nm.go, .av.go { position: relative; z-index: 1; cursor: pointer }
252
249
  .nm.go:hover { text-decoration: underline; text-underline-offset: 2px }
253
250
  /* 名字旁的 ⇄: 只在能切的名字悬停时露出 —— inline-block 同样不吃下划线 */
254
- .nm .sw { display: none; margin-left: 4px; font-style: normal; font-weight: 400; font-size: 12px; color: var(--faint) }
255
- .nm.go:hover .sw { display: inline-block }
256
251
  /* 名字旁「+N」: 视角外它还在和几个 role 说话 —— inline-block 不吃名字 hover 的下划线 */
257
- .nm .oc { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 8px; line-height: 15px; font-size: 10.5px; font-weight: 600;
258
- color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); vertical-align: 1px }
259
- .nm.go:hover .oc { background: color-mix(in srgb, var(--accent) 20%, transparent) }
260
252
  span.av.go { border-radius: 8px; transition: background .12s, box-shadow .12s }
261
253
  span.av.go:hover { background: var(--av-hot); box-shadow: 0 0 0 3px var(--av-hot) }
262
254
  .ci .tag.priv { color: var(--priv); background: #9a5b1014 }
263
255
 
264
- /* 群里的其他 role —— 挂在群下, 与会话项同一种读法、同一套尺寸 (名字 · 时刻 / 最近一句), 只靠缩进分层级。
265
- 点开是「我与它在这个群里」的往来。 */
266
- /* 竖线的 x 与关系图里的竖向连线对齐: 都在项左缘 +10px (关系树 ul 缩进 20 - 线距 li 10)。 */
267
- .subs { margin: 0 0 6px 10px; border-left: 1px solid var(--line); padding-left: 2px }
268
- .si { color: var(--ink) }
269
- /* 「chat 内全部」下与我无往来的子项: 整行淡下去、名字不加粗, 一眼分得出不是我的往来; 选中 / 悬停时恢复。 */
270
- .si.far { opacity: .58 }
271
- .si.far .t { font-weight: 400 }
272
- .si.far:hover, .si.far.on { opacity: 1 }
273
- .si-more {
274
- display: block; width: 100%; text-align: center; padding: 4px 8px; border: 0;
275
- background: transparent; cursor: pointer; font-size: 11.5px; color: var(--mute);
276
- }
277
- .si-more:hover { color: var(--accent); font-weight: 600 }
278
-
279
256
  /* 未读: 预览行右端的红点计数 —— 页面打开后别人新说完的 final reply。 */
280
- .ci .l2, .si .l2 { display: flex; align-items: center; gap: 6px; min-width: 0 }
281
- .ci .l2 .pv, .si .l2 .pv { flex: 1; min-width: 0 }
257
+ .ci .l2 { display: flex; align-items: center; gap: 6px; min-width: 0 }
258
+ .ci .l2 .pv { flex: 1; min-width: 0 }
282
259
  .ub {
283
260
  flex: none; margin-left: auto; min-width: 16px; height: 16px; padding: 0 5px; border-radius: 8px;
284
261
  background: #e5484d; color: #fff; font-size: 10.5px; font-weight: 600; line-height: 16px; text-align: center;
@@ -298,9 +275,12 @@ span.av.go:hover { background: var(--av-hot); box-shadow: 0 0 0 3px var(--av-hot
298
275
  flex: none; display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 20px; min-height: 58px;
299
276
  background: var(--card); border-bottom: 1px solid var(--line);
300
277
  }
301
- .chathead .back { display: none; border: 0; background: none; font-size: 22px; color: var(--mute); cursor: pointer; padding: 0 4px }
278
+ /* 返回键: 内联 SVG chevron (线描, 与侧栏「列表 / 图」图标同一套), 触控区 36×36; 负 margin 让字形而不是触控区对齐内容边。 */
279
+ .chathead .back { display: none; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; margin: 0 -4px 0 -8px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--mute); cursor: pointer }
280
+ .chathead .back:hover { color: var(--accent) }
281
+ .chathead .back svg { display: block }
302
282
  /* 跳过来之后的返回 (移交行): 同一副无框箭头, 宽屏也露出。 */
303
- .chathead .back.jb { display: block; flex: none; margin-right: -4px }
283
+ .chathead .back.jb { display: inline-flex }
304
284
  .chathead .back.jb:hover { color: var(--accent) }
305
285
  /* 有跳转返回时窄屏只留它一个箭头: 先回跳转前; 没有它时 #tb-back 才是回会话列表。 */
306
286
  .chathead:has(.back.jb) #tb-back { display: none }
@@ -319,8 +299,6 @@ span.av.go:hover { background: var(--av-hot); box-shadow: 0 0 0 3px var(--av-hot
319
299
  .ch-who > .t:not(:only-child) { flex: 0 1 auto }
320
300
  .ch-who .sub { min-width: 0; font-size: 11.5px; color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
321
301
  /* 副标题里的群名: 回到整个群的入口, 平时只是一行灰字, 悬停才像链接。 */
322
- .ch-who .sub .up { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer }
323
- .ch-who .sub .up:hover { text-decoration: underline }
324
302
  .ch-acts { display: flex; gap: 8px; align-items: center; flex: 0 1 auto; min-width: 0; font-size: 12px; color: var(--mute) }
325
303
  .ch-acts .vb { flex: none }
326
304
  .vb {
@@ -333,70 +311,32 @@ span.av.go:hover { background: var(--av-hot); box-shadow: 0 0 0 3px var(--av-hot
333
311
 
334
312
  /* ── 消息 ─────────────────────────────────────────────────────────── */
335
313
  .thread {
336
- flex: 1; min-height: 0; overflow-y: auto; overflow-anchor: none;
314
+ flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overflow-anchor: none;
337
315
  padding: 16px 20px 28px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
338
316
  }
339
317
  .thread-in { display: flex; flex-direction: column; gap: 14px }
318
+ /* 按钮浮在 .thread 外一层 (thread-box), 不进滚动内容: 不碰 scrollHeight / 分页补历史的滚动保持。切到日程时 .thread[hidden], 整个盒子跟着收。 */
319
+ .thread-box { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column }
320
+ .thread-box:has(> .thread[hidden]) { display: none }
321
+ .to-bottom {
322
+ position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 5;
323
+ padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
324
+ color: var(--accent); font: inherit; font-size: 12.5px; line-height: 1.4; white-space: nowrap; cursor: pointer;
325
+ box-shadow: 0 2px 10px #0000002e, 0 0 0 1px #ffffffcc;
326
+ }
327
+ .to-bottom:hover, .to-bottom:focus-visible { border-color: var(--accent); background: var(--mine) }
328
+ .to-bottom[hidden] { display: none }
340
329
  /* 换窗口时旧内容留着等新内容: 不接点击, 稍候才变暗 (快的切换看不出闪), 页头底边一道细进度条。 */
341
- .main.switching .thread-in, .main.switching .chathead > :not(.back) { pointer-events: none }
342
- .main.switching .thread-in { opacity: .6; transition: opacity .2s .15s }
343
- .main.switching .chathead {
344
- background-image: linear-gradient(var(--accent), var(--accent)); background-repeat: no-repeat;
345
- background-size: 40% 2px; animation: swbar 1s ease-in-out infinite;
346
- }
347
- @keyframes swbar { from { background-position: -67% 100% } to { background-position: 167% 100% } }
348
330
  .empty { color: var(--faint); text-align: center; padding: 60px 0; font-size: 13px }
349
- .more-btn {
350
- align-self: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
351
- padding: 5px 16px; font-size: 12px; color: var(--mute); cursor: pointer;
352
- }
353
- .more-btn:hover { color: var(--accent); border-color: var(--accent) }
354
-
355
- /* 头像已并进名字那一行, 不再占气泡旁的一列 —— 省下的那一格宽度 (--av) 还给气泡。 */
356
- .mrow { --av: 24px; display: flex; align-items: flex-start; gap: 10px }
357
- .mwho .av {
358
- flex: none; align-self: center; width: var(--av); height: var(--av); border-radius: 50%; border: 1px solid var(--line);
359
- background: var(--card); font-size: 14px; line-height: 22px; text-align: center; cursor: default; padding: 0;
360
- }
361
- .mcol { min-width: 0; max-width: min(78% + var(--av), 760px + var(--av)); display: flex; flex-direction: column; gap: 4px }
362
- /* 带过程框的那条占满这一列: 列宽本来跟着内容走, 框一收起内容变窄, 整条就跟着缩。 */
363
- .mcol:has(.steps) { width: 100% }
364
- .mcol:has(.steps) > .mb { align-self: stretch }
365
- .mrow.mine { flex-direction: row-reverse }
366
- .mrow.mine .mcol { align-items: flex-end }
367
- .mwho { font-size: 11.5px; color: var(--mute); display: flex; gap: 6px; align-items: center; flex-wrap: wrap }
368
- .mwho .nm { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
369
- /* 发言头 `🦊.a:` (WZ.said): 头像贴着名字、冒号贴着名字, 不吃 .mwho 的 gap。 */
370
- .mwho .said { display: inline-flex; align-items: center; min-width: 0; max-width: 100% }
371
- .mwho .said .av { margin-right: 2px }
372
- .mwho .ch { font-size: 10.5px; border-radius: 4px; padding: 0 4px }
373
- .mwho .ch.priv { color: var(--priv); background: #9a5b1014 }
331
+
374
332
  /* 时刻只此一处 —— 气泡外, 跟着名字走。等宽数字让一列时间对得齐。 */
375
- .mwho .mt, .say-cap .mt { color: var(--faint); font-family: ui-monospace, Menlo, monospace; font-variant-numeric: tabular-nums }
333
+ .say-cap .mt { color: var(--faint); font-family: ui-monospace, Menlo, monospace; font-variant-numeric: tabular-nums }
376
334
  .mb { min-width: 0; max-width: 100% }
377
335
 
378
336
  /* 入消息 (问句) 是一颗气泡; 出消息 (回复) 是虚线的过程框 + 终句的气泡 —— 没有外层
379
337
  卡片, 直接排在对话底上。气泡不描实线边: 谁说的只靠底色分 (--bub), 线只留给虚线的过程框。 */
380
- .mrow { --bub: var(--them); --bub-soft: var(--them-soft); --bub-line: var(--them-line) }
381
- .mrow.mine { --bub: var(--mine); --bub-soft: var(--mine-soft); --bub-line: var(--mine-line) }
382
- .mb > .bubble.mq { border-radius: 14px }
383
338
  .mb .bubble { border: 0 }
384
339
  .say-cap { font-size: 11.5px; color: var(--mute) }
385
- .mb .mq .mmeta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; padding: 8px 14px 0; font-size: 11px; color: var(--faint) }
386
- .mb .mq .mmeta + .md-body { padding-top: 4px }
387
- /* 随这句话来的图: 详情页那份是裁成缩略的 (cover), 这里要整张看得见 —— 按原比例缩进气泡, 不裁。 */
388
- .mb .mq .q-imgs { padding: 10px 14px 4px }
389
- .mb .mq .q-imgs a { display: block; max-width: 100% }
390
- .mb .mq .q-imgs img { max-width: min(100%, 420px); max-height: 360px; width: auto; height: auto; object-fit: contain }
391
- .mchip { border-radius: 4px; padding: 0 5px; background: #f1f3f6; color: var(--mute) }
392
- .mchip.priv { color: var(--priv); background: #9a5b1014 }
393
- .mchip.sys { color: #0a7d6b; background: #0a7d6b12 }
394
- /* 回执: 定论着色 —— 已交是常态不抢眼, 反问 / 报错要人看一眼, 没答案的几种灰红。 */
395
- .mchip.rcpt { border: 0; font: inherit; font-size: 11px; line-height: 16px; color: #1a7f37; background: #1a7f3712 }
396
- button.mchip.rcpt { cursor: pointer }
397
- button.mchip.rcpt:hover { text-decoration: underline }
398
- .mchip.rcpt:is(.st-need, .st-error) { color: #9a6700; background: #9a670014 }
399
- .mchip.rcpt:is(.st-timeout, .st-silent, .st-dead, .st-canceled) { color: #cf222e; background: #cf222e10 }
400
340
  /* 说给谁 (inline): 塞进正文第一段开头的头像 + 名字, 像行内 mention; 小圆角底色, 点它走移交行同一套跳转。 */
401
341
  .to-in {
402
342
  display: inline-flex; align-items: center; gap: 0; vertical-align: baseline; padding: 1px 6px; border-radius: 5px;
@@ -412,83 +352,20 @@ button.mchip.rcpt:hover { text-decoration: underline }
412
352
  .handoff .ho-line[data-hto]:hover { background: var(--av-hot); border-radius: 6px }
413
353
  .handoff .ho-who .av { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 10px; line-height: 14px; text-align: center }
414
354
  .handoff .ho-who .nm { font-weight: 500 }
415
- /* 过程框收起后移交行仍露在框头下 —— 活交给了谁, 不该和普通工具输出一起藏起来。 */
416
- .steps.folded > .bubbles:has(> .bubble.tool .handoff) { display: flex; flex-direction: column }
417
- .steps.folded > .bubbles > :not(:has(.handoff)) { display: none }
418
- .steps.folded > .bubbles > .bubble.tool > :not(.handoff) { display: none }
355
+ /* 过程框收起后移交行仍露在框头下 —— 活交给了谁, 不该和普通工具输出一起藏起来。
356
+ 发言行 (↩ 回复 / 💬 发言 …) 例外: 说出去的那句就是框下面那颗气泡, 收起时不再露一遍。 */
357
+ .steps.folded > .bubbles:has(> .bubble.tool .handoff:not(.post)) { display: flex; flex-direction: column }
358
+ .steps.folded > .bubbles > :not(:has(.handoff:not(.post))) { display: none }
359
+ .steps.folded > .bubbles > .bubble.tool > :not(.handoff:not(.post)) { display: none }
360
+ .handoff .ho-line[data-node]:hover { background: var(--av-hot); border-radius: 6px }
419
361
  .steps.folded .handoff .ho-line { padding-left: 6px }
420
362
  .steps.folded .handoff .ho-text { margin-left: 6px }
421
363
  .steps.folded .handoff.pub > .say { margin-left: 6px }
422
- /* 公开移交那句是这一行的发话人在群里说的话: 气泡取这一行自己的底色 (过程框里 --bub 被重置成白卡,
423
- 所以在 .mb 上先把行色存一份), 与普通消息同一颗。 */
424
- .mrow .mb { --row-bub: var(--bub); --row-bub-line: var(--bub-line) }
425
- .mrow .mb .steps .handoff.pub > .say > .bubble { background: var(--row-bub); border-color: var(--row-bub-line) }
426
-
427
- /* 气泡与过程框同一种底色: 都是这个人发出来的 —— 自己的是视角色, 别人的是浅灰。
428
- TURN_CSS 里写死的白卡 / 灰底 (嵌套气泡、代码块、折叠头) 在有色底上会显成一张张
429
- 贴纸 —— 这里把它们收回到底色上, 需要再沉一档的才用 --bub-soft。 */
430
- .mrow .mb :is(.bubble.mq, .say > .bubble, .steps) { background: var(--bub); border-color: var(--bub-line) }
431
- .mrow .mb .steps :is(.bubble, .typing) { background: transparent }
432
- .mrow .mb .bubble.user,
433
- .mrow .mb .md-body code, .mrow .mb .md-body pre,
434
- .mrow .mb details:not(.tool-call, .handoff) > summary,
435
- .mrow .mb .tool-body section > h2, .mrow .mb .diff-meta,
436
- .mrow .mb .tool-call > summary:hover { background: var(--bub-soft); border-color: var(--bub-line) }
437
- .mrow .mb .md-body pre code { background: transparent }
438
- /* 不是说给人听的 (工具过程框、reminder) 一律白底 —— 底色只留给真正的对话。 */
439
- .mrow .mb .steps { --bub: #fff; --bub-soft: #f6f8fa; --bub-line: #d0d7de }
440
- /* 展开的工具正文 (command / diff / 文件内容) 是裸 section, 吃的是 TURN_CSS 的白底。 */
441
- .mrow .mb .tool-body section { background: transparent; border-color: var(--bub-line) }
442
- .mrow .mb .bubble details { border-color: var(--bub-line) }
443
- .mrow .mb .tool-body { border-left-color: var(--bub-line) }
444
- /* 气泡跟着行靠右; 嵌在过程框里的子 agent 不翻 —— 那不是我说的。 */
445
- .mrow.mine .mb > .turn-group > .bubbles > .say { align-self: flex-end; align-items: flex-end }
364
+
446
365
  /* 工具正文是展开时才取的 (chat.js loadTool) —— 空壳期间说一句在干什么。 */
447
366
  .tool-body[data-lazy-turn]:empty::before { content: "加载中…"; color: #8c959f; font-size: 12px }
448
367
  .tool-body[data-lazy-turn][data-err]:empty::before { content: "加载失败 · 收起再展开重试"; color: #cf222e }
449
368
 
450
- /* 气泡对面那片空白 = 换视角的门。平时不可见, 悬停才露出要去谁那里。 */
451
- .flip {
452
- flex: 1; align-self: stretch; min-width: 40px; border: 0; background: transparent; cursor: pointer;
453
- display: flex; align-items: center; padding: 0 12px; border-radius: 10px; color: transparent;
454
- font-size: 12px; transition: background .15s, color .15s;
455
- }
456
- .mrow.them .flip { justify-content: flex-start }
457
- .mrow.mine .flip { justify-content: flex-end }
458
- /* 气泡可以比视窗还高, 居中的箭头就跑出屏幕了 —— 让它在按钮内 sticky, 上下各留半屏,
459
- 于是只要这一行还在视窗里, 箭头就钉在视窗中线附近。 */
460
- .flip .fi {
461
- position: sticky; top: calc(50% - 10px); bottom: calc(50% - 10px);
462
- display: inline-flex; align-items: center; gap: 4px;
463
- }
464
- .mrow.mine .flip .fi { flex-direction: row-reverse }
465
- .mrow.mine .flip .fc { transform: scaleX(-1) }
466
- .flip .fc { flex: none }
467
- .flip .fi { min-width: 0; max-width: 100%; box-sizing: border-box; padding: 4px 8px; gap: 6px }
468
- /* 要去谁那里: 名字可以折行, 不撑出门外。 */
469
- .flip .fn { min-width: 0; overflow-wrap: anywhere }
470
- .flip:hover, .flip:focus-visible { background: #2f55c90d; color: var(--accent) }
471
- .flip[disabled] { cursor: default; background: transparent !important; color: transparent !important }
472
- /* 说给谁: 贴着气泡写在门里, 与气泡首行对齐。不吃点击 —— 点到它就是点门。
473
- 门竖排: 描述在上、换视角箭头在下, 描述折几行箭头就跟着往下让, 两者不叠。
474
- contain: size —— 门的内容不参与这一行的高度, 描述再长也不撑高一行。 */
475
- .mwho .av.go { cursor: pointer }
476
- .mwho .av.go:hover { border-color: var(--accent); background: #2f55c914 }
477
-
478
- .mrow.mark { justify-content: center }
479
- .mrow.mark > * { flex: 1; max-width: 520px }
480
-
481
- /* 换视角后一条旧消息都不在了 (换到别的会话): 整列淡入。有交集的走 chat.js 的逐条 FLIP (位移 + 底色)。 */
482
- .thread-in.flipping { animation: flip .26s ease }
483
- @keyframes flip { 0% { opacity: 1 } 45% { opacity: 0; transform: scaleX(.985) } 100% { opacity: 1 } }
484
- /* 逐条 FLIP 滑行中: 空白门不画、不接点击, 列抬到后面兄弟之上 —— 否则 sticky 的箭头 (定位元素) 按 DOM 序压在气泡上。 */
485
- .thread-in.fl-run .flip { visibility: hidden; pointer-events: none }
486
- .thread-in.fl-run .mcol { position: relative; z-index: 1 }
487
- @media (prefers-reduced-motion: reduce) {
488
- .thread-in.flipping { animation: none }
489
- .flip { transition: none }
490
- }
491
-
492
369
  /* ── 一轮回复 ───────────────────────────────────────────────────── */
493
370
  /* 只是一根竖轴, 不是卡片: section 的默认白底 / 边框在这里收掉。本轮的账 (模型 /
494
371
  token / 耗时) 是一串小字: 消息自己的写在名字那一行 (.mstat) 与终句气泡头上
@@ -500,7 +377,6 @@ button.mchip.rcpt:hover { text-decoration: underline }
500
377
  .tg-head { order: 9; display: flex; align-items: center; gap: 4px 10px; flex-wrap: wrap; padding: 0 2px }
501
378
  .mstat { display: inline-flex; align-items: center; gap: 4px 10px; flex-wrap: wrap }
502
379
  /* 两方对话里只藏模型 / ctx —— 时刻与耗时每条 wizard 消息都留着。 */
503
- .mrow.two :is(.mstat, .say-cap, .ho-acct) :is(.chip, .tg-tok) { display: none }
504
380
  .ho-acct { display: inline-flex; align-items: center; gap: 4px 8px }
505
381
  :is(.tg-head, .mstat, .say-cap, .ho-acct) :is(.chip.model, .chip.tier), .tg-tok, .tg-dur {
506
382
  padding: 0; border: 0; border-radius: 0; background: none; font-weight: 400;
@@ -516,11 +392,10 @@ button.mchip.rcpt:hover { text-decoration: underline }
516
392
  .app.reading .side { display: none }
517
393
  .app.reading .main { display: flex }
518
394
  .chathead { padding: 8px 12px; gap: 8px }
519
- .chathead .back { display: block }
395
+ .chathead .back { display: inline-flex; margin-left: -6px }
520
396
  .thread { padding: 12px }
521
- .mcol { max-width: calc(86% + var(--av)) }
522
- .flip { min-width: 16px; padding: 0 4px; font-size: 0 }
523
397
  .thread { padding-bottom: calc(12px + env(safe-area-inset-bottom)) }
398
+ .to-bottom { bottom: calc(12px + env(safe-area-inset-bottom)) }
524
399
  .usage { padding: 8px 12px }
525
400
  .usage.page { padding-bottom: calc(8px + env(safe-area-inset-bottom)) }
526
401
  }
@@ -530,15 +405,12 @@ button.mchip.rcpt:hover { text-decoration: underline }
530
405
  一条 !important 把 hidden 的语义钉死, 三块视图容器的显隐都靠它。 */
531
406
  [hidden] { display: none !important }
532
407
 
533
-
534
408
  /* ══ 关系图 ═════════════════════════════════════════════════════════ */
535
409
  .wtools {
536
410
  flex: none; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
537
411
  padding: 8px 20px; background: #fff; border-bottom: 1px solid #d0d7de;
538
412
  font-size: 11.5px; color: #57606a;
539
413
  }
540
- .wtools .wstat { flex: 1; display: flex; gap: 6px; align-items: baseline; color: #8c959f }
541
- .wtools .rng { color: var(--ink) }
542
414
  .wtools .warn { color: #9a6700 }
543
415
  .wtools .hint { margin-left: auto; color: #b1bac4 }
544
416
  .wscroll { position: relative; flex: 1; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch }
@@ -591,9 +463,6 @@ button.mchip.rcpt:hover { text-decoration: underline }
591
463
  .strip .cap { font-size: 11px; color: #8c959f }
592
464
 
593
465
  /* 微信通道状态徽标。 */
594
- .wxm { flex: none; margin-left: 4px; padding: 0 4px; border-radius: 4px; font-size: 10.5px; white-space: nowrap; color: #2f7d32; background: #2f7d3214 }
595
- .wxm.paused { color: #94741f; background: #bf870014 }
596
- .wxm.down { color: #c62828; background: #c6282814 }
597
466
 
598
467
  /* wizard 徽标 —— 日程里提到 wizard 时用它, 同聊天的可点进线程。 */
599
468
  .wchip {
@@ -632,25 +501,9 @@ button.mchip.rcpt:hover { text-decoration: underline }
632
501
 
633
502
  /* ══ 忙闲: 名字右边唯一的状态位 (名片 · 关系树 · 侧栏共用 stTag) ══
634
503
  只有执行中带颜色与呼吸; 空字 (侧栏) 就只剩那盏灯。 */
635
- .wst {
636
- flex: none; align-self: center; display: inline-flex; align-items: center; gap: 4px; font-size: 10px; line-height: 16px;
637
- padding: 0 6px; border-radius: 8px; background: #eef0f3; color: var(--mute); white-space: nowrap; font-weight: 500;
638
- }
639
- .wst::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b1bac4 }
640
- .wst.run { background: #dafbe1; color: #1a7f37 }
641
- .wst.run::before { background: #1a7f37; animation: pulse 1.4s infinite }
642
- .wst.wait { background: #fbefff; color: #8250df }
643
- .wst.wait::before { background: #8250df; animation: pulse 1.4s infinite }
644
- .wst.off { background: transparent; color: var(--faint); box-shadow: inset 0 0 0 1px var(--line) }
645
- .wst.off::before { background: transparent; box-shadow: inset 0 0 0 1.5px #b1bac4 }
646
- .wst:empty { padding: 0; background: none; box-shadow: none }
647
- .wst:empty::before { width: 7px; height: 7px }
648
504
  /* ══ 关系图 · 关系树 (家谱与派活合成一棵, 以当前 role 为中心) ══════════
649
505
  它替换的是侧栏的会话列表: 标题、图例与会话列表的分组标题同一种读法, 卡片就是会话项 (.ci)。 */
650
- .tview h2 .warn { color: #9a6700; font-weight: 400 }
651
506
  .tree.all > li + li { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #eaeef2 }
652
- .tsolo { font-size: 11.5px; color: var(--faint); margin: 0 8px 10px }
653
- .tview .pempty { padding: 18px 8px }
654
507
 
655
508
  /* 树: 每条入边是一道实线, 从父卡片底下一路落到自己卡片的头像旁, 末端一枚箭头, 颜色 = 关系种类。
656
509
  兄弟共用的那段竖干上, 后画的 (更下方的节点) 盖住先画的; 竖线往上伸到 ul 顶为止 (clip-path 只裁上边)。 */
@@ -670,68 +523,10 @@ button.mchip.rcpt:hover { text-decoration: underline }
670
523
  .tree li.clone { --lc: #8250df }
671
524
  .tree li.fork { --lc: #b39ddb }
672
525
  .tree li.peer { --lc: #0969da }
673
- /* 卡片 = 会话项; label 骑在它左上角, 紧挨箭头。 */
674
- .tci { position: relative; overflow: visible }
675
- .tci.me .t .nm { color: var(--accent) }
676
- /* 连接用的祖先: 没和视角对过话, 只为把对过话的后代挂回家谱 —— 淡一档。 */
677
- .tci.via { opacity: .55 }
678
- .tci.via:hover { opacity: 1 }
679
- .tci.ghost { opacity: .5; filter: grayscale(1) }
680
- .tci.ghost:hover { opacity: .8 }
681
- .tlab { position: absolute; left: 4px; top: -8px; display: flex; gap: 3px; z-index: 2 }
682
- .tlab .ek { box-shadow: 0 0 0 2px var(--card) }
683
-
684
- /* 边的 label: 辅助信息, 淡色; 一条边可能同时带几种 (既是子 wizard 又被派过活), 各一枚。 */
685
- .ek {
686
- flex: none; font-size: 10px; line-height: 15px; padding: 0 5px; border-radius: 4px; white-space: nowrap;
687
- font-weight: 500; color: var(--mute); background: #f1f3f6;
688
- }
689
- .ek.spawn { color: #a8642a; background: #d4700f12 }
690
- .ek.clone { color: #7a5bb8; background: #8250df12 }
691
- .ek.clone[data-cpoint] { cursor: pointer }
692
- .ek.clone[data-cpoint]:hover { background: #8250df2e }
693
- .ek.fork { color: #8f7bb8; background: #8250df0a }
694
- .ek.peer { color: #4a74b0; background: #0969da10 }
695
- .ek.cross { font-weight: 400; background: #fff; box-shadow: inset 0 0 0 1px var(--line) }
696
-
697
- /* ══ 宪章 · 按节 ═══════════════════════════════════════════════════ */
698
- /* 通用 details summary (SHARED_CSS) 带灰底、大写和 ::before 箭头 —— 这里全部重置, 箭头自己画。 */
699
- .cmix { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; margin: 2px 0 6px }
700
- .cmix i { display: block; min-width: 3px; background: #c4cbd3 }
701
- .cmix i.top { background: #57606a }
702
- .csec { border-top: 1px solid #eaeef2 }
703
- .csec:first-of-type { border-top: 0 }
704
- .csec > summary {
705
- display: grid; grid-template-columns: 14px minmax(0, 1fr) minmax(60px, 160px) 92px; align-items: center; gap: 10px;
706
- padding: 9px 4px; margin: 0 -4px; border-radius: 6px; border: 0; background: none;
707
- cursor: pointer; list-style: none; user-select: none;
708
- font-size: 13px; font-weight: 400; color: var(--ink); text-transform: none; letter-spacing: 0;
709
- }
710
- .csec > summary::-webkit-details-marker { display: none }
711
- .csec > summary::before { content: "▸"; font-size: 11px; color: var(--faint); transition: transform .12s; justify-self: center }
712
- .csec[open] > summary::before { content: "▸"; transform: rotate(90deg) }
713
- .csec > summary:hover { background: #f6f8fa }
714
- .csec .ct { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
715
- .csec[open] .ct { font-weight: 600 }
716
- .csec .cbar { height: 6px; border-radius: 3px; background: #eaeef2; overflow: hidden }
717
- .csec .cbar i { display: block; height: 100%; border-radius: 3px; background: #afb8c1 }
718
- .csec.top .cbar i { background: #57606a }
719
- .csec .cn { text-align: right; font-size: 11.5px; color: var(--mute); font-family: ui-monospace, Menlo, monospace; white-space: nowrap }
720
- .csec .cn small { color: var(--faint); margin-left: 6px }
721
- .csec .md-body { font-size: 13px; line-height: 1.6; margin: 0 0 12px 24px; padding: 2px 0 2px 12px; border-left: 2px solid #eaeef2; overflow-wrap: anywhere }
722
- .csec .md-body > :first-child { margin-top: 0 }
723
- .csec .md-body > :last-child { margin-bottom: 0 }
724
- .csec .md-body ul { padding-left: 18px }
725
- .csec .md-body pre { white-space: pre-wrap }
526
+
726
527
  /* 关系 / 日程 / 宪章这类视图名很短, 窄屏上该让位的是副标题, 不是标题。 */
727
- .outer .ch-who .t { flex-shrink: 0 }
728
528
  .psec h3 .cx { white-space: nowrap; margin-left: auto; border: 0; background: none; padding: 0; cursor: pointer; font: 11px/1 inherit; color: var(--mute) }
729
529
  .psec h3 .cx:hover { color: var(--ink) }
730
- @media (max-width: 640px) {
731
- .csec > summary { grid-template-columns: 14px minmax(0, 1fr) 84px }
732
- .csec .cbar { display: none }
733
- .csec .md-body { margin-left: 8px }
734
- }
735
530
 
736
531
  /* ══ 日程 · 总览 / 任务卡 ════════════════════════════════════════════ */
737
532
  .pstats {
@@ -996,7 +791,9 @@ button.mchip.rcpt:hover { text-decoration: underline }
996
791
  }
997
792
 
998
793
  /* 搜索跳到的那一句: 气泡闪一圈视角色。 */
999
- .mrow.hit .mb > * { animation: hit 1.6s ease-out }
1000
- /* clone 徽标落到的那次 clone_wizard 调用: 调用框本身再闪一圈。 */
1001
- .mrow .bubble.tool.hit { animation: hit 2.4s ease-out }
1002
794
  @keyframes hit { 0%, 30% { box-shadow: 0 0 0 3px #2f55c955 } 100% { box-shadow: 0 0 0 3px #2f55c900 } }
795
+
796
+ /* ── P7-S3 严格群治理面板 (govbar): 成员 / 游标 / 欠账, 钉在聊天头下面 ── */
797
+
798
+ /* 消息头「过程」展开的 .rv-box 只是个挂载点: 里面的 .steps 已经是虚线过程框, 再描一层就成了框套框。 */
799
+ .rv-msg > .rv-box { padding: 0; border: 0; border-radius: 0; background: none }