weaver-work-cli 0.1.62 → 0.1.63

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 (272) hide show
  1. package/dist/chunks/{archive-S2VKZWQ3.js → archive-BLDYBZDX.js} +5 -4
  2. package/dist/chunks/{archive-oa-HEDSIUUY.js → archive-oa-3GJ3TWXR.js} +5 -4
  3. package/dist/chunks/{asset-HYH4W357.js → asset-AFXJN4CK.js} +5 -4
  4. package/dist/chunks/{asset-idle-N7REBNGL.js → asset-idle-VUJXWGWJ.js} +5 -4
  5. package/dist/chunks/{attachment-content-VYYA75FR.js → attachment-content-VMJA7NSQ.js} +3 -3
  6. package/dist/chunks/{blog-SLMZZICV.js → blog-EREB35VU.js} +5 -4
  7. package/dist/chunks/{caizhilian-RV43KKBT.js → caizhilian-ATM2JO5S.js} +5 -5
  8. package/dist/chunks/{calendar-DMVZ4OLY.js → calendar-E26ZIH7S.js} +5 -4
  9. package/dist/chunks/{chunk-6XSSAUNW.js → chunk-4OB22YKE.js} +48 -12
  10. package/dist/chunks/{chunk-UBGWIXU3.js → chunk-5CY37VLS.js} +131 -38
  11. package/dist/chunks/{chunk-EGANE35F.js → chunk-6G2JARDK.js} +1 -1
  12. package/dist/chunks/{chunk-WIWDVETN.js → chunk-6VCQLZXE.js} +75 -76
  13. package/dist/chunks/{chunk-E5YD5JWR.js → chunk-BY3WDJO5.js} +1 -1
  14. package/dist/chunks/{chunk-IW7A2IQY.js → chunk-C4YQJFZV.js} +43 -15
  15. package/dist/chunks/{chunk-BQYX2UX5.js → chunk-C5PIGPGX.js} +5 -3
  16. package/dist/chunks/{chunk-UBRWONP4.js → chunk-EOZHSNND.js} +2 -2
  17. package/dist/chunks/{chunk-UQFPF4EX.js → chunk-G3ZM57PD.js} +2 -2
  18. package/dist/chunks/{chunk-XT77MP54.js → chunk-GOBNIGWS.js} +410 -24
  19. package/dist/chunks/{chunk-KY3R42RS.js → chunk-GQK6WLOS.js} +5 -3
  20. package/dist/chunks/{chunk-BIA2NKUG.js → chunk-HEJPVXD3.js} +5 -5
  21. package/dist/chunks/{chunk-ILALC2N6.js → chunk-I4C2KR2G.js} +1 -1
  22. package/dist/chunks/{chunk-YI2YMW5N.js → chunk-IGICM3WJ.js} +2 -2
  23. package/dist/chunks/chunk-IN6NXQ26.js +680 -0
  24. package/dist/chunks/{chunk-VBFBMM7G.js → chunk-LOVAIGM2.js} +387 -70
  25. package/dist/chunks/{chunk-H6YOMI3U.js → chunk-OMAGCLUE.js} +5 -3
  26. package/dist/chunks/{chunk-VNYOUAWV.js → chunk-QAMIIFP6.js} +11 -11
  27. package/dist/chunks/{chunk-QBDXJS2W.js → chunk-QZYKZ7MQ.js} +16 -8
  28. package/dist/chunks/{chunk-V2LASYKO.js → chunk-RR45ELVE.js} +30 -24
  29. package/dist/chunks/{chunk-NRYDJN4J.js → chunk-RV2JAA5I.js} +89 -8
  30. package/dist/chunks/{chunk-TEZHIB6T.js → chunk-SDPC7BG2.js} +5 -3
  31. package/dist/chunks/{chunk-T2KVJFWJ.js → chunk-SHBDXEUE.js} +4 -7
  32. package/dist/chunks/{chunk-P6TXQK75.js → chunk-THMBDCRA.js} +5 -3
  33. package/dist/chunks/chunk-TJN4PIYO.js +47 -0
  34. package/dist/chunks/{chunk-DTCQFTHW.js → chunk-TNFIUZ4H.js} +3 -3
  35. package/dist/chunks/{chunk-JFAWZX53.js → chunk-UPVAQJKS.js} +282 -131
  36. package/dist/chunks/{chunk-KXJA42EA.js → chunk-WPBZQVLS.js} +1 -1
  37. package/dist/chunks/{conflict-GFJRS6I7.js → conflict-AMNTM3FV.js} +2 -2
  38. package/dist/chunks/{contract-U3ZGNRWB.js → contract-PLO2V2NO.js} +2333 -4426
  39. package/dist/chunks/{cowork-EX7PKIDK.js → cowork-FZAXE6FO.js} +5 -4
  40. package/dist/chunks/{create-flow-EJZD434E.js → create-flow-2DAUN7HU.js} +16 -6
  41. package/dist/chunks/{data-FOODGAMF.js → data-7NXMWET4.js} +3 -3
  42. package/dist/chunks/{ebuilder-form-I2EOKODG.js → ebuilder-form-DEYHX6M7.js} +4 -4
  43. package/dist/chunks/{ehr-TE4RFNID.js → ehr-QQH2DYYA.js} +244 -151
  44. package/dist/chunks/{employee-DR5Y64TI.js → employee-PGMY6NI6.js} +1 -1
  45. package/dist/chunks/{entry-mode-ZOLSXEGX.js → entry-mode-2JTVEKMP.js} +3 -3
  46. package/dist/chunks/{env-TID5NFR6.js → env-2JZMXC6I.js} +2 -2
  47. package/dist/chunks/{esb-7L6MHYLB.js → esb-I5ZFHJUK.js} +8 -8
  48. package/dist/chunks/{factory-OG7BPMH5.js → factory-XIATYHU6.js} +1 -1
  49. package/dist/chunks/{fna-6V2ENR3Y.js → fna-3V2TL6B2.js} +5 -4
  50. package/dist/chunks/{group-chat-5DKPWIHL.js → group-chat-CVYUZCOQ.js} +3 -3
  51. package/dist/chunks/{host-TJ5VVHM7.js → host-4DP7C7YQ.js} +4 -4
  52. package/dist/chunks/{host-3DLYA54R.js → host-4KQCAEWA.js} +4 -4
  53. package/dist/chunks/{host-ONZC6AE7.js → host-4X2F3JPQ.js} +4 -4
  54. package/dist/chunks/{host-OGBHL75G.js → host-BD7NAM33.js} +4 -4
  55. package/dist/chunks/{host-VTPAWDZV.js → host-CBONEAZS.js} +4 -4
  56. package/dist/chunks/{host-GOJHHTPY.js → host-L37QVNIV.js} +4 -4
  57. package/dist/chunks/{hrm-2N7NFQDZ.js → hrm-OL3IKN7C.js} +6 -6
  58. package/dist/chunks/{im-XCH47ZBN.js → im-YXQWUF3R.js} +4 -4
  59. package/dist/chunks/{invoice-5KJ7T774.js → invoice-4WY32PR2.js} +4 -4
  60. package/dist/chunks/{jiuchuanhui-PL6DRPBM.js → jiuchuanhui-L6SHLONH.js} +5 -4
  61. package/dist/chunks/{lazy-dispatch-UATEN7H7.js → lazy-dispatch-OYE6QV24.js} +5 -5
  62. package/dist/chunks/{mail-Q7Z4CQ4D.js → mail-PZV2KNRU.js} +5 -4
  63. package/dist/chunks/{meeting-5E3BNARL.js → meeting-6SOBCC6N.js} +16 -15
  64. package/dist/chunks/{minute-doc-NXRE5C77.js → minute-doc-KSJSJNOH.js} +4 -4
  65. package/dist/chunks/{okr-3O3XNYOK.js → okr-B76FW5M2.js} +5 -4
  66. package/dist/chunks/{operations-EZWG72FH.js → operations-YOMEGFLV.js} +5 -5
  67. package/dist/chunks/{performance-Y7CPNSOR.js → performance-4VBKUPFO.js} +5 -4
  68. package/dist/chunks/{plan-BLGPZF5M.js → plan-HBNZRQTI.js} +5 -4
  69. package/dist/chunks/{project-6MZMLJMP.js → project-IV6FWK74.js} +5 -4
  70. package/dist/chunks/{reception-F2VT2X52.js → reception-BR5YURT6.js} +3 -3
  71. package/dist/chunks/{recruit-stage-4ETIBMIW.js → recruit-stage-4HQ6OGXT.js} +654 -336
  72. package/dist/chunks/{registry-I4DVPDMU.js → registry-7LICMV5J.js} +12 -12
  73. package/dist/chunks/{registry-3FYSWV3U.js → registry-JFQEFC7E.js} +3 -3
  74. package/dist/chunks/{registry-3UGIWH53.js → registry-JMNOXRST.js} +2 -2
  75. package/dist/chunks/{registry-7RS74TCK.js → registry-MZJQX65Q.js} +5 -5
  76. package/dist/chunks/{room-recommend-GWCVKCXW.js → room-recommend-43GLLE7Y.js} +4 -4
  77. package/dist/chunks/{schedule-6AN63MJQ.js → schedule-ZQ42BEW6.js} +4 -4
  78. package/dist/chunks/{smart-extract-SR4SJJKN.js → smart-extract-QKAEAZGM.js} +3 -3
  79. package/dist/chunks/{workflow-KF7FA2UQ.js → workflow-6HV7H5PC.js} +10 -7
  80. package/dist/index.js +34 -34
  81. package/dist/internal/e10/auth/commands.js +21 -1
  82. package/dist/internal/e10/auth/xiaoe.js +6 -2
  83. package/dist/internal/e10/auth-recovery.js +28 -2
  84. package/dist/internal/e10/request-runtime.js +15 -3
  85. package/dist/internal/e10/request-trace.js +65 -0
  86. package/dist/shortcuts/contract/data/metric-catalog.js +149 -0
  87. package/dist/shortcuts/contract/index.js +14 -39
  88. package/dist/shortcuts/contract/manifest.js +115 -270
  89. package/dist/shortcuts/contract/operations/compare-report.js +437 -0
  90. package/dist/shortcuts/contract/operations/compare.js +2 -0
  91. package/dist/shortcuts/contract/operations/first-screen.js +96 -207
  92. package/dist/shortcuts/contract/operations/flow.js +19 -1
  93. package/dist/shortcuts/contract/operations/{card-ebdf-list.js → ledger-card.js} +98 -25
  94. package/dist/shortcuts/contract/operations/ledger.js +315 -1
  95. package/dist/shortcuts/contract/operations/metrics.js +93 -0
  96. package/dist/shortcuts/contract/operations/modeltext.js +3 -3
  97. package/dist/shortcuts/contract/operations/page.js +8 -4
  98. package/dist/shortcuts/contract/operations/performance.js +53 -0
  99. package/dist/shortcuts/contract/operations/quote-recognize.js +289 -0
  100. package/dist/shortcuts/contract/operations/quote-submit.js +264 -0
  101. package/dist/shortcuts/contract/operations/recommend.js +42 -1
  102. package/dist/shortcuts/contract/operations/registry.js +16 -23
  103. package/dist/shortcuts/contract/operations/{card-risk-report.js → review-report.js} +24 -114
  104. package/dist/shortcuts/contract/operations/review.js +33 -167
  105. package/dist/shortcuts/contract/operations/save-recognize.js +173 -43
  106. package/dist/shortcuts/contract/operations/triage.js +13 -6
  107. package/dist/shortcuts/contract/operations/{template.js → type-clause-read.js} +10 -25
  108. package/dist/shortcuts/contract/operations/upload.js +17 -11
  109. package/dist/shortcuts/contract/prewarm-cache.js +6 -2
  110. package/dist/shortcuts/contract/prewarm.js +33 -23
  111. package/dist/shortcuts/contract/recommend-cache.js +191 -0
  112. package/dist/shortcuts/ehr/operations/recruit-interview-overview.js +85 -62
  113. package/dist/shortcuts/ehr/operations/recruit-position.js +21 -13
  114. package/dist/shortcuts/ehr/operations/recruit-short-cache.js +59 -0
  115. package/dist/shortcuts/ehr/operations/recruit-tag.js +17 -11
  116. package/dist/shortcuts/ehr/operations/recruit-write.js +118 -70
  117. package/dist/shortcuts/ehr/operations/recruit.js +338 -121
  118. package/dist/shortcuts/hrm/operations/employee.js +64 -17
  119. package/dist/shortcuts/hrm/operations/resolve.js +419 -369
  120. package/dist/shortcuts/im/host.js +38 -22
  121. package/dist/shortcuts/meeting/operations/eb/conflict.js +60 -2
  122. package/dist/shortcuts/meeting/operations/eb/create-flow.js +116 -7
  123. package/dist/shortcuts/meeting/operations/eb/create-form-link.js +380 -0
  124. package/dist/shortcuts/meeting/operations/eb/index.js +2 -0
  125. package/dist/shortcuts/meeting/operations/eb/room-recommend.js +1 -3
  126. package/dist/shortcuts/recruit-stage/batch-store.js +44 -0
  127. package/dist/shortcuts/recruit-stage/context.js +75 -9
  128. package/dist/shortcuts/recruit-stage/manifest.js +1 -1
  129. package/dist/shortcuts/recruit-stage/operations/jd-create.js +33 -22
  130. package/dist/shortcuts/recruit-stage/operations/list.js +187 -37
  131. package/dist/shortcuts/recruit-stage/operations/registry.js +2 -0
  132. package/dist/shortcuts/recruit-stage/operations/resume-import.js +231 -313
  133. package/dist/shortcuts/recruit-stage/operations/search.js +5 -5
  134. package/dist/shortcuts/recruit-stage/operations/tag.js +286 -0
  135. package/dist/shortcuts/workflow/endpoints.js +2 -0
  136. package/dist/shortcuts/workflow/operations/form.js +12 -15
  137. package/dist/shortcuts/workflow/operations/read.js +8 -8
  138. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoListRows.js +3 -2
  139. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +7 -6
  140. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +4 -3
  141. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.group.js +1 -0
  142. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +33 -6
  143. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.prepareQuery.js +153 -0
  144. package/dist/shortcuts/workflow/operations/todoSmartConvert/workflowClarification.js +232 -0
  145. package/dist/shortcuts/workflow/operations.js +5 -0
  146. package/docs/contract.md +2 -2
  147. package/docs/e10-auth.md +28 -0
  148. package/docs/ehr.md +1 -1
  149. package/package.json +1 -1
  150. package/skills/weaver-e10-hrm/SKILL.md +3 -3
  151. package/skills/weaver-e10-hrm/references/employee.md +13 -2
  152. package/skills/weaver-e10-jinchengda/SKILL.md +237 -347
  153. package/skills/weaver-e10-jinchengda/references/contract-agent-entry.md +7 -14
  154. package/skills/weaver-e10-jinchengda/references/contract-ai-assistant.md +21 -12
  155. package/skills/weaver-e10-jinchengda/references/contract-ai-review.md +109 -185
  156. package/skills/weaver-e10-jinchengda/references/contract-clause-insert.md +12 -4
  157. package/skills/weaver-e10-jinchengda/references/contract-clause-library-crud.md +28 -20
  158. package/skills/weaver-e10-jinchengda/references/contract-clause-recommender.md +12 -17
  159. package/skills/weaver-e10-jinchengda/references/contract-clause-reference-save.md +7 -13
  160. package/skills/weaver-e10-jinchengda/references/contract-command-index.md +21 -12
  161. package/skills/weaver-e10-jinchengda/references/contract-compare-report-template.html +10 -18
  162. package/skills/weaver-e10-jinchengda/references/contract-compare-report.md +18 -17
  163. package/skills/weaver-e10-jinchengda/references/contract-credit-page.md +114 -61
  164. package/skills/weaver-e10-jinchengda/references/contract-disabled-capabilities.md +8 -2
  165. package/skills/weaver-e10-jinchengda/references/contract-doc-compare.md +73 -104
  166. package/skills/weaver-e10-jinchengda/references/contract-doc-triage.md +32 -37
  167. package/skills/weaver-e10-jinchengda/references/contract-element-extract.md +12 -10
  168. package/skills/weaver-e10-jinchengda/references/contract-element-save-record.md +70 -82
  169. package/skills/weaver-e10-jinchengda/references/contract-execution-rules.md +37 -33
  170. package/skills/weaver-e10-jinchengda/references/contract-field-extract-new-customer.md +94 -27
  171. package/skills/weaver-e10-jinchengda/references/contract-field-extract-other-flows.md +5 -5
  172. package/skills/weaver-e10-jinchengda/references/contract-flow-launch.md +9 -15
  173. package/skills/weaver-e10-jinchengda/references/contract-ledger-catalog.md +9 -4
  174. package/skills/weaver-e10-jinchengda/references/contract-ledger-query-playbook.md +59 -32
  175. package/skills/weaver-e10-jinchengda/references/contract-ledger-rules.md +7 -5
  176. package/skills/weaver-e10-jinchengda/references/contract-modeltext-library.md +21 -13
  177. package/skills/weaver-e10-jinchengda/references/contract-multi-file.md +13 -13
  178. package/skills/weaver-e10-jinchengda/references/contract-object-detect.md +6 -5
  179. package/skills/weaver-e10-jinchengda/references/contract-open-web-pages.md +250 -0
  180. package/skills/weaver-e10-jinchengda/references/contract-performance-query.md +11 -20
  181. package/skills/weaver-e10-jinchengda/references/contract-quote-to-contract.md +203 -54
  182. package/skills/weaver-e10-jinchengda/references/contract-request-status.md +4 -11
  183. package/skills/weaver-e10-jinchengda/references/contract-request-write.md +11 -17
  184. package/skills/weaver-e10-jinchengda/references/contract-signing-subjects.md +11 -17
  185. package/skills/weaver-e10-jinchengda/references/contract-subject-create.md +5 -11
  186. package/skills/weaver-e10-jinchengda/references/contract-template-recommend.md +56 -7
  187. package/skills/weaver-e10-jinchengda/references/contract-workflow-discovery.md +10 -16
  188. package/skills/weaver-e10-jinchengda/references/orchestration.md +31 -33
  189. package/skills/weaver-e10-jucailin/SKILL.md +6 -7
  190. package/skills/weaver-e10-jucailin/agents/openai.yaml +52 -0
  191. package/skills/weaver-e10-jucailin/references/recruit-interview-overview.md +8 -6
  192. package/skills/weaver-e10-jucailin/references/recruit-read.md +4 -0
  193. package/skills/weaver-e10-jucailin/references/recruit-screening-to-interview-sop.md +2 -2
  194. package/skills/weaver-e10-jucailin/references/recruit-write.md +4 -4
  195. package/skills/weaver-e10-meeting/SKILL.md +83 -531
  196. package/skills/weaver-e10-meeting/references/commands-table.md +61 -0
  197. package/skills/weaver-e10-meeting/references/create-commands.md +136 -0
  198. package/skills/weaver-e10-meeting/references/create-flow.md +3 -1
  199. package/skills/weaver-e10-meeting/references/create-guardrails.md +14 -8
  200. package/skills/weaver-e10-meeting/references/custom-fields.md +40 -0
  201. package/skills/weaver-e10-meeting/references/eb-contracts.md +60 -0
  202. package/skills/weaver-e10-meeting/references/invitation.md +69 -0
  203. package/skills/weaver-e10-meeting/references/minutes-pipeline.md +119 -0
  204. package/skills/weaver-e10-meeting/references/pitfalls.md +1 -1
  205. package/skills/weaver-e10-meeting/references/room-recommend.md +88 -0
  206. package/skills/weaver-e10-recruit-stage/SKILL.md +317 -266
  207. package/skills/weaver-e10-recruit-stage/agents/openai.yaml +22 -27
  208. package/skills/weaver-e10-recruit-stage/references/env-ziyong.md +1 -1
  209. package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +30 -27
  210. package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +2 -6
  211. package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +12 -10
  212. package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +2 -0
  213. package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +23 -19
  214. package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +3 -1
  215. package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +18 -16
  216. package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +25 -23
  217. package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +10 -10
  218. package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +2 -2
  219. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +11 -11
  220. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +150 -85
  221. package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +14 -18
  222. package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +1 -1
  223. package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +173 -0
  224. package/skills/weaver-e10-recruit-stage/references/recruit-tag-taxonomy.json +76 -0
  225. package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +3 -1
  226. package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +2 -2
  227. package/skills/weaver-e10-workflow/SKILL.md +49 -32
  228. package/skills/weaver-e10-workflow/references/todo-dialogue.md +67 -34
  229. package/skills/weaver-e10-workflow/references/todo-smart-convert.md +65 -51
  230. package/skills/weaver-e10-workflow/references/workflow-agent-entry.md +18 -11
  231. package/skills/weaver-e10-workflow/references/workflow-create.md +2 -2
  232. package/skills/weaver-e10-workflow/references/workflow-memory.md +19 -37
  233. package/skills/weaver-e10-workflow/references/workflow-query.md +25 -22
  234. package/skills/weaver-e10-workflow/references/workflow-view.md +1 -1
  235. package/skills/weaver-e10-workflow/tools/todo-summary.cjs +318 -110
  236. package/skills/weaver-e10-yimiaoban/SKILL.md +10 -10
  237. package/skills/weaver-e10-yimiaoban/references/person.md +1 -1
  238. package/skills/weaver-e10-yimiaoban/references/safety-boundaries.md +1 -1
  239. package/skills/weaver-e10-yimiaoban/references/source-manifest.json +9 -9
  240. package/dist/chunks/chunk-6QYNE6HE.js +0 -658
  241. package/dist/chunks/chunk-SHYQUBY3.js +0 -48
  242. package/dist/shortcuts/contract/operations/card-action.js +0 -1266
  243. package/dist/shortcuts/contract/operations/card-plan.js +0 -393
  244. package/dist/shortcuts/contract/operations/card.js +0 -232
  245. package/dist/shortcuts/contract/operations/compare-screen.js +0 -378
  246. package/dist/shortcuts/contract/operations/quote-to-contract.js +0 -495
  247. package/dist/shortcuts/contract/operations/quotescreen.js +0 -529
  248. package/dist/shortcuts/contract/operations/summary-validate.js +0 -293
  249. package/dist/shortcuts/contract/operations/summary.js +0 -187
  250. package/dist/shortcuts/ehr/recruit-stage/batch-store.js +0 -78
  251. package/dist/shortcuts/ehr/recruit-stage/context.js +0 -231
  252. package/dist/shortcuts/ehr/recruit-stage/continuation.js +0 -74
  253. package/dist/shortcuts/ehr/recruit-stage/errors.js +0 -65
  254. package/dist/shortcuts/ehr/recruit-stage/fs-scan.js +0 -165
  255. package/dist/shortcuts/ehr/recruit-stage/host.js +0 -109
  256. package/dist/shortcuts/ehr/recruit-stage/operations/interview-arrange.js +0 -1065
  257. package/dist/shortcuts/ehr/recruit-stage/operations/interview-feedback.js +0 -295
  258. package/dist/shortcuts/ehr/recruit-stage/operations/jd-create.js +0 -961
  259. package/dist/shortcuts/ehr/recruit-stage/operations/list.js +0 -431
  260. package/dist/shortcuts/ehr/recruit-stage/operations/registry.js +0 -50
  261. package/dist/shortcuts/ehr/recruit-stage/operations/resume-import.js +0 -1655
  262. package/dist/shortcuts/ehr/recruit-stage/operations/search.js +0 -158
  263. package/dist/shortcuts/ehr/recruit-stage/operations/types.js +0 -34
  264. package/dist/shortcuts/ehr/recruit-stage/runtime.js +0 -31
  265. package/dist/shortcuts/ehr/recruit-stage/school-tiers.json +0 -318
  266. package/dist/shortcuts/ehr/recruit-stage/shared.js +0 -887
  267. package/skills/weaver-e10-jinchengda/references/contract-action-card-template.html +0 -22
  268. package/skills/weaver-e10-jinchengda/references/contract-action-card.md +0 -554
  269. package/skills/weaver-e10-jinchengda/references/contract-action-engine.md +0 -279
  270. package/skills/weaver-e10-jinchengda/references/contract-card-render-internals.md +0 -483
  271. package/skills/weaver-e10-jinchengda/references/contract-template-selector.md +0 -46
  272. package/skills/weaver-e10-recruit-stage/lib/recruit-resume-photo.py +0 -194
