@wirecat/drive-cli 0.50.0 → 0.51.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 (130) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-WQTVOCIS.js → all-profiles-H3APJWSO.js} +5 -5
  3. package/dist/bundle/{anthropic-YCA2AWIJ.js → anthropic-P7DXFYFE.js} +3 -3
  4. package/dist/bundle/{app-server-ZQOYUQJH.js → app-server-IQUR7ZC2.js} +46 -46
  5. package/dist/bundle/{bun-5NFIDHGM.js → bun-LZUEW2ML.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-OAQE4M2E.js → bun-sqlite-6LUE7UA6.js} +2 -2
  7. package/dist/bundle/{chunk-P6VN5UB4.js → chunk-2TPENYCK.js} +3 -3
  8. package/dist/bundle/{chunk-M6FQOGUW.js → chunk-35IHF562.js} +244 -244
  9. package/dist/bundle/{chunk-3XX52F42.js → chunk-3KTDFSSK.js} +1 -1
  10. package/dist/bundle/{chunk-RTIMGPLN.js → chunk-4GFAOETW.js} +2 -2
  11. package/dist/bundle/{chunk-QNLD7Y6Z.js → chunk-4YG2FZ53.js} +5 -5
  12. package/dist/bundle/{chunk-QBECV7NO.js → chunk-5C7RKU7O.js} +30 -30
  13. package/dist/bundle/{chunk-652YTDT5.js → chunk-6FXFYXTR.js} +10 -10
  14. package/dist/bundle/{chunk-FSAM4Y2S.js → chunk-7LYVWMKD.js} +7 -7
  15. package/dist/bundle/{chunk-KZEOWOZV.js → chunk-7ZNM6KXP.js} +5 -5
  16. package/dist/bundle/{chunk-M2D4FXKY.js → chunk-AKW5MNQP.js} +4 -4
  17. package/dist/bundle/{chunk-Z54E5LKF.js → chunk-AUW45JPI.js} +5 -5
  18. package/dist/bundle/{chunk-DTHWL5YU.js → chunk-BMI5VCR4.js} +2 -2
  19. package/dist/bundle/{chunk-ZKGYW63J.js → chunk-BVDAP3FQ.js} +3 -3
  20. package/dist/bundle/{chunk-2M5XEGVE.js → chunk-CT6Z6Z64.js} +319 -235
  21. package/dist/bundle/{chunk-QY3LK3OT.js → chunk-CX7HQ6KK.js} +4 -4
  22. package/dist/bundle/{chunk-3HNUH632.js → chunk-D222O57O.js} +3 -3
  23. package/dist/bundle/{chunk-ZXD2I5ZQ.js → chunk-D3UFQC7K.js} +46 -46
  24. package/dist/bundle/{chunk-NHRJW3PH.js → chunk-DDD3FS6G.js} +1 -1
  25. package/dist/bundle/{chunk-CTIQ77AB.js → chunk-DEVPGI27.js} +15 -15
  26. package/dist/bundle/{chunk-JSMPSOEM.js → chunk-F3PPSIKI.js} +1 -1
  27. package/dist/bundle/{chunk-AO3NCZNT.js → chunk-FCZ762RV.js} +7 -7
  28. package/dist/bundle/{chunk-CEUEXMIR.js → chunk-FV5WG4WU.js} +25 -25
  29. package/dist/bundle/{chunk-24TOKSZE.js → chunk-GK2VUKQY.js} +2 -2
  30. package/dist/bundle/{chunk-JA2YY7D4.js → chunk-HBRTKJ3J.js} +6 -6
  31. package/dist/bundle/{chunk-CCEVICWU.js → chunk-HYT3FJVB.js} +3 -3
  32. package/dist/bundle/{chunk-KYMGVMOS.js → chunk-I7EP3VPJ.js} +1 -1
  33. package/dist/bundle/{chunk-VAK2Q2XG.js → chunk-J2S7QDOP.js} +12 -12
  34. package/dist/bundle/{chunk-5Z63NTC7.js → chunk-JI5KFKTL.js} +4 -4
  35. package/dist/bundle/{chunk-4OLWMHS6.js → chunk-K3EK4MTU.js} +1 -1
  36. package/dist/bundle/{chunk-4J7UGHPK.js → chunk-K6JSVXDN.js} +4 -4
  37. package/dist/bundle/{chunk-MMOG7ZVF.js → chunk-LLMHJE5Q.js} +1 -1
  38. package/dist/bundle/{chunk-JHBX53SK.js → chunk-LZKPT7GY.js} +32 -32
  39. package/dist/bundle/{chunk-T7UZHKAS.js → chunk-MPTD5P53.js} +1 -1
  40. package/dist/bundle/{chunk-UVPKSZSC.js → chunk-N33EOINW.js} +4 -4
  41. package/dist/bundle/{chunk-LNWRRK2H.js → chunk-NO34DAIB.js} +5 -5
  42. package/dist/bundle/{chunk-5OMLYNYB.js → chunk-NRWDEBJB.js} +7 -7
  43. package/dist/bundle/{chunk-C4PNAHI4.js → chunk-NVHPYKYC.js} +10 -10
  44. package/dist/bundle/{chunk-5ZJHQ4TN.js → chunk-OASIFIXM.js} +1 -1
  45. package/dist/bundle/{chunk-KEQ35HQQ.js → chunk-OQVJQSEH.js} +2 -2
  46. package/dist/bundle/{chunk-INVF3GXW.js → chunk-POFLDSTX.js} +8 -8
  47. package/dist/bundle/{chunk-IUZ4PT2V.js → chunk-PQGIV36R.js} +1 -1
  48. package/dist/bundle/{chunk-XEETGCOC.js → chunk-PRBPVOW4.js} +1 -1
  49. package/dist/bundle/{chunk-IFM2APQB.js → chunk-PT6XDCOY.js} +1 -1
  50. package/dist/bundle/{chunk-ZP735UUT.js → chunk-Q5CLTK5R.js} +1 -1
  51. package/dist/bundle/{chunk-QSDXVUJG.js → chunk-SRIPLP7N.js} +4 -4
  52. package/dist/bundle/{chunk-Q27HCATD.js → chunk-SRONUWOM.js} +262 -247
  53. package/dist/bundle/{chunk-OL22OOIW.js → chunk-SZWQFR5X.js} +3 -3
  54. package/dist/bundle/{chunk-XGJUEH5C.js → chunk-TEH76MZK.js} +16 -16
  55. package/dist/bundle/{chunk-HURI56SB.js → chunk-TSZJXI4N.js} +18 -18
  56. package/dist/bundle/{chunk-4SSUKRO4.js → chunk-TVJU245P.js} +1 -1
  57. package/dist/bundle/{chunk-E656DAZT.js → chunk-U3OS6V6S.js} +1 -1
  58. package/dist/bundle/{chunk-IGG4RBIZ.js → chunk-U7DPS46V.js} +96 -96
  59. package/dist/bundle/{chunk-6E4PFCQ4.js → chunk-UM4E2OFL.js} +1 -1
  60. package/dist/bundle/{chunk-OQEBGY74.js → chunk-UMY4IQE2.js} +43 -43
  61. package/dist/bundle/{chunk-POD2GHQB.js → chunk-UW7VXKKZ.js} +17 -17
  62. package/dist/bundle/{chunk-TATRMMOG.js → chunk-VCPS7Q2W.js} +2 -2
  63. package/dist/bundle/{chunk-EXYEDKTX.js → chunk-VH4GVA2N.js} +1 -1
  64. package/dist/bundle/{chunk-VAETCXRI.js → chunk-WACVI3CS.js} +8 -8
  65. package/dist/bundle/{chunk-BUALWXBT.js → chunk-WX2NQO2D.js} +1 -1
  66. package/dist/bundle/{chunk-3CQNJKJT.js → chunk-WYWXOIGT.js} +1 -1
  67. package/dist/bundle/{chunk-7SYSC7KX.js → chunk-XBENRRBS.js} +2 -2
  68. package/dist/bundle/{chunk-ZJBRKR42.js → chunk-XCXUP76D.js} +25 -25
  69. package/dist/bundle/{chunk-5WN7JHQE.js → chunk-XE2GEE3E.js} +25 -25
  70. package/dist/bundle/{chunk-R7XMCREL.js → chunk-XXLTVVMT.js} +18 -18
  71. package/dist/bundle/{chunk-6DDXB5WB.js → chunk-Y4YBW5S4.js} +1 -1
  72. package/dist/bundle/{chunk-IA6LNKCF.js → chunk-YLC4JVQZ.js} +3 -3
  73. package/dist/bundle/{chunk-FABKIQ24.js → chunk-YVQJPLPU.js} +2 -2
  74. package/dist/bundle/{chunk-4VLUX3V5.js → chunk-YXHMEFL7.js} +1 -1
  75. package/dist/bundle/{chunk-53UWCVSU.js → chunk-Z3GWVRW3.js} +1 -1
  76. package/dist/bundle/{chunk-YROVFHPJ.js → chunk-Z6KTSXE3.js} +1 -1
  77. package/dist/bundle/{chunk-Q3VG3UYV.js → chunk-ZKAAFY4C.js} +9 -9
  78. package/dist/bundle/command-contract-R6CGYG7L.js +38 -0
  79. package/dist/bundle/{decode-YZRTP54O.js → decode-4EENADOV.js} +2 -2
  80. package/dist/bundle/drive.js +4 -4
  81. package/dist/bundle/{echarts-C6HUK2FL.js → echarts-ZFC37XW7.js} +2 -2
  82. package/dist/bundle/{embed-QRQ7ITFC.js → embed-UZMNP26C.js} +3 -3
  83. package/dist/bundle/{embedder-EZDB3JPA.js → embedder-7VDWDBKF.js} +6 -6
  84. package/dist/bundle/{entry-4WQQKSYG.js → entry-JJKCHVIK.js} +4 -4
  85. package/dist/bundle/{failure-EEJGMWEP.js → failure-VBQBKCD5.js} +11 -11
  86. package/dist/bundle/{first-run-ZAS4OV3T.js → first-run-FJTEUJBF.js} +5 -5
  87. package/dist/bundle/first-screen-NSPQWNMQ.js +36 -0
  88. package/dist/bundle/{google-KNILTIDW.js → google-JBJASYKY.js} +4 -4
  89. package/dist/bundle/google-api-2FKF4UUN.js +82 -0
  90. package/dist/bundle/{identity-VBCGUXT5.js → identity-XE73ALJH.js} +2 -2
  91. package/dist/bundle/{instructions-II4M2WL3.js → instructions-Q4ASITKO.js} +1 -1
  92. package/dist/bundle/{login-4JACQVMD.js → login-BD2WQT5F.js} +54 -54
  93. package/dist/bundle/{mcp-6ZIAWU3N.js → mcp-G6U2Q63E.js} +68 -68
  94. package/dist/bundle/mcp-H3XD47NW.js +95 -0
  95. package/dist/bundle/{node-LIN7L4VQ.js → node-CYM7VXFR.js} +2 -2
  96. package/dist/bundle/{node-sqlite-VAH4KZN3.js → node-sqlite-RK4MHW57.js} +2 -2
  97. package/dist/bundle/{oauth-QUE3VCTU.js → oauth-CQXQRHJR.js} +4 -4
  98. package/dist/bundle/{open-DQ3EVYPB.js → open-WSE4NBD2.js} +1 -1
  99. package/dist/bundle/{process-46XDWPVW.js → process-7HHZZZLA.js} +1 -1
  100. package/dist/bundle/{program-X3CZ4XDN.js → program-ZMQYZNV5.js} +77 -77
  101. package/dist/bundle/{prompt-SAZYCZV3.js → prompt-YSBBQJGF.js} +2 -2
  102. package/dist/bundle/{recognize-SSBOHOTW.js → recognize-AZKGPCAS.js} +1 -1
  103. package/dist/bundle/{remote-EL3FWCQE.js → remote-EYSK3XKD.js} +4 -4
  104. package/dist/bundle/{rerank-RPIQRJIW.js → rerank-LOW6VIDF.js} +4 -4
  105. package/dist/bundle/{serve-AX44DIKK.js → serve-UJ52HGA7.js} +6 -6
  106. package/dist/bundle/server-CA2VLY25.js +56 -0
  107. package/dist/bundle/server-TW75RDEP.js +69 -0
  108. package/dist/bundle/{services-K4UOEMQD.js → services-B4QUSCFN.js} +22 -22
  109. package/dist/bundle/{sqlite-runtime-N7N3EYGH.js → sqlite-runtime-GEURBVK5.js} +2 -2
  110. package/dist/bundle/{state-C3S5FD7V.js → state-OJNSKOXO.js} +3 -3
  111. package/dist/bundle/{store-4N3NBUGX.js → store-62SBP45X.js} +10 -10
  112. package/dist/bundle/{store-QV4ZNEQ3.js → store-FTS2HVVB.js} +12 -12
  113. package/dist/bundle/store-maintenance-command-FQMB3R4E.js +57 -0
  114. package/dist/bundle/tokens-JALZUGEM.js +103 -0
  115. package/dist/commands/search.js +1 -1
  116. package/dist/commands/search.js.map +1 -1
  117. package/dist/contract-overrides.js +1 -1
  118. package/dist/contract-overrides.js.map +1 -1
  119. package/dist/version.d.ts +1 -1
  120. package/dist/version.js +1 -1
  121. package/package.json +2 -2
  122. package/dist/bundle/command-contract-TAWVO2G3.js +0 -38
  123. package/dist/bundle/first-screen-6ICWD2N3.js +0 -36
  124. package/dist/bundle/google-api-CZACYX5T.js +0 -82
  125. package/dist/bundle/mcp-2BR2EX7L.js +0 -95
  126. package/dist/bundle/server-DCJIGUW2.js +0 -56
  127. package/dist/bundle/server-WWQSQBFT.js +0 -69
  128. package/dist/bundle/store-maintenance-command-QL4AECBD.js +0 -57
  129. package/dist/bundle/tokens-Y7HCOXOA.js +0 -103
  130. /package/dist/bundle/{chunk-VDZZ46RT.js → chunk-UO5O3665.js} +0 -0
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  VERSION
5
- } from "./chunk-E656DAZT.js";
5
+ } from "./chunk-U3OS6V6S.js";
6
6
 
