weaver-work-cli 0.1.40 → 0.1.44

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 (401) hide show
  1. package/README.md +17 -0
  2. package/dist/chunks/{archive-JHTONRST.js → archive-P6TBQGKL.js} +13 -5
  3. package/dist/chunks/{archive-oa-FCHLCPHC.js → archive-oa-7TQ2NXOH.js} +12 -5
  4. package/dist/chunks/{asset-RLIHC7DB.js → asset-3ELRG37G.js} +11 -4
  5. package/dist/chunks/{asset-idle-KVOFTLCP.js → asset-idle-WIGMUFMD.js} +7 -3
  6. package/dist/chunks/{attachment-content-RZYDB3MB.js → attachment-content-E3276UOV.js} +5 -4
  7. package/dist/chunks/{blog-42OZTJNP.js → blog-C5NMZAAC.js} +11 -4
  8. package/dist/chunks/{caizhilian-KRK547K5.js → caizhilian-5XSM2DFP.js} +13 -6
  9. package/dist/chunks/{calendar-RTWAMKHD.js → calendar-FI2WNSBO.js} +71 -26
  10. package/dist/chunks/{chunk-CXRQWOZ5.js → chunk-3YBDYOC4.js} +3 -3
  11. package/dist/chunks/{chunk-OOUTBLZ4.js → chunk-56EZERK4.js} +1 -1
  12. package/dist/chunks/chunk-6N4JPNFL.js +76 -0
  13. package/dist/chunks/{chunk-ZUX3P6BQ.js → chunk-727FH2NI.js} +1 -1
  14. package/dist/chunks/chunk-7BDPM5ST.js +11 -0
  15. package/dist/chunks/{chunk-LN447PY2.js → chunk-BCVYBYYT.js} +432 -2247
  16. package/dist/chunks/{chunk-7E6MUOEK.js → chunk-CWYGFU5B.js} +2 -2
  17. package/dist/chunks/{chunk-NOODWMCL.js → chunk-D4ADSZ7H.js} +1 -1
  18. package/dist/chunks/{chunk-WFFNM65B.js → chunk-ETNJSKMM.js} +281 -29
  19. package/dist/chunks/{chunk-CAQNBBQA.js → chunk-F4E4EM35.js} +3 -3
  20. package/dist/chunks/{chunk-4CTESSKI.js → chunk-FAZTGX7S.js} +6 -6
  21. package/dist/chunks/chunk-FRZKBMSW.js +2562 -0
  22. package/dist/chunks/{chunk-BYBSCN4X.js → chunk-G7PQWD4L.js} +6 -3
  23. package/dist/chunks/{chunk-NJKREDA3.js → chunk-GAMZLAG2.js} +1 -1
  24. package/dist/chunks/{chunk-FLS4DPGP.js → chunk-GM6J7Q4B.js} +28 -15
  25. package/dist/chunks/{chunk-NETCCARD.js → chunk-GRDRG6HP.js} +3 -3
  26. package/dist/chunks/chunk-HIT4Y6OI.js +1238 -0
  27. package/dist/chunks/{chunk-EZALDOQH.js → chunk-HP7JIYMT.js} +5 -2
  28. package/dist/chunks/{chunk-IZSSVYAG.js → chunk-IAZ3UPY6.js} +3 -3
  29. package/dist/chunks/{chunk-ZEDWSH32.js → chunk-IC62NFM5.js} +1 -1
  30. package/dist/chunks/{chunk-P26ZWSKU.js → chunk-KIHNAS25.js} +5 -2
  31. package/dist/chunks/{chunk-57IECMWX.js → chunk-N4M2DDFE.js} +29 -15
  32. package/dist/chunks/{chunk-JWRZM2H2.js → chunk-OF4S23UB.js} +4 -4
  33. package/dist/chunks/{chunk-VNBU55SL.js → chunk-PC7VKEB5.js} +80 -2458
  34. package/dist/chunks/{chunk-G2JSIUWF.js → chunk-PUQS5MWL.js} +91 -2
  35. package/dist/chunks/{chunk-E7OK5WD5.js → chunk-Q4OYAQYH.js} +5 -5
  36. package/dist/chunks/{chunk-7BRU4EFH.js → chunk-QVSWRLLU.js} +35 -6
  37. package/dist/chunks/{chunk-T6EGVBKU.js → chunk-TA7FXXJD.js} +6 -3
  38. package/dist/chunks/{chunk-GPMFD4RD.js → chunk-TXUG266F.js} +1 -1
  39. package/dist/chunks/{chunk-4TEDNCON.js → chunk-UFIT2UU3.js} +354 -56
  40. package/dist/chunks/{chunk-LUSPKZKY.js → chunk-UG5G54VL.js} +1 -0
  41. package/dist/chunks/{chunk-NIAJ5ZCG.js → chunk-UL5XUQ25.js} +5 -2
  42. package/dist/chunks/{chunk-FMPJJYYI.js → chunk-WRXSAVKO.js} +1 -1
  43. package/dist/chunks/{chunk-7U577Q7U.js → chunk-WSF4NNMR.js} +3 -3
  44. package/dist/chunks/chunk-XHK4MDR5.js +2497 -0
  45. package/dist/chunks/{chunk-LFMSDBZN.js → chunk-XNIK66I4.js} +326 -161
  46. package/dist/chunks/{chunk-3SO6QL6U.js → chunk-YWX377BY.js} +5 -2
  47. package/dist/chunks/{chunk-BYATLLEF.js → chunk-Z3GDFVJR.js} +1 -1
  48. package/dist/chunks/{chunk-I566ZYNF.js → chunk-Z7VYWPZV.js} +1 -1
  49. package/dist/chunks/{conflict-VR55AOOO.js → conflict-ARLSZJ6V.js} +4 -3
  50. package/dist/chunks/{continuation-2CKSBLA6.js → continuation-3S37AUSH.js} +4 -3
  51. package/dist/chunks/{continuation-RN6PZN2M.js → continuation-3XLYYTKV.js} +4 -3
  52. package/dist/chunks/{continuation-HZIZRZBX.js → continuation-HFW2YT5S.js} +4 -3
  53. package/dist/chunks/{continuation-NLECEJPX.js → continuation-KI7DRRZN.js} +4 -3
  54. package/dist/chunks/{contract-HI4FNPYE.js → contract-DNIIW5VJ.js} +13 -5
  55. package/dist/chunks/{cowork-HJLI353D.js → cowork-GMLRGVIW.js} +31 -14
  56. package/dist/chunks/create-flow-J22BO65E.js +56 -0
  57. package/dist/chunks/{ebuilder-form-HTGI63UU.js → ebuilder-form-ANV2FHYV.js} +12 -7
  58. package/dist/chunks/{ehr-GYXIYH3A.js → ehr-GSTGAIY3.js} +695 -1255
  59. package/dist/chunks/{employee-SAK2QYXX.js → employee-22BGJ3QS.js} +3 -3
  60. package/dist/chunks/{env-DW3G4HUO.js → env-BX3VRFS7.js} +4 -3
  61. package/dist/chunks/{esb-I5INCEFE.js → esb-ATAIASX2.js} +12 -7
  62. package/dist/chunks/{factory-TKXGXS6L.js → factory-PETTFME6.js} +3 -2
  63. package/dist/chunks/{fna-K2MHTQ24.js → fna-YEKBSFSX.js} +14 -8
  64. package/dist/chunks/{group-chat-VYBNMJLG.js → group-chat-BFVXAYFX.js} +7 -4
  65. package/dist/chunks/{host-D5SERMAJ.js → host-HRBXEPDQ.js} +5 -5
  66. package/dist/chunks/{host-JM4YVHFM.js → host-LR55CTHP.js} +5 -5
  67. package/dist/chunks/{host-L3VLITMT.js → host-SUOY6VYQ.js} +5 -5
  68. package/dist/chunks/{host-ZUQTJYYK.js → host-SZGV4UNT.js} +5 -5
  69. package/dist/chunks/{host-256GVCAH.js → host-WIKN2EJ5.js} +5 -5
  70. package/dist/chunks/{hrm-VLRBKTZB.js → hrm-NRDO4W5G.js} +11 -7
  71. package/dist/chunks/{im-QK3VTLXK.js → im-IQ2HN23S.js} +11 -10
  72. package/dist/chunks/{invoice-T5JTA32H.js → invoice-MNRW76PP.js} +636 -1768
  73. package/dist/chunks/{jiuchuanhui-P2FNEQVZ.js → jiuchuanhui-DTRBAX4N.js} +14 -6
  74. package/dist/chunks/{lazy-dispatch-XRRI46M6.js → lazy-dispatch-ZVWAI25B.js} +7 -6
  75. package/dist/chunks/{mail-3Y7MJ6PS.js → mail-ZVAUXOJA.js} +16 -14
  76. package/dist/chunks/{meeting-M7LTXGJE.js → meeting-FEVPZ67S.js} +21 -13
  77. package/dist/chunks/{okr-OBC6S67L.js → okr-SDH3E5RA.js} +12 -5
  78. package/dist/chunks/{operations-5QL3AECO.js → operations-62N6EP3C.js} +4 -3
  79. package/dist/chunks/{plan-5H6I53SK.js → plan-E35JFDI7.js} +12 -5
  80. package/dist/chunks/{project-L75QZV4S.js → project-73QXBAB2.js} +49 -25
  81. package/dist/chunks/reception-UWZVACBN.js +1899 -0
  82. package/dist/chunks/recruit-stage-4MAOCKFY.js +4770 -0
  83. package/dist/chunks/registry-IM5G23LS.js +24 -0
  84. package/dist/chunks/{registry-UGRBCBHO.js → registry-JDUS4E7D.js} +7 -6
  85. package/dist/chunks/{registry-RXPN6BBT.js → registry-KNKSCJNT.js} +7 -6
  86. package/dist/chunks/{registry-NYPYMZXG.js → registry-PO7SI256.js} +4 -4
  87. package/dist/chunks/{registry-QGHFNUWS.js → registry-PVUZQDDQ.js} +3 -3
  88. package/dist/chunks/{room-recommend-A3UDC3CA.js → room-recommend-H7KLXA5R.js} +6 -5
  89. package/dist/chunks/{schedule-5GCACCK7.js → schedule-ESZIBAUO.js} +6 -5
  90. package/dist/chunks/{workflow-M5ZJ7DWF.js → workflow-CWJFJLQU.js} +15 -10
  91. package/dist/cmd/action.js +6 -0
  92. package/dist/cmd/identity/index.js +45 -0
  93. package/dist/cmd/index.js +2 -0
  94. package/dist/core/continuation-ttl.js +18 -0
  95. package/dist/core/error-codes.js +85 -0
  96. package/dist/core/logger.js +11 -0
  97. package/dist/index.js +41 -30
  98. package/dist/internal/e10/auth/commands.js +164 -8
  99. package/dist/internal/e10/auth/error-log.js +182 -0
  100. package/dist/internal/e10/auth/messages.js +6 -0
  101. package/dist/internal/e10/auth/session.js +34 -3
  102. package/dist/internal/e10/auth/xiaoe.js +286 -44
  103. package/dist/internal/e10/auth-recovery.js +72 -14
  104. package/dist/internal/e10/context.js +72 -13
  105. package/dist/internal/e10/index.js +1 -1
  106. package/dist/internal/e10/network-error.js +93 -0
  107. package/dist/internal/e10/request-runtime.js +6 -0
  108. package/dist/internal/skills/install.js +9 -1
  109. package/dist/shortcuts/archive/continuation.js +2 -1
  110. package/dist/shortcuts/archive/index.js +3 -0
  111. package/dist/shortcuts/archive/operations/confirm.js +2 -1
  112. package/dist/shortcuts/archive-oa/continuation.js +2 -1
  113. package/dist/shortcuts/archive-oa/index.js +2 -0
  114. package/dist/shortcuts/archive-oa/operations/confirm.js +2 -1
  115. package/dist/shortcuts/asset/continuation.js +2 -1
  116. package/dist/shortcuts/asset/index.js +2 -0
  117. package/dist/shortcuts/asset-idle/index.js +2 -0
  118. package/dist/shortcuts/blog/continuation.js +2 -1
  119. package/dist/shortcuts/blog/index.js +2 -0
  120. package/dist/shortcuts/caizhilian/continuation.js +2 -1
  121. package/dist/shortcuts/caizhilian/index.js +2 -0
  122. package/dist/shortcuts/caizhilian/operations/confirm.js +3 -2
  123. package/dist/shortcuts/calendar/continuation.js +2 -1
  124. package/dist/shortcuts/calendar/index.js +2 -0
  125. package/dist/shortcuts/calendar/operations/read.js +31 -22
  126. package/dist/shortcuts/calendar/operations/write.js +46 -2
  127. package/dist/shortcuts/contract/continuation.js +2 -1
  128. package/dist/shortcuts/contract/index.js +2 -0
  129. package/dist/shortcuts/contract/operations/write.js +2 -1
  130. package/dist/shortcuts/cowork/continuation.js +2 -1
  131. package/dist/shortcuts/cowork/index.js +2 -0
  132. package/dist/shortcuts/cowork/operations/discuss-write.js +5 -1
  133. package/dist/shortcuts/cowork/operations/item-write.js +1 -7
  134. package/dist/shortcuts/cowork/operations/member-write.js +3 -1
  135. package/dist/shortcuts/cowork/operations/permission-write.js +5 -1
  136. package/dist/shortcuts/cowork/operations/shared.js +7 -0
  137. package/dist/shortcuts/ebuilder-form/continuation.js +2 -1
  138. package/dist/shortcuts/ebuilder-form/index.js +2 -0
  139. package/dist/shortcuts/ebuilder-form/operations/write.js +3 -2
  140. package/dist/shortcuts/ehr/continuation.js +2 -1
  141. package/dist/shortcuts/ehr/index.js +2 -0
  142. package/dist/shortcuts/ehr/operations/attend-write.js +44 -2
  143. package/dist/shortcuts/ehr/operations/hr-contact.js +7 -4
  144. package/dist/shortcuts/ehr/operations/hr-report.js +13 -7
  145. package/dist/shortcuts/ehr/operations/recruit-candidate-import.js +317 -63
  146. package/dist/shortcuts/ehr/operations/recruit-position.js +134 -2
  147. package/dist/shortcuts/ehr/operations/recruit-write.js +263 -18
  148. package/dist/shortcuts/ehr/operations/recruit.js +10 -4
  149. package/dist/shortcuts/ehr/operations/shared.js +47 -0
  150. package/dist/shortcuts/esb/continuation.js +2 -1
  151. package/dist/shortcuts/esb/index.js +2 -0
  152. package/dist/shortcuts/esb/operations/trigger.js +2 -1
  153. package/dist/shortcuts/fna/continuation.js +2 -1
  154. package/dist/shortcuts/fna/index.js +2 -0
  155. package/dist/shortcuts/fna/operations/invoice-writeoff.js +1 -1
  156. package/dist/shortcuts/fna/operations/loan.js +1 -1
  157. package/dist/shortcuts/hrm/index.js +2 -0
  158. package/dist/shortcuts/hrm/operations/org.js +118 -0
  159. package/dist/shortcuts/im/continuation.js +2 -1
  160. package/dist/shortcuts/index.js +10 -0
  161. package/dist/shortcuts/invoice/continuation.js +2 -1
  162. package/dist/shortcuts/invoice/index.js +14 -15
  163. package/dist/shortcuts/invoice/invoice-record.js +93 -0
  164. package/dist/shortcuts/invoice/manifest.js +190 -393
  165. package/dist/shortcuts/invoice/operations/add.js +2 -1
  166. package/dist/shortcuts/invoice/operations/delete.js +2 -1
  167. package/dist/shortcuts/invoice/operations/import.js +2 -1
  168. package/dist/shortcuts/invoice/operations/issuing-contract-detail.js +86 -0
  169. package/dist/shortcuts/invoice/operations/issuing-contracts.js +210 -0
  170. package/dist/shortcuts/invoice/operations/registry.js +17 -17
  171. package/dist/shortcuts/invoice/operations/reim-auto.js +4 -569
  172. package/dist/shortcuts/invoice/operations/reim.js +52 -341
  173. package/dist/shortcuts/invoice/operations/shared.js +21 -4
  174. package/dist/shortcuts/invoice/operations/update.js +2 -1
  175. package/dist/shortcuts/invoice/projection.js +10 -62
  176. package/dist/shortcuts/jiuchuanhui/continuation.js +2 -1
  177. package/dist/shortcuts/jiuchuanhui/index.js +2 -0
  178. package/dist/shortcuts/jiuchuanhui/operations/datajson.js +2 -1
  179. package/dist/shortcuts/jiuchuanhui/operations/esb.js +2 -1
  180. package/dist/shortcuts/mail/continuation.js +2 -1
  181. package/dist/shortcuts/mail/index.js +2 -0
  182. package/dist/shortcuts/mail/operations/mail-blacklist.js +1 -1
  183. package/dist/shortcuts/mail/operations/mail-contacts.js +1 -1
  184. package/dist/shortcuts/mail/operations/mail-send.js +1 -1
  185. package/dist/shortcuts/mail/operations/mail-sign.js +1 -1
  186. package/dist/shortcuts/mail/operations/mail-template.js +1 -1
  187. package/dist/shortcuts/meeting/continuation.js +2 -1
  188. package/dist/shortcuts/meeting/index.js +2 -0
  189. package/dist/shortcuts/meeting/operations/change.js +1 -1
  190. package/dist/shortcuts/meeting/operations/create.js +1 -1
  191. package/dist/shortcuts/meeting/operations/eb/catalog.js +4 -1
  192. package/dist/shortcuts/meeting/operations/eb/create-flow.js +101 -35
  193. package/dist/shortcuts/meeting/operations/eb/decision.js +1 -1
  194. package/dist/shortcuts/meeting/operations/eb/factory.js +34 -1
  195. package/dist/shortcuts/meeting/operations/eb/group-chat.js +25 -3
  196. package/dist/shortcuts/meeting/operations/eb/person-cache.js +96 -0
  197. package/dist/shortcuts/meeting/operations/eb/room-recommend.js +33 -11
  198. package/dist/shortcuts/meeting/operations/lifecycle.js +1 -1
  199. package/dist/shortcuts/meeting/operations/receipts.js +1 -1
  200. package/dist/shortcuts/meeting/operations/signs.js +1 -1
  201. package/dist/shortcuts/okr/continuation.js +2 -1
  202. package/dist/shortcuts/okr/index.js +2 -0
  203. package/dist/shortcuts/okr/operations/write.js +1 -1
  204. package/dist/shortcuts/plan/continuation.js +2 -1
  205. package/dist/shortcuts/plan/index.js +2 -0
  206. package/dist/shortcuts/plan/operations/write.js +1 -1
  207. package/dist/shortcuts/project/continuation.js +2 -1
  208. package/dist/shortcuts/project/index.js +2 -0
  209. package/dist/shortcuts/project/operations/read.js +6 -25
  210. package/dist/shortcuts/project/operations/shared.js +22 -0
  211. package/dist/shortcuts/project/operations/write.js +28 -2
  212. package/dist/shortcuts/reception/constants.js +53 -0
  213. package/dist/shortcuts/reception/errors.js +54 -0
  214. package/dist/shortcuts/reception/host.js +125 -0
  215. package/dist/shortcuts/reception/index.js +198 -0
  216. package/dist/shortcuts/reception/manifest.js +177 -0
  217. package/dist/shortcuts/reception/operations/ask.js +71 -0
  218. package/dist/shortcuts/reception/operations/browsertool.js +58 -0
  219. package/dist/shortcuts/reception/operations/compose.js +129 -0
  220. package/dist/shortcuts/reception/operations/customparams.js +74 -0
  221. package/dist/shortcuts/reception/operations/doc.js +238 -0
  222. package/dist/shortcuts/reception/operations/docrender.js +36 -0
  223. package/dist/shortcuts/reception/operations/panels.js +179 -0
  224. package/dist/shortcuts/reception/operations/registry.js +26 -0
  225. package/dist/shortcuts/reception/operations/render-assets.js +184 -0
  226. package/dist/shortcuts/reception/operations/render.js +123 -0
  227. package/dist/shortcuts/reception/operations/runs.js +38 -0
  228. package/dist/shortcuts/reception/operations/schedule.js +127 -0
  229. package/dist/shortcuts/reception/operations/shared.js +196 -0
  230. package/dist/shortcuts/reception/operations/snapshot.js +68 -0
  231. package/dist/shortcuts/reception/operations/types.js +1 -0
  232. package/dist/shortcuts/reception/operations.js +33 -0
  233. package/dist/shortcuts/reception/upload.js +218 -0
  234. package/dist/shortcuts/recruit-stage/context.js +231 -0
  235. package/dist/shortcuts/recruit-stage/continuation.js +74 -0
  236. package/dist/shortcuts/recruit-stage/errors.js +65 -0
  237. package/dist/shortcuts/recruit-stage/host.js +109 -0
  238. package/dist/shortcuts/recruit-stage/index.js +115 -0
  239. package/dist/shortcuts/recruit-stage/manifest.js +29 -0
  240. package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +722 -0
  241. package/dist/shortcuts/recruit-stage/operations/interview-feedback.js +269 -0
  242. package/dist/shortcuts/recruit-stage/operations/jd-create.js +719 -0
  243. package/dist/shortcuts/recruit-stage/operations/list.js +431 -0
  244. package/dist/shortcuts/recruit-stage/operations/registry.js +38 -0
  245. package/dist/shortcuts/recruit-stage/operations/resume-import.js +1354 -0
  246. package/dist/shortcuts/recruit-stage/operations/search.js +158 -0
  247. package/dist/shortcuts/recruit-stage/operations/types.js +25 -0
  248. package/dist/shortcuts/recruit-stage/school-tiers.json +318 -0
  249. package/dist/shortcuts/recruit-stage/shared.js +608 -0
  250. package/dist/shortcuts/workflow/continuation.js +2 -1
  251. package/dist/shortcuts/workflow/index.js +2 -0
  252. package/dist/shortcuts/workflow/operations/form.js +32 -8
  253. package/dist/shortcuts/workflow/operations/todoSmartConvert/detailFieldRules.js +4 -2
  254. package/dist/shortcuts/workflow/operations/todoSmartConvert/summaryCache.js +13 -6
  255. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoDetailCache.js +17 -24
  256. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoDetailFetcher.js +14 -9
  257. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.collect.js +50 -8
  258. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.core.js +2 -1
  259. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.detail.js +17 -11
  260. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.group.js +7 -39
  261. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.groupSummary.js +3 -2
  262. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.js +51 -15
  263. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.pipeline.js +16 -1
  264. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.smartGroup.js +151 -63
  265. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.subGroup.js +56 -0
  266. package/dist/shortcuts/workflow/operations/todoSmartConvert/todoSmartConvert.summary.js +39 -14
  267. package/dist/shortcuts/workflow/operations/write.js +1 -1
  268. package/docs/_catalog.md +3 -0
  269. package/docs/agent-invoice.md +1 -1
  270. package/docs/archive-oa.md +1 -1
  271. package/docs/caizhilian.md +1 -1
  272. package/docs/calendar.md +1 -1
  273. package/docs/contract.md +1 -1
  274. package/docs/e10-auth.md +23 -1
  275. package/docs/ehr.md +2 -2
  276. package/docs/esb.md +1 -1
  277. package/docs/im.md +1 -1
  278. package/docs/invoice.md +8 -12
  279. package/docs/okr.md +1 -1
  280. package/docs/operation-manual.md +8 -0
  281. package/docs/reception.md +119 -0
  282. package/package.json +1 -1
  283. package/scripts/clean.mjs +43 -2
  284. package/scripts/install-skill-to-xiaoe.mjs +105 -0
  285. package/scripts/package-skill.mjs +4 -2
  286. package/skill-template/business-info.json +42 -2
  287. package/skill-template/domains/caizhilian.md +1 -1
  288. package/skill-template/domains/reception-flow.md +18 -0
  289. package/skill-template/domains/recruit-stage.md +29 -0
  290. package/skill-template/domains/yepiaotong.md +4 -7
  291. package/skills/weaver-e10-archive-oa/references/source-manifest.json +14 -14
  292. package/skills/weaver-e10-blog/references/blog-publish.md +1 -1
  293. package/skills/weaver-e10-blog/references/source-manifest.json +7 -7
  294. package/skills/weaver-e10-caizhilian/references/source-manifest.json +21 -21
  295. package/skills/weaver-e10-caizhilian/references/write-protocol.md +2 -2
  296. package/skills/weaver-e10-calendar/SKILL.md +2 -1
  297. package/skills/weaver-e10-calendar/references/calendar-write.md +55 -1
  298. package/skills/weaver-e10-cowork/SKILL.md +1 -1
  299. package/skills/weaver-e10-cowork/references/cowork-write.md +3 -1
  300. package/skills/weaver-e10-ebuilder-form/SKILL.md +1 -1
  301. package/skills/weaver-e10-ebuilder-form/references/custom-api.md +1 -1
  302. package/skills/weaver-e10-ebuilder-form/references/openapi-write.md +1 -1
  303. package/skills/weaver-e10-esb/SKILL.md +2 -2
  304. package/skills/weaver-e10-esb/references/source-manifest.json +22 -22
  305. package/skills/weaver-e10-esb/references/trigger.md +2 -2
  306. package/skills/weaver-e10-jinchengda/references/contract-clause-library-crud.md +1 -1
  307. package/skills/weaver-e10-jinchengda/references/contract-clause-reference-save.md +1 -1
  308. package/skills/weaver-e10-jinchengda/references/contract-request-write.md +1 -1
  309. package/skills/weaver-e10-jinchengda/references/source-manifest.json +29 -29
  310. package/skills/weaver-e10-jucailin/SKILL.md +1 -1
  311. package/skills/weaver-e10-jucailin/references/attend-write.md +10 -2
  312. package/skills/weaver-e10-jucailin/references/hr-contact.md +8 -0
  313. package/skills/weaver-e10-jucailin/references/hr-report.md +8 -0
  314. package/skills/weaver-e10-jucailin/references/recruit-create.md +14 -5
  315. package/skills/weaver-e10-jucailin/references/recruit-read.md +1 -1
  316. package/skills/weaver-e10-jucailin/references/recruit-write.md +5 -4
  317. package/skills/weaver-e10-mail/SKILL.md +1 -1
  318. package/skills/weaver-e10-meeting/SKILL.md +39 -7
  319. package/skills/weaver-e10-meeting/references/meeting-change.md +1 -1
  320. package/skills/weaver-e10-meeting/references/meeting-create.md +1 -1
  321. package/skills/weaver-e10-meeting/references/meeting-lifecycle.md +1 -1
  322. package/skills/weaver-e10-meeting/references/meeting-verification.md +1 -1
  323. package/skills/weaver-e10-okr/references/okr-align.md +1 -1
  324. package/skills/weaver-e10-okr/references/okr-keyresult.md +1 -1
  325. package/skills/weaver-e10-okr/references/okr-write.md +1 -1
  326. package/skills/weaver-e10-okr/references/source-manifest.json +8 -8
  327. package/skills/weaver-e10-plan/references/plan-report-write.md +1 -1
  328. package/skills/weaver-e10-plan/references/source-manifest.json +20 -20
  329. package/skills/weaver-e10-qiyecheng/references/loan-management.md +1 -1
  330. package/skills/weaver-e10-qiyecheng/references/source-manifest.json +18 -18
  331. package/skills/weaver-e10-reception-flow/SKILL.md +173 -0
  332. package/skills/weaver-e10-reception-flow/assets//350/241/214/347/250/213/345/215/225/346/250/241/346/235/277-/346/263/233/345/276/256.docx +0 -0
  333. package/skills/weaver-e10-reception-flow/data/fields-snapshot.json +213 -0
  334. package/skills/weaver-e10-reception-flow/references/browsertool.md +68 -0
  335. package/skills/weaver-e10-reception-flow/references/env-pitfalls.md +51 -0
  336. package/skills/weaver-e10-reception-flow/references/fields-snapshot.md +227 -0
  337. package/skills/weaver-e10-reception-flow/references/guide.md +179 -0
  338. package/skills/weaver-e10-reception-flow/scripts/locate.sh +14 -0
  339. package/skills/weaver-e10-reception-flow/scripts/render.py +724 -0
  340. package/skills/weaver-e10-recruit-stage/SKILL.md +230 -0
  341. package/skills/weaver-e10-recruit-stage/agents/openai.yaml +119 -0
  342. package/skills/weaver-e10-recruit-stage/lib/recruit-xiaoe-file.mjs +188 -0
  343. package/skills/weaver-e10-recruit-stage/lib/xiaoe-session.mjs +66 -0
  344. package/skills/weaver-e10-recruit-stage/references/position-templates.md +202 -0
  345. package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +322 -0
  346. package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +127 -0
  347. package/skills/weaver-e10-recruit-stage/references/recruit-check-install.md +65 -0
  348. package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +63 -0
  349. package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +142 -0
  350. package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +95 -0
  351. package/skills/weaver-e10-recruit-stage/references/recruit-jd-template.md +56 -0
  352. package/skills/weaver-e10-recruit-stage/references/recruit-list-candidate.md +101 -0
  353. package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +148 -0
  354. package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +77 -0
  355. package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +59 -0
  356. package/skills/weaver-e10-recruit-stage/references/recruit-resolve-creator.md +69 -0
  357. package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +241 -0
  358. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +451 -0
  359. package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +128 -0
  360. package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +146 -0
  361. package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +69 -0
  362. package/skills/weaver-e10-shared/SKILL.md +1 -1
  363. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +10 -2
  364. package/skills/weaver-e10-shijingran/SKILL.md +7 -6
  365. package/skills/weaver-e10-shijingran/references/operations.md +3 -1
  366. package/skills/weaver-e10-shijingran/references/source-manifest.json +30 -28
  367. package/skills/weaver-e10-shijingran/references/write-operations.md +2 -0
  368. package/skills/weaver-e10-skill-maker/references/module-cli-generation.md +2 -0
  369. package/skills/weaver-e10-wenshuding/references/source-manifest.json +3 -3
  370. package/skills/weaver-e10-workflow/SKILL.md +4 -2
  371. package/skills/weaver-e10-workflow/aigroup/default.json +11 -9
  372. package/skills/weaver-e10-workflow/references/source-manifest.json +32 -32
  373. package/skills/weaver-e10-workflow/references/todo-smart-convert.md +23 -13
  374. package/skills/weaver-e10-workflow/tools/todo-summary.cjs +62 -20
  375. package/skills/weaver-e10-yepiaotong/SKILL.md +28 -36
  376. package/skills/weaver-e10-yepiaotong/references/invoice-agent-entry.md +6 -3
  377. package/skills/weaver-e10-yepiaotong/references/invoice-detail.md +13 -10
  378. package/skills/weaver-e10-yepiaotong/references/invoice-enterprise-list.md +2 -0
  379. package/skills/weaver-e10-yepiaotong/references/invoice-issuing-workflow.md +194 -155
  380. package/skills/weaver-e10-yepiaotong/references/invoice-output-view.md +28 -32
  381. package/skills/weaver-e10-yepiaotong/references/invoice-personal-list.md +5 -1
  382. package/skills/weaver-e10-yepiaotong/references/invoice-reim.md +8 -10
  383. package/skills/weaver-e10-yepiaotong/references/reim-api-reference.md +211 -616
  384. package/skills/weaver-e10-yepiaotong/references/reim-examples.md +149 -117
  385. package/skills/weaver-e10-yepiaotong/references/reim-expense-subject-rules.md +17 -20
  386. package/skills/weaver-e10-yepiaotong/references/reim-form-fill-rules.md +20 -39
  387. package/skills/weaver-e10-yepiaotong/references/reim-matching-rules.md +55 -22
  388. package/skills/weaver-e10-yepiaotong/references/reim-phone-subsidy-rules.md +7 -17
  389. package/skills/weaver-e10-yepiaotong/references/reim-workflow.md +88 -92
  390. package/skills/weaver-e10-yepiaotong/references/source-manifest.json +144 -354
  391. package/skills/weaver-e10-yimiaoban/SKILL.md +1 -1
  392. package/skills/weaver-e10-yimiaoban/references/msg-write.md +1 -1
  393. package/skills/weaver-e10-yimiaoban/references/safety-boundaries.md +1 -1
  394. package/skills/weaver-e10-yimiaoban/references/source-manifest.json +7 -7
  395. package/dist/chunks/chunk-SPRHHSVC.js +0 -465
  396. package/dist/chunks/registry-KMHCPAAD.js +0 -22
  397. package/dist/shortcuts/invoice/markdown.js +0 -172
  398. package/dist/shortcuts/invoice/operations/issuing-qys.js +0 -424
  399. package/skills/weaver-e10-meeting.zip +0 -0
  400. package/skills/weaver-e10-yepiaotong/references/invoice-issuing-examples.md +0 -131
  401. package/skills/weaver-e10-yepiaotong/references/invoice-issuing-form-fill-rules.md +0 -179
