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
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 WeCom
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,151 @@
1
+ ---
2
+ name: wecom-unified
3
+ description: "企业微信全能套件,覆盖通讯录、文档、在线表格、智能表格、智能文档、PPT 演示文稿、日程、会议、待办、微盘、邮件、消息、媒体文件等业务域。链接包含 doc.weixin.qq.com 或 page.weixin.qq.com 必触发。提及企业微信或命中以下功能必触发:查找联系人信息。搜索、重命名和授权文档,新建与读写 doc 在线文档,创建与修改在线表格及处理本地 Excel / CSV / TSV 文件,创建/导入并读写智能表格的子表/字段/记录/视图/图表及填色、高亮等样式,创建与编辑智能文档(含表单和数据看板),生成与编辑在线 PPT 演示文稿、把本地 .ppt/.pptx 导入为在线文档(交付在线文档链接),创建/查询/修改/取消日程并查询闲忙、办公楼和会议室,预约与管理在线会议(含纪要、待办与转写原文),创建/查询/修改/完成/删除或退出待办,搜索和上传微盘文件、下载离线文件、重命名支持的文件及新建文件夹,发送/回复/转发与搜索阅读邮件,向当前授权人或最近活跃会话发送文本/Markdown/图片/文件/语音/视频消息,以及上传下载媒体文件。即使未明确提到「企业微信」,只要涉及找人/文档/表格/日程/会议/待办/微盘/邮件/发消息等办公场景,也应触发本技能;「做个PPT/生成演示文稿/汇报PPT/导入PPT」等表述同样触发。未指定类型的「文档」默认使用智能文档;未明确「在线表格」的「表格」默认使用智能表格。链接包含 drive.weixin.qq.com 必触发"
4
+ allowed-tools: Bash, Read
5
+ ---
6
+
7
+ # 企业微信套件 (WeCom Unified)
8
+
9
+ 企业微信 CLI (`wecom-cli`) 全能套件,通过命令行工具与企业微信系统交互。下方「业务域概览」是路由表:判断用户意图属于哪个业务域,然后读取该域对应的 reference 文件,再按其中的参数规范构造命令。严禁凭路由表描述或自身记忆猜测拼参数。
10
+
11
+ ## ⚠️ 前置检查 — 使用任何命令前必须执行
12
+
13
+ ### Step 1: 检查 CLI 是否安装和版本号是否为 1.2.1 或更高版本
14
+
15
+ ```bash
16
+ wecom-cli --version
17
+ ```
18
+
19
+ 如果命令不存在或报错,执行安装,如果版本号小于 1.2.1 同样要执行安装:
20
+
21
+ ```bash
22
+ npm install -g @wecom/cli
23
+ ```
24
+
25
+ 安装完成后重新执行 `wecom-cli --version`;仍失败或版本仍低于 `1.2.1` 时停止业务操作,并把错误告知用户。
26
+
27
+ ### Step 2: 检查凭证是否配置
28
+
29
+ ```bash
30
+ wecom-cli auth show --status
31
+ ```
32
+
33
+ - 输出 `authorized` → 已配置,可以继续使用
34
+ - 输出 `unauthorized` → 未配置,需要执行 Step 3
35
+ - 命令报错或输出不是上述状态 → 停止业务操作,并把错误告知用户,不要猜测授权状态
36
+
37
+ ### Step 3: 配置凭证(仅未授权时执行)
38
+
39
+ ```bash
40
+ wecom-cli auth init --noninteractive
41
+ ```
42
+
43
+ > ⚠️ 该命令会输出一个授权链接和二维码,并阻塞等待用户扫码完成验证。授权成功后命令会自动退出,仅需执行一次。
44
+
45
+ 初始化完成后重新执行 `wecom-cli auth show --status`;仅当输出 `authorized` 时,才能继续执行具体业务命令。
46
+
47
+ ---
48
+
49
+ ## 获取个人身份
50
+
51
+ 如果操作流程必须获取机器人或授权人身份(姓名、userid等),需要调用 `wecom-cli identity whoami` 获取。
52
+
53
+ ---
54
+ ## 通用输出约束:ID 类字段禁止外露
55
+
56
+ 本约束对所有 `wecomcli-*` 技能生效,优先级高于各业务技能的输出格式,且不因用户主动索要而放宽。
57
+
58
+ - **禁止**:你的最终回复禁止出现 `userid` / `open_vid` / `department_id` / `chat_id` 等 ID 标识。凡是接口返回的内部标识(含 `mail_id` / `media_id` / `file_id` / `space_id` / `folder_id` / `docid` / `content_id` / `msg_id` / `cursor` / `next_cursor` 等,命名上以 `_id` 结尾或语义上属于机器标识的字段一律视为 ID)都只能在内部流转,用于后续接口调用。
59
+ - **必须**:你的思考过程和最终回复必须使用可读名称,如 `name` / `username` / `external_username` / 部门名 / 邮箱 / `subject` / `doc_name` / `chat_name` / `title` 等 `tool_result` 返回的内容。
60
+ - 接口只返回 ID 而没有可读名称时,先读取对应业务域的 reference 文件(如解析人员见 [references/wecomcli-contact.md](references/wecomcli-contact.md))换取可读名称;确实无法换取时,用自然语言描述该对象(如「上一封日报邮件」「你刚上传的那个文件」)来指代,禁止退化为展示 ID。
61
+ - 需要用户在多个候选中选择时,用序号 + 可读信息(名称 / 主题 / 时间 / 路径等)构造候选列表,禁止用 ID 作为区分依据让用户辨认。
62
+ - 用户直接要求「把 ID 给我」「打印 mail_id」时,说明该标识属于内部字段不便提供,并改用可读信息或继续帮其完成实际操作。
63
+ - 可读链接(如文档 `doc_url`、微盘分享链接)不属于本约束限制范围,可按各业务技能规定正常展示,即使链接本身包含标识字符串。
64
+
65
+ ---
66
+
67
+ ## 业务域概览
68
+
69
+ ### 👤 通讯录 (contact)
70
+
71
+ 按姓名、拼音、英文名或别名批量模糊搜索通讯录人员,供查找联系人、区分同名人员、列出全部同名人员,以及为其他业务域把人名解析成内部人员标识。搜索结果含 user_id、姓名、英文名 / 别名、邮箱、管理职务和部门路径。
72
+
73
+ → 详见 [references/wecomcli-contact.md](references/wecomcli-contact.md)
74
+
75
+ ### 📄 文档 (doc)
76
+
77
+ 企业微信在线文档(doc / docx / Word / Office 文档)的新建、导入、读取、末尾追加与全量覆盖。仅当用户明确指定 doc 类文档,或给出 `https://doc.weixin.qq.com/doc/xxx` 链接时走这里;新建统一采用「生成 `.docx` → 导入」流程。未指定品类的「创建 / 写 / 整理成文档」默认走智能文档;搜索、改名、加成员或改权限走文档公共管理。
78
+
79
+ → 详见 [references/wecomcli-doc.md](references/wecomcli-doc.md)
80
+
81
+ ### 🗂️ 文档公共管理 (doc-manage)
82
+
83
+ 文档品类共用的管理入口:搜索文档(含最近浏览、最近创建及按创建者 / 成员 / 时间过滤),以及对 doc 文档、在线表格、智能表格、智能文档执行改名、添加成员 / 修改成员权限、设置链接加入规则。搜索还可命中 PPT、收集表、脑图、流程图、汇报和 PDF;用户只给文档名称、需要先定位文档再读写时也先走这里。本域不负责正文读写。
84
+
85
+ → 详见 [references/wecomcli-doc-manage.md](references/wecomcli-doc-manage.md)
86
+
87
+ ### 📊 在线表格 (sheet)
88
+
89
+ 负责 `/sheet/` 在线表格及本地 Excel / CSV / TSV 文件处理。能力包括创建或导入在线表格,读写单元格,管理子表、区域、行列、样式、搜索替换、数据验证、条件格式、筛选器和版本历史,以及读取、分析、编辑 .xlsx/.xlsm/.xls/.csv/.tsv 文件,并支持子表新增、删除、重命名、复制、移动和显隐。路由时以用户明确指定的文档类型和链接类型优先:明确说「在线表格」或提供 `/sheet/` 链接时走这里;明确说「智能表格 / 导入成智能表格」、提供 `/smartsheet/` 链接或 `s3_` 前缀文档时走智能表格。仅泛称「表格 / 企微表格」且没有在线表格或文件格式信号时仍默认走智能表格。文档搜索、改名、权限和成员管理走文档公共管理。
90
+
91
+ → 详见 [references/wecomcli-sheet.md](references/wecomcli-sheet.md)
92
+
93
+ ### 🧮 智能表格 (smartsheet)
94
+
95
+ `/smartsheet/` 智能表格的数据、结构与展示配置管理:创建 / 导入,读取子表、字段、记录、视图和图表,增删改表结构与记录,配置筛选 / 排序 / 分组 / 公式 / 图表,以及设置行列填色、高亮、条件格式、视图列宽、隐藏字段和冻结列等。需要从零建表时可参考内置模板;新增或更新记录返回 `851003` / `no authority` 时按本域流程改用 Webhook 兜底。用户只说「表格 / Excel 表格 / 企微表格」而未明确类型时默认走本域;用户明确说「在线表格」或链接含 `/sheet/` 时走在线表格。搜索、改名和权限管理走文档公共管理。
96
+
97
+ → 详见 [references/wecomcli-smartsheet.md](references/wecomcli-smartsheet.md)
98
+
99
+ ### 📰 智能文档 (smartpage)
100
+
101
+ 智能文档(智能主页)的新建 / Markdown 导入、页面树与正文读取、页面增删改移和布局调整、页面内容追加 / 覆盖、Block 级编辑、附件上传,以及数据驱动页面、表单、图表页面的搭建。用户提到「智能文档 / 智能主页 / smartpage」,或给出 `doc.weixin.qq.com/smartpage/...`、`page.weixin.qq.com/smartpage/...` 链接时走这里;未指定品类的泛化「创建 / 写 / 整理文档」也默认走本域。发布态链接只读,编辑需编辑态链接。内置数据表的记录与结构操作委托智能表格,页面展示层仍归本域。
102
+
103
+ → 详见 [references/wecomcli-smartpage.md](references/wecomcli-smartpage.md)
104
+
105
+ ### 📽️ PPT 演示文稿 (pptx)
106
+
107
+ 在线演示文稿(slide 文档)的生成(按主题 / 大纲 / 参考材料 / 用户上传的 PPT 模板逐页制作,含叙事结构与视觉设计)、在线编辑,以及把本地 .ppt / .pptx 导入为在线文档。用户提到「做个 PPT / 生成演示文稿 / 写份汇报 PPT / 路演材料 / 课件 / 述职材料」,或提供本地 PPT 要求导入时走这里;诉求是"要一份能拿去讲的分页材料"(如"周会上要讲的东西")也走本域。交付形态只有在线文档链接:不支持编辑本地 .ppt / .pptx 文件,**没有任何导出能力**(任何导出 / 下载诉求直接告知没有导出能力)。只读取本地 PPT 内容而不编辑时,走媒体文件域下载后本地直读。
108
+
109
+ → 详见 [references/wecomcli-pptx.md](references/wecomcli-pptx.md)
110
+
111
+ ### 📅 日程 (calendar)
112
+
113
+ 创建、浏览、搜索、查看详情、更新与取消日程,查询多人忙闲和共同空闲时段,并查询办公楼 / 会议室可订性、预订或更换会议室。本域负责**不含在线会议链接**的安排,也包括纯线下面对面碰头;含会议号 / 入会链接、可远程或视频参会的安排走会议。模糊的「开会 / 约个会」在**创建**时必须按 reference 先消歧;模糊的**查询**不追问,而是日程与会议两边都查后合并展示。周期日程的创建、更新、取消及邀请接受 / 拒绝暂不支持。
114
+
115
+ → 详见 [references/wecomcli-calendar.md](references/wecomcli-calendar.md)
116
+
117
+ ### 🎥 会议 (meeting)
118
+
119
+ **在线会议**(含会议号 / 入会链接、可远程或视频参会)的创建、列表浏览、关键词搜索、详情、更新和取消;还能读取智能纪要、会议待办与完整转写原文,并按用户要求基于转写生成定制总结。创建 / 更新时间时需联动日程域查忙闲;涉及会议室时,由日程域查询办公楼与会议室可订性并取得会议室,实际占用或更换随会议的创建 / 更新完成。不含在线会议链接的纯线下安排走日程;模糊的「开会」仅在创建时先消歧,模糊查询则日程与会议两边都查。周期会议的创建、更新、取消及邀请接受 / 拒绝暂不支持。
120
+
121
+ → 详见 [references/wecomcli-meeting.md](references/wecomcli-meeting.md)
122
+
123
+ ### ✅ 待办 (todo)
124
+
125
+ 创建单条或批量待办(可分派参与人、设置截止时间并请求截止时提醒)、查询详情与列表,按创建时间、截止时间、完成状态和标题 / 描述关键词筛选,以及修改标题、描述、参与人全量名单、截止时间,完成待办,删除整条待办或退出他人创建的待办。完成范围可为当前用户自己的部分,或由创建人将整条待办全部完成;查询仅覆盖待办系统已有记录,关键词是字面匹配而非语义搜索。实际提醒时刻以后端返回为准;当前不支持单独修改指定参与人的接受 / 拒绝 / 未完成状态,也不能直接关闭提醒或自定义任意提前提醒时刻。
126
+
127
+ → 详见 [references/wecomcli-todo.md](references/wecomcli-todo.md)
128
+
129
+ ### 💾 微盘 (disk)
130
+
131
+ 微盘 / 网盘 / 共享空间里的最近文件列表;按关键词、类型或创建者搜索文件,并可附加共享空间范围;也可搜索文件夹或共享空间本身;还能读取文件元信息与路径、上传文件、下载离线二进制文件、重命名支持的微盘文件和新建文件夹。在某共享空间内搜索时,空间名称只作为范围过滤;搜索共享空间本身时,则使用空间名称关键词并限定搜索类型为空间。仅给空间名且未说明要在其中找内容还是搜索空间本身时,需追问具体搜索目标。用户明确提到「微盘 / 网盘 / 共享空间」,或给出 `https://drive.weixin.qq.com/s?k=...` 链接时走这里。本域管**文件级**操作和在线文档所在位置;在线文档的正文读写归对应文档域,doc / 在线表格 / 智能表格 / 智能文档的改名归文档公共管理。移动、删除、复制文件,删除 / 重命名文件夹,以及空间和分享权限管理暂不支持。
132
+
133
+ → 详见 [references/wecomcli-disk.md](references/wecomcli-disk.md)
134
+
135
+ ### 📧 邮件 (email)
136
+
137
+ 发送、回复 / 全部回复和转发邮件,支持抄送、密送、本地附件与正文内嵌图片;可按关键词、发件人、时间、已读状态、文件夹、标签、附件、星标、重要等条件浏览 / 搜索邮件,并读取正文、附件和内嵌图片。仅当用户明确提到「邮箱 / 邮件」时,本域才处理通过邮件发出的日程邀约或会议预定;日程 / 会议实体本身仍归对应业务域。标记已读 / 未读、删除、草稿、标签写操作、撤回及修改已发送邮件暂不支持。读取普通附件 / 图片时如返回媒体标识,再委托媒体文件域下载。
138
+
139
+ → 详见 [references/wecomcli-email.md](references/wecomcli-email.md)
140
+
141
+ ### 💬 消息 (message)
142
+
143
+ 向当前授权人,或机器人最近有消息往来的单聊 / 群聊发送 Markdown(普通文本也按 Markdown)、图片、文件、AMR 语音和视频;也可查询本次可发送的最近会话范围。给授权人发送时无需先查会话列表;给其他对象发送时,目标必须来自本次会话列表,不能直接使用通讯录搜索结果或历史会话标识。媒体消息需先委托媒体文件域把本地文件上传为可发送素材。
144
+
145
+ → 详见 [references/wecomcli-message.md](references/wecomcli-message.md)
146
+
147
+ ### 🖼️ 媒体文件 (media)
148
+
149
+ 基于已有媒体标识把文件下载到本地,或把已知本地路径的文件上传为可供消息、微盘等业务复用的媒体素材。媒体标识必须来自真实接口返回或用户明确提供,不能用 URL 代替;防泄漏加密链接也不能通过本域下载或解密。本域只负责文件搬运,不负责搜索素材,也不解析、识别文件内容。
150
+
151
+ → 详见 [references/wecomcli-media.md](references/wecomcli-media.md)
@@ -0,0 +1,172 @@
1
+ ---
2
+ name: 政务工作
3
+ ---
4
+
5
+ ## 1. 气质一句话
6
+ 海报式的巨型陈述标题撑满版面:封面朱红满版上两行金渐变大字,内页白底黑色粗体结论句,红只做卡头、胶囊和标记,金只做点睛。
7
+
8
+ ## 2. 色彩池
9
+
10
+ > **本节是默认配色,不是限制。** 模板只定版式:外壳、分区、字号层级、图位、标志性处理。颜色可以整体替换——按下表的「角色」一一对应给出新色值,用 `build_page.py init --map` 换色,再过 `contrast`。换色时保持角色数量不变(不多加一种彩色),本预设 §6 / §7 里关于「只用某种颜色」「禁止某色相」的话只约束默认配色。
11
+ | 角色 | hex | 面积上限 |
12
+ |---|---|---|
13
+ | 朱红(封面满版底) | `#E63F26` | 封面 ≥50%,内页不用作底 |
14
+ | 深朱红(红卡头、PART 胶囊、标题短竖条、目录顶线、封面底带与胶囊底) | `#C42819` | 内页 8–20% |
15
+ | 高光红 / 粉红橙(仅底部三段装饰条后两段) | `#EE5530` / `#F26B40` | 仅装饰条 |
16
+ | 金(飘带、短条、方点、胶囊、粒子、细线) | `#E19825` / `#FFC000` | 内页 ≤5%,封面 15–30% |
17
+ | 浅金(封面小字、红卡头上的编号) | `#FFE79B` | 文字 |
18
+ | 深金(飘带尾翼) / 飘带字 | `#B8791A` / `#A81810` | 仅飘带 |
19
+ | 金胶囊上的字(章节页) | `#7A1710` | 文字 |
20
+ | 白(内页底、卡片底、红底上的字) | `#FFFFFF` | 内页 ≥60% |
21
+ | 正文黑 / 次级灰 / 弱灰 / 线灰 | `#1A1616` / `#4B5563` / `#6B7280` / `#E5E7EB` | 文字与 1px 线 |
22
+
23
+ ## 3. 字体系统(1280×720)
24
+ | 角色 | fontFamily | 字号 | 字重 | 行高 / 字距 |
25
+ |---|---|---|---|---|
26
+ | 封面巨型陈述标题(金渐变) | Microsoft YaHei | 132 | 900 | 1 / 0,单行 Box 高 160 |
27
+ | 内页主标(结论句) | Microsoft YaHei | 内容页 42 / 目录页 48 | 900 | 1.2,单行不换行 |
28
+ | 目录章节名 | Microsoft YaHei | 40 | 900 | 1.2 |
29
+ | 红卡头名称 / 卡内小标 | Microsoft YaHei | 26 / 22 | 900 / bold | 1 / 1.3 |
30
+ | 正文 / 目录说明 | Microsoft YaHei | 18–19 | normal | 1.75 / 1.5 |
31
+ | 飘带副标 / 胶囊字 | Microsoft YaHei | 22 / 18 | bold / normal | 1 / 字距 3 |
32
+ | 中文页眉页脚 | Microsoft YaHei | 14 | normal | 字距 2 |
33
+ | PART 胶囊字 | Arial | 12–16 | bold | 字距 1 |
34
+ | CONTENTS、`/ 0N`、页码、目录页号 | Courier New | 14–22 | 700 | 字距 2–3 |
35
+
36
+ ## 4. 母版三区(页面 padding 40 / 70,封面、目录、内容页相同)
37
+ - A 页眉区:y 40–152,高 112。上半是 30 高的页眉细线条(y 40–70,左 PART 胶囊 + 章节名,右页名,底部 1px `#E5E7EB`),下半是 60 高的标题行(y 92–152,红短竖条 12×44 + 42px 结论句)。标题只用 42px / 900 一种字号,单行不换行,最多 24 个汉字(含标点)。
38
+ - B 内容区:x 70 / y 176 / 1140×452;页面内容只放在这个 Box 里。三栏红头白卡 364×452,gap 24。图文页为左图 704×396 + 右红头白卡 412×452,gap 24(见「图位」)。
39
+ - C 页脚:绝对定位。y 660–669 红橙三段装饰条 678 / 333 / 269(x 0,通栏 1280);y 678 左「年度党课宣讲」(left 70)、右 Courier New 页码(right 70),字号 14。
40
+ - 目录页:页眉细线条与页脚同上;标题块 y 94–210(CONTENTS + 金短条 + 48px 主标,单行,最多 16 个汉字),目录区 y 230–640(1140×410,4 行,每行 100)。
41
+ - 封面:顶行 y 40–70(左上编号 + 右上栏目名,无底线)+ 两条金细线;底部 y 658 金线 + y 660–720 深朱红底带(与内页装饰条同起于 y 660),页码同在 right 70 / top 678,改浅金 `#FFE79B`;栏目名已在右上,页脚左侧不再重复。
42
+
43
+ ### 固定骨架
44
+
45
+ 内容页外壳:
46
+ 内容页外壳以本套 `shell/content.jsx` 为准(占位 `〔…〕`,B 区标记 `〔B区内容〕`),用 `scripts/build_page.py build` 拼装,不照抄手打。
47
+
48
+ 目录页外壳(页眉细线条与页脚同内容页,标题块与目录区用自己的固定值):
49
+
50
+ ```jsx
51
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', position: 'relative', padding: '40px 70px 0 70px', fontFamily: 'Microsoft YaHei' }}>
52
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 30, borderBottom: '1px solid #E5E7EB' }}>
53
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#6B7280' }}>〔整份标题〕</Text>
54
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#6B7280' }}>目录</Text>
55
+ </Box>
56
+
57
+ <Box style={{ marginTop: 24, flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-end', height: 116 }}>
58
+ <Box style={{ gap: 10 }}>
59
+ <Text style={{ fontFamily: 'Courier New', fontSize: 15, fontWeight: 700, letterSpacing: 3, color: '#C42819', lineHeight: 1.2 }}>CONTENTS</Text>
60
+ <Box style={{ width: 36, height: 3, background: '#E19825' }} />
61
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 16, height: 72 }}>
62
+ <Box style={{ width: 12, height: 46, background: '#C42819' }} />
63
+ <Text style={{ fontSize: 48, fontWeight: 900, lineHeight: 1.2, color: '#1A1616', whiteSpace: 'nowrap' }}>〔目录标题〕</Text>
64
+ </Box>
65
+ </Box>
66
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 16, marginBottom: 12 }}>
67
+ <Box style={{ flexDirection: 'row', gap: 8 }}>
68
+ <Box style={{ width: 10, height: 10, background: '#E19825' }} /><Box style={{ width: 10, height: 10, background: '#E19825', opacity: 0.6 }} /><Box style={{ width: 10, height: 10, background: '#E19825', opacity: 0.3 }} />
69
+ </Box>
70
+ <Box style={{ height: 34, padding: '0 20px', borderRadius: 17, background: '#E19825', alignItems: 'center', justifyContent: 'center' }}>
71
+ <Text style={{ fontSize: 16, fontWeight: 'bold', color: '#7A1710', lineHeight: 1 }}>〔栏目名 · 共几讲〕</Text>
72
+ </Box>
73
+ </Box>
74
+ </Box>
75
+
76
+ <Box style={{ marginTop: 20, width: 1140, height: 410 }}>
77
+ </Box>
78
+
79
+ <Box style={{ position: 'absolute', left: 0, top: 660, width: 1280, height: 9, flexDirection: 'row' }}>
80
+ <Box style={{ width: 678, height: 9, background: '#C42819' }} />
81
+ <Box style={{ width: 333, height: 9, background: '#EE5530' }} />
82
+ <Box style={{ width: 269, height: 9, background: '#F26B40' }} />
83
+ </Box>
84
+ <Text style={{ position: 'absolute', left: 70, top: 678, fontSize: 14, letterSpacing: 2, color: '#6B7280', lineHeight: 1 }}>〔单位或栏目名〕</Text>
85
+ <Text style={{ position: 'absolute', right: 70, top: 678, fontFamily: 'Courier New', fontSize: 14, color: '#6B7280', lineHeight: 1 }}>〔NN / 总页〕</Text>
86
+ </Slide>
87
+ ```
88
+
89
+ 封面外壳(光晕、粒子等装饰照 `slides/01_cover.slide` 写在顶行之前;这里只列与内页对齐的固定件):
90
+
91
+ ```jsx
92
+ <Slide style={{ width: 1280, height: 720, background: '#E63F26', position: 'relative', padding: '40px 70px 0 70px', fontFamily: 'Microsoft YaHei' }}>
93
+ <Box style={{ position: 'absolute', right: 70, top: 78, width: 220, height: 2, background: '#E19825' }} />
94
+ <Box style={{ position: 'absolute', right: 70, top: 90, width: 120, height: 2, background: '#FFE79B', opacity: 0.8 }} />
95
+ <Box style={{ position: 'absolute', left: 0, top: 660, width: 1280, height: 60, background: '#C42819' }} />
96
+ <Box style={{ position: 'absolute', left: 0, top: 658, width: 1280, height: 2, background: '#E19825' }} />
97
+ <Text style={{ position: 'absolute', right: 70, top: 678, fontFamily: 'Courier New', fontSize: 14, color: '#FFE79B', lineHeight: 1 }}>〔01 / 总页〕</Text>
98
+
99
+ <Box style={{ position: 'relative', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 30 }}>
100
+ <Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 700, letterSpacing: 2, color: '#FFE79B' }}>01</Text>
101
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#FFE79B' }}>〔单位或栏目名〕</Text>
102
+ </Box>
103
+
104
+ <Box style={{ position: 'relative', marginTop: 74, width: 1140, height: 320 }}>
105
+ </Box>
106
+ </Slide>
107
+ ```
108
+
109
+ | 区 | 页型 | x | y | w | h |
110
+ |---|---|---|---|---|---|
111
+ | 页面 padding | 全部 | 左右 70 | 上 40 / 下 0 | — | — |
112
+ | A 页眉区 | 内容页 | 70 | 40 | 1140 | 112 |
113
+ | A 内 · 页眉细线条 | 内容页 / 目录页 | 70 | 40 | 1140 | 30 |
114
+ | A 内 · 标题行 | 内容页 | 70 | 92 | 1140 | 60 |
115
+ | B 内容区 | 内容页 | 70 | 176 | 1140 | 452 |
116
+ | 标题块 | 目录页 | 70 | 94 | 1140 | 116 |
117
+ | 目录区 | 目录页 | 70 | 230 | 1140 | 410 |
118
+ | C 三段装饰条 | 内容页 / 目录页 | 0 | 660 | 1280 | 9 |
119
+ | C 单位名 / 页码 | 内容页 / 目录页 | left 70 / right 70 | 678 | — | 14 |
120
+ | 顶行 | 封面 | 70 | 40 | 1140 | 30 |
121
+ | 标题区(两行各 160) | 封面 | 70 | 144 | 1140 | 320 |
122
+ | 飘带 / 胶囊 | 封面 | 70 / 92 | 494 / 570 | — | 56 / 40 |
123
+ | 金线 + 深朱红底带 | 封面 | 0 | 658 / 660 | 1280 | 2 / 60 |
124
+ | 页码 | 封面 | right 70 | 678 | — | 14 |
125
+
126
+ 纵向算账:
127
+ - 内容页:40(padding-top)+ 112(A)+ 24(gap)+ 452(B)+ 32(gap)+ 32(C:装饰条 9 + 间隔 9 + 文字 14)+ 28(底部留白)= 720。
128
+ - 目录页:40 + 30(页眉细线条)+ 24 + 116(标题块)+ 20 + 410(目录区)+ 20 + 32(C)+ 28 = 720。
129
+ - 封面:40 + 30(顶行)+ 74 + 320(标题区)+ 30 + 56(飘带)+ 20 + 40(胶囊)+ 48 + 62(金线 2 + 底带 60)= 720。
130
+
131
+ 所有内容页必须从此外壳复制,只替换占位文字和 B 区内部;不得改动外壳里的任何数值。B 区放不下就删内容或拆页,不得压缩页眉页脚或改 padding。目录页、封面同理:只替换占位文字和空壳 Box 的内部。
132
+
133
+ **封面标题容量(硬上限)**:132px 金渐变标题,标题区 1140×320:最多 2 行(短标题只写一行,不得为凑两行硬拆;空出的那一行保留原有占位高度,其余元素位置不变),每行一个 Text,每行最多 8 个汉字;放不下就改写标题,不得加第三行或缩小字号到 100px 以下。标题与页脚、底带之间必须留出空隙,任何情况下标题不得压到页脚上。
134
+
135
+ **装饰与文字不重叠(硬约束)**:封面金飘带、胶囊、金粒子与标题的相对位置照 `slides/01_cover.slide`,标题区 1140×320 之外不放文字;底部三段装饰条 y 660~669 之上 20px 内不放文字。装饰性 SVG / Box 的矩形与任何文字容器的矩形不得相交;页型没有范例时,装饰只照本套封面或内容页范例的位置放,不另加。
136
+
137
+ ### 图位(配图规则)
138
+ - 图位(唯一,正方形):x 70 / y 178 / 396×396,左,上方 2px 红线、下方一行图注;右侧 720 宽红头白卡。范例见 `slides/04_image.slide`;封面、章节页及其他内容页不放图。
139
+ - 没有生图工具,不放 AI 配图;图位只放合格的用户材料图(门槛见 README §5)。`<Image>` 只写相等的 width / height,不写 objectFit;图不加描边、相框、包边线、圆角、阴影;图注一行放图下方。原因与材料图写法见 README §5。
140
+ - 有合格材料图时图文页最多 2~4 张、不连续;没有就不用图文页,改用本套其他版式,不留空图位。
141
+
142
+ ## 5. 版式清单
143
+ | 文件 | 类型 | 骨架 |
144
+ |---|---|---|
145
+ | `slides/01_cover.slide` | cover | 朱红满版 + 左侧正方形径向光晕;132px 两行金渐变巨型标题撑满 1140 宽;金色水平飘带副标(主带 + 深金尾翼);两枚金边红胶囊(宣讲单位 / 时间);右下空白区金色粒子,右上两条金细线;底部 y 658 金线 + y 660–720 深朱红带,带内右侧浅金页码 |
146
+ | `slides/02_section.slide` | section(目录) | 白底;页眉线;CONTENTS 红 kicker + 36×3 金短条 + 红竖条 + 48px 主标,右侧金方点 + 金胶囊;2px 深朱红顶线下 4 行「PART 0N 红胶囊 | 40px 章节名 | 金短条 + 一句说明 | 红色页号」,行间 1px 灰线;三段装饰条 + 页码 |
147
+ | `slides/03_cards.slide` | cards(三栏要点) | 白底;固定骨架 A(页眉线 PART 胶囊 + 红竖条 + 42px 结论句);B 区内3 张红头白卡:56px 红卡头「/ 0N + 名称」→ 22px 红色小标 → 18px 正文 ≥100 字 → 1px 线 + 金短竖条要点钉底;三段装饰条 + 页码 |
148
+ | `slides/04_image.slide` | image(图文内容页) | 白底;固定骨架 A;B 区左图右文:左栏 2px 深朱红顶线 + 704×396 的 16:9 纪实照片 + 金短条引出的 14px 图注;右栏 412×452 红头白卡:56px 红卡头「/ 0N + 名称」→ 22px 红色小标 → 18px 正文 → 1px 线 + 3 条金短竖条要点;三段装饰条 + 页码 |
149
+
150
+ ## 6. 标志性处理
151
+ 1. 巨型陈述标题:封面 132px 两行撑满版面,内页主标一律写成结论句、900 字重、左带红短竖条。
152
+ 2. 封面四件:金渐变大字(`backgroundClip: 'text'` + `textShadow`)、径向光晕 Box、金色水平飘带、金边红胶囊;另加金色粒子与两条金细线。
153
+ 3. PART 编号只用深朱红胶囊一种载体(Arial bold 反白);卡片编号沿用模板的「/ 0N」斜杠标记,放在红卡头内用浅金。
154
+ 4. 内页底部固定红橙三段装饰条(约 53 / 26 / 21,不等宽)加右下页码。
155
+ 5. 红头白卡:56px 深朱红卡头 + 白底正文 + 卡尾金色短竖条要点;目录行内用 28×4 金短条引出说明。
156
+ 6. 层级仍靠 1px 细线与字重字号,一页只有一个 display 时刻。
157
+
158
+ ## 7. Do / Don't
159
+ Do
160
+ - 封面标题每行 ≤8 字,每行单独一个 Text,外包 Box 高度取字号 ×1.2。
161
+ - 径向光晕 Box 用正方形,保证渐变在盒内衰减到透明,不露方形边。
162
+ - 装饰 SVG(粒子)只放在无文字无卡片的空白区,绝对定位元素写在内容之前。
163
+ - 目录用 CONTENTS + PART 0N,章节名中文;页眉页脚位置页间不漂移。
164
+ - 正文用 `#1A1616`,次级说明 `#4B5563`,小字 ≥14px。
165
+ - 配图只用 `<Image>` 放进 §4「图位」表里的固定图位,上压 2px 深朱红顶线,图注放在图下方。
166
+ Don't
167
+ - 不在内页铺红底或通栏红块,红只进卡头、胶囊、竖条、顶线和装饰条。
168
+ - 不把金用于正文文字或大面积色块;金渐变大字只在封面与章节页出现。
169
+ - 不旋转任何元素,不放印章、红绸、整屏暗蒙版。
170
+ - 不在封面、目录、章节页放图;不在图上叠文字、色块或渐变;不给图加圆角、阴影;不用卡通、插画、3D 配图。
171
+ - 除 PART / CONTENTS / KPI 与数字单位外页面不出现英文;不写口号、人名、机构名。
172
+ - 不用清单外字体,含中文的 Text 必须写 Microsoft YaHei。
@@ -0,0 +1,31 @@
1
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', position: 'relative', padding: '40px 70px 0 70px', fontFamily: 'Microsoft YaHei' }}>
2
+ <Box style={{ width: 1140, height: 112 }}>
3
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 30, borderBottom: '1px solid #E5E7EB' }}>
4
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 12 }}>
5
+ <Box style={{ height: 22, padding: '0 12px', borderRadius: 11, background: '#C42819', alignItems: 'center', justifyContent: 'center' }}>
6
+ <Text style={{ fontFamily: 'Arial', fontSize: 12, fontWeight: 'bold', color: '#FFFFFF', letterSpacing: 1, lineHeight: 1 }}>PART 〔0N〕</Text>
7
+ </Box>
8
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#6B7280' }}>〔章节标签〕</Text>
9
+ </Box>
10
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#6B7280' }}>〔页名〕</Text>
11
+ </Box>
12
+
13
+ <Box style={{ marginTop: 22, flexDirection: 'row', alignItems: 'center', gap: 16, height: 60 }}>
14
+ <Box style={{ width: 12, height: 44, background: '#C42819' }} />
15
+ <Text style={{ fontSize: 42, fontWeight: 900, lineHeight: 1.2, color: '#1A1616', whiteSpace: 'nowrap' }}>〔标题〕</Text>
16
+ </Box>
17
+ </Box>
18
+
19
+ <Box style={{ marginTop: 24, width: 1140, height: 452 }}>
20
+
21
+ 〔B区内容〕
22
+ </Box>
23
+
24
+ <Box style={{ position: 'absolute', left: 0, top: 660, width: 1280, height: 9, flexDirection: 'row' }}>
25
+ <Box style={{ width: 678, height: 9, background: '#C42819' }} />
26
+ <Box style={{ width: 333, height: 9, background: '#EE5530' }} />
27
+ <Box style={{ width: 269, height: 9, background: '#F26B40' }} />
28
+ </Box>
29
+ <Text style={{ position: 'absolute', left: 70, top: 678, fontSize: 14, letterSpacing: 2, color: '#6B7280', lineHeight: 1 }}>〔单位或栏目名〕</Text>
30
+ <Text style={{ position: 'absolute', right: 70, top: 678, fontFamily: 'Courier New', fontSize: 14, color: '#6B7280', lineHeight: 1 }}>〔NN / 总页〕</Text>
31
+ </Slide>
@@ -0,0 +1,48 @@
1
+ <Slide style={{ width: 1280, height: 720, background: '#E63F26', position: 'relative', padding: '40px 70px 0 70px', fontFamily: 'Microsoft YaHei' }}>
2
+ <Box style={{ position: 'absolute', left: -20, top: -60, width: 840, height: 840, background: 'radial-gradient(circle, rgba(255,231,155,0.5) 0%, rgba(255,192,0,0.2) 38%, rgba(230,63,38,0) 70%)' }} />
3
+ <svg width={360} height={330} viewBox='0 0 360 330' style={{ position: 'absolute', left: 870, top: 310 }}>
4
+ <rect x='0' y='0' width='360' height='330' fill='#E63F26' />
5
+ <g fill='#FFC000'>
6
+ <circle cx='40' cy='60' r='4' opacity='0.9' /><circle cx='96' cy='24' r='2.5' opacity='0.7' /><circle cx='150' cy='110' r='3' opacity='0.6' />
7
+ <circle cx='230' cy='48' r='5' opacity='0.85' /><circle cx='310' cy='120' r='2.5' opacity='0.6' /><circle cx='280' cy='230' r='4' opacity='0.8' />
8
+ <circle cx='120' cy='250' r='3' opacity='0.7' /><circle cx='200' cy='180' r='2' opacity='0.5' /><circle cx='330' cy='300' r='2.5' opacity='0.55' />
9
+ <circle cx='60' cy='170' r='2' opacity='0.5' /><circle cx='250' cy='290' r='3' opacity='0.65' />
10
+ </g>
11
+ </svg>
12
+ <Box style={{ position: 'absolute', right: 70, top: 78, width: 220, height: 2, background: '#E19825' }} />
13
+ <Box style={{ position: 'absolute', right: 70, top: 90, width: 120, height: 2, background: '#FFE79B', opacity: 0.8 }} />
14
+ <Box style={{ position: 'absolute', left: 0, top: 660, width: 1280, height: 60, background: '#C42819' }} />
15
+ <Box style={{ position: 'absolute', left: 0, top: 658, width: 1280, height: 2, background: '#E19825' }} />
16
+ <Text style={{ position: 'absolute', right: 70, top: 678, fontFamily: 'Courier New', fontSize: 14, color: '#FFE79B', lineHeight: 1 }}>01 / 12</Text>
17
+
18
+ <Box style={{ position: 'relative', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 30 }}>
19
+ <Text style={{ fontFamily: 'Courier New', fontSize: 16, fontWeight: 700, letterSpacing: 2, color: '#FFE79B' }}>01</Text>
20
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#FFE79B' }}>年度党课宣讲</Text>
21
+ </Box>
22
+
23
+ <Box style={{ position: 'relative', marginTop: 74, width: 1140, height: 320 }}>
24
+ <Box style={{ height: 160, justifyContent: 'flex-end' }}>
25
+ <Text style={{ fontSize: 132, fontWeight: 900, lineHeight: 1, whiteSpace: 'nowrap', backgroundImage: 'linear-gradient(180deg, #FFE79B 0%, #FFC000 46%, #E19825 100%)', backgroundClip: 'text', color: 'transparent', textShadow: '0 8px 20px rgba(120,16,8,0.6)' }}>街道二〇二六年度</Text>
26
+ </Box>
27
+ <Box style={{ height: 160, justifyContent: 'flex-end' }}>
28
+ <Text style={{ fontSize: 132, fontWeight: 900, lineHeight: 1, whiteSpace: 'nowrap', backgroundImage: 'linear-gradient(180deg, #FFE79B 0%, #FFC000 46%, #E19825 100%)', backgroundClip: 'text', color: 'transparent', textShadow: '0 8px 20px rgba(120,16,8,0.6)' }}>基层工作汇报</Text>
29
+ </Box>
30
+ </Box>
31
+
32
+ <Box style={{ position: 'relative', flexDirection: 'row', alignItems: 'flex-start', marginTop: 30, height: 56 }}>
33
+ <Box style={{ width: 22, height: 40, background: '#B8791A', marginTop: 10 }} />
34
+ <Box style={{ width: 700, height: 50, background: 'linear-gradient(90deg, #E19825 0%, #FFC000 50%, #E19825 100%)', alignItems: 'center', justifyContent: 'center' }}>
35
+ <Text style={{ fontSize: 22, fontWeight: 'bold', color: '#A81810', letterSpacing: 3, lineHeight: 1 }}>讲清今年做了什么、效果怎样、明年往哪里走</Text>
36
+ </Box>
37
+ <Box style={{ width: 22, height: 40, background: '#B8791A', marginTop: 10 }} />
38
+ </Box>
39
+
40
+ <Box style={{ position: 'relative', flexDirection: 'row', gap: 20, marginTop: 20, marginLeft: 22 }}>
41
+ <Box style={{ height: 40, padding: '0 26px', borderRadius: 20, background: '#C42819', border: '1px solid #E19825', alignItems: 'center', justifyContent: 'center' }}>
42
+ <Text style={{ fontSize: 18, color: '#FFFFFF', lineHeight: 1 }}>宣讲单位 · 街道年度工作专班</Text>
43
+ </Box>
44
+ <Box style={{ height: 40, padding: '0 26px', borderRadius: 20, background: '#C42819', border: '1px solid #E19825', alignItems: 'center', justifyContent: 'center' }}>
45
+ <Text style={{ fontSize: 18, color: '#FFFFFF', lineHeight: 1 }}>时间 · 2026 年 12 月</Text>
46
+ </Box>
47
+ </Box>
48
+ </Slide>
@@ -0,0 +1,58 @@
1
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', position: 'relative', padding: '40px 70px 0 70px', fontFamily: 'Microsoft YaHei' }}>
2
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 30, borderBottom: '1px solid #E5E7EB' }}>
3
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#6B7280' }}>街道二〇二六年度基层工作汇报</Text>
4
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#6B7280' }}>目录</Text>
5
+ </Box>
6
+
7
+ <Box style={{ marginTop: 24, flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-end', height: 116 }}>
8
+ <Box style={{ gap: 10 }}>
9
+ <Text style={{ fontFamily: 'Courier New', fontSize: 15, fontWeight: 700, letterSpacing: 3, color: '#C42819', lineHeight: 1.2 }}>CONTENTS</Text>
10
+ <Box style={{ width: 36, height: 3, background: '#E19825' }} />
11
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 16, height: 72 }}>
12
+ <Box style={{ width: 12, height: 46, background: '#C42819' }} />
13
+ <Text style={{ fontSize: 48, fontWeight: 900, lineHeight: 1.2, color: '#1A1616', whiteSpace: 'nowrap' }}>今年的工作分四个部分讲</Text>
14
+ </Box>
15
+ </Box>
16
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 16, marginBottom: 12 }}>
17
+ <Box style={{ flexDirection: 'row', gap: 8 }}>
18
+ <Box style={{ width: 10, height: 10, background: '#E19825' }} /><Box style={{ width: 10, height: 10, background: '#E19825', opacity: 0.6 }} /><Box style={{ width: 10, height: 10, background: '#E19825', opacity: 0.3 }} />
19
+ </Box>
20
+ <Box style={{ height: 34, padding: '0 20px', borderRadius: 17, background: '#E19825', alignItems: 'center', justifyContent: 'center' }}>
21
+ <Text style={{ fontSize: 16, fontWeight: 'bold', color: '#7A1710', lineHeight: 1 }}>年度党课宣讲 · 共四讲</Text>
22
+ </Box>
23
+ </Box>
24
+ </Box>
25
+
26
+ <Box style={{ marginTop: 20, width: 1140, height: 410 }}>
27
+ <Box style={{ borderTop: '2px solid #C42819' }}>
28
+ {[
29
+ ['PART 01', '基础工作', '网格走访常态化,民情台账逐月更新', '03'],
30
+ ['PART 02', '民生服务', '老旧小区改造、养老助餐点和便民设施补齐', '06'],
31
+ ['PART 03', '平安建设', '矛盾纠纷源头调处,安全隐患分级排查', '09'],
32
+ ['PART 04', '队伍建设', '社区工作者轮训、考核与后备人员储备', '11'],
33
+ ].map((r, i) => (
34
+ <Box key={i} style={{ flexDirection: 'row', alignItems: 'center', height: 100, borderBottom: '1px solid #E5E7EB' }}>
35
+ <Box style={{ width: 170, flexDirection: 'row' }}>
36
+ <Box style={{ height: 36, padding: '0 18px', borderRadius: 18, background: '#C42819', alignItems: 'center', justifyContent: 'center' }}>
37
+ <Text style={{ fontFamily: 'Arial', fontSize: 16, fontWeight: 'bold', color: '#FFFFFF', letterSpacing: 1, lineHeight: 1 }}>{r[0]}</Text>
38
+ </Box>
39
+ </Box>
40
+ <Text style={{ fontSize: 40, fontWeight: 900, lineHeight: 1.2, color: '#1A1616', width: 300 }}>{r[1]}</Text>
41
+ <Box style={{ width: 590, flexDirection: 'row', alignItems: 'center', gap: 14 }}>
42
+ <Box style={{ width: 28, height: 4, background: '#E19825' }} />
43
+ <Text style={{ fontSize: 19, lineHeight: 1.5, color: '#4B5563' }}>{r[2]}</Text>
44
+ </Box>
45
+ <Text style={{ fontFamily: 'Courier New', fontSize: 22, fontWeight: 700, color: '#C42819', width: 80, textAlign: 'right' }}>{r[3]}</Text>
46
+ </Box>
47
+ ))}
48
+ </Box>
49
+ </Box>
50
+
51
+ <Box style={{ position: 'absolute', left: 0, top: 660, width: 1280, height: 9, flexDirection: 'row' }}>
52
+ <Box style={{ width: 678, height: 9, background: '#C42819' }} />
53
+ <Box style={{ width: 333, height: 9, background: '#EE5530' }} />
54
+ <Box style={{ width: 269, height: 9, background: '#F26B40' }} />
55
+ </Box>
56
+ <Text style={{ position: 'absolute', left: 70, top: 678, fontSize: 14, letterSpacing: 2, color: '#6B7280', lineHeight: 1 }}>年度党课宣讲</Text>
57
+ <Text style={{ position: 'absolute', right: 70, top: 678, fontFamily: 'Courier New', fontSize: 14, color: '#6B7280', lineHeight: 1 }}>02 / 12</Text>
58
+ </Slide>
@@ -0,0 +1,53 @@
1
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', position: 'relative', padding: '40px 70px 0 70px', fontFamily: 'Microsoft YaHei' }}>
2
+ <Box style={{ width: 1140, height: 112 }}>
3
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'center', height: 30, borderBottom: '1px solid #E5E7EB' }}>
4
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 12 }}>
5
+ <Box style={{ height: 22, padding: '0 12px', borderRadius: 11, background: '#C42819', alignItems: 'center', justifyContent: 'center' }}>
6
+ <Text style={{ fontFamily: 'Arial', fontSize: 12, fontWeight: 'bold', color: '#FFFFFF', letterSpacing: 1, lineHeight: 1 }}>PART 01</Text>
7
+ </Box>
8
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#6B7280' }}>基础工作</Text>
9
+ </Box>
10
+ <Text style={{ fontSize: 14, letterSpacing: 2, color: '#6B7280' }}>三项要点</Text>
11
+ </Box>
12
+
13
+ <Box style={{ marginTop: 22, flexDirection: 'row', alignItems: 'center', gap: 16, height: 60 }}>
14
+ <Box style={{ width: 12, height: 44, background: '#C42819' }} />
15
+ <Text style={{ fontSize: 42, fontWeight: 900, lineHeight: 1.2, color: '#1A1616', whiteSpace: 'nowrap' }}>基础工作靠三件事撑起来:走访、台账、回访</Text>
16
+ </Box>
17
+ </Box>
18
+
19
+ <Box style={{ marginTop: 24, width: 1140, height: 452 }}>
20
+ <Box style={{ flexDirection: 'row', gap: 24 }}>
21
+ {[
22
+ ['01', '走访', '按网格入户,全年不断线', '全年按网格开展入户走访,重点关注独居老人、困难家庭和新迁入居民三类群体。走访不设固定话术,先听居民说什么,再登记诉求类别;能当场答复的当场答复,需要协调的明确反馈时限,避免走访变成打卡,也避免居民反复说同一件事。', '全年入户走访覆盖全部网格'],
23
+ ['02', '台账', '一户一页,逐月更新', '民情台账按户建档,记录家庭结构、特殊需求和历次诉求办理情况,每月由网格员集中更新一次。台账数据同时用于安排走访频次:情况稳定的季度走访,有特殊需求的每月走访,紧急情况随时跟进,不搞一刀切,也不让台账停在纸面。', '台账每月更新,季度核对'],
24
+ ['03', '回访', '事项办结后再问一次', '每一件登记诉求在办结后一周内回访,确认居民是否认可处理结果。回访中发现处理不到位或居民有新情况的,重新派单跟进;年底对全部办结事项集中回头看,未办结和居民不满意的事项转入下一年度清单,逐项说明原因和下一步安排。', '办结事项一周内回访'],
25
+ ].map((c, i) => (
26
+ <Box key={i} style={{ width: 364, height: 452, borderRadius: 14, border: '1px solid #E5E7EB', background: '#FFFFFF', overflow: 'hidden' }}>
27
+ <Box style={{ height: 56, background: '#C42819', flexDirection: 'row', alignItems: 'center', gap: 14, padding: '0 24px' }}>
28
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 700, letterSpacing: 2, color: '#FFE79B', lineHeight: 1 }}>{`/ ${c[0]}`}</Text>
29
+ <Text style={{ fontSize: 26, fontWeight: 900, color: '#FFFFFF', lineHeight: 1, letterSpacing: 4 }}>{c[1]}</Text>
30
+ </Box>
31
+ <Box style={{ height: 396, padding: '20px 24px 20px 24px', justifyContent: 'space-between' }}>
32
+ <Box style={{ gap: 12 }}>
33
+ <Text style={{ fontSize: 22, fontWeight: 'bold', color: '#C42819', lineHeight: 1.3 }}>{c[2]}</Text>
34
+ <Text style={{ fontSize: 18, color: '#1A1616', lineHeight: 1.75 }}>{c[3]}</Text>
35
+ </Box>
36
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 12, paddingTop: 14, borderTop: '1px solid #E5E7EB' }}>
37
+ <Box style={{ width: 6, height: 24, background: '#E19825' }} />
38
+ <Text style={{ fontSize: 16, fontWeight: 'bold', color: '#1A1616', lineHeight: 1.2 }}>{c[4]}</Text>
39
+ </Box>
40
+ </Box>
41
+ </Box>
42
+ ))}
43
+ </Box>
44
+ </Box>
45
+
46
+ <Box style={{ position: 'absolute', left: 0, top: 660, width: 1280, height: 9, flexDirection: 'row' }}>
47
+ <Box style={{ width: 678, height: 9, background: '#C42819' }} />
48
+ <Box style={{ width: 333, height: 9, background: '#EE5530' }} />
49
+ <Box style={{ width: 269, height: 9, background: '#F26B40' }} />
50
+ </Box>
51
+ <Text style={{ position: 'absolute', left: 70, top: 678, fontSize: 14, letterSpacing: 2, color: '#6B7280', lineHeight: 1 }}>年度党课宣讲</Text>
52
+ <Text style={{ position: 'absolute', right: 70, top: 678, fontFamily: 'Courier New', fontSize: 14, color: '#6B7280', lineHeight: 1 }}>05 / 12</Text>
53
+ </Slide>