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,64 @@
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
+ <Box style={{ width: 396, height: 452 }}>
22
+ <Box style={{ width: 396, height: 2, background: '#C42819' }} />
23
+ <Image src="https://placeholder.invalid/image.jpg" style={{ width: 396, height: 396 }} />
24
+ <Box style={{ marginTop: 14, flexDirection: 'row', alignItems: 'center', gap: 12 }}>
25
+ <Box style={{ width: 28, height: 4, background: '#E19825' }} />
26
+ <Text style={{ fontSize: 14, color: '#4B5563', lineHeight: 1.5, whiteSpace: 'nowrap' }}>网格员在居民家中登记诉求并当面确认</Text>
27
+ </Box>
28
+ </Box>
29
+
30
+ <Box style={{ width: 720, height: 452, borderRadius: 14, border: '1px solid #E5E7EB', background: '#FFFFFF', overflow: 'hidden' }}>
31
+ <Box style={{ height: 56, background: '#C42819', flexDirection: 'row', alignItems: 'center', gap: 14, padding: '0 24px' }}>
32
+ <Text style={{ fontFamily: 'Courier New', fontSize: 18, fontWeight: 700, letterSpacing: 2, color: '#FFE79B', lineHeight: 1 }}>/ 01</Text>
33
+ <Text style={{ fontSize: 26, fontWeight: 900, color: '#FFFFFF', lineHeight: 1, letterSpacing: 4 }}>走访现场</Text>
34
+ </Box>
35
+ <Box style={{ height: 396, padding: '20px 24px 20px 24px', justifyContent: 'space-between' }}>
36
+ <Box style={{ gap: 12 }}>
37
+ <Text style={{ fontSize: 22, fontWeight: 'bold', color: '#C42819', lineHeight: 1.3 }}>先听,再记,能答的当场答</Text>
38
+ <Text style={{ fontSize: 18, color: '#1A1616', lineHeight: 1.75 }}>网格员两人一组入户,不带固定话术,先请居民把事情讲完,再按类别登记到民情台账。能当场答复的当场答复,需要协调的写明反馈时限,并留下联系方式。</Text>
39
+ </Box>
40
+ <Box style={{ gap: 10, paddingTop: 14, borderTop: '1px solid #E5E7EB' }}>
41
+ {[
42
+ '两人一组,按网格逐户上门',
43
+ '诉求分类登记,一户一页',
44
+ '协调事项写明反馈时限',
45
+ ].map((t, i) => (
46
+ <Box key={i} style={{ flexDirection: 'row', alignItems: 'center', gap: 12 }}>
47
+ <Box style={{ width: 6, height: 24, background: '#E19825' }} />
48
+ <Text style={{ fontSize: 16, fontWeight: 'bold', color: '#1A1616', lineHeight: 1.2 }}>{t}</Text>
49
+ </Box>
50
+ ))}
51
+ </Box>
52
+ </Box>
53
+ </Box>
54
+ </Box>
55
+ </Box>
56
+
57
+ <Box style={{ position: 'absolute', left: 0, top: 660, width: 1280, height: 9, flexDirection: 'row' }}>
58
+ <Box style={{ width: 678, height: 9, background: '#C42819' }} />
59
+ <Box style={{ width: 333, height: 9, background: '#EE5530' }} />
60
+ <Box style={{ width: 269, height: 9, background: '#F26B40' }} />
61
+ </Box>
62
+ <Text style={{ position: 'absolute', left: 70, top: 678, fontSize: 14, letterSpacing: 2, color: '#6B7280', lineHeight: 1 }}>年度党课宣讲</Text>
63
+ <Text style={{ position: 'absolute', right: 70, top: 678, fontFamily: 'Courier New', fontSize: 14, color: '#6B7280', lineHeight: 1 }}>06 / 12</Text>
64
+ </Slide>
@@ -0,0 +1,139 @@
1
+ ---
2
+ name: 专题汇报
3
+ ---
4
+
5
+ ## 1. 气质一句话
6
+ 纯白纸面上只有墨黑衬线标题、灰正文和 1px 浅灰细线,圆规环在角落漂着,像博物馆图录里夹着一张读书笔记。
7
+
8
+ ## 2. 色彩池
9
+
10
+ > **本节是默认配色,不是限制。** 模板只定版式:外壳、分区、字号层级、图位、标志性处理。颜色可以整体替换——按下表的「角色」一一对应给出新色值,用 `build_page.py init --map` 换色,再过 `contrast`。换色时保持角色数量不变(不多加一种彩色),本预设 §6 / §7 里关于「只用某种颜色」「禁止某色相」的话只约束默认配色。
11
+ | 角色 | hex | 面积占比上限 |
12
+ |---|---|---|
13
+ | 画布 bg-primary | `#FFFFFF` | 全页底色;不用暖色纸底;中性色全部取企微 base_gray 色阶 |
14
+ | 次级面 bg-secondary | `#E7E7E8` | ≤15%:表头底、圆形头像框 |
15
+ | 斑马行 / 卡面 | `#F7F7F8`、`#FFFFFF` | 表格交替行用 `#F7F7F8`;描图纸卡为白底 + 1px 浅灰描边 |
16
+ | 墨黑 text-primary | `#10141A` | 标题、表体、结论、唯一一条 horizontal-accent |
17
+ | 浅灰线 line | `#B5B8BB` | 全部 1px 结构线、圆规环、卡片描边 |
18
+ | 中性 | 正文 `#565A5F`(5.6:1);小标签 / 页码 `#6D7176`(4.9:1,用于 ≥12px 的 chrome 与 eyebrow) | 文字专用 |
19
+ | 强调色 | 无;不引入深蓝表头与红黄高亮,强调靠字号与衬线切换 | 0% |
20
+
21
+ 中性色与企微 base_gray 的对应:墨 `#10141A` = base_gray_100,正文 `#565A5F` = base_gray_070,标签 `#6D7176` = base_gray_060(白底对比 4.9:1,12px 小字的下限,不得再浅),线 `#B5B8BB` = base_gray_030,表头 `#E7E7E8` = base_gray_010,斑马 `#F7F7F8` = base_gray_003。不使用专项语义色标码。
22
+
23
+ ## 3. 字体系统(1280×720 换算)
24
+ | 角色 | fontFamily | 字号 | 字重 | 行高 | 字距 |
25
+ |---|---|---|---|---|---|
26
+ | 封面中文题 | STSong | 44 | 700 | 1.3 | 0 |
27
+ | 封面英文题 | Times New Roman | 18 | 400 italic | 1.55 | 0 |
28
+ | 页标题 h2(结论句) | STSong | 32 | 700 | 1.3 | 0 |
29
+ | 卡片标题 | STSong | 22 | 700 | 1.3 | 0 |
30
+ | 结论条 | STSong | 19 | 700 | 1.6 | 0 |
31
+ | 圆环内字母 / vs | Times New Roman | 15–17 | 400 | 1 | 0,颜色 #6D7176 |
32
+ | 正文 | Microsoft YaHei | 17 | 400 | 1.75 | 0 |
33
+ | 表格 | Microsoft YaHei | 17 | 400 | — | 0,表头 #565A5F、表体 #10141A |
34
+ | label / eyebrow / 卡内规格键 | Microsoft YaHei | 13–14 | 500 | 1 | 1.5–2.5px,颜色 #6D7176 |
35
+ | 规格值 / 元信息 | Microsoft YaHei | 16 | 400 | 1.4 | 0,墨黑 |
36
+ | 页码 counter | Courier New | 12 | 400 | 1 | 2px |
37
+
38
+ ## 4. 母版三区
39
+ - 页面 padding:所有页(含封面)一律 `48px 52px 68px 52px`,Slide 为纵向 flex、`gap: 24`,内容宽 1176;不做垂直居中,页眉与内容区的 y 由固定数值决定;无顶栏。
40
+ - A 标题块 y 48–128(高 80):label(13px,y 48–63)+ marginTop 12 的 h2(32px 衬线结论句,y 75–124);h2 只允许一行,最多 32 个汉字(右上角固定有 140px 圆规环,x ≥ 1086)。
41
+ - B 内容区 y 152–652(宽 1176、高 500):主体 388 高(双栏卡 / 表格)+ 间隔 22 + 结论条 90 高(1px 顶线 + paddingTop 16 + 两行 19px 衬线,最多约 100 个汉字);单页只放一个主体。
42
+ - C 页脚条:左下 12px 灰色单位名(left 52, bottom 28,高 14,y 678–692),右下 `NN / 总页` 页码(right 52, bottom 28,高 14)。页码只有右下这一处,底部 68 留给它们。
43
+ - 封面沿用同一 Slide style 与同一 C 区;标题块固定在 x 52 / y 165–525(宽 720、高 360),圆规环固定在 left 824 / top 236,墨黑终止线固定在 left 52 / bottom 96。
44
+
45
+ ### 固定骨架
46
+
47
+ 内容页外壳:
48
+ 内容页外壳以本套 `shell/content.jsx` 为准(占位 `〔…〕`,B 区标记 `〔B区内容〕`),用 `scripts/build_page.py build` 拼装,不照抄手打。
49
+
50
+ B 区内部的固定分配(主体 + 结论条,放进上面的空壳):
51
+
52
+ ```jsx
53
+ <Box style={{ width: 1176, height: 500 }}>
54
+ <Box style={{ height: 388 }}>
55
+ </Box>
56
+ <Box style={{ flexDirection: 'row', alignItems: 'flex-start', gap: 28, borderTop: '1px solid #B5B8BB', paddingTop: 16, marginTop: 22, height: 90 }}>
57
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 2.2, whiteSpace: 'nowrap' }}>结论</Text>
58
+ <Text style={{ fontFamily: 'STSong', fontSize: 19, fontWeight: 700, color: '#10141A', lineHeight: 1.6 }}>
59
+ 〔结论,最多两行〕
60
+ </Text>
61
+ </Box>
62
+ </Box>
63
+ ```
64
+
65
+ 封面外壳(Slide 开标签、单位名、页码与内容页逐字相同):
66
+
67
+ ```jsx
68
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', position: 'relative', padding: '48px 52px 68px 52px', flexDirection: 'column', gap: 24, fontFamily: 'Microsoft YaHei' }}>
69
+ <svg width={400} height={400} viewBox='0 0 400 400' style={{ position: 'absolute', left: 824, top: 236 }}>
70
+ <rect x='0' y='0' width='400' height='400' fill='#FFFFFF' />
71
+ <circle cx='200' cy='200' r='193' fill='none' stroke='#B5B8BB' strokeWidth='1' opacity='0.7' />
72
+ <circle cx='200' cy='200' r='154' fill='none' stroke='#B5B8BB' strokeWidth='1' strokeDasharray='3 4' opacity='0.5' />
73
+ </svg>
74
+
75
+ <Box style={{ width: 720, height: 360, marginTop: 117 }}>
76
+ </Box>
77
+
78
+ <Box style={{ position: 'absolute', left: 52, bottom: 96, width: 256, height: 1, background: '#10141A' }} />
79
+
80
+ <Box style={{ position: 'absolute', left: 52, bottom: 28, height: 14 }}>
81
+ <Text style={{ fontSize: 12, fontWeight: 500, letterSpacing: 2, lineHeight: 1, color: '#6D7176', whiteSpace: 'nowrap' }}>〔单位名〕</Text>
82
+ </Box>
83
+ <Box style={{ position: 'absolute', right: 52, bottom: 28, height: 14 }}>
84
+ <Text style={{ fontFamily: 'Courier New', fontSize: 12, fontWeight: 400, letterSpacing: 2, lineHeight: 1, color: '#6D7176' }}>〔NN / 总页〕</Text>
85
+ </Box>
86
+ </Slide>
87
+ ```
88
+
89
+ | 区 | x | y | w | h | 说明 |
90
+ |---|---|---|---|---|---|
91
+ | A 页眉 | 52 | 48 | 1176 | 80 | label y 48–63;h2 y 75–124,32px 一行,最多 32 个汉字 |
92
+ | B 内容区 | 52 | 152 | 1176 | 500 | 主体 y 152–540(高 388)+ 间隔 22 + 结论条 y 562–652(高 90) |
93
+ | C 单位名 | 52 | 678 | 随文字 | 14 | absolute,left 52 / bottom 28,YaHei 12 |
94
+ | C 页码 | 右缘 1228 | 678 | 随文字 | 14 | absolute,right 52 / bottom 28,Courier New 12 |
95
+ | 封面标题块 | 52 | 165 | 720 | 360 | 封面专用;圆规环 x 824–1224 / y 236–636;终止线 x 52–308 / y 623 |
96
+ | 角落圆规环(每张内容页都有,随外壳) | 1086 | 16 | 140 | 140 | 内容页装饰只许放这一处,absolute,不占流式高度 |
97
+
98
+ 纵向算式:padding-top 48 + A 80 + gap 24 + B 500 + padding-bottom 68 = 720;C 区不占流式高度,绝对定位在底部 68 之内(y 678–692)。封面:48 + marginTop 117 + 标题块 360 + 余白 127 + padding-bottom 68 = 720。
99
+
100
+ 硬规则:所有内容页必须从此外壳复制,只替换占位文字和 B 区内部;不得改动外壳里的任何数值。B 区放不下就删内容或拆页,不得压缩页眉页脚或改 padding。
101
+
102
+ **封面标题容量(硬上限)**:44px 衬线标题,标题块 720 宽、360 高:中文题最多 2 行,每行最多 16 个汉字;英文题最多 2 行。标题与页脚、底带之间必须留出空隙,任何情况下标题不得压到页脚上。
103
+
104
+ **装饰与文字不重叠(硬约束)**:内容页右上圆规环占 x 1086~1226、y 16~156,标题 32px 一行最多 32 个汉字即不会碰到;封面圆规环占 x 824~1224、y 236~636,封面文字全部在 x 52~800 之内。装饰性 SVG / Box 的矩形与任何文字容器的矩形不得相交;页型没有范例时,装饰只照本套封面或内容页范例的位置放,不另加。
105
+
106
+ ### 图位(配图规则)
107
+ - 本套不放 AI 生成的配图(当前环境没有生图工具):封面、章节页、内容页都以 §6 的标志性处理作主视觉。
108
+ - 只有用户提供的材料图可以上页,作为证据图,每页最多一张,图位 x 52 或 668 / y 152 / 388×388 正方形(下方结论条照常);按真实比例居中放置(`<Image>` 宽高 = 图位边长按真实宽高比缩放),不写 objectFit,不加描边、相框、圆角、阴影,图注一行放图下方。
109
+ - 材料图上页的门槛:只有照片、真实图表、界面截图这类重画不出来的内容才放,且原图短边 ≥ 图位边长(放大会糊)。材料里的表格、流程图、对比图、文字截图一律不贴图,改用原生 `<Table>`、Box 排版或 SVG 重画;重画不了又不清晰的,宁可不放。
110
+ - 图位宽高不得改;没有材料图就不留图位,不得用色块或生成图冒充。
111
+
112
+ ## 5. 版式清单
113
+ | 文件 | 类型 | 骨架 |
114
+ |---|---|---|
115
+ | `slides/01_cover.slide` | cover | 题名式:label → 两行 44px 衬线中文题 → 两行 Times New Roman italic 英文题 → 640 宽浅灰线 → 汇报人 / 单位 / 汇报时间;右侧 400px 圆规环;左下 256×1 墨黑终止线 |
116
+ | `slides/02_compare.slide` | compare | label + h2 → 两张描图纸卡(40px 圆环 A / B + 灰色类别标签 / 衬线标题 / 正文 / 发丝线上三行规格键值)+ 中央 1px 竖线与 44px「vs」圆环 → 1px 线 + 结论条 |
117
+ | `slides/03_table.slide` | data | label + h2 → 6 列 6 行 Table(灰表头 #E7E7E8、#F7F7F8 斑马、仅 1px 浅灰底线)高 388,占内容区约 78% → 1px 线 + 结论条;右上 140px 小圆规环 |
118
+
119
+ ## 6. 标志性处理
120
+ 1. 所有结构线都是 1px `#B5B8BB`:卡片描边、表格行线、结论条顶线、中央竖线;没有 2px 以上边框,也没有深色表头。
121
+ 2. 圆规几何:实线外环 + 虚线内环(strokeDasharray '3 4')成对出现,透明度 0.4–0.7,每页最多两处且不压文字。
122
+ 3. 圆环字母是模板 card-icon:40–44px 1px 灰环里放 Times New Roman 400 的 A / B / vs,颜色 #6D7176。
123
+ 4. 标题一律 STSong 墨黑,小标签一律 YaHei 13px 灰色加 2.5px 字距,两者对比构成层级;正文与表体不加粗。
124
+ 5. 唯一墨黑线 horizontal-accent(256×1)只在封面出现一次。
125
+ 6. 右下等宽页码 + 左下灰色单位名,无顶栏、无页脚横线。
126
+
127
+ ## 7. Do / Don't
128
+ Do
129
+ - Slide background 一律 `#FFFFFF`,页眉与内容区按 §4 固定坐标摆放(不做垂直居中),留白 ≥40%。
130
+ - 每个内容页末尾必有结论条:`borderTop: '1px solid #B5B8BB'` + 灰色「结论」标签 + 19px 衬线结论,固定高 90、最多两行。
131
+ - 卡片用 `border: '1px solid #B5B8BB'` + `background: '#FFFFFF'`,卡尾规格键值先 `flex: 1` 占位再锚底。
132
+ - Table 只配 `border.bottom`,表头 `#E7E7E8`、斑马 `#F7F7F8`,首列左对齐其余居中。
133
+ Don't
134
+ - 不画右缘圆点页码指示器或任何随总页数变化的翻页控件;页码只用右下 `NN / 总页`。
135
+ - 不引入红、橙、蓝、绿等饱和色,不用深蓝表头,不用灰色渲染标题。
136
+ - 不给卡片或表格加圆角、阴影、渐变;圆角只允许真正的圆(50%)。
137
+ - 不把正文、表体或标签加粗;层级靠字号与衬线 / 无衬线切换。
138
+ - 不一页放超过两处几何装饰,不让圆环压到标题或表格。
139
+ - 不在中文标签上照搬 uppercase,只保留字距;`#6D7176` 不用于 ≥ 一句话的正文。
@@ -0,0 +1,28 @@
1
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', position: 'relative', padding: '48px 52px 68px 52px', flexDirection: 'column', gap: 24, fontFamily: 'Microsoft YaHei' }}>
2
+ <svg width={140} height={140} viewBox='0 0 140 140' style={{ position: 'absolute', left: 1086, top: 16 }}>
3
+ <rect x='0' y='0' width='140' height='140' fill='#FFFFFF' />
4
+ <circle cx='70' cy='70' r='67' fill='none' stroke='#B5B8BB' strokeWidth='1' opacity='0.6' />
5
+ <circle cx='70' cy='70' r='52' fill='none' stroke='#B5B8BB' strokeWidth='1' strokeDasharray='3 4' opacity='0.4' />
6
+ </svg>
7
+
8
+ <Box style={{ width: 1176, height: 80 }}>
9
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 1, whiteSpace: 'nowrap' }}>
10
+ 〔章节标签〕
11
+ </Text>
12
+ <Text style={{ fontFamily: 'STSong', fontSize: 32, fontWeight: 700, lineHeight: 1.3, color: '#10141A', marginTop: 12, whiteSpace: 'nowrap' }}>
13
+ 〔标题〕
14
+ </Text>
15
+ </Box>
16
+
17
+ <Box style={{ width: 1176, height: 500 }}>
18
+
19
+ 〔B区内容〕
20
+ </Box>
21
+
22
+ <Box style={{ position: 'absolute', left: 52, bottom: 28, height: 14 }}>
23
+ <Text style={{ fontSize: 12, fontWeight: 500, letterSpacing: 2, lineHeight: 1, color: '#6D7176', whiteSpace: 'nowrap' }}>〔单位名〕</Text>
24
+ </Box>
25
+ <Box style={{ position: 'absolute', right: 52, bottom: 28, height: 14 }}>
26
+ <Text style={{ fontFamily: 'Courier New', fontSize: 12, fontWeight: 400, letterSpacing: 2, lineHeight: 1, color: '#6D7176' }}>〔NN / 总页〕</Text>
27
+ </Box>
28
+ </Slide>
@@ -0,0 +1,44 @@
1
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', position: 'relative', padding: '48px 52px 68px 52px', flexDirection: 'column', gap: 24, fontFamily: 'Microsoft YaHei' }}>
2
+ <svg width={400} height={400} viewBox='0 0 400 400' style={{ position: 'absolute', left: 824, top: 236 }}>
3
+ <rect x='0' y='0' width='400' height='400' fill='#FFFFFF' />
4
+ <circle cx='200' cy='200' r='193' fill='none' stroke='#B5B8BB' strokeWidth='1' opacity='0.7' />
5
+ <circle cx='200' cy='200' r='154' fill='none' stroke='#B5B8BB' strokeWidth='1' strokeDasharray='3 4' opacity='0.5' />
6
+ </svg>
7
+
8
+ <Box style={{ width: 720, height: 360, marginTop: 117 }}>
9
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 1, whiteSpace: 'nowrap' }}>
10
+ 组会文献汇报 · 交通信息工程及控制
11
+ </Text>
12
+ <Text style={{ fontFamily: 'STSong', fontSize: 44, fontWeight: 700, lineHeight: 1.3, color: '#10141A', marginTop: 24, whiteSpace: 'nowrap' }}>
13
+ 城市轨道交通客流短时预测:<br />两类时空建模方法的对比阅读
14
+ </Text>
15
+ <Text style={{ fontFamily: 'Times New Roman', fontSize: 18, fontWeight: 400, fontStyle: 'italic', lineHeight: 1.55, color: '#565A5F', marginTop: 18, whiteSpace: 'nowrap' }}>
16
+ Short-term Passenger Flow Prediction in Urban Rail Transit:<br />A Comparative Reading of Two Spatio-temporal Modelling Approaches
17
+ </Text>
18
+
19
+ <Box style={{ width: 640, height: 1, background: '#B5B8BB', marginTop: 34 }} />
20
+ <Box style={{ flexDirection: 'row', gap: 56, marginTop: 18 }}>
21
+ <Box style={{ gap: 8 }}>
22
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 1, whiteSpace: 'nowrap' }}>汇报人</Text>
23
+ <Text style={{ fontSize: 16, color: '#10141A', whiteSpace: 'nowrap' }}>王雨桐 · 硕士研究生</Text>
24
+ </Box>
25
+ <Box style={{ gap: 8 }}>
26
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 1, whiteSpace: 'nowrap' }}>指导教师</Text>
27
+ <Text style={{ fontSize: 16, color: '#10141A', whiteSpace: 'nowrap' }}>张明远 教授</Text>
28
+ </Box>
29
+ <Box style={{ gap: 8 }}>
30
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 1, whiteSpace: 'nowrap' }}>汇报时间</Text>
31
+ <Text style={{ fontSize: 16, color: '#10141A', whiteSpace: 'nowrap' }}>2026 年 9 月 17 日</Text>
32
+ </Box>
33
+ </Box>
34
+ </Box>
35
+
36
+ <Box style={{ position: 'absolute', left: 52, bottom: 96, width: 256, height: 1, background: '#10141A' }} />
37
+
38
+ <Box style={{ position: 'absolute', left: 52, bottom: 28, height: 14 }}>
39
+ <Text style={{ fontSize: 12, fontWeight: 500, letterSpacing: 2, lineHeight: 1, color: '#6D7176', whiteSpace: 'nowrap' }}>交通运输工程学院 · 智能交通课题组</Text>
40
+ </Box>
41
+ <Box style={{ position: 'absolute', right: 52, bottom: 28, height: 14 }}>
42
+ <Text style={{ fontFamily: 'Courier New', fontSize: 12, fontWeight: 400, letterSpacing: 2, lineHeight: 1, color: '#6D7176' }}>01 / 10</Text>
43
+ </Box>
44
+ </Slide>
@@ -0,0 +1,79 @@
1
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', position: 'relative', padding: '48px 52px 68px 52px', flexDirection: 'column', gap: 24, fontFamily: 'Microsoft YaHei' }}>
2
+ <svg width={140} height={140} viewBox='0 0 140 140' style={{ position: 'absolute', left: 1086, top: 16 }}>
3
+ <rect x='0' y='0' width='140' height='140' fill='#FFFFFF' />
4
+ <circle cx='70' cy='70' r='67' fill='none' stroke='#B5B8BB' strokeWidth='1' opacity='0.6' />
5
+ <circle cx='70' cy='70' r='52' fill='none' stroke='#B5B8BB' strokeWidth='1' strokeDasharray='3 4' opacity='0.4' />
6
+ </svg>
7
+
8
+ <Box style={{ width: 1176, height: 80 }}>
9
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 1, whiteSpace: 'nowrap' }}>
10
+ 两类代表性方法 · 对照阅读
11
+ </Text>
12
+ <Text style={{ fontFamily: 'STSong', fontSize: 32, fontWeight: 700, lineHeight: 1.3, color: '#10141A', marginTop: 12, whiteSpace: 'nowrap' }}>
13
+ 统计时序方法胜在可解释与轻量,图神经网络方法胜在路网级空间建模
14
+ </Text>
15
+ </Box>
16
+
17
+ <Box style={{ width: 1176, height: 500 }}>
18
+ <Box style={{ flexDirection: 'row', height: 388 }}>
19
+ <Box style={{ flex: 1, border: '1px solid #B5B8BB', background: '#FFFFFF', padding: '24px 28px' }}>
20
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 14 }}>
21
+ <Box style={{ width: 40, height: 40, borderRadius: 20, border: '1px solid #B5B8BB', alignItems: 'center', justifyContent: 'center' }}>
22
+ <Text style={{ fontFamily: 'Times New Roman', fontSize: 17, color: '#6D7176', lineHeight: 1 }}>A</Text>
23
+ </Box>
24
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 1, whiteSpace: 'nowrap' }}>方法 A · 统计时序类</Text>
25
+ </Box>
26
+ <Text style={{ fontFamily: 'STSong', fontSize: 22, fontWeight: 700, color: '#10141A', lineHeight: 1.3, marginTop: 16 }}>以 ARIMA 类模型对每个站点独立建模</Text>
27
+ <Text style={{ fontSize: 17, color: '#565A5F', lineHeight: 1.75, marginTop: 10 }}>
28
+ 将站点进站量视作平稳化后的单变量序列,按工作日与节假日分别拟合参数;不使用相邻站点信息,节假日与突发事件依赖人工设定的干预项。模型参数少、训练快,结果可逐项解释,便于运营人员核对。
29
+ </Text>
30
+ <Box style={{ flex: 1 }} />
31
+ <Box style={{ borderTop: '1px solid #B5B8BB', paddingTop: 12, gap: 8 }}>
32
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between' }}><Text style={{ fontSize: 14, letterSpacing: 1.5, color: '#6D7176' }}>空间关系</Text><Text style={{ fontSize: 16, color: '#10141A' }}>不显式建模</Text></Box>
33
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between' }}><Text style={{ fontSize: 14, letterSpacing: 1.5, color: '#6D7176' }}>训练成本</Text><Text style={{ fontSize: 16, color: '#10141A' }}>单站分钟级,可在普通工作站完成</Text></Box>
34
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between' }}><Text style={{ fontSize: 14, letterSpacing: 1.5, color: '#6D7176' }}>高峰 MAPE</Text><Text style={{ fontSize: 16, color: '#10141A' }}>约 14%(示例数据)</Text></Box>
35
+ </Box>
36
+ </Box>
37
+
38
+ <Box style={{ width: 72, alignItems: 'center', justifyContent: 'center', position: 'relative' }}>
39
+ <Box style={{ position: 'absolute', top: 0, left: 35.5, width: 1, height: 388, background: '#B5B8BB' }} />
40
+ <Box style={{ width: 44, height: 44, borderRadius: 22, border: '1px solid #B5B8BB', background: '#FFFFFF', alignItems: 'center', justifyContent: 'center', position: 'relative' }}>
41
+ <Text style={{ fontFamily: 'Times New Roman', fontSize: 15, fontStyle: 'italic', color: '#6D7176', lineHeight: 1 }}>vs</Text>
42
+ </Box>
43
+ </Box>
44
+
45
+ <Box style={{ flex: 1, border: '1px solid #B5B8BB', background: '#FFFFFF', padding: '24px 28px' }}>
46
+ <Box style={{ flexDirection: 'row', alignItems: 'center', gap: 14 }}>
47
+ <Box style={{ width: 40, height: 40, borderRadius: 20, border: '1px solid #B5B8BB', alignItems: 'center', justifyContent: 'center' }}>
48
+ <Text style={{ fontFamily: 'Times New Roman', fontSize: 17, color: '#6D7176', lineHeight: 1 }}>B</Text>
49
+ </Box>
50
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 1, whiteSpace: 'nowrap' }}>方法 B · 图神经网络类</Text>
51
+ </Box>
52
+ <Text style={{ fontFamily: 'STSong', fontSize: 22, fontWeight: 700, color: '#10141A', lineHeight: 1.3, marginTop: 16 }}>以路网邻接图联合建模全部站点</Text>
53
+ <Text style={{ fontSize: 17, color: '#565A5F', lineHeight: 1.75, marginTop: 10 }}>
54
+ 把线路连接与换乘关系编码为站点邻接矩阵,用图卷积聚合相邻站点的客流特征,再以门控循环单元刻画时间演化,一次输出全路网多步预测。对高峰传播与换乘站联动更敏感,但需要 GPU 训练,结果解释依赖事后分析。
55
+ </Text>
56
+ <Box style={{ flex: 1 }} />
57
+ <Box style={{ borderTop: '1px solid #B5B8BB', paddingTop: 12, gap: 8 }}>
58
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between' }}><Text style={{ fontSize: 14, letterSpacing: 1.5, color: '#6D7176' }}>空间关系</Text><Text style={{ fontSize: 16, color: '#10141A' }}>路网邻接 + 换乘关系</Text></Box>
59
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between' }}><Text style={{ fontSize: 14, letterSpacing: 1.5, color: '#6D7176' }}>训练成本</Text><Text style={{ fontSize: 16, color: '#10141A' }}>全网小时级,需要单卡 GPU</Text></Box>
60
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between' }}><Text style={{ fontSize: 14, letterSpacing: 1.5, color: '#6D7176' }}>高峰 MAPE</Text><Text style={{ fontSize: 16, color: '#10141A' }}>约 9%(示例数据)</Text></Box>
61
+ </Box>
62
+ </Box>
63
+ </Box>
64
+
65
+ <Box style={{ flexDirection: 'row', alignItems: 'flex-start', gap: 28, borderTop: '1px solid #B5B8BB', paddingTop: 16, marginTop: 22, height: 90 }}>
66
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 2.2, whiteSpace: 'nowrap' }}>结论</Text>
67
+ <Text style={{ flex: 1, fontFamily: 'STSong', fontSize: 19, fontWeight: 700, color: '#10141A', lineHeight: 1.6 }}>
68
+ 两类方法并非替代关系:统计模型适合站点级快速部署与结果解释,图网络适合路网级联动预测。本组拟以方法 A 作基线、方法 B 作主模型,在同一示例数据集上同口径对照。
69
+ </Text>
70
+ </Box>
71
+ </Box>
72
+
73
+ <Box style={{ position: 'absolute', left: 52, bottom: 28, height: 14 }}>
74
+ <Text style={{ fontSize: 12, fontWeight: 500, letterSpacing: 2, lineHeight: 1, color: '#6D7176', whiteSpace: 'nowrap' }}>交通运输工程学院 · 智能交通课题组</Text>
75
+ </Box>
76
+ <Box style={{ position: 'absolute', right: 52, bottom: 28, height: 14 }}>
77
+ <Text style={{ fontFamily: 'Courier New', fontSize: 12, fontWeight: 400, letterSpacing: 2, lineHeight: 1, color: '#6D7176' }}>02 / 10</Text>
78
+ </Box>
79
+ </Slide>
@@ -0,0 +1,79 @@
1
+ <Slide style={{ width: 1280, height: 720, background: '#FFFFFF', position: 'relative', padding: '48px 52px 68px 52px', flexDirection: 'column', gap: 24, fontFamily: 'Microsoft YaHei' }}>
2
+ <svg width={140} height={140} viewBox='0 0 140 140' style={{ position: 'absolute', left: 1086, top: 16 }}>
3
+ <rect x='0' y='0' width='140' height='140' fill='#FFFFFF' />
4
+ <circle cx='70' cy='70' r='67' fill='none' stroke='#B5B8BB' strokeWidth='1' opacity='0.6' />
5
+ <circle cx='70' cy='70' r='52' fill='none' stroke='#B5B8BB' strokeWidth='1' strokeDasharray='3 4' opacity='0.4' />
6
+ </svg>
7
+
8
+ <Box style={{ width: 1176, height: 80 }}>
9
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 1, whiteSpace: 'nowrap' }}>
10
+ 误差对比 · 同一示例数据集
11
+ </Text>
12
+ <Text style={{ fontFamily: 'STSong', fontSize: 32, fontWeight: 700, lineHeight: 1.3, color: '#10141A', marginTop: 12, whiteSpace: 'nowrap' }}>
13
+ 在同一示例数据集上,引入空间结构的方法把高峰误差压低约三成
14
+ </Text>
15
+ </Box>
16
+
17
+ <Box style={{ width: 1176, height: 500 }}>
18
+ <Box style={{ height: 388 }}>
19
+ <Table
20
+ style={{ width: '100%', height: '100%' }}
21
+ defaultTextStyle={{ fontSize: 17, textAlign: 'center', color: '#10141A', fontFamily: 'Microsoft YaHei' }}
22
+ defaultCellStyle={{
23
+ border: {
24
+ bottom: { width: 1, color: '#B5B8BB' },
25
+ },
26
+ }}
27
+ cells={[
28
+ [
29
+ { text: '方法类别', textStyle: { textAlign: 'left', color: '#565A5F' }, cellStyle: { background: { color: '#E7E7E8' } } },
30
+ { text: '空间关系建模', textStyle: { color: '#565A5F' }, cellStyle: { background: { color: '#E7E7E8' } } },
31
+ { text: '输入粒度', textStyle: { color: '#565A5F' }, cellStyle: { background: { color: '#E7E7E8' } } },
32
+ { text: '高峰 MAE(人次)', textStyle: { color: '#565A5F' }, cellStyle: { background: { color: '#E7E7E8' } } },
33
+ { text: '高峰 MAPE', textStyle: { color: '#565A5F' }, cellStyle: { background: { color: '#E7E7E8' } } },
34
+ { text: '训练时长', textStyle: { color: '#565A5F' }, cellStyle: { background: { color: '#E7E7E8' } } },
35
+ ],
36
+ [
37
+ { text: '历史同期均值', textStyle: { textAlign: 'left' } }, '无', '15 分钟', '168', '18.4%', '—',
38
+ ],
39
+ [
40
+ { text: 'ARIMA(逐站)', textStyle: { textAlign: 'left' }, cellStyle: { background: { color: '#F7F7F8' } } },
41
+ { text: '无', cellStyle: { background: { color: '#F7F7F8' } } },
42
+ { text: '15 分钟', cellStyle: { background: { color: '#F7F7F8' } } },
43
+ { text: '131', cellStyle: { background: { color: '#F7F7F8' } } },
44
+ { text: '14.2%', cellStyle: { background: { color: '#F7F7F8' } } },
45
+ { text: '约 3 分钟 / 站', cellStyle: { background: { color: '#F7F7F8' } } },
46
+ ],
47
+ [
48
+ { text: 'LSTM(逐站)', textStyle: { textAlign: 'left' } }, '无', '15 分钟', '104', '11.3%', '约 25 分钟 / 站',
49
+ ],
50
+ [
51
+ { text: '图卷积 + GRU(全网)', textStyle: { textAlign: 'left' }, cellStyle: { background: { color: '#F7F7F8' } } },
52
+ { text: '路网邻接', cellStyle: { background: { color: '#F7F7F8' } } },
53
+ { text: '15 分钟', cellStyle: { background: { color: '#F7F7F8' } } },
54
+ { text: '79', cellStyle: { background: { color: '#F7F7F8' } } },
55
+ { text: '8.6%', cellStyle: { background: { color: '#F7F7F8' } } },
56
+ { text: '约 70 分钟 / 全网', cellStyle: { background: { color: '#F7F7F8' } } },
57
+ ],
58
+ [
59
+ { text: '本组复现(图卷积 + GRU,加天气特征)', textStyle: { textAlign: 'left' } }, '路网邻接 + 换乘', '15 分钟', '76', '8.2%', '约 80 分钟 / 全网',
60
+ ],
61
+ ]}
62
+ />
63
+ </Box>
64
+
65
+ <Box style={{ flexDirection: 'row', alignItems: 'flex-start', gap: 28, borderTop: '1px solid #B5B8BB', paddingTop: 16, marginTop: 22, height: 90 }}>
66
+ <Text style={{ fontSize: 13, fontWeight: 500, letterSpacing: 2.5, color: '#6D7176', lineHeight: 2.2, whiteSpace: 'nowrap' }}>结论</Text>
67
+ <Text style={{ flex: 1, fontFamily: 'STSong', fontSize: 19, fontWeight: 700, color: '#10141A', lineHeight: 1.6 }}>
68
+ 误差下降主要来自空间结构而非模型规模:从 LSTM 到图卷积的 MAE 降幅(24%)大于从 ARIMA 到 LSTM(21%);训练时长随之增加,部署时需在精度与算力之间权衡。数据均为示例口径。
69
+ </Text>
70
+ </Box>
71
+ </Box>
72
+
73
+ <Box style={{ position: 'absolute', left: 52, bottom: 28, height: 14 }}>
74
+ <Text style={{ fontSize: 12, fontWeight: 500, letterSpacing: 2, lineHeight: 1, color: '#6D7176', whiteSpace: 'nowrap' }}>交通运输工程学院 · 智能交通课题组</Text>
75
+ </Box>
76
+ <Box style={{ position: 'absolute', right: 52, bottom: 28, height: 14 }}>
77
+ <Text style={{ fontFamily: 'Courier New', fontSize: 12, fontWeight: 400, letterSpacing: 2, lineHeight: 1, color: '#6D7176' }}>03 / 10</Text>
78
+ </Box>
79
+ </Slide>
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: 战略咨询
3
+ ---
4
+
5
+ ## 1. 气质一句话
6
+ 两色 risograph:米纸上只有一种电光钴蓝墨,坐标纸永远垫在底下,宋体做陈述、黑体做说明、等宽做编目,像一本日系趋势年鉴。
7
+
8
+ ## 2. 色彩池
9
+
10
+ > **本节是默认配色,不是限制。** 模板只定版式:外壳、分区、字号层级、图位、标志性处理。颜色可以整体替换——按下表的「角色」一一对应给出新色值,用 `build_page.py init --map` 换色,再过 `contrast`。换色时保持角色数量不变(不多加一种彩色),本预设 §6 / §7 里关于「只用某种颜色」「禁止某色相」的话只约束默认配色。
11
+ | 角色 | hex | 面积上限 |
12
+ |---|---|---|
13
+ | paper 纸面 | #F0EBDE | 整页底色,也是 QR 块与客户 chevron 的填充 |
14
+ | ink 钴蓝 | #1F2BE0 | 唯一墨色:全部文字、规则线、chevron、像素格、毛刺柱;≤35% 面积 |
15
+ | grid 坐标纸 | #DBD8DE(钴蓝 10% 预混) | 32px 方格线、像素柱「暗格」;不可关闭 |
16
+ | ink-faint 淡线 | #CAC8DE(钴蓝 18% 预混) | 账簿行间分隔线,只用于同层密排信息 |
17
+ | paper-2 深纸 | #E6E0CE | 备用区域微差,本套未用 |
18
+ | 禁止:第二种色相、渐变、阴影、圆角、纯白 #FFFFFF;SVG 内禁 rgba(会失色,用预混 hex) |
19
+
20
+ ## 3. 字体系统(1280×720 已换算)
21
+ | 角色 | fontFamily | 字号 | 字重 | 行高 | 字距 |
22
+ |---|---|---|---|---|---|
23
+ | display-hero 封面 | STSong;年份 span 用 Times New Roman | 104 | 700 / 400 | 1.04 | 中文 0,西文 -1 |
24
+ | headline / Action Title | STSong | 34 | 700 | 1.3 | 0 |
25
+ | ed-callout 封面副题 | STSong | 30 | 400 | 1.2 | 0 |
26
+ | vbig-numeral 巨数 | Times New Roman | 104 / 72 | 400 | 0.95 | -1.5 / -1;单位 span STSong 40 |
27
+ | table-name 账簿行名 | STSong | 18 | 400 | 1 | 0 |
28
+ | body 说明正文 | Microsoft YaHei | 16 | 400 | 1.5 | 0 |
29
+ | chevron 节点名 | Microsoft YaHei | 18 | 700 | 1 | 0,纸色字 |
30
+ | micro 大写标签 | Microsoft YaHei 700 13;纯西文段 span Courier New letterSpacing 1.5–2.2 | 13 | 700 | 1 | 见左 |
31
+ | mono-tag / tick / 页码 | Courier New | 13–15 | 400 | 1 | 0.5–1.5 |
32
+ | Source / Footnote | Microsoft YaHei | 13 | 400 | 1.5 | 0 |
33
+
34
+ ## 4. 母版三区
35
+ - 所有页 Slide style 逐字相同:`padding: '19px 48px 14px 48px', position: 'relative'`;Slide 内先铺 1280×719 坐标纸 SVG(absolute、top 1、zIndex 0),再放一个 `position: 'relative', zIndex: 1, width: 1184, height: 687` 的外壳 Box(x 48–1232,y 19–706),其余元素全部在外壳里。
36
+ - A 页眉区(y 19–164,高 145)= 顶部 1.5px 钴蓝发丝线(y 19–20.5)+ 间距 16 + topbar 127.5(y 36.5–164:Action Title 左、mono lab-tag 右、`paddingBottom: 14`、底部 1.5px 规则线,规则线底边固定在 y 164)。topbar 高度按双行标题写死,`alignItems: 'flex-end'` 让标题贴着规则线向上长:单行标题顶 ≈ y 95,双行标题顶 ≈ y 42,规则线与 B 区都不动。标题只有一种字号 STSong 34 / 700 / 行高 1.3,宽 940,每行最多 27 个汉字,最多 2 行(≤ 54 字);lab-tag 纯西文大写,≤ 26 字符。
37
+ - B 内容区(y 188–624,宽 1184、高 436):页面内容只能放在这个 Box 里。价值链 / 账簿 / 像素柱按 1184 全宽排。
38
+ - C 页脚区(y 633–706,高 73,全部 absolute、坐标写死):Source + Footnote 两行 13px 左下 `bottom: 26`(宽 960,y 633–680,只写一行时贴底);页码 `NN / 总页` mono 右下 `bottom: 30`(底边 y 676);底部 1.5px 发丝线 `bottom: 0`(y 704.5–706)。封面省略 Source 与 topbar,顶 / 底发丝线和页码与内容页逐字相同。
39
+
40
+ ### 固定骨架
41
+
42
+ 纵向算账:19(padding-top)+ 145(A:1.5 发丝线 + 16 + 127.5 topbar)+ 24 + 436(B)+ 9 + 73(C:47 Source 两行 + 24.5 + 1.5 发丝线)+ 14(padding-bottom)= 720;外壳 Box 687 = 145 + 24 + 436 + 9 + 73。
43
+
44
+ 内容页外壳:
45
+ 内容页外壳以本套 `shell/content.jsx` 为准(占位 `〔…〕`,B 区标记 `〔B区内容〕`),用 `scripts/build_page.py build` 拼装,不照抄手打。
46
+
47
+ 封面 / 章节页外壳(同一 Slide、坐标纸、双发丝线与页码,无 topbar 与 Source):
48
+
49
+ ```jsx
50
+ <Slide style={{ background: '#F0EBDE', padding: '19px 48px 14px 48px', position: 'relative' }}>
51
+ <svg width={1280} height={719} viewBox='0 0 1280 719' style={{ position: 'absolute', top: 1, left: 0, zIndex: 0 }}>
52
+ <defs>
53
+ <pattern id='grid' width='32' height='32' patternUnits='userSpaceOnUse'>
54
+ <path d='M 32 0 L 0 0 0 32' fill='none' stroke='#DBD8DE' strokeWidth='1' />
55
+ </pattern>
56
+ </defs>
57
+ <rect x='0' y='0' width='1280' height='719' fill='#F0EBDE' />
58
+ <rect x='0' y='0' width='1280' height='719' fill='url(#grid)' />
59
+ </svg>
60
+ <Box style={{ position: 'relative', zIndex: 1, width: 1184, height: 687 }}>
61
+ <Box style={{ width: 1184, height: 1.5, background: '#1F2BE0' }} />
62
+ 〔封面主体:104px 双行 display → 大写标签 → 副题 → 双栏署名;毛刺柱 rect 加在同一张 SVG 里,QR 块 absolute top 40 / right 0〕
63
+ <Text style={{ position: 'absolute', right: 0, bottom: 30, fontFamily: 'Courier New', fontSize: 13, color: '#1F2BE0', letterSpacing: 1 }}>〔NN / 总页〕</Text>
64
+ <Box style={{ position: 'absolute', left: 0, bottom: 0, width: 1184, height: 1.5, background: '#1F2BE0' }} />
65
+ </Box>
66
+ </Slide>
67
+ ```
68
+
69
+ | 区 | x | y | w | h |
70
+ |---|---|---|---|---|
71
+ | 坐标纸 SVG | 0 | 1 | 1280 | 719 |
72
+ | 外壳 Box | 48 | 19 | 1184 | 687 |
73
+ | A1 顶部发丝线 | 48 | 19 | 1184 | 1.5 |
74
+ | A2 topbar(含 14 内边距与 1.5 规则线) | 48 | 36.5 | 1184 | 127.5 |
75
+ | A2 内标题 Text | 48 | 贴规则线向上,单行顶 ≈ 95 / 双行顶 ≈ 42 | 940 | ≤ 107 |
76
+ | B 内容区 | 48 | 188 | 1184 | 436 |
77
+ | C1 Source / Footnote | 48 | 633(底 680) | 960 | 47 |
78
+ | C2 页码 | 右缘 1232 | 底 676 | 自适应 | 约 16 |
79
+ | C3 底部发丝线 | 48 | 704.5 | 1184 | 1.5 |
80
+
81
+ 所有内容页必须从此外壳复制,只替换占位文字和 B 区内部;不得改动外壳里的任何数值。B 区放不下就删内容或拆页,不得压缩页眉页脚或改 padding。
82
+
83
+ **封面标题容量(硬上限)**:104px 衬线标题(nowrap),版心 1184 宽:最多 2 行(短标题只写一行,不得为凑两行硬拆;空出的那一行保留原有占位高度,其余元素位置不变),每行最多 8 个汉字(数字按半个汉字计;右侧 x ≥ 932 是毛刺柱占位);放不下就改写标题,不得加第三行。标题与页脚、底带之间必须留出空隙,任何情况下标题不得压到页脚上。
84
+
85
+ **装饰与文字不重叠(硬约束)**:毛刺柱占 x 932~1116、y 58~664,QR 马赛克占右上 58×58;封面、章节页、结束页的全部文字左对齐、`whiteSpace: nowrap`、右边界不超过 x 900:104px 标题每行最多 8 个汉字,30px 副题每行最多 28 个汉字;不得把标题居中铺满整页。结束页照封面外壳排(左对齐 + 毛刺柱),不另设居中版式。装饰性 SVG / Box 的矩形与任何文字容器的矩形不得相交;页型没有范例时,装饰只照本套封面或内容页范例的位置放,不另加。
86
+
87
+ ### 图位(配图规则)
88
+ - 本套不放 AI 生成的配图(当前环境没有生图工具):封面、章节页、内容页都以 §6 的标志性处理作主视觉。
89
+ - 只有用户提供的材料图可以上页,作为证据图,每页最多一张,图位 x 652 / y 188 / 436×436 正方形(左侧 580 宽放文字);按真实比例居中放置(`<Image>` 宽高 = 图位边长按真实宽高比缩放),不写 objectFit,不加描边、相框、圆角、阴影,图注一行放图下方。
90
+ - 材料图上页的门槛:只有照片、真实图表、界面截图这类重画不出来的内容才放,且原图短边 ≥ 图位边长(放大会糊)。材料里的表格、流程图、对比图、文字截图一律不贴图,改用原生 `<Table>`、Box 排版或 SVG 重画;重画不了又不清晰的,宁可不放。
91
+ - 图位宽高不得改;没有材料图就不留图位,不得用色块或生成图冒充。
92
+
93
+ ## 5. 版式清单
94
+ - `01_cover.slide` · cover · 左:104px 双行 display(年份 Times New Roman)→ 大写标签 → 30px 宋体副题 → 双栏署名;右:8 级阶梯扫描线毛刺柱(SVG pattern)+ 右上 8×8 QR 纸底马赛克;双发丝线 + 页码。
95
+ - `02_structure.slide` · structure(价值链)· 固定 topbar(双行 Action Title)→ mono 节号行 → 6 节 chevron SVG(第 3 节客户环节纸底钴边)+ 独立 Text 节名 → 每节 3 行说明 + mono 规模 → 利润池账簿(表头 1.5px 实线、3 行淡线、↑↓— 前缀)→ Source/Footnote/页码。
96
+ - `03_data.slide` · data · 固定 topbar(单行 Action Title,贴规则线)→ 左 380:Times New Roman 巨数 ×2 + 标签 + 16px 洞察 → 右 764:8 列像素堆叠柱(12 格 × 27.5px,亮格钴蓝、暗格 #DBD8DE,数值标签嵌在柱顶格)+ 1.5px 基线 + mono 年份刻度。
97
+
98
+ ## 6. 标志性处理
99
+ 1. 每页底下都有 32px 坐标纸(SVG pattern 预混 #DBD8DE),页面上下各一条 1.5px 钴蓝发丝线内缩 48px。
100
+ 2. 只有一种墨:强调靠放大、换宋体、加 mono 箭头或降不透明度(0.6),绝不换色。
101
+ 3. 像素毛刺柱(阶梯扫描线)与 8×8 QR 纸底马赛克是唯一装饰,只出现在封面 / 章节 / 引言等陈述页。
102
+ 4. topbar = 宋体标题左 + mono lab-tag 右 + 1.5px 规则线,是所有内容页的统一标题处理。
103
+ 5. 图表用「像素堆叠柱」:等高格子亮 / 暗两态表示数值,直接呼应毛刺柱;数值与刻度用 Courier New。
104
+ 6. 零圆角、零阴影、零渐变;密排信息之间只用 18% 淡线(#CAC8DE)。
105
+
106
+ ## 7. Do / Don't
107
+ Do:
108
+ - 所有文字、线、形状一律 #1F2BE0;底色一律 #F0EBDE;SVG 与 Box 里的淡色用预混 hex。
109
+ - 宋体标题用 700(brief CJK 表),字号 34;正文黑体 16,说明 ≥16,脚注 13。
110
+ - 纯西文标签(VOLUME、CAGR、lab-tag)用 Courier New 加 1.5–2.2 字距;中文标签字距归零。
111
+ - 结构图形状放 SVG,节名 / 说明 / 数字全部用独立 Text 叠层,坐标与 viewBox 1:1。
112
+ - 页码 `NN / 总页` 放在底部发丝线上方 30px,不压线。
113
+ Don't:
114
+ - 不引入第二色相(含涨红跌绿);涨跌只用 ↑ / ↓ / — 前缀与 0.6 不透明度区分。
115
+ - 不给任何形状圆角,不加 boxShadow、渐变;不用生成配图,材料图只按 §4「图位」的证据位放。
116
+ - 不用 `backgroundImage` 重复渐变画格子(渲染为灰块),不在 SVG 里写 rgba 或中文。
117
+ - 不让陈述页塞满;索引 / 数据 / 账簿页才密排。
118
+ - 不把标题写成话题词,必须是完整结论句。
@@ -0,0 +1,24 @@
1
+ <Slide style={{ background: '#F0EBDE', padding: '19px 48px 14px 48px', position: 'relative' }}>
2
+ <svg width={1280} height={719} viewBox='0 0 1280 719' style={{ position: 'absolute', top: 1, left: 0, zIndex: 0 }}>
3
+ <defs>
4
+ <pattern id='grid' width='32' height='32' patternUnits='userSpaceOnUse'>
5
+ <path d='M 32 0 L 0 0 0 32' fill='none' stroke='#DBD8DE' strokeWidth='1' />
6
+ </pattern>
7
+ </defs>
8
+ <rect x='0' y='0' width='1280' height='719' fill='#F0EBDE' />
9
+ <rect x='0' y='0' width='1280' height='719' fill='url(#grid)' />
10
+ </svg>
11
+ <Box style={{ position: 'relative', zIndex: 1, width: 1184, height: 687 }}>
12
+ <Box style={{ width: 1184, height: 1.5, background: '#1F2BE0' }} />
13
+ <Box style={{ flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-end', marginTop: 16, height: 127.5, paddingBottom: 14, borderBottom: '1.5px solid #1F2BE0' }}>
14
+ <Text style={{ width: 940, fontFamily: 'STSong', fontSize: 34, fontWeight: 700, color: '#1F2BE0', lineHeight: 1.3 }}>〔标题〕</Text>
15
+ <Text style={{ fontFamily: 'Courier New', fontSize: 13, color: '#1F2BE0', letterSpacing: 1.5, whiteSpace: 'nowrap', paddingBottom: 6 }}>〔LAB TAG〕</Text>
16
+ </Box>
17
+ <Box style={{ width: 1184, height: 436, marginTop: 24 }}>
18
+ 〔B区内容〕
19
+ </Box>
20
+ <Text style={{ position: 'absolute', left: 0, bottom: 26, width: 960, fontFamily: 'Microsoft YaHei', fontSize: 13, color: '#1F2BE0', lineHeight: 1.5 }}>〔来源〕<br />〔注〕</Text>
21
+ <Text style={{ position: 'absolute', right: 0, bottom: 30, fontFamily: 'Courier New', fontSize: 13, color: '#1F2BE0', letterSpacing: 1 }}>〔NN / 总页〕</Text>
22
+ <Box style={{ position: 'absolute', left: 0, bottom: 0, width: 1184, height: 1.5, background: '#1F2BE0' }} />
23
+ </Box>
24
+ </Slide>