@wirecat/tg-cli 0.131.0 → 0.132.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-TA637IRT.js → adapter-OXVMOWVE.js} +60 -60
- package/dist/bundle/{all-profiles-7M3GBCB6.js → all-profiles-6OQC7PBL.js} +9 -9
- package/dist/bundle/{anthropic-P3THLZWO.js → anthropic-YFMIHFW5.js} +5 -5
- package/dist/bundle/{app-server-OE5EAXIY.js → app-server-S7CJPJXN.js} +52 -52
- package/dist/bundle/{bot-api-WYR2C4A5.js → bot-api-KJ6EZ4R6.js} +61 -61
- package/dist/bundle/{bot-history-PKJTHU7L.js → bot-history-JYCXDFW4.js} +22 -22
- package/dist/bundle/{bun-XMZJDDEA.js → bun-FVTOBYZ2.js} +2 -2
- package/dist/bundle/{bun-sqlite-F5RWCB2N.js → bun-sqlite-KDGWBNOR.js} +6 -6
- package/dist/bundle/{chunk-76UAXRDY.js → chunk-2LZD2VFV.js} +4 -4
- package/dist/bundle/{chunk-JUFLELQ7.js → chunk-2UGSIHLV.js} +2 -2
- package/dist/bundle/{chunk-2U6XE4HI.js → chunk-3QHKZLBU.js} +4 -4
- package/dist/bundle/{chunk-34PRGA7E.js → chunk-42MXCMW6.js} +3 -3
- package/dist/bundle/{chunk-HT6OFANN.js → chunk-44A2XRDE.js} +20 -20
- package/dist/bundle/{chunk-WG6UZJ3E.js → chunk-4CKYANQH.js} +1 -1
- package/dist/bundle/{chunk-AUNNJDVD.js → chunk-4EDJJQJI.js} +28 -8
- package/dist/bundle/{chunk-O7X6RM5R.js → chunk-4YB7JU2W.js} +6 -6
- package/dist/bundle/{chunk-CLG2ISQH.js → chunk-4ZTVJHWU.js} +4 -4
- package/dist/bundle/{chunk-F6MLJ3V5.js → chunk-5RDNBG7D.js} +2 -2
- package/dist/bundle/{chunk-UUNQV4YL.js → chunk-5UPEEMEF.js} +22 -15
- package/dist/bundle/{chunk-YJ4BPNWI.js → chunk-6LPUK62N.js} +3 -3
- package/dist/bundle/{chunk-GNIROVSK.js → chunk-74UPKW7H.js} +2 -2
- package/dist/bundle/{chunk-IULSIKEM.js → chunk-7SEVVE3X.js} +3 -3
- package/dist/bundle/{chunk-PS7ZS5HD.js → chunk-A5D3J7XZ.js} +4 -4
- package/dist/bundle/{chunk-O73DZURO.js → chunk-AERP2QR6.js} +10 -10
- package/dist/bundle/{chunk-6BPM3LNR.js → chunk-AUZWIBHJ.js} +6 -6
- package/dist/bundle/{chunk-JDLNI7BU.js → chunk-B4LGDOG5.js} +263 -260
- package/dist/bundle/{chunk-B6NQJAUC.js → chunk-BLZEQVP4.js} +2 -2
- package/dist/bundle/{chunk-WUIKJJ5A.js → chunk-BMI2NWFI.js} +8 -8
- package/dist/bundle/{chunk-QGFUUJPL.js → chunk-BSXS7VAC.js} +1 -1
- package/dist/bundle/{chunk-OOSX7K7G.js → chunk-CFWFESBO.js} +8 -8
- package/dist/bundle/{chunk-PD4RREQB.js → chunk-DSJNZXTP.js} +1 -1
- package/dist/bundle/{chunk-MYC3M4BY.js → chunk-DXPGMUOR.js} +2 -2
- package/dist/bundle/{chunk-LJO6MMQG.js → chunk-EPR67IRV.js} +4 -4
- package/dist/bundle/{chunk-SLT2PBFP.js → chunk-ESOFH7PA.js} +37 -30
- package/dist/bundle/{chunk-2OXR2MRV.js → chunk-FIUH52FE.js} +1 -1
- package/dist/bundle/{chunk-43KSYUZU.js → chunk-FKGYXIN7.js} +7 -7
- package/dist/bundle/{chunk-TT6OHNV2.js → chunk-FPSRT2TX.js} +2 -2
- package/dist/bundle/{chunk-ITYDJIRC.js → chunk-HBSKP7OV.js} +1 -1
- package/dist/bundle/{chunk-LDSTUBLY.js → chunk-IY7CTAOQ.js} +9 -9
- package/dist/bundle/{chunk-5AJ5RLJW.js → chunk-IYJ4B632.js} +14 -13
- package/dist/bundle/{chunk-J2QQZVEN.js → chunk-JDNDWZYS.js} +4 -4
- package/dist/bundle/{chunk-H655CMXJ.js → chunk-JMJOWT4N.js} +1 -1
- package/dist/bundle/{chunk-NTORQXAS.js → chunk-JNWKV3QV.js} +4 -4
- package/dist/bundle/{chunk-JSE4OBYI.js → chunk-JPSRC732.js} +13 -13
- package/dist/bundle/{chunk-L2SMUTJY.js → chunk-JZJV3DYK.js} +2 -2
- package/dist/bundle/{chunk-EZBMLKBK.js → chunk-KJICORS4.js} +36 -36
- package/dist/bundle/{chunk-P6KGEZIS.js → chunk-LF6FACSW.js} +5 -5
- package/dist/bundle/{chunk-5ZIT6JXP.js → chunk-LG3K5NHX.js} +7 -7
- package/dist/bundle/{chunk-UGYC2FV5.js → chunk-LMGVPDXN.js} +2 -2
- package/dist/bundle/{chunk-6O5AD3GA.js → chunk-LZ3HFDYL.js} +2 -2
- package/dist/bundle/{chunk-JF4AJNCE.js → chunk-M2TV6BDB.js} +7 -7
- package/dist/bundle/{chunk-XC2YJDDK.js → chunk-N5LZ6L4D.js} +3 -3
- package/dist/bundle/{chunk-OX5EAUKF.js → chunk-NLRGMP7M.js} +3 -3
- package/dist/bundle/{chunk-S2IET7WM.js → chunk-NWCFO37P.js} +3 -3
- package/dist/bundle/{chunk-LWSOCKOD.js → chunk-NWDADTPE.js} +3 -3
- package/dist/bundle/{chunk-BXW6FGLD.js → chunk-O3AM32YN.js} +15 -15
- package/dist/bundle/{chunk-5N7TJ6TJ.js → chunk-O43PARFS.js} +166 -161
- package/dist/bundle/{chunk-OPG54IFH.js → chunk-OGZZUDJJ.js} +54 -54
- package/dist/bundle/{chunk-AJQ6JFLY.js → chunk-OIRNHSAH.js} +6 -6
- package/dist/bundle/{chunk-LEPDRO3O.js → chunk-PG37E63A.js} +76 -59
- package/dist/bundle/{chunk-6TJTQ4I4.js → chunk-PR4F3TYK.js} +30 -30
- package/dist/bundle/{chunk-NOZZHEMD.js → chunk-PYECFCPD.js} +1 -1
- package/dist/bundle/{chunk-EXMJDHBM.js → chunk-QNEAPLOP.js} +12 -12
- package/dist/bundle/{chunk-BFERGEBI.js → chunk-QS46C5SW.js} +17 -17
- package/dist/bundle/{chunk-VNJZXV7E.js → chunk-SMQ45RZX.js} +6 -6
- package/dist/bundle/{chunk-PHGH5N4C.js → chunk-U7PHJSTX.js} +2 -2
- package/dist/bundle/{chunk-SQ2JLZFK.js → chunk-UAFSDTID.js} +1 -1
- package/dist/bundle/{chunk-2TOJQQKS.js → chunk-UGD4SCUI.js} +1 -1
- package/dist/bundle/{chunk-VVUUP5NF.js → chunk-WAVRUADL.js} +13 -13
- package/dist/bundle/{chunk-Z2TCTTPJ.js → chunk-Y57EKZZK.js} +676 -435
- package/dist/bundle/{chunk-LTP4BYHJ.js → chunk-YAPO7QNO.js} +6 -6
- package/dist/bundle/{chunk-YZTMQE62.js → chunk-YRXSNH3R.js} +2 -2
- package/dist/bundle/{chunk-AEIDEIVB.js → chunk-YSNQGOUI.js} +2235 -1355
- package/dist/bundle/{chunk-GA3URWIF.js → chunk-YVI5SQPY.js} +1 -1
- package/dist/bundle/{chunk-SS5H2XAT.js → chunk-ZJIGVT6Z.js} +2 -2
- package/dist/bundle/{chunk-NXNSEFGR.js → chunk-ZRW3DF25.js} +24 -24
- package/dist/bundle/{chunk-66PL7P4C.js → chunk-ZZ32DXTH.js} +1 -1
- package/dist/bundle/command-contract-FRH7LBGE.js +37 -0
- package/dist/bundle/{command-server-entry-6FH3RXJ2.js → command-server-entry-TM264M2J.js} +27 -27
- package/dist/bundle/{decode-UBRT2QDP.js → decode-RJFOSHCE.js} +5 -5
- package/dist/bundle/{dispatch-ST5FK2KI.js → dispatch-7OZP3X4O.js} +8 -8
- package/dist/bundle/{echarts-PG45GQLR.js → echarts-PYKF4D7B.js} +2 -2
- package/dist/bundle/{embed-BUQDSZ57.js → embed-JFN6Z5TG.js} +6 -6
- package/dist/bundle/{embedder-TXA3EV7O.js → embedder-WN54JIMY.js} +9 -9
- package/dist/bundle/{entry-JWIEF57D.js → entry-Z6LO6N6S.js} +9 -9
- package/dist/bundle/{failure-GMUQKQ5K.js → failure-UONA2IA5.js} +2 -2
- package/dist/bundle/{first-run-5VTHKMK5.js → first-run-WQAKES7G.js} +12 -12
- package/dist/bundle/first-screen-4RFG22SA.js +35 -0
- package/dist/bundle/{instructions-ZMEPWTFO.js → instructions-PR4BBBTM.js} +1 -1
- package/dist/bundle/{mcp-VFIOZDVY.js → mcp-O6ACR2DX.js} +2 -2
- package/dist/bundle/meeting-combined-MHWTZOF2.js +23 -0
- package/dist/bundle/{meeting-model-5FVNZCTL.js → meeting-model-YVTUOM4H.js} +11 -11
- package/dist/bundle/{meeting-semantic-HUMYFMO7.js → meeting-semantic-X4KG6RNV.js} +6 -6
- package/dist/bundle/{node-N4DQQJKK.js → node-OVS5LTVZ.js} +2 -2
- package/dist/bundle/{node-sqlite-MG4KFXYY.js → node-sqlite-LC44SM4Z.js} +7 -7
- package/dist/bundle/{oauth-NKDSXEH6.js → oauth-NSVUFQCW.js} +7 -7
- package/dist/bundle/{open-DV2YUU2M.js → open-XN5SJFVY.js} +5 -5
- package/dist/bundle/{openai-FEKMZOUJ.js → openai-WOYZHJNL.js} +15 -15
- package/dist/bundle/{process-QZS3TE6A.js → process-UFBRGTQC.js} +1 -1
- package/dist/bundle/{program-FNDGXEVS.js → program-RAGBRRQH.js} +63 -63
- package/dist/bundle/{prompt-C7RSBNH5.js → prompt-6HAKBUQN.js} +5 -5
- package/dist/bundle/{proxy-transport-A4MRO3PF.js → proxy-transport-5EJVFUTC.js} +5 -5
- package/dist/bundle/{recognize-5BL763FS.js → recognize-CN5COBVJ.js} +4 -4
- package/dist/bundle/{remote-CXAKRC7X.js → remote-STX5AMGE.js} +9 -9
- package/dist/bundle/{rerank-XAEXY5A4.js → rerank-ZCOWTXIJ.js} +7 -7
- package/dist/bundle/{serve-JLZGFTZH.js → serve-XMQEOIG2.js} +9 -9
- package/dist/bundle/{server-GF3TV2U7.js → server-PGGUD3DM.js} +44 -44
- package/dist/bundle/server-WTNYWCZ4.js +69 -0
- package/dist/bundle/{sqlite-runtime-3OVQ7OTM.js → sqlite-runtime-PS4DSOIU.js} +6 -6
- package/dist/bundle/{state-FGJKQKC2.js → state-GL4ZC57O.js} +6 -6
- package/dist/bundle/{store-WYLMNAAQ.js → store-HJ76TLWD.js} +19 -19
- package/dist/bundle/{store-2J5VJZQY.js → store-VISFXSHL.js} +17 -17
- package/dist/bundle/store-maintenance-command-SMARMN5C.js +60 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-DAQYQF6R.js +0 -37
- package/dist/bundle/first-screen-PTHIZ5ZF.js +0 -35
- package/dist/bundle/meeting-combined-DU3RJR6X.js +0 -23
- package/dist/bundle/server-GLPEWUYT.js +0 -69
- package/dist/bundle/store-maintenance-command-QN6QH6RA.js +0 -60
- /package/dist/bundle/{chunk-ZI3YTXSF.js → chunk-VKE77B3F.js} +0 -0
|
@@ -3,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
proxyError,
|
|
5
5
|
proxyLabel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2UGSIHLV.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5RDNBG7D.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
normalize
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FIUH52FE.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5RDNBG7D.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
14
14
|
var LANGUAGES = [
|
|
15
15
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
16
16
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -18,7 +18,7 @@ var LANGUAGES = [
|
|
|
18
18
|
];
|
|
19
19
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
22
22
|
var BaseStemmer = class {
|
|
23
23
|
static {
|
|
24
24
|
__name(this, "BaseStemmer");
|
|
@@ -393,7 +393,7 @@ var BaseStemmer = class {
|
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
397
397
|
var a_0 = [
|
|
398
398
|
["arsen", -1],
|
|
399
399
|
["commun", -1],
|
|
@@ -1094,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1094
1094
|
stemWord = this.stem;
|
|
1095
1095
|
};
|
|
1096
1096
|
|
|
1097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1098
1098
|
var a_02 = [
|
|
1099
1099
|
["\u0432", 1],
|
|
1100
1100
|
["\u0438\u0432", 2, 1],
|
|
@@ -1517,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1517
1517
|
stemWord = this.stem;
|
|
1518
1518
|
};
|
|
1519
1519
|
|
|
1520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1521
1521
|
var a_03 = [
|
|
1522
1522
|
["", 6],
|
|
1523
1523
|
["\xE1", 1, 1],
|
|
@@ -2193,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2193
2193
|
stemWord = this.stem;
|
|
2194
2194
|
};
|
|
2195
2195
|
|
|
2196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2197
2197
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2198
2198
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2199
2199
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -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.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/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.",
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
tagOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-U7PHJSTX.js";
|
|
6
6
|
import {
|
|
7
7
|
QUERY_LIMITS,
|
|
8
8
|
parseLucene,
|
|
@@ -10,19 +10,19 @@ import {
|
|
|
10
10
|
queryError,
|
|
11
11
|
validateQuery,
|
|
12
12
|
walkQuery
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PG37E63A.js";
|
|
14
14
|
import {
|
|
15
15
|
safeParse
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4EDJJQJI.js";
|
|
17
17
|
import {
|
|
18
18
|
CliError,
|
|
19
19
|
isCliError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5RDNBG7D.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/fusion.js
|
|
26
26
|
var RRF_K = 60;
|
|
27
27
|
var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
28
28
|
const rows = lists.flatMap((list) => list.map((item, rank) => ({ item, vote: 1 / (RRF_K + rank + 1), ...facts(item) })));
|
|
@@ -30,7 +30,7 @@ var fuseRanked = /* @__PURE__ */ __name((lists, facts) => {
|
|
|
30
30
|
return rows.sort((a, b) => Number(b.exact === true) - Number(a.exact === true) || (ranking ? Number(b.ranked) - Number(a.ranked) || b.vote - a.vote : 0) || b.at - a.at).map(({ item }) => item);
|
|
31
31
|
}, "fuseRanked");
|
|
32
32
|
|
|
33
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
33
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
|
|
34
34
|
var QUERY_VERSION = 1;
|
|
35
35
|
var QUERY_LIMITS2 = {
|
|
36
36
|
...QUERY_LIMITS,
|
|
@@ -75,7 +75,7 @@ function tooWideTerm([term], budget) {
|
|
|
75
75
|
}
|
|
76
76
|
__name(tooWideTerm, "tooWideTerm");
|
|
77
77
|
|
|
78
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
78
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/lucene/registry.js
|
|
79
79
|
var FIELD_VERSION = 2;
|
|
80
80
|
var UNITS = {
|
|
81
81
|
"": 1,
|
|
@@ -604,7 +604,7 @@ var validateAst = /* @__PURE__ */ __name((input, options = {}) => {
|
|
|
604
604
|
return validateFields(parsed.output, options);
|
|
605
605
|
}, "validateAst");
|
|
606
606
|
|
|
607
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/search/lucene/plain.js
|
|
608
608
|
var REPAIRED = /* @__PURE__ */ new Set([
|
|
609
609
|
"query.invalid-syntax",
|
|
610
610
|
"query.unclosed-literal",
|
|
@@ -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.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/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) => {
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OIRNHSAH.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FPSRT2TX.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5RDNBG7D.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
agentJson,
|
|
8
8
|
commandAvailability,
|
|
9
9
|
failureContext
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5UPEEMEF.js";
|
|
11
11
|
import {
|
|
12
12
|
callerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6LPUK62N.js";
|
|
14
14
|
import {
|
|
15
15
|
QUERY_ARGUMENT,
|
|
16
16
|
lentConnection,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
refuseLacking,
|
|
19
19
|
servicesFor,
|
|
20
20
|
storeModeDeps
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-B4LGDOG5.js";
|
|
22
22
|
import {
|
|
23
23
|
MAX_BUFFERED_INPUT
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YRXSNH3R.js";
|
|
25
25
|
import {
|
|
26
26
|
DEFAULT_OUTPUT_BYTES,
|
|
27
27
|
ENTITIES,
|
|
@@ -42,29 +42,29 @@ import {
|
|
|
42
42
|
refuseStoreChange,
|
|
43
43
|
sealed,
|
|
44
44
|
startRecording
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-O43PARFS.js";
|
|
46
46
|
import {
|
|
47
47
|
currentCaller,
|
|
48
48
|
keepsSuccess,
|
|
49
49
|
runContextOf,
|
|
50
50
|
withCaller
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-LG3K5NHX.js";
|
|
52
52
|
import {
|
|
53
53
|
enclosingTraceId,
|
|
54
54
|
inRun,
|
|
55
55
|
newRunId,
|
|
56
56
|
traceOf
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KJICORS4.js";
|
|
58
58
|
import {
|
|
59
59
|
storeDamaged
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-NWDADTPE.js";
|
|
61
61
|
import {
|
|
62
62
|
queryDescription
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-PG37E63A.js";
|
|
64
64
|
import {
|
|
65
65
|
captureStreams,
|
|
66
66
|
traceIdOf
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-44A2XRDE.js";
|
|
68
68
|
import {
|
|
69
69
|
COMPACT_FLAG,
|
|
70
70
|
SNAKE_CASE,
|
|
@@ -103,19 +103,19 @@ import {
|
|
|
103
103
|
unknown,
|
|
104
104
|
word,
|
|
105
105
|
writes
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-4EDJJQJI.js";
|
|
107
107
|
import {
|
|
108
108
|
CliError,
|
|
109
109
|
errorCodes
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-5RDNBG7D.js";
|
|
111
111
|
import {
|
|
112
112
|
__name
|
|
113
113
|
} from "./chunk-ZVVMGPBJ.js";
|
|
114
114
|
|
|
115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
116
116
|
import { Readable } from "node:stream";
|
|
117
117
|
|
|
118
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
118
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
119
119
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
120
120
|
var lintRuleSchema = strictObject({
|
|
121
121
|
id: word,
|
|
@@ -261,7 +261,7 @@ var overrideSchema = strictObject({
|
|
|
261
261
|
});
|
|
262
262
|
var overridesSchema = array(overrideSchema);
|
|
263
263
|
|
|
264
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
264
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
265
265
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
266
266
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
267
267
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -411,7 +411,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
411
411
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
412
412
|
]);
|
|
413
413
|
|
|
414
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
414
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
415
415
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
416
416
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
417
417
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -427,7 +427,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
427
427
|
}
|
|
428
428
|
]);
|
|
429
429
|
|
|
430
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
430
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
431
431
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
432
432
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
433
433
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -449,7 +449,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
449
449
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
450
450
|
]);
|
|
451
451
|
|
|
452
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
452
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
|
|
453
453
|
var ACCOUNT_FLAGS = [
|
|
454
454
|
{
|
|
455
455
|
name: "--client-id",
|
|
@@ -486,7 +486,7 @@ var ACCOUNT_FLAGS = [
|
|
|
486
486
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
487
487
|
];
|
|
488
488
|
|
|
489
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
489
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
490
490
|
var CALENDAR_FLAGS = [
|
|
491
491
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
492
492
|
{
|
|
@@ -518,6 +518,13 @@ var CALENDAR_FLAGS = [
|
|
|
518
518
|
type: "string",
|
|
519
519
|
meaning: "one of the service's own settings, such as a meeting's waiting room; repeat it for more"
|
|
520
520
|
},
|
|
521
|
+
{
|
|
522
|
+
name: "--conference",
|
|
523
|
+
value: "<service>",
|
|
524
|
+
role: "value",
|
|
525
|
+
type: "string",
|
|
526
|
+
meaning: "the video meeting service that gives the event a new meeting link, such as google-meet"
|
|
527
|
+
},
|
|
521
528
|
{
|
|
522
529
|
name: "--id",
|
|
523
530
|
value: "<id>",
|
|
@@ -567,7 +574,7 @@ var CALENDAR_FLAGS = [
|
|
|
567
574
|
}
|
|
568
575
|
];
|
|
569
576
|
|
|
570
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
577
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
571
578
|
var CRM_FLAGS = [
|
|
572
579
|
{
|
|
573
580
|
name: "--pipeline",
|
|
@@ -717,7 +724,7 @@ var CRM_FLAGS = [
|
|
|
717
724
|
}
|
|
718
725
|
];
|
|
719
726
|
|
|
720
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
727
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
721
728
|
var HOW_FLAGS = [
|
|
722
729
|
{
|
|
723
730
|
name: "--limit",
|
|
@@ -1714,7 +1721,7 @@ var HOW_FLAGS = [
|
|
|
1714
1721
|
}
|
|
1715
1722
|
];
|
|
1716
1723
|
|
|
1717
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1724
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
|
|
1718
1725
|
var KNOWLEDGE_FLAGS = [
|
|
1719
1726
|
{
|
|
1720
1727
|
name: "--accept-terms",
|
|
@@ -1766,7 +1773,7 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1766
1773
|
}
|
|
1767
1774
|
];
|
|
1768
1775
|
|
|
1769
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1776
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1770
1777
|
var MAIL_FLAGS = [
|
|
1771
1778
|
{
|
|
1772
1779
|
name: "--cc",
|
|
@@ -1796,7 +1803,7 @@ var MAIL_FLAGS = [
|
|
|
1796
1803
|
}
|
|
1797
1804
|
];
|
|
1798
1805
|
|
|
1799
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1806
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1800
1807
|
var PRIVACY_FLAGS = [
|
|
1801
1808
|
{
|
|
1802
1809
|
name: "--about-text",
|
|
@@ -1857,7 +1864,7 @@ var PRIVACY_FLAGS = [
|
|
|
1857
1864
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1858
1865
|
];
|
|
1859
1866
|
|
|
1860
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1867
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1861
1868
|
var SCHEDULE_FLAGS = [
|
|
1862
1869
|
{
|
|
1863
1870
|
name: "--locale",
|
|
@@ -1890,7 +1897,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1890
1897
|
}
|
|
1891
1898
|
];
|
|
1892
1899
|
|
|
1893
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1900
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1894
1901
|
var WHAT_FLAGS = [
|
|
1895
1902
|
{
|
|
1896
1903
|
name: "--analysis-provider",
|
|
@@ -2887,7 +2894,7 @@ var WHAT_FLAGS = [
|
|
|
2887
2894
|
}
|
|
2888
2895
|
];
|
|
2889
2896
|
|
|
2890
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2897
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.102.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2891
2898
|
var FLAG_TYPES = [
|
|
2892
2899
|
"switch",
|
|
2893
2900
|
"count",
|
|
@@ -3307,7 +3314,7 @@ var VOCABULARY = defineVocabulary({
|
|
|
3307
3314
|
]
|
|
3308
3315
|
});
|
|
3309
3316
|
|
|
3310
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3311
3318
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3312
3319
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3313
3320
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -3534,7 +3541,7 @@ var runCommandForAgent = /* @__PURE__ */ __name(async (program, path, input, ctx
|
|
|
3534
3541
|
}
|
|
3535
3542
|
}, "runCommandForAgent");
|
|
3536
3543
|
|
|
3537
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/tool.js
|
|
3538
3545
|
var limit = optional(pipe(number(), integer(), minValue(1), maxValue(100), description("how many")));
|
|
3539
3546
|
var page = optional(pipe(number(), integer(), minValue(1), description("which page, from 1")));
|
|
3540
3547
|
var message = pipe(
|
|
@@ -3793,7 +3800,7 @@ var failed = /* @__PURE__ */ __name((error, errors, effects) => {
|
|
|
3793
3800
|
return mcpErrorResult(JSON.parse(agentJson(errorObjectOf(storeDamaged(error), context))));
|
|
3794
3801
|
}, "failed");
|
|
3795
3802
|
|
|
3796
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/mcp/surface.js
|
|
3797
3804
|
import { randomUUID } from "node:crypto";
|
|
3798
3805
|
var MATCHES = 8;
|
|
3799
3806
|
var ANSWER = answerSchema();
|
|
@@ -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.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
8
8
|
var NORMALIZER_VERSION = 1;
|
|
9
9
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
10
10
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
@@ -2,29 +2,29 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
stdinFieldOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PYECFCPD.js";
|
|
6
6
|
import {
|
|
7
7
|
isCommandServer
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HBSKP7OV.js";
|
|
9
9
|
import {
|
|
10
10
|
commandPathOf
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2LZD2VFV.js";
|
|
12
12
|
import {
|
|
13
13
|
commandServerRequest,
|
|
14
14
|
metaOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-O43PARFS.js";
|
|
16
16
|
import {
|
|
17
17
|
errorObjectOf,
|
|
18
18
|
renderError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4EDJJQJI.js";
|
|
20
20
|
import {
|
|
21
21
|
CliError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5RDNBG7D.js";
|
|
23
23
|
import {
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/command-server.js
|
|
28
28
|
import { createInterface } from "node:readline";
|
|
29
29
|
var COMMAND_SERVER_PROTOCOL = 1;
|
|
30
30
|
var COMMAND_SERVER_IDLE_MS = 10 * 6e4;
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-44A2XRDE.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { realpathSync } from "node:fs";
|
|
12
12
|
import { userInfo } from "node:os";
|
|
13
13
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -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.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
|
|
8
8
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
9
9
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
10
10
|
|
|
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AUZWIBHJ.js";
|
|
6
6
|
import {
|
|
7
7
|
PLAIN_HTTP_REFUSED,
|
|
8
8
|
modelAddressAllowed,
|
|
9
9
|
onThisComputer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LF6FACSW.js";
|
|
11
11
|
import {
|
|
12
12
|
readSharedSection,
|
|
13
13
|
sharedConfigPath,
|
|
14
14
|
writeSharedSection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M2TV6BDB.js";
|
|
16
16
|
import {
|
|
17
17
|
storePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FPSRT2TX.js";
|
|
19
19
|
import {
|
|
20
20
|
boolean,
|
|
21
21
|
isoTimestamp,
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
safeParse,
|
|
24
24
|
strictObject,
|
|
25
25
|
string
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4EDJJQJI.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-5RDNBG7D.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
35
35
|
import { setTimeout } from "node:timers/promises";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/models/local-only.js
|
|
38
38
|
var SECTION = "local_only";
|
|
39
39
|
var Setting = strictObject({
|
|
40
40
|
on: boolean(),
|
|
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
|
|
|
68
68
|
refuseOffComputer(env, address, what);
|
|
69
69
|
}, "refuseModelAddress");
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.675.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.102.1_commander@15_4538b457841b7e7d546b8c440ab6644a/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
72
72
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
73
73
|
var OPENAI_MODELS = {
|
|
74
74
|
"text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
|