@wirecat/drive-cli 0.49.0 → 0.50.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 (144) hide show
  1. package/dist/bin/drive.js +2 -2
  2. package/dist/bundle/{all-profiles-WK2XXGPU.js → all-profiles-WQTVOCIS.js} +8 -8
  3. package/dist/bundle/{anthropic-R354D7GT.js → anthropic-YCA2AWIJ.js} +5 -5
  4. package/dist/bundle/{app-server-3YHJ757G.js → app-server-ZQOYUQJH.js} +52 -52
  5. package/dist/bundle/{bun-JVDJVDHL.js → bun-5NFIDHGM.js} +2 -2
  6. package/dist/bundle/{bun-sqlite-KZCZWSRZ.js → bun-sqlite-OAQE4M2E.js} +4 -4
  7. package/dist/bundle/{chunk-2BADVV4A.js → chunk-24TOKSZE.js} +2 -2
  8. package/dist/bundle/{chunk-CCLDCM7J.js → chunk-2M5XEGVE.js} +290 -208
  9. package/dist/bundle/{chunk-HBYE4EP2.js → chunk-3CQNJKJT.js} +1 -1
  10. package/dist/bundle/{chunk-MC77UZVA.js → chunk-3HNUH632.js} +6 -6
  11. package/dist/bundle/{chunk-U77RLMOK.js → chunk-3XX52F42.js} +2 -2
  12. package/dist/bundle/{chunk-5KR7BKDV.js → chunk-4J7UGHPK.js} +5 -5
  13. package/dist/bundle/{chunk-IRDGH7DV.js → chunk-4OLWMHS6.js} +3 -3
  14. package/dist/bundle/{chunk-7WEISHFA.js → chunk-4SSUKRO4.js} +2 -2
  15. package/dist/bundle/{chunk-EF2RCQ3L.js → chunk-4VLUX3V5.js} +1 -1
  16. package/dist/bundle/{chunk-W5EUHV3J.js → chunk-53UWCVSU.js} +1 -1
  17. package/dist/bundle/{chunk-PPXNEHYX.js → chunk-5OMLYNYB.js} +8 -8
  18. package/dist/bundle/{chunk-NXFEZQDL.js → chunk-5WN7JHQE.js} +26 -26
  19. package/dist/bundle/{chunk-FB7I5JWC.js → chunk-5Z63NTC7.js} +6 -6
  20. package/dist/bundle/{chunk-2ZFR67KY.js → chunk-5ZJHQ4TN.js} +2 -2
  21. package/dist/bundle/{chunk-75VCGSNB.js → chunk-652YTDT5.js} +15 -15
  22. package/dist/bundle/{chunk-YYMHFXHK.js → chunk-6DDXB5WB.js} +2 -2
  23. package/dist/bundle/{chunk-XLJV3ZOH.js → chunk-6E4PFCQ4.js} +1 -1
  24. package/dist/bundle/{chunk-P4NOTS3U.js → chunk-7SYSC7KX.js} +2 -2
  25. package/dist/bundle/{chunk-6Z3W7LTD.js → chunk-AO3NCZNT.js} +8 -8
  26. package/dist/bundle/{chunk-LF7ACSTK.js → chunk-BUALWXBT.js} +1 -1
  27. package/dist/bundle/{chunk-FZQSGLHU.js → chunk-C4PNAHI4.js} +11 -11
  28. package/dist/bundle/{chunk-XVXXWNAA.js → chunk-CCEVICWU.js} +4 -4
  29. package/dist/bundle/{chunk-Y2AUB4TJ.js → chunk-CEUEXMIR.js} +80 -33
  30. package/dist/bundle/{chunk-254VYUWN.js → chunk-CTIQ77AB.js} +17 -17
  31. package/dist/bundle/{chunk-JZ3SUK2M.js → chunk-DTHWL5YU.js} +5 -5
  32. package/dist/bundle/{chunk-JMOX454R.js → chunk-E656DAZT.js} +1 -1
  33. package/dist/bundle/{chunk-KKZYZ32J.js → chunk-EXYEDKTX.js} +2 -2
  34. package/dist/bundle/{chunk-BJ3JRO34.js → chunk-EY4CUQW2.js} +7 -7
  35. package/dist/bundle/{chunk-YOF5BC4G.js → chunk-FABKIQ24.js} +2 -2
  36. package/dist/bundle/{chunk-QEM3MOSB.js → chunk-FSAM4Y2S.js} +8 -8
  37. package/dist/bundle/{chunk-R2QRP7EJ.js → chunk-G75FZQAZ.js} +13 -9
  38. package/dist/bundle/{chunk-VHT2WI4I.js → chunk-HGWMX7BM.js} +101 -73
  39. package/dist/bundle/{chunk-45TPBTR3.js → chunk-HURI56SB.js} +21 -21
  40. package/dist/bundle/{chunk-624B6G64.js → chunk-IA6LNKCF.js} +5 -5
  41. package/dist/bundle/{chunk-ITZI7T2X.js → chunk-IFM2APQB.js} +2 -2
  42. package/dist/bundle/{chunk-AN7HENGZ.js → chunk-IGG4RBIZ.js} +108 -96
  43. package/dist/bundle/{chunk-FUJZ5S2Q.js → chunk-INVF3GXW.js} +10 -10
  44. package/dist/bundle/{chunk-R235IRSJ.js → chunk-IUZ4PT2V.js} +2 -2
  45. package/dist/bundle/{chunk-3UHJC6HH.js → chunk-JA2YY7D4.js} +7 -7
  46. package/dist/bundle/{chunk-7BA3HL7N.js → chunk-JHBX53SK.js} +35 -35
  47. package/dist/bundle/{chunk-RAAI3JLI.js → chunk-JSMPSOEM.js} +3 -3
  48. package/dist/bundle/{chunk-HVM5LS5Z.js → chunk-KEQ35HQQ.js} +3 -3
  49. package/dist/bundle/{chunk-HIAO4MPA.js → chunk-KYMGVMOS.js} +1 -1
  50. package/dist/bundle/{chunk-467AQO7E.js → chunk-KZEOWOZV.js} +7 -7
  51. package/dist/bundle/{chunk-KYJYOZYG.js → chunk-LNWRRK2H.js} +6 -6
  52. package/dist/bundle/{chunk-P7INAZIT.js → chunk-M2D4FXKY.js} +5 -5
  53. package/dist/bundle/{chunk-SSD2V4HR.js → chunk-M6FQOGUW.js} +279 -258
  54. package/dist/bundle/{chunk-5ISHP4TK.js → chunk-MMOG7ZVF.js} +2 -2
  55. package/dist/bundle/{chunk-KK3BA4IS.js → chunk-NHRJW3PH.js} +2 -2
  56. package/dist/bundle/{chunk-MFS52LTZ.js → chunk-OKSS7YUN.js} +1 -1
  57. package/dist/bundle/{chunk-E2Y6GJZX.js → chunk-OL22OOIW.js} +4 -4
  58. package/dist/bundle/{chunk-DKJGYYCP.js → chunk-OQEBGY74.js} +46 -46
  59. package/dist/bundle/{chunk-MAXN7COO.js → chunk-P3T2SZW2.js} +1 -1
  60. package/dist/bundle/{chunk-NFU3OBCC.js → chunk-P6VN5UB4.js} +4 -4
  61. package/dist/bundle/{chunk-A3FU4RR6.js → chunk-PNUS224S.js} +4 -4
  62. package/dist/bundle/{chunk-L5RZI2M5.js → chunk-POD2GHQB.js} +19 -19
  63. package/dist/bundle/{chunk-46X7Z4FD.js → chunk-Q27HCATD.js} +324 -278
  64. package/dist/bundle/{chunk-HQ2PGEOK.js → chunk-Q3VG3UYV.js} +11 -11
  65. package/dist/bundle/{chunk-JMRHDZMV.js → chunk-QBECV7NO.js} +33 -32
  66. package/dist/bundle/{chunk-EOZPMJJP.js → chunk-QNLD7Y6Z.js} +7 -7
  67. package/dist/bundle/{chunk-NVHB2MHX.js → chunk-QSDXVUJG.js} +4 -4
  68. package/dist/bundle/{chunk-ABVFH76X.js → chunk-QY3LK3OT.js} +5 -5
  69. package/dist/bundle/{chunk-BQV3WYXW.js → chunk-R7XMCREL.js} +31 -21
  70. package/dist/bundle/{chunk-463NMG57.js → chunk-RTIMGPLN.js} +3 -3
  71. package/dist/bundle/{chunk-CB5NGX6E.js → chunk-T7UZHKAS.js} +2 -2
  72. package/dist/bundle/{chunk-4ORK4UAY.js → chunk-TATRMMOG.js} +3 -3
  73. package/dist/bundle/{chunk-MP2UCK3Z.js → chunk-UVPKSZSC.js} +4 -4
  74. package/dist/bundle/{chunk-IEAZAPC3.js → chunk-VAETCXRI.js} +42 -17
  75. package/dist/bundle/{chunk-P4OU3OVF.js → chunk-VAK2Q2XG.js} +14 -14
  76. package/dist/bundle/{chunk-ZK7Y5K63.js → chunk-XEETGCOC.js} +1 -1
  77. package/dist/bundle/{chunk-IRNX4CO5.js → chunk-XGJUEH5C.js} +27 -27
  78. package/dist/bundle/{chunk-VAGF723Z.js → chunk-Y73IZWRI.js} +1 -1
  79. package/dist/bundle/{chunk-2DLAJGRN.js → chunk-YOABRW2M.js} +1 -1
  80. package/dist/bundle/{chunk-65AW2AEQ.js → chunk-YROVFHPJ.js} +2 -2
  81. package/dist/bundle/{chunk-HD3TFIT4.js → chunk-Z54E5LKF.js} +6 -6
  82. package/dist/bundle/{chunk-W5IDHD6C.js → chunk-ZJBRKR42.js} +27 -27
  83. package/dist/bundle/{chunk-22LTNYO2.js → chunk-ZKGYW63J.js} +9 -9
  84. package/dist/bundle/{chunk-2CKGGIWF.js → chunk-ZP735UUT.js} +3 -3
  85. package/dist/bundle/{chunk-HF2T7E67.js → chunk-ZXD2I5ZQ.js} +49 -49
  86. package/dist/bundle/command-contract-TAWVO2G3.js +38 -0
  87. package/dist/bundle/{decode-BE3VDYTJ.js → decode-YZRTP54O.js} +4 -4
  88. package/dist/bundle/drive.js +7 -7
  89. package/dist/bundle/{echarts-4OQHS575.js → echarts-C6HUK2FL.js} +2 -2
  90. package/dist/bundle/{embed-QR76SJDI.js → embed-QRQ7ITFC.js} +5 -5
  91. package/dist/bundle/{embedder-EMIDKBYV.js → embedder-EZDB3JPA.js} +8 -8
  92. package/dist/bundle/{entry-FE4REJDO.js → entry-4WQQKSYG.js} +6 -6
  93. package/dist/bundle/failure-EEJGMWEP.js +37 -0
  94. package/dist/bundle/{first-run-ALPI62PX.js → first-run-ZAS4OV3T.js} +9 -9
  95. package/dist/bundle/first-screen-6ICWD2N3.js +36 -0
  96. package/dist/bundle/{google-NV75VSCD.js → google-KNILTIDW.js} +9 -9
  97. package/dist/bundle/google-api-CZACYX5T.js +82 -0
  98. package/dist/bundle/{identity-NZ7SP6OL.js → identity-VBCGUXT5.js} +2 -2
  99. package/dist/bundle/{instructions-3QZBKKPF.js → instructions-II4M2WL3.js} +1 -1
  100. package/dist/bundle/{login-KNBM6XUX.js → login-4JACQVMD.js} +62 -62
  101. package/dist/bundle/mcp-2BR2EX7L.js +95 -0
  102. package/dist/bundle/{mcp-XY2FGGUM.js → mcp-6ZIAWU3N.js} +76 -76
  103. package/dist/bundle/{mcp-OQBZXELQ.js → mcp-ZYZ4DFW2.js} +2 -2
  104. package/dist/bundle/{node-R2BLYUSB.js → node-LIN7L4VQ.js} +2 -2
  105. package/dist/bundle/{node-sqlite-PMRVP442.js → node-sqlite-VAH4KZN3.js} +4 -4
  106. package/dist/bundle/{oauth-NM2AKRRT.js → oauth-QUE3VCTU.js} +6 -6
  107. package/dist/bundle/{open-XZH5ZNDA.js → open-DQ3EVYPB.js} +3 -3
  108. package/dist/bundle/{process-IX5YWGDP.js → process-46XDWPVW.js} +1 -1
  109. package/dist/bundle/{program-MDWQHGBY.js → program-X3CZ4XDN.js} +93 -86
  110. package/dist/bundle/{prompt-5K6XGWSK.js → prompt-SAZYCZV3.js} +4 -4
  111. package/dist/bundle/{reasons-GF2TYGX6.js → reasons-366PI7OV.js} +3 -3
  112. package/dist/bundle/{recognize-U7GDD6T2.js → recognize-SSBOHOTW.js} +3 -3
  113. package/dist/bundle/{remote-ZWXOGNQX.js → remote-EL3FWCQE.js} +6 -6
  114. package/dist/bundle/{rerank-YRQBCS63.js → rerank-RPIQRJIW.js} +6 -6
  115. package/dist/bundle/{serve-6PQ7K5RK.js → serve-AX44DIKK.js} +8 -8
  116. package/dist/bundle/server-DCJIGUW2.js +56 -0
  117. package/dist/bundle/server-WWQSQBFT.js +69 -0
  118. package/dist/bundle/{services-QBIQX236.js → services-K4UOEMQD.js} +28 -28
  119. package/dist/bundle/{sqlite-runtime-7Q5UD2VR.js → sqlite-runtime-N7N3EYGH.js} +4 -4
  120. package/dist/bundle/{state-U72TC26L.js → state-C3S5FD7V.js} +5 -5
  121. package/dist/bundle/{store-B4RAJ63G.js → store-4N3NBUGX.js} +14 -14
  122. package/dist/bundle/{store-FYABCSIH.js → store-QV4ZNEQ3.js} +16 -16
  123. package/dist/bundle/store-maintenance-command-QL4AECBD.js +57 -0
  124. package/dist/bundle/tokens-Y7HCOXOA.js +103 -0
  125. package/dist/commands/session.d.ts.map +1 -1
  126. package/dist/commands/session.js +10 -2
  127. package/dist/commands/session.js.map +1 -1
  128. package/dist/tokens.d.ts.map +1 -1
  129. package/dist/tokens.js +2 -2
  130. package/dist/tokens.js.map +1 -1
  131. package/dist/version.d.ts +1 -1
  132. package/dist/version.js +1 -1
  133. package/package.json +3 -3
  134. package/dist/bundle/command-contract-AEA45IX7.js +0 -38
  135. package/dist/bundle/failure-GYOTW6NN.js +0 -37
  136. package/dist/bundle/first-screen-JLS57PIT.js +0 -36
  137. package/dist/bundle/google-api-6623OUF2.js +0 -82
  138. package/dist/bundle/mcp-4NPK6BM3.js +0 -95
  139. package/dist/bundle/server-O7SS6NAY.js +0 -56
  140. package/dist/bundle/server-WT57TF6S.js +0 -69
  141. package/dist/bundle/store-maintenance-command-DAF5NI3T.js +0 -57
  142. package/dist/bundle/tokens-DISQJKDM.js +0 -103
  143. /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-2WNDZFGG.js} +0 -0
  144. /package/dist/bundle/{chunk-YLBNPI7H.js → chunk-VDZZ46RT.js} +0 -0
