@wirecat/drive-cli 0.72.0 → 0.73.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 +4 -0
- package/contracts/wirecat.json +82 -18
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/agent-ZOHMLVWI.js +46 -0
- package/dist/bundle/{all-profiles-GXGDVNQJ.js → all-profiles-HGQGKCKQ.js} +14 -14
- package/dist/bundle/{anthropic-H5C4GQHC.js → anthropic-2L5DN3HF.js} +8 -8
- package/dist/bundle/{app-server-EQ3UK4C7.js → app-server-TRSOKYYF.js} +79 -79
- package/dist/bundle/{bun-DTJVSRY3.js → bun-AFA5HULK.js} +2 -2
- package/dist/bundle/{bun-sqlite-JIFY7MAE.js → bun-sqlite-5MW2BWV4.js} +9 -9
- package/dist/bundle/{chunk-FRCJHGZM.js → chunk-2G24DYSZ.js} +2 -2
- package/dist/bundle/{chunk-FUDUXIVG.js → chunk-2MCMUZCE.js} +1 -1
- package/dist/bundle/{chunk-COJTCEZP.js → chunk-2NAMKBBV.js} +31 -23
- package/dist/bundle/{chunk-CIFE4KPX.js → chunk-2WAGRBQT.js} +50 -47
- package/dist/bundle/{chunk-ZKWT6HXT.js → chunk-33RQ3YVC.js} +1 -1
- package/dist/bundle/{chunk-E3VWZC3K.js → chunk-36256UTA.js} +12 -12
- package/dist/bundle/{chunk-KP2XMCNT.js → chunk-4FTGSEBR.js} +6 -6
- package/dist/bundle/{chunk-MUFF2YTH.js → chunk-4KOMZRN6.js} +2 -2
- package/dist/bundle/{chunk-J4NUHSM7.js → chunk-4LLO4USI.js} +1 -1
- package/dist/bundle/{chunk-CWPYDT73.js → chunk-4VTAPSZE.js} +4 -4
- package/dist/bundle/{chunk-OLDQLEPA.js → chunk-4ZP3IK5I.js} +6 -6
- package/dist/bundle/{chunk-M2ZWYVWO.js → chunk-5CYWWYIG.js} +6 -1
- package/dist/bundle/{chunk-AA4LKC6W.js → chunk-5EZCDENA.js} +78 -35
- package/dist/bundle/{chunk-GWCDOYSC.js → chunk-5R2VPXVT.js} +1 -1
- package/dist/bundle/{chunk-KF3ZBQJV.js → chunk-5SQHQRNO.js} +4 -4
- package/dist/bundle/{chunk-77OBW43F.js → chunk-6AVHD6WB.js} +6 -6
- package/dist/bundle/{chunk-K652FYCO.js → chunk-6EC3LAVC.js} +2 -2
- package/dist/bundle/{chunk-ST35FIUG.js → chunk-6HZKX65K.js} +3 -3
- package/dist/bundle/{chunk-VAR3MJU6.js → chunk-6TGZCOYR.js} +3 -3
- package/dist/bundle/{chunk-D4JNCXS7.js → chunk-6V5556NF.js} +7 -7
- package/dist/bundle/{chunk-BM6V7456.js → chunk-6WZLP4CI.js} +5 -5
- package/dist/bundle/{chunk-ML2QIWX2.js → chunk-77SAHCDZ.js} +4 -4
- package/dist/bundle/{chunk-NNGA4QDR.js → chunk-AGATODLO.js} +12 -12
- package/dist/bundle/{chunk-OLCU7Q2B.js → chunk-B6YBN6VK.js} +1 -1
- package/dist/bundle/{chunk-TTPWKTVR.js → chunk-BAG4KIN5.js} +1 -1
- package/dist/bundle/{chunk-U7VEJ3CW.js → chunk-BAHWXDWN.js} +29 -190
- package/dist/bundle/{chunk-4HPXWYTE.js → chunk-BFESDJPU.js} +1 -1
- package/dist/bundle/{chunk-QSLOACDT.js → chunk-BOHC2GPY.js} +36 -36
- package/dist/bundle/{chunk-BO6EDBYJ.js → chunk-BY5D2LXE.js} +3 -3
- package/dist/bundle/{chunk-FBEZSA76.js → chunk-CMB6URN7.js} +5 -5
- package/dist/bundle/{chunk-4JS32SRX.js → chunk-CY2MNN3I.js} +5 -5
- package/dist/bundle/{chunk-PRYMT3OG.js → chunk-DAYHLKTM.js} +2 -2
- package/dist/bundle/{chunk-YWOLQEDV.js → chunk-DOUFW7RK.js} +3 -3
- package/dist/bundle/{chunk-CKB4XZZJ.js → chunk-DZG5SAO6.js} +14 -14
- package/dist/bundle/{chunk-FTG5QBSD.js → chunk-E3UFICXC.js} +35 -31
- package/dist/bundle/{chunk-QDUIVMEW.js → chunk-EBGI3Z6U.js} +1 -1
- package/dist/bundle/{chunk-ZJKXSMXK.js → chunk-EQGVNLUN.js} +42 -42
- package/dist/bundle/{chunk-WMG3H2VK.js → chunk-F5XMZDR5.js} +2 -2
- package/dist/bundle/{chunk-6ZW2ZJYC.js → chunk-FITKBN46.js} +2 -2
- package/dist/bundle/{chunk-ZFDSJ5YJ.js → chunk-FRQBKAPV.js} +6 -6
- package/dist/bundle/{chunk-DHMNCOQI.js → chunk-GW7L2G4I.js} +57 -57
- package/dist/bundle/{chunk-FIZOPJYY.js → chunk-HGXFOXSA.js} +1 -1
- package/dist/bundle/{chunk-N24YSLED.js → chunk-HYJEBBFK.js} +1892 -588
- package/dist/bundle/{chunk-SQHDSIFL.js → chunk-I2KGZ6XQ.js} +6 -6
- package/dist/bundle/{chunk-XZ7MO6EU.js → chunk-I3DZHZHM.js} +7 -7
- package/dist/bundle/{chunk-ZFUZEFU6.js → chunk-I3MLLVPE.js} +3 -3
- package/dist/bundle/{chunk-5BNMWSU2.js → chunk-IDJKYHVG.js} +2246 -2047
- package/dist/bundle/{chunk-SPNPJ3FZ.js → chunk-IEGU6GG7.js} +1 -1
- package/dist/bundle/{chunk-ZPUY3COZ.js → chunk-IKW3PRNG.js} +13 -13
- package/dist/bundle/{chunk-R57QUYBG.js → chunk-J3I4WOBI.js} +3 -3
- package/dist/bundle/{chunk-DCPWZIOV.js → chunk-JA37PJL4.js} +11 -11
- package/dist/bundle/{chunk-OAONP6KI.js → chunk-JJGKHGBX.js} +8 -8
- package/dist/bundle/{chunk-UIQ35CA5.js → chunk-JWNM6FCC.js} +1 -1
- package/dist/bundle/{chunk-R32DHS6J.js → chunk-JZYNXTMH.js} +51 -15
- package/dist/bundle/{chunk-QKBPCX7Y.js → chunk-K34B37AP.js} +1 -1
- package/dist/bundle/{chunk-HAGXTGJC.js → chunk-KERX3BQL.js} +4 -4
- package/dist/bundle/{chunk-QUZFDU4K.js → chunk-KV232TIK.js} +4 -4
- package/dist/bundle/{chunk-RSPBVKOC.js → chunk-KXETGAU4.js} +8 -8
- package/dist/bundle/{chunk-VPQSI5IU.js → chunk-L5ZZ6RLL.js} +2 -2
- package/dist/bundle/{chunk-OPIPG6AP.js → chunk-LGRZNEMA.js} +8 -8
- package/dist/bundle/{chunk-X5BGAZC5.js → chunk-M3VJTLFM.js} +6 -6
- package/dist/bundle/{chunk-5H747A76.js → chunk-MTH76YSQ.js} +500 -1428
- package/dist/bundle/{chunk-75DAHQOV.js → chunk-NA4HEM4Z.js} +3 -3
- package/dist/bundle/{chunk-5KWCO56H.js → chunk-OCZWU2H4.js} +2 -2
- package/dist/bundle/{chunk-GUMKKRE6.js → chunk-OHKAL25R.js} +63 -63
- package/dist/bundle/{chunk-O7CZZ36M.js → chunk-P2FOF6RR.js} +3 -3
- package/dist/bundle/{chunk-OHR6IZNH.js → chunk-PMYTDTT4.js} +8 -1
- package/dist/bundle/{chunk-XQZEMRCU.js → chunk-PQSCABAC.js} +10 -10
- package/dist/bundle/{chunk-GU6ICH53.js → chunk-PSFACXOC.js} +2 -2
- package/dist/bundle/{chunk-NBMGDRP4.js → chunk-PSWVHX53.js} +1 -1
- package/dist/bundle/{chunk-KFZCHJRT.js → chunk-Q2L3W7PS.js} +2 -2
- package/dist/bundle/{chunk-VQPT3Y7W.js → chunk-QMDVQ4AN.js} +12 -12
- package/dist/bundle/{chunk-GXGSC622.js → chunk-QZXFWDTX.js} +6 -6
- package/dist/bundle/{chunk-R64OSDOD.js → chunk-R2GLRHNK.js} +5 -5
- package/dist/bundle/{chunk-FNAYSZWK.js → chunk-R6K36FZ7.js} +23 -23
- package/dist/bundle/{chunk-7EFM6AW3.js → chunk-RHS3OBO5.js} +4 -4
- package/dist/bundle/{chunk-UJY26HW4.js → chunk-RNLLWYPV.js} +1 -1
- package/dist/bundle/{chunk-6CCO3JCM.js → chunk-RX6D64YA.js} +20 -20
- package/dist/bundle/{chunk-FBQJN74J.js → chunk-S7EQIYNF.js} +1 -1
- package/dist/bundle/{chunk-DWRUOLBF.js → chunk-SIC2CGYE.js} +4 -4
- package/dist/bundle/{chunk-55FH6IEL.js → chunk-SNY4WYPH.js} +5 -5
- package/dist/bundle/{chunk-A3S7QM5L.js → chunk-SQODI3DH.js} +2 -2
- package/dist/bundle/{chunk-EVG3AA5M.js → chunk-SRRNRQSQ.js} +2 -2
- package/dist/bundle/{chunk-IVGVVSPW.js → chunk-SYQKLEP3.js} +4 -4
- package/dist/bundle/{chunk-5U3NCE5R.js → chunk-TAQUEQ5B.js} +8 -8
- package/dist/bundle/{chunk-GIEZYBRC.js → chunk-TPIGO4JJ.js} +1 -1
- package/dist/bundle/{chunk-DOQMH4DC.js → chunk-U5SB2WDG.js} +12 -10
- package/dist/bundle/{chunk-KWDZ3KVH.js → chunk-UDP7EQNY.js} +4 -4
- package/dist/bundle/{chunk-4IUNYYYL.js → chunk-UZAOKKGK.js} +753 -494
- package/dist/bundle/{chunk-K6ZWNTXY.js → chunk-V5GIK53Z.js} +17 -17
- package/dist/bundle/{chunk-2Q325BBD.js → chunk-VENGEFU4.js} +8 -8
- package/dist/bundle/{chunk-N4GTCPML.js → chunk-VHPNTMJJ.js} +1 -1
- package/dist/bundle/{chunk-UWG3PRY7.js → chunk-VM3IERRK.js} +7 -7
- package/dist/bundle/{chunk-KLPFDFLI.js → chunk-VQ7K2EAW.js} +9 -9
- package/dist/bundle/{chunk-3FRQ6V4T.js → chunk-VQC4GYIQ.js} +3 -3
- package/dist/bundle/{chunk-XC6TRWLZ.js → chunk-VZTDELYM.js} +3 -3
- package/dist/bundle/{chunk-ASTKHB6B.js → chunk-W3OKRT6L.js} +179 -135
- package/dist/bundle/{chunk-KX4C32WD.js → chunk-WB46DJSK.js} +2 -2
- package/dist/bundle/{chunk-BPA3R4KN.js → chunk-WITO2RZO.js} +1 -1
- package/dist/bundle/{chunk-OESP4PHB.js → chunk-WJ7E6TPR.js} +17 -17
- package/dist/bundle/{chunk-YAIOEPKU.js → chunk-WUVNBZWC.js} +191 -160
- package/dist/bundle/{chunk-47L262VI.js → chunk-ZDYWRT3X.js} +7 -7
- package/dist/bundle/{chunk-IMAWQC5K.js → chunk-ZQMURHTL.js} +6 -6
- package/dist/bundle/{cli-2P5FW2RL.js → cli-A7MMBLGR.js} +107 -107
- package/dist/bundle/command-contract-WCGIIXYM.js +45 -0
- package/dist/bundle/{command-server-entry-KP2UDGLA.js → command-server-entry-557ZCX63.js} +35 -35
- package/dist/bundle/{decode-K2JZ5D6V.js → decode-3IPZIY2P.js} +8 -8
- package/dist/bundle/{dispatch-KOQZA74A.js → dispatch-UWS7A35Q.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-URO3QGCG.js → echarts-JLCV6NKC.js} +2 -2
- package/dist/bundle/{embed-JLIPWTNN.js → embed-Q6H3QSMC.js} +9 -9
- package/dist/bundle/{embedder-LUTDO3HS.js → embedder-536EI65E.js} +12 -12
- package/dist/bundle/entry-3PKJTP5E.js +25 -0
- package/dist/bundle/{failure-GJMQLM7O.js → failure-W3VT5D3H.js} +4 -4
- package/dist/bundle/first-run-XTLP6VXF.js +31 -0
- package/dist/bundle/first-screen-3GQGULPE.js +45 -0
- package/dist/bundle/google-MEPVU4EP.js +46 -0
- package/dist/bundle/{google-api-RFXKRLL4.js → google-api-SY25TRXJ.js} +85 -85
- package/dist/bundle/grants-77W5MSWQ.js +133 -0
- package/dist/bundle/{identity-FXPB5EMT.js → identity-ZBMVHXUY.js} +6 -6
- package/dist/bundle/{instructions-IROIUVZI.js → instructions-XQOWVU6J.js} +1 -1
- package/dist/bundle/{login-WIY5VQU7.js → login-LXXYFMD3.js} +91 -91
- package/dist/bundle/{mcp-NJIOKW3E.js → mcp-VNOYBWW2.js} +2 -2
- package/dist/bundle/meeting-combined-NWWZCYN4.js +28 -0
- package/dist/bundle/meeting-model-K7UQ7TO5.js +29 -0
- package/dist/bundle/{meeting-semantic-62QNQMOM.js → meeting-semantic-Z7FAOSLQ.js} +10 -10
- package/dist/bundle/{node-IACCI2CW.js → node-MPZ3SVB4.js} +2 -2
- package/dist/bundle/{node-sqlite-WYIRC7C7.js → node-sqlite-VL5BMY34.js} +10 -10
- package/dist/bundle/notes-search-MF7QKFQD.js +74 -0
- package/dist/bundle/oauth-EYJXUTXZ.js +22 -0
- package/dist/bundle/{open-H32B6BCT.js → open-SERV3YXC.js} +8 -8
- package/dist/bundle/{openai-VHMPJJUG.js → openai-HUXETQVC.js} +20 -20
- package/dist/bundle/{process-RNHPF5OK.js → process-RFIII6TW.js} +1 -1
- package/dist/bundle/{program-GYMJ3DDH.js → program-VQ6IKDBJ.js} +353 -131
- package/dist/bundle/{prompt-TOG2CRCE.js → prompt-LCD5ZR7Q.js} +8 -8
- package/dist/bundle/{reasons-TLFQ45YX.js → reasons-GDQIXGWT.js} +5 -5
- package/dist/bundle/{recognize-GYGY45EY.js → recognize-GWKRFWHF.js} +7 -7
- package/dist/bundle/{remote-6XN2QLI5.js → remote-XM2CRZJY.js} +13 -13
- package/dist/bundle/{rerank-HJO3O4TW.js → rerank-HR5J35V6.js} +10 -10
- package/dist/bundle/{serve-XPCNLHCR.js → serve-PP3XR3GA.js} +12 -12
- package/dist/bundle/{server-WPT3NC5B.js → server-DD3DE536.js} +71 -71
- package/dist/bundle/server-NB4RGNYM.js +97 -0
- package/dist/bundle/{services-253KKKVU.js → services-4Y7R425J.js} +62 -58
- package/dist/bundle/{sqlite-runtime-EZASGJXW.js → sqlite-runtime-CVYBPVKO.js} +9 -9
- package/dist/bundle/{start-UHI35JFL.js → start-2KFZDMWM.js} +7 -7
- package/dist/bundle/{state-KJTSPFGK.js → state-AUXW4REW.js} +9 -9
- package/dist/bundle/{store-62J2H2A3.js → store-B7X6UN75.js} +28 -28
- package/dist/bundle/{store-G5B7T7M7.js → store-RADARFIH.js} +26 -26
- package/dist/bundle/store-maintenance-command-UTZWPNUF.js +85 -0
- package/dist/bundle/surface-4MUNDC3D.js +83 -0
- package/dist/bundle/tokens-AIKNGAOI.js +133 -0
- package/dist/commands/file-edit.d.ts +18 -0
- package/dist/commands/file-edit.d.ts.map +1 -0
- package/dist/commands/file-edit.js +39 -0
- package/dist/commands/file-edit.js.map +1 -0
- package/dist/commands/remote.d.ts +4 -0
- package/dist/commands/remote.d.ts.map +1 -1
- package/dist/commands/remote.js +59 -17
- package/dist/commands/remote.js.map +1 -1
- package/dist/config.d.ts +2 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +17 -1
- package/dist/config.js.map +1 -1
- package/dist/drive-files.d.ts +26 -0
- package/dist/drive-files.d.ts.map +1 -0
- package/dist/drive-files.js +127 -0
- package/dist/drive-files.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +52 -1
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +5 -0
- package/dist/reasons.js.map +1 -1
- package/dist/upload.d.ts +3 -1
- package/dist/upload.d.ts.map +1 -1
- package/dist/upload.js +5 -4
- package/dist/upload.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 +4 -0
- package/dist/bundle/agent-23OB2NZP.js +0 -46
- package/dist/bundle/command-contract-BMQT2G5X.js +0 -45
- package/dist/bundle/entry-AVF6LMG7.js +0 -25
- package/dist/bundle/first-run-VYTIEUDA.js +0 -31
- package/dist/bundle/first-screen-QVZPF7KL.js +0 -45
- package/dist/bundle/google-VX7IPACN.js +0 -46
- package/dist/bundle/grants-4XWJFVD6.js +0 -133
- package/dist/bundle/meeting-combined-JUNV35GM.js +0 -28
- package/dist/bundle/meeting-model-XY4UNWWK.js +0 -29
- package/dist/bundle/notes-search-DEDUJKSN.js +0 -70
- package/dist/bundle/oauth-HXBXF4VI.js +0 -22
- package/dist/bundle/server-UBJZ66XE.js +0 -97
- package/dist/bundle/store-maintenance-command-C6T4YLVF.js +0 -85
- package/dist/bundle/surface-3OT64BHS.js +0 -83
- package/dist/bundle/tokens-EHYO6D2X.js +0 -133
|
@@ -3,32 +3,32 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
formatMeetingReference,
|
|
5
5
|
parseMeetingReference
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GW7L2G4I.js";
|
|
7
7
|
import {
|
|
8
8
|
createRecordLog,
|
|
9
9
|
resolvePaths,
|
|
10
10
|
writeSecurely
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RX6D64YA.js";
|
|
12
12
|
import {
|
|
13
13
|
singleLine
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2MCMUZCE.js";
|
|
15
15
|
import {
|
|
16
16
|
traceIdOf
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SRRNRQSQ.js";
|
|
18
18
|
import {
|
|
19
19
|
CliError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-B6YBN6VK.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
26
26
|
import { randomUUID } from "node:crypto";
|
|
27
27
|
import { appendFileSync, mkdirSync, readdirSync, readFileSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
28
28
|
import { userInfo } from "node:os";
|
|
29
29
|
import { join, sep } from "node:path";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
32
32
|
var snake = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
33
33
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
34
34
|
var renamed = /* @__PURE__ */ __name((record, name) => Object.fromEntries(Object.entries(record).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -41,7 +41,7 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
41
41
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
42
42
|
}), "snakeLogger");
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
45
45
|
var diagnostic = {
|
|
46
46
|
event: true,
|
|
47
47
|
operation: true,
|
|
@@ -115,7 +115,7 @@ var LOG_ATTRIBUTES = [
|
|
|
115
115
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
116
116
|
].sort();
|
|
117
117
|
|
|
118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
119
119
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
120
120
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
121
121
|
var KEEP_STORE_RUNS_FOR_DAYS = 3;
|
|
@@ -482,7 +482,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
482
482
|
};
|
|
483
483
|
}, "metadataOf");
|
|
484
484
|
|
|
485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
486
486
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
487
487
|
import { randomBytes } from "node:crypto";
|
|
488
488
|
var scopes = new AsyncLocalStorage();
|
|
@@ -535,7 +535,7 @@ var attempts = new AsyncLocalStorage();
|
|
|
535
535
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
536
536
|
var currentAttempt = /* @__PURE__ */ __name(() => attempts.getStore(), "currentAttempt");
|
|
537
537
|
|
|
538
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
538
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/locator.js
|
|
539
539
|
var SCHEME = "msg:";
|
|
540
540
|
var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
|
|
541
541
|
var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
|
|
@@ -556,7 +556,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
|
|
|
556
556
|
return { provider, account, chat, message };
|
|
557
557
|
}, "parseLocator");
|
|
558
558
|
|
|
559
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
559
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/references.js
|
|
560
560
|
var SIMPLE_REFERENCES = [
|
|
561
561
|
"note",
|
|
562
562
|
"document",
|
|
@@ -719,8 +719,8 @@ var looksLikeReference = /* @__PURE__ */ __name((text) => {
|
|
|
719
719
|
return match !== null && byPrefix.has(match[1]);
|
|
720
720
|
}, "looksLikeReference");
|
|
721
721
|
|
|
722
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
723
|
-
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
|
|
722
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/providers.js
|
|
723
|
+
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm", "tracker"];
|
|
724
724
|
var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
|
|
725
725
|
var PROVIDERS = [
|
|
726
726
|
{ name: "telegram", kind: "messages", aliases: ["tg"], command: "tg", opens: MESSENGER_OPENS },
|
|
@@ -738,6 +738,9 @@ var PROVIDERS = [
|
|
|
738
738
|
// Google Meet has no tool of its own: its meetings are gcal's, since every meeting is on the calendar.
|
|
739
739
|
{ name: "google-meet", kind: "meetings", aliases: [], command: "gcal" },
|
|
740
740
|
{ name: "google-drive", kind: "documents", aliases: [] },
|
|
741
|
+
// Seeded: linear-cli registers no entry, and without one its accounts would count as a messenger's. One sign-in holds
|
|
742
|
+
// the issues and the documents, so the account is a tracker's and a documents account at once.
|
|
743
|
+
{ name: "linear", kind: "tracker", kinds: ["tracker", "documents"], aliases: [], command: "linear" },
|
|
741
744
|
// Its meetings come from the notes Telemost mails (`keeper@telemost.yandex.ru`), read by a mail rule.
|
|
742
745
|
{ name: "telemost", kind: "meetings", aliases: [] },
|
|
743
746
|
// A phone export's records: its SMS and its calls in the one account the import names.
|
|
@@ -756,14 +759,15 @@ var LABELS = {
|
|
|
756
759
|
"google-meet": "Google Meet",
|
|
757
760
|
added: "added by hand",
|
|
758
761
|
email: "mail",
|
|
759
|
-
telemost: "Telemost"
|
|
762
|
+
telemost: "Telemost",
|
|
763
|
+
linear: "Linear"
|
|
760
764
|
};
|
|
761
765
|
var providerLabel = /* @__PURE__ */ __name((provider) => LABELS[provider] ?? provider, "providerLabel");
|
|
762
766
|
var FOLDER_PROVIDERS = ["local", "obsidian", "folder"];
|
|
763
767
|
var isFolderProvider = /* @__PURE__ */ __name((provider) => FOLDER_PROVIDERS.includes(provider), "isFolderProvider");
|
|
764
768
|
var folderProviderSql = /* @__PURE__ */ __name((column = "provider") => `${column} IN (${FOLDER_PROVIDERS.map((name) => `'${name}'`).join(", ")})`, "folderProviderSql");
|
|
765
769
|
var folderProviderOf = /* @__PURE__ */ __name((format) => format === "markdown" ? "local" : "obsidian", "folderProviderOf");
|
|
766
|
-
var documentAccountProviders = /* @__PURE__ */ __name(() => registry.filter((entry) => entry.
|
|
770
|
+
var documentAccountProviders = /* @__PURE__ */ __name(() => registry.filter((entry) => kindsOfEntry(entry).includes("documents") && entry.imported !== true).map(({ name }) => name), "documentAccountProviders");
|
|
767
771
|
var isDocumentAccountProvider = /* @__PURE__ */ __name((provider) => typeof provider === "string" && documentAccountProviders().includes(provider), "isDocumentAccountProvider");
|
|
768
772
|
var documentAccountProvidersSql = /* @__PURE__ */ __name(() => documentAccountProviders().map((name) => `'${name}'`).join(", ") || "NULL", "documentAccountProvidersSql");
|
|
769
773
|
var ADDED_PROVIDER = "added";
|
|
@@ -890,11 +894,12 @@ var importedOf = /* @__PURE__ */ __name((entry, held) => {
|
|
|
890
894
|
return held.imported === true;
|
|
891
895
|
}, "importedOf");
|
|
892
896
|
var isImportedProvider = /* @__PURE__ */ __name((provider) => registry.find(({ name }) => name === provider)?.imported === true, "isImportedProvider");
|
|
897
|
+
var alsoListedByKey = /* @__PURE__ */ __name((provider) => isDocumentAccountProvider(provider) && kindsIn(provider).some((kind2) => kind2 !== "documents"), "alsoListedByKey");
|
|
893
898
|
var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).includes(kind2), "holdsKind");
|
|
894
899
|
var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
|
|
895
900
|
var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
|
|
896
901
|
|
|
897
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
902
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/query.js
|
|
898
903
|
var isBotProvider = /* @__PURE__ */ __name((provider) => provider.endsWith("-bot"), "isBotProvider");
|
|
899
904
|
var inSource = /* @__PURE__ */ __name((source, provider) => source === "all" || source === "bots" && isBotProvider(provider) || source === "personal" && !isBotProvider(provider) || source === provider || providerNamed(source)?.name === provider || isKind(source) && holdsKindOf(provider, source), "inSource");
|
|
900
905
|
var fail = /* @__PURE__ */ __name((message) => {
|
|
@@ -917,7 +922,7 @@ var sourceOf = /* @__PURE__ */ __name((name, value, providers2) => {
|
|
|
917
922
|
return fail(`${name} takes ${[...sources, "messages", "mail"].join(", ")} \u2014 not "${value}"`);
|
|
918
923
|
}, "sourceOf");
|
|
919
924
|
|
|
920
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/account-list.js
|
|
921
926
|
var ACCOUNT_GROUPS = "accountGroups";
|
|
922
927
|
var ACCOUNT_GROUPS_SETTING = "account_groups";
|
|
923
928
|
var GROUP_NAME = /^[a-z0-9][a-z0-9_-]*$/i;
|
|
@@ -937,12 +942,13 @@ var groupMembers = /* @__PURE__ */ __name((value) => itemsOf(value).map((item) =
|
|
|
937
942
|
var describe2 = /* @__PURE__ */ __name((accounts) => accounts.map(({ provider, account, name }) => `${provider}:${account}${name ? ` (${name})` : ""}`).join(", "), "describe");
|
|
938
943
|
var listedHolds = /* @__PURE__ */ __name((account, kind2) => (account.kinds ?? (account.kind === void 0 ? [] : [account.kind])).includes(kind2), "listedHolds");
|
|
939
944
|
var kindHere = /* @__PURE__ */ __name((provider, running) => provider === running.provider ? kindOf(provider) : kindIn(provider), "kindHere");
|
|
945
|
+
var listedKinds = /* @__PURE__ */ __name((provider) => kindsIn(provider).filter((kind2) => kind2 !== "documents" || !isDocumentAccountProvider(provider)), "listedKinds");
|
|
940
946
|
var kindsOfHere = /* @__PURE__ */ __name((provider, running) => {
|
|
941
|
-
const kinds =
|
|
947
|
+
const kinds = listedKinds(provider);
|
|
942
948
|
return { kind: kindHere(provider, running), ...kinds.length > 1 ? { kinds } : {} };
|
|
943
949
|
}, "kindsOfHere");
|
|
944
950
|
var heldOf = /* @__PURE__ */ __name((stored, running) => [
|
|
945
|
-
...stored.filter(({ provider }) => kindIn(provider) !== "notes" && !isDocumentAccountProvider(provider)).map(({ provider, account, name }) => ({ provider, account, name, ...kindsOfHere(provider, running) })),
|
|
951
|
+
...stored.filter(({ provider }) => kindIn(provider) !== "notes" && (!isDocumentAccountProvider(provider) || alsoListedByKey(provider))).map(({ provider, account, name }) => ({ provider, account, name, ...kindsOfHere(provider, running) })),
|
|
946
952
|
{ provider: "notes", account: INTERNAL_NOTES, name: null, kind: "notes" },
|
|
947
953
|
...stored.filter(({ provider }) => isFolderProvider(provider)).map(({ id, name, provider, account }) => ({
|
|
948
954
|
provider: "notes",
|
|
@@ -979,7 +985,7 @@ var providerOf = /* @__PURE__ */ __name((prefix, held, { running, profiles }) =>
|
|
|
979
985
|
var profilesOf = /* @__PURE__ */ __name((provider, profiles) => Object.values(profiles).flatMap((named) => Object.entries(named).filter(([, key]) => key.provider === provider)), "profilesOf");
|
|
980
986
|
var accountOf = /* @__PURE__ */ __name((prefix, ref, held, context) => {
|
|
981
987
|
const provider = providerOf(prefix, held, context);
|
|
982
|
-
if (isDocumentAccountProvider(provider) && !context.profiles[prefix.toLowerCase()]?.[ref]) {
|
|
988
|
+
if (isDocumentAccountProvider(provider) && !alsoListedByKey(provider) && !context.profiles[prefix.toLowerCase()]?.[ref]) {
|
|
983
989
|
const stored = storedAs(held, { provider, account: ref })[0];
|
|
984
990
|
if (stored)
|
|
985
991
|
return stored;
|
|
@@ -1037,7 +1043,7 @@ var accountsOfWord = /* @__PURE__ */ __name((word, held, context) => {
|
|
|
1037
1043
|
return Object.keys(recorded).map((profile) => accountOf(word, profile, held, context));
|
|
1038
1044
|
const provider = providerOf(word, held, context);
|
|
1039
1045
|
if (isDocumentAccountProvider(provider) || isFolderProvider(provider))
|
|
1040
|
-
return storedAs(held, { provider, account: "" });
|
|
1046
|
+
return [...held.filter((one) => one.provider === provider), ...storedAs(held, { provider, account: "" })];
|
|
1041
1047
|
return held.filter((one) => one.provider === provider);
|
|
1042
1048
|
}, "accountsOfWord");
|
|
1043
1049
|
var isDocumentAccount = /* @__PURE__ */ __name(({ stored }) => stored !== void 0 && isDocumentAccountProvider(stored.provider), "isDocumentAccount");
|
|
@@ -1122,7 +1128,8 @@ var READS = {
|
|
|
1122
1128
|
documents: "documents \u2014 search notes reads them",
|
|
1123
1129
|
meetings: "meetings \u2014 search all reads them",
|
|
1124
1130
|
events: "calendar events \u2014 no search reads them yet",
|
|
1125
|
-
crm: "CRM deals and leads \u2014 search all reads them"
|
|
1131
|
+
crm: "CRM deals and leads \u2014 search all reads them",
|
|
1132
|
+
tracker: "a tracker's issues, projects and comments \u2014 search all reads them"
|
|
1126
1133
|
};
|
|
1127
1134
|
var fitting = /* @__PURE__ */ __name((entries, kinds, what, reasonOf = (kind2) => READS[kind2], alsoFits = () => false) => {
|
|
1128
1135
|
const chosen = /* @__PURE__ */ new Map();
|
|
@@ -1210,6 +1217,7 @@ export {
|
|
|
1210
1217
|
kindIn,
|
|
1211
1218
|
importedOf,
|
|
1212
1219
|
isImportedProvider,
|
|
1220
|
+
alsoListedByKey,
|
|
1213
1221
|
holdsKind,
|
|
1214
1222
|
holdsKindOf,
|
|
1215
1223
|
isBotProvider,
|
|
@@ -5,40 +5,40 @@ import {
|
|
|
5
5
|
endpointKeyName,
|
|
6
6
|
modelGateway,
|
|
7
7
|
withRecovery
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IKW3PRNG.js";
|
|
9
9
|
import {
|
|
10
10
|
safeName
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EBGI3Z6U.js";
|
|
12
12
|
import {
|
|
13
13
|
capability
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DAYHLKTM.js";
|
|
15
15
|
import {
|
|
16
16
|
questionLookup,
|
|
17
17
|
questionText
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6WZLP4CI.js";
|
|
19
19
|
import {
|
|
20
20
|
localOnly
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4ZP3IK5I.js";
|
|
22
22
|
import {
|
|
23
23
|
defaultThreads,
|
|
24
24
|
isTextModelInstalled,
|
|
25
25
|
openEmbedder,
|
|
26
26
|
textModelsDirectory
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-R2GLRHNK.js";
|
|
28
28
|
import {
|
|
29
29
|
DEFAULT_IMAGE_MODEL,
|
|
30
30
|
codeOf,
|
|
31
31
|
imageModel,
|
|
32
32
|
imageModelsDirectory,
|
|
33
33
|
isImageModelInstalled
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KERX3BQL.js";
|
|
35
35
|
import {
|
|
36
36
|
ANSWER_RESERVE_MS,
|
|
37
37
|
deadlineMargin
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-CY2MNN3I.js";
|
|
39
39
|
import {
|
|
40
40
|
envName
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OCZWU2H4.js";
|
|
42
42
|
import {
|
|
43
43
|
DEFAULT_TEXT_MODEL,
|
|
44
44
|
PREVIOUS_DEFAULT_TEXT_MODEL,
|
|
@@ -47,12 +47,12 @@ import {
|
|
|
47
47
|
textModel,
|
|
48
48
|
textModels,
|
|
49
49
|
vectorModelKey
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-ZQMURHTL.js";
|
|
51
51
|
import {
|
|
52
52
|
endpoint,
|
|
53
53
|
modelAddressAllowed,
|
|
54
54
|
onThisComputer
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-FRQBKAPV.js";
|
|
56
56
|
import {
|
|
57
57
|
chatReferenceOf,
|
|
58
58
|
chatsMatching,
|
|
@@ -64,24 +64,25 @@ import {
|
|
|
64
64
|
pickChat,
|
|
65
65
|
pickPerson,
|
|
66
66
|
profilesOn
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-JA37PJL4.js";
|
|
68
68
|
import {
|
|
69
69
|
DEFAULT_STEMMERS,
|
|
70
70
|
createStemmer
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-TAQUEQ5B.js";
|
|
72
72
|
import {
|
|
73
73
|
RRF_K,
|
|
74
74
|
SEARCH_QUERY,
|
|
75
75
|
isQueryLimit,
|
|
76
76
|
plainQuery,
|
|
77
77
|
validateFields
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-LGRZNEMA.js";
|
|
79
79
|
import {
|
|
80
80
|
normalize
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-BAG4KIN5.js";
|
|
82
82
|
import {
|
|
83
83
|
INTERNAL_NOTES,
|
|
84
84
|
accountsOfList,
|
|
85
|
+
alsoListedByKey,
|
|
85
86
|
entriesOfList,
|
|
86
87
|
fitting,
|
|
87
88
|
formatLocator,
|
|
@@ -97,30 +98,30 @@ import {
|
|
|
97
98
|
sameAs,
|
|
98
99
|
sourceOf2 as sourceOf,
|
|
99
100
|
typedCommand
|
|
100
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-2NAMKBBV.js";
|
|
101
102
|
import {
|
|
102
103
|
isCliFailure,
|
|
103
104
|
sqliteCode
|
|
104
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-FITKBN46.js";
|
|
105
106
|
import {
|
|
106
107
|
normalizeTag
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-VZTDELYM.js";
|
|
108
109
|
import {
|
|
109
110
|
dateRange,
|
|
110
111
|
parseLucene,
|
|
111
112
|
timezoneOf
|
|
112
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-PQSCABAC.js";
|
|
113
114
|
import {
|
|
114
115
|
readSharedSection,
|
|
115
116
|
sharedConfigPath,
|
|
116
117
|
writeSharedSection
|
|
117
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-KXETGAU4.js";
|
|
118
119
|
import {
|
|
119
120
|
storePath
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-F5XMZDR5.js";
|
|
121
122
|
import {
|
|
122
123
|
singleLine
|
|
123
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-2MCMUZCE.js";
|
|
124
125
|
import {
|
|
125
126
|
array,
|
|
126
127
|
check,
|
|
@@ -142,15 +143,15 @@ import {
|
|
|
142
143
|
transform,
|
|
143
144
|
trim,
|
|
144
145
|
unknown
|
|
145
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-QZXFWDTX.js";
|
|
146
147
|
import {
|
|
147
148
|
CliError
|
|
148
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-B6YBN6VK.js";
|
|
149
150
|
import {
|
|
150
151
|
__name
|
|
151
152
|
} from "./chunk-ZVVMGPBJ.js";
|
|
152
153
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
154
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/groups.js
|
|
154
155
|
var ALL = "all";
|
|
155
156
|
var OWNER_NOTES = { provider: "notes", account: INTERNAL_NOTES };
|
|
156
157
|
var NOT_GROUP_NAMES = /* @__PURE__ */ new Set([ALL, "bots"]);
|
|
@@ -285,7 +286,7 @@ var scopeToGroup = /* @__PURE__ */ __name((run, request, context) => {
|
|
|
285
286
|
return scoped;
|
|
286
287
|
}, "scopeToGroup");
|
|
287
288
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/lucene/meaning-parts.js
|
|
289
290
|
var WORD_FIELDS = /* @__PURE__ */ new Set(["text", "exact"]);
|
|
290
291
|
var fieldsOfQuery = /* @__PURE__ */ __name((root, everything) => {
|
|
291
292
|
let narrows = false;
|
|
@@ -314,7 +315,7 @@ var meaningWords = /* @__PURE__ */ __name((root) => {
|
|
|
314
315
|
return wanted(root).join(" ").trim();
|
|
315
316
|
}, "meaningWords");
|
|
316
317
|
|
|
317
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
318
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/search/total.js
|
|
318
319
|
var TOTAL_CAP = 1e4;
|
|
319
320
|
var totalOf = /* @__PURE__ */ __name((count, shown, hasMore, exact = true) => {
|
|
320
321
|
const least = shown + (hasMore ? 1 : 0);
|
|
@@ -325,7 +326,7 @@ var totalOf = /* @__PURE__ */ __name((count, shown, hasMore, exact = true) => {
|
|
|
325
326
|
return { value: count, relation: exact ? "eq" : "gte" };
|
|
326
327
|
}, "totalOf");
|
|
327
328
|
|
|
328
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/document-pictures.js
|
|
329
330
|
import { createHash } from "node:crypto";
|
|
330
331
|
var refOf = /* @__PURE__ */ __name((target) => target.ref ?? `document:${target.documentId}`, "refOf");
|
|
331
332
|
var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}) => {
|
|
@@ -333,7 +334,7 @@ var openPictureEmbedderFor = /* @__PURE__ */ __name(async ({ env, command } = {}
|
|
|
333
334
|
const directory = imageModelsDirectory(env);
|
|
334
335
|
if (!isImageModelInstalled(model, directory))
|
|
335
336
|
throw new CliError("not_found", `the picture model is not downloaded \u2014 ${command === void 0 ? "install it with a WireCat CLI that has `images models download` (tg, max or wa); they share the model folder" : `\`${command} images models download ${model.id}\` fetches it`}`, { reason: "model.not-downloaded", model: model.id });
|
|
336
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
337
|
+
const { openPictureEmbedder } = await import("./embedder-536EI65E.js");
|
|
337
338
|
return openPictureEmbedder(model, directory);
|
|
338
339
|
}, "openPictureEmbedderFor");
|
|
339
340
|
var savePicture = /* @__PURE__ */ __name(async (store, target, bytes, options = {}) => {
|
|
@@ -354,7 +355,7 @@ var savePicture = /* @__PURE__ */ __name(async (store, target, bytes, options =
|
|
|
354
355
|
}, "savePicture");
|
|
355
356
|
var removePicture = /* @__PURE__ */ __name((store, target) => store.notes.removePicture(refOf(target)), "removePicture");
|
|
356
357
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/document-source.js
|
|
358
359
|
var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file) => {
|
|
359
360
|
const metadata = note.frontMatter;
|
|
360
361
|
const account = accounts.find(({ id }) => String(id) === note.folderId);
|
|
@@ -376,7 +377,7 @@ var documentSource = /* @__PURE__ */ __name((note, accounts, profiles, file) =>
|
|
|
376
377
|
};
|
|
377
378
|
}, "documentSource");
|
|
378
379
|
|
|
379
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/enrichment-setting.js
|
|
380
381
|
var SECTION = "enrichment";
|
|
381
382
|
var ENRICHMENT_PROVIDERS = ["openai", "anthropic"];
|
|
382
383
|
var DEFAULT_BASE_URLS = {
|
|
@@ -451,7 +452,7 @@ var costOf = /* @__PURE__ */ __name((usage, setting) => {
|
|
|
451
452
|
return price ? Math.round((usage.input * price.input + usage.output * price.output) * 1e6) / 1e6 : null;
|
|
452
453
|
}, "costOf");
|
|
453
454
|
|
|
454
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
455
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/enrichment.js
|
|
455
456
|
var ENRICH_PER_RUN = 600;
|
|
456
457
|
var BATCH = 20;
|
|
457
458
|
var CONCURRENCY = 4;
|
|
@@ -736,7 +737,7 @@ var enrichmentState = /* @__PURE__ */ __name(async (store, env, estimateFor, key
|
|
|
736
737
|
};
|
|
737
738
|
}, "enrichmentState");
|
|
738
739
|
|
|
739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
740
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/meaning-model.js
|
|
740
741
|
var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
|
|
741
742
|
const chosen = chosenTextModel(env);
|
|
742
743
|
if (chosen.from === "chosen" || chosen.id !== DEFAULT_TEXT_MODEL)
|
|
@@ -751,7 +752,7 @@ var meaningModel = /* @__PURE__ */ __name(async (store, env = process.env) => {
|
|
|
751
752
|
return (counts.get(before) ?? 0) > (counts.get(now) ?? 0) ? previous.id : current.id;
|
|
752
753
|
}, "meaningModel");
|
|
753
754
|
|
|
754
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
755
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/notes-title-tier.js
|
|
755
756
|
var plainQueryWords = /* @__PURE__ */ __name((query) => {
|
|
756
757
|
let root;
|
|
757
758
|
try {
|
|
@@ -778,12 +779,12 @@ var titleTiers = /* @__PURE__ */ __name((hits, words) => {
|
|
|
778
779
|
return [...hits].sort((a, b) => rank(a) - rank(b));
|
|
779
780
|
}, "titleTiers");
|
|
780
781
|
|
|
781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
782
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
782
783
|
import { createHash as createHash2 } from "node:crypto";
|
|
783
784
|
import { lstat, readFile } from "node:fs/promises";
|
|
784
785
|
import { setTimeout as sleep } from "node:timers/promises";
|
|
785
786
|
|
|
786
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
787
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/domain/models.js
|
|
787
788
|
var GROUP_SETTINGS = [
|
|
788
789
|
"allCanPin",
|
|
789
790
|
"onlyAdminsAdd",
|
|
@@ -797,14 +798,14 @@ var ADMIN_RIGHTS = ["read", "members", "admins", "info", "pin", "link", "post",
|
|
|
797
798
|
var senderIsMe = /* @__PURE__ */ __name((message, account) => message.outgoing === true || message.senderId !== null && String(message.senderId) === account, "senderIsMe");
|
|
798
799
|
var MEDIA_KINDS = ["photo", "video", "file", "audio", "link"];
|
|
799
800
|
|
|
800
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
801
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
801
802
|
import { createWriteStream, mkdirSync } from "node:fs";
|
|
802
803
|
import { link, rm } from "node:fs/promises";
|
|
803
804
|
import { join, resolve } from "node:path";
|
|
804
805
|
import { Readable, Transform } from "node:stream";
|
|
805
806
|
import { pipeline } from "node:stream/promises";
|
|
806
807
|
|
|
807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
808
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/batch.js
|
|
808
809
|
var actionable = /* @__PURE__ */ __name((error) => {
|
|
809
810
|
if (isCliFailure(error))
|
|
810
811
|
return withRecovery({ code: error.code, message: error.message, ...error.details });
|
|
@@ -887,7 +888,7 @@ var mergeBatches = /* @__PURE__ */ __name((a, b) => {
|
|
|
887
888
|
};
|
|
888
889
|
}, "mergeBatches");
|
|
889
890
|
|
|
890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/file-download.js
|
|
891
892
|
var refreshedFiles = /* @__PURE__ */ __name((files) => files.flatMap(({ kind, name, position, providerRef }) => providerRef === void 0 || Object.keys(providerRef).length === 0 ? [] : [
|
|
892
893
|
{
|
|
893
894
|
kind,
|
|
@@ -996,7 +997,7 @@ var save = /* @__PURE__ */ __name(async (file, directory, fallbackName, { unique
|
|
|
996
997
|
}
|
|
997
998
|
}, "save");
|
|
998
999
|
|
|
999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/deps.js
|
|
1000
1001
|
var accountStore = /* @__PURE__ */ __name(async (deps) => (await deps.store()).forAccount(await deps.account()), "accountStore");
|
|
1001
1002
|
var crossAccount = /* @__PURE__ */ __name((deps, _reason) => deps.store(), "crossAccount");
|
|
1002
1003
|
var NO_LOCAL_STORE = "this answer comes from the messenger, not from the local store";
|
|
@@ -1071,7 +1072,7 @@ var storeOnlyDeps = /* @__PURE__ */ __name((store, account, { app, env }) => {
|
|
|
1071
1072
|
return { ...storedDeps(messenger, store, account, guard), ...env === void 0 ? {} : { env } };
|
|
1072
1073
|
}, "storeOnlyDeps");
|
|
1073
1074
|
|
|
1074
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/search-kind.js
|
|
1075
1076
|
var NO_MAIL = "no_mail";
|
|
1076
1077
|
var MAIL = "email";
|
|
1077
1078
|
var groupLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
@@ -1096,10 +1097,10 @@ var listContextOf = /* @__PURE__ */ __name(async (store, account, app, stored, e
|
|
|
1096
1097
|
if (!members)
|
|
1097
1098
|
throw new CliError("permission_error", `this process is locked to group ${lock} (${envName(app, "GROUP_LOCK")}), which does not exist`);
|
|
1098
1099
|
const only = new Set([...members, OWNER_NOTES].map(keyOf));
|
|
1099
|
-
const listedAs = /* @__PURE__ */ __name((one) => isFolderProvider(one.provider) || isDocumentAccountProvider(one.provider) ? { provider: "notes", account: String(one.id) } : one, "listedAs");
|
|
1100
|
+
const listedAs = /* @__PURE__ */ __name((one) => isFolderProvider(one.provider) || isDocumentAccountProvider(one.provider) ? [{ provider: "notes", account: String(one.id) }, ...alsoListedByKey(one.provider) ? [one] : []] : [one], "listedAs");
|
|
1100
1101
|
return {
|
|
1101
1102
|
...context,
|
|
1102
|
-
held: held.filter((one) => only.has(keyOf(
|
|
1103
|
+
held: held.filter((one) => listedAs(one).some((key) => only.has(keyOf(key)))),
|
|
1103
1104
|
groups: { [lock]: groups[lock] ?? [] },
|
|
1104
1105
|
membership: {
|
|
1105
1106
|
groups: { [lock]: members },
|
|
@@ -1145,7 +1146,7 @@ var accountsOfKind = /* @__PURE__ */ __name((kind, chosen, held, explicit, comma
|
|
|
1145
1146
|
return chosenMail.map(({ provider, account }) => ({ provider, account }));
|
|
1146
1147
|
}, "accountsOfKind");
|
|
1147
1148
|
|
|
1148
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/message-resolution.js
|
|
1149
1150
|
var readChatId = /* @__PURE__ */ __name(async (deps, reference, store, account) => {
|
|
1150
1151
|
if (deps.reads !== "store")
|
|
1151
1152
|
return keptChatId(deps.messenger, reference, store, account);
|
|
@@ -1346,7 +1347,7 @@ var chatsMatchingIn = /* @__PURE__ */ __name(async (store, accounts, pattern) =>
|
|
|
1346
1347
|
}, "chatsMatchingIn");
|
|
1347
1348
|
var isText = /* @__PURE__ */ __name((value) => typeof value === "string" && value !== "", "isText");
|
|
1348
1349
|
|
|
1349
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1350
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/pictures.js
|
|
1350
1351
|
var PICTURE_MAX_BYTES = 25 * 1024 * 1024;
|
|
1351
1352
|
var PICTURE_FLOOR = 0.25;
|
|
1352
1353
|
var PAGE = 50;
|
|
@@ -1387,7 +1388,7 @@ var picturesService = /* @__PURE__ */ __name((deps) => {
|
|
|
1387
1388
|
const directory = imageModelsDirectory(deps.env);
|
|
1388
1389
|
if (!isImageModelInstalled(model2, directory))
|
|
1389
1390
|
throw new CliError("not_found", missingModel(model2.id), { reason: "model.not-downloaded", model: model2.id });
|
|
1390
|
-
const { openPictureEmbedder } = await import("./embedder-
|
|
1391
|
+
const { openPictureEmbedder } = await import("./embedder-536EI65E.js");
|
|
1391
1392
|
return openPictureEmbedder(model2, directory);
|
|
1392
1393
|
}, "open");
|
|
1393
1394
|
const embedder = /* @__PURE__ */ __name(() => {
|
|
@@ -1561,7 +1562,7 @@ var withPictures = /* @__PURE__ */ __name((messages, pictures) => ({
|
|
|
1561
1562
|
}, "search")
|
|
1562
1563
|
}), "withPictures");
|
|
1563
1564
|
|
|
1564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1565
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/services/notes-search.js
|
|
1565
1566
|
var storeQuery = /* @__PURE__ */ __name(async (store, text, { exact, timezone } = {}) => resolvedQuery(store, parsedQuery(text, exact), timezone), "storeQuery");
|
|
1566
1567
|
var parsedQuery = /* @__PURE__ */ __name((text, exact) => validateFields(parseLucene(text, { ...SEARCH_QUERY, defaultField: exact ? "exact" : "text" })).root, "parsedQuery");
|
|
1567
1568
|
var resolvedQuery = /* @__PURE__ */ __name(async (store, root, timezone) => {
|
|
@@ -2145,6 +2146,8 @@ export {
|
|
|
2145
2146
|
searchNotesQuery,
|
|
2146
2147
|
localModel,
|
|
2147
2148
|
withLocal,
|
|
2149
|
+
stopsAt,
|
|
2150
|
+
embedChunks,
|
|
2148
2151
|
embedNotes,
|
|
2149
2152
|
embedEvents,
|
|
2150
2153
|
embedMail,
|
|
@@ -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.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/mcp/instructions.js
|
|
8
8
|
var instructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => {
|
|
9
9
|
const all = typeof profile !== "string";
|
|
10
10
|
const offers = /* @__PURE__ */ __name((key) => all || writes.includes(key), "offers");
|
|
@@ -2,31 +2,31 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
updateCommand
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UDP7EQNY.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RHS3OBO5.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TAQUEQ5B.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KXETGAU4.js";
|
|
19
19
|
import {
|
|
20
20
|
installerOf
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-K34B37AP.js";
|
|
22
22
|
import {
|
|
23
23
|
storePath
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-F5XMZDR5.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.735.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_7fb22530c6bf05ba7be1bbee4c3f13e5/node_modules/@wirecat/cli-core/dist/cli/first-run.js
|
|
30
30
|
import { spawnSync } from "node:child_process";
|
|
31
31
|
import { accessSync, constants, realpathSync } from "node:fs";
|
|
32
32
|
import { delimiter, join } from "node:path";
|
|
@@ -84,7 +84,7 @@ var suggested = /* @__PURE__ */ __name((env, contentLanguages) => {
|
|
|
84
84
|
return (own.length ? own : LANGUAGES.filter(({ code }) => code === "en" || code === system)).map(({ name }) => name);
|
|
85
85
|
}, "suggested");
|
|
86
86
|
var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLanguages }) => {
|
|
87
|
-
const { openStore } = await import("./store-
|
|
87
|
+
const { openStore } = await import("./store-RADARFIH.js");
|
|
88
88
|
const store = await openStore({ env });
|
|
89
89
|
let rebuild = false;
|
|
90
90
|
try {
|
|
@@ -113,8 +113,8 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
113
113
|
if (!rebuild)
|
|
114
114
|
return;
|
|
115
115
|
const [{ openCache }, { buildStems }] = await Promise.all([
|
|
116
|
-
import("./open-
|
|
117
|
-
import("./store-maintenance-command-
|
|
116
|
+
import("./open-SERV3YXC.js"),
|
|
117
|
+
import("./store-maintenance-command-UTZWPNUF.js")
|
|
118
118
|
]);
|
|
119
119
|
const database = await openCache(storePath(env));
|
|
120
120
|
try {
|
|
@@ -126,7 +126,7 @@ var askLanguages = /* @__PURE__ */ __name(async ({ command, env, io, contentLang
|
|
|
126
126
|
var askTools = /* @__PURE__ */ __name(async (run) => {
|
|
127
127
|
const { command, env, io } = run;
|
|
128
128
|
const installed = run.installed ?? ((name) => onPath(name, env));
|
|
129
|
-
const { WIRECAT_TOOLS } = await import("./first-screen-
|
|
129
|
+
const { WIRECAT_TOOLS } = await import("./first-screen-3GQGULPE.js");
|
|
130
130
|
const others = WIRECAT_TOOLS.filter((tool) => tool.command !== command);
|
|
131
131
|
const missing = others.filter((tool) => !installed(tool.command));
|
|
132
132
|
io.say("Other WireCat tools \u2014 they share this store, so one search finds everything:");
|
|
@@ -200,7 +200,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
200
200
|
// `setup describe` and `setup apply` are a program's; only the bare walk-through asks everything again.
|
|
201
201
|
all: start.path.length === 1 && start.path[0] === "setup",
|
|
202
202
|
io: {
|
|
203
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
203
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-LCD5ZR7Q.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
204
204
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
205
205
|
`), "say")
|
|
206
206
|
}
|