@wirecat/drive-cli 0.51.0 → 0.52.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/README.md +2 -2
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-H3APJWSO.js → all-profiles-CYW6XBBS.js} +8 -8
- package/dist/bundle/{anthropic-P7DXFYFE.js → anthropic-KW6KU36Y.js} +5 -5
- package/dist/bundle/{app-server-IQUR7ZC2.js → app-server-TCJZ333E.js} +53 -52
- package/dist/bundle/{bun-LZUEW2ML.js → bun-7SYKSCLA.js} +2 -2
- package/dist/bundle/{bun-sqlite-6LUE7UA6.js → bun-sqlite-RI7DR6RZ.js} +4 -4
- package/dist/bundle/{chunk-7ZNM6KXP.js → chunk-234MHU76.js} +7 -7
- package/dist/bundle/{chunk-U7DPS46V.js → chunk-2623YE5I.js} +107 -96
- package/dist/bundle/{chunk-UW7VXKKZ.js → chunk-2AUXBJRX.js} +19 -19
- package/dist/bundle/{chunk-OQVJQSEH.js → chunk-2UIMEMWU.js} +3 -3
- package/dist/bundle/{chunk-NO34DAIB.js → chunk-33NVQGUY.js} +6 -6
- package/dist/bundle/{chunk-D3UFQC7K.js → chunk-43QVYW3K.js} +49 -49
- package/dist/bundle/{chunk-POFLDSTX.js → chunk-54O62JWP.js} +10 -10
- package/dist/bundle/{chunk-HBRTKJ3J.js → chunk-5PLJKSG4.js} +7 -7
- package/dist/bundle/{chunk-PRBPVOW4.js → chunk-6DHQTUB2.js} +1 -1
- package/dist/bundle/{chunk-BVDAP3FQ.js → chunk-725OHXKR.js} +9 -9
- package/dist/bundle/chunk-7SH4JHYW.js +379 -0
- package/dist/bundle/{chunk-FCZ762RV.js → chunk-7XKAVMCF.js} +8 -8
- package/dist/bundle/{chunk-PNUS224S.js → chunk-7YMDL4JQ.js} +8 -6
- package/dist/bundle/{chunk-FV5WG4WU.js → chunk-A4UNTWAX.js} +29 -25
- package/dist/bundle/{chunk-I7EP3VPJ.js → chunk-ALJWBGD5.js} +1 -1
- package/dist/bundle/{chunk-U3OS6V6S.js → chunk-BBYD2FA3.js} +1 -1
- package/dist/bundle/{chunk-CX7HQ6KK.js → chunk-BSSCTWWK.js} +12 -12
- package/dist/bundle/{chunk-HYT3FJVB.js → chunk-C6Z25IBJ.js} +49 -24
- package/dist/bundle/{chunk-XCXUP76D.js → chunk-CB7SBYLO.js} +27 -27
- package/dist/bundle/{chunk-YXHMEFL7.js → chunk-CITFEQ6S.js} +1 -1
- package/dist/bundle/{chunk-Y73IZWRI.js → chunk-CKBHR7QO.js} +1 -1
- package/dist/bundle/{chunk-AKW5MNQP.js → chunk-CM7GAXGD.js} +5 -5
- package/dist/bundle/{chunk-OKSS7YUN.js → chunk-DLAFGSTN.js} +1 -1
- package/dist/bundle/{chunk-MPTD5P53.js → chunk-DO4PDQY5.js} +2 -2
- package/dist/bundle/{chunk-P3T2SZW2.js → chunk-EKFEY3KP.js} +2 -2
- package/dist/bundle/{chunk-ZKAAFY4C.js → chunk-F7UUZATI.js} +11 -11
- package/dist/bundle/{chunk-XBENRRBS.js → chunk-FCJAHD4R.js} +2 -2
- package/dist/bundle/{chunk-5C7RKU7O.js → chunk-FDWYPONW.js} +46 -34
- package/dist/bundle/{chunk-TVJU245P.js → chunk-FG4XXZZE.js} +2 -2
- package/dist/bundle/{chunk-BMI5VCR4.js → chunk-FJW3DDCF.js} +5 -5
- package/dist/bundle/{chunk-LZKPT7GY.js → chunk-G6QF5KWF.js} +35 -35
- package/dist/bundle/{chunk-K6JSVXDN.js → chunk-G7DCVJ4F.js} +5 -5
- package/dist/bundle/{chunk-J2S7QDOP.js → chunk-GJN5B5JK.js} +16 -16
- package/dist/bundle/{chunk-Q5CLTK5R.js → chunk-GR5GGZKH.js} +3 -3
- package/dist/bundle/{chunk-SZWQFR5X.js → chunk-GVCN3GLZ.js} +16 -4
- package/dist/bundle/{chunk-CT6Z6Z64.js → chunk-H47W2J6S.js} +523 -778
- package/dist/bundle/{chunk-HGWMX7BM.js → chunk-HQVJK5E7.js} +44 -22
- package/dist/bundle/{chunk-35IHF562.js → chunk-HX7Y2ASG.js} +350 -281
- package/dist/bundle/{chunk-7LYVWMKD.js → chunk-I7UH5CTA.js} +8 -8
- package/dist/bundle/{chunk-YVQJPLPU.js → chunk-IDUNJCFO.js} +2 -2
- package/dist/bundle/{chunk-WACVI3CS.js → chunk-IEXPOEEO.js} +24 -24
- package/dist/bundle/{chunk-6FXFYXTR.js → chunk-IWFBAWZK.js} +15 -15
- package/dist/bundle/{chunk-3KTDFSSK.js → chunk-JEOYFKUK.js} +2 -2
- package/dist/bundle/{chunk-4GFAOETW.js → chunk-KYVXMEBC.js} +3 -3
- package/dist/bundle/{chunk-PT6XDCOY.js → chunk-LJAX6YCF.js} +2 -2
- package/dist/bundle/{chunk-XXLTVVMT.js → chunk-LONV6HIK.js} +20 -20
- package/dist/bundle/{chunk-G75FZQAZ.js → chunk-NHBUTCNR.js} +10 -10
- package/dist/bundle/{chunk-OASIFIXM.js → chunk-NPSZPUK6.js} +2 -2
- package/dist/bundle/{chunk-Z3GWVRW3.js → chunk-NSIFQ5OP.js} +1 -1
- package/dist/bundle/{chunk-WX2NQO2D.js → chunk-NYOPEHEU.js} +1 -1
- package/dist/bundle/{chunk-TSZJXI4N.js → chunk-O6IOL6RX.js} +21 -21
- package/dist/bundle/{chunk-YLC4JVQZ.js → chunk-PAXKALHV.js} +5 -5
- package/dist/bundle/{chunk-AUW45JPI.js → chunk-PDGECM5D.js} +7 -7
- package/dist/bundle/{chunk-NRWDEBJB.js → chunk-PEOCBV2Z.js} +8 -8
- package/dist/bundle/{chunk-VCPS7Q2W.js → chunk-PQJYM5ES.js} +3 -3
- package/dist/bundle/{chunk-TEH76MZK.js → chunk-PQYVPCJ2.js} +26 -26
- package/dist/bundle/{chunk-WYWXOIGT.js → chunk-PSNHPFSK.js} +1 -1
- package/dist/bundle/{chunk-Y4YBW5S4.js → chunk-Q765VPZY.js} +2 -2
- package/dist/bundle/{chunk-D222O57O.js → chunk-QYUHS6DE.js} +6 -6
- package/dist/bundle/{chunk-YOABRW2M.js → chunk-R276546S.js} +1 -1
- package/dist/bundle/{chunk-SRIPLP7N.js → chunk-RNSP57TC.js} +4 -4
- package/dist/bundle/{chunk-VH4GVA2N.js → chunk-UR32UWTQ.js} +2 -2
- package/dist/bundle/{chunk-Z6KTSXE3.js → chunk-VJZST5RD.js} +2 -2
- package/dist/bundle/{chunk-LLMHJE5Q.js → chunk-VSOLLTYT.js} +2 -2
- package/dist/bundle/{chunk-PQGIV36R.js → chunk-VZ2I62HN.js} +2 -2
- package/dist/bundle/{chunk-DEVPGI27.js → chunk-W7IK7E4B.js} +17 -17
- package/dist/bundle/{chunk-NVHPYKYC.js → chunk-WBTVGFXI.js} +11 -11
- package/dist/bundle/{chunk-2TPENYCK.js → chunk-WLFUBNFX.js} +4 -4
- package/dist/bundle/{chunk-SRONUWOM.js → chunk-WQJBAWQP.js} +515 -344
- package/dist/bundle/{chunk-K3EK4MTU.js → chunk-WQRGA75U.js} +15 -3
- package/dist/bundle/{chunk-XE2GEE3E.js → chunk-WUX7AUOQ.js} +26 -26
- package/dist/bundle/{chunk-JI5KFKTL.js → chunk-XOLQSCMF.js} +6 -6
- package/dist/bundle/{chunk-EY4CUQW2.js → chunk-YKZ4IPLB.js} +26 -9
- package/dist/bundle/{chunk-GK2VUKQY.js → chunk-YNFELLNQ.js} +2 -2
- package/dist/bundle/{chunk-F3PPSIKI.js → chunk-YVPHJHIL.js} +3 -3
- package/dist/bundle/{chunk-4YG2FZ53.js → chunk-Z47LOJUS.js} +7 -7
- package/dist/bundle/{chunk-DDD3FS6G.js → chunk-ZDLIO76S.js} +2 -2
- package/dist/bundle/{chunk-UMY4IQE2.js → chunk-ZNZUZGSV.js} +54 -47
- package/dist/bundle/{chunk-UM4E2OFL.js → chunk-ZSXRDF6I.js} +1 -1
- package/dist/bundle/{chunk-N33EOINW.js → chunk-ZWSG7OCA.js} +4 -4
- package/dist/bundle/command-contract-I2YB5IXI.js +38 -0
- package/dist/bundle/{decode-4EENADOV.js → decode-EDN2ARXZ.js} +19 -17
- package/dist/bundle/drive.js +7 -7
- package/dist/bundle/{echarts-ZFC37XW7.js → echarts-GXY34GHA.js} +2 -2
- package/dist/bundle/{embed-UZMNP26C.js → embed-3GSQIQXE.js} +5 -5
- package/dist/bundle/{embedder-7VDWDBKF.js → embedder-6ULWRG3R.js} +8 -8
- package/dist/bundle/{entry-JJKCHVIK.js → entry-IPRJLFHO.js} +6 -6
- package/dist/bundle/failure-IXS2ZHA5.js +37 -0
- package/dist/bundle/{first-run-FJTEUJBF.js → first-run-FGHGWHC2.js} +9 -9
- package/dist/bundle/first-screen-M62KTPZG.js +36 -0
- package/dist/bundle/{google-JBJASYKY.js → google-BD3ZNFVJ.js} +9 -9
- package/dist/bundle/google-api-BDUWZMRV.js +83 -0
- package/dist/bundle/{identity-XE73ALJH.js → identity-U7IHZEMR.js} +2 -2
- package/dist/bundle/{instructions-Q4ASITKO.js → instructions-K5BEQM4C.js} +1 -1
- package/dist/bundle/{login-BD2WQT5F.js → login-7HRYPZMM.js} +71 -66
- package/dist/bundle/{mcp-G6U2Q63E.js → mcp-F67RATLF.js} +82 -81
- package/dist/bundle/mcp-JZSYPQA4.js +96 -0
- package/dist/bundle/{mcp-ZYZ4DFW2.js → mcp-WSGVVZWI.js} +2 -2
- package/dist/bundle/{node-CYM7VXFR.js → node-ZYWB7IET.js} +2 -2
- package/dist/bundle/{node-sqlite-RK4MHW57.js → node-sqlite-J3OODPYK.js} +4 -4
- package/dist/bundle/{oauth-CQXQRHJR.js → oauth-L4VTCBLF.js} +6 -6
- package/dist/bundle/{open-WSE4NBD2.js → open-SGUN7ZVF.js} +3 -3
- package/dist/bundle/openai-RLVISEDH.js +251 -0
- package/dist/bundle/{process-7HHZZZLA.js → process-ZXO2MWRJ.js} +1 -1
- package/dist/bundle/{program-ZMQYZNV5.js → program-YVLXSKZV.js} +104 -102
- package/dist/bundle/{prompt-YSBBQJGF.js → prompt-AUWTBLO7.js} +4 -4
- package/dist/bundle/{reasons-366PI7OV.js → reasons-J57GSRWN.js} +3 -3
- package/dist/bundle/{recognize-AZKGPCAS.js → recognize-ORX2UBQW.js} +5 -3
- package/dist/bundle/{remote-EYSK3XKD.js → remote-AGIJY73X.js} +6 -6
- package/dist/bundle/{rerank-LOW6VIDF.js → rerank-R6PE44M5.js} +6 -6
- package/dist/bundle/{serve-UJ52HGA7.js → serve-VOBAQHAQ.js} +8 -8
- package/dist/bundle/server-24PS4M7U.js +70 -0
- package/dist/bundle/server-G6HFZ2CK.js +57 -0
- package/dist/bundle/{services-B4QUSCFN.js → services-HZFTTZSF.js} +35 -28
- package/dist/bundle/{sqlite-runtime-GEURBVK5.js → sqlite-runtime-DTGPR2T2.js} +4 -4
- package/dist/bundle/{state-OJNSKOXO.js → state-WG3JKJM3.js} +5 -5
- package/dist/bundle/{store-62SBP45X.js → store-33VHIMEO.js} +14 -14
- package/dist/bundle/{store-FTS2HVVB.js → store-EV72MT5U.js} +16 -16
- package/dist/bundle/store-maintenance-command-ZTUEI4EC.js +58 -0
- package/dist/bundle/tokens-XMOGQFI6.js +102 -0
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +2 -1
- package/dist/commands/session.js.map +1 -1
- package/dist/knowledge-query.d.ts +1 -1
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +7 -3
- package/dist/login.js.map +1 -1
- package/dist/reasons.js +1 -1
- package/dist/reasons.js.map +1 -1
- package/dist/store.d.ts.map +1 -1
- package/dist/store.js +1 -0
- package/dist/store.js.map +1 -1
- package/dist/tokens.d.ts +0 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +12 -13
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-R6CGYG7L.js +0 -38
- package/dist/bundle/failure-VBQBKCD5.js +0 -37
- package/dist/bundle/first-screen-NSPQWNMQ.js +0 -36
- package/dist/bundle/google-api-2FKF4UUN.js +0 -82
- package/dist/bundle/mcp-H3XD47NW.js +0 -95
- package/dist/bundle/server-CA2VLY25.js +0 -56
- package/dist/bundle/server-TW75RDEP.js +0 -69
- package/dist/bundle/store-maintenance-command-FQMB3R4E.js +0 -57
- package/dist/bundle/tokens-JALZUGEM.js +0 -103
- /package/dist/bundle/{chunk-2WNDZFGG.js → chunk-62EDJKGP.js} +0 -0
- /package/dist/bundle/{chunk-UO5O3665.js → chunk-FQRJWVEB.js} +0 -0
|
@@ -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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
installFiles,
|
|
9
9
|
megabytes,
|
|
10
10
|
sharedModelsDirectory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BSSCTWWK.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YKZ4IPLB.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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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");
|
|
@@ -527,7 +527,7 @@ var require_cross_spawn = __commonJS({
|
|
|
527
527
|
}
|
|
528
528
|
});
|
|
529
529
|
|
|
530
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
530
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
|
|
531
531
|
import { existsSync } from "node:fs";
|
|
532
532
|
import { win32 } from "node:path";
|
|
533
533
|
var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YKZ4IPLB.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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/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,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
defineReasons
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YKZ4IPLB.js";
|
|
6
6
|
|
|
7
7
|
// dist/reasons.js
|
|
8
8
|
var ENTRIES = [
|
|
@@ -59,7 +59,7 @@ var ENTRIES = [
|
|
|
59
59
|
"owner.sign-in"
|
|
60
60
|
],
|
|
61
61
|
["sign-in.failed", "authentication_error", "the Google sign-in did not finish; run drive <profile> session start"],
|
|
62
|
-
["sign-in.not-saved", "configuration_error", "the sign-in could not be saved
|
|
62
|
+
["sign-in.not-saved", "configuration_error", "the sign-in could not be saved: its private file cannot be read"],
|
|
63
63
|
["sign-in.scope-missing", "permission_error", "the sign-in lacks the Google permission this command needs"],
|
|
64
64
|
["source.changed", "provider_error", "the document changed during export; retry the sync"],
|
|
65
65
|
[
|
|
@@ -2,51 +2,51 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
botInstructions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-PSNHPFSK.js";
|
|
6
6
|
import {
|
|
7
7
|
answered,
|
|
8
8
|
normal,
|
|
9
9
|
registerCommands,
|
|
10
10
|
runCommandForAgent,
|
|
11
11
|
toolsFromCommands
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PQYVPCJ2.js";
|
|
13
13
|
import {
|
|
14
14
|
agentJson,
|
|
15
15
|
skillResource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IWFBAWZK.js";
|
|
17
17
|
import {
|
|
18
18
|
callerOf,
|
|
19
19
|
serveStdio
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FCJAHD4R.js";
|
|
21
21
|
import {
|
|
22
22
|
McpServer
|
|
23
23
|
} from "./chunk-5FONRUG6.js";
|
|
24
24
|
import {
|
|
25
25
|
wholeList
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2AUXBJRX.js";
|
|
27
27
|
import {
|
|
28
28
|
changesMessenger,
|
|
29
29
|
itemOf
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-FDWYPONW.js";
|
|
31
31
|
import {
|
|
32
32
|
flatten
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-725OHXKR.js";
|
|
34
34
|
import {
|
|
35
35
|
MESSENGER_CHANGE_REFUSAL,
|
|
36
36
|
readOnlyLockOf,
|
|
37
37
|
readOnlyRefusal
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZDLIO76S.js";
|
|
39
39
|
import {
|
|
40
40
|
mcpErrorResult
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-HQVJK5E7.js";
|
|
42
42
|
import {
|
|
43
43
|
object
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YKZ4IPLB.js";
|
|
45
45
|
import {
|
|
46
46
|
__name
|
|
47
47
|
} from "./chunk-ZVVMGPBJ.js";
|
|
48
48
|
|
|
49
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
49
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/bot/server.js
|
|
50
50
|
import { randomUUID } from "node:crypto";
|
|
51
51
|
var body = /* @__PURE__ */ __name((command, value) => Array.isArray(value) ? wholeList(`bot ${command}`, value) : value !== null && typeof value === "object" && ("item" in value || "items" in value) ? value : itemOf(value !== null && typeof value === "object" ? value : { value }), "body");
|
|
52
52
|
var createBotServer = /* @__PURE__ */ __name((options) => {
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PEOCBV2Z.js";
|
|
32
32
|
import {
|
|
33
33
|
__name
|
|
34
34
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -540,7 +540,7 @@ function toError(value) {
|
|
|
540
540
|
}
|
|
541
541
|
__name(toError, "toError");
|
|
542
542
|
|
|
543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
543
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
544
544
|
var CALLER_META_KEY = "wirecat.dev/caller";
|
|
545
545
|
var PROXY_CLIENT_NAME = "all-profiles";
|
|
546
546
|
var NAME = /^[\w .@()/+-]{1,64}$/;
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
providerErrorKey,
|
|
10
10
|
renderEvent,
|
|
11
11
|
runContextOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-PEOCBV2Z.js";
|
|
13
13
|
import {
|
|
14
14
|
Option,
|
|
15
15
|
annotate,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
metaOf,
|
|
18
18
|
resolveOutput,
|
|
19
19
|
stepTargets
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-725OHXKR.js";
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_RERANK_MODEL,
|
|
23
23
|
KEEP_SUCCESSFUL_RUNS_FOR_DAYS,
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
typedCommand,
|
|
39
39
|
useAsProcessRun,
|
|
40
40
|
withWriteScope
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LONV6HIK.js";
|
|
42
42
|
import {
|
|
43
43
|
isCliFailure
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VSOLLTYT.js";
|
|
45
45
|
import {
|
|
46
46
|
CEILING_KEY,
|
|
47
47
|
COMMAND_PATH_KEY,
|
|
@@ -52,25 +52,25 @@ import {
|
|
|
52
52
|
keyForCommand,
|
|
53
53
|
layerPermissions,
|
|
54
54
|
permissionOverrides
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Q765VPZY.js";
|
|
56
56
|
import {
|
|
57
57
|
count,
|
|
58
58
|
text
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-GVCN3GLZ.js";
|
|
60
60
|
import {
|
|
61
61
|
permissionCeiling
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-WLFUBNFX.js";
|
|
63
63
|
import {
|
|
64
64
|
envName,
|
|
65
65
|
readOnlyLockOf,
|
|
66
66
|
readOnlyRefusal
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ZDLIO76S.js";
|
|
68
68
|
import {
|
|
69
69
|
sharedConfigPath
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-XOLQSCMF.js";
|
|
71
71
|
import {
|
|
72
72
|
storePath
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-VJZST5RD.js";
|
|
74
74
|
import {
|
|
75
75
|
configFilePath,
|
|
76
76
|
createRecordLog,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
resolvePaths,
|
|
80
80
|
saveConfigFile,
|
|
81
81
|
writeSecurely
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-HQVJK5E7.js";
|
|
83
83
|
import {
|
|
84
84
|
CliError,
|
|
85
85
|
MAX_NEXT_STEPS,
|
|
@@ -114,12 +114,12 @@ import {
|
|
|
114
114
|
union,
|
|
115
115
|
unknown,
|
|
116
116
|
writes
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-YKZ4IPLB.js";
|
|
118
118
|
import {
|
|
119
119
|
__name
|
|
120
120
|
} from "./chunk-ZVVMGPBJ.js";
|
|
121
121
|
|
|
122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
122
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
123
123
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
124
124
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
125
125
|
var DEFAULT_OUTPUT_BYTES = 4 * 1024 * 1024;
|
|
@@ -141,7 +141,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
141
141
|
}
|
|
142
142
|
}, "withAbort");
|
|
143
143
|
|
|
144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
145
145
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
146
146
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
147
147
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -188,7 +188,7 @@ var rootOf = /* @__PURE__ */ __name((command) => {
|
|
|
188
188
|
return root;
|
|
189
189
|
}, "rootOf");
|
|
190
190
|
|
|
191
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
191
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
192
192
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
193
193
|
import { join } from "node:path";
|
|
194
194
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -210,7 +210,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
210
210
|
}, "profilesWithAccounts");
|
|
211
211
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
212
212
|
|
|
213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
214
214
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
215
215
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
216
216
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -244,7 +244,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
244
244
|
cache: "cache.answered"
|
|
245
245
|
};
|
|
246
246
|
|
|
247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
248
248
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
249
249
|
const recording = startRecording(options);
|
|
250
250
|
try {
|
|
@@ -429,7 +429,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
429
429
|
return void 0;
|
|
430
430
|
}, "partialOutcome");
|
|
431
431
|
|
|
432
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
432
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
433
433
|
var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
434
434
|
if (ms === void 0)
|
|
435
435
|
return body();
|
|
@@ -455,10 +455,10 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
455
455
|
}
|
|
456
456
|
}, "withDeadline");
|
|
457
457
|
|
|
458
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
458
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
459
459
|
import { existsSync as existsSync3 } from "node:fs";
|
|
460
460
|
|
|
461
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
461
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
462
462
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
463
463
|
try {
|
|
464
464
|
const url2 = new URL(value);
|
|
@@ -468,7 +468,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
468
468
|
}
|
|
469
469
|
}, "endpoint");
|
|
470
470
|
|
|
471
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
471
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
472
472
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
473
473
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
474
474
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -537,7 +537,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
537
537
|
};
|
|
538
538
|
}, "modelTarget");
|
|
539
539
|
|
|
540
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
540
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
541
541
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
542
542
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
543
543
|
var AI_FIELDS = {
|
|
@@ -581,7 +581,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
581
581
|
};
|
|
582
582
|
}, "resolveAISettings");
|
|
583
583
|
|
|
584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
584
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
585
585
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
586
586
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
587
587
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -871,7 +871,7 @@ var readConfigFile = /* @__PURE__ */ __name((path) => {
|
|
|
871
871
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
872
872
|
}, "readConfigFile");
|
|
873
873
|
|
|
874
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
874
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
875
875
|
import { existsSync as existsSync2, linkSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
|
|
876
876
|
import { dirname, join as join2 } from "node:path";
|
|
877
877
|
var DEFAULT_CONFIG = {
|
|
@@ -900,7 +900,7 @@ function ensureDefaultConfig(path, config = DEFAULT_CONFIG) {
|
|
|
900
900
|
}
|
|
901
901
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
902
902
|
|
|
903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
904
904
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
905
905
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
906
906
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -1290,7 +1290,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
1290
1290
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
1291
1291
|
}, "given");
|
|
1292
1292
|
|
|
1293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
1294
1294
|
var setExitCode = /* @__PURE__ */ __name((command, code) => {
|
|
1295
1295
|
const slot = environmentOf(command).exit;
|
|
1296
1296
|
if (slot)
|
|
@@ -1397,7 +1397,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
1397
1397
|
return words.join(" ");
|
|
1398
1398
|
}, "commandPath");
|
|
1399
1399
|
|
|
1400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
1401
1401
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
1402
1402
|
var FETCH = { remote: "read", local: "write" };
|
|
1403
1403
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -1482,7 +1482,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
1482
1482
|
throw readOnlyRefusal(lock, what);
|
|
1483
1483
|
}, "refuseUnderReadOnly");
|
|
1484
1484
|
|
|
1485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
1486
1486
|
var STEPS2 = defineSteps([
|
|
1487
1487
|
...STEPS,
|
|
1488
1488
|
{
|
|
@@ -1740,7 +1740,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
|
|
|
1740
1740
|
].join(" ");
|
|
1741
1741
|
}, "stepLine");
|
|
1742
1742
|
|
|
1743
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
1744
1744
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
1745
1745
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
1746
1746
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -1754,11 +1754,11 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
1754
1754
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
1755
1755
|
}, "strip");
|
|
1756
1756
|
|
|
1757
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1757
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
1758
1758
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
1759
1759
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
1760
1760
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
1761
|
-
const { items, limit, has_more, cursor, paging, page, args = {}, next = [], missing, meta } = input;
|
|
1761
|
+
const { items, limit, has_more, cursor, paging, page, total, args = {}, next = [], missing, meta } = input;
|
|
1762
1762
|
const byCursor = paging === "cursor" || cursor !== void 0;
|
|
1763
1763
|
const more = has_more ? [
|
|
1764
1764
|
nextStep("page.next", {
|
|
@@ -1769,7 +1769,19 @@ var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
|
1769
1769
|
] : [];
|
|
1770
1770
|
const body = {
|
|
1771
1771
|
items,
|
|
1772
|
-
page: byCursor ? {
|
|
1772
|
+
page: byCursor ? {
|
|
1773
|
+
mode: "cursor",
|
|
1774
|
+
limit,
|
|
1775
|
+
has_more,
|
|
1776
|
+
...has_more && cursor !== void 0 ? { next_cursor: cursor } : {},
|
|
1777
|
+
...total ? { total } : {}
|
|
1778
|
+
} : {
|
|
1779
|
+
mode: "page",
|
|
1780
|
+
limit,
|
|
1781
|
+
has_more,
|
|
1782
|
+
...has_more ? { next_page: (page ?? 1) + 1 } : {},
|
|
1783
|
+
...total ? { total } : {}
|
|
1784
|
+
},
|
|
1773
1785
|
...capped2([...more, ...next]),
|
|
1774
1786
|
...missing && missing.length > 0 ? { missing } : {},
|
|
1775
1787
|
...meta ? { meta } : {}
|
|
@@ -1876,7 +1888,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
|
|
|
1876
1888
|
renderer.result(item);
|
|
1877
1889
|
}, "printItem");
|
|
1878
1890
|
|
|
1879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
1880
1892
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
1881
1893
|
var storeTable = strictObject({
|
|
1882
1894
|
name: text,
|
|
@@ -1885,7 +1897,7 @@ var storeTable = strictObject({
|
|
|
1885
1897
|
bytes: optional(nullable(count))
|
|
1886
1898
|
});
|
|
1887
1899
|
|
|
1888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1900
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
1889
1901
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
1890
1902
|
const run = currentRun();
|
|
1891
1903
|
const trace = traceId ?? run.traceId;
|
|
@@ -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-YKZ4IPLB.js";
|
|
6
6
|
import {
|
|
7
7
|
importFrom
|
|
8
8
|
} from "./chunk-Y5E2WNWB.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.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
XLSX,
|
|
9
9
|
supported,
|
|
10
10
|
tooManyEntries
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CKBHR7QO.js";
|
|
12
12
|
import {
|
|
13
13
|
googleError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-R276546S.js";
|
|
15
15
|
import {
|
|
16
16
|
extractText
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WUX7AUOQ.js";
|
|
18
18
|
import {
|
|
19
19
|
MAX_TEXT_CHARS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-JEOYFKUK.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YKZ4IPLB.js";
|
|
24
24
|
import {
|
|
25
25
|
importFrom
|
|
26
26
|
} from "./chunk-Y5E2WNWB.js";
|