weaver-work-cli 0.1.71 → 0.1.75

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 (324) hide show
  1. package/README.md +37 -1
  2. package/dist/chunks/{archive-5P33NAUN.js → archive-OZJ6PYUR.js} +14 -9
  3. package/dist/chunks/{archive-oa-YTY5D7DG.js → archive-oa-BHL5RK2F.js} +10 -7
  4. package/dist/chunks/{asset-3Q5MFQBX.js → asset-HKRFRQR2.js} +10 -7
  5. package/dist/chunks/{asset-idle-PQPNYIS7.js → asset-idle-GGIR4KE7.js} +7 -4
  6. package/dist/chunks/{attachment-content-7CN7JB6B.js → attachment-content-4OV65NK5.js} +3 -3
  7. package/dist/chunks/{blog-MFHHK6ZR.js → blog-HYDP4DV3.js} +10 -7
  8. package/dist/chunks/{caizhilian-OZ435AYW.js → caizhilian-JS4RQZ6Z.js} +10 -7
  9. package/dist/chunks/{calendar-TNJXS5UC.js → calendar-SWRY4DIT.js} +10 -7
  10. package/dist/chunks/chunk-257JXJGD.js +30 -0
  11. package/dist/chunks/{chunk-FRMDHZSN.js → chunk-2AUFKU2D.js} +11 -11
  12. package/dist/chunks/chunk-2BZ7TY4M.js +49 -0
  13. package/dist/chunks/{chunk-WM33BSIL.js → chunk-2QCCXPNU.js} +1 -1
  14. package/dist/chunks/{chunk-X2C5CGGM.js → chunk-4FCBEWNB.js} +74 -68
  15. package/dist/chunks/{chunk-YN5SD4TX.js → chunk-5D2V7ZAN.js} +2 -2
  16. package/dist/chunks/{chunk-UPVAQJKS.js → chunk-5QUTQHXF.js} +282 -158
  17. package/dist/chunks/{chunk-SKWKCLJX.js → chunk-5ZJGPEIB.js} +2 -2
  18. package/dist/chunks/chunk-7DE3VMZD.js +35 -0
  19. package/dist/chunks/chunk-BNKUHN4N.js +1346 -0
  20. package/dist/chunks/{chunk-VMVMEIL3.js → chunk-BSR5TM7U.js} +4 -4
  21. package/dist/chunks/{chunk-EJLP63UO.js → chunk-ERZY6GYL.js} +7 -3
  22. package/dist/chunks/{chunk-OFCF23FY.js → chunk-FEZK536Z.js} +25 -9
  23. package/dist/chunks/{chunk-Q3EXRNB4.js → chunk-I6NOHKEK.js} +1 -1
  24. package/dist/chunks/{chunk-OZ7CJC7W.js → chunk-J7FAAHWH.js} +2 -2
  25. package/dist/chunks/{chunk-6MMSLE6K.js → chunk-JJONWB5N.js} +16 -2
  26. package/dist/chunks/chunk-JOY3HZXL.js +467 -0
  27. package/dist/chunks/{chunk-2DNCKZRX.js → chunk-JWF2R6EQ.js} +0 -462
  28. package/dist/chunks/{chunk-ICNUOWLL.js → chunk-KEA4XQPO.js} +4 -4
  29. package/dist/chunks/chunk-KINXYJXM.js +205 -0
  30. package/dist/chunks/{chunk-VJWVB55R.js → chunk-KWJEICD4.js} +2 -2
  31. package/dist/chunks/{chunk-P3AFNAJ6.js → chunk-LJI4N6FV.js} +1 -1
  32. package/dist/chunks/{chunk-DRJYPXKC.js → chunk-MXCRKXOP.js} +48 -6
  33. package/dist/chunks/{chunk-OPTJ6IF7.js → chunk-NWYHCZTY.js} +1 -1
  34. package/dist/chunks/chunk-OJ4JPD25.js +428 -0
  35. package/dist/chunks/{chunk-B4NINGP2.js → chunk-OQCK5SAU.js} +2 -2
  36. package/dist/chunks/chunk-PG5YSNYY.js +1166 -0
  37. package/dist/chunks/{chunk-LU2SPJYY.js → chunk-QJWVYOOV.js} +2 -2
  38. package/dist/chunks/{chunk-SUWR5QEG.js → chunk-QVKRNL7L.js} +287 -305
  39. package/dist/chunks/chunk-SU6IJD6D.js +49 -0
  40. package/dist/chunks/{chunk-MD5RXRI3.js → chunk-TA2RBUTH.js} +2 -2
  41. package/dist/chunks/{chunk-SSS75WXW.js → chunk-U6Y32KEV.js} +2 -2
  42. package/dist/chunks/chunk-UUJK76HV.js +209 -0
  43. package/dist/chunks/{chunk-GB2MCJPG.js → chunk-VOMDD2C5.js} +1 -1
  44. package/dist/chunks/chunk-Y3C6MDL7.js +28 -0
  45. package/dist/chunks/chunk-ZM7RN2IM.js +38 -0
  46. package/dist/chunks/{chunk-G7ZM2VOX.js → chunk-ZUB4M4N3.js} +38 -36
  47. package/dist/chunks/{chunk-XLSJC6JZ.js → chunk-ZWIMLT6P.js} +8 -7
  48. package/dist/chunks/cli-FULPXIKJ.js +226 -0
  49. package/dist/chunks/commands-BNWFNTD3.js +70 -0
  50. package/dist/chunks/{conflict-Y4PXZ2YQ.js → conflict-5BKCDV2F.js} +2 -2
  51. package/dist/chunks/{contract-C3BGUMBM.js → contract-WI23OXVC.js} +12446 -5964
  52. package/dist/chunks/{cowork-2AWG4QLA.js → cowork-DZBBVNMQ.js} +11 -8
  53. package/dist/chunks/{create-flow-LOUOK46Z.js → create-flow-7ZRBRKX7.js} +6 -6
  54. package/dist/chunks/{data-BSFYMXVO.js → data-PAZVE6QE.js} +6 -3
  55. package/dist/chunks/{ebuilder-form-LAAMTD2Y.js → ebuilder-form-5SQXIGXN.js} +9 -6
  56. package/dist/chunks/{ehr-36KEX5SH.js → ehr-CX5F4ZAU.js} +27 -19
  57. package/dist/chunks/{entry-mode-6N2IGCS4.js → entry-mode-I2BYNONZ.js} +3 -3
  58. package/dist/chunks/{env-QYLS3EB3.js → env-ZAQZ7EHN.js} +2 -2
  59. package/dist/chunks/{esb-PTYS3E67.js → esb-DQTXDIBF.js} +10 -7
  60. package/dist/chunks/{factory-LPFPKZ4T.js → factory-XRI6KZ7H.js} +1 -1
  61. package/dist/chunks/{fna-JNHCLRDE.js → fna-FK6HQVJL.js} +13 -8
  62. package/dist/chunks/{group-chat-QP2WX4QJ.js → group-chat-MLWNYM2P.js} +3 -3
  63. package/dist/chunks/{host-C2BLBIID.js → host-3EPREGXS.js} +6 -3
  64. package/dist/chunks/{host-QXFKQXNX.js → host-J74JGYAW.js} +6 -3
  65. package/dist/chunks/{host-57LSRSE7.js → host-KUMU3DDK.js} +6 -3
  66. package/dist/chunks/{host-7BVR7CQ3.js → host-MEC4VQZA.js} +6 -3
  67. package/dist/chunks/{host-NS36QFLR.js → host-T6NNQGVZ.js} +6 -3
  68. package/dist/chunks/{host-K2ZKNXME.js → host-VI7Q45PM.js} +6 -3
  69. package/dist/chunks/{hrm-FSGO4NSH.js → hrm-KKVAW4P5.js} +8 -5
  70. package/dist/chunks/{im-2BFGS2XO.js → im-47CIWQNL.js} +7 -4
  71. package/dist/chunks/{invoice-JKLTTHSZ.js → invoice-CDYRBNIG.js} +21 -16
  72. package/dist/chunks/{jiuchuanhui-PTABJE7V.js → jiuchuanhui-M7QTRHZK.js} +17 -10
  73. package/dist/chunks/{lazy-dispatch-YN2ZP3CS.js → lazy-dispatch-FKQJZFI5.js} +22 -8
  74. package/dist/chunks/{mail-YNO7ZZUK.js → mail-NRBS5N6Y.js} +11 -8
  75. package/dist/chunks/{meeting-NIDHDBCB.js → meeting-WC5LD3IO.js} +22 -18
  76. package/dist/chunks/{minute-doc-G3QAT7DE.js → minute-doc-OQUMDTKG.js} +4 -4
  77. package/dist/chunks/{okr-QC52G6AJ.js → okr-EHKSKMPL.js} +10 -7
  78. package/dist/chunks/{operations-MQV32ITT.js → operations-V5VM5MS2.js} +7 -4
  79. package/dist/chunks/{performance-3MQ3AHDQ.js → performance-ZJADXJPN.js} +6 -3
  80. package/dist/chunks/{plan-ISINIEPY.js → plan-OTDNBDJ7.js} +10 -7
  81. package/dist/chunks/{project-IJ6DVKT7.js → project-4XVBQ3HX.js} +10 -7
  82. package/dist/chunks/{reception-3H5LUG2I.js → reception-3FAHOOH7.js} +118 -45
  83. package/dist/chunks/{recruit-stage-MIOJXP6W.js → recruit-stage-3WTVWW2K.js} +1056 -191
  84. package/dist/chunks/register-SQOPIR2G.js +16 -0
  85. package/dist/chunks/{registry-3S7AVMXR.js → registry-F4YFZLOD.js} +7 -3
  86. package/dist/chunks/registry-NBTBXR4L.js +30 -0
  87. package/dist/chunks/{registry-NHHKOEU3.js → registry-TJGCVRCW.js} +7 -4
  88. package/dist/chunks/{room-recommend-IOKBJVYP.js → room-recommend-KL62XB2Y.js} +4 -4
  89. package/dist/chunks/root-YZG2TS5W.js +16 -0
  90. package/dist/chunks/{schedule-IB6EUARH.js → schedule-XOISYUPB.js} +4 -4
  91. package/dist/chunks/{smart-extract-N2TK3CEF.js → smart-extract-UYGNV3BM.js} +15 -7
  92. package/dist/chunks/update-AV5VOXGY.js +13 -0
  93. package/dist/chunks/{workflow-RINBAL2M.js → workflow-V54LJPXL.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 +12 -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 +11 -5
  161. package/dist/shortcuts/ehr/operations/recruit-short-cache.js +6 -2
  162. package/dist/shortcuts/ehr/operations/recruit-write.js +10 -9
  163. package/dist/shortcuts/ehr/operations/recruit.js +390 -196
  164. package/dist/shortcuts/ehr/operations/shared.js +51 -0
  165. package/dist/shortcuts/esb/index.js +1 -1
  166. package/dist/shortcuts/fna/index.js +1 -1
  167. package/dist/shortcuts/fna/manifest.js +1 -0
  168. package/dist/shortcuts/fna/operations/expense-chart.js +3 -1
  169. package/dist/shortcuts/hrm/index.js +1 -1
  170. package/dist/shortcuts/invoice/index.js +1 -1
  171. package/dist/shortcuts/jiuchuanhui/index.js +2 -2
  172. package/dist/shortcuts/jiuchuanhui/manifest.js +3 -0
  173. package/dist/shortcuts/mail/index.js +2 -2
  174. package/dist/shortcuts/meeting/index.js +1 -1
  175. package/dist/shortcuts/meeting/manifest.js +1 -0
  176. package/dist/shortcuts/meeting/operations/eb/catalog.js +5 -3
  177. package/dist/shortcuts/meeting/operations/eb/conflict.js +3 -1
  178. package/dist/shortcuts/meeting/operations/eb/create-flow.js +10 -9
  179. package/dist/shortcuts/meeting/operations/eb/factory.js +2 -0
  180. package/dist/shortcuts/meeting/operations/eb/member-expand.js +3 -2
  181. package/dist/shortcuts/meeting/operations/invitation-publish.js +3 -3
  182. package/dist/shortcuts/meeting/operations/invitation.js +4 -4
  183. package/dist/shortcuts/meeting/operations/link.js +3 -1
  184. package/dist/shortcuts/okr/index.js +1 -1
  185. package/dist/shortcuts/performance/index.js +1 -1
  186. package/dist/shortcuts/plan/index.js +1 -1
  187. package/dist/shortcuts/project/index.js +1 -1
  188. package/dist/shortcuts/reception/constants.js +22 -0
  189. package/dist/shortcuts/reception/index.js +4 -0
  190. package/dist/shortcuts/reception/manifest.js +16 -2
  191. package/dist/shortcuts/reception/operations/doc.js +24 -11
  192. package/dist/shortcuts/reception/operations/docrender.js +18 -1
  193. package/dist/shortcuts/reception/operations/render-assets.js +93 -22
  194. package/dist/shortcuts/recruit-stage/context.js +22 -8
  195. package/dist/shortcuts/recruit-stage/index.js +16 -3
  196. package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +20 -11
  197. package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +1 -1
  198. package/dist/shortcuts/recruit-stage/operations/jd-create.js +467 -26
  199. package/dist/shortcuts/recruit-stage/operations/list.js +73 -2
  200. package/dist/shortcuts/recruit-stage/operations/profile.js +13 -5
  201. package/dist/shortcuts/recruit-stage/operations/registry.js +18 -2
  202. package/dist/shortcuts/recruit-stage/operations/resume-import.js +363 -54
  203. package/dist/shortcuts/recruit-stage/operations/search.js +80 -16
  204. package/dist/shortcuts/recruit-stage/operations/shortlist.js +124 -0
  205. package/dist/shortcuts/recruit-stage/shared.js +174 -56
  206. package/dist/shortcuts/smart-extract/manifest.js +1 -0
  207. package/dist/shortcuts/smart-extract/operations/fill.js +7 -2
  208. package/dist/shortcuts/smart-extract/operations/validate.js +4 -1
  209. package/dist/shortcuts/workflow/index.js +2 -2
  210. package/dist/shortcuts/workflow/manifest.js +1 -0
  211. package/dist/shortcuts/workflow/operations/aiDeepRead/render.js +4 -1
  212. package/dist/shortcuts/workflow/operations/deepRead.js +23 -2
  213. package/dist/shortcuts/workflow/operations/form.js +44 -4
  214. package/docs/contract.md +6 -1
  215. package/docs/e10-auth.md +25 -7
  216. package/docs/operation-manual.md +15 -0
  217. package/package.json +2 -2
  218. package/scripts/pysite/__pycache__/sitecustomize.cpython-314.pyc +0 -0
  219. package/skill-template/business-info.json +28 -0
  220. package/skill-template/domains/jinchengda.md +13 -1
  221. package/skills/weaver-e10-archive-oa/references/source-manifest.json +3 -3
  222. package/skills/weaver-e10-caizhilian/references/auth-and-install.md +2 -1
  223. package/skills/weaver-e10-caizhilian/references/source-manifest.json +3 -3
  224. package/skills/weaver-e10-esb/references/source-manifest.json +3 -3
  225. package/skills/weaver-e10-jinchengda/SKILL.md +90 -32
  226. package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +45 -0
  227. package/skills/weaver-e10-jinchengda/references/contract-bizreview-report-template.html +68 -0
  228. package/skills/weaver-e10-jinchengda/references/contract-bizreview.md +216 -0
  229. package/skills/weaver-e10-jinchengda/references/contract-clause-negotiate.md +215 -0
  230. package/skills/weaver-e10-jinchengda/references/contract-collection-node.md +113 -0
  231. package/skills/weaver-e10-jinchengda/references/contract-command-index.md +19 -3
  232. package/skills/weaver-e10-jinchengda/references/contract-decisions.md +114 -0
  233. package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +53 -44
  234. package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +1 -1
  235. package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +1 -1
  236. package/skills/weaver-e10-jinchengda/references/contract-firstscreen-guide.md +200 -0
  237. package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +18 -1
  238. package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +138 -3
  239. package/skills/weaver-e10-jinchengda/references/contract-ledger-report.md +158 -0
  240. package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +3 -1
  241. package/skills/weaver-e10-jinchengda/references/contract-material-gap.md +139 -0
  242. package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +2 -2
  243. package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +10 -3
  244. package/skills/weaver-e10-jinchengda/references/contract-ops-draft.md +106 -0
  245. package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +1 -1
  246. package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +176 -56
  247. package/skills/weaver-e10-jinchengda/references/contract-sign-launch.md +123 -0
  248. package/skills/weaver-e10-jinchengda/references/contract-smart-draft.md +410 -0
  249. package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +1 -1
  250. package/skills/weaver-e10-jinchengda/references/contract-viewlink.md +110 -0
  251. package/skills/weaver-e10-jinchengda/references/orchestration.md +38 -24
  252. package/skills/weaver-e10-jucailin/SKILL.md +7 -3
  253. package/skills/weaver-e10-jucailin/references/recruit-output-links.md +33 -0
  254. package/skills/weaver-e10-jucailin/references/recruit-write.md +2 -0
  255. package/skills/weaver-e10-meeting/SKILL.md +13 -0
  256. package/skills/weaver-e10-okr/SKILL.md +11 -0
  257. package/skills/weaver-e10-okr/references/source-manifest.json +7 -6
  258. package/skills/weaver-e10-performance/SKILL.md +131 -39
  259. package/skills/weaver-e10-performance/agents/openai.yaml +48 -17
  260. package/skills/weaver-e10-performance/references/default-assembly.md +3 -0
  261. package/skills/weaver-e10-performance/references/extraction-guide.md +17 -3
  262. package/skills/weaver-e10-performance/references/flow-assess.md +38 -5
  263. package/skills/weaver-e10-performance/references/scheme-setting-page.md +20 -3
  264. package/skills/weaver-e10-performance/scripts/assemble_scheme.py +461 -0
  265. package/skills/weaver-e10-performance/scripts/parse_appraisal_doc.py +41 -0
  266. package/skills/weaver-e10-plan/SKILL.md +10 -0
  267. package/skills/weaver-e10-plan/references/source-manifest.json +13 -13
  268. package/skills/weaver-e10-qiyecheng/SKILL.md +2 -2
  269. package/skills/weaver-e10-qiyecheng/references/source-manifest.json +9 -9
  270. package/skills/weaver-e10-reception-flow/SKILL.md +97 -41
  271. package/skills/weaver-e10-reception-flow/references/guide.md +3 -1
  272. package/skills/weaver-e10-recruit-stage/SKILL.md +533 -137
  273. package/skills/weaver-e10-recruit-stage/agents/openai.yaml +103 -62
  274. package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +282 -0
  275. package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +331 -0
  276. package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +865 -0
  277. package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +162 -11
  278. package/skills/weaver-e10-recruit-stage/lib/recruit-xiaoe-file.mjs +15 -1
  279. package/skills/weaver-e10-recruit-stage/lib/report-attachment.mjs +38 -0
  280. package/skills/weaver-e10-recruit-stage/lib/xiaoe-session.mjs +5 -1
  281. package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +6 -2
  282. package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +4 -0
  283. package/skills/weaver-e10-recruit-stage/references/position-templates.md +26 -21
  284. package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +33 -27
  285. package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +11 -7
  286. package/skills/weaver-e10-recruit-stage/references/recruit-check-install.md +5 -1
  287. package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +5 -1
  288. package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +22 -5
  289. package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +42 -0
  290. package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +11 -7
  291. package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +87 -50
  292. package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +4 -0
  293. package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +4 -0
  294. package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +48 -3
  295. package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +45 -0
  296. package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +17 -11
  297. package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +8 -4
  298. package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +162 -31
  299. package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +55 -0
  300. package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +75 -0
  301. package/skills/weaver-e10-recruit-stage/references/recruit-resolve-creator.md +4 -0
  302. package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +12 -8
  303. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +8 -4
  304. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +80 -46
  305. package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +11 -7
  306. package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +12 -8
  307. package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +10 -6
  308. package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +15 -11
  309. package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +7 -3
  310. package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +7 -3
  311. package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +119 -0
  312. package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +322 -0
  313. package/skills/weaver-e10-recruit-stage/templates/match-report.html +166 -76
  314. package/skills/weaver-e10-shared/SKILL.md +40 -5
  315. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +11 -1
  316. package/skills/weaver-e10-shared/references/json-output-contract.md +144 -8
  317. package/skills/weaver-e10-shared/references/weaver-e10-installation.md +11 -0
  318. package/skills/weaver-e10-shijingran/references/source-manifest.json +3 -3
  319. package/skills/weaver-e10-wenshuding/references/source-manifest.json +3 -3
  320. package/skills/weaver-e10-workflow/references/source-manifest.json +3 -3
  321. package/skills/weaver-e10-yepiaotong/references/source-manifest.json +5 -5
  322. package/dist/chunks/chunk-MZVQKQP5.js +0 -2849
  323. package/dist/chunks/registry-3GQRYP2R.js +0 -27
  324. package/skills/weaver-e10-jucailin/references/source-manifest.json +0 -152
@@ -7,17 +7,20 @@ import {
7
7
  MANIFEST_LIST_COMPACT_PATHS,
8
8
  manifestView,
9
9
  schemaOptionsOf
10
- } from "./chunk-WM33BSIL.js";
10
+ } from "./chunk-2QCCXPNU.js";
11
11
  import {
12
12
  E10ApiError,
13
13
  createE10RequestRuntime,
14
14
  getE10Session,
15
15
  requireE10Session
16
- } from "./chunk-DRJYPXKC.js";
16
+ } from "./chunk-MXCRKXOP.js";
17
17
  import {
18
18
  E10_AUTH_REQUIRED_MESSAGE
19
19
  } from "./chunk-IZCQU5D5.js";