7
7
  // dist/identity.js
8
8
  var DRIVE_APP = {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -28,7 +28,7 @@ import {
28
28
  import {
29
29
  agentOf,
30
30
  clientHash
31
- } from "./chunk-5OMLYNYB.js";
31
+ } from "./chunk-NRWDEBJB.js";
32
32
  import {
33
33
  __name
34
34
  } from "./chunk-ZVVMGPBJ.js";
@@ -540,7 +540,7 @@ function toError(value) {
540
540
  }
541
541
  __name(toError, "toError");
542
542
 
543
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/mcp/caller.js
543
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/mcp/caller.js
544
544
  var CALLER_META_KEY = "wirecat.dev/caller";
545
545
  var PROXY_CLIENT_NAME = "all-profiles";
546
546
  var NAME = /^[\w .@()/+-]{1,64}$/;
@@ -2,22 +2,22 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  refuseLacking
5
- } from "./chunk-POD2GHQB.js";
5
+ } from "./chunk-UW7VXKKZ.js";
6
6
  import {
7
7
  servingProfiles
8
- } from "./chunk-RTIMGPLN.js";
8
+ } from "./chunk-4GFAOETW.js";
9
9
  import {
10
10
  OFFLINE,
11
11
  capability,
12
12
  chatIdIn,
13
13
  servicesFor,
14
14
  throughWrapper
15
- } from "./chunk-2M5XEGVE.js";
15
+ } from "./chunk-CT6Z6Z64.js";
16
16
  import {
17
17
  foldName,
18
18
  isId,
19
19
  pickPerson
20
- } from "./chunk-QNLD7Y6Z.js";
20
+ } from "./chunk-4YG2FZ53.js";
21
21
  import {
22
22
  asFirstWord,
23
23
  baseContext,
@@ -28,10 +28,10 @@ import {
28
28
  recalledAccount,
29
29
  rememberAccount,
30
30
  rootOf2 as rootOf
31
- } from "./chunk-QBECV7NO.js";
31
+ } from "./chunk-5C7RKU7O.js";
32
32
  import {
33
33
  providerErrorKey
34
- } from "./chunk-5OMLYNYB.js";
34
+ } from "./chunk-NRWDEBJB.js";
35
35
  import {
36
36
  LOG_ATTRIBUTES,
37
37
  codeOf,
@@ -39,10 +39,10 @@ import {
39
39
  currentRun,
40
40
  fromLogAttributes,
41
41
  logAttributes
42
- } from "./chunk-R7XMCREL.js";
42
+ } from "./chunk-XXLTVVMT.js";
43
43
  import {
44
44
  isCliFailure
45
- } from "./chunk-MMOG7ZVF.js";
45
+ } from "./chunk-LLMHJE5Q.js";
46
46
  import {
47
47
  CEILING_KEY,
48
48
  WRITE_KEYS,
@@ -51,14 +51,14 @@ import {
51
51
  levelFor,
52
52
  readKeysForCommand,
53
53
  skipFlagFor
54
- } from "./chunk-6DDXB5WB.js";
54
+ } from "./chunk-Y4YBW5S4.js";
55
55
  import {
56
56
  MESSENGER_CHANGE_REFUSAL,
57
57
  readOnlyRefusal
58
- } from "./chunk-NHRJW3PH.js";
58
+ } from "./chunk-DDD3FS6G.js";
59
59
  import {
60
60
  openStore
61
- } from "./chunk-Q27HCATD.js";
61
+ } from "./chunk-SRONUWOM.js";
62
62
  import {
63
63
  logRecordOf,
64
64
  realSleep,
@@ -72,7 +72,7 @@ import {
72
72
  __name
73
73
  } from "./chunk-ZVVMGPBJ.js";
74
74
 
75
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
75
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
76
76
  import { openSync } from "node:fs";
77
77
  import { createInterface } from "node:readline";
78
78
  import { ReadStream } from "node:tty";
@@ -127,10 +127,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
127
127
  throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
128
128
  }, "terminalAsker");
