weaver-work-cli 0.1.73 → 0.1.76

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 (363) hide show
  1. package/README.md +37 -1
  2. package/dist/chunks/{archive-THZV4ND4.js → archive-ENBSUMHV.js} +14 -9
  3. package/dist/chunks/{archive-oa-PQ23OLEV.js → archive-oa-7BFPQ6M5.js} +10 -7
  4. package/dist/chunks/{asset-RGPROZYH.js → asset-V5SUD3PW.js} +10 -7
  5. package/dist/chunks/{asset-idle-Z2PDX7NA.js → asset-idle-3CEL7WFX.js} +7 -4
  6. package/dist/chunks/{attachment-content-R3RPVOYE.js → attachment-content-24RL44SE.js} +3 -3
  7. package/dist/chunks/{blog-7U3QZPIF.js → blog-FLI4SS3P.js} +10 -7
  8. package/dist/chunks/{caizhilian-3AB42GCV.js → caizhilian-7WCTKCCP.js} +10 -7
  9. package/dist/chunks/{calendar-KINM64E4.js → calendar-G726HUUH.js} +10 -7
  10. package/dist/chunks/chunk-257JXJGD.js +30 -0
  11. package/dist/chunks/chunk-2BZ7TY4M.js +49 -0
  12. package/dist/chunks/{chunk-4BXR6CNB.js → chunk-2KW7AI6P.js} +2 -2
  13. package/dist/chunks/{chunk-WM33BSIL.js → chunk-2QCCXPNU.js} +1 -1
  14. package/dist/chunks/chunk-2UV4IZIT.js +473 -0
  15. package/dist/chunks/{chunk-R3MK2RBN.js → chunk-5E2FDXBU.js} +1 -1
  16. package/dist/chunks/{chunk-DRUND2PJ.js → chunk-5QUTQHXF.js} +225 -152
  17. package/dist/chunks/chunk-7DE3VMZD.js +35 -0
  18. package/dist/chunks/{chunk-PAFOLIYQ.js → chunk-AZC53XSQ.js} +1 -1
  19. package/dist/chunks/{chunk-6HT73VOI.js → chunk-BWFCTE43.js} +2 -2
  20. package/dist/chunks/{chunk-4YXAK6OA.js → chunk-FEZK536Z.js} +12 -7
  21. package/dist/chunks/{chunk-IU6UB2TD.js → chunk-FPWCCRKT.js} +48 -6
  22. package/dist/chunks/{chunk-LLCMOZ5L.js → chunk-H6N6U2D6.js} +11 -11
  23. package/dist/chunks/{chunk-54ST55IJ.js → chunk-JJONWB5N.js} +11 -1
  24. package/dist/chunks/{chunk-GWJLAF6B.js → chunk-JWF2R6EQ.js} +0 -462
  25. package/dist/chunks/chunk-KINXYJXM.js +205 -0
  26. package/dist/chunks/{chunk-F4HM25K4.js → chunk-KJA7CRES.js} +1 -1
  27. package/dist/chunks/chunk-L5SCNJKX.js +1166 -0
  28. package/dist/chunks/{chunk-TV46Q4NY.js → chunk-MS7MKBGJ.js} +74 -68
  29. package/dist/chunks/{chunk-XZBYRYWX.js → chunk-NZQRW4KL.js} +2 -2
  30. package/dist/chunks/chunk-OJ4JPD25.js +428 -0
  31. package/dist/chunks/chunk-OVTCWLNQ.js +1346 -0
  32. package/dist/chunks/{chunk-NUP4RYZK.js → chunk-PMRNIGKZ.js} +2 -2
  33. package/dist/chunks/{chunk-2CHGUYMG.js → chunk-Q7RXCK2Y.js} +4 -4
  34. package/dist/chunks/{chunk-AMAPQVBT.js → chunk-QVKRNL7L.js} +286 -305
  35. package/dist/chunks/{chunk-7QFVXP2X.js → chunk-R4PN3OFK.js} +8 -7
  36. package/dist/chunks/{chunk-L7TYG5SN.js → chunk-RVEKGVZU.js} +2 -2
  37. package/dist/chunks/{chunk-2XED2FKY.js → chunk-SQFKBWTR.js} +38 -36
  38. package/dist/chunks/chunk-SU6IJD6D.js +49 -0
  39. package/dist/chunks/{chunk-IBSJJGXL.js → chunk-T7HVQ2WP.js} +2 -2
  40. package/dist/chunks/{chunk-ZWLWXHJC.js → chunk-TBCKK6LH.js} +2 -2
  41. package/dist/chunks/{chunk-JMJBPP4B.js → chunk-UDBQJLQF.js} +2 -2
  42. package/dist/chunks/chunk-UUJK76HV.js +209 -0
  43. package/dist/chunks/{chunk-4I26YMBY.js → chunk-WHI6YAUE.js} +7 -3
  44. package/dist/chunks/{chunk-BWYVS62Z.js → chunk-WJQJ7YEX.js} +4 -4
  45. package/dist/chunks/{chunk-GAMGDNTF.js → chunk-XNN5PZTI.js} +1 -1
  46. package/dist/chunks/chunk-Y3C6MDL7.js +28 -0
  47. package/dist/chunks/chunk-ZM7RN2IM.js +38 -0
  48. package/dist/chunks/cli-DFLV57LO.js +226 -0
  49. package/dist/chunks/commands-J52MJ6NF.js +70 -0
  50. package/dist/chunks/{conflict-VPAR7E6F.js → conflict-72Q6DM4I.js} +2 -2
  51. package/dist/chunks/{contract-DDXAO2DZ.js → contract-IRNRQ5FY.js} +12446 -5964
  52. package/dist/chunks/{cowork-34QCHMDD.js → cowork-GZDODGKF.js} +11 -8
  53. package/dist/chunks/{create-flow-52PU2OBI.js → create-flow-UGTDI7SP.js} +6 -6
  54. package/dist/chunks/{data-CLQ62QGD.js → data-HTQZRPPI.js} +6 -3
  55. package/dist/chunks/{ebuilder-form-W5R7Q22S.js → ebuilder-form-GHNIZ7ET.js} +9 -6
  56. package/dist/chunks/{ehr-LCNAVMK5.js → ehr-PHIBBUIG.js} +23 -16
  57. package/dist/chunks/{entry-mode-6Z3ZV3DE.js → entry-mode-5WOXFE67.js} +3 -3
  58. package/dist/chunks/{env-RDKWAARB.js → env-H4ALHESA.js} +2 -2
  59. package/dist/chunks/{esb-ANKPUU65.js → esb-ATRKVHCD.js} +10 -7
  60. package/dist/chunks/{factory-434B7RAT.js → factory-COX6AVK7.js} +1 -1
  61. package/dist/chunks/{fna-AKBSG5HI.js → fna-IKYI3SST.js} +13 -8
  62. package/dist/chunks/{group-chat-PROTW22R.js → group-chat-ZIWQQO4G.js} +3 -3
  63. package/dist/chunks/{host-5R2SNFWD.js → host-6UOXYOOY.js} +6 -3
  64. package/dist/chunks/{host-7FJW4E7R.js → host-EJSJSLVK.js} +6 -3
  65. package/dist/chunks/{host-WO4L5G5I.js → host-EYNLB6S4.js} +6 -3
  66. package/dist/chunks/{host-PDJAKCT7.js → host-OT4KNR3G.js} +6 -3
  67. package/dist/chunks/{host-CGXUFQO4.js → host-UY4LQPN4.js} +6 -3
  68. package/dist/chunks/{host-XIYG4F4B.js → host-XXGDQM7D.js} +6 -3
  69. package/dist/chunks/{hrm-WGODDTEH.js → hrm-5JQ7QZ6A.js} +8 -5
  70. package/dist/chunks/{im-YKTKAJU3.js → im-2YJW3EI5.js} +7 -4
  71. package/dist/chunks/{invoice-PVYCCCVM.js → invoice-37HR6L3W.js} +956 -566
  72. package/dist/chunks/{jiuchuanhui-RKOQW7BY.js → jiuchuanhui-KBWUZ7WT.js} +17 -10
  73. package/dist/chunks/{lazy-dispatch-DW45AFQ5.js → lazy-dispatch-MZ3EZYDL.js} +22 -8
  74. package/dist/chunks/{mail-BNB5S4NW.js → mail-YBKUM6HM.js} +11 -8
  75. package/dist/chunks/{meeting-O2KDJH66.js → meeting-XE6CTXYA.js} +22 -18
  76. package/dist/chunks/{minute-doc-JUCG56GY.js → minute-doc-4BA2R5EA.js} +4 -4
  77. package/dist/chunks/{okr-LWFGWOE7.js → okr-HW7IULIR.js} +10 -7
  78. package/dist/chunks/{operations-532PN5OB.js → operations-4P2UYVLH.js} +7 -4
  79. package/dist/chunks/{performance-7W5COCFU.js → performance-PM2G6L3E.js} +6 -3
  80. package/dist/chunks/{plan-ZVY3IYTL.js → plan-3YYGZ7ZM.js} +10 -7
  81. package/dist/chunks/{project-SA62B7MH.js → project-XREEXFU2.js} +10 -7
  82. package/dist/chunks/{reception-NGIONPQ3.js → reception-7G3J2MA6.js} +8 -4
  83. package/dist/chunks/{recruit-stage-WOSN6MGP.js → recruit-stage-TSQWOGQD.js} +199 -74
  84. package/dist/chunks/register-SQOPIR2G.js +16 -0
  85. package/dist/chunks/{registry-N7P3W2RD.js → registry-3VTB3KLV.js} +7 -4
  86. package/dist/chunks/registry-7UDUWYB5.js +30 -0
  87. package/dist/chunks/{registry-R72GWXOG.js → registry-F4YFZLOD.js} +7 -3
  88. package/dist/chunks/{room-recommend-KCGIVUFR.js → room-recommend-FO3HLPNB.js} +4 -4
  89. package/dist/chunks/root-YZG2TS5W.js +16 -0
  90. package/dist/chunks/{schedule-6UP27HQ4.js → schedule-DHNNOHVS.js} +4 -4
  91. package/dist/chunks/{smart-extract-DDOQSPRB.js → smart-extract-T5Z4AULN.js} +15 -7
  92. package/dist/chunks/update-AV5VOXGY.js +13 -0
  93. package/dist/chunks/{workflow-V5ALD6QZ.js → workflow-MAGCHWYZ.js} +15 -10
  94. package/dist/cli.js +40 -0
  95. package/dist/cmd/action.js +3 -1
  96. package/dist/cmd/doctor/index.js +1 -1
  97. package/dist/cmd/e10/index.js +1 -1
  98. package/dist/cmd/identity/index.js +5 -8
  99. package/dist/cmd/index.js +2 -0
  100. package/dist/cmd/setup/index.js +1 -1
  101. package/dist/cmd/update/index.js +38 -0
  102. package/dist/core/manifest-view.js +1 -1
  103. package/dist/core/output.js +8 -1
  104. package/dist/core/runtime-agent.js +13 -0
  105. package/dist/core/update-notice.js +23 -0
  106. package/dist/index.js +105 -198
  107. package/dist/internal/e10/auth/agent-host-key.js +16 -0
  108. package/dist/internal/e10/auth/agent-hosts.js +45 -9
  109. package/dist/internal/e10/auth/commands.js +66 -36
  110. package/dist/internal/e10/auth/session.js +30 -15
  111. package/dist/internal/e10/auth/xiaoe.js +4 -20
  112. package/dist/internal/e10/auth-recovery.js +44 -4
  113. package/dist/internal/e10/context.js +5 -2
  114. package/dist/internal/update/bootstrap.js +96 -0
  115. package/dist/internal/update/npm.js +78 -0
  116. package/dist/internal/update/service.js +252 -0
  117. package/dist/internal/update/store.js +135 -0
  118. package/dist/shortcuts/archive/index.js +2 -2
  119. package/dist/shortcuts/archive/manifest.js +1 -0
  120. package/dist/shortcuts/archive/operations/search.js +3 -1
  121. package/dist/shortcuts/archive-oa/index.js +1 -1
  122. package/dist/shortcuts/asset/index.js +1 -1
  123. package/dist/shortcuts/asset-idle/index.js +1 -1
  124. package/dist/shortcuts/blog/index.js +1 -1
  125. package/dist/shortcuts/caizhilian/index.js +1 -1
  126. package/dist/shortcuts/calendar/index.js +1 -1
  127. package/dist/shortcuts/contract/data/bi-config.js +156 -0
  128. package/dist/shortcuts/contract/data/collection-ledger-html.js +189 -0
  129. package/dist/shortcuts/contract/data/collection-node-catalog.js +226 -0
  130. package/dist/shortcuts/contract/data/metric-catalog.js +154 -20
  131. package/dist/shortcuts/contract/data/report-renderers.js +414 -0
  132. package/dist/shortcuts/contract/data/report-spec.js +132 -0
  133. package/dist/shortcuts/contract/error-actions.js +114 -0
  134. package/dist/shortcuts/contract/host.js +12 -3
  135. package/dist/shortcuts/contract/index.js +17 -1
  136. package/dist/shortcuts/contract/manifest.js +398 -3
  137. package/dist/shortcuts/contract/ooxml/docx-table.js +48 -0
  138. package/dist/shortcuts/contract/operations/bi-preview.js +131 -0
  139. package/dist/shortcuts/contract/operations/bizreview-report.js +496 -0
  140. package/dist/shortcuts/contract/operations/collection-node.js +229 -0
  141. package/dist/shortcuts/contract/operations/docx-slots.js +735 -16
  142. package/dist/shortcuts/contract/operations/draft-build.js +940 -0
  143. package/dist/shortcuts/contract/operations/draft-submit.js +229 -0
  144. package/dist/shortcuts/contract/operations/first-screen.js +3 -2
  145. package/dist/shortcuts/contract/operations/generated-submit.js +175 -0
  146. package/dist/shortcuts/contract/operations/ledger-report.js +233 -0
  147. package/dist/shortcuts/contract/operations/ledger-stat.js +1400 -0
  148. package/dist/shortcuts/contract/operations/ledger.js +4 -1
  149. package/dist/shortcuts/contract/operations/metrics.js +9 -3
  150. package/dist/shortcuts/contract/operations/ops-draft.js +527 -0
  151. package/dist/shortcuts/contract/operations/page.js +9 -0
  152. package/dist/shortcuts/contract/operations/quote-submit.js +55 -229
  153. package/dist/shortcuts/contract/operations/registry.js +20 -0
  154. package/dist/shortcuts/contract/operations/sign-launch.js +256 -0
  155. package/dist/shortcuts/contract/operations/viewlink.js +334 -0
  156. package/dist/shortcuts/cowork/index.js +2 -2
  157. package/dist/shortcuts/ebuilder-form/index.js +1 -1
  158. package/dist/shortcuts/ehr/index.js +2 -2
  159. package/dist/shortcuts/ehr/manifest.js +1 -1
  160. package/dist/shortcuts/ehr/operations/recruit-position.js +7 -2
  161. package/dist/shortcuts/ehr/operations/recruit-write.js +7 -6
  162. package/dist/shortcuts/ehr/operations/recruit.js +318 -248
  163. package/dist/shortcuts/ehr/operations/shared.js +22 -2
  164. package/dist/shortcuts/esb/index.js +1 -1
  165. package/dist/shortcuts/fna/index.js +1 -1
  166. package/dist/shortcuts/fna/manifest.js +1 -0
  167. package/dist/shortcuts/fna/operations/expense-chart.js +3 -1
  168. package/dist/shortcuts/hrm/index.js +1 -1
  169. package/dist/shortcuts/invoice/business-response.js +13 -0
  170. package/dist/shortcuts/invoice/calendar.js +24 -0
  171. package/dist/shortcuts/invoice/host.js +26 -15
  172. package/dist/shortcuts/invoice/index.js +3 -3
  173. package/dist/shortcuts/invoice/invoice-record.js +7 -2
  174. package/dist/shortcuts/invoice/manifest.js +179 -155
  175. package/dist/shortcuts/invoice/operations/get.js +9 -3
  176. package/dist/shortcuts/invoice/operations/issuing-red-requests.js +138 -0
  177. package/dist/shortcuts/invoice/operations/registry.js +4 -5
  178. package/dist/shortcuts/invoice/operations/reim-auto.js +40 -2
  179. package/dist/shortcuts/invoice/operations/reim-customer-projects.js +79 -0
  180. package/dist/shortcuts/invoice/operations/reim-customer.js +79 -30
  181. package/dist/shortcuts/invoice/operations/reim-relation.js +0 -146
  182. package/dist/shortcuts/invoice/operations/reim.js +2 -126
  183. package/dist/shortcuts/invoice/operations/shared.js +15 -17
  184. package/dist/shortcuts/invoice/preapproval-enrichment.js +180 -0
  185. package/dist/shortcuts/invoice/projection.js +14 -0
  186. package/dist/shortcuts/invoice/read-enrichment.js +123 -0
  187. package/dist/shortcuts/jiuchuanhui/index.js +2 -2
  188. package/dist/shortcuts/jiuchuanhui/manifest.js +3 -0
  189. package/dist/shortcuts/mail/index.js +2 -2
  190. package/dist/shortcuts/meeting/index.js +1 -1
  191. package/dist/shortcuts/meeting/manifest.js +1 -0
  192. package/dist/shortcuts/meeting/operations/eb/catalog.js +5 -3
  193. package/dist/shortcuts/meeting/operations/eb/conflict.js +3 -1
  194. package/dist/shortcuts/meeting/operations/eb/create-flow.js +10 -9
  195. package/dist/shortcuts/meeting/operations/eb/factory.js +2 -0
  196. package/dist/shortcuts/meeting/operations/eb/member-expand.js +3 -2
  197. package/dist/shortcuts/meeting/operations/invitation-publish.js +3 -3
  198. package/dist/shortcuts/meeting/operations/invitation.js +4 -4
  199. package/dist/shortcuts/meeting/operations/link.js +3 -1
  200. package/dist/shortcuts/okr/index.js +1 -1
  201. package/dist/shortcuts/performance/index.js +1 -1
  202. package/dist/shortcuts/plan/index.js +1 -1
  203. package/dist/shortcuts/project/index.js +1 -1
  204. package/dist/shortcuts/reception/manifest.js +2 -2
  205. package/dist/shortcuts/recruit-stage/context.js +10 -2
  206. package/dist/shortcuts/recruit-stage/index.js +16 -3
  207. package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +1 -1
  208. package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +1 -1
  209. package/dist/shortcuts/recruit-stage/operations/jd-create.js +17 -8
  210. package/dist/shortcuts/recruit-stage/operations/list.js +1 -1
  211. package/dist/shortcuts/recruit-stage/operations/resume-import.js +178 -35
  212. package/dist/shortcuts/recruit-stage/operations/search.js +2 -2
  213. package/dist/shortcuts/recruit-stage/operations/shortlist.js +4 -2
  214. package/dist/shortcuts/recruit-stage/shared.js +27 -53
  215. package/dist/shortcuts/smart-extract/manifest.js +1 -0
  216. package/dist/shortcuts/smart-extract/operations/fill.js +7 -2
  217. package/dist/shortcuts/smart-extract/operations/validate.js +4 -1
  218. package/dist/shortcuts/workflow/index.js +2 -2
  219. package/dist/shortcuts/workflow/manifest.js +1 -0
  220. package/dist/shortcuts/workflow/operations/aiDeepRead/render.js +4 -1
  221. package/dist/shortcuts/workflow/operations/deepRead.js +23 -2
  222. package/dist/shortcuts/workflow/operations/form.js +8 -2
  223. package/docs/agent-invoice.md +28 -2
  224. package/docs/contract.md +6 -1
  225. package/docs/e10-auth.md +25 -7
  226. package/docs/invoice.md +60 -9
  227. package/docs/operation-manual.md +15 -0
  228. package/package.json +2 -2
  229. package/skill-template/business-info.json +28 -0
  230. package/skill-template/domains/jinchengda.md +13 -1
  231. package/skill-template/domains/yepiaotong.md +36 -7
  232. package/skills/weaver-e10-archive-oa/references/source-manifest.json +3 -3
  233. package/skills/weaver-e10-caizhilian/references/auth-and-install.md +2 -1
  234. package/skills/weaver-e10-caizhilian/references/source-manifest.json +3 -3
  235. package/skills/weaver-e10-esb/references/source-manifest.json +3 -3
  236. package/skills/weaver-e10-jinchengda/SKILL.md +90 -32
  237. package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +45 -0
  238. package/skills/weaver-e10-jinchengda/references/contract-bizreview-report-template.html +68 -0
  239. package/skills/weaver-e10-jinchengda/references/contract-bizreview.md +216 -0
  240. package/skills/weaver-e10-jinchengda/references/contract-clause-negotiate.md +215 -0
  241. package/skills/weaver-e10-jinchengda/references/contract-collection-node.md +113 -0
  242. package/skills/weaver-e10-jinchengda/references/contract-command-index.md +19 -3
  243. package/skills/weaver-e10-jinchengda/references/contract-decisions.md +114 -0
  244. package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +53 -44
  245. package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +1 -1
  246. package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +1 -1
  247. package/skills/weaver-e10-jinchengda/references/contract-firstscreen-guide.md +200 -0
  248. package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +18 -1
  249. package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +138 -3
  250. package/skills/weaver-e10-jinchengda/references/contract-ledger-report.md +158 -0
  251. package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +3 -1
  252. package/skills/weaver-e10-jinchengda/references/contract-material-gap.md +139 -0
  253. package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +2 -2
  254. package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +10 -3
  255. package/skills/weaver-e10-jinchengda/references/contract-ops-draft.md +106 -0
  256. package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +1 -1
  257. package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +176 -56
  258. package/skills/weaver-e10-jinchengda/references/contract-sign-launch.md +123 -0
  259. package/skills/weaver-e10-jinchengda/references/contract-smart-draft.md +410 -0
  260. package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +1 -1
  261. package/skills/weaver-e10-jinchengda/references/contract-viewlink.md +110 -0
  262. package/skills/weaver-e10-jinchengda/references/orchestration.md +38 -24
  263. package/skills/weaver-e10-meeting/SKILL.md +13 -0
  264. package/skills/weaver-e10-okr/SKILL.md +11 -0
  265. package/skills/weaver-e10-okr/references/source-manifest.json +7 -6
  266. package/skills/weaver-e10-performance/SKILL.md +131 -39
  267. package/skills/weaver-e10-performance/agents/openai.yaml +48 -17
  268. package/skills/weaver-e10-performance/references/default-assembly.md +3 -0
  269. package/skills/weaver-e10-performance/references/extraction-guide.md +17 -3
  270. package/skills/weaver-e10-performance/references/flow-assess.md +38 -5
  271. package/skills/weaver-e10-performance/references/scheme-setting-page.md +20 -3
  272. package/skills/weaver-e10-performance/scripts/assemble_scheme.py +461 -0
  273. package/skills/weaver-e10-performance/scripts/parse_appraisal_doc.py +41 -0
  274. package/skills/weaver-e10-plan/SKILL.md +10 -0
  275. package/skills/weaver-e10-plan/references/source-manifest.json +13 -13
  276. package/skills/weaver-e10-qiyecheng/SKILL.md +2 -2
  277. package/skills/weaver-e10-qiyecheng/references/source-manifest.json +9 -9
  278. package/skills/weaver-e10-recruit-stage/SKILL.md +230 -202
  279. package/skills/weaver-e10-recruit-stage/agents/openai.yaml +74 -46
  280. package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +3 -0
  281. package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +201 -36
  282. package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +336 -27
  283. package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +3 -0
  284. package/skills/weaver-e10-recruit-stage/lib/recruit-xiaoe-file.mjs +15 -1
  285. package/skills/weaver-e10-recruit-stage/lib/report-attachment.mjs +38 -0
  286. package/skills/weaver-e10-recruit-stage/lib/xiaoe-session.mjs +5 -1
  287. package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +4 -0
  288. package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +4 -0
  289. package/skills/weaver-e10-recruit-stage/references/position-templates.md +12 -8
  290. package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +20 -18
  291. package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +11 -7
  292. package/skills/weaver-e10-recruit-stage/references/recruit-check-install.md +5 -1
  293. package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +4 -0
  294. package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +8 -4
  295. package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +6 -1
  296. package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +7 -3
  297. package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +32 -25
  298. package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +4 -0
  299. package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +4 -0
  300. package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +5 -1
  301. package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +4 -0
  302. package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +16 -10
  303. package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +6 -2
  304. package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +148 -40
  305. package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +5 -1
  306. package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +32 -8
  307. package/skills/weaver-e10-recruit-stage/references/recruit-resolve-creator.md +4 -0
  308. package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +8 -4
  309. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +6 -2
  310. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +41 -41
  311. package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +7 -3
  312. package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +7 -3
  313. package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +8 -4
  314. package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +5 -1
  315. package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +5 -1
  316. package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +5 -1
  317. package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +41 -28
  318. package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +23 -26
  319. package/skills/weaver-e10-recruit-stage/templates/match-report.html +44 -36
  320. package/skills/weaver-e10-shared/SKILL.md +40 -5
  321. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +11 -1
  322. package/skills/weaver-e10-shared/references/json-output-contract.md +144 -8
  323. package/skills/weaver-e10-shared/references/weaver-e10-installation.md +11 -0
  324. package/skills/weaver-e10-shijingran/references/source-manifest.json +3 -3
  325. package/skills/weaver-e10-wenshuding/references/source-manifest.json +3 -3
  326. package/skills/weaver-e10-workflow/references/source-manifest.json +3 -3
  327. package/skills/weaver-e10-yepiaotong/SKILL.md +133 -61
  328. package/skills/weaver-e10-yepiaotong/references/invoice-add.md +3 -1
  329. package/skills/weaver-e10-yepiaotong/references/invoice-detail.md +18 -2
  330. package/skills/weaver-e10-yepiaotong/references/invoice-disabled-capabilities.md +3 -3
  331. package/skills/weaver-e10-yepiaotong/references/invoice-download.md +1 -1
  332. package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +13 -1
  333. package/skills/weaver-e10-yepiaotong/references/invoice-file-upload.md +3 -1
  334. package/skills/weaver-e10-yepiaotong/references/invoice-import.md +6 -4
  335. package/skills/weaver-e10-yepiaotong/references/invoice-issuing-workflow.md +42 -45
  336. package/skills/weaver-e10-yepiaotong/references/invoice-ocr-preview.md +1 -1
  337. package/skills/weaver-e10-yepiaotong/references/invoice-output-view.md +18 -2
  338. package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +14 -1
  339. package/skills/weaver-e10-yepiaotong/references/invoice-red-workflow.md +96 -0
  340. package/skills/weaver-e10-yepiaotong/references/invoice-reim-relation.md +56 -369
  341. package/skills/weaver-e10-yepiaotong/references/invoice-upload-and-validate.md +16 -6
  342. package/skills/weaver-e10-yepiaotong/references/name-fuzzy-search.md +38 -0
  343. package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +163 -646
  344. package/skills/weaver-e10-yepiaotong/references/reim-customer-search.md +90 -44
  345. package/skills/weaver-e10-yepiaotong/references/reim-eligibility-rules.md +85 -0
  346. package/skills/weaver-e10-yepiaotong/references/reim-fill-validation.md +61 -0
  347. package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +91 -280
  348. package/skills/weaver-e10-yepiaotong/references/reim-preapproval-rules.md +98 -0
  349. package/skills/weaver-e10-yepiaotong/references/reim-travel-invoice-matching.md +48 -0
  350. package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +234 -695
  351. package/skills/weaver-e10-yepiaotong/references/source-manifest.json +395 -204
  352. package/skills/weaver-e10-yepiaotong/references/travel-application-fill.md +84 -0
  353. package/skills/weaver-e10-yepiaotong/references/workflow-direct-fill.md +165 -0
  354. package/skills/weaver-e10-yepiaotong.zip +0 -0
  355. package/dist/chunks/chunk-ICP53R52.js +0 -2849
  356. package/dist/chunks/registry-RIQ67ZT7.js +0 -27
  357. package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
  358. package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
  359. package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +0 -93
  360. package/skills/weaver-e10-yepiaotong/references/reim-examples.md +0 -774
  361. package/skills/weaver-e10-yepiaotong/references/reim-expense-subject-rules.md +0 -111
  362. package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +0 -360
  363. package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +0 -167