20
- import "./chunk-SUWR5QEG.js";
20
+ import "./chunk-QVKRNL7L.js";
21
+ import "./chunk-Y3C6MDL7.js";
22
+ import "./chunk-7DE3VMZD.js";
23
+ import "./chunk-2BZ7TY4M.js";
21
24
  import {
22
25
  CliError,
23
26
  isCliError,
@@ -59,6 +62,13 @@ var MEETING_OPTIONS = [
59
62
  { label: "\u662F\uFF0C\u5B89\u6392\u4F1A\u8BAE\u5BA4", value: "\u662F" },
60
63
  { label: "\u5426\uFF0C\u4E0D\u9700\u8981", value: "\u5426" }
61
64
  ];
65
+ var DEFAULT_RECEPTION_MODE = "flow";
66
+ function normalizeReceptionMode(value) {
67
+ const text = String(value ?? "").trim().toLowerCase();
68
+ if (text === "plan" || text === "\u65B9\u6848" || text === "document" || text === "doc") return "plan";
69
+ if (text === "flow" || text === "\u6D41\u7A0B" || text === "handbook" || text === "manual") return "flow";
70
+ return DEFAULT_RECEPTION_MODE;
71
+ }
62
72
  var SNAPSHOT_KIND = "reception-fields-snapshot";
63
73
  var PYTHON_CACHE_TTL_MS = 7 * 24 * 3600 * 1e3;
64
74
 
@@ -1370,14 +1380,7 @@ function skillRootFromSnapshot(snapshotPath) {
1370
1380
  // src/shortcuts/reception/operations/render-assets.ts
1371
1381
  var PYTHON_CACHE_FILE = "python.json";
1372
1382
  var pythonCache;
1373
- function runSync(file, args, options = {}) {
1374
- const result = spawnSync(file, args, { encoding: "utf8", maxBuffer: 16 * 1024 * 1024, ...options });
1375
- return {
1376
- stdout: String(result.stdout || ""),
1377
- stderr: String(result.stderr || ""),
1378
- status: result.status
1379
- };
1380
- }
1383
+ var pythonCacheAny;
1381
1384
  function runAsync(file, args) {
1382
1385
  return new Promise((resolve2) => {
1383
1386
  execFile(file, args, { encoding: "utf8", maxBuffer: 16 * 1024 * 1024 }, (error, stdout, stderr) => {
@@ -1399,32 +1402,46 @@ function lastJsonLine(text) {
1399
1402
  }
1400
1403
  return null;
1401
1404
  }
1402
- function pickPython(stateDir) {
1403
- if (pythonCache !== void 0) return pythonCache;
1405
+ function probePython(file, args) {
1406
+ const result = spawnSync(file, args, { encoding: "utf8", maxBuffer: 1024 * 1024 });
1407
+ if (result.status !== 0) return null;
1408
+ const lines = String(result.stdout || "").trim().split(/\r?\n/).filter(Boolean);
1409
+ const exe = lines.length ? lines[lines.length - 1].trim() : "";
1410
+ return exe || null;
1411
+ }
1412
+ function pickPython(stateDir, requireDocx = true) {
1413
+ if (requireDocx && pythonCache !== void 0) return pythonCache;
1414
+ if (!requireDocx && pythonCacheAny !== void 0) return pythonCacheAny;
1404
1415
  if (process.env.RECEPTION_PY) {
1405
- pythonCache = process.env.RECEPTION_PY;
1406
- return pythonCache;
1416
+ const envPy = process.env.RECEPTION_PY;
1417
+ if (requireDocx) pythonCache = envPy;
1418
+ else pythonCacheAny = envPy;
1419
+ return envPy;
1407
1420
  }
1421
+ const probe = ["-c", requireDocx ? "import docx, sys; print(sys.executable)" : "import sys; print(sys.executable)"];
1408
1422
  const cachePath = join3(stateDir, PYTHON_CACHE_FILE);
1409
1423
  const disk = readJson(cachePath);
1410
1424
  if (disk?.py && Date.now() - Number(disk.at || 0) < PYTHON_CACHE_TTL_MS) {
1411
- if (runSync(disk.py, ["-c", "import docx"], { stdio: "ignore" }).status === 0) {
1412
- pythonCache = disk.py;
1413
- return pythonCache;
1425
+ const hit = probePython(disk.py, probe);
1426
+ if (hit) {
1427
+ if (requireDocx) pythonCache = hit;
1428
+ else pythonCacheAny = hit;
1429
+ return hit;
1414
1430
  }
1415
1431
  }
1416
1432
  for (const candidate of ["python3", "python", "py"]) {
1417
- const args = candidate === "py" ? ["-3", "-c", "import docx"] : ["-c", "import docx"];
1418
- if (runSync(candidate, args, { stdio: "ignore" }).status === 0) {
1419
- pythonCache = candidate;
1420
- try {
1421
- writeJson(cachePath, { py: candidate, at: Date.now() });
1422
- } catch {
1423
- }
1424
- return candidate;
1433
+ const exe = probePython(candidate, candidate === "py" ? ["-3", ...probe] : probe);
1434
+ if (!exe) continue;
1435
+ if (requireDocx) pythonCache = exe;
1436
+ else pythonCacheAny = exe;
1437
+ try {
1438
+ writeJson(cachePath, { py: exe, at: Date.now() });
1439
+ } catch {
1425
1440
  }
1441
+ return exe;
1426
1442
  }
1427
- pythonCache = null;
1443
+ if (requireDocx) pythonCache = null;
1444
+ else pythonCacheAny = null;
1428
1445
  return null;
1429
1446
  }
1430
1447
  function resolveRenderPy(explicitPath = "", snapshotPath = "") {
@@ -1508,13 +1525,34 @@ async function renderBoth(options) {
1508
1525
  parallelMs: Date.now() - startedAt
1509
1526
  };
1510
1527
  }
1511
- function requirePython(stateDir) {
1512
- const python = pickPython(stateDir);
1528
+ async function renderMdOnly(options) {
1529
+ ensureDir(options.outDir);
1530
+ const startedAt = Date.now();
1531
+ const mdResult = await renderOnly({ ...options, only: "md" });
1532
+ const elapsed = Date.now() - startedAt;
1533
+ const files = mdResult.files || [];
1534
+ return {
1535
+ result: {
1536
+ ...mdResult,
1537
+ files,
1538
+ verify: { ...mdResult.verify || {}, fileCount: files.length }
1539
+ },
1540
+ docxResult: { ok: true, files: [] },
1541
+ mdResult,
1542
+ docxMs: 0,
1543
+ mdMs: elapsed,
1544
+ parallelMs: elapsed
1545
+ };
1546
+ }
1547
+ function requirePython(stateDir, requireDocx = true) {
1548
+ const python = pickPython(stateDir, requireDocx);
1513
1549
  if (!python) {
1514
1550
  throw receptionEnvironmentError(
1515
- "NO_PYTHON_DOCX",
1516
- "\u7F3A python3 + python-docx\uFF0C\u65E0\u6CD5\u6E32\u67D3 docx",
1517
- { hint: "pip install python-docx\uFF1B\u79BB\u7EBF\u73AF\u5883\u53EA\u80FD\u4EA4\u4ED8 md" }
1551
+ requireDocx ? "NO_PYTHON_DOCX" : "NO_PYTHON",
1552
+ requireDocx ? "\u7F3A python3 + python-docx\uFF0C\u65E0\u6CD5\u6E32\u67D3 docx" : "\u7F3A python3\uFF0C\u65E0\u6CD5\u6E32\u67D3\u63A5\u5F85\u53C2\u8003\u6587\u6863",
1553
+ {
1554
+ hint: requireDocx ? "pip install python-docx\uFF1B\u79BB\u7EBF\u73AF\u5883\u53EA\u80FD\u4EA4\u4ED8 md" : "\u5B89\u88C5 python3 \u540E\u91CD\u8BD5\uFF1B\u53EA\u51FA\u63A5\u5F85\u65B9\u6848\uFF08--mode plan\uFF09\u540C\u6837\u9700\u8981 python3 \u8DD1 render.py"
1555
+ }
1518
1556
  );
1519
1557
  }
1520
1558
  return python;
@@ -1582,6 +1620,8 @@ async function doc(input, ctx) {
1582
1620
  const startedAt = Date.now();
1583
1621
  const runIdArg = String(input.runId || "").trim();
1584
1622
  const knownArg = input.known || null;
1623
+ const mode = normalizeReceptionMode(input.mode);
1624
+ const planOnly = mode === "plan";
1585
1625
  let run = runIdArg ? tryLoadRun(ctx.stateDir, runIdArg) : null;
1586
1626
  let rebuilt = false;
1587
1627
  if (!run) {
@@ -1611,7 +1651,7 @@ async function doc(input, ctx) {
1611
1651
  data: { ...knownArg },
1612
1652
  customer: null,
1613
1653
  user: null,
1614
- mode: "browsertool"
1654
+ mode
1615
1655
  };
1616
1656
  }
1617
1657
  const answers = input.answers ?? run.answers ?? {};
@@ -1640,11 +1680,11 @@ async function doc(input, ctx) {
1640
1680
  const dataHash = sha256(canonical(data)).slice(0, 32);
1641
1681
  const dataPath = join4(ctx.stateDir, `doc-data-${dataHash.slice(0, 12)}.json`);
1642
1682
  writeJson(dataPath, data);
1643
- const python = requirePython(ctx.stateDir);
1683
+ const python = requirePython(ctx.stateDir, !planOnly);
1644
1684
  const renderPy = resolveRenderPy(input.renderPy || "", input.snapshot || "");
1645
- const noUpload = input.noUpload === true;
1685
+ const noUpload = planOnly || input.noUpload === true;
1646
1686
  const sessionPromise = noUpload ? Promise.resolve(null) : ctx.host.getSession();
1647
- const renderPromise = renderBoth({ python, renderPy, dataPath, outDir });
1687
+ const renderPromise = planOnly ? renderMdOnly({ python, renderPy, dataPath, outDir }) : renderBoth({ python, renderPy, dataPath, outDir });
1648
1688
  const uploadPromise = renderPromise.then(async (rendered2) => {
1649
1689
  if (noUpload) return null;
1650
1690
  const session = await sessionPromise;
@@ -1706,11 +1746,12 @@ async function doc(input, ctx) {
1706
1746
  if (uploadResult.skipped === "NO_SESSION") {
1707
1747
  warnings.push("\u672A\u53D6\u5F97 E10 \u4F1A\u8BDD\uFF1A\u9644\u4EF6\u672A\u4E0A\u4F20\uFF0C\u4EA7\u7269\u6309\u672C\u5730\u6587\u4EF6\u4EA4\u4ED8");
1708
1748
  }
1709
- } else if (noUpload) {
1749
+ } else if (noUpload && !planOnly) {
1710
1750
  warnings.push("\u5DF2\u6309 --no-upload \u8DF3\u8FC7\u4E0A\u4F20\uFF1A\u9875\u9762\u4E0A\u9700\u8981\u624B\u52A8\u6DFB\u52A0\u9644\u4EF6");
1711
1751
  }
1712
1752
  run.answers = answers;
1713
1753
  run.data = data;
1754
+ run.mode = mode;
1714
1755
  run.files = rendered.result.files || [];
1715
1756
  if (input.snapshot) run.snapshotPath = input.snapshot;
1716
1757
  if (uploadResult && uploadResult.base) run.base = uploadResult.base;
@@ -1735,6 +1776,7 @@ async function doc(input, ctx) {
1735
1776
  ok: true,
1736
1777
  data: {
1737
1778
  runId: run.runId,
1779
+ mode,
1738
1780
  rebuilt,
1739
1781
  files: (rendered.result.files || []).map((file) => ({ kind: file.kind, path: file.path, size: file.size })),
1740
1782
  internalDoc,
@@ -1753,7 +1795,10 @@ async function doc(input, ctx) {
1753
1795
  }
1754
1796
  },
1755
1797
  warnings,
1756
- next: {
1798
+ next: planOnly ? {
1799
+ command: "\u628A data.internalDoc.content \u5168\u6587\u4F5C\u4E3A\u56DE\u590D\u6B63\u6587",
1800
+ reason: "\u573A\u666F\u4E00\u53EA\u4EA4\u4ED8\u300A\u63A5\u5F85\u4EA4\u6D41\u53C2\u8003\u6587\u6863\u300B\uFF0C\u4E0D\u751F\u6210\u884C\u7A0B\u5355\u3001\u4E0D\u4E0A\u4F20\u9644\u4EF6\u3001\u4E0D\u6253\u5F00\u586B\u5355\u9875"
1801
+ } : {
1757
1802
  command: `weaver-work-cli reception render --run-id ${run.runId}`,
1758
1803
  reason: "\u9644\u4EF6 fileid \u5DF2\u5199\u5165 run\uFF0Crender \u4F1A\u81EA\u52A8\u5E26\u4E0A"
1759
1804
  }
@@ -2224,9 +2269,20 @@ var renderOperation = {
2224
2269
 
2225
2270
  // src/shortcuts/reception/operations/docrender.ts
2226
2271
  async function docRender(input, ctx) {
2272
+ const mode = normalizeReceptionMode(input.mode);
2227
2273
  const docResult = await doc(input, ctx);
2228
2274
  if (!docResult.ok) return docResult;
2229
- const runId = String((docResult.data || {}).runId || input.runId || "");
2275
+ const docData = docResult.data || {};
2276
+ if (mode === "plan") {
2277
+ return {
2278
+ state: docResult.state,
2279
+ ok: true,
2280
+ data: { ...docData, mode, renderSkipped: true },
2281
+ warnings: docResult.warnings || [],
2282
+ next: docResult.next
2283
+ };
2284
+ }
2285
+ const runId = String(docData.runId || input.runId || "");
2230
2286
  let renderResult;
2231
2287
  try {
2232
2288
  renderResult = await render({
@@ -2254,7 +2310,8 @@ async function docRender(input, ctx) {
2254
2310
  data: {
2255
2311
  ...docResult.data,
2256
2312
  ...renderResult.data,
2257
- runId
2313
+ runId,
2314
+ mode
2258
2315
  },
2259
2316
  warnings: [...docResult.warnings || [], ...renderResult.warnings || []],
2260
2317
  next: renderResult.next
@@ -2387,6 +2444,11 @@ var receptionOperations = [
2387
2444
  workflow: { type: "string", description: "\u76EE\u6807\u6D41\u7A0B\u540D" },
2388
2445
  outDir: { type: "string", description: "\u4EA7\u7269\u8F93\u51FA\u76EE\u5F55" },
2389
2446
  noUpload: { type: "boolean", description: "\u8DF3\u8FC7\u9644\u4EF6\u4E0A\u4F20\uFF0C\u53EA\u51FA\u672C\u5730\u6587\u4EF6" },
2447
+ mode: {
2448
+ type: "string",
2449
+ enum: ["plan", "flow"],
2450
+ description: "\u51FA\u4EF6\u8303\u56F4\uFF1Aplan=\u53EA\u51FA\u5185\u90E8\u53C2\u8003\u6587\u6863 md\uFF08\u4E0D\u6E32\u67D3 docx\u3001\u4E0D\u4E0A\u4F20\u9644\u4EF6\uFF09\uFF1Bflow=\u5B8C\u6574\u94FE\u8DEF\u3002\u9ED8\u8BA4 flow"
2451
+ },
2390
2452
  snapshot: { type: "string", description: "\u5B57\u6BB5\u5FEB\u7167\u8DEF\u5F84\uFF1B\u540C\u65F6\u7528\u4E8E\u63A8\u5BFC\u6280\u80FD\u5305\u5185 render.py \u4F4D\u7F6E" },
2391
2453
  renderPy: { type: "string", description: "\u663E\u5F0F\u6307\u5B9A render.py \u8DEF\u5F84" }
2392
2454
  },
@@ -2396,6 +2458,7 @@ var receptionOperations = [
2396
2458
  type: "object",
2397
2459
  properties: {
2398
2460
  runId: { type: "string" },
2461
+ mode: { type: "string", description: "\u672C\u6B21\u5B9E\u9645\u751F\u6548\u7684\u51FA\u4EF6\u8303\u56F4\uFF1Aplan / flow" },
2399
2462
  rebuilt: { type: "boolean" },
2400
2463
  files: { type: "array", items: { type: "object" } },
2401
2464
  internalDoc: {
@@ -2453,7 +2516,8 @@ var receptionOperations = [
2453
2516
  {
2454
2517
  name: "reception.docRender",
2455
2518
  risk: "read",
2456
- summary: "\u4E00\u6B21\u5B8C\u6210 doc + render\uFF1A\u51FA docx/md\u3001\u4E0A\u4F20\u9644\u4EF6\u3001\u62FC customParams\u3001\u843D browsertool\u3002\u4E24\u8005\u4E4B\u95F4\u6CA1\u6709\u4EBA\u5DE5\u786E\u8BA4\u70B9\uFF0C\u5408\u5E76\u53EA\u4E3A\u7701\u4E00\u6B21\u5DE5\u5177\u5F80\u8FD4\uFF1B\u5931\u8D25\u8BED\u4E49\u4E0E\u5206\u5F00\u8C03\u7528\u4E00\u81F4\u3002",
2519
+ summary: "\u4E00\u6B21\u5B8C\u6210 doc + render\uFF1A\u51FA docx/md\u3001\u4E0A\u4F20\u9644\u4EF6\u3001\u62FC customParams\u3001\u843D browsertool\uFF0C\u7701\u4E00\u6B21\u5DE5\u5177\u5F80\u8FD4\u3002",
2520
+ notes: "\u4E24\u8005\u4E4B\u95F4\u6CA1\u6709\u4EBA\u5DE5\u786E\u8BA4\u70B9\uFF0C\u5408\u5E76\u53EA\u4E3A\u7701\u4E00\u6B21\u5DE5\u5177\u5F80\u8FD4\uFF1B\u5931\u8D25\u8BED\u4E49\u4E0E\u5206\u5F00\u8C03\u7528\u4E00\u81F4\u3002--mode plan \u53EA\u51FA\u5185\u90E8\u53C2\u8003\u6587\u6863 md\uFF0C\u8DF3\u8FC7 render\uFF08\u4E0D\u51FA browsertool\u3001\u4E0D\u505A\u586B\u5355\u786C\u6821\u9A8C\uFF09\u3002",
2457
2521
  inputSchema: {
2458
2522
  type: "object",
2459
2523
  additionalProperties: false,
@@ -2466,6 +2530,11 @@ var receptionOperations = [
2466
2530
  workflow: { type: "string", description: "\u76EE\u6807\u6D41\u7A0B\u540D" },
2467
2531
  outDir: { type: "string", description: "\u4EA7\u7269\u8F93\u51FA\u76EE\u5F55" },
2468
2532
  noUpload: { type: "boolean", description: "\u8DF3\u8FC7\u9644\u4EF6\u4E0A\u4F20\uFF0C\u53EA\u51FA\u672C\u5730\u6587\u4EF6" },
2533
+ mode: {
2534
+ type: "string",
2535
+ enum: ["plan", "flow"],
2536
+ description: "\u51FA\u4EF6\u8303\u56F4\uFF1Aplan=\u53EA\u51FA\u5185\u90E8\u53C2\u8003\u6587\u6863 md\uFF08\u4E0D\u6E32\u67D3 docx\u3001\u4E0D\u4E0A\u4F20\u9644\u4EF6\u3001\u4E0D\u6253\u5F00\u586B\u5355\u9875\uFF09\uFF1Bflow=\u5B8C\u6574\u94FE\u8DEF\u3002\u9ED8\u8BA4 flow"
2537
+ },
2469
2538
  snapshot: { type: "string", description: "\u5B57\u6BB5\u5FEB\u7167\u8DEF\u5F84\uFF1B\u540C\u65F6\u7528\u4E8E\u63A8\u5BFC\u6280\u80FD\u5305\u5185 render.py \u4F4D\u7F6E" },
2470
2539
  allowMissingRestaurant: { type: "boolean", description: "\u63D0\u4E86\u5C0F\u9910\u5385\u4F46\u786E\u5B9E\u62FF\u4E0D\u5230\u5305\u53A2\u53F7\u65F6\u653E\u884C\uFF08\u660E\u7EC6\u7559\u7A7A\u8FDB\u5F85\u529E\uFF09\uFF0C\u9ED8\u8BA4 false \u76F4\u63A5\u62A5 RESTAURANT_DETAIL_MISSING" },
2471
2540
  renderPy: { type: "string", description: "\u663E\u5F0F\u6307\u5B9A render.py \u8DEF\u5F84" },
@@ -2481,6 +2550,8 @@ var receptionOperations = [
2481
2550
  type: "object",
2482
2551
  properties: {
2483
2552
  runId: { type: "string" },
2553
+ mode: { type: "string", description: "\u672C\u6B21\u5B9E\u9645\u751F\u6548\u7684\u51FA\u4EF6\u8303\u56F4\uFF1Aplan / flow" },
2554
+ renderSkipped: { type: "boolean", description: "plan \u6A21\u5F0F\u6052\u4E3A true\uFF1A\u6CA1\u6709\u8C03 render\uFF0C\u56DE\u5305\u91CC\u4E0D\u4F1A\u6709 browsertool" },
2484
2555
  rebuilt: { type: "boolean" },
2485
2556
  files: { type: "array", items: { type: "object" } },
2486
2557
  internalDoc: {
@@ -2667,7 +2738,7 @@ var receptionShortcut = {
2667
2738
  workflow: textOf(opts, "workflow") || void 0
2668
2739
  }, opts);
2669
2740
  }));
2670
- reception.command("doc").description("\u751F\u6210\u884C\u7A0B\u5355 docx + \u5185\u90E8\u53C2\u8003\u6587\u6863 md\uFF0C\u5E76\u4E0A\u4F20\u9644\u4EF6\uFF08\u96F6\u5199\u8BF7\u6C42\uFF09").option("--run-id <id>", "ask \u8FD4\u56DE\u7684 runId").option("--known <json>", "run \u5931\u6548\u65F6\u7528\u4E8E\u73B0\u573A\u91CD\u5EFA\u7684 7 \u9879\u62BD\u53D6\u7ED3\u679C").option("--known-file <path>", "\u540C\u4E0A\uFF0CJSON \u6587\u4EF6").option("--answers <json>", "\u9762\u677F\u56DE\u586B\u503C\uFF08\u5185\u8054 JSON\uFF09").option("--answers-file <path>", "\u9762\u677F\u56DE\u586B\u503C\uFF08JSON \u6587\u4EF6\uFF0C\u63A8\u8350\uFF09").option("--cases-file <path>", "\u6848\u4F8B + \u4E13\u5BB6\u68C0\u7D22\u7ED3\u679C JSON").option("--restaurant-rooms-file <path>", "\u5C0F\u98DF\u5802\u5305\u53A2\u5019\u9009\uFF08e10-data ds list \u539F\u59CB\u8F93\u51FA\u6216 [{name,capacity}]\uFF09").option("--workflow <name>", "\u76EE\u6807\u6D41\u7A0B\u540D").option("--out-dir <dir>", "\u4EA7\u7269\u8F93\u51FA\u76EE\u5F55").option("--snapshot <path>", "\u5B57\u6BB5\u5FEB\u7167\u8DEF\u5F84\uFF08\u540C\u65F6\u7528\u4E8E\u63A8\u5BFC render.py\uFF09").option("--render-py <path>", "\u663E\u5F0F\u6307\u5B9A render.py").option("--no-upload", "\u8DF3\u8FC7\u9644\u4EF6\u4E0A\u4F20\uFF0C\u53EA\u51FA\u672C\u5730\u6587\u4EF6").action(action(async (ctx, options) => {
2741
+ reception.command("doc").description("\u751F\u6210\u884C\u7A0B\u5355 docx + \u5185\u90E8\u53C2\u8003\u6587\u6863 md\uFF0C\u5E76\u4E0A\u4F20\u9644\u4EF6\uFF08\u96F6\u5199\u8BF7\u6C42\uFF09").option("--run-id <id>", "ask \u8FD4\u56DE\u7684 runId").option("--known <json>", "run \u5931\u6548\u65F6\u7528\u4E8E\u73B0\u573A\u91CD\u5EFA\u7684 7 \u9879\u62BD\u53D6\u7ED3\u679C").option("--known-file <path>", "\u540C\u4E0A\uFF0CJSON \u6587\u4EF6").option("--answers <json>", "\u9762\u677F\u56DE\u586B\u503C\uFF08\u5185\u8054 JSON\uFF09").option("--answers-file <path>", "\u9762\u677F\u56DE\u586B\u503C\uFF08JSON \u6587\u4EF6\uFF0C\u63A8\u8350\uFF09").option("--cases-file <path>", "\u6848\u4F8B + \u4E13\u5BB6\u68C0\u7D22\u7ED3\u679C JSON").option("--restaurant-rooms-file <path>", "\u5C0F\u98DF\u5802\u5305\u53A2\u5019\u9009\uFF08e10-data ds list \u539F\u59CB\u8F93\u51FA\u6216 [{name,capacity}]\uFF09").option("--workflow <name>", "\u76EE\u6807\u6D41\u7A0B\u540D").option("--out-dir <dir>", "\u4EA7\u7269\u8F93\u51FA\u76EE\u5F55").option("--snapshot <path>", "\u5B57\u6BB5\u5FEB\u7167\u8DEF\u5F84\uFF08\u540C\u65F6\u7528\u4E8E\u63A8\u5BFC render.py\uFF09").option("--render-py <path>", "\u663E\u5F0F\u6307\u5B9A render.py").option("--no-upload", "\u8DF3\u8FC7\u9644\u4EF6\u4E0A\u4F20\uFF0C\u53EA\u51FA\u672C\u5730\u6587\u4EF6").option("--mode <mode>", "\u51FA\u4EF6\u8303\u56F4\uFF1Aplan=\u53EA\u51FA\u5185\u90E8\u53C2\u8003\u6587\u6863 md\uFF08\u4E0D\u6E32\u67D3 docx\u3001\u4E0D\u4E0A\u4F20\uFF09\uFF1Bflow=\u5B8C\u6574\u94FE\u8DEF\uFF08\u9ED8\u8BA4\uFF09").action(action(async (ctx, options) => {
2671
2742
  const opts = asOptions(options);
2672
2743
  await runOperation(ctx, "reception.doc", {
2673
2744
  runId: textOf(opts, "runId") || void 0,
@@ -2679,7 +2750,8 @@ var receptionShortcut = {
2679
2750
  outDir: textOf(opts, "outDir") || void 0,
2680
2751
  snapshot: textOf(opts, "snapshot") || void 0,
2681
2752
  renderPy: textOf(opts, "renderPy") || void 0,
2682
- noUpload: opts.upload === false
2753
+ noUpload: opts.upload === false,
2754
+ mode: textOf(opts, "mode") || void 0
2683
2755
  }, opts);
2684
2756
  }));
2685
2757
  reception.command("render").description("\u8F93\u51FA\u586B\u5355\u9875 browsertool\uFF08\u7EAF\u672C\u5730\uFF0C\u4E0D\u8C03\u63A5\u53E3\uFF09").option("--run-id <id>", "ask / doc \u8FD4\u56DE\u7684 runId").option("--answers <json>", "\u9762\u677F\u56DE\u586B\u503C\uFF08\u5185\u8054 JSON\uFF09").option("--answers-file <path>", "\u9762\u677F\u56DE\u586B\u503C\uFF08JSON \u6587\u4EF6\uFF0C\u63A8\u8350\uFF09").option("--attachment-fileid <ids>", "\u9644\u4EF6 fileid\uFF0C\u591A\u4E2A\u9017\u53F7\u5206\u9694").option("--sdk-render <type>", "\u6253\u5F00\u5F62\u6001\uFF1Ainline / popup / drawer\uFF08\u9ED8\u8BA4 drawer\uFF09").option("--snapshot <path>", "\u5B57\u6BB5\u5FEB\u7167\u8DEF\u5F84").option("--allow-missing-restaurant", "\u63D0\u4E86\u5C0F\u9910\u5385\u4F46\u6CA1\u5305\u53A2\u53F7\u65F6\u4ECD\u653E\u884C\uFF08\u660E\u7EC6\u7559\u7A7A\u8FDB\u5F85\u529E\uFF09").action(action(async (ctx, options) => {
@@ -2701,7 +2773,7 @@ var receptionShortcut = {
2701
2773
  timeoutMs: textOf(opts, "timeoutMs") ? Number(textOf(opts, "timeoutMs")) : void 0
2702
2774
  }, opts);
2703
2775
  }));
2704
- reception.command("doc-render").description("\u4E00\u6B21\u5B8C\u6210\u300C\u51FA\u4EF6 + \u4F20\u9644\u4EF6 + \u62FC\u586B\u5355\u53C2\u6570\u300D\uFF08doc \u4E0E render \u5408\u5E76\uFF0C\u7701\u4E00\u6B21\u5DE5\u5177\u5F80\u8FD4\uFF09").option("--run-id <id>", "ask \u8FD4\u56DE\u7684 runId").option("--known <json>", "run \u5931\u6548\u65F6\u7528\u4E8E\u73B0\u573A\u91CD\u5EFA\u7684 7 \u9879\u62BD\u53D6\u7ED3\u679C").option("--known-file <path>", "\u540C\u4E0A\uFF0CJSON \u6587\u4EF6").option("--answers <json>", "\u9762\u677F\u56DE\u586B\u503C\uFF08\u5185\u8054 JSON\uFF09").option("--answers-file <path>", "\u9762\u677F\u56DE\u586B\u503C\uFF08JSON \u6587\u4EF6\uFF0C\u63A8\u8350\uFF09").option("--cases-file <path>", "\u6848\u4F8B + \u4E13\u5BB6\u68C0\u7D22\u7ED3\u679C JSON").option("--restaurant-rooms-file <path>", "\u5C0F\u98DF\u5802\u5305\u53A2\u5019\u9009\uFF08e10-data ds list \u539F\u59CB\u8F93\u51FA\u6216 [{name,capacity}]\uFF09").option("--workflow <name>", "\u76EE\u6807\u6D41\u7A0B\u540D").option("--out-dir <dir>", "\u4EA7\u7269\u8F93\u51FA\u76EE\u5F55").option("--snapshot <path>", "\u5B57\u6BB5\u5FEB\u7167\u8DEF\u5F84\uFF08\u540C\u65F6\u7528\u4E8E\u63A8\u5BFC render.py\uFF09").option("--render-py <path>", "\u663E\u5F0F\u6307\u5B9A render.py").option("--no-upload", "\u8DF3\u8FC7\u9644\u4EF6\u4E0A\u4F20\uFF0C\u53EA\u51FA\u672C\u5730\u6587\u4EF6").option("--allow-missing-restaurant", "\u63D0\u4E86\u5C0F\u9910\u5385\u4F46\u6CA1\u5305\u53A2\u53F7\u65F6\u4ECD\u653E\u884C\uFF08\u660E\u7EC6\u7559\u7A7A\u8FDB\u5F85\u529E\uFF09").option("--sdk-render <type>", "\u6253\u5F00\u5F62\u6001\uFF1Ainline / popup / drawer\uFF08\u9ED8\u8BA4 drawer\uFF09").action(action(async (ctx, options) => {
2776
+ reception.command("doc-render").description("\u4E00\u6B21\u5B8C\u6210\u300C\u51FA\u4EF6 + \u4F20\u9644\u4EF6 + \u62FC\u586B\u5355\u53C2\u6570\u300D\uFF08doc \u4E0E render \u5408\u5E76\uFF0C\u7701\u4E00\u6B21\u5DE5\u5177\u5F80\u8FD4\uFF09").option("--run-id <id>", "ask \u8FD4\u56DE\u7684 runId").option("--known <json>", "run \u5931\u6548\u65F6\u7528\u4E8E\u73B0\u573A\u91CD\u5EFA\u7684 7 \u9879\u62BD\u53D6\u7ED3\u679C").option("--known-file <path>", "\u540C\u4E0A\uFF0CJSON \u6587\u4EF6").option("--answers <json>", "\u9762\u677F\u56DE\u586B\u503C\uFF08\u5185\u8054 JSON\uFF09").option("--answers-file <path>", "\u9762\u677F\u56DE\u586B\u503C\uFF08JSON \u6587\u4EF6\uFF0C\u63A8\u8350\uFF09").option("--cases-file <path>", "\u6848\u4F8B + \u4E13\u5BB6\u68C0\u7D22\u7ED3\u679C JSON").option("--restaurant-rooms-file <path>", "\u5C0F\u98DF\u5802\u5305\u53A2\u5019\u9009\uFF08e10-data ds list \u539F\u59CB\u8F93\u51FA\u6216 [{name,capacity}]\uFF09").option("--workflow <name>", "\u76EE\u6807\u6D41\u7A0B\u540D").option("--out-dir <dir>", "\u4EA7\u7269\u8F93\u51FA\u76EE\u5F55").option("--snapshot <path>", "\u5B57\u6BB5\u5FEB\u7167\u8DEF\u5F84\uFF08\u540C\u65F6\u7528\u4E8E\u63A8\u5BFC render.py\uFF09").option("--render-py <path>", "\u663E\u5F0F\u6307\u5B9A render.py").option("--no-upload", "\u8DF3\u8FC7\u9644\u4EF6\u4E0A\u4F20\uFF0C\u53EA\u51FA\u672C\u5730\u6587\u4EF6").option("--allow-missing-restaurant", "\u63D0\u4E86\u5C0F\u9910\u5385\u4F46\u6CA1\u5305\u53A2\u53F7\u65F6\u4ECD\u653E\u884C\uFF08\u660E\u7EC6\u7559\u7A7A\u8FDB\u5F85\u529E\uFF09").option("--sdk-render <type>", "\u6253\u5F00\u5F62\u6001\uFF1Ainline / popup / drawer\uFF08\u9ED8\u8BA4 drawer\uFF09").option("--mode <mode>", "\u51FA\u4EF6\u8303\u56F4\uFF1Aplan=\u53EA\u51FA\u5185\u90E8\u53C2\u8003\u6587\u6863 md\uFF08\u4E0D\u6253\u5F00\u586B\u5355\u9875\uFF09\uFF1Bflow=\u5B8C\u6574\u94FE\u8DEF\uFF08\u9ED8\u8BA4\uFF09").action(action(async (ctx, options) => {
2705
2777
  const opts = asOptions(options);
2706
2778
  await runOperation(ctx, "reception.docRender", {
2707
2779
  runId: textOf(opts, "runId") || void 0,
@@ -2715,7 +2787,8 @@ var receptionShortcut = {
2715
2787
  renderPy: textOf(opts, "renderPy") || void 0,
2716
2788
  noUpload: opts.upload === false,
2717
2789
  allowMissingRestaurant: opts.allowMissingRestaurant === true,
2718
- sdkRender: textOf(opts, "sdkRender") || void 0
2790
+ sdkRender: textOf(opts, "sdkRender") || void 0,
2791
+ mode: textOf(opts, "mode") || void 0
2719
2792
  }, opts);
2720
2793
  }));
2721
2794
  }