@wirecat/tg-cli 0.106.0 → 0.107.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 (88) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-TIGHDHUK.js → adapter-PN5AXCJ7.js} +37 -37
  3. package/dist/bundle/{all-profiles-N4DLSGWY.js → all-profiles-SDHNKZQQ.js} +5 -5
  4. package/dist/bundle/{anthropic-D2T2QRLR.js → anthropic-F3BXQLYB.js} +3 -3
  5. package/dist/bundle/{app-server-FZTDNSPB.js → app-server-XDKMWVCD.js} +34 -34
  6. package/dist/bundle/{bot-api-OMUV6EIK.js → bot-api-YXJL4CEV.js} +38 -38
  7. package/dist/bundle/{bot-history-P2MWYLXW.js → bot-history-SDLHR7PV.js} +10 -10
  8. package/dist/bundle/{bun-UA5PRMLC.js → bun-SMH7PKUS.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-XVRVJ7A2.js → bun-sqlite-KB6PSTWH.js} +2 -2
  10. package/dist/bundle/{chunk-T4UTTH3A.js → chunk-3UEFJ75D.js} +1 -1
  11. package/dist/bundle/{chunk-ID6TO5P5.js → chunk-44UANKAI.js} +9 -9
  12. package/dist/bundle/{chunk-R2F6U4F3.js → chunk-465FPHSG.js} +7 -7
  13. package/dist/bundle/{chunk-C2MKA7SX.js → chunk-53QVFV34.js} +1 -1
  14. package/dist/bundle/{chunk-PEIDCYF5.js → chunk-53RW4KLL.js} +1 -1
  15. package/dist/bundle/{chunk-7P6ZCUPN.js → chunk-5QBTHR57.js} +2 -2
  16. package/dist/bundle/{chunk-QQYM26DA.js → chunk-6FSG6QZH.js} +1 -1
  17. package/dist/bundle/{chunk-XFXTB522.js → chunk-A4DS5ANQ.js} +1 -1
  18. package/dist/bundle/{chunk-LGKLQE2I.js → chunk-AWBJSYX6.js} +1 -1
  19. package/dist/bundle/{chunk-ADLIUGL2.js → chunk-BGVODG6P.js} +2 -2
  20. package/dist/bundle/{chunk-T3ZLOMWW.js → chunk-BMXGEQDA.js} +4 -4
  21. package/dist/bundle/{chunk-AQSKZMBD.js → chunk-BYDDYOF4.js} +7 -7
  22. package/dist/bundle/{chunk-JOSUY2NX.js → chunk-CJJVFGFX.js} +1 -1
  23. package/dist/bundle/{chunk-WLGQTYIO.js → chunk-DBZVF73F.js} +2 -2
  24. package/dist/bundle/{chunk-XQV7EMAI.js → chunk-DFZBGU4G.js} +4 -4
  25. package/dist/bundle/{chunk-LSP2NCNL.js → chunk-GGAG3G7B.js} +47 -47
  26. package/dist/bundle/{chunk-QWTHUKS4.js → chunk-GJS26XEB.js} +4 -4
  27. package/dist/bundle/{chunk-EW3Y44NV.js → chunk-H4LIQVPN.js} +9 -9
  28. package/dist/bundle/{chunk-6BQUCCBD.js → chunk-IY7IEM56.js} +4 -4
  29. package/dist/bundle/{chunk-2J3TUUCO.js → chunk-JAWXJILO.js} +2 -2
  30. package/dist/bundle/{chunk-GD6BOLZP.js → chunk-JZOXKRDG.js} +11 -6
  31. package/dist/bundle/{chunk-T5OFRHDS.js → chunk-KROO42KC.js} +5 -5
  32. package/dist/bundle/{chunk-WPRLG5SL.js → chunk-LA2OUJK5.js} +8 -8
  33. package/dist/bundle/{chunk-BLWCHZCW.js → chunk-MOZX3JX3.js} +2 -2
  34. package/dist/bundle/{chunk-2GQCWNX5.js → chunk-NCWB3KXP.js} +1 -1
  35. package/dist/bundle/{chunk-QI75LME5.js → chunk-NMTFZNFU.js} +26 -26
  36. package/dist/bundle/{chunk-E5Z4FGRD.js → chunk-NSQL3YRD.js} +20 -20
  37. package/dist/bundle/{chunk-XMKKBDEW.js → chunk-NUVHRCUK.js} +276 -259
  38. package/dist/bundle/{chunk-BZUO2KFV.js → chunk-O7VQHFMZ.js} +1 -1
  39. package/dist/bundle/{chunk-6XXI3AHJ.js → chunk-OIHAM73W.js} +1 -1
  40. package/dist/bundle/{chunk-PAHBZPZN.js → chunk-P4A27ETD.js} +46 -46
  41. package/dist/bundle/{chunk-ELQ5ORY2.js → chunk-P5KMLJQR.js} +195 -195
  42. package/dist/bundle/{chunk-EUTOFAUT.js → chunk-P5UG655O.js} +2 -2
  43. package/dist/bundle/{recognize-T5TPTI6P.js → chunk-PYRJO6B3.js} +6 -6
  44. package/dist/bundle/{chunk-C6NTI37N.js → chunk-REJM262E.js} +10 -10
  45. package/dist/bundle/{chunk-EPKGNUOZ.js → chunk-RGNKRI5T.js} +20 -20
  46. package/dist/bundle/{chunk-XXLAGQDN.js → chunk-STGY3EAZ.js} +1 -1
  47. package/dist/bundle/{chunk-VYFKWPIS.js → chunk-TEHAIU6I.js} +42 -42
  48. package/dist/bundle/{chunk-V7OXTQBY.js → chunk-TFV4UPQZ.js} +3 -3
  49. package/dist/bundle/{chunk-PHPXTRMS.js → chunk-TKCZYJAT.js} +374 -308
  50. package/dist/bundle/{chunk-XX37LKXG.js → chunk-VMKPRAIB.js} +4 -4
  51. package/dist/bundle/{chunk-GHAQXUH3.js → chunk-WFG7KFM4.js} +1 -1
  52. package/dist/bundle/{chunk-ONK66VVG.js → chunk-WS3S7DXT.js} +1 -1
  53. package/dist/bundle/{chunk-DECFDUNW.js → chunk-WXIGT6FY.js} +11 -11
  54. package/dist/bundle/{chunk-FO33YFWF.js → chunk-X7M7YZPF.js} +5 -5
  55. package/dist/bundle/{chunk-DC7O7TVJ.js → chunk-YA44IPCS.js} +1 -1
  56. package/dist/bundle/{chunk-67GS5BZI.js → chunk-YSDA3EWT.js} +92 -92
  57. package/dist/bundle/{command-contract-N5FA573V.js → command-contract-B4DA4MXP.js} +12 -12
  58. package/dist/bundle/decode-WEP3HD56.js +159 -0
  59. package/dist/bundle/{echarts-WLPTUTMR.js → echarts-MRMILSAF.js} +2 -2
  60. package/dist/bundle/{embed-IALJOWZJ.js → embed-LCLTUVUD.js} +3 -3
  61. package/dist/bundle/{embedder-ZY2TS2XJ.js → embedder-O4WNEXUC.js} +6 -6
  62. package/dist/bundle/{entry-67RA75VS.js → entry-7HDX6BDR.js} +3 -3
  63. package/dist/bundle/{first-run-QN3UUBJW.js → first-run-M7YVVQJS.js} +5 -5
  64. package/dist/bundle/{first-screen-FK4ZJQJY.js → first-screen-MXW3UZFB.js} +13 -13
  65. package/dist/bundle/{identity-X3YA364I.js → identity-EEMHQOTN.js} +1 -1
  66. package/dist/bundle/{instructions-355MU4CT.js → instructions-YIH3J4TI.js} +1 -1
  67. package/dist/bundle/{node-UGJWZLVB.js → node-YWT7RFN6.js} +2 -2
  68. package/dist/bundle/{node-sqlite-FJFIOC3K.js → node-sqlite-LVHTONMA.js} +2 -2
  69. package/dist/bundle/{oauth-EZGVL3PP.js → oauth-CADZB7TT.js} +4 -4
  70. package/dist/bundle/{open-ANYJ5AKD.js → open-AMRU27KK.js} +1 -1
  71. package/dist/bundle/{process-JVAQXITD.js → process-JC76J5UD.js} +1 -1
  72. package/dist/bundle/{program-QGSZY5SZ.js → program-FI6MTY2V.js} +40 -40
  73. package/dist/bundle/{prompt-EWF4ZSJO.js → prompt-SPYTHKHN.js} +2 -2
  74. package/dist/bundle/recognize-G5VVM6MU.js +22 -0
  75. package/dist/bundle/{remote-KOAALKIC.js → remote-Z3HW42CH.js} +4 -4
  76. package/dist/bundle/{rerank-MCXFZFRH.js → rerank-QJ5NLZUU.js} +4 -4
  77. package/dist/bundle/{serve-QEVXXJ2G.js → serve-3I4C6Y5X.js} +6 -6
  78. package/dist/bundle/{server-Y3ZLG44J.js → server-2L4BONHN.js} +26 -26
  79. package/dist/bundle/server-7TJ337SR.js +55 -0
  80. package/dist/bundle/{state-F2ZJV2VP.js → state-IXZYPH46.js} +3 -3
  81. package/dist/bundle/{store-QX7HBTOW.js → store-KS4XIA2R.js} +7 -7
  82. package/dist/bundle/store-maintenance-command-I3L24P22.js +44 -0
  83. package/dist/bundle/tg.js +2 -2
  84. package/dist/version.d.ts +1 -1
  85. package/dist/version.js +1 -1
  86. package/package.json +2 -2
  87. package/dist/bundle/server-6QM3GFZX.js +0 -55
  88. package/dist/bundle/store-maintenance-command-ZBOQSTHY.js +0 -44
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  wirecatDirectory
5
- } from "./chunk-PEIDCYF5.js";
5
+ } from "./chunk-53RW4KLL.js";
6
6
  import {
7
7
  CliError
8
8
  } from "./chunk-67SRVSPU.js";
