@wirecat/tg-cli 0.131.0 → 0.133.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 (136) hide show
  1. package/README.md +138 -317
  2. package/dist/bin/tg.js +2 -2
  3. package/dist/bundle/{adapter-TA637IRT.js → adapter-GSGX3WBH.js} +61 -60
  4. package/dist/bundle/{all-profiles-7M3GBCB6.js → all-profiles-VOCJ55YH.js} +9 -9
  5. package/dist/bundle/{anthropic-P3THLZWO.js → anthropic-J6CTLU3W.js} +5 -5
  6. package/dist/bundle/{app-server-OE5EAXIY.js → app-server-GVFGA4TJ.js} +57 -57
  7. package/dist/bundle/{bot-api-WYR2C4A5.js → bot-api-LWONPIGK.js} +62 -61
  8. package/dist/bundle/{bot-history-PKJTHU7L.js → bot-history-XOW7Y2GC.js} +22 -22
  9. package/dist/bundle/{bun-XMZJDDEA.js → bun-436CH6CP.js} +2 -2
  10. package/dist/bundle/{bun-sqlite-F5RWCB2N.js → bun-sqlite-ZLB5RK5Q.js} +6 -6
  11. package/dist/bundle/chunk-2KQDJHF3.js +88 -0
  12. package/dist/bundle/{chunk-WG6UZJ3E.js → chunk-54WLIPIQ.js} +1 -1
  13. package/dist/bundle/{chunk-LDSTUBLY.js → chunk-57KJ3TRS.js} +9 -9
  14. package/dist/bundle/{chunk-LTP4BYHJ.js → chunk-5HKPQPD4.js} +6 -6
  15. package/dist/bundle/{chunk-LJO6MMQG.js → chunk-5L44DSHV.js} +4 -4
  16. package/dist/bundle/{chunk-5AJ5RLJW.js → chunk-5LRTYBZW.js} +14 -13
  17. package/dist/bundle/{chunk-6BPM3LNR.js → chunk-6A44ZZFC.js} +6 -6
  18. package/dist/bundle/{chunk-HT6OFANN.js → chunk-6CHIGUCY.js} +20 -20
  19. package/dist/bundle/{chunk-34PRGA7E.js → chunk-6H2NW6HK.js} +3 -3
  20. package/dist/bundle/{chunk-JSE4OBYI.js → chunk-6S77EKZU.js} +13 -13
  21. package/dist/bundle/{chunk-TT6OHNV2.js → chunk-6VCSOQFL.js} +2 -2
  22. package/dist/bundle/{chunk-CLG2ISQH.js → chunk-7NF3V5L2.js} +4 -4
  23. package/dist/bundle/{chunk-Z2TCTTPJ.js → chunk-7NYP4RBO.js} +1910 -1015
  24. package/dist/bundle/{chunk-B6NQJAUC.js → chunk-BXVB42KJ.js} +2 -2
  25. package/dist/bundle/{chunk-PS7ZS5HD.js → chunk-CEJYNB3I.js} +4 -4
  26. package/dist/bundle/{chunk-6O5AD3GA.js → chunk-D2SJLZSH.js} +2 -2
  27. package/dist/bundle/{chunk-P6KGEZIS.js → chunk-H7ML7X3G.js} +5 -5
  28. package/dist/bundle/{chunk-BXW6FGLD.js → chunk-HB5DP6L5.js} +15 -15
  29. package/dist/bundle/{chunk-S2IET7WM.js → chunk-IBCXEVNY.js} +3 -3
  30. package/dist/bundle/{chunk-PHGH5N4C.js → chunk-IH4Z3KZU.js} +2 -2
  31. package/dist/bundle/{chunk-UGYC2FV5.js → chunk-IPPCQ7IK.js} +2 -2
  32. package/dist/bundle/{chunk-AJQ6JFLY.js → chunk-IYAXLLGR.js} +6 -6
  33. package/dist/bundle/{chunk-UUNQV4YL.js → chunk-JGMXBAGH.js} +111 -41
  34. package/dist/bundle/{chunk-O7X6RM5R.js → chunk-JKSD43L7.js} +6 -6
  35. package/dist/bundle/{chunk-AEIDEIVB.js → chunk-JPNVEPS4.js} +2331 -1406
  36. package/dist/bundle/{chunk-GNIROVSK.js → chunk-KEN4B57V.js} +2 -2
  37. package/dist/bundle/{chunk-NOZZHEMD.js → chunk-KHUXDSXN.js} +1 -1
  38. package/dist/bundle/{chunk-JUFLELQ7.js → chunk-KUA24HWG.js} +2 -2
  39. package/dist/bundle/{chunk-H655CMXJ.js → chunk-KVFUH5IT.js} +1 -1
  40. package/dist/bundle/{chunk-EZBMLKBK.js → chunk-LBZEZO32.js} +36 -36
  41. package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-LIQMUDIZ.js} +2 -2
  42. package/dist/bundle/{chunk-SLT2PBFP.js → chunk-LOS4D6ZB.js} +67 -30
  43. package/dist/bundle/{chunk-6TJTQ4I4.js → chunk-LQQSDGQ6.js} +35 -36
  44. package/dist/bundle/{chunk-QGFUUJPL.js → chunk-M6QOM6SL.js} +1 -1
  45. package/dist/bundle/{chunk-JDLNI7BU.js → chunk-N3JUHGKM.js} +308 -285
  46. package/dist/bundle/{chunk-OOSX7K7G.js → chunk-N7QREPZW.js} +8 -8
  47. package/dist/bundle/{chunk-IULSIKEM.js → chunk-NAXOT35J.js} +3 -3
  48. package/dist/bundle/{chunk-GA3URWIF.js → chunk-NO2LIHWA.js} +1 -1
  49. package/dist/bundle/{chunk-MYC3M4BY.js → chunk-NTWXL2QV.js} +2 -2
  50. package/dist/bundle/{chunk-WUIKJJ5A.js → chunk-O6JUVATT.js} +8 -8
  51. package/dist/bundle/{chunk-43KSYUZU.js → chunk-OWY52JBO.js} +7 -7
  52. package/dist/bundle/{chunk-2TOJQQKS.js → chunk-OX73ERZW.js} +1 -1
  53. package/dist/bundle/{chunk-NXNSEFGR.js → chunk-QGWISM4W.js} +24 -24
  54. package/dist/bundle/{chunk-AUNNJDVD.js → chunk-QVGEL66U.js} +28 -8
  55. package/dist/bundle/{chunk-5ZIT6JXP.js → chunk-QWO7L4UH.js} +7 -7
  56. package/dist/bundle/{chunk-PD4RREQB.js → chunk-QYLZD4DS.js} +1 -1
  57. package/dist/bundle/{chunk-LEPDRO3O.js → chunk-RABUG4KA.js} +76 -59
  58. package/dist/bundle/{chunk-ITYDJIRC.js → chunk-SMI2EUH4.js} +1 -1
  59. package/dist/bundle/{chunk-76UAXRDY.js → chunk-SMU6NA7F.js} +4 -4
  60. package/dist/bundle/{chunk-O73DZURO.js → chunk-TCI7I6YF.js} +10 -10
  61. package/dist/bundle/{chunk-VNJZXV7E.js → chunk-THYGLTRB.js} +9 -60
  62. package/dist/bundle/{chunk-OX5EAUKF.js → chunk-TPD37ECC.js} +3 -3
  63. package/dist/bundle/{chunk-2OXR2MRV.js → chunk-TTDZVWDU.js} +1 -1
  64. package/dist/bundle/{chunk-YZTMQE62.js → chunk-UGS57TT5.js} +2 -2
  65. package/dist/bundle/{chunk-OPG54IFH.js → chunk-UIAKLELF.js} +54 -54
  66. package/dist/bundle/{chunk-5N7TJ6TJ.js → chunk-UKBK2VWZ.js} +217 -165
  67. package/dist/bundle/{chunk-NTORQXAS.js → chunk-UQYL6TJ7.js} +4 -4
  68. package/dist/bundle/{chunk-2U6XE4HI.js → chunk-UZ63ORMY.js} +4 -4
  69. package/dist/bundle/{chunk-SQ2JLZFK.js → chunk-VCAOH45X.js} +1 -1
  70. package/dist/bundle/{chunk-YJ4BPNWI.js → chunk-VGN5YXYI.js} +3 -3
  71. package/dist/bundle/{chunk-XC2YJDDK.js → chunk-VTQMR3XG.js} +3 -3
  72. package/dist/bundle/{chunk-BFERGEBI.js → chunk-VWJTYAIQ.js} +17 -17
  73. package/dist/bundle/{chunk-JF4AJNCE.js → chunk-WCYKVX3B.js} +7 -7
  74. package/dist/bundle/{chunk-EXMJDHBM.js → chunk-XDQU5HBO.js} +12 -12
  75. package/dist/bundle/{chunk-SS5H2XAT.js → chunk-XKOMP3HV.js} +2 -2
  76. package/dist/bundle/{chunk-J2QQZVEN.js → chunk-XOX4BX5A.js} +4 -4
  77. package/dist/bundle/{chunk-66PL7P4C.js → chunk-YAPDU3SV.js} +1 -1
  78. package/dist/bundle/{chunk-L2SMUTJY.js → chunk-YY6FGKGD.js} +2 -2
  79. package/dist/bundle/{chunk-VVUUP5NF.js → chunk-ZHO3TPHM.js} +13 -13
  80. package/dist/bundle/{chunk-LWSOCKOD.js → chunk-ZYAHZKYF.js} +3 -3
  81. package/dist/bundle/command-contract-TQIARAB4.js +37 -0
  82. package/dist/bundle/{command-server-entry-6FH3RXJ2.js → command-server-entry-AE27QXTE.js} +27 -27
  83. package/dist/bundle/{decode-UBRT2QDP.js → decode-RQPPZ72F.js} +5 -5
  84. package/dist/bundle/{dispatch-ST5FK2KI.js → dispatch-KQO2MCSH.js} +8 -8
  85. package/dist/bundle/{echarts-PG45GQLR.js → echarts-FZRIACN4.js} +2 -2
  86. package/dist/bundle/{embed-BUQDSZ57.js → embed-TOSWWMDL.js} +6 -6
  87. package/dist/bundle/{embedder-TXA3EV7O.js → embedder-JHIQSBGD.js} +9 -9
  88. package/dist/bundle/{entry-JWIEF57D.js → entry-DU4KRXTG.js} +9 -9
  89. package/dist/bundle/{failure-GMUQKQ5K.js → failure-3YC3YGYO.js} +2 -2
  90. package/dist/bundle/{first-run-5VTHKMK5.js → first-run-DQQT4FID.js} +12 -12
  91. package/dist/bundle/first-screen-7N4CTZSA.js +37 -0
  92. package/dist/bundle/{instructions-ZMEPWTFO.js → instructions-WI64CJQ6.js} +1 -1
  93. package/dist/bundle/{mcp-VFIOZDVY.js → mcp-VMS6PBCU.js} +2 -2
  94. package/dist/bundle/meeting-combined-3RAOFQ7M.js +23 -0
  95. package/dist/bundle/{meeting-model-5FVNZCTL.js → meeting-model-XNRSREIK.js} +11 -11
  96. package/dist/bundle/{meeting-semantic-HUMYFMO7.js → meeting-semantic-OOSCHQMB.js} +6 -6
  97. package/dist/bundle/{node-N4DQQJKK.js → node-JLKDNVKV.js} +2 -2
  98. package/dist/bundle/{node-sqlite-MG4KFXYY.js → node-sqlite-YOGH26O2.js} +7 -7
  99. package/dist/bundle/{oauth-NKDSXEH6.js → oauth-FOMXM5HP.js} +7 -7
  100. package/dist/bundle/{open-DV2YUU2M.js → open-SM2UXUKM.js} +5 -5
  101. package/dist/bundle/{openai-FEKMZOUJ.js → openai-J2H7S6ZF.js} +15 -15
  102. package/dist/bundle/{process-QZS3TE6A.js → process-HI7OZBOI.js} +1 -1
  103. package/dist/bundle/{program-FNDGXEVS.js → program-VY4HFU25.js} +64 -63
  104. package/dist/bundle/{prompt-C7RSBNH5.js → prompt-NUUVFMOF.js} +5 -5
  105. package/dist/bundle/{proxy-transport-A4MRO3PF.js → proxy-transport-AN4VMRRN.js} +5 -5
  106. package/dist/bundle/{recognize-5BL763FS.js → recognize-MALJHPDI.js} +4 -4
  107. package/dist/bundle/{remote-CXAKRC7X.js → remote-QUDRSTS2.js} +9 -9
  108. package/dist/bundle/{rerank-XAEXY5A4.js → rerank-2DSO3D3S.js} +7 -7
  109. package/dist/bundle/{serve-JLZGFTZH.js → serve-NCJ52MY3.js} +9 -9
  110. package/dist/bundle/server-CHGON5I2.js +70 -0
  111. package/dist/bundle/{server-GF3TV2U7.js → server-Y3M544AM.js} +49 -49
  112. package/dist/bundle/{sqlite-runtime-3OVQ7OTM.js → sqlite-runtime-NJUSXVKK.js} +6 -6
  113. package/dist/bundle/{state-FGJKQKC2.js → state-AVOWQVET.js} +6 -6
  114. package/dist/bundle/{store-WYLMNAAQ.js → store-BZ5ICDRP.js} +23 -19
  115. package/dist/bundle/{store-2J5VJZQY.js → store-MMIYOL4H.js} +19 -17
  116. package/dist/bundle/store-maintenance-command-VKZ4WHUB.js +61 -0
  117. package/dist/bundle/tg.js +13 -13
  118. package/dist/version.d.ts +1 -1
  119. package/dist/version.js +1 -1
  120. package/package.json +3 -3
  121. package/skills/tg-cli/SKILL.md +78 -576
  122. package/skills/tg-cli/references/files.md +64 -0
  123. package/skills/tg-cli/references/history.md +22 -0
  124. package/skills/tg-cli/references/mcp-and-bots.md +54 -0
  125. package/skills/tg-cli/references/messages.md +111 -0
  126. package/skills/tg-cli/references/people.md +85 -0
  127. package/skills/tg-cli/references/search.md +130 -0
  128. package/skills/tg-cli/references/setup.md +91 -0
  129. package/skills/tg-cli/references/stats.md +45 -0
  130. package/skills/tg-cli/references/tasks.md +54 -0
  131. package/dist/bundle/command-contract-DAQYQF6R.js +0 -37
  132. package/dist/bundle/first-screen-PTHIZ5ZF.js +0 -35
  133. package/dist/bundle/meeting-combined-DU3RJR6X.js +0 -23
  134. package/dist/bundle/server-GLPEWUYT.js +0 -69
  135. package/dist/bundle/store-maintenance-command-QN6QH6RA.js +0 -60
  136. /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-SHTHNBHG.js} +0 -0