@@ -5,7 +5,7 @@
5
5
  * 设计目标:让智能体「一条命令、一次就对」,不再手写复合 PowerShell、不再逐条调 CLI。
6
6
  *
7
7
  * node lib/recruit-shortlist.mjs fetch --keyword "Java开发" --limit 5 --out-dir <产物目录>
8
- * node lib/recruit-shortlist.mjs build --data <evidence.json> --out-html <报告.html>
8
+ * node lib/recruit-shortlist.mjs build --data <data.json> --out-html <报告.html> --template match-report|evidence
9
9
  *
10
10
  * 为什么这样调用是安全的(对应 §2.1 纪律,均已实测):
11
11
  * · 无 JSON 内联 —— PowerShell 会剥离参数内双引号,纯 ASCII 也失败;
@@ -28,13 +28,42 @@ import { existsSync, readFileSync } from "node:fs";
28
28
  import os from "node:os";
29
29
  import path from "node:path";
30
30
  import { fileURLToPath } from "node:url";
31
+ import { publishReport } from "./report-attachment.mjs";
31
32
 
32
33
  const execFileAsync = promisify(execFile);
33
34
  const HERE = path.dirname(fileURLToPath(import.meta.url));
34
35
  const SKILL_DIR = path.resolve(HERE, "..");
