@wirecat/tg-cli 0.111.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-WFC2JAD4.js → adapter-ILDV2YSZ.js} +70 -50
  4. package/dist/bundle/{all-profiles-FEUSGHT7.js → all-profiles-4SH2Q4WV.js} +8 -8
  5. package/dist/bundle/{anthropic-O646SJIJ.js → anthropic-64SM23YO.js} +5 -5
  6. package/dist/bundle/{app-server-7P23Y45A.js → app-server-SSYZWCDJ.js} +40 -40
  7. package/dist/bundle/{bot-api-WTJCL6VF.js → bot-api-OHAGQMES.js} +46 -46
  8. package/dist/bundle/{bot-history-5J2Q4SPC.js → bot-history-AUFO7UL2.js} +15 -15
  9. package/dist/bundle/{bun-KUKVEKDW.js → bun-AHZX63TR.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-2G5TXHYE.js → bun-sqlite-KBIIODPV.js} +4 -4
  11. package/dist/bundle/{chunk-43ZFY6TW.js → chunk-2IGZLBTE.js} +2 -2
  12. package/dist/bundle/{chunk-ABVHA4K6.js → chunk-3AJO4GER.js} +5 -5
  13. package/dist/bundle/{chunk-PNUHAHTF.js → chunk-3GL4AOOG.js} +1 -1
  14. package/dist/bundle/{chunk-TWZTQHP6.js → chunk-3W7BU2BL.js} +6 -6
  15. package/dist/bundle/{chunk-YFK3DNNP.js → chunk-4IDJ7QCG.js} +4 -4
  16. package/dist/bundle/{chunk-KLHLWKWC.js → chunk-4JXZKMXV.js} +65 -54
  17. package/dist/bundle/{chunk-J4QVXR5I.js → chunk-5BNYW5RA.js} +2 -2
  18. package/dist/bundle/{chunk-33HEHPIK.js → chunk-5W72OARG.js} +8 -8
  19. package/dist/bundle/{chunk-YG4BO7N3.js → chunk-6KGENDPF.js} +2 -2
  20. package/dist/bundle/{chunk-HN6ZMUAS.js → chunk-7MFJFVUN.js} +1 -1
  21. package/dist/bundle/{chunk-3BD24JYK.js → chunk-B3Y2KZRS.js} +105 -94
  22. package/dist/bundle/{chunk-KE47Y4PW.js → chunk-BIERCQVG.js} +639 -374
  23. package/dist/bundle/{chunk-J2Z5E7TO.js → chunk-BTAET4U3.js} +1 -1
  24. package/dist/bundle/{chunk-UIPT6IAU.js → chunk-COTC7HF3.js} +1 -1
  25. package/dist/bundle/{chunk-MSGYLWCH.js → chunk-D5JP2YWG.js} +2 -2
  26. package/dist/bundle/{chunk-UDYCZ5KB.js → chunk-DFUTZGEV.js} +1 -1
  27. package/dist/bundle/{chunk-QVM2HKJP.js → chunk-DNYGJAEP.js} +4 -4
  28. package/dist/bundle/{chunk-2ZH3PUQX.js → chunk-E4EJ2UTT.js} +2 -2
  29. package/dist/bundle/{chunk-DREEXESG.js → chunk-EO7PQE3J.js} +82 -64
  30. package/dist/bundle/{chunk-NIKYFRDQ.js → chunk-EPAOLRUL.js} +2 -2
  31. package/dist/bundle/{chunk-BNQOUCL2.js → chunk-GM44UNGL.js} +1 -1
  32. package/dist/bundle/{chunk-NQAV7U7C.js → chunk-GSGS62LX.js} +1 -1
  33. package/dist/bundle/{chunk-UPRYEDAV.js → chunk-GW7JRFTF.js} +3 -3
  34. package/dist/bundle/{chunk-QEAMO2TS.js → chunk-ICEJKOKO.js} +7 -7
  35. package/dist/bundle/{chunk-LLAZSGS7.js → chunk-JIGYVVWA.js} +22 -22
  36. package/dist/bundle/{chunk-UMUJHC4M.js → chunk-JLB5LEXJ.js} +3 -3
  37. package/dist/bundle/{chunk-WDRNVSWF.js → chunk-JPRYFDOJ.js} +45 -44
  38. package/dist/bundle/{chunk-VIEVOF3O.js → chunk-JXTYTAWE.js} +11 -11
  39. package/dist/bundle/{chunk-XXOJ7PQY.js → chunk-JYOQMYNJ.js} +28 -28
  40. package/dist/bundle/{chunk-7665YBJ7.js → chunk-K7VOCHVS.js} +6 -6
  41. package/dist/bundle/{chunk-K457FHD4.js → chunk-KGYPSBTI.js} +22 -22
  42. package/dist/bundle/{chunk-BWRCPMMC.js → chunk-KLNQXUDX.js} +18 -18
  43. package/dist/bundle/{chunk-5ZPLOYTP.js → chunk-KYYAHIG2.js} +238 -222
  44. package/dist/bundle/{chunk-COHMFCHD.js → chunk-MCXVGHL6.js} +85 -31
  45. package/dist/bundle/{chunk-T6DSAROY.js → chunk-NKACHGB2.js} +25 -14
  46. package/dist/bundle/{chunk-OYVDWHP5.js → chunk-NQKPXVLX.js} +2 -2
  47. package/dist/bundle/{chunk-CJUSP5X2.js → chunk-PDVSMGWO.js} +2 -2
  48. package/dist/bundle/{chunk-XIRASTVS.js → chunk-PXUHQO66.js} +11 -11
  49. package/dist/bundle/{chunk-EO563SUX.js → chunk-QL4WBCL5.js} +7 -7
  50. package/dist/bundle/{chunk-PQGWEFJ2.js → chunk-QMJGHSGN.js} +3 -3
  51. package/dist/bundle/{chunk-UFIUMPXP.js → chunk-RANORATG.js} +4 -4
  52. package/dist/bundle/{chunk-5FJQG5UZ.js → chunk-RC7EBLHM.js} +8 -8
  53. package/dist/bundle/{chunk-7GQLD5TJ.js → chunk-RHYMEHYK.js} +2 -2
  54. package/dist/bundle/{chunk-QAC6Z675.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-ITSSCYLP.js → chunk-TOBJGMMA.js} +11 -11
  58. package/dist/bundle/{chunk-ZCHC7TYO.js → chunk-TUJEJ4D5.js} +26 -13
  59. package/dist/bundle/{chunk-DEG4JJHG.js → chunk-UQOSZ2XX.js} +449 -341
  60. package/dist/bundle/{chunk-ZCV4UEVH.js → chunk-UVRD447S.js} +3 -3
  61. package/dist/bundle/{chunk-2K6IGVSI.js → chunk-UXCWUEN7.js} +5 -5
  62. package/dist/bundle/{chunk-3WUTBGZE.js → chunk-WI2S6INJ.js} +6 -6
  63. package/dist/bundle/{chunk-AUWYMMYL.js → chunk-WWKXTKCE.js} +4 -4
  64. package/dist/bundle/{chunk-QLLPZWYZ.js → chunk-XSYJKEA5.js} +4 -4
  65. package/dist/bundle/command-contract-4KVJJZ46.js +32 -0
  66. package/dist/bundle/{decode-QJNVAAKJ.js → decode-FR3QHHJI.js} +4 -4
  67. package/dist/bundle/{echarts-2EDY7OUX.js → echarts-VTV4C2OS.js} +2 -2
  68. package/dist/bundle/{embed-PZSXOQJO.js → embed-US7X5P5D.js} +5 -5
  69. package/dist/bundle/{embedder-O4EGMMUU.js → embedder-63Z7ZBYG.js} +8 -8
  70. package/dist/bundle/{entry-DVLMQM6J.js → entry-B4J7IAG3.js} +5 -5
  71. package/dist/bundle/{first-run-J67KTUWA.js → first-run-MXPPUGII.js} +9 -9
  72. package/dist/bundle/first-screen-GFYHUBBD.js +30 -0
  73. package/dist/bundle/{identity-DSYY4FLQ.js → identity-AQWKU7SM.js} +3 -3
  74. package/dist/bundle/{instructions-O535XB2L.js → instructions-GBR6DJTK.js} +1 -1
  75. package/dist/bundle/{mcp-EMNFFY4N.js → mcp-YJEQYYTR.js} +2 -2
  76. package/dist/bundle/{node-S3VEQNTE.js → node-QXGPMDH2.js} +2 -2
  77. package/dist/bundle/{node-sqlite-3DNWF2BW.js → node-sqlite-L6CAMXQ2.js} +4 -4
  78. package/dist/bundle/{oauth-IU2RAZ3D.js → oauth-5RK6J4SG.js} +6 -6
  79. package/dist/bundle/{open-M2IPPXMI.js → open-A3IAG7U6.js} +3 -3
  80. package/dist/bundle/{openai-GDI7HISL.js → openai-YKNGCHVV.js} +13 -13
  81. package/dist/bundle/{process-3IGMEATV.js → process-CGLNXFIU.js} +1 -1
  82. package/dist/bundle/{program-P7YPHVLD.js → program-AEDR6R5P.js} +48 -48
  83. package/dist/bundle/{prompt-S6R7IHDK.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-PFZRQ3P4.js → recognize-ECRO6CFK.js} +3 -3
  86. package/dist/bundle/{remote-Q37V7LUX.js → remote-6IEFZFGO.js} +6 -6
  87. package/dist/bundle/{rerank-V5YQQQAM.js → rerank-23GXWT2V.js} +6 -6
  88. package/dist/bundle/{serve-5CAD2UVG.js → serve-S65YTPZN.js} +8 -8
  89. package/dist/bundle/server-IH24WEAC.js +56 -0
  90. package/dist/bundle/{server-R6YAO2SG.js → server-MVTBK7GV.js} +32 -32
  91. package/dist/bundle/{state-Y3A2NEM3.js → state-TH3UVQAW.js} +5 -5
  92. package/dist/bundle/{store-H5K32CNI.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 +2 -0
  107. package/dist/bundle/command-contract-JCRVVL7P.js +0 -32
  108. package/dist/bundle/first-screen-PYEE5NMQ.js +0 -30
  109. package/dist/bundle/server-RUQLAWWS.js +0 -56
  110. package/dist/bundle/store-maintenance-command-QZDC4WKW.js +0 -45
  111. /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-WJWLHLQ7.js} +0 -0
