@wirecat/tg-cli 0.129.0 → 0.131.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 (112) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-2XFPXBTA.js → adapter-TA637IRT.js} +51 -51
  3. package/dist/bundle/{all-profiles-GXFPZLYU.js → all-profiles-7M3GBCB6.js} +5 -5
  4. package/dist/bundle/{anthropic-FHS5XNK5.js → anthropic-P3THLZWO.js} +2 -2
  5. package/dist/bundle/{app-server-IZMFSFP2.js → app-server-OE5EAXIY.js} +45 -45
  6. package/dist/bundle/{bot-api-LQP75V5I.js → bot-api-WYR2C4A5.js} +52 -52
  7. package/dist/bundle/{bot-history-EJQOD4AQ.js → bot-history-PKJTHU7L.js} +16 -16
  8. package/dist/bundle/{bun-GBAZFRCV.js → bun-XMZJDDEA.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-JB4BX6X7.js → bun-sqlite-F5RWCB2N.js} +3 -3
  10. package/dist/bundle/{chunk-XXW6PFAX.js → chunk-2OXR2MRV.js} +1 -1
  11. package/dist/bundle/{chunk-HHUK3XO5.js → chunk-2TOJQQKS.js} +1 -1
  12. package/dist/bundle/{chunk-TGRB4SSZ.js → chunk-2U6XE4HI.js} +4 -4
  13. package/dist/bundle/{chunk-6M3FAHPS.js → chunk-34PRGA7E.js} +2 -2
  14. package/dist/bundle/{chunk-4BJAQNJ5.js → chunk-43KSYUZU.js} +5 -5
  15. package/dist/bundle/{chunk-66UG67CE.js → chunk-5AJ5RLJW.js} +10 -10
  16. package/dist/bundle/{chunk-7F3LOHRB.js → chunk-5N7TJ6TJ.js} +154 -151
  17. package/dist/bundle/{chunk-QJDHRBXL.js → chunk-5ZIT6JXP.js} +6 -6
  18. package/dist/bundle/{chunk-RZPMFVWM.js → chunk-6BPM3LNR.js} +5 -5
  19. package/dist/bundle/{chunk-EUL7HMUL.js → chunk-6O5AD3GA.js} +1 -1
  20. package/dist/bundle/{chunk-PWQKGFS2.js → chunk-6TJTQ4I4.js} +28 -28
  21. package/dist/bundle/{chunk-KY3JLXW2.js → chunk-76UAXRDY.js} +2 -2
  22. package/dist/bundle/{chunk-OJMDKWWL.js → chunk-AEIDEIVB.js} +355 -321
  23. package/dist/bundle/{chunk-M327UNS6.js → chunk-AJQ6JFLY.js} +5 -5
  24. package/dist/bundle/{chunk-VTJ3AOTT.js → chunk-BFERGEBI.js} +16 -16
  25. package/dist/bundle/{chunk-OOQVHMCS.js → chunk-BXW6FGLD.js} +11 -11
  26. package/dist/bundle/{chunk-MVFSWKTM.js → chunk-EXMJDHBM.js} +10 -10
  27. package/dist/bundle/{chunk-S5UTBEV3.js → chunk-EZBMLKBK.js} +35 -34
  28. package/dist/bundle/{chunk-NRCY3WBC.js → chunk-GNIROVSK.js} +1 -1
  29. package/dist/bundle/{chunk-C4ALE7CH.js → chunk-H655CMXJ.js} +1 -1
  30. package/dist/bundle/{chunk-OKTRB4ZQ.js → chunk-ITYDJIRC.js} +1 -1
  31. package/dist/bundle/{chunk-QDEP2QOA.js → chunk-IULSIKEM.js} +2 -2
  32. package/dist/bundle/{chunk-FH4YIBBH.js → chunk-J2QQZVEN.js} +2 -2
  33. package/dist/bundle/{chunk-OWVQMK7G.js → chunk-JDLNI7BU.js} +518 -382
  34. package/dist/bundle/{chunk-B5RGPZDZ.js → chunk-JF4AJNCE.js} +5 -5
  35. package/dist/bundle/{chunk-2LPODKIF.js → chunk-JSE4OBYI.js} +16 -114
  36. package/dist/bundle/{chunk-SZB5WRMI.js → chunk-L2SMUTJY.js} +1 -1
  37. package/dist/bundle/{chunk-RAFK5KXU.js → chunk-LDSTUBLY.js} +7 -7
  38. package/dist/bundle/{chunk-XHX5D5VE.js → chunk-LEPDRO3O.js} +147 -62
  39. package/dist/bundle/{chunk-IV6SIKVH.js → chunk-LJO6MMQG.js} +3 -3
  40. package/dist/bundle/{chunk-LQPZDDDP.js → chunk-LTP4BYHJ.js} +5 -5
  41. package/dist/bundle/{chunk-QBNEWEJC.js → chunk-LWSOCKOD.js} +2 -2
  42. package/dist/bundle/{chunk-F6CV4KUN.js → chunk-MYC3M4BY.js} +2 -2
  43. package/dist/bundle/{chunk-I5PILOTU.js → chunk-NOZZHEMD.js} +1 -1
  44. package/dist/bundle/{chunk-ZRQQOGAZ.js → chunk-NTORQXAS.js} +3 -3
  45. package/dist/bundle/{chunk-LPT5T6PU.js → chunk-NXNSEFGR.js} +22 -22
  46. package/dist/bundle/{chunk-3XMUP55N.js → chunk-O73DZURO.js} +9 -9
  47. package/dist/bundle/{chunk-2JZJPVBH.js → chunk-O7X6RM5R.js} +4 -4
  48. package/dist/bundle/{chunk-FIO5NMK3.js → chunk-OOSX7K7G.js} +6 -6
  49. package/dist/bundle/{chunk-IRWSZJYL.js → chunk-OPG54IFH.js} +51 -51
  50. package/dist/bundle/{chunk-O2ULG7OO.js → chunk-OX5EAUKF.js} +2 -2
  51. package/dist/bundle/{chunk-RPWYTOLI.js → chunk-P6KGEZIS.js} +1 -1
  52. package/dist/bundle/{chunk-QFVIHBLD.js → chunk-PD4RREQB.js} +1 -1
  53. package/dist/bundle/{chunk-IBSHQWIJ.js → chunk-PHGH5N4C.js} +1 -1
  54. package/dist/bundle/{chunk-EB2JE722.js → chunk-QGFUUJPL.js} +1 -1
  55. package/dist/bundle/{chunk-GYCKRIRK.js → chunk-S2IET7WM.js} +2 -2
  56. package/dist/bundle/{chunk-BMSS3PCY.js → chunk-SLT2PBFP.js} +13 -13
  57. package/dist/bundle/{chunk-CKJ73EF3.js → chunk-SQ2JLZFK.js} +1 -1
  58. package/dist/bundle/{chunk-GSHTLLCJ.js → chunk-SS5H2XAT.js} +2 -2
  59. package/dist/bundle/{chunk-VSPSHBAC.js → chunk-TT6OHNV2.js} +1 -1
  60. package/dist/bundle/{chunk-P4FZJO5F.js → chunk-UGYC2FV5.js} +1 -1
  61. package/dist/bundle/{chunk-6JBRQ6PM.js → chunk-UUNQV4YL.js} +48 -13
  62. package/dist/bundle/{chunk-X5H5NERR.js → chunk-VNJZXV7E.js} +4 -4
  63. package/dist/bundle/{chunk-MS6YEIG5.js → chunk-VVUUP5NF.js} +12 -12
  64. package/dist/bundle/{chunk-QJLCEOAP.js → chunk-WG6UZJ3E.js} +1 -1
  65. package/dist/bundle/{chunk-GGGBPWUS.js → chunk-WUIKJJ5A.js} +7 -7
  66. package/dist/bundle/{chunk-3KZG63EH.js → chunk-XC2YJDDK.js} +2 -2
  67. package/dist/bundle/{chunk-SYZXOEHY.js → chunk-YJ4BPNWI.js} +3 -3
  68. package/dist/bundle/{chunk-G2SMVYBU.js → chunk-YZTMQE62.js} +1 -1
  69. package/dist/bundle/{chunk-VXWDQDRU.js → chunk-Z2TCTTPJ.js} +497 -410
  70. package/dist/bundle/command-contract-DAQYQF6R.js +37 -0
  71. package/dist/bundle/{command-server-entry-YR6ONDWO.js → command-server-entry-6FH3RXJ2.js} +23 -23
  72. package/dist/bundle/{decode-VUKGWFSW.js → decode-UBRT2QDP.js} +2 -2
  73. package/dist/bundle/{echarts-GOV5M733.js → echarts-PG45GQLR.js} +2 -2
  74. package/dist/bundle/{embed-2IVIYNAJ.js → embed-BUQDSZ57.js} +3 -3
  75. package/dist/bundle/{embedder-2HU7JYZK.js → embedder-TXA3EV7O.js} +6 -6
  76. package/dist/bundle/{entry-CSTCXYI5.js → entry-JWIEF57D.js} +6 -6
  77. package/dist/bundle/{first-run-3IZGXZT5.js → first-run-5VTHKMK5.js} +6 -6
  78. package/dist/bundle/first-screen-PTHIZ5ZF.js +35 -0
  79. package/dist/bundle/{instructions-YSXV6FAC.js → instructions-ZMEPWTFO.js} +1 -1
  80. package/dist/bundle/{meeting-combined-X4E3LSIJ.js → meeting-combined-DU3RJR6X.js} +10 -10
  81. package/dist/bundle/{meeting-model-FQBDHGRU.js → meeting-model-5FVNZCTL.js} +8 -8
  82. package/dist/bundle/{meeting-semantic-ONNEOJX5.js → meeting-semantic-HUMYFMO7.js} +2 -2
  83. package/dist/bundle/{node-FMQWCZRS.js → node-N4DQQJKK.js} +2 -2
  84. package/dist/bundle/{node-sqlite-YN5OKOC6.js → node-sqlite-MG4KFXYY.js} +4 -4
  85. package/dist/bundle/{oauth-EW7PTZVT.js → oauth-NKDSXEH6.js} +4 -4
  86. package/dist/bundle/{open-Q2RDY344.js → open-DV2YUU2M.js} +2 -2
  87. package/dist/bundle/{openai-STON6G3O.js → openai-FEKMZOUJ.js} +12 -12
  88. package/dist/bundle/{process-OQUC2TW3.js → process-QZS3TE6A.js} +1 -1
  89. package/dist/bundle/{program-7JJHTZ25.js → program-FNDGXEVS.js} +56 -56
  90. package/dist/bundle/{prompt-WHVF7UTW.js → prompt-C7RSBNH5.js} +2 -2
  91. package/dist/bundle/{recognize-YDQWMXNI.js → recognize-5BL763FS.js} +1 -1
  92. package/dist/bundle/{remote-477LQHP6.js → remote-CXAKRC7X.js} +6 -6
  93. package/dist/bundle/{rerank-4YPB26FG.js → rerank-XAEXY5A4.js} +4 -4
  94. package/dist/bundle/{serve-FXJNUOTS.js → serve-JLZGFTZH.js} +6 -6
  95. package/dist/bundle/{server-2S6HFBGR.js → server-GF3TV2U7.js} +37 -37
  96. package/dist/bundle/server-GLPEWUYT.js +69 -0
  97. package/dist/bundle/{sqlite-runtime-RXYNJYMC.js → sqlite-runtime-3OVQ7OTM.js} +3 -3
  98. package/dist/bundle/{state-I2GGYGRL.js → state-FGJKQKC2.js} +3 -3
  99. package/dist/bundle/{store-VQXIB6KV.js → store-2J5VJZQY.js} +13 -13
  100. package/dist/bundle/{store-KX3AAQZH.js → store-WYLMNAAQ.js} +15 -15
  101. package/dist/bundle/store-maintenance-command-QN6QH6RA.js +60 -0
  102. package/dist/bundle/tg.js +3 -3
  103. package/dist/program.js +1 -1
  104. package/dist/program.js.map +1 -1
  105. package/dist/version.d.ts +1 -1
  106. package/dist/version.js +1 -1
  107. package/package.json +2 -2
  108. package/skills/tg-cli/SKILL.md +15 -6
  109. package/dist/bundle/command-contract-G752BLKA.js +0 -37
  110. package/dist/bundle/first-screen-7QSNCZIK.js +0 -35
  111. package/dist/bundle/server-UOSUTZNE.js +0 -69
  112. package/dist/bundle/store-maintenance-command-LW2MMDLY.js +0 -60