129
129
 
130
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/guard.js
130
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/guard.js
131
131
  import { randomUUID } from "node:crypto";
132
132
 
133
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/flood.js
133
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/flood.js
134
134
  import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
135
135
  import { dirname, join } from "node:path";
136
136
  var MOST_DEADLINES = 50;
@@ -214,11 +214,11 @@ var FloodMemory = class {
214
214
  }
215
215
  };
216
216
 
217
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/journal.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/journal.js
218
218
  import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
219
219
  import { dirname as dirname3, join as join2 } from "node:path";
220
220
 
221
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
222
222
  import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
223
223
  import { dirname as dirname2 } from "node:path";
224
224
  var LOCK_WAIT_MS = 5e3;
@@ -285,7 +285,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
285
285
  }
286
286
  }, "lockTime");
287
287
 
288
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/journal.js
288
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/journal.js
289
289
  var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
290
290
  var SendJournal = class {
291
291
  static {
@@ -362,7 +362,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
362
362
  return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
363
363
  }, "withSendId");
364
364
 
365
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/recipients.js
365
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/recipients.js
366
366
  import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
367
367
  import { join as join3 } from "node:path";
368
368
  var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
@@ -474,7 +474,7 @@ var RecipientList = class {
474
474
  }
475
475
  };
476
476
 
