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
@@ -0,0 +1,49 @@
1
+ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
+ const require = __esbuildCreateRequire(import.meta.url);
3
+ import {
4
+ UpdateService
5
+ } from "./chunk-OJ4JPD25.js";
6
+ import {
7
+ packageRootDir
8
+ } from "./chunk-2BZ7TY4M.js";
9
+ import {
10
+ CliError
11
+ } from "./chunk-UG5G54VL.js";
12
+
13
+ // src/cmd/update/index.ts
14
+ function service(ctx) {
15
+ return new UpdateService({
16
+ packageRoot: packageRootDir(),
17
+ currentVersion: ctx.packageInfo.version,
18
+ env: ctx.env,
19
+ runtimeAgent: ctx.getGlobalOptions().runtimeAgent
20
+ });
21
+ }
22
+ function confirmation(options) {
23
+ const token = options?.confirm;
24
+ if (typeof token !== "string" || !token) throw new CliError("\u8BF7\u5148\u5411\u7528\u6237\u786E\u8BA4\u66F4\u65B0\uFF0C\u518D\u4F20\u5165\u5F85\u66F4\u65B0\u63D0\u793A\u4E2D\u7684 --confirm \u6807\u8BC6\u3002");
25
+ return token;
26
+ }
27
+ var updateCommand = {
28
+ name: "update",
29
+ description: "Check CLI updates and install a user-confirmed version",
30
+ category: "system",
31
+ register({ program, action }) {
32
+ const update = program.command("update").description("Manage CLI updates (XiaoE is host-managed)");
33
+ update.command("status").description("Read cached update status without accessing npm").action(action((ctx) => ctx.output.write({ ok: true, ...service(ctx).status() })));
34
+ update.command("check").description("Explicitly check npm now, bypassing the automatic 24-hour cooldown").action(action(async (ctx) => {
35
+ const updater = service(ctx);
36
+ const result = await updater.check(true);
37
+ ctx.output.write({ ok: true, ...result, cliUpdate: updater.notice(true) });
38
+ }));
39
+ update.command("defer").description("After the user chooses later, snooze this version for 24 hours").requiredOption("--confirm <token>", "confirmation token from the update notice").action(action((ctx, options) => ctx.output.write({ ok: true, ...service(ctx).defer(confirmation(options)) })));
40
+ update.command("apply").description("After user approval, update this global npm installation in place").requiredOption("--confirm <token>", "confirmation token from the user-approved update notice").action(action(async (ctx, options) => {
41
+ const result = await service(ctx).apply(confirmation(options));
42
+ ctx.output.write({ ok: true, ...result });
43
+ }));
44
+ }
45
+ };
46
+
47
+ export {
48
+ updateCommand
49
+ };
@@ -9,13 +9,13 @@ import {
9
9
  createE10RequestRuntime,
10
10
  isE10AuthenticationRequired,
11
11
  requireE10Session
12
- } from "./chunk-DRJYPXKC.js";
12
+ } from "./chunk-MXCRKXOP.js";
13
13
  import {
14
14
  E10_SESSION_EXPIRED_MESSAGE
15
15
  } from "./chunk-IZCQU5D5.js";
16
16
  import {
17
17
  getActiveProfile
18
- } from "./chunk-SUWR5QEG.js";
18
+ } from "./chunk-QVKRNL7L.js";
19
19
 
20
20
  // src/shortcuts/workflow/host.ts
21
21
  var DEFAULT_TIMEOUT_MS = 3e4;
@@ -11,13 +11,13 @@ import {
11
11
  createE10RequestRuntime,
12
12
  isE10SessionExpiredResponse,
13
13
  requireE10Session
14
- } from "./chunk-DRJYPXKC.js";
14
+ } from "./chunk-MXCRKXOP.js";
15
15
  import {
16
16
  E10_SESSION_EXPIRED_MESSAGE
17
17
  } from "./chunk-IZCQU5D5.js";
18
18
  import {
19
19
  getActiveProfile
20
- } from "./chunk-SUWR5QEG.js";
20
+ } from "./chunk-QVKRNL7L.js";
21
21
 
22
22
  // src/shortcuts/hrm/host.ts
23
23
  function inferProfile(ctx) {
@@ -0,0 +1,209 @@
1
+ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
+ const require = __esbuildCreateRequire(import.meta.url);
3
+ import {
4
+ Output
5
+ } from "./chunk-JJONWB5N.js";
6
+ import {
7
+ Command
8
+ } from "./chunk-JWF2R6EQ.js";
9
+ import {
10
+ normalizeGlobalOptions
11
+ } from "./chunk-Y3C6MDL7.js";
12
+ import {
13
+ packagePath
14
+ } from "./chunk-2BZ7TY4M.js";
15
+
16
+ // src/cmd/root.ts
17
+ import { readFileSync as readFileSync2 } from "node:fs";
18
+
19
+ // src/core/context.ts
20
+ import { homedir } from "node:os";
21
+ import { resolve as resolve2 } from "node:path";
22
+
23
+ // src/core/config-store.ts
24
+ import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
25
+ import { dirname } from "node:path";
26
+ var ConfigStore = class {
27
+ constructor(getPath) {
28
+ this.getPath = getPath;
29
+ }
30
+ getPath;
31
+ path() {
32
+ return this.getPath();
33
+ }
34
+ all() {
35
+ const filePath = this.path();
36
+ if (!existsSync(filePath)) return {};
37
+ try {
38
+ const value = JSON.parse(readFileSync(filePath, "utf-8"));
39
+ return value && typeof value === "object" && !Array.isArray(value) ? value : {};
40
+ } catch {
41
+ return {};
42
+ }
43
+ }
44
+ get(key) {
45
+ return this.all()[key];
46
+ }
47
+ set(key, value) {
48
+ const data = this.all();
49
+ data[key] = value;
50
+ this.save(data);
51
+ }
52
+ delete(key) {
53
+ const data = this.all();
54
+ const existed = Object.prototype.hasOwnProperty.call(data, key);
55
+ delete data[key];
56
+ this.save(data);
57
+ return existed;
58
+ }
59
+ save(data) {
60
+ const filePath = this.path();
61
+ mkdirSync(dirname(filePath), { recursive: true });
62
+ writeFileSync(filePath, JSON.stringify(data, null, 2) + "\n", "utf-8");
63
+ }
64
+ };
65
+
66
+ // src/core/logger.ts
67
+ var Logger = class {
68
+ constructor(getOptions) {
69
+ this.getOptions = getOptions;
70
+ }
71
+ getOptions;
72
+ /**
73
+ * 机器模式:进度与提示改走 stderr,stdout 只留给结构化结果。
74
+ *
75
+ * 只有显式开启的平台型命令(如 `auth init`)会打开它,默认关闭,
76
+ * 因此既有命令的 stdout 输出口径完全不变。
77
+ */
78
+ machineMode = false;
79
+ info(message) {
80
+ if (this.machineMode) {
81
+ console.error(message);
82
+ return;
83
+ }
84
+ const opts = this.getOptions();
85
+ if (!opts.quiet && !opts.json) {
86
+ console.log(message);
87
+ }
88
+ }
89
+ warn(message) {
90
+ const opts = this.getOptions();
91
+ if (!opts.quiet && !opts.json) {
92
+ console.warn(message);
93
+ }
94
+ }
95
+ error(message) {
96
+ console.error(message);
97
+ }
98
+ debug(message) {
99
+ const opts = this.getOptions();
100
+ if (opts.verbose && !opts.json) {
101
+ console.error("[debug] " + message);
102
+ }
103
+ }
104
+ };
105
+
106
+ // src/core/context.ts
107
+ function createCliContext(program, hooks, packageInfo) {
108
+ const getGlobalOptions = () => normalizeGlobalOptions(program.opts());
109
+ const configStore = new ConfigStore(() => {
110
+ const opts = getGlobalOptions();
111
+ const home = process.env.WEAVER_WORK_CLI_HOME || process.env.WORK_CLI_HOME || resolve2(homedir(), ".weaver-work-cli");
112
+ return opts.config ? resolve2(opts.config) : resolve2(home, "config.json");
113
+ });
114
+ const partialCtx = {
115
+ cwd: process.cwd(),
116
+ env: process.env,
117
+ program,
118
+ hooks,
119
+ packageInfo,
120
+ commands: [],
121
+ modules: [],
122
+ getGlobalOptions,
123
+ forCommand(command) {
124
+ return { ...ctx, activeCommand: command };
125
+ }
126
+ };
127
+ const ctx = partialCtx;
128
+ ctx.logger = new Logger(getGlobalOptions);
129
+ ctx.output = new Output(ctx);
130
+ ctx.config = configStore;
131
+ return ctx;
132
+ }
133
+
134
+ // src/core/hooks.ts
135
+ var HookManager = class {
136
+ hooks = {
137
+ beforeCommand: [],
138
+ afterCommand: [],
139
+ onError: [],
140
+ beforeRun: [],
141
+ afterRun: []
142
+ };
143
+ e10RequestInterceptors = [];
144
+ register(hooks) {
145
+ for (const [name, handler] of Object.entries(hooks)) {
146
+ if (handler) {
147
+ this.hooks[name].push(handler);
148
+ }
149
+ }
150
+ }
151
+ async beforeCommand(ctx) {
152
+ for (const hook of this.hooks.beforeCommand) {
153
+ await hook(ctx);
154
+ }
155
+ }
156
+ async afterCommand(ctx, result) {
157
+ for (const hook of this.hooks.afterCommand) {
158
+ await hook(ctx, result);
159
+ }
160
+ }
161
+ async onError(ctx, error) {
162
+ for (const hook of this.hooks.onError) {
163
+ await hook(ctx, error);
164
+ }
165
+ }
166
+ async beforeRun(ctx) {
167
+ for (const hook of this.hooks.beforeRun) {
168
+ await hook(ctx);
169
+ }
170
+ }
171
+ async afterRun(ctx, result) {
172
+ for (const hook of this.hooks.afterRun) {
173
+ await hook(ctx, result);
174
+ }
175
+ }
176
+ registerE10RequestInterceptor(interceptor) {
177
+ this.e10RequestInterceptors.push(interceptor);
178
+ }
179
+ getE10RequestInterceptors() {
180
+ return this.e10RequestInterceptors;
181
+ }
182
+ };
183
+
184
+ // src/cmd/root.ts
185
+ var CLI_COMMAND_NAME = "weaver-work-cli";
186
+ function readPackageInfo() {
187
+ const pkg = JSON.parse(readFileSync2(packagePath("package.json"), "utf-8"));
188
+ return {
189
+ name: pkg.name || CLI_COMMAND_NAME,
190
+ version: pkg.version || "0.0.0",
191
+ description: pkg.description
192
+ };
193
+ }
194
+ function createProgram() {
195
+ const packageInfo = readPackageInfo();
196
+ const program = new Command();
197
+ const hooks = new HookManager();
198
+ const ctx = createCliContext(program, hooks, packageInfo);
199
+ program.name(CLI_COMMAND_NAME).description(packageInfo.description || "Extensible TypeScript CLI").version(packageInfo.version).option("--json", "print command output as JSON").option("--quiet", "suppress non-error logs").option("--verbose", "print debug logs").option("--config <path>", "use a custom weaver-work-cli config file").option("--auth <path>", "use a specific E10 auth file").option("--profile <name>", "use a specific E10 profile").option("--runtime-agent <name>", "identify the current agent runtime (for example: xiaoe)").option(
200
+ "--is-connector [value]",
201
+ "run as the WorkBuddy connector: use the fixed E10 profile managed by the connector"
202
+ ).option("--base-url <url>", "override E10 base URL").option("--passport-url <url>", "override E10 passport URL");
203
+ program.showHelpAfterError();
204
+ return { program, ctx };
205
+ }
206
+
207
+ export {
208
+ createProgram
209
+ };
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  isEsbFlowUnavailable
5
- } from "./chunk-B4NINGP2.js";
5
+ } from "./chunk-OQCK5SAU.js";
6
6
  import {
7
7
  esbValidationError
8
8
  } from "./chunk-TXUG266F.js";