@@ -0,0 +1,29 @@
1
+ 本业务域用于泛微 E10 的**招聘阶段业务**(招聘启事生成、简历建档与人岗匹配、AI 面试邀约与反馈)。入口 `SKILL.md` 先路由到 `weaver-e10-shared/SKILL.md`,再给出任务编排名、Reference 路由表、固定参数表与执行纪律。业务能力全部由 `weaver-work-cli` 的 `recruit-stage` 模块提供(13 个 operation),具体接口契约与命令参数拆到 `references/`:
2
+
3
+ - `recruit-check-install.md`:第 0 步闸门,按应用标签取 appId,判断招聘服务是否已部署。
4
+ - `recruit-capability-check.md`:运行时能力探测(有哪些菜单/表单/接口),不按版本号硬编码。
5
+ - `recruit-resolve-metadata.md`:租户参数(objId / formId / listId / appId / 菜单 / 字段 id)的 tag 链解析与缓存。
6
+ - `recruit-resolve-creator.md`:创建人、成员、面试官等人员名称到 EB 用户 ID 的解析。
7
+ - `recruit-jd-create.md`:招聘启事/JD 生成到建职位的 `prepare -> apply` 写入流程。
8
+ - `recruit-jd-template.md`:招聘启事与岗位 JD 的企业标准文案模板(可整体替换)。
9
+ - `recruit-resume-parse.md`:简历 OCR 解析(仅在 AI 无法解析原件时兜底)。
10
+ - `recruit-resume-import.md`:简历导入建人才,含附件上传、查重与标签策略。
11
+ - `recruit-search-candidate.md`:按手机号/姓名/邮箱搜索人才库,取 `talentId`。
12
+ - `recruit-list-candidate.md`:应聘者台账(按职位/批次筛选)。
13
+ - `recruit-list-interview.md`:面试管理列表(近 N 天、待反馈)。
14
+ - `recruit-arrange-interview.md`:安排面试的动作链(含 AI 面试方案必填口径)。
15
+ - `recruit-edit-interview-feedback.md`:提交/修改面试反馈的组合写操作。
16
+ - `recruit-urge-feedback.md`:催促面试官填写评价(会触达真人,需用户明确同意)。
17
+ - `recruit-detail-process.md`:应聘过程卡片(辅助,默认不展示)。
18
+ - `recruit-match-candidates.md`:人岗匹配打分口径与候选人评分卡结构。
19
+ - `recruit-output-links.md`:查看类产物的 Markdown 双链接契约。
20
+
21
+ 调优重点:
22
+
23
+ - `weaver-work-cli recruit-stage schema` 是 operation 合约第一信息源,禁止把源文档里的 HTTP 路径当成可直接调用的地址。
24
+ - 字段 id / 枚举 / 菜单 / appId 全部五层上下文运行时解析并缓存,换环境不需要改技能。
25
+ - 写操作只接受 CLI 生成的 continuation,`prepare` 摘要未经用户明确确认不得 `apply`;`apply` 不自动重试。
26
+ - AI 面试的方案(digital_id)与邮箱必填,`prepare` 未带方案时列候选让用户选,绝不自动取第一条。
27
+ - 姓名/手机号模糊命中多人时列候选让用户确认,禁止自动取第一条;命中 0 条时如实说明,不臆造。
28
+ - 产物只用普通 Markdown 链接(viewLink / listLocateLink / talentCardUrl),不用 browsertool 卡片、不用右栏 iframe。
29
+ - 结果为 `partial` / `write_uncertain` 时停止写入,先做只读回查再向用户说明。
@@ -14,10 +14,7 @@
14
14
  - `invoice-update.md`:编辑发票的 `prepare -> apply` 写入协议。