@@ -5,15 +5,15 @@ import {
5
5
  } from "./chunk-Y5E2WNWB.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-F6MLJ3V5.js";
8
+ } from "./chunk-LIQMUDIZ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/speech/recognize.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/speech/recognize.js
14
14
  import { createRequire } from "node:module";
15
15
 
16
- // 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/speech/ogg-limit.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
17
17
  var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
18
18
  var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
19
19
  const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
70
70
  throw invalid();
71
71
  }, "checkOggDuration");
72
72
 
73
- // 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/speech/recognize.js
73
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/speech/recognize.js
74
74
  var SAMPLE_RATE = 16e3;
75
75
  var LEAD = SAMPLE_RATE / 2;
76
76
  var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
@@ -5,15 +5,15 @@ import {
5
5
  readLock,
6
6
  releaseLock,
7
7
  takeLock
8
- } from "./chunk-OX5EAUKF.js";
8
+ } from "./chunk-TPD37ECC.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/mcp/http/state.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/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.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/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.672.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_45e526ef63b403e5407f6f52c7b6265f/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
89
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/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");
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // 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/store/sqlite/drizzle/shared-5XR7K42U.js
7
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
8
8
  var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
9
9
  var kindsByConstructor = /* @__PURE__ */ new WeakMap();
10
10
  function collectKinds(ctor) {
@@ -29,7 +29,7 @@ import {
29
29
  agentOf,
30
30
  clientHash,
31
31
  currentCaller
32
- } from "./chunk-5ZIT6JXP.js";
32
+ } from "./chunk-QWO7L4UH.js";
33
33
  import {
34
34
  __name
35
35
  } from "./chunk-ZVVMGPBJ.js";
