weaver-work-cli 0.1.70 → 0.1.71

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 (214) hide show
  1. package/dist/chunks/{archive-VUTREF3P.js → archive-5P33NAUN.js} +22 -5
  2. package/dist/chunks/{archive-oa-VXXO4RTB.js → archive-oa-YTY5D7DG.js} +17 -5
  3. package/dist/chunks/{asset-45U6TY7I.js → asset-3Q5MFQBX.js} +22 -5
  4. package/dist/chunks/{asset-idle-YCRBMTIT.js → asset-idle-PQPNYIS7.js} +15 -5
  5. package/dist/chunks/{attachment-content-DMU7KNZ7.js → attachment-content-7CN7JB6B.js} +3 -3
  6. package/dist/chunks/{blog-5AML4WMG.js → blog-MFHHK6ZR.js} +25 -5
  7. package/dist/chunks/{caizhilian-3P7BUNHT.js → caizhilian-OZ435AYW.js} +22 -8
  8. package/dist/chunks/{calendar-2HUXM3CZ.js → calendar-TNJXS5UC.js} +15 -5
  9. package/dist/chunks/{chunk-H2NRTGZR.js → chunk-2DNCKZRX.js} +3 -3
  10. package/dist/chunks/{chunk-DVFA3ODS.js → chunk-35A56FJ7.js} +12 -0
  11. package/dist/chunks/{chunk-HG6INLH6.js → chunk-6MMSLE6K.js} +23 -6
  12. package/dist/chunks/{chunk-UVWW5ABZ.js → chunk-B4NINGP2.js} +3 -3
  13. package/dist/chunks/{chunk-LRKKKO5A.js → chunk-DRJYPXKC.js} +3 -4
  14. package/dist/chunks/{chunk-KDOJW5LH.js → chunk-EJLP63UO.js} +1 -1
  15. package/dist/chunks/{chunk-HAORST2G.js → chunk-FRMDHZSN.js} +11 -11
  16. package/dist/chunks/{chunk-GWM5TLIK.js → chunk-G7ZM2VOX.js} +34 -34
  17. package/dist/chunks/{chunk-LSVA7QA6.js → chunk-GB2MCJPG.js} +3 -1
  18. package/dist/chunks/{chunk-L2A3COWV.js → chunk-ICNUOWLL.js} +4 -4
  19. package/dist/chunks/{chunk-GTAFCAVP.js → chunk-IZCQU5D5.js} +1 -1
  20. package/dist/chunks/{chunk-7CINV2BU.js → chunk-LU2SPJYY.js} +2 -2
  21. package/dist/chunks/{chunk-E7VWE2XI.js → chunk-MD5RXRI3.js} +3 -3
  22. package/dist/chunks/{chunk-VZUH3LKI.js → chunk-MZVQKQP5.js} +167 -157
  23. package/dist/chunks/{chunk-X6PMJQGO.js → chunk-OFCF23FY.js} +6 -6
  24. package/dist/chunks/{chunk-IVCOZCAW.js → chunk-OPTJ6IF7.js} +1 -1
  25. package/dist/chunks/{chunk-727VKJQK.js → chunk-OZ7CJC7W.js} +2 -2
  26. package/dist/chunks/{chunk-T24EBWAZ.js → chunk-P3AFNAJ6.js} +48 -21
  27. package/dist/chunks/{chunk-LJE7RZNC.js → chunk-Q3EXRNB4.js} +1 -1
  28. package/dist/chunks/{chunk-QYDSTYGG.js → chunk-SKWKCLJX.js} +3 -3
  29. package/dist/chunks/{chunk-DSBV4GRK.js → chunk-SSS75WXW.js} +3 -3
  30. package/dist/chunks/{chunk-I5XB4MZT.js → chunk-SUWR5QEG.js} +94 -65
  31. package/dist/chunks/{chunk-XIBMZEDB.js → chunk-VJWVB55R.js} +2 -2
  32. package/dist/chunks/{chunk-EHH363SP.js → chunk-VMVMEIL3.js} +4 -4
  33. package/dist/chunks/chunk-WM33BSIL.js +136 -0
  34. package/dist/chunks/{chunk-GFOFUH6O.js → chunk-X2C5CGGM.js} +52 -51
  35. package/dist/chunks/{chunk-4W6BSNIL.js → chunk-XLSJC6JZ.js} +6 -6
  36. package/dist/chunks/{chunk-U3OO3IZF.js → chunk-YN5SD4TX.js} +20 -7
  37. package/dist/chunks/{conflict-YW5BULJ3.js → conflict-Y4PXZ2YQ.js} +2 -2
  38. package/dist/chunks/{contract-3PMHUASH.js → contract-C3BGUMBM.js} +48 -5
  39. package/dist/chunks/{cowork-FZBTTBYX.js → cowork-2AWG4QLA.js} +37 -8
  40. package/dist/chunks/{create-flow-5OBS3B3V.js → create-flow-LOUOK46Z.js} +6 -6
  41. package/dist/chunks/{data-2YZ6A6TL.js → data-BSFYMXVO.js} +99 -184
  42. package/dist/chunks/{ebuilder-form-AWPTMZBZ.js → ebuilder-form-LAAMTD2Y.js} +17 -7
  43. package/dist/chunks/{ehr-MNPR4TE5.js → ehr-36KEX5SH.js} +62 -13
  44. package/dist/chunks/{entry-mode-L65OWPFM.js → entry-mode-6N2IGCS4.js} +3 -3
  45. package/dist/chunks/{env-XW7LYIME.js → env-QYLS3EB3.js} +2 -2
  46. package/dist/chunks/{esb-GSB5QCEX.js → esb-PTYS3E67.js} +17 -7
  47. package/dist/chunks/{factory-MHFZZAGH.js → factory-LPFPKZ4T.js} +1 -1
  48. package/dist/chunks/{fna-XBSNUS2V.js → fna-JNHCLRDE.js} +15 -5
  49. package/dist/chunks/{group-chat-EEOLO5NM.js → group-chat-QP2WX4QJ.js} +3 -3
  50. package/dist/chunks/{host-2UMNXX5H.js → host-57LSRSE7.js} +4 -4
  51. package/dist/chunks/{host-NVDG3NC6.js → host-7BVR7CQ3.js} +4 -4
  52. package/dist/chunks/{host-SYPCA63D.js → host-C2BLBIID.js} +4 -4
  53. package/dist/chunks/{host-XVWBOSEN.js → host-K2ZKNXME.js} +4 -4
  54. package/dist/chunks/{host-R7BP3CTI.js → host-NS36QFLR.js} +6 -4
  55. package/dist/chunks/{host-BD44ASOD.js → host-QXFKQXNX.js} +4 -4
  56. package/dist/chunks/{hrm-FZUDJAND.js → hrm-FSGO4NSH.js} +15 -6
  57. package/dist/chunks/{im-F5NENPD7.js → im-2BFGS2XO.js} +16 -6
  58. package/dist/chunks/{invoice-DS6FLU55.js → invoice-JKLTTHSZ.js} +27 -6
  59. package/dist/chunks/{jiuchuanhui-JCBUR563.js → jiuchuanhui-PTABJE7V.js} +19 -6
  60. package/dist/chunks/{lazy-dispatch-F6O2EPGR.js → lazy-dispatch-YN2ZP3CS.js} +6 -6
  61. package/dist/chunks/{mail-ZEOSANEJ.js → mail-YNO7ZZUK.js} +116 -97
  62. package/dist/chunks/{meeting-PCD5EPBF.js → meeting-NIDHDBCB.js} +29 -16
  63. package/dist/chunks/{minute-doc-WTZJVCHG.js → minute-doc-G3QAT7DE.js} +4 -4
  64. package/dist/chunks/{okr-OZUMTMCL.js → okr-QC52G6AJ.js} +15 -5
  65. package/dist/chunks/{operations-LQY3FTPH.js → operations-2WHIF5WV.js} +1 -1
  66. package/dist/chunks/{operations-UTUWFJTX.js → operations-MQV32ITT.js} +5 -5
  67. package/dist/chunks/{performance-SMVTPK6T.js → performance-3MQ3AHDQ.js} +92 -7
  68. package/dist/chunks/{plan-C2NENH42.js → plan-ISINIEPY.js} +15 -5
  69. package/dist/chunks/{project-FAJ2P3UR.js → project-IJ6DVKT7.js} +18 -5
  70. package/dist/chunks/{reception-NH6MJFPR.js → reception-3H5LUG2I.js} +17 -7
  71. package/dist/chunks/{recruit-stage-DPEFHLSE.js → recruit-stage-MIOJXP6W.js} +412 -85
  72. package/dist/chunks/{registry-ZQ7OONCB.js → registry-3GQRYP2R.js} +12 -12
  73. package/dist/chunks/{registry-3B3OAJYX.js → registry-3S7AVMXR.js} +4 -4
  74. package/dist/chunks/{registry-FTPUUHWC.js → registry-NHHKOEU3.js} +5 -5
  75. package/dist/chunks/{room-recommend-73NBN3RU.js → room-recommend-IOKBJVYP.js} +4 -4
  76. package/dist/chunks/{schedule-SDBOBBUQ.js → schedule-IB6EUARH.js} +4 -4
  77. package/dist/chunks/{smart-extract-GTYKF5TJ.js → smart-extract-N2TK3CEF.js} +19 -6
  78. package/dist/chunks/{workflow-OWHWLAOX.js → workflow-RINBAL2M.js} +22 -8
  79. package/dist/cmd/auth/index.js +23 -0
  80. package/dist/cmd/e10/index.js +2 -1
  81. package/dist/cmd/index.js +2 -0
  82. package/dist/core/manifest-view.js +207 -0
  83. package/dist/core/output.js +38 -8
  84. package/dist/index.js +35 -35
  85. package/dist/internal/e10/auth/crypto.js +18 -8
  86. package/dist/internal/e10/auth/error-log.js +1 -2
  87. package/dist/internal/e10/auth/messages.js +2 -3
  88. package/dist/internal/e10/auth/xiaoe.js +1 -1
  89. package/dist/internal/e10/tls-policy.js +61 -13
  90. package/dist/shortcuts/archive/index.js +11 -2
  91. package/dist/shortcuts/archive/operations/download.js +1 -0
  92. package/dist/shortcuts/archive/operations/flow-url.js +3 -0
  93. package/dist/shortcuts/archive/operations/prelib.js +2 -0
  94. package/dist/shortcuts/archive/operations/upload.js +1 -0
  95. package/dist/shortcuts/archive-oa/index.js +11 -2
  96. package/dist/shortcuts/archive-oa/operations/borrow-car.js +2 -0
  97. package/dist/shortcuts/asset/index.js +11 -2
  98. package/dist/shortcuts/asset/manifest.js +7 -0
  99. package/dist/shortcuts/asset-idle/index.js +11 -2
  100. package/dist/shortcuts/blog/index.js +11 -2
  101. package/dist/shortcuts/blog/manifest.js +10 -0
  102. package/dist/shortcuts/caizhilian/host.js +20 -4
  103. package/dist/shortcuts/caizhilian/index.js +12 -2
  104. package/dist/shortcuts/caizhilian/manifest.js +4 -25
  105. package/dist/shortcuts/caizhilian/operations/handlers/search.js +34 -0
  106. package/dist/shortcuts/caizhilian/operations/registry.js +25 -1
  107. package/dist/shortcuts/calendar/index.js +11 -2
  108. package/dist/shortcuts/contract/index.js +11 -2
  109. package/dist/shortcuts/contract/manifest.js +32 -0
  110. package/dist/shortcuts/contract/operations/write.js +3 -0
  111. package/dist/shortcuts/cowork/index.js +21 -5
  112. package/dist/shortcuts/cowork/manifest.js +3 -0
  113. package/dist/shortcuts/cowork/operations/discuss-write.js +2 -0
  114. package/dist/shortcuts/cowork/operations/item-write.js +3 -0
  115. package/dist/shortcuts/cowork/operations/member-write.js +2 -0
  116. package/dist/shortcuts/cowork/operations/permission-write.js +2 -0
  117. package/dist/shortcuts/cowork/operations/review-write.js +1 -0
  118. package/dist/shortcuts/data/errors.js +16 -29
  119. package/dist/shortcuts/data/host.js +16 -7
  120. package/dist/shortcuts/data/index.js +12 -41
  121. package/dist/shortcuts/data/manifest.js +5 -44
  122. package/dist/shortcuts/data/operations/attend.js +2 -2
  123. package/dist/shortcuts/data/operations/conf.js +0 -88
  124. package/dist/shortcuts/data/operations/ds.js +4 -4
  125. package/dist/shortcuts/data/operations/index.js +1 -5
  126. package/dist/shortcuts/data/operations/module.js +40 -14
  127. package/dist/shortcuts/data/operations/query.js +2 -2
  128. package/dist/shortcuts/ebuilder-form/index.js +11 -2
  129. package/dist/shortcuts/ebuilder-form/manifest.js +12 -0
  130. package/dist/shortcuts/ehr/index.js +11 -2
  131. package/dist/shortcuts/ehr/operations/attend-write.js +51 -8
  132. package/dist/shortcuts/esb/index.js +11 -2
  133. package/dist/shortcuts/esb/manifest.js +2 -0
  134. package/dist/shortcuts/fna/index.js +11 -2
  135. package/dist/shortcuts/hrm/index.js +11 -1
  136. package/dist/shortcuts/im/index.js +11 -2
  137. package/dist/shortcuts/invoice/index.js +11 -2
  138. package/dist/shortcuts/invoice/manifest.js +8 -0
  139. package/dist/shortcuts/jiuchuanhui/index.js +15 -1
  140. package/dist/shortcuts/jiuchuanhui/manifest.js +2 -0
  141. package/dist/shortcuts/mail/errors.js +14 -0
  142. package/dist/shortcuts/mail/index.js +23 -6
  143. package/dist/shortcuts/mail/manifest.js +11 -4
  144. package/dist/shortcuts/mail/operations/mail-blacklist.js +6 -6
  145. package/dist/shortcuts/mail/operations/mail-contacts.js +10 -10
  146. package/dist/shortcuts/mail/operations/mail-manage.js +15 -14
  147. package/dist/shortcuts/mail/operations/mail-read.js +7 -25
  148. package/dist/shortcuts/mail/operations/mail-send.js +12 -12
  149. package/dist/shortcuts/mail/operations/mail-sign.js +10 -10
  150. package/dist/shortcuts/mail/operations/mail-template.js +10 -10
  151. package/dist/shortcuts/meeting/index.js +11 -2
  152. package/dist/shortcuts/meeting/operations/invitation-publish.js +1 -0
  153. package/dist/shortcuts/okr/index.js +11 -2
  154. package/dist/shortcuts/performance/index.js +62 -3
  155. package/dist/shortcuts/performance/scheme-validate.js +7 -0
  156. package/dist/shortcuts/performance/shared.js +40 -2
  157. package/dist/shortcuts/plan/index.js +11 -2
  158. package/dist/shortcuts/project/index.js +11 -2
  159. package/dist/shortcuts/project/operations/write.js +3 -0
  160. package/dist/shortcuts/reception/index.js +11 -2
  161. package/dist/shortcuts/reception/manifest.js +2 -2
  162. package/dist/shortcuts/reception/operations/ask.js +3 -0
  163. package/dist/shortcuts/recruit-stage/index.js +22 -3
  164. package/dist/shortcuts/recruit-stage/manifest.js +2 -0
  165. package/dist/shortcuts/recruit-stage/operations/jd-create.js +33 -16
  166. package/dist/shortcuts/recruit-stage/operations/profile.js +186 -0
  167. package/dist/shortcuts/recruit-stage/operations/registry.js +2 -0
  168. package/dist/shortcuts/recruit-stage/operations/resume-import.js +76 -47
  169. package/dist/shortcuts/recruit-stage/operations/search.js +151 -16
  170. package/dist/shortcuts/recruit-stage/operations/tag.js +17 -3
  171. package/dist/shortcuts/recruit-stage/shared.js +11 -1
  172. package/dist/shortcuts/smart-extract/index.js +11 -2
  173. package/dist/shortcuts/smart-extract/manifest.js +1 -0
  174. package/dist/shortcuts/smart-extract/operations/save.js +2 -0
  175. package/dist/shortcuts/workflow/index.js +21 -1
  176. package/dist/shortcuts/workflow/operations/read.js +2 -2
  177. package/dist/shortcuts/workflow/operations/write.js +1 -1
  178. package/docs/caizhilian.md +1 -1
  179. package/docs/contract.md +1 -0
  180. package/docs/data.md +22 -22
  181. package/docs/e10-auth.md +41 -33
  182. package/docs/ehr.md +2 -0
  183. package/docs/reception.md +4 -3
  184. package/package.json +1 -1
  185. package/scripts/pysite/__pycache__/sitecustomize.cpython-312.pyc +0 -0
  186. package/scripts/pysite/__pycache__/sitecustomize.cpython-313.pyc +0 -0
  187. package/scripts/pysite/sitecustomize.py +41 -0
  188. package/skill-template/domains/data.md +4 -4
  189. package/skills/weaver-e10-caizhilian/SKILL.md +1 -1
  190. package/skills/weaver-e10-caizhilian/references/org-browser.md +1 -0
  191. package/skills/weaver-e10-cowork/SKILL.md +3 -1
  192. package/skills/weaver-e10-data/SKILL.md +12 -16
  193. package/skills/weaver-e10-data/references/config-center.md +6 -7
  194. package/skills/weaver-e10-data/references/datasource.md +1 -1
  195. package/skills/weaver-e10-data/references/scene-and-misc.md +2 -2
  196. package/skills/weaver-e10-jiuchuanhui/SKILL.md +6 -4
  197. package/skills/weaver-e10-jiuchuanhui/references/clue.md +2 -2
  198. package/skills/weaver-e10-jiuchuanhui/references/customer.md +18 -8
  199. package/skills/weaver-e10-jiuchuanhui/references/sale.md +2 -2
  200. package/skills/weaver-e10-jucailin/references/attend-write.md +1 -1
  201. package/skills/weaver-e10-mail/SKILL.md +4 -1
  202. package/skills/weaver-e10-mail/references/mail-read.md +4 -2
  203. package/skills/weaver-e10-mail/references/safety-boundaries.md +1 -0
  204. package/skills/weaver-e10-okr/references/source-manifest.json +3 -3
  205. package/skills/weaver-e10-performance/SKILL.md +8 -6
  206. package/skills/weaver-e10-recruit-stage/SKILL.md +125 -20
  207. package/skills/weaver-e10-recruit-stage/lib/recruit-write-helper.mjs +359 -0
  208. package/skills/weaver-e10-recruit-stage/references/env-fixed-values.md +87 -0
  209. package/skills/weaver-e10-recruit-stage/references/recruit-jd-create.md +9 -2
  210. package/skills/weaver-e10-recruit-stage/references/recruit-tag-recommend.md +1 -0
  211. package/skills/weaver-e10-recruit-stage/templates/match-report.html +177 -0
  212. package/skills/weaver-e10-shared/SKILL.md +22 -1
  213. package/skills/weaver-e10-shared/references/e10-auth-and-session.md +2 -2
  214. package/skills/weaver-e10-yimiaoban/references/source-manifest.json +3 -3