@@ -3,31 +3,31 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  envName,
5
5
  readOnlyLockOf
6
- } from "./chunk-KK3BA4IS.js";
6
+ } from "./chunk-NHRJW3PH.js";
7
7
  import {
8
8
  ensureSqlite
9
- } from "./chunk-YOF5BC4G.js";
9
+ } from "./chunk-FABKIQ24.js";
10
10
  import {
11
11
  catchCrashes
12
- } from "./chunk-VHT2WI4I.js";
12
+ } from "./chunk-HGWMX7BM.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-BJ3JRO34.js";
15
+ } from "./chunk-EY4CUQW2.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/entry.js
20
+ // 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/entry.js
21
21
  import { spawn } from "node:child_process";
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
23
+ // 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/argv-log.js
24
24
  import { appendFileSync } from "node:fs";
25
25
  var logVersion = /* @__PURE__ */ __name((file) => {
26
26
  appendFileSync(file, `${JSON.stringify({ command: "", options: ["--version"] })}
27
27
  `);
28
28
  }, "logVersion");
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/entry.js
30
+ // 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/entry.js
31
31
  var processIo = /* @__PURE__ */ __name(() => ({
32
32
  argv: process.argv,
33
33
  env: process.env,
@@ -81,8 +81,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
81
81
  if (command.optsWithGlobals().dryRun === true)
82
82
  return;
83
83
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
84
- import("./first-run-ALPI62PX.js"),
85
- import("./command-contract-AEA45IX7.js")
84
+ import("./first-run-ZAS4OV3T.js"),
85
+ import("./command-contract-TAWVO2G3.js")
86
86
  ]);
87
87
  await setupAtStart({
88
88
  command: entry.app.command,
@@ -97,7 +97,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
97
97
  ask: /* @__PURE__ */ __name(async (question, command) => {
98
98
  if (headless(command) || io.stdin.isTTY !== true)
99
99
  return false;
100
- const { readSecret } = await import("./prompt-5K6XGWSK.js");
100
+ const { readSecret } = await import("./prompt-SAZYCZV3.js");
101
101
  const answer = await readSecret(`${question} [y/N] `, {
102
102
  input: io.stdin,
103
103
  output: io.stderr,
@@ -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-BJ3JRO34.js";
5
+ } from "./chunk-EY4CUQW2.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/types.js
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/models/types.js
11
11
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
12
12
  var validateImages = /* @__PURE__ */ __name((images) => {
13
13
  if (images === void 0)
@@ -2,27 +2,27 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ENTITIES
5
- } from "./chunk-AN7HENGZ.js";
5
+ } from "./chunk-IGG4RBIZ.js";
6
6
  import {
7
7
  answerSchema
8
- } from "./chunk-JMRHDZMV.js";
8
+ } from "./chunk-QBECV7NO.js";
9
9
  import {
10
10
  annotate,
11
11
  describeOptions,
12
12
  metaOf
13
- } from "./chunk-22LTNYO2.js";
13
+ } from "./chunk-ZKGYW63J.js";
14
14
  import {
15
15
  keyForCommand
16
- } from "./chunk-YYMHFXHK.js";
16
+ } from "./chunk-6DDXB5WB.js";
17
17
  import {
18
18
  CliError,
19
19
  jsonSchemaOf
20
- } from "./chunk-BJ3JRO34.js";
20
+ } from "./chunk-EY4CUQW2.js";
21
21
  import {
22
22
  __name
23
23
  } from "./chunk-ZVVMGPBJ.js";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
25
+ // 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/answer-entity.js
26
26
  var schemas = /* @__PURE__ */ new WeakMap();
27
27
  var answerEntity = /* @__PURE__ */ __name((command, name, schema, options = {}) => {
28
28
  if (Object.hasOwn(ENTITIES, name))
@@ -52,7 +52,7 @@ var answerProjectionSchema = /* @__PURE__ */ __name((command) => {
52
52
  return own && metaOf(command).output?.entity === own.name ? own.project : void 0;
53
53
  }, "answerProjectionSchema");
54
54
 
55
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
55
+ // 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/command-contract.js
56
56
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
57
57
  var outputOf = /* @__PURE__ */ __name((command) => {
58
58
  const entity = answerEntitySchema(command);
@@ -12,13 +12,13 @@ import {
12
12
  registerPrompts,
13
13
  stdinFieldOf,
14
14
  syncsFirst
15
- } from "./chunk-Y2AUB4TJ.js";
15
+ } from "./chunk-CEUEXMIR.js";
16
16
  import {
17
17
  mcpUrlOf
18
- } from "./chunk-CB5NGX6E.js";
18
+ } from "./chunk-T7UZHKAS.js";
19
19
  import {
20
20
  answeredWire
21
- } from "./chunk-EF2RCQ3L.js";
21
+ } from "./chunk-4VLUX3V5.js";
22
22
  import {
23
23
  BinaryResource,
24
24
  Picture,
@@ -39,44 +39,44 @@ import {
39
39
  tool,
40
40
  toolKey,
41
41
  toolsFromCommands
42
- } from "./chunk-IRNX4CO5.js";
42
+ } from "./chunk-XGJUEH5C.js";
43
43
  import {
44
44
  agentJson,
45
45
  skillResource
46
- } from "./chunk-75VCGSNB.js";
46
+ } from "./chunk-652YTDT5.js";
47
47
  import {
48
48
  StdioServerTransport,
49
49
  callerOf,
50
50
  serveStdio
51
- } from "./chunk-P4NOTS3U.js";
51
+ } from "./chunk-7SYSC7KX.js";
52
52
  import {
53
53
  instructions
54
- } from "./chunk-XLJV3ZOH.js";
54
+ } from "./chunk-6E4PFCQ4.js";
55
55
  import {
56
56
  McpServer,
57
57
  ResourceTemplate
58
58
  } from "./chunk-5FONRUG6.js";