@@ -4,7 +4,7 @@ import {
4
4
  MAX_SECRET_INPUT,
5
5
  bufferedInput,
6
6
  inputPolicy
7
- } from "./chunk-G2SMVYBU.js";
7
+ } from "./chunk-YZTMQE62.js";
8
8
  import {
9
9
  CliError
10
10
  } from "./chunk-F6MLJ3V5.js";
@@ -12,7 +12,7 @@ import {
12
12
  __name
13
13
  } from "./chunk-ZVVMGPBJ.js";
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/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 EMPTY_TRIES = 3;
@@ -2,17 +2,17 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  stdinFieldOf
5
- } from "./chunk-I5PILOTU.js";
5
+ } from "./chunk-NOZZHEMD.js";
6
6
  import {
7
7
  isCommandServer
8
- } from "./chunk-OKTRB4ZQ.js";
8
+ } from "./chunk-ITYDJIRC.js";
9
9
  import {
10
10
  commandPathOf
11
- } from "./chunk-KY3JLXW2.js";
11
+ } from "./chunk-76UAXRDY.js";
12
12
  import {
13
13
  commandServerRequest,
14
14
  metaOf
15
- } from "./chunk-7F3LOHRB.js";
15
+ } from "./chunk-5N7TJ6TJ.js";
16
16
  import {
17
17
  errorObjectOf,
18
18
  renderError
@@ -24,7 +24,7 @@ import {
24
24
  __name
25
25
  } from "./chunk-ZVVMGPBJ.js";
26
26
 
27
- // node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/command-server.js
27
+ // node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/cli/command-server.js
28
28
  import { createInterface } from "node:readline";
29
29
  var COMMAND_SERVER_PROTOCOL = 1;
30
30
  var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  DEFAULT_STEMMERS,
8
8
  LANGUAGES
9
- } from "./chunk-GGGBPWUS.js";
9
+ } from "./chunk-WUIKJJ5A.js";
10
10
  import {
11
11
  installerOf
12
12
  } from "./chunk-66PL7P4C.js";