@@ -541,7 +541,7 @@ function toError(value) {
541
541
  }
542
542
  __name(toError, "toError");
543
543
 
544
- // 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/mcp/caller.js
544
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/caller.js
545
545
  var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
546
546
  const client = caller?.agent?.client?.name;
547
547
  if (client && client !== "unknown")
@@ -629,7 +629,7 @@ var passedOn = /* @__PURE__ */ __name((value, tool) => {
629
629
  };
630
630
  }, "passedOn");
631
631
 
632
- // 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/mcp/stdio-wire.js
632
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
633
633
  import { PassThrough, Writable } from "node:stream";
634
634
  var lineReader = /* @__PURE__ */ __name((onMessage) => {
635
635
  let rest = "";
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  formatMeetingReference
5
- } from "./chunk-LEPDRO3O.js";
5
+ } from "./chunk-RABUG4KA.js";
6
6
  import {
7
7
  CliError
8
- } from "./chunk-F6MLJ3V5.js";
8
+ } from "./chunk-LIQMUDIZ.js";
9
9
  import {
10
10
  __name
11
11
  } from "./chunk-ZVVMGPBJ.js";
12
12
 
13
- // 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/services/meeting-semantic.js
13
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/services/meeting-semantic.js
14
14
  var positive = /* @__PURE__ */ __name((value, name, max) => {
15
15
  if (!Number.isSafeInteger(value) || value < 1 || value > max)
16
16
  throw new CliError("validation_error", `Invalid ${name}`);
@@ -23,28 +23,28 @@ import {
23
23
  tagMemberIds,
24
24
  thingOf,
25
25
  write
26
- } from "./chunk-Z2TCTTPJ.js";
26
+ } from "./chunk-7NYP4RBO.js";
27
27
  import {
28
28
  fold
29
- } from "./chunk-2OXR2MRV.js";
29
+ } from "./chunk-TTDZVWDU.js";
30
30
  import {
31
31
  ADDED_PROVIDER,
32
32
  filesAccountSql,
33
33
  folderProviderOf,
34
34
  folderProviderSql,
35
35
  isDocumentAccountProvider
36
- } from "./chunk-EZBMLKBK.js";
36
+ } from "./chunk-LBZEZO32.js";
37
37
  import {
38
38
  damagedFile
39
- } from "./chunk-LWSOCKOD.js";
39
+ } from "./chunk-ZYAHZKYF.js";
40
40
  import {
41
41
  CliError
42
- } from "./chunk-F6MLJ3V5.js";
42
+ } from "./chunk-LIQMUDIZ.js";
43
43
  import {
44
44
  __name
45
45
  } from "./chunk-ZVVMGPBJ.js";
