@wirecat/zoom-cli 0.74.0 → 0.76.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 (166) hide show
  1. package/contracts/wirecat.json +5 -4
  2. package/dist/bin/zm.js +2 -2
  3. package/dist/bundle/{all-profiles-SDOAABLC.js → all-profiles-AAMFP7IN.js} +22 -32
  4. package/dist/bundle/answer-policy-ETAELI4A.js +110 -0
  5. package/dist/bundle/{anthropic-HCVY2PIN.js → anthropic-6KIS53QB.js} +6 -6
  6. package/dist/bundle/{app-server-V64VS6KN.js → app-server-6QYNNYEU.js} +59 -74
  7. package/dist/bundle/{bun-EBQHHLKR.js → bun-QVVCH4MJ.js} +2 -2
  8. package/dist/bundle/{bun-sqlite-PVMXO2JB.js → bun-sqlite-Y2ZFMNQ3.js} +7 -7
  9. package/dist/bundle/{chunk-3ROL6MBJ.js → chunk-25GMFXPF.js} +949 -772
  10. package/dist/bundle/{chunk-APLV37JA.js → chunk-2HKUQ7DR.js} +3 -3
  11. package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
  12. package/dist/bundle/{chunk-4RJL32PF.js → chunk-3D5PETD2.js} +26 -9
  13. package/dist/bundle/{chunk-QLKCKTM4.js → chunk-4ERYXY4Y.js} +1 -1
  14. package/dist/bundle/{chunk-XFT3YIHU.js → chunk-4JPOELCT.js} +4 -4
  15. package/dist/bundle/{chunk-TN2YUZBF.js → chunk-55SWKR6Y.js} +189 -160
  16. package/dist/bundle/{chunk-2PYZTRRC.js → chunk-5EII5RIL.js} +1 -1
  17. package/dist/bundle/{chunk-OPUGV7VW.js → chunk-5T7TBK5Y.js} +1 -1
  18. package/dist/bundle/{chunk-6EMOZGSN.js → chunk-64N7MY3I.js} +3 -3
  19. package/dist/bundle/{chunk-DXZN3DU6.js → chunk-65VRWNDP.js} +4 -4
  20. package/dist/bundle/{chunk-4EZKR6Q4.js → chunk-6SXCGS3A.js} +7 -7
  21. package/dist/bundle/{chunk-FL2TKSZY.js → chunk-6VCQ4CTK.js} +1 -1
  22. package/dist/bundle/{chunk-Y4KWWPIO.js → chunk-7RORMNKP.js} +2 -2
  23. package/dist/bundle/{chunk-N7KCNMKL.js → chunk-B7ZREOBD.js} +12 -12
  24. package/dist/bundle/{chunk-QSWR7VDA.js → chunk-CE5Y7PQU.js} +4 -4
  25. package/dist/bundle/{chunk-LHPYSVGP.js → chunk-CPOFLYPU.js} +33 -29
  26. package/dist/bundle/{chunk-HNWDEDMU.js → chunk-CS62FET6.js} +21 -21
  27. package/dist/bundle/{chunk-WYV5IITK.js → chunk-CXHUOPN5.js} +7 -7
  28. package/dist/bundle/{chunk-IZUOL4Q6.js → chunk-D2TGXSHQ.js} +5 -5
  29. package/dist/bundle/{chunk-ZYMTS3CI.js → chunk-DQHS336B.js} +6 -6
  30. package/dist/bundle/{chunk-WRRGO246.js → chunk-EBIK5Q73.js} +1 -1
  31. package/dist/bundle/{chunk-NKBMLSWK.js → chunk-ELW3LMJZ.js} +1281 -435
  32. package/dist/bundle/{chunk-HCZYJMBP.js → chunk-EPPE6ZTS.js} +1 -1
  33. package/dist/bundle/{chunk-TKPIDOW5.js → chunk-EZJSAYWZ.js} +21 -21
  34. package/dist/bundle/{chunk-2PNG76LV.js → chunk-EZXW3ZCR.js} +35 -13
  35. package/dist/bundle/{chunk-UW3BB2XW.js → chunk-FBVJGJDM.js} +29 -28
  36. package/dist/bundle/{chunk-ZMHZ6CQS.js → chunk-FGRFIXG2.js} +2 -2
  37. package/dist/bundle/{chunk-3HTJBGNP.js → chunk-FMJ4QSSU.js} +21 -16
  38. package/dist/bundle/{chunk-7W23N2YW.js → chunk-GB5LI5RM.js} +6 -6
  39. package/dist/bundle/{chunk-TLNZUPGU.js → chunk-GPIQY4YB.js} +14 -14
  40. package/dist/bundle/{chunk-OP6HK2QL.js → chunk-GYTAHH5Y.js} +2 -2
  41. package/dist/bundle/{chunk-LN2LWPN2.js → chunk-GZYICXO4.js} +1 -1
  42. package/dist/bundle/{chunk-R4J4DLJV.js → chunk-HUHH25AG.js} +833 -625
  43. package/dist/bundle/{chunk-X2FILY5F.js → chunk-HWYSJ4SL.js} +3 -3
  44. package/dist/bundle/{chunk-UXSTXFZQ.js → chunk-IUSY4ZJK.js} +6170 -6003
  45. package/dist/bundle/{chunk-UGLNVUFX.js → chunk-IVFNHIU4.js} +5 -5
  46. package/dist/bundle/{chunk-BKMC4ETU.js → chunk-IXPBSDKB.js} +4 -4
  47. package/dist/bundle/{chunk-XGEPAJBY.js → chunk-JADBHKBP.js} +1 -1
  48. package/dist/bundle/{chunk-KBRIMLVN.js → chunk-JWMOHEDL.js} +22 -12
  49. package/dist/bundle/{chunk-EA2OB75T.js → chunk-K3K3WKDB.js} +1 -1
  50. package/dist/bundle/{chunk-LQR4V5EY.js → chunk-KEFDP6NL.js} +12 -12
  51. package/dist/bundle/{chunk-5KDBLEUF.js → chunk-LEVOI6Z3.js} +12 -12
  52. package/dist/bundle/{chunk-QAGSAOYS.js → chunk-LGBLYFKI.js} +2 -2
  53. package/dist/bundle/{chunk-SKDQNYKA.js → chunk-LOEK6IFQ.js} +48 -39
  54. package/dist/bundle/{chunk-4ELLWJT4.js → chunk-M7WYBGQT.js} +8 -8
  55. package/dist/bundle/{chunk-DSRG5NRF.js → chunk-MDTEAKA5.js} +5 -5
  56. package/dist/bundle/{chunk-PKM2UKAZ.js → chunk-NQ356ERO.js} +15 -4
  57. package/dist/bundle/{chunk-FY2X6U6O.js → chunk-OFODCJ2A.js} +3 -3
  58. package/dist/bundle/{chunk-6GPBDVQ2.js → chunk-OINDAHXC.js} +4 -4
  59. package/dist/bundle/{chunk-NV2REPY6.js → chunk-OOYIPK4F.js} +1 -1
  60. package/dist/bundle/{chunk-5R6EBM5Z.js → chunk-ORM73DZO.js} +2 -2
  61. package/dist/bundle/{chunk-R35YGFKQ.js → chunk-OWZETMRE.js} +34 -9
  62. package/dist/bundle/{chunk-PMHMKZEJ.js → chunk-PFLJJQWW.js} +46 -54
  63. package/dist/bundle/{chunk-UVWNUY3W.js → chunk-QLUU3BV2.js} +2 -2
  64. package/dist/bundle/{chunk-3TYNBHBK.js → chunk-QY6GE7CL.js} +2 -2
  65. package/dist/bundle/{chunk-RQJ2RXFO.js → chunk-R47GYLNN.js} +37 -30
  66. package/dist/bundle/{chunk-LUBG5GKK.js → chunk-RJK5ADMH.js} +18 -19
  67. package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
  68. package/dist/bundle/{chunk-RRW54FK6.js → chunk-T2QVWRJF.js} +13 -13
  69. package/dist/bundle/{chunk-SPWKGRTO.js → chunk-TK77DCE5.js} +1 -1
  70. package/dist/bundle/{chunk-7R4UU65O.js → chunk-TYAFL66K.js} +43 -26
  71. package/dist/bundle/{chunk-HZUUVNWC.js → chunk-UAV74EY4.js} +1 -1
  72. package/dist/bundle/{chunk-BOGGQOVO.js → chunk-UG2QDGAH.js} +1 -1
  73. package/dist/bundle/{chunk-YNI57LTZ.js → chunk-UYZDH5LK.js} +1 -1
  74. package/dist/bundle/{chunk-YFLTHGB3.js → chunk-VABYJQYE.js} +10 -10
  75. package/dist/bundle/{chunk-IJCUAKR5.js → chunk-VCFSUGPE.js} +4 -4
  76. package/dist/bundle/{chunk-TMCXUWTY.js → chunk-VG63EXRC.js} +2 -2
  77. package/dist/bundle/{chunk-XCC7R47Z.js → chunk-VJANMYEC.js} +3 -3
  78. package/dist/bundle/{chunk-KCPRTZBZ.js → chunk-VRA4RVQU.js} +98 -6
  79. package/dist/bundle/{chunk-HGUYJUNO.js → chunk-WKT5RPSY.js} +8 -8
  80. package/dist/bundle/{chunk-GPGIU3OG.js → chunk-WNXC42IU.js} +9 -9
  81. package/dist/bundle/{chunk-FT7X74RT.js → chunk-WZJ7ZYR4.js} +4 -4
  82. package/dist/bundle/{chunk-I2D4ZZOD.js → chunk-X73YEFQE.js} +21 -18
  83. package/dist/bundle/{chunk-7NE3LB7A.js → chunk-XC4V6YCS.js} +1 -1
  84. package/dist/bundle/{chunk-LZ4AVHBS.js → chunk-XHVFX74L.js} +2 -2
  85. package/dist/bundle/{chunk-AFUHT7F7.js → chunk-XRH2NKW4.js} +6 -6
  86. package/dist/bundle/{chunk-P53CLAXD.js → chunk-XWQKRKMT.js} +63 -60
  87. package/dist/bundle/{chunk-RJJ4OYNH.js → chunk-Y2BGABXP.js} +3 -3
  88. package/dist/bundle/{chunk-KYL5FYOW.js → chunk-Y4WEAWU7.js} +1 -1
  89. package/dist/bundle/{chunk-F6PUM6ZK.js → chunk-YEBWRWE3.js} +17 -17
  90. package/dist/bundle/{chunk-SY4MIIWF.js → chunk-YESHGC3M.js} +2 -2
  91. package/dist/bundle/{chunk-IS6FUZCP.js → chunk-YGKM2ZWF.js} +3 -3
  92. package/dist/bundle/{chunk-YM6ZATEK.js → chunk-ZETM63M6.js} +6 -6
  93. package/dist/bundle/{chunk-MAE5UGRQ.js → chunk-ZFYNJERV.js} +6 -6
  94. package/dist/bundle/{cli-5ALOQCAC.js → cli-FHMLYHUZ.js} +78 -66
  95. package/dist/bundle/command-contract-HUZ4I23S.js +41 -0
  96. package/dist/bundle/{command-server-entry-ICOMIJIH.js → command-server-entry-YEZM52R5.js} +31 -31
  97. package/dist/bundle/config-KVTWN7QZ.js +97 -0
  98. package/dist/bundle/{decode-7LFOROWF.js → decode-SIYRMJOK.js} +6 -6
  99. package/dist/bundle/{dispatch-EU67WGME.js → dispatch-SMER3WDX.js} +9 -9
  100. package/dist/bundle/{dist-KJOOYNCP.js → dist-BSJETSFE.js} +24 -20
  101. package/dist/bundle/{echarts-EJXBKCJT.js → echarts-UZJ6AREV.js} +2 -2
  102. package/dist/bundle/{embed-TOZCKRRO.js → embed-A7DSHVI7.js} +7 -7
  103. package/dist/bundle/{embedder-QKEKUCS5.js → embedder-WQBR4UGS.js} +10 -10
  104. package/dist/bundle/{failure-CTJLEB2R.js → failure-73UQXQTW.js} +3 -3
  105. package/dist/bundle/first-run-SY6XSUZ3.js +29 -0
  106. package/dist/bundle/first-screen-ZDMODGWS.js +39 -0
  107. package/dist/bundle/{folders-MSBTAPAG.js → folders-BH4SV6SI.js} +5 -5
  108. package/dist/bundle/{instructions-Z7GVGWXS.js → instructions-SDDUBGH4.js} +1 -1
  109. package/dist/bundle/{main-RL3GC4OX.js → main-KL4FN5F3.js} +24 -24
  110. package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
  111. package/dist/bundle/{meetings-JCMLE5AO.js → meetings-URPXBHV7.js} +41 -7
  112. package/dist/bundle/{node-L2PVEW3N.js → node-ELCNUOCE.js} +2 -2
  113. package/dist/bundle/{node-sqlite-4YW3W4XI.js → node-sqlite-QLSNHZBM.js} +8 -8
  114. package/dist/bundle/{oauth-NNHWAT6A.js → oauth-LZ64S7Y3.js} +8 -8
  115. package/dist/bundle/{open-PF2JHJIY.js → open-WB4HUPQT.js} +6 -6
  116. package/dist/bundle/openai-KN6JE4QU.js +28 -0
  117. package/dist/bundle/{output-file-VDOCYH2G.js → output-file-AHPQA5LR.js} +6 -6
  118. package/dist/bundle/{process-MNZTQ2DA.js → process-67DAKAAQ.js} +1 -1
  119. package/dist/bundle/{program-FOCBZZZS.js → program-CIMACIBE.js} +90 -83
  120. package/dist/bundle/{prompt-RBSUKMV7.js → prompt-GG53UBDJ.js} +6 -6
  121. package/dist/bundle/{recognize-RM6TQKK3.js → recognize-CFJ3CAEH.js} +5 -5
  122. package/dist/bundle/{remote-UKHTU3YR.js → remote-BLEM7C3Q.js} +11 -11
  123. package/dist/bundle/{rerank-3LBRVESU.js → rerank-ERN6PC66.js} +8 -8
  124. package/dist/bundle/run-log-S67YPJF6.js +124 -0
  125. package/dist/bundle/{serve-OOZFTW3W.js → serve-FJPPTJXH.js} +10 -10
  126. package/dist/bundle/{server-YNQPNIJD.js → server-FLUSDUGM.js} +57 -55
  127. package/dist/bundle/server-UNJY3TSJ.js +74 -0
  128. package/dist/bundle/{services-SLEOMN4B.js → services-LXC6DVUQ.js} +43 -41
  129. package/dist/bundle/{speech-FZZ6QVGU.js → speech-WFEZTKXA.js} +17 -17
  130. package/dist/bundle/{sqlite-runtime-WUR4PWYB.js → sqlite-runtime-KN33VSP7.js} +7 -7
  131. package/dist/bundle/{state-ET36L4TY.js → state-TXS4ZHIT.js} +7 -7
  132. package/dist/bundle/{store-SQB2DOVJ.js → store-MUOXLVL4.js} +22 -22
  133. package/dist/bundle/{store-DI6OUBXA.js → store-ZUREZYZB.js} +20 -20
  134. package/dist/bundle/store-connection-NRNEBUPU.js +90 -0
  135. package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +65 -0
  136. package/dist/bundle/{streaming-PQEXKTE5.js → streaming-ZSCHRC5S.js} +7 -7
  137. package/dist/bundle/{tokens-SUHRRQ25.js → tokens-YVDOY4EV.js} +10 -10
  138. package/dist/bundle/zm.js +9 -9
  139. package/dist/bundle/{zoom-app-GE4SSHOP.js → zoom-app-O6GIMB7Y.js} +8 -8
  140. package/dist/meeting-search-commands.d.ts.map +1 -1
  141. package/dist/meeting-search-commands.js +6 -5
  142. package/dist/meeting-search-commands.js.map +1 -1
  143. package/dist/program-bindings.d.ts.map +1 -1
  144. package/dist/program-bindings.js +2 -1
  145. package/dist/program-bindings.js.map +1 -1
  146. package/dist/recording-schedule-commands.d.ts.map +1 -1
  147. package/dist/recording-schedule-commands.js +2 -2
  148. package/dist/recording-schedule-commands.js.map +1 -1
  149. package/dist/run.d.ts.map +1 -1
  150. package/dist/run.js +3 -1
  151. package/dist/run.js.map +1 -1
  152. package/dist/version.d.ts +1 -1
  153. package/dist/version.js +1 -1
  154. package/package.json +3 -3
  155. package/dist/bundle/answer-policy-RHS74QYY.js +0 -110
  156. package/dist/bundle/chunk-IJONJTST.js +0 -76
  157. package/dist/bundle/command-contract-WO5QJVLZ.js +0 -41
  158. package/dist/bundle/config-YQA5TJ7Y.js +0 -97
  159. package/dist/bundle/first-run-S7CQVGK6.js +0 -29
  160. package/dist/bundle/first-screen-6GW6FD6S.js +0 -39
  161. package/dist/bundle/openai-C72ADYMD.js +0 -28
  162. package/dist/bundle/run-log-UXINNGKA.js +0 -124
  163. package/dist/bundle/server-DM5ZPFZB.js +0 -75
  164. package/dist/bundle/store-connection-M6LVRAZ5.js +0 -90
  165. package/dist/bundle/store-maintenance-command-B66KWG6K.js +0 -65
  166. /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  executableEnvironment,
