@wirecat/tg-cli 0.110.0 → 0.112.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 (111) hide show
  1. package/README.md +3 -0
  2. package/dist/bin/tg.js +2 -2
  3. package/dist/bundle/{adapter-JWUCHTXU.js → adapter-ILDV2YSZ.js} +70 -50
  4. package/dist/bundle/{all-profiles-OMRCKP54.js → all-profiles-4SH2Q4WV.js} +8 -8
  5. package/dist/bundle/{anthropic-WXFHH74P.js → anthropic-64SM23YO.js} +5 -5
  6. package/dist/bundle/{app-server-ILIPNO6T.js → app-server-SSYZWCDJ.js} +40 -40
  7. package/dist/bundle/{bot-api-KV765AZK.js → bot-api-OHAGQMES.js} +46 -46
  8. package/dist/bundle/{bot-history-3P6EIM5L.js → bot-history-AUFO7UL2.js} +15 -15
  9. package/dist/bundle/{bun-MJOYPPEN.js → bun-AHZX63TR.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-GFRVRRDZ.js → bun-sqlite-KBIIODPV.js} +4 -4
  11. package/dist/bundle/{chunk-XLNYDJKG.js → chunk-2IGZLBTE.js} +2 -2
  12. package/dist/bundle/{chunk-ABVHA4K6.js → chunk-3AJO4GER.js} +5 -5
  13. package/dist/bundle/{chunk-RARYRHQA.js → chunk-3GL4AOOG.js} +1 -1
  14. package/dist/bundle/{chunk-SLAPUEMZ.js → chunk-3W7BU2BL.js} +6 -6
  15. package/dist/bundle/{chunk-MXIBRT6W.js → chunk-4IDJ7QCG.js} +4 -4
  16. package/dist/bundle/{chunk-QRH2AWBZ.js → chunk-4JXZKMXV.js} +77 -54
  17. package/dist/bundle/{chunk-6KESAYMZ.js → chunk-5BNYW5RA.js} +2 -2
  18. package/dist/bundle/{chunk-6WTLP2SI.js → chunk-5W72OARG.js} +8 -8
  19. package/dist/bundle/{chunk-RSZEEWOW.js → chunk-6KGENDPF.js} +2 -2
  20. package/dist/bundle/{chunk-4GOF43MW.js → chunk-7MFJFVUN.js} +1 -1
  21. package/dist/bundle/{chunk-4YOPRYEY.js → chunk-B3Y2KZRS.js} +109 -94
  22. package/dist/bundle/{chunk-RXWG7OWT.js → chunk-BIERCQVG.js} +1221 -557
  23. package/dist/bundle/{chunk-AXNBGLO5.js → chunk-BTAET4U3.js} +1 -1
  24. package/dist/bundle/{chunk-UIPT6IAU.js → chunk-COTC7HF3.js} +1 -1
  25. package/dist/bundle/{chunk-F7RWNBC2.js → chunk-D5JP2YWG.js} +2 -2
  26. package/dist/bundle/{chunk-W3B6EEZU.js → chunk-DFUTZGEV.js} +1 -1
  27. package/dist/bundle/{chunk-3KOF5T4N.js → chunk-DNYGJAEP.js} +4 -4
  28. package/dist/bundle/{chunk-3L2JTAVD.js → chunk-E4EJ2UTT.js} +2 -2
  29. package/dist/bundle/{chunk-YPLL3Q3M.js → chunk-EO7PQE3J.js} +119 -65
  30. package/dist/bundle/{chunk-YPEAEEHF.js → chunk-EPAOLRUL.js} +2 -2
  31. package/dist/bundle/{chunk-TJA3BWY3.js → chunk-GM44UNGL.js} +1 -1
  32. package/dist/bundle/{chunk-4I6HTOCM.js → chunk-GSGS62LX.js} +1 -1
  33. package/dist/bundle/{chunk-7ABA4EXC.js → chunk-GW7JRFTF.js} +3 -3
  34. package/dist/bundle/{chunk-5CMOXHQS.js → chunk-ICEJKOKO.js} +7 -7
  35. package/dist/bundle/{chunk-GPIORQAD.js → chunk-JIGYVVWA.js} +22 -22
  36. package/dist/bundle/{chunk-AZYVTDAE.js → chunk-JLB5LEXJ.js} +3 -3
  37. package/dist/bundle/{chunk-VOBMR7E5.js → chunk-JPRYFDOJ.js} +45 -44
  38. package/dist/bundle/{chunk-FYAHTTOB.js → chunk-JXTYTAWE.js} +11 -11
  39. package/dist/bundle/{chunk-F24EAGOU.js → chunk-JYOQMYNJ.js} +28 -28
  40. package/dist/bundle/{chunk-YWSNUUW5.js → chunk-K7VOCHVS.js} +6 -6
  41. package/dist/bundle/{chunk-KLOFBUXA.js → chunk-KGYPSBTI.js} +33 -23
  42. package/dist/bundle/{chunk-BWRCPMMC.js → chunk-KLNQXUDX.js} +18 -18
  43. package/dist/bundle/{chunk-3XTMVGTS.js → chunk-KYYAHIG2.js} +246 -229
  44. package/dist/bundle/{chunk-TDQVVXPF.js → chunk-MCXVGHL6.js} +85 -31
  45. package/dist/bundle/{chunk-32HEOKI2.js → chunk-NKACHGB2.js} +27 -14
  46. package/dist/bundle/{chunk-HCAYTAJN.js → chunk-NQKPXVLX.js} +2 -2
  47. package/dist/bundle/{chunk-L3YDXUDK.js → chunk-PDVSMGWO.js} +2 -2
  48. package/dist/bundle/{chunk-2YWQEG2P.js → chunk-PXUHQO66.js} +11 -11
  49. package/dist/bundle/{chunk-EO563SUX.js → chunk-QL4WBCL5.js} +7 -7
  50. package/dist/bundle/{chunk-MZRD776E.js → chunk-QMJGHSGN.js} +3 -3
  51. package/dist/bundle/{chunk-M3XIME74.js → chunk-RANORATG.js} +4 -4
  52. package/dist/bundle/{chunk-Q35J5LCO.js → chunk-RC7EBLHM.js} +10 -9
  53. package/dist/bundle/{chunk-VM7I5VKX.js → chunk-RHYMEHYK.js} +2 -2
  54. package/dist/bundle/{chunk-NDT22GBK.js → chunk-RPNRCFEE.js} +2 -2
  55. package/dist/bundle/{chunk-EB44Z44U.js → chunk-SC2DUQAK.js} +1 -1
  56. package/dist/bundle/{chunk-ONHHBPV3.js → chunk-SFJFBIYP.js} +2 -2
  57. package/dist/bundle/{chunk-SD5J5T7M.js → chunk-TOBJGMMA.js} +11 -11
  58. package/dist/bundle/{chunk-5ASW5BNM.js → chunk-TUJEJ4D5.js} +26 -13
  59. package/dist/bundle/{chunk-BYOEVYY2.js → chunk-UQOSZ2XX.js} +468 -351
  60. package/dist/bundle/{chunk-JDOSIWPN.js → chunk-UVRD447S.js} +3 -3
  61. package/dist/bundle/{chunk-4BMXELWN.js → chunk-UXCWUEN7.js} +5 -5
  62. package/dist/bundle/{chunk-54CWOD7V.js → chunk-WI2S6INJ.js} +6 -6
  63. package/dist/bundle/{chunk-NFBOZT7H.js → chunk-WWKXTKCE.js} +4 -4
  64. package/dist/bundle/{chunk-7LZBMZQM.js → chunk-XSYJKEA5.js} +4 -4
  65. package/dist/bundle/command-contract-4KVJJZ46.js +32 -0
  66. package/dist/bundle/{decode-3KBXZCFM.js → decode-FR3QHHJI.js} +4 -4
  67. package/dist/bundle/{echarts-24TVPFGC.js → echarts-VTV4C2OS.js} +2 -2
  68. package/dist/bundle/{embed-3BDPZ4Q7.js → embed-US7X5P5D.js} +5 -5
  69. package/dist/bundle/{embedder-EMVDEZFR.js → embedder-63Z7ZBYG.js} +8 -8
  70. package/dist/bundle/{entry-NQD6Z2BM.js → entry-B4J7IAG3.js} +5 -5
  71. package/dist/bundle/{first-run-ZBIO6C67.js → first-run-MXPPUGII.js} +9 -9
  72. package/dist/bundle/first-screen-GFYHUBBD.js +30 -0
  73. package/dist/bundle/{identity-EDGOOTOM.js → identity-AQWKU7SM.js} +3 -3
  74. package/dist/bundle/{instructions-N2WVMNFZ.js → instructions-GBR6DJTK.js} +1 -1
  75. package/dist/bundle/{mcp-EMNFFY4N.js → mcp-YJEQYYTR.js} +2 -2
  76. package/dist/bundle/{node-VBZAZHUS.js → node-QXGPMDH2.js} +2 -2
  77. package/dist/bundle/{node-sqlite-C3V64OAL.js → node-sqlite-L6CAMXQ2.js} +4 -4
  78. package/dist/bundle/{oauth-NZXELYDA.js → oauth-5RK6J4SG.js} +6 -6
  79. package/dist/bundle/{open-2XRUGMV7.js → open-A3IAG7U6.js} +3 -3
  80. package/dist/bundle/{openai-OLGTN3ZB.js → openai-YKNGCHVV.js} +13 -13
  81. package/dist/bundle/{process-CASPZ2DH.js → process-CGLNXFIU.js} +1 -1
  82. package/dist/bundle/{program-QPQDSGYA.js → program-AEDR6R5P.js} +48 -48
  83. package/dist/bundle/{prompt-ESZL7SGX.js → prompt-65CSCL2T.js} +4 -4
  84. package/dist/bundle/{proxy-transport-OROEVBCG.js → proxy-transport-U3QOYMQF.js} +4 -4
  85. package/dist/bundle/{recognize-LQ7QOG4T.js → recognize-ECRO6CFK.js} +3 -3
  86. package/dist/bundle/{remote-34XP4EDN.js → remote-6IEFZFGO.js} +6 -6
  87. package/dist/bundle/{rerank-7F6NLBCW.js → rerank-23GXWT2V.js} +6 -6
  88. package/dist/bundle/{serve-M6TTKXI4.js → serve-S65YTPZN.js} +8 -8
  89. package/dist/bundle/server-IH24WEAC.js +56 -0
  90. package/dist/bundle/{server-GLZ5M7PE.js → server-MVTBK7GV.js} +32 -32
  91. package/dist/bundle/{state-UKKPLMHS.js → state-TH3UVQAW.js} +5 -5
  92. package/dist/bundle/{store-J2MBIDJK.js → store-2WFTUSNG.js} +12 -10
  93. package/dist/bundle/store-maintenance-command-PUOU2CL6.js +45 -0
  94. package/dist/bundle/tg.js +4 -4
  95. package/dist/telegram/adapter.d.ts +2 -0
  96. package/dist/telegram/adapter.d.ts.map +1 -1
  97. package/dist/telegram/adapter.js +3 -0
  98. package/dist/telegram/adapter.js.map +1 -1
  99. package/dist/telegram/topics.d.ts +4 -2
  100. package/dist/telegram/topics.d.ts.map +1 -1
  101. package/dist/telegram/topics.js +21 -3
  102. package/dist/telegram/topics.js.map +1 -1
  103. package/dist/version.d.ts +1 -1
  104. package/dist/version.js +1 -1
  105. package/package.json +3 -3
  106. package/skills/tg-cli/SKILL.md +16 -9
  107. package/dist/bundle/command-contract-TNSW7W6G.js +0 -32
  108. package/dist/bundle/first-screen-4HRCG7OX.js +0 -30
  109. package/dist/bundle/server-KOW7OKE2.js +0 -56
  110. package/dist/bundle/store-maintenance-command-64B57C3U.js +0 -45
  111. /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-WJWLHLQ7.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-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
