@wirecat/zoom-cli 0.63.0 → 0.65.0

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 (147) hide show
  1. package/README.md +3 -0
  2. package/dist/answer-entities.d.ts +13 -0
  3. package/dist/answer-entities.d.ts.map +1 -1
  4. package/dist/answer-entities.js +5 -0
  5. package/dist/answer-entities.js.map +1 -1
  6. package/dist/answers.d.ts +8 -0
  7. package/dist/answers.d.ts.map +1 -1
  8. package/dist/archive-import.d.ts +1 -1
  9. package/dist/archive-import.d.ts.map +1 -1
  10. package/dist/archive-import.js +2 -1
  11. package/dist/archive-import.js.map +1 -1
  12. package/dist/bin/zm.js +6 -2
  13. package/dist/bundle/{all-profiles-CGGNBINU.js → all-profiles-SKMLZJSY.js} +8 -8
  14. package/dist/bundle/answer-policy-BHDNSJWX.js +96 -0
  15. package/dist/bundle/{anthropic-KVWPIHFG.js → anthropic-TVHK7CY2.js} +4 -4
  16. package/dist/bundle/{app-server-NKKFBTQN.js → app-server-44ASFH47.js} +53 -52
  17. package/dist/bundle/{bun-XRO6XJHQ.js → bun-O4WHGL2F.js} +2 -2
  18. package/dist/bundle/{bun-sqlite-FWNCLOAR.js → bun-sqlite-NS32GMM4.js} +3 -3
  19. package/dist/bundle/{chunk-M6FCCVYZ.js → chunk-24F7JBLY.js} +72 -4
  20. package/dist/bundle/{chunk-4OQVRDTG.js → chunk-25IDWPEN.js} +166 -96
  21. package/dist/bundle/{chunk-QLQ7VVLK.js → chunk-266WOOB3.js} +4 -4
  22. package/dist/bundle/{chunk-ECXRRW7J.js → chunk-2H5SXK7K.js} +57 -27
  23. package/dist/bundle/{chunk-YI6ZNDPC.js → chunk-37PHGASE.js} +2 -2
  24. package/dist/bundle/{chunk-URJZK4GX.js → chunk-3CZIWGZ6.js} +1 -1
  25. package/dist/bundle/{chunk-6URISMGR.js → chunk-5NGOP4EZ.js} +125 -35
  26. package/dist/bundle/{chunk-IOUPXUFH.js → chunk-6CS7ETBK.js} +4496 -386
  27. package/dist/bundle/{chunk-FDCGTODC.js → chunk-7SQJCKR6.js} +1 -1
  28. package/dist/bundle/{chunk-EG7HC4EC.js → chunk-A6OA2EH2.js} +2 -2
  29. package/dist/bundle/{chunk-QUWMFBMS.js → chunk-AMMD6YCJ.js} +49 -11
  30. package/dist/bundle/chunk-BLT3LR3U.js +34 -0
  31. package/dist/bundle/{chunk-MI3JK6MW.js → chunk-BNXH73OU.js} +10 -10
  32. package/dist/bundle/{chunk-GOESXUJQ.js → chunk-BWRBALXG.js} +3 -3
  33. package/dist/bundle/{chunk-6SPWQCJF.js → chunk-C6BG57FA.js} +11 -11
  34. package/dist/bundle/{chunk-CXPHUOJR.js → chunk-CNEE6TPE.js} +26 -13
  35. package/dist/bundle/{chunk-RWG44LQD.js → chunk-CVCRQW3A.js} +35 -35
  36. package/dist/bundle/{chunk-FAOLCUKV.js → chunk-DNCKH7CO.js} +17 -17
  37. package/dist/bundle/{chunk-LTE6WH22.js → chunk-DYJXAY7Q.js} +26 -25
  38. package/dist/bundle/{chunk-IOCS5FXW.js → chunk-EA63UGWE.js} +2 -2
  39. package/dist/bundle/{chunk-5LMQTEU5.js → chunk-ERPRAYA7.js} +5 -5
  40. package/dist/bundle/{chunk-KMQUZ4YM.js → chunk-FYJL276J.js} +3 -3
  41. package/dist/bundle/{chunk-AMIIU3UZ.js → chunk-FYM27FCG.js} +32 -9
  42. package/dist/bundle/{chunk-NQCFUYC2.js → chunk-GBZF4IIP.js} +10 -9
  43. package/dist/bundle/{chunk-DIXC56OU.js → chunk-GEX4V5TM.js} +4 -4
  44. package/dist/bundle/{chunk-4OTXE6CF.js → chunk-GMTXCFI7.js} +683 -504
  45. package/dist/bundle/{chunk-TILW3EJY.js → chunk-GXCNCMUY.js} +2865 -924
  46. package/dist/bundle/{chunk-YJN4XYNA.js → chunk-H7762LDA.js} +2 -2
  47. package/dist/bundle/{chunk-JDJDVYGS.js → chunk-IPTI3Y2E.js} +6 -41
  48. package/dist/bundle/{chunk-SB47UAW2.js → chunk-JF7ZEUXU.js} +34 -26
  49. package/dist/bundle/{chunk-7AY3ADNV.js → chunk-K6ATTKQR.js} +13 -6
  50. package/dist/bundle/{chunk-6SK5SHCR.js → chunk-KYLS5QGC.js} +2 -2
  51. package/dist/bundle/{chunk-YF2PT5KA.js → chunk-KZE3G4ZT.js} +38 -36
  52. package/dist/bundle/{chunk-MIUPH3WA.js → chunk-LOL6JYYN.js} +211 -106
  53. package/dist/bundle/{chunk-UIPT6IAU.js → chunk-LPUFOWL3.js} +1 -1
  54. package/dist/bundle/{chunk-5NLFQ644.js → chunk-M6IDHQ7N.js} +6739 -4659
  55. package/dist/bundle/{chunk-M2WQWF3I.js → chunk-MH7AWCB4.js} +179 -50
  56. package/dist/bundle/{chunk-VFJ3MOIR.js → chunk-MIB5X2XW.js} +3 -3
  57. package/dist/bundle/{chunk-SLBMXXOW.js → chunk-MPKKIL3U.js} +15 -12
  58. package/dist/bundle/{chunk-BJPFWPKH.js → chunk-MRWIXUYT.js} +2 -2
  59. package/dist/bundle/{chunk-BNTAQADF.js → chunk-MZ6U6HNJ.js} +12 -3
  60. package/dist/bundle/{chunk-6R3GMSLR.js → chunk-NJSIHMAE.js} +2 -2
  61. package/dist/bundle/{chunk-5MYLM6SU.js → chunk-NNNEVWFF.js} +108 -41
  62. package/dist/bundle/{chunk-2LLNPNMB.js → chunk-NO24PJNW.js} +1 -1
  63. package/dist/bundle/{chunk-HIZQYFY3.js → chunk-OXUHTKO2.js} +8 -2
  64. package/dist/bundle/{chunk-3YBDRVOG.js → chunk-PV3UDPCI.js} +82 -6
  65. package/dist/bundle/{chunk-IK2OSV5C.js → chunk-QI7BZS2G.js} +8 -13
  66. package/dist/bundle/{chunk-2NAM2XQG.js → chunk-QLCYAQ66.js} +2 -2
  67. package/dist/bundle/{chunk-RUJBN7ZP.js → chunk-R5BAF5XE.js} +1 -1
  68. package/dist/bundle/{chunk-IR73ZZY6.js → chunk-RZLNHNSS.js} +8 -8
  69. package/dist/bundle/{chunk-TQFCPUIM.js → chunk-S4GDDO5S.js} +1 -1
  70. package/dist/bundle/{chunk-YFIUXE25.js → chunk-SQWRZZOQ.js} +3 -3
  71. package/dist/bundle/{chunk-EJFSS65P.js → chunk-T3KICUOK.js} +6 -6
  72. package/dist/bundle/{chunk-UD4FKICZ.js → chunk-TC7PD3LH.js} +4 -4
  73. package/dist/bundle/{chunk-YBMOFCY5.js → chunk-TUIEDVI6.js} +2 -2
  74. package/dist/bundle/{chunk-JBBZCTTF.js → chunk-U3ZUT557.js} +1 -1
  75. package/dist/bundle/{chunk-EOEDICIE.js → chunk-U4RVOSX3.js} +1 -1
  76. package/dist/bundle/{chunk-BPMKLWHV.js → chunk-U5ASRBBF.js} +6 -4
  77. package/dist/bundle/{chunk-7CNRZSAV.js → chunk-UKU6MYUI.js} +4 -4
  78. package/dist/bundle/{chunk-72S5TXFN.js → chunk-UMHJZWZU.js} +9 -9
  79. package/dist/bundle/{chunk-TZE6WXID.js → chunk-UPJXN2CO.js} +10651 -9814
  80. package/dist/bundle/{chunk-NVC4VQ2B.js → chunk-VH4F2EK4.js} +1 -1
  81. package/dist/bundle/{chunk-SPJJCD2A.js → chunk-VJTGYBJJ.js} +18 -13
  82. package/dist/bundle/{chunk-MLNC5N7H.js → chunk-VW2SW7ME.js} +3 -3
  83. package/dist/bundle/{chunk-Q4ZE2LXE.js → chunk-WLSF3GCC.js} +2 -2
  84. package/dist/bundle/{chunk-N3KQ7XND.js → chunk-XJQB47IL.js} +4 -4
  85. package/dist/bundle/{chunk-KM7Q67Z3.js → chunk-Y3EIK4XW.js} +1 -1
  86. package/dist/bundle/{chunk-7LQLJ7LW.js → chunk-Z5424QL6.js} +2 -2
  87. package/dist/bundle/{chunk-LXYC75D3.js → chunk-ZFNM3FNI.js} +199 -141
  88. package/dist/bundle/{chunk-D6FTCPXA.js → chunk-ZH743WNV.js} +41 -12
  89. package/dist/bundle/{chunk-XAXXEZZ5.js → chunk-ZOGYTDHG.js} +2 -2
  90. package/dist/bundle/{chunk-SEH7DBAM.js → chunk-ZREFYKUB.js} +7 -7
  91. package/dist/bundle/{chunk-2DPMYUWQ.js → chunk-ZXGRK44F.js} +14 -13
  92. package/dist/bundle/{cli-AHPIESAC.js → cli-FDO6CP6R.js} +124 -60
  93. package/dist/bundle/command-contract-O4FDXM4U.js +37 -0
  94. package/dist/bundle/config-UBHKZG3J.js +78 -0
  95. package/dist/bundle/{decode-ZU7WLMMV.js → decode-7SZI3TGZ.js} +3 -3
  96. package/dist/bundle/{dist-LTS7VI3S.js → dist-5GWUXW27.js} +18 -14
  97. package/dist/bundle/{echarts-YNGCOYHW.js → echarts-FMACRZQC.js} +2 -2
  98. package/dist/bundle/{embed-VWWOW7PP.js → embed-24YSXHLP.js} +4 -4
  99. package/dist/bundle/{embedder-T5GJC7M2.js → embedder-MEXN2TFB.js} +7 -7
  100. package/dist/bundle/{first-run-PX3SHPUU.js → first-run-OCVEJH63.js} +8 -8
  101. package/dist/bundle/first-screen-KJIU25MH.js +35 -0
  102. package/dist/bundle/{folders-VXMDFC2D.js → folders-DBAAMU26.js} +2 -2
  103. package/dist/bundle/{instructions-GJHHFV64.js → instructions-E5FXYCWF.js} +1 -1
  104. package/dist/bundle/{main-APVJXUJE.js → main-EIUCXXDW.js} +17 -16
  105. package/dist/bundle/{mcp-EMNFFY4N.js → mcp-FUSDPAOL.js} +2 -2
  106. package/dist/bundle/{meetings-GHYNIOHG.js → meetings-JDTRGXZJ.js} +16 -6
  107. package/dist/bundle/{node-GFOH6FKP.js → node-4SNKUPXT.js} +2 -2
  108. package/dist/bundle/{node-sqlite-QXKSPHTP.js → node-sqlite-O4BAODFR.js} +9 -3
  109. package/dist/bundle/{oauth-A6I2OMDD.js → oauth-3YLHXGUW.js} +5 -5
  110. package/dist/bundle/{open-TQKCU447.js → open-QGRMSNM2.js} +3 -2
  111. package/dist/bundle/{openai-XE3BJXOI.js → openai-7PSCSTH7.js} +9 -9
  112. package/dist/bundle/{output-file-FQNFCUKE.js → output-file-J26UQKRA.js} +3 -3
  113. package/dist/bundle/{process-XVDX4SPD.js → process-HQZOTT6U.js} +1 -1
  114. package/dist/bundle/{program-QRKEXYDG.js → program-47DT7SHE.js} +75 -75
  115. package/dist/bundle/{prompt-ISYG5RWM.js → prompt-IUD7HCDC.js} +3 -3
  116. package/dist/bundle/{recognize-KENPECLZ.js → recognize-DMJJHHXF.js} +2 -2
  117. package/dist/bundle/{remote-ZP5XTDCC.js → remote-5WFSOVVB.js} +5 -5
  118. package/dist/bundle/{rerank-SG653RHT.js → rerank-UKQ65ECH.js} +5 -5
  119. package/dist/bundle/{run-log-HYKGQ42E.js → run-log-UGYL6NW2.js} +53 -53
  120. package/dist/bundle/{serve-6UJCZD7Z.js → serve-WAOSED3I.js} +9 -8
  121. package/dist/bundle/server-HAXN772R.js +66 -0
  122. package/dist/bundle/{server-ZAYEDPFR.js → server-NWZFNXC5.js} +42 -42
  123. package/dist/bundle/{services-KMH7XZPY.js → services-VPANRE72.js} +101 -28
  124. package/dist/bundle/{speech-LINBLG5E.js → speech-O6UNUDRW.js} +11 -11
  125. package/dist/bundle/{state-4RKZNHE7.js → state-BNE7I65A.js} +4 -4
  126. package/dist/bundle/{store-253N7NUC.js → store-4IIVSCJ4.js} +56 -19
  127. package/dist/bundle/{store-JTBHRQZK.js → store-QQH4FJXJ.js} +16 -13
  128. package/dist/bundle/store-connection-PPEQK2K3.js +76 -0
  129. package/dist/bundle/store-maintenance-command-JZXCT6NY.js +56 -0
  130. package/dist/bundle/{streaming-YW64OKKQ.js → streaming-S4EZB6P2.js} +4 -4
  131. package/dist/bundle/{tokens-DPBC2P3I.js → tokens-VCXIH7WZ.js} +4 -4
  132. package/dist/bundle/zm.js +1 -1
  133. package/dist/local-transcription.d.ts.map +1 -1
  134. package/dist/local-transcription.js +1 -0
  135. package/dist/local-transcription.js.map +1 -1
  136. package/dist/version.d.ts +1 -1
  137. package/dist/version.js +1 -1
  138. package/package.json +3 -3
  139. package/dist/bundle/answer-policy-V2KDPLDO.js +0 -96
  140. package/dist/bundle/chunk-2T7MUSDB.js +0 -3605
  141. package/dist/bundle/command-contract-HVLI3OKU.js +0 -38
  142. package/dist/bundle/config-3SFEGYZO.js +0 -78
  143. package/dist/bundle/first-screen-RAPEZG57.js +0 -36
  144. package/dist/bundle/server-AXE37E6Q.js +0 -66
  145. package/dist/bundle/store-connection-ID2ETC7F.js +0 -76
  146. package/dist/bundle/store-maintenance-command-XRNECVDU.js +0 -55
  147. /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-NUN6OGOV.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  organization,
