@wirecat/zoom-cli 0.75.0 → 0.76.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-WFLKFKJC.js → all-profiles-AAMFP7IN.js} +11 -11
- package/dist/bundle/answer-policy-ETAELI4A.js +110 -0
- package/dist/bundle/{anthropic-H45W4P22.js → anthropic-6KIS53QB.js} +6 -6
- package/dist/bundle/{app-server-I4FPLBIX.js → app-server-6QYNNYEU.js} +57 -57
- package/dist/bundle/{bun-V5QLYBZU.js → bun-QVVCH4MJ.js} +2 -2
- package/dist/bundle/{bun-sqlite-X2YZPHDS.js → bun-sqlite-Y2ZFMNQ3.js} +7 -7
- package/dist/bundle/{chunk-P4ZQQLZF.js → chunk-25GMFXPF.js} +707 -698
- package/dist/bundle/{chunk-PX4IMYVB.js → chunk-2HKUQ7DR.js} +3 -3
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-35AH33VJ.js} +1 -1
- package/dist/bundle/{chunk-4RJL32PF.js → chunk-3D5PETD2.js} +26 -9
- package/dist/bundle/{chunk-C5WQ57AB.js → chunk-4ERYXY4Y.js} +1 -1
- package/dist/bundle/{chunk-HKPNQL52.js → chunk-4JPOELCT.js} +4 -4
- package/dist/bundle/{chunk-QBKKTTA3.js → chunk-55SWKR6Y.js} +181 -158
- package/dist/bundle/{chunk-2PYZTRRC.js → chunk-5EII5RIL.js} +1 -1
- package/dist/bundle/{chunk-F6RB5FHZ.js → chunk-5T7TBK5Y.js} +1 -1
- package/dist/bundle/{chunk-NU4FSSMN.js → chunk-64N7MY3I.js} +3 -3
- package/dist/bundle/{chunk-532H3KT3.js → chunk-65VRWNDP.js} +4 -4
- package/dist/bundle/{chunk-T25PR26L.js → chunk-6SXCGS3A.js} +7 -7
- package/dist/bundle/{chunk-CAQ5GW3A.js → chunk-6VCQ4CTK.js} +1 -1
- package/dist/bundle/{chunk-MNVT7EJS.js → chunk-7RORMNKP.js} +2 -2
- package/dist/bundle/{chunk-IDGWBKMH.js → chunk-B7ZREOBD.js} +12 -12
- package/dist/bundle/{chunk-LRCSDAYK.js → chunk-CE5Y7PQU.js} +4 -4
- package/dist/bundle/{chunk-IW245Q5B.js → chunk-CPOFLYPU.js} +33 -29
- package/dist/bundle/{chunk-HNWDEDMU.js → chunk-CS62FET6.js} +21 -21
- package/dist/bundle/{chunk-DUPFAY35.js → chunk-CXHUOPN5.js} +7 -7
- package/dist/bundle/{chunk-DQBLDZ7M.js → chunk-D2TGXSHQ.js} +5 -5
- package/dist/bundle/{chunk-ELD5AC7Q.js → chunk-DQHS336B.js} +6 -6
- package/dist/bundle/{chunk-VUPWDCYV.js → chunk-EBIK5Q73.js} +1 -1
- package/dist/bundle/{chunk-3YRPDNWK.js → chunk-ELW3LMJZ.js} +803 -359
- package/dist/bundle/{chunk-HCZYJMBP.js → chunk-EPPE6ZTS.js} +1 -1
- package/dist/bundle/{chunk-K5E5MB4C.js → chunk-EZJSAYWZ.js} +21 -21
- package/dist/bundle/{chunk-7ZVWV33Z.js → chunk-EZXW3ZCR.js} +35 -13
- package/dist/bundle/{chunk-IO3BQ6JU.js → chunk-FBVJGJDM.js} +29 -28
- package/dist/bundle/{chunk-ZMHZ6CQS.js → chunk-FGRFIXG2.js} +2 -2
- package/dist/bundle/{chunk-3HTJBGNP.js → chunk-FMJ4QSSU.js} +21 -16
- package/dist/bundle/{chunk-NE4GYKQA.js → chunk-GB5LI5RM.js} +6 -6
- package/dist/bundle/{chunk-W2AC2RAG.js → chunk-GPIQY4YB.js} +14 -14
- package/dist/bundle/{chunk-2Q4CB4EI.js → chunk-GYTAHH5Y.js} +2 -2
- package/dist/bundle/{chunk-SEJBS7SI.js → chunk-GZYICXO4.js} +1 -1
- package/dist/bundle/{chunk-GPVSGZ4R.js → chunk-HUHH25AG.js} +434 -410
- package/dist/bundle/{chunk-X2FILY5F.js → chunk-HWYSJ4SL.js} +3 -3
- package/dist/bundle/{chunk-XCJGDPMN.js → chunk-IUSY4ZJK.js} +6109 -5958
- package/dist/bundle/{chunk-RBYVQE3S.js → chunk-IVFNHIU4.js} +5 -5
- package/dist/bundle/{chunk-V3UK6E5B.js → chunk-IXPBSDKB.js} +4 -4
- package/dist/bundle/{chunk-3URYKAJP.js → chunk-JADBHKBP.js} +1 -1
- package/dist/bundle/{chunk-WUWF4EXZ.js → chunk-JWMOHEDL.js} +22 -12
- package/dist/bundle/{chunk-EA2OB75T.js → chunk-K3K3WKDB.js} +1 -1
- package/dist/bundle/{chunk-F7K2V6OA.js → chunk-KEFDP6NL.js} +12 -12
- package/dist/bundle/{chunk-NQQVNLO6.js → chunk-LEVOI6Z3.js} +12 -12
- package/dist/bundle/{chunk-VLK3X53X.js → chunk-LGBLYFKI.js} +2 -2
- package/dist/bundle/{chunk-AVCYD4WQ.js → chunk-LOEK6IFQ.js} +44 -36
- package/dist/bundle/{chunk-PCJRHC5Y.js → chunk-M7WYBGQT.js} +8 -8
- package/dist/bundle/{chunk-JDTZCZ5K.js → chunk-MDTEAKA5.js} +5 -5
- package/dist/bundle/{chunk-GU4FVTJV.js → chunk-NQ356ERO.js} +3 -4
- package/dist/bundle/{chunk-T4FMXDDV.js → chunk-OFODCJ2A.js} +3 -3
- package/dist/bundle/{chunk-FBYGBR4Q.js → chunk-OINDAHXC.js} +4 -4
- package/dist/bundle/{chunk-OUM4ZO53.js → chunk-OOYIPK4F.js} +1 -1
- package/dist/bundle/{chunk-NL6AZ6S2.js → chunk-ORM73DZO.js} +2 -2
- package/dist/bundle/{chunk-P6MQ6FS4.js → chunk-OWZETMRE.js} +8 -8
- package/dist/bundle/{chunk-VPSQZ2YR.js → chunk-PFLJJQWW.js} +33 -33
- package/dist/bundle/{chunk-TSHUBGN4.js → chunk-QLUU3BV2.js} +2 -2
- package/dist/bundle/{chunk-ZBYKCVSV.js → chunk-QY6GE7CL.js} +2 -2
- package/dist/bundle/{chunk-QEO3XTIE.js → chunk-R47GYLNN.js} +29 -32
- package/dist/bundle/{chunk-EOZAJGB4.js → chunk-RJK5ADMH.js} +16 -16
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-RXUVXAMM.js} +1 -1
- package/dist/bundle/{chunk-BY2YPKZZ.js → chunk-T2QVWRJF.js} +13 -13
- package/dist/bundle/{chunk-4YNUQGDP.js → chunk-TK77DCE5.js} +1 -1
- package/dist/bundle/{chunk-IMDTC4MD.js → chunk-TYAFL66K.js} +21 -18
- package/dist/bundle/{chunk-MHXZ62CU.js → chunk-UAV74EY4.js} +1 -1
- package/dist/bundle/{chunk-WQOGHND4.js → chunk-UG2QDGAH.js} +1 -1
- package/dist/bundle/{chunk-6XNTELM5.js → chunk-UYZDH5LK.js} +1 -1
- package/dist/bundle/{chunk-B6Q53CVA.js → chunk-VABYJQYE.js} +10 -10
- package/dist/bundle/{chunk-IJCUAKR5.js → chunk-VCFSUGPE.js} +4 -4
- package/dist/bundle/{chunk-3YKAFLXY.js → chunk-VG63EXRC.js} +2 -2
- package/dist/bundle/{chunk-RABCFGT3.js → chunk-VJANMYEC.js} +3 -3
- package/dist/bundle/{chunk-ZVVRRMLW.js → chunk-VRA4RVQU.js} +3 -3
- package/dist/bundle/{chunk-L5UILROP.js → chunk-WKT5RPSY.js} +8 -8
- package/dist/bundle/{chunk-JTYWSXJG.js → chunk-WNXC42IU.js} +9 -9
- package/dist/bundle/{chunk-FT7X74RT.js → chunk-WZJ7ZYR4.js} +4 -4
- package/dist/bundle/{chunk-PPM7UTCT.js → chunk-X73YEFQE.js} +18 -18
- package/dist/bundle/{chunk-Y5J5CAG2.js → chunk-XC4V6YCS.js} +1 -1
- package/dist/bundle/{chunk-A3Q3PG54.js → chunk-XHVFX74L.js} +2 -2
- package/dist/bundle/{chunk-NQLL4KRN.js → chunk-XRH2NKW4.js} +6 -6
- package/dist/bundle/{chunk-3U3W6YY5.js → chunk-XWQKRKMT.js} +58 -58
- package/dist/bundle/{chunk-RKI4BGWG.js → chunk-Y2BGABXP.js} +3 -3
- package/dist/bundle/{chunk-XUHQ7DVT.js → chunk-Y4WEAWU7.js} +1 -1
- package/dist/bundle/{chunk-4XDWV6VJ.js → chunk-YEBWRWE3.js} +17 -17
- package/dist/bundle/{chunk-4J5GJJ2I.js → chunk-YESHGC3M.js} +2 -2
- package/dist/bundle/{chunk-SR5X7YKB.js → chunk-YGKM2ZWF.js} +3 -3
- package/dist/bundle/{chunk-QXQUANWE.js → chunk-ZETM63M6.js} +6 -6
- package/dist/bundle/{chunk-MAE5UGRQ.js → chunk-ZFYNJERV.js} +6 -6
- package/dist/bundle/{cli-NPRYCWFH.js → cli-FHMLYHUZ.js} +69 -65
- package/dist/bundle/command-contract-HUZ4I23S.js +41 -0
- package/dist/bundle/{command-server-entry-BV4SUPUI.js → command-server-entry-YEZM52R5.js} +31 -31
- package/dist/bundle/config-KVTWN7QZ.js +97 -0
- package/dist/bundle/{decode-PRMKCHHC.js → decode-SIYRMJOK.js} +6 -6
- package/dist/bundle/{dispatch-EU67WGME.js → dispatch-SMER3WDX.js} +9 -9
- package/dist/bundle/{dist-HGLDGKUW.js → dist-BSJETSFE.js} +19 -19
- package/dist/bundle/{echarts-QIXLXS3G.js → echarts-UZJ6AREV.js} +2 -2
- package/dist/bundle/{embed-OZN2BIJY.js → embed-A7DSHVI7.js} +7 -7
- package/dist/bundle/{embedder-RBDHO6Z6.js → embedder-WQBR4UGS.js} +10 -10
- package/dist/bundle/{failure-CTJLEB2R.js → failure-73UQXQTW.js} +3 -3
- package/dist/bundle/first-run-SY6XSUZ3.js +29 -0
- package/dist/bundle/first-screen-ZDMODGWS.js +39 -0
- package/dist/bundle/{folders-MSBTAPAG.js → folders-BH4SV6SI.js} +5 -5
- package/dist/bundle/{instructions-MD2RZT5Z.js → instructions-SDDUBGH4.js} +1 -1
- package/dist/bundle/{main-FPMCCRIQ.js → main-KL4FN5F3.js} +24 -24
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-GN4FTJX5.js} +2 -2
- package/dist/bundle/{meetings-WYCVHAIP.js → meetings-URPXBHV7.js} +25 -7
- package/dist/bundle/{node-IEVT2FSJ.js → node-ELCNUOCE.js} +2 -2
- package/dist/bundle/{node-sqlite-O4C6IWSM.js → node-sqlite-QLSNHZBM.js} +8 -8
- package/dist/bundle/{oauth-6VXOUXSE.js → oauth-LZ64S7Y3.js} +8 -8
- package/dist/bundle/{open-AMUIWV3Y.js → open-WB4HUPQT.js} +6 -6
- package/dist/bundle/openai-KN6JE4QU.js +28 -0
- package/dist/bundle/{output-file-VDOCYH2G.js → output-file-AHPQA5LR.js} +6 -6
- package/dist/bundle/{process-6Q23D3TO.js → process-67DAKAAQ.js} +1 -1
- package/dist/bundle/{program-CF2NKA2A.js → program-CIMACIBE.js} +87 -81
- package/dist/bundle/{prompt-N3UZE4ZR.js → prompt-GG53UBDJ.js} +6 -6
- package/dist/bundle/{recognize-I5F3K3CZ.js → recognize-CFJ3CAEH.js} +5 -5
- package/dist/bundle/{remote-CJF5KMMY.js → remote-BLEM7C3Q.js} +11 -11
- package/dist/bundle/{rerank-6WLY6MKY.js → rerank-ERN6PC66.js} +8 -8
- package/dist/bundle/run-log-S67YPJF6.js +124 -0
- package/dist/bundle/{serve-FOQJ3WMX.js → serve-FJPPTJXH.js} +10 -10
- package/dist/bundle/{server-OEEGRSQD.js → server-FLUSDUGM.js} +49 -49
- package/dist/bundle/server-UNJY3TSJ.js +74 -0
- package/dist/bundle/{services-Q6SFESMS.js → services-LXC6DVUQ.js} +43 -41
- package/dist/bundle/{speech-PBVEIG4N.js → speech-WFEZTKXA.js} +17 -17
- package/dist/bundle/{sqlite-runtime-IWR65V6I.js → sqlite-runtime-KN33VSP7.js} +7 -7
- package/dist/bundle/{state-G54C2N6U.js → state-TXS4ZHIT.js} +7 -7
- package/dist/bundle/{store-7EWMPTTW.js → store-MUOXLVL4.js} +22 -22
- package/dist/bundle/{store-D5OLXIFW.js → store-ZUREZYZB.js} +20 -20
- package/dist/bundle/store-connection-NRNEBUPU.js +90 -0
- package/dist/bundle/store-maintenance-command-OBOPYFZ5.js +65 -0
- package/dist/bundle/{streaming-PQEXKTE5.js → streaming-ZSCHRC5S.js} +7 -7
- package/dist/bundle/{tokens-J7TFHLEG.js → tokens-YVDOY4EV.js} +10 -10
- package/dist/bundle/zm.js +9 -9
- package/dist/bundle/{zoom-app-SULPMVN4.js → zoom-app-O6GIMB7Y.js} +8 -8
- package/dist/meeting-search-commands.d.ts.map +1 -1
- package/dist/meeting-search-commands.js +6 -5
- package/dist/meeting-search-commands.js.map +1 -1
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -1
- package/dist/program-bindings.js.map +1 -1
- package/dist/run.d.ts.map +1 -1
- package/dist/run.js +3 -1
- package/dist/run.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-XCKC2LLN.js +0 -110
- package/dist/bundle/command-contract-OJYRKQHR.js +0 -41
- package/dist/bundle/config-UMEV24OE.js +0 -97
- package/dist/bundle/first-run-HNCD7U3B.js +0 -29
- package/dist/bundle/first-screen-374BBMO6.js +0 -39
- package/dist/bundle/openai-MEDN6FSK.js +0 -28
- package/dist/bundle/run-log-FKF4ZX4M.js +0 -124
- package/dist/bundle/server-BAGY5HEZ.js +0 -74
- package/dist/bundle/store-connection-34747SCC.js +0 -90
- package/dist/bundle/store-maintenance-command-QBO67F7Z.js +0 -65
- /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-BDCC2J2Z.js} +0 -0
|
@@ -2,40 +2,40 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
encodeWav
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VJANMYEC.js";
|
|
6
6
|
import {
|
|
7
7
|
SAMPLE_RATE,
|
|
8
8
|
toModelRate
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CE5Y7PQU.js";
|
|
10
10
|
import {
|
|
11
11
|
OPENAI_URL,
|
|
12
12
|
refuseModelAddress
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WNXC42IU.js";
|
|
14
14
|
import {
|
|
15
15
|
endpointFetch
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YGKM2ZWF.js";
|
|
17
17
|
import {
|
|
18
18
|
providerWaitMs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZFYNJERV.js";
|
|
20
20
|
import {
|
|
21
21
|
OPENAI_TRANSCRIBE_MODEL,
|
|
22
22
|
VAD,
|
|
23
23
|
filesPresent,
|
|
24
24
|
modelsDirectory,
|
|
25
25
|
vadPath
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OINDAHXC.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_RETRY,
|
|
29
29
|
backoffMs
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-CS62FET6.js";
|
|
31
31
|
import {
|
|
32
32
|
CliError
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-K3K3WKDB.js";
|
|
34
34
|
import {
|
|
35
35
|
__name
|
|
36
36
|
} from "./chunk-ZVVMGPBJ.js";
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
39
39
|
import { setTimeout as wait } from "node:timers/promises";
|
|
40
40
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
41
41
|
var JOINED_SECONDS = 0.2;
|
|
@@ -159,7 +159,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
159
159
|
return pieces;
|
|
160
160
|
}, "piecesOf");
|
|
161
161
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
162
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
162
|
+
const { openSpeechCutter } = await import("./recognize-CFJ3CAEH.js");
|
|
163
163
|
return openSpeechCutter(vadModel);
|
|
164
164
|
}, "openCutter");
|
|
165
165
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
singleLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EPPE6ZTS.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
|
|
11
11
|
var FIRST_PARTY_TOOLS = [
|
|
12
12
|
{ name: "tg", package: "@wirecat/tg-cli" },
|
|
13
13
|
{ name: "max", package: "@wirecat/max-cli" },
|
|
@@ -31,7 +31,7 @@ var DESCRIBE_FLAG = "--wcat-describe";
|
|
|
31
31
|
var DESCRIBE_MAX_BYTES = 64 * 1024;
|
|
32
32
|
var DISPATCH_FLAG = "--wcat-dispatch";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
|
|
35
35
|
var DESCRIBE_FORMAT = 1;
|
|
36
36
|
var DESCRIBE_MANIFEST_FORMAT = 2;
|
|
37
37
|
var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
|
|
@@ -74,7 +74,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
|
|
|
74
74
|
};
|
|
75
75
|
}, "parseDescribe");
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
|
|
78
78
|
import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
79
79
|
import { join } from "node:path";
|
|
80
80
|
var SHIM_FORMAT = 2;
|
|
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CliError,
|
|
5
5
|
errorCodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-K3K3WKDB.js";
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-ZVVMGPBJ.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
12
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
13
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
14
|
const { code, exitCode } = value ?? {};
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
openOrdinaryFile
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GPIQY4YB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-K3K3WKDB.js";
|
|
9
9
|
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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
14
14
|
import { createHash } from "node:crypto";
|
|
15
15
|
import { basename, resolve } from "node:path";
|
|
16
16
|
var prepared = /* @__PURE__ */ new WeakMap();
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash,
|
|
31
31
|
currentCaller
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CXHUOPN5.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -541,7 +541,7 @@ function toError(value) {
|
|
|
541
541
|
}
|
|
542
542
|
__name(toError, "toError");
|
|
543
543
|
|
|
544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
545
545
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
546
546
|
const client = caller?.agent?.client?.name;
|
|
547
547
|
if (client && client !== "unknown")
|
|
@@ -629,7 +629,7 @@ var passedOn = /* @__PURE__ */ __name((value, tool) => {
|
|
|
629
629
|
};
|
|
630
630
|
}, "passedOn");
|
|
631
631
|
|
|
632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
632
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
633
633
|
import { PassThrough, Writable } from "node:stream";
|
|
634
634
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
635
635
|
let rest = "";
|
|
@@ -2,26 +2,26 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XHVFX74L.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CS62FET6.js";
|
|
10
10
|
import {
|
|
11
11
|
CliError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K3K3WKDB.js";
|
|
13
13
|
import {
|
|
14
14
|
singleLine
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EPPE6ZTS.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
21
21
|
import { existsSync, mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
22
22
|
import { dirname, join, resolve } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/config-repair.js
|
|
25
25
|
var REPAIR_WORDS = {
|
|
26
26
|
byte_order_mark: "an invisible byte-order mark at the start",
|
|
27
27
|
comment: "a comment, which JSON does not allow",
|
|
@@ -305,7 +305,7 @@ var explainBrokenJson = /* @__PURE__ */ __name((text, result) => {
|
|
|
305
305
|
return `line ${line}, column ${column}: ${why}${around(line)}; likely fix: ${fix ?? "correct that part by hand"}`;
|
|
306
306
|
}, "explainBrokenJson");
|
|
307
307
|
|
|
308
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
308
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
309
309
|
var DEFAULT_TASK_CATEGORIES = [
|
|
310
310
|
{
|
|
311
311
|
name: "taxes",
|
|
@@ -1060,7 +1060,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
}, "storedTaskCategories");
|
|
1062
1062
|
|
|
1063
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1063
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
1064
1064
|
var SECTION = "task_categories";
|
|
1065
1065
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
1066
1066
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GB5LI5RM.js";
|
|
6
6
|
import {
|
|
7
7
|
PLAIN_HTTP_REFUSED,
|
|
8
8
|
modelAddressAllowed,
|
|
9
9
|
onThisComputer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YGKM2ZWF.js";
|
|
11
11
|
import {
|
|
12
12
|
readSharedSection,
|
|
13
13
|
sharedConfigPath,
|
|
14
14
|
writeSharedSection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WKT5RPSY.js";
|
|
16
16
|
import {
|
|
17
17
|
storePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XHVFX74L.js";
|
|
19
19
|
import {
|
|
20
20
|
boolean,
|
|
21
21
|
isoTimestamp,
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
safeParse,
|
|
24
24
|
strictObject,
|
|
25
25
|
string
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3D5PETD2.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-K3K3WKDB.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
35
35
|
import { setTimeout } from "node:timers/promises";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/models/local-only.js
|
|
38
38
|
var SECTION = "local_only";
|
|
39
39
|
var Setting = strictObject({
|
|
40
40
|
on: boolean(),
|
|
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
|
|
|
68
68
|
refuseOffComputer(env, address, what);
|
|
69
69
|
}, "refuseModelAddress");
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
72
72
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
73
73
|
var OPENAI_MODELS = {
|
|
74
74
|
"text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
|
|
@@ -3,26 +3,26 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RXUVXAMM.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfigFile,
|
|
12
12
|
saveConfigFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CS62FET6.js";
|
|
14
14
|
import {
|
|
15
15
|
number,
|
|
16
16
|
object,
|
|
17
17
|
optional,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3D5PETD2.js";
|
|
20
20
|
import {
|
|
21
21
|
__name,
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/update/index.js
|
|
26
26
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
27
27
|
import { existsSync } from "node:fs";
|
|
28
28
|
var updateCommand = /* @__PURE__ */ __name((installer, packageName) => {
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
refuseLacking
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EZXW3ZCR.js";
|
|
6
6
|
import {
|
|
7
7
|
servingProfiles
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2HKUQ7DR.js";
|
|
9
9
|
import {
|
|
10
10
|
FloodMemory,
|
|
11
11
|
OFFLINE,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
servicesFor,
|
|
22
22
|
throughWrapper,
|
|
23
23
|
withFileLockAsync
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-25GMFXPF.js";
|
|
25
25
|
import {
|
|
26
26
|
asFirstWord,
|
|
27
27
|
baseContext,
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
recalledAccount,
|
|
36
36
|
rememberAccount,
|
|
37
37
|
rootOf2 as rootOf
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-55SWKR6Y.js";
|
|
39
39
|
import {
|
|
40
40
|
providerErrorKey
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CXHUOPN5.js";
|
|
42
42
|
import {
|
|
43
43
|
AUTHORITY_KEY,
|
|
44
44
|
CEILING_KEY,
|
|
@@ -50,31 +50,31 @@ import {
|
|
|
50
50
|
levelFor,
|
|
51
51
|
readKeysForCommand,
|
|
52
52
|
skipFlagFor
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-OWZETMRE.js";
|
|
54
54
|
import {
|
|
55
55
|
openStore
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-IUSY4ZJK.js";
|
|
57
57
|
import {
|
|
58
58
|
chatReferenceOf,
|
|
59
59
|
ensureAccount,
|
|
60
60
|
foldName,
|
|
61
61
|
isId,
|
|
62
62
|
pickPerson
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-EZJSAYWZ.js";
|
|
64
64
|
import {
|
|
65
65
|
isCliFailure
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-VG63EXRC.js";
|
|
67
67
|
import {
|
|
68
68
|
resolvePaths
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-CS62FET6.js";
|
|
70
70
|
import {
|
|
71
71
|
CliError
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-K3K3WKDB.js";
|
|
73
73
|
import {
|
|
74
74
|
__name
|
|
75
75
|
} from "./chunk-ZVVMGPBJ.js";
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
78
78
|
import { openSync } from "node:fs";
|
|
79
79
|
import { createInterface } from "node:readline";
|
|
80
80
|
import { ReadStream } from "node:tty";
|
|
@@ -129,7 +129,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
129
129
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
130
130
|
}, "terminalAsker");
|
|
131
131
|
|
|
132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
133
133
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
134
134
|
"help",
|
|
135
135
|
"guide",
|
|
@@ -209,7 +209,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
209
209
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
210
210
|
}, "refuseUnknownPermissionKeys");
|
|
211
211
|
|
|
212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
213
213
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
214
214
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
|
|
215
215
|
let warned = false;
|
|
@@ -785,7 +785,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
785
785
|
}
|
|
786
786
|
}, "keep");
|
|
787
787
|
|
|
788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
789
789
|
import { readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
790
790
|
import { join } from "node:path";
|
|
791
791
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -880,7 +880,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
|
|
|
880
880
|
await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
|
|
881
881
|
}, "waitForTurn");
|
|
882
882
|
|
|
883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
883
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
884
884
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
885
885
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
886
886
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -977,7 +977,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
977
977
|
});
|
|
978
978
|
}, "flooded");
|
|
979
979
|
|
|
980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
981
981
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
982
982
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
983
983
|
const write = currentOperation();
|
|
@@ -1076,7 +1076,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1076
1076
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1077
1077
|
}, "byPart");
|
|
1078
1078
|
|
|
1079
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1080
1080
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1081
1081
|
let opened;
|
|
1082
1082
|
return {
|
|
@@ -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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/http/time-limit.js
|
|
8
8
|
var timeLimit = /* @__PURE__ */ __name((ms) => {
|
|
9
9
|
const controller = new AbortController();
|
|
10
10
|
const timer = setTimeout(() => controller.abort(new DOMException("The operation timed out.", "TimeoutError")), ms);
|
|
@@ -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-CS62FET6.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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/path.js
|
|
11
11
|
import { realpathSync } from "node:fs";
|
|
12
12
|
import { userInfo } from "node:os";
|
|
13
13
|
import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OOYIPK4F.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-K3K3WKDB.js";
|
|
9
9
|
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.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.663.0_@wirecat+cli-base@0.100.0_commander@15.0.0_esbuild@0.28.2_typ_3651938dd4032f987ce713acb104c9b9/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-Y2ZFMNQ3.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-QLSNHZBM.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|