5
5
  executableOnPath
6
- } from "./chunk-FIVFP53N.js";
6
+ } from "./chunk-RXUVXAMM.js";
7
7
  import {
8
8
  require_cross_spawn
9
9
  } from "./chunk-D72URWJE.js";
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-HNWDEDMU.js";
13
+ } from "./chunk-CS62FET6.js";
14
14
  import {
15
15
  number,
16
16
  object,
17
17
  optional,
18
18
  string
19
- } from "./chunk-4RJL32PF.js";
19
+ } from "./chunk-3D5PETD2.js";
20
20
  import {
21
21
  __name,
22
22
  __toESM
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
25
+ // node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
26
26
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
27
27
  import { existsSync } from "node:fs";
28
28
  var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  refuseLacking
5
- } from "./chunk-2PNG76LV.js";
5
+ } from "./chunk-EZXW3ZCR.js";
6
6
  import {
7
7
  servingProfiles
8
- } from "./chunk-APLV37JA.js";
8
+ } from "./chunk-2HKUQ7DR.js";
9
9
  import {
10
10
  FloodMemory,
11
11
  OFFLINE,
@@ -21,7 +21,7 @@ import {
21
21
  servicesFor,
22
22
  throughWrapper,
23
23
  withFileLockAsync
24
- } from "./chunk-3ROL6MBJ.js";
24
+ } from "./chunk-25GMFXPF.js";
25
25
  import {
26
26
  asFirstWord,
27
27
  baseContext,
@@ -35,45 +35,46 @@ import {
35
35
  recalledAccount,
36
36
  rememberAccount,
37
37
  rootOf2 as rootOf
38
- } from "./chunk-TN2YUZBF.js";
38
+ } from "./chunk-55SWKR6Y.js";
39
39
  import {
40
40
  providerErrorKey
41
- } from "./chunk-WYV5IITK.js";
41
+ } from "./chunk-CXHUOPN5.js";
42
42
  import {
43
43
  AUTHORITY_KEY,
44
44
  CEILING_KEY,
45
45
  DEFAULT_PERMISSIONS,
46
46
  KEYED_UNDER_HOUSEKEEPING,
47
47
  WRITE_KEYS,
48
+ fetchesUnder,
48
49
  keyForCommand,
49
50
  levelFor,
50
51
  readKeysForCommand,
51
52
  skipFlagFor
52
- } from "./chunk-R35YGFKQ.js";
53
+ } from "./chunk-OWZETMRE.js";
53
54
  import {
54
55
  openStore
55
- } from "./chunk-UXSTXFZQ.js";
56
+ } from "./chunk-IUSY4ZJK.js";
56
57
  import {
57
58
  chatReferenceOf,
58
59
  ensureAccount,
59
60
  foldName,
60
61
  isId,
61
62
  pickPerson
62
- } from "./chunk-TKPIDOW5.js";
63
+ } from "./chunk-EZJSAYWZ.js";
63
64
  import {
64
65
  isCliFailure
65
- } from "./chunk-TMCXUWTY.js";
66
+ } from "./chunk-VG63EXRC.js";
66
67
  import {
67
68
  resolvePaths
68
- } from "./chunk-HNWDEDMU.js";
69
+ } from "./chunk-CS62FET6.js";
69
70
  import {
70
71
  CliError
71
- } from "./chunk-EA2OB75T.js";
72
+ } from "./chunk-K3K3WKDB.js";
72
73
  import {
73
74
  __name
74
75
  } from "./chunk-ZVVMGPBJ.js";
