@wirecat/drive-cli 0.70.0 → 0.71.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 (164) hide show
  1. package/README.md +3 -2
  2. package/dist/bin/drive.js +2 -2
  3. package/dist/bundle/{all-profiles-FW3GK3QO.js → all-profiles-3QJG2NAN.js} +13 -13
  4. package/dist/bundle/{anthropic-QVKJT3II.js → anthropic-PSWTEU6G.js} +8 -8
  5. package/dist/bundle/{app-server-QU73RD5R.js → app-server-PVTA6ABR.js} +62 -62
  6. package/dist/bundle/{bun-5XCD5CBB.js → bun-LU5LP3JI.js} +2 -2
  7. package/dist/bundle/{bun-sqlite-TIGSVNSV.js → bun-sqlite-PYMKLBRU.js} +9 -9
  8. package/dist/bundle/{chunk-BFKFKDPC.js → chunk-22QQUKWA.js} +1 -1
  9. package/dist/bundle/{chunk-RLNZ7NX5.js → chunk-26DHFMGZ.js} +2 -2
  10. package/dist/bundle/{chunk-RHSBXOQM.js → chunk-2BVVU7GG.js} +1 -1
  11. package/dist/bundle/{chunk-ILAQIBEO.js → chunk-2LHAVY4U.js} +1 -1
  12. package/dist/bundle/{chunk-GAHIHE4K.js → chunk-2PUNKUYJ.js} +3177 -3043
  13. package/dist/bundle/{chunk-DHX27E5M.js → chunk-2UUWXPOB.js} +3 -3
  14. package/dist/bundle/{chunk-RCTOWLCD.js → chunk-35SCQ4VI.js} +26 -26
  15. package/dist/bundle/{chunk-ZCXWV4XO.js → chunk-3EBBLKIT.js} +4 -4
  16. package/dist/bundle/{chunk-SONPLYV7.js → chunk-3N2OFXB5.js} +5 -5
  17. package/dist/bundle/{chunk-KSJAFMU5.js → chunk-3UGYFXH6.js} +42 -19
  18. package/dist/bundle/{chunk-HK225DAG.js → chunk-4HWJOU7N.js} +1 -1
  19. package/dist/bundle/{chunk-6DPOWBKA.js → chunk-4PA4DHYV.js} +6 -6
  20. package/dist/bundle/{chunk-54NDYVZA.js → chunk-4QNW4NK6.js} +1 -1
  21. package/dist/bundle/{chunk-2SBC4DVV.js → chunk-6SJOTNHF.js} +4 -4
  22. package/dist/bundle/{chunk-VVN6GHAZ.js → chunk-6TNNT2MQ.js} +223 -126
  23. package/dist/bundle/{chunk-5JTB4URG.js → chunk-6W763DZN.js} +12 -12
  24. package/dist/bundle/{chunk-FVTKFIQH.js → chunk-6XFIITOG.js} +383 -349
  25. package/dist/bundle/{chunk-54BQWRJL.js → chunk-72C4YOCH.js} +7 -7
  26. package/dist/bundle/{chunk-3UWRAIWA.js → chunk-7PDHGZN4.js} +4 -4
  27. package/dist/bundle/{chunk-REM5WHHQ.js → chunk-ACUAV6VX.js} +56 -56
  28. package/dist/bundle/{chunk-IGNIUDI3.js → chunk-ASMMG72J.js} +40 -33
  29. package/dist/bundle/{chunk-DVI72ZQG.js → chunk-B5KSXHJ7.js} +1 -1
  30. package/dist/bundle/{chunk-6BMTW5A6.js → chunk-BKSQBBYG.js} +7 -7
  31. package/dist/bundle/{chunk-HRATXUFH.js → chunk-CJLVYIOP.js} +21 -21
  32. package/dist/bundle/{chunk-RQNRYF6D.js → chunk-COJSWDNU.js} +3 -3
  33. package/dist/bundle/{chunk-FONIFRYI.js → chunk-COOOO5B3.js} +4 -4
  34. package/dist/bundle/{chunk-EG62WVR2.js → chunk-D5TGYUVU.js} +6 -6
  35. package/dist/bundle/{chunk-LMJBQFW6.js → chunk-EOEU3AZN.js} +6 -6
  36. package/dist/bundle/{chunk-GV5DGHSA.js → chunk-FCS26CYQ.js} +4 -4
  37. package/dist/bundle/{chunk-BD2K2ONK.js → chunk-FJH7DJWK.js} +4 -4
  38. package/dist/bundle/{chunk-FADAOLGB.js → chunk-FP54WSIR.js} +4 -4
  39. package/dist/bundle/{chunk-PAPY6Q6H.js → chunk-FT3LN3HP.js} +1 -1
  40. package/dist/bundle/{chunk-WJK6KTCS.js → chunk-GBKNJWOZ.js} +8 -8
  41. package/dist/bundle/{chunk-GJZSVSV3.js → chunk-GOWXXYEF.js} +2 -2
  42. package/dist/bundle/{chunk-LINBDWJK.js → chunk-GPQ44Y2R.js} +2 -2
  43. package/dist/bundle/{chunk-3AHBZP33.js → chunk-GZ2D4KXG.js} +8 -8
  44. package/dist/bundle/{chunk-ZHZYGY5R.js → chunk-HKY7X6NY.js} +4 -4
  45. package/dist/bundle/{chunk-GPDPEHYX.js → chunk-HL52XXZX.js} +1 -1
  46. package/dist/bundle/{chunk-BBFXQPKD.js → chunk-HMS6EEQL.js} +3 -3
  47. package/dist/bundle/{chunk-FYPW7NMH.js → chunk-I4RWW3UD.js} +49 -4
  48. package/dist/bundle/{chunk-HWUPU6WX.js → chunk-ICDCAQ6K.js} +8 -8
  49. package/dist/bundle/{chunk-NP7LJATI.js → chunk-J5Q5FS2N.js} +17 -22
  50. package/dist/bundle/{chunk-I7YSHUPW.js → chunk-JDV7HNNQ.js} +13 -13
  51. package/dist/bundle/{chunk-BBRMDMIR.js → chunk-JZHBZOJR.js} +3 -3
  52. package/dist/bundle/{chunk-QBAOIMVB.js → chunk-KGERXYTV.js} +1 -1
  53. package/dist/bundle/{chunk-7IBENBCK.js → chunk-KGYVHPGE.js} +2 -2
  54. package/dist/bundle/{chunk-ABZ2NYDT.js → chunk-KYKW2W6X.js} +1 -1
  55. package/dist/bundle/{chunk-AV5UKJZM.js → chunk-L46C6HQ7.js} +12 -12
  56. package/dist/bundle/{chunk-3TCMANIM.js → chunk-LXKYKRHD.js} +11 -11
  57. package/dist/bundle/{chunk-DVVUJ254.js → chunk-MIA7P6FZ.js} +2 -2
  58. package/dist/bundle/{chunk-PR7XD2DI.js → chunk-MNLL5YLM.js} +2 -2
  59. package/dist/bundle/{chunk-Q5C6YKAY.js → chunk-OF422U5D.js} +10 -10
  60. package/dist/bundle/{chunk-HHAZ6DCY.js → chunk-OJSBWP3F.js} +6 -6
  61. package/dist/bundle/{chunk-EDO5LZVF.js → chunk-P7CUM5IB.js} +1 -1
  62. package/dist/bundle/{chunk-P7PLKNPX.js → chunk-PRW6SYA3.js} +157 -70
  63. package/dist/bundle/{chunk-7QSRODXM.js → chunk-Q7DOMFJ4.js} +6 -6
  64. package/dist/bundle/{chunk-HYXXMSVD.js → chunk-QETR5HIZ.js} +503 -416
  65. package/dist/bundle/{chunk-YZPE72GE.js → chunk-QFR2PNJN.js} +12 -12
  66. package/dist/bundle/{chunk-MXNQZAJQ.js → chunk-QNRRK3CN.js} +2 -2
  67. package/dist/bundle/{chunk-PN4JYURZ.js → chunk-QXC6IEH6.js} +45 -45
  68. package/dist/bundle/{chunk-WWE5GO6G.js → chunk-RESDD3Q4.js} +3 -3
  69. package/dist/bundle/{chunk-YCL3SK4T.js → chunk-RJOQH5YY.js} +39 -38
  70. package/dist/bundle/{chunk-7C5KENNU.js → chunk-RWDKMU74.js} +3 -3
  71. package/dist/bundle/{chunk-GK3BJMGK.js → chunk-SAKO3P4H.js} +1 -1
  72. package/dist/bundle/{chunk-FN3RXBO7.js → chunk-SDKQNOL5.js} +6 -6
  73. package/dist/bundle/{chunk-TGS5VPJD.js → chunk-SERXSCN3.js} +167 -206
  74. package/dist/bundle/{chunk-3UZ4OH22.js → chunk-TAFHYHKA.js} +18 -116
  75. package/dist/bundle/{chunk-YRUR3E3E.js → chunk-TAUBRNC5.js} +35 -35
  76. package/dist/bundle/{chunk-P77FL6RY.js → chunk-UDMNY63V.js} +20 -17
  77. package/dist/bundle/{chunk-IFTX7AQU.js → chunk-UTO2GO4P.js} +5 -5
  78. package/dist/bundle/{chunk-3CHW7JGR.js → chunk-WVDCCYS3.js} +17 -17
  79. package/dist/bundle/{chunk-OY7TNUEC.js → chunk-X4TIMMKJ.js} +1 -1
  80. package/dist/bundle/{chunk-TNKQDS5A.js → chunk-XF4EXO2C.js} +6 -6
  81. package/dist/bundle/{chunk-BXPC5TFG.js → chunk-XMMFBPGC.js} +2 -2
  82. package/dist/bundle/{chunk-FCSHWUMW.js → chunk-Y2NWGNUB.js} +5 -5
  83. package/dist/bundle/{chunk-ML3R2UHV.js → chunk-YJIGGUPI.js} +4 -4
  84. package/dist/bundle/{chunk-DR57KDAY.js → chunk-YMJ6IDGT.js} +6 -6
  85. package/dist/bundle/{chunk-F5KJWRF5.js → chunk-YPFWNVHV.js} +3 -3
  86. package/dist/bundle/{chunk-XZBA6FVH.js → chunk-YPNWIB6H.js} +3 -3
  87. package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
  88. package/dist/bundle/{chunk-T5D4OGDC.js → chunk-Z3KUSRCF.js} +2 -2
  89. package/dist/bundle/{chunk-4WK26MPY.js → chunk-Z56QFOBR.js} +1 -1
  90. package/dist/bundle/{chunk-7DJNURKV.js → chunk-ZCR3IRZ2.js} +8 -8
  91. package/dist/bundle/{chunk-XOL346TJ.js → chunk-ZM63SUHG.js} +2 -2
  92. package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
  93. package/dist/bundle/{cli-K4D4DIGQ.js → cli-556DERZL.js} +68 -68
  94. package/dist/bundle/command-contract-VRTOAV6W.js +43 -0
  95. package/dist/bundle/{command-server-entry-WREK3QBB.js → command-server-entry-AYLGNZWD.js} +33 -33
  96. package/dist/bundle/{decode-SEETPKBH.js → decode-QU24MWMN.js} +8 -8
  97. package/dist/bundle/{dispatch-SQCEURVK.js → dispatch-4KODNOXV.js} +9 -9
  98. package/dist/bundle/drive.js +11 -11
  99. package/dist/bundle/{echarts-WZ5RKFCX.js → echarts-BXX4OQWC.js} +2 -2
  100. package/dist/bundle/{embed-B2UCRZZR.js → embed-KG27KG3D.js} +9 -9
  101. package/dist/bundle/{embedder-4R6Z7G7L.js → embedder-IPAVUQUV.js} +12 -12
  102. package/dist/bundle/entry-MVXQETWS.js +25 -0
  103. package/dist/bundle/{failure-CYNXH3RQ.js → failure-ESL7ETL4.js} +4 -4
  104. package/dist/bundle/first-run-4UVLW2WR.js +31 -0
  105. package/dist/bundle/first-screen-JAKAIINI.js +41 -0
  106. package/dist/bundle/google-22NXXJX5.js +45 -0
  107. package/dist/bundle/{google-api-SAND2F7L.js → google-api-VCDBSNOW.js} +70 -70
  108. package/dist/bundle/grants-MQMTVCRQ.js +118 -0
  109. package/dist/bundle/{identity-JVVGS4U6.js → identity-LOWMVGZY.js} +6 -6
  110. package/dist/bundle/{instructions-JSMTSB22.js → instructions-2VECIDXF.js} +1 -1
  111. package/dist/bundle/{login-6WG3YBDU.js → login-7GBONT7V.js} +76 -76
  112. package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.js} +2 -2
  113. package/dist/bundle/meeting-combined-LVP4AZKA.js +27 -0
  114. package/dist/bundle/meeting-model-RAY5XDXZ.js +29 -0
  115. package/dist/bundle/{meeting-semantic-5U7JQCFF.js → meeting-semantic-G7PFOKU7.js} +10 -10
  116. package/dist/bundle/{node-VJMVHOWD.js → node-MPEQSFI3.js} +2 -2
  117. package/dist/bundle/{node-sqlite-DCNT3HVE.js → node-sqlite-OLQMAYB4.js} +10 -10
  118. package/dist/bundle/oauth-SGH2I2BY.js +22 -0
  119. package/dist/bundle/{open-NFOEHVW7.js → open-OXTE672W.js} +8 -8
  120. package/dist/bundle/{openai-D47WY7EC.js → openai-EB3TPIZY.js} +19 -19
  121. package/dist/bundle/{process-Q2FRU5VA.js → process-F6TKXWWA.js} +1 -1
  122. package/dist/bundle/{program-T2AJJQEM.js → program-4IFDZ7FM.js} +142 -125
  123. package/dist/bundle/{prompt-YJSDABXN.js → prompt-F5RRHPN2.js} +8 -8
  124. package/dist/bundle/{reasons-WEHPCSJX.js → reasons-UORHJDHK.js} +5 -5
  125. package/dist/bundle/{recognize-6OBEIEB3.js → recognize-DAVNZND3.js} +7 -7
  126. package/dist/bundle/{remote-3SL2QJ7T.js → remote-D5EYYIAU.js} +13 -13
  127. package/dist/bundle/{rerank-L6F5SLIB.js → rerank-CND2GVLZ.js} +10 -10
  128. package/dist/bundle/{serve-GYSWIWH4.js → serve-ZHSPUIGX.js} +12 -12
  129. package/dist/bundle/server-DUVJWP3Q.js +80 -0
  130. package/dist/bundle/{server-GWWP3RIT.js → server-YMAK4LHC.js} +54 -54
  131. package/dist/bundle/{services-BDQBRXT5.js → services-ZILSFJ6E.js} +47 -47
  132. package/dist/bundle/{sqlite-runtime-ZSZGAUYB.js → sqlite-runtime-S5VPMZQH.js} +9 -9
  133. package/dist/bundle/{start-BJ275RUK.js → start-CR6X25RT.js} +7 -7
  134. package/dist/bundle/{state-HLNGFI2T.js → state-YFPHVIIJ.js} +9 -9
  135. package/dist/bundle/{store-OSRTGYGI.js → store-CL4ZJZRI.js} +23 -23
  136. package/dist/bundle/{store-I43KZNJW.js → store-UODRT6X4.js} +25 -25
  137. package/dist/bundle/store-maintenance-command-DY5XIBWR.js +72 -0
  138. package/dist/bundle/tokens-AF7QOFOF.js +118 -0
  139. package/dist/config.d.ts.map +1 -1
  140. package/dist/config.js +2 -1
  141. package/dist/config.js.map +1 -1
  142. package/dist/sync.d.ts.map +1 -1
  143. package/dist/sync.js +1 -2
  144. package/dist/sync.js.map +1 -1
  145. package/dist/transcripts.d.ts +0 -6
  146. package/dist/transcripts.d.ts.map +1 -1
  147. package/dist/transcripts.js +0 -13
  148. package/dist/transcripts.js.map +1 -1
  149. package/dist/version.d.ts +1 -1
  150. package/dist/version.js +1 -1
  151. package/package.json +3 -3
  152. package/dist/bundle/command-contract-V3F452QI.js +0 -43
  153. package/dist/bundle/entry-ORZYRJ5N.js +0 -25
  154. package/dist/bundle/first-run-KAKA6KBY.js +0 -31
  155. package/dist/bundle/first-screen-R645UHRH.js +0 -41
  156. package/dist/bundle/google-BSO3YB7N.js +0 -45
  157. package/dist/bundle/grants-PLNFYARD.js +0 -118
  158. package/dist/bundle/meeting-combined-SUKMFK3F.js +0 -27
  159. package/dist/bundle/meeting-model-S4YGKIFI.js +0 -29
  160. package/dist/bundle/oauth-KCMNQ3ZP.js +0 -22
  161. package/dist/bundle/server-BI46BSRE.js +0 -80
  162. package/dist/bundle/store-maintenance-command-FO7LEVSL.js +0 -72
  163. package/dist/bundle/tokens-DB7O7QNB.js +0 -118
  164. /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-VKE77B3F.js} +0 -0
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCommandServer
5
- } from "./chunk-DVI72ZQG.js";
5
+ } from "./chunk-B5KSXHJ7.js";
6
6
  import {
7
7
  ensureSqlite
8
- } from "./chunk-LINBDWJK.js";
8
+ } from "./chunk-GPQ44Y2R.js";
9
9
  import {
10
10
  envName,
11
11
  readOnlyLockOf
12
- } from "./chunk-PR7XD2DI.js";
12
+ } from "./chunk-MNLL5YLM.js";
13
13
  import {
14
14
  catchCrashes
15
- } from "./chunk-SONPLYV7.js";
15
+ } from "./chunk-3N2OFXB5.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-54NDYVZA.js";
18
+ } from "./chunk-4QNW4NK6.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/entry.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
24
  import { spawn } from "node:child_process";