46
46
 
47
- // 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/store/damage.js
47
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/damage.js
48
48
  var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
49
49
  var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
50
50
  var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
@@ -147,11 +147,11 @@ var storeDamageReport = /* @__PURE__ */ __name(({ health, command, mark = null,
147
147
  };
148
148
  }, "storeDamageReport");
149
149
 
150
- // 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/store/document-transfer/index.js
150
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
151
151
  import { realpathSync, statSync } from "node:fs";
152
152
  import { resolve } from "node:path";
153
153
 
154
- // 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/store/sqlite/document-transfer/people.js
154
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
155
155
  var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
156
156
  const creatable = /* @__PURE__ */ new Set();
157
157
  let people = 0, identities = 0;
@@ -214,11 +214,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
214
214
  }
215
215
  }, "copyPeople");
216
216
 
217
- // 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/store/document-transfer/digest.js
217
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
218
218
  import { createHash } from "node:crypto";
219
219
  var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
220
220
 
221
- // 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/store/sqlite/document-transfer/collection.js
221
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
222
222
  var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
223
223
  const colon = collection.indexOf(":");
224
224
  const provider = collection.slice(0, colon);
@@ -262,7 +262,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
262
262
  };
263
263
  }, "currentCollection");
264
264
 
265
- // 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/store/sqlite/document-transfer/plan.js
265
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
266
266
  var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