59
59
  import {
60
60
  mcpHttpMarker
61
- } from "./chunk-NVHB2MHX.js";
61
+ } from "./chunk-QSDXVUJG.js";
62
62
  import {
63
63
  connectedFor,
64
64
  guardFor
65
- } from "./chunk-W5IDHD6C.js";
65
+ } from "./chunk-ZJBRKR42.js";
66
66
  import {
67
67
  lackedNeed,
68
68
  wholeList
69
- } from "./chunk-L5RZI2M5.js";
69
+ } from "./chunk-POD2GHQB.js";
70
70
  import {
71
71
  capability,
72
72
  dateWindow,
73
73
  imageSize,
74
74
  servicesFor,
75
75
  storedDeps
76
- } from "./chunk-CCLDCM7J.js";
76
+ } from "./chunk-2M5XEGVE.js";
77
77
  import {
78
78
  findCommand
79
- } from "./chunk-3UHJC6HH.js";
79
+ } from "./chunk-JA2YY7D4.js";
80
80
  import {
81
81
  DEFAULT_OUTPUT_BYTES,
82
82
  changesAuthorityAt,
@@ -88,42 +88,42 @@ import {
88
88
  rootOf2 as rootOf,
89
89
  sealed,
90
90
  snakeKeys
91
- } from "./chunk-JMRHDZMV.js";
91
+ } from "./chunk-QBECV7NO.js";
92
92
  import {
93
93
  withCaller
94
- } from "./chunk-PPXNEHYX.js";
94
+ } from "./chunk-5OMLYNYB.js";
95
95
  import {
96
96
  describeProgram
97
- } from "./chunk-22LTNYO2.js";
97
+ } from "./chunk-ZKGYW63J.js";
98
98
  import {
99
99
  typedCommand
100
- } from "./chunk-BQV3WYXW.js";
100
+ } from "./chunk-R7XMCREL.js";
101
101
  import {
102
102
  isCliFailure
103
- } from "./chunk-5ISHP4TK.js";
103
+ } from "./chunk-MMOG7ZVF.js";
104
104
  import {
105
105
  levelFor,
106
106
  readKeysForCommand
107
- } from "./chunk-YYMHFXHK.js";
107
+ } from "./chunk-6DDXB5WB.js";
108
108
  import {
109
109
  readOnlyLockOf
110
- } from "./chunk-KK3BA4IS.js";
110
+ } from "./chunk-NHRJW3PH.js";
111
111
  import {
112
112
  warmEmbedders
113
- } from "./chunk-P7INAZIT.js";
113
+ } from "./chunk-M2D4FXKY.js";
114
114
  import {
115
115
  openStore
116
- } from "./chunk-46X7Z4FD.js";
116
+ } from "./chunk-Q27HCATD.js";
117
117
  import {
118
118
  pdfPreviewLimits
119
- } from "./chunk-U77RLMOK.js";
119
+ } from "./chunk-3XX52F42.js";
120
120
  import {
121
121
  timezoneOf
122
- } from "./chunk-R2QRP7EJ.js";
122
+ } from "./chunk-G75FZQAZ.js";
123
123
  import {
124
124
  mcpErrorResult,
125
125
  visibleControls
126
- } from "./chunk-VHT2WI4I.js";
126
+ } from "./chunk-HGWMX7BM.js";
127
127
  import {
128
128
  CliError,
129
129
  description,
@@ -139,15 +139,15 @@ import {
139
139
  regex,
140
140
  strictObject,
141
141
  string
142
- } from "./chunk-BJ3JRO34.js";
142
+ } from "./chunk-EY4CUQW2.js";
143
143
  import {
144
144
  __name
145
145
  } from "./chunk-ZVVMGPBJ.js";
