weaver-work-cli 0.1.70 → 0.1.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/dist/chunks/{archive-VUTREF3P.js → archive-THZV4ND4.js} +22 -5
  2. package/dist/chunks/{archive-oa-VXXO4RTB.js → archive-oa-PQ23OLEV.js} +17 -5
  3. package/dist/chunks/{asset-45U6TY7I.js → asset-RGPROZYH.js} +22 -5
  4. package/dist/chunks/{asset-idle-YCRBMTIT.js → asset-idle-Z2PDX7NA.js} +15 -5
  5. package/dist/chunks/{attachment-content-DMU7KNZ7.js → attachment-content-R3RPVOYE.js} +3 -3
  6. package/dist/chunks/{blog-5AML4WMG.js → blog-7U3QZPIF.js} +25 -5
  7. package/dist/chunks/{caizhilian-3P7BUNHT.js → caizhilian-3AB42GCV.js} +22 -8
  8. package/dist/chunks/{calendar-2HUXM3CZ.js → calendar-KINM64E4.js} +15 -5
  9. package/dist/chunks/{chunk-EHH363SP.js → chunk-2CHGUYMG.js} +4 -4
  10. package/dist/chunks/{chunk-GWM5TLIK.js → chunk-2XED2FKY.js} +34 -34
  11. package/dist/chunks/{chunk-DVFA3ODS.js → chunk-35A56FJ7.js} +12 -0
  12. package/dist/chunks/{chunk-QYDSTYGG.js → chunk-4BXR6CNB.js} +3 -3
  13. package/dist/chunks/{chunk-KDOJW5LH.js → chunk-4I26YMBY.js} +1 -1
  14. package/dist/chunks/{chunk-X6PMJQGO.js → chunk-4YXAK6OA.js} +19 -8
  15. package/dist/chunks/{chunk-HG6INLH6.js → chunk-54ST55IJ.js} +28 -7
  16. package/dist/chunks/{chunk-DSBV4GRK.js → chunk-6HT73VOI.js} +3 -3
  17. package/dist/chunks/{chunk-4W6BSNIL.js → chunk-7QFVXP2X.js} +6 -6
  18. package/dist/chunks/{chunk-I5XB4MZT.js → chunk-AMAPQVBT.js} +95 -65
  19. package/dist/chunks/{chunk-L2A3COWV.js → chunk-BWYVS62Z.js} +4 -4
  20. package/dist/chunks/{chunk-UPVAQJKS.js → chunk-DRUND2PJ.js} +130 -79
  21. package/dist/chunks/{chunk-LJE7RZNC.js → chunk-F4HM25K4.js} +1 -1
  22. package/dist/chunks/{chunk-T24EBWAZ.js → chunk-GAMGDNTF.js} +48 -21
  23. package/dist/chunks/{chunk-H2NRTGZR.js → chunk-GWJLAF6B.js} +3 -3
  24. package/dist/chunks/{chunk-XIBMZEDB.js → chunk-IBSJJGXL.js} +2 -2
  25. package/dist/chunks/{chunk-VZUH3LKI.js → chunk-ICP53R52.js} +167 -157
  26. package/dist/chunks/{chunk-LRKKKO5A.js → chunk-IU6UB2TD.js} +3 -4
  27. package/dist/chunks/{chunk-GTAFCAVP.js → chunk-IZCQU5D5.js} +1 -1
  28. package/dist/chunks/{chunk-727VKJQK.js → chunk-JMJBPP4B.js} +2 -2
  29. package/dist/chunks/{chunk-UVWW5ABZ.js → chunk-L7TYG5SN.js} +3 -3
  30. package/dist/chunks/{chunk-HAORST2G.js → chunk-LLCMOZ5L.js} +11 -11
  31. package/dist/chunks/{chunk-U3OO3IZF.js → chunk-NUP4RYZK.js} +20 -7
  32. package/dist/chunks/{chunk-IVCOZCAW.js → chunk-PAFOLIYQ.js} +1 -1
  33. package/dist/chunks/{chunk-LSVA7QA6.js → chunk-R3MK2RBN.js} +3 -1
  34. package/dist/chunks/{chunk-GFOFUH6O.js → chunk-TV46Q4NY.js} +52 -51
  35. package/dist/chunks/chunk-WM33BSIL.js +136 -0
  36. package/dist/chunks/{chunk-7CINV2BU.js → chunk-XZBYRYWX.js} +2 -2
  37. package/dist/chunks/{chunk-E7VWE2XI.js → chunk-ZWLWXHJC.js} +3 -3
  38. package/dist/chunks/{conflict-YW5BULJ3.js → conflict-VPAR7E6F.js} +2 -2
  39. package/dist/chunks/{contract-3PMHUASH.js → contract-DDXAO2DZ.js} +48 -5
  40. package/dist/chunks/{cowork-FZBTTBYX.js → cowork-34QCHMDD.js} +37 -8
  41. package/dist/chunks/{create-flow-5OBS3B3V.js → create-flow-52PU2OBI.js} +6 -6
  42. package/dist/chunks/{data-2YZ6A6TL.js → data-CLQ62QGD.js} +99 -184
  43. package/dist/chunks/{ebuilder-form-AWPTMZBZ.js → ebuilder-form-W5R7Q22S.js} +17 -7
  44. package/dist/chunks/{ehr-MNPR4TE5.js → ehr-LCNAVMK5.js} +67 -17
  45. package/dist/chunks/{entry-mode-L65OWPFM.js → entry-mode-6Z3ZV3DE.js} +3 -3
  46. package/dist/chunks/{env-XW7LYIME.js → env-RDKWAARB.js} +2 -2
  47. package/dist/chunks/{esb-GSB5QCEX.js → esb-ANKPUU65.js} +17 -7
  48. package/dist/chunks/{factory-MHFZZAGH.js → factory-434B7RAT.js} +1 -1
  49. package/dist/chunks/{fna-XBSNUS2V.js → fna-AKBSG5HI.js} +15 -5
  50. package/dist/chunks/{group-chat-EEOLO5NM.js → group-chat-PROTW22R.js} +3 -3
  51. package/dist/chunks/{host-NVDG3NC6.js → host-5R2SNFWD.js} +4 -4
  52. package/dist/chunks/{host-2UMNXX5H.js → host-7FJW4E7R.js} +4 -4
  53. package/dist/chunks/{host-XVWBOSEN.js → host-CGXUFQO4.js} +4 -4
  54. package/dist/chunks/{host-R7BP3CTI.js → host-PDJAKCT7.js} +6 -4
  55. package/dist/chunks/{host-SYPCA63D.js → host-WO4L5G5I.js} +4 -4
  56. package/dist/chunks/{host-BD44ASOD.js → host-XIYG4F4B.js} +4 -4
  57. package/dist/chunks/{hrm-FZUDJAND.js → hrm-WGODDTEH.js} +15 -6
  58. package/dist/chunks/{im-F5NENPD7.js → im-YKTKAJU3.js} +16 -6
  59. package/dist/chunks/{invoice-DS6FLU55.js → invoice-PVYCCCVM.js} +27 -6
  60. package/dist/chunks/{jiuchuanhui-JCBUR563.js → jiuchuanhui-RKOQW7BY.js} +19 -6
  61. package/dist/chunks/{lazy-dispatch-F6O2EPGR.js → lazy-dispatch-DW45AFQ5.js} +6 -6
  62. package/dist/chunks/{mail-ZEOSANEJ.js → mail-BNB5S4NW.js} +116 -97
  63. package/dist/chunks/{meeting-PCD5EPBF.js → meeting-O2KDJH66.js} +29 -16
  64. package/dist/chunks/{minute-doc-WTZJVCHG.js → minute-doc-JUCG56GY.js} +4 -4
  65. package/dist/chunks/{okr-OZUMTMCL.js → okr-LWFGWOE7.js} +15 -5
  66. package/dist/chunks/{operations-LQY3FTPH.js → operations-2WHIF5WV.js} +1 -1
  67. package/dist/chunks/{operations-UTUWFJTX.js → operations-532PN5OB.js} +5 -5
  68. package/dist/chunks/{performance-SMVTPK6T.js → performance-7W5COCFU.js} +92 -7
  69. package/dist/chunks/{plan-C2NENH42.js → plan-ZVY3IYTL.js} +15 -5
  70. package/dist/chunks/{project-FAJ2P3UR.js → project-SA62B7MH.js} +18 -5
  71. package/dist/chunks/{reception-NH6MJFPR.js → reception-NGIONPQ3.js} +128 -49
  72. package/dist/chunks/{recruit-stage-DPEFHLSE.js → recruit-stage-WOSN6MGP.js} +1264 -197
  73. package/dist/chunks/{registry-FTPUUHWC.js → registry-N7P3W2RD.js} +5 -5
  74. package/dist/chunks/{registry-3B3OAJYX.js → registry-R72GWXOG.js} +4 -4
  75. package/dist/chunks/{registry-ZQ7OONCB.js → registry-RIQ67ZT7.js} +12 -12
  76. package/dist/chunks/{room-recommend-73NBN3RU.js → room-recommend-KCGIVUFR.js} +4 -4
  77. package/dist/chunks/{schedule-SDBOBBUQ.js → schedule-6UP27HQ4.js} +4 -4
  78. package/dist/chunks/{smart-extract-GTYKF5TJ.js → smart-extract-DDOQSPRB.js} +19 -6
  79. package/dist/chunks/{workflow-OWHWLAOX.js → workflow-V5ALD6QZ.js} +22 -8
  80. package/dist/cmd/auth/index.js +23 -0
  81. package/dist/cmd/e10/index.js +2 -1
  82. package/dist/cmd/index.js +2 -0
  83. package/dist/core/manifest-view.js +207 -0
  84. package/dist/core/output.js +42 -8
  85. package/dist/index.js +35 -35
  86. package/dist/internal/e10/auth/crypto.js +18 -8
  87. package/dist/internal/e10/auth/error-log.js +1 -2
  88. package/dist/internal/e10/auth/messages.js +2 -3
  89. package/dist/internal/e10/auth/xiaoe.js +1 -1
  90. package/dist/internal/e10/tls-policy.js +61 -13
  91. package/dist/shortcuts/archive/index.js +11 -2
  92. package/dist/shortcuts/archive/operations/download.js +1 -0
  93. package/dist/shortcuts/archive/operations/flow-url.js +3 -0
  94. package/dist/shortcuts/archive/operations/prelib.js +2 -0
  95. package/dist/shortcuts/archive/operations/upload.js +1 -0
  96. package/dist/shortcuts/archive-oa/index.js +11 -2
  97. package/dist/shortcuts/archive-oa/operations/borrow-car.js +2 -0
  98. package/dist/shortcuts/asset/index.js +11 -2
  99. package/dist/shortcuts/asset/manifest.js +7 -0
  100. package/dist/shortcuts/asset-idle/index.js +11 -2
  101. package/dist/shortcuts/blog/index.js +11 -2
  102. package/dist/shortcuts/blog/manifest.js +10 -0
  103. package/dist/shortcuts/caizhilian/host.js +20 -4
  104. package/dist/shortcuts/caizhilian/index.js +12 -2
  105. package/dist/shortcuts/caizhilian/manifest.js +4 -25
  106. package/dist/shortcuts/caizhilian/operations/handlers/search.js +34 -0
  107. package/dist/shortcuts/caizhilian/operations/registry.js +25 -1
  108. package/dist/shortcuts/calendar/index.js +11 -2
  109. package/dist/shortcuts/contract/index.js +11 -2
  110. package/dist/shortcuts/contract/manifest.js +32 -0
  111. package/dist/shortcuts/contract/operations/write.js +3 -0
  112. package/dist/shortcuts/cowork/index.js +21 -5
  113. package/dist/shortcuts/cowork/manifest.js +3 -0
  114. package/dist/shortcuts/cowork/operations/discuss-write.js +2 -0
  115. package/dist/shortcuts/cowork/operations/item-write.js +3 -0
  116. package/dist/shortcuts/cowork/operations/member-write.js +2 -0
  117. package/dist/shortcuts/cowork/operations/permission-write.js +2 -0
  118. package/dist/shortcuts/cowork/operations/review-write.js +1 -0
  119. package/dist/shortcuts/data/errors.js +16 -29
  120. package/dist/shortcuts/data/host.js +16 -7
  121. package/dist/shortcuts/data/index.js +12 -41
  122. package/dist/shortcuts/data/manifest.js +5 -44
  123. package/dist/shortcuts/data/operations/attend.js +2 -2
  124. package/dist/shortcuts/data/operations/conf.js +0 -88
  125. package/dist/shortcuts/data/operations/ds.js +4 -4
  126. package/dist/shortcuts/data/operations/index.js +1 -5
  127. package/dist/shortcuts/data/operations/module.js +40 -14
  128. package/dist/shortcuts/data/operations/query.js +2 -2
  129. package/dist/shortcuts/ebuilder-form/index.js +11 -2
  130. package/dist/shortcuts/ebuilder-form/manifest.js +12 -0
  131. package/dist/shortcuts/ehr/index.js +11 -2
  132. package/dist/shortcuts/ehr/operations/attend-write.js +51 -8
  133. package/dist/shortcuts/ehr/operations/recruit-position.js +4 -3
  134. package/dist/shortcuts/ehr/operations/recruit-short-cache.js +6 -2
  135. package/dist/shortcuts/ehr/operations/recruit-write.js +3 -3
  136. package/dist/shortcuts/ehr/operations/recruit.js +206 -82
  137. package/dist/shortcuts/ehr/operations/shared.js +31 -0
  138. package/dist/shortcuts/esb/index.js +11 -2
  139. package/dist/shortcuts/esb/manifest.js +2 -0
  140. package/dist/shortcuts/fna/index.js +11 -2
  141. package/dist/shortcuts/hrm/index.js +11 -1
  142. package/dist/shortcuts/im/index.js +11 -2
  143. package/dist/shortcuts/invoice/index.js +11 -2
  144. package/dist/shortcuts/invoice/manifest.js +8 -0
  145. package/dist/shortcuts/jiuchuanhui/index.js +15 -1
  146. package/dist/shortcuts/jiuchuanhui/manifest.js +2 -0
  147. package/dist/shortcuts/mail/errors.js +14 -0
  148. package/dist/shortcuts/mail/index.js +23 -6
  149. package/dist/shortcuts/mail/manifest.js +11 -4
  150. package/dist/shortcuts/mail/operations/mail-blacklist.js +6 -6
  151. package/dist/shortcuts/mail/operations/mail-contacts.js +10 -10
  152. package/dist/shortcuts/mail/operations/mail-manage.js +15 -14
  153. package/dist/shortcuts/mail/operations/mail-read.js +7 -25
  154. package/dist/shortcuts/mail/operations/mail-send.js +12 -12
  155. package/dist/shortcuts/mail/operations/mail-sign.js +10 -10
  156. package/dist/shortcuts/mail/operations/mail-template.js +10 -10
  157. package/dist/shortcuts/meeting/index.js +11 -2
  158. package/dist/shortcuts/meeting/operations/invitation-publish.js +1 -0
  159. package/dist/shortcuts/okr/index.js +11 -2
  160. package/dist/shortcuts/performance/index.js +62 -3
  161. package/dist/shortcuts/performance/scheme-validate.js +7 -0
  162. package/dist/shortcuts/performance/shared.js +40 -2
  163. package/dist/shortcuts/plan/index.js +11 -2
  164. package/dist/shortcuts/project/index.js +11 -2
  165. package/dist/shortcuts/project/operations/write.js +3 -0
  166. package/dist/shortcuts/reception/constants.js +22 -0
  167. package/dist/shortcuts/reception/index.js +15 -2
  168. package/dist/shortcuts/reception/manifest.js +17 -3
  169. package/dist/shortcuts/reception/operations/ask.js +3 -0
  170. package/dist/shortcuts/reception/operations/doc.js +24 -11
  171. package/dist/shortcuts/reception/operations/docrender.js +18 -1
  172. package/dist/shortcuts/reception/operations/render-assets.js +93 -22
  173. package/dist/shortcuts/recruit-stage/context.js +12 -6
  174. package/dist/shortcuts/recruit-stage/index.js +22 -3
  175. package/dist/shortcuts/recruit-stage/manifest.js +2 -0
  176. package/dist/shortcuts/recruit-stage/operations/interview-arrange.js +19 -10
  177. package/dist/shortcuts/recruit-stage/operations/jd-create.js +487 -38
  178. package/dist/shortcuts/recruit-stage/operations/list.js +72 -1
  179. package/dist/shortcuts/recruit-stage/operations/profile.js +194 -0
  180. package/dist/shortcuts/recruit-stage/operations/registry.js +20 -2
  181. package/dist/shortcuts/recruit-stage/operations/resume-import.js +258 -63
  182. package/dist/shortcuts/recruit-stage/operations/search.js +226 -27
  183. package/dist/shortcuts/recruit-stage/operations/shortlist.js +122 -0
  184. package/dist/shortcuts/recruit-stage/operations/tag.js +17 -3
  185. package/dist/shortcuts/recruit-stage/shared.js +158 -4
  186. package/dist/shortcuts/smart-extract/index.js +11 -2
  187. package/dist/shortcuts/smart-extract/manifest.js +1 -0
  188. package/dist/shortcuts/smart-extract/operations/save.js +2 -0
  189. package/dist/shortcuts/workflow/index.js +21 -1
  190. package/dist/shortcuts/workflow/operations/form.js +36 -2
  191. package/dist/shortcuts/workflow/operations/read.js +2 -2
  192. package/dist/shortcuts/workflow/operations/write.js +1 -1
  193. package/docs/caizhilian.md +1 -1
  194. package/docs/contract.md +1 -0
  195. package/docs/data.md +22 -22
  196. package/docs/e10-auth.md +41 -33
  197. package/docs/ehr.md +2 -0
  198. package/docs/reception.md +4 -3
  199. package/package.json +1 -1
  200. package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
  201. package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
  202. package/scripts/pysite/sitecustomize.py +41 -0
  203. package/skill-template/domains/data.md +4 -4
  204. package/skills/weaver-e10-caizhilian/SKILL.md +1 -1
  205. package/skills/weaver-e10-caizhilian/references/org-browser.md +1 -0
  206. package/skills/weaver-e10-cowork/SKILL.md +3 -1
  207. package/skills/weaver-e10-data/SKILL.md +12 -16
  208. package/skills/weaver-e10-data/references/config-center.md +6 -7
  209. package/skills/weaver-e10-data/references/datasource.md +1 -1
  210. package/skills/weaver-e10-data/references/scene-and-misc.md +2 -2
  211. package/skills/weaver-e10-jiuchuanhui/SKILL.md +6 -4
  212. package/skills/weaver-e10-jiuchuanhui/references/clue.md +2 -2
  213. package/skills/weaver-e10-jiuchuanhui/references/customer.md +18 -8
  214. package/skills/weaver-e10-jiuchuanhui/references/sale.md +2 -2
  215. package/skills/weaver-e10-jucailin/SKILL.md +7 -3
  216. package/skills/weaver-e10-jucailin/references/attend-write.md +1 -1
  217. package/skills/weaver-e10-jucailin/references/recruit-output-links.md +33 -0
  218. package/skills/weaver-e10-jucailin/references/recruit-write.md +2 -0
  219. package/skills/weaver-e10-mail/SKILL.md +4 -1
  220. package/skills/weaver-e10-mail/references/mail-read.md +4 -2
  221. package/skills/weaver-e10-mail/references/safety-boundaries.md +1 -0
  222. package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
  223. package/skills/weaver-e10-performance/SKILL.md +8 -6
  224. package/skills/weaver-e10-reception-flow/SKILL.md +97 -41
  225. package/skills/weaver-e10-reception-flow/references/guide.md +3 -1
  226. package/skills/weaver-e10-recruit-stage/SKILL.md +557 -75
  227. package/skills/weaver-e10-recruit-stage/agents/openai.yaml +67 -44
  228. package/skills/weaver-e10-recruit-stage/lib/interview-conflict.mjs +279 -0
  229. package/skills/weaver-e10-recruit-stage/lib/interview-summary.mjs +198 -0
  230. package/skills/weaver-e10-recruit-stage/lib/recruit-shortlist.mjs +697 -0
  231. package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +507 -0
  232. package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +87 -0
  233. package/skills/weaver-e10-recruit-stage/references/position-templates.md +19 -18
  234. package/skills/weaver-e10-recruit-stage/references/recruit-arrange-interview.md +19 -18
  235. package/skills/weaver-e10-recruit-stage/references/recruit-capability-check.md +1 -1
  236. package/skills/weaver-e10-recruit-stage/references/recruit-detail-process.md +1 -1
  237. package/skills/weaver-e10-recruit-stage/references/recruit-edit-interview-feedback.md +15 -2
  238. package/skills/weaver-e10-recruit-stage/references/recruit-failure-fallback.md +37 -0
  239. package/skills/weaver-e10-recruit-stage/references/recruit-interview-not-attended.md +4 -4
  240. package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +64 -28
  241. package/skills/weaver-e10-recruit-stage/references/recruit-list-interview.md +43 -2
  242. package/skills/weaver-e10-recruit-stage/references/recruit-maint.md +41 -0
  243. package/skills/weaver-e10-recruit-stage/references/recruit-match-candidates.md +4 -4
  244. package/skills/weaver-e10-recruit-stage/references/recruit-my-positions.md +2 -2
  245. package/skills/weaver-e10-recruit-stage/references/recruit-output-links.md +25 -7
  246. package/skills/weaver-e10-recruit-stage/references/recruit-platform-compat.md +51 -0
  247. package/skills/weaver-e10-recruit-stage/references/recruit-report-templates.md +63 -0
  248. package/skills/weaver-e10-recruit-stage/references/recruit-resolve-metadata.md +4 -4
  249. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import-batch.md +2 -2
  250. package/skills/weaver-e10-recruit-stage/references/recruit-resume-import.md +58 -33
  251. package/skills/weaver-e10-recruit-stage/references/recruit-resume-parse.md +4 -4
  252. package/skills/weaver-e10-recruit-stage/references/recruit-search-by-tag.md +5 -5
  253. package/skills/weaver-e10-recruit-stage/references/recruit-search-candidate.md +2 -2
  254. package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +11 -10
  255. package/skills/weaver-e10-recruit-stage/references/recruit-urge-feedback.md +2 -2
  256. package/skills/weaver-e10-recruit-stage/references/recruit-utterance-glossary.md +2 -2
  257. package/skills/weaver-e10-recruit-stage/templates/candidate-evidence.html +106 -0
  258. package/skills/weaver-e10-recruit-stage/templates/interview-summary.html +325 -0
  259. package/skills/weaver-e10-recruit-stage/templates/match-report.html +265 -0
  260. package/skills/weaver-e10-shared/SKILL.md +22 -1
  261. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +2 -2
  262. package/skills/weaver-e10-yimiaoban/references/source-manifest.json +3 -3
  263. package/skills/weaver-e10-jucailin/references/source-manifest.json +0 -152