267
267
  const mappings = /* @__PURE__ */ new Map();
268
268
  const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
@@ -429,7 +429,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
429
429
  };
430
430
  }, "planTransfer");
431
431
 
432
- // 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/store/sqlite/document-transfer/snapshot.js
432
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
433
433
  var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
434
434
  var MAX_ENTITIES = 1e3;
435
435
  var MAX_AUXILIARY = 1e4;
@@ -591,7 +591,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
591
591
  };
592
592
  }), "transferSnapshot");
593
593
 
594
- // 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/store/sqlite/document-transfer/apply.js
594
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
595
595
  var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
596
596
  if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
597
597
  return provider ?? null;
@@ -763,7 +763,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
763
763
  database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
764
764
  }, "remapEntity");
765
765
 
766
- // 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/store/document-transfer/index.js
766
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
767
767
  var locations = /* @__PURE__ */ __name((options) => {
768
768
  for (const value of [options.source, options.destination, options.collection])
769
769
  if (typeof value !== "string" || !value.trim())
@@ -865,7 +865,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
865
865
  }
866
866
  }, "applyWith");
867
867
 
868
- // 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/store/health.js
868
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/health.js
869
869
  import { existsSync, statSync as statSync2 } from "node:fs";
870
870
  var JSON_COLUMNS = {
871
871
  accounts: ["settings"],
@@ -1007,7 +1007,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
1007
1007
  }
1008
1008
  }, "storeHealth");
1009
1009
 
1010
- // 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/store/project-transfer/preview.js
1010
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
1011
1011
  var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
1012
1012
  if (!options || typeof options !== "object" || Array.isArray(options))
1013
1013
  throw new CliError("validation_error", "project preview options are required");
@@ -1033,7 +1033,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
1033
1033
  });