@@ -471,6 +471,11 @@ function bytesOf(value) {
471
471
  function charsOf(value) {
472
472
  return JSON.stringify(value ?? null, null, 2).length;
473
473
  }
474
+ function compactCharsOf(value, compactPaths) {
475
+ if (!compactPaths || compactPaths.length === 0) return charsOf(value);
476
+ const text = stringifyForStdout(value, compactPaths);
477
+ return text === void 0 ? charsOf(value) : text.length;
478
+ }
474
479
  function isLinkField(key) {
475
480
  if (!key) return false;
476
481
  return /(?:^|[a-z0-9])(?:url|urls|uri|href|link|links)$/i.test(key);
@@ -709,10 +714,10 @@ function withTruncationNotice(leading, truncations) {
709
714
  const notice = `\u26A0\uFE0F stdout \u4EC5\u4E3A\u9884\u89C8\uFF0C\u4E0D\u662F\u5168\u91CF\uFF08\u4E0D\u8981\u636E\u6B64\u5224\u65AD\u6761\u6570\u6216\u5206\u9875\uFF09\uFF1A${detail}\u3002${tail}`;
710
715
  const { largeOutputNotice: rawNotice, ...rest } = leading;
711
716
  return {
712
- ...rest,
717
+ largeOutputNotice: `${String(rawNotice ?? "")}${notice}`,
713
718
  ...omitted ? { previewOmitted: omitted } : {},
714
719
  ...recovery ? { recovery } : {},
715
- largeOutputNotice: `${String(rawNotice ?? "")}${notice}`,
720
+ ...rest,
716
721
  ...truncatedFields ? { previewTruncatedFields: truncatedFields } : {}
717
722
  };
718
723
  }
@@ -751,13 +756,14 @@ function fitEnvelope(value, leading, extraWarnings, budgetChars) {
751
756
  const finalNotice = persisted ? `\u7ED3\u679C\u5DF2\u7CBE\u7B80\uFF1A\u5B8C\u6574\u5185\u5BB9\u5728\u672C\u5730 ref ${refId}\uFF0C\u7528 refs get ${refId} <\u8DEF\u5F84> \u53D6\uFF0C\u4E0D\u8981\u91CD\u65B0\u8C03\u7528\u4E1A\u52A1\u63A5\u53E3\u3002` : "\u7ED3\u679C\u65E0\u6CD5\u6682\u5B58\uFF1Bstdout \u4EC5\u4FDD\u7559\u7CBE\u7B80\u5185\u5BB9\uFF0C\u5B8C\u6574\u7ED3\u679C\u4E0D\u53EF\u6062\u590D\u3002";
752
757
  const finalDetail = describeTruncations(skeletonTruncations(base));
753
758
  return {
759
+ // 这一档连骨架都放不下,提示必须绝对第一:模型看到 `data: '<omitted ...>'` 之前得先知道发生了什么。
760
+ largeOutputNotice: finalDetail ? `${finalNotice}\u26A0\uFE0F \u9884\u89C8\u4E0D\u662F\u5168\u91CF\uFF1A${finalDetail}\u3002` : finalNotice,
754
761
  ...persisted ? { refId } : {},
755
762
  resultPersisted: persisted,
756
763
  previewTruncated: true,
757
764
  ...finalOmitted ? { previewOmitted: finalOmitted } : {},
758
765
  outputChars: Number(leading.outputChars) || 0,
759
766
  outputBytes: Number(leading.outputBytes) || 0,
760
- largeOutputNotice: finalDetail ? `${finalNotice}\u26A0\uFE0F \u9884\u89C8\u4E0D\u662F\u5168\u91CF\uFF1A${finalDetail}\u3002` : finalNotice,
761
767
  schemaVersion: typeof base.schemaVersion === "number" || typeof base.schemaVersion === "string" ? String(base.schemaVersion).slice(0, 20) : 1,
762
768
  ok: typeof base.ok === "boolean" ? base.ok : true,
763
769
  ...typeof base.operation === "string" ? { operation: base.operation.slice(0, 80) } : {},
@@ -818,7 +824,7 @@ var Output = class {
818
824
  const threshold = resultThresholdChars(this.ctx);
819
825
  if (options.persist === false || threshold <= 0) return value;
820
826
  const finalBudget = Math.max(1024, threshold - 1024);
821
- const chars = charsOf(value);
827
+ const chars = compactCharsOf(value, options.compactPaths);
822
828
  if (chars <= threshold) return value;
823
829
  const bytes = bytesOf(value);
824
830
  const limits = { maxCount: refMaxCount(this.ctx), maxBytes: refMaxBytes(this.ctx) };
@@ -862,19 +868,30 @@ var Output = class {
862
868
  leadingFor(meta, bytes, chars, retention) {
863
869
  const retentionNotice = retention?.cleanupIncomplete ? " \u90E8\u5206\u65E7\u5F15\u7528\u6682\u65F6\u65E0\u6CD5\u5220\u9664\uFF0CCLI \u4F1A\u5728\u540E\u7EED\u547D\u4EE4\u91CD\u8BD5\u3002" : retention?.overLimit ? " \u672C\u7ED3\u679C\u8D85\u8FC7\u6682\u5B58\u5BB9\u91CF\u4E0A\u9650\uFF0C\u5DF2\u4FDD\u7559\u672C\u6B21\u7ED3\u679C\u5E76\u6DD8\u6C70\u65E7\u7ED3\u679C\u3002" : "";
864
870
  return {
871
+ // 首行就是人话提示:模型只扫前几个键时也能先看到"已超线、别当全量用"。
872
+ largeOutputNotice: `\u7ED3\u679C ${chars} \u5B57\u7B26\u5DF2\u8D85 stdout \u9884\u7B97 ${resultThresholdChars(this.ctx)} \u5B57\u7B26\uFF0C\u5168\u91CF\u5DF2\u6682\u5B58\u4E3A\u672C\u5730 ref\u3002\u53D6\u5168\u91CF\u7528 refs get ${meta.refId} <\u8DEF\u5F84>\uFF08\u6216 --input-ref ${meta.refId} \u5582\u7ED9\u4E0B\u4E00\u6761\u547D\u4EE4\uFF09\uFF0C\u4E0D\u8981\u91CD\u65B0\u8C03\u7528\u4E1A\u52A1\u63A5\u53E3\u3002` + retentionNotice,
865
873
  refId: meta.refId,
866
874
  resultPersisted: true,
867
875
  previewTruncated: true,
868
876
  sha256: meta.sha256,
869
877
  expiresAt: meta.expiresAt,
870
878
  outputChars: chars,
871
- outputBytes: bytes,
872
- largeOutputNotice: `\u7ED3\u679C ${chars} \u5B57\u7B26\u5DF2\u8D85 stdout \u9884\u7B97 ${resultThresholdChars(this.ctx)} \u5B57\u7B26\uFF0C\u5168\u91CF\u5DF2\u6682\u5B58\u4E3A\u672C\u5730 ref\u3002\u53D6\u5168\u91CF\u7528 refs get ${meta.refId} <\u8DEF\u5F84>\uFF08\u6216 --input-ref ${meta.refId} \u5582\u7ED9\u4E0B\u4E00\u6761\u547D\u4EE4\uFF09\uFF0C\u4E0D\u8981\u91CD\u65B0\u8C03\u7528\u4E1A\u52A1\u63A5\u53E3\u3002` + retentionNotice
879
+ outputBytes: bytes
873
880
  };
874
881
  }
875
882
  raw(message) {
876
883
  console.log(message);
877
884
  }
885
+ /**
886
+ * 当前生效的 stdout 预算(字符)。
887
+ *
888
+ * 给需要**自己判断"装不装得下"**的命令用(如 `schema --full`:装不下就改回完整清单,
889
+ * 而不是让输出层把 `operations` 切掉几条,让模型以为模块只有那么多个工具)。
890
+ * 统一走这里,避免各命令自己读 `BASH_MAX_OUTPUT_LENGTH` 或硬编码 28,000。
891
+ */
892
+ budgetChars() {
893
+ return resultThresholdChars(this.ctx);
894
+ }
878
895
  };
879
896
 
880
897
  export {
@@ -14,13 +14,13 @@ import {
14
14
  createE10RequestRuntime,
15
15
  isE10SessionExpiredResponse,
16
16
  requireE10Session
17
- } from "./chunk-LRKKKO5A.js";
17
+ } from "./chunk-DRJYPXKC.js";
18
18
  import {
19
19
  E10_SESSION_EXPIRED_MESSAGE
20
- } from "./chunk-GTAFCAVP.js";
20
+ } from "./chunk-IZCQU5D5.js";
21
21
  import {
22
22
  getActiveProfile
23
- } from "./chunk-I5XB4MZT.js";
23
+ } from "./chunk-SUWR5QEG.js";
24
24
 
25
25
  // src/shortcuts/esb/host.ts
26
26
  var ESB_PATHS = {
@@ -7,7 +7,7 @@ import {
7
7
  E10_XIAOE_RECOVERY_FAILED_MESSAGE,
8
8
  E10_XIAOE_TLS_UNTRUSTED_MESSAGE,
9
9
  startFetchTiming
10
- } from "./chunk-GTAFCAVP.js";
10
+ } from "./chunk-IZCQU5D5.js";
11
11
  import {
12
12
  E10AuthSession,
13
13
  currentE10TlsPolicyStatus,
@@ -24,7 +24,7 @@ import {
24
24
  summarizeE10TlsPolicy,
25
25
  summarizeXiaoEFailureKind,
26
26
  tryXiaoEUnifiedLogin
27
- } from "./chunk-I5XB4MZT.js";
27
+ } from "./chunk-SUWR5QEG.js";
28
28
  import {
29
29
  CliError,
30
30
  toErrorEnvelope
@@ -203,10 +203,9 @@ function sanitizeError(error, secrets) {
203
203
  };
204
204
  }
205
205
  function sanitizeTlsPolicy(tls, secrets) {
206
- const caFiles = tls.caFiles.map((file) => redactSensitiveText(file, secrets));
207
206
  return {
208
207
  mode: tls.mode,
209
- caFiles,
208
+ caFiles: tls.caFiles.map((file) => redactSensitiveText(file, secrets)),
210
209
  applied: tls.applied,
211
210
  ...tls.notAppliedReason ? { notAppliedReason: tls.notAppliedReason } : {},
212
211
  ...tls.error ? { error: redactSensitiveText(tls.error, secrets) } : {},
@@ -2335,7 +2335,7 @@ function buildWriteOperations(endpoint, preflight, afterWrite) {
2335
2335
  );
2336
2336
  }
2337
2337
  if (endpoint.interfacePk === "create_meeting") {
2338
- const { fetchEbAppSettings, assertEbCreatePathAllowed } = await import("./conflict-YW5BULJ3.js");
2338
+ const { fetchEbAppSettings, assertEbCreatePathAllowed } = await import("./conflict-Y4PXZ2YQ.js");
2339
2339
  assertEbCreatePathAllowed(await fetchEbAppSettings(env, applyName));
2340
2340
  }
2341
2341
  const pkQuery = writePkQuery(endpoint, payload);
@@ -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-Q3EXRNB4.js";
6
6
  import {
7
7
  meetingSuccess,
8
8
  meetingValidationError,
9
9
  schemaOf
10
- } from "./chunk-KDOJW5LH.js";
10
+ } from "./chunk-EJLP63UO.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-57LSRSE7.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-QXFKQXNX.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-7BVR7CQ3.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-LOUOK46Z.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-NHHKOEU3.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-LPFPKZ4T.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-3GQRYP2R.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-3S7AVMXR.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-3GQRYP2R.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);
@@ -3,7 +3,7 @@ const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  fetchEbAppSettings,
5
5
  findCommonFreeSlots
6
- } from "./chunk-4W6BSNIL.js";
6
+ } from "./chunk-XLSJC6JZ.js";
7
7
  import {
8
8
  dayOf,
9
9
  filterUsages,
@@ -12,12 +12,12 @@ import {
12
12
  loadDayUsages,
13
13
  loadRooms,
14
14
  recommendRooms
15
- } from "./chunk-EHH363SP.js";
15
+ } from "./chunk-VMVMEIL3.js";
16
16
  import {
17
17
  cacheScopeSuffix,
18
18
  readCache,
19
19
  writeCache
20
- } from "./chunk-IVCOZCAW.js";
20
+ } from "./chunk-OPTJ6IF7.js";
21
21
  import {
22
22
  EB_BASE,
23
23
  SCHEMA_DATETIME_MINUTE,
@@ -26,7 +26,7 @@ import {
26
26
  meetingValidationError,
27
27
  schemaOf,
28
28
  writeBody
29
- } from "./chunk-KDOJW5LH.js";
29
+ } from "./chunk-EJLP63UO.js";
30
30
  import {
31
31
  CONTINUATION_TTL_MS,
32
32
  CONTINUATION_TTL_SECONDS
@@ -194,7 +194,7 @@ async function meetingUrlMap(env, ids) {
194
194
  const unique = [...new Set(ids.map((id) => String(id).trim()).filter((id) => id !== ""))];
195
195
  if (unique.length === 0) return out;
196
196
  try {
197
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
197
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
198
198
  const link = getMeetingOperation("meeting.link");
199
199
  const result = await link.handler({ type: "meeting", dataIds: unique }, env);
200
200
  const rows = result?.data?.items ?? result?.data?.links ?? [];
@@ -336,9 +336,9 @@ function workflowEnv(env) {
336
336
  return env;
337
337
  }
338
338
  async function loadCreateForm(env, workflowId) {
339
- const { createWorkflowHost } = await import("./host-NVDG3NC6.js");
339
+ const { createWorkflowHost } = await import("./host-7BVR7CQ3.js");
340
340
  const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
341
- const { getWorkflowOperation } = await import("./registry-3B3OAJYX.js");
341
+ const { getWorkflowOperation } = await import("./registry-3S7AVMXR.js");
342
342
  const wfEnv = {
343
343
  ...workflowEnv(env),
344
344
  host: createWorkflowHost(env.ctx),
@@ -443,7 +443,7 @@ async function resolveAddressRoom(env, input) {
443
443
  const text = String(input ?? "").trim();
444
444
  if (!text) return null;
445
445
  const ref = parseRoomRef(text);
446
- const { loadRooms: loadRooms2 } = await import("./room-recommend-73NBN3RU.js");
446
+ const { loadRooms: loadRooms2 } = await import("./room-recommend-IOKBJVYP.js");
447
447
  let rooms = [];
448
448
  try {
449
449
  rooms = (await loadRooms2(env, {})).rooms;
@@ -474,7 +474,7 @@ async function resolveRoomValue(env, input) {
474
474
  const ref = parseRoomRef(text);
475
475
  if (ref.id) {
476
476
  try {
477
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
477
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
478
478
  const detail = await getMeetingOperation("meeting.eb.room.detail").handler({ id: ref.id }, env);
479
479
  const main = detail?.data?.mainTable ?? detail?.data?.data?.mainTable ?? {};
480
480
  const name = String(main.room_name ?? "").trim() || ref.name || "";
@@ -586,7 +586,7 @@ async function shapeBrowserValues(env, values, options = {}) {
586
586
  const nameOnly = rows.filter((row) => row.id === "" && row.name !== "");
587
587
  if (nameOnly.length > 0) {
588
588
  try {
589
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
589
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
590
590
  const search = getMeetingOperation("meeting.eb.crm.search");
591
591
  for (const row of nameOnly) {
592
592
  const found = await search.handler({ keyword: row.name, limit: 5 }, env).catch(() => null);
@@ -787,7 +787,7 @@ async function resolveAutoCrmDetailRows(env, raw) {
787
787
  const missing = [];
788
788
  if (entries.length > 0) {
789
789
  try {
790
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
790
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
791
791
  const search = getMeetingOperation("meeting.eb.crm.search");
792
792
  for (const entry of entries) {
793
793
  if (entry.contacts.length > 0) continue;
@@ -1046,7 +1046,7 @@ function shouldAutoPickFlow(args) {
1046
1046
  async function sendInvitationToGroup(env, groupId, filePath, warnings) {
1047
1047
  const started = Date.now();
1048
1048
  try {
1049
- const { buildImEnv } = await import("./group-chat-EEOLO5NM.js");
1049
+ const { buildImEnv } = await import("./group-chat-QP2WX4QJ.js");
1050
1050
  const { getImOperation } = await import("./registry-AC33ZZVH.js");
1051
1051
  const imEnv = await buildImEnv(env);
1052
1052
  const prepared = await getImOperation("im.msg.send.group.prepare").handler(
@@ -1171,7 +1171,7 @@ function needsCrmSelection(name, items) {
1171
1171
  async function buildCrmSelection(args, env) {
1172
1172
  const name = crmPendingNames(args.crm_members)[0];
1173
1173
  if (!name) return null;
1174
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
1174
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
1175
1175
  const search = getMeetingOperation("meeting.eb.crm.search");
1176
1176
  const found = await search.handler({ keyword: name, limit: 10 }, env).catch(() => null);
1177
1177
  const items = found?.data?.items ?? [];
@@ -1298,14 +1298,14 @@ var ebMeetingCreateFlowPrepare = {
1298
1298
  let entryResolved = "";
1299
1299
  const rawEntry = String(args.entryMode ?? "").trim();
1300
1300
  if (rawEntry === "assist" || rawEntry === "direct_form") {
1301
- const { verifyEntryToken } = await import("./entry-mode-L65OWPFM.js");
1301
+ const { verifyEntryToken } = await import("./entry-mode-6N2IGCS4.js");
1302
1302
  const tokenOk = await verifyEntryToken(env, String(args.entryToken ?? ""), rawEntry).catch(() => false);
1303
1303
  const decision = decideEntryMode({ declared: rawEntry, tokenOk });
1304
1304
  if (decision.mode) entryResolved = decision.mode;
1305
1305
  else env.__entryTokenMissing = 1;
1306
1306
  }
1307
1307
  if (!entryResolved && rawEntry === "") {
1308
- const { readEntryChoice } = await import("./entry-mode-L65OWPFM.js");
1308
+ const { readEntryChoice } = await import("./entry-mode-6N2IGCS4.js");
1309
1309
  const mark2 = await readEntryChoice(env).catch(() => null);
1310
1310
  if (mark2?.choice) entryResolved = mark2.choice;
1311
1311
  }
@@ -1317,7 +1317,7 @@ var ebMeetingCreateFlowPrepare = {
1317
1317
  }
1318
1318
  if (entryResolved === "direct_form") {
1319
1319
  env.__meetingTimings = { ...env.__meetingTimings, directDelegated: 1 };
1320
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
1320
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
1321
1321
  return getMeetingOperation("meeting.eb.meeting.create.formLink").handler(args, env);
1322
1322
  }
1323
1323
  const beginRaw = String(args.begin_datetime ?? "").trim();
@@ -1330,7 +1330,7 @@ var ebMeetingCreateFlowPrepare = {
1330
1330
  skipPreflight = true;
1331
1331
  }
1332
1332
  if (!entryResolved && args.skipPreflight !== true) {
1333
- const { createEntryToken } = await import("./entry-mode-L65OWPFM.js");
1333
+ const { createEntryToken } = await import("./entry-mode-6N2IGCS4.js");
1334
1334
  const tokenDirect = await createEntryToken(env, "direct_form");
1335
1335
  const tokenAssist = await createEntryToken(env, "assist");
1336
1336
  return meetingSuccess("meeting.eb.meeting.create.flow.prepare", {
@@ -1432,7 +1432,7 @@ var ebMeetingCreateFlowPrepare = {
1432
1432
  }
1433
1433
  }
1434
1434
  const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
1435
- const nameToId = nameLike.length > 0 ? await import("./schedule-SDBOBBUQ.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
1435
+ const nameToId = nameLike.length > 0 ? await import("./schedule-IB6EUARH.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
1436
1436
  const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
1437
1437
  if (memberIds.length > 0) {
1438
1438
  const callerToken2 = String(args.caller ?? "").trim();
@@ -1477,7 +1477,7 @@ var ebMeetingCreateFlowPrepare = {
1477
1477
  if (!skipPreflight && (!beginHasTime || !timeConfirmed)) {
1478
1478
  const day2 = /^\d{4}-\d{2}-\d{2}/.test(beginText) ? beginText.slice(0, 10) : String(args.dateFrom ?? "").trim().slice(0, 10) || tomorrowIso();
1479
1479
  const duration = Number(args.durationMinutes) > 0 ? Math.round(Number(args.durationMinutes)) : 60;
1480
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
1480
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
1481
1481
  const suggested = await getMeetingOperation("meeting.eb.meeting.create.suggest").handler(
1482
1482
  {
1483
1483
  dateFrom: day2,
@@ -1647,7 +1647,7 @@ var ebMeetingCreateFlowPrepare = {
1647
1647
  usageFromCache: usageData.fromCache
1648
1648
  };
1649
1649
  }
1650
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
1650
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
1651
1651
  const result = await getMeetingOperation("meeting.eb.conflict.room").handler(
1652
1652
  { beginDatetime: beginText, endDatetime: endText, address: room.id },
1653
1653
  env
@@ -1655,7 +1655,7 @@ var ebMeetingCreateFlowPrepare = {
1655
1655
  return { room, ...result?.data ?? {} };
1656
1656
  })().catch(noteFailure("\u4F1A\u8BAE\u5BA4**\u5360\u7528**\u68C0\u6D4B")) : Promise.resolve(null);
1657
1657
  const conflictTask = cachedChecks ? Promise.resolve({ data: { conflicts: cachedChecks.memberConflicts } }) : enrich && beginText && endText && memberIds.length > 0 ? (async () => {
1658
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
1658
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
1659
1659
  return getMeetingOperation("meeting.eb.conflict.member").handler(
1660
1660
  { beginDatetime: beginText, endDatetime: endText, hrmMembers: memberIds.join(",") },
1661
1661
  env
@@ -2066,7 +2066,7 @@ var ebMeetingCreateFlowPrepare = {
2066
2066
  invitationDocInfo = { docId: cachedDoc.docId, name: cachedDoc.name };
2067
2067
  } else {
2068
2068
  try {
2069
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
2069
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
2070
2070
  const publish = getMeetingOperation("meeting.invitation.publish");
2071
2071
  const renderExtra = {};
2072
2072
  if (String(args.guest_org ?? "").trim()) renderExtra.guest_org = String(args.guest_org).trim();
@@ -2388,7 +2388,7 @@ async function patchMeetingCrmMembers(env, meetingId, ids, count, settleMsList =
2388
2388
  });
2389
2389
  };
2390
2390
  const readBack = async () => {
2391
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
2391
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
2392
2392
  const detail = getMeetingOperation("meeting.eb.meeting.detail");
2393
2393
  const read = await detail.handler({ id: String(meetingId).trim() }, env);
2394
2394
  return String(read?.data?.data?.crm_members ?? "").trim();
@@ -2415,7 +2415,7 @@ async function renderPreInvitation(payload, env) {
2415
2415
  const fields = payload?.invitationFields ?? {};
2416
2416
  const started = Date.now();
2417
2417
  try {
2418
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
2418
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
2419
2419
  const render = getMeetingOperation("meeting.invitation.render");
2420
2420
  const rendered = await render.handler(
2421
2421
  {
@@ -2491,9 +2491,9 @@ var ebMeetingCreateFlowApply = {
2491
2491
  throw meetingValidationError("context_mismatch", "\u786E\u8BA4\u4E0A\u4E0B\u6587\u5DF2\u53D8\u5316\uFF08\u79DF\u6237\u6216\u767B\u5F55\u8D26\u53F7\u4E0D\u540C\uFF09\uFF0C\u8BF7\u91CD\u65B0\u6267\u884C prepare");
2492
2492
  }
2493
2493
  const payload = lease?.payload ?? {};
2494
- const { createWorkflowHost } = await import("./host-NVDG3NC6.js");
2494
+ const { createWorkflowHost } = await import("./host-7BVR7CQ3.js");
2495
2495
  const { createWorkflowContinuationSigner } = await import("./continuation-HFW2YT5S.js");
2496
- const { getWorkflowOperation } = await import("./registry-3B3OAJYX.js");
2496
+ const { getWorkflowOperation } = await import("./registry-3S7AVMXR.js");
2497
2497
  const wfEnv = {
2498
2498
  ...workflowEnv(env),
2499
2499
  host: createWorkflowHost(env.ctx),
@@ -2543,7 +2543,7 @@ var ebMeetingCreateFlowApply = {
2543
2543
  const groupPayload2 = payload?.groupChat;
2544
2544
  if (groupPayload2) {
2545
2545
  try {
2546
- const { ensureMeetingGroupChat } = await import("./group-chat-EEOLO5NM.js");
2546
+ const { ensureMeetingGroupChat } = await import("./group-chat-QP2WX4QJ.js");
2547
2547
  groupChat2 = {
2548
2548
  ...await ensureMeetingGroupChat(env, {
2549
2549
  meetingName: String(payload.mtName ?? ""),
@@ -2559,7 +2559,7 @@ var ebMeetingCreateFlowApply = {
2559
2559
  }
2560
2560
  if (groupChat2 && groupChat2.ok) {
2561
2561
  try {
2562
- const { savePendingForm } = await import("./group-chat-EEOLO5NM.js");
2562
+ const { savePendingForm } = await import("./group-chat-QP2WX4QJ.js");
2563
2563
  await savePendingForm(env, {
2564
2564
  workflowId: String(payload.workflowId ?? ""),
2565
2565
  workflowName: String(payload.workflowName ?? ""),
@@ -2629,7 +2629,7 @@ var ebMeetingCreateFlowApply = {
2629
2629
  let meetingId = "";
2630
2630
  const timings = { submitMs: Date.now() - submitStartedAt };
2631
2631
  if (waitSeconds > 0) {
2632
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
2632
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
2633
2633
  const list = getMeetingOperation("meeting.eb.meeting.list");
2634
2634
  const deadline = Date.now() + Math.min(waitSeconds, 30) * 1e3;
2635
2635
  const pollStart = Date.now();
@@ -2679,7 +2679,7 @@ var ebMeetingCreateFlowApply = {
2679
2679
  if (groupPayload) {
2680
2680
  const groupStart = Date.now();
2681
2681
  try {
2682
- const { ensureMeetingGroupChat } = await import("./group-chat-EEOLO5NM.js");
2682
+ const { ensureMeetingGroupChat } = await import("./group-chat-QP2WX4QJ.js");
2683
2683
  const group = await ensureMeetingGroupChat(env, {
2684
2684
  meetingName: String(payload.mtName ?? ""),
2685
2685
  beginDatetime: String(groupPayload.beginDatetime ?? ""),
@@ -2711,7 +2711,7 @@ var ebMeetingCreateFlowApply = {
2711
2711
  if (meetingId) {
2712
2712
  const invitationStart = Date.now();
2713
2713
  try {
2714
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
2714
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
2715
2715
  const render = getMeetingOperation("meeting.invitation.render");
2716
2716
  const rendered = await render.handler(
2717
2717
  {
@@ -2872,7 +2872,7 @@ var ebMeetingCreateFlowQuick = {
2872
2872
  ),
2873
2873
  handler: async (args, env) => {
2874
2874
  if (String(args.entryMode ?? "") === "direct_form" || args.skipPreflight === true && args.confirm !== true) {
2875
- const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-ZQ7OONCB.js");
2875
+ const { getMeetingOperation: getMeetingOperation2 } = await import("./registry-3GQRYP2R.js");
2876
2876
  return getMeetingOperation2("meeting.eb.meeting.create.formLink").handler(args, env);
2877
2877
  }
2878
2878
  if (args.confirm !== true) {
@@ -2889,7 +2889,7 @@ var ebMeetingCreateFlowQuick = {
2889
2889
  `\u4F1A\u8BAE\u540D\u79F0/\u5185\u5BB9\u91CC\u63D0\u5230\u5BA2\u6237\u300C${crmMentioned}\u300D\uFF0C\u4F46\u6CA1\u4F20 crm_members \u2014\u2014 \u63D0\u4EA4\u540E\u300C\u53C2\u4F1A\u5BA2\u6237\u300D\u4F1A\u662F\u7A7A\u7684\u3002\u5148 meeting.eb.crm.search {"keyword":"${crmMentioned}"} \u62FF items[].customerId\uFF0C\u518D\u628A crm_members:[{"id":"<customerId>","name":"<\u5B8C\u6574\u5BA2\u6237\u540D>"}] \u4E00\u8D77\u4F20\uFF08\u5FC5\u987B\u5E26\u540D\u79F0\uFF0C\u53EA\u7ED9 id \u4F1A\u88AB\u9759\u9ED8\u5B58\u7A7A\uFF09\uFF1B\u786E\u5B9E\u4E0D\u9700\u8981\u586B\u53C2\u4F1A\u5BA2\u6237\u5C31\u4F20 crm_skip:true\u3002`
2890
2890
  );
2891
2891
  }
2892
- const { getMeetingOperation } = await import("./registry-ZQ7OONCB.js");
2892
+ const { getMeetingOperation } = await import("./registry-3GQRYP2R.js");
2893
2893
  const prepareStartedAt = Date.now();
2894
2894
  const { submit_mode: _submitMode, confirm: _confirm, ...prepareArgs } = args;
2895
2895
  const prepared = await getMeetingOperation("meeting.eb.meeting.create.flow.prepare").handler(
@@ -2988,7 +2988,7 @@ var ebMeetingCreateSuggest = {
2988
2988
  const topN = Math.max(1, Math.min(5, Number(args.topN) || 3));
2989
2989
  const rawMembers = String(args.hrm_members ?? "").split(/[,;,;\s]+/).map((item) => item.trim()).filter((item) => item !== "");
2990
2990
  const nameLike = rawMembers.filter((item) => !/^\d+$/.test(item));
2991
- const nameToId = nameLike.length > 0 ? await import("./schedule-SDBOBBUQ.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
2991
+ const nameToId = nameLike.length > 0 ? await import("./schedule-IB6EUARH.js").then((m) => m.resolveMemberIdsByName(env, nameLike)).catch(() => /* @__PURE__ */ new Map()) : /* @__PURE__ */ new Map();
2992
2992
  const memberIds = rawMembers.map((item) => nameToId.get(item) ?? item);
2993
2993
  const unresolved = rawMembers.filter((item) => nameToId.get(item) === void 0 && !/^\d+$/.test(item));
2994
2994
  const selfId = await env.host.getSession().then((s) => String(s?.userId ?? "")).catch(() => "");
@@ -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-B4NINGP2.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,
@@ -3,13 +3,13 @@ const require = __esbuildCreateRequire(import.meta.url);
3
3
  import {
4
4
  readCache,
5
5
  writeCache
6
- } from "./chunk-IVCOZCAW.js";
6
+ } from "./chunk-OPTJ6IF7.js";
7
7
  import {
8
8
  SCHEMA_DATETIME_MINUTE,
9
9
  meetingSuccess,
10
10
  meetingValidationError,
11
11
  schemaOf
12
- } from "./chunk-KDOJW5LH.js";
12
+ } from "./chunk-EJLP63UO.js";
13
13
 
14
14
  // src/shortcuts/meeting/operations/eb/schedule.ts
15
15
  var SCHEDULE_TYPE_PATH = "/api/ebuilder/form/formdata/v2/getFormDataList/queryAgendaType";
@@ -110,9 +110,9 @@ async function runScheduleConflictFlow(env, input) {
110
110
  if (!employeeId) {
111
111
  throw meetingValidationError("schedule_employee_required", "\u53D6\u4E0D\u5230\u5F53\u524D\u767B\u5F55\u7528\u6237 id\uFF0C\u65E0\u6CD5\u89E6\u53D1 ESB \u65E5\u7A0B\u67E5\u8BE2");
112
112
  }
113
- const { createEsbHost } = await import("./host-2UMNXX5H.js");
113
+ const { createEsbHost } = await import("./host-57LSRSE7.js");
114
114
  const { createEsbContinuationSigner } = await import("./continuation-KI7DRRZN.js");
115
- const { getEsbOperation } = await import("./registry-FTPUUHWC.js");
115
+ const { getEsbOperation } = await import("./registry-NHHKOEU3.js");
116
116
  const esbEnv = {
117
117
  ctx: env.ctx,
118
118
  host: createEsbHost(env.ctx),
@@ -7,7 +7,7 @@ var E10_AUTH_REQUIRED_MESSAGE = `E10 \u767B\u5F55\u6001\u4E0D\u53EF\u7528\u3002$
7
7
  var E10_XIAOE_RECOVERY_FAILED_MESSAGE = "E10 \u767B\u5F55\u6001\u4E0D\u53EF\u7528\u3002\u5DF2\u5C1D\u8BD5\u5C0F e \u81EA\u52A8\u91CD\u65B0\u83B7\u53D6\u767B\u5F55\u4FE1\u606F\uFF0C\u4F46\u672A\u53D6\u5F97\u53EF\u7528\u767B\u5F55\u6001\u3002\u8BF7\u5728\u5C0F e \u4E2D\u6062\u590D\u767B\u5F55\u540E\u91CD\u8BD5\u3002";
8
8
  var E10_XIAOE_HOST_CREDENTIAL_MISSING_MESSAGE = "E10 \u767B\u5F55\u6001\u4E0D\u53EF\u7528\u3002\u5C0F e \u7F51\u9875\u7AEF\u672A\u5411\u5F53\u524D\u8FD0\u884C\u73AF\u5883\u6CE8\u5165\u7EDF\u4E00\u767B\u5F55\u51ED\u636E\uFF0C\u81EA\u52A8\u83B7\u53D6\u5DF2\u505C\u6B62\u3002\u8BF7\u68C0\u67E5\u7F51\u9875\u6280\u80FD\u6C99\u7BB1\u7684\u5BBF\u4E3B\u51ED\u636E\u900F\u4F20\u540E\u91CD\u8BD5\u3002";
9
9
  var E10_XIAOE_NETWORK_UNAVAILABLE_MESSAGE = "\u6682\u65F6\u65E0\u6CD5\u8FDE\u63A5 E10\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5";
10
- var E10_XIAOE_TLS_UNTRUSTED_MESSAGE = "E10 \u7F51\u5173\u8BC1\u4E66\u4E0D\u53D7\u4FE1\u4EFB\uFF08\u81EA\u7B7E\u540D\u6216\u79C1\u6709 CA \u7B7E\u53D1\u7684\u8BC1\u4E66\u94FE\uFF09\uFF0C\u81EA\u52A8\u83B7\u53D6\u767B\u5F55\u4FE1\u606F\u5DF2\u505C\u6B62\u3002\u8BF7\u628A\u7F51\u5173 CA \u8BC1\u4E66\uFF08PEM\uFF09\u4EA4\u7ED9 CLI\uFF1A\u8BBE\u7F6E WEAVER_E10_CA_FILE=<CA PEM \u8DEF\u5F84> \u540E\u91CD\u8BD5\uFF1BNode \u4F4E\u4E8E 22.15 \u65F6\u8BE5\u53D8\u91CF\u65E0\u6CD5\u5728\u8FD0\u884C\u65F6\u751F\u6548\uFF0C\u8BF7\u6539\u7528 NODE_EXTRA_CA_CERTS=<CA PEM \u8DEF\u5F84> \u542F\u52A8 CLI\u3002\u4EC5\u5728\u6392\u67E5\u300C\u662F\u4E0D\u662F\u8BC1\u4E66\u95EE\u9898\u300D\u65F6\u53EF\u663E\u5F0F\u8BBE\u7F6E WEAVER_E10_TLS_INSECURE=1 \u4E34\u65F6\u8DF3\u8FC7\u6821\u9A8C\uFF08\u4F1A\u5173\u95ED\u672C\u8FDB\u7A0B\u5168\u90E8\u8BC1\u4E66\u6821\u9A8C\uFF0C\u6362\u7968\u8BF7\u6C42\u643A\u5E26\u7684\u5E73\u53F0\u7968\u636E\u53EF\u80FD\u88AB\u622A\u83B7\uFF0C\u786E\u8BA4\u540E\u7ACB\u523B\u53BB\u6389\uFF09\u3002CLI \u4E0D\u4F1A\u9ED8\u8BA4\u5173\u95ED\u8BC1\u4E66\u6821\u9A8C\u3002";
10
+ var E10_XIAOE_TLS_UNTRUSTED_MESSAGE = "E10 \u7F51\u5173\u8BC1\u4E66\u4E0D\u53D7\u4FE1\u4EFB\uFF08\u81EA\u7B7E\u540D\u6216\u79C1\u6709 CA \u7B7E\u53D1\u7684\u8BC1\u4E66\u94FE\uFF09\uFF0C\u81EA\u52A8\u83B7\u53D6\u767B\u5F55\u4FE1\u606F\u5DF2\u505C\u6B62\u3002CLI \u9ED8\u8BA4\u6821\u9A8C\u8BC1\u4E66\uFF1A\u8BF7\u628A\u7F51\u5173 CA \u8BC1\u4E66\uFF08PEM\uFF09\u4EA4\u7ED9 CLI\u2014\u2014\u8BBE\u7F6E WEAVER_E10_CA_FILE=<CA PEM \u8DEF\u5F84> \u540E\u91CD\u8BD5\uFF1BNode \u4F4E\u4E8E 22.15 \u65F6\u8BE5\u53D8\u91CF\u65E0\u6CD5\u5728\u8FD0\u884C\u65F6\u751F\u6548\uFF0C\u8BF7\u6539\u7528 NODE_EXTRA_CA_CERTS=<CA PEM \u8DEF\u5F84> \u542F\u52A8 CLI\u3002\u4EC5\u5728\u6392\u67E5\u300C\u662F\u4E0D\u662F\u8BC1\u4E66\u95EE\u9898\u300D\u65F6\u53EF\u663E\u5F0F\u8BBE\u7F6E WEAVER_E10_TLS_INSECURE=1 \u4E34\u65F6\u8DF3\u8FC7\u6821\u9A8C\uFF08\u4F1A\u5173\u95ED\u672C\u8FDB\u7A0B\u5168\u90E8\u8BC1\u4E66\u6821\u9A8C\uFF0C\u6362\u7968\u8BF7\u6C42\u643A\u5E26\u7684\u5E73\u53F0\u7968\u636E\u53EF\u80FD\u88AB\u622A\u83B7\uFF0C\u786E\u8BA4\u540E\u7ACB\u523B\u53BB\u6389\uFF09\u3002";
11
11
  var E10_SESSION_EXPIRED_MESSAGE = `E10 \u767B\u5F55\u6001\u5DF2\u5931\u6548\uFF0C\u672C\u6B21\u64CD\u4F5C\u5DF2\u505C\u6B62\u3002${E10_REAUTH_GUIDANCE}`;
12
12
 
13
13
  // src/internal/e10/fetch-timing.ts
@@ -2,11 +2,11 @@ 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-Q3EXRNB4.js";
6
6
  import {
7
7
  meetingSuccess,
8
8
  meetingValidationError
9
- } from "./chunk-KDOJW5LH.js";
9
+ } from "./chunk-EJLP63UO.js";
10
10
 
11
11
  // src/shortcuts/meeting/operations/eb/entry-mode.ts
12
12
  import { join, dirname } from "node:path";
@@ -9,13 +9,13 @@ import {
9
9
  createE10RequestRuntime,
10
10
  isE10AuthenticationRequired,
11
11
  requireE10Session
12
- } from "./chunk-LRKKKO5A.js";
12
+ } from "./chunk-DRJYPXKC.js";
13
13
  import {
14
14
  E10_SESSION_EXPIRED_MESSAGE
15
- } from "./chunk-GTAFCAVP.js";
15
+ } from "./chunk-IZCQU5D5.js";
16
16
  import {
17
17
  getActiveProfile
18
- } from "./chunk-I5XB4MZT.js";
18
+ } from "./chunk-SUWR5QEG.js";
19
19
 
20
20
  // src/shortcuts/workflow/host.ts
21
21
  var DEFAULT_TIMEOUT_MS = 3e4;