@wirecat/drive-cli 0.58.0 → 0.59.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 +6 -2
- package/dist/bundle/{all-profiles-ANDWOJDL.js → all-profiles-CVISDGMF.js} +14 -13
- package/dist/bundle/{anthropic-EZPZUWGS.js → anthropic-WLNQC23G.js} +9 -9
- package/dist/bundle/{app-server-67WL423B.js → app-server-P2VOONXF.js} +53 -51
- package/dist/bundle/{bun-NIIYUR5F.js → bun-CDFBNTKV.js} +2 -2
- package/dist/bundle/{bun-sqlite-A5ZKTIYC.js → bun-sqlite-MNZICITP.js} +8 -8
- package/dist/bundle/{chunk-NYINLKWT.js → chunk-2AXA5SKP.js} +1 -1
- package/dist/bundle/{chunk-EFEI724Z.js → chunk-36B7AIGP.js} +1 -1
- package/dist/bundle/{chunk-4GZLX2ME.js → chunk-3KJTJDDT.js} +40 -33
- package/dist/bundle/{chunk-4UU4ONKY.js → chunk-3KNZADHJ.js} +5086 -640
- package/dist/bundle/{chunk-O3K46QRL.js → chunk-3U22QTU6.js} +8 -6
- package/dist/bundle/chunk-3VSUT6BD.js +35 -0
- package/dist/bundle/{chunk-U2RSVKR5.js → chunk-5C7K6XIT.js} +1 -1
- package/dist/bundle/{chunk-JEMKSWVI.js → chunk-6C6255U6.js} +12 -12
- package/dist/bundle/{chunk-UBZ2LH7N.js → chunk-6CQO2FIN.js} +1403 -581
- package/dist/bundle/{chunk-4EEOJ54H.js → chunk-7QTVIZII.js} +5400 -2996
- package/dist/bundle/{chunk-TCJRJ3TE.js → chunk-A6EG7ZDS.js} +13 -13
- package/dist/bundle/{chunk-SPVPKHBQ.js → chunk-A6SLYOP2.js} +35 -30
- package/dist/bundle/{chunk-TIXIB32T.js → chunk-AD62XJKO.js} +153 -101
- package/dist/bundle/{chunk-GDRO4YMH.js → chunk-B5GBJ35N.js} +4 -4
- package/dist/bundle/{chunk-LSSIVBQI.js → chunk-BSGOM3BD.js} +1 -1
- package/dist/bundle/{chunk-ALTG7BZQ.js → chunk-CBM2XAEZ.js} +19 -19
- package/dist/bundle/{chunk-2TASMYGM.js → chunk-DI5Z4SH5.js} +3 -3
- package/dist/bundle/{chunk-ITD7WI23.js → chunk-EBLA7GXY.js} +1 -1
- package/dist/bundle/{chunk-P5MCZ635.js → chunk-EHEZSV6I.js} +11 -88
- package/dist/bundle/{chunk-QVIJMV22.js → chunk-EORMZCVF.js} +3 -3
- package/dist/bundle/{chunk-OZEJA67C.js → chunk-EVETU3TF.js} +8 -8
- package/dist/bundle/{chunk-7YUZAEBG.js → chunk-F3FOL42A.js} +2 -2
- package/dist/bundle/{chunk-AFZ33AC7.js → chunk-FICVPYE4.js} +179 -50
- package/dist/bundle/{chunk-6THTUYPT.js → chunk-FVQCM7IQ.js} +1 -1
- package/dist/bundle/{chunk-TNX77VPM.js → chunk-GI5JBGXH.js} +4589 -1510
- package/dist/bundle/{chunk-7VFD3UJQ.js → chunk-GJ4ZCIOP.js} +3 -3
- package/dist/bundle/{chunk-7AL57FCK.js → chunk-GT5KTGCN.js} +4 -4
- package/dist/bundle/{chunk-BAEIAQWH.js → chunk-H2BKXPBL.js} +2 -2
- package/dist/bundle/chunk-HIOJRPCT.js +93 -0
- package/dist/bundle/{chunk-ASPIEEXN.js → chunk-HIP43OGZ.js} +1 -1
- package/dist/bundle/{chunk-UMJLXAJI.js → chunk-HMZAMHKN.js} +2 -2
- package/dist/bundle/{chunk-ESF2B22R.js → chunk-HWLLVLAB.js} +10 -10
- package/dist/bundle/{chunk-X5XWUQNU.js → chunk-IADOBOKB.js} +2 -2
- package/dist/bundle/{chunk-4ICWGMHN.js → chunk-IBZ3IBO4.js} +7 -7
- package/dist/bundle/{chunk-MBNKNWOG.js → chunk-IGF6EXBR.js} +35 -34
- package/dist/bundle/{chunk-I4VUHZSD.js → chunk-II7LST64.js} +3 -3
- package/dist/bundle/{chunk-Z5GDNCTJ.js → chunk-IIP43FQJ.js} +2 -2
- package/dist/bundle/{chunk-UTDL7MKT.js → chunk-JSDVK3JA.js} +2 -2
- package/dist/bundle/{chunk-X4F3M6L6.js → chunk-JW2CVCUH.js} +4 -4
- package/dist/bundle/{chunk-IBJOO5FG.js → chunk-K4LXGZTE.js} +16 -16
- package/dist/bundle/{chunk-WICYDOVL.js → chunk-KFZUODXB.js} +70 -18
- package/dist/bundle/chunk-KPRGTTJH.js +34 -0
- package/dist/bundle/{chunk-SWFA36F3.js → chunk-L5SE2XZP.js} +20 -14
- package/dist/bundle/{chunk-OOR6PEHV.js → chunk-LJ7E4HLQ.js} +1 -1
- package/dist/bundle/{chunk-34XHR5FL.js → chunk-LPHMAQJQ.js} +16 -16
- package/dist/bundle/{chunk-6SARLV3Z.js → chunk-M6I2SQN7.js} +4 -4
- package/dist/bundle/{chunk-OG5ERX4S.js → chunk-MEAPA4EZ.js} +2 -2
- package/dist/bundle/{chunk-IH4UCM5K.js → chunk-MKCNUI72.js} +2 -2
- package/dist/bundle/{chunk-XQMMB6ST.js → chunk-MUUHUHWC.js} +2 -1
- package/dist/bundle/{chunk-NKL5XXOM.js → chunk-OKXSTWKW.js} +8 -8
- package/dist/bundle/{chunk-BKM2CGG2.js → chunk-OMMEQJOB.js} +3 -3
- package/dist/bundle/{chunk-EFX6FIDM.js → chunk-OZH4ALTI.js} +1 -1
- package/dist/bundle/{chunk-TMW526H3.js → chunk-P3ZTW2ZM.js} +5 -5
- package/dist/bundle/{chunk-FD7A6745.js → chunk-P7WPYKSB.js} +4 -4
- package/dist/bundle/{chunk-OUQVZTF5.js → chunk-PAEVBAM3.js} +7 -42
- package/dist/bundle/{chunk-W6KMNO3C.js → chunk-PGKIOSN3.js} +6 -6
- package/dist/bundle/{chunk-KCBHOYNZ.js → chunk-QTM7USFA.js} +8 -13
- package/dist/bundle/{chunk-IXXQZCNK.js → chunk-TFH5X46A.js} +32 -19
- package/dist/bundle/{chunk-YHRJUZ3O.js → chunk-TI55J3BA.js} +6 -4
- package/dist/bundle/{chunk-J36Z6BDZ.js → chunk-TJXPJ3A5.js} +570 -366
- package/dist/bundle/{chunk-RRHC5SBB.js → chunk-UQPKAY6I.js} +2 -2
- package/dist/bundle/{chunk-A4DHPOFQ.js → chunk-UWVNRPT7.js} +53 -39
- package/dist/bundle/{chunk-3RG27IWA.js → chunk-V36RIXFA.js} +5 -5
- package/dist/bundle/{chunk-3GXNODTB.js → chunk-V42KAPU3.js} +4 -4
- package/dist/bundle/{chunk-D72FL3L3.js → chunk-VT6GZAF4.js} +35 -35
- package/dist/bundle/{chunk-VXI67T7U.js → chunk-VVCZS42A.js} +1 -1
- package/dist/bundle/{chunk-A7FMNTCK.js → chunk-W62CON5K.js} +4 -4
- package/dist/bundle/{chunk-PYPLD7JO.js → chunk-XCOCPXCM.js} +2 -2
- package/dist/bundle/{chunk-BLJVCJZU.js → chunk-YADXWQHV.js} +26 -26
- package/dist/bundle/{chunk-AL7MY7MW.js → chunk-YU3PTU3D.js} +1 -1
- package/dist/bundle/{chunk-5NPFHWLP.js → chunk-YV4ABH6J.js} +5 -5
- package/dist/bundle/{chunk-ED5JNYN5.js → chunk-ZSMCJKGP.js} +27 -26
- package/dist/bundle/{chunk-JZ67M3HR.js → chunk-ZYCLPJ7U.js} +1 -1
- package/dist/bundle/command-contract-LQDNHZJU.js +39 -0
- package/dist/bundle/{decode-2R6DTGRX.js → decode-XTOMXMGN.js} +8 -8
- package/dist/bundle/{dispatch-DEXAEMIN.js → dispatch-T6TW2JJB.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-CLB22SZS.js → echarts-RKKIOYVV.js} +2 -2
- package/dist/bundle/{embed-RJJWOLKN.js → embed-STHKKA6G.js} +9 -9
- package/dist/bundle/{embedder-DWYS5JYJ.js → embedder-3XZEWHRO.js} +12 -12
- package/dist/bundle/entry-CNOYSSSD.js +22 -0
- package/dist/bundle/{failure-GBZ4L5QO.js → failure-DNQYXP2T.js} +4 -4
- package/dist/bundle/first-run-F2SI24PK.js +30 -0
- package/dist/bundle/first-screen-TYYF6VXY.js +37 -0
- package/dist/bundle/{google-L776ETP4.js → google-BYNSAIQI.js} +13 -13
- package/dist/bundle/{google-api-AI5ZJJ2M.js → google-api-4VTZH7OP.js} +57 -56
- package/dist/bundle/grants-EUQXSICG.js +105 -0
- package/dist/bundle/{identity-MDLWK2TX.js → identity-ARDPFYV5.js} +6 -6
- package/dist/bundle/{instructions-BXZZNAMS.js → instructions-N3OH5X2Y.js} +1 -1
- package/dist/bundle/{login-6HHQLRHY.js → login-4VQEC7VI.js} +63 -62
- package/dist/bundle/{mcp-ZZUYI44D.js → mcp-WBHKX5E3.js} +2 -2
- package/dist/bundle/{node-R6ZNQ3NT.js → node-YU5JBNAA.js} +2 -2
- package/dist/bundle/{node-sqlite-AVNHGMVL.js → node-sqlite-3C6PSBIW.js} +14 -8
- package/dist/bundle/oauth-D6NJFPYU.js +22 -0
- package/dist/bundle/{open-BXPLXJC2.js → open-M2V2VYXO.js} +8 -7
- package/dist/bundle/{openai-CRO5GDBY.js → openai-ST2IWNUX.js} +17 -17
- package/dist/bundle/{process-P36JP33R.js → process-PYNNBBTV.js} +1 -1
- package/dist/bundle/{program-4DWVWSGQ.js → program-Q4VWV2MR.js} +132 -94
- package/dist/bundle/prompt-MFIOJMAF.js +17 -0
- package/dist/bundle/{reasons-IHPNUP5W.js → reasons-LOQ5J73F.js} +5 -5
- package/dist/bundle/{recognize-NAISVA56.js → recognize-FBLMWXNE.js} +7 -7
- package/dist/bundle/{remote-KCUHG5HV.js → remote-XC3OXE4T.js} +10 -10
- package/dist/bundle/{rerank-Q3POCDSK.js → rerank-2XMKKF4S.js} +10 -10
- package/dist/bundle/{serve-5CUOYLSG.js → serve-Q2BQHNZB.js} +14 -13
- package/dist/bundle/{server-FXW3GARV.js → server-42HPV3AH.js} +44 -43
- package/dist/bundle/server-EWZYN323.js +70 -0
- package/dist/bundle/{services-PEYBXZ3R.js → services-WU22S2MU.js} +99 -31
- package/dist/bundle/{sqlite-runtime-YMPWN5PM.js → sqlite-runtime-CSO6K6B2.js} +9 -8
- package/dist/bundle/{start-PFWEF44R.js → start-TZWKM4AH.js} +7 -7
- package/dist/bundle/{state-5TQ7IOJH.js → state-FLUT7U7R.js} +9 -9
- package/dist/bundle/{store-E2VWY4O6.js → store-HDWMJ44E.js} +42 -21
- package/dist/bundle/{store-P4OYYFW5.js → store-TG6622NG.js} +20 -16
- package/dist/bundle/store-maintenance-command-RHWRUREJ.js +60 -0
- package/dist/bundle/tokens-TXYURU4S.js +103 -0
- package/dist/commands/documents.d.ts +1 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +14 -1
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/knowledge.d.ts +4 -0
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +8 -7
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/contract-overrides.js +5 -5
- package/dist/contract-overrides.js.map +1 -1
- package/dist/knowledge-query.d.ts +2 -0
- package/dist/knowledge-query.d.ts.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +8 -3
- package/dist/program.js.map +1 -1
- package/dist/provider-json.d.ts +2 -0
- package/dist/provider-json.d.ts.map +1 -1
- package/dist/provider-json.js +13 -0
- package/dist/provider-json.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +1 -0
- package/dist/reasons.js.map +1 -1
- package/dist/store.d.ts +2 -0
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +9 -0
- package/dist/store.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/drive-cli/SKILL.md +2 -1
- package/dist/bundle/chunk-7VUHY5LP.js +0 -18
- package/dist/bundle/chunk-Y6M2G7JK.js +0 -3609
- package/dist/bundle/command-contract-ZCXFT764.js +0 -39
- package/dist/bundle/entry-E6H7IUPV.js +0 -21
- package/dist/bundle/first-run-DI2JIG44.js +0 -30
- package/dist/bundle/first-screen-X5N4TCKD.js +0 -37
- package/dist/bundle/grants-HKGYAWL6.js +0 -104
- package/dist/bundle/oauth-UVU52X57.js +0 -22
- package/dist/bundle/prompt-AFWVGRDG.js +0 -17
- package/dist/bundle/server-FTLPSLRU.js +0 -69
- package/dist/bundle/store-maintenance-command-MWVERNK7.js +0 -58
- package/dist/bundle/tokens-OVG4CJO4.js +0 -102
- /package/dist/bundle/{chunk-HPXYN7F3.js → chunk-LK2E2ELG.js} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
MAX_FILE_BYTES,
|
|
9
9
|
MAX_TEXT_CHARS,
|
|
10
10
|
attachmentMaxBytes
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IADOBOKB.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom,
|
|
14
14
|
resolveFrom
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
CliError,
|
|
18
18
|
isCliError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EBLA7GXY.js";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|
|
22
22
|
__name,
|
|
@@ -16632,20 +16632,20 @@ var require_lib3 = __commonJS({
|
|
|
16632
16632
|
}
|
|
16633
16633
|
});
|
|
16634
16634
|
|
|
16635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16635
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
16636
16636
|
import { extname as extname2 } from "node:path";
|
|
16637
16637
|
|
|
16638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/engine.js
|
|
16639
16639
|
import { readFileSync } from "node:fs";
|
|
16640
16640
|
import { dirname, extname, join } from "node:path";
|
|
16641
16641
|
import { fileURLToPath } from "node:url";
|
|
16642
16642
|
|
|
16643
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16643
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
16644
16644
|
import { setImmediate as tick } from "node:timers/promises";
|
|
16645
16645
|
import { crc32 } from "node:zlib";
|
|
16646
16646
|
var import_xmldom = __toESM(require_lib(), 1);
|
|
16647
16647
|
|
|
16648
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16648
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/encoding.js
|
|
16649
16649
|
var import_chardet = __toESM(require_lib2(), 1);
|
|
16650
16650
|
var import_iconv_lite = __toESM(require_lib3(), 1);
|
|
16651
16651
|
var SAMPLE = 65536;
|
|
@@ -16747,7 +16747,7 @@ var decodeXml = /* @__PURE__ */ __name((bytes) => {
|
|
|
16747
16747
|
return result.text;
|
|
16748
16748
|
}, "decodeXml");
|
|
16749
16749
|
|
|
16750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16750
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/container.js
|
|
16751
16751
|
var MAX_PART = 10 * 1024 * 1024;
|
|
16752
16752
|
var MAX_ENTRIES = 1e3;
|
|
16753
16753
|
var decoder = new TextDecoder("utf-8", { fatal: true });
|
|
@@ -16962,7 +16962,7 @@ var elements = /* @__PURE__ */ __name((node, name, namespace) => {
|
|
|
16962
16962
|
return found;
|
|
16963
16963
|
}, "elements");
|
|
16964
16964
|
|
|
16965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/engine.js
|
|
16966
16966
|
var BUILT_IN = ["unpdf", "mammoth", "word-extractor", "linkedom", "defuddle/node"];
|
|
16967
16967
|
var ENGINES = [...BUILT_IN, "@napi-rs/canvas"];
|
|
16968
16968
|
var isMissing = /* @__PURE__ */ __name((error, name) => error?.code === "ERR_MODULE_NOT_FOUND" && String(error.message).includes(name), "isMissing");
|
|
@@ -17020,7 +17020,7 @@ var derived = /* @__PURE__ */ __name((bytes, extractor, read) => {
|
|
|
17020
17020
|
}
|
|
17021
17021
|
}, "derived");
|
|
17022
17022
|
|
|
17023
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17023
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/image/index.js
|
|
17024
17024
|
var IMAGES = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".gif", ".heic", ".tif", ".tiff", ".bmp"]);
|
|
17025
17025
|
var image = {
|
|
17026
17026
|
id: "image",
|
|
@@ -17029,7 +17029,7 @@ var image = {
|
|
|
17029
17029
|
read: /* @__PURE__ */ __name(async () => ({ status: "needs-agent" }), "read")
|
|
17030
17030
|
};
|
|
17031
17031
|
|
|
17032
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17032
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/doc/index.js
|
|
17033
17033
|
var OLE = "\xD0\xCF\xE0\xA1\xB1\xE1";
|
|
17034
17034
|
var doc = {
|
|
17035
17035
|
id: "doc",
|
|
@@ -17041,7 +17041,7 @@ var doc = {
|
|
|
17041
17041
|
}), "read")
|
|
17042
17042
|
};
|
|
17043
17043
|
|
|
17044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/docx/index.js
|
|
17045
17045
|
var DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
17046
17046
|
var docx = {
|
|
17047
17047
|
id: "docx",
|
|
@@ -17054,7 +17054,7 @@ var docx = {
|
|
|
17054
17054
|
}), "read")
|
|
17055
17055
|
};
|
|
17056
17056
|
|
|
17057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17057
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/markup.js
|
|
17058
17058
|
var import_iconv_lite2 = __toESM(require_lib3(), 1);
|
|
17059
17059
|
var RTF_SKIPPED = /* @__PURE__ */ new Set([
|
|
17060
17060
|
"fonttbl",
|
|
@@ -17230,7 +17230,7 @@ var htmlText = /* @__PURE__ */ __name((source) => {
|
|
|
17230
17230
|
}, "htmlText");
|
|
17231
17231
|
var safeChar = /* @__PURE__ */ __name((code, fallback) => code > 0 && code <= 1114111 ? String.fromCodePoint(code) : fallback, "safeChar");
|
|
17232
17232
|
|
|
17233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/html/page.js
|
|
17234
17234
|
var clean = /* @__PURE__ */ __name((value) => typeof value === "string" ? value.replace(/\s+/g, " ").trim() : "", "clean");
|
|
17235
17235
|
var namesIn = /* @__PURE__ */ __name((value) => [value].flat().map((entry) => typeof entry === "string" ? clean(entry) : clean(entry?.name)).filter(Boolean).join(", "), "namesIn");
|
|
17236
17236
|
var jsonLdNodes = /* @__PURE__ */ __name((document) => {
|
|
@@ -17286,7 +17286,7 @@ var markdownSections = /* @__PURE__ */ __name((text) => {
|
|
|
17286
17286
|
return found.map((section, index) => ({ ...section, end: found[index + 1]?.start ?? text.length }));
|
|
17287
17287
|
}, "markdownSections");
|
|
17288
17288
|
|
|
17289
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/html/index.js
|
|
17290
17290
|
var HTML = /* @__PURE__ */ new Set([".html", ".htm", ".xhtml"]);
|
|
17291
17291
|
var first = /* @__PURE__ */ __name((...values) => values.find((value) => typeof value === "string" && value !== ""), "first");
|
|
17292
17292
|
var loaded = /* @__PURE__ */ __name(async (load, name) => {
|
|
@@ -17357,10 +17357,10 @@ var html = {
|
|
|
17357
17357
|
}, "read")
|
|
17358
17358
|
};
|
|
17359
17359
|
|
|
17360
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17360
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
17361
17361
|
import { posix } from "node:path";
|
|
17362
17362
|
|
|
17363
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17363
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/sheets.js
|
|
17364
17364
|
var columnName = /* @__PURE__ */ __name((column) => {
|
|
17365
17365
|
let name = "";
|
|
17366
17366
|
for (let rest = column; rest > 0; rest = Math.floor((rest - 1) / 26))
|
|
@@ -17415,7 +17415,7 @@ var sheetText = /* @__PURE__ */ __name((sheets2, maxChars = MAX_TEXT_CHARS) => {
|
|
|
17415
17415
|
return { text: parts.join("").trim(), truncated: false };
|
|
17416
17416
|
}, "sheetText");
|
|
17417
17417
|
|
|
17418
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17418
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/documents.js
|
|
17419
17419
|
var OFFICE = "urn:oasis:names:tc:opendocument:xmlns:office:1.0";
|
|
17420
17420
|
var TEXT = "urn:oasis:names:tc:opendocument:xmlns:text:1.0";
|
|
17421
17421
|
var TABLE = "urn:oasis:names:tc:opendocument:xmlns:table:1.0";
|
|
@@ -17830,7 +17830,7 @@ var readDocument = /* @__PURE__ */ __name(async (bytes, kind, signal) => {
|
|
|
17830
17830
|
}
|
|
17831
17831
|
}, "readDocument");
|
|
17832
17832
|
|
|
17833
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17833
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/office/index.js
|
|
17834
17834
|
var office = {
|
|
17835
17835
|
id: "office",
|
|
17836
17836
|
version: documentExtractor("odt"),
|
|
@@ -17841,7 +17841,7 @@ var office = {
|
|
|
17841
17841
|
}, "read")
|
|
17842
17842
|
};
|
|
17843
17843
|
|
|
17844
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17844
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/pdf/index.js
|
|
17845
17845
|
var pdf = {
|
|
17846
17846
|
id: "pdf",
|
|
17847
17847
|
version: "unpdf",
|
|
@@ -17908,7 +17908,7 @@ var pdf = {
|
|
|
17908
17908
|
}), "read")
|
|
17909
17909
|
};
|
|
17910
17910
|
|
|
17911
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/plain/index.js
|
|
17912
17912
|
var PLAIN = /* @__PURE__ */ new Set([".txt", ".md", ".markdown", ".csv", ".tsv", ".json", ".log"]);
|
|
17913
17913
|
var isPlain = /* @__PURE__ */ __name((hint) => PLAIN.has(extensionOf(hint)) || hint.mime?.startsWith("text/") || hint.mime === "application/json", "isPlain");
|
|
17914
17914
|
var readPlain = /* @__PURE__ */ __name((bytes) => {
|
|
@@ -17928,7 +17928,7 @@ var plain = {
|
|
|
17928
17928
|
read: /* @__PURE__ */ __name(async (bytes) => readPlain(bytes), "read")
|
|
17929
17929
|
};
|
|
17930
17930
|
|
|
17931
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17931
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/rtf/index.js
|
|
17932
17932
|
var rtf = {
|
|
17933
17933
|
id: "rtf",
|
|
17934
17934
|
version: "v1",
|
|
@@ -17936,10 +17936,10 @@ var rtf = {
|
|
|
17936
17936
|
read: /* @__PURE__ */ __name(async (bytes) => derived(bytes, "rtf:v1", rtfText), "read")
|
|
17937
17937
|
};
|
|
17938
17938
|
|
|
17939
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17939
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
17940
17940
|
import { basename } from "node:path";
|
|
17941
17941
|
|
|
17942
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17942
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/csv-spans.js
|
|
17943
17943
|
var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) => {
|
|
17944
17944
|
const cells = [];
|
|
17945
17945
|
let row = 1, column = 1, start = 0, quoted = false, truncated = false;
|
|
@@ -17977,7 +17977,7 @@ var delimitedSpans = /* @__PURE__ */ __name((text, delimiter, maxCells = 1e4) =>
|
|
|
17977
17977
|
return { cells, truncated };
|
|
17978
17978
|
}, "delimitedSpans");
|
|
17979
17979
|
|
|
17980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/sheets/index.js
|
|
17981
17981
|
var DELIMITED = {
|
|
17982
17982
|
".csv": ",",
|
|
17983
17983
|
".tsv": " ",
|
|
@@ -18016,7 +18016,7 @@ var sheets = {
|
|
|
18016
18016
|
}, "read")
|
|
18017
18017
|
};
|
|
18018
18018
|
|
|
18019
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18019
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/readers/registry.js
|
|
18020
18020
|
var BUILT_INS = [office, pdf, docx, doc, rtf, html, sheets, plain, image];
|
|
18021
18021
|
var HEAD_BYTES = 1024;
|
|
18022
18022
|
var readers = [...BUILT_INS];
|
|
@@ -18026,7 +18026,7 @@ var readWithRegistry = /* @__PURE__ */ __name(async (bytes, hint, context) => {
|
|
|
18026
18026
|
return reader ? reader.read(bytes, hint, context) : { status: "unsupported" };
|
|
18027
18027
|
}, "readWithRegistry");
|
|
18028
18028
|
|
|
18029
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18029
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/attachments/extract.js
|
|
18030
18030
|
var importEngine = /* @__PURE__ */ __name((name) => importFrom(new URL("attachments/extract.js", import.meta.resolve("@wirecat/cli-core")).href, name), "importEngine");
|
|
18031
18031
|
var extensionOf2 = /* @__PURE__ */ __name(({ name, path }) => extname2(name ?? path).toLowerCase(), "extensionOf");
|
|
18032
18032
|
var extractText = /* @__PURE__ */ __name(async (bytes, hint, load, signal, env = process.env) => {
|
|
@@ -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.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -8,22 +8,22 @@ import {
|
|
|
8
8
|
XLSX,
|
|
9
9
|
supported,
|
|
10
10
|
tooManyEntries
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VVCZS42A.js";
|
|
12
12
|
import {
|
|
13
13
|
googleError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FVQCM7IQ.js";
|
|
15
15
|
import {
|
|
16
16
|
extractText
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YADXWQHV.js";
|
|
18
18
|
import {
|
|
19
19
|
MAX_TEXT_CHARS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IADOBOKB.js";
|
|
21
21
|
import {
|
|
22
22
|
importFrom
|
|
23
23
|
} from "./chunk-Y5E2WNWB.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-EBLA7GXY.js";
|
|
27
27
|
import {
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -2,29 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
refuseLacking
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TFH5X46A.js";
|
|
6
6
|
import {
|
|
7
7
|
asFirstWord,
|
|
8
8
|
baseContext,
|
|
9
9
|
environmentOf,
|
|
10
10
|
issueMessage,
|
|
11
|
-
limitBatch,
|
|
12
11
|
permissionIssues,
|
|
13
12
|
publicIssue,
|
|
14
13
|
recalledAccount,
|
|
15
14
|
rememberAccount,
|
|
16
15
|
rootOf2 as rootOf
|
|
17
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3KNZADHJ.js";
|
|
18
17
|
import {
|
|
19
18
|
providerErrorKey
|
|
20
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EHEZSV6I.js";
|
|
21
20
|
import {
|
|
22
21
|
MESSENGER_CHANGE_REFUSAL,
|
|
23
22
|
readOnlyRefusal
|
|
24
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IIP43FQJ.js";
|
|
25
24
|
import {
|
|
26
25
|
servingProfiles
|
|
27
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-GJ4ZCIOP.js";
|
|
28
27
|
import {
|
|
29
28
|
OFFLINE,
|
|
30
29
|
capability,
|
|
@@ -37,7 +36,7 @@ import {
|
|
|
37
36
|
profilesOnAccount,
|
|
38
37
|
servicesFor,
|
|
39
38
|
throughWrapper
|
|
40
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7QTVIZII.js";
|
|
41
40
|
import {
|
|
42
41
|
AUTHORITY_KEY,
|
|
43
42
|
CEILING_KEY,
|
|
@@ -51,30 +50,31 @@ import {
|
|
|
51
50
|
keyForCommand,
|
|
52
51
|
keyForWrite,
|
|
53
52
|
levelFor,
|
|
53
|
+
limitBatch,
|
|
54
54
|
logAttributes,
|
|
55
55
|
readKeysForCommand,
|
|
56
56
|
skipFlagFor
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-AD62XJKO.js";
|
|
58
58
|
import {
|
|
59
59
|
isCliFailure
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-HMZAMHKN.js";
|
|
61
61
|
import {
|
|
62
62
|
openStore
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-GI5JBGXH.js";
|
|
64
64
|
import {
|
|
65
65
|
logRecordOf,
|
|
66
66
|
realSleep,
|
|
67
67
|
resolvePaths,
|
|
68
68
|
writeSecurely
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-CBM2XAEZ.js";
|
|
70
70
|
import {
|
|
71
71
|
CliError
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-EBLA7GXY.js";
|
|
73
73
|
import {
|
|
74
74
|
__name
|
|
75
75
|
} from "./chunk-ZVVMGPBJ.js";
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
78
78
|
import { openSync } from "node:fs";
|
|
79
79
|
import { createInterface } from "node:readline";
|
|
80
80
|
import { ReadStream } from "node:tty";
|
|
@@ -129,10 +129,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
129
129
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
130
130
|
}, "terminalAsker");
|
|
131
131
|
|
|
132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
133
133
|
import { randomUUID } from "node:crypto";
|
|
134
134
|
|
|
135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
136
136
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
137
137
|
import { dirname, join } from "node:path";
|
|
138
138
|
var MOST_DEADLINES = 50;
|
|
@@ -216,11 +216,11 @@ var FloodMemory = class {
|
|
|
216
216
|
}
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
220
220
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
221
221
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
222
222
|
|
|
223
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
223
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
224
224
|
import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
|
|
225
225
|
import { dirname as dirname2 } from "node:path";
|
|
226
226
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -287,7 +287,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
287
287
|
}
|
|
288
288
|
}, "lockTime");
|
|
289
289
|
|
|
290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
291
291
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
292
292
|
var SendJournal = class {
|
|
293
293
|
static {
|
|
@@ -364,7 +364,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
364
364
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
365
365
|
}, "withSendId");
|
|
366
366
|
|
|
367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
367
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
368
368
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
369
369
|
import { join as join3 } from "node:path";
|
|
370
370
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -476,7 +476,7 @@ var RecipientList = class {
|
|
|
476
476
|
}
|
|
477
477
|
};
|
|
478
478
|
|
|
479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
480
480
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
481
481
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
482
482
|
"attachments.extract",
|
|
@@ -669,7 +669,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
669
669
|
}), "guardFor");
|
|
670
670
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
671
671
|
|
|
672
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
672
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
673
673
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
674
674
|
import { join as join4 } from "node:path";
|
|
675
675
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -728,7 +728,7 @@ var Pacer = class {
|
|
|
728
728
|
}
|
|
729
729
|
};
|
|
730
730
|
|
|
731
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
731
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
732
732
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
733
733
|
"help",
|
|
734
734
|
"guide",
|
|
@@ -807,7 +807,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
807
807
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
808
808
|
}, "refuseUnknownPermissionKeys");
|
|
809
809
|
|
|
810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
811
811
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
812
812
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
813
813
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -926,7 +926,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
926
926
|
});
|
|
927
927
|
}, "flooded");
|
|
928
928
|
|
|
929
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
929
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
930
930
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
931
931
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
932
932
|
const write = currentOperation();
|
|
@@ -1025,7 +1025,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1025
1025
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1026
1026
|
}, "byPart");
|
|
1027
1027
|
|
|
1028
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1028
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
1029
1029
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
1030
1030
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
|
|
1031
1031
|
let warned = false;
|
|
@@ -1601,7 +1601,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1601
1601
|
}
|
|
1602
1602
|
}, "keep");
|
|
1603
1603
|
|
|
1604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1604
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1605
1605
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1606
1606
|
let opened;
|
|
1607
1607
|
return {
|
|
@@ -1942,6 +1942,7 @@ var messengerContext = /* @__PURE__ */ __name((command, messenger, resolving = {
|
|
|
1942
1942
|
// Turning recording off by name (--no-record, or record: false) keeps no search history either.
|
|
1943
1943
|
history: base.settings.record,
|
|
1944
1944
|
searchCatchUp: base.settings.searchCatchUp,
|
|
1945
|
+
...base.settings.historyLimits ? { historyLimits: base.settings.historyLimits } : {},
|
|
1945
1946
|
pictures: base.settings.pictureSearch,
|
|
1946
1947
|
reranker: base.settings.searchReranker,
|
|
1947
1948
|
guard,
|
|
@@ -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.75.2_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-PAEVBAM3.js";
|
|
10
|
+
import "./chunk-3KNZADHJ.js";
|
|
11
|
+
import "./chunk-EHEZSV6I.js";
|
|
12
|
+
import "./chunk-JW2CVCUH.js";
|
|
13
|
+
import "./chunk-IIP43FQJ.js";
|
|
14
|
+
import "./chunk-5C7K6XIT.js";
|
|
15
|
+
import "./chunk-AD62XJKO.js";
|
|
16
|
+
import "./chunk-HMZAMHKN.js";
|
|
17
|
+
import "./chunk-TI55J3BA.js";
|
|
18
|
+
import "./chunk-VT6GZAF4.js";
|
|
19
|
+
import "./chunk-TJXPJ3A5.js";
|
|
20
|
+
import "./chunk-L5SE2XZP.js";
|
|
21
|
+
import "./chunk-HIOJRPCT.js";
|
|
22
|
+
import "./chunk-IBZ3IBO4.js";
|
|
23
|
+
import "./chunk-3VSUT6BD.js";
|
|
24
|
+
import "./chunk-LK2E2ELG.js";
|
|
25
|
+
import "./chunk-CBM2XAEZ.js";
|
|
26
|
+
import "./chunk-V36RIXFA.js";
|
|
27
|
+
import "./chunk-Y5E2WNWB.js";
|
|
28
|
+
import "./chunk-HIP43OGZ.js";
|
|
29
|
+
import "./chunk-UQPKAY6I.js";
|
|
30
|
+
import "./chunk-3U22QTU6.js";
|
|
31
|
+
import "./chunk-EBLA7GXY.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-V42KAPU3.js";
|
|
7
|
+
import "./chunk-CBM2XAEZ.js";
|
|
8
|
+
import "./chunk-V36RIXFA.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-HIP43OGZ.js";
|
|
13
|
+
import "./chunk-UQPKAY6I.js";
|
|
14
|
+
import "./chunk-3U22QTU6.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EBLA7GXY.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.561.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ef328e5cd047e3c19bb2231542618c08/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-W62CON5K.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-HIP43OGZ.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EBLA7GXY.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.75.2_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.75.2_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.75.2_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.75.2_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.75.2_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-DNQYXP2T.js");
|
|
343
343
|
const object = errorObjectOf(error);
|
|
344
344
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
345
345
|
`);
|