477
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/guard.js
477
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/guard.js
478
478
  var HOUR_MS = 60 * 60 * 1e3;
479
479
  var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
480
480
  "attachments.extract",
@@ -667,7 +667,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
667
667
  }), "guardFor");
668
668
  var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
669
669
 
670
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/pace.js
670
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/pace.js
671
671
  import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
672
672
  import { join as join4 } from "node:path";
673
673
  var DEFAULT_PACE = { perMinute: 60, burst: 20 };
@@ -726,7 +726,7 @@ var Pacer = class {
726
726
  }
727
727
  };
728
728
 
729
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
729
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
730
730
  var pathOf = /* @__PURE__ */ __name((command) => {
731
731
  const words = [];
732
732
  for (let at = command; at?.parent; at = at.parent)
@@ -786,7 +786,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
786
786
  throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
787
787
  }, "refuseUnknownPermissionKeys");
788
788
 
789
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
789
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
790
790
  var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
791
791
  var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
792
792
  var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
@@ -905,7 +905,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
905
905
  });
906
906
  }, "flooded");
907
907
 
908
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
908
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
909
909
  var observed = /* @__PURE__ */ __name((messenger, events) => {
910
910
  const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
911
911
  const write = currentOperation();
@@ -1004,7 +1004,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
1004
1004
  counts[part] = (counts[part] ?? 0) + items.length;
1005
1005
  }, "byPart");