15
15
  - `invoice-delete.md`:删除发票的 `prepare -> apply` 写入协议。
16
16
  - `invoice-reim.md`:发票报销自动填单的数据准备;报销单创建/修改调用 `weaver-e10-workflow` 的 `workflow.createForm` / `workflow.createRequest` / `workflow.edit*`。相关客户、相关项目必须在建单前确认(项目可「不填」),禁止先建空草稿再问。用户给出名称时先 `invoice.reim.field.search` 消歧。
17
- - `invoice-issuing-workflow.md`:AI 开票主链路——获取待开票合同数据(含契约锁、泛微及其他合同)后按合同号分组,按核算公司选择开票流程(上海亘岩网络科技有限公司走契约锁开票流程;泛微网络、泛微软件、上海田亩、成都泛微、泛微国际、北京泛微、浙江泛微走合同收款发票开具及快递申请;为空或不在名单里时先问用户;退票、冲红、红冲走合同开票冲红流程),调用 `weaver-e10-workflow` 的 `workflow.createForm` / `workflow.createRequest` 发起草稿。
18
- - `invoice-issuing-form-fill-rules.md`:开票流程填单规则,用户没说的字段按默认值填(如本次开票金额 = 总金额)。
19
- - `invoice-issuing-qys-ledger.md`:兜底链路,用户明确要求时按台账行直接开票或存待开台账。
20
- - `invoice-issuing.md`:兜底链路,用户明确要求时按口述字段直接开票或存台账的 payload 确认链。
17
+ - `invoice-issuing-workflow.md`:AI 开票——用 `weaver-e10-workflow` 的 `workflow.search` 查出当前用户有权限看的合同审批流程。用户点名了客户、公司、地名、合同号或标题关键词时追加 `requestName`,按流程标题模糊搜索;没点名不传。再把 `data.cards` 传给 `invoice.issuing.contracts.list` 补齐是否开票、合同号、客户名称、开票金额和销售方,列出待开票合同;用户选定后用 `invoice.issuing.contract.detail` 取合同客户与合同正文文档的 `{id, name}`,按销售方选开票申请流程,问清预计收款时间并确认后调用 `weaver-e10-workflow` 的 `workflow.createForm` / `workflow.createRequest` 存草稿。
21
18
  - `invoice-disabled-capabilities.md`:共享、转让、标签等暂未暴露能力的处理边界。
