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
@@ -0,0 +1,149 @@
1
+ /**
2
+ * 合同业绩统计口径单一事实源(2026-11-18 用户定稿)。
3
+ *
4
+ * 背景:台账数据可以有很多字段,但「业绩」「已收款」「eteams 业绩」这三个
5
+ * 对外口径各只认一个字段,且都不在台账默认展示列里。以前这套口径只写在
6
+ * references 文档里,实现与文档容易漂移;现收敛到本文件,作为唯一事实源,
7
+ * 供 `contract.ledger.metrics` 直接输出,文档只做引用。
8
+ *
9
+ * 三条口径(用户口径,不得自行替换字段):
10
+ * 1. 合同业绩 → 直销业绩台账的「冲刺有效金额」(不是「有效金额」);
11
+ * 2. 合同已收款 → 直销合同台账的「已收款」;
12
+ * 3. eteams 业绩 → 合同收款台账中「渠道属性 = 渠道收款」的行,统计「销售有效金额」。
13
+ *
14
+ * 字段 ID 与返回键(dataKey)来源:2026-11-18 用 `getListDatas` 响应的
15
+ * `data.columns` 实测解析(`contract.performance.list.query` + `includeColumns=true`),
16
+ * 不是文档推测。三个口径涉及的字段全部已实测,运行时无需再解析。
17
+ *
18
+ * 口径与台账字段的对应关系(实测):
19
+ * - 直销业绩:冲刺有效金额 `846297265322574224` / `ccyxje`
20
+ * 易混字段:有效金额 `…193`/`yxje`、冲刺有效金额差异 `…225`/`ccyxjecy`、
21
+ * EBU冲刺有效金额 `…227`/`ebuyxje`、核算有效金额 `…229`/`yxhsje`——都不得替代。
22
+ * - 直销合同:已收款 `846297265322574184` / `sumsk`(注意返回键不是 ysq)
23
+ * - 合同收款:渠道属性 `846297265322574590` / `qdsx`;销售有效金额 `846297265322574559` / `xsyxje`
24
+ */
25
+ /** 六台账固定 ID(与 contract-ledger-catalog.md 实测值一致)。 */
26
+ export const LEDGER_METRICS = [
27
+ {
28
+ key: 'contractPerformance',
29
+ label: '合同业绩',
30
+ ledger: '直销业绩',
31
+ listId: '846297265322576586',
32
+ objId: '846297265322573826',
33
+ pageId: '846297265322576586',
34
+ viewKey: 'directPerf',
35
+ metricField: '冲刺有效金额',
36
+ metricFieldId: '846297265322574224',
37
+ metricDataKey: 'ccyxje',
38
+ aggregation: 'sum',
39
+ conditions: [
40
+ {
41
+ field: '销售经理',
42
+ fieldId: '846297265322574199',
43
+ dataKey: 'xsjl',
44
+ operator: 'inC',
45
+ required: true,
46
+ note: 'person 字段,必须传人员 ID;传姓名不报错但返回全量',
47
+ },
48
+ {
49
+ field: '核算业绩年月',
50
+ fieldId: '846297265322574201',
51
+ dataKey: 'hsny',
52
+ operator: 'startWith',
53
+ required: true,
54
+ note: '形如 2026-11;只传 11 命中 0 条',
55
+ },
56
+ ],
57
+ note: '合同业绩只认「冲刺有效金额」(返回键 ccyxje),不得用「有效金额」「冲刺有效金额差异」「EBU冲刺有效金额」「核算有效金额」或「合同总金额」替代。',
58
+ },
59
+ {
60
+ key: 'contractReceived',
61
+ label: '合同已收款',
62
+ ledger: '直销合同',
63
+ listId: '846297265322576591',
64
+ objId: '846297265322573825',
65
+ pageId: '846297265322576591',
66
+ viewKey: 'ecology',
67
+ metricField: '已收款',
68
+ metricFieldId: '846297265322574184',
69
+ metricDataKey: 'sumsk',
70
+ aggregation: 'sum',
71
+ conditions: [
72
+ {
73
+ field: '合同业绩年月',
74
+ fieldId: '846297265322574079',
75
+ dataKey: 'htyjny',
76
+ operator: 'startWith',
77
+ required: true,
78
+ note: '形如 2026-11',
79
+ },
80
+ {
81
+ field: '销售经理',
82
+ fieldId: '846297265322574070',
83
+ dataKey: 'xsjl',
84
+ operator: 'like',
85
+ required: false,
86
+ note: 'text 字段,值是「姓名(产品线)」,同名不同署名会串数',
87
+ },
88
+ ],
89
+ note: '合同已收款取自直销合同台账的「已收款」(返回键 sumsk,不是 ysq),不是合同收款台账的收款流水合计;两本是两套数据源,不得混算。',
90
+ },
91
+ {
92
+ key: 'eteamsPerformance',
93
+ label: 'eteams业绩',
94
+ ledger: '合同收款',
95
+ listId: '846297265322576589',
96
+ objId: '846297265322573830',
97
+ pageId: '846297265322576589',
98
+ viewKey: null,
99
+ metricField: '销售有效金额',
100
+ metricFieldId: '846297265322574559',
101
+ metricDataKey: 'xsyxje',
102
+ aggregation: 'sum',
103
+ conditions: [
104
+ {
105
+ field: '渠道属性',
106
+ fieldId: '846297265322574590',
107
+ dataKey: 'qdsx',
108
+ operator: 'eq',
109
+ value: '渠道收款',
110
+ required: true,
111
+ note: '实测取值只有「渠道收款」与空值,无「非渠道收款」这类干扰值;若 eq 返回 0 条,先按坑位表换 like 复核',
112
+ },
113
+ {
114
+ field: '销售核算年月',
115
+ fieldId: '846297265322574528',
116
+ dataKey: 'xshsny',
117
+ operator: 'startWith',
118
+ required: true,
119
+ note: '形如 2026-11',
120
+ },
121
+ {
122
+ field: '销售经理',
123
+ fieldId: '846297265322574539',
124
+ dataKey: 'xsjl',
125
+ operator: 'inC',
126
+ required: false,
127
+ note: 'person 字段,必须传人员 ID',
128
+ },
129
+ ],
130
+ note: 'eteams 业绩量在合同收款台账里,条件是「渠道属性 = 渠道收款」,统计列为「销售有效金额」(返回键 xsyxje);不得用渠道订单台账的单量、合同总金额、客服有效金额或项目有效金额替代。',
131
+ },
132
+ ];
133
+ /** 按 key 取口径;key 为空时返回全量。 */
134
+ export function findLedgerMetric(key) {
135
+ if (!key)
136
+ return undefined;
137
+ return LEDGER_METRICS.find((metric) => metric.key === key || metric.label === key);
138
+ }
139
+ /** 未写死字段 ID 的字段名清单,提示运行时解析。 */
140
+ export function unresolvedMetricFields(metric) {
141
+ const missing = [];
142
+ if (!metric.metricFieldId)
143
+ missing.push(metric.metricField);
144
+ for (const cond of metric.conditions) {
145
+ if (!cond.fieldId)
146
+ missing.push(cond.field);
147
+ }
148
+ return missing;
149
+ }
@@ -154,24 +154,6 @@ export const contractShortcut = {
154
154
  }));
