@wirecat/tg-cli 0.104.0 → 0.105.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 (86) hide show
  1. package/dist/bin/tg.js +2 -2
  2. package/dist/bundle/{adapter-QTAHA2JC.js → adapter-WWYRCTPE.js} +37 -37
  3. package/dist/bundle/{all-profiles-7CXBVRFU.js → all-profiles-IJYM6NIJ.js} +5 -5
  4. package/dist/bundle/{anthropic-FWBQ7JHT.js → anthropic-EDRWOXB5.js} +3 -3
  5. package/dist/bundle/{app-server-XF4GY2Y6.js → app-server-2NF7ZH3C.js} +34 -34
  6. package/dist/bundle/{bot-api-XDMMWRYI.js → bot-api-XCDLL6M2.js} +38 -38
  7. package/dist/bundle/{bot-history-TU2X7RNN.js → bot-history-37WSQX3U.js} +10 -10
  8. package/dist/bundle/{bun-6GSDPKNZ.js → bun-ZX34DXTI.js} +2 -2
  9. package/dist/bundle/{bun-sqlite-AO27E35V.js → bun-sqlite-7TZ73UKO.js} +2 -2
  10. package/dist/bundle/{chunk-6YUFPSSE.js → chunk-2A2KXY5G.js} +4 -4
  11. package/dist/bundle/{chunk-C5N7G6UH.js → chunk-2J2G3ELT.js} +1 -1
  12. package/dist/bundle/{chunk-UVYY5EIS.js → chunk-443D2OY7.js} +1 -1
  13. package/dist/bundle/{chunk-YD6ZQ6LM.js → chunk-4N53GVUI.js} +42 -42
  14. package/dist/bundle/{chunk-KRLCUBII.js → chunk-4UZE26T6.js} +5 -5
  15. package/dist/bundle/{chunk-YBQ753RP.js → chunk-4VFRP2T2.js} +20 -20
  16. package/dist/bundle/{chunk-MB3PCNRL.js → chunk-56JDML7T.js} +2 -2
  17. package/dist/bundle/{chunk-B7TTM75D.js → chunk-5PDGRPTS.js} +1 -1
  18. package/dist/bundle/{chunk-6K4QGBXU.js → chunk-6MQ3DEXF.js} +1 -1
  19. package/dist/bundle/{chunk-HOR7DS3P.js → chunk-73OWDRGK.js} +20 -20
  20. package/dist/bundle/{chunk-Y3VNNLUT.js → chunk-AQGW6OHU.js} +1 -1
  21. package/dist/bundle/{chunk-RRWMYR2H.js → chunk-ETVQH5AL.js} +9 -9
  22. package/dist/bundle/{chunk-BKVJNPA6.js → chunk-FNASJIAI.js} +11 -11
  23. package/dist/bundle/{chunk-UDXRDFHN.js → chunk-GGIDY5KC.js} +91 -91
  24. package/dist/bundle/{chunk-U2AK4QXY.js → chunk-HJSWUHHP.js} +1 -1
  25. package/dist/bundle/{chunk-ZBH7Z6WX.js → chunk-J5OIB3OW.js} +2 -2
  26. package/dist/bundle/{chunk-GE22MYA6.js → chunk-J6B5DQ3I.js} +47 -47
  27. package/dist/bundle/{chunk-MCD2GANK.js → chunk-L23IJ3IZ.js} +5 -5
  28. package/dist/bundle/{chunk-FUWSIEYY.js → chunk-LOIFBJBA.js} +9 -9
  29. package/dist/bundle/{chunk-PWIE7VBL.js → chunk-MAV5ODPN.js} +1 -1
  30. package/dist/bundle/{chunk-DANCAYRP.js → chunk-MHS2LEZA.js} +8 -6
  31. package/dist/bundle/{chunk-SZE6425L.js → chunk-N5BGV5YZ.js} +26 -26
  32. package/dist/bundle/{chunk-N6VHHMSZ.js → chunk-NBXUNS6Q.js} +1 -1
  33. package/dist/bundle/{chunk-Y5PJQPMQ.js → chunk-NEPB2EI6.js} +1 -1
  34. package/dist/bundle/{chunk-PHQTSF44.js → chunk-OOBCCVYM.js} +4 -4
  35. package/dist/bundle/{chunk-LOFG3Q35.js → chunk-PFL3CCP2.js} +1 -1
  36. package/dist/bundle/{chunk-BI2AXVHY.js → chunk-Q6NALH2X.js} +2 -2
  37. package/dist/bundle/{chunk-RTAV5XNT.js → chunk-QAW5QNOY.js} +8 -8
  38. package/dist/bundle/{chunk-FRZHF2X6.js → chunk-QPE72FCE.js} +7 -7
  39. package/dist/bundle/{chunk-LJCGQMGN.js → chunk-QVXMOHHN.js} +4 -4
  40. package/dist/bundle/{chunk-5K7E36ND.js → chunk-QWPVSWQE.js} +2 -2
  41. package/dist/bundle/{chunk-54RJDS3X.js → chunk-RDO66SBI.js} +2 -2
  42. package/dist/bundle/{chunk-GZ5CR5QB.js → chunk-RI7H2VVU.js} +7 -7
  43. package/dist/bundle/{chunk-3GGU65YR.js → chunk-S3C2L3IE.js} +4 -4
  44. package/dist/bundle/{chunk-MR4LW4EC.js → chunk-S7FO7OU2.js} +248 -246
  45. package/dist/bundle/{chunk-7WHM3KNI.js → chunk-SJIHZA4K.js} +1 -1
  46. package/dist/bundle/{chunk-ADMV4WGV.js → chunk-SLFDNASB.js} +4 -4
  47. package/dist/bundle/{chunk-QY7MW7HK.js → chunk-VIGQIMGM.js} +2 -2
  48. package/dist/bundle/{chunk-P3WU6UYJ.js → chunk-WD7Q2H4J.js} +193 -193
  49. package/dist/bundle/{chunk-UTVANQN5.js → chunk-XP4JEE47.js} +1 -1
  50. package/dist/bundle/{chunk-LSQUNABH.js → chunk-YGYQY5AG.js} +1 -1
  51. package/dist/bundle/{chunk-TJR37WKA.js → chunk-YSIC5B32.js} +10 -10
  52. package/dist/bundle/{chunk-UT6G2X7T.js → chunk-Z6SXT5DV.js} +3 -3
  53. package/dist/bundle/{chunk-3XZQQGCB.js → chunk-ZI7THBWF.js} +51 -47
  54. package/dist/bundle/{chunk-BIWJK5YU.js → chunk-ZIG4WIVN.js} +1 -1
  55. package/dist/bundle/{chunk-QVTCOBN5.js → chunk-ZM2AI3E5.js} +255 -250
  56. package/dist/bundle/{command-contract-RICU4OWW.js → command-contract-OF6TUQ5B.js} +12 -12
  57. package/dist/bundle/{echarts-2YP32GX5.js → echarts-WFLEME5I.js} +2 -2
  58. package/dist/bundle/{embed-QNWVBCL5.js → embed-ESTG27RK.js} +3 -3
  59. package/dist/bundle/{embedder-ENS7ARPP.js → embedder-P3W76VOZ.js} +6 -6
  60. package/dist/bundle/{entry-MPYSQPZO.js → entry-SNRZGNRA.js} +3 -3
  61. package/dist/bundle/{first-run-YLB7RNGP.js → first-run-JS24HORG.js} +5 -5
  62. package/dist/bundle/{first-screen-AYOE4JFC.js → first-screen-U63BJPXI.js} +13 -13
  63. package/dist/bundle/{identity-XQLO7NYW.js → identity-TYE57SHY.js} +1 -1
  64. package/dist/bundle/{instructions-5F4XG3B6.js → instructions-ERMZPVS4.js} +1 -1
  65. package/dist/bundle/{node-JOUDFPFN.js → node-KDZSMKIC.js} +2 -2
  66. package/dist/bundle/{node-sqlite-ZY6ZFFXS.js → node-sqlite-FR64YDYV.js} +2 -2
  67. package/dist/bundle/{oauth-KOR3ZNTA.js → oauth-SPE76ZIY.js} +4 -4
  68. package/dist/bundle/{open-JACXAGY5.js → open-UEFCMPLC.js} +1 -1
  69. package/dist/bundle/{process-7W3X5VME.js → process-7MD6MEGB.js} +1 -1
  70. package/dist/bundle/{program-NSZWGHNJ.js → program-NFFSOGUY.js} +40 -40
  71. package/dist/bundle/{prompt-CRRG5UB6.js → prompt-3PI4H66U.js} +2 -2
  72. package/dist/bundle/{recognize-ASXEB45M.js → recognize-54LQOU24.js} +3 -3
  73. package/dist/bundle/{remote-CB3GAXGJ.js → remote-JQ74NVUK.js} +4 -4
  74. package/dist/bundle/{rerank-PDD5BPID.js → rerank-66YCEORD.js} +4 -4
  75. package/dist/bundle/{serve-M4XFAYUM.js → serve-5SP2TCGV.js} +6 -6
  76. package/dist/bundle/{server-IN673OYO.js → server-GFICDJ6J.js} +26 -26
  77. package/dist/bundle/server-KMKRKOZP.js +55 -0
  78. package/dist/bundle/{state-626GOOVZ.js → state-U7HXQB6I.js} +3 -3
  79. package/dist/bundle/{store-6JM4HJU5.js → store-O4QVYHFL.js} +7 -7
  80. package/dist/bundle/store-maintenance-command-BNRZ5IJD.js +44 -0
  81. package/dist/bundle/tg.js +2 -2
  82. package/dist/version.d.ts +1 -1
  83. package/dist/version.js +1 -1
  84. package/package.json +2 -2
  85. package/dist/bundle/server-ISWPSKQ6.js +0 -55
  86. package/dist/bundle/store-maintenance-command-DI2UX4V3.js +0 -44