22
19
 
23
20
  Agent 调优重点:
@@ -26,8 +23,8 @@ Agent 调优重点:
26
23
  - 业务输入不得包含 Cookie、ETEAMSID、Token 或内部控制字段。
27
24
  - 写操作只接受 CLI 生成的 continuation,不手工构造或复用。
28
25
  - `validate=false` 只能说明跳过查验,不能描述为查验通过。
29
- - 报销单创建、报销单修改、开票和存台账必须先展示摘要并取得明确确认;报销单按 `workflow.createRequest` 的 `{main, details}` 结构组装 `data`。
30
- - 开票先获取待开票合同数据(含契约锁、泛微及其他合同),再发起流程草稿(`action` 固定 `draft`)。销售方取台账「核算公司」,名称必须完全相同:「上海亘岩网络科技有限公司」用契约锁开票流程;泛微网络、泛微软件、上海田亩、成都泛微、泛微国际、北京泛微、浙江泛微用「合同收款发票开具及快递申请」;为空或不在名单里时先问用户;退票、冲红、红冲用「合同开票冲红流程」。明细每行只传金额(含税),其余列由合同号联动带出,Agent 不做金额计算。CLI 已无直接开票接口。
31
- - 直接开票时从用户输入、附件或对话上下文提取购方字段;当前资料包没有客户档案查询 operation,资料不足时追问用户补齐。
26
+ - 报销单按 `workflow.createRequest` 的 `{main, details}` 结构组装 `data`,确认发票后直接存草稿(`action` 固定 `draft`,不问「存草稿 / 提交审批」),明细每行只写「相关发票」(及「相关流程」);报销单修改必须先展示摘要并取得明确确认。
27
+ - 待开票合同的开票金额以 `invoice.issuing.contracts.list` 返回的 `invoiceAmount` / `invoiceGroups` 为准,Agent 不自己累加,也不从流程标题推算。
28
+ - 开票申请只建草稿(`action` 固定 `draft`),`data.main` 只填合同审批流程、合同客户、合同文本、预计收款时间。合同文本与合同流程一样传 `{id, name}`(`id` 用 `docId`,`name` 用文件名;多个文件传数组),契约锁流程再填合同号,其余字段由联动带出;预计收款时间必须由用户给出并确认,不猜、不留空。
32
29
  - 当前资料包没有红字发票红冲接口,`invoice.red.*` 不属于可用 operation。