1006
1006
 
1007
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1007
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
1008
1008
  var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
1009
1009
  var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false }) => {
1010
1010
  let warned = false;
@@ -1496,7 +1496,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
1496
1496
  }
1497
1497
  }, "keep");
1498
1498
 
1499
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1499
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
1500
1500
  var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
1501
1501
  let opened;
1502
1502
  return {
@@ -8,7 +8,7 @@ import {
8
8
  MAX_FILE_BYTES,
9
9
  MAX_TEXT_CHARS,
10
10
  attachmentMaxBytes
11
- } from "./chunk-3XX52F42.js";
11
+ } from "./chunk-3KTDFSSK.js";
12
12
  import {
13
13
  CliError,
14
14
  isCliError
@@ -16632,20 +16632,20 @@ var require_lib3 = __commonJS({
16632
16632
  }
16633
16633
  });
16634
16634
 
16635
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/extract.js
16635
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/extract.js
16636
16636
  import { extname as extname2 } from "node:path";
16637
16637
 
16638
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/engine.js
16638
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/engine.js
16639
16639
  import { readFileSync } from "node:fs";
16640
16640
  import { dirname, extname, join } from "node:path";
16641
16641
  import { fileURLToPath } from "node:url";
16642
16642
 
16643
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/container.js
16643
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/container.js
16644
16644
  import { setImmediate as tick } from "node:timers/promises";