@@ -5,7 +5,7 @@ display_name_en: Weaver E10 Yimiaoban IM
5
5
  description: 泛微 E10 易秒办即时通讯能力(单聊/群聊消息、发送与必达、群组管理、会话与系统消息),通过 weaver-work-cli im 命令执行。
6
6
  description_zh: 泛微 E10 易秒办即时通讯能力:拉取单聊/群聊/系统消息、发送与撤回消息、发必达、群组管理(建群/邀人/踢人/退群/解散/公告)、会话列表、文件上传下载与人员解析,全部通过 weaver-work-cli im 命令执行,写操作走 prepare→apply 确认链。
7
7
  description_en: Weaver E10 Yimiaoban (IM) capabilities - fetching single/group/system messages, sending, withdrawing and ding messages, group management, sessions, file upload/download and people resolution, executed through the weaver-work-cli im command with a prepare-then-apply confirmation chain for writes.
8
- version: 1.1.13
8
+ version: 1.1.14
9
9
  author: 泛微网络科技股份有限公司
10
10
  agent_created: true
11
11
  requires:
@@ -55,15 +55,15 @@ cliHelp: "weaver-work-cli im --help"
55
55
 
56
56
  ## 认证与请求头契约
57
57
 
58
- **登录与会话一律由 `weaver-e10-shared` 共享规则和 `weaver-work-cli auth ...` 命令体系托管**。业务命令返回 `authentication` / `session_expired` 时立即停止,并强制执行以下分流:
58
+ **登录与会话一律由 `weaver-e10-shared` 共享规则和 `weaver-work-cli auth ...` 命令体系托管**。业务命令返回 `authentication` / `session_expired` 时立即停止,并按「CLI 已处理的过期恢复」与「首次认证缺失」两种情形分流:
59
59
 