@@ -15,18 +15,18 @@ import {
15
15
  readSetupAnswers,
16
16
  unanswered,
17
17
  writeSetupAnswers
18
- } from "./chunk-QDEP2QOA.js";
18
+ } from "./chunk-IULSIKEM.js";
19
19
  import {
20
20
  sharedConfigPath
21
- } from "./chunk-B5RGPZDZ.js";
21
+ } from "./chunk-JF4AJNCE.js";
22
22
  import {
23
23
  storePath
24
- } from "./chunk-VSPSHBAC.js";
24
+ } from "./chunk-TT6OHNV2.js";
25
25
  import {
26
26
  __name
27
27
  } from "./chunk-ZVVMGPBJ.js";
28
28
 
29
- // node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/first-run.js
29
+ // node_modules/.pnpm/@wirecat+cli-core@0.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/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-VQXIB6KV.js");
87
+ const { openStore } = await import("./store-2J5VJZQY.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-Q2RDY344.js"),
117
- import("./store-maintenance-command-LW2MMDLY.js")
116
+ import("./open-DV2YUU2M.js"),
117
+ import("./store-maintenance-command-QN6QH6RA.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-7QSNCZIK.js");
129
+ const { WIRECAT_TOOLS } = await import("./first-screen-PTHIZ5ZF.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-WHVF7UTW.js")).readSecret(prompt, { input, echo: true }), "ask"),
202
+ ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-C7RSBNH5.js")).readSecret(prompt, { input, echo: true }), "ask"),
203
203
  say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
204
204
  `), "say")
205
205
  }