16645
16645
  import { crc32 } from "node:zlib";
16646
16646
  var import_xmldom = __toESM(require_lib(), 1);
16647
16647
 
16648
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
16648
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
16649
16649
  var import_chardet = __toESM(require_lib2(), 1);
16650
16650
  var import_iconv_lite = __toESM(require_lib3(), 1);
16651
16651
  var SAMPLE = 65536;
@@ -16747,7 +16747,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes) => {
16747
16747
  return result.text;
16748
16748
  }, "decodeXml");
16749
16749
 
16750
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/container.js
16750
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/container.js
16751
16751
  var MAX_PART = 10 * 1024 * 1024;
16752
16752
  var MAX_ENTRIES = 1e3;
16753
16753
  var decoder = new TextDecoder("utf-8", { fatal: true });
@@ -16962,7 +16962,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
16962
16962
  return found;
16963
16963
  }, "elements");
16964
16964
 
16965
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/engine.js
16965
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/engine.js
16966
16966
  var BUILT_IN = ["unpdf", "mammoth", "word-extractor", "linkedom", "defuddle/node"];
16967
16967
  var ENGINES = [...BUILT_IN, "@napi-rs/canvas"];
16968
16968
  var isMissing = /* @__PURE__ */ __name((error, name) => error?.code === "ERR_MODULE_NOT_FOUND" && String(error.message).includes(name), "isMissing");
@@ -17020,7 +17020,7 @@ var derived = /* @__PURE__ */ __name((bytes, extractor, read) => {
17020
17020
  }
17021
17021
  }, "derived");
17022
17022
 
17023
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/image/index.js
17023
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/image/index.js
17024
17024
  var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
17025
17025
  var image = {
17026
17026
  id: "image",
@@ -17029,7 +17029,7 @@ var image = {
17029
17029
  read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
17030
17030
  };
17031
17031
 
17032
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
17032
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
17033
17033
  var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
17034
17034
  var doc = {
17035
17035
  id: "doc",
@@ -17041,7 +17041,7 @@ var doc = {
17041
17041
  }), "read")
17042
17042
  };
17043
17043
 
17044
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
17044
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
17045
17045
  var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
17046
17046
  var docx = {
17047
17047
  id: "docx",
@@ -17054,7 +17054,7 @@ var docx = {
17054
17054
  }), "read")
17055
17055
  };
17056
17056
 
17057
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17057
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17058
17058
  var import_iconv_lite2 = __toESM(require_lib3(), 1);
17059
17059
  var RTF_SKIPPED = /* @__PURE__ */ new Set([
17060
17060
  "fonttbl",
@@ -17230,7 +17230,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
17230
17230
  }, "htmlText");
17231
17231
  var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
17232
17232
 
17233
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/html/page.js
17233
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/html/page.js
17234
17234
  var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
17235
17235
  var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
17236
17236
  var jsonLdNodes = /* @__PURE__ */ __name((document) => {
@@ -17286,7 +17286,7 @@ var markdownSections = /* @__PURE__ */ __name((text) => {
17286
17286
  return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text.length }));
17287
17287
  }, "markdownSections");
17288
17288
 
17289
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/html/index.js
17289
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/html/index.js
17290
17290
  var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
17291
17291
  var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
17292
17292
  var loaded = /* @__PURE__ */ __name(async (load, name) => {
@@ -17357,10 +17357,10 @@ var html = {
17357
17357
  }, "read")
17358
17358
  };
17359
17359
 
17360
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17360
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17361
17361
  import { posix } from "node:path";
17362
17362
 
17363
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
17363
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
17364
17364
  var columnName = /* @__PURE__ */ __name((column) => {
17365
17365
  let name = "";
17366
17366
  for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
@@ -17415,7 +17415,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
17415
17415
  return { text: parts.join("").trim(), truncated: false };
17416
17416
  }, "sheetText");
17417
17417
 
17418
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17418
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17419
17419
  var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
17420
17420
  var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
17421
17421
  var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
@@ -17830,7 +17830,7 @@ var readDocument = /* @__PURE__ */ __name(async (bytes, kind, signal) => {
17830
17830
  }
17831
17831
  }, "readDocument");
17832
17832
 
17833
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/office/index.js
17833
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/office/index.js
17834
17834
  var office = {
17835
17835
  id: "office",
17836
17836
  version: documentExtractor("odt"),
@@ -17841,7 +17841,7 @@ var office = {
17841
17841
  }, "read")
17842
17842
  };