60
- - 已有 XiaoE 会话的 `session_expired` 已由 CLI 底层自动换票并重放一次;若错误最终仍返回,Agent 只反馈并停止,不执行任何登录命令、其他登录 Skill 或原业务命令。
61
- - 仅首次无会话或明确的 `auth not found`,Agent 才复用任务开始时的宿主判定。
62
- - 首次认证且明确为 XiaoE 时,执行一次 `weaver-work-cli auth xiaoe`,不得改用 `auth login`;返回 `xiaoe_credential_unavailable` 时停止,不回退浏览器登录。
63
- - 首次认证且非 XiaoE 时不得执行 `auth xiaoe`;取得用户确认的真实 E10 登录域名后,执行 `weaver-work-cli auth login --base-url "<用户确认的 E10 登录域名>" --agent_type "<当前智能体名称>"`。
64
- - 会话恢复后只读操作可以重放;写操作不得复用旧 continuation,必须重新 prepare 并确认;`partial` / `write_uncertain` 必须先只读回查。
60
+ - **已有会话的 `session_expired`:CLI 底层自动处理**——CLI 已在公共请求层自动取凭据、校验同一环境/用户并重放一次。若该错误最终仍返回,Agent 只如实反馈并停止,不得执行 `auth xiaoe` 或其他登录命令、不得调用其他登录 Skill、不得重复业务命令。
61
+ - **仅首次无会话或明确的 `auth not found`** 才由 Agent 复用任务开始时的宿主判定:
62
+ - 明确为 XiaoE 时,执行一次 `weaver-work-cli auth xiaoe`,不得改用 `auth login`;返回 `xiaoe_credential_unavailable` 时停止并反馈宿主凭据不可用,不回退浏览器登录。
63
+ - 非 XiaoE 时不得执行 `auth xiaoe`;取得用户确认的真实 E10 登录域名后,执行 `weaver-work-cli auth login --base-url "<用户确认的 E10 登录域名>" --agent_type "<当前智能体名称>"`。
64
+ - 会话恢复后只读操作可以重放;写操作**不得复用旧 continuation**,必须重新 prepare 和确认;`partial` / `write_uncertain` 必须先只读回查。
65
65
 