1034
1034
  }, "previewProjectAnnotationSnapshot");
1035
1035
 
1036
- // 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/store/project-transfer/snapshot.js
1036
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
1037
1037
  var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
1038
1038
  if (!options || typeof options !== "object" || Array.isArray(options))
1039
1039
  throw new CliError("validation_error", "snapshot options are required");
@@ -2,24 +2,24 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  storePath
5
- } from "./chunk-TT6OHNV2.js";
5
+ } from "./chunk-6VCSOQFL.js";
6
6
  import {
7
7
  resolvePaths,
8
8
  writeSecurely
9
- } from "./chunk-HT6OFANN.js";
9
+ } from "./chunk-6CHIGUCY.js";
10
10
  import {
11
11
  CliError,
12
12
  singleLine
13
- } from "./chunk-F6MLJ3V5.js";
13
+ } from "./chunk-LIQMUDIZ.js";
14
14
  import {
15
15
  __name
16
16
  } from "./chunk-ZVVMGPBJ.js";
17
17
 
18
- // 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/store/shared-config.js
18
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/shared-config.js
19
19
  import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
20
20
  import { dirname, join, resolve } from "node:path";
21
21
 
22
- // 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/domain/config-repair.js
22
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
23
23
  var REPAIR_WORDS = {
24
24
  byte_order_mark: "an invisible byte-order mark at the start",
25
25
  comment: "a comment, which JSON does not allow",
@@ -303,7 +303,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
303
303
  return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
304
304
  }, "explainBrokenJson");
305
305
 
306
- // 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/domain/task-categories.js
306
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
307
307
  var DEFAULT_TASK_CATEGORIES = [
308
308
  {
309
309
  name: "taxes",
@@ -1058,7 +1058,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
1058
1058
  }
1059
1059
  }, "storedTaskCategories");
1060
1060
 
1061
- // 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/store/shared-config.js
1061
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/store/shared-config.js
1062
1062
  var SECTION = "task_categories";
1063
1063
  var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
1064
1064
  const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
2
2
  const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  isCommandServer
5
- } from "./chunk-ITYDJIRC.js";
5
+ } from "./chunk-SMI2EUH4.js";
6
6
  import {
7
7
  ensureSqlite
8
- } from "./chunk-MYC3M4BY.js";
8
+ } from "./chunk-NTWXL2QV.js";
9
9
  import {
10
10
  envName,
11
11
  readOnlyLockOf
12
- } from "./chunk-GNIROVSK.js";
12
+ } from "./chunk-KEN4B57V.js";
13
13
  import {
14
14
  catchCrashes
15
- } from "./chunk-AUNNJDVD.js";
15
+ } from "./chunk-QVGEL66U.js";
16
16
  import {
17
17
  CliError
18
- } from "./chunk-F6MLJ3V5.js";
18
+ } from "./chunk-LIQMUDIZ.js";
19
19
  import {
20
20
  __name
21
21
  } from "./chunk-ZVVMGPBJ.js";
22
22
 
23
- // 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/entry.js
23
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/entry.js
24
24
  import { spawn } from "node:child_process";
25
25
 
26
- // 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/argv-log.js
26
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
27
27
  import { appendFileSync } from "node:fs";
28
28
  var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