146
146
 
147
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/server.js
147
+ // 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/server.js
148
148
  import { randomUUID } from "node:crypto";
149
149
 
150
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
150
+ // 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/agent-log.js
151
151
  var agentLog = /* @__PURE__ */ __name((open) => {
152
152
  let held;
153
153
  return {
@@ -166,7 +166,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
166
166
  };
167
167
  }, "agentLog");
168
168
 
169
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/resources.js
169
+ // 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/resources.js
170
170
  var LISTED = 100;
171
171
  var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
172
172
  server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
@@ -204,7 +204,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
204
204
  });
205
205
  }, "registerResources");
206
206
 
207
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/session.js
207
+ // 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/session.js
208
208
  var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
209
209
  var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
210
210
  var MessengerSession = class {
@@ -279,7 +279,7 @@ var MessengerSession = class {
279
279
  }
280
280
  };
281
281
 
282
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
282
+ // 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/tools/attachments.js
283
283
  var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
284
284
  const _command = messenger.app.command;
285
285
  return {
@@ -333,7 +333,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
333
333
  };
334
334
  }, "attachmentsTools");
335
335
 
336
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
336
+ // 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/tools/messages-photo.js
337
337
  var PHOTO_LIMIT = 512 * 1024;
338
338
  var IMAGE_TYPES = [
339
339
  ["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
@@ -387,7 +387,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
387
387
  return new Uint8Array(Buffer.concat(chunks));
388
388
  }, "readUpTo");
