weaver-work-cli 0.1.70 → 0.1.73

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 (263) hide show
  1. package/dist/chunks/{archive-VUTREF3P.js → archive-THZV4ND4.js} +22 -5
  2. package/dist/chunks/{archive-oa-VXXO4RTB.js → archive-oa-PQ23OLEV.js} +17 -5
  3. package/dist/chunks/{asset-45U6TY7I.js → asset-RGPROZYH.js} +22 -5
  4. package/dist/chunks/{asset-idle-YCRBMTIT.js → asset-idle-Z2PDX7NA.js} +15 -5
  5. package/dist/chunks/{attachment-content-DMU7KNZ7.js → attachment-content-R3RPVOYE.js} +3 -3
  6. package/dist/chunks/{blog-5AML4WMG.js → blog-7U3QZPIF.js} +25 -5
  7. package/dist/chunks/{caizhilian-3P7BUNHT.js → caizhilian-3AB42GCV.js} +22 -8
  8. package/dist/chunks/{calendar-2HUXM3CZ.js → calendar-KINM64E4.js} +15 -5
  9. package/dist/chunks/{chunk-EHH363SP.js → chunk-2CHGUYMG.js} +4 -4
  10. package/dist/chunks/{chunk-GWM5TLIK.js → chunk-2XED2FKY.js} +34 -34
  11. package/dist/chunks/{chunk-DVFA3ODS.js → chunk-35A56FJ7.js} +12 -0
  12. package/dist/chunks/{chunk-QYDSTYGG.js → chunk-4BXR6CNB.js} +3 -3
  13. package/dist/chunks/{chunk-KDOJW5LH.js → chunk-4I26YMBY.js} +1 -1
  14. package/dist/chunks/{chunk-X6PMJQGO.js → chunk-4YXAK6OA.js} +19 -8
  15. package/dist/chunks/{chunk-HG6INLH6.js → chunk-54ST55IJ.js} +28 -7
  16. package/dist/chunks/{chunk-DSBV4GRK.js → chunk-6HT73VOI.js} +3 -3
  17. package/dist/chunks/{chunk-4W6BSNIL.js → chunk-7QFVXP2X.js} +6 -6
  18. package/dist/chunks/{chunk-I5XB4MZT.js → chunk-AMAPQVBT.js} +95 -65
  19. package/dist/chunks/{chunk-L2A3COWV.js → chunk-BWYVS62Z.js} +4 -4
  20. package/dist/chunks/{chunk-UPVAQJKS.js → chunk-DRUND2PJ.js} +130 -79
  21. package/dist/chunks/{chunk-LJE7RZNC.js → chunk-F4HM25K4.js} +1 -1
  22. package/dist/chunks/{chunk-T24EBWAZ.js → chunk-GAMGDNTF.js} +48 -21
  23. package/dist/chunks/{chunk-H2NRTGZR.js → chunk-GWJLAF6B.js} +3 -3
  24. package/dist/chunks/{chunk-XIBMZEDB.js → chunk-IBSJJGXL.js} +2 -2
  25. package/dist/chunks/{chunk-VZUH3LKI.js → chunk-ICP53R52.js} +167 -157
  26. package/dist/chunks/{chunk-LRKKKO5A.js → chunk-IU6UB2TD.js} +3 -4
  27. package/dist/chunks/{chunk-GTAFCAVP.js → chunk-IZCQU5D5.js} +1 -1
  28. package/dist/chunks/{chunk-727VKJQK.js → chunk-JMJBPP4B.js} +2 -2
  29. package/dist/chunks/{chunk-UVWW5ABZ.js → chunk-L7TYG5SN.js} +3 -3
  30. package/dist/chunks/{chunk-HAORST2G.js → chunk-LLCMOZ5L.js} +11 -11
  31. package/dist/chunks/{chunk-U3OO3IZF.js → chunk-NUP4RYZK.js} +20 -7
  32. package/dist/chunks/{chunk-IVCOZCAW.js → chunk-PAFOLIYQ.js} +1 -1
  33. package/dist/chunks/{chunk-LSVA7QA6.js → chunk-R3MK2RBN.js} +3 -1
  34. package/dist/chunks/{chunk-GFOFUH6O.js → chunk-TV46Q4NY.js} +52 -51
  35. package/dist/chunks/chunk-WM33BSIL.js +136 -0
  36. package/dist/chunks/{chunk-7CINV2BU.js → chunk-XZBYRYWX.js} +2 -2
  37. package/dist/chunks/{chunk-E7VWE2XI.js → chunk-ZWLWXHJC.js} +3 -3
  38. package/dist/chunks/{conflict-YW5BULJ3.js → conflict-VPAR7E6F.js} +2 -2
  39. package/dist/chunks/{contract-3PMHUASH.js → contract-DDXAO2DZ.js} +48 -5
  40. package/dist/chunks/{cowork-FZBTTBYX.js → cowork-34QCHMDD.js} +37 -8
  41. package/dist/chunks/{create-flow-5OBS3B3V.js → create-flow-52PU2OBI.js} +6 -6
  42. package/dist/chunks/{data-2YZ6A6TL.js → data-CLQ62QGD.js} +99 -184
  43. package/dist/chunks/{ebuilder-form-AWPTMZBZ.js → ebuilder-form-W5R7Q22S.js} +17 -7
  44. package/dist/chunks/{ehr-MNPR4TE5.js → ehr-LCNAVMK5.js} +67 -17
  45. package/dist/chunks/{entry-mode-L65OWPFM.js → entry-mode-6Z3ZV3DE.js} +3 -3
  46. package/dist/chunks/{env-XW7LYIME.js → env-RDKWAARB.js} +2 -2
  47. package/dist/chunks/{esb-GSB5QCEX.js → esb-ANKPUU65.js} +17 -7
  48. package/dist/chunks/{factory-MHFZZAGH.js → factory-434B7RAT.js} +1 -1
  49. package/dist/chunks/{fna-XBSNUS2V.js → fna-AKBSG5HI.js} +15 -5
  50. package/dist/chunks/{group-chat-EEOLO5NM.js → group-chat-PROTW22R.js} +3 -3
  51. package/dist/chunks/{host-NVDG3NC6.js → host-5R2SNFWD.js} +4 -4
  52. package/dist/chunks/{host-2UMNXX5H.js → host-7FJW4E7R.js} +4 -4
  53. package/dist/chunks/{host-XVWBOSEN.js → host-CGXUFQO4.js} +4 -4
  54. package/dist/chunks/{host-R7BP3CTI.js → host-PDJAKCT7.js} +6 -4
  55. package/dist/chunks/{host-SYPCA63D.js → host-WO4L5G5I.js} +4 -4
  56. package/dist/chunks/{host-BD44ASOD.js → host-XIYG4F4B.js} +4 -4
  57. package/dist/chunks/{hrm-FZUDJAND.js → hrm-WGODDTEH.js} +15 -6
  58. package/dist/chunks/{im-F5NENPD7.js → im-YKTKAJU3.js} +16 -6
  59. package/dist/chunks/{invoice-DS6FLU55.js → invoice-PVYCCCVM.js} +27 -6
  60. package/dist/chunks/{jiuchuanhui-JCBUR563.js → jiuchuanhui-RKOQW7BY.js} +19 -6
  61. package/dist/chunks/{lazy-dispatch-F6O2EPGR.js → lazy-dispatch-DW45AFQ5.js} +6 -6
  62. package/dist/chunks/{mail-ZEOSANEJ.js → mail-BNB5S4NW.js} +116 -97
  63. package/dist/chunks/{meeting-PCD5EPBF.js → meeting-O2KDJH66.js} +29 -16
  64. package/dist/chunks/{minute-doc-WTZJVCHG.js → minute-doc-JUCG56GY.js} +4 -4
  65. package/dist/chunks/{okr-OZUMTMCL.js → okr-LWFGWOE7.js} +15 -5
  66. package/dist/chunks/{operations-LQY3FTPH.js → operations-2WHIF5WV.js} +1 -1
  67. package/dist/chunks/{operations-UTUWFJTX.js → operations-532PN5OB.js} +5 -5
  68. package/dist/chunks/{performance-SMVTPK6T.js → performance-7W5COCFU.js} +92 -7
  69. package/dist/chunks/{plan-C2NENH42.js → plan-ZVY3IYTL.js} +15 -5
  70. package/dist/chunks/{project-FAJ2P3UR.js → project-SA62B7MH.js} +18 -5
  71. package/dist/chunks/{reception-NH6MJFPR.js → reception-NGIONPQ3.js} +128 -49
  72. package/dist/chunks/{recruit-stage-DPEFHLSE.js → recruit-stage-WOSN6MGP.js} +1264 -197
  73. package/dist/chunks/{registry-FTPUUHWC.js → registry-N7P3W2RD.js} +5 -5
  74. package/dist/chunks/{registry-3B3OAJYX.js → registry-R72GWXOG.js} +4 -4
  75. package/dist/chunks/{registry-ZQ7OONCB.js → registry-RIQ67ZT7.js} +12 -12
  76. package/dist/chunks/{room-recommend-73NBN3RU.js → room-recommend-KCGIVUFR.js} +4 -4
  77. package/dist/chunks/{schedule-SDBOBBUQ.js → schedule-6UP27HQ4.js} +4 -4
  78. package/dist/chunks/{smart-extract-GTYKF5TJ.js → smart-extract-DDOQSPRB.js} +19 -6
  79. package/dist/chunks/{workflow-OWHWLAOX.js → workflow-V5ALD6QZ.js} +22 -8
  80. package/dist/cmd/auth/index.js +23 -0
  81. package/dist/cmd/e10/index.js +2 -1
  82. package/dist/cmd/index.js +2 -0
  83. package/dist/core/manifest-view.js +207 -0
  84. package/dist/core/output.js +42 -8
  85. package/dist/index.js +35 -35
  86. package/dist/internal/e10/auth/crypto.js +18 -8
  87. package/dist/internal/e10/auth/error-log.js +1 -2
  88. package/dist/internal/e10/auth/messages.js +2 -3
  89. package/dist/internal/e10/auth/xiaoe.js +1 -1
  90. package/dist/internal/e10/tls-policy.js +61 -13
  91. package/dist/shortcuts/archive/index.js +11 -2
  92. package/dist/shortcuts/archive/operations/download.js +1 -0
  93. package/dist/shortcuts/archive/operations/flow-url.js +3 -0
  94. package/dist/shortcuts/archive/operations/prelib.js +2 -0
  95. package/dist/shortcuts/archive/operations/upload.js +1 -0
  96. package/dist/shortcuts/archive-oa/index.js +11 -2
  97. package/dist/shortcuts/archive-oa/operations/borrow-car.js +2 -0
  98. package/dist/shortcuts/asset/index.js +11 -2
  99. package/dist/shortcuts/asset/manifest.js +7 -0
  100. package/dist/shortcuts/asset-idle/index.js +11 -2
  101. package/dist/shortcuts/blog/index.js +11 -2
  102. package/dist/shortcuts/blog/manifest.js +10 -0
  103. package/dist/shortcuts/caizhilian/host.js +20 -4
  104. package/dist/shortcuts/caizhilian/index.js +12 -2
  105. package/dist/shortcuts/caizhilian/manifest.js +4 -25
  106. package/dist/shortcuts/caizhilian/operations/handlers/search.js +34 -0
  107. package/dist/shortcuts/caizhilian/operations/registry.js +25 -1
  108. package/dist/shortcuts/calendar/index.js +11 -2
  109. package/dist/shortcuts/contract/index.js +11 -2
  110. package/dist/shortcuts/contract/manifest.js +32 -0
  111. package/dist/shortcuts/contract/operations/write.js +3 -0
  112. package/dist/shortcuts/cowork/index.js +21 -5
  113. package/dist/shortcuts/cowork/manifest.js +3 -0
  114. package/dist/shortcuts/cowork/operations/discuss-write.js +2 -0
  115. package/dist/shortcuts/cowork/operations/item-write.js +3 -0
  116. package/dist/shortcuts/cowork/operations/member-write.js +2 -0
  117. package/dist/shortcuts/cowork/operations/permission-write.js +2 -0
  118. package/dist/shortcuts/cowork/operations/review-write.js +1 -0
  119. package/dist/shortcuts/data/errors.js +16 -29
  120. package/dist/shortcuts/data/host.js +16 -7
  121. package/dist/shortcuts/data/index.js +12 -41
  122. package/dist/shortcuts/data/manifest.js +5 -44
  123. package/dist/shortcuts/data/operations/attend.js +2 -2
  124. package/dist/shortcuts/data/operations/conf.js +0 -88
  125. package/dist/shortcuts/data/operations/ds.js +4 -4
  126. package/dist/shortcuts/data/operations/index.js +1 -5
  127. package/dist/shortcuts/data/operations/module.js +40 -14
  128. package/dist/shortcuts/data/operations/query.js +2 -2
  129. package/dist/shortcuts/ebuilder-form/index.js +11 -2
  130. package/dist/shortcuts/ebuilder-form/manifest.js +12 -0
  131. package/dist/shortcuts/ehr/index.js +11 -2
  132. package/dist/shortcuts/ehr/operations/attend-write.js +51 -8
  133. package/dist/shortcuts/ehr/operations/recruit-position.js +4 -3
  134. package/dist/shortcuts/ehr/operations/recruit-short-cache.js +6 -2
  135. package/dist/shortcuts/ehr/operations/recruit-write.js +3 -3
  136. package/dist/shortcuts/ehr/operations/recruit.js +206 -82
  137. package/dist/shortcuts/ehr/operations/shared.js +31 -0
  138. package/dist/shortcuts/esb/index.js +11 -2
  139. package/dist/shortcuts/esb/manifest.js +2 -0
  140. package/dist/shortcuts/fna/index.js +11 -2
  141. package/dist/shortcuts/hrm/index.js +11 -1
  142. package/dist/shortcuts/im/index.js +11 -2
  143. package/dist/shortcuts/invoice/index.js +11 -2
  144. package/dist/shortcuts/invoice/manifest.js +8 -0
  145. package/dist/shortcuts/jiuchuanhui/index.js +15 -1
  146. package/dist/shortcuts/jiuchuanhui/manifest.js +2 -0
  147. package/dist/shortcuts/mail/errors.js +14 -0
  148. package/dist/shortcuts/mail/index.js +23 -6
  149. package/dist/shortcuts/mail/manifest.js +11 -4
  150. package/dist/shortcuts/mail/operations/mail-blacklist.js +6 -6
  151. package/dist/shortcuts/mail/operations/mail-contacts.js +10 -10
  152. package/dist/shortcuts/mail/operations/mail-manage.js +15 -14
  153. package/dist/shortcuts/mail/operations/mail-read.js +7 -25
  154. package/dist/shortcuts/mail/operations/mail-send.js +12 -12
  155. package/dist/shortcuts/mail/operations/mail-sign.js +10 -10
  156. package/dist/shortcuts/mail/operations/mail-template.js +10 -10
  157. package/dist/shortcuts/meeting/index.js +11 -2
  158. package/dist/shortcuts/meeting/operations/invitation-publish.js +1 -0
  159. package/dist/shortcuts/okr/index.js +11 -2
  160. package/dist/shortcuts/performance/index.js +62 -3
  161. package/dist/shortcuts/performance/scheme-validate.js +7 -0
  162. package/dist/shortcuts/performance/shared.js +40 -2
  163. package/dist/shortcuts/plan/index.js +11 -2
  164. package/dist/shortcuts/project/index.js +11 -2
  165. package/dist/shortcuts/project/operations/write.js +3 -0
  166. package/dist/shortcuts/reception/constants.js +22 -0
  167. package/dist/shortcuts/reception/index.js +15 -2
  168. package/dist/shortcuts/reception/manifest.js +17 -3
  169. package/dist/shortcuts/reception/operations/ask.js +3 -0
  170. package/dist/shortcuts/reception/operations/doc.js +24 -11
  171. package/dist/shortcuts/reception/operations/docrender.js +18 -1
  172. package/dist/shortcuts/reception/operations/render-assets.js +93 -22
  173. package/dist/shortcuts/recruit-stage/context.js +12 -6
  174. package/dist/shortcuts/recruit-stage/index.js +22 -3
  175. package/dist/shortcuts/recruit-stage/manifest.js +2 -0
  176. package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +19 -10
  177. package/dist/shortcuts/recruit-stage/operations/jd-create.js +487 -38
  178. package/dist/shortcuts/recruit-stage/operations/list.js +72 -1
  179. package/dist/shortcuts/recruit-stage/operations/profile.js +194 -0
  180. package/dist/shortcuts/recruit-stage/operations/registry.js +20 -2
  181. package/dist/shortcuts/recruit-stage/operations/resume-import.js +258 -63
  182. package/dist/shortcuts/recruit-stage/operations/search.js +226 -27
  183. package/dist/shortcuts/recruit-stage/operations/shortlist.js +122 -0
  184. package/dist/shortcuts/recruit-stage/operations/tag.js +17 -3
  185. package/dist/shortcuts/recruit-stage/shared.js +158 -4
  186. package/dist/shortcuts/smart-extract/index.js +11 -2
  187. package/dist/shortcuts/smart-extract/manifest.js +1 -0
  188. package/dist/shortcuts/smart-extract/operations/save.js +2 -0
  189. package/dist/shortcuts/workflow/index.js +21 -1
  190. package/dist/shortcuts/workflow/operations/form.js +36 -2
  191. package/dist/shortcuts/workflow/operations/read.js +2 -2
  192. package/dist/shortcuts/workflow/operations/write.js +1 -1
  193. package/docs/caizhilian.md +1 -1
  194. package/docs/contract.md +1 -0
  195. package/docs/data.md +22 -22
  196. package/docs/e10-auth.md +41 -33
  197. package/docs/ehr.md +2 -0
  198. package/docs/reception.md +4 -3
  199. package/package.json +1 -1
  200. package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
  201. package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
  202. package/scripts/pysite/sitecustomize.py +41 -0
  203. package/skill-template/domains/data.md +4 -4
  204. package/skills/weaver-e10-caizhilian/SKILL.md +1 -1
  205. package/skills/weaver-e10-caizhilian/references/org-browser.md +1 -0
  206. package/skills/weaver-e10-cowork/SKILL.md +3 -1
  207. package/skills/weaver-e10-data/SKILL.md +12 -16
  208. package/skills/weaver-e10-data/references/config-center.md +6 -7
  209. package/skills/weaver-e10-data/references/datasource.md +1 -1
  210. package/skills/weaver-e10-data/references/scene-and-misc.md +2 -2
  211. package/skills/weaver-e10-jiuchuanhui/SKILL.md +6 -4
  212. package/skills/weaver-e10-jiuchuanhui/references/clue.md +2 -2
  213. package/skills/weaver-e10-jiuchuanhui/references/customer.md +18 -8
  214. package/skills/weaver-e10-jiuchuanhui/references/sale.md +2 -2
  215. package/skills/weaver-e10-jucailin/SKILL.md +7 -3
  216. package/skills/weaver-e10-jucailin/references/attend-write.md +1 -1
  217. package/skills/weaver-e10-jucailin/references/recruit-output-links.md +33 -0
  218. package/skills/weaver-e10-jucailin/references/recruit-write.md +2 -0
  219. package/skills/weaver-e10-mail/SKILL.md +4 -1
  220. package/skills/weaver-e10-mail/references/mail-read.md +4 -2
  221. package/skills/weaver-e10-mail/references/safety-boundaries.md +1 -0
  222. package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
  223. package/skills/weaver-e10-performance/SKILL.md +8 -6
  224. package/skills/weaver-e10-reception-flow/SKILL.md +97 -41
  225. package/skills/weaver-e10-reception-flow/references/guide.md +3 -1
  226. package/skills/weaver-e10-recruit-stage/SKILL.md +557 -75
  227. package/skills/weaver-e10-recruit-stage/agents/openai.yaml +67 -44
  228. package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +279 -0
  229. package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +198 -0
  230. package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +697 -0
  231. package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +507 -0
  232. package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +87 -0
  233. package/skills/weaver-e10-recruit-stage/references/position-templates.md +19 -18
  234. package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +19 -18
  235. package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +1 -1
  236. package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +1 -1
  237. package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +15 -2
  238. package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +37 -0
  239. package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +4 -4
  240. package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +64 -28
  241. package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +43 -2
  242. package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +41 -0
  243. package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +4 -4
  244. package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +2 -2
  245. package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +25 -7
  246. package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +51 -0
  247. package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +63 -0
  248. package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +4 -4
  249. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +2 -2
  250. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +58 -33
  251. package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +4 -4
  252. package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +5 -5
  253. package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +2 -2
  254. package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +11 -10
  255. package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +2 -2
  256. package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +2 -2
  257. package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +106 -0
  258. package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +325 -0
  259. package/skills/weaver-e10-recruit-stage/templates/match-report.html +265 -0
  260. package/skills/weaver-e10-shared/SKILL.md +22 -1
  261. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +2 -2
  262. package/skills/weaver-e10-yimiaoban/references/source-manifest.json +3 -3
  263. package/skills/weaver-e10-jucailin/references/source-manifest.json +0 -152