29
29
  const words = [];
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
47
47
  `);
48
48
  }, "logVersion");
49
49
 
50
- // 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/entry.js
50
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/cli/entry.js
51
51
  var processIo = /* @__PURE__ */ __name(() => ({
52
52
  argv: process.argv,
53
53
  env: process.env,
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
67
67
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
68
68
  return printVersion(entry.app, io);
69
69
  if (isCommandServer(args)) {
70
- const { serveEntry } = await import("./command-server-entry-6FH3RXJ2.js");
70
+ const { serveEntry } = await import("./command-server-entry-AE27QXTE.js");
71
71
  return serveEntry(entry, io, { firstRunAt, commanderExit });
72
72
  }
73
73
  const tty = io.stdout.isTTY === true;
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
105
105
  ask: /* @__PURE__ */ __name(async (question, command) => {
106
106
  if (headless(command) || io.stdin.isTTY !== true)
107
107
  return false;
108
- const { readSecret } = await import("./prompt-C7RSBNH5.js");
108
+ const { readSecret } = await import("./prompt-NUUVFMOF.js");
109
109
  const answer = await readSecret(`${question} [y/N] `, {
110
110
  input: io.stdin,
111
111
  output: io.stderr,
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
148
148
  if (command.optsWithGlobals().dryRun === true)
149
149
  return;
150
150
  const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
151
- import("./first-run-5VTHKMK5.js"),
152
- import("./command-contract-DAQYQF6R.js")
151
+ import("./first-run-DQQT4FID.js"),
152
+ import("./command-contract-TQIARAB4.js")
153
153
  ]);
154
154
  await setupAtStart({
155
155
  command: entry.app.command,
@@ -8,12 +8,12 @@ import {
8
8
  ACCESS_SECONDS,
9
9
  REFRESH_SECONDS,
10
10
  readStored
11
- } from "./chunk-2U6XE4HI.js";
11
+ } from "./chunk-UZ63ORMY.js";
12
12
  import {
13
13
  __name
14
14
  } from "./chunk-ZVVMGPBJ.js";
15
15
 
16
- // 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/mcp/http/oauth.js
16
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
17
17
  import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
18
18
  import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
19
19
  import { dirname } from "node:path";
@@ -9,15 +9,15 @@ import {
9
9
  optional,
10
10
  pipe,
11
11
  safeParse
12
- } from "./chunk-AUNNJDVD.js";
12
+ } from "./chunk-QVGEL66U.js";
13
13
  import {
14
14
  CliError
15
- } from "./chunk-F6MLJ3V5.js";
15
+ } from "./chunk-LIQMUDIZ.js";
16
16
  import {
17
17
  __name
18
18
  } from "./chunk-ZVVMGPBJ.js";
19
19
 
20
- // 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/models/options.js
20
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/models/options.js
21
21
  var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
22
22
  const parsed = safeParse(schema, options);
23
23
  if (!parsed.success) {
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
27
27
  }, "checkedOptions");
28
28
  var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
29
29
 
30
- // 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/models/types.js
30
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/models/types.js
31
31
  var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
32
32
  var validateImages = /* @__PURE__ */ __name((images) => {
33
33
  if (images === void 0)
@@ -4,7 +4,7 @@ import {
4
4
  __name
5
5
  } from "./chunk-ZVVMGPBJ.js";
6
6
 
7
- // node_modules/.pnpm/@wirecat+cli-base@0.101.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
7
+ // node_modules/.pnpm/@wirecat+cli-base@0.106.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
8
8
  var installerOf = /* @__PURE__ */ __name((scriptPath) => {
9
9
  const path = scriptPath.replaceAll("\\", "/");
10
10
  if (path.includes("/_npx/"))
@@ -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-AJQ6JFLY.js";
5
+ } from "./chunk-IYAXLLGR.js";
6
6
  import {
7
7
  CliError,
8
8
  isCliError
9
- } from "./chunk-F6MLJ3V5.js";
9
+ } from "./chunk-LIQMUDIZ.js";
10
10
  import {
11
11
  __name
12
12
  } from "./chunk-ZVVMGPBJ.js";
@@ -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-F6MLJ3V5.js";
5
+ } from "./chunk-LIQMUDIZ.js";
6
6
  import {
7
7
  __name
8
8
  } from "./chunk-ZVVMGPBJ.js";
9
9
 
10
- // 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/files/ordinary-file.js
10
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
11
11
  import { constants } from "node:fs";
12
12
  import { lstat, open } from "node:fs/promises";
13
13
  var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
@@ -73,7 +73,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
73
73
  }
74
74
  }, "syncDirectory");
75
75
 
76
- // 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/files/atomic-write.js
76
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
77
77
  import { randomUUID } from "node:crypto";
78
78
  import { constants as constants2 } from "node:fs";
79
79
  import { link, open as open2, realpath, rename, unlink } from "node:fs/promises";
@@ -111,7 +111,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
111
111
  }
112
112
  }, "writeFileAtomic");
113
113
 
114
- // 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/files/bounded-utf8.js
114
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
115
115
  var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
116
116
  if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
117
117
  throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
140
140
  }
141
141
  }, "readBoundedUtf8File");
142
142
 
143
- // 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/files/lock.js
143
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/lock.js
144
144
  import { mkdir as mkdir2 } from "node:fs/promises";
145
145
  import { basename as basename2, dirname as dirname2 } from "node:path";
146
146
 
147
- // 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/files/native-writer-lease.js
147
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
148
148
  import { randomUUID as randomUUID2 } from "node:crypto";
149
149
  import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
150
150
  import { hostname as hostname2 } from "node:os";
151
151
  import { join as join3 } from "node:path";
152
152
 
153
- // 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/files/native-lease-inspection.js
153
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
154
154
  import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
155
155
  import { join as join2 } from "node:path";
156
156
 
157
- // 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/files/native-lease-owner.js
157
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
158
158
  import { hostname } from "node:os";
159
159
  var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
160
160
  var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
199
199
  }
200
200
  }, "leaseOwnerStatus");
201
201
 
202
- // 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/files/native-lease-inspection.js
202
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
203
203
  var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
204
204
  const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
205
205
  options.signal?.throwIfAborted();
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
258
258
  return { inspect, recover };
259
259
  }, "leaseInspection");
260
260
 
261
- // 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/files/native-lease-release.js
261
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
262
262
  import { rmdir, unlink as unlink3 } from "node:fs/promises";
263
263
  var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
264
264
  let releasing;
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
283
283
  };
284
284
  }, "ownedNativeLease");
285
285
 
286
- // 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/files/native-writer-lease.js
286
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
287
287
  var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
288
288
  var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
289
289
  const { markerDirectory, legacyMarker } = layout;
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
354
354
  };
355
355
  }, "nativeWriterLeaseStore");
356
356
 
357
- // 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/files/lock.js
357
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/lock.js
358
358
  var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
359
359
  const folder = dirname2(path);
360
360
  await mkdir2(folder, { recursive: true, mode: 448 });
@@ -369,7 +369,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
369
369
  });
370
370
  }, "acquireLock");
371
371
 
372
- // 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/files/safe-name.js
372
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/files/safe-name.js
373
373
  import { basename as basename3 } from "node:path";
374
374
  var safeName = /* @__PURE__ */ __name((name, platform = process.platform) => {
375
375
  let plain = name === void 0 ? "" : basename3(name.replaceAll("\\", "/")).replace(/[\p{Cc}​-‏‪-‮⁦-⁩]/gu, "").replace(/^\.+/, "");
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
3
3
  import {
4
4
  CliError,
5
5
  errorCodes
6
- } from "./chunk-F6MLJ3V5.js";
6
+ } from "./chunk-LIQMUDIZ.js";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-ZVVMGPBJ.js";
10
10
 
11
- // 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/errors/failures.js
11
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/errors/failures.js
12
12
  var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
13
13
  var isCommanderFailure = /* @__PURE__ */ __name((value) => {
14
14
  const { code, exitCode } = value ?? {};
@@ -60,7 +60,7 @@ var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
60
60
  }, "damagedFile");
61
61
  var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
62
62
 
63
- // 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/runs/secrets.js
63
+ // node_modules/.pnpm/@wirecat+cli-core@0.681.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.106.0_commander@15_8d845c31697914d824aa80d8eec93941/node_modules/@wirecat/cli-core/dist/runs/secrets.js
64
64
  var SECRET_WORDS = /* @__PURE__ */ new Set([
65
65
  "authorization",
66
66
  "cookie",
@@ -0,0 +1,37 @@
1
+ import { createRequire as __bundleRequire } from "node:module";
2
+ const require = __bundleRequire(import.meta.url);
3
+ import {
4
+ SCHEMA_DIALECT,
5
+ commandContract,
6
+ commandPathOf,
7
+ findCommand,
8
+ outputOf
9
+ } from "./chunk-SMU6NA7F.js";
10
+ import "./chunk-UKBK2VWZ.js";
11
+ import "./chunk-QWO7L4UH.js";
12
+ import "./chunk-NAXOT35J.js";
13
+ import "./chunk-KEN4B57V.js";
14
+ import "./chunk-QYLZD4DS.js";
15
+ import "./chunk-IBCXEVNY.js";
16
+ import "./chunk-JKSD43L7.js";
17
+ import "./chunk-H7ML7X3G.js";
18
+ import "./chunk-5L44DSHV.js";
19
+ import "./chunk-LBZEZO32.js";
20
+ import "./chunk-ZYAHZKYF.js";
21
+ import "./chunk-IH4Z3KZU.js";
22
+ import "./chunk-WCYKVX3B.js";
23
+ import "./chunk-RABUG4KA.js";
24
+ import "./chunk-SHTHNBHG.js";
25
+ import "./chunk-6VCSOQFL.js";
26
+ import "./chunk-6CHIGUCY.js";
27
+ import "./chunk-QVGEL66U.js";
28
+ import "./chunk-Y5E2WNWB.js";
29
+ import "./chunk-LIQMUDIZ.js";
30
+ import "./chunk-ZVVMGPBJ.js";
31
+ export {
32
+ SCHEMA_DIALECT,
33
+ commandContract,
34
+ commandPathOf,
35
+ findCommand,
36
+ outputOf
37
+ };