@wirecat/zoom-cli 0.61.0 → 0.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-HZLIU6RZ.js → all-profiles-CGGNBINU.js} +8 -8
- package/dist/bundle/answer-policy-V2KDPLDO.js +96 -0
- package/dist/bundle/{anthropic-O2YYPCVK.js → anthropic-KVWPIHFG.js} +4 -4
- package/dist/bundle/{app-server-YYCANTUE.js → app-server-NKKFBTQN.js} +50 -50
- package/dist/bundle/{bun-UEFRULAT.js → bun-XRO6XJHQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-VVYKOY7S.js → bun-sqlite-FWNCLOAR.js} +3 -3
- package/dist/bundle/{chunk-IKZFR645.js → chunk-2DPMYUWQ.js} +10 -10
- package/dist/bundle/{chunk-LX6DO44O.js → chunk-2LLNPNMB.js} +1 -1
- package/dist/bundle/{chunk-P2NRA7E5.js → chunk-2NAM2XQG.js} +2 -2
- package/dist/bundle/{chunk-KXYURHVE.js → chunk-2T7MUSDB.js} +95 -95
- package/dist/bundle/{chunk-S726LZCH.js → chunk-3YBDRVOG.js} +6 -6
- package/dist/bundle/{chunk-4XI4PDEH.js → chunk-4OQVRDTG.js} +20 -20
- package/dist/bundle/{chunk-RSXLI5GP.js → chunk-4OTXE6CF.js} +52 -52
- package/dist/bundle/{chunk-UYAKSUT5.js → chunk-5LMQTEU5.js} +5 -5
- package/dist/bundle/{chunk-BNUNZTOU.js → chunk-5MYLM6SU.js} +44 -26
- package/dist/bundle/{chunk-YESOQEOB.js → chunk-5NLFQ644.js} +543 -288
- package/dist/bundle/{chunk-5NRBNGR3.js → chunk-6R3GMSLR.js} +2 -2
- package/dist/bundle/{chunk-MTAVA2LS.js → chunk-6SK5SHCR.js} +2 -2
- package/dist/bundle/{chunk-H5EAHMQN.js → chunk-6SPWQCJF.js} +11 -11
- package/dist/bundle/{chunk-E4T7IJJO.js → chunk-6URISMGR.js} +26 -26
- package/dist/bundle/{chunk-XZ4OVTA5.js → chunk-72S5TXFN.js} +9 -9
- package/dist/bundle/{chunk-F32GKBMF.js → chunk-7AY3ADNV.js} +5 -5
- package/dist/bundle/{chunk-COU66X3X.js → chunk-7CNRZSAV.js} +4 -4
- package/dist/bundle/{chunk-77GJITSU.js → chunk-7LQLJ7LW.js} +2 -2
- package/dist/bundle/{chunk-KGZHRJ7H.js → chunk-AMIIU3UZ.js} +4 -4
- package/dist/bundle/{chunk-HTGBUE2U.js → chunk-BJPFWPKH.js} +2 -2
- package/dist/bundle/{chunk-2M2U43IF.js → chunk-BNTAQADF.js} +2 -2
- package/dist/bundle/{chunk-PCUPOGKR.js → chunk-BPMKLWHV.js} +4 -4
- package/dist/bundle/{chunk-JKWYXBGK.js → chunk-CXPHUOJR.js} +12 -12
- package/dist/bundle/{chunk-NVN4O5IC.js → chunk-D6FTCPXA.js} +9 -9
- package/dist/bundle/{chunk-KZGHGU2M.js → chunk-DIXC56OU.js} +4 -4
- package/dist/bundle/{chunk-TD4Y5LXG.js → chunk-ECXRRW7J.js} +18 -18
- package/dist/bundle/{chunk-M3EVVGR6.js → chunk-EG7HC4EC.js} +2 -2
- package/dist/bundle/{chunk-B45MFBBF.js → chunk-EJFSS65P.js} +6 -6
- package/dist/bundle/{chunk-FQ54A7GI.js → chunk-EOEDICIE.js} +1 -1
- package/dist/bundle/{chunk-7ATLKYBN.js → chunk-FAOLCUKV.js} +17 -17
- package/dist/bundle/{chunk-KPZIQKOF.js → chunk-FDCGTODC.js} +1 -1
- package/dist/bundle/{chunk-OU46OTTE.js → chunk-GOESXUJQ.js} +3 -3
- package/dist/bundle/{chunk-CUSGSXSR.js → chunk-HIZQYFY3.js} +3 -3
- package/dist/bundle/{chunk-MBMDF5EL.js → chunk-IK2OSV5C.js} +6 -6
- package/dist/bundle/{chunk-6SLGIPLT.js → chunk-IOCS5FXW.js} +2 -2
- package/dist/bundle/{chunk-AOSIU5T6.js → chunk-IOUPXUFH.js} +37 -36
- package/dist/bundle/{chunk-KZV5GU7G.js → chunk-IR73ZZY6.js} +8 -8
- package/dist/bundle/{chunk-FBJC7OCI.js → chunk-JBBZCTTF.js} +1 -1
- package/dist/bundle/{chunk-QHT2LZRW.js → chunk-JDJDVYGS.js} +6 -6
- package/dist/bundle/{chunk-4XPIOW5L.js → chunk-KM7Q67Z3.js} +1 -1
- package/dist/bundle/{chunk-U4Y2QQ2D.js → chunk-KMQUZ4YM.js} +3 -3
- package/dist/bundle/{chunk-XX2PDQ54.js → chunk-LTE6WH22.js} +24 -24
- package/dist/bundle/{chunk-CMG54Q4X.js → chunk-LXYC75D3.js} +25 -25
- package/dist/bundle/{chunk-E4QPLXZT.js → chunk-M2WQWF3I.js} +47 -47
- package/dist/bundle/{chunk-T7IQMYPW.js → chunk-M6FCCVYZ.js} +4 -3
- package/dist/bundle/{chunk-HF233RN4.js → chunk-MI3JK6MW.js} +10 -10
- package/dist/bundle/{chunk-FXY45HU7.js → chunk-MIUPH3WA.js} +6 -6
- package/dist/bundle/{chunk-7DMMNCY2.js → chunk-MLNC5N7H.js} +3 -3
- package/dist/bundle/{chunk-OLZE27RS.js → chunk-N3KQ7XND.js} +2 -2
- package/dist/bundle/{chunk-XOJGXWTK.js → chunk-NQCFUYC2.js} +8 -8
- package/dist/bundle/{chunk-VARX3SBT.js → chunk-NVC4VQ2B.js} +1 -1
- package/dist/bundle/{chunk-6LHTWR3X.js → chunk-Q4ZE2LXE.js} +2 -2
- package/dist/bundle/{chunk-67WW33JB.js → chunk-QLQ7VVLK.js} +4 -4
- package/dist/bundle/{chunk-6RV7KXDF.js → chunk-QUWMFBMS.js} +6 -6
- package/dist/bundle/{chunk-SVBM6F4Z.js → chunk-RUJBN7ZP.js} +1 -1
- package/dist/bundle/{chunk-WVYSOV3C.js → chunk-RWG44LQD.js} +4 -4
- package/dist/bundle/{chunk-L7VIPVHL.js → chunk-SB47UAW2.js} +49 -39
- package/dist/bundle/{chunk-LXOSBFWW.js → chunk-SEH7DBAM.js} +7 -7
- package/dist/bundle/{chunk-O3WVOAT7.js → chunk-SLBMXXOW.js} +10 -10
- package/dist/bundle/{chunk-FAOVUALC.js → chunk-SPJJCD2A.js} +13 -13
- package/dist/bundle/{chunk-UPWHCUVA.js → chunk-TILW3EJY.js} +334 -293
- package/dist/bundle/{chunk-LPJ3S6GE.js → chunk-TQFCPUIM.js} +1 -1
- package/dist/bundle/{chunk-BPQNTYLN.js → chunk-TZE6WXID.js} +565 -297
- package/dist/bundle/{chunk-OMUX4LSS.js → chunk-UD4FKICZ.js} +4 -4
- package/dist/bundle/{chunk-DLAFGSTN.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-35X6G276.js → chunk-URJZK4GX.js} +1 -1
- package/dist/bundle/{chunk-RGOBGHWE.js → chunk-VFJ3MOIR.js} +3 -3
- package/dist/bundle/{chunk-GNHPYQMM.js → chunk-XAXXEZZ5.js} +2 -2
- package/dist/bundle/{chunk-OVVDOVLN.js → chunk-YBMOFCY5.js} +2 -2
- package/dist/bundle/{chunk-3TGR4RDD.js → chunk-YF2PT5KA.js} +31 -31
- package/dist/bundle/{chunk-ABCHE4YP.js → chunk-YFIUXE25.js} +3 -3
- package/dist/bundle/{chunk-MVRCLMQL.js → chunk-YI6ZNDPC.js} +22 -12
- package/dist/bundle/{chunk-B3PTSX5D.js → chunk-YJN4XYNA.js} +2 -2
- package/dist/bundle/{cli-O4LAGYXI.js → cli-AHPIESAC.js} +63 -53
- package/dist/bundle/command-contract-HVLI3OKU.js +38 -0
- package/dist/bundle/config-3SFEGYZO.js +78 -0
- package/dist/bundle/{decode-WRMZJJCR.js → decode-ZU7WLMMV.js} +3 -3
- package/dist/bundle/{dist-SQK4GIJT.js → dist-LTS7VI3S.js} +14 -14
- package/dist/bundle/{echarts-3DOOJSQR.js → echarts-YNGCOYHW.js} +2 -2
- package/dist/bundle/{embed-OYRHTMFI.js → embed-VWWOW7PP.js} +4 -4
- package/dist/bundle/{embedder-ZAYCL22W.js → embedder-T5GJC7M2.js} +7 -7
- package/dist/bundle/{first-run-QXSPIXOQ.js → first-run-PX3SHPUU.js} +8 -8
- package/dist/bundle/first-screen-RAPEZG57.js +36 -0
- package/dist/bundle/{folders-EXQLKXVK.js → folders-VXMDFC2D.js} +2 -2
- package/dist/bundle/{instructions-GFEOB7XJ.js → instructions-GJHHFV64.js} +1 -1
- package/dist/bundle/{main-RADF3CRI.js → main-APVJXUJE.js} +16 -16
- package/dist/bundle/{mcp-WSGVVZWI.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{meetings-6BIIT42H.js → meetings-GHYNIOHG.js} +4 -4
- package/dist/bundle/{node-A3B2YRQI.js → node-GFOH6FKP.js} +2 -2
- package/dist/bundle/{node-sqlite-XRP5FUDY.js → node-sqlite-QXKSPHTP.js} +3 -3
- package/dist/bundle/{oauth-YICY4AN4.js → oauth-A6I2OMDD.js} +5 -5
- package/dist/bundle/{open-4CNKSQRB.js → open-TQKCU447.js} +2 -2
- package/dist/bundle/{openai-YYRO3X7I.js → openai-XE3BJXOI.js} +9 -9
- package/dist/bundle/{output-file-7BXYV6OL.js → output-file-FQNFCUKE.js} +3 -3
- package/dist/bundle/{process-A45QXKID.js → process-XVDX4SPD.js} +1 -1
- package/dist/bundle/{program-DTP7BRTW.js → program-QRKEXYDG.js} +70 -69
- package/dist/bundle/{prompt-5LMKO7SE.js → prompt-ISYG5RWM.js} +3 -3
- package/dist/bundle/{recognize-MB6WRGUD.js → recognize-KENPECLZ.js} +2 -2
- package/dist/bundle/{remote-PD7WMTTS.js → remote-ZP5XTDCC.js} +5 -5
- package/dist/bundle/{rerank-7E6GQ5Y6.js → rerank-SG653RHT.js} +5 -5
- package/dist/bundle/{run-log-TCFK4LEC.js → run-log-HYKGQ42E.js} +53 -53
- package/dist/bundle/{serve-JBT2BWHK.js → serve-6UJCZD7Z.js} +7 -7
- package/dist/bundle/server-AXE37E6Q.js +66 -0
- package/dist/bundle/{server-H2UPGGBI.js → server-ZAYEDPFR.js} +42 -42
- package/dist/bundle/{services-SJOTKL5V.js → services-KMH7XZPY.js} +31 -27
- package/dist/bundle/{speech-4SL25GSC.js → speech-LINBLG5E.js} +11 -11
- package/dist/bundle/{state-FVMTDZ6B.js → state-4RKZNHE7.js} +4 -4
- package/dist/bundle/{store-TI77SCNL.js → store-253N7NUC.js} +15 -15
- package/dist/bundle/{store-DNPKBUVO.js → store-JTBHRQZK.js} +13 -13
- package/dist/bundle/store-connection-ID2ETC7F.js +76 -0
- package/dist/bundle/store-maintenance-command-XRNECVDU.js +55 -0
- package/dist/bundle/{streaming-UHAHGPH5.js → streaming-YW64OKKQ.js} +4 -4
- package/dist/bundle/{tokens-Y2MX6JBL.js → tokens-DPBC2P3I.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +1 -0
- package/dist/run.js.map +1 -1
- package/dist/tokens.d.ts +6 -1
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +21 -10
- package/dist/tokens.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/answer-policy-GRODO2DY.js +0 -96
- package/dist/bundle/command-contract-67QKBY6M.js +0 -38
- package/dist/bundle/config-ABURZDD2.js +0 -78
- package/dist/bundle/first-screen-MD6HWIJW.js +0 -36
- package/dist/bundle/server-CFIKEPLG.js +0 -66
- package/dist/bundle/store-connection-GIFWWMNO.js +0 -76
- package/dist/bundle/store-maintenance-command-WBKGF2CZ.js +0 -55
- /package/dist/bundle/{chunk-62EDJKGP.js → chunk-NPGVOZVK.js} +0 -0
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/atomic-write.js
|
|
11
11
|
import { randomUUID } from "node:crypto";
|
|
12
12
|
import { constants } from "node:fs";
|
|
13
13
|
import { link, open, realpath, rename, unlink } from "node:fs/promises";
|
|
@@ -45,7 +45,7 @@ var writeFileAtomic = /* @__PURE__ */ __name(async (path, content, { mode = 384,
|
|
|
45
45
|
}
|
|
46
46
|
}, "writeFileAtomic");
|
|
47
47
|
|
|
48
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
48
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/ordinary-file.js
|
|
49
49
|
import { constants as constants2 } from "node:fs";
|
|
50
50
|
import { lstat, open as open2 } from "node:fs/promises";
|
|
51
51
|
var deviceOf = /* @__PURE__ */ __name((dev) => process.platform === "win32" ? BigInt.asUintN(32, dev) : dev, "deviceOf");
|
|
@@ -111,7 +111,7 @@ var syncDirectory = /* @__PURE__ */ __name(async (path) => {
|
|
|
111
111
|
}
|
|
112
112
|
}, "syncDirectory");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/bounded-utf8.js
|
|
115
115
|
var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
116
116
|
if (!Number.isSafeInteger(maxBytes) || maxBytes < 1 || maxBytes > 16 * 1024 * 1024)
|
|
117
117
|
throw new CliError("validation_error", "file maxBytes takes 1\u201316777216 bytes");
|
|
@@ -140,21 +140,21 @@ var readBoundedUtf8File = /* @__PURE__ */ __name(async (path, { maxBytes }) => {
|
|
|
140
140
|
}
|
|
141
141
|
}, "readBoundedUtf8File");
|
|
142
142
|
|
|
143
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
143
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
144
144
|
import { mkdir as mkdir2 } from "node:fs/promises";
|
|
145
145
|
import { basename as basename2, dirname as dirname2 } from "node:path";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
148
148
|
import { randomUUID as randomUUID2 } from "node:crypto";
|
|
149
149
|
import { lstat as lstat3, mkdir, open as open3, realpath as realpath3, rmdir as rmdir2, unlink as unlink4 } from "node:fs/promises";
|
|
150
150
|
import { hostname as hostname2 } from "node:os";
|
|
151
151
|
import { join as join3 } from "node:path";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
154
154
|
import { lstat as lstat2, readdir, realpath as realpath2, unlink as unlink2 } from "node:fs/promises";
|
|
155
155
|
import { join as join2 } from "node:path";
|
|
156
156
|
|
|
157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/native-lease-owner.js
|
|
158
158
|
import { hostname } from "node:os";
|
|
159
159
|
var missingLeaseFile = /* @__PURE__ */ __name((error) => typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT", "missingLeaseFile");
|
|
160
160
|
var readLeaseOwner = /* @__PURE__ */ __name(async (path, name, signal) => {
|
|
@@ -199,7 +199,7 @@ var leaseOwnerStatus = /* @__PURE__ */ __name((owner) => {
|
|
|
199
199
|
}
|
|
200
200
|
}, "leaseOwnerStatus");
|
|
201
201
|
|
|
202
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/native-lease-inspection.js
|
|
203
203
|
var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
204
204
|
const inspect = /* @__PURE__ */ __name(async (destination, options = {}) => {
|
|
205
205
|
options.signal?.throwIfAborted();
|
|
@@ -258,7 +258,7 @@ var leaseInspection = /* @__PURE__ */ __name((markerDirectory) => {
|
|
|
258
258
|
return { inspect, recover };
|
|
259
259
|
}, "leaseInspection");
|
|
260
260
|
|
|
261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
261
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/native-lease-release.js
|
|
262
262
|
import { rmdir, unlink as unlink3 } from "node:fs/promises";
|
|
263
263
|
var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identity) => {
|
|
264
264
|
let releasing;
|
|
@@ -283,7 +283,7 @@ var ownedNativeLease = /* @__PURE__ */ __name((path, name, owner, folder, identi
|
|
|
283
283
|
};
|
|
284
284
|
}, "ownedNativeLease");
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/native-writer-lease.js
|
|
287
287
|
var validName = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length > 0 && value !== "." && value !== ".." && !/[\\/\0:]/.test(value), "validName");
|
|
288
288
|
var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
289
289
|
const { markerDirectory, legacyMarker } = layout;
|
|
@@ -354,7 +354,7 @@ var nativeWriterLeaseStore = /* @__PURE__ */ __name((layout) => {
|
|
|
354
354
|
};
|
|
355
355
|
}, "nativeWriterLeaseStore");
|
|
356
356
|
|
|
357
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
357
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/files/lock.js
|
|
358
358
|
var acquireLock = /* @__PURE__ */ __name(async (path, { signal } = {}) => {
|
|
359
359
|
const folder = dirname2(path);
|
|
360
360
|
await mkdir2(folder, { recursive: true, mode: 448 });
|
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
reference,
|
|
22
22
|
string,
|
|
23
23
|
variant
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-SB47UAW2.js";
|
|
25
25
|
import {
|
|
26
26
|
__name
|
|
27
27
|
} from "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
|
|
29
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
29
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
30
30
|
var QUERY_LIMITS = {
|
|
31
31
|
bytes: 8192,
|
|
32
32
|
depth: 32,
|
|
@@ -70,7 +70,7 @@ function queryError(reason, span, alternative, context = {}, details = {}) {
|
|
|
70
70
|
__name(queryError, "queryError");
|
|
71
71
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
74
74
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
75
75
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
76
76
|
try {
|
|
@@ -215,7 +215,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
215
215
|
};
|
|
216
216
|
}, "dateRange");
|
|
217
217
|
|
|
218
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
218
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
219
219
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
220
220
|
var OPERATORS_BY_TYPE = {
|
|
221
221
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -292,7 +292,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
292
292
|
return [...own, ...relations, ...states];
|
|
293
293
|
}, "queryFieldsOf");
|
|
294
294
|
|
|
295
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
295
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
|
|
296
296
|
var QUERY_SYNTAX = 'field:value \xB7 "a phrase" \xB7 word* \xB7 AND OR NOT \xB7 ( ) \xB7 [a TO b] \xB7 > >= < <=';
|
|
297
297
|
var kindOf = /* @__PURE__ */ __name((field) => field.values ? `${field.type}: ${field.values.join("|")}` : `${field.type}: ${field.operators.join(", ")}`, "kindOf");
|
|
298
298
|
var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
@@ -308,7 +308,7 @@ var fieldsHelp = /* @__PURE__ */ __name((registry, guide) => {
|
|
|
308
308
|
].join("\n");
|
|
309
309
|
}, "fieldsHelp");
|
|
310
310
|
|
|
311
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
311
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
312
312
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
313
313
|
var reserved = /* @__PURE__ */ new Set([
|
|
314
314
|
"+",
|
|
@@ -613,7 +613,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text) => {
|
|
|
613
613
|
return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
|
|
614
614
|
}, "implicitTextTerms");
|
|
615
615
|
|
|
616
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
616
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
617
617
|
var inContext = /* @__PURE__ */ __name((context, run) => {
|
|
618
618
|
try {
|
|
619
619
|
run();
|
|
@@ -688,7 +688,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
688
688
|
}, "validateQuery");
|
|
689
689
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
690
690
|
|
|
691
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
691
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
692
692
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
693
693
|
entity: registry.entity,
|
|
694
694
|
backend: registry.backend,
|
|
@@ -759,7 +759,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
759
759
|
details: [...SPAN, ...details]
|
|
760
760
|
})));
|
|
761
761
|
|
|
762
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
762
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
|
|
763
763
|
var wordsOf = /* @__PURE__ */ __name((text) => text.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
764
764
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
765
765
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5LMQTEU5.js";
|
|
8
8
|
import {
|
|
9
9
|
storePath
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EG7HC4EC.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SB47UAW2.js";
|
|
14
14
|
import {
|
|
15
15
|
__name
|
|
16
16
|
} from "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/setup-answers.js
|
|
19
19
|
var PERMISSION_ANSWERS = ["readonly", "allow"];
|
|
20
20
|
var QUESTIONS = ["languages", "tools", "permissions"];
|
|
21
21
|
var SECTION = "setup";
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
AUDIT_MIN_SCORE,
|
|
5
5
|
throughWrapper
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5NLFQ644.js";
|
|
7
7
|
import {
|
|
8
8
|
Command,
|
|
9
9
|
InvalidArgumentError,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
renderAnswer,
|
|
17
17
|
sharedCommand,
|
|
18
18
|
snakeKeys
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IOUPXUFH.js";
|
|
20
20
|
import {
|
|
21
21
|
readOnlyLockOf
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Q4ZE2LXE.js";
|
|
23
23
|
import {
|
|
24
24
|
formatReference
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MIUPH3WA.js";
|
|
26
26
|
import {
|
|
27
27
|
EVENT_QUERY,
|
|
28
28
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
readMeetingProjectEvidence,
|
|
46
46
|
validateMeetingHitSearch,
|
|
47
47
|
validateMeetingPassage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4OTXE6CF.js";
|
|
49
49
|
import {
|
|
50
50
|
OPERATORS_BY_TYPE,
|
|
51
51
|
QUERY_LIMITS,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
timezoneOf,
|
|
60
60
|
validateQuery,
|
|
61
61
|
zonedMoment
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-D6FTCPXA.js";
|
|
63
63
|
import {
|
|
64
64
|
CliError,
|
|
65
65
|
array,
|
|
@@ -73,12 +73,12 @@ import {
|
|
|
73
73
|
safeParse,
|
|
74
74
|
strictObject,
|
|
75
75
|
string
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-SB47UAW2.js";
|
|
77
77
|
import {
|
|
78
78
|
__name
|
|
79
79
|
} from "./chunk-ZVVMGPBJ.js";
|
|
80
80
|
|
|
81
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
81
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
82
82
|
var COMMAND_NEEDS = {
|
|
83
83
|
"account update": ["updateProfile", "change the profile"],
|
|
84
84
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -128,7 +128,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
128
128
|
return group;
|
|
129
129
|
}, "hideNever");
|
|
130
130
|
|
|
131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
132
132
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
133
133
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
134
134
|
const zone = timezoneOf();
|
|
@@ -214,7 +214,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
214
214
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
215
215
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
218
218
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
219
219
|
command.allowUnknownOption();
|
|
220
220
|
const parse = command.parseOptions.bind(command);
|
|
@@ -234,7 +234,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
234
234
|
return command;
|
|
235
235
|
}, "queryWordsAfterOptions");
|
|
236
236
|
|
|
237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
238
238
|
var count = /* @__PURE__ */ __name((value) => {
|
|
239
239
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
240
240
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -276,7 +276,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
276
276
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
277
277
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
278
278
|
|
|
279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
280
280
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
281
281
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
282
282
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -299,7 +299,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
299
299
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
300
300
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
301
301
|
|
|
302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
303
303
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
304
304
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
305
305
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -419,7 +419,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
419
419
|
}, "addMeetingCommandsDefinition");
|
|
420
420
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
421
421
|
|
|
422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
423
423
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
424
424
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
425
425
|
const query = defineQuery(registry);
|
|
@@ -545,7 +545,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
545
545
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
546
546
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
547
547
|
|
|
548
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
549
549
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
550
550
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
551
551
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -554,7 +554,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
554
554
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
555
555
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
556
556
|
|
|
557
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
558
558
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
559
559
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
560
560
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -816,7 +816,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
816
816
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
817
817
|
}), "sessionAnswer");
|
|
818
818
|
|
|
819
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
820
820
|
import { createHash } from "node:crypto";
|
|
821
821
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
822
822
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1037,7 +1037,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1037
1037
|
}, () => finish({ error: stopped() }));
|
|
1038
1038
|
}), "relayCommand");
|
|
1039
1039
|
|
|
1040
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1040
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1041
1041
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1042
1042
|
close: /* @__PURE__ */ __name(async () => {
|
|
1043
1043
|
}, "close"),
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
resolvePaths
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { join } from "node:path";
|
|
12
12
|
var wirecatDirectory = /* @__PURE__ */ __name((env = process.env, platform) => resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env, ...platform ? { platform } : {} }).state, "wirecatDirectory");
|
|
13
13
|
var storePath = /* @__PURE__ */ __name((env = process.env) => env.MESSAGING_STORE ?? join(wirecatDirectory(env), "wirecat.db"), "storePath");
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BPMKLWHV.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SB47UAW2.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-55XJMTPA.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
organization,
|
|
5
5
|
project,
|
|
6
6
|
reminder
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RWG44LQD.js";
|
|
8
8
|
import {
|
|
9
9
|
MIGRATIONS,
|
|
10
10
|
SnapshotBudget,
|
|
@@ -28,31 +28,31 @@ import {
|
|
|
28
28
|
tagMemberIds,
|
|
29
29
|
thingOf,
|
|
30
30
|
write
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-TILW3EJY.js";
|
|
32
32
|
import {
|
|
33
33
|
fold
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IR73ZZY6.js";
|
|
35
35
|
import {
|
|
36
36
|
filesAccountSql,
|
|
37
37
|
folderProviderOf,
|
|
38
38
|
folderProviderSql,
|
|
39
39
|
isDocumentAccountProvider
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-MIUPH3WA.js";
|
|
41
41
|
import {
|
|
42
42
|
queryFieldsOf
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-D6FTCPXA.js";
|
|
44
44
|
import {
|
|
45
45
|
CliError
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-SB47UAW2.js";
|
|
47
47
|
import {
|
|
48
48
|
__name
|
|
49
49
|
} from "./chunk-ZVVMGPBJ.js";
|
|
50
50
|
|
|
51
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
51
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
52
52
|
import { realpathSync, statSync } from "node:fs";
|
|
53
53
|
import { resolve } from "node:path";
|
|
54
54
|
|
|
55
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
55
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/people.js
|
|
56
56
|
var planPeople = /* @__PURE__ */ __name((database, snapshot, mappings, bindings, conflicts) => {
|
|
57
57
|
const creatable = /* @__PURE__ */ new Set();
|
|
58
58
|
let people = 0, identities = 0;
|
|
@@ -115,11 +115,11 @@ var copyPeople = /* @__PURE__ */ __name((database, snapshot, mappings, now) => {
|
|
|
115
115
|
}
|
|
116
116
|
}, "copyPeople");
|
|
117
117
|
|
|
118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
118
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/document-transfer/digest.js
|
|
119
119
|
import { createHash } from "node:crypto";
|
|
120
120
|
var digest = /* @__PURE__ */ __name((value) => createHash("sha256").update(JSON.stringify(value)).digest("hex"), "digest");
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/collection.js
|
|
123
123
|
var documentsKeyOf = /* @__PURE__ */ __name((collection) => {
|
|
124
124
|
const colon = collection.indexOf(":");
|
|
125
125
|
const provider = collection.slice(0, colon);
|
|
@@ -163,7 +163,7 @@ var currentCollection = /* @__PURE__ */ __name((row) => {
|
|
|
163
163
|
};
|
|
164
164
|
}, "currentCollection");
|
|
165
165
|
|
|
166
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
166
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/plan.js
|
|
167
167
|
var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindings) => {
|
|
168
168
|
const mappings = /* @__PURE__ */ new Map();
|
|
169
169
|
const missing = /* @__PURE__ */ new Set(), conflicts = /* @__PURE__ */ new Set();
|
|
@@ -330,7 +330,7 @@ var planTransfer = /* @__PURE__ */ __name((database, snapshot, sourceKey, bindin
|
|
|
330
330
|
};
|
|
331
331
|
}, "planTransfer");
|
|
332
332
|
|
|
333
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
333
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/snapshot.js
|
|
334
334
|
var TRANSFER_TABLES = { document: "documents", note: "notes", memory: "memories", fact: "facts" };
|
|
335
335
|
var MAX_ENTITIES = 1e3;
|
|
336
336
|
var MAX_AUXILIARY = 1e4;
|
|
@@ -492,7 +492,7 @@ var transferSnapshot = /* @__PURE__ */ __name((database, collection) => read(dat
|
|
|
492
492
|
};
|
|
493
493
|
}), "transferSnapshot");
|
|
494
494
|
|
|
495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
495
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/document-transfer/apply.js
|
|
496
496
|
var providerHere = /* @__PURE__ */ __name(({ provider, name, settings }) => {
|
|
497
497
|
if (provider !== "folder" || String(name ?? "").startsWith("google-drive:"))
|
|
498
498
|
return provider ?? null;
|
|
@@ -664,7 +664,7 @@ var remapEntity = /* @__PURE__ */ __name((database, entity, id, mappings) => {
|
|
|
664
664
|
database.prepare(`UPDATE ${TRANSFER_TABLES[entity.kind]} SET ${columns.join(",")} WHERE id=?`).run(...values, id);
|
|
665
665
|
}, "remapEntity");
|
|
666
666
|
|
|
667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
667
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/document-transfer/index.js
|
|
668
668
|
var locations = /* @__PURE__ */ __name((options) => {
|
|
669
669
|
for (const value of [options.source, options.destination, options.collection])
|
|
670
670
|
if (typeof value !== "string" || !value.trim())
|
|
@@ -760,7 +760,7 @@ var applyDocumentTransfer = /* @__PURE__ */ __name(async (options) => {
|
|
|
760
760
|
}
|
|
761
761
|
}, "applyDocumentTransfer");
|
|
762
762
|
|
|
763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
763
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/knowledge-query.js
|
|
764
764
|
var ORGANIZATIONS_QUERY = {
|
|
765
765
|
entity: "organization",
|
|
766
766
|
backend: "sql",
|
|
@@ -795,7 +795,7 @@ var REMINDERS_QUERY = {
|
|
|
795
795
|
})
|
|
796
796
|
};
|
|
797
797
|
|
|
798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/project-transfer/preview.js
|
|
799
799
|
var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) => {
|
|
800
800
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
801
801
|
throw new CliError("validation_error", "project preview options are required");
|
|
@@ -817,7 +817,7 @@ var previewProjectAnnotationSnapshot = /* @__PURE__ */ __name(async (options) =>
|
|
|
817
817
|
}
|
|
818
818
|
}, "previewProjectAnnotationSnapshot");
|
|
819
819
|
|
|
820
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
820
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/project-transfer/snapshot.js
|
|
821
821
|
var snapshotProjectAnnotations = /* @__PURE__ */ __name(async (options) => {
|
|
822
822
|
if (!options || typeof options !== "object" || Array.isArray(options))
|
|
823
823
|
throw new CliError("validation_error", "snapshot options are required");
|
|
@@ -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.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -2,16 +2,16 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-KM7Q67Z3.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SB47UAW2.js";
|
|
10
10
|
import {
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SB47UAW2.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
11
11
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
12
12
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
13
13
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -295,7 +295,7 @@ var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
|
295
295
|
]);
|
|
296
296
|
var BOT_HOUSEKEEPING = /* @__PURE__ */ new Set(["auth", "list", "sends", "recipients", "mcp"]);
|
|
297
297
|
var STORE_MAINTENANCE = /* @__PURE__ */ new Set(["info", "check", "copies"]);
|
|
298
|
-
var SHOW_MESSAGES = /* @__PURE__ */ new Set(["inbox", "review", "watch", "serve", "store", "conversations"]);
|
|
298
|
+
var SHOW_MESSAGES = /* @__PURE__ */ new Set(["inbox", "review", "watch", "serve", "store", "conversations", "projects"]);
|
|
299
299
|
var readKeysForCommand = /* @__PURE__ */ __name((path) => {
|
|
300
300
|
if (path[0] === "bot")
|
|
301
301
|
return readKeysForCommand(path.slice(1)).map((key2) => `bot.${key2}`);
|