@wirecat/cli-memo 0.131.79 → 0.131.81
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/memo.js +2 -2
- package/dist/bundle/{all-profiles-ZMIHTBZD.js → all-profiles-AG3WU2VX.js} +5 -5
- package/dist/bundle/{anthropic-PNRUKJHS.js → anthropic-5OJ6VVBT.js} +2 -2
- package/dist/bundle/{app-server-RNASTWZO.js → app-server-CYMFIH4U.js} +36 -36
- package/dist/bundle/auto-PI3CSWZS.js +91 -0
- package/dist/bundle/{bun-QU4I5GWB.js → bun-YI3OK27Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-J4KG5VML.js → bun-sqlite-YXHIEV5I.js} +3 -3
- package/dist/bundle/{chunk-RMKJWDVT.js → chunk-26HACUK7.js} +45 -45
- package/dist/bundle/{chunk-GTYESBB2.js → chunk-2DLWUJW2.js} +2 -2
- package/dist/bundle/{chunk-4XOAQ5EQ.js → chunk-3UQC4O3L.js} +8 -8
- package/dist/bundle/{chunk-PB4ZGGR4.js → chunk-5MGGZJAL.js} +1 -1
- package/dist/bundle/{chunk-FCHVDLEL.js → chunk-6GFML7RP.js} +2 -2
- package/dist/bundle/{chunk-O4ZIN4AY.js → chunk-6KPJKZNM.js} +5 -5
- package/dist/bundle/{chunk-H6QELEPY.js → chunk-7CU4TLEU.js} +4 -4
- package/dist/bundle/{chunk-IE6AEPW3.js → chunk-7END7RSM.js} +9 -9
- package/dist/bundle/{chunk-JX4YNSYT.js → chunk-7TGAZTZ7.js} +1 -1
- package/dist/bundle/{chunk-WN7BSOD2.js → chunk-ACUFYEMU.js} +1 -1
- package/dist/bundle/{chunk-CLZHPHKI.js → chunk-B44MN5AV.js} +3 -3
- package/dist/bundle/{chunk-ZIDR2CSX.js → chunk-BM7X632R.js} +2 -2
- package/dist/bundle/{chunk-GDSCR5BG.js → chunk-BXFFFWJC.js} +1 -1
- package/dist/bundle/{chunk-R24Q24U5.js → chunk-C4PKTIIC.js} +20 -20
- package/dist/bundle/{chunk-DP2RZ6FO.js → chunk-CYNITS32.js} +2 -2
- package/dist/bundle/{chunk-CY7WACM7.js → chunk-D6QYOZQ7.js} +29 -29
- package/dist/bundle/{chunk-TBCHID7L.js → chunk-DWWQE6QB.js} +1168 -860
- package/dist/bundle/{chunk-AWUANCLC.js → chunk-EHBC5J5T.js} +1 -1
- package/dist/bundle/{chunk-SEIRBXJT.js → chunk-ENNO7YI4.js} +6 -6
- package/dist/bundle/{chunk-MQ6XB6BV.js → chunk-F5G2ECJT.js} +5 -5
- package/dist/bundle/{chunk-GJ7KTKIP.js → chunk-FSWVWWK6.js} +12 -12
- package/dist/bundle/{chunk-J2KPUG2X.js → chunk-GAGGDEEV.js} +4 -4
- package/dist/bundle/{chunk-Q5YM3JWV.js → chunk-GTOC7CVD.js} +2 -2
- package/dist/bundle/{chunk-7SGURCSQ.js → chunk-HMLUAJ5X.js} +1 -1
- package/dist/bundle/{chunk-RUHFWDHD.js → chunk-IMGEDPEG.js} +3 -3
- package/dist/bundle/{chunk-XO6RP5FV.js → chunk-IMOHS6Z4.js} +1 -1
- package/dist/bundle/{chunk-IU2QDYBO.js → chunk-ISODMBTI.js} +4 -4
- package/dist/bundle/{chunk-4BSNHOEV.js → chunk-J53G4IDW.js} +14 -9
- package/dist/bundle/{chunk-LQBVQX47.js → chunk-JURO45D4.js} +83 -78
- package/dist/bundle/{chunk-VSSWVVOZ.js → chunk-KAJJEVBN.js} +10 -10
- package/dist/bundle/{chunk-CX3D6D43.js → chunk-L4JRQ3EF.js} +3 -3
- package/dist/bundle/{chunk-5YS4WS74.js → chunk-LEVVMGYP.js} +1 -1
- package/dist/bundle/{chunk-A5TSIMI2.js → chunk-LQRUSNYT.js} +1 -1
- package/dist/bundle/{chunk-3GOMBG55.js → chunk-M27DVXQY.js} +7 -7
- package/dist/bundle/{chunk-ZFUYVQII.js → chunk-OW7QEJQC.js} +32 -32
- package/dist/bundle/{chunk-JDI7CKLO.js → chunk-OXUVXJQZ.js} +7 -7
- package/dist/bundle/{chunk-DAJEINOF.js → chunk-QACKJE66.js} +281 -281
- package/dist/bundle/{chunk-U3VXKVKI.js → chunk-QKDLZFET.js} +12 -12
- package/dist/bundle/{chunk-YJUVVYS6.js → chunk-RRAO2HEO.js} +4 -4
- package/dist/bundle/{chunk-TH3LLEA2.js → chunk-SFZATVW3.js} +3 -3
- package/dist/bundle/{chunk-46Z7UUCG.js → chunk-SUN4Z4O5.js} +1 -1
- package/dist/bundle/{chunk-UYKKJOND.js → chunk-SZXP5BLK.js} +4 -4
- package/dist/bundle/{chunk-CQPXUMIS.js → chunk-TGKW746D.js} +1 -1
- package/dist/bundle/{chunk-BBJBWSGN.js → chunk-TM7HPDDC.js} +2 -2
- package/dist/bundle/{chunk-OP5MKU7T.js → chunk-U5KHIIEZ.js} +1 -1
- package/dist/bundle/{chunk-2TIK6LHL.js → chunk-UIPF5ZPZ.js} +393 -305
- package/dist/bundle/{chunk-24FOGKJI.js → chunk-UXAVR5L4.js} +5 -5
- package/dist/bundle/{chunk-IHWPNLCI.js → chunk-VR5JZXFD.js} +148 -148
- package/dist/bundle/{chunk-QOFD6JSB.js → chunk-W2NETMA4.js} +5 -5
- package/dist/bundle/{chunk-3HCGK4FN.js → chunk-W6JVRWUC.js} +1 -1
- package/dist/bundle/{chunk-2C536VQW.js → chunk-WVTH7Q23.js} +1 -1
- package/dist/bundle/{chunk-SM7PB5CU.js → chunk-Y22BK4VX.js} +5 -5
- package/dist/bundle/{chunk-4FPSZCWN.js → chunk-YMM7JV6G.js} +2 -2
- package/dist/bundle/{chunk-VIZBCX3C.js → chunk-YVY6VV6C.js} +4 -4
- package/dist/bundle/{chunk-6ZO2ZVKV.js → chunk-YZLQY6MO.js} +5 -5
- package/dist/bundle/{chunk-UC5YCXKS.js → chunk-ZA3QA66B.js} +13 -13
- package/dist/bundle/{chunk-QNI3Q7XS.js → chunk-ZQRDE63F.js} +2 -2
- package/dist/bundle/{chunk-PI42ZHZQ.js → chunk-ZSDIUMUQ.js} +2 -2
- package/dist/bundle/{chunk-HKOHKYDY.js → chunk-ZYBFT7EU.js} +6 -6
- package/dist/bundle/{command-contract-4ZJOMSQ2.js → command-contract-G4GWD3V6.js} +11 -11
- package/dist/bundle/{command-server-entry-VSWZ5K2Q.js → command-server-entry-CNTXCJJ4.js} +17 -17
- package/dist/bundle/{decode-OPD4OHCW.js → decode-LV4O5H3M.js} +2 -2
- package/dist/bundle/{echarts-AXYKRYU7.js → echarts-7FYCTGV2.js} +2 -2
- package/dist/bundle/{embed-6DBZRTQ7.js → embed-BJ6VBMFC.js} +3 -3
- package/dist/bundle/{embedder-SQI6IDZC.js → embedder-EMU2SEDZ.js} +6 -6
- package/dist/bundle/{entry-2GKNMGW6.js → entry-IXBQ4UNV.js} +5 -5
- package/dist/bundle/{entry-RV5QAV44.js → entry-SWFZ52CW.js} +5 -5
- package/dist/bundle/failure-KXBXKFBC.js +71 -0
- package/dist/bundle/{first-run-BBMUDHYX.js → first-run-74EADT2V.js} +5 -5
- package/dist/bundle/{first-screen-4BS5M4JW.js → first-screen-IW4EUPTH.js} +12 -12
- package/dist/bundle/{instructions-JNAROG65.js → instructions-HTJ3I5F5.js} +1 -1
- package/dist/bundle/{mcp-3MBYSBNS.js → mcp-RO7CEZ4P.js} +35 -35
- package/dist/bundle/memo.js +3 -3
- package/dist/bundle/{node-6OTEDFSP.js → node-GTF4PZZJ.js} +2 -2
- package/dist/bundle/{node-sqlite-HBHJOJX6.js → node-sqlite-TCF6PKCK.js} +4 -4
- package/dist/bundle/{oauth-PVQSSPPE.js → oauth-MQWM7KWY.js} +4 -4
- package/dist/bundle/{open-ARBTD4LX.js → open-NDV2TOBL.js} +2 -2
- package/dist/bundle/{openai-2JRFTWUA.js → openai-BQAQJD34.js} +7 -7
- package/dist/bundle/{process-4ERCV4WX.js → process-YWF25XAX.js} +1 -1
- package/dist/bundle/{program-5KVHPFJU.js → program-L4PM3UNK.js} +244 -83
- package/dist/bundle/{prompt-4I34VBPK.js → prompt-ME3B7BVG.js} +2 -2
- package/dist/bundle/{recognize-22BJ7RWB.js → recognize-NJTH7EAF.js} +1 -1
- package/dist/bundle/{remote-BON3MKY5.js → remote-2SQT2DEL.js} +4 -4
- package/dist/bundle/{rerank-6CCCIZDS.js → rerank-OYYNHRTD.js} +4 -4
- package/dist/bundle/{serve-FB54DFIV.js → serve-KMZU3JKX.js} +6 -6
- package/dist/bundle/server-K3HNYEDO.js +64 -0
- package/dist/bundle/{server-TL5WPR3I.js → server-OPVBIS67.js} +54 -53
- package/dist/bundle/server-QP3EDFBW.js +50 -0
- package/dist/bundle/{state-23IF45K6.js → state-Y6JT6KT3.js} +3 -3
- package/dist/bundle/{store-FGNXSGJU.js → store-X53QOU4W.js} +9 -9
- package/dist/bundle/store-maintenance-command-ELTUGXWJ.js +49 -0
- package/dist/bundle/update-4NPCGZ2P.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +6 -0
- package/dist/examples.js.map +1 -1
- package/dist/knowledge/command.d.ts.map +1 -1
- package/dist/knowledge/command.js +2 -0
- package/dist/knowledge/command.js.map +1 -1
- package/dist/knowledge/document-context.d.ts +14 -0
- package/dist/knowledge/document-context.d.ts.map +1 -0
- package/dist/knowledge/document-context.js +33 -0
- package/dist/knowledge/document-context.js.map +1 -0
- package/dist/knowledge/project-activity-command.d.ts +5 -0
- package/dist/knowledge/project-activity-command.d.ts.map +1 -0
- package/dist/knowledge/project-activity-command.js +71 -0
- package/dist/knowledge/project-activity-command.js.map +1 -0
- package/dist/knowledge/relationships.d.ts +4 -0
- package/dist/knowledge/relationships.d.ts.map +1 -1
- package/dist/knowledge/relationships.js +14 -0
- package/dist/knowledge/relationships.js.map +1 -1
- package/dist/knowledge/roles-command.d.ts.map +1 -1
- package/dist/knowledge/roles-command.js +7 -4
- package/dist/knowledge/roles-command.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +1 -0
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/proposal-rows.d.ts +6 -1
- package/dist/people/proposal-rows.d.ts.map +1 -1
- package/dist/people/proposal-rows.js +14 -5
- package/dist/people/proposal-rows.js.map +1 -1
- package/dist/people/proposals-command.d.ts.map +1 -1
- package/dist/people/proposals-command.js +45 -1
- package/dist/people/proposals-command.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +1 -0
- package/dist/program.js.map +1 -1
- package/dist/store/groups-command.d.ts.map +1 -1
- package/dist/store/groups-command.js +37 -2
- package/dist/store/groups-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-TRSJQGJH.js +0 -91
- package/dist/bundle/failure-7RJ4HOL4.js +0 -71
- package/dist/bundle/server-SG4BOF6U.js +0 -64
- package/dist/bundle/server-UYEXFEEB.js +0 -50
- package/dist/bundle/store-maintenance-command-PDLIZ4J2.js +0 -49
- package/dist/bundle/update-QTZREQD6.js +0 -74
- /package/dist/bundle/{chunk-2AFREBSM.js → chunk-VI7FFUEX.js} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
installFiles,
|
|
6
6
|
megabytes,
|
|
7
7
|
sharedModelsDirectory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-L4JRQ3EF.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
20
20
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
21
21
|
import { availableParallelism } from "node:os";
|
|
22
22
|
import { basename, join as join2 } from "node:path";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
25
25
|
import { createHash } from "node:crypto";
|
|
26
26
|
import { copyFileSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
27
27
|
import { join } from "node:path";
|
|
@@ -678,7 +678,7 @@ var Unzip = /* @__PURE__ */ (function() {
|
|
|
678
678
|
return Unzip2;
|
|
679
679
|
})();
|
|
680
680
|
|
|
681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
681
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/embeddings/onnx-runtime.js
|
|
682
682
|
var ONNX_RUNTIME_VERSION = "1.30.0";
|
|
683
683
|
var release = /* @__PURE__ */ __name((name, sha256, bytes) => ({
|
|
684
684
|
name,
|
|
@@ -858,7 +858,7 @@ var openSession = /* @__PURE__ */ __name(async (bytes, threads, options = {}) =>
|
|
|
858
858
|
return { ort, session: await ort.InferenceSession.create(bytes, options) };
|
|
859
859
|
}, "openSession");
|
|
860
860
|
|
|
861
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
861
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/embeddings/embed.js
|
|
862
862
|
var textModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedModelsDirectory("text", env), "textModelsDirectory");
|
|
863
863
|
var placedText = /* @__PURE__ */ __name((model, directory) => model.files.map((file) => [file, join2(directory, model.id, file.name)]), "placedText");
|
|
864
864
|
var isTextModelInstalled = /* @__PURE__ */ __name((model, directory) => filesPresent(placedText(model, directory)), "isTextModelInstalled");
|
|
@@ -7,7 +7,7 @@ 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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -7,7 +7,7 @@ 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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/http/public-url.js
|
|
11
11
|
var EXAMPLE = "--public-url https://<name>.ts.net";
|
|
12
12
|
var publicUrlOf = /* @__PURE__ */ __name((given, { missing, reaches, path = false }) => {
|
|
13
13
|
if (!given)
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OW7QEJQC.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QACKJE66.js";
|
|
9
9
|
import {
|
|
10
10
|
latestVersion,
|
|
11
11
|
runUpdate,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
APP,
|
|
16
16
|
VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IMOHS6Z4.js";
|
|
18
18
|
import {
|
|
19
19
|
installerOf
|
|
20
20
|
} from "./chunk-NT5IOEEK.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
FETCH,
|
|
23
23
|
annotate,
|
|
24
24
|
overrideSharedContract
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VR5JZXFD.js";
|
|
26
26
|
import {
|
|
27
27
|
createRenderer,
|
|
28
28
|
resolvePaths
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
// dist/update.js
|
|
35
35
|
import { join } from "node:path";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
38
38
|
import { realpathSync } from "node:fs";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
var QUIET_WORDS = [
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W6JVRWUC.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
10
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var EMPTY_TRIES = 3;
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HMLUAJ5X.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
callerOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZQRDE63F.js";
|
|
11
11
|
import {
|
|
12
12
|
StdioServerTransport,
|
|
13
13
|
serveStdio
|
|
@@ -19,7 +19,7 @@ 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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
var PROTOCOL = "2025-06-18";
|
|
@@ -253,7 +253,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
253
253
|
}, "serveAllProfilesOverStdio");
|
|
254
254
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
255
255
|
const { build, close } = allProfilesServer(options);
|
|
256
|
-
const { serveOverHttp } = await import("./serve-
|
|
256
|
+
const { serveOverHttp } = await import("./serve-KMZU3JKX.js");
|
|
257
257
|
const listening = await serveOverHttp(build, {
|
|
258
258
|
...http,
|
|
259
259
|
appName: options.command,
|
|
@@ -2,7 +2,7 @@ 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-TGKW746D.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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-YXHIEV5I.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-TCF6PKCK.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
servicesFor,
|
|
17
17
|
throughWrapper,
|
|
18
18
|
withFileLockAsync
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UIPF5ZPZ.js";
|
|
20
20
|
import {
|
|
21
21
|
servingProfiles
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6GFML7RP.js";
|
|
23
23
|
import {
|
|
24
24
|
chatReferenceOf,
|
|
25
25
|
ensureAccount,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
isId,
|
|
28
28
|
openStore,
|
|
29
29
|
pickPerson
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DWWQE6QB.js";
|
|
31
31
|
import {
|
|
32
32
|
CEILING_KEY,
|
|
33
33
|
WRITE_KEYS,
|
|
@@ -47,13 +47,13 @@ import {
|
|
|
47
47
|
rememberAccount,
|
|
48
48
|
rootOf2 as rootOf,
|
|
49
49
|
skipFlagFor
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-VR5JZXFD.js";
|
|
51
51
|
import {
|
|
52
52
|
providerErrorKey
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-ENNO7YI4.js";
|
|
54
54
|
import {
|
|
55
55
|
isCliFailure
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-BM7X632R.js";
|
|
57
57
|
import {
|
|
58
58
|
resolvePaths
|
|
59
59
|
} from "./chunk-SB3AOH3M.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
__name
|
|
65
65
|
} from "./chunk-ZVVMGPBJ.js";
|
|
66
66
|
|
|
67
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
67
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
68
68
|
import { openSync } from "node:fs";
|
|
69
69
|
import { createInterface } from "node:readline";
|
|
70
70
|
import { ReadStream } from "node:tty";
|
|
@@ -119,7 +119,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
119
119
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
120
120
|
}, "terminalAsker");
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
123
123
|
import { readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
124
124
|
import { join } from "node:path";
|
|
125
125
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -209,7 +209,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
|
|
|
209
209
|
await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
|
|
210
210
|
}, "waitForTurn");
|
|
211
211
|
|
|
212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
212
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
213
213
|
var pathOf = /* @__PURE__ */ __name((command) => {
|
|
214
214
|
const words = [];
|
|
215
215
|
for (let at = command; at?.parent; at = at.parent)
|
|
@@ -269,7 +269,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
269
269
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
270
270
|
}, "refuseUnknownPermissionKeys");
|
|
271
271
|
|
|
272
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
272
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
273
273
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
274
274
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
275
275
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -366,7 +366,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
366
366
|
});
|
|
367
367
|
}, "flooded");
|
|
368
368
|
|
|
369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
370
370
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
371
371
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
372
372
|
const write = currentOperation();
|
|
@@ -465,7 +465,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
465
465
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
466
466
|
}, "byPart");
|
|
467
467
|
|
|
468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
469
469
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
470
470
|
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" }) => {
|
|
471
471
|
let warned = false;
|
|
@@ -1041,7 +1041,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}, "keep");
|
|
1043
1043
|
|
|
1044
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1045
1045
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1046
1046
|
let opened;
|
|
1047
1047
|
return {
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
agentOf,
|
|
8
8
|
clientHash,
|
|
9
9
|
currentCaller
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ENNO7YI4.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
16
16
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
17
17
|
const client = caller?.agent?.client?.name;
|
|
18
18
|
if (client && client !== "unknown")
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ACCESS_SECONDS,
|
|
5
5
|
REFRESH_SECONDS,
|
|
6
6
|
readStored
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SZXP5BLK.js";
|
|
8
8
|
import {
|
|
9
9
|
OAuthError,
|
|
10
10
|
OAuthErrorCode
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
commandPathOf,
|
|
8
8
|
findCommand,
|
|
9
9
|
outputOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CYNITS32.js";
|
|
11
11
|
import {
|
|
12
12
|
Command,
|
|
13
13
|
Help,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
environmentOf,
|
|
19
19
|
metaOf,
|
|
20
20
|
takesProfile
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VR5JZXFD.js";
|
|
22
22
|
import {
|
|
23
23
|
writes
|
|
24
24
|
} from "./chunk-5LEIPSJG.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/help/sections.js
|
|
33
33
|
var SECTIONS = {
|
|
34
34
|
read: "Read",
|
|
35
35
|
write: "Write",
|
|
@@ -95,7 +95,7 @@ var CORE_SECTIONS = {
|
|
|
95
95
|
upgrade: "setup"
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
98
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/help/commands-text.js
|
|
99
99
|
var DESCRIPTION = 90;
|
|
100
100
|
var COLUMN = 52;
|
|
101
101
|
var short = /* @__PURE__ */ __name((text) => {
|
|
@@ -134,7 +134,7 @@ var commandsText = /* @__PURE__ */ __name((root, commands, scope) => {
|
|
|
134
134
|
`;
|
|
135
135
|
}, "commandsText");
|
|
136
136
|
|
|
137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/help/command-help.js
|
|
138
138
|
var ARGUMENT_KINDS = {
|
|
139
139
|
chat: "chat",
|
|
140
140
|
chats: "chat",
|
|
@@ -326,7 +326,7 @@ var installCommandHelp = /* @__PURE__ */ __name((program, { profile = true } = {
|
|
|
326
326
|
command.addHelpText("after", () => commandHelpText(command));
|
|
327
327
|
}, "installCommandHelp");
|
|
328
328
|
|
|
329
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
329
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/help/first-screen.js
|
|
330
330
|
var WIRECAT_TOOLS = [
|
|
331
331
|
{
|
|
332
332
|
command: "tg",
|
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
commandPathOf,
|
|
7
7
|
findCommand,
|
|
8
8
|
outputOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-CYNITS32.js";
|
|
10
|
+
import "./chunk-VR5JZXFD.js";
|
|
11
|
+
import "./chunk-ENNO7YI4.js";
|
|
12
|
+
import "./chunk-SUN4Z4O5.js";
|
|
13
|
+
import "./chunk-IMGEDPEG.js";
|
|
14
|
+
import "./chunk-EHBC5J5T.js";
|
|
15
|
+
import "./chunk-JURO45D4.js";
|
|
16
|
+
import "./chunk-BM7X632R.js";
|
|
17
|
+
import "./chunk-RRAO2HEO.js";
|
|
18
|
+
import "./chunk-L4JRQ3EF.js";
|
|
19
19
|
import "./chunk-G5GW3FFJ.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-LQRUSNYT.js";
|
|
21
21
|
import "./chunk-SB3AOH3M.js";
|
|
22
22
|
import "./chunk-DCK5AT3D.js";
|
|
23
23
|
import "./chunk-RK24IARI.js";
|
|
@@ -4,31 +4,31 @@ import {
|
|
|
4
4
|
COMMAND_SERVER_CONCURRENT,
|
|
5
5
|
enterCommandServer,
|
|
6
6
|
serveCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-6KPJKZNM.js";
|
|
8
|
+
import "./chunk-U5KHIIEZ.js";
|
|
9
9
|
import {
|
|
10
10
|
ensureSqlite
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-SFZATVW3.js";
|
|
12
|
+
import "./chunk-YZLQY6MO.js";
|
|
13
|
+
import "./chunk-TGKW746D.js";
|
|
14
|
+
import "./chunk-CYNITS32.js";
|
|
15
15
|
import {
|
|
16
16
|
commandServerRequest,
|
|
17
17
|
exitCodeSet,
|
|
18
18
|
inCommandServerRequest
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-VR5JZXFD.js";
|
|
20
|
+
import "./chunk-ENNO7YI4.js";
|
|
21
|
+
import "./chunk-SUN4Z4O5.js";
|
|
22
|
+
import "./chunk-IMGEDPEG.js";
|
|
23
|
+
import "./chunk-EHBC5J5T.js";
|
|
24
24
|
import {
|
|
25
25
|
asOwnProcess
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-JURO45D4.js";
|
|
27
|
+
import "./chunk-BM7X632R.js";
|
|
28
|
+
import "./chunk-RRAO2HEO.js";
|
|
29
|
+
import "./chunk-L4JRQ3EF.js";
|
|
30
30
|
import "./chunk-G5GW3FFJ.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-LQRUSNYT.js";
|
|
32
32
|
import "./chunk-SB3AOH3M.js";
|
|
33
33
|
import "./chunk-DCK5AT3D.js";
|
|
34
34
|
import {
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
__name
|
|
44
44
|
} from "./chunk-ZVVMGPBJ.js";
|
|
45
45
|
|
|
46
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
46
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
47
47
|
import { PassThrough } from "node:stream";
|
|
48
48
|
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
49
49
|
const original = stream.write;
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
decodeChannels,
|
|
7
7
|
formatOf,
|
|
8
8
|
runFfmpeg
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-GTOC7CVD.js";
|
|
10
|
+
import "./chunk-B44MN5AV.js";
|
|
11
11
|
import "./chunk-SB3AOH3M.js";
|
|
12
12
|
import "./chunk-DCK5AT3D.js";
|
|
13
13
|
import "./chunk-RK24IARI.js";
|
|
@@ -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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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,9 +13,9 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-W2NETMA4.js";
|
|
17
|
+
import "./chunk-L4JRQ3EF.js";
|
|
18
|
+
import "./chunk-LQRUSNYT.js";
|
|
19
19
|
import "./chunk-SB3AOH3M.js";
|
|
20
20
|
import "./chunk-DCK5AT3D.js";
|
|
21
21
|
import "./chunk-RK24IARI.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-W2NETMA4.js";
|
|
8
|
+
import "./chunk-L4JRQ3EF.js";
|
|
9
|
+
import "./chunk-LQRUSNYT.js";
|
|
10
10
|
import "./chunk-SB3AOH3M.js";
|
|
11
11
|
import "./chunk-DCK5AT3D.js";
|
|
12
12
|
import "./chunk-RK24IARI.js";
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
25
25
|
import { readFileSync } from "node:fs";
|
|
26
26
|
import { join } from "node:path";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
|
|
29
29
|
var SIZE = 224;
|
|
30
30
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
31
31
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -64,7 +64,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
64
64
|
return pixels;
|
|
65
65
|
}, "preprocess");
|
|
66
66
|
|
|
67
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
67
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
68
68
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
69
69
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
70
70
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
firstRunAt,
|
|
5
5
|
openBrowser,
|
|
6
6
|
startCli
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-7END7RSM.js";
|
|
8
|
+
import "./chunk-SFZATVW3.js";
|
|
9
|
+
import "./chunk-YZLQY6MO.js";
|
|
10
|
+
import "./chunk-TGKW746D.js";
|
|
11
|
+
import "./chunk-EHBC5J5T.js";
|
|
12
12
|
import "./chunk-SB3AOH3M.js";
|
|
13
13
|
import "./chunk-DCK5AT3D.js";
|
|
14
14
|
import "./chunk-RK24IARI.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-BPGYTJNB.js";
|
|
6
6
|
import {
|
|
7
7
|
APP
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IMOHS6Z4.js";
|
|
9
9
|
import "./chunk-G5GW3FFJ.js";
|
|
10
10
|
import {
|
|
11
11
|
processStreams
|
|
@@ -34,9 +34,9 @@ var memoEntry = /* @__PURE__ */ __name((io) => {
|
|
|
34
34
|
reasons: APP.errors.reasons,
|
|
35
35
|
...io === void 0 ? {} : { io },
|
|
36
36
|
run: /* @__PURE__ */ __name(async (entry) => {
|
|
37
|
-
failure = await import("./failure-
|
|
38
|
-
const { createProgram, liftGroup, refuseJoinedPath } = await import("./program-
|
|
39
|
-
const { autoNotice, followInstall } = await import("./auto-
|
|
37
|
+
failure = await import("./failure-KXBXKFBC.js");
|
|
38
|
+
const { createProgram, liftGroup, refuseJoinedPath } = await import("./program-L4PM3UNK.js");
|
|
39
|
+
const { autoNotice, followInstall } = await import("./auto-PI3CSWZS.js");
|
|
40
40
|
const lifting = createProgram({ signal: entry.signal, setExitCode: entry.setExitCode });
|
|
41
41
|
programs.set(entry, lifting);
|
|
42
42
|
const { group, rest: args } = await liftGroup(lifting, entry.args, entry.env);
|
|
@@ -47,7 +47,7 @@ var memoEntry = /* @__PURE__ */ __name((io) => {
|
|
|
47
47
|
if (notice2)
|
|
48
48
|
processStreams.diagnostic(notice2);
|
|
49
49
|
}
|
|
50
|
-
const { updateNotice } = await import("./update-
|
|
50
|
+
const { updateNotice } = await import("./update-4NPCGZ2P.js");
|
|
51
51
|
const notice = updateNotice(args);
|
|
52
52
|
program.hook("preAction", (_root, command) => entry.atStart(command));
|
|
53
53
|
failure.throwParseFailures(program);
|