@wirecat/tg-cli 0.122.0 → 0.123.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 (105) hide show
  1. package/contracts/wirecat.json +15 -0
  2. package/dist/bin/tg.js +2 -2
  3. package/dist/bundle/{adapter-ZI57T2L5.js → adapter-GAOG65O2.js} +46 -46
  4. package/dist/bundle/{all-profiles-7VXJF42C.js → all-profiles-HLE6PHNI.js} +8 -8
  5. package/dist/bundle/{anthropic-DKRXIWVV.js → anthropic-FZC4BS7T.js} +4 -4
  6. package/dist/bundle/{app-server-F5MKHZ7S.js → app-server-SHZNMV27.js} +40 -40
  7. package/dist/bundle/{bot-api-F24NWJT3.js → bot-api-LRS2KMDE.js} +46 -46
  8. package/dist/bundle/{bot-history-U3WM3A7S.js → bot-history-IJ7ZZKW5.js} +16 -16
  9. package/dist/bundle/{bun-OMTJAXGK.js → bun-FACL53HM.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-HSYLO46A.js → bun-sqlite-B2MD7RTL.js} +8 -4
  11. package/dist/bundle/{chunk-ZNPRTCUO.js → chunk-3BUQXB7B.js} +7 -7
  12. package/dist/bundle/{chunk-DCGGZUNJ.js → chunk-3JISIGLP.js} +2 -2
  13. package/dist/bundle/{chunk-VDFEWSCS.js → chunk-3P7HWXDJ.js} +3 -3
  14. package/dist/bundle/{chunk-U6HEZPCR.js → chunk-3S6KZCZ7.js} +1 -1
  15. package/dist/bundle/{chunk-ARKB3M5X.js → chunk-4DCFLHLN.js} +3 -3
  16. package/dist/bundle/{chunk-VC6J7X76.js → chunk-5IHYZ6ED.js} +11 -11
  17. package/dist/bundle/{chunk-7DPWVKYS.js → chunk-5R5HGV2J.js} +2 -2
  18. package/dist/bundle/{chunk-DTTONQW7.js → chunk-6FK2Z75N.js} +2 -2
  19. package/dist/bundle/{chunk-GJBGZQHN.js → chunk-6KT5BTWL.js} +162 -149
  20. package/dist/bundle/{chunk-6LMEIELG.js → chunk-7EFJHLKW.js} +1 -1
  21. package/dist/bundle/{chunk-N7WDVH2O.js → chunk-ADI5R2MM.js} +29 -29
  22. package/dist/bundle/{chunk-YFEH7OWG.js → chunk-B6G3TNN4.js} +14 -14
  23. package/dist/bundle/{chunk-PG3V225O.js → chunk-BAB3ALHZ.js} +27 -24
  24. package/dist/bundle/{chunk-R2IW6JBV.js → chunk-BGUYYKS3.js} +48 -48
  25. package/dist/bundle/{chunk-4MFMUBHH.js → chunk-DEMGDKCX.js} +77 -77
  26. package/dist/bundle/{chunk-Y74WJL3M.js → chunk-E2Z4C6CQ.js} +2 -2
  27. package/dist/bundle/{chunk-FZKHFTKH.js → chunk-EABZ2CUG.js} +15 -14
  28. package/dist/bundle/{chunk-SODUFMDW.js → chunk-EISV5YWD.js} +1060 -913
  29. package/dist/bundle/{chunk-33ELXJRR.js → chunk-ENEMZAIJ.js} +10 -10
  30. package/dist/bundle/{chunk-7FWU4RON.js → chunk-EOUUI5FI.js} +3 -3
  31. package/dist/bundle/{chunk-VQL4RVXZ.js → chunk-FFHX7VKP.js} +1 -1
  32. package/dist/bundle/{chunk-7I6YVQHW.js → chunk-HJLTWT52.js} +1 -1
  33. package/dist/bundle/{chunk-ZKHXWSKD.js → chunk-I7K4OR5Q.js} +4 -4
  34. package/dist/bundle/chunk-KKMNMQMW.js +53 -0
  35. package/dist/bundle/{chunk-FHWUOFWX.js → chunk-MFN5MSIL.js} +3 -3
  36. package/dist/bundle/{chunk-NE3EGYPD.js → chunk-NYRAW4M5.js} +3 -3
  37. package/dist/bundle/{chunk-V4BPS7MH.js → chunk-OE5JMZSM.js} +6 -6
  38. package/dist/bundle/{chunk-W34QQMBK.js → chunk-OOWE2O5U.js} +1 -1
  39. package/dist/bundle/{chunk-HAR76KJG.js → chunk-PAHSIORC.js} +5 -5
  40. package/dist/bundle/{chunk-GJFICFQB.js → chunk-PZJXQMSZ.js} +1 -1
  41. package/dist/bundle/{chunk-7GCVON7M.js → chunk-PZQ2MQFX.js} +5 -5
  42. package/dist/bundle/{chunk-7X6YLKTK.js → chunk-Q74XVJFT.js} +1 -1
  43. package/dist/bundle/{chunk-O5A4IS2D.js → chunk-QLB3BFSN.js} +1 -1
  44. package/dist/bundle/{chunk-CB6AHU6H.js → chunk-QLXKWAET.js} +20 -11
  45. package/dist/bundle/{chunk-YDMKP7PO.js → chunk-QVMAZVSN.js} +1 -1
  46. package/dist/bundle/{chunk-CW3C7FSO.js → chunk-RDKPKS2P.js} +1 -1
  47. package/dist/bundle/{chunk-ALW7ROTM.js → chunk-SCGCDLI7.js} +1 -1
  48. package/dist/bundle/{chunk-WGGSFGNZ.js → chunk-SMFUKHG2.js} +24 -0
  49. package/dist/bundle/{chunk-DDSAJKPO.js → chunk-SNEJK4SN.js} +4 -4
  50. package/dist/bundle/{chunk-4N2WJYLE.js → chunk-STPYSD6W.js} +2 -2
  51. package/dist/bundle/{chunk-NU4RMUMQ.js → chunk-SWGGYBCW.js} +13 -13
  52. package/dist/bundle/{chunk-6DLRATDC.js → chunk-T5OO7VDT.js} +302 -260
  53. package/dist/bundle/{chunk-D3ODL4P7.js → chunk-U5FILNK6.js} +2 -2
  54. package/dist/bundle/{chunk-2UHANFLM.js → chunk-UB6J5HRW.js} +3 -3
  55. package/dist/bundle/{chunk-E3MFMMVY.js → chunk-UBFDPLFQ.js} +5 -5
  56. package/dist/bundle/{chunk-QROAXWDU.js → chunk-V23X3W2W.js} +7 -7
  57. package/dist/bundle/{chunk-UGEYQWEO.js → chunk-V4722KYX.js} +1 -1
  58. package/dist/bundle/{chunk-C5CB6RIX.js → chunk-V4JEZFW5.js} +1 -1
  59. package/dist/bundle/{chunk-2FXA32RJ.js → chunk-VVRWH5VH.js} +7 -7
  60. package/dist/bundle/{chunk-TKJZENAZ.js → chunk-WA7YED3Y.js} +1 -1
  61. package/dist/bundle/{chunk-LQRZUNYF.js → chunk-WSLTW6MI.js} +2 -2
  62. package/dist/bundle/{chunk-FYHFAOPM.js → chunk-XDL4L3OI.js} +9103 -8607
  63. package/dist/bundle/{chunk-27SVHRHV.js → chunk-Z5HHBTS5.js} +2 -2
  64. package/dist/bundle/{chunk-MFWWZ6XL.js → chunk-ZJPXRW65.js} +3 -3
  65. package/dist/bundle/{chunk-FATTEYZH.js → chunk-ZOBRYIUG.js} +1 -1
  66. package/dist/bundle/{chunk-RFFU6KQ5.js → chunk-ZQ3WGGKK.js} +12 -12
  67. package/dist/bundle/command-contract-HWSWHMO4.js +33 -0
  68. package/dist/bundle/{command-server-entry-N32NX4QW.js → command-server-entry-5LKDRLEX.js} +20 -20
  69. package/dist/bundle/{decode-ZKJWSFXF.js → decode-L4DQDHXA.js} +4 -4
  70. package/dist/bundle/{dispatch-U2DW6UI7.js → dispatch-PQSCFHEX.js} +1 -1
  71. package/dist/bundle/{echarts-QLVLIP73.js → echarts-6LES2JIV.js} +2 -2
  72. package/dist/bundle/{embed-LC6K7P3S.js → embed-T5MLKX75.js} +5 -5
  73. package/dist/bundle/{embedder-6C3OQBOV.js → embedder-56NMRLC5.js} +8 -8
  74. package/dist/bundle/{entry-5H6LB3MP.js → entry-U5GV6Y46.js} +7 -7
  75. package/dist/bundle/{failure-HJD7S5UA.js → failure-BX5HJAQE.js} +1 -1
  76. package/dist/bundle/{first-run-IOYQ4XQK.js → first-run-ISQ52V3I.js} +8 -8
  77. package/dist/bundle/first-screen-7L4AMZDO.js +31 -0
  78. package/dist/bundle/{instructions-SZUMEDY3.js → instructions-CJEXDI7E.js} +1 -1
  79. package/dist/bundle/{node-V76RRFIA.js → node-QLWTGZW7.js} +2 -2
  80. package/dist/bundle/{node-sqlite-2DTVOT7L.js → node-sqlite-X2C3RR2Q.js} +9 -5
  81. package/dist/bundle/{oauth-CT7EBDRY.js → oauth-VP3KMHLX.js} +6 -6
  82. package/dist/bundle/{open-G3VHOOMV.js → open-GLR5EUZS.js} +4 -4
  83. package/dist/bundle/{openai-F4K7MVTZ.js → openai-6CDCJ5LQ.js} +12 -12
  84. package/dist/bundle/{process-XH3KEHSF.js → process-7FABZ3T2.js} +1 -1
  85. package/dist/bundle/{program-FLGIHTHM.js → program-KUIAHJDX.js} +49 -49
  86. package/dist/bundle/{prompt-JWQ6UQ6R.js → prompt-XPHIZMD2.js} +4 -4
  87. package/dist/bundle/{proxy-transport-ENU2SJYT.js → proxy-transport-IIB7ZXIS.js} +4 -4
  88. package/dist/bundle/{recognize-Z26T3SYD.js → recognize-FVFYI3XX.js} +3 -3
  89. package/dist/bundle/{remote-7KHT6V3O.js → remote-3AMCG2P4.js} +6 -6
  90. package/dist/bundle/{rerank-6QVI74QY.js → rerank-XV4E25ML.js} +6 -6
  91. package/dist/bundle/{serve-WYDZTONY.js → serve-NVSZA4UN.js} +8 -8
  92. package/dist/bundle/{server-Y4J2NCFA.js → server-MBMPHRJE.js} +31 -31
  93. package/dist/bundle/server-MHVGYRQZ.js +61 -0
  94. package/dist/bundle/{state-YCXBKOD2.js → state-JBMB2QUR.js} +5 -5
  95. package/dist/bundle/{store-QECSDJRP.js → store-T4SCYTY2.js} +11 -11
  96. package/dist/bundle/store-maintenance-command-F7WQMTMP.js +49 -0
  97. package/dist/bundle/tg.js +6 -6
  98. package/dist/version.d.ts +1 -1
  99. package/dist/version.js +1 -1
  100. package/package.json +2 -2
  101. package/dist/bundle/chunk-Y52T5EMB.js +0 -35
  102. package/dist/bundle/command-contract-247AKZTE.js +0 -33
  103. package/dist/bundle/first-screen-NVK7PFX4.js +0 -31
  104. package/dist/bundle/server-UXQT7LZT.js +0 -61
  105. package/dist/bundle/store-maintenance-command-5YW6TRJA.js +0 -49