25
25
 
26
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
27
27
  import { appendFileSync } from "node:fs";
28
28
  var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
29
29
  const words = [];
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
47
47
  `);
48
48
  }, "logVersion");
49
49
 
50
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/entry.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/entry.js
51
51
  var processIo = /* @__PURE__ */ __name(() => ({
52
52
  argv: process.argv,
53
53
  env: process.env,
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
67
67
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
68
68
  return printVersion(entry.app, io);
69
69
  if (isCommandServer(args)) {
70
- const { serveEntry } = await import("./command-server-entry-WREK3QBB.js");
70
+ const { serveEntry } = await import("./command-server-entry-AYLGNZWD.js");
71
71
  return serveEntry(entry, io, { firstRunAt, commanderExit });
72
72
  }
73
73
  const tty = io.stdout.isTTY === true;
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
105
105
  ask: /* @__PURE__ */ __name(async (question, command) => {
106
106
  if (headless(command) || io.stdin.isTTY !== true)
107
107
  return false;
108
- const { readSecret } = await import("./prompt-YJSDABXN.js");
108
+ const { readSecret } = await import("./prompt-F5RRHPN2.js");
109
109
  const answer = await readSecret(`${question} [y/N] `, {
110
110
  input: io.stdin,
111
111
  output: io.stderr,
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
148
148
  if (command.optsWithGlobals().dryRun === true)
149
149
  return;
150
150
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
151
- import("./first-run-KAKA6KBY.js"),
152
- import("./command-contract-V3F452QI.js")
151
+ import("./first-run-4UVLW2WR.js"),
152
+ import("./command-contract-VRTOAV6W.js")
153
153
  ]);
154
154
  await setupAtStart({
155
155
  command: entry.app.command,
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-54NDYVZA.js";
5
+ } from "./chunk-4QNW4NK6.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -8,45 +8,45 @@ import {
8
8
  range,
9
9
  systemFor,
10
10
  validateImages
11
- } from "./chunk-ZCXWV4XO.js";
11
+ } from "./chunk-3EBBLKIT.js";
12
12
  import {
13
13
  refuseOffComputer
14
- } from "./chunk-FN3RXBO7.js";
14
+ } from "./chunk-SDKQNOL5.js";
15
15
  import {
16
16
  Unzip,
17
17
  UnzipInflate
18
18
  } from "./chunk-5DPV7X27.js";
19
19
  import {
20
20
  envName
21
- } from "./chunk-PR7XD2DI.js";
21
+ } from "./chunk-MNLL5YLM.js";
22
22
  import {
23
23
  PLAIN_HTTP_REFUSED,
24
24
  endpoint,
25
25
  endpointFetch,
26
26
  modelAddressAllowed,
27
27
  onThisComputer
28
- } from "./chunk-DR57KDAY.js";
28
+ } from "./chunk-YMJ6IDGT.js";
29
29
  import {
30
30
  MAX_FILE_BYTES,
31
31
  MAX_TEXT_CHARS,
32
32
  attachmentMaxBytes
33
- } from "./chunk-BBRMDMIR.js";
33
+ } from "./chunk-JZHBZOJR.js";
34
34
  import {
35
35
  isCliFailure
36
- } from "./chunk-RLNZ7NX5.js";
36
+ } from "./chunk-26DHFMGZ.js";
37
37
  import {
38
38
  readSharedSection,
39
39
  sharedConfigPath,
40
40
  writeSharedSection
41
- } from "./chunk-WJK6KTCS.js";
41
+ } from "./chunk-GBKNJWOZ.js";
42
42
  import {
43
43
  storePath
44
- } from "./chunk-T5D4OGDC.js";
44
+ } from "./chunk-Z3KUSRCF.js";
45
45
  import {
46
46
  Credentials,
47
47
  pathsAreOverridden,
48
48
  resolvePaths
49
- } from "./chunk-HRATXUFH.js";
49
+ } from "./chunk-CJLVYIOP.js";
50
50
  import {
51
51
  importFrom,
52
52
  resolveFrom
@@ -64,11 +64,11 @@ import {
64
64
  strictObject,
65
65
  string,
66
66
  union
67
- } from "./chunk-HHAZ6DCY.js";
67
+ } from "./chunk-OJSBWP3F.js";
68
68
  import {
69
69
  CliError,
70
70
  isCliError
71
- } from "./chunk-54NDYVZA.js";
71
+ } from "./chunk-4QNW4NK6.js";
72
72
  import {
73
73
  __commonJS,
74
74
  __name,
@@ -16684,20 +16684,20 @@ var require_lib3 = __commonJS({
16684
16684
  }
16685
16685
  });
16686
16686
 
16687
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/extract.js
16687
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/extract.js
16688
16688
  import { extname as extname2 } from "node:path";
16689
16689
 
16690
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/engine.js
16690
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/engine.js
16691
16691
  import { readFileSync } from "node:fs";
16692
16692
  import { dirname, extname, join } from "node:path";
16693
16693
  import { fileURLToPath } from "node:url";
16694
16694
 
16695
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/container.js
16695
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/container.js
16696
16696
  import { setImmediate as tick } from "node:timers/promises";
16697
16697
  import { crc32 } from "node:zlib";
16698
16698
  var import_xmldom = __toESM(require_lib(), 1);
16699
16699
 
16700
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
16700
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
16701
16701
  var import_chardet = __toESM(require_lib2(), 1);
16702
16702
  var import_iconv_lite = __toESM(require_lib3(), 1);
16703
16703
  var SAMPLE = 65536;
@@ -16799,7 +16799,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes) => {
16799
16799
  return result.text;
16800
16800
  }, "decodeXml");
16801
16801
 
16802
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/container.js
16802
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/container.js
16803
16803
  var MAX_PART = 10 * 1024 * 1024;
16804
16804
  var MAX_ENTRIES = 1e3;
16805
16805
  var decoder = new TextDecoder("utf-8", { fatal: true });
@@ -17014,7 +17014,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
17014
17014
  return found;
17015
17015
  }, "elements");
17016
17016
 
17017
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/engine.js
17017
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/engine.js
17018
17018
  var BUILT_IN = ["unpdf", "mammoth", "word-extractor", "linkedom", "defuddle/node"];
17019
17019
  var ENGINES = [...BUILT_IN, "@napi-rs/canvas"];
17020
17020
  var isMissing = /* @__PURE__ */ __name((error, name) => error?.code === "ERR_MODULE_NOT_FOUND" && String(error.message).includes(name), "isMissing");
@@ -17072,7 +17072,7 @@ var derived = /* @__PURE__ */ __name((bytes, extractor, read) => {
17072
17072
  }
17073
17073
  }, "derived");
17074
17074
 
17075
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/image/index.js
17075
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/image/index.js
17076
17076
  var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
17077
17077
  var image = {
17078
17078
  id: "image",
@@ -17081,7 +17081,7 @@ var image = {
17081
17081
  read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
17082
17082
  };
17083
17083
 
17084
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
17084
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
17085
17085
  var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
17086
17086
  var doc = {
17087
17087
  id: "doc",
@@ -17093,7 +17093,7 @@ var doc = {
17093
17093
  }), "read")
17094
17094
  };
17095
17095
 
17096
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
17096
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
17097
17097
  var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
17098
17098
  var docx = {
17099
17099
  id: "docx",
@@ -17106,10 +17106,10 @@ var docx = {
17106
17106
  }), "read")
17107
17107
  };
17108
17108
 
17109
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17109
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17110
17110
  var import_iconv_lite2 = __toESM(require_lib3(), 1);
17111
17111
 
17112
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/domain/html-entities.js
17112
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/domain/html-entities.js
17113
17113
  var NAMED = {
17114
17114
  amp: "&",
17115
17115
  lt: "<",
@@ -17161,7 +17161,7 @@ var decodeEntities = /* @__PURE__ */ __name((text) => text.replace(/&(#x[0-9a-f]
17161
17161
  return body[1] === "x" || body[1] === "X" ? character(Number.parseInt(body.slice(2), 16), entity) : character(Number(body.slice(1)), entity);
17162
17162
  }), "decodeEntities");
17163
17163
 
17164
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17164
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/markup.js
17165
17165
  var RTF_SKIPPED = /* @__PURE__ */ new Set([
17166
17166
  "fonttbl",
17167
17167
  "colortbl",
@@ -17327,7 +17327,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
17327
17327
  return decodeEntities(replaceTags(blocks, /<[^>]*>/g, "")).replace(/(?<![ \t\u00a0])[ \t\u00a0]+\n/g, "\n").replace(/\n{3,}/g, "\n\n").trim();
17328
17328
  }, "htmlText");
17329
17329
 
17330
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/html/page.js
17330
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/html/page.js
17331
17331
  var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
17332
17332
  var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
17333
17333
  var jsonLdNodes = /* @__PURE__ */ __name((document) => {
@@ -17383,7 +17383,7 @@ var markdownSections = /* @__PURE__ */ __name((text) => {
17383
17383
  return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text.length }));
17384
17384
  }, "markdownSections");
17385
17385
 
17386
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/html/index.js
17386
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/html/index.js
17387
17387
  var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
17388
17388
  var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
17389
17389
  var loaded = /* @__PURE__ */ __name(async (load, name) => {
@@ -17454,10 +17454,10 @@ var html = {
17454
17454
  }, "read")
17455
17455
  };
17456
17456
 
17457
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17457
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17458
17458
  import { posix } from "node:path";
17459
17459
 
17460
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
17460
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
17461
17461
  var columnName = /* @__PURE__ */ __name((column) => {
17462
17462
  let name = "";
17463
17463
  for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
@@ -17512,7 +17512,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
17512
17512
  return { text: parts.join("").trim(), truncated: false };
17513
17513
  }, "sheetText");
17514
17514
 
17515
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17515
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/documents.js
17516
17516
  var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
17517
17517
  var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
17518
17518
  var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
@@ -17927,7 +17927,7 @@ var readDocument = /* @__PURE__ */ __name(async (bytes, kind, signal) => {
17927
17927
  }
17928
17928
  }, "readDocument");
17929
17929
 
17930
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/office/index.js
17930
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/office/index.js
17931
17931
  var office = {
17932
17932
  id: "office",
17933
17933
  version: documentExtractor("odt"),
@@ -17938,7 +17938,7 @@ var office = {
17938
17938
  }, "read")
17939
17939
  };
17940
17940
 
17941
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
17941
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
17942
17942
  var pdf = {
17943
17943
  id: "pdf",
17944
17944
  version: "unpdf",
@@ -18005,7 +18005,7 @@ var pdf = {
18005
18005
  }), "read")
18006
18006
  };
18007
18007
 
18008
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
18008
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
18009
18009
  var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
18010
18010
  var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
18011
18011
  var readPlain = /* @__PURE__ */ __name((bytes) => {
@@ -18025,7 +18025,7 @@ var plain = {
18025
18025
  read: /* @__PURE__ */ __name(async (bytes) => readPlain(bytes), "read")
18026
18026
  };
18027
18027
 
18028
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
18028
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
18029
18029
  var rtf = {
18030
18030
  id: "rtf",
18031
18031
  version: "v1",
@@ -18033,10 +18033,10 @@ var rtf = {
18033
18033
  read: /* @__PURE__ */ __name(async (bytes) => derived(bytes, "rtf:v1", rtfText), "read")
18034
18034
  };
18035
18035
 
18036
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18036
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18037
18037
  import { basename } from "node:path";
18038
18038
 
18039
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
18039
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
18040
18040
  var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) => {
18041
18041
  const cells = [];
18042
18042
  let row = 1, column = 1, start = 0, quoted = false, truncated = false;
@@ -18074,7 +18074,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) =>
18074
18074
  return { cells, truncated };
18075
18075
  }, "delimitedSpans");
18076
18076
 
18077
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18077
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
18078
18078
  var DELIMITED = {
18079
18079
  ".csv": ",",
18080
18080
  ".tsv": " ",
@@ -18113,7 +18113,7 @@ var sheets = {
18113
18113
  }, "read")
18114
18114
  };
18115
18115
 
18116
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/readers/registry.js
18116
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/readers/registry.js
18117
18117
  var BUILT_INS = [office, pdf, docx, doc, rtf, html, sheets, plain, image];
18118
18118
  var HEAD_BYTES = 1024;
18119
18119
  var readers = [...BUILT_INS];
@@ -18123,7 +18123,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes, hint, context) => {
18123
18123
  return reader ? reader.read(bytes, hint, context) : { status: "unsupported" };
18124
18124
  }, "readWithRegistry");
18125
18125
 
18126
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/extract.js
18126
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/extract.js
18127
18127
  var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
18128
18128
  var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname2(name ?? path).toLowerCase(), "extensionOf");
18129
18129
  var extractText = /* @__PURE__ */ __name(async (bytes, hint, load, signal, env = process.env) => {
@@ -18161,7 +18161,7 @@ var engineStates = /* @__PURE__ */ __name((resolve = (name) => resolveFrom(new U
18161
18161
  }
18162
18162
  })), "engineStates");
18163
18163
 
18164
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/http/time-limit.js
18164
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/http/time-limit.js
18165
18165
  var timeLimit = /* @__PURE__ */ __name((ms) => {
18166
18166
  const controller = new AbortController();
18167
18167
  const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
@@ -18177,7 +18177,7 @@ var withTimeLimit = /* @__PURE__ */ __name(async (ms, run2) => {
18177
18177
  }
18178
18178
  }, "withTimeLimit");
18179
18179
 
18180
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/models/openai.js
18180
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/models/openai.js
18181
18181
  var options = strictObject({
18182
18182
  temperature: range(0, 2),
18183
18183
  top_p: range(0, 1),
@@ -18244,7 +18244,7 @@ var openai = {
18244
18244
  }), "complete")
18245
18245
  };
18246
18246
 
18247
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/models/index.js
18247
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/models/index.js
18248
18248
  var modelGateway = /* @__PURE__ */ __name((deps) => ({
18249
18249
  complete: /* @__PURE__ */ __name(async (request) => {
18250
18250
  if (deps.signal?.aborted)
@@ -18259,7 +18259,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
18259
18259
  if (!adapter && target2.provider === "openai")
18260
18260
  adapter = openai;
18261
18261
  if (!adapter && target2.provider === "anthropic")
18262
- adapter = (await import("./anthropic-QVKJT3II.js")).anthropic;
18262
+ adapter = (await import("./anthropic-PSWTEU6G.js")).anthropic;
18263
18263
  if (!adapter)
18264
18264
  throw new CliError("validation_error", `no model adapter for ${target2.provider}`);
18265
18265
  if (request.images !== void 0 && adapter.images !== true)
@@ -18319,7 +18319,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
18319
18319
  }, "complete")
18320
18320
  }), "modelGateway");
18321
18321
 
18322
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
18322
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
18323
18323
  var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
18324
18324
  const host = new URL(baseUrl).host;
18325
18325
  return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
@@ -18352,7 +18352,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
18352
18352
  };
18353
18353
  }, "embeddingKeys");
18354
18354
 
18355
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/domain/recovery.js
18355
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/domain/recovery.js
18356
18356
  var withRecovery = /* @__PURE__ */ __name((error) => ({
18357
18357
  ...error,
18358
18358
  retryable: typeof error.retryable === "boolean" ? error.retryable : error.code === "rate_limited" || error.status === 429
@@ -19399,7 +19399,7 @@ function imageSize(input) {
19399
19399
  }
19400
19400
  __name(imageSize, "imageSize");
19401
19401
 
19402
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
19402
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/ocr.js
19403
19403
  var MAX_PAGES = 20;
19404
19404
  var MAX_PIXELS = 2e7;
19405
19405
  var cancelled2 = /* @__PURE__ */ __name((signal) => {
@@ -19559,7 +19559,7 @@ var ocrPdf = /* @__PURE__ */ __name(async (bytes, pipeline, load, signal) => {
19559
19559
  }
19560
19560
  }, "ocrPdf");
19561
19561
 
19562
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/attachments/picture-reading.js
19562
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/attachments/picture-reading.js
19563
19563
  import { spawn } from "node:child_process";
19564
19564
  import { mkdtempSync, readFileSync as readFileSync2, rmSync, writeFileSync } from "node:fs";
19565
19565
  import { tmpdir } from "node:os";
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  alive
5
- } from "./chunk-4WK26MPY.js";
5
+ } from "./chunk-Z56QFOBR.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-HRATXUFH.js";
9
+ } from "./chunk-CJLVYIOP.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
13
13
 
14
- // node_modules/.pnpm/@wirecat+cli-core@0.666.0_@wirecat+cli-base@0.101.0_commander@15.0.0_esbuild@0.28.2_typ_02b130a271480a962759fcca79b3d7ec/node_modules/@wirecat/cli-core/dist/background/lock.js
14
+ // node_modules/.pnpm/@wirecat+cli-core@0.673.0_@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typ_d24fa0f4f3b37e009a0e8224eb6a2687/node_modules/@wirecat/cli-core/dist/background/lock.js
15
15
  import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
16
16
  import { dirname, join } from "node:path";
17
17
  var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");