66
- 本技能不自建登录流程,不索取、打印或转存任何凭证。
66
+ 本技能**不自建登录**:禁止扫码/账号密码/自建 OAuth 取 token,禁止使用浏览器自动化登录,也不接触、打印、转存任何认证文件。
67
67
 
68
68
  本技能接口调用(由 `weaver-work-cli` 统一发起)的请求头认证契约如下,三项缺一不可:
69
69
 
@@ -178,7 +178,7 @@ weaver-work-cli --json im run <operation> --input-json '{"key":"value"}'
178
178
  - **分页口径(与源 skill 一致)**:消息类每页默认 **50** 条、单页上限 **50**;**有界区间(指定了时间范围、默认当天、或显式 `end`/`endId`)自动循环翻页把区间拉完再返回**(最多 100 页,触及上限时返回 `hasMore:true` + `nextStart`);**无界区间(`latest:true`)只拉一页**,需要更早数据时用 `nextStart` 继续。**会话列表(`session.list`)不参与自动翻页**(默认 20、上限 50,用 `msgid`/`nextMsgid` 翻页)。
179
179
  - **时间范围强制收敛到 7 天**:单聊/群聊/系统消息的 `from`/`to` 跨度 > 7 天时,CLI 自动缩短为该范围**最后 7 个自然日**,并在 `data.rangeShrink` 返回 `notice`。**展示结果时必须把这条收敛提示原样转述给用户**,不要静默省略,也不要替用户改小范围。
