@wirecat/tg-cli 0.103.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 (87) hide show
  1. package/README.md +1 -0
  2. package/dist/bin/tg.js +2 -2
  3. package/dist/bundle/{adapter-QG3YFFOY.js → adapter-WWYRCTPE.js} +37 -37
  4. package/dist/bundle/{all-profiles-ECXH3TBF.js → all-profiles-IJYM6NIJ.js} +5 -5
  5. package/dist/bundle/{anthropic-5MKO3QX7.js → anthropic-EDRWOXB5.js} +3 -3
  6. package/dist/bundle/app-server-2NF7ZH3C.js +222 -0
  7. package/dist/bundle/{bot-api-4DQPIOMK.js → bot-api-XCDLL6M2.js} +38 -38
  8. package/dist/bundle/{bot-history-UN74XXLU.js → bot-history-37WSQX3U.js} +10 -10
  9. package/dist/bundle/{bun-PS73VF2C.js → bun-ZX34DXTI.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-RAWGPH23.js → bun-sqlite-7TZ73UKO.js} +2 -2
  11. package/dist/bundle/{chunk-DLF3H6NP.js → chunk-2A2KXY5G.js} +4 -4
  12. package/dist/bundle/{chunk-3CP7RK5R.js → chunk-2J2G3ELT.js} +1 -1
  13. package/dist/bundle/{chunk-H2UTBYFC.js → chunk-443D2OY7.js} +1 -1
  14. package/dist/bundle/{chunk-3IXKDIPH.js → chunk-4N53GVUI.js} +44 -42
  15. package/dist/bundle/{chunk-6N25NZOE.js → chunk-4UZE26T6.js} +5 -5
  16. package/dist/bundle/{chunk-WULARSC4.js → chunk-4VFRP2T2.js} +20 -20
  17. package/dist/bundle/{chunk-537O7OVE.js → chunk-56JDML7T.js} +2 -2
  18. package/dist/bundle/{chunk-RD7SSY7H.js → chunk-5PDGRPTS.js} +1 -1
  19. package/dist/bundle/{chunk-RKQIEJFR.js → chunk-6MQ3DEXF.js} +1 -1
  20. package/dist/bundle/{chunk-OGVBRRWY.js → chunk-73OWDRGK.js} +20 -20
  21. package/dist/bundle/{chunk-G5IMOOPB.js → chunk-AQGW6OHU.js} +1 -1
  22. package/dist/bundle/{chunk-HCDZWFXO.js → chunk-ETVQH5AL.js} +10 -9
  23. package/dist/bundle/{chunk-Q2LBOPKO.js → chunk-FNASJIAI.js} +25 -14
  24. package/dist/bundle/{chunk-DWQ4QT6X.js → chunk-GGIDY5KC.js} +92 -91
  25. package/dist/bundle/{chunk-COZ74WW4.js → chunk-HJSWUHHP.js} +20 -2
  26. package/dist/bundle/{chunk-BYYSVINK.js → chunk-J5OIB3OW.js} +2 -2
  27. package/dist/bundle/{chunk-EQHQ2AX3.js → chunk-J6B5DQ3I.js} +57 -48
  28. package/dist/bundle/{chunk-LAYPLF7G.js → chunk-L23IJ3IZ.js} +5 -5
  29. package/dist/bundle/{chunk-NIVZHTN4.js → chunk-LOIFBJBA.js} +9 -9
  30. package/dist/bundle/{chunk-GO354DJ5.js → chunk-MAV5ODPN.js} +1 -1
  31. package/dist/bundle/{chunk-QF7VVIF4.js → chunk-MHS2LEZA.js} +13 -6
  32. package/dist/bundle/{server-6XYURULQ.js → chunk-N5BGV5YZ.js} +46 -62
  33. package/dist/bundle/{chunk-AUKAZRF6.js → chunk-NBXUNS6Q.js} +1 -1
  34. package/dist/bundle/{chunk-TPFLD4OM.js → chunk-NEPB2EI6.js} +1 -1
  35. package/dist/bundle/{chunk-3QX6SOEO.js → chunk-OOBCCVYM.js} +4 -4
  36. package/dist/bundle/{chunk-YI72UVTJ.js → chunk-PFL3CCP2.js} +1 -1
  37. package/dist/bundle/{chunk-BV4N333Y.js → chunk-Q6NALH2X.js} +2 -2
  38. package/dist/bundle/{chunk-AAMJZJYC.js → chunk-QAW5QNOY.js} +8 -8
  39. package/dist/bundle/{chunk-EMC57SOZ.js → chunk-QPE72FCE.js} +9 -7
  40. package/dist/bundle/{chunk-RMC2S3F4.js → chunk-QVXMOHHN.js} +4 -4
  41. package/dist/bundle/{chunk-SSALGKMJ.js → chunk-QWPVSWQE.js} +2 -2
  42. package/dist/bundle/{chunk-VZN5LD26.js → chunk-RDO66SBI.js} +2 -2
  43. package/dist/bundle/{chunk-KCVDWZWS.js → chunk-RI7H2VVU.js} +7 -7
  44. package/dist/bundle/{chunk-ZHXSRYJ5.js → chunk-S3C2L3IE.js} +7 -5
  45. package/dist/bundle/{chunk-5HPAPVCB.js → chunk-S7FO7OU2.js} +2146 -1911
  46. package/dist/bundle/{chunk-TEO2KP52.js → chunk-SJIHZA4K.js} +1 -1
  47. package/dist/bundle/{chunk-57XGUIXA.js → chunk-SLFDNASB.js} +4 -4
  48. package/dist/bundle/{chunk-NKN54EDN.js → chunk-VIGQIMGM.js} +2 -2
  49. package/dist/bundle/{chunk-MHHDVR4G.js → chunk-WD7Q2H4J.js} +193 -193
  50. package/dist/bundle/{chunk-S5M4HFOZ.js → chunk-XP4JEE47.js} +1 -1
  51. package/dist/bundle/{chunk-Z2DPNTSU.js → chunk-YGYQY5AG.js} +1 -1
  52. package/dist/bundle/{chunk-FSPDODVT.js → chunk-YSIC5B32.js} +10 -10
  53. package/dist/bundle/{chunk-CMQ34EZL.js → chunk-Z6SXT5DV.js} +4 -3
  54. package/dist/bundle/{chunk-SSV37M5T.js → chunk-ZI7THBWF.js} +51 -47
  55. package/dist/bundle/{chunk-F27OI4J2.js → chunk-ZIG4WIVN.js} +1 -1
  56. package/dist/bundle/{chunk-KQ5BUI5T.js → chunk-ZM2AI3E5.js} +270 -251
  57. package/dist/bundle/{command-contract-ZGFJTLB2.js → command-contract-OF6TUQ5B.js} +12 -12
  58. package/dist/bundle/{echarts-UEQDIHVQ.js → echarts-WFLEME5I.js} +2 -2
  59. package/dist/bundle/{embed-5DPZKRW5.js → embed-ESTG27RK.js} +3 -3
  60. package/dist/bundle/{embedder-NBQXDXAO.js → embedder-P3W76VOZ.js} +6 -6
  61. package/dist/bundle/{entry-EE6YRAP4.js → entry-SNRZGNRA.js} +3 -3
  62. package/dist/bundle/{first-run-OSEVVWNT.js → first-run-JS24HORG.js} +5 -5
  63. package/dist/bundle/{first-screen-753THOU6.js → first-screen-U63BJPXI.js} +13 -13
  64. package/dist/bundle/{identity-LNH33PN3.js → identity-TYE57SHY.js} +1 -1
  65. package/dist/bundle/{instructions-PYGVIT7I.js → instructions-ERMZPVS4.js} +3 -1
  66. package/dist/bundle/{node-3OBKCX6M.js → node-KDZSMKIC.js} +2 -2
  67. package/dist/bundle/{node-sqlite-DMMTDRFB.js → node-sqlite-FR64YDYV.js} +2 -2
  68. package/dist/bundle/{oauth-FX5DDCRS.js → oauth-SPE76ZIY.js} +4 -4
  69. package/dist/bundle/{open-G6QRQAAL.js → open-UEFCMPLC.js} +1 -1
  70. package/dist/bundle/{process-47MMIFIJ.js → process-7MD6MEGB.js} +1 -1
  71. package/dist/bundle/{program-LBHBWRK5.js → program-NFFSOGUY.js} +40 -40
  72. package/dist/bundle/{prompt-CJ6Y4JYC.js → prompt-3PI4H66U.js} +2 -2
  73. package/dist/bundle/{recognize-7BLTOI45.js → recognize-54LQOU24.js} +3 -3
  74. package/dist/bundle/{remote-Q4A4JY6U.js → remote-JQ74NVUK.js} +4 -4
  75. package/dist/bundle/{rerank-CQAR46L3.js → rerank-66YCEORD.js} +4 -4
  76. package/dist/bundle/{serve-2UO2YMMG.js → serve-5SP2TCGV.js} +6 -6
  77. package/dist/bundle/{server-FMKC4RLL.js → server-GFICDJ6J.js} +26 -26
  78. package/dist/bundle/server-KMKRKOZP.js +55 -0
  79. package/dist/bundle/{state-RNWN2RDY.js → state-U7HXQB6I.js} +3 -3
  80. package/dist/bundle/{store-BBHTR477.js → store-O4QVYHFL.js} +7 -7
  81. package/dist/bundle/store-maintenance-command-BNRZ5IJD.js +44 -0
  82. package/dist/bundle/tg.js +2 -2
  83. package/dist/version.d.ts +1 -1
  84. package/dist/version.js +1 -1
  85. package/package.json +2 -2
  86. package/skills/tg-cli/SKILL.md +1 -0
  87. package/dist/bundle/store-maintenance-command-GD6OLRXH.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.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/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-DWQ4QT6X.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-EQHQ2AX3.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.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/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.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/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-LAYPLF7G.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.469.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._2a6ca8de460e41c79b470c9aa59440d5/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 = {