@@ -2,12 +2,12 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  meetingStateDir
5
- } from "./chunk-LJE7RZNC.js";
5
+ } from "./chunk-F4HM25K4.js";
6
6
  import {
7
7
  meetingSuccess,
8
8
  meetingValidationError,
9
9
  schemaOf
10
- } from "./chunk-KDOJW5LH.js";
10
+ } from "./chunk-4I26YMBY.js";
11
11
 
12
12
  // src/shortcuts/meeting/operations/eb/group-chat.ts
13
13
  import { mkdir, readFile, readdir, rm, writeFile } from "node:fs/promises";
@@ -16,17 +16,17 @@ var DEFAULT_MEETING_GROUP_FLOW_ID = "1333212605456498718";
16
16
  var GROUP_FIELD = "imchat_groupid";
17
17
  var PENDING_DIR = "pending-forms";
18
18
  async function buildEsbEnv(env) {
19
- const { createEsbHost } = await import("./host-2UMNXX5H.js");
19
+ const { createEsbHost } = await import("./host-7FJW4E7R.js");
20
20
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
21
21
  return { ctx: env.ctx, host: createEsbHost(env.ctx), continuation: createEsbContinuationSigner(env.ctx) };
22
22
  }
23
23
  async function buildImEnv(env) {
24
- const { createImHost } = await import("./host-BD44ASOD.js");
24
+ const { createImHost } = await import("./host-XIYG4F4B.js");
25
25
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
26
26
  return { ctx: env.ctx, host: createImHost(env.ctx), continuation: createImContinuationSigner(env.ctx) };
27
27
  }
