@wirecat/drive-cli 0.72.0 → 0.72.1
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/drive.js +2 -2
- package/dist/bundle/agent-GOCD4ZW2.js +46 -0
- package/dist/bundle/{all-profiles-GXGDVNQJ.js → all-profiles-PZVP3G73.js} +14 -14
- package/dist/bundle/{anthropic-H5C4GQHC.js → anthropic-PUOTKSYV.js} +8 -8
- package/dist/bundle/{app-server-EQ3UK4C7.js → app-server-MKDCXRZM.js} +79 -79
- package/dist/bundle/{bun-DTJVSRY3.js → bun-NS5YLOQT.js} +2 -2
- package/dist/bundle/{bun-sqlite-JIFY7MAE.js → bun-sqlite-KSKWRLLO.js} +9 -9
- package/dist/bundle/{chunk-KF3ZBQJV.js → chunk-2CG3LUQS.js} +4 -4
- package/dist/bundle/{chunk-4HPXWYTE.js → chunk-2TVHFJKV.js} +1 -1
- package/dist/bundle/{chunk-ASTKHB6B.js → chunk-35GROSBS.js} +41 -41
- package/dist/bundle/{chunk-UWG3PRY7.js → chunk-3CH7I452.js} +7 -7
- package/dist/bundle/{chunk-OAONP6KI.js → chunk-3QBRS3JT.js} +8 -8
- package/dist/bundle/{chunk-2Q325BBD.js → chunk-3T7JIHSO.js} +8 -8
- package/dist/bundle/{chunk-77OBW43F.js → chunk-3VIEGRBA.js} +6 -6
- package/dist/bundle/{chunk-CIFE4KPX.js → chunk-3YCUYFTD.js} +45 -45
- package/dist/bundle/{chunk-6CCO3JCM.js → chunk-3ZGWJYSG.js} +20 -20
- package/dist/bundle/{chunk-BPA3R4KN.js → chunk-43PCMVTZ.js} +1 -1
- package/dist/bundle/{chunk-XQZEMRCU.js → chunk-4DK55MLP.js} +10 -10
- package/dist/bundle/{chunk-DOQMH4DC.js → chunk-4P6D6CUS.js} +12 -10
- package/dist/bundle/{chunk-E3VWZC3K.js → chunk-54O5NJRC.js} +12 -12
- package/dist/bundle/{chunk-5KWCO56H.js → chunk-5BHP4FVM.js} +2 -2
- package/dist/bundle/{chunk-GUMKKRE6.js → chunk-6JU4KLAZ.js} +63 -63
- package/dist/bundle/{chunk-ZFDSJ5YJ.js → chunk-6KND2DYT.js} +6 -6
- package/dist/bundle/{chunk-UIQ35CA5.js → chunk-7YPZPJTB.js} +1 -1
- package/dist/bundle/{chunk-GU6ICH53.js → chunk-A5XNUMW7.js} +2 -2
- package/dist/bundle/{chunk-TTPWKTVR.js → chunk-AG34MPVN.js} +1 -1
- package/dist/bundle/{chunk-KLPFDFLI.js → chunk-B5V2U7IS.js} +9 -9
- package/dist/bundle/{chunk-DCPWZIOV.js → chunk-B6JC5RS3.js} +11 -11
- package/dist/bundle/{chunk-O7CZZ36M.js → chunk-BDZXGDGI.js} +3 -3
- package/dist/bundle/{chunk-NBMGDRP4.js → chunk-BMTMGMGE.js} +1 -1
- package/dist/bundle/{chunk-OPIPG6AP.js → chunk-CP2TZXAG.js} +8 -8
- package/dist/bundle/{chunk-ZJKXSMXK.js → chunk-DOEP4EPW.js} +42 -42
- package/dist/bundle/{chunk-4IUNYYYL.js → chunk-E2TMWONO.js} +395 -395
- package/dist/bundle/{chunk-N4GTCPML.js → chunk-E5EYJU5R.js} +1 -1
- package/dist/bundle/{chunk-SPNPJ3FZ.js → chunk-EXHTGQR2.js} +1 -1
- package/dist/bundle/{chunk-AA4LKC6W.js → chunk-FJQO5OHR.js} +47 -30
- package/dist/bundle/{chunk-COJTCEZP.js → chunk-FKP4T7A4.js} +15 -15
- package/dist/bundle/{chunk-NNGA4QDR.js → chunk-FTL3WXZB.js} +12 -12
- package/dist/bundle/{chunk-KWDZ3KVH.js → chunk-G2CH4FRW.js} +4 -4
- package/dist/bundle/{chunk-PRYMT3OG.js → chunk-G2KKMQRN.js} +2 -2
- package/dist/bundle/{chunk-FBEZSA76.js → chunk-G7SKXAVZ.js} +5 -5
- package/dist/bundle/{chunk-GIEZYBRC.js → chunk-GFI3UUIU.js} +1 -1
- package/dist/bundle/{chunk-VQPT3Y7W.js → chunk-GTROGY74.js} +12 -12
- package/dist/bundle/{chunk-R64OSDOD.js → chunk-GYAPDUF5.js} +5 -5
- package/dist/bundle/{chunk-RSPBVKOC.js → chunk-HCMEU7AF.js} +8 -8
- package/dist/bundle/{chunk-CWPYDT73.js → chunk-HDGJ7IDE.js} +4 -4
- package/dist/bundle/{chunk-WMG3H2VK.js → chunk-HMN26CVU.js} +2 -2
- package/dist/bundle/{chunk-4JS32SRX.js → chunk-HOICQNJX.js} +5 -5
- package/dist/bundle/{chunk-J4NUHSM7.js → chunk-HPS2YGSZ.js} +1 -1
- package/dist/bundle/{chunk-ZFUZEFU6.js → chunk-HSASPXRW.js} +3 -3
- package/dist/bundle/{chunk-EVG3AA5M.js → chunk-IABPGOMT.js} +2 -2
- package/dist/bundle/{chunk-OLCU7Q2B.js → chunk-IBQZT2YD.js} +1 -1
- package/dist/bundle/{chunk-DHMNCOQI.js → chunk-IE3R46YN.js} +57 -57
- package/dist/bundle/{chunk-QUZFDU4K.js → chunk-IE6O7463.js} +4 -4
- package/dist/bundle/{chunk-R32DHS6J.js → chunk-IPBYU43F.js} +19 -14
- package/dist/bundle/{chunk-3FRQ6V4T.js → chunk-IS7STZEB.js} +3 -3
- package/dist/bundle/{chunk-VPQSI5IU.js → chunk-IV77ZFF4.js} +2 -2
- package/dist/bundle/{chunk-5H747A76.js → chunk-JDGF3YYS.js} +445 -1387
- package/dist/bundle/{chunk-FRCJHGZM.js → chunk-JHAACT4I.js} +2 -2
- package/dist/bundle/{chunk-YAIOEPKU.js → chunk-JRED7BNX.js} +160 -160
- package/dist/bundle/{chunk-K652FYCO.js → chunk-JSYUB4SM.js} +2 -2
- package/dist/bundle/{chunk-YWOLQEDV.js → chunk-JVM75M4H.js} +3 -3
- package/dist/bundle/{chunk-IMAWQC5K.js → chunk-JZ65CQWK.js} +6 -6
- package/dist/bundle/{chunk-KX4C32WD.js → chunk-KBR7OC5S.js} +2 -2
- package/dist/bundle/{chunk-OHR6IZNH.js → chunk-KI6OOW6D.js} +8 -1
- package/dist/bundle/{chunk-SQHDSIFL.js → chunk-KOI5G7NM.js} +6 -6
- package/dist/bundle/{chunk-QKBPCX7Y.js → chunk-KPBUJQKT.js} +1 -1
- package/dist/bundle/{chunk-M2ZWYVWO.js → chunk-KVBGIZ2C.js} +1 -1
- package/dist/bundle/{chunk-UJY26HW4.js → chunk-LKUWH6KU.js} +1 -1
- package/dist/bundle/{chunk-QDUIVMEW.js → chunk-MA6U4XH2.js} +1 -1
- package/dist/bundle/{chunk-U7VEJ3CW.js → chunk-MA7ETVTZ.js} +29 -190
- package/dist/bundle/{chunk-FUDUXIVG.js → chunk-MDJUYCHT.js} +1 -1
- package/dist/bundle/{chunk-FIZOPJYY.js → chunk-MGC2BAD2.js} +1 -1
- package/dist/bundle/{chunk-GXGSC622.js → chunk-OBDPKDGB.js} +6 -6
- package/dist/bundle/{chunk-OESP4PHB.js → chunk-ODTBJGWQ.js} +17 -17
- package/dist/bundle/{chunk-KFZCHJRT.js → chunk-PB6ACIME.js} +2 -2
- package/dist/bundle/{chunk-XZ7MO6EU.js → chunk-PMAV3RNP.js} +7 -7
- package/dist/bundle/{chunk-FNAYSZWK.js → chunk-PSY67L73.js} +23 -23
- package/dist/bundle/{chunk-5BNMWSU2.js → chunk-PUVQOZ2N.js} +30 -30
- package/dist/bundle/{chunk-OLDQLEPA.js → chunk-QB7K6PIP.js} +6 -6
- package/dist/bundle/{chunk-HAGXTGJC.js → chunk-QK7GKFKB.js} +4 -4
- package/dist/bundle/{chunk-X5BGAZC5.js → chunk-QMUWHKP5.js} +6 -6
- package/dist/bundle/{chunk-ZPUY3COZ.js → chunk-QURQ2OU2.js} +13 -13
- package/dist/bundle/{chunk-BM6V7456.js → chunk-R3EDZWXF.js} +5 -5
- package/dist/bundle/{chunk-GWCDOYSC.js → chunk-RM4DO2WZ.js} +1 -1
- package/dist/bundle/{chunk-CKB4XZZJ.js → chunk-S27UKJVL.js} +14 -14
- package/dist/bundle/{chunk-ZKWT6HXT.js → chunk-S3SLDYTU.js} +1 -1
- package/dist/bundle/{chunk-7EFM6AW3.js → chunk-SAEBHENE.js} +4 -4
- package/dist/bundle/{chunk-K6ZWNTXY.js → chunk-SM7Z2BQF.js} +17 -17
- package/dist/bundle/{chunk-QSLOACDT.js → chunk-SODB63MR.js} +36 -36
- package/dist/bundle/{chunk-N24YSLED.js → chunk-SSFGSY77.js} +1707 -575
- package/dist/bundle/{chunk-D4JNCXS7.js → chunk-SUQT4KI2.js} +7 -7
- package/dist/bundle/{chunk-ST35FIUG.js → chunk-SWQDKO6D.js} +3 -3
- package/dist/bundle/{chunk-55FH6IEL.js → chunk-T3OK6AYZ.js} +5 -5
- package/dist/bundle/{chunk-IVGVVSPW.js → chunk-TFIAD57H.js} +4 -4
- package/dist/bundle/{chunk-A3S7QM5L.js → chunk-TUL6MCTY.js} +2 -2
- package/dist/bundle/{chunk-DWRUOLBF.js → chunk-UL5HSHFU.js} +4 -4
- package/dist/bundle/{chunk-ML2QIWX2.js → chunk-UT64BBEP.js} +4 -4
- package/dist/bundle/{chunk-6ZW2ZJYC.js → chunk-VBIZD5V5.js} +2 -2
- package/dist/bundle/{chunk-BO6EDBYJ.js → chunk-VHTELRUA.js} +3 -3
- package/dist/bundle/{chunk-47L262VI.js → chunk-VOQICE3G.js} +7 -7
- package/dist/bundle/{chunk-5U3NCE5R.js → chunk-WDJRUNQN.js} +8 -8
- package/dist/bundle/{chunk-XC6TRWLZ.js → chunk-X5CXANSA.js} +3 -3
- package/dist/bundle/{chunk-FTG5QBSD.js → chunk-X6HPQKAI.js} +31 -31
- package/dist/bundle/{chunk-75DAHQOV.js → chunk-XKWQDQ4B.js} +3 -3
- package/dist/bundle/{chunk-R57QUYBG.js → chunk-XZEVHUKI.js} +3 -3
- package/dist/bundle/{chunk-VAR3MJU6.js → chunk-YE7DJB3F.js} +3 -3
- package/dist/bundle/{chunk-FBQJN74J.js → chunk-YJVQ5GST.js} +1 -1
- package/dist/bundle/{chunk-MUFF2YTH.js → chunk-YRCGFSRR.js} +2 -2
- package/dist/bundle/{chunk-KP2XMCNT.js → chunk-ZNFXKFGF.js} +6 -6
- package/dist/bundle/{cli-2P5FW2RL.js → cli-KXRWXGTS.js} +107 -107
- package/dist/bundle/command-contract-BGNT7MTQ.js +45 -0
- package/dist/bundle/{command-server-entry-KP2UDGLA.js → command-server-entry-7FZX74T6.js} +35 -35
- package/dist/bundle/{decode-K2JZ5D6V.js → decode-SZ6W34U3.js} +8 -8
- package/dist/bundle/{dispatch-KOQZA74A.js → dispatch-4KNSZ3PI.js} +9 -9
- package/dist/bundle/drive.js +11 -11
- package/dist/bundle/{echarts-URO3QGCG.js → echarts-ISH62J4E.js} +2 -2
- package/dist/bundle/{embed-JLIPWTNN.js → embed-6ODGTZPK.js} +9 -9
- package/dist/bundle/{embedder-LUTDO3HS.js → embedder-6FY67FTQ.js} +12 -12
- package/dist/bundle/entry-2SA6ZX7E.js +25 -0
- package/dist/bundle/{failure-GJMQLM7O.js → failure-V3ILKUTX.js} +4 -4
- package/dist/bundle/first-run-ZNKPPD6M.js +31 -0
- package/dist/bundle/first-screen-WF6GYLPN.js +45 -0
- package/dist/bundle/google-QCADNPCQ.js +46 -0
- package/dist/bundle/{google-api-RFXKRLL4.js → google-api-ZTI3NKZX.js} +85 -85
- package/dist/bundle/grants-BPN5AGDK.js +133 -0
- package/dist/bundle/{identity-FXPB5EMT.js → identity-YX4IPGOO.js} +6 -6
- package/dist/bundle/{instructions-IROIUVZI.js → instructions-G5ZGHVFB.js} +1 -1
- package/dist/bundle/{login-WIY5VQU7.js → login-CVX5VJX6.js} +91 -91
- package/dist/bundle/{mcp-NJIOKW3E.js → mcp-MQ2L5IIM.js} +2 -2
- package/dist/bundle/meeting-combined-HKZJMJ6Q.js +28 -0
- package/dist/bundle/meeting-model-DSE4GRVE.js +29 -0
- package/dist/bundle/{meeting-semantic-62QNQMOM.js → meeting-semantic-OHG2QN2G.js} +10 -10
- package/dist/bundle/{node-IACCI2CW.js → node-NLJINXVQ.js} +2 -2
- package/dist/bundle/{node-sqlite-WYIRC7C7.js → node-sqlite-KDFQDYVZ.js} +10 -10
- package/dist/bundle/notes-search-3VBVSQ3R.js +70 -0
- package/dist/bundle/oauth-M3E62ZHC.js +22 -0
- package/dist/bundle/{open-H32B6BCT.js → open-WVRUVBIZ.js} +8 -8
- package/dist/bundle/{openai-VHMPJJUG.js → openai-JJWOSJMV.js} +20 -20
- package/dist/bundle/{process-RNHPF5OK.js → process-LPVAYRO7.js} +1 -1
- package/dist/bundle/{program-GYMJ3DDH.js → program-ZJRIP25J.js} +108 -108
- package/dist/bundle/{prompt-TOG2CRCE.js → prompt-XCDHTEAO.js} +8 -8
- package/dist/bundle/{reasons-TLFQ45YX.js → reasons-REEEQDAZ.js} +5 -5
- package/dist/bundle/{recognize-GYGY45EY.js → recognize-OZLFDJAT.js} +7 -7
- package/dist/bundle/{remote-6XN2QLI5.js → remote-MDPYVCZB.js} +13 -13
- package/dist/bundle/{rerank-HJO3O4TW.js → rerank-FLZWJNHA.js} +10 -10
- package/dist/bundle/{serve-XPCNLHCR.js → serve-5UV5VLRV.js} +12 -12
- package/dist/bundle/{server-WPT3NC5B.js → server-53A2X2MK.js} +71 -71
- package/dist/bundle/server-5GMURMDE.js +97 -0
- package/dist/bundle/{services-253KKKVU.js → services-XSMH7BXB.js} +58 -58
- package/dist/bundle/{sqlite-runtime-EZASGJXW.js → sqlite-runtime-E3L7ENFU.js} +9 -9
- package/dist/bundle/{start-UHI35JFL.js → start-4S2VNR4J.js} +7 -7
- package/dist/bundle/{state-KJTSPFGK.js → state-TQI4JSH7.js} +9 -9
- package/dist/bundle/{store-G5B7T7M7.js → store-GS7PU6PJ.js} +26 -26
- package/dist/bundle/{store-62J2H2A3.js → store-VYJPL7MW.js} +28 -28
- package/dist/bundle/store-maintenance-command-JJVYUZMG.js +85 -0
- package/dist/bundle/surface-JC4XVMZR.js +83 -0
- package/dist/bundle/tokens-KJQ5EAPW.js +133 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/agent-23OB2NZP.js +0 -46
- package/dist/bundle/command-contract-BMQT2G5X.js +0 -45
- package/dist/bundle/entry-AVF6LMG7.js +0 -25
- package/dist/bundle/first-run-VYTIEUDA.js +0 -31
- package/dist/bundle/first-screen-QVZPF7KL.js +0 -45
- package/dist/bundle/google-VX7IPACN.js +0 -46
- package/dist/bundle/grants-4XWJFVD6.js +0 -133
- package/dist/bundle/meeting-combined-JUNV35GM.js +0 -28
- package/dist/bundle/meeting-model-XY4UNWWK.js +0 -29
- package/dist/bundle/notes-search-DEDUJKSN.js +0 -70
- package/dist/bundle/oauth-HXBXF4VI.js +0 -22
- package/dist/bundle/server-UBJZ66XE.js +0 -97
- package/dist/bundle/store-maintenance-command-C6T4YLVF.js +0 -85
- package/dist/bundle/surface-3OT64BHS.js +0 -83
- package/dist/bundle/tokens-EHYO6D2X.js +0 -133
|
@@ -2,28 +2,28 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCommandServer
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BMTMGMGE.js";
|
|
6
6
|
import {
|
|
7
7
|
ensureSqlite
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JHAACT4I.js";
|
|
9
9
|
import {
|
|
10
10
|
envName,
|
|
11
11
|
readOnlyLockOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5BHP4FVM.js";
|
|
13
13
|
import {
|
|
14
14
|
catchCrashes
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-T3OK6AYZ.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IBQZT2YD.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
24
24
|
import { spawn } from "node:child_process";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
27
27
|
import { appendFileSync } from "node:fs";
|
|
28
28
|
var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
|
|
29
29
|
const words = [];
|
|
@@ -47,7 +47,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
|
|
|
47
47
|
`);
|
|
48
48
|
}, "logVersion");
|
|
49
49
|
|
|
50
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
50
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
51
51
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
52
52
|
argv: process.argv,
|
|
53
53
|
env: process.env,
|
|
@@ -67,7 +67,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
67
67
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-V"))
|
|
68
68
|
return printVersion(entry.app, io);
|
|
69
69
|
if (isCommandServer(args)) {
|
|
70
|
-
const { serveEntry } = await import("./command-server-entry-
|
|
70
|
+
const { serveEntry } = await import("./command-server-entry-7FZX74T6.js");
|
|
71
71
|
return serveEntry(entry, io, { firstRunAt, commanderExit });
|
|
72
72
|
}
|
|
73
73
|
const tty = io.stdout.isTTY === true;
|
|
@@ -105,7 +105,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
105
105
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
106
106
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
107
107
|
return false;
|
|
108
|
-
const { readSecret } = await import("./prompt-
|
|
108
|
+
const { readSecret } = await import("./prompt-XCDHTEAO.js");
|
|
109
109
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
110
110
|
input: io.stdin,
|
|
111
111
|
output: io.stderr,
|
|
@@ -148,8 +148,8 @@ var firstRunAt = /* @__PURE__ */ __name((entry, io, headless) => async (command)
|
|
|
148
148
|
if (command.optsWithGlobals().dryRun === true)
|
|
149
149
|
return;
|
|
150
150
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
151
|
-
import("./first-run-
|
|
152
|
-
import("./command-contract-
|
|
151
|
+
import("./first-run-ZNKPPD6M.js"),
|
|
152
|
+
import("./command-contract-BGNT7MTQ.js")
|
|
153
153
|
]);
|
|
154
154
|
await setupAtStart({
|
|
155
155
|
command: entry.app.command,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
installFiles,
|
|
9
9
|
megabytes,
|
|
10
10
|
sharedModelsDirectory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2CG3LUQS.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-IBQZT2YD.js";
|
|
15
15
|
import {
|
|
16
16
|
importFrom
|
|
17
17
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
23
23
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
24
24
|
import { availableParallelism } from "node:os";
|
|
25
25
|
import { basename, join as join2 } from "node:path";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
28
28
|
import { createHash } from "node:crypto";
|
|
29
29
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
30
30
|
import { join } from "node:path";
|
|
@@ -186,7 +186,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
186
186
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
187
187
|
}, "openSession");
|
|
188
188
|
|
|
189
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
189
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
190
190
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
191
191
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
192
192
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -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-HMN26CVU.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3ZGWJYSG.js";
|
|
10
10
|
import {
|
|
11
11
|
singleLine
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MDJUYCHT.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IBQZT2YD.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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/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,7 +2,7 @@ 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-IBQZT2YD.js";
|
|
6
6
|
import {
|
|
7
7
|
importFrom
|
|
8
8
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -10,10 +10,10 @@ 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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
14
14
|
import { createRequire } from "node:module";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/speech/ogg-limit.js
|
|
17
17
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "local transcription needs a complete mono or stereo Ogg Opus recording"), "invalid");
|
|
18
18
|
var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
19
19
|
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
@@ -70,7 +70,7 @@ var checkOggDuration = /* @__PURE__ */ __name((bytes) => {
|
|
|
70
70
|
throw invalid();
|
|
71
71
|
}, "checkOggDuration");
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/speech/recognize.js
|
|
74
74
|
var SAMPLE_RATE = 16e3;
|
|
75
75
|
var LEAD = SAMPLE_RATE / 2;
|
|
76
76
|
var toModelRate = /* @__PURE__ */ __name((samples, rate) => {
|
|
@@ -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-3ZGWJYSG.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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/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,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
endpoint
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6KND2DYT.js";
|
|
6
6
|
import {
|
|
7
7
|
check,
|
|
8
8
|
getDotPath,
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
strictObject,
|
|
18
18
|
string,
|
|
19
19
|
trim
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-OBDPKDGB.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IBQZT2YD.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
29
29
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
30
30
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
31
31
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -82,7 +82,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
82
82
|
};
|
|
83
83
|
}, "runBudget");
|
|
84
84
|
|
|
85
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
85
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
86
86
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
87
87
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
88
88
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -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.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
|
|
8
8
|
var fields = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
var readsStdin = /* @__PURE__ */ __name((command, field) => {
|
|
10
10
|
fields.set(command, field);
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PSY67L73.js";
|
|
9
9
|
import {
|
|
10
10
|
array,
|
|
11
11
|
nullable,
|
|
@@ -16,9 +16,9 @@ import {
|
|
|
16
16
|
strictObject,
|
|
17
17
|
string,
|
|
18
18
|
unknown
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OBDPKDGB.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.724.0_@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typ_7eee7c5df32146a12ad3bd2be9b828b8/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
22
22
|
var link = {
|
|
23
23
|
target_text: nullable(text),
|
|
24
24
|
kind: text,
|
|
@@ -15,12 +15,12 @@ import {
|
|
|
15
15
|
string,
|
|
16
16
|
text,
|
|
17
17
|
unknown
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OBDPKDGB.js";
|
|
19
19
|
import {
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
24
24
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
25
25
|
var logRecordSchema = strictObject({
|
|
26
26
|
time: isoTime,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.130.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
|
|
8
8
|
var errorCodes = [
|
|
9
9
|
"validation_error",
|
|
10
10
|
"configuration_error",
|