180
180
  - **发送者「我」由 CLI 判定**:`sender` 与当前登录人 IM uid 比对,自己发的消息返回「我」;他人优先消息内 `sname`、其次 hrm 姓名、最后回退 uid。
181
- - **人名一律由 CLI 走 hrm 解析**(`/api/hrm/common/getEmployeeByIds`),本技能不展示也不依赖 IM 群成员 `name` 字段;群成员接口返回的 `name` 不可信。
181
+ - **人名一律由 CLI 走 hrm 解析**(`/api/hrm/common/browser/destData/resource`,入参 `{browserMultiple:true, selectIds:"id1,id2"}`;旧接口 getEmployeeByIds/getEmployeeByKeyWords 已禁用),本技能不展示也不依赖 IM 群成员 `name` 字段;群成员接口返回的 `name` 不可信。
182
182
  - **本人 IM 身份(cid/uid)只用于本机组装**:`group.search` 的 `members/owner/creator` 条件、撤回消息体、必达消息体、建群自检、消息展示「我」都用 CLI 通过 `teamsCheck` 取得的本人 `imCid`/`imUid`;**它绝不作为请求体操作人字段,也不接受调用方传入**(传 `user`/`sender`/`operator` 会被拒绝:`forbidden_key`)。
183
183
  - **uid/cid/群 id 都是 uint64**:JSON 中必须按字符串传(`"1788334281700000004"`),`0` 一律拒绝;`num` 超过 50 会被截断为 50。