389
389
 
390
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
390
+ // 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/tools/stats.js
391
391
  var statsTools = /* @__PURE__ */ __name((messenger) => ({
392
392
  stats_charts: tool({
393
393
  title: "A chart from a chat's statistics",
@@ -424,14 +424,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
424
424
  })
425
425
  }), "statsTools");
426
426
 
427
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tools.js
427
+ // 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/tools.js
428
428
  var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
429
429
  ...messagesPhotoTools(messenger),
430
430
  ...attachmentsTools(messenger),
431
431
  ...statsTools(messenger)
432
432
  }).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
433
433
 
434
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/server.js
434
+ // 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/server.js
435
435
  var PER_RUN = /* @__PURE__ */ new Set([
436
436
  "streams",
437
437
  "stdin",
@@ -755,7 +755,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
755
755
  }, "serveOverStdio");
756
756
  var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
757
757
  const { session, embedders, build, log } = createServer(command, context, messenger, options);
758
- const { serveOverHttp } = await import("./serve-6PQ7K5RK.js");
758
+ const { serveOverHttp } = await import("./serve-AX44DIKK.js");
759
759
  const appName = messenger.app.command;
760
760
  const appEnvPrefix = messenger.app.envPrefix;
761
761
  const listening = await serveOverHttp(build, {
@@ -10,7 +10,7 @@ import {
10
10
  checkApiBody,
11
11
  checkApiParameter,
12
12
  parseApiJson
13
- } from "./chunk-SSD2V4HR.js";
13
+ } from "./chunk-M6FQOGUW.js";
14
14
  import {
15
15
  CliError,
16
16
  array,
@@ -27,7 +27,7 @@ import {
27
27
  string,
28
28
  transform,
29
29
  unknown
30
- } from "./chunk-BJ3JRO34.js";
30
+ } from "./chunk-EY4CUQW2.js";
31
31
  import {
32
32
  __name
33
33
  } from "./chunk-ZVVMGPBJ.js";
@@ -10299,7 +10299,7 @@ var operations = [
10299
10299
  }
10300
10300
  ];