@@ -7,7 +7,7 @@ import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
11
11
  var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
12
12
  var MAX_SECRET_INPUT = 64 * 1024;
13
13
  var policies = /* @__PURE__ */ new WeakMap();
@@ -2,14 +2,14 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  ENTITIES
5
- } from "./chunk-UDXRDFHN.js";
5
+ } from "./chunk-GGIDY5KC.js";
6
6
  import {
7
7
  annotate,
8
8
  answerSchema,
9
9
  describeOptions,
10
10
  keyForCommand,
11
11
  metaOf
12
- } from "./chunk-GE22MYA6.js";
12
+ } from "./chunk-J6B5DQ3I.js";
13
13
  import {
14
14
  CliError,
15
15
  jsonSchemaOf
@@ -18,7 +18,7 @@ import {
18
18
  __name
19
19
  } from "./chunk-ZVVMGPBJ.js";
20
20
 
21
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
21
+ // node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/cli/answer-entity.js
22
22
  var schemas = /* @__PURE__ */ new WeakMap();
23
23
  var answerEntity = /* @__PURE__ */ __name((command, name, schema, options = {}) => {
24
24
  if (Object.hasOwn(ENTITIES, name))
@@ -48,7 +48,7 @@ var answerProjectionSchema = /* @__PURE__ */ __name((command) => {
48
48
  return own && metaOf(command).output?.entity === own.name ? own.project : void 0;
49
49
  }, "answerProjectionSchema");
50
50
 
51
- // node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
51
+ // node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
52
52
  var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
53
53
  var outputOf = /* @__PURE__ */ __name((command) => {
54
54
  const entity = answerEntitySchema(command);
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  unit
5
- } from "./chunk-MCD2GANK.js";
5
+ } from "./chunk-L23IJ3IZ.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.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.475.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._3c883a06c0d971d0c61f8bf4c28bc453/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
14
14
  import { setTimeout } from "node:timers/promises";
15
15
  var OPENAI_URL = "https://api.openai.com/v1";
16
16
  var OPENAI_MODELS = {