5
5
  project,
6
6
  reminder
7
- } from "./chunk-RWG44LQD.js";
7
+ } from "./chunk-CVCRQW3A.js";
8
8
  import {
9
9
  MIGRATIONS,
10
10
  SnapshotBudget,
@@ -28,31 +28,31 @@ import {
28
28
  tagMemberIds,
29
29
  thingOf,
30
30
  write
31
- } from "./chunk-TILW3EJY.js";
31
+ } from "./chunk-GXCNCMUY.js";
32
32
  import {
33
33
  fold
34
- } from "./chunk-IR73ZZY6.js";
34
+ } from "./chunk-RZLNHNSS.js";
35
35
  import {
36
36
  filesAccountSql,
37
37
  folderProviderOf,
38
38
  folderProviderSql,
39
39
  isDocumentAccountProvider
40
- } from "./chunk-MIUPH3WA.js";
40
+ } from "./chunk-LOL6JYYN.js";
41
41
  import {
42
42
  queryFieldsOf
43
- } from "./chunk-D6FTCPXA.js";
43
+ } from "./chunk-ZH743WNV.js";
44
44
  import {
45
45
  CliError
46
- } from "./chunk-SB47UAW2.js";
46
+ } from "./chunk-JF7ZEUXU.js";
47
47
  import {
48
48
  __name
49
49
  } from "./chunk-ZVVMGPBJ.js";