155
155
  const type = contract.command('type').description('Contract type commands');
156
156
  registerCommand(type, 'tree', 'List all contract types', 'contract.type.tree');
157
- const template = contract.command('template').description('Contract template commands');
158
- registerCommand(template, 'tree', 'List template category tree', 'contract.template.tree', [
159
- { flag: '--tree-name <name>', description: 'tree name filter', key: 'treeName' },
160
- { flag: '--parent-id <id>', description: 'parent node id', key: 'parentId' },
161
- { flag: '--tree-type <type>', description: 'tree type', key: 'treeType', kind: 'int' },
162
- { flag: '--app-id <id>', description: 'application id', key: 'appId' },
163
- ]);
164
- registerCommand(template, 'list', 'List templates with paging', 'contract.template.list', [
165
- { flag: '--template-name <name>', description: 'template name keyword', key: 'templateName' },
166
- { flag: '--belong-id <id>', description: 'template category id', key: 'belongId' },
167
- { flag: '--contract-type <id>', description: 'contract type id', key: 'contractType' },
168
- { flag: '--template-status <status>', description: '0 disabled, 1 enabled', key: 'templateStatus', kind: 'int' },
169
- { flag: '--page-no <n>', description: 'page number', key: 'pageNo', kind: 'int' },
170
- { flag: '--page-size <n>', description: 'page size', key: 'pageSize', kind: 'int' },
171
- ]);
172
- registerCommand(template, 'detail', 'Get template detail by id', 'contract.template.detail', [
173
- { flag: '--id <id>', description: 'template id', key: 'id' },
174
- ]);
175
157
  const clause = contract.command('clause').description('Contract clause commands');
176
158
  registerCommand(clause, 'tree', 'List clause category tree', 'contract.clause.tree');
