@wirecat/tg-cli 0.108.0 → 0.110.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.
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-YFWRJWL5.js → adapter-JWUCHTXU.js} +45 -44
- package/dist/bundle/{all-profiles-GQIZSF4W.js → all-profiles-OMRCKP54.js} +8 -8
- package/dist/bundle/{anthropic-BKWEDKPU.js → anthropic-WXFHH74P.js} +5 -5
- package/dist/bundle/{app-server-RJV7ICLH.js → app-server-ILIPNO6T.js} +40 -39
- package/dist/bundle/{bot-api-2PAH2JZ3.js → bot-api-KV765AZK.js} +46 -45
- package/dist/bundle/{bot-history-DPPZ43F4.js → bot-history-3P6EIM5L.js} +15 -15
- package/dist/bundle/{bun-Q7COX3Z5.js → bun-MJOYPPEN.js} +2 -2
- package/dist/bundle/{bun-sqlite-YI4AYZXO.js → bun-sqlite-GFRVRRDZ.js} +4 -4
- package/dist/bundle/{chunk-BOSMBW4I.js → chunk-2YWQEG2P.js} +11 -11
- package/dist/bundle/{chunk-4RDMNNVO.js → chunk-32HEOKI2.js} +27 -14
- package/dist/bundle/{chunk-3GXKJKIC.js → chunk-3KOF5T4N.js} +4 -4
- package/dist/bundle/{chunk-AOUB2QFP.js → chunk-3L2JTAVD.js} +2 -2
- package/dist/bundle/{chunk-26PWIQPP.js → chunk-3XTMVGTS.js} +2338 -1174
- package/dist/bundle/{chunk-5P27JGGA.js → chunk-4BMXELWN.js} +5 -5
- package/dist/bundle/{chunk-VK2YLSK7.js → chunk-4GOF43MW.js} +1 -1
- package/dist/bundle/{chunk-5HPXENE5.js → chunk-4I6HTOCM.js} +1 -1
- package/dist/bundle/{chunk-LY2LFJMU.js → chunk-4YOPRYEY.js} +117 -94
- package/dist/bundle/{chunk-ON67U6WV.js → chunk-54CWOD7V.js} +6 -6
- package/dist/bundle/chunk-5ASW5BNM.js +379 -0
- package/dist/bundle/{chunk-OB5PPPXH.js → chunk-5CMOXHQS.js} +7 -7
- package/dist/bundle/{chunk-WEDWIXIC.js → chunk-6KESAYMZ.js} +2 -2
- package/dist/bundle/{chunk-3562DVQ7.js → chunk-6WTLP2SI.js} +8 -8
- package/dist/bundle/{chunk-BT6PWDM6.js → chunk-7ABA4EXC.js} +3 -3
- package/dist/bundle/{chunk-WKSLGPZQ.js → chunk-7LZBMZQM.js} +16 -4
- package/dist/bundle/{chunk-VMU4SGCE.js → chunk-ABVHA4K6.js} +8 -6
- package/dist/bundle/{chunk-YJ6GFFEE.js → chunk-AXNBGLO5.js} +1 -1
- package/dist/bundle/{chunk-LYLGLFWY.js → chunk-AZYVTDAE.js} +3 -3
- package/dist/bundle/{chunk-T4SDOYPY.js → chunk-BWRCPMMC.js} +138 -81
- package/dist/bundle/{chunk-DNOJKQXQ.js → chunk-BYOEVYY2.js} +678 -325
- package/dist/bundle/{chunk-FG2QTYEF.js → chunk-EB44Z44U.js} +1 -1
- package/dist/bundle/{chunk-67SRVSPU.js → chunk-EO563SUX.js} +26 -9
- package/dist/bundle/{chunk-F67VPIJL.js → chunk-F24EAGOU.js} +32 -31
- package/dist/bundle/{chunk-ZHHVNTBJ.js → chunk-F7RWNBC2.js} +2 -2
- package/dist/bundle/{chunk-REI5TPS3.js → chunk-FYAHTTOB.js} +11 -11
- package/dist/bundle/{chunk-CZANI3DM.js → chunk-GPIORQAD.js} +22 -22
- package/dist/bundle/{chunk-76OSISA3.js → chunk-HCAYTAJN.js} +2 -2
- package/dist/bundle/{chunk-SONKULUF.js → chunk-JDOSIWPN.js} +3 -3
- package/dist/bundle/{chunk-KZPZFPGB.js → chunk-KLOFBUXA.js} +81 -30
- package/dist/bundle/{chunk-6MZ2ZBX4.js → chunk-L3YDXUDK.js} +12 -3
- package/dist/bundle/{chunk-AS2BVZU3.js → chunk-M3XIME74.js} +49 -24
- package/dist/bundle/{chunk-WUF64WOG.js → chunk-MXIBRT6W.js} +4 -4
- package/dist/bundle/{chunk-D6DBVPES.js → chunk-MZRD776E.js} +3 -3
- package/dist/bundle/{chunk-6QTUYMGX.js → chunk-NDT22GBK.js} +2 -2
- package/dist/bundle/{chunk-3HYDKCXB.js → chunk-NFBOZT7H.js} +12 -12
- package/dist/bundle/{chunk-WAGDZB62.js → chunk-ONHHBPV3.js} +2 -2
- package/dist/bundle/{chunk-DUWTG2GE.js → chunk-Q35J5LCO.js} +8 -8
- package/dist/bundle/{chunk-77OOX2OE.js → chunk-QRH2AWBZ.js} +81 -57
- package/dist/bundle/{chunk-PQHYM2XC.js → chunk-RARYRHQA.js} +1 -1
- package/dist/bundle/{chunk-ZYBDAZFO.js → chunk-RSZEEWOW.js} +2 -2
- package/dist/bundle/{chunk-QVIT6SQ5.js → chunk-RXWG7OWT.js} +705 -425
- package/dist/bundle/{chunk-R5YOKYTE.js → chunk-SD5J5T7M.js} +11 -11
- package/dist/bundle/{chunk-NCXCBVHO.js → chunk-SLAPUEMZ.js} +6 -6
- package/dist/bundle/{chunk-KQFR7ZAA.js → chunk-TDQVVXPF.js} +43 -25
- package/dist/bundle/{chunk-BL72ZIBV.js → chunk-TJA3BWY3.js} +1 -1
- package/dist/bundle/{chunk-MFS52LTZ.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-EBB7RFCW.js → chunk-VM7I5VKX.js} +2 -2
- package/dist/bundle/{chunk-CVWF3BFK.js → chunk-VOBMR7E5.js} +45 -45
- package/dist/bundle/{chunk-B7TFWNKJ.js → chunk-W3B6EEZU.js} +1 -1
- package/dist/bundle/{chunk-PCMW3PW6.js → chunk-XLNYDJKG.js} +2 -2
- package/dist/bundle/{chunk-TVA3NXXO.js → chunk-YPEAEEHF.js} +2 -2
- package/dist/bundle/{chunk-XZXOGHU5.js → chunk-YPLL3Q3M.js} +71 -60
- package/dist/bundle/{chunk-EWL3ZFOI.js → chunk-YWSNUUW5.js} +6 -6
- package/dist/bundle/command-contract-TNSW7W6G.js +32 -0
- package/dist/bundle/{decode-ZFAFVFWX.js → decode-3KBXZCFM.js} +19 -17
- package/dist/bundle/{echarts-SVXNTKGV.js → echarts-24TVPFGC.js} +2 -2
- package/dist/bundle/{embed-V755YE7O.js → embed-3BDPZ4Q7.js} +5 -5
- package/dist/bundle/{embedder-MQAPNQBH.js → embedder-EMVDEZFR.js} +8 -8
- package/dist/bundle/{entry-ULQ3VOMQ.js → entry-NQD6Z2BM.js} +5 -5
- package/dist/bundle/{first-run-64BTWXDR.js → first-run-ZBIO6C67.js} +9 -9
- package/dist/bundle/first-screen-4HRCG7OX.js +30 -0
- package/dist/bundle/{identity-PW45VBUU.js → identity-EDGOOTOM.js} +3 -3
- package/dist/bundle/{instructions-G3ZUIRRH.js → instructions-N2WVMNFZ.js} +1 -1
- package/dist/bundle/{mcp-OQBZXELQ.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{node-IDJXLZSX.js → node-VBZAZHUS.js} +2 -2
- package/dist/bundle/{node-sqlite-W22J37MG.js → node-sqlite-C3V64OAL.js} +4 -4
- package/dist/bundle/{oauth-Q52LBXDE.js → oauth-NZXELYDA.js} +6 -6
- package/dist/bundle/{open-YLD7VHEC.js → open-2XRUGMV7.js} +3 -3
- package/dist/bundle/openai-OLGTN3ZB.js +250 -0
- package/dist/bundle/{process-OBESF2XG.js → process-CASPZ2DH.js} +1 -1
- package/dist/bundle/{program-EBMWHOKQ.js → program-QPQDSGYA.js} +50 -47
- package/dist/bundle/{prompt-FHHQF3MG.js → prompt-ESZL7SGX.js} +4 -4
- package/dist/bundle/{proxy-transport-YSBYG26I.js → proxy-transport-OROEVBCG.js} +4 -4
- package/dist/bundle/{recognize-QNHKHGKM.js → recognize-LQ7QOG4T.js} +5 -3
- package/dist/bundle/{remote-RVZWRCCT.js → remote-34XP4EDN.js} +6 -6
- package/dist/bundle/{rerank-KG2USEME.js → rerank-7F6NLBCW.js} +6 -6
- package/dist/bundle/{serve-I4MJKEQ4.js → serve-M6TTKXI4.js} +8 -8
- package/dist/bundle/{server-GV7SV3L6.js → server-GLZ5M7PE.js} +32 -31
- package/dist/bundle/server-KOW7OKE2.js +56 -0
- package/dist/bundle/{state-AJKHWFBU.js → state-UKKPLMHS.js} +5 -5
- package/dist/bundle/{store-L3HFSSGJ.js → store-J2MBIDJK.js} +10 -10
- package/dist/bundle/store-maintenance-command-64B57C3U.js +45 -0
- package/dist/bundle/tg.js +4 -4
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-5GJV6EHG.js +0 -32
- package/dist/bundle/first-screen-YZCH4TEV.js +0 -30
- package/dist/bundle/server-AXMWFPNT.js +0 -55
- package/dist/bundle/store-maintenance-command-Y22ARSDR.js +0 -44
- /package/dist/bundle/{chunk-O5EHUB2V.js → chunk-NPGVOZVK.js} +0 -0
|
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
ENTITIES
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4YOPRYEY.js";
|
|
6
6
|
import {
|
|
7
7
|
annotate,
|
|
8
8
|
answerSchema,
|
|
9
9
|
describeOptions,
|
|
10
10
|
keyForCommand,
|
|
11
11
|
metaOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QRH2AWBZ.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError,
|
|
15
15
|
jsonSchemaOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EO563SUX.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// 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/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.
|
|
51
|
+
// 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/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);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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/store/sqlite/drizzle/shared-55XJMTPA.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
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/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|