17843
17843
 
17844
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
17844
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
17845
17845
  var pdf = {
17846
17846
  id: "pdf",
17847
17847
  version: "unpdf",
@@ -17908,7 +17908,7 @@ var pdf = {
17908
17908
  }), "read")
17909
17909
  };
17910
17910
 
17911
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
17911
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
17912
17912
  var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
17913
17913
  var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
17914
17914
  var readPlain = /* @__PURE__ */ __name((bytes) => {
@@ -17928,7 +17928,7 @@ var plain = {
17928
17928
  read: /* @__PURE__ */ __name(async (bytes) => readPlain(bytes), "read")
17929
17929
  };
17930
17930
 
17931
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
17931
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
17932
17932
  var rtf = {
17933
17933
  id: "rtf",
17934
17934
  version: "v1",
@@ -17936,10 +17936,10 @@ var rtf = {
17936
17936
  read: /* @__PURE__ */ __name(async (bytes) => derived(bytes, "rtf:v1", rtfText), "read")
17937
17937
  };
17938
17938
 
17939
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
17939
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
17940
17940
  import { basename } from "node:path";
17941
17941
 
17942
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
17942
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
17943
17943
  var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) => {
17944
17944
  const cells = [];
17945
17945
  let row = 1, column = 1, start = 0, quoted = false, truncated = false;
@@ -17977,7 +17977,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) =>
17977
17977
  return { cells, truncated };
17978
17978
  }, "delimitedSpans");
17979
17979
 
17980
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
17980
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
17981
17981
  var DELIMITED = {
17982
17982
  ".csv": ",",
17983
17983
  ".tsv": " ",
@@ -18016,7 +18016,7 @@ var sheets = {
18016
18016
  }, "read")
18017
18017
  };
18018
18018
 
18019
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/readers/registry.js
18019
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/readers/registry.js
18020
18020
  var BUILT_INS = [office, pdf, docx, doc, rtf, html, sheets, plain, image];
18021
18021
  var HEAD_BYTES = 1024;
18022
18022
  var readers = [...BUILT_INS];
@@ -18026,7 +18026,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes, hint, context) => {
18026
18026
  return reader ? reader.read(bytes, hint, context) : { status: "unsupported" };
18027
18027
  }, "readWithRegistry");
18028
18028
 
18029
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/attachments/extract.js
18029
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/attachments/extract.js
18030
18030
  var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
18031
18031
  var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname2(name ?? path).toLowerCase(), "extensionOf");
18032
18032
  var extractText = /* @__PURE__ */ __name(async (bytes, hint, load, signal, env = process.env) => {
@@ -5,19 +5,19 @@ import {
5
5
  id,
6
6
  text,
7
7
  time
8
- } from "./chunk-OL22OOIW.js";
8
+ } from "./chunk-SZWQFR5X.js";
9
9
  import {
10
10
  filesPresent,
11
11
  sharedModelsDirectory
12
- } from "./chunk-QY3LK3OT.js";
12
+ } from "./chunk-CX7HQ6KK.js";
13
13
  import {
14
14
  TASK_ORIGINS,
15
15
  TASK_STATES,
16
16
  TASK_TYPES
17
- } from "./chunk-Z54E5LKF.js";
17
+ } from "./chunk-AUW45JPI.js";
18
18
  import {
19
19
  TAG_TYPES
20
- } from "./chunk-OQEBGY74.js";
20
+ } from "./chunk-UMY4IQE2.js";
21
21
  import {
22
22
  createRecordLog,
23
23
  resolvePaths,
@@ -40,7 +40,7 @@ import {
40
40
  __name
41
41
  } from "./chunk-ZVVMGPBJ.js";
42
42
 
43
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/domain/duration.js
43
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/domain/duration.js
44
44
  var DURATION = /^(\d+)(ms|s|m|h|d)$/;
45
45
  var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
46
46
  var parseDuration = /* @__PURE__ */ __name((value, source) => {
@@ -54,7 +54,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
54
54
  return ms;
55
55
  }, "parseDuration");
56
56
 
57
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
57
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
58
58
  var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
59
59
  var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
60
60
  var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
@@ -67,7 +67,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
67
67
  error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
68
68
  }), "snakeLogger");
69
69
 
70
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
70
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
71
71
  var diagnostic = {
72
72
  event: true,
73
73
  operation: true,
@@ -137,7 +137,7 @@ var LOG_ATTRIBUTES = [
137
137
  ...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
138
138
  ].sort();
139
139
 
140
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/runs/run.js
140
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/runs/run.js
141
141
  import { randomUUID } from "node:crypto";
142
142
  import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
143
143
  import { userInfo } from "node:os";
@@ -494,7 +494,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
494
494
  };
