@wirecat/drive-cli 0.63.0 → 0.64.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/README.md +2 -1
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-GZJS3UKC.js → all-profiles-BPPT2AK5.js} +13 -13
- package/dist/bundle/{anthropic-RGV3WXX5.js → anthropic-JW6GOJUD.js} +13 -11
- package/dist/bundle/{app-server-AA2PJ7PV.js → app-server-KAQIOJMZ.js} +53 -53
- package/dist/bundle/{bun-OXZYIA3R.js → bun-UT7GNTPV.js} +2 -2
- package/dist/bundle/{bun-sqlite-D45NSDM3.js → bun-sqlite-2OIVV3LS.js} +8 -8
- package/dist/bundle/{chunk-EOOGWUTP.js → chunk-2FEZ24DK.js} +10 -10
- package/dist/bundle/{chunk-TWUH22Z5.js → chunk-2W464HAE.js} +4 -4
- package/dist/bundle/{chunk-YIP7ELON.js → chunk-34BIDKF4.js} +275 -419
- package/dist/bundle/{chunk-2NIC72HH.js → chunk-36GPBPWM.js} +1 -1
- package/dist/bundle/{chunk-44SBK6KB.js → chunk-3J5KAFNA.js} +1601 -877
- package/dist/bundle/{chunk-ZM5J6ZMB.js → chunk-3NULZGQU.js} +2 -2
- package/dist/bundle/{chunk-DJHLVUL6.js → chunk-46CD64J2.js} +152 -36
- package/dist/bundle/{chunk-2TFXK3R4.js → chunk-4CNTID2X.js} +4 -4
- package/dist/bundle/{chunk-WYGWWHZP.js → chunk-4YRENUB5.js} +2 -2
- package/dist/bundle/{chunk-L37LMMRJ.js → chunk-5HSRQ53R.js} +2 -2
- package/dist/bundle/{chunk-XR6ESRU6.js → chunk-5OFA5EXE.js} +2 -2
- package/dist/bundle/{chunk-3QINVLZI.js → chunk-5ZBR55US.js} +1 -1
- package/dist/bundle/{chunk-LMAVCYLQ.js → chunk-66AF4FBW.js} +4 -4
- package/dist/bundle/{chunk-Y6GNA7HE.js → chunk-6B37XO6B.js} +23 -5
- package/dist/bundle/{chunk-ZMOUUOT2.js → chunk-6G53ZFUT.js} +1 -1
- package/dist/bundle/{chunk-2TDUGC5D.js → chunk-AHB4OJCI.js} +1885 -565
- package/dist/bundle/{chunk-E4SDKMBJ.js → chunk-B67BLRAI.js} +3 -3
- package/dist/bundle/{chunk-YGU6ULU5.js → chunk-B7XBIOMR.js} +12 -12
- package/dist/bundle/{chunk-FEZF3TII.js → chunk-BDYWZ7JE.js} +50 -6
- package/dist/bundle/{chunk-BKYMKVHT.js → chunk-BEUAICUD.js} +2 -2
- package/dist/bundle/{chunk-ABYGSJZ4.js → chunk-BEZJA44H.js} +7 -7
- package/dist/bundle/{chunk-TF23BZW5.js → chunk-BZ2ZKILM.js} +3 -3
- package/dist/bundle/{chunk-FUITWY7O.js → chunk-C7WBNOYW.js} +1 -1
- package/dist/bundle/{chunk-V3NVXIQR.js → chunk-CPMRM3GQ.js} +231 -191
- package/dist/bundle/{chunk-AEX37ETW.js → chunk-DD7EFG6B.js} +2 -2
- package/dist/bundle/{chunk-PDCCYHCH.js → chunk-E2LBCCTG.js} +5 -5
- package/dist/bundle/{chunk-O2XOX4HB.js → chunk-EC2XGDKJ.js} +50 -34
- package/dist/bundle/{chunk-4OSSOWDM.js → chunk-EJ4PNHPP.js} +1 -1
- package/dist/bundle/{chunk-4S4JMW6I.js → chunk-EQEGJVO2.js} +1 -1
- package/dist/bundle/{chunk-XNVFKMVR.js → chunk-EWGVDFPT.js} +957 -533
- package/dist/bundle/{chunk-CE2TJBLP.js → chunk-EZ6O3ST3.js} +3 -3
- package/dist/bundle/{chunk-FRIJUILO.js → chunk-F2VDAG32.js} +3 -3
- package/dist/bundle/{chunk-HZZCEQTH.js → chunk-G3NULXOM.js} +4 -4
- package/dist/bundle/{chunk-OD4U7GUY.js → chunk-G4KEKKDE.js} +20 -20
- package/dist/bundle/{chunk-OTROVC4E.js → chunk-GSMYXGFR.js} +1 -1
- package/dist/bundle/{chunk-4CIZWCXV.js → chunk-GW3U6OLD.js} +1 -1
- package/dist/bundle/{chunk-6EY46GAN.js → chunk-HW4UPST2.js} +2 -2
- package/dist/bundle/{chunk-2HF2MRXI.js → chunk-IDAK4DDK.js} +1 -1
- package/dist/bundle/{chunk-27YUUGXQ.js → chunk-IK6KH3RE.js} +1 -1
- package/dist/bundle/{chunk-DJ3SDJZY.js → chunk-IX7NQJLY.js} +8 -8
- package/dist/bundle/{chunk-534OBX5Y.js → chunk-J62DI53V.js} +1 -1
- package/dist/bundle/{chunk-PO5RQQIG.js → chunk-JRXFW7HE.js} +5 -5
- package/dist/bundle/{chunk-XIUDS3OK.js → chunk-K6BSB53R.js} +1 -1
- package/dist/bundle/{chunk-ND6LLYGF.js → chunk-KE4XPPRQ.js} +27 -27
- package/dist/bundle/{chunk-UQLWMGSD.js → chunk-KG2XKEHL.js} +5 -5
- package/dist/bundle/{chunk-MOTRI3SY.js → chunk-KIN6PDFE.js} +24 -2
- package/dist/bundle/{chunk-VAUMOZU5.js → chunk-KVW4XNKB.js} +16 -16
- package/dist/bundle/{chunk-33MGFUED.js → chunk-LOMW6F2E.js} +194 -229
- package/dist/bundle/{chunk-5PPL7JDM.js → chunk-M73NNJ3X.js} +2 -2
- package/dist/bundle/{chunk-QCKZ3GAA.js → chunk-N622LRPM.js} +4 -4
- package/dist/bundle/{chunk-3BZRKLJ6.js → chunk-O2QO5UZC.js} +13 -13
- package/dist/bundle/{chunk-SXM6MHRR.js → chunk-OEVHZOHC.js} +12 -12
- package/dist/bundle/{chunk-6MQSQ4LX.js → chunk-OH3K2E7X.js} +402 -184
- package/dist/bundle/{chunk-J24ZFCWM.js → chunk-P7DEGRZA.js} +21 -21
- package/dist/bundle/{chunk-YUWPNG7B.js → chunk-PBMSBCVB.js} +1 -1
- package/dist/bundle/{chunk-S4RXABDR.js → chunk-QEAD2LF4.js} +3 -3
- package/dist/bundle/{chunk-OXY6SSZG.js → chunk-QXCKJUZY.js} +33 -18
- package/dist/bundle/{chunk-LZEOQW7S.js → chunk-SIOIMO62.js} +36 -36
- package/dist/bundle/{chunk-RKELRWH7.js → chunk-TNV2FXVK.js} +5 -5
- package/dist/bundle/{chunk-UPOSDTPT.js → chunk-UD55VB2N.js} +3 -3
- package/dist/bundle/{chunk-6KQJSFYF.js → chunk-UIEA6FIV.js} +22 -22
- package/dist/bundle/{chunk-XDC3TWTL.js → chunk-UJR272CP.js} +28 -28
- package/dist/bundle/{chunk-3HK5WMI5.js → chunk-USLZE36C.js} +6 -6
- package/dist/bundle/{chunk-ZOJU7ZFI.js → chunk-VIJ6ACYB.js} +8 -8
- package/dist/bundle/{chunk-VKPCONDQ.js → chunk-VPLFD5RJ.js} +4 -4
- package/dist/bundle/{chunk-VJEOGKAN.js → chunk-VT2UFYPJ.js} +7 -7
- package/dist/bundle/{chunk-Q5DJTRKV.js → chunk-WWCYTMAV.js} +2 -2
- package/dist/bundle/{chunk-7EMQ26BA.js → chunk-XPXKD63J.js} +13 -13
- package/dist/bundle/{chunk-J4DIHPZ6.js → chunk-ZF6GUZCE.js} +1 -1
- package/dist/bundle/{chunk-Z42YYLTS.js → chunk-ZRZ4HTCK.js} +52 -34
- package/dist/bundle/{chunk-NEFSGCVA.js → chunk-ZSZJLJIA.js} +10 -10
- package/dist/bundle/command-contract-H5OYJOPF.js +38 -0
- package/dist/bundle/{decode-G5YEIPNC.js → decode-HTOQ6S3V.js} +8 -8
- package/dist/bundle/{dispatch-GEFIXA6X.js → dispatch-SH5SP6LA.js} +11 -11
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-W2CWHNXR.js → echarts-KFHB6SLX.js} +2 -2
- package/dist/bundle/{embed-OBFFPVF4.js → embed-YATFB2PN.js} +9 -9
- package/dist/bundle/{embedder-NGCBQHIG.js → embedder-MQPDFGTJ.js} +12 -12
- package/dist/bundle/entry-YZBB647C.js +22 -0
- package/dist/bundle/{failure-GV77W3CD.js → failure-4FQL4XJI.js} +4 -4
- package/dist/bundle/first-run-5JT3UQZB.js +30 -0
- package/dist/bundle/first-screen-BEMDEWO7.js +36 -0
- package/dist/bundle/{google-CIWUVJ5C.js → google-DVADVICN.js} +13 -13
- package/dist/bundle/{google-api-Z3NSTBBR.js → google-api-QMFGCXBM.js} +55 -56
- package/dist/bundle/grants-WKB2E4TA.js +103 -0
- package/dist/bundle/{identity-OM6GFZ7T.js → identity-FYVDK4M2.js} +6 -6
- package/dist/bundle/{instructions-YQBQSYSS.js → instructions-D3GF3B7M.js} +1 -1
- package/dist/bundle/{login-7RYSDVN3.js → login-COFZ2IWP.js} +61 -62
- package/dist/bundle/{mcp-GWDA3HOA.js → mcp-RKJG22KM.js} +2 -2
- package/dist/bundle/{node-IVU33RL7.js → node-OFICOKX3.js} +2 -2
- package/dist/bundle/{node-sqlite-SIH5BEW2.js → node-sqlite-DNBTDOXD.js} +9 -9
- package/dist/bundle/oauth-PDQHWFBF.js +22 -0
- package/dist/bundle/{open-IAO2SNII.js → open-PTPR2YWX.js} +8 -8
- package/dist/bundle/{openai-SGOUBHXP.js → openai-2KV5LUW4.js} +17 -17
- package/dist/bundle/{process-BPBMV3AT.js → process-EAW6NST2.js} +1 -1
- package/dist/bundle/{program-MYKKJ4F6.js → program-6UV5Q5YN.js} +306 -276
- package/dist/bundle/prompt-634TPMJK.js +19 -0
- package/dist/bundle/{reasons-57J2D77K.js → reasons-DDWCEYSQ.js} +5 -5
- package/dist/bundle/{recognize-A5C5RPB3.js → recognize-SJO6QUDW.js} +7 -7
- package/dist/bundle/{remote-VWYFLRGO.js → remote-6JXZITKF.js} +10 -10
- package/dist/bundle/{rerank-4NGQWREA.js → rerank-MD5VOPQ6.js} +10 -10
- package/dist/bundle/{serve-Y6LQTFH5.js → serve-LZTROA2M.js} +12 -12
- package/dist/bundle/server-GT7X666D.js +69 -0
- package/dist/bundle/{server-6AUHIIUA.js → server-NSA3UAFY.js} +43 -43
- package/dist/bundle/{services-2W4J7EMW.js → services-F5A6XQCV.js} +63 -33
- package/dist/bundle/{sqlite-runtime-P6BBDX2H.js → sqlite-runtime-7YF6REKS.js} +9 -9
- package/dist/bundle/{start-AFFA3LKM.js → start-MUFLE6FA.js} +30 -8
- package/dist/bundle/{state-PXKKXR3R.js → state-UC54F3YZ.js} +9 -9
- package/dist/bundle/{store-IVV2BAGZ.js → store-F5FJGWMR.js} +28 -20
- package/dist/bundle/{store-CN6JEUC4.js → store-J53YNAH6.js} +35 -18
- package/dist/bundle/store-maintenance-command-GJVXLBAB.js +58 -0
- package/dist/bundle/tokens-H2EJKGA5.js +101 -0
- package/dist/commands/account.d.ts +4 -0
- package/dist/commands/account.d.ts.map +1 -0
- package/dist/commands/account.js +33 -0
- package/dist/commands/account.js.map +1 -0
- package/dist/profile-lock.d.ts +1 -0
- package/dist/profile-lock.d.ts.map +1 -1
- package/dist/profile-lock.js +1 -0
- package/dist/profile-lock.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -0
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/chunk-Z5KC7XBR.js +0 -33
- package/dist/bundle/command-contract-BRW3AP44.js +0 -38
- package/dist/bundle/entry-ET6HGM7A.js +0 -22
- package/dist/bundle/first-run-JG52UZVO.js +0 -30
- package/dist/bundle/first-screen-CIL3GFAA.js +0 -36
- package/dist/bundle/grants-3S4RL3WB.js +0 -104
- package/dist/bundle/oauth-PT4JEHLL.js +0 -22
- package/dist/bundle/prompt-3ZM64DCB.js +0 -17
- package/dist/bundle/server-PFHI35HA.js +0 -69
- package/dist/bundle/store-maintenance-command-MSY2QNEH.js +0 -59
- package/dist/bundle/tokens-P4LPNUFW.js +0 -102
- /package/dist/bundle/{chunk-ZQ3GWKDQ.js → chunk-SW6C6WH5.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-UD55VB2N.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-EJ4PNHPP.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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/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) => {
|
|
@@ -18064,7 +18064,7 @@ var engineStates = /* @__PURE__ */ __name((resolve = (name) => resolveFrom(new U
|
|
|
18064
18064
|
}
|
|
18065
18065
|
})), "engineStates");
|
|
18066
18066
|
|
|
18067
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18067
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/http/time-limit.js
|
|
18068
18068
|
var timeLimit = /* @__PURE__ */ __name((ms) => {
|
|
18069
18069
|
const controller = new AbortController();
|
|
18070
18070
|
const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
visibleControls
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IDAK4DDK.js";
|
|
6
6
|
import {
|
|
7
7
|
BASE_REASONS,
|
|
8
8
|
COMMON_DETAILS,
|
|
@@ -10,16 +10,16 @@ import {
|
|
|
10
10
|
CRASH_REASON,
|
|
11
11
|
stepOf,
|
|
12
12
|
writes
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BDYWZ7JE.js";
|
|
14
14
|
import {
|
|
15
15
|
errorCodes,
|
|
16
16
|
isCliError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EJ4PNHPP.js";
|
|
18
18
|
import {
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
23
23
|
var EXIT_CODES = {
|
|
24
24
|
validation_error: 2,
|
|
25
25
|
configuration_error: 3,
|
|
@@ -40,7 +40,7 @@ var EXIT_CODES = {
|
|
|
40
40
|
var exitCodeFor = /* @__PURE__ */ __name((code) => EXIT_CODES[code], "exitCodeFor");
|
|
41
41
|
var GENERIC_FAILURE = 1;
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
44
44
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
45
45
|
if (isCliError(failure))
|
|
46
46
|
return failure;
|
|
@@ -1,13 +1,33 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
finite,
|
|
5
|
+
getDotPath,
|
|
6
|
+
maxValue,
|
|
7
|
+
minValue,
|
|
8
|
+
number,
|
|
9
|
+
optional,
|
|
10
|
+
pipe,
|
|
11
|
+
safeParse
|
|
12
|
+
} from "./chunk-BDYWZ7JE.js";
|
|
3
13
|
import {
|
|
4
14
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EJ4PNHPP.js";
|
|
6
16
|
import {
|
|
7
17
|
__name
|
|
8
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
19
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
|
+
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
|
+
const parsed = safeParse(schema, options);
|
|
23
|
+
if (!parsed.success) {
|
|
24
|
+
throw new CliError("validation_error", `${provider} option ${getDotPath(parsed.issues[0]) ?? "options"} is unknown or has the wrong type`);
|
|
25
|
+
}
|
|
26
|
+
return parsed.output;
|
|
27
|
+
}, "checkedOptions");
|
|
28
|
+
var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
|
|
29
|
+
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
11
31
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
12
32
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
13
33
|
if (images === void 0)
|
|
@@ -38,6 +58,8 @@ var systemFor = /* @__PURE__ */ __name((request) => [
|
|
|
38
58
|
].filter((one) => one !== void 0).join("\n"), "systemFor");
|
|
39
59
|
|
|
40
60
|
export {
|
|
61
|
+
checkedOptions,
|
|
62
|
+
range,
|
|
41
63
|
MAX_MODEL_IMAGE_BYTES,
|
|
42
64
|
validateImages,
|
|
43
65
|
messagesFor,
|
|
@@ -28,21 +28,21 @@ import {
|
|
|
28
28
|
tagMemberIds,
|
|
29
29
|
thingOf,
|
|
30
30
|
write
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-EWGVDFPT.js";
|
|
32
32
|
import {
|
|
33
33
|
damagedFile
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-B67BLRAI.js";
|
|
35
35
|
import {
|
|
36
36
|
fold
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-VIJ6ACYB.js";
|
|
38
38
|
import {
|
|
39
39
|
CliError
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-EJ4PNHPP.js";
|
|
41
41
|
import {
|
|
42
42
|
__name
|
|
43
43
|
} from "./chunk-ZVVMGPBJ.js";
|
|
44
44
|
|
|
45
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
45
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/damage.js
|
|
46
46
|
var DERIVED = /* @__PURE__ */ new Set(["mentions", "involvements", "embeddings"]);
|
|
47
47
|
var named = /* @__PURE__ */ __name((tables) => tables.length <= 5 ? tables.join(", ") : `${tables.slice(0, 5).join(", ")} and ${tables.length - 5} more`, "named");
|
|
48
48
|
var isDerivedTable = /* @__PURE__ */ __name((table, searchIndexes) => DERIVED.has(table) || table.startsWith("vector_index_") || searchIndexes.some((index) => table === index || table.startsWith(`${index}_`)), "isDerivedTable");
|
|
@@ -89,11 +89,11 @@ var explainDamage = /* @__PURE__ */ __name((health, command, mark = null) => {
|
|
|
89
89
|
};
|
|
90
90
|
}, "explainDamage");
|
|
91
91
|
|
|
92
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
92
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
93
93
|
import { realpathSync, statSync } from "node:fs";
|
|
94
94
|
import { resolve } from "node:path";
|
|
95
95
|
|
|
96
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
96
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
97
97
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
98
98
|
const creatable = /* @__PURE__ */ new Set();
|
|
99
99
|
let people = 0, identities = 0;
|
|
@@ -156,11 +156,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
156
156
|
}
|
|
157
157
|
}, "copyPeople");
|
|
158
158
|
|
|
159
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
159
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
160
160
|
import { createHash } from "node:crypto";
|
|
161
161
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
162
162
|
|
|
163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
164
164
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
165
165
|
const colon = collection.indexOf(":");
|
|
166
166
|
const provider = collection.slice(0, colon);
|
|
@@ -204,7 +204,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
204
204
|
};
|
|
205
205
|
}, "currentCollection");
|
|
206
206
|
|
|
207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
208
208
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
209
209
|
const mappings = /* @__PURE__ */ new Map();
|
|
210
210
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -371,7 +371,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
371
371
|
};
|
|
372
372
|
}, "planTransfer");
|
|
373
373
|
|
|
374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
374
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
375
375
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
376
376
|
var MAX_ENTITIES = 1e3;
|
|
377
377
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -533,7 +533,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
533
533
|
};
|
|
534
534
|
}), "transferSnapshot");
|
|
535
535
|
|
|
536
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
536
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
537
537
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
538
538
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
539
539
|
return provider ?? null;
|
|
@@ -705,7 +705,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
705
705
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
706
706
|
}, "remapEntity");
|
|
707
707
|
|
|
708
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
709
709
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
710
710
|
for (const value of [options.source, options.destination, options.collection])
|
|
711
711
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -807,7 +807,7 @@ var applyWith = /* @__PURE__ */ __name(async (location, options) => {
|
|
|
807
807
|
}
|
|
808
808
|
}, "applyWith");
|
|
809
809
|
|
|
810
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/health.js
|
|
811
811
|
import { existsSync, statSync as statSync2 } from "node:fs";
|
|
812
812
|
var JSON_COLUMNS = {
|
|
813
813
|
accounts: ["settings"],
|
|
@@ -949,7 +949,7 @@ var storeHealth = /* @__PURE__ */ __name(async (path, { deep = false } = {}) =>
|
|
|
949
949
|
}
|
|
950
950
|
}, "storeHealth");
|
|
951
951
|
|
|
952
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
953
953
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
954
954
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
955
955
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -975,7 +975,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
975
975
|
});
|
|
976
976
|
}, "previewProjectAnnotationSnapshot");
|
|
977
977
|
|
|
978
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_e0755e4bb52a6ea6d9033617574418d1/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
979
979
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
980
980
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
981
981
|
throw new CliError("validation_error", "snapshot options are required");
|