33
30
  - 结果为 `partial/write_uncertain` 时停止,不自动重放写请求。
@@ -236,12 +236,12 @@
236
236
  }
237
237
  },
238
238
  "artifactBaseline": {
239
- "aggregateSha256": "d4d6cb77d029f442dc15d93e1ed7355ceccade69a4291037baaa3c64393f620d",
239
+ "aggregateSha256": "8a011efe5f4255470386f9683983aa446baca83b755517b81af16e97425f76a5",
240
240
  "files": [
241
241
  {
242
242
  "path": "docs/archive-oa.md",
243
243
  "size": 4469,
244
- "sha256": "c77dbb289d87900278c4c0ef0b06caa2660080172fcc3a5d6fec02d399748ff6"
244
+ "sha256": "aa3a8e1ce199d696bdab1d33c5baba8698b7815388d42196167ccfc2ead0f17f"
245
245
  },
246
246
  {
247
247
  "path": "skill-template/domains/archive-oa.md",
@@ -250,8 +250,8 @@
250
250
  },
251
251
  {
252
252
  "path": "skills/weaver-e10-archive-oa/SKILL.md",
253
- "size": 13962,
254
- "sha256": "a21714898b5f96aac32ec25bea7470069a2e5c572451e868f7112be31da86df0"
253
+ "size": 14100,
254
+ "sha256": "03ac4988f93da303141f020f9e01df28f01e5c36460708b504476af3b09708a6"
255
255
  },
256
256
  {
257
257
  "path": "skills/weaver-e10-archive-oa/references/archive-locate.md",
@@ -290,8 +290,8 @@
290
290
  },
291
291
  {
292
292
  "path": "src/shortcuts/archive-oa/continuation.ts",
293
- "size": 3290,
294
- "sha256": "e374b16dae04b3b7faa9c347f8a55086a5e29383fefd8b669713e5c8ba547f5b"
293
+ "size": 3368,
294
+ "sha256": "d1e06ca66abac29bbbc43929f09b2fc826ee8a46a0e0eb71d2506e7aeb184923"
295
295
  },
296
296
  {
297
297
  "path": "src/shortcuts/archive-oa/errors.ts",
@@ -300,18 +300,18 @@
300
300
  },
301
301
  {
302
302
  "path": "src/shortcuts/archive-oa/host.ts",
303
- "size": 7950,
304
- "sha256": "bbecdd1dc5d5bee66dd7d38bd2bad16261ce1a7fb8bce595842873c1dc17c039"
303
+ "size": 7993,
304
+ "sha256": "fe9d6d1448a856418ed65dbc2da0e0a1adfd70a35cb1705b49d1d9fa2e1d9f7e"
305
305
  },
306
306
  {
307
307
  "path": "src/shortcuts/archive-oa/index.ts",
308
- "size": 10493,
309
- "sha256": "f19278f78f0f6340b8bda0686cddc80f50d91bc43d1a3f4637f2c05dbe66e4a0"
308
+ "size": 10590,
309
+ "sha256": "f7d7aca5e24ae973b48cc648bcf5c4535d2b8ffcdb02a27eda7e9e5a2d18f45a"
310
310
  },
311
311
  {
312
312
  "path": "src/shortcuts/archive-oa/manifest.ts",
313
- "size": 3500,
314
- "sha256": "0b234ade625862fa81fcde443ecac2b90d16586aed8a855deb3bd812faf0a670"
313
+ "size": 3511,
314
+ "sha256": "21c1f2481e315c9b818a512b9f6284c03633b47c048a89199885a54cd54b46e1"
315
315
  },
316
316
  {
317
317
  "path": "src/shortcuts/archive-oa/operations.ts",
@@ -330,8 +330,8 @@
330
330
  },
331
331
  {
332
332
  "path": "src/shortcuts/archive-oa/operations/confirm.ts",
333
- "size": 2822,
334
- "sha256": "b2224fdcfbf168aa78f7477f7ad1b1214f22fffaab4a2526d39d1f2ad5c11bc7"
333
+ "size": 2903,
334
+ "sha256": "b11943f3f9d35b3b4e7143f89467c8fca4275ab604ea32d62b855112ccefc800"
335
335
  },
336
336
  {
337
337
  "path": "src/shortcuts/archive-oa/operations/contract.ts",
@@ -35,7 +35,7 @@ weaver-work-cli --json blog run blog.publish.apply --input-json '{"continuation"
35
35
 
36
36
  ## 输出处理
37
37
 
38
- 1. prepare 返回 `status=AWAITING_CONFIRMATION`、日期、内容与 continuation(10 分钟有效)。
38
+ 1. prepare 返回 `status=AWAITING_CONFIRMATION`、日期、内容与 continuation(24 小时有效)。
39
39
  2. 向用户复述日期与内容,取得明确确认(如「确认发布」)后才能调 apply。
40
40
  3. apply 内部回查验证:返回 `blog_id` 与 `submit_status`(当天补交属正常现象)。
41
41
 
@@ -1178,7 +1178,7 @@
1178
1178
  "source": "scripts/publish-blog.mjs(无 continuation 概念)",
1179
1179
  "inputSchema": "continuation",
1180
1180
  "status": "converted",
1181
- "facts": "CLI 新增:prepare 签发、apply 校验,10 分钟有效"
1181
+ "facts": "CLI 新增:prepare 签发、apply 校验,24 小时有效"
1182
1182
  },
1183
1183
  {
1184
1184
  "parameter": "显式确认",
@@ -1493,14 +1493,14 @@
1493
1493
  {
1494
1494
  "path": "docs/blog.md",
1495
1495
  "type": "file",
1496
- "size": 7886,
1497
- "sha256": "3412839fd4c4d86d1c4be9066b7a8fa7cf89a2eed04e27a9b3bc73dab836a267"
1496
+ "size": 7981,
1497
+ "sha256": "fb64f97fbd75d0e0481411fe2c154825ebe77473c71e741ca76b1f1c7eb9ba20"
1498
1498
  },
1499
1499
  {
1500
1500
  "path": "test/business/blog-operations.test.ts",
1501
1501
  "type": "file",
1502
- "size": 39092,
1503
- "sha256": "ee199dcbedebaadd1e2a6b6b1863551277e0ca3f96410ece41c6367004452da2"
1502
+ "size": 40498,
1503
+ "sha256": "c8696c027fc9245274876182abc8f76a908bc1addf7883f51debc357dd94ae8b"
1504
1504
  },
1505
1505
  {
1506
1506
  "path": "test/business/blog-host.test.ts",
@@ -1511,8 +1511,8 @@
1511
1511
  {
1512
1512
  "path": "skill-template/business-info.json",
1513
1513
  "type": "file",
1514
- "size": 6338,
1515
- "sha256": "c14748f9c2855c92efc01aadbc5e19dd6db54202454d26113acb60932601d9f8"
1514
+ "size": 10383,
1515
+ "sha256": "a7f3fbedf68c9ec9f460c917ff2870da64540030eea3529c905792ca15bd4758"
1516
1516
  },
1517
1517
  {
1518
1518
  "path": "skill-template/domains/blog.md",
@@ -6056,27 +6056,27 @@
6056
6056
  }
6057
6057
  ],
6058
6058
  "artifactBaseline": {
6059
- "aggregateSha256": "9daa9ebc569f2f2ea9291e26e8b8ffd6ad553e4650e6480b6ea20311f4e0f90e",
6059
+ "aggregateSha256": "d9cb101d708ecdb491fd55beb3ea7b8f8d7ff27b0d3ef74940207e616ff970a8",
6060
6060
  "files": [
6061
6061
  {
6062
6062
  "path": "docs/_catalog.md",
6063
- "size": 5355,
6064
- "sha256": "b980b43bc1c9dabfa9b5b6da0a6e0187357d4c4f73c6f80a141c0c317acc182b"
6063
+ "size": 6236,
6064
+ "sha256": "3ffe3896fbecc4586aac19ebb7fa6e11ab6ad1090a78fbfe4f1313614ce034cb"
6065
6065
  },
6066
6066
  {
6067
6067
  "path": "docs/caizhilian.md",
6068
6068
  "size": 26779,
6069
- "sha256": "011b212cca9c6214cccb2dfc81043cb90b831b86078903e49f6cb3e87ff6ecc3"
6069
+ "sha256": "7ac6eedca701199f9c2e8810f4cf304d52cb81e6a6e40461cb944da171c84a76"
6070
6070
  },
6071
6071
  {
6072
6072
  "path": "skill-template/business-info.json",
6073
- "size": 8592,
6074
- "sha256": "06f4c239dfcd50f0be1febb00b663e962064a4d2c19193632957fdf5ef85d39a"
6073
+ "size": 10383,
6074
+ "sha256": "a7f3fbedf68c9ec9f460c917ff2870da64540030eea3529c905792ca15bd4758"
6075
6075
  },
6076
6076
  {
6077
6077
  "path": "skill-template/domains/caizhilian.md",
6078
6078
  "size": 3575,
6079
- "sha256": "9468ab0220d55c0c8efbd9bdeb1dec65656611e8e363fbb61708680e0f43f3a1"
6079
+ "sha256": "9bff99e5337acbb5ca8d888933f62fd82d1a9bf4cc1dcc27da4b75e9e21fb968"
6080
6080
  },
6081
6081
  {
6082
6082
  "path": "skills/weaver-e10-caizhilian/references/agent-entry.md",
@@ -6120,8 +6120,8 @@
6120
6120
  },
6121
6121
  {
6122
6122
  "path": "skills/weaver-e10-caizhilian/references/write-protocol.md",
6123
- "size": 10704,
6124
- "sha256": "6f47273ed588ebaa82e2efc1b4afcdb4b4775be2ae30df97a5664719ac691911"
6123
+ "size": 10715,
6124
+ "sha256": "7ae9f6f852ba11f6d8124e6bbed0555402bbdf3eac949b0d51e719d4c8feff4d"
6125
6125
  },
6126
6126
  {
6127
6127
  "path": "skills/weaver-e10-caizhilian/SKILL.md",
@@ -6130,13 +6130,13 @@
6130
6130
  },
6131
6131
  {
6132
6132
  "path": "src/internal/e10/request-runtime.ts",
6133
- "size": 19854,
6134
- "sha256": "cb58d21cdc018d027b5c13b1e5cfd4befa8a3e466e8c60fcff41852bc1047982"
6133
+ "size": 25852,
6134
+ "sha256": "8287790d7d2bb2d9e283dcbd413252151f9c75ef8198cb81ccc6910b7c2bd48a"
6135
6135
  },
6136
6136
  {
6137
6137
  "path": "src/shortcuts/caizhilian/continuation.ts",
6138
- "size": 3299,
6139
- "sha256": "652fe02c87696fb1b7dd5f12000799cd0026d4b3a6c7c6ad5bf7575ef08eafdd"
6138
+ "size": 3377,
6139
+ "sha256": "e05375ee4fe6385c86ba85a9b3b04ad7ae5e50159d3712f576204a2b4aee26b6"
6140
6140
  },
6141
6141
  {
6142
6142
  "path": "src/shortcuts/caizhilian/errors.ts",
@@ -6165,13 +6165,13 @@
6165
6165
  },
6166
6166
  {
6167
6167
  "path": "src/shortcuts/caizhilian/host.ts",
6168
- "size": 11801,
6169
- "sha256": "000fa19a7527a1238bfb05c1cd0bae8406dba406d6a654173a5979119fbb17ae"
6168
+ "size": 11858,
6169
+ "sha256": "5a87e7411fa0d67d01afc048a40d3c2440bcd3d7a6768dd4a40af7fec0898097"
6170
6170
  },
6171
6171
  {
6172
6172
  "path": "src/shortcuts/caizhilian/index.ts",
6173
- "size": 8357,
6174
- "sha256": "e449bbded9a170e3869e3e2cf07329418a8c8d4a9228dfd0bfe31c0fb63c2443"
6173
+ "size": 8454,
6174
+ "sha256": "42df4f02bbffce1d4f019b60ea7d83cd6b1d60ed82065ac2d9b276fea6ff5c19"
6175
6175
  },
6176
6176
  {
6177
6177
  "path": "src/shortcuts/caizhilian/manifest.ts",
@@ -6190,8 +6190,8 @@
6190
6190
  },
6191
6191
  {
6192
6192
  "path": "src/shortcuts/caizhilian/operations/confirm.ts",
6193
- "size": 4612,
6194
- "sha256": "d051b4cd21e08ff4e7da5f2b4e62afea82d3ab213a04f87641103ba456f9d5e3"
6193
+ "size": 4701,
6194
+ "sha256": "e26af204811035953ffa6de121801708e640976a60d0b98dd0504c8940407397"
6195
6195
  },
6196
6196
  {
6197
6197
  "path": "src/shortcuts/caizhilian/operations/files.ts",
@@ -6260,8 +6260,8 @@
6260
6260
  },
6261
6261
  {
6262
6262
  "path": "src/shortcuts/index.ts",
6263
- "size": 1500,
6264
- "sha256": "fe10e9918df3c47bf9038298df7c7d590c74cc3de62fce173f6f610938ae9090"
6263
+ "size": 8426,
6264
+ "sha256": "d1b5fe76045aa2532c859f20ceeb7a5c415cc34b7a36bda0a2699c1cac34eee3"
6265
6265
  },
6266
6266
  {
6267
6267
  "path": "test/business/caizhilian-command.test.ts",
@@ -17,7 +17,7 @@
17
17
 
18
18
  ### 票据(continuation)约束
19
19
 
20
- - 有效期 **10 分钟**(`expires_in_ms`),过期报 `continuation_expired`,必须重新 prepare。
20
+ - 有效期 **24 小时**(`expires_in_ms`,86400000),过期报 `continuation_expired`,必须重新 prepare。
21
21
  - 票据里绑定了 **baseUrl + 登录账号**:换环境或换账号后复用会报 `continuation_context_mismatch`。
22
22
  - 票据绑定 **目标 apply 操作名**:把 A 操作的票据用于 B 操作报 `continuation_mismatch`。
23
23
  - 票据里存了 prepare 时的**入参指纹**(排除 `confirm` / `continuation`):apply 入参与 prepare 不一致报 `continuation_args_changed`;关键字段(如 `doc_id`)单独漂移报 `continuation_target_changed`。
@@ -114,7 +114,7 @@ weaver-work-cli --json caizhilian run caizhilian.share.add.apply --input-json '{
114
114
  | `confirmation/required` | apply 缺 `confirm: true` | 先向用户摘要并取得确认,再加 `--yes` 重跑 apply |
115
115
  | `validation/continuation_required` | apply 缺 `continuation` | 先跑 prepare 拿票据 |
116
116
  | `validation/continuation_invalid` | 票据签名校验失败或无法解析 | 重新 prepare;不要修改票据字符串 |
117
- | `validation/continuation_expired` | 超过 10 分钟有效期 | 重新 prepare |
117
+ | `validation/continuation_expired` | 超过 24 小时有效期 | 重新 prepare |
118
118
  | `validation/continuation_mismatch` | 票据被用于别的 apply 操作 | 用对应操作的 prepare 重新签发 |
119
119
  | `validation/continuation_context_mismatch` | 环境(baseUrl)或登录账号已变 | 确认目标环境后重新 prepare |
120
120
  | `validation/continuation_target_changed` | 关键字段(如 `doc_id`)与 prepare 不一致 | 重新 prepare |
@@ -5,7 +5,7 @@ display_name_en: Weaver E10 Calendar
5
5
  description: 泛微E10日程管理的查询与写操作能力,支持创建、查询列表、查询详情、查询总数、更新、删除日程,查询日程类型与紧急程度,以及应用版本检测,通过 weaver-work-cli calendar 命令执行。
6
6
  description_zh: 泛微E10日程管理的查询与写操作能力,支持创建、查询列表、查询详情、查询总数、更新、删除日程,查询日程类型与紧急程度,以及应用版本检测,通过 weaver-work-cli calendar 命令执行。
7
7
  description_en: Weaver E10 calendar capabilities, including create, list, get, count, update and delete schedules, query schedule type and priority dictionaries, and check app version, delivered through the weaver-work-cli calendar command.
8
- version: 1.1.0
8
+ version: 1.2.2
9
9
  author: 泛微网络科技股份有限公司
10
10
  agent_created: true
11
11
  requires:
@@ -60,6 +60,7 @@ weaver-work-cli --json calendar run <operation> --input-json '{"key":"value"}'
60
60
 
61
61
  - **参与人默认带当前人**:未传 `participants` 时,CLI 自动用当前登录用户;额外指定他人时当前人仍默认包含,除非用户明确表示自己不参与。
62
62
  - **时长默认 1 小时**:只传 `start_time` 未传 `end_time` 时,CLI 自动补 `end_time = start_time + 1 小时`。
63
+ - **默认不提醒、不重复**:用户未指定时提醒保持关闭(不传 `remind`),重复为不重复(`NONE`),不要替用户默认开启提醒或重复。
63
64
  - **更新为全量覆盖**:`calendar.update.prepare` 会先查询当前日程详情并合并用户修改,避免遗漏字段。
64
65
  - **列表默认一页**:`page_no`/`page_size` 默认 1/10,不自动翻页。
65
66
 
@@ -19,12 +19,37 @@
19
19
  3. 用户明确确认后调用 `apply`,必须带 `confirm=true` 和 prepare 返回的 continuation。
20
20
  4. `apply` 校验 session、目标 ID 和字段指纹未变化;网络中断返回 `partial/write_uncertain`,**禁止自动重试**,先做只读回查。
21
21
 
22
- continuation 绑定当前登录环境与操作人,10 分钟有效。租户或账号变化触发 `context_mismatch`,字段与 prepare 快照不一致触发 `target_changed`,均需重新 `prepare`。
22
+ continuation 绑定当前登录环境与操作人,24 小时有效。租户或账号变化触发 `context_mismatch`,字段与 prepare 快照不一致触发 `target_changed`,均需重新 `prepare`。
23
+
24
+ ## 时间冲突检查(创建 / 修改时间前必做)
25
+
26
+ 新建日程或修改日程的 `start_time`/`end_time` 之前,**必须**先做时间冲突检查,禁止未经检查直接写入。
27
+
28
+ **流程**
29
+ 1. 用 `calendar.list` 查询目标日期全天:入参 `start_time` 当天 `00:00`、`end_time` 当天 `23:59`,`page_size` 取足够大(如 50)。
30
+ 2. 将新建 / 拟改时间窗口与返回 `agenda` 逐条重叠检测:窗口 A=[a,b)、B=[i,j),重叠判定为 `max(a,i) < min(b,j)`。
31
+ 3. **存在冲突时,必须按下列表格结构呈现并给出处理建议,再交用户决策**(冲突仅提醒、不阻断写入):
32
+ - **现有日程明细表**:列出当日全部日程(名称 / 时间 / ID / 是否冲突)。
33
+ - **当日空闲时段表**:依据当日已排日程推算得出的可排期时间段。
34
+ - **冲突处理建议表**:给出改期 / 缩短 / 合并 / 委派等建议,并附具体候选时间或操作。
35
+ 4. 用户明确选择某方案或确认「仍按原时间创建」后,再走 prepare→apply。
36
+
37
+ **建议方案说明**
38
+ - **改期**:从空闲时段中挑选无冲突时段(如上午 09:00~15:00 区段、下午 15:30 之后区段)。
39
+ - **缩短**:将新窗口提前结束或延后开始,避开冲突段(如改为 14:30~15:00)。
40
+ - **合并**:若新日程与冲突项主题相关,并入冲突项(延长其时间或合并为一場)。
41
+ - **委派**:将 `participants` 改为他人,本人不再占用该时段。
42
+
43
+ > 修改时间(`calendar.update`)同样适用本小节:先查冲突,再 prepare。
23
44
 
24
45
  ## 创建日程
25
46
 
26
47
  必填 `agn_name`、`start_time`、`agn_type`、`priority`;`end_time` 缺省自动 `start_time + 1 小时`;`participants` 缺省自动带当前操作人。
27
48
 
49
+ **未指定时的默认值**
50
+ - **提醒默认关闭**:用户未要求提醒时,不传 `remind`、不设置提醒档位,呈现为「关闭」;只有用户明确要求提醒才按「提醒档位规则」开启。
51
+ - **重复默认不重复**:用户未要求重复时,不传重复字段(即 `NONE` 不重复),呈现为「不重复」;不要替用户默认加上任何提醒或重复规则。
52
+
28
53
  第一步 prepare(Windows PowerShell):
29
54
 
30
55
  ```powershell
@@ -43,6 +68,27 @@ printf '%s\n' '{"agn_name":"项目周会","start_time":"2026-08-15 09:00","agn_t
43
68
  weaver-work-cli --json calendar run calendar.create.apply --input-json '{"agn_name":"项目周会","start_time":"2026-08-15 09:00","agn_type":"1147539906291523593","priority":"1147539666016624641","confirm":true,"continuation":"<prepare返回的token>"}'
44
69
  ```
45
70
 
71
+ ### 创建结果返回(含详情卡片页链接)
72
+
73
+ `calendar.create.apply` 成功后返回**结构化结果**(不再直接透传后端原始 JSON,避免回显英文键):
74
+
75
+ | 字段 | 说明 |
76
+ | --- | --- |
77
+ | `status` | `COMPLETE` 表示创建成功(协议状态枚举,沿用 prepare/apply 一致命名,非业务文案) |
78
+ | `createdId` | 新建日程 ID(字符串,取 `datajson.dataIds[0]`) |
79
+ | `createdIds` | 新建日程 ID 列表 |
80
+ | `accessUrl` | 详情卡片页访问链接 `https://<E10地址>/sp/ebdfpage/card/0/{formId}/{createdId}`;`formId` 偶发获取失败时为 `null`(降级,不阻断创建结果) |
81
+
82
+ **AI 呈现要求**
83
+ - 创建成功后,日程信息**用表格展示**(日程 / 时间 / 参与人 / 类型与紧急程度 / 提醒 / 重复),**仅「日程」列的名称为可点击链接**(`[名称](accessUrl)`),其余单元格为纯文本;**不要**单独贴裸链接,也**不要**把后端原始 JSON 展示给用户。示例:
84
+
85
+ | 日程 | 时间 | 参与人 | 类型 / 紧急程度 | 提醒 | 重复 |
86
+ | --- | --- | --- | --- | --- | --- |
87
+ | [客户拜访](https://…/sp/ebdfpage/card/0/{formId}/{id}) | 2026-11-05 09:00 ~ 10:00 | 罗智辉 | 会议日程(EC) / 正常 | 关闭 | 不重复 |
88
+
89
+ - 面向用户的表述全部用中文,不出现 `prepare`/`apply`/`continuation` 等协议词(流程表述为「确认信息 → 提交」);只给结果,不输出「验证 / 回查 / 猜测 / 测试」等过程性语句。
90
+ - `accessUrl` 为 `null` 时说明原因并建议运行 `calendar.app.check` 检测,不阻断结果呈现。
91
+
46
92
  ## 更新日程(全量覆盖)
47
93
 
48
94
  `calendar.update.prepare` 先查当前详情再合并用户修改。只传 `id` 加要改的字段即可,未传字段保留原值。
@@ -83,6 +129,14 @@ weaver-work-cli --json calendar run calendar.delete.apply --input-json '{"id":"1
83
129
  - 提醒:`start_reminder`/`end_reminder`(`NOW`/`M5`/`M15`/`H1`/`D1`/`CUSTOM`)、`remind_type`(`system`/`message`/`email`)。
84
130
  - 重复:`repeat_type`(`NONE`/`D1`/`W1`/`W2`/`M1`/`CUSTOM`)、`repeat_custom_type`(`D`/`W`/`M`)、`repeat_custom_cycle`、`repeat_week_unit`(`MO`~`SU`)、`repeat_month_unit`(`1`~`31`)、`repeat_end_type`(`0`/`1`/`2`)、`repeat_end_date`、`repeat_end_num`。
85
131
 
132
+ ## 提醒档位规则
133
+
134
+ `start_reminder`/`end_reminder` 标准档位仅有 `NOW`/`M5`/`M15`/`H1`/`D1`(准时 / 提前 5 分 / 15 分 / 1 小时 / 1 天)。**当用户要求的提前量无法对应任一标准档位(如「提前 10 分钟」)时,必须使用 `CUSTOM` 自定义档位,不要硬套最接近的档位。**
135
+
136
+ - 开启提醒需 `remind:1`,并通过 `remind_type`(`system`/`message`/`email`)指定渠道(默认 `system`)。
137
+ - `CUSTOM` 用 `start_hours`/`start_mins` 传「开始前」提前量,结束提醒对应 `end_hours`/`end_mins`,单位分别为小时 / 分钟。
138
+ - 示例:提前 10 分钟 → `start_reminder:"CUSTOM"`、`start_hours:0`、`start_mins:10`;系统回写 `next_start_remind` 会自动减 10 分钟。
139
+
86
140
  ## 注意
87
141
 
88
142
  - 写操作请求带 `Content-Type: application/json; charset=utf-8`,中文字段(`agn_name`/`agn_desc`/`place`)按 UTF-8 写入,由 CLI 自动处理。
@@ -7,7 +7,7 @@ description: E10协作模块技能,认证由weaver-e10-shared与weaver-work-cl
7
7
  description_zh: E10协作模块技能,经weaver-e10-shared托管的CLI会话直调协作REST接口,支持按主题查询协作列表、查询协作详情,以及审批与退出、共享权限、行为等操作;秒级返回结构化结果;禁用浏览器自动化路径,所有接口地址与会话凭证由weaver-work-cli统一提供。
8
8
  description_en: E10 Cowork skill that calls cowork REST APIs directly with a CLI-managed session described by weaver-e10-shared, supporting list-by-topic, detail queries, approval/quit, share-permission and behavior operations in seconds; browser automation disabled; all endpoint URLs and credentials are provided by weaver-work-cli.
9
9
  category: business
10
- version: 2.0.0
10
+ version: 2.0.4
11
11
  author: 泛微网络科技股份有限公司
12
12
  permissions: [network]
13
13
  execution:
@@ -33,7 +33,9 @@ weaver-work-cli cowork run cowork.item.create.prepare --input-json '{"itemName":
33
33
  weaver-work-cli cowork run cowork.item.create.apply --input-json '{"itemName":"XX项目协作","sectionId":"<选项id>","itemContent":"目标与分工","confirm":true,"continuation":"<continuation>"}'
34
34
  ```
35
35
 
36
- prepare 会做三件事:版块 id 存在性校验(不存在直接报错并列可选版块)、负责人默认当前用户、开关默认全开。apply 成功后返回新协作 `id`,以及 `viewUrl`(PC 端 `/sp/cowork/view/{id}`)与 `mobileViewUrl`(移动端 `/mobile/cowork/view/{id}`)——`{id}` 为协作主键,链接可直接打开该协作。其余写操作(action/flag)的 apply 回执同样带 `viewUrl`。
36
+ prepare 会做三件事:版块 id 存在性校验(不存在直接报错并列可选版块)、负责人默认当前用户、开关默认全开。apply 成功后返回新协作 `id`,以及 `viewUrl`(PC 端 `/sp/cowork/view/{id}`)与 `mobileViewUrl`(移动端 `/mobile/cowork/view/{id}`)——`{id}` 为协作主键,链接可直接打开该协作。
37
+
38
+ **写操作回执的链接覆盖**:`item.create`/`item.action`/`item.flag`/`discuss.publish`/`discuss.action`/`member.action`/`permission.add`/`permission.remove` 的 apply 均带 `viewUrl` + `mobileViewUrl`(指向所属协作)。`apply.decide` 与 `review.*` 只拿得到申请/审批记录 id、无法确定所属协作,**不返回链接**(需先用 `cowork.list` 定位到协作)。
37
39
 
38
40
  ## 2. 协作级动作:`cowork.item.action.prepare` → `apply`(`action: "end"`)
39
41
 
@@ -67,7 +67,7 @@ weaver-work-cli --json ebuilder-form run <operation> --input-json '<json>'
67
67
  3. 页面列表查询必须按 `context.listKind` 分流:`List` 用 `list.*`,`NList` 用 `nlist.*`。不要把两套接口互相试跑。
68
68
  4. 表单级数据查询或写入必须先确认接口族:有 `objId` 走 OpenAPI;有 `interfacePk` 且用户明确是已发布自定义接口时走 `custom.*`;两者同时出现且用户没有指定时先消歧。
69
69
  5. 字段显示名(`text`)不能直接当写入键:通常用字段的 `name`;自定义字段若 `name == id`,或目标接口明确要求组件数据键时,改用 `config.dataKey`。写入前用 `fields.get` 核对真实字段。选择类字段写入选项 `id`,不写选项名称。
70
- 6. 新增、修改、删除必须先 prepare。prepare 返回 `requestPreview` 和 10 分钟有效的 `continuation`;向用户摘要目标、字段、数量和风险,得到明确确认后 apply。
70
+ 6. 新增、修改、删除必须先 prepare。prepare 返回 `requestPreview` 和 24 小时有效的 `continuation`;向用户摘要目标、字段、数量和风险,得到明确确认后 apply。
71
71
 
72
72
  ## 写操作失败决策树
73
73
 
@@ -35,7 +35,7 @@
35
35
  | `pageNo` / `pageSize` | 分页 |
36
36
  | `operationinfo` | 操作备注(可选) |
37
37
 
38
- 写操作同样遵循 prepare → 用户确认 → apply 两段式,continuation 有效期 10 分钟,规则与 [`openapi-write.md`](openapi-write.md) 一致。
38
+ 写操作同样遵循 prepare → 用户确认 → apply 两段式,continuation 有效期 24 小时,规则与 [`openapi-write.md`](openapi-write.md) 一致。
39
39
 
40
40
  ## 处理链
41
41
 
@@ -33,7 +33,7 @@
33
33
 
34
34
  ### apply 参数
35
35
 
36
- `confirm` 必须显式为 `true`;`continuation` 必须原样回传 prepare 的返回值。continuation 有效期 **10 分钟**,绑定 operation 与提交内容。
36
+ `confirm` 必须显式为 `true`;`continuation` 必须原样回传 prepare 的返回值。continuation 有效期 **24 小时**,绑定 operation 与提交内容。
37
37
 
38
38
  ## 处理链(缺一步即失败)
39
39
 
@@ -50,7 +50,7 @@ weaver-work-cli --json esb run <operation> --input-json '<json>'
50
50
 
51
51
  1. **确认目标动作流**:用户给的是动作流 ID。只给名称时向用户索取 ID(或 `primary_key`),不要猜测。
52
52
  2. **取模板(推荐)**:`esb.input-format` 取回 `customParams` 模板,按模板组装业务字段;模板中的 `#可选` 占位替换为真实值或删除。
53
- 3. **prepare**:`esb.trigger.prepare` 做只读回查与请求体组装,返回 `requestPreview` 与 `continuation`(有效期 10 分钟)。此步不触发动作流。
53
+ 3. **prepare**:`esb.trigger.prepare` 做只读回查与请求体组装,返回 `requestPreview` 与 `continuation`(有效期 24 小时)。此步不触发动作流。
54
54
  4. **向用户确认**:把目标动作流、触发人员、请求体摘要和副作用风险展示给用户,取得明确确认。
55
55
  5. **apply**:`esb.trigger.apply` 传 `continuation` 与 `confirm: true` 执行。`confirm` 必须显式为 `true`。
56
56
  6. **结果判读**:`resultCode=200` 为成功,按 `followUp` 与 `actionData` 处理页面动作、提醒与返回数据。
@@ -81,7 +81,7 @@ weaver-work-cli --json esb run <operation> --input-json '<json>'
81
81
 
82
82
  ## 安全边界
83
83
 
84
- - **🔴 写操作必须走确认链**:`esb.trigger.apply` 需要 `confirm: true` 且 continuation 有效期 10 分钟,禁止跳过 prepare 直接触发。
84
+ - **🔴 写操作必须走确认链**:`esb.trigger.apply` 需要 `confirm: true` 且 continuation 有效期 24 小时,禁止跳过 prepare 直接触发。
85
85
  - **🔴 `write_uncertain` 不重试**:触发请求发出后网络中断时结果不可判定,自动重试可能造成重复执行。
86
86
  - **唯一值触发有歧义**:同一租户下存在相同唯一值的多条动作流时,系统只执行 `create_time` 最新的一条;需要精确控制时改用 `esbFlowId`。
87
87
  - **认证由 CLI 托管**:禁止自行拼接 Cookie / ETEAMSID / User-Agent,禁止绕过 `weaver-work-cli` 直接调用 E10 接口。
@@ -104,27 +104,27 @@
104
104
  }
105
105
  },
106
106
  "artifactBaseline": {
107
- "aggregateSha256": "038ad015e5950be89f96b5eca5f97cc90b8e90191da88638432caf12b08bfb6d",
107
+ "aggregateSha256": "0d0a53429763f85cb890982c9d511fb8b1e87bd7afd2f7a1986040a73d9f4546",
108
108
  "files": [
109
109
  {
110
110
  "path": "docs/_catalog.md",
111
- "size": 5332,
112
- "sha256": "a81903939aea5bf1196d1e3243709d2facf50d9bdcf74d8a6ca731061310dbbe"
111
+ "size": 6236,
112
+ "sha256": "3ffe3896fbecc4586aac19ebb7fa6e11ab6ad1090a78fbfe4f1313614ce034cb"
113
113
  },
114
114
  {
115
115
  "path": "docs/esb.md",
116
116
  "size": 4001,
117
- "sha256": "703d6d9e990a217b411828de4459882ff07c1820c55e234203be6cc8bd1eadb6"
117
+ "sha256": "eaab366a39ce99451a14f5e418e08b0196206440e0c2dfac5b5165a5eb25f42c"
118
118
  },
119
119
  {
120
120
  "path": "docs/SKILL.md",
121
- "size": 4986,
122
- "sha256": "12f0a13396dd24b073abdf438ea82a7b307deb7d33dede5cb7d177172cb37d65"
121
+ "size": 5009,
122
+ "sha256": "9ff7f21bd833e7e18856bb46a3af1667740c1ab743c448184f72286ea27447df"
123
123
  },
124
124
  {
125
125
  "path": "skill-template/business-info.json",
126
- "size": 8216,
127
- "sha256": "370a45e86c6b7e33869c5df1bf08d9f22bd98fa8b157b49716e13bca0e7b63c3"
126
+ "size": 10383,
127
+ "sha256": "a7f3fbedf68c9ec9f460c917ff2870da64540030eea3529c905792ca15bd4758"
128
128
  },
129
129
  {
130
130
  "path": "skill-template/domains/esb.md",
@@ -144,18 +144,18 @@
144
144
  },
145
145
  {
146
146
  "path": "skills/weaver-e10-esb/references/trigger.md",
147
- "size": 5098,
148
- "sha256": "64e0f9a17d80328c86679f3b0fd1784f91a5c80e577fbe2b6f8f5c882e9047c8"
147
+ "size": 5116,
148
+ "sha256": "ca527e120d64698612e07b0e68ad10785e2cd8f5a5aa6fe93ca6b50d4f0ea98d"
149
149
  },
150
150
  {
151
151
  "path": "skills/weaver-e10-esb/SKILL.md",
152
- "size": 9117,
153
- "sha256": "fe04fe8133e95a3770a7aef1bcdb3840aab91a881a614b2e3a07e6eaffd564d5"
152
+ "size": 9274,
153
+ "sha256": "fe8fff4725eb410c82be978cd9dbfb6528338cfbbdabc547ab6d0c4e67d03a0c"
154
154
  },
155
155
  {
156
156
  "path": "src/shortcuts/esb/continuation.ts",
157
- "size": 3229,
158
- "sha256": "125780b145eaa3e78cb630e843a083a79a8a674c7936be3f58567dcfcddc3210"
157
+ "size": 3307,
158
+ "sha256": "c7b0d9c2ae5927282e580e20f54eb55ac7dbc677c92d7e6e7f2afa19d2919ff2"
159
159
  },
160
160
  {
161
161
  "path": "src/shortcuts/esb/errors.ts",
@@ -164,13 +164,13 @@
164
164
  },
165
165
  {
166
166
  "path": "src/shortcuts/esb/host.ts",
167
- "size": 9169,
168
- "sha256": "e0e95488d7180a248b1e3aa35b40abb390c42317c898df23e6841be8f51218a9"
167
+ "size": 9221,
168
+ "sha256": "6c8b14be10fc996b9d0dca99d5bb99d9bf801d868487c51a0f7ebd776a5cd106"
169
169
  },
170
170
  {
171
171
  "path": "src/shortcuts/esb/index.ts",
172
- "size": 4567,
173
- "sha256": "8252a116edf03acd167c85bdfcb40207bd1b7f29cb02c7febd4c323614015b84"
172
+ "size": 4664,
173
+ "sha256": "32021e988f7fd4d5b09ee8d070f7c0281e5f924a7b405cce24ec0eaa62fc72bf"
174
174
  },
175
175
  {
176
176
  "path": "src/shortcuts/esb/manifest.ts",
@@ -199,8 +199,8 @@
199
199
  },
200
200
  {
201
201
  "path": "src/shortcuts/esb/operations/trigger.ts",
202
- "size": 4429,
203
- "sha256": "7584f54884e05556a07145f9dd3cbe432d30098316135eb2cd5b7949df146192"
202
+ "size": 4528,
203
+ "sha256": "6334c08530e5449f216c95e952d57104bb465132200fe0139dce3b55fb205a87"
204
204
  },
205
205
  {
206
206
  "path": "src/shortcuts/esb/operations/types.ts",
@@ -209,8 +209,8 @@
209
209
  },
210
210
  {
211
211
  "path": "src/shortcuts/index.ts",
212
- "size": 1420,
213
- "sha256": "569bef374df2d86b511150a0c609ce1abee63f8317994513bce6241276b5be40"
212
+ "size": 8426,
213
+ "sha256": "d1b5fe76045aa2532c859f20ceeb7a5c415cc34b7a36bda0a2699c1cac34eee3"
214
214
  },
215
215
  {
216
216
  "path": "test/business/esb-command.test.ts",
@@ -53,7 +53,7 @@ JSON
53
53
  weaver-work-cli --json esb run esb.trigger.prepare --input ./esb-params.json
54
54
  ```
55
55
 
56
- `data` 返回 `target`(触发方式与标识)、`requestPreview`(即将发出的请求体)、`templateFields` 与 `continuation`(有效期 600 秒)。
56
+ `data` 返回 `target`(触发方式与标识)、`requestPreview`(即将发出的请求体)、`templateFields` 与 `continuation`(有效期 86400 秒,即 24 小时)。
57
57
 
58
58
  ### 2. apply(真实触发)
59
59
 
@@ -84,7 +84,7 @@ weaver-work-cli --json esb run esb.trigger.apply --input-json '{"continuation":"
84
84
  ## 注意
85
85
 
86
86
  - **副作用**:触发动作流会真实执行业务逻辑,可能修改业务数据、发送通知或触发下游流程。执行前必须把目标动作流、触发人员、`requestPreview` 和风险摘要展示给用户,并取得明确确认。
87
- - **continuation 绑定**:continuation 与签发时的登录身份绑定,有效期 10 分钟;过期或身份变化需重新 prepare。
87
+ - **continuation 绑定**:continuation 与签发时的登录身份绑定,有效期 24 小时;过期或身份变化需重新 prepare。
88
88
  - **唯一值触发**:同一租户下多条动作流可能有相同唯一值,系统只执行 `create_time` 最新的一条;需要精确控制时改用 `esbFlowId`。
89
89
  - **限流**:短时间重复触发可能被幂等限流(`throttled`)拒绝,禁止高频重试。
90
90
 
@@ -22,7 +22,7 @@
22
22
  | `contract.clause.create/update/delete.prepare/apply` | POST | `/clauseinfo/save`、`/update`、`/deletebyid` | 条款写操作 |
23
23
  | `contract.clause.group.create/update/delete.prepare/apply` | POST | `/clausegroup/save`、`/update`、`/deletebyid` | 条款组写操作 |
24
24
 
25
- 所有写操作都是 `prepare → apply`:`prepare` 返回脱敏 `preview` 与 `continuation`(10 分钟有效),`apply` 必须带 `continuation` 与 `confirm: true`。
25
+ 所有写操作都是 `prepare → apply`:`prepare` 返回脱敏 `preview` 与 `continuation`(24 小时有效),`apply` 必须带 `continuation` 与 `confirm: true`。
26
26
 
27
27
  ## 必填字段与已知陷阱
28
28
 
@@ -62,4 +62,4 @@ weaver-work-cli --json contract run contract.clause.reference.save.apply --input
62
62
 
63
63
  - `fileId` 需从编辑会话获取、`requestId` 需从流程上下文获取,均为环境相关 ID,禁止使用示例值。
64
64
  - 合同正文与附件内容可能进入大模型上下文;在读取、展示或写入合同文档前必须获得用户明确确认。
65
- - `continuation` 有效期 10 分钟,由 CLI 生成,禁止手工构造或跨操作复用。
65
+ - `continuation` 有效期 24 小时,由 CLI 生成,禁止手工构造或跨操作复用。