184
184
  - **时间范围不是服务端过滤条件**:单聊/群聊历史按**消息 id 区间**定位,CLI 把 `from/to` 换算成 `[minId,maxId]`;缺省取当天。`actionMsg.code=1303`(无聊天记录)按**成功空列表**返回(`empty:true` + `emptyReason`),不报错。
@@ -219,7 +219,7 @@ continuation 由 CLI 用 HMAC-SHA256 签发、24 小时有效、绑定 baseUrl/p
219
219
 
220
220
  - 业务失败:CLI 会输出 `ok:false` 的 JSON envelope,**stdout 与 stderr 各一份(内容相同)**;读 `error.type` / `error.subtype` / `error.message`,不要用退出码 `0` 判断成功。只读 stdout 的调用方也能拿到错误,不需要再单独接 stderr。
221
221
  - 需要知道「这一次到底打了几个接口、各花了多久」时,加 `im --trace`(im 命令级开关,等价环境变量 `WEAVER_WORK_CLI_TRACE=1`):每个 HTTP 请求在 stderr 打一行 `[trace] POST /api/... op=... status=200 123ms`,不含 Cookie/eteamsid。**只在排障/统计时用,正常调用不要加**。
222
- - `code=302` 或认证类错误(`session_expired`):按共享规则引导用户重新登录,禁止猜域名或手工拼凭证。
222
+ - `code=302` 或认证类错误(`session_expired`):按共享规则处理——已有会话的过期由 CLI 底层自动恢复并重放一次,最终仍失败时只反馈并停止;仅首次未登录才按上文分流引导登录,禁止猜域名或手工拼凭证。
223
223
  - 业务语义错误码:`1303` 表示无聊天记录(成功空列表,看 `emptyReason`);群不存在 `1209`;`members_resolve_failed`/`members_empty` 说明成员解析失败,向用户说明后请其决定是否 `removeFailed:true` 继续;其余码值对照 [`references/error-codes.md`](references/error-codes.md)。