@@ -7,7 +7,7 @@ import {
7
7
  commandPathOf,
8
8
  findCommand,
9
9
  outputOf
10
- } from "./chunk-MFWWZ6XL.js";
10
+ } from "./chunk-ZJPXRW65.js";
11
11
  import {
12
12
  Command,
13
13
  Help,
@@ -18,10 +18,10 @@ import {
18
18
  environmentOf,
19
19
  metaOf,
20
20
  takesProfile
21
- } from "./chunk-GJBGZQHN.js";
21
+ } from "./chunk-6KT5BTWL.js";
22
22
  import {
23
23
  writes
24
- } from "./chunk-WGGSFGNZ.js";
24
+ } from "./chunk-SMFUKHG2.js";
25
25
  import {
26
26
  CliError
27
27
  } from "./chunk-VUBZFMGP.js";
@@ -29,7 +29,7 @@ import {
29
29
  __name
30
30
  } from "./chunk-ZVVMGPBJ.js";
31
31
 
32
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
32
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
33
33
  var SECTIONS = {
34
34
  read: "Read",
35
35
  write: "Write",
@@ -95,7 +95,7 @@ var CORE_SECTIONS = {
95
95
  upgrade: "setup"
96
96
  };
97
97
 
98
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
98
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
99
99
  var DESCRIPTION = 90;
100
100
  var COLUMN = 52;
101
101
  var short = /* @__PURE__ */ __name((text) => {
@@ -134,7 +134,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
134
134
  `;
135
135
  }, "commandsText");
136
136
 
137
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
137
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
138
138
  var ARGUMENT_KINDS = {
139
139
  chat: "chat",
140
140
  chats: "chat",
@@ -326,7 +326,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
326
326
  command.addHelpText("after", () => commandHelpText(command));
327
327
  }, "installCommandHelp");
328
328
 
329
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
329
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
330
330
  var WIRECAT_TOOLS = [
331
331
  {
332
332
  command: "tg",
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-2FXA32RJ.js";
32
+ } from "./chunk-VVRWH5VH.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/mcp/caller.js
544
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/mcp/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -9,7 +9,7 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-WGGSFGNZ.js";
12
+ } from "./chunk-SMFUKHG2.js";
13
13
  import {
14
14
  CliError
15
15
  } from "./chunk-VUBZFMGP.js";
@@ -17,7 +17,7 @@ import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
27
27
  }, "checkedOptions");
28
28
  var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
29
29
 
30
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/models/types.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/models/types.js
31
31
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
32
32
  var validateImages = /* @__PURE__ */ __name((images) => {
33
33
  if (images === void 0)
@@ -19,7 +19,7 @@ import {
19
19
  string,
20
20
  text,
21
21
  unknown
22
- } from "./chunk-WGGSFGNZ.js";
22
+ } from "./chunk-SMFUKHG2.js";
23
23
  import {
24
24
  CliError,
25
25
  visibleControls
@@ -10,10 +10,10 @@ import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  updateCommand
5
- } from "./chunk-7DPWVKYS.js";
5
+ } from "./chunk-5R5HGV2J.js";
6
6
  import {
7
7
  DEFAULT_STEMMERS,
8
8
  LANGUAGES
9
- } from "./chunk-QROAXWDU.js";
9
+ } from "./chunk-V23X3W2W.js";
10
10
  import {
11
11
  installerOf
12
12
  } from "./chunk-RX5CJ55S.js";
@@ -15,18 +15,18 @@ import {
15
15
  readSetupAnswers,
16
16
  unanswered,
17
17
  writeSetupAnswers
18
- } from "./chunk-4N2WJYLE.js";
18
+ } from "./chunk-STPYSD6W.js";
19
19
  import {
20
20
  sharedConfigPath
21
- } from "./chunk-HAR76KJG.js";
21
+ } from "./chunk-PAHSIORC.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-Y52T5EMB.js";
24
+ } from "./chunk-KKMNMQMW.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.630.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._c57a4ca23893bad5bbd6c181f9c73774/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.633.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.93.0_commander@15._d745f308dd36458ab3f46a9ad7a22686/node_modules/@wirecat/cli-core/dist/cli/first-run.js
30
30
  import { spawnSync } from "node:child_process";
31
31
  import { accessSync, constants, realpathSync } from "node:fs";
32
32
  import { delimiter, join } from "node:path";
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
84
84
  return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
85
85
  }, "suggested");
86
86
  var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
87
- const { openStore } = await import("./store-QECSDJRP.js");
87
+ const { openStore } = await import("./store-T4SCYTY2.js");
88
88
  const store = await openStore({ env });
89
89
  let rebuild = false;
90
90
  try {
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
113
113
  if (!rebuild)
114
114
  return;
115
115
  const [{ openCache }, { buildStems }] = await Promise.all([
116
- import("./open-G3VHOOMV.js"),
117
- import("./store-maintenance-command-5YW6TRJA.js")
116
+ import("./open-GLR5EUZS.js"),
117
+ import("./store-maintenance-command-F7WQMTMP.js")
118
118
  ]);
119
119
  const database = await openCache(storePath(env));
120
120
  try {
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
126
126
  var askTools = /* @__PURE__ */ __name(async (run) => {
127
127
  const { command, env, io } = run;
128
128
  const installed = run.installed ?? ((name) => onPath(name, env));
129
- const { WIRECAT_TOOLS } = await import("./first-screen-NVK7PFX4.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-7L4AMZDO.js");
130
130
  const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
131
131
  const missing = others.filter((tool) => !installed(tool.command));
132
132
  io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
199
199
  contentLanguages: start.contentLanguages,
200
200
  all: start.path[0] === "setup",
201
201
  io: {
202
- ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-JWQ6UQ6R.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-XPHIZMD2.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }
@@ -10,13 +10,13 @@ import {
10
10
  import {
11
11
  loadConfigFile,
12
12
  saveConfigFile
13
- } from "./chunk-U6HEZPCR.js";
13
+ } from "./chunk-3S6KZCZ7.js";
14
14
  import {
15
15
  number,
16
16
  object,
17
17
  optional,
18
18
  string
19
- } from "./chunk-WGGSFGNZ.js";
19
+ } from "./chunk-SMFUKHG2.js";
20
20
  import {
21
21
  __name,
22
22
  __toESM
@@ -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-WGGSFGNZ.js";
5
+ } from "./chunk-SMFUKHG2.js";
6
6
 
7
7
  // dist/reasons.js
8
8
  var REASONS = defineReasons([
@@ -26,7 +26,7 @@ var REASONS = defineReasons([
26
26
  ].map(([reason, code, message]) => ({ reason, code, message, details: [] })));
27
27
 
28
28
  // dist/version.js
29
- var VERSION = "0.122.0";
29
+ var VERSION = "0.123.0";
30
30
 
31
31
  // dist/identity.js
32
32
  var TG = {