@@ -29,7 +29,7 @@ weaver-work-cli auth whoami
29
29
  - 业务命令失败,stderr JSON 中 `error.type === "authentication"`(如 `E10 auth not found`)
30
30
  - 业务命令返回 `error.subtype === "session_expired"`(E10 登录态 401/302 失效)
31
31
 
32
- CLI 的认证错误只是状态信号,不是登录命令。已有 XiaoE 会话达到换票结果的 `expiryTimes` 时,CLI 会在业务请求发出前静默换票;被接口判定过期时,公共请求层会根据持久化会话的 `agentType` / `loginSource` 自动恢复,不依赖 `XIAOE_*`、`--runtime-agent xiaoe`、shared Skill 或 Agent。业务命令无可读取的本地会话时,若当前 `XIAOE_*`、`--runtime-agent xiaoe` 等标记已识别为 XiaoE,公共会话加载层也会先静默获取登录信息。失败时返回 `xiaoe_credential_unavailable`,提示已尝试自动获取,Agent 只反馈并停止;不要再次登录或重跑。该错误的 `details` 会带 `attemptedSteps`(按序评估过的凭证通道及结果,如 `platform_token:missing`、`e10_session:failed`)、`lastError`(最后一条真实原因)与 `baseUrl`,另有 `failures` 记录每一次失败的阶段(`platform_token` / `bundled_env_script` / `token_script` / `client_session` / `teams_check` / `e10_session`)、类别(`network` / `http` / `credential`)以及网络错误的 `causeCode`(如 `ECONNREFUSED`、`ETIMEDOUT`)和 HTTP 的 `httpStatus`。完整请求只保存在 `auth logs` 对应日志的 `failure.request` 中,并由 `auth logs show` 渲染为 `requestParams`;业务错误的 stderr / `error.details.failures` 不包含 `request`。鉴权头固定显示 `<redacted>`,不得要求或输出明文 Token。需要过程日志时由用户在业务命令上加 `--verbose`。失败全程都是网络错误时,子类型改为 `xiaoe_network_unavailable`、`retryable: true`,文案为「暂时无法连接 E10,请稍后重试」:这不是凭据问题,只提示稍后重试,不要让用户去重新登录。若最后一次失败是证书链不受信任(`SELF_SIGNED_CERT_IN_CHAIN`、`self-signed certificate in certificate chain` 等),子类型改为 `xiaoe_tls_untrusted`、`retryable: false`:这也不是凭据问题,文案已给出 `WEAVER_E10_CA_FILE`(Node ≥ 22.15)与 `NODE_EXTRA_CA_CERTS`(更低版本)两条配置方式,如实转达并停止,不要引导重新登录、换账号或反复重试。`WEAVER_E10_TLS_INSECURE=1` 是排障用的逃生口(关闭本进程全部证书校验,票据可能被截获):**Agent 不得自行添加该变量**,只能在用户明确要求排查时按原样提示,且提醒其确认后立即去掉。需要在业务命令之前主动建立会话时,可按下述流程显式登录。
32
+ CLI 的认证错误只是状态信号,不是登录命令。已有 XiaoE 会话达到换票结果的 `expiryTimes` 时,CLI 会在业务请求发出前静默换票;被接口判定过期时,公共请求层会根据持久化会话的 `agentType` / `loginSource` 自动恢复,不依赖 `XIAOE_*`、`--runtime-agent xiaoe`、shared Skill 或 Agent。业务命令无可读取的本地会话时,若当前 `XIAOE_*`、`--runtime-agent xiaoe` 等标记已识别为 XiaoE,公共会话加载层也会先静默获取登录信息。失败时返回 `xiaoe_credential_unavailable`,提示已尝试自动获取,Agent 只反馈并停止;不要再次登录或重跑。该错误的 `details` 会带 `attemptedSteps`(按序评估过的凭证通道及结果,如 `platform_token:missing`、`e10_session:failed`)、`lastError`(最后一条真实原因)与 `baseUrl`,另有 `failures` 记录每一次失败的阶段(`platform_token` / `bundled_env_script` / `token_script` / `client_session` / `teams_check` / `e10_session`)、类别(`network` / `http` / `credential`)以及网络错误的 `causeCode`(如 `ECONNREFUSED`、`ETIMEDOUT`)和 HTTP 的 `httpStatus`。完整请求只保存在 `auth logs` 对应日志的 `failure.request` 中,并由 `auth logs show` 渲染为 `requestParams`;业务错误的 stderr / `error.details.failures` 不包含 `request`。鉴权头固定显示 `<redacted>`,不得要求或输出明文 Token。需要过程日志时由用户在业务命令上加 `--verbose`。失败全程都是网络错误时,子类型改为 `xiaoe_network_unavailable`、`retryable: true`,文案为「暂时无法连接 E10,请稍后重试」:这不是凭据问题,只提示稍后重试,不要让用户去重新登录。CLI 相关请求**默认校验证书**(系统信任链,或 `WEAVER_E10_CA_FILE` 指定的网关 CA)。出现证书错误(`SELF_SIGNED_CERT_IN_CHAIN`、`self-signed certificate in certificate chain`、`[SSL: CERTIFICATE_VERIFY_FAILED]`)时先判断来源:`xiaoe_tls_untrusted` 表示网关证书不在信任链里,按文案引导用户配置 `WEAVER_E10_CA_FILE`(Node 低于 22.15 用 `NODE_EXTRA_CA_CERTS`)后重试;错误来自技能自己起的脚本时,那部分不在 CLI 覆盖范围。任何情况下都不要引导重新登录或反复重试,也**不得自行改写环境变量**(`WEAVER_E10_TLS_INSECURE` / `NODE_TLS_REJECT_UNAUTHORIZED`)来绕过。需要在业务命令之前主动建立会话时,可按下述流程显式登录。
33
33
 
34
34
  显式 `auth xiaoe` 或静默重新获取登录信息失败时,CLI 会把脱敏诊断持久化到固定的
35
35
  XiaoE 认证错误日志;日志不包含 Cookie、ETEAMSID、Token 或原始服务端详情。需要排查时
@@ -77,7 +77,7 @@ XiaoE 认证错误日志;日志不包含 Cookie、ETEAMSID、Token 或原始
77
77
 
78
78
  `auth login` 会在本机 `127.0.0.1:19800` 监听浏览器回调,最长等待 5 分钟。Agent 沙箱/托管环境中的外部浏览器无法回调容器内地址。`auth xiaoe` 不会进入这条浏览器流程。执行规则:
79
79
 
80
- 1. 任意系统运行 `auth xiaoe` 时,收到 `xiaoe_credential_unavailable` 即反馈并停止;不要自动改跑 `auth login`。收到 `xiaoe_network_unavailable` 同样是停止,但按「暂时无法连接 E10」反馈并建议稍后重试。收到 `xiaoe_tls_untrusted` 也是停止,但按文案提示配置网关 CA(`WEAVER_E10_CA_FILE`,Node < 22.15 用 `NODE_EXTRA_CA_CERTS`),不引导重新登录。
80
+ 1. 任意系统运行 `auth xiaoe` 时,收到 `xiaoe_credential_unavailable` 即反馈并停止;不要自动改跑 `auth login`。收到 `xiaoe_network_unavailable` 同样是停止,但按「暂时无法连接 E10」反馈并建议稍后重试。收到 `xiaoe_tls_untrusted` 也是停止:说明网关 CA 不在当前信任链里(默认就校验证书),按文案引导配置 `WEAVER_E10_CA_FILE` 后由用户重试,不引导重新登录。
81
81
  2. 仅非 XiaoE 环境在用户确认真实 E10 域名且确认 CLI 与浏览器同机后执行 `auth login`;仍须限时等待,超时未完成即终止并反馈。
