@wirecat/zoom-cli 0.69.0 → 0.70.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 +1 -1
- package/dist/account-removal.d.ts +6 -0
- package/dist/account-removal.d.ts.map +1 -0
- package/dist/account-removal.js +43 -0
- package/dist/account-removal.js.map +1 -0
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-ZQWPCJEK.js → all-profiles-GE2TFJJP.js} +9 -9
- package/dist/bundle/answer-policy-GOXSDYDD.js +104 -0
- package/dist/bundle/{anthropic-7FUQ2HYJ.js → anthropic-FA6NHENI.js} +9 -7
- package/dist/bundle/{app-server-DNPE2EQB.js → app-server-IRADMSNX.js} +50 -50
- package/dist/bundle/{bun-ZVQFCFCC.js → bun-ZYZGGCX5.js} +2 -2
- package/dist/bundle/{bun-sqlite-EB2UMUPJ.js → bun-sqlite-Y24TUIGS.js} +4 -4
- package/dist/bundle/{chunk-B5D7NZI7.js → chunk-2JEM2YNV.js} +1 -1
- package/dist/bundle/{chunk-JX5JJZC3.js → chunk-2QFPVUM3.js} +2 -2
- package/dist/bundle/{chunk-KAPJQGHE.js → chunk-2U6SER67.js} +1 -1
- package/dist/bundle/{chunk-TWIC6JJG.js → chunk-3KC7C465.js} +7 -7
- package/dist/bundle/{chunk-MOTKS7XG.js → chunk-4DSIWYGO.js} +863 -423
- package/dist/bundle/{chunk-LEA4BGK7.js → chunk-56OV5ASY.js} +11 -11
- package/dist/bundle/{chunk-TN77LX6W.js → chunk-5XWCBLUR.js} +1 -1
- package/dist/bundle/{chunk-SZ3Z4ZNO.js → chunk-6HJFIMT7.js} +1 -1
- package/dist/bundle/{chunk-SQT47CFW.js → chunk-6IF5ZHDS.js} +1 -1
- package/dist/bundle/{chunk-BOAMDYLY.js → chunk-7QC4M4HS.js} +2 -2
- package/dist/bundle/{chunk-MSDCZ6GT.js → chunk-AISJCF7A.js} +4 -4
- package/dist/bundle/{chunk-F5DYBWH7.js → chunk-AT2XKNFN.js} +51 -8
- package/dist/bundle/{chunk-V74QFMSL.js → chunk-AUNW7N4I.js} +1 -1
- package/dist/bundle/{chunk-6TICX3MN.js → chunk-BSS6HX4O.js} +2 -2
- package/dist/bundle/{chunk-5ZJXKASF.js → chunk-BVWF4B33.js} +10 -10
- package/dist/bundle/{chunk-GXDOTUUO.js → chunk-CEJJBZAE.js} +9 -9
- package/dist/bundle/{chunk-IPBZKUC3.js → chunk-CHGUNZ3L.js} +3 -3
- package/dist/bundle/{chunk-O7L44JK2.js → chunk-CIZ25UPK.js} +2259 -1046
- package/dist/bundle/{chunk-JHFP3Z5S.js → chunk-CSEBB4OP.js} +8 -8
- package/dist/bundle/{chunk-RPQ3JOD3.js → chunk-D3PNCJD5.js} +5 -5
- package/dist/bundle/{chunk-R2ULMWB4.js → chunk-DCUWJITQ.js} +29 -29
- package/dist/bundle/{chunk-R3JYPY3J.js → chunk-DNR4B5YV.js} +2 -2
- package/dist/bundle/{chunk-EPPSMCEV.js → chunk-DXCTW3MV.js} +1 -1
- package/dist/bundle/{chunk-B6JMVB6R.js → chunk-EOSVN2ER.js} +1 -1
- package/dist/bundle/{chunk-QW5VPZEH.js → chunk-GB5X3GBE.js} +23 -1
- package/dist/bundle/{chunk-CKK6JOC4.js → chunk-GVT5363M.js} +2 -2
- package/dist/bundle/{chunk-C6TEYKXV.js → chunk-IINZIP73.js} +7 -7
- package/dist/bundle/{chunk-H3MFBYTQ.js → chunk-IS3ZTT2Z.js} +5 -5
- package/dist/bundle/{chunk-HW5QTRFF.js → chunk-IWPXWGF7.js} +33 -33
- package/dist/bundle/{chunk-CUZHKYC2.js → chunk-J3SKXICS.js} +350 -136
- package/dist/bundle/{chunk-ZRHMB3LQ.js → chunk-JRO2FWO2.js} +1 -1
- package/dist/bundle/chunk-JULBAECW.js +126 -0
- package/dist/bundle/{chunk-XITUFTON.js → chunk-KM736RMJ.js} +1 -1
- package/dist/bundle/{chunk-S2EAGDS7.js → chunk-KWRCP55G.js} +11 -11
- package/dist/bundle/{chunk-6KMTQX3D.js → chunk-L24UOUWG.js} +1 -1
- package/dist/bundle/{chunk-G6IX2MD2.js → chunk-LAG5O2FV.js} +180 -222
- package/dist/bundle/{chunk-XRZDYWF6.js → chunk-LXXCLQCW.js} +2 -2
- package/dist/bundle/{chunk-IEC4E65G.js → chunk-M6JIXMQZ.js} +5 -1
- package/dist/bundle/{chunk-QXM7S3Y3.js → chunk-M7E44TMT.js} +5 -5
- package/dist/bundle/{chunk-Z6TTGTMU.js → chunk-M7VUXXGS.js} +19 -4
- package/dist/bundle/{chunk-MNOVYS43.js → chunk-MVOMLJYQ.js} +3 -3
- package/dist/bundle/{chunk-MVDPZRFE.js → chunk-OA37BWE5.js} +1 -1
- package/dist/bundle/{chunk-5H6VTEEC.js → chunk-OAQLVV6W.js} +2 -2
- package/dist/bundle/{chunk-KNE6VFHZ.js → chunk-OORMSM6O.js} +1 -1
- package/dist/bundle/{chunk-UEZ6URJR.js → chunk-PV6OHXHN.js} +16 -16
- package/dist/bundle/{chunk-TFFEFEG2.js → chunk-QL7EMFIC.js} +18 -18
- package/dist/bundle/{chunk-HSI7YOYK.js → chunk-QO2KPU26.js} +16 -16
- package/dist/bundle/{chunk-XJBYGMZ4.js → chunk-RB33VTUW.js} +243 -387
- package/dist/bundle/{chunk-HC56J5LB.js → chunk-RIPAUCKJ.js} +54 -54
- package/dist/bundle/{chunk-WY4NYPPS.js → chunk-RO3ZR4VP.js} +12 -12
- package/dist/bundle/{chunk-BL36NSV5.js → chunk-RQG5VOGH.js} +12 -2
- package/dist/bundle/{chunk-JZ4YOAHA.js → chunk-RRRJCHUC.js} +1767 -1038
- package/dist/bundle/{chunk-37B7A4RP.js → chunk-RWIILYKW.js} +1 -1
- package/dist/bundle/{chunk-3TPRYZUW.js → chunk-SNIY3JDN.js} +18 -18
- package/dist/bundle/{chunk-TKXLWFM2.js → chunk-SVF3NDAO.js} +3 -3
- package/dist/bundle/{chunk-GR3QDHBU.js → chunk-UVPL7YAY.js} +5 -5
- package/dist/bundle/{chunk-6N2D6JGX.js → chunk-V2E7QFZ3.js} +1 -1
- package/dist/bundle/{chunk-4APZQYCH.js → chunk-V5GRSOCZ.js} +4 -4
- package/dist/bundle/{chunk-T5X4LGXE.js → chunk-VE2VNECR.js} +12 -12
- package/dist/bundle/{chunk-QLGG7S6F.js → chunk-VJ5ZU4UF.js} +22 -4
- package/dist/bundle/{chunk-52DCABMU.js → chunk-VNU5L37V.js} +26 -26
- package/dist/bundle/{chunk-LDRQ5NAP.js → chunk-VSLDWT4E.js} +3 -3
- package/dist/bundle/{chunk-LQX74VKG.js → chunk-W7ZEEC4K.js} +1 -1
- package/dist/bundle/{chunk-NRRI37NJ.js → chunk-WOIHSQAL.js} +44 -0
- package/dist/bundle/{chunk-V4MM6GST.js → chunk-X4ZF4XXI.js} +1 -1
- package/dist/bundle/{chunk-FBLUKCIR.js → chunk-XRFHQGOD.js} +1 -1
- package/dist/bundle/{chunk-5GOE6PQK.js → chunk-XWQNJKTP.js} +5 -5
- package/dist/bundle/{chunk-6AMMTXEA.js → chunk-Y6C3N7YG.js} +26 -65
- package/dist/bundle/{chunk-KX5MZVPX.js → chunk-YJSPBUGB.js} +50 -32
- package/dist/bundle/{chunk-MJMVIFSC.js → chunk-YTN2JN6N.js} +7 -7
- package/dist/bundle/{chunk-OSBHEM2A.js → chunk-YUHM2OJM.js} +10 -10
- package/dist/bundle/{chunk-7AUP2WT3.js → chunk-ZBKWRYRS.js} +2 -2
- package/dist/bundle/{chunk-DHD25JII.js → chunk-ZS55EERO.js} +1 -1
- package/dist/bundle/{chunk-L62EJDNZ.js → chunk-ZSKE7N2U.js} +3 -3
- package/dist/bundle/{chunk-5ZF6QVMC.js → chunk-ZV3INEKM.js} +4 -4
- package/dist/bundle/{cli-P3BZUE6S.js → cli-VRSQ7HAE.js} +60 -58
- package/dist/bundle/command-contract-RPRKHVU6.js +41 -0
- package/dist/bundle/config-QU6A6VIO.js +90 -0
- package/dist/bundle/{decode-QWOQXM7M.js → decode-523PUQMR.js} +4 -4
- package/dist/bundle/{dispatch-5MGDLOK4.js → dispatch-IZCAK47P.js} +1 -1
- package/dist/bundle/{dist-OUE4MF37.js → dist-6WWKPEVW.js} +41 -25
- package/dist/bundle/{echarts-65IMPY43.js → echarts-S5UMX2D3.js} +2 -2
- package/dist/bundle/{embed-4IULBCKL.js → embed-ODPDVHUK.js} +5 -5
- package/dist/bundle/{embedder-JW4W6IZI.js → embedder-PAXRBSZE.js} +8 -8
- package/dist/bundle/{failure-CR64C4XA.js → failure-R2OIHCE5.js} +1 -1
- package/dist/bundle/{first-run-CH6C674R.js → first-run-NVTDR5VO.js} +8 -8
- package/dist/bundle/first-screen-5RWZDWLK.js +39 -0
- package/dist/bundle/{folders-VU4IN35Y.js → folders-ZXTOFY4T.js} +3 -3
- package/dist/bundle/{instructions-G5QIH2TM.js → instructions-DUB7E6C5.js} +1 -1
- package/dist/bundle/{main-O4ZJIEWP.js → main-A7JSYQI6.js} +18 -18
- package/dist/bundle/{meetings-77CCAVYD.js → meetings-BDZQV3HR.js} +4 -4
- package/dist/bundle/{node-E6VQHU4Y.js → node-E25KP53H.js} +2 -2
- package/dist/bundle/{node-sqlite-RJZ4PGLD.js → node-sqlite-PHWDFZCP.js} +5 -5
- package/dist/bundle/{oauth-F4JKNRW4.js → oauth-G2K46IYP.js} +6 -6
- package/dist/bundle/{open-NYOGMIAA.js → open-INWS5HIZ.js} +4 -4
- package/dist/bundle/{openai-5U6EQTFQ.js → openai-T44ORVGQ.js} +10 -10
- package/dist/bundle/{output-file-6COFGPUL.js → output-file-YGQYZCBJ.js} +4 -4
- package/dist/bundle/{process-OBWUKBMX.js → process-UJ2JHMJN.js} +1 -1
- package/dist/bundle/{program-MU7DEJTO.js → program-LYTGFV6L.js} +115 -72
- package/dist/bundle/{prompt-2QWQTHWT.js → prompt-VTUCRCE4.js} +6 -4
- package/dist/bundle/{recognize-SNUNTUC3.js → recognize-3CEPOW2F.js} +3 -3
- package/dist/bundle/{remote-2CTCIQGF.js → remote-DRQEXEZL.js} +6 -6
- package/dist/bundle/{rerank-XDA7NJNH.js → rerank-UL4KNNVN.js} +6 -6
- package/dist/bundle/{run-log-NSG3DJVX.js → run-log-UZAB5CWF.js} +54 -54
- package/dist/bundle/{serve-TWQFHOV2.js → serve-P5UWUOWQ.js} +8 -8
- package/dist/bundle/server-F3NPVMS2.js +72 -0
- package/dist/bundle/{server-RIQ6HMH2.js → server-M6XK2Y3X.js} +42 -42
- package/dist/bundle/{services-NKZQJQIV.js → services-4HRYNY62.js} +60 -30
- package/dist/bundle/{speech-ZOB76SXA.js → speech-BBPBMFAO.js} +12 -12
- package/dist/bundle/{state-7YYEIXQ5.js → state-GDSUNUSY.js} +5 -5
- package/dist/bundle/{store-E6RTSSNR.js → store-LBQ6FZP2.js} +33 -16
- package/dist/bundle/{store-OX4HRBLO.js → store-VWLABMLF.js} +27 -18
- package/dist/bundle/store-connection-XEBFP56U.js +83 -0
- package/dist/bundle/store-maintenance-command-G43JN57J.js +61 -0
- package/dist/bundle/{streaming-O53PIORL.js → streaming-EJ3NM2C2.js} +5 -5
- package/dist/bundle/{tokens-QKNEP2GJ.js → tokens-BE6CJMR5.js} +5 -5
- package/dist/bundle/zm.js +3 -3
- package/dist/bundle/{zoom-app-TSI2MGVK.js → zoom-app-YIEJLWCW.js} +6 -6
- package/dist/first-screen.d.ts.map +1 -1
- package/dist/first-screen.js +1 -0
- package/dist/first-screen.js.map +1 -1
- package/dist/permissions.js +1 -1
- package/dist/permissions.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +11 -0
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +2 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +11 -0
- package/dist/tokens.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/answer-policy-VBDYLUXI.js +0 -104
- package/dist/bundle/chunk-2SYWVIQJ.js +0 -33
- package/dist/bundle/command-contract-TOLB32NJ.js +0 -41
- package/dist/bundle/config-4KLLIADY.js +0 -90
- package/dist/bundle/first-screen-OCAW5ZN6.js +0 -39
- package/dist/bundle/server-XO6XQQTJ.js +0 -72
- package/dist/bundle/store-connection-55QPNUDS.js +0 -83
- package/dist/bundle/store-maintenance-command-Q5MSU6OK.js +0 -62
|
@@ -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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/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");
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
parseReference
|
|
5
|
+
} from "./chunk-Y6C3N7YG.js";
|
|
6
|
+
import {
|
|
7
|
+
__name
|
|
8
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
9
|
+
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/domain/links.js
|
|
11
|
+
var LINK_VERSION = "v1";
|
|
12
|
+
var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
|
|
13
|
+
var APP_PREFIX = "wirecat://open";
|
|
14
|
+
var MAX_PATH = 512;
|
|
15
|
+
var MAX_SEGMENTS = 6;
|
|
16
|
+
var TASK_FILTERS = ["overdue", "today", "tomorrow"];
|
|
17
|
+
var DATE = /^\d{4}-\d{2}-\d{2}$/;
|
|
18
|
+
var DATE_TIME = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(\.\d+)?)?(Z|[+-]\d{2}:\d{2})$/;
|
|
19
|
+
var isMoment = /* @__PURE__ */ __name((text, pattern) => pattern.test(text) && !Number.isNaN(Date.parse(text)), "isMoment");
|
|
20
|
+
var partsOf = /* @__PURE__ */ __name((target) => {
|
|
21
|
+
switch (target.type) {
|
|
22
|
+
case "message":
|
|
23
|
+
return ["msg", target.provider, target.account, target.chat, target.message];
|
|
24
|
+
case "chat":
|
|
25
|
+
return ["chat", target.provider, target.account, target.chat];
|
|
26
|
+
case "task":
|
|
27
|
+
return ["task", target.id];
|
|
28
|
+
case "tasks":
|
|
29
|
+
return target.filter === "new" ? ["tasks", "new", target.since] : ["tasks", target.filter];
|
|
30
|
+
case "proposal":
|
|
31
|
+
return ["proposal", target.id];
|
|
32
|
+
case "digest":
|
|
33
|
+
return ["digest", target.date];
|
|
34
|
+
case "sync":
|
|
35
|
+
return target.account === void 0 ? ["sync", target.tool] : ["sync", target.tool, target.account];
|
|
36
|
+
}
|
|
37
|
+
}, "partsOf");
|
|
38
|
+
var pathOf = /* @__PURE__ */ __name((target) => partsOf(target).map(encodeURIComponent).join("/"), "pathOf");
|
|
39
|
+
var targetOfParts = /* @__PURE__ */ __name((parts) => {
|
|
40
|
+
const [kind, ...rest] = parts;
|
|
41
|
+
const [a = "", b = "", c = "", d = ""] = rest;
|
|
42
|
+
switch (kind) {
|
|
43
|
+
case "msg":
|
|
44
|
+
return rest.length === 4 ? { type: "message", provider: a, account: b, chat: c, message: d } : null;
|
|
45
|
+
case "chat":
|
|
46
|
+
return rest.length === 3 ? { type: "chat", provider: a, account: b, chat: c } : null;
|
|
47
|
+
case "task":
|
|
48
|
+
return rest.length === 1 ? { type: "task", id: a } : null;
|
|
49
|
+
case "tasks":
|
|
50
|
+
if (rest.length === 1 && TASK_FILTERS.includes(a))
|
|
51
|
+
return { type: "tasks", filter: a };
|
|
52
|
+
return rest.length === 2 && a === "new" && (isMoment(b, DATE) || isMoment(b, DATE_TIME)) ? { type: "tasks", filter: "new", since: b } : null;
|
|
53
|
+
case "proposal":
|
|
54
|
+
return rest.length === 1 ? { type: "proposal", id: a } : null;
|
|
55
|
+
case "digest":
|
|
56
|
+
return rest.length === 1 && isMoment(a, DATE) ? { type: "digest", date: a } : null;
|
|
57
|
+
case "sync":
|
|
58
|
+
return rest.length === 1 || rest.length === 2 ? { type: "sync", tool: a, ...rest.length === 2 ? { account: b } : {} } : null;
|
|
59
|
+
default:
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
}, "targetOfParts");
|
|
63
|
+
var targetOfPath = /* @__PURE__ */ __name((path) => {
|
|
64
|
+
const raw = path.split("/");
|
|
65
|
+
if (raw.some((part) => part === ""))
|
|
66
|
+
return null;
|
|
67
|
+
try {
|
|
68
|
+
return targetOfParts(raw.map(decodeURIComponent));
|
|
69
|
+
} catch {
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
}, "targetOfPath");
|
|
73
|
+
var formatLink = /* @__PURE__ */ __name((target) => `/${LINK_VERSION}/${pathOf(target)}`, "formatLink");
|
|
74
|
+
var parseLink = /* @__PURE__ */ __name((text) => {
|
|
75
|
+
const link = text.trim();
|
|
76
|
+
const path = link.startsWith(`${APP_PREFIX}/`) ? link.slice(APP_PREFIX.length) : link.startsWith("https://") && link.includes("#") ? link.slice(link.indexOf("#") + 1) : link;
|
|
77
|
+
if (path.length > MAX_PATH || !path.startsWith(`/${LINK_VERSION}/`))
|
|
78
|
+
return null;
|
|
79
|
+
const rest = path.split("?")[0].slice(LINK_VERSION.length + 2);
|
|
80
|
+
if (rest.split("/").length + 1 > MAX_SEGMENTS)
|
|
81
|
+
return null;
|
|
82
|
+
return targetOfPath(rest);
|
|
83
|
+
}, "parseLink");
|
|
84
|
+
var LINK_ONLY = /* @__PURE__ */ new Set(["tasks", "proposal", "digest", "sync"]);
|
|
85
|
+
var FROM_REFERENCE = /* @__PURE__ */ new Set(["message", "chat", "task"]);
|
|
86
|
+
var linkTargetOf = /* @__PURE__ */ __name((ref) => {
|
|
87
|
+
const text = ref.trim();
|
|
88
|
+
const colon = text.indexOf(":");
|
|
89
|
+
if (colon < 0)
|
|
90
|
+
return null;
|
|
91
|
+
const kind = text.slice(0, colon);
|
|
92
|
+
if (LINK_ONLY.has(kind))
|
|
93
|
+
return targetOfPath(`${kind}/${text.slice(colon + 1)}`);
|
|
94
|
+
try {
|
|
95
|
+
const reference = parseReference(text);
|
|
96
|
+
return FROM_REFERENCE.has(reference.type) ? reference : null;
|
|
97
|
+
} catch {
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
}, "linkTargetOf");
|
|
101
|
+
var linkConfigOf = /* @__PURE__ */ __name((section) => {
|
|
102
|
+
const value = section && typeof section === "object" ? section : {};
|
|
103
|
+
const base = typeof value.base === "string" && /^https:\/\/[^\s#?]+$/.test(value.base) ? value.base.replace(/\/+$/, "") : DEFAULT_LINK_CONFIG.base;
|
|
104
|
+
return { base, enabled: typeof value.enabled === "boolean" ? value.enabled : DEFAULT_LINK_CONFIG.enabled };
|
|
105
|
+
}, "linkConfigOf");
|
|
106
|
+
var linkFor = /* @__PURE__ */ __name((ref, { form, config = DEFAULT_LINK_CONFIG, env = process.env }) => {
|
|
107
|
+
if (!config.enabled || env.WIRECAT_LINKS === "off")
|
|
108
|
+
return null;
|
|
109
|
+
const target = typeof ref === "string" ? linkTargetOf(ref) : ref;
|
|
110
|
+
if (target === null)
|
|
111
|
+
return null;
|
|
112
|
+
const path = formatLink(target);
|
|
113
|
+
if (path.length > MAX_PATH || parseLink(path) === null)
|
|
114
|
+
return null;
|
|
115
|
+
return form === "app" ? `${APP_PREFIX}${path}` : `${config.base}#${path}`;
|
|
116
|
+
}, "linkFor");
|
|
117
|
+
|
|
118
|
+
export {
|
|
119
|
+
LINK_VERSION,
|
|
120
|
+
DEFAULT_LINK_CONFIG,
|
|
121
|
+
formatLink,
|
|
122
|
+
parseLink,
|
|
123
|
+
linkTargetOf,
|
|
124
|
+
linkConfigOf,
|
|
125
|
+
linkFor
|
|
126
|
+
};
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
16
16
|
import { styleText } from "node:util";
|
|
17
17
|
var TIME_WIDTH = 8;
|
|
18
18
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -2,23 +2,23 @@ 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-7QC4M4HS.js";
|
|
6
6
|
import {
|
|
7
7
|
QUESTIONS,
|
|
8
8
|
readSetupAnswers,
|
|
9
9
|
unanswered,
|
|
10
10
|
writeSetupAnswers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CHGUNZ3L.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_STEMMERS,
|
|
14
14
|
LANGUAGES
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3KC7C465.js";
|
|
16
16
|
import {
|
|
17
17
|
sharedConfigPath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UVPL7YAY.js";
|
|
19
19
|
import {
|
|
20
20
|
storePath
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GVT5363M.js";
|
|
22
22
|
import {
|
|
23
23
|
installerOf
|
|
24
24
|
} from "./chunk-P3ASN72F.js";
|
|
@@ -26,7 +26,7 @@ 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.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/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-LBQ6FZP2.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-INWS5HIZ.js"),
|
|
117
|
+
import("./store-maintenance-command-G43JN57J.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-5RWZDWLK.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:");
|
|
@@ -199,7 +199,7 @@ var setupAtStart = /* @__PURE__ */ __name(async (start) => {
|
|
|
199
199
|
contentLanguages: start.contentLanguages,
|
|
200
200
|
all: start.path[0] === "setup",
|
|
201
201
|
io: {
|
|
202
|
-
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-
|
|
202
|
+
ask: /* @__PURE__ */ __name(async (prompt) => (await import("./prompt-VTUCRCE4.js")).readSecret(prompt, { input, echo: true }), "ask"),
|
|
203
203
|
say: /* @__PURE__ */ __name((text) => process.stderr.write(`${text}
|
|
204
204
|
`), "say")
|
|
205
205
|
}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.614.0_@wirecat+cli-base@0.80.8_commander@15.0.0_esbuild@0.28.2_type_3bb6323e04e526bd9df39f840434b06b/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|