75
76
 
76
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
77
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
77
78
  import { openSync } from "node:fs";
78
79
  import { createInterface } from "node:readline";
79
80
  import { ReadStream } from "node:tty";
@@ -128,7 +129,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
128
129
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
129
130
  }, "terminalAsker");
130
131
 
131
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
132
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
132
133
  var HOUSEKEEPING = /* @__PURE__ */ new Set([
133
134
  "help",
134
135
  "guide",
@@ -208,7 +209,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
208
209
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
209
210
  }, "refuseUnknownPermissionKeys");
210
211
 
211
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
212
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
212
213
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
213
214
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
214
215
  let warned = false;
@@ -784,7 +785,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
784
785
  }
785
786
  }, "keep");
786
787
 
787
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/sends/pace.js
788
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/sends/pace.js
788
789
  import { readFileSync, renameSync, writeFileSync } from "node:fs";
789
790
  import { join } from "node:path";
790
791
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -879,7 +880,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
879
880
  await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
880
881
  }, "waitForTurn");
881
882
 
882
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
883
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
883
884
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
884
885
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
885
886
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -976,7 +977,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
976
977
  });
977
978
  }, "flooded");
978
979
 
979
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
980
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
980
981
  var observed = /* @__PURE__ */ __name((messenger, events) => {
981
982
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
982
983
  const write = currentOperation();
@@ -1075,7 +1076,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1075
1076
  counts[part] = (counts[part] ?? 0) + items.length;
1076
1077
  }, "byPart");