177
159
  registerCommand(clause, 'list', 'List clauses with paging', 'contract.clause.list', [
@@ -350,21 +332,17 @@ export const contractShortcut = {
350
332
  { flag: '--other-params <json>', description: 'paging params JSON', key: 'otherParams' },
351
333
  ]);
352
334
  const review = contract.command('review').description('Contract AI review commands');
353
- // paths 是数组,子命令只提供 JSON 输入入口,避免把路径拆成多个位置参数。
354
- registerCommand(review, 'upload', 'Upload contracts and get the AI review page url', 'contract.review.upload');
355
- registerCommand(review, 'prewarm', 'Trigger contract review prewarm for one fileId', 'contract.review.prewarm', [
356
- { flag: '--file-id <id>', description: 'uploaded file id', key: 'fileId' },
357
- ]);
358
- registerCommand(review, 'prewarm-batch', 'Trigger review prewarm for multiple fileIds (parallel)', 'contract.review.prewarm.batch', [
359
- { flag: '--file-ids <json>', description: 'JSON array of file ids', key: 'fileIds' },
360
- ]);
335
+ // 2026-11-19 定稿:审查上传/预热子命令已移除(合同上传一律走流程通道 `contract flow launch`,
336
+ // 上传即自动预热)。审查组只保留「取结果」两个出口。
361
337
  registerCommand(review, 'export', 'Export AI review records', 'contract.review.export', [
362
338
  { flag: '--file-id <id>', description: 'contract file id', key: 'fileId' },
339
+ { flag: '--flow-id <id>', description: 'flowId from the assistant url (= this round workflowId); required, no fixed default', key: 'flowId' },
363
340
  { flag: '--sclx <types>', description: '8 risk review (contract pre-review); 1/2/3 disabled', key: 'sclx' },
364
341
  ]);
365
342
  // 一条命令出审查摘要:省掉「导出 → 解析 scnr → 手工压缩」的多轮往返(2026-11-16 新增)。
366
343
  registerCommand(review, 'digest', 'Export AI review records and return a compact digest in one shot', 'contract.review.digest', [
367
344
  { flag: '--file-id <id>', description: 'contract file id', key: 'fileId' },
345
+ { flag: '--flow-id <id>', description: 'flowId from the assistant url (= this round workflowId); required unless --ref is used', key: 'flowId' },
368
346
  { flag: '--ref <path>', description: 'digest from a persisted export result json instead of calling the api', key: 'ref' },
369
347
  { flag: '--out <path>', description: 'optional: write digest json to this path', key: 'out' },
370
348
  ]);
@@ -409,6 +387,16 @@ export const contractShortcut = {
409
387
  { flag: '--base-file-id <id>', description: 'base file id', key: 'baseFileId' },
410
388
  { flag: '--compare-file-id <id>', description: 'compare file id', key: 'compareFileId' },
411
389
  ]);
390
+ registerCommand(compare, 'report', 'Render a comparison report HTML from files / fileIds / a saved diff result', 'contract.compare.report', [
391
+ { flag: '--base-file-id <id>', description: 'base file id', key: 'baseFileId' },
392
+ { flag: '--compare-file-id <id>', description: 'compare file id', key: 'compareFileId' },
393
+ { flag: '--ref <file>', description: 'saved compare.diff result JSON path', key: 'ref' },
394
+ { flag: '--base-file-name <name>', description: 'base file name override', key: 'baseFileName' },
395
+ { flag: '--compare-file-name <name>', description: 'compare file name override', key: 'compareFileName' },
396
+ { flag: '--out <file>', description: 'output report HTML path', key: 'out' },
397
+ { flag: '--template <file>', description: 'optional custom template path', key: 'template' },
398
+ { flag: '--dump-data <file>', description: 'optional normalized report data JSON path', key: 'dumpData' },
399
+ ]);
412
400
  const credit = contract.command('credit').description('Enterprise credit commands');
413
401
  registerCommand(credit, 'page', 'Build the enterprise credit page url', 'contract.credit.page');
414
402
  const performance = contract.command('performance').description('Performance ledger commands (local links + read-only list queries)');
@@ -462,19 +450,6 @@ export const contractShortcut = {
462
450
  { flag: '--contract-numbers <json>', description: 'contract numbers JSON array', key: 'contractNumbers' },
463
451
  { flag: '--page-size <n>', description: 'page size', key: 'pageSize', kind: 'int' },
464
452
  ]);
465
- const summary = contract.command('summary').description('Contract summary rendering commands (local)');
466
- registerCommand(summary, 'render', 'Render summary data JSON into an HTML file (local)', 'contract.summary.render', [
467
- { flag: '--data <file>', description: 'summary data JSON path', key: 'data' },
468
- { flag: '--out <file>', description: 'output HTML path', key: 'out' },
469
- ]);
470
- const card = contract.command('card').description('Contract action card rendering commands (local)');
471
- registerCommand(card, 'render', 'Render action card JSON into xiaoeCustomPage HTML (local)', 'contract.card.render', [
472
- { flag: '--data <file>', description: 'card data JSON path', key: 'data' },
473
- { flag: '--out <file>', description: 'output card HTML path', key: 'out' },
474
- { flag: '--summary <file>', description: 'optional summary data JSON path to embed', key: 'summary' },
475
- { flag: '--browsertool <file>', description: 'optional path to write full browsertool JSON', key: 'browsertool' },
476
- { flag: '--base-url <url>', description: 'optional E10 base url, defaults to session', key: 'baseUrl' },
477
- ]);
478
453
  const file = contract.command('file').description('Contract file download commands (binary)');
479
454
  registerCommand(file, 'download', 'Download an E10 file to a local path', 'contract.file.download', [
480
455
  { flag: '--file-id <id>', description: 'E10 file id (template / attachment / review file)', key: 'fileId' },