224
224
  - `alias_conflict`:旧字段(如 `filePath`/`shareGroups`)与新字段同时出现且取值不一致,请只保留一个。
225
225
  - `output_exists` / `output_parent_missing`:下载目标冲突,换路径或先建父目录,不要覆盖既有文件。
@@ -33,7 +33,7 @@ weaver-work-cli --json im run im.person.resolveByIds --input-json '{"ids":["1002
33
33
 
34
34
  ## 注意
35
35
 
36
- - **人名解析一律走 hrm**(`/api/hrm/common/getEmployeeByIds`),禁止使用 IM 群成员接口返回的 `name` 字段展示姓名,也不得本地拼表。
36
+ - **人名解析一律走 hrm**(`/api/hrm/common/browser/destData/resource`,入参 `{browserMultiple:true, selectIds:"id1,id2"}`,≤100/批自动分批;**旧接口 `/api/hrm/common/getEmployeeByIds` 与 `/api/hrm/common/getEmployeeByKeyWords` 已禁用**),禁止使用 IM 群成员接口返回的 `name` 字段展示姓名,也不得本地拼表。
37
37
  - 返回的 uid/cid 直接用于发消息/拉单聊(作为 `fromUid`/`toUid` 等)。
38
38
  - 模糊命中多人时按 `person.resolve` 返回列表向用户确认;重名场景以用户指定的工号/部门为准确认。
39
39
  - **未匹配(`total=0`)直接告知用户姓名可能有误并停止**,禁止翻历史会话/相似名模糊搜索去猜人。
@@ -5,7 +5,7 @@
5
5
  ## 红线(违规 = 必须停下说明,不绕过)
6
6
 
7
7
  1. **请求体禁止操作人字段**:任何 operation 的输入都不接受 `user`/`sender`/`creator`/`operator` 等操作人字段;操作者由会话 `eteamsid` 识别。不要在入参里补这些字段,CLI 会直接拒绝(`forbidden_keys`)。