50
50
 
51
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
51
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
52
52
  import { realpathSync, statSync } from "node:fs";
53
53
  import { resolve } from "node:path";
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
55
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
56
56
  var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
57
57
  const creatable = /* @__PURE__ */ new Set();
58
58
  let people = 0, identities = 0;
@@ -115,11 +115,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
115
115
  }
116
116
  }, "copyPeople");
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
118
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
119
119
  import { createHash } from "node:crypto";
120
120
  var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
121
121
 
122
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
122
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
123
123
  var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
124
124
  const colon = collection.indexOf(":");
125
125
  const provider = collection.slice(0, colon);
@@ -163,7 +163,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
163
163
  };
164
164
  }, "currentCollection");
165
165
 
166
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
166
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
167
167
  var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
168
168
  const mappings = /* @__PURE__ */ new Map();
169
169
  const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
@@ -330,7 +330,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
330
330
  };
331
331
  }, "planTransfer");
332
332
 
333
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
333
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
334
334
  var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
335
335
  var MAX_ENTITIES = 1e3;
336
336
  var MAX_AUXILIARY = 1e4;
@@ -492,7 +492,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
492
492
  };
493
493
  }), "transferSnapshot");
494
494
 
495
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
495
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
496
496
  var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
497
497
  if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
498
498
  return provider ?? null;