35
- const TEMPLATE = path.join(SKILL_DIR, "templates", "candidate-evidence.html");
36
- const PLACEHOLDER = "__EVIDENCE_DATA_PLACEHOLDER__";
37
- const DEFAULT_BASE_URL = "https://www.e-cology.com.cn";
36
+ // 双模板注册表:
37
+ // match-report —— 人岗匹配评估报告(六维评分 / 横条 / 证据表 / 对比表,REPORT_DATA 契约)
38
+ // evidence —— 简历检索与人岗匹配证据报告(works/projs + 证据 + 风险,EVIDENCE_DATA 契约)
39
+ const TEMPLATE_REGISTRY = {
40
+ "match-report": { file: "match-report.html", placeholder: "__REPORT_DATA_PLACEHOLDER__", kind: "match" },
41
+ "evidence": { file: "candidate-evidence.html", placeholder: "__EVIDENCE_DATA_PLACEHOLDER__", kind: "evidence" },
42
+ };
43
+ const DEFAULT_TEMPLATE = "evidence";
44
+
45
+ /** 解析 --template:注册名 / 自定义路径;占位符以模板文件内实际 `__*_DATA_PLACEHOLDER__` 为准 */
46
+ function resolveTemplate(arg) {
47
+ const key = String(arg || DEFAULT_TEMPLATE).trim().toLowerCase();
48
+ const reg = TEMPLATE_REGISTRY[key];
49
+ if (reg) {
50
+ return { name: key, kind: reg.kind, file: path.join(SKILL_DIR, "templates", reg.file), placeholder: reg.placeholder };
51
+ }
52
+ const file = path.resolve(arg);
53
+ if (!existsSync(file)) throw new Error(`模板缺失:${arg}`);
54
+ const tpl = readFileSync(file, "utf8");
55
+ const m = tpl.match(/__[A-Z_]+_DATA_PLACEHOLDER__/);
56
+ if (!m) throw new Error("模板缺少注入占位符 __*_DATA_PLACEHOLDER__");
57
+ return { name: path.basename(file), kind: "evidence", file, placeholder: m[0] };
58
+ }
59
+ // 合规:不得把任何具体系统地址写成默认值(客户下载后会误连他方系统)。
60
+ // baseUrl 只来自 ① --base-url ② CLI 回包 ③ 会话 hostname;都拿不到就报错让调用方显式给。
61
+ const DEFAULT_BASE_URL = "";
62
+
63
+ // 人才卡片壳页 ID:与 SKILL.md 固定路由表一致(自用环境)。非自用环境(101/188)无该壳页,
64
+ // 用 --card-page-id 覆盖;置空则不下发 cardUrl,避免产出死链。
65
+ // 注意:此处只登记页面 ID,实际 URL 一律用会话 baseUrl 拼,包内不写死域名。
66
+ const TALENT_CARD_PAGE_ID = "1343164177628012608";
38
67
  const CLI_REL = path.join("weaver-work-cli", "dist", "index.js");