28
28
  async function buildWorkflowEnv(env) {
29
- const { createWorkflowHost } = await import("./host-NVDG3NC6.js");
29
+ const { createWorkflowHost } = await import("./host-5R2SNFWD.js");
30
30
  const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
31
31
  return { ctx: env.ctx, host: createWorkflowHost(env.ctx), continuation: createWorkflowContinuationSigner(env.ctx) };
32
32
  }
@@ -159,7 +159,7 @@ async function triggerGroupFlow(env, input, meetingName, memberIds) {
159
159
  if (addressText === "[object Object]") addressText = "";
160
160
  if (addressText) {
161
161
  try {
162
- const { resolveAddressRoom } = await import("./create-flow-5OBS3B3V.js");
162
+ const { resolveAddressRoom } = await import("./create-flow-52PU2OBI.js");
163
163
  const room = await resolveAddressRoom(env, addressText);
164
164
  if (room?.name) addressText = room.name;
165
165
  } catch {
@@ -168,7 +168,7 @@ async function triggerGroupFlow(env, input, meetingName, memberIds) {
168
168
  if (addressText) mainTable.address = addressText;
169
169
  }
170
170
  try {
171
- const { getEsbOperation } = await import("./registry-FTPUUHWC.js");
171
+ const { getEsbOperation } = await import("./registry-N7P3W2RD.js");
172
172
  const esbEnv = await buildEsbEnv(env);
173
173
  const prepare = getEsbOperation("esb.trigger.prepare");
174
174
  const apply = getEsbOperation("esb.trigger.apply");
@@ -201,7 +201,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
201
201
  const group = String(groupId).trim();
202
202
  if (id === "" || group === "") return { ok: false, error: "\u6CA1\u6709\u4F1A\u8BAE id \u6216\u7FA4 id" };
203
203
  try {
204
- const { EB_BASE, ebBusinessSuccess, writeBody } = await import("./factory-MHFZZAGH.js");
204
+ const { EB_BASE, ebBusinessSuccess, writeBody } = await import("./factory-434B7RAT.js");
205
205
  const session = await env.host.getSession();
206
206
  await env.host.request({
207
207
  method: "POST",
@@ -219,7 +219,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
219
219
  return { ok: false, error: String(error?.message ?? error).slice(0, 300) };
220
220
  }
221
221
  try {
222
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
222
+ const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
223
223
  const detail = getMeetingOperation("meeting.eb.meeting.detail");
224
224
  const read = await detail.handler({ id }, env);
225
225
  const main = read?.data?.data ?? read?.data?.main ?? {};
@@ -235,7 +235,7 @@ async function bindGroupToMeeting(env, meetingId, groupId) {
235
235
  }
236
236
  async function searchMyRequests(env, options = {}) {
237
237
  try {
238
- const { getWorkflowOperation } = await import("./registry-3B3OAJYX.js");
238
+ const { getWorkflowOperation } = await import("./registry-R72GWXOG.js");
239
239
  const op = getWorkflowOperation("workflow.search");
240
240
  const wfEnv = await buildWorkflowEnv(env);
241
241
  const args = { category: "mine", pageSize: 20, sort: "createTime:desc" };
@@ -267,7 +267,7 @@ async function resolveMeetingByRequestId(env, requestId, sinceMs) {
267
267
  const target = String(requestId).trim();
268
268
  if (target === "") return null;
269
269
  try {
270
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
270
+ const { getMeetingOperation } = await import("./registry-RIQ67ZT7.js");
271
271
  const list = getMeetingOperation("meeting.eb.meeting.list");
272
272
  const detail = getMeetingOperation("meeting.eb.meeting.detail");
273
273
  const page = await list.handler({ pageSize: 30 }, env);
@@ -11,13 +11,13 @@ import {
11
11
  createE10RequestRuntime,
12
12
  isE10SessionExpiredResponse,
13
13
  requireE10Session
14
- } from "./chunk-LRKKKO5A.js";
14
+ } from "./chunk-IU6UB2TD.js";
15
15
  import {
16
16
  E10_SESSION_EXPIRED_MESSAGE
17
- } from "./chunk-GTAFCAVP.js";
17
+ } from "./chunk-IZCQU5D5.js";
18
18
  import {
19
19
  getActiveProfile
20
- } from "./chunk-I5XB4MZT.js";
20
+ } from "./chunk-AMAPQVBT.js";
21
21
 
22
22
  // src/shortcuts/caizhilian/host.ts
23
23
  var CAIZHILAN_TIMEOUT_MS = 12e3;
@@ -34,13 +34,23 @@ function isCaizhilianBusinessSuccess(value) {
34
34
  if (typeof value.status === "boolean") return value.status;
35
35
  return false;
36
36
  }
37
+ var CAIZHILIAN_BUSINESS_FALLBACK_MESSAGE = "\u91C7\u77E5\u8FDE\u63A5\u53E3\u8FD4\u56DE\u4E1A\u52A1\u5931\u8D25";
38
+ function rawErrorBody(value) {
39
+ if (value === void 0 || value === null) return void 0;
40
+ try {
41
+ const text = typeof value === "string" ? value : JSON.stringify(value);
42
+ return text.length > 2048 ? `${text.slice(0, 2048)}\u2026` : text;
43
+ } catch {
44
+ return void 0;
45
+ }
46
+ }
37
47
  function caizhilianBusinessMessage(value) {
38
- if (!value || typeof value !== "object") return "\u91C7\u77E5\u8FDE\u63A5\u53E3\u8FD4\u56DE\u4E1A\u52A1\u5931\u8D25";
48
+ if (!value || typeof value !== "object") return CAIZHILIAN_BUSINESS_FALLBACK_MESSAGE;
39
49
  const candidates = [value.msg, value.message, value.errMsg, value.data?.msg, value.data?.message];
40
50
  for (const item of candidates) {
41
51
  if (typeof item === "string" && item.trim()) return item;
42
52
  }
43
- return "\u91C7\u77E5\u8FDE\u63A5\u53E3\u8FD4\u56DE\u4E1A\u52A1\u5931\u8D25";
53
+ return CAIZHILIAN_BUSINESS_FALLBACK_MESSAGE;
44
54
  }
45
55
  function caizhilianBusinessCode(value) {
46
56
  if (!value || typeof value !== "object") return void 0;
@@ -174,16 +184,18 @@ function createCaizhilianHost(ctx, dependencies = {}) {
174
184
  throw caizhilianNetworkError("protocol", `\u63A5\u53E3\u8FD4\u56DE\u4E0D\u662F\u5408\u6CD5 JSON\uFF08HTTP ${response.status}\uFF09`, { retryable: false });
175
185
  }
176
186
  if (response.status < 200 || response.status >= 300 || request2.requireHttp200 && response.status !== 200) {
187
+ const raw = rawErrorBody(response.value);
177
188
  throw new CaizhilianCliError("api", "http_error", `\u91C7\u77E5\u8FDE\u63A5\u53E3 HTTP ${response.status}`, {
178
189
  code: response.status,
179
- details: { status: response.status, message: caizhilianBusinessMessage(response.value) },
190
+ details: { status: response.status, message: caizhilianBusinessMessage(response.value), ...raw === void 0 ? {} : { raw } },
180
191
  exitCode: 1
181
192
  });
182
193
  }
183
194
  if (!request2.tolerateBusinessError && !isCaizhilianBusinessSuccess(response.value)) {
195
+ const raw = rawErrorBody(response.value);
184
196
  throw new CaizhilianCliError("api", "business_error", caizhilianBusinessMessage(response.value), {
185
197
  code: caizhilianBusinessCode(response.value),
186
- details: { code: caizhilianBusinessCode(response.value), message: caizhilianBusinessMessage(response.value) },
198
+ details: { code: caizhilianBusinessCode(response.value), message: caizhilianBusinessMessage(response.value), ...raw === void 0 ? {} : { raw } },
187
199
  exitCode: 1
188
200
  });
189
201
  }
@@ -211,6 +223,7 @@ export {
211
223
  CAIZHILAN_TRANSFER_TIMEOUT_MS,
212
224
  CAIZHILAN_MAX_DOWNLOAD_BYTES,
213
225
  isCaizhilianBusinessSuccess,
226
+ CAIZHILIAN_BUSINESS_FALLBACK_MESSAGE,
214
227
  caizhilianBusinessMessage,
215
228
  assertCaizhilianPath,
216
229
  createCaizhilianHost
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  meetingStateDir
5
- } from "./chunk-LJE7RZNC.js";
5
+ } from "./chunk-F4HM25K4.js";
6
6
 
7
7
  // src/shortcuts/meeting/operations/eb/cache.ts
8
8
  import { mkdir, readFile, writeFile } from "node:fs/promises";
@@ -2,7 +2,7 @@ import { createRequire as __esbuildCreateRequire } from 'node:module';
2
2
  const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  isEsbFlowUnavailable
5
- } from "./chunk-UVWW5ABZ.js";
5
+ } from "./chunk-L7TYG5SN.js";
6
6
  import {
7
7
  esbValidationError
8
8
  } from "./chunk-TXUG266F.js";
@@ -51,6 +51,7 @@ var esbOperations = [
51
51
  name: "esb.trigger.prepare",
52
52
  summary: "\u89E6\u53D1\u524D\u7684\u53EA\u8BFB\u56DE\u67E5\u4E0E\u8BF7\u6C42\u4F53\u7EC4\u88C5\uFF0C\u7B7E\u53D1 apply \u6240\u9700\u7684 continuation\uFF08\u4E0D\u4EA7\u751F\u4E1A\u52A1\u526F\u4F5C\u7528\uFF09",
53
53
  risk: "read-before-write",
54
+ requiresConfirmation: true,
54
55
  inputSchema: {
55
56
  type: "object",
56
57
  additionalProperties: false,
@@ -63,6 +64,7 @@ var esbOperations = [
63
64
  name: "esb.trigger.apply",
64
65
  summary: "\u6309 continuation \u6267\u884C\u52A8\u4F5C\u6D41\u89E6\u53D1\uFF08\u9AD8\u98CE\u9669\u5199\u64CD\u4F5C\uFF0C\u53EF\u80FD\u4EA7\u751F\u4E1A\u52A1\u526F\u4F5C\u7528\uFF09",
65
66
  risk: "high-risk-write",
67
+ requiresConfirmation: true,
66
68
  inputSchema: {
67
69
  type: "object",
68
70
  additionalProperties: false,
@@ -10,44 +10,44 @@ import {
10
10
  resolvePersonTokens,
11
11
  resolveSelfPerson,
12
12
  resolveWorkflowId
13
- } from "./chunk-GWM5TLIK.js";
13
+ } from "./chunk-2XED2FKY.js";
14
14
  import {
15
15
  ebMeetingWritePreflight,
16
16
  meetingEbConflictOperations
17
- } from "./chunk-4W6BSNIL.js";
17
+ } from "./chunk-7QFVXP2X.js";
18
18
  import {
19
19
  listMeetingAttachments,
20
20
  meetingAttachmentContentOperations
21
- } from "./chunk-XIBMZEDB.js";
21
+ } from "./chunk-IBSJJGXL.js";
22
22
  import {
23
23
  PENDING_MARK,
24
24
  renderDocx
25
25
  } from "./chunk-WMRNO6IU.js";
26
26
  import {
27
27
  meetingEbGroupChatOperations
28
- } from "./chunk-HAORST2G.js";
28
+ } from "./chunk-LLCMOZ5L.js";
29
29
  import {
30
30
  meetingEntryOperations
31
- } from "./chunk-7CINV2BU.js";
31
+ } from "./chunk-XZBYRYWX.js";
32
32
  import {
33
33
  meetingEbScheduleOperations
34
- } from "./chunk-L2A3COWV.js";
34
+ } from "./chunk-BWYVS62Z.js";
35
35
  import {
36
36
  ebRoomRecommendOperation,
37
37
  inferRoomFloor,
38
38
  recommendRooms,
39
39
  rememberFrequentRoom
40
- } from "./chunk-EHH363SP.js";
40
+ } from "./chunk-2CHGUYMG.js";
41
41
  import {
42
42
  cacheScopeSuffix,
43
43
  readCache,
44
44
  writeCache
45
- } from "./chunk-IVCOZCAW.js";
45
+ } from "./chunk-PAFOLIYQ.js";
46
46
  import {
47
47
  meetingEnvOperations,
48
48
  meetingStateDir,
49
49
  resolveMeetingEnvMode
50
- } from "./chunk-LJE7RZNC.js";
50
+ } from "./chunk-F4HM25K4.js";
51
51
  import {
52
52
  EB_BASE,
53
53
  EB_ENDPOINTS,
@@ -79,14 +79,14 @@ import {
79
79
  toIdString,
80
80
  verifyLease,
81
81
  writeBody
82
- } from "./chunk-KDOJW5LH.js";
82
+ } from "./chunk-4I26YMBY.js";
83
83
  import {
84
84
  CONTINUATION_TTL_SECONDS
85
85
  } from "./chunk-7BDPM5ST.js";
86
86
  import {
87
87
  hasXiaoEEnv,
88
88
  packagePath
89
- } from "./chunk-I5XB4MZT.js";
89
+ } from "./chunk-AMAPQVBT.js";
90
90
 
