@wirecat/drive-cli 0.61.0 → 0.62.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/drive.js +2 -2
- package/dist/browse.d.ts +20 -0
- package/dist/browse.d.ts.map +1 -0
- package/dist/browse.js +146 -0
- package/dist/browse.js.map +1 -0
- package/dist/bundle/{all-profiles-H4L3Z5UM.js → all-profiles-CKD2DWUK.js} +14 -14
- package/dist/bundle/{anthropic-PPGFISVP.js → anthropic-E3T4USLA.js} +9 -9
- package/dist/bundle/{app-server-YXVK2FUZ.js → app-server-JB2AEWWL.js} +58 -55
- package/dist/bundle/{bun-DKZAL6ML.js → bun-CC44AAND.js} +2 -2
- package/dist/bundle/{bun-sqlite-MTZY36QK.js → bun-sqlite-AUMFKYVR.js} +8 -8
- package/dist/bundle/{chunk-KV4267S4.js → chunk-27YUUGXQ.js} +1 -1
- package/dist/bundle/{chunk-6IBM4Z3V.js → chunk-2HF2MRXI.js} +1 -1
- package/dist/bundle/{chunk-3I2D5TK2.js → chunk-2KN35F32.js} +10 -10
- package/dist/bundle/{chunk-WZ5XK74U.js → chunk-4OSSOWDM.js} +1 -1
- package/dist/bundle/{chunk-UO2IUDVK.js → chunk-4SIZEJ3M.js} +2 -2
- package/dist/bundle/{chunk-6Y2FWJZ4.js → chunk-67ZQCWBV.js} +3 -3
- package/dist/bundle/{chunk-OFFA54TW.js → chunk-6EY46GAN.js} +2 -2
- package/dist/bundle/{chunk-ECEYAQGN.js → chunk-7W5HYGVW.js} +4 -2
- package/dist/bundle/{chunk-67HS46KM.js → chunk-7ZXIWZQ6.js} +12 -12
- package/dist/bundle/{chunk-J5UDQD5S.js → chunk-AH5C3D3D.js} +5 -5
- package/dist/bundle/{chunk-BCWUDTYQ.js → chunk-AQVUEZEP.js} +2 -2
- package/dist/bundle/{chunk-K7LS3NGM.js → chunk-CJHY5YIF.js} +494 -227
- package/dist/bundle/{chunk-PY7LKNOS.js → chunk-CZ2GJHLL.js} +2 -2
- package/dist/bundle/{chunk-NIX2MWHZ.js → chunk-DJOAMGF4.js} +39 -25
- package/dist/bundle/{chunk-AWN22PJK.js → chunk-DRZZBN3V.js} +3 -3
- package/dist/bundle/{chunk-DEPMQHXQ.js → chunk-DWJHL6DV.js} +4 -4
- package/dist/bundle/{chunk-QSGT4ZH4.js → chunk-E43ENLJJ.js} +1 -1
- package/dist/bundle/{chunk-NZ2EIZLX.js → chunk-EOOGWUTP.js} +10 -10
- package/dist/bundle/{chunk-5W56YMQS.js → chunk-EW7PKB4M.js} +58 -49
- package/dist/bundle/{chunk-VYXVPYA3.js → chunk-FEZF3TII.js} +6 -6
- package/dist/bundle/{chunk-I26VL4W7.js → chunk-FNWIJ6EJ.js} +2 -2
- package/dist/bundle/{chunk-OLPJRD4S.js → chunk-FUITWY7O.js} +1 -1
- package/dist/bundle/{chunk-XZBR2O63.js → chunk-HCNQT3QE.js} +1439 -770
- package/dist/bundle/{chunk-Q4XVBKX4.js → chunk-HG6CAYJH.js} +3 -3
- package/dist/bundle/{chunk-O5CUFS7T.js → chunk-IR4SQLBR.js} +2 -2
- package/dist/bundle/{chunk-VPDAH7PJ.js → chunk-JK3U25QZ.js} +1 -1
- package/dist/bundle/{chunk-UKOYQC5O.js → chunk-JN5TVEEL.js} +94 -26
- package/dist/bundle/{chunk-5W7D5H2R.js → chunk-KLFSRKHB.js} +1 -1
- package/dist/bundle/{chunk-RFRCOAWS.js → chunk-L7K2MOIC.js} +22 -22
- package/dist/bundle/{chunk-XYCCGGKN.js → chunk-LQKD257P.js} +582 -424
- package/dist/bundle/{chunk-73WSULMI.js → chunk-LWE4JGRN.js} +2 -2
- package/dist/bundle/{chunk-XGMDWIUP.js → chunk-MN4VXU3M.js} +4 -4
- package/dist/bundle/{chunk-N2RLJTIW.js → chunk-N7OZPKU7.js} +4 -4
- package/dist/bundle/{chunk-OGNOQDWB.js → chunk-O2XOX4HB.js} +34 -10
- package/dist/bundle/{chunk-3SJQNS72.js → chunk-O7ALBI2I.js} +5 -5
- package/dist/bundle/{chunk-3WZH3WV3.js → chunk-OBH5BA62.js} +3 -3
- package/dist/bundle/{chunk-DCBFNBEB.js → chunk-OD4U7GUY.js} +20 -20
- package/dist/bundle/{chunk-PJTX2MOI.js → chunk-ONP2IBHY.js} +26 -26
- package/dist/bundle/{chunk-BXR7BKM3.js → chunk-OTROVC4E.js} +1 -1
- package/dist/bundle/{chunk-JVBLXSAA.js → chunk-PEQA6LA5.js} +617 -243
- package/dist/bundle/{chunk-XLFJLZJL.js → chunk-Q2LRPOKL.js} +22 -14
- package/dist/bundle/{chunk-E5EXJ2XS.js → chunk-QCKZ3GAA.js} +4 -4
- package/dist/bundle/{chunk-BQMIDYBA.js → chunk-QCX6XZLA.js} +12 -12
- package/dist/bundle/{chunk-TKGAYKXW.js → chunk-QH7DOVO3.js} +204 -58
- package/dist/bundle/{chunk-YMBFZA3H.js → chunk-QTI6IVHZ.js} +8 -8
- package/dist/bundle/{chunk-YWIU4HOT.js → chunk-R347FPYU.js} +1 -1
- package/dist/bundle/chunk-RIDQNVZM.js +64 -0
- package/dist/bundle/{chunk-AM4RIWOZ.js → chunk-RPMKG63Z.js} +18 -4
- package/dist/bundle/{chunk-EPCJUL6M.js → chunk-RWSXVCSG.js} +3 -3
- package/dist/bundle/{chunk-36CWGEVX.js → chunk-SVPCHFKI.js} +2 -2
- package/dist/bundle/{chunk-ZHYRHERD.js → chunk-SW4I5BR7.js} +2 -2
- package/dist/bundle/{chunk-FE5JJXKA.js → chunk-T5NWWXS2.js} +2 -2
- package/dist/bundle/{chunk-E6J5YH2N.js → chunk-T7X53FCJ.js} +34 -34
- package/dist/bundle/{chunk-X2CXW4HM.js → chunk-TDX4GZFO.js} +7 -7
- package/dist/bundle/{chunk-3UPIJ7DW.js → chunk-U2BFYSQV.js} +14158 -2039
- package/dist/bundle/{chunk-HFM653T3.js → chunk-UGXN5D7U.js} +719 -128
- package/dist/bundle/{chunk-WUP2MJDN.js → chunk-UOXOLGNG.js} +2 -2
- package/dist/bundle/{chunk-J4HQVHMN.js → chunk-UQLWMGSD.js} +5 -5
- package/dist/bundle/{chunk-6DN4VPA7.js → chunk-VAYB52HF.js} +33 -31
- package/dist/bundle/{chunk-BF6TQMNB.js → chunk-VQDD64A4.js} +8 -8
- package/dist/bundle/{chunk-ZMNYK3FC.js → chunk-W4RTIL7S.js} +5 -5
- package/dist/bundle/{chunk-HGOYQUT7.js → chunk-WZKEU7WR.js} +4 -2
- package/dist/bundle/{chunk-QR5VQXQ5.js → chunk-XEW2EN6F.js} +51 -37
- package/dist/bundle/{chunk-DXPOVLQC.js → chunk-XFRRKZHQ.js} +223 -89
- package/dist/bundle/{chunk-XGNC5OJG.js → chunk-XS5POQST.js} +1 -1
- package/dist/bundle/{chunk-LARQTWIL.js → chunk-XZUS7XRO.js} +1 -1
- package/dist/bundle/{chunk-6SUGANRJ.js → chunk-YALI4C7C.js} +6 -6
- package/dist/bundle/{chunk-WIU733D2.js → chunk-YMWENGKH.js} +1 -1
- package/dist/bundle/{chunk-CACYL36O.js → chunk-YOJDGAPT.js} +8 -8
- package/dist/bundle/{chunk-S4YK6TTG.js → chunk-YPFUYQDP.js} +13 -13
- package/dist/bundle/{chunk-3252WXOL.js → chunk-YUWPNG7B.js} +1 -1
- package/dist/bundle/{chunk-2RJA4BQB.js → chunk-YXYTY4GF.js} +39 -26
- package/dist/bundle/{chunk-YPF6OS37.js → chunk-ZMOUUOT2.js} +1 -1
- package/dist/bundle/command-contract-OB5BRABN.js +39 -0
- package/dist/bundle/{decode-62A3HGPW.js → decode-WIIX3Y2X.js} +8 -8
- package/dist/bundle/{dispatch-IE7PBEQC.js → dispatch-GEFIXA6X.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-BGBPRGR5.js → echarts-OYINM4C4.js} +2 -2
- package/dist/bundle/{embed-J3IBVV2V.js → embed-DWZIYMBX.js} +9 -9
- package/dist/bundle/{embedder-QFPMDRT2.js → embedder-ILWH7ZRM.js} +12 -12
- package/dist/bundle/entry-V5V3TOTY.js +22 -0
- package/dist/bundle/{failure-BKOGBMIC.js → failure-GV77W3CD.js} +4 -4
- package/dist/bundle/first-run-V3VVLQF4.js +30 -0
- package/dist/bundle/first-screen-Y3RIN7FU.js +37 -0
- package/dist/bundle/{google-RXM2XEPD.js → google-KLZSUAVY.js} +13 -13
- package/dist/bundle/{google-api-NC65BZO4.js → google-api-HZQ5R4ZO.js} +57 -57
- package/dist/bundle/grants-L7XLHLUT.js +105 -0
- package/dist/bundle/{identity-PI6F2GWA.js → identity-J2DON4IO.js} +6 -6
- package/dist/bundle/{instructions-6LPDSKAD.js → instructions-HGOJ23AJ.js} +1 -1
- package/dist/bundle/{login-HTY7GT2S.js → login-BD2TS4GY.js} +63 -63
- package/dist/bundle/{mcp-PPVOM4SE.js → mcp-GWDA3HOA.js} +2 -2
- package/dist/bundle/{node-IB246NCQ.js → node-CPKTDPH7.js} +2 -2
- package/dist/bundle/{node-sqlite-G2Y5SFJM.js → node-sqlite-IXDCRLSX.js} +9 -9
- package/dist/bundle/oauth-HOGY4YBB.js +22 -0
- package/dist/bundle/{open-WD4GFSJD.js → open-O7P3ZV3Y.js} +8 -8
- package/dist/bundle/{openai-QVM4PMY7.js → openai-RCFQKCXC.js} +17 -17
- package/dist/bundle/{process-SWPJGPQC.js → process-KXDRJO22.js} +1 -1
- package/dist/bundle/{program-WHYFAMXR.js → program-UCHFC7JQ.js} +228 -85
- package/dist/bundle/prompt-EVPPBN5W.js +17 -0
- package/dist/bundle/{reasons-Q34DQWB6.js → reasons-57J2D77K.js} +5 -5
- package/dist/bundle/{recognize-DM3YWHSE.js → recognize-MRCYGP2J.js} +7 -7
- package/dist/bundle/{remote-KXVWRK7J.js → remote-L3L4PHKF.js} +10 -10
- package/dist/bundle/{rerank-TINXM3MY.js → rerank-PSOE6XFT.js} +10 -10
- package/dist/bundle/{serve-IY2WL656.js → serve-72OGS3BF.js} +12 -12
- package/dist/bundle/server-C5TGNFXW.js +70 -0
- package/dist/bundle/{server-VPY3OWPC.js → server-SCXKYHBO.js} +44 -44
- package/dist/bundle/{services-PXNBOCOC.js → services-YAFTELBI.js} +42 -32
- package/dist/bundle/{sqlite-runtime-5ZK2CV7Y.js → sqlite-runtime-DLK4SU33.js} +9 -9
- package/dist/bundle/{start-LDVCN3DK.js → start-AFFA3LKM.js} +9 -7
- package/dist/bundle/{state-3MKTT3VS.js → state-T5VNAJSZ.js} +9 -9
- package/dist/bundle/{store-7M4MSUJV.js → store-4OFK7PKQ.js} +48 -28
- package/dist/bundle/{store-4VQOT5IJ.js → store-R6MSY2IM.js} +20 -18
- package/dist/bundle/store-maintenance-command-QDMCXGV6.js +60 -0
- package/dist/bundle/tokens-HIG36RNS.js +103 -0
- package/dist/commands/folders.d.ts +2 -1
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +16 -3
- package/dist/commands/folders.js.map +1 -1
- package/dist/program.js +1 -1
- package/dist/program.js.map +1 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +15 -6
- package/dist/tokens.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/chunk-W767AUNR.js +0 -132
- package/dist/bundle/command-contract-T3EO5AYD.js +0 -39
- package/dist/bundle/entry-YQSYER66.js +0 -22
- package/dist/bundle/first-run-ZIFPVZAI.js +0 -30
- package/dist/bundle/first-screen-L5U26EY7.js +0 -37
- package/dist/bundle/grants-SEWUYYH3.js +0 -105
- package/dist/bundle/oauth-MWBKBI4T.js +0 -22
- package/dist/bundle/prompt-OVYCGZB7.js +0 -17
- package/dist/bundle/server-EMWVVT2C.js +0 -70
- package/dist/bundle/store-maintenance-command-NRATYBWD.js +0 -60
- package/dist/bundle/tokens-XUKLM3SL.js +0 -103
- /package/dist/bundle/{chunk-LU3WKZBA.js → chunk-ZQ3GWKDQ.js} +0 -0
|
@@ -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-
|
|
5
|
+
} from "./chunk-4OSSOWDM.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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -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-
|
|
5
|
+
} from "./chunk-4OSSOWDM.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.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { constants } from "node:fs";
|
|
13
13
|
import { link, open, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
45
45
|
}
|
|
46
46
|
}, "writeFileAtomic");
|
|
47
47
|
|
|
48
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
48
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
|
|
49
49
|
import { constants as constants2 } from "node:fs";
|
|
50
50
|
import { lstat, open as open2 } from "node:fs/promises";
|
|
51
51
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -111,21 +111,21 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
111
111
|
}
|
|
112
112
|
}, "syncDirectory");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
115
115
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
116
116
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
117
117
|
|
|
118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
119
119
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
120
120
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
121
121
|
import { hostname as hostname2 } from "node:os";
|
|
122
122
|
import { join as join3 } from "node:path";
|
|
123
123
|
|
|
124
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
124
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
125
125
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
126
126
|
import { join as join2 } from "node:path";
|
|
127
127
|
|
|
128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
|
|
129
129
|
import { hostname } from "node:os";
|
|
130
130
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
131
131
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -170,7 +170,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
170
170
|
}
|
|
171
171
|
}, "leaseOwnerStatus");
|
|
172
172
|
|
|
173
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
174
174
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
175
175
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
176
176
|
options.signal?.throwIfAborted();
|
|
@@ -229,7 +229,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
229
229
|
return { inspect, recover };
|
|
230
230
|
}, "leaseInspection");
|
|
231
231
|
|
|
232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
232
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
|
|
233
233
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
234
234
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
235
235
|
let releasing;
|
|
@@ -254,7 +254,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
254
254
|
};
|
|
255
255
|
}, "ownedNativeLease");
|
|
256
256
|
|
|
257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
258
258
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
259
259
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
260
260
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -325,7 +325,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
325
325
|
};
|
|
326
326
|
}, "nativeWriterLeaseStore");
|
|
327
327
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
328
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
329
329
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
330
330
|
const folder = dirname2(path);
|
|
331
331
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -340,7 +340,7 @@ var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
|
340
340
|
});
|
|
341
341
|
}, "acquireLock");
|
|
342
342
|
|
|
343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
343
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
|
|
344
344
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
345
345
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
346
346
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -369,7 +369,7 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
|
369
369
|
}
|
|
370
370
|
}, "readBoundedUtf8File");
|
|
371
371
|
|
|
372
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/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(/^\.+/, "");
|
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
InvalidArgumentError,
|
|
6
6
|
Option,
|
|
7
7
|
annotate,
|
|
8
|
+
annotateOption,
|
|
8
9
|
environmentOf,
|
|
9
10
|
itemOf,
|
|
10
11
|
listOf,
|
|
@@ -12,17 +13,17 @@ import {
|
|
|
12
13
|
renderAnswer,
|
|
13
14
|
sharedCommand,
|
|
14
15
|
snakeKeys
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PEQA6LA5.js";
|
|
16
17
|
import {
|
|
17
18
|
readOnlyLockOf
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7W5HYGVW.js";
|
|
19
20
|
import {
|
|
20
21
|
AUDIT_MIN_SCORE,
|
|
21
22
|
throughWrapper
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LQKD257P.js";
|
|
23
24
|
import {
|
|
24
25
|
formatReference
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-U2BFYSQV.js";
|
|
26
27
|
import {
|
|
27
28
|
EVENT_QUERY,
|
|
28
29
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -45,7 +46,7 @@ import {
|
|
|
45
46
|
readMeetingProjectEvidence,
|
|
46
47
|
validateMeetingHitSearch,
|
|
47
48
|
validateMeetingPassage
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-CJHY5YIF.js";
|
|
49
50
|
import {
|
|
50
51
|
OPERATORS_BY_TYPE,
|
|
51
52
|
dateRange,
|
|
@@ -58,7 +59,7 @@ import {
|
|
|
58
59
|
timezoneOf,
|
|
59
60
|
validateQuery,
|
|
60
61
|
zonedMoment
|
|
61
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-EOOGWUTP.js";
|
|
62
63
|
import {
|
|
63
64
|
array,
|
|
64
65
|
boolean,
|
|
@@ -68,15 +69,15 @@ import {
|
|
|
68
69
|
safeParse,
|
|
69
70
|
strictObject,
|
|
70
71
|
string
|
|
71
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-FEZF3TII.js";
|
|
72
73
|
import {
|
|
73
74
|
CliError
|
|
74
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-4OSSOWDM.js";
|
|
75
76
|
import {
|
|
76
77
|
__name
|
|
77
78
|
} from "./chunk-ZVVMGPBJ.js";
|
|
78
79
|
|
|
79
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
80
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
80
81
|
var COMMAND_NEEDS = {
|
|
81
82
|
"account update": ["updateProfile", "change the profile"],
|
|
82
83
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -126,7 +127,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
126
127
|
return group;
|
|
127
128
|
}, "hideNever");
|
|
128
129
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
130
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
130
131
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
131
132
|
command.allowUnknownOption();
|
|
132
133
|
const parse = command.parseOptions.bind(command);
|
|
@@ -146,7 +147,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
146
147
|
return command;
|
|
147
148
|
}, "queryWordsAfterOptions");
|
|
148
149
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
150
151
|
var count = /* @__PURE__ */ __name((value) => {
|
|
151
152
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
152
153
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -188,7 +189,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
188
189
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
189
190
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
190
191
|
|
|
191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
192
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
192
193
|
var integer = /* @__PURE__ */ __name((value) => {
|
|
193
194
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
194
195
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -211,7 +212,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
211
212
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
212
213
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
213
214
|
|
|
214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
215
216
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
216
217
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
217
218
|
const zone = timezoneOf();
|
|
@@ -297,7 +298,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
297
298
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
298
299
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
299
300
|
|
|
300
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
301
302
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
302
303
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
303
304
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -347,7 +348,14 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
347
348
|
output(annotate(group.command("summary"), { effects: LOCAL_READ, output: { entity: "meeting_summary" } }).description("show stored meeting summaries").argument("<meeting>", "stored meeting id", integer3)).action(async (id, _opts, command) => {
|
|
348
349
|
print(await meetingSummaryAnswer(deps.store, id, deps.accountId), command);
|
|
349
350
|
});
|
|
350
|
-
output(annotate(group.command("export"), { effects: LOCAL_WRITE, output: { entity: "meeting_export" } }).description("export a meeting as Markdown or one transcript as WebVTT").argument("<meeting>", "stored meeting id", integer3).addOption(new Option("--format <format>", "export format").choices(["markdown", "vtt"]).default("markdown")).option("--transcript-id <id>", "export a specific transcript version", integer3).
|
|
351
|
+
const exporter = output(annotate(group.command("export"), { effects: LOCAL_WRITE, output: { entity: "meeting_export" } }).description("export a meeting as Markdown or one transcript as WebVTT").argument("<meeting>", "stored meeting id", integer3).addOption(new Option("--format <format>", "export format").choices(["markdown", "vtt"]).default("markdown")).option("--transcript-id <id>", "export a specific transcript version", integer3).addOption(
|
|
352
|
+
// Not over MCP: an agent would choose where on the owner's disk to write; it gets the content in the answer.
|
|
353
|
+
annotateOption(new Option("--output <file>", "write content to a new file through the host's writer"), {
|
|
354
|
+
mcp: false
|
|
355
|
+
})
|
|
356
|
+
));
|
|
357
|
+
deps.newFileOutput?.(exporter, "output");
|
|
358
|
+
exporter.action(async (id, opts, command) => {
|
|
351
359
|
if (opts.output !== void 0 && !opts.output.trim())
|
|
352
360
|
throw new MeetingError("validation_error", "output path must not be empty");
|
|
353
361
|
if (opts.output !== void 0 && !deps.writeFile)
|
|
@@ -374,16 +382,21 @@ ${fieldsHelp(MEETING_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
374
382
|
output(annotate(group.command("sync"), {
|
|
375
383
|
effects: FETCH,
|
|
376
384
|
offline: false,
|
|
377
|
-
output: { entity: "meeting_ingestion" }
|
|
378
|
-
|
|
379
|
-
|
|
385
|
+
output: { entity: "meeting_ingestion" },
|
|
386
|
+
// Only a sync that stops itself at its budget may outlive the one-shot deadline.
|
|
387
|
+
...deps.budgetOf ? { cooperative: true, partial: true } : {}
|
|
388
|
+
}).description("bring the stored meetings up to date from the connected account, oldest first; a run that stops before its deadline keeps what it saved and the next one goes on from there")).option("--since-time <time>", "fetch meetings starting at or after this ISO 8601 date or time", date).option("--lookback-days <days>", "revisit recent occurrences for late transcripts (0\u201331)", lookbackDays).option("--rescan", "read the last 30 days again, not only what came after the last sync").action(async (opts, command) => {
|
|
389
|
+
const source = deps.source;
|
|
390
|
+
if (!source)
|
|
380
391
|
throw new MeetingError("configuration_error", "meeting source is unavailable");
|
|
381
|
-
print(await pull(
|
|
392
|
+
await deps.inRun(command, async () => print(await pull(source, deps.store, {
|
|
382
393
|
accountId: deps.accountId,
|
|
383
394
|
since: opts.sinceTime === void 0 ? void 0 : new Date(opts.sinceTime).toISOString(),
|
|
384
395
|
now: deps.now?.(),
|
|
385
|
-
lookbackMs: opts.lookbackDays * 864e5
|
|
386
|
-
|
|
396
|
+
...opts.lookbackDays === void 0 ? {} : { lookbackMs: opts.lookbackDays * 864e5 },
|
|
397
|
+
...opts.rescan ? { rescan: true } : {},
|
|
398
|
+
...deps.budgetOf ? { budget: deps.budgetOf(command) } : {}
|
|
399
|
+
}), command));
|
|
387
400
|
});
|
|
388
401
|
const importCommand = annotate(group.command("import"), {
|
|
389
402
|
effects: LOCAL_WRITE,
|
|
@@ -429,7 +442,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
429
442
|
}, "addMeetingCommandsDefinition");
|
|
430
443
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
431
444
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
445
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
433
446
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
434
447
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
435
448
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -562,7 +575,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
562
575
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
563
576
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
564
577
|
|
|
565
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
578
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
566
579
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
567
580
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
568
581
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -571,7 +584,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
571
584
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
572
585
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
573
586
|
|
|
574
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
575
588
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
576
589
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
577
590
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -833,7 +846,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
833
846
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
834
847
|
}), "sessionAnswer");
|
|
835
848
|
|
|
836
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
837
850
|
import { createHash } from "node:crypto";
|
|
838
851
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
839
852
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1054,7 +1067,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1054
1067
|
}, () => finish({ error: stopped() }));
|
|
1055
1068
|
}), "relayCommand");
|
|
1056
1069
|
|
|
1057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1058
1071
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1059
1072
|
close: /* @__PURE__ */ __name(async () => {
|
|
1060
1073
|
}, "close"),
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { win32 } from "node:path";
|
|
10
10
|
var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
|
|
@@ -0,0 +1,39 @@
|
|
|
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-O7ALBI2I.js";
|
|
10
|
+
import "./chunk-PEQA6LA5.js";
|
|
11
|
+
import "./chunk-VQDD64A4.js";
|
|
12
|
+
import "./chunk-MN4VXU3M.js";
|
|
13
|
+
import "./chunk-7W5HYGVW.js";
|
|
14
|
+
import "./chunk-YMWENGKH.js";
|
|
15
|
+
import "./chunk-VAYB52HF.js";
|
|
16
|
+
import "./chunk-AQVUEZEP.js";
|
|
17
|
+
import "./chunk-Q2LRPOKL.js";
|
|
18
|
+
import "./chunk-RIDQNVZM.js";
|
|
19
|
+
import "./chunk-CJHY5YIF.js";
|
|
20
|
+
import "./chunk-EOOGWUTP.js";
|
|
21
|
+
import "./chunk-JK3U25QZ.js";
|
|
22
|
+
import "./chunk-TDX4GZFO.js";
|
|
23
|
+
import "./chunk-FNWIJ6EJ.js";
|
|
24
|
+
import "./chunk-ZQ3GWKDQ.js";
|
|
25
|
+
import "./chunk-OD4U7GUY.js";
|
|
26
|
+
import "./chunk-UQLWMGSD.js";
|
|
27
|
+
import "./chunk-Y5E2WNWB.js";
|
|
28
|
+
import "./chunk-2HF2MRXI.js";
|
|
29
|
+
import "./chunk-6EY46GAN.js";
|
|
30
|
+
import "./chunk-FEZF3TII.js";
|
|
31
|
+
import "./chunk-4OSSOWDM.js";
|
|
32
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
33
|
+
export {
|
|
34
|
+
SCHEMA_DIALECT,
|
|
35
|
+
commandContract,
|
|
36
|
+
commandPathOf,
|
|
37
|
+
findCommand,
|
|
38
|
+
outputOf
|
|
39
|
+
};
|
|
@@ -3,23 +3,23 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-RPMKG63Z.js";
|
|
7
|
+
import "./chunk-OD4U7GUY.js";
|
|
8
|
+
import "./chunk-UQLWMGSD.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-2HF2MRXI.js";
|
|
13
|
+
import "./chunk-6EY46GAN.js";
|
|
14
|
+
import "./chunk-FEZF3TII.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4OSSOWDM.js";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
24
24
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
25
25
|
import { createRequire } from "node:module";
|
|
@@ -13,23 +13,23 @@ import {
|
|
|
13
13
|
parseDescribe,
|
|
14
14
|
shimFiles,
|
|
15
15
|
writeShim
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-O2XOX4HB.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2HF2MRXI.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4OSSOWDM.js";
|
|
22
22
|
import {
|
|
23
23
|
__name,
|
|
24
24
|
__toESM
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
28
28
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
import { constants } from "node:os";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
|
|
33
33
|
import { readdirSync, statSync } from "node:fs";
|
|
34
34
|
import { join } from "node:path";
|
|
35
35
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
101
101
|
}, "findTools");
|
|
102
102
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
103
103
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
|
|
105
105
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
106
106
|
import { readFileSync } from "node:fs";
|
|
107
107
|
var MAX_ANSWER_BYTES = 64 * 1024;
|
|
@@ -150,7 +150,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
150
150
|
}
|
|
151
151
|
}, "baseVersion");
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
|
|
154
154
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
155
155
|
import { basename, dirname } from "node:path";
|
|
156
156
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -242,7 +242,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
242
242
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
243
243
|
}), "removeShortcuts");
|
|
244
244
|
|
|
245
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
245
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
246
246
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
247
247
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
248
248
|
const installed = installedPrograms(context);
|
|
@@ -339,7 +339,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
339
339
|
});
|
|
340
340
|
}), "runTool");
|
|
341
341
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
342
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
342
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-GV77W3CD.js");
|
|
343
343
|
const object = errorObjectOf(error);
|
|
344
344
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
345
345
|
`);
|
package/dist/bundle/drive.js
CHANGED
|
@@ -3,17 +3,17 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
processStreams
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OD4U7GUY.js";
|
|
7
7
|
import {
|
|
8
8
|
errorObjectOf,
|
|
9
9
|
exitCodeOfError,
|
|
10
10
|
renderError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UQLWMGSD.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-2HF2MRXI.js";
|
|
14
|
+
import "./chunk-6EY46GAN.js";
|
|
15
|
+
import "./chunk-FEZF3TII.js";
|
|
16
|
+
import "./chunk-4OSSOWDM.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
import { enableCompileCache } from "node:module";
|
|
23
23
|
enableCompileCache();
|
|
24
24
|
var [{ wcatStart }, { DRIVE_APP }] = await Promise.all([
|
|
25
|
-
import("./start-
|
|
26
|
-
import("./identity-
|
|
25
|
+
import("./start-AFFA3LKM.js"),
|
|
26
|
+
import("./identity-J2DON4IO.js")
|
|
27
27
|
]);
|
|
28
28
|
var wcat = await wcatStart({
|
|
29
29
|
command: DRIVE_APP.command,
|
|
@@ -35,15 +35,15 @@ if (wcat.code !== void 0) {
|
|
|
35
35
|
process.exitCode = wcat.code;
|
|
36
36
|
} else {
|
|
37
37
|
const [{ startCli }, { REASONS }, { interactiveOf }] = await Promise.all([
|
|
38
|
-
import("./entry-
|
|
39
|
-
import("./reasons-
|
|
38
|
+
import("./entry-V5V3TOTY.js"),
|
|
39
|
+
import("./reasons-57J2D77K.js"),
|
|
40
40
|
import("./terminal-DHJ4D3BC.js")
|
|
41
41
|
]);
|
|
42
42
|
await startCli({
|
|
43
43
|
app: DRIVE_APP,
|
|
44
44
|
interactive: interactiveOf,
|
|
45
45
|
reasons: REASONS,
|
|
46
|
-
run: /* @__PURE__ */ __name(async (entry) => (await import("./program-
|
|
46
|
+
run: /* @__PURE__ */ __name(async (entry) => (await import("./program-UCHFC7JQ.js")).run(entry.args, {
|
|
47
47
|
signal: entry.signal,
|
|
48
48
|
ask: /* @__PURE__ */ __name((key) => entry.ask(`Allow ${key}?`), "ask"),
|
|
49
49
|
openBrowser: /* @__PURE__ */ __name((url, command) => entry.openBrowser(url, void 0, command), "openBrowser")
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.9_commander@15.0.0_esbuild@0.28.2_type_4b96f151b4ca40121094ad166c695991/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|