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,92 @@
1
+ <Slide style={{ background: '#E8E4D6', padding: '40px 102px 48px', position: 'relative' }}>
2
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-end', height: 28, borderBottom: '1px solid #CBCABC', paddingBottom: 9 }}>
3
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#5A6253', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>第二部分 · 方法脉络</Text>
4
+ <Text style={{ fontFamily: 'Courier New', fontSize: 13, fontWeight: 400, color: '#5A6253', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>02</Text>
5
+ </Box>
6
+ <Box style={{ height: 96, marginTop: 20 }}>
7
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#9E3B34', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}><>三代方法 · <span style={{ fontFamily: 'Courier New' }}>1970 — 2024</span></></Text>
8
+ <Box style={{ width: 36, height: 1, background: '#C8524A', marginTop: 10 }} />
9
+ <Text style={{ fontFamily: 'STSong', fontSize: 34, fontWeight: 400, color: '#192B1B', lineHeight: 1.3, letterSpacing: 0, marginTop: 12, whiteSpace: 'nowrap' }}>从逐序列拟合到<span style={{ color: '#C8524A' }}>零样本预测</span>,三代方法各自解决了什么</Text>
10
+ </Box>
11
+ <Box style={{ width: 1076, height: 412, marginTop: 24 }}>
12
+ <Box style={{ flexDirection: 'row', height: 351 }}>
13
+ <Box style={{ width: 324, height: 351 }}>
14
+ <Box style={{ height: 29, borderBottom: '1px solid #CBCABC', paddingBottom: 10 }}>
15
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#5A6253', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}><><span style={{ fontFamily: 'Courier New' }}>01</span> · 统计与经典方法</></Text>
16
+ </Box>
17
+ <Text style={{ fontFamily: 'STSong', fontSize: 24, fontWeight: 400, color: '#192B1B', lineHeight: 1.25, marginTop: 16 }}>逐序列独立拟合,<br />以可解释性换取泛化能力</Text>
18
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#5A6253', lineHeight: 1.6, marginTop: 12 }}>ARIMA、指数平滑与 Theta 把每条序列当作独立的平稳过程:参数少、训练快,至今仍是难以逾越的基线。</Text>
19
+ <Box style={{ gap: 8, marginTop: 12 }}>
20
+ <Box style={{ flexDirection: 'row', gap: 12 }}>
21
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 400, color: '#9E3B34', lineHeight: 1.35, width: 22 }}>—</Text>
22
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#192B1B', lineHeight: 1.35 }}>序列之间不共享任何信息</Text>
23
+ </Box>
24
+ <Box style={{ flexDirection: 'row', gap: 12 }}>
25
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 400, color: '#9E3B34', lineHeight: 1.35, width: 22 }}>—</Text>
26
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#192B1B', lineHeight: 1.35 }}>节假日与突变依赖人工干预项</Text>
27
+ </Box>
28
+ <Box style={{ flexDirection: 'row', gap: 12 }}>
29
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 400, color: '#9E3B34', lineHeight: 1.35, width: 22 }}>—</Text>
30
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#192B1B', lineHeight: 1.35 }}>结果可逐项解释,便于业务核对</Text>
31
+ </Box>
32
+ </Box>
33
+ </Box>
34
+ <Box style={{ width: 52, alignItems: 'center' }}>
35
+ <Box style={{ width: 1, height: 351, background: '#CBCABC' }} />
36
+ </Box>
37
+ <Box style={{ width: 324, height: 351 }}>
38
+ <Box style={{ height: 29, borderBottom: '1px solid #CBCABC', paddingBottom: 10 }}>
39
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#5A6253', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}><><span style={{ fontFamily: 'Courier New' }}>02</span> · 深度监督模型</></Text>
40
+ </Box>
41
+ <Text style={{ fontFamily: 'STSong', fontSize: 24, fontWeight: 400, color: '#192B1B', lineHeight: 1.25, marginTop: 16 }}>一个数据集训一个模型,<br />序列之间共享参数</Text>
42
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#5A6253', lineHeight: 1.6, marginTop: 12 }}>DeepAR、N-BEATS 与 PatchTST 用一个网络拟合数据集内全部序列,精度大幅提升,但换数据集就得重训。</Text>
43
+ <Box style={{ gap: 8, marginTop: 12 }}>
44
+ <Box style={{ flexDirection: 'row', gap: 12 }}>
45
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 400, color: '#9E3B34', lineHeight: 1.35, width: 22 }}>—</Text>
46
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#192B1B', lineHeight: 1.35 }}>概率输出与多步预测成为标配</Text>
47
+ </Box>
48
+ <Box style={{ flexDirection: 'row', gap: 12 }}>
49
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 400, color: '#9E3B34', lineHeight: 1.35, width: 22 }}>—</Text>
50
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#192B1B', lineHeight: 1.35 }}>分块输入让注意力真正奏效</Text>
51
+ </Box>
52
+ <Box style={{ flexDirection: 'row', gap: 12 }}>
53
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 400, color: '#9E3B34', lineHeight: 1.35, width: 22 }}>—</Text>
54
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#192B1B', lineHeight: 1.35 }}>小数据集上常不及统计基线</Text>
55
+ </Box>
56
+ </Box>
57
+ </Box>
58
+ <Box style={{ width: 52, alignItems: 'center' }}>
59
+ <Box style={{ width: 1, height: 351, background: '#CBCABC' }} />
60
+ </Box>
61
+ <Box style={{ width: 324, height: 351 }}>
62
+ <Box style={{ height: 29, borderBottom: '1px solid #CBCABC', paddingBottom: 10 }}>
63
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#9E3B34', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}><><span style={{ fontFamily: 'Courier New' }}>03</span> · 预训练基础模型</></Text>
64
+ </Box>
65
+ <Text style={{ fontFamily: 'STSong', fontSize: 24, fontWeight: 400, color: '#192B1B', lineHeight: 1.25, marginTop: 16 }}>在海量序列上预训练一次,<br />零样本迁移到<span style={{ color: '#C8524A' }}>任何新数据</span></Text>
66
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#5A6253', lineHeight: 1.6, marginTop: 12 }}>TimesFM、Chronos 与 Moirai 沿用语言模型路线,用数十亿观测点预训练一次,不微调即可预测未见数据集。</Text>
67
+ <Box style={{ gap: 8, marginTop: 12 }}>
68
+ <Box style={{ flexDirection: 'row', gap: 12 }}>
69
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 400, color: '#9E3B34', lineHeight: 1.35, width: 22 }}>—</Text>
70
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#192B1B', lineHeight: 1.35 }}>零样本精度已逼近逐数据集训练</Text>
71
+ </Box>
72
+ <Box style={{ flexDirection: 'row', gap: 12 }}>
73
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 400, color: '#9E3B34', lineHeight: 1.35, width: 22 }}>—</Text>
74
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#192B1B', lineHeight: 1.35 }}>推理成本高,长序列尤其明显</Text>
75
+ </Box>
76
+ <Box style={{ flexDirection: 'row', gap: 12 }}>
77
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 400, color: '#9E3B34', lineHeight: 1.35, width: 22 }}>—</Text>
78
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#192B1B', lineHeight: 1.35 }}>预训练语料与测试集是否重叠存疑</Text>
79
+ </Box>
80
+ </Box>
81
+ </Box>
82
+ </Box>
83
+ <Box style={{ flexDirection: 'row', alignItems: 'flex-start', gap: 20, height: 47, borderTop: '1px solid #CBCABC', paddingTop: 12, marginTop: 14 }}>
84
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#9E3B34', letterSpacing: 2, lineHeight: 2.1, whiteSpace: 'nowrap' }}>— 小结</Text>
85
+ <Text style={{ fontFamily: 'STSong', fontSize: 19, fontWeight: 400, color: '#192B1B', lineHeight: 1.5, whiteSpace: 'nowrap' }}>统计方法仍是必报基线,监督模型给出精度参照,基础模型改变的是「每个任务都要重新训练」的前提</Text>
86
+ </Box>
87
+ </Box>
88
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-start', height: 32, borderTop: '1px solid #CBCABC', paddingTop: 13, marginTop: 20 }}>
89
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#5A6253', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>计算机科学与技术学院 · 智能数据组会</Text>
90
+ <Text style={{ fontFamily: 'Courier New', fontSize: 13, fontWeight: 400, color: '#5A6253', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>02 / 14</Text>
91
+ </Box>
92
+ </Slide>
@@ -0,0 +1,68 @@
1
+ <Slide style={{ background: '#192B1B', padding: '40px 102px 48px', position: 'relative' }}>
2
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-end', height: 28, borderBottom: '1px solid #3A4434', paddingBottom: 9 }}>
3
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#9C9E8E', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>第三部分 · 评测结果</Text>
4
+ <Text style={{ fontFamily: 'Courier New', fontSize: 13, fontWeight: 400, color: '#9C9E8E', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>03</Text>
5
+ </Box>
6
+ <Box style={{ height: 96, marginTop: 20 }}>
7
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#E27871', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}><>统一口径复现 · 六个公开数据集 · <span style={{ fontFamily: 'Courier New' }}>MASE</span></></Text>
8
+ <Box style={{ width: 36, height: 1, background: '#C8524A', marginTop: 10 }} />
9
+ <Text style={{ fontFamily: 'STSong', fontSize: 34, fontWeight: 400, color: '#D4CFBF', lineHeight: 1.3, letterSpacing: 0, marginTop: 12, whiteSpace: 'nowrap' }}><span style={{ color: '#C8524A' }}>零样本基础模型</span>首次在未见数据集上全面超过监督模型</Text>
10
+ </Box>
11
+ <Box style={{ width: 1076, height: 412, marginTop: 24 }}>
12
+ <Box style={{ height: 284 }}>
13
+ <Table
14
+ style={{ width: '100%', height: '100%' }}
15
+ defaultTextStyle={{ fontSize: 17, textAlign: 'center', color: '#D4CFBF', fontFamily: 'Microsoft YaHei' }}
16
+ defaultCellStyle={{
17
+ border: {
18
+ bottom: { width: 1, color: '#3A4434' },
19
+ },
20
+ }}
21
+ cells={[
22
+ [
23
+ { text: '方法', textStyle: { textAlign: 'left', color: '#9C9E8E' }, cellStyle: { background: { color: '#1E3221' } } },
24
+ { text: '类别', textStyle: { color: '#9C9E8E' }, cellStyle: { background: { color: '#1E3221' } } },
25
+ { text: '发表年份', textStyle: { color: '#9C9E8E' }, cellStyle: { background: { color: '#1E3221' } } },
26
+ { text: '训练方式', textStyle: { color: '#9C9E8E' }, cellStyle: { background: { color: '#1E3221' } } },
27
+ { text: 'MASE 几何均值', textStyle: { color: '#9C9E8E' }, cellStyle: { background: { color: '#1E3221' } } },
28
+ { text: '相对基线', textStyle: { color: '#9C9E8E' }, cellStyle: { background: { color: '#1E3221' } } },
29
+ ],
30
+ [
31
+ { text: '季节性朴素预测', textStyle: { textAlign: 'left' } }, '统计基线', '—', '无需训练', '1.000', '基准',
32
+ ],
33
+ [
34
+ { text: 'AutoARIMA / ETS', textStyle: { textAlign: 'left' } }, '统计与经典', '1970 / 2008', '逐序列拟合', '0.931', '−6.9%',
35
+ ],
36
+ [
37
+ { text: 'DeepAR', textStyle: { textAlign: 'left' } }, '深度监督', '2020', '逐数据集训练', '0.864', '−13.6%',
38
+ ],
39
+ [
40
+ { text: 'PatchTST', textStyle: { textAlign: 'left' } }, '深度监督', '2023', '逐数据集训练', '0.812', '−18.8%',
41
+ ],
42
+ [
43
+ { text: 'Chronos(Base)', textStyle: { textAlign: 'left', color: '#E27871' } },
44
+ { text: '预训练基础模型', textStyle: { color: '#E27871' } },
45
+ { text: '2024', textStyle: { color: '#E27871' } },
46
+ { text: '零样本,不微调', textStyle: { color: '#E27871' } },
47
+ { text: '0.780', textStyle: { color: '#E27871' } },
48
+ { text: '−22.0%', textStyle: { color: '#E27871' } },
49
+ ],
50
+ ]}
51
+ />
52
+ </Box>
53
+ <Box style={{ flexDirection: 'row', alignItems: 'flex-start', gap: 32, height: 112, borderTop: '1px solid #3A4434', paddingTop: 16, marginTop: 16 }}>
54
+ <Box style={{ width: 250 }}>
55
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#E27871', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>关键数字</Text>
56
+ <Text style={{ fontFamily: 'STSong', fontSize: 48, fontWeight: 400, color: '#C8524A', lineHeight: 1, letterSpacing: -1, marginTop: 6, whiteSpace: 'nowrap' }}>−22<span style={{ fontSize: 24, letterSpacing: 0 }}>%</span></Text>
57
+ </Box>
58
+ <Box style={{ width: 794 }}>
59
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#E27871', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>— 结论</Text>
60
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 18, fontWeight: 300, color: '#D4CFBF', lineHeight: 1.5, marginTop: 8 }}>零样本的 Chronos 把误差压到朴素基线的 78%,低于逐数据集训练的 PatchTST;差距主要来自低频与短序列数据集,下一步补入 TimesFM 与 Moirai 复现。</Text>
61
+ </Box>
62
+ </Box>
63
+ </Box>
64
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-start', height: 32, borderTop: '1px solid #3A4434', paddingTop: 13, marginTop: 20 }}>
65
+ <Text style={{ fontFamily: 'Microsoft YaHei', fontSize: 13, fontWeight: 400, color: '#9C9E8E', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>本组统一口径复现 · MASE 越低越好 · 相对季节性朴素基线</Text>
66
+ <Text style={{ fontFamily: 'Courier New', fontSize: 13, fontWeight: 400, color: '#9C9E8E', letterSpacing: 2, lineHeight: 1.15, whiteSpace: 'nowrap' }}>03 / 14</Text>
67
+ </Box>
68
+ </Slide>
@@ -0,0 +1,280 @@
1
+ {
2
+ "usage": {
3
+ "shape": "扁平池,无分支。9 套平铺,每套带 scenes_zh 与四维标签(formality 正式度 / density 密度 / tone 明暗 / character 气质)。",
4
+ "select": "按 create-from-scratch Step4 的打分规则从全池选 3 套作预览卡候选:场景词命中最高优先,其次正式度贴近,再次标签拉开差异(3 套的 tone 或 density 不得全同)。",
5
+ "gate": "命中 gate 时候选只能在 gate.sets 里取(政务只出 2 张卡),并额外加载 gate.contract;未命中 gate 时全池 9 套都是候选。",
6
+ "naming": "name 是给用户看的风格名;slug 只是目录名,只用于拼路径和命令,任何对用户说的话里都不出现 slug。",
7
+ "then": "用户选定后只读该套 DESIGN.preset.md、shell/ 与 slides/。**路径直接照抄该套的 preset / shell / slides 字段**(已是相对技能根目录的完整路径,形如 assets/templates/<slug>/DESIGN.preset.md),不要自己改写目录前缀、不要拼成 references/templates/<slug>/…。不要读其他套。"
8
+ },
9
+ "gate": {
10
+ "id": "government",
11
+ "name": "政务",
12
+ "sets": [
13
+ "broadside",
14
+ "long-table"
15
+ ],
16
+ "contract": "../government-contract.md",
17
+ "trigger_zh": "主体是党政机关、事业单位、国企央企、街道社区、学校党组织、群团组织;或场景是工作报告、述职述廉、党课、主题教育、宣讲、政策解读、督查巡察、表彰大会、周年纪念、红色文化;或文风为公文体(「一是、二是」「进一步」「切实」)。"
18
+ },
19
+ "sets": [
20
+ {
21
+ "slug": "sakura-chroma",
22
+ "name": "活动策划",
23
+ "scenes_zh": [
24
+ "活动策划",
25
+ "发布会",
26
+ "市集展会"
27
+ ],
28
+ "tags": {
29
+ "formality": "低",
30
+ "formality_rank": 0,
31
+ "density": "中",
32
+ "tone": "亮·彩底",
33
+ "character": "奶油纸底五色斜彩带,产品目录腔调"
34
+ },
35
+ "gate": null,
36
+ "best_for_zh": "活动策划与执行方案、发布会与展会筹备、校园或社区活动招募、发布排期与产品目录,以及需要热烈直接气质的日程与清单类汇报",
37
+ "avoid_for_zh": "需要克制稳重的场合(审计、法务、政务、答辩、董事会),以及内容以长段文字为主、没有日程或条目可撑版面的汇报",
38
+ "preset": "assets/templates/sakura-chroma/DESIGN.preset.md",
39
+ "shell": [
40
+ "assets/templates/sakura-chroma/shell/content.jsx"
41
+ ],
42
+ "slides": [
43
+ "assets/templates/sakura-chroma/slides/01_cover.slide",
44
+ "assets/templates/sakura-chroma/slides/02_products.slide",
45
+ "assets/templates/sakura-chroma/slides/03_section.slide",
46
+ "assets/templates/sakura-chroma/slides/04_schedule.slide"
47
+ ]
48
+ },
49
+ {
50
+ "slug": "cartesian",
51
+ "name": "专题汇报",
52
+ "scenes_zh": [
53
+ "专题汇报",
54
+ "议题讲解",
55
+ "对照分析"
56
+ ],
57
+ "tags": {
58
+ "formality": "高",
59
+ "formality_rank": 4,
60
+ "density": "低",
61
+ "tone": "亮",
62
+ "character": "白纸面衬线标题加发丝线,安静克制"
63
+ },
64
+ "gate": null,
65
+ "best_for_zh": "单一议题讲透的专题汇报、两案对照与方法比较、需要一张正经表格撑住的说明材料、读书会与内部讲解",
66
+ "avoid_for_zh": "需要强对比色、大量 KPI 卡或热烈氛围的宣讲与成果发布;一页要塞六个以上元素的内容",
67
+ "preset": "assets/templates/cartesian/DESIGN.preset.md",
68
+ "shell": [
69
+ "assets/templates/cartesian/shell/content.jsx"
70
+ ],
71
+ "slides": [
72
+ "assets/templates/cartesian/slides/01_cover.slide",
73
+ "assets/templates/cartesian/slides/02_compare.slide",
74
+ "assets/templates/cartesian/slides/03_table.slide"
75
+ ]
76
+ },
77
+ {
78
+ "slug": "editorial-forest",
79
+ "name": "教学课件",
80
+ "scenes_zh": [
81
+ "教学课件",
82
+ "课程讲义",
83
+ "公开课"
84
+ ],
85
+ "tags": {
86
+ "formality": "中",
87
+ "formality_rank": 2,
88
+ "density": "中",
89
+ "tone": "亮",
90
+ "character": "白底蓝衬线巨字,分节清楚"
91
+ },
92
+ "gate": null,
93
+ "best_for_zh": "课程单讲课件、公开课、培训讲义等需要清楚分节、一页讲透一个知识点的场合",
94
+ "avoid_for_zh": "需要强冲击力开场或大量数据图表的经营与路演场合",
95
+ "preset": "assets/templates/editorial-forest/DESIGN.preset.md",
96
+ "shell": [
97
+ "assets/templates/editorial-forest/shell/content.jsx"
98
+ ],
99
+ "slides": [
100
+ "assets/templates/editorial-forest/slides/01_cover.slide",
101
+ "assets/templates/editorial-forest/slides/02_cards.slide",
102
+ "assets/templates/editorial-forest/slides/03_data.slide",
103
+ "assets/templates/editorial-forest/slides/04_image.slide"
104
+ ]
105
+ },
106
+ {
107
+ "slug": "grove",
108
+ "name": "文献综述",
109
+ "scenes_zh": [
110
+ "文献综述",
111
+ "研究进展",
112
+ "脉络梳理"
113
+ ],
114
+ "tags": {
115
+ "formality": "中高",
116
+ "formality_rank": 3,
117
+ "density": "中",
118
+ "tone": "明暗交替",
119
+ "character": "森绿与纸面交替,古典衬线"
120
+ },
121
+ "gate": null,
122
+ "best_for_zh": "文献综述、脉络梳理、调研汇报,以及任何想要安静克制、像一本装订好的专著那样有节奏的场合",
123
+ "avoid_for_zh": "需要密集图表和大量数字的汇报、需要高饱和配色或活泼氛围的宣讲、每页要塞六个以上元素的内容",
124
+ "preset": "assets/templates/grove/DESIGN.preset.md",
125
+ "shell": [
126
+ "assets/templates/grove/shell/content.jsx",
127
+ "assets/templates/grove/shell/content_light.jsx"
128
+ ],
129
+ "slides": [
130
+ "assets/templates/grove/slides/01_cover.slide",
131
+ "assets/templates/grove/slides/02_compare.slide",
132
+ "assets/templates/grove/slides/03_table.slide"
133
+ ]
134
+ },
135
+ {
136
+ "slug": "signal",
137
+ "name": "经营分析",
138
+ "scenes_zh": [
139
+ "经营分析",
140
+ "管理层汇报",
141
+ "尽调简报"
142
+ ],
143
+ "tags": {
144
+ "formality": "高",
145
+ "formality_rank": 4,
146
+ "density": "高",
147
+ "tone": "明暗交替",
148
+ "character": "藏青与骨白逐页交替,古金强调,机构感"
149
+ },
150
+ "gate": null,
151
+ "best_for_zh": "经营分析会、管理层汇报、尽调与投后简报等需要「沉稳、有据」的场合",
152
+ "avoid_for_zh": "需要明快配色的产品发布、招商推介与品牌活动类页面",
153
+ "preset": "assets/templates/signal/DESIGN.preset.md",
154
+ "shell": [
155
+ "assets/templates/signal/shell/content.jsx",
156
+ "assets/templates/signal/shell/content_dark.jsx"
157
+ ],
158
+ "slides": [
159
+ "assets/templates/signal/slides/01_cover.slide",
160
+ "assets/templates/signal/slides/02_cards.slide",
161
+ "assets/templates/signal/slides/03_data.slide"
162
+ ]
163
+ },
164
+ {
165
+ "slug": "cobalt-grid",
166
+ "name": "战略咨询",
167
+ "scenes_zh": [
168
+ "战略咨询",
169
+ "行业分析",
170
+ "市场进入"
171
+ ],
172
+ "tags": {
173
+ "formality": "高",
174
+ "formality_rank": 4,
175
+ "density": "中",
176
+ "tone": "亮",
177
+ "character": "坐标纸底钴蓝衬线,发丝线网格"
178
+ },
179
+ "gate": null,
180
+ "best_for_zh": "行业战略研究、趋势报告、价值链与利润池分析、需要大量结构化数据行的顾问汇报",
181
+ "avoid_for_zh": "需要多色语义(涨红跌绿)、摄影主视觉或活泼品牌气质的营销与发布场景",
182
+ "preset": "assets/templates/cobalt-grid/DESIGN.preset.md",
183
+ "shell": [
184
+ "assets/templates/cobalt-grid/shell/content.jsx"
185
+ ],
186
+ "slides": [
187
+ "assets/templates/cobalt-grid/slides/01_cover.slide",
188
+ "assets/templates/cobalt-grid/slides/02_structure.slide",
189
+ "assets/templates/cobalt-grid/slides/03_data.slide"
190
+ ]
191
+ },
192
+ {
193
+ "slug": "emerald-editorial",
194
+ "name": "开场宣讲",
195
+ "scenes_zh": [
196
+ "开场宣讲",
197
+ "方案开场",
198
+ "发布介绍"
199
+ ],
200
+ "tags": {
201
+ "formality": "中高",
202
+ "formality_rank": 3,
203
+ "density": "中",
204
+ "tone": "明暗交替",
205
+ "character": "蓝色整版配白字,双线刊头饰条,衬线巨字"
206
+ },
207
+ "gate": null,
208
+ "best_for_zh": "需要开场有分量的对外宣讲与方案介绍、工作汇报与总结回顾,以及任何想要杂志封面气质、又要用巨型数字撑住结论的日常演示",
209
+ "avoid_for_zh": "需要安静克制、长时间阅读的场合;蓝色整版很抢眼,与需要中性机构感或多色语义的材料不合",
210
+ "preset": "assets/templates/emerald-editorial/DESIGN.preset.md",
211
+ "shell": [
212
+ "assets/templates/emerald-editorial/shell/content.jsx"
213
+ ],
214
+ "slides": [
215
+ "assets/templates/emerald-editorial/slides/01_cover.slide",
216
+ "assets/templates/emerald-editorial/slides/02_section.slide",
217
+ "assets/templates/emerald-editorial/slides/03_data.slide",
218
+ "assets/templates/emerald-editorial/slides/04_steps.slide"
219
+ ]
220
+ },
221
+ {
222
+ "slug": "broadside",
223
+ "name": "政务工作",
224
+ "scenes_zh": [
225
+ "政务工作",
226
+ "党课",
227
+ "主题教育"
228
+ ],
229
+ "tags": {
230
+ "formality": "中高",
231
+ "formality_rank": 3,
232
+ "density": "中",
233
+ "tone": "亮·红封",
234
+ "character": "朱红满版封面加红卡头,公文体"
235
+ },
236
+ "gate": "government",
237
+ "best_for_zh": "基层年度宣讲、专题讲座、面向居民与工作者的政策要点解读",
238
+ "avoid_for_zh": "需要大量图表和数据对比的经营分析、需要摄影配图的宣传片式演示",
239
+ "preset": "assets/templates/broadside/DESIGN.preset.md",
240
+ "shell": [
241
+ "assets/templates/broadside/shell/content.jsx"
242
+ ],
243
+ "slides": [
244
+ "assets/templates/broadside/slides/01_cover.slide",
245
+ "assets/templates/broadside/slides/02_section.slide",
246
+ "assets/templates/broadside/slides/03_cards.slide",
247
+ "assets/templates/broadside/slides/04_image.slide"
248
+ ]
249
+ },
250
+ {
251
+ "slug": "long-table",
252
+ "name": "表彰庆典",
253
+ "scenes_zh": [
254
+ "表彰庆典",
255
+ "周年庆典",
256
+ "荣誉发布"
257
+ ],
258
+ "tags": {
259
+ "formality": "中",
260
+ "formality_rank": 2,
261
+ "density": "中",
262
+ "tone": "亮·红封",
263
+ "character": "暖奶白加锈红长桌感,名录排布"
264
+ },
265
+ "gate": "government",
266
+ "best_for_zh": "年度表彰会、荣誉名单发布、庆典流程与议程、志愿者致谢",
267
+ "avoid_for_zh": "需要多色区分系列的数据分析、需要摄影配图的宣传片式演示",
268
+ "preset": "assets/templates/long-table/DESIGN.preset.md",
269
+ "shell": [
270
+ "assets/templates/long-table/shell/content.jsx"
271
+ ],
272
+ "slides": [
273
+ "assets/templates/long-table/slides/01_cover.slide",
274
+ "assets/templates/long-table/slides/02_cards.slide",
275
+ "assets/templates/long-table/slides/03_timeline.slide",
276
+ "assets/templates/long-table/slides/04_image.slide"
277
+ ]
278
+ }
279
+ ]
280
+ }
@@ -0,0 +1,135 @@
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
+ | 深朱红(1.5px 线框、红卡头、标题竖条与标题栏线、节点填充、状态胶囊、数量数字、封面年份巨数与胶囊底) | `#C42819` | 内页 8–20% |
15
+ | 高光红 / 粉红橙(仅底部三段装饰条后两段) | `#EE5530` / `#F26B40` | 仅装饰条 |
16
+ | 金(飘带、卡内短条、节点描边、圆点、粒子、细线、纸纹圆点) | `#E19825` / `#FFC000` | 内页 ≤5%,封面 15–30% |
17
+ | 浅金(封面小字、徽章描边、红卡头右侧标签) | `#FFE79B` | 文字与 1.5px 线 |
18
+ | 深金(飘带尾翼) / 飘带字 | `#B8791A` / `#A81810` | 仅飘带 |
19
+ | 白(内页底、卡片底、红底上的字) | `#FFFFFF` | 内页 ≥60% |
20
+ | 正文黑 / 次级灰 / 弱灰 / 线灰 | `#1A1616` / `#4B5563` / `#6B7280` / `#E5E7EB` | 文字与线 |
21
+ | 卡内虚线分隔 | `rgba(196,40,25,0.4)` | 仅 1px 虚线 |
22
+
23
+ ## 3. 字体系统(1280×720)
24
+ | 角色 | fontFamily | 字号 | 字重 | 行高 / 字距 |
25
+ |---|---|---|---|---|
26
+ | 封面主标(金渐变) | STSong | 124 | 700 | 1,单行 Box 高 148 |
27
+ | 内页标题栏主标 | STSong | 46 | 700 | 1.2 |
28
+ | 卡片主体 / 阶段名 | STSong | 26 / 24 | 700 | 1.2 |
29
+ | 封面斜体年份巨数 | Times New Roman | 190 | 400 italic | 1 / 字距 -3,Box 高 230 |
30
+ | 徽章数字 / 节点数字 / 页码 / 数量 | Times New Roman | 16–24 | italic 或 bold | — |
31
+ | 正文 / 说明 | STSong | 16–17 | normal | 1.6–1.8 |
32
+ | 飘带副标 / 胶囊字 | STSong | 22 / 18 | bold / normal | 1 / 字距 3 |
33
+ | 红卡头标签 / 卡尾元信息 / 状态胶囊 | STSong | 13–16 | normal(卡头 bold) | 1–1.2 |
34
+ | 字距标签(年度 · 表彰 · 庆典) | STSong | 14 | bold | 字距 6 |
35
+
36
+ ## 4. 母版三区(页面 padding 50 / 64,封面与内容页相同)
37
+ - 纸纹:每页第一个子元素是整页 1280×720 的绝对定位 SVG 圆点纹(内容页 pattern id 固定写 `dots`,封面写 `dotsCover`)。
38
+ - A 标题栏:y 50–134,高 84(含 paddingBottom 14 与底部 1.5px 深朱红实线)。左红竖条 10×44 + 46px 主标,右三枚金圆点 + 15px 元信息,与主标底对齐。标题只用 46px / 700 一种字号,单行不换行,最多 16 个汉字;右侧元信息最多 20 个字。
39
+ - B 内容区:x 64 / y 152 / 1152×488;页面内容只放在这个 Box 里。六卡 2×3(372×232,gap 18);阶段轴 = 一句引言 + SVG 轴(1152×52)+ 5 张 216×336 线框卡,gap 18,节点与卡片中线对齐;图文页为左文 437×488 + 右红线框图卡 691×488,gap 24(见「图位」)。
40
+ - C 页脚:绝对定位。y 660–669 红橙三段装饰条 678 / 333 / 269(x 0,通栏 1280);右下 Times New Roman 斜体 15px 页码(right 64 / top 678)。
41
+ - 封面:padding 同为 50 / 64;主体是一个 1152×590 的左右两栏 Box(y 50–640,左 700 顶对齐,右 440 底对齐);底部 y 658 金线 + y 660–720 深朱红底带(与内页装饰条同起于 y 660),页码同在 right 64 / top 678,改浅金 `#FFE79B`。
42
+
43
+ ### 固定骨架
44
+
45
+ 内容页外壳:
46
+ 内容页外壳以本套 `shell/content.jsx` 为准(占位 `〔…〕`,B 区标记 `〔B区内容〕`),用 `scripts/build_page.py build` 拼装,不照抄手打。
47
+
48
+ 封面外壳(光晕 Box 与粒子 SVG 照 `slides/01_cover.slide` 写在纸纹之后、金细线之前;这里只列与内页对齐的固定件):
49
+
50
+ ```jsx
51
+ <Slide style={{ width: 1280, height: 720, background: '#E63F26', padding: '50px 64px 0 64px', position: 'relative', fontFamily: 'STSong' }}>
52
+ <svg width={1280} height={720} viewBox='0 0 1280 720' style={{ position: 'absolute', top: 0, left: 0 }}>
53
+ <defs>
54
+ <pattern id='dotsCover' width='6' height='6' patternUnits='userSpaceOnUse'>
55
+ <circle cx='3' cy='3' r='0.7' fill='#EA5A39' />
56
+ </pattern>
57
+ </defs>
58
+ <rect x='0' y='0' width='1280' height='720' fill='#E63F26' />
59
+ <rect x='0' y='0' width='1280' height='720' fill='url(#dotsCover)' />
60
+ </svg>
61
+ <Box style={{ position: 'absolute', right: 64, top: 62, width: 220, height: 2, background: '#E19825' }} />
62
+ <Box style={{ position: 'absolute', right: 64, top: 74, width: 120, height: 2, background: '#FFE79B', opacity: 0.8 }} />
63
+ <Box style={{ position: 'absolute', left: 0, top: 660, width: 1280, height: 60, background: '#C42819' }} />
64
+ <Box style={{ position: 'absolute', left: 0, top: 658, width: 1280, height: 2, background: '#E19825' }} />
65
+ <Text style={{ position: 'absolute', right: 64, top: 678, fontFamily: 'Times New Roman', fontSize: 15, fontStyle: 'italic', color: '#FFE79B', lineHeight: 1 }}>〔01 / 总页〕</Text>
66
+
67
+ <Box style={{ position: 'relative', flexDirection: 'row', justifyContent: 'space-between', width: 1152, height: 590 }}>
68
+ <Box style={{ width: 700 }}>
69
+ </Box>
70
+
71
+ <Box style={{ width: 440, alignItems: 'flex-end', justifyContent: 'flex-end', gap: 12 }}>
72
+ </Box>
73
+ </Box>
74
+ </Slide>
75
+ ```
76
+
77
+ | 区 | 页型 | x | y | w | h |
78
+ |---|---|---|---|---|---|
79
+ | 页面 padding | 全部 | 左右 64 | 上 50 / 下 0 | — | — |
80
+ | 圆点纸纹 | 全部 | 0 | 0 | 1280 | 720 |
81
+ | A 标题栏 | 内容页 | 64 | 50 | 1152 | 84 |
82
+ | B 内容区 | 内容页 | 64 | 152 | 1152 | 488 |
83
+ | C 三段装饰条 | 内容页 | 0 | 660 | 1280 | 9 |
84
+ | C 页码 | 内容页 | right 64 | 678 | — | 15 |
85
+ | 两栏主体(左 700 / 右 440) | 封面 | 64 | 50 | 1152 | 590 |
86
+ | 右上金细线 | 封面 | right 64 | 62 / 74 | 220 / 120 | 2 |
87
+ | 金线 + 深朱红底带 | 封面 | 0 | 658 / 660 | 1280 | 2 / 60 |
88
+ | 页码 | 封面 | right 64 | 678 | — | 15 |
89
+
90
+ 纵向算账:
91
+ - 内容页:50(padding-top)+ 84(A)+ 18(gap)+ 488(B)+ 20(gap)+ 33(C:装饰条 9 + 间隔 9 + 页码 15)+ 27(底部留白)= 720。
92
+ - 封面:50(padding-top)+ 590(两栏主体)+ 18(gap)+ 62(金线 2 + 底带 60)= 720。
93
+
94
+ 所有内容页必须从此外壳复制,只替换占位文字和 B 区内部;不得改动外壳里的任何数值。B 区放不下就删内容或拆页,不得压缩页眉页脚或改 padding。封面同理:只替换占位文字和左右两栏的内部,左栏内容总高不得超过 590。
95
+
96
+ **封面标题容量(硬上限)**:124px 金渐变标题,左栏 700 宽:最多 2 行(短标题只写一行,不得为凑两行硬拆;空出的那一行保留原有占位高度,其余元素位置不变),每行一个 Text(各占 148 高),每行最多 5 个汉字;更长的名称放进下方的飘带 / 胶囊行,不得加第三行。标题与页脚、底带之间必须留出空隙,任何情况下标题不得压到页脚上。
97
+
98
+ **装饰与文字不重叠(硬约束)**:封面右下斜体年份巨数占右栏,左栏文字宽 700、总高不超过 590;底部三段装饰条 y 660~669 之上 20px 内不放文字。装饰性 SVG / Box 的矩形与任何文字容器的矩形不得相交;页型没有范例时,装饰只照本套封面或内容页范例的位置放,不另加。
99
+
100
+ ### 图位(配图规则)
101
+ - 图位(唯一,正方形):x 776 / y 152 / 440×440,右,下方 48 高图注行;左侧 688 宽文字列。范例见 `slides/04_image.slide`;封面、章节页及其他内容页不放图。
102
+ - 没有生图工具,不放 AI 配图;图位只放合格的用户材料图(门槛见 README §5)。`<Image>` 只写相等的 width / height,不写 objectFit;图不加描边、相框、包边线、圆角、阴影;图注一行放图下方。原因与材料图写法见 README §5。
103
+ - 有合格材料图时图文页最多 2~4 张、不连续;没有就不用图文页,改用本套其他版式,不留空图位。
104
+
105
+ ## 5. 版式清单
106
+ | 文件 | 类型 | 骨架 |
107
+ |---|---|---|
108
+ | `slides/01_cover.slide` | cover | 朱红满版 + 浅金圆点纸纹 + 左上正方形径向光晕;左 700:圆徽章 + 期号标签 → 124px 两行宋体金渐变主标 → 金色水平飘带 → 两枚金边红胶囊(颁授 / 时间)→ 浅金方角线框标签 → 白字引言;右 440:190px 斜体年份巨数(深朱红)+ 字距标签 + 右对齐说明;右上金细线与金色粒子;底部 y 658 金线 + y 660–720 深朱红带,带内右侧浅金斜体页码 |
109
+ | `slides/02_cards.slide` | cards(六类荣誉卡) | 标题栏 + 1.5px 红线;2×3 细红线框卡:40px 红卡头「类别 0N | 集体 / 个人」→ 26px 主体 + 40×4 金短条 + 16px 说明 → 红虚线 + 卡尾「红色数量 | 灰色状态」;三段装饰条 + 页码 |
110
+ | `slides/03_timeline.slide` | timeline(五阶段轴) | 标题栏 + 一句引言;SVG 3px 轴线(已完成段红、未完成段灰)+ 5 个 r21 节点(红圆金描边,未完成为白底金描边红字);节点下 5 张细红线框卡:阶段名 + 红色月份 → 金短条 → 说明 → 红虚线 + 阶段产出 + 状态胶囊(进行中实心红);三段装饰条 + 页码 |
111
+ | `slides/04_image.slide` | image(图文内容页) | 标题栏 + 1.5px 红线;B 区右图左文:右侧 691×488 细红线框图卡(40px 红卡头 → 688×387 的 16:9 纪实照片 → 金短条引出的 14px 图注行);左侧 437 宽无框文字栏:14px 红色字距标签 → 26px 标题 + 40×4 金短条 → 3 段 17px 正文 → 红虚线 + 卡尾「红色数量 | 灰色状态」;三段装饰条 + 页码 |
112
+
113
+ ## 6. 标志性处理
114
+ 1. 细线描边卡片:卡、方角标签为 1.5px 线框、0 圆角;胶囊 999 圆角;徽章与节点为正圆。线框色由锈红单色改为深朱红。
115
+ 2. 每页整页 6px 圆点纸纹 SVG pattern:内页金点 `#FBF1E0`(`#E19825` 按 14% 预混到白底)、封面浅金点 `#EA5A39`(`#FFE79B` 按 16% 预混到朱红底);纸纹 SVG 第一个子元素是整页实底 rect(页底色),不在 svg 的 style 上写 opacity。
116
+ 3. 封面右下斜体年份巨数保留为版面锚点,改深朱红同色系压在朱红底上;左侧主标改宋体金渐变并加光晕。
117
+ 4. 引入的红金要素:金渐变大字、径向光晕、金色水平飘带、金边红胶囊、金色粒子与细金线、红卡头、卡内金短条、红圆金描边节点、底部三段装饰条加页码、标题红短竖条。
118
+ 5. 卡内节奏:红卡头或阶段名在上,金短条承接,底部 1px 红虚线分隔卡尾。
119
+ 6. 页码只在右下(right 64 / top 678),Times New Roman 斜体,封面与内页同坐标。
120
+
121
+ ## 7. Do / Don't
122
+ Do
123
+ - 标题栏下 1.5px 红线贯通全宽,右侧元信息与主标底对齐。
124
+ - 六卡等尺寸等 gap,主体 STSong 700,说明 ≤2 行;数量数字用 Times New Roman bold 深朱红。
125
+ - 阶段轴线与节点全部 SVG 且不与卡片重叠,中文一律用 Text;节点数字可留在 SVG 内。
126
+ - 封面主标每行单独一个 Text,外包 Box 高度取字号 ×1.2;光晕 Box 用正方形。
127
+ - 配图只用 `<Image>` 放进 §4「图位」表里的固定图位,外包细红线框图卡,图注放在图下方的图注行。
128
+ - 状态词只用「已完成 / 进行中 / 待举行 / 评审通过 / 公示通过」等中性表达。
129
+ Don't
130
+ - 不给卡片加圆角、阴影;线框不超过 1.5px;内页不铺红底。
131
+ - 不把金用于正文文字或大面积色块;金渐变大字只在封面出现。
132
+ - 不把中文写进 SVG,不用斜体中文。
133
+ - 不在封面放图;不在图上叠文字、色块或渐变;不给图加圆角、阴影;不用卡通、插画、3D 配图。
134
+ - 不旋转任何元素,不放印章、红绸、整屏暗蒙版;页面英文为零(仅阿拉伯数字)。
135
+ - 不用清单外字体;含中文的 Text 必须写 STSong。
@@ -0,0 +1,36 @@
1
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', padding: '50px 64px 0 64px', position: 'relative', fontFamily: 'STSong' }}>
2
+ <svg width={1280} height={720} viewBox='0 0 1280 720' style={{ position: 'absolute', top: 0, left: 0 }}>
3
+ <defs>
4
+ <pattern id='dots' width='6' height='6' patternUnits='userSpaceOnUse'>
5
+ <circle cx='3' cy='3' r='0.7' fill='#FBF1E0' />
6
+ </pattern>
7
+ </defs>
8
+ <rect x='0' y='0' width='1280' height='720' fill='#FFFFFF' />
9
+ <rect x='0' y='0' width='1280' height='720' fill='url(#dots)' />
10
+ </svg>
11
+
12
+ <Box style={{ position: 'relative', flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-end', height: 84, paddingBottom: 14, borderBottom: '1.5px solid #C42819' }}>
13
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 16 }}>
14
+ <Box style={{ width: 10, height: 44, background: '#C42819' }} />
15
+ <Text style={{ fontSize: 46, fontWeight: 700, lineHeight: 1.2, color: '#1A1616', whiteSpace: 'nowrap' }}>〔标题〕</Text>
16
+ </Box>
17
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 14, marginBottom: 6 }}>
18
+ <Box style={{ flexDirection: 'row', gap: 8 }}>
19
+ <Box style={{ width: 8, height: 8, borderRadius: 4, background: '#E19825' }} /><Box style={{ width: 8, height: 8, borderRadius: 4, background: '#E19825', opacity: 0.6 }} /><Box style={{ width: 8, height: 8, borderRadius: 4, background: '#E19825', opacity: 0.3 }} />
20
+ </Box>
21
+ <Text style={{ fontSize: 15, color: '#6B7280', lineHeight: 1.2 }}>〔整份标题 · 年份 · 页名〕</Text>
22
+ </Box>
23
+ </Box>
24
+
25
+ <Box style={{ position: 'relative', marginTop: 18, width: 1152, height: 488 }}>
26
+
27
+ 〔B区内容〕
28
+ </Box>
29
+
30
+ <Box style={{ position: 'absolute', left: 0, top: 660, width: 1280, height: 9, flexDirection: 'row' }}>
31
+ <Box style={{ width: 678, height: 9, background: '#C42819' }} />
32
+ <Box style={{ width: 333, height: 9, background: '#EE5530' }} />
33
+ <Box style={{ width: 269, height: 9, background: '#F26B40' }} />
34
+ </Box>
35
+ <Text style={{ position: 'absolute', right: 64, top: 678, fontFamily: 'Times New Roman', fontSize: 15, fontStyle: 'italic', color: '#6B7280', lineHeight: 1 }}>〔NN / 总页〕</Text>
36
+ </Slide>