@@ -3,9 +3,9 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  loadVectorExtension,
5
5
  vectorExtension
6
- } from "./chunk-OYVDWHP5.js";
7
- import "./chunk-BWRCPMMC.js";
8
- import "./chunk-EO563SUX.js";
6
+ } from "./chunk-NQKPXVLX.js";
7
+ import "./chunk-KLNQXUDX.js";
8
+ import "./chunk-QL4WBCL5.js";
9
9
  import {
10
10
  importFrom
11
11
  } from "./chunk-Y5E2WNWB.js";
@@ -13,7 +13,7 @@ import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
16
+ // 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/drivers/bun-sqlite.js
17
17
  var customised = false;
18
18
  var ownLibrary = /* @__PURE__ */ __name(async () => {
19
19
  try {
@@ -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.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/ports/app.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/ports/app.js
11
11
  var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
12
12
  var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
13
13
  const name = envName(app, "READ_ONLY");
@@ -4,23 +4,23 @@ import {
4
4
  executableEnvironment,
5
5
  executableOnPath,
6
6
  require_cross_spawn
7
- } from "./chunk-UIPT6IAU.js";
7
+ } from "./chunk-COTC7HF3.js";
8
8
  import {
9
9
  loadConfigFile,
10
10
  saveConfigFile
11
- } from "./chunk-BWRCPMMC.js";
11
+ } from "./chunk-KLNQXUDX.js";
12
12
  import {
13
13
  number,
14
14
  object,
15
15
  optional,
16
16
  string
17
- } from "./chunk-EO563SUX.js";
17
+ } from "./chunk-QL4WBCL5.js";
18
18
  import {
19
19
  __name,
20
20
  __toESM
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // 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/installer.js
23
+ // 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/installer.js
24
24
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
25
25
  const path = scriptPath.replaceAll("\\", "/");
26
26
  if (path.includes("/_npx/"))
@@ -34,7 +34,7 @@ var installerOf = /* @__PURE__ */ __name((scriptPath) => {
34
34
  return path.includes("/dist/") ? "checkout" : "unknown";
35
35
  }, "installerOf");
36
36
 
37
- // 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/update/index.js
37
+ // 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/update/index.js
38
38
  var import_cross_spawn = __toESM(require_cross_spawn(), 1);
39
39
  import { existsSync } from "node:fs";
40
40
  var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/background/processes.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/background/processes.js
8
8
  import { execFileSync } from "node:child_process";
9
9
  import { readdirSync, readFileSync, readlinkSync } from "node:fs";
10
10
  var alive = /* @__PURE__ */ __name((pid) => {
@@ -2,19 +2,19 @@ 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.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/store/driver.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/store/driver.js
11
11
  var PRAGMAS = `
12
12
  PRAGMA busy_timeout = 5000;
13
13
  PRAGMA journal_mode = WAL;
14
14
  PRAGMA foreign_keys = ON;
15
15
  `;
16
16
 
17
- // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
17
+ // 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-warning.js
18
18
  var SQLITE_WARNING = "SQLite is an experimental feature";
19
19
  var quieted = /* @__PURE__ */ new WeakSet();
20
20
  var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
@@ -35,7 +35,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
35
35
  return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
36
36
  }, "isSqliteWarning");
37
37
 
38
- // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/store/open.js
38
+ // 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/open.js
39
39
  var openCache = /* @__PURE__ */ __name(async (path) => {
40
40
  const database = await openFile(path);
41
41
  try {
@@ -48,12 +48,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
48
48
  }, "openCache");
49
49
  var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
50
50
  var openUnderBun = /* @__PURE__ */ __name(async (path) => {
51
- const { openWithBunSqlite } = await import("./bun-sqlite-2G5TXHYE.js");
51
+ const { openWithBunSqlite } = await import("./bun-sqlite-KBIIODPV.js");
52
52
  return await openWithBunSqlite(path);
53
53
  }, "openUnderBun");
54
54
  var openUnderNode = /* @__PURE__ */ __name(async (path) => {
55
55
  quietSqliteWarning();
56
- const { openWithNodeSqlite } = await import("./node-sqlite-3DNWF2BW.js");
56
+ const { openWithNodeSqlite } = await import("./node-sqlite-L6CAMXQ2.js");
57
57
  return openWithNodeSqlite(path);
58
58
  }, "openUnderNode");
59
59
  var runtime = /* @__PURE__ */ __name(() => {
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-UPRYEDAV.js";
8
+ } from "./chunk-GW7JRFTF.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
13
+ // 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/http/state.js
14
14
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
15
15
 
16
- // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // 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/http/activity.js
17
17
  import { randomBytes } from "node:crypto";
18
18
  import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
86
86
  };
87
87
  }, "activityRecorder");
88
88
 
89
- // node_modules/.pnpm/@wirecat+cli-core@0.517.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.68.1_commander@15._6629eebba461c30d3c69d5318744d1d9/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // 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/http/state.js
90
90
  var ACCESS_SECONDS = 60 * 60;
91
91
  var REFRESH_SECONDS = 30 * 24 * 60 * 60;
92
92
  var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");