8
- 2. **人名一律走 hrm**:姓名解析(消息发送者、群成员、阅读人、@提及)只认 `im.person.resolve`/`resolveByIds`(底层 `/api/hrm/common/getEmployeeByIds`)或消息行里的 hrm 姓名;**禁止用 IM 群成员接口返回的 `name` 字段**展示姓名,禁止本地猜测/拼表。
8
+ 2. **人名一律走 hrm**:姓名解析(消息发送者、群成员、阅读人、@提及)只认 `im.person.resolve`/`resolveByIds`(底层 `/api/hrm/common/browser/destData/resource`,入参 `{browserMultiple:true, selectIds:"id1,id2"}`)或消息行里的 hrm 姓名;**旧接口 `getEmployeeByIds`/`getEmployeeByKeyWords` 禁用**;**禁止用 IM 群成员接口返回的 `name` 字段**展示姓名,禁止本地猜测/拼表。
9
9
  3. **uid/cid/群 id 非 0、按字符串传输**:uint64 必须字符串化;`0`、空串直接拒绝。
10
10
  4. **不本地过滤、分页口径固定**:搜索/筛选一律服务端完成(`mask`/`cond`/`type` 等),**禁止先拉数据再本地过滤**;唯一例外是 `session.list` 的 `type`(接口本身不支持类型条件,CLI 与源脚本同为本地筛选,属于模块既定行为,不要据此扩展到其它字段)。分页口径固定:**有界区间**(时间范围 / 默认当天 / 显式 `end`)由 CLI 自动循环翻页拉完(上限 100 页),直接展示即可;**无界区间**(`latest:true`)只拉一页,需要更早数据时用 `nextStart` 显式续拉,同一轮内不要连续多次续拉;**会话列表不自动翻页**,用 `nextMsgid` 显式续拉。
11
11
  5. **时间范围查询转 id 区间 + 强制收敛 7 天**:单聊/群聊/系统消息历史不支持服务端时间过滤,CLI 把 `from/to` 换算为消息 id 区间;跨度 > 7 天自动收敛为该范围最后 7 个自然日,`rangeShrink.notice` **必须原样转述给用户**;要更早历史就按 ≤ 7 天分段,不要替用户改口径。
@@ -2273,7 +2273,7 @@
2273
2273
  }
2274
2274
  },
2275
2275
  "artifactBaseline": {
2276
- "aggregateSha256": "8d1fff2eef713b7e313628bca155e4b8de1144a377d6b3f08f33b3b0fff2d104",
2276
+ "aggregateSha256": "d4d44b93ec48181196af5efb8805aa022e7e5a76c896e835835b965770723f62",
2277
2277
  "files": [
2278
2278
  {
2279
2279
  "path": "docs/im.md",
@@ -2338,14 +2338,14 @@
2338
2338
  {
2339
2339
  "path": "skills/weaver-e10-yimiaoban/references/person.md",
2340
2340
  "role": "generated-reference",
2341
- "size": 2041,
2342
- "sha256": "97f98f1529e8e4f9e648629b27d784c00c662018a8df46e10085318a60204b6a"
2341
+ "size": 2235,
2342
+ "sha256": "6cd26c0fa62989363809d04be960f2ab503bf837e6f0861bdac609a254873319"
2343
2343
  },
2344
2344
  {
2345
2345
  "path": "skills/weaver-e10-yimiaoban/references/safety-boundaries.md",
2346
2346
  "role": "generated-reference",
2347
- "size": 8020,
2348
- "sha256": "58f71f23e698ed69cfbe25744db306ebca29787fae5479e812824b50a850c17f"
2347
+ "size": 8150,
2348
+ "sha256": "29337931ae97a90fd82b7460f1f25e581f005dae99dd530f921df96bc0e266e9"
2349
2349
  },
2350
2350
  {
2351
2351
  "path": "skills/weaver-e10-yimiaoban/references/session-sysmsg.md",
@@ -2362,8 +2362,8 @@
2362
2362
  {
2363
2363
  "path": "skills/weaver-e10-yimiaoban/SKILL.md",
2364
2364
  "role": "generated-reference",
2365
- "size": 33168,
2366
- "sha256": "5fbf183a17bd32910f0da37b1cfc0bf1f550db3e79a8222c186c4f398ddcabad"
2365
+ "size": 33717,
2366
+ "sha256": "e7c2489c8ec9c43558e4a4fce67766398cee58491931323943b7fba1fede78ec"
2367
2367
  },
2368
2368
  {
2369
2369
  "path": "src/shortcuts/im/continuation.ts",
@@ -2385,8 +2385,8 @@
2385
2385
  {
2386
2386
  "path": "src/shortcuts/im/host.ts",
2387
2387
  "role": "generated-cli",
2388
- "size": 24373,
2389
- "sha256": "6e219d2936358c6403e0b1eb6aafb5350cf43fbff75b599381a291008f683815"
2388
+ "size": 25186,
2389
+ "sha256": "e77b3f54df04dc55c8daf9ea958793c545b98d8343f8db509563d4c2b05de449"
2390
2390
  },
2391
2391
  {
2392
2392
  "path": "src/shortcuts/im/index.ts",