8
8
  var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
9
9
  `The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
10
10
  "Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
@@ -527,7 +527,7 @@ var require_cross_spawn = __commonJS({
527
527
  }
528
528
  });
529
529
 
530
- // node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
530
+ // node_modules/.pnpm/@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
531
531
  import { existsSync } from "node:fs";
532
532
  import { win32 } from "node:path";
533
533
  var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  openCache
5
- } from "./chunk-SLAPUEMZ.js";
5
+ } from "./chunk-3W7BU2BL.js";
6
6
  import {
7
7
  CliError,
8
8
  isCliError
9
- } from "./chunk-EO563SUX.js";
9
+ } from "./chunk-QL4WBCL5.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/http/listen.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/http/listen.js
8
8
  import { createServer } from "node:http";
9
9
  import { Readable } from "node:stream";
10
10
  var MAX_BODY = 4 * 1024 * 1024;
@@ -4,15 +4,15 @@ import {
4
4
  organization,
5
5
  project,
6
6
  reminder
7
- } from "./chunk-7LZBMZQM.js";
7
+ } from "./chunk-XSYJKEA5.js";
8
8
  import {
9
9
  queryFieldsOf
10
- } from "./chunk-YPLL3Q3M.js";
10
+ } from "./chunk-EO7PQE3J.js";
11
11
 
12
- // node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
12
+ // node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
13
13
  var MAX_BYTES = 16 * 1024 * 1024;
14
14
 
15
- // node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
15
+ // node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
16
16
  var ORGANIZATIONS_QUERY = {
17
17
  entity: "organization",
18
18
  backend: "sql",
@@ -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-EO563SUX.js";
5
+ } from "./chunk-QL4WBCL5.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // node_modules/.pnpm/@wirecat+cli-core@0.511.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._5c8fd69a9fdf1e5f27f7a7a8cfa45e82/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/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();