@wirecat/tg-cli 0.108.0 → 0.109.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 (101) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-YFWRJWL5.js → adapter-6JLFYFL5.js} +45 -44
  3. package/dist/bundle/{all-profiles-GQIZSF4W.js → all-profiles-X7Y3T5S4.js} +8 -8
  4. package/dist/bundle/{anthropic-BKWEDKPU.js → anthropic-LGVXAADT.js} +5 -5
  5. package/dist/bundle/{app-server-RJV7ICLH.js → app-server-UI3AFSJX.js} +40 -39
  6. package/dist/bundle/{bot-api-2PAH2JZ3.js → bot-api-TQYRNYJQ.js} +46 -45
  7. package/dist/bundle/{bot-history-DPPZ43F4.js → bot-history-DDNTNMNB.js} +15 -15
  8. package/dist/bundle/{bun-Q7COX3Z5.js → bun-WXGS6HML.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-YI4AYZXO.js → bun-sqlite-M6JEXKRT.js} +4 -4
  10. package/dist/bundle/{chunk-PQHYM2XC.js → chunk-25VC6U3A.js} +1 -1
  11. package/dist/bundle/{chunk-DNOJKQXQ.js → chunk-2ILQYCBY.js} +377 -286
  12. package/dist/bundle/{chunk-EWL3ZFOI.js → chunk-3PEZWXKO.js} +6 -6
  13. package/dist/bundle/{chunk-LY2LFJMU.js → chunk-4R4AH6FM.js} +117 -94
  14. package/dist/bundle/{chunk-CVWF3BFK.js → chunk-5SUFMBU5.js} +44 -44
  15. package/dist/bundle/chunk-76C5SSMR.js +379 -0
  16. package/dist/bundle/{chunk-5HPXENE5.js → chunk-7AJ2IESO.js} +1 -1
  17. package/dist/bundle/{chunk-PCMW3PW6.js → chunk-7T7ILNCU.js} +2 -2
  18. package/dist/bundle/{chunk-ZYBDAZFO.js → chunk-AD3QPYI3.js} +2 -2
  19. package/dist/bundle/{chunk-ON67U6WV.js → chunk-AGVKIJB7.js} +6 -6
  20. package/dist/bundle/{chunk-YJ6GFFEE.js → chunk-BESIMQ5U.js} +1 -1
  21. package/dist/bundle/{chunk-76OSISA3.js → chunk-BHPCZCX7.js} +2 -2
  22. package/dist/bundle/{chunk-3GXKJKIC.js → chunk-BZIZLEJN.js} +4 -4
  23. package/dist/bundle/{chunk-BOSMBW4I.js → chunk-C3RX3UOE.js} +11 -11
  24. package/dist/bundle/{chunk-KQFR7ZAA.js → chunk-CH2ESVV5.js} +22 -22
  25. package/dist/bundle/{chunk-WUF64WOG.js → chunk-CHI6D4D6.js} +4 -4
  26. package/dist/bundle/{chunk-DUWTG2GE.js → chunk-CVLDXFRP.js} +8 -8
  27. package/dist/bundle/{chunk-MFS52LTZ.js → chunk-DLAFGSTN.js} +1 -1
  28. package/dist/bundle/{chunk-XZXOGHU5.js → chunk-DO33KAMM.js} +71 -60
  29. package/dist/bundle/{chunk-77OOX2OE.js → chunk-DZVYGBZB.js} +79 -56
  30. package/dist/bundle/{chunk-WAGDZB62.js → chunk-GUFM5RLW.js} +2 -2
  31. package/dist/bundle/{chunk-REI5TPS3.js → chunk-IGIPIO4J.js} +11 -11
  32. package/dist/bundle/{chunk-LYLGLFWY.js → chunk-INYO2QFW.js} +3 -3
  33. package/dist/bundle/{chunk-3HYDKCXB.js → chunk-IULYECPC.js} +12 -12
  34. package/dist/bundle/{chunk-6MZ2ZBX4.js → chunk-IV2QWSPG.js} +2 -2
  35. package/dist/bundle/{chunk-6QTUYMGX.js → chunk-KHKC236O.js} +2 -2
  36. package/dist/bundle/{chunk-QVIT6SQ5.js → chunk-M62LF3QE.js} +613 -381
  37. package/dist/bundle/{chunk-KZPZFPGB.js → chunk-MF6NKU3Z.js} +81 -30
  38. package/dist/bundle/{chunk-WEDWIXIC.js → chunk-N56WXUCW.js} +2 -2
  39. package/dist/bundle/{chunk-T4SDOYPY.js → chunk-N5FSRC6H.js} +117 -70
  40. package/dist/bundle/{chunk-FG2QTYEF.js → chunk-NAVNCM5K.js} +1 -1
  41. package/dist/bundle/{chunk-F67VPIJL.js → chunk-OHLMHBDI.js} +28 -28
  42. package/dist/bundle/{chunk-SONKULUF.js → chunk-P55L4S6N.js} +3 -3
  43. package/dist/bundle/{chunk-OB5PPPXH.js → chunk-P57R2P75.js} +7 -7
  44. package/dist/bundle/{chunk-5P27JGGA.js → chunk-P5ILJ7MN.js} +5 -5
  45. package/dist/bundle/{chunk-AS2BVZU3.js → chunk-QQF7RDLR.js} +49 -24
  46. package/dist/bundle/{chunk-WKSLGPZQ.js → chunk-RD2NLJSU.js} +16 -4
  47. package/dist/bundle/{chunk-NCXCBVHO.js → chunk-S7B6MTXX.js} +6 -6
  48. package/dist/bundle/{chunk-CZANI3DM.js → chunk-SH63Q4QR.js} +22 -22
  49. package/dist/bundle/{chunk-BT6PWDM6.js → chunk-TMXNMO66.js} +3 -3
  50. package/dist/bundle/{chunk-4RDMNNVO.js → chunk-UIPBAT2T.js} +26 -14
  51. package/dist/bundle/{chunk-EBB7RFCW.js → chunk-UUQ3BH2Z.js} +2 -2
  52. package/dist/bundle/{chunk-VMU4SGCE.js → chunk-VFVMB3NV.js} +8 -6
  53. package/dist/bundle/{chunk-B7TFWNKJ.js → chunk-VYR2IIWW.js} +1 -1
  54. package/dist/bundle/{chunk-AOUB2QFP.js → chunk-WHYS6OSG.js} +2 -2
  55. package/dist/bundle/{chunk-ZHHVNTBJ.js → chunk-WNTXIQMB.js} +2 -2
  56. package/dist/bundle/{chunk-26PWIQPP.js → chunk-XJVGCCQE.js} +666 -782
  57. package/dist/bundle/{chunk-67SRVSPU.js → chunk-XMMWKHNY.js} +26 -9
  58. package/dist/bundle/{chunk-BL72ZIBV.js → chunk-YXCQ4DLZ.js} +1 -1
  59. package/dist/bundle/{chunk-3562DVQ7.js → chunk-YYOIULA2.js} +8 -8
  60. package/dist/bundle/{chunk-TVA3NXXO.js → chunk-ZFMS5G4H.js} +2 -2
  61. package/dist/bundle/{chunk-D6DBVPES.js → chunk-ZHP44EML.js} +3 -3
  62. package/dist/bundle/{chunk-VK2YLSK7.js → chunk-ZMZKZL3Y.js} +1 -1
  63. package/dist/bundle/{chunk-R5YOKYTE.js → chunk-ZUOS7QUB.js} +11 -11
  64. package/dist/bundle/command-contract-E2MWR3T3.js +32 -0
  65. package/dist/bundle/{decode-ZFAFVFWX.js → decode-RKPOGPBE.js} +19 -17
  66. package/dist/bundle/{echarts-SVXNTKGV.js → echarts-H5QQRBHI.js} +2 -2
  67. package/dist/bundle/{embed-V755YE7O.js → embed-7TVAPNP7.js} +5 -5
  68. package/dist/bundle/{embedder-MQAPNQBH.js → embedder-YOOHWWN6.js} +8 -8
  69. package/dist/bundle/{entry-ULQ3VOMQ.js → entry-SAKW5HEZ.js} +5 -5
  70. package/dist/bundle/{first-run-64BTWXDR.js → first-run-C744N572.js} +9 -9
  71. package/dist/bundle/first-screen-7GKUEIWS.js +30 -0
  72. package/dist/bundle/{identity-PW45VBUU.js → identity-NRWTZIQ4.js} +3 -3
  73. package/dist/bundle/{instructions-G3ZUIRRH.js → instructions-6LWRAW47.js} +1 -1
  74. package/dist/bundle/{mcp-OQBZXELQ.js → mcp-WSGVVZWI.js} +2 -2
  75. package/dist/bundle/{node-IDJXLZSX.js → node-XN4PIVWW.js} +2 -2
  76. package/dist/bundle/{node-sqlite-W22J37MG.js → node-sqlite-PCBGROGQ.js} +4 -4
  77. package/dist/bundle/{oauth-Q52LBXDE.js → oauth-PX6NGHUV.js} +6 -6
  78. package/dist/bundle/{open-YLD7VHEC.js → open-BKJGJ6GX.js} +3 -3
  79. package/dist/bundle/openai-MJP7CZXP.js +250 -0
  80. package/dist/bundle/{process-OBESF2XG.js → process-4PRR3MLT.js} +1 -1
  81. package/dist/bundle/{program-EBMWHOKQ.js → program-7YZUO42B.js} +48 -47
  82. package/dist/bundle/{prompt-FHHQF3MG.js → prompt-CILSZC2R.js} +4 -4
  83. package/dist/bundle/{proxy-transport-YSBYG26I.js → proxy-transport-FWGKTYBL.js} +4 -4
  84. package/dist/bundle/{recognize-QNHKHGKM.js → recognize-AVFDJAIL.js} +5 -3
  85. package/dist/bundle/{remote-RVZWRCCT.js → remote-2VYXGOM4.js} +6 -6
  86. package/dist/bundle/{rerank-KG2USEME.js → rerank-6FU2JPCD.js} +6 -6
  87. package/dist/bundle/{serve-I4MJKEQ4.js → serve-3YQOHBR6.js} +8 -8
  88. package/dist/bundle/server-S2K4YDDG.js +56 -0
  89. package/dist/bundle/{server-GV7SV3L6.js → server-TPK3LNEX.js} +32 -31
  90. package/dist/bundle/{state-AJKHWFBU.js → state-LLUNBLZE.js} +5 -5
  91. package/dist/bundle/{store-L3HFSSGJ.js → store-27FQ743G.js} +10 -10
  92. package/dist/bundle/store-maintenance-command-AFJMKEBK.js +45 -0
  93. package/dist/bundle/tg.js +4 -4
  94. package/dist/version.d.ts +1 -1
  95. package/dist/version.js +1 -1
  96. package/package.json +3 -3
  97. package/dist/bundle/command-contract-5GJV6EHG.js +0 -32
  98. package/dist/bundle/first-screen-YZCH4TEV.js +0 -30
  99. package/dist/bundle/server-AXMWFPNT.js +0 -55
  100. package/dist/bundle/store-maintenance-command-Y22ARSDR.js +0 -44
  101. /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-62EDJKGP.js} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/errors.js
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
8
8
  var errorCodes = [
9
9
  "validation_error",
10
10
  "configuration_error",
@@ -1918,7 +1918,7 @@ function toStandardJsonSchema(schema) {
1918
1918
  }
1919
1919
  __name(toStandardJsonSchema, "toStandardJsonSchema");
1920
1920
 
1921
- // 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/registry.js
1921
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
1922
1922
  var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
1923
1923
  var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
1924
1924
  var text = pipe(string(), regex(/\S/, "must not be empty"));
@@ -1960,7 +1960,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
1960
1960
  return String(value);
1961
1961
  }), "fill");