1077
1078
 
1078
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1079
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1079
1080
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1080
1081
  let opened;
1081
1082
  return {
@@ -1353,6 +1354,8 @@ var refuseLocalWrite = /* @__PURE__ */ __name((context, command, permission) =>
1353
1354
  const { level, key } = levelFor(settings.permissions, permission);
1354
1355
  if (level === "allow" || level === "ask" && context.agent)
1355
1356
  return;
1357
+ if (fetchesUnder(level, permission))
1358
+ return;
1356
1359
  if (key === CEILING_KEY)
1357
1360
  throw ceilingRefusal(permission, command);
1358
1361
  throw new CliError(level === "ask" ? "confirmation_required" : "permission_error", `profile ${settings.profile} does not let ${permission} write (permissions.${key} is ${level}, from the ${settings.permissionSources[key ?? ""] ?? "default"}); to allow it: ${command} ${settings.profile} config set permissions.${permission} allow`, { permission });
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/http/time-limit.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/http/time-limit.js
8
8
  var timeLimit = /* @__PURE__ */ __name((ms) => {
9
9
  const controller = new AbortController();
10
10
  const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  resolvePaths
5
- } from "./chunk-HNWDEDMU.js";
5
+ } from "./chunk-CS62FET6.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/path.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/path.js
11
11
  import { realpathSync } from "node:fs";
12
12
  import { userInfo } from "node:os";
13
13
  import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  PRAGMAS
5
- } from "./chunk-NV2REPY6.js";
5
+ } from "./chunk-OOYIPK4F.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-EA2OB75T.js";
8
+ } from "./chunk-K3K3WKDB.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
14
14
  var SQLITE_WARNING = "SQLite is an experimental feature";
15
15
  var quieted = /* @__PURE__ */ new WeakSet();
16
16
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
31
31
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
32
32
  }, "isSqliteWarning");
33
33
 
34
- // node_modules/.pnpm/@wirecat+cli-core@0.659.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_2476fb045fb1ee08e5e46f4aab8c07fa/node_modules/@wirecat/cli-core/dist/store/open.js
34
+ // node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/open.js
35
35
  var openCache = /* @__PURE__ */ __name(async (path) => {
36
36
  const database = await openFile(path);
37
37
  try {
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
44
44
  }, "openCache");
45
45
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
46
46
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
47
- const { openWithBunSqlite } = await import("./bun-sqlite-PVMXO2JB.js");
47
+ const { openWithBunSqlite } = await import("./bun-sqlite-Y2ZFMNQ3.js");
48
48
  return await openWithBunSqlite(path);
49
49
  }, "openUnderBun");
50
50
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
51
51
  quietSqliteWarning();
52
- const { openWithNodeSqlite } = await import("./node-sqlite-4YW3W4XI.js");
52
+ const { openWithNodeSqlite } = await import("./node-sqlite-QLSNHZBM.js");
53
53
  return openWithNodeSqlite(path);
54
54
  }, "openUnderNode");
55
55
  var runtime = /* @__PURE__ */ __name(() => {