10301
10301
 
10302
- // node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
10302
+ // node_modules/.pnpm/@wirecat+cli-base@0.65.5_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/codegen/runtime.js
10303
10303
  var isLossless = /* @__PURE__ */ __name((input) => typeof input === "object" && input !== null && input.isLosslessNumber === true && typeof input.value === "string", "isLossless");
10304
10304
  var INTEGER = /^-?\d+$/;
10305
10305
  var INT64_MIN = -(2n ** 63n);
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-P7INAZIT.js";
5
+ } from "./chunk-M2D4FXKY.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BJ3JRO34.js";
8
+ } from "./chunk-EY4CUQW2.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // 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/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
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/store/sqlite/drizzle/shared-55XJMTPA.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  singleLine
5
- } from "./chunk-VHT2WI4I.js";
5
+ } from "./chunk-HGWMX7BM.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-BJ3JRO34.js";
8
+ } from "./chunk-EY4CUQW2.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/providers.js
13
+ // 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/providers.js
14
14
  var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events"];
15
15
  var PROVIDERS = [
16
16
  { name: "telegram", kind: "messages", aliases: ["tg"] },
@@ -101,7 +101,7 @@ var providerNamed = /* @__PURE__ */ __name((word) => {
101
101
  var kindIn = /* @__PURE__ */ __name((provider) => isFolderProvider(provider) ? "notes" : registry.find(({ name }) => name === provider)?.kind, "kindIn");
102
102
  var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
103
103
 
104
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/locator.js
104
+ // 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/locator.js
105
105
  var SCHEME = "msg:";
106
106
  var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
107
107
  var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
@@ -115,7 +115,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
115
115
  return { provider, account, chat, message };
116
116
  }, "parseLocator");
117
117
 
118
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/references.js
118
+ // 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/references.js
119
119
  var SIMPLE_REFERENCES = [
120
120
  "note",
121
121
  "document",
@@ -187,7 +187,7 @@ var folderPath = /* @__PURE__ */ __name((path) => {
187
187
  }, "folderPath");
188
188
  var canonicalReference = /* @__PURE__ */ __name((text) => formatReference(parseReference(text)), "canonicalReference");
189
189
 
190
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/counters.js
190
+ // 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/counters.js
191
191
  var COUNTER_FIELDS = ["views", "reactions", "comments"];
192
192
  var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
193
193
  var counterObservationTime = /* @__PURE__ */ __name((observation, now) => {
@@ -206,7 +206,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
206
206
  return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
207
207
  }, "counterFreshness");
208
208
 
209
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
209
+ // 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/rankings-options.js
210
210
  var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
211
211
  var AUTHOR_MEASURES = [
212
212
  "messages",
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError
5
- } from "./chunk-BJ3JRO34.js";
5
+ } from "./chunk-EY4CUQW2.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/driver.js
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/store/driver.js
11
11
  var PRAGMAS = `
12
12
  PRAGMA busy_timeout = 5000;
13
13
  PRAGMA journal_mode = WAL;
14
14
  PRAGMA foreign_keys = ON;
15
15
  `;
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
17
+ // 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/store/sqlite-warning.js
18
18
  var SQLITE_WARNING = "SQLite is an experimental feature";
19
19
  var quieted = /* @__PURE__ */ new WeakSet();
20
20
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -35,7 +35,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
35
35
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
36
36
  }, "isSqliteWarning");
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/open.js
38
+ // 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/store/open.js
39
39
  var openCache = /* @__PURE__ */ __name(async (path) => {
40
40
  const database = await openFile(path);
41
41
  try {
@@ -48,12 +48,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
48
48
  }, "openCache");
49
49
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
50
50
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
51
- const { openWithBunSqlite } = await import("./bun-sqlite-KZCZWSRZ.js");
51
+ const { openWithBunSqlite } = await import("./bun-sqlite-OAQE4M2E.js");
52
52
  return await openWithBunSqlite(path);
53
53
  }, "openUnderBun");