39
68
 
40
69
  /* ══════════════════════ CLI 入口探测(照 recruit-write-helper.mjs 的已验证模式)══════════════════════ */
@@ -134,7 +163,10 @@ async function runOp(cliEntry, operation, payload, timeout = 180000) {
134
163
  const tmp = path.join(dir, "in.json");
135
164
  try {
136
165
  await writeFile(tmp, JSON.stringify(payload), "utf8");
137
- const args = [cliEntry, "--json", "recruit-stage", "run", operation, "--input", tmp, "--allow-file-input"];
166
+ const cliProfile = String(process.env.RECRUIT_CLI_PROFILE || "").trim();
167
+ const args = [cliEntry, "--json"];
168
+ if (cliProfile) args.push("--profile", cliProfile);
169
+ args.push("recruit-stage", "run", operation, "--input", tmp, "--allow-file-input");
138
170
  let stdout = "";
139
171
  try {
140
172
  const r = await execFileAsync(process.execPath, args, {
@@ -175,7 +207,50 @@ const cut = (s, n) => {
175
207
  return t.length > n ? t.slice(0, n) + "…" : t;
176
208
  };
177
209
 
178
- /** profile 回执 → 报告契约所需的候选人骨架(AI 只需补 level/verdict/evidence/risk) */
210
+ /**
211
+ * 人才卡片完整地址——链接的唯一真源(2026-11-29)。
212
+ * 为什么放在脚本里:正文简表的链接原先靠模型手拼「/sp/ebdpage/view/{pageId}?talentId=」,
213
+ * 19 位页面 ID 与 talentId 同名同形,实测 5 人里错 2 人(pageId 段被 talentId 顶替、query 整段丢失)。
214
+ * 现由脚本一次生成成品串,Agent 只复制不拼接;页面 ID 缺失(非自用环境)时返回空串,不下发死链。
215
+ */
216
+ function buildTalentCardUrl(baseUrl, talentId, pageId) {
217
+ const id = String(talentId || "").trim();
218
+ const pid = String(pageId || "").trim();
219
+ const base = String(baseUrl || "").trim().replace(/\/+$/, "");
220
+ if (!id || !pid || !base) return "";
221
+ return `${base}/sp/ebdpage/view/${pid}?talentId=${encodeURIComponent(id)}`;
222
+ }
223
+
224
+ /** 给候选人数组就地补 cardUrl,返回成功条数(用于 payload 提示缺失) */
225
+ function attachCardUrls(list, baseUrl, pageId) {
226
+ let n = 0;
227
+ for (const c of list || []) {
228
+ if (!c) continue;
229
+ c.cardUrl = buildTalentCardUrl(baseUrl, c.talentId, pageId);
230
+ if (c.cardUrl) n += 1;
231
+ }
232
+ return n;
233
+ }
234
+
235
+ /** 成品 Markdown 整串:简表直接复制本字段,禁止 Agent 再拼页面 ID 段;无 cardUrl 时回退纯文本姓名。 */
236
+ function markdownLink(c) {
237
+ const name = String(c?.name || "").trim();
238
+ const url = String(c?.cardUrl || "").trim();
239
+ return url ? `[${name}](${url})` : name;
240
+ }
241
+
242
+ /**
243
+ * 解析人才卡片页 ID:显式传 --card-page-id 即以其为准(传空串 / 只写参数名 = 关闭链接,不再回落默认),
244
+ * 只有完全没传时才用默认值。用 hasOwnProperty 判存在,不能用 `||`——空串是 falsy,会被默认值吃掉。
245
+ */
246
+ function resolveCardPageId(a) {
247
+ const argv = a || {};
248
+ if (!Object.prototype.hasOwnProperty.call(argv, "card-page-id")) return TALENT_CARD_PAGE_ID;
249
+ const v = argv["card-page-id"];
250
+ return v === true || v == null ? "" : String(v).trim();
251
+ }
252
+
253
+ /** profile 回执 → 报告契约候选人骨架;evidence 契约补 level/verdict/evidence/risk,match 契约补 scores/dimEvidence/overall */
179
254
  function toCandidate(prof, searchRow) {
180
255
  const basic = prof?.basic || {};
181
256
  const rawMain = prof?.rawMain || {};
@@ -212,11 +287,15 @@ function toCandidate(prof, searchRow) {
212
287
  },
213
288
  works,
214
289
  projs,
215
- // ↓ 这四个字段由 AI 依据原文填写,脚本不臆造
290
+ // ↓ evidence 契约字段:由 AI 依据原文填写,脚本不臆造
216
291
  level: "",
217
292
  verdict: "",
218
293
  evidence: "",
219
294
  risk: "",
295
+ // ↓ match-report 契约字段:六维分 / 六维证据 / 综合总分,出匹配评估报告时由 AI 填写
296
+ scores: {},
297
+ dimEvidence: {},
298
+ overall: null,
220
299
  };
221
300
  }
222
301
 
@@ -268,6 +347,10 @@ function compactOne(c, cfg) {
268
347
  else if (meta.selfDesc) meta.selfDesc = cut(meta.selfDesc, cfg.selfDesc);
269
348
  const out = {
270
349
  talentId: c.talentId,
350
+ // 🔴 成品链接:正文简表只能逐字复制该字段,禁止自行拼 /sp/ebdpage/view/{talentId}
351
+ cardUrl: c.cardUrl || "",
352
+ // 🔴 成品 Markdown 整串:简表姓名链接直接复制,不要再拆页 ID 与 talentId 拼接
353
+ linkMarkdown: markdownLink(c),
271
354
  name: c.name, degree: c.degree, college: c.college, pos: c.pos, industry: c.industry,
272
355
  meta,
273
356
  works: c.works.slice(0, cfg.works).map((w) => ({ co: w.co, pos: w.pos, range: w.range, desc: cut(w.desc, cfg.desc) })),
@@ -287,6 +370,9 @@ function briefForStdout(c) {
287
370
  const m = c._meta || {};
288
371
  return {
289
372
  talentId: c.talentId,
373
+ // 🔴 成品链接:正文简表只能逐字复制该字段
374
+ cardUrl: c.cardUrl || "",
375
+ linkMarkdown: markdownLink(c),
290
376
  name: c.name,
291
377
  degree: c.degree,
292
378
  college: c.college,
@@ -301,14 +387,126 @@ function briefForStdout(c) {
301
387
  };
302
388
  }
303
389
 
390
+ /* ══════════════════════ fetch --position-id:职位候选人前 N + 并发档案 ══════════════════════ */
391
+
392
+ /**
393
+ * 按 positionId 直接取「该职位投递候选人前 N 条」,再并发拉档案。
394
+ * 为什么单独做:`recruit-stage.list type=candidate all:true` 会翻页 16~17 秒;
395
+ * 只取前 limit 条(不 all)约 4.8 秒,配合并发档案可把「职位匹配」从 25 秒级压到 7 秒级。
396
+ * 注意:本路径只取前 limit 条,不做全量翻页;total 返回的是本批行数,不是职位候选人总数。
397
+ */
398
+ async function cmdFetchByPosition(a) {
399
+ const t0 = Date.now();
400
+ const positionId = String(a["position-id"] || "").trim();
401
+ if (!positionId) throw new Error("--position-id 不能为空");
402
+ const limit = Math.min(10, Math.max(1, Number(a.limit || 5)));
403
+ const concurrency = Math.min(10, Math.max(1, Number(a.concurrency || 10)));
404
+ const outDir = a["out-dir"] || path.join(os.tmpdir(), "recruit-shortlist-out");
405
+ const brief = a.brief === true || String(a.brief || "") === "true";
406
+ const cliEntry = resolveCliEntry(a.cli);
407
+ if (!cliEntry) throw new Error("未找到 weaver-work-cli 的 dist/index.js。请确认 CLI 已安装,或用 --cli / 环境变量 WEAVER_WORK_CLI_ENTRY 指定入口。");
408
+
409
+ const timing = {};
410
+ const errors = [];
411
+ let rows = [];
412
+ let candidates = [];
413
+ const t = Date.now();
414
+ // 不传 all:只取第一页前 limit 条;这是本路径的提速关键,禁止改成 all:true。
415
+ const listRes = await runOp(cliEntry, "recruit-stage.list", { type: "candidate", positionId, pageSize: limit });
416
+ timing.listMs = Date.now() - t;
417
+ const d = listRes.data || {};
418
+ const envHost = String(d.env || "");
419
+ const envBase = String(d.baseUrl || "");
420
+ rows = (d.rows || []).slice(0, limit);
421
+ const total = Number(d.total) || rows.length;
422
+
423
+ const tp = Date.now();
424
+ for (let i = 0; i < rows.length; i += concurrency) {
425
+ const batch = rows.slice(i, i + concurrency);
426
+ const settled = await Promise.allSettled(
427
+ batch.map((r) => runOp(cliEntry, "recruit-stage.candidate.profile", { talentId: r.talent_id })),
428
+ );
429
+ settled.forEach((s, idx) => {
430
+ const src = batch[idx] || {};
431
+ if (s.status === "fulfilled") {
432
+ candidates.push(toCandidate((s.value || {}).data, {
433
+ talentId: src.talent_id,
434
+ name: src.candidate_name,
435
+ channel: src.resume_channel,
436
+ createTime: src.create_time,
437
+ }));
438
+ } else {
439
+ const reason = s.reason || {};
440
+ errors.push({ stage: "profile", talentId: src.talent_id || null, name: src.candidate_name || null, message: String(reason.message || reason) });
441
+ }
442
+ });
443
+ }
444
+ timing.profilesMs = Date.now() - tp;
445
+ timing.totalMs = Date.now() - t0;
446
+
447
+ if (!candidates.length) {
448
+ console.log(JSON.stringify({
449
+ ok: false, reason: "no_match", positionId, total,
450
+ hint: rows.length ? "职位有候选人行但档案全部拉取失败,见 errors" : "该职位下暂无候选人;可改用 --keyword 从人才库检索",
451
+ errors,
452
+ }));
453
+ return 1;
454
+ }
455
+
456
+ // env 只有 hostname(无协议/端口),不能反推 baseUrl;优先用 CLI 回传的完整 baseUrl。
457
+ const baseUrl = a["base-url"] || envBase || (envHost ? `https://${envHost}` : DEFAULT_BASE_URL);
458
+ if (!baseUrl) {
459
+ console.log(JSON.stringify({ ok: false, reason: "no_base_url", hint: "无法确定系统地址:请显式传 --base-url <你的E10地址> 后重试" }));
460
+ return 1;
461
+ }
462
+ const position = a.position || a["position-name"] || positionId;
463
+ // 🔴 链接在此一次性生成(draft / stdout / HTML 三处同源),Agent 不再手拼
464
+ const cardPageId = resolveCardPageId(a);
465
+ const cardUrlCount = attachCardUrls(candidates, baseUrl, cardPageId);
466
+ const draft = {
467
+ position,
468
+ baseUrl,
469
+ generatedAt: new Date().toLocaleString("zh-CN", { hour12: false }).replace(/\//g, "-"),
470
+ keyword: "",
471
+ positionId,
472
+ total,
473
+ totalNote: "本命令只取该职位前 limit 条,total 是本批行数,不是职位候选人总数",
474
+ shown: candidates.length,
475
+ candidates,
476
+ };
477
+ await mkdir(outDir, { recursive: true });
478
+ const draftPath = path.join(outDir, "evidence_draft.json");
479
+ await writeFile(draftPath, JSON.stringify(draft, null, 2), "utf8");
480
+
481
+ const payload = {
482
+ ok: true,
483
+ via: "list+profile",
484
+ cliEntry,
485
+ position,
486
+ positionId,
487
+ total,
488
+ totalNote: draft.totalNote,
489
+ shown: candidates.length,
490
+ draftPath,
491
+ baseUrl,
492
+ timing,
493
+ ...(errors.length ? { errors } : {}),
494
+ ...(cardUrlCount < candidates.length ? { cardUrlMissing: candidates.length - cardUrlCount, cardUrlHint: "部分候选人未生成卡片链接:talentId 为空,或当前环境无人才卡片壳页(用 --card-page-id 指定)" } : {}),
495
+ candidates: brief ? candidates.map(briefForStdout) : candidates,
496
+ nextStep: "出匹配评估报告(--template match-report):补 scores{六维}/dimEvidence{六维证据}/overall;出检索证据报告(--template evidence):补 level/verdict/evidence/risk;随后执行 build",
497
+ };
498
+ console.log(JSON.stringify(payload));
499
+ return 0;
500
+ }
501
+
304
502
  /* ══════════════════════ fetch:搜索 + 档案(含自动降级)══════════════════════ */
305
503
 
306
504
  async function cmdFetch(a) {
307
505
  const t0 = Date.now();
308
506
  const keyword = String(a.keyword || "").trim();
309
507
  if (!keyword) throw new Error("--keyword 必填");
310
- const limit = Math.min(10, Math.max(1, Number(a.limit || 10))); // §6.7 定稿:未指定默认取满 10 人
311
- const concurrency = Math.min(10, Math.max(1, Number(a.concurrency || 8))); // §6.7 定稿:concurrency 默认 8
508
+ const limit = Math.min(10, Math.max(1, Number(a.limit || 5))); // 2026-11-29 提速:匹配默认 5 人,用户明确指定才放大
509
+ const concurrency = Math.min(10, Math.max(1, Number(a.concurrency || 10))); // 2026-11-29 提速:档案并发默认 10
312
510
  const outDir = a["out-dir"] || path.join(os.tmpdir(), "recruit-shortlist-out");
313
511
  // --precision:精确探针关键词(通常为「行业+职能」合成词,如「制造业解决方案」)。
314
512
  // 非空时与主关键词并发发出,用于补回只在合成词下才命中的高精度人选。
@@ -329,6 +527,7 @@ async function cmdFetch(a) {
329
527
  let total = 0;
330
528
  let searchNote = "";
331
529
  let envHost = "";
530
+ let envBase = "";
332
531
  let rows = [];
333
532
  let candidates = [];
334
533
  let precisionRows = [];
@@ -368,6 +567,7 @@ async function cmdFetch(a) {
368
567
  name: p.pj_name || "—", range: range(p.pj_date_0, p.pj_date_1), desc: p.pj_introduction || "",
369
568
  })),
370
569
  level: "", verdict: "", evidence: "", risk: "",
570
+ scores: {}, dimEvidence: {}, overall: null,
371
571
  });
372
572
 
373
573
  try {
@@ -395,6 +595,7 @@ async function cmdFetch(a) {
395
595
  const d = res.data || {};
396
596
  total = Number(d.total) || 0;
397
597
  envHost = String(d.env || "");
598
+ envBase = String(d.baseUrl || "");
398
599
  searchNote = String(d.searchNote || "");
399
600
  rows = d.listRows || [];
400
601
  // shortlist 回包的 candidates 已是精简档案(非完整 profile 结构),
@@ -431,6 +632,7 @@ async function cmdFetch(a) {
431
632
  works: [],
432
633
  projs: [],
433
634
  level: "", verdict: "", evidence: "", risk: "",
635
+ scores: {}, dimEvidence: {}, overall: null,
434
636
  _precision: true,
435
637
  _needProfile: true,
436
638
  });
@@ -475,6 +677,7 @@ async function cmdFetch(a) {
475
677
  const sd = sres.data || {};
476
678
  total = Number(sd.total) || 0;
477
679
  envHost = String(sd.env || "");
680
+ envBase = String(sd.baseUrl || "");
478
681
  searchNote = String(sd.searchNote || "");
479
682
  rows = (sd.rows || []).slice(0, limit);
480
683
 
@@ -506,7 +709,14 @@ async function cmdFetch(a) {
506
709
  return 1;
507
710
  }
508
711
 
509
- const baseUrl = a["base-url"] || (envHost ? `https://${envHost}` : DEFAULT_BASE_URL);
712
+ const baseUrl = a["base-url"] || envBase || (envHost ? `https://${envHost}` : DEFAULT_BASE_URL);
713
+ if (!baseUrl) {
714
+ console.log(JSON.stringify({ ok: false, reason: "no_base_url", hint: "无法确定系统地址:请显式传 --base-url <你的E10地址> 后重试" }));
715
+ return 1;
716
+ }
717
+ // 🔴 链接在此一次性生成(draft / stdout / HTML 三处同源),Agent 不再手拼
718
+ const cardPageId = resolveCardPageId(a);
719
+ const cardUrlCount = attachCardUrls(candidates, baseUrl, cardPageId);
510
720
  const draft = {
511
721
  position: a.position || keyword,
512
722
  baseUrl,
@@ -537,6 +747,7 @@ async function cmdFetch(a) {
537
747
  shown: candidates.length,
538
748
  draftPath, // 完整档案(含全文描述),需要细节时读这里
539
749
  baseUrl,
750
+ ...(cardUrlCount < candidates.length ? { cardUrlMissing: candidates.length - cardUrlCount, cardUrlHint: "部分候选人未生成卡片链接:talentId 为空,或当前环境无人才卡片壳页(用 --card-page-id 指定)" } : {}),
540
751
  timing,
541
752
  ...(precision ? { precision, precisionHit } : {}),
542
753
  ...(needProfileCount ? { needProfile: needProfileCount, needProfileHint: "以下候选人未补档案(--no-fill),仅有姓名/岗位/渠道,评分依据不足,需在结论中标注「档案待补」" } : {}),
@@ -558,8 +769,8 @@ async function cmdFetch(a) {
558
769
  } : {}),
559
770
  },
560
771
  nextStep: brief
561
- ? `需要完整素材时读 ${draftPath} 的 candidates 数组(含 works/projs 全文);为每人补 level(high|mid|low)/verdict/evidence/risk 后执行 build 生成报告`
562
- : "为每人补 level(high|mid|low)/verdict/evidence/risk 四个字段(证据只引 works/projs 原文,缺字段写「—」,不补造),写入 evidence.json 后执行 build 子命令生成报告",
772
+ ? `需要完整素材时读 ${draftPath} 的 candidates 数组(含 works/projs 全文);匹配评估报告补 scores/dimEvidence/overall(--template match-report),检索证据报告补 level/verdict/evidence/risk(--template evidence),随后执行 build`
773
+ : "匹配评估报告(--template match-report):每人补 scores{学历/经验/技能/行业/方向/稳定 六维0-100}、dimEvidence{六维证据}、overall 总分;检索证据报告(--template evidence):补 level(high|mid|low)/verdict/evidence/risk(证据只引 works/projs 原文,缺字段写「—」,不补造);写入 data.json 后执行 build",
563
774
  });
564
775
  let payload;
565
776
  if (brief) {
@@ -597,28 +808,90 @@ async function cmdFetch(a) {
597
808
 
598
809
  /* ══════════════════════ build:注入模板 + 内建自校验 ══════════════════════ */
599
810
 
811
+ function mergeMissingFromDraft(data, dataPath, kind) {
812
+ try {
813
+ const draftPath = path.join(path.dirname(dataPath), "evidence_draft.json");
814
+ if (!existsSync(draftPath)) return data;
815
+ const draft = JSON.parse(readFileSync(draftPath, "utf8").replace(/^\uFEFF/, ""));
816
+ // AI 手写 evidence.json 时常漏 baseUrl,缺了就无法补 cardUrl;用 draft 的兜底
817
+ if (!String(data.baseUrl || "").trim() && draft.baseUrl) data.baseUrl = draft.baseUrl;
818
+ const byId = new Map((draft.candidates || []).map((c) => [String(c.talentId || ""), c]));
819
+ for (const c of data.candidates || []) {
820
+ const src = byId.get(String(c.talentId || ""));
821
+ if (!src) continue;
822
+ for (const k of ["works", "projs"]) {
823
+ if (!Array.isArray(c[k]) || c[k].length === 0) c[k] = src[k];
824
+ }
825
+ for (const k of ["degree", "college", "pos", "industry", "_meta", "cardUrl"]) {
826
+ const cur = c[k];
827
+ if ((Array.isArray(cur) && cur.length === 0) || (!Array.isArray(cur) && !String(cur || "").trim())) {
828
+ if (src[k] !== undefined) c[k] = src[k];
829
+ }
830
+ }
831
+ // match-report 模板读 basic{}/latestWork{};draft 是顶层扁平字段,缺则按 talentId 回填
832
+ if (kind === "match") {
833
+ const basic = c.basic && typeof c.basic === "object" ? c.basic : {};
834
+ if (!String(basic.degree || "").trim() && src.degree) basic.degree = src.degree;
835
+ if (!String(basic.college || "").trim() && src.college) basic.college = src.college;
836
+ if (!String(basic.current_position || "").trim() && src.pos) basic.current_position = src.pos;
837
+ if (!String(basic.current_industry || "").trim() && src.industry) basic.current_industry = src.industry;
838
+ c.basic = basic;
839
+ const lw = c.latestWork && typeof c.latestWork === "object" ? c.latestWork : {};
840
+ const w0 = (Array.isArray(src.works) ? src.works[0] : null);
841
+ if (!String(lw.co_name || "").trim() && w0 && w0.co) lw.co_name = w0.co;
842
+ if (!String(lw.work_position || "").trim() && w0 && w0.pos) lw.work_position = w0.pos;
843
+ if (Object.keys(lw).length) c.latestWork = lw; else delete c.latestWork;
844
+ }
845
+ }
846
+ } catch { /* 合并失败不影响原有数据 */ }
847
+ return data;
848
+ }
849
+
600
850
  async function cmdBuild(a) {
601
851
  const t0 = Date.now();
602
852
  if (!a.data) throw new Error("--data 必填");
603
853
  if (!a["out-html"]) throw new Error("--out-html 必填");
604
- const tplPath = a.template || TEMPLATE;
605
- if (!existsSync(tplPath)) throw new Error(`模板缺失:${tplPath}`);
606
854
 
607
855
  const dataRaw = (await readFile(a.data, "utf8")).replace(/^\uFEFF/, "");
608
856
  let data;
609
857
  try { data = JSON.parse(dataRaw); }
610
858
  catch (e) { throw new Error(`--data 不是合法 JSON:${String(e.message).slice(0, 150)}`); }
611
859
 
612
- const tpl = await readFile(tplPath, "utf8");
613
- if (!tpl.includes(PLACEHOLDER)) throw new Error("模板缺少注入占位符 __EVIDENCE_DATA_PLACEHOLDER__");
860
+ // 模板选择:显式 --template 优先;漏传时按数据形状兜底——
861
+ // 任一候选人带总分 overall 或 ≥3 个六维分数 → match-report,否则 evidence。
862
+ // 防止智能体漏传参数把人岗评估落成检索证据页(2026-11-29 修)。
863
+ const cs0 = data.candidates || [];
864
+ const scoreDimsOf = (c) => Object.values(c.scores || {}).filter((v) => Number.isFinite(Number(v))).length;
865
+ const matchish = cs0.some((c) => Number.isFinite(Number(c.overall)) || scoreDimsOf(c) >= 3);
866
+ const tpl = resolveTemplate(a.template || (matchish ? "match-report" : DEFAULT_TEMPLATE));
867
+ if (!existsSync(tpl.file)) throw new Error(`模板缺失:${tpl.file}`);
868
+
869
+ // AI 补评估字段时容易只保留 verdict/evidence、把 works/projs 丢掉;
870
+ // 同目录若有 fetch 落盘的 evidence_draft.json,按 talentId 自动补回原始档案片段,避免报告里「工作经历/项目经验 —」。
871
+ data = mergeMissingFromDraft(data, path.resolve(a.data), tpl.kind);
872
+
873
+ // 🔴 链接兜底:evidence.json 由 AI 手写,未必带 cardUrl;这里按 data.baseUrl 重算,
874
+ // 保证正文简表与 HTML 报告用的是同一串(模板优先读 c.cardUrl)。
875
+ const buildCardPageId = resolveCardPageId(a);
876
+ const buildCardUrlCount = attachCardUrls(data.candidates || [], data.baseUrl, buildCardPageId);
877
+
878
+ const tplText = await readFile(tpl.file, "utf8");
879
+ if (!tplText.includes(tpl.placeholder)) throw new Error(`模板缺少注入占位符 ${tpl.placeholder}`);
614
880
 
615
881
  // 防 </script> 提前闭合:JSON 里的 < 统一转义
616
882
  const payload = JSON.stringify(data).replace(/</g, "\\u003c");
617
- const html = tpl.replace(PLACEHOLDER, payload);
883
+ const html = tplText.replace(tpl.placeholder, payload);
618
884
  const outHtml = path.resolve(a["out-html"]);
619
885
  await mkdir(path.dirname(outHtml), { recursive: true });
620
886
  await writeFile(outHtml, html, "utf8");
621
887
  const bytes = (await stat(outHtml)).size;
888
+ // 仅附件模式:只校验/返回绝对 htmlPath,不启动服务;present_files 负责上传。
889
+ let reportError = "";
890
+ try {
891
+ publishReport(outHtml);
892
+ } catch (e) {
893
+ reportError = String(e?.message || e);
894
+ }
622
895
 
623
896
  // ── 内建自校验:让智能体读到 checks 全绿即可直接交付,无需第二轮确认 ──
624
897
  const scripts = [...html.matchAll(/<script[^>]*>([\s\S]*?)<\/script>/gi)].map((m) => m[1]);
@@ -628,34 +901,61 @@ async function cmdBuild(a) {
628
901
  try { new Function(s); } catch (e) { syntaxOk = false; syntaxErr = String(e.message).slice(0, 160); }
629
902
  }
630
903
  const cs = data.candidates || [];
904
+ const isMatch = tpl.kind === "match";
905
+ const numOverall = cs.filter((c) => Number.isFinite(Number(c.overall))).length;
906
+ const scoreDims = (c) => Object.values(c.scores || {}).filter((v) => Number.isFinite(Number(v))).length;
907
+ const withScores = cs.filter((c) => scoreDims(c) >= 3).length;
908
+ const dimEv = (c) => {
909
+ const e = c.dimEvidence && typeof c.dimEvidence === "object" ? c.dimEvidence
910
+ : (c.evidence && typeof c.evidence === "object" ? c.evidence : {});
911
+ return Object.values(e).filter((v) => String(v || "").trim()).length;
912
+ };
913
+ const withDimEvidence = cs.filter((c) => dimEv(c) >= 3).length;
631
914
  const checks = {
632
- placeholderReplaced: !html.includes(PLACEHOLDER),
915
+ template: tpl.name,
916
+ placeholderReplaced: !html.includes(tpl.placeholder),
633
917
  scriptBlocks: scripts.length,
634
918
  syntaxOk,
635
919
  ...(syntaxErr ? { syntaxErr } : {}),
636
920
  candidateCount: cs.length,
637
921
  allHaveTalentId: cs.length > 0 && cs.every((c) => !!c.talentId),
922
+ allHaveCardUrl: cs.length > 0 && buildCardUrlCount === cs.length,
638
923
  allHaveName: cs.length > 0 && cs.every((c) => !!c.name),
639
- // AI 评估字段是否已填(未填则报告里结论为空,必须提示)
924
+ // evidence 契约字段(candidate-evidence.html)
640
925
  withVerdict: cs.filter((c) => String(c.verdict || "").trim()).length,
641
- withEvidence: cs.filter((c) => String(c.evidence || "").trim()).length,
926
+ withEvidence: cs.filter((c) => typeof c.evidence === "string" && String(c.evidence || "").trim()).length,
642
927
  withLevel: cs.filter((c) => ["high", "mid", "low"].includes(String(c.level || ""))).length,
928
+ withWorks: cs.filter((c) => Array.isArray(c.works) && c.works.length > 0).length,
929
+ withProjs: cs.filter((c) => Array.isArray(c.projs) && c.projs.length > 0).length,
930
+ // match 契约字段(match-report.html)
931
+ ...(isMatch ? { withOverall: numOverall, withScores, withDimEvidence } : {}),
643
932
  bytes,
644
933
  };
645
934
  checks.allGreen = Boolean(
646
935
  checks.placeholderReplaced && checks.syntaxOk && checks.candidateCount > 0
647
936
  && checks.allHaveTalentId && checks.allHaveName
648
- && checks.withVerdict === cs.length && checks.withEvidence === cs.length && checks.withLevel === cs.length
937
+ && (isMatch
938
+ ? checks.withOverall === cs.length && checks.withScores === cs.length
939
+ : checks.withVerdict === cs.length && checks.withEvidence === cs.length && checks.withLevel === cs.length)
649
940
  );
650
941
 
942
+ const missingHint = isMatch
943
+ ? "checks.allGreen=false:请为每位候选人补 overall(0-100 总分)、scores{学历/经验/技能/行业/方向/稳定 六维 0-100}、dimEvidence{六维证据} 后重新 build;语法或占位符异常则检查 --data 与模板"
944
+ : "checks.allGreen=false:请补齐每个候选人的 level/verdict/evidence/risk 后重新 build;语法或占位符异常则检查 --data 与模板";
945
+
651
946
  console.log(JSON.stringify({
652
947
  ok: true,
653
948
  htmlPath: outHtml,
949
+ ...(reportError ? { reportError } : {}),
654
950
  checks,
655
951
  timing: { buildMs: Date.now() - t0 },
656
- ...(checks.allGreen ? {} : {
657
- hint: "checks.allGreen=false:请补齐每个候选人的 level/verdict/evidence/risk 后重新 build;语法或占位符异常则检查 --data 与模板",
658
- }),
952
+ ...(checks.allGreen ? {} : { hint: missingHint }),
953
+ ...((!isMatch && (checks.withWorks === 0 || checks.withProjs === 0)) ? {
954
+ profileHint: "有候选人的 work/proj 为空:先确认 evidence_draft.json 是否在同目录,或把 fetch 的 works/projs 原样保留到 --data;报告里的「—」只应出现在档案确实没有该段经历时",
955
+ } : {}),
956
+ ...(!checks.allHaveCardUrl ? {
957
+ cardUrlHint: "有候选人缺卡片链接(data.baseUrl 为空,或当前环境无人才卡片壳页):用 --card-page-id 指定;否则正文与报告只能给纯文本姓名,不要手拼链接",
958
+ } : {}),
659
959
  }));
660
960
  return checks.allGreen ? 0 : 0; // 校验未全绿不算执行失败,由 checks 表达
661
961
  }
@@ -678,20 +978,29 @@ function parseArgv(argv) {
678
978
 
679
979
  const USAGE = [
680
980
  "用法:",
681
- " node lib/recruit-shortlist.mjs fetch --keyword <关键词> [--precision <精确探针词>] [--limit 10] [--concurrency 8] [--brief] [--no-fill] [--max-output 6144] [--out-dir <目录>] [--position <岗位名>] [--base-url <url>] [--cli <dist/index.js>]",
981
+ " node lib/recruit-shortlist.mjs fetch --keyword <关键词> [--precision <精确探针词>] [--limit 5] [--concurrency 10] [--brief] [--no-fill] [--max-output 6144] [--out-dir <目录>] [--position <岗位名>] [--base-url <url>] [--card-page-id <人才卡片页id>] [--cli <dist/index.js>]",
982
+ " node lib/recruit-shortlist.mjs fetch --position-id <职位id> [--limit 5] [--concurrency 10] [--brief] [--out-dir <目录>] [--position <岗位名>] [--base-url <url>] [--card-page-id <人才卡片页id>] [--cli <dist/index.js>]",
682
983
  " --precision 与 --keyword 并发发出,捞回只在合成词下命中的高精度人选(推荐传「行业+职能」)",
683
984
  " --brief stdout 只回摘要(姓名/岗位/学历/年限/公司岗位列表),完整素材见 draft 文件",
684
985
  " --no-fill 精确探针命中的人不补拉档案(省约 1.2 秒),改用检索行骨架并标 needProfile;评分依据会缺失",
685
- " node lib/recruit-shortlist.mjs build --data <evidence.json> --out-html <报告.html> [--template <html>]",
986
+ " --position-id 按职位取投递候选人前 N 条(不翻全页),再并发拉档案;与 --keyword 二选一",
987
+ " --card-page-id 人才卡片壳页 ID(默认自用环境 1343164177628012608);换环境无该壳页时传空串关闭链接,不要手拼",
988
+ " node lib/recruit-shortlist.mjs build --data <data.json> --out-html <报告.html> --template match-report|evidence [--card-page-id <人才卡片页id>]",
989
+ " --template match-report=人岗匹配评估报告(六维评分/横条/证据表/对比表);evidence=检索证据报告(经历/项目/证据/风险);缺省按数据形状自动判定(有 overall/scores → match-report,否则 evidence)",
686
990
  ].join("\n");
687
991
 
688
992
  const argv = parseArgv(process.argv.slice(2));
689
993
  const cmd = argv._[0];
690
994
  try {
691
- if (cmd === "fetch") process.exitCode = await cmdFetch(argv);
995
+ if (cmd === "fetch" && argv["position-id"]) process.exitCode = await cmdFetchByPosition(argv);
996
+ else if (cmd === "fetch") process.exitCode = await cmdFetch(argv);
692
997
  else if (cmd === "build") process.exitCode = await cmdBuild(argv);
693
998
  else { console.error(USAGE); process.exitCode = 2; }
694
999
  } catch (e) {
695
1000
  console.log(JSON.stringify({ ok: false, error: String((e && e.message) || e).slice(0, 400), subtype: (e && e.subtype) || "" }));
696
1001
  process.exitCode = 2;
697
1002
  }
1003
+
1004
+
1005
+
1006
+
@@ -505,3 +505,6 @@ if (mode === 'prepare') {
505
505
  } else {
506
506
  emit(USAGE, 1);
507
507
  }
508
+
509
+
510
+
@@ -181,7 +181,18 @@ async function main() {
181
181
  const m = cd.match(/filename\*?=(?:UTF-8'')?"?([^";]+)"?/i);
182
182
  if (m) { try { name = decodeURIComponent(m[1]); } catch { name = m[1]; } }
183
183
  }
184
- if (!name) name = 'resume-' + fileId + (/\.(pdf|docx?|rtf)$/i.test(ct) ? '' : '.pdf');
184
+ if (!name) {
185
+ // ct 是 MIME(application/pdf 等),不是扩展名:用 /\.pdf$/ 永远匹配不到,会把 docx 也命名成 .pdf
186
+ const MIME_EXT = {
187
+ 'application/pdf': '.pdf',
188
+ 'application/msword': '.doc',
189
+ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': '.docx',
190
+ 'application/rtf': '.rtf', 'text/rtf': '.rtf',
191
+ 'image/jpeg': '.jpg', 'image/png': '.png',
192
+ };
193
+ const ext = MIME_EXT[String(ct).split(';')[0].trim().toLowerCase()] || '.pdf';
194
+ name = 'resume-' + fileId + ext;
195
+ }
185
196
  const out = path.resolve(String(args.out || path.join(tmpdir(), 'xiaoe-attach', name)));
186
197
  fs.mkdirSync(path.dirname(out), { recursive: true });
187
198
  fs.writeFileSync(out, buf);
@@ -190,3 +201,6 @@ async function main() {
190
201
  }
191
202
 
192
203
  main().catch((e) => { emit({ ok: false, error: e && e.message ? e.message : String(e) }); process.exit(1); });
204
+
205
+
206
+
@@ -0,0 +1,38 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * 报告附件发布器(仅附件模式)。
4
+ *
5
+ * 用法:
6
+ * node lib/report-attachment.mjs --file <报告.html>
7
+ * → 校验报告存在,stdout 回 {"ok":true,"reportFile":"<绝对路径>","bytes":N}
8
+ * → 不启动任何服务、不生成 URL;由 Agent 用 present_files 登记为会话附件
9
+ */
10
+ import { existsSync, statSync } from "node:fs";
11
+ import { resolve } from "node:path";
12
+ import { fileURLToPath } from "node:url";
13
+
14
+ export function publishReport(file) {
15
+ const reportFile = resolve(file);
16
+ if (!existsSync(reportFile)) throw new Error(`报告文件不存在:${reportFile}`);
17
+ return { reportFile, bytes: statSync(reportFile).size };
18
+ }
19
+
20
+ const SELF = fileURLToPath(import.meta.url);
21
+ const args = process.argv.slice(2);
22
+ const isMain = process.argv[1] && resolve(process.argv[1]) === SELF;
23
+
24
+ if (isMain) {
25
+ if (args[0] !== "--file" || !args[1]) {
26
+ console.error(JSON.stringify({ ok: false, message: "用法:--file <报告.html>" }));
27
+ process.exit(1);
28
+ }
29
+ try {
30
+ console.log(JSON.stringify({ ok: true, ...publishReport(args[1]) }));
31
+ } catch (e) {
32
+ console.error(JSON.stringify({ ok: false, message: String(e?.message || e) }));
33
+ process.exit(1);
34
+ }
35
+ }
36
+
37
+
38
+
@@ -39,7 +39,8 @@ export function readXiaoeClientSession() {
39
39
  for (const d of readdirSync(base)) {
40
40
  const f = resolve(base, String(d), 'user_settings.json');
41
41
  if (!existsSync(f)) continue;
42
- const t = statSync(f).mtimeMs;
42
+ let t;
43
+ try { t = statSync(f).mtimeMs; } catch { continue; } // 单个坏 profile 不应让整次读取失败
43
44
  if (t > bestT) {
44
45
  best = f;
45
46
  bestT = t;
@@ -64,3 +65,6 @@ export function readXiaoeClientSession() {
64
65
  }
65
66
 
66
67
  export default { readXiaoeClientSession };
68
+
69
+
70
+
@@ -85,3 +85,7 @@ Agent 不需要直接读这个文件。CLI 的环境缓存(`~/.weaver-work-cli
85
85
 
86
86
  > 🔴 **绝不写死的值**:optionId(DS选项/字典)、人员 id、标签 id、AI面试方案 id、办公地点记录 id。
87
87
  > 这些值后端会变,写死后无效 optionId 会被静默丢弃仍返回 success。
88
+
89
+
90
+
91
+