91
91
  // src/shortcuts/meeting/operations/meetings.ts
92
92
  function overlapsDate(beginDatetime, endDatetime, date) {
@@ -2250,7 +2250,7 @@ var meetingAttachmentAttach = {
2250
2250
  if (mode === "append" && existingIds.length === 0) {
2251
2251
  existingIds.push(...beforeIds);
2252
2252
  }
2253
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
2253
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
2254
2254
  const list = getMeetingOperation2("meeting.eb.meeting.list");
2255
2255
  let fileId = incomingFileId;
2256
2256
  let name = String(args.name ?? "").trim();
@@ -2338,7 +2338,7 @@ function textOf(value) {
2338
2338
  return value === void 0 || value === null ? "" : String(value);
2339
2339
  }
2340
2340
  async function readMinute(env, id) {
2341
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
2341
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
2342
2342
  const detail = getMeetingOperation2("meeting.eb.minute.detail");
2343
2343
  const result = await detail.handler({ id }, env);
2344
2344
  const row = result?.data?.data;
@@ -2421,7 +2421,7 @@ var meetingMinuteWriteContent = {
2421
2421
  } else {
2422
2422
  statusReason = "\u4EC5\u6E05\u7A7A\u5185\u5BB9\uFF0C\u672A\u6539\u72B6\u6001";
2423
2423
  }
2424
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
2424
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
2425
2425
  const prepare = getMeetingOperation2("meeting.eb.minute.update.prepare");
2426
2426
  const apply = getMeetingOperation2("meeting.eb.minute.update.apply");
2427
2427
  const prepared = await prepare.handler({ id, mt_id: mtId, ...patch }, env);
@@ -2437,8 +2437,8 @@ var meetingMinuteWriteContent = {
2437
2437
  let minuteDoc = null;
2438
2438
  if (args.with_doc !== false) {
2439
2439
  try {
2440
- const { buildMinuteDocx } = await import("./minute-doc-WTZJVCHG.js");
2441
- const { meetingStateDir: meetingStateDir2 } = await import("./env-XW7LYIME.js");
2440
+ const { buildMinuteDocx } = await import("./minute-doc-JUCG56GY.js");
2441
+ const { meetingStateDir: meetingStateDir2 } = await import("./env-RDKWAARB.js");
2442
2442
  const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
2443
2443
  const { join: join3 } = await import("node:path");
2444
2444
  const subject = textOf(after.mt_minutes_subject).trim() || `\u4F1A\u8BAE\u7EAA\u8981-${mtId}`;
@@ -2475,7 +2475,7 @@ var meetingMinuteWriteContent = {
2475
2475
  }
2476
2476
  if (args.with_doc !== false) {
2477
2477
  try {
2478
- const { ensureMinuteDoc } = await import("./minute-doc-WTZJVCHG.js");
2478
+ const { ensureMinuteDoc } = await import("./minute-doc-JUCG56GY.js");
2479
2479
  const better = await ensureMinuteDoc(env, {
2480
2480
  id,
2481
2481
  mtId,
@@ -2846,7 +2846,7 @@ var meetingMinuteFromGroupChat = {
2846
2846
  const mtId = textOf2(args.mt_id).trim();
2847
2847
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
2848
2848
  const pipeline = ["text", "minutes", "document"].includes(args.pipeline) ? args.pipeline : "text";
2849
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
2849
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
2850
2850
  const ctx = env.ctx;
2851
2851
  let stepStart = Date.now();
2852
2852
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
@@ -2870,7 +2870,7 @@ var meetingMinuteFromGroupChat = {
2870
2870
  }
2871
2871
  mark("readMeeting", stepStart);
2872
2872
  const pullStart = Date.now();
2873
- const { createImHost } = await import("./host-BD44ASOD.js");
2873
+ const { createImHost } = await import("./host-XIYG4F4B.js");
2874
2874
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
2875
2875
  const { getImOperation } = await import("./registry-AC33ZZVH.js");
2876
2876
  const imEnv = { ctx, host: createImHost(ctx), continuation: createImContinuationSigner(ctx) };
@@ -2940,7 +2940,7 @@ var meetingMinuteFromGroupChat = {
2940
2940
  try {
2941
2941
  const { readFile: readFile4 } = await import("node:fs/promises");
2942
2942
  const buffer = await readFile4(file);
2943
- const { extractText } = await import("./attachment-content-DMU7KNZ7.js");
2943
+ const { extractText } = await import("./attachment-content-R3RPVOYE.js");
2944
2944
  const extracted = extractText(buffer, file, "");
2945
2945
  if (extracted.text.trim()) {
2946
2946
  extraSections.push(`\u3010\u6750\u6599\uFF1A${file.split(/[\\/]/).pop() ?? file}\u3011
@@ -3069,9 +3069,9 @@ ${groupTranscript}` : ""
3069
3069
  if (!employeeId) {
3070
3070
  warnings.push("\u672A\u53D6\u5230 ESB \u89E6\u53D1\u4EBA id\uFF08employeeId\uFF09\uFF0C\u5DF2\u8DF3\u8FC7\u540E\u7EED ESB \u8C03\u7528");
3071
3071
  } else {
3072
- const { createEsbHost } = await import("./host-2UMNXX5H.js");
3072
+ const { createEsbHost } = await import("./host-7FJW4E7R.js");
3073
3073
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
3074
- const { getEsbOperation } = await import("./registry-FTPUUHWC.js");
3074
+ const { getEsbOperation } = await import("./registry-N7P3W2RD.js");
3075
3075
  const esbEnv = { ctx, host: createEsbHost(ctx), continuation: createEsbContinuationSigner(ctx) };
3076
3076
  const prepareOp = getEsbOperation("esb.trigger.prepare");
3077
3077
  const applyOp = getEsbOperation("esb.trigger.apply");
@@ -3115,8 +3115,8 @@ ${groupTranscript}` : ""
3115
3115
  if (args.with_doc !== false) {
3116
3116
  const docStarted = Date.now();
3117
3117
  try {
3118
- const { buildMinuteDocx } = await import("./minute-doc-WTZJVCHG.js");
3119
- const { meetingStateDir: meetingStateDir2 } = await import("./env-XW7LYIME.js");
3118
+ const { buildMinuteDocx } = await import("./minute-doc-JUCG56GY.js");
3119
+ const { meetingStateDir: meetingStateDir2 } = await import("./env-RDKWAARB.js");
3120
3120
  const { mkdir: mkdir4, writeFile: writeFile4 } = await import("node:fs/promises");
3121
3121
  const { join: join3 } = await import("node:path");
3122
3122
  const body = textOf2(row.parse_content) || textOf2(row.minutes_content) || transcript;
@@ -3303,7 +3303,7 @@ var meetingDecisionNotifyGroup = {
3303
3303
  const warnings = [];
3304
3304
  const mtId = textOf3(args.mt_id).trim();
3305
3305
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
3306
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
3306
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
3307
3307
  const ctx = env.ctx;
3308
3308
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
3309
3309
  { mt_id: mtId, pageNo: 1, pageSize: 1 },
@@ -3367,7 +3367,7 @@ var meetingDecisionNotifyGroup = {
3367
3367
  charCount: formatted.text.length,
3368
3368
  text: formatted.text
3369
3369
  };
3370
- const { createImHost } = await import("./host-BD44ASOD.js");
3370
+ const { createImHost } = await import("./host-XIYG4F4B.js");
3371
3371
  const imHost = createImHost(ctx);
3372
3372
  let displayText = formatted.text;
3373
3373
  let wireText = formatted.text;
@@ -3605,7 +3605,7 @@ var meetingPipelineRun = {
3605
3605
  const needsConfirm = level === "tasks" || level === "notify";
3606
3606
  const confirmed = args.confirm === true;
3607
3607
  const executedLevel = needsConfirm && !confirmed ? "document" : level;
3608
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
3608
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
3609
3609
  const ctx = env.ctx;
3610
3610
  let stepStart = Date.now();
3611
3611
  const reuseMinuteId = textOf4(args.minuteId).trim();
@@ -3674,7 +3674,7 @@ var meetingPipelineRun = {
3674
3674
  ]);
3675
3675
  }
3676
3676
  stepStart = Date.now();
3677
- const { createHrmHost } = await import("./host-XVWBOSEN.js");
3677
+ const { createHrmHost } = await import("./host-CGXUFQO4.js");
3678
3678
  const { getHrmOperation } = await import("./registry-4S3RXXWS.js");
3679
3679
  const hrmEnv = { ctx, host: createHrmHost(ctx) };
3680
3680
  const queryOp = getHrmOperation("hrm.employee.query");
@@ -3977,7 +3977,7 @@ function formatTimeRange(start, end) {
3977
3977
  }
3978
3978
  async function loadAgendaFromTopics(env, mtId) {
3979
3979
  try {
3980
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
3980
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
3981
3981
  const operation = getMeetingOperation2("meeting.eb.topic.list");
3982
3982
  const result = await operation.handler({ mt_id: mtId, pageNo: 1, pageSize: 200 }, env);
3983
3983
  const rows = result.data?.rows ?? [];
@@ -4128,7 +4128,7 @@ async function supplementRowFromDetail(row, mtId, env) {
4128
4128
  const missing = DETAIL_FALLBACK_KEYS.filter((key) => isBlank(row[key]));
4129
4129
  if (missing.length === 0) return { row, filled: [] };
4130
4130
  try {
4131
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
4131
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
4132
4132
  const detailOperation = getMeetingOperation2("meeting.eb.meeting.detail");
4133
4133
  const result = await detailOperation.handler({ id: mtId }, env);
4134
4134
  const flat = result?.data?.data ?? result?.data ?? {};
@@ -4302,7 +4302,7 @@ var meetingInvitationRender = {
4302
4302
  };
4303
4303
  dataSource = "payload";
4304
4304
  } else {
4305
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
4305
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
4306
4306
  const listOperation = getMeetingOperation2("meeting.eb.meeting.list");
4307
4307
  try {
4308
4308
  const listed = await listOperation.handler({ mt_id: mtId, pageNo: 1, pageSize: 1 }, env);
@@ -4613,6 +4613,7 @@ var meetingInvitationPublish = {
4613
4613
  summary: '\u751F\u6210\u9080\u8BF7\u51FD\u5E76**\u53D1\u5E03\u6210 E10 \u6587\u6863**\uFF1A\u6A21\u677F\u586B\u5145 \u2192 \u4E0A\u4F20\u5230\u6587\u6863\u4E2D\u5FC3\uFF08\u9ED8\u8BA4\u76EE\u5F55 300\uFF09\u2192 \u8FD4\u56DE docId\u3002\u62FF\u5230\u540E\u628A `extraFields: {"\u9080\u8BF7\u51FD":[{"id":docId,"name":\u6587\u6863\u540D}]}` \u4F20\u7ED9\u5EFA\u4F1A\u63A5\u53E3\u5373\u53EF\u5199\u8FDB\u8868\u5355\u3002\u4F1A\u771F\u5B9E\u521B\u5EFA\u6587\u6863\uFF08\u9700 confirm: true\uFF09\u3002',
4614
4614
  capability: "invitation",
4615
4615
  risk: "high-risk-write",
4616
+ requiresConfirmation: true,
4616
4617
  inputSchema: {
4617
4618
  type: "object",
4618
4619
  additionalProperties: false,
@@ -4647,7 +4648,7 @@ var meetingInvitationPublish = {
4647
4648
  "\u4F1A\u771F\u5B9E\u521B\u5EFA\u6587\u6863\uFF0C\u5FC5\u987B\u663E\u5F0F\u4F20 confirm: true\uFF08\u53EF\u5148\u4E0D\u5E26 confirm \u8C03 meeting.invitation.render \u9884\u89C8\u6B63\u6587\uFF09"
4648
4649
  );
4649
4650
  }
4650
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
4651
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
4651
4652
  const render = getMeetingOperation2("meeting.invitation.render");
4652
4653
  const rendered = await render.handler(
4653
4654
  {
@@ -4679,8 +4680,8 @@ var meetingInvitationPublish = {
4679
4680
  folder_type: String(args.folder_type ?? DEFAULT_FOLDER_TYPE),
4680
4681
  author_id: authorId
4681
4682
  };
4682
- const { executeCaizhilianOperation } = await import("./operations-UTUWFJTX.js");
4683
- const { createCaizhilianHost } = await import("./host-R7BP3CTI.js");
4683
+ const { executeCaizhilianOperation } = await import("./operations-532PN5OB.js");
4684
+ const { createCaizhilianHost } = await import("./host-PDJAKCT7.js");
4684
4685
  const { createCaizhilianContinuationSigner } = await import("./continuation-GW6PRWK3.js");
4685
4686
  const caizhilianEnv = {
4686
4687
  ctx: env.ctx,
@@ -5362,7 +5363,7 @@ var meetingSummaryGet = {
5362
5363
  const mtId = textOf5(args.mt_id).trim();
5363
5364
  if (!mtId) throw meetingValidationError("mt_id_required", "\u5FC5\u987B\u63D0\u4F9B\u4F1A\u8BAE id\uFF08mt_id\uFF09");
5364
5365
  const ctx = env.ctx;
5365
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
5366
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
5366
5367
  const warnings = [];
5367
5368
  const timings = {};
5368
5369
  const include = Array.isArray(args.include) && args.include.length > 0 ? args.include.filter((item) => ALL_SECTIONS.includes(item)) : ALL_SECTIONS;
@@ -5498,7 +5499,7 @@ var meetingSummaryGet = {
5498
5499
  warnings.push("\u8BE5\u4F1A\u8BAE\u6CA1\u6709\u5173\u8054\u7FA4\u804A\uFF08imchat_groupid \u4E3A\u7A7A\uFF09\uFF0Cchat \u6BB5\u4E3A null");
5499
5500
  } else {
5500
5501
  try {
5501
- const { createImHost } = await import("./host-BD44ASOD.js");
5502
+ const { createImHost } = await import("./host-XIYG4F4B.js");
5502
5503
  const { createImContinuationSigner } = await import("./continuation-3S37AUSH.js");
5503
5504
  const { getImOperation } = await import("./registry-AC33ZZVH.js");
5504
5505
  const imEnv = {
@@ -5624,9 +5625,9 @@ var meetingFormFields = {
5624
5625
  hint: "\u6CA1\u89E3\u6790\u5230\u8BE5\u8868\u7684 objId\uFF08\u53EF\u80FD\u5F53\u524D\u73AF\u5883\u6CA1\u6709\u8FD9\u5F20\u8868\uFF0C\u6216\u8D26\u53F7\u65E0\u6743\u9650\uFF09"
5625
5626
  }, { warnings: resolved.warnings });
5626
5627
  }
5627
- const { createEbuilderFormHost } = await import("./host-SYPCA63D.js");
5628
+ const { createEbuilderFormHost } = await import("./host-WO4L5G5I.js");
5628
5629
  const { createEbuilderFormContinuationSigner } = await import("./continuation-3XLYYTKV.js");
5629
- const { executeEbuilderFormOperation } = await import("./operations-LQY3FTPH.js");
5630
+ const { executeEbuilderFormOperation } = await import("./operations-2WHIF5WV.js");
5630
5631
  const formEnv = {
5631
5632
  ctx: env.ctx,
5632
5633
  host: createEbuilderFormHost(env.ctx),
@@ -5683,7 +5684,7 @@ var MT_STATUS_OVER = "8";
5683
5684
  var CANCELLED_MARK_DELAY_MS = 800;
5684
5685
  async function isCancelledMeeting(env, mtId) {
5685
5686
  try {
5686
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
5687
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
5687
5688
  const listed = await getMeetingOperation2("meeting.eb.meeting.list").handler(
5688
5689
  // withCount:false —— 这里只要一行状态,不必额外请求 count(少一次往返,也便于测试替身)
5689
5690
  { mt_id: mtId, pageNo: 1, pageSize: 1, withCount: false },
@@ -5728,7 +5729,7 @@ async function resolveDecisionPeople(env, input, ownerId) {
5728
5729
  }
5729
5730
  let nameToId = /* @__PURE__ */ new Map();
5730
5731
  if (nameTokens.size > 0) {
5731
- const { resolveMemberIdsByName } = await import("./schedule-SDBOBBUQ.js");
5732
+ const { resolveMemberIdsByName } = await import("./schedule-6UP27HQ4.js");
5732
5733
  nameToId = await resolveMemberIdsByName(env, [...nameTokens]).catch(() => /* @__PURE__ */ new Map());
5733
5734
  }
5734
5735
  const unresolved = [];
@@ -6603,9 +6604,9 @@ async function runCrmSearchFlow(env, input) {
6603
6604
  if (!employeeId) {
6604
6605
  throw meetingValidationError("crm_employee_required", "\u53D6\u4E0D\u5230\u5F53\u524D\u767B\u5F55\u7528\u6237 id\uFF0C\u65E0\u6CD5\u89E6\u53D1 ESB \u5BA2\u6237\u67E5\u8BE2");
6605
6606
  }
6606
- const { createEsbHost } = await import("./host-2UMNXX5H.js");
6607
+ const { createEsbHost } = await import("./host-7FJW4E7R.js");
6607
6608
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
6608
- const { getEsbOperation } = await import("./registry-FTPUUHWC.js");
6609
+ const { getEsbOperation } = await import("./registry-N7P3W2RD.js");
6609
6610
  const esbEnv = {
6610
6611
  ctx: env.ctx,
6611
6612
  host: createEsbHost(env.ctx),
@@ -6772,7 +6773,7 @@ var deleteMany = {
6772
6773
  if (args.confirm !== true) {
6773
6774
  throw meetingValidationError("confirmation_required", "\u6279\u91CF\u5220\u9664\u4E0D\u53EF\u6062\u590D\uFF0C\u5FC5\u987B\u4F20 confirm=true");
6774
6775
  }
6775
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
6776
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
6776
6777
  const listOp = getMeetingOperation2("meeting.eb.decisionTask.list");
6777
6778
  const prepareOp = getMeetingOperation2("meeting.eb.decisionTask.delete.prepare");
6778
6779
  const applyOp = getMeetingOperation2("meeting.eb.decisionTask.delete.apply");
@@ -6907,7 +6908,7 @@ var reassign = {
6907
6908
  },
6908
6909
  handler: async (args, env) => {
6909
6910
  if (args.confirm === false) throw meetingValidationError("confirmation_required", "confirm=false\uFF0C\u672A\u6267\u884C");
6910
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
6911
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
6911
6912
  const mtId = String(args.mt_id ?? "").trim();
6912
6913
  const target = await resolveEmployeeId(env, String(args.to_executor ?? ""));
6913
6914
  const from = String(args.from_executor ?? "").trim();
@@ -7206,7 +7207,7 @@ var formLink = {
7206
7207
  pushValue("crm_members", "##" + first.id);
7207
7208
  } else {
7208
7209
  try {
7209
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
7210
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
7210
7211
  const search = getMeetingOperation2("meeting.eb.crm.search");
7211
7212
  const found = await search.handler({ keyword: first.name, pageSize: 10 }, env);
7212
7213
  const rows = found?.data?.items ?? [];
@@ -7361,7 +7362,7 @@ var ebAutoInvitationAfterWrite = async (context) => {
7361
7362
  const mtId = String(context.dataIds?.[0] ?? "").trim();
7362
7363
  if (!isCreate || !enabled || !mtId) return association;
7363
7364
  try {
7364
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
7365
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
7365
7366
  const render = getMeetingOperation2("meeting.invitation.render");
7366
7367
  const result = await render.handler({ mtId }, context.env);
7367
7368
  return { ...association ?? {}, invitation: result?.data ?? null };
@@ -7397,7 +7398,7 @@ var ebOperationsWithLinks = ebBaseOperations.map((operation) => {
7397
7398
  const raw = String(args.member).trim();
7398
7399
  let uid = /^\d+$/.test(raw) ? raw : "";
7399
7400
  if (!uid) {
7400
- const { resolveMemberIdsByName } = await import("./schedule-SDBOBBUQ.js");
7401
+ const { resolveMemberIdsByName } = await import("./schedule-6UP27HQ4.js");
7401
7402
  const map = await resolveMemberIdsByName(env, [raw]).catch(() => /* @__PURE__ */ new Map());
7402
7403
  uid = String(map.get(raw) ?? "");
7403
7404
  }
@@ -7436,7 +7437,7 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
7436
7437
  if (!String(nextArgs.mt_minutes_subject ?? "").trim() && nextArgs.mt_id) {
7437
7438
  let meetingName = "";
7438
7439
  try {
7439
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
7440
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
7440
7441
  const detailOp = getMeetingOperation2("meeting.eb.meeting.detail");
7441
7442
  const detail = await detailOp.handler({ id: String(nextArgs.mt_id) }, env);
7442
7443
  const row = detail?.data?.data ?? {};
@@ -7456,8 +7457,8 @@ var ebOperationsWithMinuteDoc = ebOperationsWithLinks.map((operation) => {
7456
7457
  handler: async (args, env) => {
7457
7458
  const result = await operation.handler(args, env);
7458
7459
  try {
7459
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
7460
- const { ensureMinuteDoc } = await import("./minute-doc-WTZJVCHG.js");
7460
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
7461
+ const { ensureMinuteDoc } = await import("./minute-doc-JUCG56GY.js");
7461
7462
  const minuteId = String((result?.data?.dataIds ?? [])[0] ?? "").trim();
7462
7463
  if (minuteId) {
7463
7464
  const detail = await getMeetingOperation2("meeting.eb.minute.detail").handler({ id: minuteId }, env);
@@ -7581,7 +7582,7 @@ var composeOutcome = {
7581
7582
  if (args.confirm === false) {
7582
7583
  throw meetingValidationError("confirmation_required", "\u4F20\u4E86 confirm=false\uFF0C\u5DF2\u963B\u6B62\u5199\u5165");
7583
7584
  }
7584
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
7585
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-RIQ67ZT7.js");
7585
7586
  let mtId = String(args.mt_id ?? "").trim();
7586
7587
  if (!mtId) {
7587
7588
  const listOp2 = getMeetingOperation2("meeting.eb.meeting.list");