@@ -10,7 +10,7 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/speech/install.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/speech/install.js
14
14
  import { createHash, randomUUID } from "node:crypto";
15
15
  import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
16
16
  import { rename, rm } from "node:fs/promises";
@@ -18,7 +18,7 @@ import { dirname, join } from "node:path";
18
18
  import { Readable, Transform } from "node:stream";
19
19
  import { pipeline } from "node:stream/promises";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/speech/models.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/speech/models.js
22
22
  var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
23
23
  var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
24
24
  var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
@@ -142,7 +142,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
142
142
  return model;
143
143
  }, "speechModel");
144
144
 
145
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/speech/install.js
145
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/speech/install.js
146
146
  var sharedModelsDirectory = /* @__PURE__ */ __name((kind, env = process.env) => join(wirecatDirectory(env), "models", kind), "sharedModelsDirectory");
147
147
  var modelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("audio", env), "modelsDirectory");
148
148
  var STALL_MS = 6e4;
@@ -21,7 +21,7 @@ var REASONS = defineReasons([
21
21
  ].map(([reason, code, message]) => ({ reason, code, message, details: [] })));
22
22
 
23
23
  // dist/version.js
24
- var VERSION = "0.106.0";
24
+ var VERSION = "0.107.0";
25
25
 
26
26
  // dist/identity.js
