@wirecat/drive-cli 0.58.0 → 0.60.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/drive.js +6 -2
- package/dist/bin/drive.js.map +1 -1
- package/dist/bundle/{all-profiles-ANDWOJDL.js → all-profiles-537I27Z4.js} +14 -13
- package/dist/bundle/{anthropic-EZPZUWGS.js → anthropic-X4NWVHDF.js} +9 -9
- package/dist/bundle/{app-server-67WL423B.js → app-server-KSHJKKS7.js} +53 -51
- package/dist/bundle/{bun-NIIYUR5F.js → bun-WTBGGCUC.js} +2 -2
- package/dist/bundle/{bun-sqlite-A5ZKTIYC.js → bun-sqlite-T7Y3JFFD.js} +8 -8
- package/dist/bundle/{chunk-5NPFHWLP.js → chunk-22ATLSNK.js} +5 -5
- package/dist/bundle/{chunk-ALTG7BZQ.js → chunk-246P2DCT.js} +19 -19
- package/dist/bundle/{chunk-NYINLKWT.js → chunk-2AXA5SKP.js} +1 -1
- package/dist/bundle/{chunk-BAEIAQWH.js → chunk-3TQHIHZI.js} +2 -2
- package/dist/bundle/{chunk-MBNKNWOG.js → chunk-4CBZEAQ7.js} +35 -34
- package/dist/bundle/{chunk-SWFA36F3.js → chunk-4VHBDVY2.js} +20 -14
- package/dist/bundle/{chunk-Z5GDNCTJ.js → chunk-4XZXH2NM.js} +2 -2
- package/dist/bundle/{chunk-A4DHPOFQ.js → chunk-57QVQGBE.js} +53 -39
- package/dist/bundle/{chunk-SPVPKHBQ.js → chunk-5AMRCBMP.js} +78 -40
- package/dist/bundle/{chunk-ED5JNYN5.js → chunk-5XHLQZAG.js} +30 -28
- package/dist/bundle/{chunk-BLJVCJZU.js → chunk-67QXMO2G.js} +26 -26
- package/dist/bundle/{chunk-EFEI724Z.js → chunk-6HTKB4WC.js} +1 -1
- package/dist/bundle/{chunk-U2RSVKR5.js → chunk-73MNUSP3.js} +1 -1
- package/dist/bundle/{chunk-4UU4ONKY.js → chunk-73TTP6ET.js} +5326 -636
- package/dist/bundle/{chunk-4ICWGMHN.js → chunk-77C5XRH3.js} +7 -7
- package/dist/bundle/{chunk-W6KMNO3C.js → chunk-77YTRBL6.js} +11 -11
- package/dist/bundle/{chunk-YHRJUZ3O.js → chunk-ALWTUDZF.js} +6 -4
- package/dist/bundle/{chunk-ESF2B22R.js → chunk-AXWXQNTC.js} +14 -11
- package/dist/bundle/{chunk-FD7A6745.js → chunk-CKGHRWVR.js} +4 -4
- package/dist/bundle/{chunk-X4F3M6L6.js → chunk-D6WIWOQC.js} +4 -4
- package/dist/bundle/{chunk-TCJRJ3TE.js → chunk-DMHGWL5D.js} +13 -13
- package/dist/bundle/{chunk-AFZ33AC7.js → chunk-DQDKLZAK.js} +179 -50
- package/dist/bundle/{chunk-ITD7WI23.js → chunk-EBLA7GXY.js} +1 -1
- package/dist/bundle/{chunk-UTDL7MKT.js → chunk-EHAI773E.js} +2 -2
- package/dist/bundle/{chunk-RRHC5SBB.js → chunk-FO4TCH6P.js} +2 -2
- package/dist/bundle/{chunk-7VFD3UJQ.js → chunk-FTZNUZO7.js} +3 -3
- package/dist/bundle/{chunk-JEMKSWVI.js → chunk-FZOCQQ66.js} +12 -12
- package/dist/bundle/{chunk-P5MCZ635.js → chunk-GD6TQ6U4.js} +11 -88
- package/dist/bundle/{chunk-PYPLD7JO.js → chunk-GVRS5AIH.js} +2 -2
- package/dist/bundle/{chunk-2TASMYGM.js → chunk-HCJG7ENG.js} +3 -3
- package/dist/bundle/{chunk-TIXIB32T.js → chunk-HFGR33KD.js} +153 -101
- package/dist/bundle/{chunk-ASPIEEXN.js → chunk-HIP43OGZ.js} +1 -1
- package/dist/bundle/{chunk-IBJOO5FG.js → chunk-HQVIK6PM.js} +37 -19
- package/dist/bundle/{chunk-AL7MY7MW.js → chunk-IRZ7OF3F.js} +1 -1
- package/dist/bundle/{chunk-OOR6PEHV.js → chunk-IXN7Y6JA.js} +1 -1
- package/dist/bundle/{chunk-4EEOJ54H.js → chunk-JGUJJNGZ.js} +5930 -3061
- package/dist/bundle/{chunk-6THTUYPT.js → chunk-JQLIM6BH.js} +5 -5
- package/dist/bundle/{chunk-LSSIVBQI.js → chunk-K6XVRA6U.js} +1 -1
- package/dist/bundle/chunk-KEXTTZJM.js +35 -0
- package/dist/bundle/{chunk-3RG27IWA.js → chunk-LJ77Y3TK.js} +5 -5
- package/dist/bundle/{chunk-I4VUHZSD.js → chunk-LQSRVQ3V.js} +4 -3
- package/dist/bundle/{chunk-NKL5XXOM.js → chunk-MVNPE5FZ.js} +8 -8
- package/dist/bundle/{chunk-6SARLV3Z.js → chunk-MXP35VPO.js} +4 -4
- package/dist/bundle/{chunk-J36Z6BDZ.js → chunk-N7S2UPF3.js} +652 -373
- package/dist/bundle/{chunk-4GZLX2ME.js → chunk-O37ESNAP.js} +40 -33
- package/dist/bundle/{chunk-OZEJA67C.js → chunk-OMKUBCNN.js} +8 -8
- package/dist/bundle/{chunk-XQMMB6ST.js → chunk-OYNUBWD2.js} +2 -22
- package/dist/bundle/{chunk-OUQVZTF5.js → chunk-PDYHEWKG.js} +7 -42
- package/dist/bundle/{chunk-QVIJMV22.js → chunk-PETFPXLU.js} +3 -3
- package/dist/bundle/{chunk-TNX77VPM.js → chunk-PPL5ASW2.js} +4908 -1588
- package/dist/bundle/{chunk-GDRO4YMH.js → chunk-QIJWSKZL.js} +4 -4
- package/dist/bundle/{chunk-EFX6FIDM.js → chunk-S36HRPNS.js} +1 -1
- package/dist/bundle/{chunk-WICYDOVL.js → chunk-SBHSNOU4.js} +91 -23
- package/dist/bundle/{chunk-7YUZAEBG.js → chunk-SZXI4OXX.js} +2 -2
- package/dist/bundle/{chunk-O3K46QRL.js → chunk-TKW4QWCY.js} +20 -6
- package/dist/bundle/{chunk-UBZ2LH7N.js → chunk-TVQDMP2F.js} +1533 -602
- package/dist/bundle/{chunk-7AL57FCK.js → chunk-TXMTMEHW.js} +4 -4
- package/dist/bundle/{chunk-X5XWUQNU.js → chunk-UNJE63JK.js} +2 -2
- package/dist/bundle/chunk-UTFATA4K.js +93 -0
- package/dist/bundle/{chunk-34XHR5FL.js → chunk-UVLSWLPZ.js} +16 -16
- package/dist/bundle/chunk-UVYVIHEA.js +34 -0
- package/dist/bundle/{chunk-IH4UCM5K.js → chunk-V2VMBM7O.js} +2 -2
- package/dist/bundle/{chunk-KCBHOYNZ.js → chunk-V7QMHMR3.js} +8 -13
- package/dist/bundle/{chunk-IXXQZCNK.js → chunk-VRW6ZDTH.js} +32 -19
- package/dist/bundle/{chunk-VXI67T7U.js → chunk-VVCZS42A.js} +1 -1
- package/dist/bundle/{chunk-A7FMNTCK.js → chunk-W62CON5K.js} +4 -4
- package/dist/bundle/{chunk-BKM2CGG2.js → chunk-XDIEQ2CE.js} +3 -3
- package/dist/bundle/{chunk-OG5ERX4S.js → chunk-XFXRGQXJ.js} +2 -2
- package/dist/bundle/{chunk-UMJLXAJI.js → chunk-YDN2RH5S.js} +2 -2
- package/dist/bundle/{chunk-TMW526H3.js → chunk-YGG7UA3C.js} +5 -5
- package/dist/bundle/{chunk-D72FL3L3.js → chunk-YYHKVOVK.js} +35 -35
- package/dist/bundle/{chunk-3GXNODTB.js → chunk-ZPQS7XJA.js} +4 -4
- package/dist/bundle/{chunk-JZ67M3HR.js → chunk-ZYCLPJ7U.js} +1 -1
- package/dist/bundle/command-contract-NUIWUVYB.js +39 -0
- package/dist/bundle/{decode-2R6DTGRX.js → decode-35N57AFW.js} +8 -8
- package/dist/bundle/{dispatch-DEXAEMIN.js → dispatch-CWXZW3PL.js} +9 -9
- package/dist/bundle/drive.js +12 -12
- package/dist/bundle/{echarts-CLB22SZS.js → echarts-3P3QZWMU.js} +2 -2
- package/dist/bundle/{embed-RJJWOLKN.js → embed-Q6Q5IOJQ.js} +9 -9
- package/dist/bundle/{embedder-DWYS5JYJ.js → embedder-D44JDTAA.js} +12 -12
- package/dist/bundle/entry-ZHCNI7XO.js +22 -0
- package/dist/bundle/{failure-GBZ4L5QO.js → failure-GRMMSDCZ.js} +4 -4
- package/dist/bundle/first-run-3DC2SDWM.js +30 -0
- package/dist/bundle/first-screen-YJF4YODC.js +37 -0
- package/dist/bundle/{google-L776ETP4.js → google-6ZZDKFBN.js} +13 -13
- package/dist/bundle/{google-api-AI5ZJJ2M.js → google-api-E6MOJ4ZD.js} +57 -56
- package/dist/bundle/grants-GWXDH5GM.js +105 -0
- package/dist/bundle/{identity-MDLWK2TX.js → identity-TID7S5NE.js} +6 -6
- package/dist/bundle/{instructions-BXZZNAMS.js → instructions-ANJN4HV3.js} +1 -1
- package/dist/bundle/{login-6HHQLRHY.js → login-BGMK2ABH.js} +65 -66
- package/dist/bundle/{mcp-ZZUYI44D.js → mcp-WBHKX5E3.js} +2 -2
- package/dist/bundle/{node-R6ZNQ3NT.js → node-VOB45ES2.js} +2 -2
- package/dist/bundle/{node-sqlite-AVNHGMVL.js → node-sqlite-TSX6XQY2.js} +14 -8
- package/dist/bundle/oauth-CEOYXW6C.js +22 -0
- package/dist/bundle/{open-BXPLXJC2.js → open-3USWHGNR.js} +8 -7
- package/dist/bundle/{openai-CRO5GDBY.js → openai-YZ5VGPIP.js} +17 -17
- package/dist/bundle/{process-P36JP33R.js → process-44JS2W7L.js} +1 -1
- package/dist/bundle/{program-4DWVWSGQ.js → program-TZLAFKJV.js} +158 -103
- package/dist/bundle/prompt-SG7LAOXW.js +17 -0
- package/dist/bundle/{reasons-IHPNUP5W.js → reasons-ZK3U3CIN.js} +5 -5
- package/dist/bundle/{recognize-NAISVA56.js → recognize-OFW7HWTM.js} +7 -7
- package/dist/bundle/{remote-KCUHG5HV.js → remote-YBDRZQZ5.js} +10 -10
- package/dist/bundle/{rerank-Q3POCDSK.js → rerank-TQQNS5FJ.js} +10 -10
- package/dist/bundle/{serve-5CUOYLSG.js → serve-OPZXMVLH.js} +14 -13
- package/dist/bundle/{server-FXW3GARV.js → server-2D6DDIK5.js} +44 -43
- package/dist/bundle/server-R6G2O772.js +70 -0
- package/dist/bundle/{services-PEYBXZ3R.js → services-34WKT3NN.js} +101 -31
- package/dist/bundle/{sqlite-runtime-YMPWN5PM.js → sqlite-runtime-WPUMKLUV.js} +9 -8
- package/dist/bundle/{start-PFWEF44R.js → start-ZXUJZ4JV.js} +7 -7
- package/dist/bundle/{state-5TQ7IOJH.js → state-AV2RB3AQ.js} +9 -9
- package/dist/bundle/{store-P4OYYFW5.js → store-3M7N2Q5T.js} +20 -16
- package/dist/bundle/{store-E2VWY4O6.js → store-YKV4GAMS.js} +49 -22
- package/dist/bundle/store-maintenance-command-WDXNY4ZF.js +60 -0
- package/dist/bundle/tokens-F63RXXEF.js +103 -0
- package/dist/commands/config.d.ts.map +1 -1
- package/dist/commands/config.js +14 -5
- package/dist/commands/config.js.map +1 -1
- package/dist/commands/context.d.ts +4 -2
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/documents.d.ts +1 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +14 -1
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/knowledge.d.ts +4 -0
- package/dist/commands/knowledge.d.ts.map +1 -1
- package/dist/commands/knowledge.js +8 -7
- package/dist/commands/knowledge.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +5 -2
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +7 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +22 -3
- package/dist/config.js.map +1 -1
- package/dist/contract-overrides.js +5 -5
- package/dist/contract-overrides.js.map +1 -1
- package/dist/errors.js +4 -4
- package/dist/errors.js.map +1 -1
- package/dist/knowledge-query.d.ts +2 -0
- package/dist/knowledge-query.d.ts.map +1 -1
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +3 -5
- package/dist/login.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +13 -4
- package/dist/program.js.map +1 -1
- package/dist/provider-json.d.ts +2 -0
- package/dist/provider-json.d.ts.map +1 -1
- package/dist/provider-json.js +13 -0
- package/dist/provider-json.js.map +1 -1
- package/dist/reasons.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +2 -22
- package/dist/reasons.js.map +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +2 -1
- package/dist/registry.js.map +1 -1
- package/dist/store.d.ts +2 -0
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +9 -0
- package/dist/store.js.map +1 -1
- package/dist/tokens.js +5 -5
- package/dist/tokens.js.map +1 -1
- package/dist/upload.js +1 -1
- package/dist/upload.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/drive-cli/SKILL.md +2 -1
- package/dist/bundle/chunk-7VUHY5LP.js +0 -18
- package/dist/bundle/chunk-Y6M2G7JK.js +0 -3609
- package/dist/bundle/command-contract-ZCXFT764.js +0 -39
- package/dist/bundle/entry-E6H7IUPV.js +0 -21
- package/dist/bundle/first-run-DI2JIG44.js +0 -30
- package/dist/bundle/first-screen-X5N4TCKD.js +0 -37
- package/dist/bundle/grants-HKGYAWL6.js +0 -104
- package/dist/bundle/oauth-UVU52X57.js +0 -22
- package/dist/bundle/prompt-AFWVGRDG.js +0 -17
- package/dist/bundle/server-FTLPSLRU.js +0 -69
- package/dist/bundle/store-maintenance-command-MWVERNK7.js +0 -58
- package/dist/bundle/tokens-OVG4CJO4.js +0 -102
- /package/dist/bundle/{chunk-HPXYN7F3.js → chunk-LK2E2ELG.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
|
errorCodes
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EBLA7GXY.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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
11
11
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
12
12
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
13
13
|
const { code, exitCode } = value ?? {};
|
|
@@ -8,23 +8,23 @@ import {
|
|
|
8
8
|
installFiles,
|
|
9
9
|
megabytes,
|
|
10
10
|
sharedModelsDirectory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ALWTUDZF.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
14
14
|
} from "./chunk-Y5E2WNWB.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EBLA7GXY.js";
|
|
18
18
|
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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/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";
|
|
@@ -207,7 +207,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
207
207
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
208
208
|
}, "openSession");
|
|
209
209
|
|
|
210
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
210
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
211
211
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
212
212
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
213
213
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
strictObject,
|
|
19
19
|
string,
|
|
20
20
|
unknown
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-TKW4QWCY.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
24
24
|
var text = string();
|
|
25
25
|
var id = pipe(string(), minLength(1));
|
|
26
26
|
var time = isoTime;
|
|
@@ -44,7 +44,37 @@ var author = strictObject({
|
|
|
44
44
|
name: nullable(text)
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
48
|
+
var organization = strictObject({
|
|
49
|
+
id,
|
|
50
|
+
ref: reference,
|
|
51
|
+
kind: picklist(["company", "team", "family", "community"]),
|
|
52
|
+
name: text,
|
|
53
|
+
scope: picklist(["personal", "work"]),
|
|
54
|
+
created_at: time
|
|
55
|
+
});
|
|
56
|
+
var project = strictObject({
|
|
57
|
+
id,
|
|
58
|
+
ref: reference,
|
|
59
|
+
key: text,
|
|
60
|
+
name: text,
|
|
61
|
+
kind: picklist(["project", "inbox"]),
|
|
62
|
+
type: picklist(["work", "client", "personal", "oss", "other"]),
|
|
63
|
+
organization_id: nullable(id),
|
|
64
|
+
scope: picklist(["personal", "work"]),
|
|
65
|
+
created_at: time
|
|
66
|
+
});
|
|
67
|
+
var reminder = strictObject({
|
|
68
|
+
id,
|
|
69
|
+
task: text,
|
|
70
|
+
due_at: time,
|
|
71
|
+
timezone: text,
|
|
72
|
+
state: picklist(["pending", "leased", "delivered", "cancelled"]),
|
|
73
|
+
revision: number(),
|
|
74
|
+
receipt: nullable(text)
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
48
78
|
var link = {
|
|
49
79
|
target_text: nullable(text),
|
|
50
80
|
kind: text,
|
|
@@ -85,36 +115,6 @@ var note = strictObject({
|
|
|
85
115
|
backlinks: optional(array(strictObject({ from: reference, ...link })))
|
|
86
116
|
});
|
|
87
117
|
|
|
88
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.546.0_@wirecat+cli-base@0.73.0_commander@15.0.0_esbuild@0.28.2_type_6245070bff0a7c29971e74a96fde145c/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
89
|
-
var organization = strictObject({
|
|
90
|
-
id,
|
|
91
|
-
ref: reference,
|
|
92
|
-
kind: picklist(["company", "team", "family", "community"]),
|
|
93
|
-
name: text,
|
|
94
|
-
scope: picklist(["personal", "work"]),
|
|
95
|
-
created_at: time
|
|
96
|
-
});
|
|
97
|
-
var project = strictObject({
|
|
98
|
-
id,
|
|
99
|
-
ref: reference,
|
|
100
|
-
key: text,
|
|
101
|
-
name: text,
|
|
102
|
-
kind: picklist(["project", "inbox"]),
|
|
103
|
-
type: picklist(["work", "client", "personal", "oss", "other"]),
|
|
104
|
-
organization_id: nullable(id),
|
|
105
|
-
scope: picklist(["personal", "work"]),
|
|
106
|
-
created_at: time
|
|
107
|
-
});
|
|
108
|
-
var reminder = strictObject({
|
|
109
|
-
id,
|
|
110
|
-
task: text,
|
|
111
|
-
due_at: time,
|
|
112
|
-
timezone: text,
|
|
113
|
-
state: picklist(["pending", "leased", "delivered", "cancelled"]),
|
|
114
|
-
revision: number(),
|
|
115
|
-
receipt: nullable(text)
|
|
116
|
-
});
|
|
117
|
-
|
|
118
118
|
export {
|
|
119
119
|
text,
|
|
120
120
|
id,
|
|
@@ -125,8 +125,8 @@ export {
|
|
|
125
125
|
providerMetadata,
|
|
126
126
|
evidenceSource,
|
|
127
127
|
author,
|
|
128
|
-
note,
|
|
129
128
|
organization,
|
|
130
129
|
project,
|
|
131
|
-
reminder
|
|
130
|
+
reminder,
|
|
131
|
+
note
|
|
132
132
|
};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-EBLA7GXY.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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/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) => {
|
|
@@ -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.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { win32 } from "node:path";
|
|
10
10
|
var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-PDYHEWKG.js";
|
|
10
|
+
import "./chunk-73TTP6ET.js";
|
|
11
|
+
import "./chunk-GD6TQ6U4.js";
|
|
12
|
+
import "./chunk-D6WIWOQC.js";
|
|
13
|
+
import "./chunk-4XZXH2NM.js";
|
|
14
|
+
import "./chunk-73MNUSP3.js";
|
|
15
|
+
import "./chunk-HFGR33KD.js";
|
|
16
|
+
import "./chunk-YDN2RH5S.js";
|
|
17
|
+
import "./chunk-ALWTUDZF.js";
|
|
18
|
+
import "./chunk-YYHKVOVK.js";
|
|
19
|
+
import "./chunk-N7S2UPF3.js";
|
|
20
|
+
import "./chunk-4VHBDVY2.js";
|
|
21
|
+
import "./chunk-UTFATA4K.js";
|
|
22
|
+
import "./chunk-77C5XRH3.js";
|
|
23
|
+
import "./chunk-KEXTTZJM.js";
|
|
24
|
+
import "./chunk-LK2E2ELG.js";
|
|
25
|
+
import "./chunk-246P2DCT.js";
|
|
26
|
+
import "./chunk-LJ77Y3TK.js";
|
|
27
|
+
import "./chunk-Y5E2WNWB.js";
|
|
28
|
+
import "./chunk-HIP43OGZ.js";
|
|
29
|
+
import "./chunk-FO4TCH6P.js";
|
|
30
|
+
import "./chunk-TKW4QWCY.js";
|
|
31
|
+
import "./chunk-EBLA7GXY.js";
|
|
32
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
33
|
+
export {
|
|
34
|
+
SCHEMA_DIALECT,
|
|
35
|
+
commandContract,
|
|
36
|
+
commandPathOf,
|
|
37
|
+
findCommand,
|
|
38
|
+
outputOf
|
|
39
|
+
};
|
|
@@ -3,23 +3,23 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-ZPQS7XJA.js";
|
|
7
|
+
import "./chunk-246P2DCT.js";
|
|
8
|
+
import "./chunk-LJ77Y3TK.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-HIP43OGZ.js";
|
|
13
|
+
import "./chunk-FO4TCH6P.js";
|
|
14
|
+
import "./chunk-TKW4QWCY.js";
|
|
15
15
|
import {
|
|
16
16
|
CliError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EBLA7GXY.js";
|
|
18
18
|
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.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
24
24
|
import { mkdtemp, rm, writeFile } from "node:fs/promises";
|
|
25
25
|
import { createRequire } from "node:module";
|
|
@@ -13,23 +13,23 @@ import {
|
|
|
13
13
|
parseDescribe,
|
|
14
14
|
shimFiles,
|
|
15
15
|
writeShim
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-W62CON5K.js";
|
|
17
17
|
import "./chunk-Y5E2WNWB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-HIP43OGZ.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EBLA7GXY.js";
|
|
22
22
|
import {
|
|
23
23
|
__name,
|
|
24
24
|
__toESM
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
28
28
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
import { constants } from "node:os";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
|
|
33
33
|
import { readdirSync, statSync } from "node:fs";
|
|
34
34
|
import { join } from "node:path";
|
|
35
35
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
101
101
|
}, "findTools");
|
|
102
102
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
103
103
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
|
|
105
105
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
106
106
|
import { readFileSync } from "node:fs";
|
|
107
107
|
var MAX_ANSWER_BYTES = 64 * 1024;
|
|
@@ -150,7 +150,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
150
150
|
}
|
|
151
151
|
}, "baseVersion");
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
|
|
154
154
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
155
155
|
import { basename, dirname } from "node:path";
|
|
156
156
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -242,7 +242,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
242
242
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
243
243
|
}), "removeShortcuts");
|
|
244
244
|
|
|
245
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
245
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
246
246
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
247
247
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
248
248
|
const installed = installedPrograms(context);
|
|
@@ -339,7 +339,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
339
339
|
});
|
|
340
340
|
}), "runTool");
|
|
341
341
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
342
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
342
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-GRMMSDCZ.js");
|
|
343
343
|
const object = errorObjectOf(error);
|
|
344
344
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
345
345
|
`);
|
package/dist/bundle/drive.js
CHANGED
|
@@ -3,17 +3,17 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
3
3
|
const require = __bundleRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
processStreams
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-246P2DCT.js";
|
|
7
7
|
import {
|
|
8
8
|
errorObjectOf,
|
|
9
9
|
exitCodeOfError,
|
|
10
10
|
renderError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LJ77Y3TK.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-HIP43OGZ.js";
|
|
14
|
+
import "./chunk-FO4TCH6P.js";
|
|
15
|
+
import "./chunk-TKW4QWCY.js";
|
|
16
|
+
import "./chunk-EBLA7GXY.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
import { enableCompileCache } from "node:module";
|
|
23
23
|
enableCompileCache();
|
|
24
24
|
var [{ wcatStart }, { DRIVE_APP }] = await Promise.all([
|
|
25
|
-
import("./start-
|
|
26
|
-
import("./identity-
|
|
25
|
+
import("./start-ZXUJZ4JV.js"),
|
|
26
|
+
import("./identity-TID7S5NE.js")
|
|
27
27
|
]);
|
|
28
28
|
var wcat = await wcatStart({
|
|
29
29
|
command: DRIVE_APP.command,
|
|
@@ -35,18 +35,18 @@ if (wcat.code !== void 0) {
|
|
|
35
35
|
process.exitCode = wcat.code;
|
|
36
36
|
} else {
|
|
37
37
|
const [{ startCli }, { REASONS }, { interactiveOf }] = await Promise.all([
|
|
38
|
-
import("./entry-
|
|
39
|
-
import("./reasons-
|
|
38
|
+
import("./entry-ZHCNI7XO.js"),
|
|
39
|
+
import("./reasons-ZK3U3CIN.js"),
|
|
40
40
|
import("./terminal-DHJ4D3BC.js")
|
|
41
41
|
]);
|
|
42
42
|
await startCli({
|
|
43
43
|
app: DRIVE_APP,
|
|
44
44
|
interactive: interactiveOf,
|
|
45
45
|
reasons: REASONS,
|
|
46
|
-
run: /* @__PURE__ */ __name(async (entry) => (await import("./program-
|
|
46
|
+
run: /* @__PURE__ */ __name(async (entry) => (await import("./program-TZLAFKJV.js")).run(entry.args, {
|
|
47
47
|
signal: entry.signal,
|
|
48
48
|
ask: /* @__PURE__ */ __name((key) => entry.ask(`Allow ${key}?`), "ask"),
|
|
49
|
-
openBrowser: /* @__PURE__ */ __name((url) => entry.openBrowser(url), "openBrowser")
|
|
49
|
+
openBrowser: /* @__PURE__ */ __name((url, command) => entry.openBrowser(url, void 0, command), "openBrowser")
|
|
50
50
|
}), "run"),
|
|
51
51
|
fail: /* @__PURE__ */ __name((error, entry) => {
|
|
52
52
|
const object = errorObjectOf(error);
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YGG7UA3C.js";
|
|
17
17
|
import "./chunk-5DPV7X27.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ALWTUDZF.js";
|
|
19
|
+
import "./chunk-KEXTTZJM.js";
|
|
20
|
+
import "./chunk-246P2DCT.js";
|
|
21
|
+
import "./chunk-LJ77Y3TK.js";
|
|
22
22
|
import "./chunk-Y5E2WNWB.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-HIP43OGZ.js";
|
|
24
|
+
import "./chunk-FO4TCH6P.js";
|
|
25
|
+
import "./chunk-TKW4QWCY.js";
|
|
26
|
+
import "./chunk-EBLA7GXY.js";
|
|
27
27
|
import "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
export {
|
|
29
29
|
WARM_IDLE_MS,
|
|
@@ -4,30 +4,30 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YGG7UA3C.js";
|
|
8
8
|
import "./chunk-5DPV7X27.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ALWTUDZF.js";
|
|
10
|
+
import "./chunk-KEXTTZJM.js";
|
|
11
|
+
import "./chunk-246P2DCT.js";
|
|
12
|
+
import "./chunk-LJ77Y3TK.js";
|
|
13
13
|
import {
|
|
14
14
|
importFrom
|
|
15
15
|
} from "./chunk-Y5E2WNWB.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-HIP43OGZ.js";
|
|
17
|
+
import "./chunk-FO4TCH6P.js";
|
|
18
|
+
import "./chunk-TKW4QWCY.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EBLA7GXY.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
27
27
|
import { readFileSync } from "node:fs";
|
|
28
28
|
import { join } from "node:path";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
|
|
31
31
|
var SIZE = 224;
|
|
32
32
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
33
33
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -66,7 +66,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
66
66
|
return pixels;
|
|
67
67
|
}, "preprocess");
|
|
68
68
|
|
|
69
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
69
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.565.0_@wirecat+cli-base@0.75.2_commander@15.0.0_esbuild@0.28.2_type_ff8e334310c9524b6cc272472a342b2f/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
70
70
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
71
71
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
72
72
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
openBrowser,
|
|
5
|
+
startCli
|
|
6
|
+
} from "./chunk-AXWXQNTC.js";
|
|
7
|
+
import "./chunk-4XZXH2NM.js";
|
|
8
|
+
import "./chunk-3TQHIHZI.js";
|
|
9
|
+
import "./chunk-V7QMHMR3.js";
|
|
10
|
+
import "./chunk-UVYVIHEA.js";
|
|
11
|
+
import "./chunk-246P2DCT.js";
|
|
12
|
+
import "./chunk-LJ77Y3TK.js";
|
|
13
|
+
import "./chunk-Y5E2WNWB.js";
|
|
14
|
+
import "./chunk-HIP43OGZ.js";
|
|
15
|
+
import "./chunk-FO4TCH6P.js";
|
|
16
|
+
import "./chunk-TKW4QWCY.js";
|
|
17
|
+
import "./chunk-EBLA7GXY.js";
|
|
18
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
19
|
+
export {
|
|
20
|
+
openBrowser,
|
|
21
|
+
startCli
|
|
22
|
+
};
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
mcpErrorResult,
|
|
10
10
|
renderError,
|
|
11
11
|
retryOf
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-LJ77Y3TK.js";
|
|
13
|
+
import "./chunk-HIP43OGZ.js";
|
|
14
|
+
import "./chunk-TKW4QWCY.js";
|
|
15
|
+
import "./chunk-EBLA7GXY.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
export {
|
|
18
18
|
catchCrashes,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
askSetupQuestions,
|
|
5
|
+
asksAtStart,
|
|
6
|
+
setupAtStart,
|
|
7
|
+
systemLanguage
|
|
8
|
+
} from "./chunk-FZOCQQ66.js";
|
|
9
|
+
import "./chunk-D6WIWOQC.js";
|
|
10
|
+
import "./chunk-CKGHRWVR.js";
|
|
11
|
+
import "./chunk-ZYCLPJ7U.js";
|
|
12
|
+
import "./chunk-MVNPE5FZ.js";
|
|
13
|
+
import "./chunk-77C5XRH3.js";
|
|
14
|
+
import "./chunk-KEXTTZJM.js";
|
|
15
|
+
import "./chunk-D72URWJE.js";
|
|
16
|
+
import "./chunk-2AXA5SKP.js";
|
|
17
|
+
import "./chunk-246P2DCT.js";
|
|
18
|
+
import "./chunk-LJ77Y3TK.js";
|
|
19
|
+
import "./chunk-Y5E2WNWB.js";
|
|
20
|
+
import "./chunk-HIP43OGZ.js";
|
|
21
|
+
import "./chunk-FO4TCH6P.js";
|
|
22
|
+
import "./chunk-TKW4QWCY.js";
|
|
23
|
+
import "./chunk-EBLA7GXY.js";
|
|
24
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
25
|
+
export {
|
|
26
|
+
askSetupQuestions,
|
|
27
|
+
asksAtStart,
|
|
28
|
+
setupAtStart,
|
|
29
|
+
systemLanguage
|
|
30
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
WIRECAT_TOOLS,
|
|
5
|
+
firstScreen,
|
|
6
|
+
installHelp
|
|
7
|
+
} from "./chunk-OMKUBCNN.js";
|
|
8
|
+
import "./chunk-HTQTIKWP.js";
|
|
9
|
+
import "./chunk-PDYHEWKG.js";
|
|
10
|
+
import "./chunk-73TTP6ET.js";
|
|
11
|
+
import "./chunk-GD6TQ6U4.js";
|
|
12
|
+
import "./chunk-D6WIWOQC.js";
|
|
13
|
+
import "./chunk-4XZXH2NM.js";
|
|
14
|
+
import "./chunk-73MNUSP3.js";
|
|
15
|
+
import "./chunk-HFGR33KD.js";
|
|
16
|
+
import "./chunk-YDN2RH5S.js";
|
|
17
|
+
import "./chunk-ALWTUDZF.js";
|
|
18
|
+
import "./chunk-YYHKVOVK.js";
|
|
19
|
+
import "./chunk-N7S2UPF3.js";
|
|
20
|
+
import "./chunk-4VHBDVY2.js";
|
|
21
|
+
import "./chunk-UTFATA4K.js";
|
|
22
|
+
import "./chunk-77C5XRH3.js";
|
|
23
|
+
import "./chunk-KEXTTZJM.js";
|
|
24
|
+
import "./chunk-LK2E2ELG.js";
|
|
25
|
+
import "./chunk-246P2DCT.js";
|
|
26
|
+
import "./chunk-LJ77Y3TK.js";
|
|
27
|
+
import "./chunk-Y5E2WNWB.js";
|
|
28
|
+
import "./chunk-HIP43OGZ.js";
|
|
29
|
+
import "./chunk-FO4TCH6P.js";
|
|
30
|
+
import "./chunk-TKW4QWCY.js";
|
|
31
|
+
import "./chunk-EBLA7GXY.js";
|
|
32
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
33
|
+
export {
|
|
34
|
+
WIRECAT_TOOLS,
|
|
35
|
+
firstScreen,
|
|
36
|
+
installHelp
|
|
37
|
+
};
|
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
metadataOf,
|
|
6
6
|
readFile,
|
|
7
7
|
userOf
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-22ATLSNK.js";
|
|
9
9
|
import {
|
|
10
10
|
MAX_ENTRIES,
|
|
11
11
|
supported,
|
|
12
12
|
tooManyEntries
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-VVCZS42A.js";
|
|
14
|
+
import "./chunk-57QVQGBE.js";
|
|
15
|
+
import "./chunk-JQLIM6BH.js";
|
|
16
|
+
import "./chunk-67QXMO2G.js";
|
|
17
17
|
import "./chunk-5DPV7X27.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-UNJE63JK.js";
|
|
19
|
+
import "./chunk-4VHBDVY2.js";
|
|
20
|
+
import "./chunk-246P2DCT.js";
|
|
21
|
+
import "./chunk-LJ77Y3TK.js";
|
|
22
22
|
import "./chunk-Y5E2WNWB.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-HIP43OGZ.js";
|
|
24
|
+
import "./chunk-FO4TCH6P.js";
|
|
25
|
+
import "./chunk-TKW4QWCY.js";
|
|
26
|
+
import "./chunk-EBLA7GXY.js";
|
|
27
27
|
import "./chunk-ZVVMGPBJ.js";
|
|
28
28
|
export {
|
|
29
29
|
MAX_ENTRIES,
|