@@ -664,7 +664,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
664
664
  database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
665
665
  }, "remapEntity");
666
666
 
667
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
667
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
668
668
  var locations = /* @__PURE__ */ __name((options) => {
669
669
  for (const value of [options.source, options.destination, options.collection])
670
670
  if (typeof value !== "string" || !value.trim())
@@ -760,7 +760,7 @@ var applyDocumentTransfer = /* @__PURE__ */ __name(async (options) => {
760
760
  }
761
761
  }, "applyDocumentTransfer");
762
762
 
763
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
763
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
764
764
  var ORGANIZATIONS_QUERY = {
765
765
  entity: "organization",
766
766
  backend: "sql",
@@ -795,7 +795,7 @@ var REMINDERS_QUERY = {
795
795
  })
796
796
  };
797
797
 
798
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
798
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
799
799
  var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
800
800
  if (!options || typeof options !== "object" || Array.isArray(options))
801
801
  throw new CliError("validation_error", "project preview options are required");
@@ -817,7 +817,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
817
817
  }
818
818
  }, "previewProjectAnnotationSnapshot");
819
819
 
820
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
820
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
821
821
  var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
822
822
  if (!options || typeof options !== "object" || Array.isArray(options))
823
823
  throw new CliError("validation_error", "snapshot options are required");
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  profileAccountKey,
5
5
  profilePattern
6
- } from "./chunk-SLBMXXOW.js";
6
+ } from "./chunk-MPKKIL3U.js";
7
7
  import {
8
8
  checkCancelled
9
- } from "./chunk-IOCS5FXW.js";
9
+ } from "./chunk-EA63UGWE.js";
10
10
  import {
11
11
  openWavAudio,
12
12
  preflightWavAudio
13
- } from "./chunk-YFIUXE25.js";
13
+ } from "./chunk-SQWRZZOQ.js";
14
14
  import {
15
15
  createMeetingSearchCommand,
16
16
  meetingHitSearchRequest,
17
17
  meetingSearchArguments,
18
18
  meetingSearchMeta
19
- } from "./chunk-ECXRRW7J.js";
19
+ } from "./chunk-2H5SXK7K.js";
20
20
  import {
21
21
  Command,
22
22
  FETCH,
@@ -29,17 +29,17 @@ import {
29
29
  metaNow,
30
30
  metaOf,
31
31
  overrideSharedContract
32
- } from "./chunk-IOUPXUFH.js";
32
+ } from "./chunk-6CS7ETBK.js";
33
33
  import {
34
34
  parseDuration
35
- } from "./chunk-4OQVRDTG.js";
35
+ } from "./chunk-25IDWPEN.js";
36
36
  import {
37
37
  canonicalMeetingReference,
38
38
  meetingHitsList,
39
39
  parseMeetingReference,
40
40
  validateMeetingContextChange,
41
41
  validateMeetingHitSearch
42
- } from "./chunk-4OTXE6CF.js";
42
+ } from "./chunk-GMTXCFI7.js";
43
43
  import {
44
44
  CliError,
45
45
  createOutputBuffer,
@@ -47,7 +47,7 @@ import {
47
47
  isCliError,
48
48
  jsonSchemaOf,
49
49
  union
50
- } from "./chunk-SB47UAW2.js";
50
+ } from "./chunk-JF7ZEUXU.js";
51
51
  import {
52
52
  __name
53
53
  } from "./chunk-ZVVMGPBJ.js";