27
27
  var TG = {
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  openCache
5
- } from "./chunk-T5OFRHDS.js";
5
+ } from "./chunk-KROO42KC.js";
6
6
  import {
7
7
  CliError,
8
8
  isCliError
@@ -7,20 +7,20 @@ import {
7
7
  agentJson,
8
8
  commandAvailability,
9
9
  failureContext
10
- } from "./chunk-ID6TO5P5.js";
10
+ } from "./chunk-44UANKAI.js";
11
11
  import {
12
12
  callerOf
13
- } from "./chunk-WLGQTYIO.js";
13
+ } from "./chunk-DBZVF73F.js";
14
14
  import {
15
15
  lentConnection,
16
16
  onlineDeps,
17
17
  refuseLacking,
18
18
  servicesFor,
19
19
  storeModeDeps
20
- } from "./chunk-ELQ5ORY2.js";
20
+ } from "./chunk-P5KMLJQR.js";
21
21
  import {
22
22
  ENTITIES
23
- } from "./chunk-67GS5BZI.js";
23
+ } from "./chunk-YSDA3EWT.js";
24
24
  import {
25
25
  DEFAULT_OUTPUT_BYTES,
26
26
  LOCAL_WRITE,
@@ -43,16 +43,16 @@ import {
43
43
  sealed,
44
44
  startRecording,
45
45
  traceOf
46
- } from "./chunk-LSP2NCNL.js";
46
+ } from "./chunk-GGAG3G7B.js";
47
47
  import {
48
48
  currentCaller,
49
49
  keepsSuccess,
50
50
  runContextOf,
51
51
  withCaller
52
- } from "./chunk-AQSKZMBD.js";
52
+ } from "./chunk-BYDDYOF4.js";
53
53
  import {
54
54
  MAX_BUFFERED_INPUT
55
- } from "./chunk-C2MKA7SX.js";
55
+ } from "./chunk-53QVFV34.js";
56
56
  import {
57
57
  captureStreams,
58
58
  errorObjectOf,
@@ -101,7 +101,7 @@ import {
101
101
  __name
102
102
  } from "./chunk-ZVVMGPBJ.js";
103
103
 
104
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/mcp/agent.js
104
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/mcp/agent.js
105
105
  import { Readable } from "node:stream";
106
106
 
107
107
  // 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/standards/lint.js
@@ -2749,7 +2749,7 @@ var VOCABULARY = defineVocabulary({
2749
2749
  flags: [...HOW_FLAGS, ...WHAT_FLAGS, ...CALENDAR_FLAGS]
2750
2750
  });
2751
2751
 
2752
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2752
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/mcp/agent.js
2753
2753
  var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
2754
2754
  var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
2755
2755
  var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
@@ -2970,7 +2970,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
2970
2970
  }
