@wirecat/drive-cli 0.45.0 → 0.45.1
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/bundle/{all-profiles-LTHNCWQW.js → all-profiles-O7CNQ7FO.js} +8 -8
- package/dist/bundle/{anthropic-NOJEF3V2.js → anthropic-6T67J2CE.js} +5 -5
- package/dist/bundle/app-server-BVBZT3UY.js +237 -0
- package/dist/bundle/{bun-ADJVI4HY.js → bun-O6RL6LRQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-GNXLBF2A.js → bun-sqlite-54W7JUY3.js} +4 -4
- package/dist/bundle/{chunk-IGB5CJCA.js → chunk-2DLAJGRN.js} +1 -1
- package/dist/bundle/{chunk-NQ6LLDDC.js → chunk-3HRDEJJW.js} +4 -4
- package/dist/bundle/{chunk-XPEWOPJR.js → chunk-3Z7WSD2A.js} +10 -8
- package/dist/bundle/{chunk-WPGCDWPU.js → chunk-44FV5JAS.js} +21 -21
- package/dist/bundle/{chunk-GX4WEMAG.js → chunk-4DW6QGEV.js} +11 -11
- package/dist/bundle/{chunk-IP4OK7RQ.js → chunk-4NGLRHWO.js} +1 -1
- package/dist/bundle/{chunk-LNB7BIZL.js → chunk-5MGIL5LW.js} +19 -17
- package/dist/bundle/{chunk-MWUITL6N.js → chunk-5TC3NCAF.js} +2 -2
- package/dist/bundle/{chunk-4UE7AVHZ.js → chunk-A3FU4RR6.js} +4 -4
- package/dist/bundle/{chunk-PIN5RZ3D.js → chunk-AIXLOMH4.js} +1 -1
- package/dist/bundle/{chunk-WZUJKUBK.js → chunk-AOOD3RMK.js} +7 -7
- package/dist/bundle/{chunk-Z4O6C7WR.js → chunk-AUS6TKP5.js} +35 -33
- package/dist/bundle/{chunk-5ZVLM6YR.js → chunk-B2J6FJNL.js} +1 -1
- package/dist/bundle/{chunk-OECPFZLP.js → chunk-BEXHAGXH.js} +96 -95
- package/dist/bundle/{chunk-3V6NPZY7.js → chunk-BHE7ZY2N.js} +45 -45
- package/dist/bundle/{chunk-GKHM6I64.js → chunk-BJ3JRO34.js} +7 -7
- package/dist/bundle/{chunk-2FTZBZOB.js → chunk-BQUPOB5H.js} +8 -8
- package/dist/bundle/{chunk-CDI67JSB.js → chunk-CFZWPIVC.js} +20 -20
- package/dist/bundle/{chunk-EVWXODYV.js → chunk-CKR3DVUK.js} +11 -11
- package/dist/bundle/{chunk-AN3GVZTU.js → chunk-CVIKKIGE.js} +1 -1
- package/dist/bundle/{chunk-7XWUOCGW.js → chunk-D67JGWSC.js} +2 -2
- package/dist/bundle/{chunk-UC44ZMQV.js → chunk-DDYR6DYL.js} +1 -1
- package/dist/bundle/{chunk-C6SMAEED.js → chunk-DL7D6Y3B.js} +199 -199
- package/dist/bundle/{chunk-PDH2QQQV.js → chunk-DORXXBFC.js} +7 -7
- package/dist/bundle/{chunk-DCTXOMOR.js → chunk-DXKVEOSS.js} +20 -2
- package/dist/bundle/{chunk-66N2DGGC.js → chunk-DXQEJWI3.js} +21 -14
- package/dist/bundle/{chunk-ZQNXKWUY.js → chunk-FEULDMWM.js} +258 -244
- package/dist/bundle/{chunk-TDC6JGDA.js → chunk-G3FAOS52.js} +2 -2
- package/dist/bundle/{chunk-HOIUIKWS.js → chunk-GHOWRW7E.js} +4 -3
- package/dist/bundle/{chunk-C4XP5T73.js → chunk-GNFHZZ55.js} +5 -5
- package/dist/bundle/{chunk-K4N2DKE5.js → chunk-GOR3Z2FR.js} +2 -2
- package/dist/bundle/{chunk-WQMVSQPP.js → chunk-GQW4GRYR.js} +6 -6
- package/dist/bundle/{chunk-Y5EJSZXV.js → chunk-GWPKIRNQ.js} +5 -5
- package/dist/bundle/{chunk-4TIC23D2.js → chunk-GYCUY4CL.js} +1 -1
- package/dist/bundle/{chunk-HA3WCVGY.js → chunk-HEPIOCHN.js} +51 -49
- package/dist/bundle/{chunk-DC4T3FNP.js → chunk-IAW5A7OR.js} +27 -27
- package/dist/bundle/{chunk-4TQSNQVV.js → chunk-IGMRWQP3.js} +25 -25
- package/dist/bundle/{chunk-65GGKAQ7.js → chunk-IKNU5A5Y.js} +3 -3
- package/dist/bundle/{chunk-ZPMLLONT.js → chunk-JVTVAZ5X.js} +19 -19
- package/dist/bundle/{chunk-A6ZKTNTZ.js → chunk-K74PQVQZ.js} +7 -7
- package/dist/bundle/{server-2UQDEWTS.js → chunk-K7FRUB33.js} +40 -63
- package/dist/bundle/{chunk-ZS635F4O.js → chunk-KADPV4YA.js} +2 -2
- package/dist/bundle/{chunk-ZIHLE7LG.js → chunk-KJMBV574.js} +3252 -3019
- package/dist/bundle/{chunk-ICKNJIGE.js → chunk-LHIL46I3.js} +2 -2
- package/dist/bundle/{chunk-LWT55XC5.js → chunk-LJARCTGL.js} +4 -4
- package/dist/bundle/{chunk-64WJYT2F.js → chunk-LOTQ2HMT.js} +9 -9
- package/dist/bundle/{chunk-V7GN5BI7.js → chunk-MAXN7COO.js} +1 -1
- package/dist/bundle/{chunk-LW2G4U6W.js → chunk-MFS52LTZ.js} +1 -1
- package/dist/bundle/{chunk-MJR2OTO4.js → chunk-MFSIOSUM.js} +6 -6
- package/dist/bundle/{chunk-YJX4X564.js → chunk-NB2N6L3R.js} +6 -6
- package/dist/bundle/{chunk-GTYY6BIE.js → chunk-NDNTLUPS.js} +2 -2
- package/dist/bundle/{chunk-TOYPN2XX.js → chunk-NLEB26GA.js} +2 -2
- package/dist/bundle/{chunk-7PVNJAQ2.js → chunk-NP3XLLN3.js} +3 -3
- package/dist/bundle/{chunk-LY26NW3I.js → chunk-NW7IMGRR.js} +1 -1
- package/dist/bundle/{chunk-NZIHPYY5.js → chunk-OWXTPXIQ.js} +11 -11
- package/dist/bundle/{chunk-BPBIBVFH.js → chunk-PDBBBUY7.js} +10 -10
- package/dist/bundle/{chunk-ZU732VCC.js → chunk-PH74B2VZ.js} +3 -3
- package/dist/bundle/{chunk-PJDO7AFZ.js → chunk-PJ7IQVOM.js} +2 -2
- package/dist/bundle/{chunk-CFT7UHF6.js → chunk-QTJUH3LS.js} +3 -3
- package/dist/bundle/{chunk-YE3J6DLY.js → chunk-QW36EOAM.js} +2 -2
- package/dist/bundle/{chunk-HLONHTSG.js → chunk-QWSRPXCJ.js} +4 -4
- package/dist/bundle/{chunk-LVDHWNJF.js → chunk-R2A3K7ZF.js} +5 -5
- package/dist/bundle/{chunk-SGOPYPVW.js → chunk-R2QRP7EJ.js} +9 -9
- package/dist/bundle/{chunk-35GRI4DI.js → chunk-RCS2SCX5.js} +5 -5
- package/dist/bundle/{chunk-CEO5HPRL.js → chunk-RJ633GFA.js} +2 -2
- package/dist/bundle/{chunk-N47CYWEM.js → chunk-SMHQA5J6.js} +13 -8
- package/dist/bundle/{chunk-YFLKH3NZ.js → chunk-SWMMR3FR.js} +2 -2
- package/dist/bundle/{chunk-P5KGFT7U.js → chunk-TRMIV3OA.js} +2 -2
- package/dist/bundle/{chunk-7NCG2SHR.js → chunk-VAGF723Z.js} +1 -1
- package/dist/bundle/{chunk-PWKXHDBQ.js → chunk-VCYFEWPD.js} +26 -26
- package/dist/bundle/{chunk-NKZ6V4JW.js → chunk-VHQNVG3J.js} +5 -5
- package/dist/bundle/{chunk-6KFA6HOM.js → chunk-VHT2WI4I.js} +19 -19
- package/dist/bundle/{chunk-QLZGLPJL.js → chunk-VYBOYBLX.js} +6 -6
- package/dist/bundle/{chunk-YJZBJ2TM.js → chunk-WUFCYDKB.js} +2 -2
- package/dist/bundle/{chunk-2YU3CXFD.js → chunk-XAZQTJXR.js} +40 -29
- package/dist/bundle/{chunk-I5EJHKNC.js → chunk-XEBFFKXO.js} +3 -3
- package/dist/bundle/{chunk-AH3SNVCV.js → chunk-XF5MFUEB.js} +15 -15
- package/dist/bundle/{chunk-VO4KOLQZ.js → chunk-ZBM4GEV2.js} +5 -4
- package/dist/bundle/command-contract-MXCBV3GJ.js +38 -0
- package/dist/bundle/drive.js +7 -7
- package/dist/bundle/{echarts-RFTK737T.js → echarts-LD3AI55P.js} +2 -2
- package/dist/bundle/{embed-5NAGJUMD.js → embed-FJKIIM43.js} +5 -5
- package/dist/bundle/{embedder-EWXLIGBY.js → embedder-NNQ5ZC25.js} +8 -8
- package/dist/bundle/{entry-YCPJ6H6U.js → entry-ZYSNPDSD.js} +6 -6
- package/dist/bundle/failure-MJJXFR63.js +37 -0
- package/dist/bundle/{first-run-LNAZDBB4.js → first-run-KA2UPZAU.js} +9 -9
- package/dist/bundle/first-screen-VQ3RXDMF.js +36 -0
- package/dist/bundle/{google-5FFKRHHC.js → google-ZYDFTHLN.js} +9 -9
- package/dist/bundle/google-api-2GT5PAW2.js +82 -0
- package/dist/bundle/{identity-53ZMPL2O.js → identity-JQFQXQIR.js} +2 -2
- package/dist/bundle/{instructions-FHNL7CMW.js → instructions-RZMSW3OC.js} +3 -1
- package/dist/bundle/{login-VXXZZR6G.js → login-JU6NKW5P.js} +64 -64
- package/dist/bundle/{mcp-F4XZO76F.js → mcp-2PZDI7WE.js} +77 -83
- package/dist/bundle/mcp-JOQMFGBC.js +95 -0
- package/dist/bundle/{mcp-IXFC2VVR.js → mcp-OQBZXELQ.js} +2 -2
- package/dist/bundle/{node-ZMCACJVS.js → node-ZRLYQL7J.js} +2 -2
- package/dist/bundle/{node-sqlite-QJQ5S7KS.js → node-sqlite-TXPSRROT.js} +4 -4
- package/dist/bundle/{oauth-TZFDPAFE.js → oauth-NAIBKERJ.js} +6 -6
- package/dist/bundle/{open-IYM25QTL.js → open-3P5EPXPV.js} +3 -3
- package/dist/bundle/{process-ZPTLNVQS.js → process-LL77573L.js} +1 -1
- package/dist/bundle/{program-YX7DZMPR.js → program-CZ55L6EW.js} +129 -151
- package/dist/bundle/{prompt-TGWTVIEK.js → prompt-3TX2SWOY.js} +4 -4
- package/dist/bundle/{reasons-Q5LOQESQ.js → reasons-GF2TYGX6.js} +3 -3
- package/dist/bundle/{recognize-AGPMWKIY.js → recognize-IFXOJHEA.js} +5 -5
- package/dist/bundle/{remote-QV7QSLAK.js → remote-663M42Y5.js} +6 -6
- package/dist/bundle/{rerank-HZKJJCS4.js → rerank-OT2F2DBV.js} +6 -6
- package/dist/bundle/{serve-NRJQOVT4.js → serve-PDNNI6O6.js} +8 -8
- package/dist/bundle/server-BFOEPMR7.js +56 -0
- package/dist/bundle/server-K566PJ7H.js +69 -0
- package/dist/bundle/{services-NZQWVMOE.js → services-5MCTECBU.js} +28 -28
- package/dist/bundle/{sqlite-runtime-6MXHTYYU.js → sqlite-runtime-BF3KDM7W.js} +4 -4
- package/dist/bundle/{state-IF2FLTSY.js → state-SZX65E74.js} +5 -5
- package/dist/bundle/{store-HVIBXOXS.js → store-TCWNLA3V.js} +14 -14
- package/dist/bundle/{store-HBD54IRL.js → store-UKPGGAPW.js} +16 -16
- package/dist/bundle/store-maintenance-command-QHLUVBTJ.js +57 -0
- package/dist/bundle/tokens-DFCFRF7I.js +103 -0
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/mcp.js +5 -9
- package/dist/commands/mcp.js.map +1 -1
- package/dist/contract-overrides.d.ts.map +1 -1
- package/dist/contract-overrides.js +13 -32
- package/dist/contract-overrides.js.map +1 -1
- package/dist/mcp.d.ts +1 -8
- package/dist/mcp.d.ts.map +1 -1
- package/dist/mcp.js +1 -8
- package/dist/mcp.js.map +1 -1
- package/dist/state.d.ts +8 -0
- package/dist/state.d.ts.map +1 -1
- package/dist/state.js +7 -0
- package/dist/state.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/command-contract-HX35D7KV.js +0 -38
- package/dist/bundle/failure-XBWHHBEW.js +0 -37
- package/dist/bundle/first-screen-P5NNFJD7.js +0 -36
- package/dist/bundle/google-api-TJCFOOAP.js +0 -82
- package/dist/bundle/mcp-2CJCJXSW.js +0 -95
- package/dist/bundle/server-R4JUHFSW.js +0 -56
- package/dist/bundle/store-maintenance-command-U3F4RGJB.js +0 -57
- package/dist/bundle/tokens-5D5YUA2Q.js +0 -103
- /package/dist/bundle/{chunk-IVQ6342B.js → chunk-O5EHUB2V.js} +0 -0
- /package/dist/bundle/{chunk-X5DFDGWS.js → chunk-Q2Z3VCM4.js} +0 -0
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
reference,
|
|
22
22
|
string,
|
|
23
23
|
variant
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BJ3JRO34.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
30
30
|
var QUERY_LIMITS = {
|
|
31
31
|
bytes: 8192,
|
|
32
32
|
depth: 32,
|
|
@@ -70,7 +70,7 @@ function queryError(reason, span, alternative, context = {}, details = {}) {
|
|
|
70
70
|
__name(queryError, "queryError");
|
|
71
71
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
74
74
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
75
75
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
76
76
|
try {
|
|
@@ -215,7 +215,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
215
215
|
};
|
|
216
216
|
}, "dateRange");
|
|
217
217
|
|
|
218
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.
|
|
218
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
|
|
219
219
|
var wordsOf = /* @__PURE__ */ __name((text) => text.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
220
220
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
221
221
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -270,7 +270,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
270
270
|
}, "matches");
|
|
271
271
|
var evaluate = /* @__PURE__ */ __name((ast, fields, item, options = {}) => matches(ast.root, item, new Map(fields.map((field) => [field.name, field])), options), "evaluate");
|
|
272
272
|
|
|
273
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.
|
|
273
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
274
274
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
275
275
|
var OPERATORS_BY_TYPE = {
|
|
276
276
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -347,7 +347,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
347
347
|
return [...own, ...relations, ...states];
|
|
348
348
|
}, "queryFieldsOf");
|
|
349
349
|
|
|
350
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.
|
|
350
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
|
|
351
351
|
var QUERY_SYNTAX = 'field:value \xB7 "a phrase" \xB7 word* \xB7 AND OR NOT \xB7 ( ) \xB7 [a TO b] \xB7 > >= < <=';
|
|
352
352
|
var kindOf = /* @__PURE__ */ __name((field) => field.values ? `${field.type}: ${field.values.join("|")}` : `${field.type}: ${field.operators.join(", ")}`, "kindOf");
|
|
353
353
|
var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
@@ -363,7 +363,7 @@ var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
|
363
363
|
].join("\n");
|
|
364
364
|
}, "fieldsHelp");
|
|
365
365
|
|
|
366
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.
|
|
366
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
367
367
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
368
368
|
var reserved = /* @__PURE__ */ new Set([
|
|
369
369
|
"+",
|
|
@@ -668,7 +668,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text) => {
|
|
|
668
668
|
return new Set(tokens.flatMap((token, index) => token.kind === "term" && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
|
|
669
669
|
}, "implicitTextTerms");
|
|
670
670
|
|
|
671
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.
|
|
671
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
672
672
|
var inContext = /* @__PURE__ */ __name((context, run) => {
|
|
673
673
|
try {
|
|
674
674
|
run();
|
|
@@ -743,7 +743,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
743
743
|
}, "validateQuery");
|
|
744
744
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
745
745
|
|
|
746
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.
|
|
746
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
747
747
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
748
748
|
entity: registry.entity,
|
|
749
749
|
backend: registry.backend,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
installFiles,
|
|
9
9
|
megabytes,
|
|
10
10
|
sharedModelsDirectory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GNFHZZ55.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BJ3JRO34.js";
|
|
15
15
|
import {
|
|
16
16
|
importFrom
|
|
17
17
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -19,12 +19,12 @@ 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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
23
23
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
24
24
|
import { availableParallelism } from "node:os";
|
|
25
25
|
import { basename, join as join2 } from "node:path";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
28
28
|
import { createHash } from "node:crypto";
|
|
29
29
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
30
30
|
import { join } from "node:path";
|
|
@@ -207,7 +207,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
207
207
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
208
208
|
}, "openSession");
|
|
209
209
|
|
|
210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
211
211
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
212
212
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
213
213
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -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-BJ3JRO34.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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
11
11
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
12
12
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
13
13
|
const name = envName(app, "READ_ONLY");
|
|
@@ -7,29 +7,29 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K74PQVQZ.js";
|
|
11
11
|
import {
|
|
12
12
|
NO_EFFECTS,
|
|
13
13
|
commandAt,
|
|
14
14
|
environmentOf,
|
|
15
15
|
takesProfile
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AUS6TKP5.js";
|
|
17
17
|
import {
|
|
18
18
|
Command,
|
|
19
19
|
Help,
|
|
20
20
|
Option,
|
|
21
21
|
annotate,
|
|
22
22
|
metaOf
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LOTQ2HMT.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError,
|
|
26
26
|
writes
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BJ3JRO34.js";
|
|
28
28
|
import {
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -94,7 +94,7 @@ var CORE_SECTIONS = {
|
|
|
94
94
|
upgrade: "setup"
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
97
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
98
98
|
var DESCRIPTION = 90;
|
|
99
99
|
var COLUMN = 52;
|
|
100
100
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -133,7 +133,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
133
133
|
`;
|
|
134
134
|
}, "commandsText");
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
137
137
|
var ARGUMENT_KINDS = {
|
|
138
138
|
chat: "chat",
|
|
139
139
|
chats: "chat",
|
|
@@ -323,7 +323,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
323
323
|
command.addHelpText("after", () => commandHelpText(command));
|
|
324
324
|
}, "installCommandHelp");
|
|
325
325
|
|
|
326
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
326
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
327
327
|
var WIRECAT_TOOLS = [
|
|
328
328
|
{
|
|
329
329
|
command: "tg",
|
|
@@ -355,6 +355,11 @@ var WIRECAT_TOOLS = [
|
|
|
355
355
|
package: "@wirecat/cli-memo",
|
|
356
356
|
shown: "memo context <person>",
|
|
357
357
|
does: "one person across messengers, mail, notes and meetings"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
command: "mail",
|
|
361
|
+
package: "@wirecat/mail-cli",
|
|
362
|
+
does: "IMAP mail in the same local store: search your mailbox offline, next to your other WireCat data"
|
|
358
363
|
}
|
|
359
364
|
];
|
|
360
365
|
var WIDTH = 100;
|
|
@@ -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-BJ3JRO34.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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/http/public-url.js
|
|
11
11
|
var EXAMPLE = "--public-url https://<name>.ts.net";
|
|
12
12
|
var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
|
|
13
13
|
if (!given)
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VHT2WI4I.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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { join } from "node:path";
|
|
12
12
|
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
13
13
|
var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
MAX_FILE_BYTES,
|
|
9
9
|
MAX_TEXT_CHARS,
|
|
10
10
|
attachmentMaxBytes
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5TC3NCAF.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError,
|
|
14
14
|
isCliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BJ3JRO34.js";
|
|
16
16
|
import {
|
|
17
17
|
importFrom,
|
|
18
18
|
resolveFrom
|
|
@@ -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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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.473.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_39633e3162553a2c86dde989a9811fcb/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) => {
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
XLSX,
|
|
9
9
|
supported,
|
|
10
10
|
tooManyEntries
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VAGF723Z.js";
|
|
12
12
|
import {
|
|
13
13
|
googleError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2DLAJGRN.js";
|
|
15
15
|
import {
|
|
16
16
|
extractText
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VCYFEWPD.js";
|
|
18
18
|
import {
|
|
19
19
|
MAX_TEXT_CHARS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5TC3NCAF.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BJ3JRO34.js";
|
|
24
24
|
import {
|
|
25
25
|
importFrom
|
|
26
26
|
} from "./chunk-Y5E2WNWB.js";
|