@@ -0,0 +1,28 @@
1
+ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
+ const require = __esbuildCreateRequire(import.meta.url);
3
+
4
+ // src/core/connector.ts
5
+ var CONNECTOR_PROFILE = "eteams";
6
+ function isConnectorEnabled(value) {
7
+ if (value === void 0 || value === null || value === false) return false;
8
+ if (value === true) return true;
9
+ const normalized = String(value).trim().toLowerCase();
10
+ return normalized === "" || normalized === "true" || normalized === "1" || normalized === "yes";
11
+ }
12
+ var connectorMode = false;
13
+ function isConnectorMode() {
14
+ return connectorMode;
15
+ }
16
+ function normalizeGlobalOptions(options) {
17
+ if (!isConnectorEnabled(options.isConnector)) {
18
+ connectorMode = false;
19
+ return options;
20
+ }
21
+ connectorMode = true;
22
+ return { ...options, profile: CONNECTOR_PROFILE };
23
+ }
24
+
25
+ export {
26
+ isConnectorMode,
27
+ normalizeGlobalOptions
28
+ };
@@ -0,0 +1,38 @@
1
+ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
+ const require = __esbuildCreateRequire(import.meta.url);
3
+
4
+ // src/cmd/argv.ts
5
+ var VALUE_TAKING_GLOBAL_OPTIONS = /* @__PURE__ */ new Set([
6
+ "--config",
7
+ "--auth",
8
+ "--profile",
9
+ "--runtime-agent",
10
+ "--base-url",
11
+ "--passport-url"
12
+ ]);
13
+ function firstPositionalToken(argv) {
14
+ for (let index = 0; index < argv.length; index += 1) {
15
+ const token = argv[index];
16
+ if (token === void 0) return void 0;
17
+ if (token === "--") return argv[index + 1];
18
+ if (token.startsWith("-")) {
19
+ if (VALUE_TAKING_GLOBAL_OPTIONS.has(token)) index += 1;
20
+ continue;
21
+ }
22
+ return token;
23
+ }
24
+ return void 0;
25
+ }
26
+ function toCommandMetadata(commands) {
27
+ return commands.map((command) => ({
28
+ name: command.name,
29
+ description: command.description,
30
+ category: command.category
31
+ }));
32
+ }
33
+
34
+ export {
35
+ VALUE_TAKING_GLOBAL_OPTIONS,
36
+ firstPositionalToken,
37
+ toCommandMetadata
38
+ };