@@ -160,7 +160,7 @@ var engineFailure = /* @__PURE__ */ __name(async (model, work) => {
160
160
  }
161
161
  }, "engineFailure");
162
162
  var loadSpeech = /* @__PURE__ */ __name(async () => {
163
- const speech = await import("./speech-LINBLG5E.js");
163
+ const speech = await import("./speech-O6UNUDRW.js");
164
164
  return { describe: speech.localSpeechRecognitionModel, open: speech.openLocalSpeechRecognizer };
165
165
  }, "loadSpeech");
166
166
  var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
@@ -180,7 +180,8 @@ var createWavTranscriptionSource = /* @__PURE__ */ __name((file, options) => {
180
180
  engine: recognition.engine,
181
181
  model: recognition.model,
182
182
  version: recognition.version,
183
- timing: "fixed-windows"
183
+ timing: "fixed-windows",
184
+ ...recognition.language === void 0 ? {} : { language: recognition.language }
184
185
  })
185
186
  });
186
187
  },
@@ -245,7 +246,7 @@ var createLocalTranscriptionCapabilities = /* @__PURE__ */ __name((store, input
245
246
  env: options.env,
246
247
  speech: options.speech
247
248
  });
248
- const { transcribeMeeting } = await import("./meetings-GHYNIOHG.js");
249
+ const { transcribeMeeting } = await import("./meetings-JDTRGXZJ.js");
249
250
  return await transcribeMeeting(source, {
250
251
  appendTranscriptsWithReceipt(value) {
251
252
  if (value.accountId !== accountId || value.externalId !== target.externalId)
@@ -281,7 +282,7 @@ var validateTaskProposal = /* @__PURE__ */ __name((value) => {
281
282
  throw new CliError("invalid_response", "task proposal must be unapplied and proposal-only");
282
283
  }, "validateTaskProposal");
283
284
  var loadProducer = /* @__PURE__ */ __name(async () => {
284
- const [domain, services] = await Promise.all([import("./dist-LTS7VI3S.js"), import("./services-KMH7XZPY.js")]);
285
+ const [domain, services] = await Promise.all([import("./dist-5GWUXW27.js"), import("./services-VPANRE72.js")]);
285
286
  return { ...services, ...domain };
286
287
  }, "loadProducer");
287
288
  var createMeetingContextCapabilities = /* @__PURE__ */ __name((store, meetings, accountId, load = loadProducer) => {
@@ -593,7 +594,7 @@ var addMeetingSearchCommands = /* @__PURE__ */ __name((program, deps) => {
593
594
  }, "addMeetingSearchCommands");
594
595
 
595
596
  // dist/meeting-semantic.js
596
- var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-KMH7XZPY.js"), "loadProducer");
597
+ var loadProducer2 = /* @__PURE__ */ __name(async () => import("./services-VPANRE72.js"), "loadProducer");
597
598
  var createMeetingSemanticCapabilities = /* @__PURE__ */ __name((store, accountId, options = {}) => {
598
599
  if (!Number.isSafeInteger(accountId) || accountId < 1)
599
600
  throw new CliError("validation_error", "meeting vectors require a selected positive account ID");
@@ -750,7 +751,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
750
751
  throw new CliError("validation_error", "expected a selected Zoom profile and read or ingestion intent");
751
752
  let store;
752
753
  try {
753
- const open2 = options.openStore ?? (await import("./store-253N7NUC.js")).openStore;
754
+ const open2 = options.openStore ?? (await import("./store-4IIVSCJ4.js")).openStore;
754
755
  store = await open2({
755
756
  path: options.path,
756
757
  env: options.env,
@@ -771,7 +772,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
771
772
  let cachedBatchReader;
772
773
  const batchReader = /* @__PURE__ */ __name(async () => {
773
774
  if (!cachedBatchReader) {
774
- const { createMeetingBatchReader } = await import("./services-KMH7XZPY.js");
775
+ const { createMeetingBatchReader } = await import("./services-VPANRE72.js");
775
776
  cachedBatchReader = createMeetingBatchReader(connected, accountId);
776
777
  }
777
778
  return cachedBatchReader;
@@ -780,7 +781,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
780
781
  meetingPreparation: {
781
782
  scope: key,
782
783
  create: /* @__PURE__ */ __name(async (upcoming) => {
783
- const { createMeetingPreparationService } = await import("./services-KMH7XZPY.js");
784
+ const { createMeetingPreparationService } = await import("./services-VPANRE72.js");
784
785
  const reader = connected.contextEvidence;
785
786
  if (context && !reader)
786
787
  throw new CliError("configuration_error", "the installed store does not support bounded communications");
@@ -805,7 +806,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
805
806
  close: /* @__PURE__ */ __name(() => connected.close(), "close"),
806
807
  appendTranscriptsWithReceipt: /* @__PURE__ */ __name((input) => meetings.appendTranscriptsWithReceipt(ownAccount(input, "append")), "appendTranscriptsWithReceipt"),
807
808
  meetingProjectCandidates: /* @__PURE__ */ __name(async (reference, request2) => {
808
- const { createStoredMeetingProjectCandidateReader } = await import("./services-KMH7XZPY.js");
809
+ const { createStoredMeetingProjectCandidateReader } = await import("./services-VPANRE72.js");
809
810
  const read = createStoredMeetingProjectCandidateReader(key, accountId, {
810
811
  meetings,
811
812
  vocabulary: connected.knowledge
@@ -813,7 +814,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
813
814
  return read(reference, request2);
814
815
  }, "meetingProjectCandidates"),
815
816
  meetingProjectEvidence: /* @__PURE__ */ __name(async (project, request2) => {
816
- const { readMeetingProjectDiscovery } = await import("./services-KMH7XZPY.js");
817
+ const { readMeetingProjectDiscovery } = await import("./services-VPANRE72.js");
817
818
  return readMeetingProjectDiscovery({
818
819
  vocabulary: connected.knowledge,
819
820
  search: { searchHits: /* @__PURE__ */ __name((query, hits) => meetings.searchHits(query, hits), "searchHits") }
@@ -840,7 +841,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
840
841
  },
841
842
  meetingSearch: /* @__PURE__ */ __name(async (query, request2) => {
842
843
  validateMeetingHitSearch(query, request2);
843
- const { searchMeetingHits } = await import("./services-KMH7XZPY.js");
844
+ const { searchMeetingHits } = await import("./services-VPANRE72.js");
844
845
  return searchMeetingHits({ meetings, knowledge: connected.knowledge }, query, { ...request2, accountId });
845
846
  }, "meetingSearch"),
846
847
  meetingIntegration: {
@@ -851,7 +852,7 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
851
852
  const change = validateMeetingContextChange(input);
852
853
  if (change.action !== "event.link" && change.action !== "person.link")
853
854
  throw new CliError("validation_error", "meeting linking supports only explicit event or person changes");
854
- const api = await import("./services-KMH7XZPY.js");
855
+ const api = await import("./services-VPANRE72.js");
855
856
  await api.resolveMeetingReference(meetings, accountId, source.reference, { signal: mutation.signal });
856
857
  const service = await api.createMeetingContextService({
857
858
  accounts: connected.accounts,
@@ -872,25 +873,25 @@ var createStoreConnector = /* @__PURE__ */ __name((options = {}) => async (reque
872
873
  },
873
874
  unifiedSearch: /* @__PURE__ */ __name(async (input) => {
874
875
  const request2 = validateUnifiedSearch(input);
875
- const { searchAllIncludingMeetings } = await import("./services-KMH7XZPY.js");
876
+ const { searchAllIncludingMeetings } = await import("./services-VPANRE72.js");
876
877
  return searchAllIncludingMeetings(connected, key, { ...request2, meetingAccount: key, env: options.env });
877
878
  }, "unifiedSearch"),
878
879
  meetingContext: createMeetingContextCapabilities(connected, meetings, accountId),
879
880
  meetingSemantic: createMeetingSemanticCapabilities(connected, accountId, { env: options.env }),
880
881
  meetingSearches: await (async () => {
881
- const { meetingSearchesService } = await import("./services-KMH7XZPY.js");
882
+ const { meetingSearchesService } = await import("./services-VPANRE72.js");
882
883
  return meetingSearchesService(async () => connected.searches);
883
884
  })(),
884
885
  meetingStats: /* @__PURE__ */ __name(async (request2) => {
885
- const { readMeetingStats } = await import("./services-KMH7XZPY.js");
886
+ const { readMeetingStats } = await import("./services-VPANRE72.js");
886
887
  return readMeetingStats(connected, { ...request2, accountId });
887
888
  }, "meetingStats"),
888
889
  meetingReview: /* @__PURE__ */ __name(async (request2) => {
889
- const { readMeetingReview } = await import("./services-KMH7XZPY.js");
890
+ const { readMeetingReview } = await import("./services-VPANRE72.js");
890
891
  return readMeetingReview(connected, { ...request2, accountId });
891
892
  }, "meetingReview"),
892
893
  meetingLinks: /* @__PURE__ */ __name(async (request2) => {
893
- const { readMeetingLinks } = await import("./services-KMH7XZPY.js");
894
+ const { readMeetingLinks } = await import("./services-VPANRE72.js");
894
895
  return readMeetingLinks(connected, { ...request2, accountId });
895
896
  }, "meetingLinks")
896
897
  };
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  timezoneOf,
5
5
  wallTime
6
- } from "./chunk-D6FTCPXA.js";
6
+ } from "./chunk-ZH743WNV.js";
7
7
  import {
8
8
  CliError,
9
9
  isCliError
10
- } from "./chunk-SB47UAW2.js";
10
+ } from "./chunk-JF7ZEUXU.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
@@ -2,21 +2,21 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-EG7HC4EC.js";
5
+ } from "./chunk-A6OA2EH2.js";
6
6
  import {
7
7
  CliError,
8
8
  resolvePaths,
9
9
  singleLine
10
- } from "./chunk-SB47UAW2.js";
10
+ } from "./chunk-JF7ZEUXU.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/shared-config.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
16
16
  import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
17
17
  import { dirname, join, resolve } from "node:path";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
20
20
  var DEFAULT_TASK_CATEGORIES = [
21
21
  {
22
22
  name: "taxes",
@@ -771,7 +771,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
771
771
  }
772
772
  }, "storedTaskCategories");
773
773
 
774
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/shared-config.js
774
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/store/shared-config.js
775
775
  var SECTION = "task_categories";
776
776
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
777
777
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-EJFSS65P.js";
5
+ } from "./chunk-T3KICUOK.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-SB47UAW2.js";
8
+ } from "./chunk-JF7ZEUXU.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {
@@ -1,18 +1,19 @@
1
1
  import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
+ COMPACT_FLAG,
4
5
  CliError,
5
6
  createRenderer,
6
7
  fieldsOf,
7
8
  processStreams,
8
9
  projectFields,
9
10
  singleLine
10
- } from "./chunk-SB47UAW2.js";
11
+ } from "./chunk-JF7ZEUXU.js";
11
12
  import {
12
13
  __name
13
14
  } from "./chunk-ZVVMGPBJ.js";
14
15
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
16
17
  var named = /* @__PURE__ */ __name((work) => {
17
18
  try {
18
19
  return work();
@@ -39,13 +40,19 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
39
40
  return projectFields(value, fields);
40
41
  }), "projectFields");
41
42
 
42
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/output-detail.js
43
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/output-detail.js
43
44
  var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
44
45
  var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
45
- var isHit = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && typeof value.locator === "string" && typeof value.text === "string", "isHit");
46
+ var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
47
+ var isRecord = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null, "isRecord");
48
+ var isSnakeHit = /* @__PURE__ */ __name((value) => isRecord(value) && typeof value.ref === "string" && typeof value.excerpt === "string", "isSnakeHit");
49
+ var isHit = /* @__PURE__ */ __name((value) => isSnakeHit(value) || isRecord(value) && typeof value.locator === "string" && typeof value.text === "string", "isHit");
50
+ var picked = /* @__PURE__ */ __name((hit, keys) => Object.fromEntries(keys.flatMap((key) => hit[key] === void 0 || hit[key] === null ? [] : [[key, hit[key]]])), "picked");
46
51
  var shaped = /* @__PURE__ */ __name((hit, detail) => {
52
+ if (isSnakeHit(hit))
53
+ return detail === "brief" ? picked(hit, SNAKE_BRIEF) : hit;
47
54
  if (detail === "brief")
48
- return Object.fromEntries(BRIEF.flatMap((key) => hit[key] === void 0 || hit[key] === null ? [] : [[key, hit[key]]]));
55
+ return picked(hit, BRIEF);
49
56
  const { text, providerMetadata, ...rest } = hit;
50
57
  for (const key of RARELY_SET)
51
58
  if (rest[key] === null)
@@ -69,10 +76,20 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
69
76
  return value;
70
77
  }, "atDetail");
71
78
 
72
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/output.js
73
- var resolveOutput = /* @__PURE__ */ __name(({ json, jsonl, quiet, streams = processStreams, tty, color, fields, hitDetail, env = process.env, capture } = {}) => {
79
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/output.js
80
+ var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
81
+ const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
82
+ if (other)
83
+ throw new CliError("validation_error", `${COMPACT_FLAG} and ${other} ask for different output \u2014 pick one`, {
84
+ reason: "output.conflict",
85
+ param: COMPACT_FLAG
86
+ });
87
+ }, "refuseCompact");
88
+ var resolveOutput = /* @__PURE__ */ __name(({ json, jsonl, quiet, streams = processStreams, tty, color, fields, hitDetail, env = process.env, capture, compact } = {}) => {
89
+ if (compact)
90
+ refuseCompact({ json, jsonl, fields, hitDetail });
74
91
  const interactive = tty ?? process.stdout.isTTY === true;
75
- const format = jsonl ? "jsonl" : json || !interactive ? "json" : "pretty";
92
+ const format = jsonl ? "jsonl" : json || compact || !interactive ? "json" : "pretty";
76
93
  const painted = format === "pretty" && (color ?? (env.NO_COLOR === void 0 && env.TERM !== "dumb" && !env.CI));
77
94
  const printing = createRenderer({ format, color: painted, streams });
78
95
  const rendered = capture ? { ...printing, result: capture, stream: /* @__PURE__ */ __name((items) => capture([...items]), "stream") } : printing;
@@ -89,7 +106,13 @@ var resolveOutput = /* @__PURE__ */ __name(({ json, jsonl, quiet, streams = proc
89
106
  result: /* @__PURE__ */ __name((value) => created.result(projectFields2(value, paths)), "result"),
90
107
  stream: /* @__PURE__ */ __name((items) => created.stream([...items].map((item) => projectFields2(item, paths))), "stream")
91
108
  } : created;
92
- return { format, color: painted, streams, renderer: quiet ? silence(renderer) : renderer };
109
+ return {
110
+ format,
111
+ color: painted,
112
+ streams,
113
+ renderer: quiet ? silence(renderer) : renderer,
114
+ ...compact ? { compact: true, full: hitDetail === "full" } : {}
115
+ };
93
116
  }, "resolveOutput");
94
117
  var MULTI_LINE = /* @__PURE__ */ new Set(["text", "description"]);
95
118
  var oneLineFields = /* @__PURE__ */ __name((renderer) => ({
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCliFailure
5
- } from "./chunk-7LQLJ7LW.js";
5
+ } from "./chunk-Z5424QL6.js";
6
6
  import {
7
7
  isContentKey
8
- } from "./chunk-SB47UAW2.js";
8
+ } from "./chunk-JF7ZEUXU.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/events.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/events.js
14
14
  var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
15
15
  var renderEvent = /* @__PURE__ */ __name((event) => {
16
16
  if (event.event === "warning") {
@@ -58,14 +58,14 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
58
58
  var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
59
59
  var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
60
60
 
61
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/run-context.js
61
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/run-context.js
62
62
  import { AsyncLocalStorage } from "node:async_hooks";
63
63
  import { createHash } from "node:crypto";
64
64
 
65
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
65
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
66
66
  import { homedir } from "node:os";
67
67
 
68
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/secrets.js
68
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/secrets.js
69
69
  var SECRET_WORDS = /* @__PURE__ */ new Set([
70
70
  "authorization",
71
71
  "cookie",
@@ -146,7 +146,7 @@ var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.
146
146
  var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
147
147
  var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
148
148
 
149
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
149
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
150
150
  var MESSAGE_AT_MOST = 500;
151
151
  var CAUSES_AT_MOST = 5;
152
152
  var FRAMES_AT_MOST = 15;
@@ -247,14 +247,15 @@ var endpointTemplate = /* @__PURE__ */ __name((raw) => {
247
247
  }, "endpointTemplate");
248
248
  var INTERNATIONAL_PHONE = /\+\d[\d\s()-]{6,}\d/.source;
249
249
  var BARE_PHONE = /(^|[^\w-])\d{11,15}\b/.source;
250
+ var MESSENGER_ID = /\b\d+(?:-\d+)?(?::\d+)?@(?:s\.whatsapp\.net|g\.us|c\.us|lid|broadcast|newsletter)\b/g;
250
251
  var redactText = /* @__PURE__ */ __name((text) => {
251
252
  const home = homedir();
252
253
  let out = home && home !== "/" ? text.split(home).join("~") : text;
253
- out = withoutSecrets(out.replace(/"[^"\n]*"|“[^”\n]*”|«[^»\n]*»/g, '"[redacted]"')).replace(/\b(bearer|basic|token|key|password|secret)(\s*[:=]\s*|\s+)[^\s'"]+/gi, "$1$2[redacted]").replace(/[\w.+-]+@[\w-]+\.[\w.-]+/g, "[email]").replace(new RegExp(INTERNATIONAL_PHONE, "g"), "[number]").replace(new RegExp(BARE_PHONE, "g"), "$1[number]").replace(/\bbot\d+:[\w-]+/g, "bot[token]").replace(/\b\d{6,}:[\w-]{20,}\b/g, "[token]").replace(/(\?|&)[^\s#]*/g, "$1[redacted]").replace(/\b[A-Za-z0-9_-]{40,}\b/g, "[redacted]");
254
+ out = withoutSecrets(out.replace(/"[^"\n]*"|“[^”\n]*”|«[^»\n]*»/g, '"[redacted]"')).replace(/\b(bearer|basic|token|key|password|secret)(\s*[:=]\s*|\s+)[^\s'"]+/gi, "$1$2[redacted]").replace(MESSENGER_ID, "[id]").replace(/[\w.+-]+@[\w-]+\.[\w.-]+/g, "[email]").replace(new RegExp(INTERNATIONAL_PHONE, "g"), "[number]").replace(new RegExp(BARE_PHONE, "g"), "$1[number]").replace(/\bbot\d+:[\w-]+/g, "bot[token]").replace(/\b\d{6,}:[\w-]{20,}\b/g, "[token]").replace(/(\?|&)[^\s#]*/g, "$1[redacted]").replace(/\b[A-Za-z0-9_-]{40,}\b/g, "[redacted]");
254
255
  return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
255
256
  }, "redactText");
256
257
 
257
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/runs/run-context.js
258
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/runs/run-context.js
258
259
  var REDACTED = "[redacted]";
259
260
  var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
260
261
  if (!record)
@@ -4,18 +4,18 @@ import {
4
4
  readSharedSection,
5
5
  sharedConfigPath,
6
6
  writeSharedSection
7
- } from "./chunk-5LMQTEU5.js";
7
+ } from "./chunk-ERPRAYA7.js";
8
8
  import {
9
9
  storePath
10
- } from "./chunk-EG7HC4EC.js";
10
+ } from "./chunk-A6OA2EH2.js";
11
11
  import {
12
12
  CliError
13
- } from "./chunk-SB47UAW2.js";
13
+ } from "./chunk-JF7ZEUXU.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.552.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_23aa5a610a285948c067a35e1587367b/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
19
19
  var PERMISSION_ANSWERS = ["readonly", "allow"];
20
20
  var QUESTIONS = ["languages", "tools", "permissions"];
21
21
  var SECTION = "setup";