54
54
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
55
55
  quietSqliteWarning();
56
- const { openWithNodeSqlite } = await import("./node-sqlite-PMRVP442.js");
56
+ const { openWithNodeSqlite } = await import("./node-sqlite-VAH4KZN3.js");
57
57
  return openWithNodeSqlite(path);
58
58
  }, "openUnderNode");
59
59
  var runtime = /* @__PURE__ */ __name(() => {
@@ -8,10 +8,10 @@ import {
8
8
  installFiles,
9
9
  megabytes,
10
10
  sharedModelsDirectory
11
- } from "./chunk-ABVFH76X.js";
11
+ } from "./chunk-QY3LK3OT.js";
12
12
  import {
13
13
  CliError
14
- } from "./chunk-BJ3JRO34.js";
14
+ } from "./chunk-EY4CUQW2.js";
15
15
  import {
16
16
  importFrom
17
17
  } from "./chunk-Y5E2WNWB.js";
@@ -19,12 +19,12 @@ import {
19
19
  __name
20
20
  } from "./chunk-ZVVMGPBJ.js";
21
21
 
22
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
22
+ // 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/embed.js
23
23
  import { readFileSync as readFileSync2 } from "node:fs";
24
24
  import { availableParallelism } from "node:os";
25
25
  import { basename, join as join2 } from "node:path";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
27
+ // 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/onnx-runtime.js
28
28
  import { createHash } from "node:crypto";
29
29
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
30
30
  import { join } from "node:path";
@@ -207,7 +207,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
207
207
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
208
208
  }, "openSession");
209
209
 
210
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
210
+ // 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/embed.js
211
211
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
212
212
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
213
213
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");