495
495
  }, "metadataOf");
496
496
 
497
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/runs/scope.js
497
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/runs/scope.js
498
498
  import { AsyncLocalStorage } from "node:async_hooks";
499
499
  import { randomBytes } from "node:crypto";
500
500
  var scopes = new AsyncLocalStorage();
@@ -531,7 +531,7 @@ var attempts = new AsyncLocalStorage();
531
531
  var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
532
532
  var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
533
533
 
534
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/guarded.js
534
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/guarded.js
535
535
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
536
536
  var sentIds = /* @__PURE__ */ __name((typed, message) => ({
537
537
  messageId: message.id,
@@ -637,7 +637,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled =
637
637
  }, "guardedWrite");
638
638
  var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
639
639
 
640
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/embeddings/models.js
640
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/embeddings/models.js
641
641
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
642
642
  var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
643
643
  var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
@@ -796,7 +796,7 @@ var rerankModel = /* @__PURE__ */ __name((id2) => {
796
796
  var vectorModelKey = /* @__PURE__ */ __name((model) => `local:${model.id}:${model.dims}`, "vectorModelKey");
797
797
  var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
798
798
 
799
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/images/picture/models.js
799
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/images/picture/models.js
800
800
  import { join as join2 } from "node:path";
801
801
  var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
802
802
  var IMAGE_MODELS = [
@@ -850,7 +850,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
850
850
  var placedImage = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedImage");
851
851
  var isImageModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedImage(model, directory)), "isImageModelInstalled");
852
852
 
853
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/task.js
853
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/task.js
854
854
  var closeSuggestion = strictObject({
855
855
  as: picklist(["done", "dismissed"]),
856
856
  /** The agent's name. */
@@ -892,7 +892,7 @@ var task = strictObject({
892
892
  updated_at: optional(time)
893
893
  });
894
894
 
895
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/agenda.js
895
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/agenda.js
896
896
  var agendaChat = strictObject({
897
897
  chat: reference,
898
898
  title: nullable(text),
@@ -962,7 +962,7 @@ var agenda = strictObject({
962
962
  unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
963
963
  });
964
964
 
965
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/conversation.js
965
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/conversation.js
966
966
  var conversation = strictObject({
967
967
  id,
968
968
  chat: reference,
@@ -977,7 +977,7 @@ var conversation = strictObject({
977
977
  rules_version: count
978
978
  });
979
979
 
980
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/attachment.js
980
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/attachment.js
981
981
  var attachment = strictObject({
982
982
  /** The message it came with, as a locator; absent inside that message. */
983
983
  message: optional(reference),
@@ -1014,7 +1014,7 @@ var attachment = strictObject({
1014
1014
  }))))
1015
1015
  });
1016
1016
 
1017
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/entities/tagging.js
1017
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/entities/tagging.js
1018
1018
  var tagging = strictObject({
1019
1019
  tag: text,
1020
1020
  type: picklist(TAG_TYPES),
@@ -1027,7 +1027,7 @@ var tagging = strictObject({
1027
1027
  created_at: time
1028
1028
  });
1029
1029
 
1030
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
1030
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
1031
1031
  var WEIGHTS = {
1032
1032
  bot: 3,
1033
1033
  scam: 3,
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.494.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_231e74d5ae3bca45b1b0de971f6f7b9a/node_modules/@wirecat/cli-core/dist/sends/permissions.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.496.0_@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_type_dcbd09250bc4763d29eff57ceeaf10b7/node_modules/@wirecat/cli-core/dist/sends/permissions.js
11
11
  var LEVELS = ["deny", "readonly", "ask", "allow"];
12
12
  var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
13
13
  var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
@@ -5,13 +5,13 @@ import {
5
5
  checkConfigText,
6
6
  issueMessage,
7
7
  usableProfileName
8
- } from "./chunk-QBECV7NO.js";
8
+ } from "./chunk-5C7RKU7O.js";
9
9
  import {
10
10
  LEVELS
11
- } from "./chunk-6DDXB5WB.js";
11
+ } from "./chunk-Y4YBW5S4.js";
12
12
  import {
13
13
  MAX_TEXT_CHARS
14
- } from "./chunk-3XX52F42.js";
14
+ } from "./chunk-3KTDFSSK.js";
15
15
  import {
16
16
  resolvePaths,
17
17
  saveConfigFile