2971
2971
  }, "runCommandForAgent");
2972
2972
 
2973
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2973
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/mcp/tool.js
2974
2974
  var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
2975
2975
  var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
2976
2976
  var message = pipe(
@@ -3229,7 +3229,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
3229
3229
  return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(error, context))));
3230
3230
  }, "failed");
3231
3231
 
3232
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3232
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/mcp/surface.js
3233
3233
  import { randomUUID } from "node:crypto";
3234
3234
  var MATCHES = 8;
3235
3235
  var ANSWER = answerSchema();
@@ -5,7 +5,7 @@ import {
5
5
  installFiles,
6
6
  megabytes,
7
7
  sharedModelsDirectory
8
- } from "./chunk-XX37LKXG.js";
8
+ } from "./chunk-VMKPRAIB.js";
9
9
  import {
10
10
  CliError
11
11
  } from "./chunk-67SRVSPU.js";
@@ -16,12 +16,12 @@ import {
16
16
  __name
17
17
  } from "./chunk-ZVVMGPBJ.js";
18
18
 
19
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
19
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
20
20
  import { readFileSync as readFileSync2 } from "node:fs";
21
21
  import { availableParallelism } from "node:os";
22
22
  import { basename, join as join2 } from "node:path";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
25
25
  import { createHash } from "node:crypto";
26
26
  import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
27
27
  import { join } from "node:path";
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
678
678
  return Unzip2;
679
679
  })();
680
680
 
681
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
681
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
682
682
  var ONNX_RUNTIME_VERSION = "1.30.0";
683
683
  var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
684
684
  name,
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
858
858
  return { ort, session: await ort.InferenceSession.create(bytes, options) };
859
859
  }, "openSession");
860
860
 
861
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
861
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
862
862
  var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
863
863
  var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
864
864
  var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/models/types.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.484.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._745f5d1ffb248c61bc3ef77928e0c2a2/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)