82
82
  3. 仅非 XiaoE 环境在用户无法完成浏览器登录、且明确要求并同意人工录入时,才可使用保底方式 `weaver-work-cli auth set --eteamsid "<ETEAMSID>" --base-url "<用户确认的登录域名>"`;它不是业务认证错误的默认恢复路径。ETEAMSID 由用户从已登录浏览器主动提供,Agent 不得索取、展示或转述该值。
83
83
  4. 严禁不加限制地前台运行 `auth xiaoe` / `auth login` 并等待 OAuth 回调。
@@ -2273,7 +2273,7 @@
2273
2273
  }
2274
2274
  },
2275
2275
  "artifactBaseline": {
2276
- "aggregateSha256": "e7073985094add68d63e9cd1e5f6d0040d1e3a3904a0389cad991d5aaa46bc7b",
2276
+ "aggregateSha256": "e4ed68beb3a8a553e78328be3731b891764ebfe45d08776f2f64fbd3dd8320a8",
2277
2277
  "files": [
2278
2278
  {
2279
2279
  "path": "docs/im.md",
@@ -2391,8 +2391,8 @@
2391
2391
  {
2392
2392
  "path": "src/shortcuts/im/index.ts",
2393
2393
  "role": "generated-cli",
2394
- "size": 19019,
2395
- "sha256": "2b3ee646f7da5a86713cad294e06843eefc3932a5603b0650a45e56397ded6d1"
2394
+ "size": 19791,
2395
+ "sha256": "10e62421981c830a57202d4f3a06cf97a08a30e7845354ec81fa3f29e173ec42"
2396
2396
  },
2397
2397
  {
2398
2398
  "path": "src/shortcuts/im/manifest.ts",
@@ -1,152 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "skill": "weaver-e10-jucailin",
4
- "generatedFrom": {
5
- "sourceSkill": "weaver-e10-jucailin",
6
- "version": "1.0.19",
7
- "path": "business-apis/ehr",
8
- "kind": "workbuddy-document-skill"
9
- },
10
- "generatedAt": "2026-09-11",
11
- "scope": {
12
- "included": [
13
- "hr",
14
- "salary",
15
- "attend",
16
- "recruit"
17
- ]
18
- },
19
- "sourceFiles": [
20
- "references/attend-abnormal-get-list.md",
21
- "references/attend-appeal-get-calendar-detail.md",
22
- "references/attend-appeal-get-formid.md",
23
- "references/attend-appeal-get-list.md",
24
- "references/attend-appeal-save.md",
25
- "references/attend-appeal-update-result.md",
26
- "references/attend-card-check-pc.md",
27
- "references/attend-card-sign-mobile.md",
28
- "references/attend-catalog.md",
29
- "references/attend-leavestatis-get-report.md",
30
- "references/attend-module.md",
31
- "references/attend-orbit-query-list.md",
32
- "references/attend-report-get-summary.md",
33
- "references/attend-report-recalc-status.md",
34
- "references/attend-signrecord-get-list.md",
35
- "references/attend-summary-get-statistics.md",
36
- "references/attend-worktime-get-list.md",
37
- "references/hr-all-catalog.md",
38
- "references/hr-all-module.md",
39
- "references/hr-birthday-search-conditions.md",
40
- "references/hr-birthday-search-table.md",
41
- "references/hr-browser-complete.md",
42
- "references/hr-contact-col-list.md",
43
- "references/hr-contact-search-conditions.md",
44
- "references/hr-contact-search-count.md",
45
- "references/hr-contact-search-table.md",
46
- "references/hr-empchange-browser-complete.md",
47
- "references/hr-empchange-search-conditions.md",
48
- "references/hr-empchange-search-table.md",
49
- "references/hr-employee-timepoint-ds-fields.md",
50
- "references/hr-employee-timepoint-tp-getcountdata.md",
51
- "references/hr-employee-timepoint-tp-getlistdata.md",
52
- "references/hr-est-queries-ds-fields.md",
53
- "references/hr-est-queries-ds-getcountdata.md",
54
- "references/hr-est-queries-ds-getlistdata.md",
55
- "references/hr-est-queries-est-dc-emp-table.md",
56
- "references/hr-est-queries-est-emp-table.md",
57
- "references/hr-report-basic-ds-fields.md",
58
- "references/hr-report-basic-ds-getchartdata.md",
59
- "references/hr-report-basic-permissiontype.md",
60
- "references/hr-report-change-depttable.md",
61
- "references/hr-report-change-ds-fields.md",
62
- "references/hr-report-change-ds-getlistdata.md",
63
- "references/hr-report-change-permissiontype.md",
64
- "references/hr-report-dept-panel-depttable.md",
65
- "references/hr-report-dept-panel-ds-fields.md",
66
- "references/hr-report-dept-panel-ds-getlistdata.md",
67
- "references/hr-report-dept-panel-permissiontype.md",
68
- "references/hr-report-dismiss-ds-fields.md",
69
- "references/hr-report-dismiss-ds-getcountdata.md",
70
- "references/hr-report-dismiss-ds-getlistdata.md",
71
- "references/hr-report-hw-ds-fields.md",
72
- "references/hr-report-hw-hw-getcountdata.md",
73
- "references/hr-report-hw-hw-getlistdata.md",
74
- "references/hr-report-job-panel-ds-fields.md",
75
- "references/hr-report-job-panel-ds-getlistdata.md",
76
- "references/hr-report-job-panel-jobtable.md",
77
- "references/hr-report-job-panel-jobtypetable.md",
78
- "references/hr-report-job-panel-permissiontype.md",
79
- "references/hr-report-posi-panel-ds-fields.md",
80
- "references/hr-report-posi-panel-ds-getlistdata.md",
81
- "references/hr-report-posi-panel-permissiontype.md",
82
- "references/hr-report-posi-panel-positable.md",
83
- "references/hr-report-turn-ds-fields.md",
84
- "references/hr-report-turn-ds-getcountdata.md",
85
- "references/hr-report-turn-ds-getlistdata.md",
86
- "references/hr-report-turn-tp-emptable.md",
87
- "references/hr-report-v2-dept-emp-move-ds-fields.md",
88
- "references/hr-report-v2-dept-emp-move-ds-getcountdata.md",
89
- "references/hr-report-v2-dept-emp-move-ds-getlistdata.md",
90
- "references/hr-report-v2-dept-emp-move-tp-emptable.md",
91
- "references/hr-report-v2-dept-emp-props-sa.md",
92
- "references/hr-report-v2-dept-emp-props-table.md",
93
- "references/hrmsalary-catalog.md",
94
- "references/hrmsalary-module.md",
95
- "references/recruit-arrange-interview.md",
96
- "references/recruit-capability-check.md",
97
- "references/recruit-catalog.md",
98
- "references/recruit-check-install.md",
99
- "references/recruit-data-dictionary.md",
100
- "references/recruit-detail-action-buttons.md",
101
- "references/recruit-detail-base-info.md",
102
- "references/recruit-detail-batch-prepare.md",
103
- "references/recruit-detail-history-batch.md",
104
- "references/recruit-detail-interview.md",
105
- "references/recruit-detail-other-info.md",
106
- "references/recruit-detail-permission-check.md",
107
- "references/recruit-detail-process.md",
108
- "references/recruit-detail-remark.md",
109
- "references/recruit-edit-interview-feedback.md",
110
- "references/recruit-entry-cancel.md",
111
- "references/recruit-entry-list.md",
112
- "references/recruit-entry-onboard.md",
113
- "references/recruit-form-tag-map.md",
114
- "references/recruit-list-demand.md",
115
- "references/recruit-list-offer.md",
116
- "references/recruit-list-position.md",
117
- "references/recruit-module.md",
118
- "references/recruit-new-candidate.md",
119
- "references/recruit-resolve-creator.md",
120
- "references/recruit-resolve-employee.md",
121
- "references/recruit-resolve-metadata.md",
122
- "references/recruit-resume-parse.md",
123
- "references/recruit-search-candidate.md",
124
- "references/recruit-send-offer.md",
125
- "references/recruit-stats.md",
126
- "references/recruit-urge-feedback.md",
127
- "references/salary-bill-detail-my-salary-bill.md",
128
- "references/salary-bill-list-my-salary-bills.md",
129
- "references/salary-report-adjustment-record-list.md",
130
- "references/salary-report-employee-salary-list.md",
131
- "references/salary-report-welfare-list.md",
132
- "references/salary-siaccount-detail-query.md",
133
- "scripts/_init_env_cache.mjs",
134
- "scripts/e10-request.mjs",
135
- "scripts/recruit-arrange-interview.mjs",
136
- "scripts/recruit-cancel-change-entry.mjs",
137
- "scripts/recruit-detail.mjs",
138
- "scripts/recruit-edit-interview-feedback.mjs",
139
- "scripts/recruit-list.mjs",
140
- "scripts/recruit-new-candidate.mjs",
141
- "scripts/recruit-process-entry.mjs",
142
- "scripts/recruit-search.mjs",
143
- "scripts/recruit-send-offer.mjs",
144
- "scripts/recruit-stats.mjs",
145
- "scripts/recruit-urge-feedback.mjs",
146
- "scripts/write-op.mjs",
147
- "SKILL.md"
148
- ],
149
- "fingerprintAlgorithm": "sha256",
150
- "fingerprints": {},
151
- "note": "fingerprints 在首次生成时留空;源资料更新检测会按文件路径计算 sha256 并与此处比对。源资料更新后,同步更新 CLI 与 Skill,且在用户确认前不要覆盖已有产物。sourceFiles 仅登记随技能交付的源资料(SKILL.md + references/*.md + scripts/*.mjs);源码根下的治理与构建文件(GOVERNANCE.md、build_release.*、audit_spec_compliance.py 等)不参与交付,故不纳入基线。四个业务模块(hr/salary/attend/recruit)均已在 CLI 侧实现。"
152
- }