1962
1962
 
1963
- // 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/effects.js
1963
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
1964
1964
  var EFFECT_LEVELS = ["none", "read", "write"];
1965
1965
  var effectsSchema = strictObject({
1966
1966
  remote: picklist(EFFECT_LEVELS),
@@ -1968,7 +1968,7 @@ var effectsSchema = strictObject({
1968
1968
  });
1969
1969
  var writes = /* @__PURE__ */ __name((effects) => effects === void 0 || effects.remote === "write" || effects.local === "write", "writes");
1970
1970
 
1971
- // 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/output.js
1971
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
1972
1972
  var MAX_NEXT_STEPS = 2;
1973
1973
  var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
1974
1974
  var reference = pipe(string(), regex(/^[a-z]+:\S+$/, "a reference such as `note:42`"));
@@ -2003,14 +2003,25 @@ var missingSchema = strictObject({
2003
2003
  step: optional(dottedId)
2004
2004
  });
2005
2005
  var limit = pipe(number(), integer(), minValue(1));
2006
+ var totalSchema = strictObject({
2007
+ value: pipe(number(), integer(), minValue(0)),
2008
+ relation: picklist(["eq", "gte"])
2009
+ });
2006
2010
  var pageSchema = variant("mode", [
2007
2011
  strictObject({
2008
2012
  mode: literal("page"),
2009
2013
  limit,
2010
2014
  has_more: boolean(),
2011
- next_page: optional(pipe(number(), integer(), minValue(2)))
2015
+ next_page: optional(pipe(number(), integer(), minValue(2))),
2016
+ total: optional(totalSchema)
2012
2017
  }),
2013
- strictObject({ mode: literal("cursor"), limit, has_more: boolean(), next_cursor: optional(text) })
2018
+ strictObject({
2019
+ mode: literal("cursor"),
2020
+ limit,
2021
+ has_more: boolean(),
2022
+ next_cursor: optional(text),
2023
+ total: optional(totalSchema)
2024
+ })
2014
2025
  ]);
2015
2026
  var issueSchema = strictObject({
2016
2027
  code: picklist(errorCodes),
@@ -2053,7 +2064,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
2053
2064
  JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
2054
2065
  ].join("\n"), "jsonlOf");
2055
2066
 
2056
- // 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/errors.js
2067
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
2057
2068
  var CRASH_CODE = "internal_error";
2058
2069
  var CRASH_REASON = "command.crashed";
2059
2070
  var errorObjectSchema = strictObject({
@@ -2100,6 +2111,12 @@ var BASE_REASONS = defineReasons([
2100
2111
  { reason: "auth.failed", code: "authentication_error", message: "the sign-in did not work", details: [] },
2101
2112
  { reason: "access.denied", code: "permission_error", message: "this account may not do that", details: [] },
2102
2113
  { reason: "item.not-found", code: "not_found", message: "nothing found by that name", details: [] },
2114
+ {
2115
+ reason: "tool.not-installed",
2116
+ code: "not_found",
2117
+ message: "no wcat-<name> program by that name is on PATH",
2118
+ details: ["tool", "installed"]
2119
+ },
2103
2120
  {
2104
2121
  reason: "confirmation.required",
2105
2122
  code: "confirmation_required",
@@ -2134,7 +2151,7 @@ var BASE_REASONS = defineReasons([
2134
2151
  { reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
2135
2152
  ]);
2136
2153
 
2137
- // 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/steps.js
2154
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
2138
2155
  var SAME_COMMAND = "*";
2139
2156
  var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
2140
2157
  var stepSchema = union([
@@ -2213,7 +2230,7 @@ var STEPS = defineSteps([
2213
2230
  }
2214
2231
  ]);
2215
2232
 
2216
- // 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/log.js
2233
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
2217
2234
  var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
2218
2235
  var logRecordSchema = strictObject({
2219
2236
  time: isoTime,
@@ -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_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
8
8
  var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
9
9
  const all = typeof profile !== "string";
10
10
  const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
@@ -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-67SRVSPU.js";
5
+ } from "./chunk-XMMWKHNY.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_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/search/languages.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/search/languages.js
11
11
  var LANGUAGES = [
12
12
  { name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
13
13
  { name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
@@ -15,12 +15,12 @@ var LANGUAGES = [
15
15
  ];
16
16
  var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/store/normalize.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/store/normalize.js
19
19
  var NORMALIZER_VERSION = 1;
20
20
  var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
21
21
  var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
22
22
 
23
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
24
24
  var BaseStemmer = class {
25
25
  static {
26
26
  __name(this, "BaseStemmer");
@@ -395,7 +395,7 @@ var BaseStemmer = class {
395
395
  }
396
396
  };
397
397
 
398
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
398
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
399
399
  var a_0 = [
400
400
  ["arsen", -1],
401
401
  ["commun", -1],
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
1096
1096
  stemWord = this.stem;
1097
1097
  };
1098
1098
 
1099
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1099
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
1100
1100
  var a_02 = [
1101
1101
  ["\u0432", 1],
1102
1102
  ["\u0438\u0432", 2, 1],
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
1519
1519
  stemWord = this.stem;
1520
1520
  };
1521
1521
 
1522
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1522
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
1523
1523
  var a_03 = [
1524
1524
  ["", 6],
1525
1525
  ["\xE1", 1, 1],
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
2195
2195
  stemWord = this.stem;
2196
2196
  };
2197
2197
 
2198
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/search/stem.js
2198
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/search/stem.js
2199
2199
  var SNOWBALL_VERSION = "3.1.1";
2200
2200
  var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
2201
2201
  var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  defineReasons
5
- } from "./chunk-67SRVSPU.js";
5
+ } from "./chunk-XMMWKHNY.js";
6
6
 
7
7
  // dist/reasons.js
8
8
  var REASONS = defineReasons([
@@ -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.108.0";
24
+ var VERSION = "0.109.0";
25
25
 
26
26
  // dist/identity.js
27
27
  var TG = {
@@ -4,15 +4,15 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-AOUB2QFP.js";
7
+ } from "./chunk-WHYS6OSG.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-67SRVSPU.js";
10
+ } from "./chunk-XMMWKHNY.js";
11
11
  import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
16
16
  import { createInterface } from "node:readline";
17
17
  import { Writable } from "node:stream";
18
18
  var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
@@ -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_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/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) {
@@ -3,17 +3,17 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  envName,
5
5
  readOnlyLockOf
6
- } from "./chunk-PCMW3PW6.js";
6
+ } from "./chunk-7T7ILNCU.js";
7
7
  import {
8
8
  CAPABILITY_STATEMENTS,
9
9
  storeCapable
10
- } from "./chunk-NCXCBVHO.js";
10
+ } from "./chunk-S7B6MTXX.js";
11
11
  import {
12
12
  catchCrashes
13
- } from "./chunk-T4SDOYPY.js";
13
+ } from "./chunk-N5FSRC6H.js";
14
14
  import {
15
15
  CliError
16
- } from "./chunk-67SRVSPU.js";
16
+ } from "./chunk-XMMWKHNY.js";
17
17
  import {
18
18
  importFrom
19
19
  } from "./chunk-Y5E2WNWB.js";
@@ -21,10 +21,10 @@ import {
21
21
  __name
22
22
  } from "./chunk-ZVVMGPBJ.js";
23
23
 
24
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/cli/entry.js
25
25
  import { spawn as spawn2 } from "node:child_process";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
28
28
  import { spawn, spawnSync } from "node:child_process";
29
29
  import { readFileSync } from "node:fs";
30
30
  import { dirname } from "node:path";
@@ -112,7 +112,7 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
112
112
  });
113
113
  }), "relay");
114
114
 
115
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
115
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
116
116
  import { appendFileSync } from "node:fs";
117
117
  var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
118
118
  const words = [];
@@ -136,7 +136,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
136
136
  `);
137
137
  }, "logVersion");
138
138
 
139
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/cli/entry.js
139
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/cli/entry.js
140
140
  var processIo = /* @__PURE__ */ __name(() => ({
141
141
  argv: process.argv,
142
142
  env: process.env,
@@ -190,8 +190,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
190
190
  if (command.optsWithGlobals().dryRun === true)
191
191
  return;
192
192
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
193
- import("./first-run-64BTWXDR.js"),
194
- import("./command-contract-5GJV6EHG.js")
193
+ import("./first-run-C744N572.js"),
194
+ import("./command-contract-E2MWR3T3.js")
195
195
  ]);
196
196
  await setupAtStart({
197
197
  command: entry.app.command,
@@ -206,7 +206,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
206
206
  ask: /* @__PURE__ */ __name(async (question, command) => {
207
207
  if (headless(command) || io.stdin.isTTY !== true)
208
208
  return false;
209
- const { readSecret } = await import("./prompt-FHHQF3MG.js");
209
+ const { readSecret } = await import("./prompt-CILSZC2R.js");
210
210
  const answer = await readSecret(`${question} [y/N] `, {
211
211
  input: io.stdin,
212
212
  output: io.stderr,
@@ -0,0 +1,32 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-P5ILJ7MN.js";
10
+ import "./chunk-4R4AH6FM.js";
11
+ import "./chunk-DZVYGBZB.js";
12
+ import "./chunk-RD2NLJSU.js";
13
+ import "./chunk-CVLDXFRP.js";
14
+ import "./chunk-P55L4S6N.js";
15
+ import "./chunk-7T7ILNCU.js";
16
+ import "./chunk-25VC6U3A.js";
17
+ import "./chunk-IULYECPC.js";
18
+ import "./chunk-DO33KAMM.js";
19
+ import "./chunk-AGVKIJB7.js";
20
+ import "./chunk-62EDJKGP.js";
21
+ import "./chunk-UUQ3BH2Z.js";
22
+ import "./chunk-N5FSRC6H.js";
23
+ import "./chunk-XMMWKHNY.js";
24
+ import "./chunk-Y5E2WNWB.js";
25
+ import "./chunk-ZVVMGPBJ.js";
26
+ export {
27
+ SCHEMA_DIALECT,
28
+ commandContract,
29
+ commandPathOf,
30
+ findCommand,
31
+ outputOf
32
+ };
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  SAMPLE_RATE,
5
5
  decodeOgg
6
- } from "./chunk-AS2BVZU3.js";
7
- import "./chunk-T4SDOYPY.js";
6
+ } from "./chunk-QQF7RDLR.js";
7
+ import "./chunk-N5FSRC6H.js";
8
8
  import {
9
9
  CliError
10
- } from "./chunk-67SRVSPU.js";
10
+ } from "./chunk-XMMWKHNY.js";
11
11
  import {
12
12
  importFrom
13
13
  } from "./chunk-Y5E2WNWB.js";
@@ -15,7 +15,7 @@ import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/speech/decode.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/speech/decode.js
19
19
  import { spawn } from "node:child_process";
20
20
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
21
21
  import { createRequire } from "node:module";
@@ -42,19 +42,18 @@ var formatOf = /* @__PURE__ */ __name((bytes) => {
42
42
  return "mp3";
43
43
  return "other";
44
44
  }, "formatOf");
45
- var firstChannel = /* @__PURE__ */ __name((decoded) => {
46
- const samples = decoded.channelData[0];
47
- if (!samples || decoded.samplesDecoded === 0)
45
+ var everyChannel = /* @__PURE__ */ __name((decoded) => {
46
+ if (!decoded.channelData[0] || decoded.samplesDecoded === 0)
48
47
  throw new CliError("validation_error", "no audio in that file");
49
- return { samples, rate: decoded.sampleRate };
50
- }, "firstChannel");
48
+ return decoded.channelData.map((samples) => ({ samples, rate: decoded.sampleRate }));
49
+ }, "everyChannel");
51
50
  var load = /* @__PURE__ */ __name((name) => importFrom(new URL("speech/decode.js", import.meta.resolve("@wirecat/cli-core")).href, pathToFileURL(createRequire(new URL("speech/decode.js", import.meta.resolve("@wirecat/cli-core")).href).resolve(name)).href), "load");
52
51
  var decodeVorbis = /* @__PURE__ */ __name(async (bytes) => {
53
52
  const { OggVorbisDecoder } = await load("@wasm-audio-decoders/ogg-vorbis");
54
53
  const decoder = new OggVorbisDecoder();
55
54
  await decoder.ready;
56
55
  try {
57
- return firstChannel(await decoder.decodeFile(bytes));
56
+ return everyChannel(await decoder.decodeFile(bytes));
58
57
  } finally {
59
58
  decoder.free();
60
59
  }
@@ -64,7 +63,7 @@ var decodeFlac = /* @__PURE__ */ __name(async (bytes) => {
64
63
  const decoder = new FLACDecoder();
65
64
  await decoder.ready;
66
65
  try {
67
- return firstChannel(await decoder.decodeFile(bytes));
66
+ return everyChannel(await decoder.decodeFile(bytes));
68
67
  } finally {
69
68
  decoder.free();
70
69
  }
@@ -74,7 +73,7 @@ var decodeMp3 = /* @__PURE__ */ __name(async (bytes) => {
74
73
  const decoder = new MPEGDecoder();
75
74
  await decoder.ready;
76
75
  try {
77
- return firstChannel(decoder.decode(bytes));
76
+ return everyChannel(decoder.decode(bytes));
78
77
  } finally {
79
78
  decoder.free();
80
79
  }
@@ -142,18 +141,21 @@ var BUNDLED = {
142
141
  flac: decodeFlac,
143
142
  mp3: decodeMp3
144
143
  };
145
- var decodeAudio = /* @__PURE__ */ __name(async (bytes, ffmpeg = runFfmpeg) => {
144
+ var tooLong = /* @__PURE__ */ __name((pcm) => pcm.samples.length / pcm.rate > LONGEST_AUDIO_SECONDS, "tooLong");
145
+ var decodeChannels = /* @__PURE__ */ __name(async (bytes, ffmpeg = runFfmpeg) => {
146
146
  const format = formatOf(bytes);
147
- const pcm = format === "other" ? await ffmpeg(bytes) : await BUNDLED[format](bytes).catch((error) => ffmpeg(bytes).catch(() => {
147
+ const decoded = format === "other" ? { channels: [await ffmpeg(bytes)], mixed: true } : await BUNDLED[format](bytes).then((channels) => ({ channels, mixed: false }), (error) => ffmpeg(bytes).then((pcm) => ({ channels: [pcm], mixed: true }), () => {
148
148
  throw error;
149
149
  }));
150
- if (pcm.samples.length / pcm.rate > LONGEST_AUDIO_SECONDS)
150
+ if (decoded.channels.some(tooLong))
151
151
  throw new CliError("validation_error", `the audio is longer than ${LONGEST_AUDIO_SECONDS / 60} minutes`);
152
- return pcm;
153
- }, "decodeAudio");
152
+ return decoded;
153
+ }, "decodeChannels");
154
+ var decodeAudio = /* @__PURE__ */ __name(async (bytes, ffmpeg = runFfmpeg) => (await decodeChannels(bytes, ffmpeg)).channels[0], "decodeAudio");
154
155
  export {
155
156
  LONGEST_AUDIO_SECONDS,
156
157
  decodeAudio,
158
+ decodeChannels,
157
159
  formatOf,
158
160
  runFfmpeg
159
161
  };
@@ -42399,7 +42399,7 @@ function install11(registers) {
42399
42399
  }
42400
42400
  __name(install11, "install");
42401
42401
 
42402
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42402
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
42403
42403
  var echartsOption = /* @__PURE__ */ __name((chart) => ({
42404
42404
  animation: false,
42405
42405
  backgroundColor: "#111827",
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
42447
42447
  } : {}
42448
42448
  }), "echartsOption");
42449
42449
 
42450
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42450
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/charts/echarts.js
42451
42451
  use([install2, install, install6, install5, install10, install7, install11]);
42452
42452
  var echartsRenderer = {
42453
42453
  render: /* @__PURE__ */ __name(async (chart, size) => {
@@ -13,11 +13,11 @@ import {
13
13
  truncated,
14
14
  unit,
15
15
  warmEmbedders
16
- } from "./chunk-EWL3ZFOI.js";
17
- import "./chunk-3HYDKCXB.js";
18
- import "./chunk-EBB7RFCW.js";
19
- import "./chunk-T4SDOYPY.js";
20
- import "./chunk-67SRVSPU.js";
16
+ } from "./chunk-3PEZWXKO.js";
17
+ import "./chunk-IULYECPC.js";
18
+ import "./chunk-UUQ3BH2Z.js";
19
+ import "./chunk-N5FSRC6H.js";
20
+ import "./chunk-XMMWKHNY.js";
21
21
  import "./chunk-Y5E2WNWB.js";
22
22
  import "./chunk-ZVVMGPBJ.js";
23
23
  export {
@@ -4,13 +4,13 @@ import {
4
4
  openSession,
5
5
  truncated,
6
6
  unit
7
- } from "./chunk-EWL3ZFOI.js";
8
- import "./chunk-3HYDKCXB.js";
9
- import "./chunk-EBB7RFCW.js";
10
- import "./chunk-T4SDOYPY.js";
7
+ } from "./chunk-3PEZWXKO.js";
8
+ import "./chunk-IULYECPC.js";
9
+ import "./chunk-UUQ3BH2Z.js";
10
+ import "./chunk-N5FSRC6H.js";
11
11
  import {
12
12
  CliError
13
- } from "./chunk-67SRVSPU.js";
13
+ } from "./chunk-XMMWKHNY.js";
14
14
  import {
15
15
  importFrom
16
16
  } from "./chunk-Y5E2WNWB.js";
@@ -18,11 +18,11 @@ import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
22
22
  import { readFileSync } from "node:fs";
23
23
  import { join } from "node:path";
24
24
 
25
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
25
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
26
26
  var SIZE = 224;
27
27
  var MEAN = [0.48145466, 0.4578275, 0.40821073];
28
28
  var STD = [0.26862954, 0.26130258, 0.27577711];
@@ -61,7 +61,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
61
61
  return pixels;
62
62
  }, "preprocess");
63
63
 
64
- // node_modules/.pnpm/@wirecat+cli-core@0.491.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._95f40a748301e48ce1af109feea5b293/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
64
+ // node_modules/.pnpm/@wirecat+cli-core@0.501.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.67.0_commander@15._175d7b0a70ee7b08949f50032917d93e/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
65
65
  var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
66
66
  const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
67
67
  const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  startCli
5
- } from "./chunk-R5YOKYTE.js";
6
- import "./chunk-PCMW3PW6.js";
7
- import "./chunk-NCXCBVHO.js";
8
- import "./chunk-T4SDOYPY.js";
9
- import "./chunk-67SRVSPU.js";
5
+ } from "./chunk-ZUOS7QUB.js";
6
+ import "./chunk-7T7ILNCU.js";
7
+ import "./chunk-S7B6MTXX.js";
8
+ import "./chunk-N5FSRC6H.js";
9
+ import "./chunk-XMMWKHNY.js";
10
10
  import "./chunk-Y5E2WNWB.js";
11
11
  import "./chunk-ZVVMGPBJ.js";
12
12
  export {
@@ -5,15 +5,15 @@ import {
5
5
  asksAtStart,
6
6
  setupAtStart,
7
7
  systemLanguage
8
- } from "./chunk-BOSMBW4I.js";
9
- import "./chunk-VMU4SGCE.js";
10
- import "./chunk-MFS52LTZ.js";
11
- import "./chunk-SONKULUF.js";
12
- import "./chunk-3562DVQ7.js";
13
- import "./chunk-ON67U6WV.js";
14
- import "./chunk-EBB7RFCW.js";
15
- import "./chunk-T4SDOYPY.js";
16
- import "./chunk-67SRVSPU.js";
8
+ } from "./chunk-C3RX3UOE.js";
9
+ import "./chunk-VFVMB3NV.js";
10
+ import "./chunk-DLAFGSTN.js";
11
+ import "./chunk-P55L4S6N.js";
12
+ import "./chunk-YYOIULA2.js";
13
+ import "./chunk-AGVKIJB7.js";
14
+ import "./chunk-UUQ3BH2Z.js";
15
+ import "./chunk-N5FSRC6H.js";
16
+ import "./chunk-XMMWKHNY.js";
17
17
  import "./chunk-Y5E2WNWB.js";
18
18
  import "./chunk-ZVVMGPBJ.js";
19
19
  export {
@@ -0,0 +1,30 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ WIRECAT_TOOLS,
5
+ firstScreen,
6
+ installHelp
7
+ } from "./chunk-P57R2P75.js";
8
+ import "./chunk-2ABQZVK4.js";
9
+ import "./chunk-P5ILJ7MN.js";
10
+ import "./chunk-4R4AH6FM.js";
11
+ import "./chunk-DZVYGBZB.js";
12
+ import "./chunk-RD2NLJSU.js";
13
+ import "./chunk-CVLDXFRP.js";
14
+ import "./chunk-P55L4S6N.js";
15
+ import "./chunk-7T7ILNCU.js";
16
+ import "./chunk-25VC6U3A.js";
17
+ import "./chunk-IULYECPC.js";
18
+ import "./chunk-DO33KAMM.js";
19
+ import "./chunk-AGVKIJB7.js";
20
+ import "./chunk-62EDJKGP.js";
21
+ import "./chunk-UUQ3BH2Z.js";
22
+ import "./chunk-N5FSRC6H.js";
23
+ import "./chunk-XMMWKHNY.js";
24
+ import "./chunk-Y5E2WNWB.js";
25
+ import "./chunk-ZVVMGPBJ.js";
26
+ export {
27
+ WIRECAT_TOOLS,
28
+ firstScreen,
29
+ installHelp
30
+ };
@@ -2,9 +2,9 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  TG
5
- } from "./chunk-TVA3NXXO.js";
6
- import "./chunk-O5EHUB2V.js";
7
- import "./chunk-67SRVSPU.js";
5
+ } from "./chunk-ZFMS5G4H.js";
6
+ import "./chunk-62EDJKGP.js";
7
+ import "./chunk-XMMWKHNY.js";
8
8
  import "./chunk-ZVVMGPBJ.js";
9
9
  export {
10
10
  TG
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  appInstructions,
5
5
  instructions
6
- } from "./chunk-BL72ZIBV.js";
6
+ } from "./chunk-YXCQ4DLZ.js";
7
7
  import "./chunk-ZVVMGPBJ.js";
8
8
  export {
9
9
  appInstructions,
@@ -4,13 +4,13 @@ import {
4
4
  executableEnvironment,
5
5
  executableOnPath,
6
6
  require_cross_spawn
7
- } from "./chunk-MFS52LTZ.js";
7
+ } from "./chunk-DLAFGSTN.js";
8
8
  import {
9
9
  __name,
10
10
  __toESM
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/mcp/index.js
13
+ // node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
14
14
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
15
15
  var realRun = /* @__PURE__ */ __name((file, args) => {
16
16
  const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {