@wirecat/drive-cli 0.54.0 → 0.54.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/drive.js +2 -2
- package/dist/bundle/{all-profiles-LFIPUPZI.js → all-profiles-I5KJKZPF.js} +9 -9
- package/dist/bundle/{anthropic-G5ZRRWG4.js → anthropic-DPM7BRKX.js} +5 -5
- package/dist/bundle/{app-server-UVWATOQC.js → app-server-FTGLOZ2K.js} +46 -46
- package/dist/bundle/{bun-DNEFTPTR.js → bun-XRO6XJHQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-FWBYHIXB.js → bun-sqlite-7JJX6OUT.js} +4 -4
- package/dist/bundle/{chunk-2HWOGSTA.js → chunk-2DZMGPUC.js} +25 -25
- package/dist/bundle/{chunk-VCGQMTHW.js → chunk-2KARCTUU.js} +255 -255
- package/dist/bundle/{chunk-AAHIBA36.js → chunk-2LLNPNMB.js} +1 -1
- package/dist/bundle/{chunk-5WQN2TUM.js → chunk-2OGANEKA.js} +1 -1
- package/dist/bundle/{chunk-KIQIF5M7.js → chunk-3K4H2DTA.js} +2 -2
- package/dist/bundle/{chunk-Q46JLJ5O.js → chunk-4I7EBJJV.js} +6 -6
- package/dist/bundle/{chunk-W5SYBHRX.js → chunk-4LZFESHQ.js} +4 -2
- package/dist/bundle/{chunk-WYDYSQ7T.js → chunk-4XRLPQ3N.js} +2 -2
- package/dist/bundle/{chunk-FHW4ENRF.js → chunk-5DEEBWDI.js} +32 -32
- package/dist/bundle/{chunk-6SOQJRGI.js → chunk-67A2YFAT.js} +4 -4
- package/dist/bundle/{chunk-P7E7K467.js → chunk-7GJBKGRZ.js} +3 -3
- package/dist/bundle/{chunk-7WCZ2OZ5.js → chunk-7MVKSPEG.js} +6 -6
- package/dist/bundle/{chunk-ZMMOVTUB.js → chunk-ALMQEGYO.js} +2 -2
- package/dist/bundle/{chunk-OYGEBFFO.js → chunk-AQNY57J2.js} +7 -7
- package/dist/bundle/{chunk-WSX5UQNT.js → chunk-AR2HRFQO.js} +2 -2
- package/dist/bundle/{chunk-4RDXCE45.js → chunk-BO7ZKZCH.js} +38 -38
- package/dist/bundle/{chunk-UBJX5D2O.js → chunk-C4QKY33N.js} +2 -2
- package/dist/bundle/{chunk-5LNOVPOR.js → chunk-DNJ43DT5.js} +2 -2
- package/dist/bundle/{chunk-VKYCMXEQ.js → chunk-E7RDXCV2.js} +5 -5
- package/dist/bundle/{chunk-6MGSFYGL.js → chunk-EOEDICIE.js} +1 -1
- package/dist/bundle/{chunk-NDWWGBSM.js → chunk-FDCGTODC.js} +1 -1
- package/dist/bundle/{chunk-CVALO727.js → chunk-FDM3JMQZ.js} +24 -24
- package/dist/bundle/{chunk-IOMSC4ZG.js → chunk-FKHWVVMV.js} +3 -3
- package/dist/bundle/{chunk-MATUQFYL.js → chunk-FNDQFFLP.js} +11 -11
- package/dist/bundle/{chunk-75DSLCPC.js → chunk-FUKJQZED.js} +1 -1
- package/dist/bundle/{chunk-2CQT2WWN.js → chunk-GB5YM5HK.js} +5 -5
- package/dist/bundle/{chunk-O6YYFVDD.js → chunk-GC4JNVYF.js} +36 -25
- package/dist/bundle/{chunk-L3RV42O3.js → chunk-GIRVMZD3.js} +16 -16
- package/dist/bundle/{chunk-IKODUUQG.js → chunk-HNR2BJJU.js} +16 -16
- package/dist/bundle/{chunk-WJRE45Z6.js → chunk-IDK5QUBJ.js} +4 -4
- package/dist/bundle/{chunk-6RAEXK7Y.js → chunk-IXXVCKWL.js} +26 -26
- package/dist/bundle/{chunk-LQXLWHKM.js → chunk-J6XLM4QW.js} +9 -9
- package/dist/bundle/{chunk-AACQA2CO.js → chunk-JBBZCTTF.js} +1 -1
- package/dist/bundle/{chunk-2MSJVFAS.js → chunk-JPFF6MNK.js} +8 -8
- package/dist/bundle/{chunk-IBRXVPBI.js → chunk-K2DMCTTF.js} +95 -95
- package/dist/bundle/{chunk-2NWFZ43Q.js → chunk-KM7Q67Z3.js} +1 -1
- package/dist/bundle/{chunk-QUJCD5U7.js → chunk-KWKRTYRL.js} +4 -4
- package/dist/bundle/{chunk-WQPTZHHR.js → chunk-KXWJT72E.js} +11 -11
- package/dist/bundle/{chunk-2Q3S47BC.js → chunk-LAVWTS4P.js} +195 -195
- package/dist/bundle/{chunk-2D6AAGBP.js → chunk-N4VNUOOD.js} +18 -18
- package/dist/bundle/{chunk-KT5G3KVS.js → chunk-NCCL4QWR.js} +3 -3
- package/dist/bundle/{chunk-U3BOQ63L.js → chunk-NDG6LHX7.js} +8 -8
- package/dist/bundle/{chunk-BWBVBW5T.js → chunk-NDUYK676.js} +8 -8
- package/dist/bundle/{chunk-PU4GANCD.js → chunk-NFOUG7ES.js} +2 -2
- package/dist/bundle/{chunk-RWEFKLXJ.js → chunk-NPKFXGYG.js} +18 -18
- package/dist/bundle/{chunk-RIYXQFKU.js → chunk-NPMVPKBD.js} +46 -46
- package/dist/bundle/{chunk-2HQPJ366.js → chunk-ORRQDSDH.js} +3 -3
- package/dist/bundle/{chunk-76JIVDKC.js → chunk-P4ABC6C4.js} +2 -2
- package/dist/bundle/{chunk-YOHOQ6ZR.js → chunk-PFTIYWOK.js} +4 -4
- package/dist/bundle/{chunk-WGSTTWM5.js → chunk-RMQGFLT2.js} +6 -6
- package/dist/bundle/{chunk-JKEAZBEZ.js → chunk-TBD362SJ.js} +7 -7
- package/dist/bundle/{chunk-YZ5VMR2S.js → chunk-TD4RAOMZ.js} +3 -3
- package/dist/bundle/{chunk-QKHFQHE7.js → chunk-TIEEVT2Z.js} +1 -1
- package/dist/bundle/{chunk-7XU3TR7K.js → chunk-TIVC4DB5.js} +2 -2
- package/dist/bundle/{chunk-VX4RAT3A.js → chunk-TQFCPUIM.js} +1 -1
- package/dist/bundle/{chunk-47MEPBWG.js → chunk-UDWMRZL6.js} +21 -21
- package/dist/bundle/{chunk-NHDSJMAR.js → chunk-UIPT6IAU.js} +1 -1
- package/dist/bundle/{chunk-XCUUYQN7.js → chunk-ULPS2OAL.js} +4 -4
- package/dist/bundle/{chunk-A4FTLORC.js → chunk-VGTDXEYD.js} +12 -12
- package/dist/bundle/{chunk-SBOTSSYV.js → chunk-VVMCGF5X.js} +250 -250
- package/dist/bundle/{chunk-MULPNGM2.js → chunk-VXZULAWV.js} +10 -10
- package/dist/bundle/{chunk-5BPOAHVD.js → chunk-VY2AUZMJ.js} +2 -2
- package/dist/bundle/{chunk-PKNTBZXN.js → chunk-VY3TYRCK.js} +51 -51
- package/dist/bundle/{chunk-HAHARAJD.js → chunk-W6DMCGMK.js} +22 -22
- package/dist/bundle/{chunk-N4OO3SPQ.js → chunk-XTNEYXAQ.js} +5 -5
- package/dist/bundle/{chunk-2FFXRWI2.js → chunk-YP5FDMTG.js} +2 -2
- package/dist/bundle/command-contract-VXLGE6NV.js +35 -0
- package/dist/bundle/{decode-DN2DDFET.js → decode-3LX3BLZM.js} +4 -4
- package/dist/bundle/drive.js +6 -6
- package/dist/bundle/{echarts-VMHZ2UYP.js → echarts-YNGCOYHW.js} +2 -2
- package/dist/bundle/{embed-MDN7R7BA.js → embed-FICTRZJL.js} +5 -5
- package/dist/bundle/{embedder-KEVEDNDJ.js → embedder-DSMRCRSH.js} +8 -8
- package/dist/bundle/{entry-HTNK5TJQ.js → entry-4ZX3BNXK.js} +6 -6
- package/dist/bundle/{first-run-QNMCMP67.js → first-run-GRBQ3SQ5.js} +9 -9
- package/dist/bundle/first-screen-JK3MZVCU.js +33 -0
- package/dist/bundle/{google-QAKMV57Q.js → google-QV2B2KZA.js} +9 -9
- package/dist/bundle/{google-api-UJJS7ECO.js → google-api-EVO7F3WB.js} +51 -51
- package/dist/bundle/grants-VJDGD3BG.js +98 -0
- package/dist/bundle/identity-25CTQZS3.js +14 -0
- package/dist/bundle/{instructions-IWLHCDC7.js → instructions-GJHHFV64.js} +1 -1
- package/dist/bundle/{login-GIZXEN7I.js → login-54G4F4EP.js} +57 -57
- package/dist/bundle/{mcp-RUYPQVYS.js → mcp-EMNFFY4N.js} +2 -2
- package/dist/bundle/{node-25IJLDBZ.js → node-GFOH6FKP.js} +2 -2
- package/dist/bundle/{node-sqlite-DYR4FEI4.js → node-sqlite-NZIBED3C.js} +4 -4
- package/dist/bundle/{oauth-FLHXEDDY.js → oauth-WUHT2JII.js} +6 -6
- package/dist/bundle/{open-FWDZB7KX.js → open-INBNHORD.js} +3 -3
- package/dist/bundle/{openai-HB7UGKPW.js → openai-BMREUGJP.js} +13 -13
- package/dist/bundle/{process-P6TW37HQ.js → process-XVDX4SPD.js} +1 -1
- package/dist/bundle/{program-DVUNLXXS.js → program-5OBA53CL.js} +75 -75
- package/dist/bundle/{prompt-MKWMYO3B.js → prompt-S7GHCPGR.js} +4 -4
- package/dist/bundle/{reasons-25BEO2NE.js → reasons-T24V3AYS.js} +3 -3
- package/dist/bundle/{recognize-VXGNPROM.js → recognize-T3DABMW5.js} +3 -3
- package/dist/bundle/{remote-H5ZWLJHR.js → remote-ASYGFT6E.js} +6 -6
- package/dist/bundle/{rerank-5A3JDK7O.js → rerank-BQ5U252K.js} +6 -6
- package/dist/bundle/{serve-QNPNEZVR.js → serve-JMLNKCUZ.js} +8 -8
- package/dist/bundle/{server-GWBVIRLY.js → server-5E6RC7GZ.js} +38 -38
- package/dist/bundle/server-QI4C3CQT.js +63 -0
- package/dist/bundle/{services-PFXEWHJG.js → services-NFB3XSON.js} +25 -25
- package/dist/bundle/{sqlite-runtime-RGFISYXM.js → sqlite-runtime-TAMYMQFR.js} +4 -4
- package/dist/bundle/{state-BUSX5BXF.js → state-DS4G3ZXV.js} +5 -5
- package/dist/bundle/{store-FIEE5HHG.js → store-HAS2LRFE.js} +14 -14
- package/dist/bundle/{store-HFF5KQ44.js → store-MLMKYJLC.js} +12 -12
- package/dist/bundle/store-maintenance-command-LI3JR22B.js +52 -0
- package/dist/bundle/tokens-AJF2D5TA.js +96 -0
- package/dist/commands/upgrade.d.ts.map +1 -1
- package/dist/commands/upgrade.js +1 -1
- package/dist/commands/upgrade.js.map +1 -1
- package/dist/identity.d.ts +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +1 -0
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -1
- package/dist/program.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/command-contract-VZ3ZJLEF.js +0 -35
- package/dist/bundle/first-screen-RQBEHUQC.js +0 -33
- package/dist/bundle/grants-VMPKFEC2.js +0 -98
- package/dist/bundle/identity-UODE3QAL.js +0 -12
- package/dist/bundle/server-QJU3HEGM.js +0 -63
- package/dist/bundle/store-maintenance-command-Z4SPEQUM.js +0 -52
- package/dist/bundle/tokens-B6MUZRFM.js +0 -96
- /package/dist/bundle/{chunk-HEA3XVAJ.js → chunk-NPGVOZVK.js} +0 -0
package/dist/bin/drive.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.54.
|
|
12
|
+
process.stdout.write("0.54.1\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -29,7 +29,7 @@ if (
|
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
31
|
const running = import("../bundle/drive.js")
|
|
32
|
-
const chunks = ["../bundle/all-profiles-
|
|
32
|
+
const chunks = ["../bundle/all-profiles-I5KJKZPF.js","../bundle/anthropic-DPM7BRKX.js","../bundle/app-server-FTGLOZ2K.js","../bundle/bun-XRO6XJHQ.js","../bundle/bun-sqlite-7JJX6OUT.js","../bundle/command-contract-VXLGE6NV.js","../bundle/decode-3LX3BLZM.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-YNGCOYHW.js","../bundle/embed-FICTRZJL.js","../bundle/embedder-DSMRCRSH.js","../bundle/entry-4ZX3BNXK.js","../bundle/first-run-GRBQ3SQ5.js","../bundle/first-screen-JK3MZVCU.js","../bundle/google-QV2B2KZA.js","../bundle/google-api-EVO7F3WB.js","../bundle/grants-VJDGD3BG.js","../bundle/identity-25CTQZS3.js","../bundle/instructions-GJHHFV64.js","../bundle/login-54G4F4EP.js","../bundle/mcp-EMNFFY4N.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-GFOH6FKP.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-NZIBED3C.js","../bundle/oauth-WUHT2JII.js","../bundle/open-INBNHORD.js","../bundle/openai-BMREUGJP.js","../bundle/process-XVDX4SPD.js","../bundle/program-5OBA53CL.js","../bundle/prompt-S7GHCPGR.js","../bundle/reasons-T24V3AYS.js","../bundle/recognize-T3DABMW5.js","../bundle/remote-ASYGFT6E.js","../bundle/rerank-BQ5U252K.js","../bundle/serve-JMLNKCUZ.js","../bundle/server-5E6RC7GZ.js","../bundle/server-QI4C3CQT.js","../bundle/services-NFB3XSON.js","../bundle/sqlite-runtime-TAMYMQFR.js","../bundle/state-DS4G3ZXV.js","../bundle/store-HAS2LRFE.js","../bundle/store-MLMKYJLC.js","../bundle/store-maintenance-command-LI3JR22B.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-AJF2D5TA.js"]
|
|
33
33
|
// After the server answers its first request, so it starts no later.
|
|
34
34
|
if (serves) setTimeout(() => void Promise.allSettled(chunks.map((chunk) => import(chunk))), 2000).unref()
|
|
35
35
|
await running
|
|
@@ -2,28 +2,28 @@ 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-JBBZCTTF.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
StdioServerTransport,
|
|
10
10
|
callerOf,
|
|
11
11
|
serveStdio
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3K4H2DTA.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-NDUYK676.js";
|
|
17
|
+
import "./chunk-P4ABC6C4.js";
|
|
18
|
+
import "./chunk-NPGVOZVK.js";
|
|
19
|
+
import "./chunk-N4VNUOOD.js";
|
|
20
|
+
import "./chunk-TBD362SJ.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
27
27
|
import { spawn } from "node:child_process";
|
|
28
28
|
import { randomUUID } from "node:crypto";
|
|
29
29
|
var PROTOCOL = "2025-06-18";
|
|
@@ -257,7 +257,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
257
257
|
}, "serveAllProfilesOverStdio");
|
|
258
258
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
259
259
|
const { build, close } = allProfilesServer(options);
|
|
260
|
-
const { serveOverHttp } = await import("./serve-
|
|
260
|
+
const { serveOverHttp } = await import("./serve-JMLNKCUZ.js");
|
|
261
261
|
const listening = await serveOverHttp(build, {
|
|
262
262
|
...http,
|
|
263
263
|
appName: options.command,
|
|
@@ -2,27 +2,27 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
checkedOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4XRLPQ3N.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DNJ43DT5.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-N4VNUOOD.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
optional,
|
|
17
17
|
strictObject,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TBD362SJ.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
21
|
import {
|
|
22
22
|
__name
|
|
23
23
|
} from "./chunk-ZVVMGPBJ.js";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
26
26
|
var options = strictObject({
|
|
27
27
|
stop_sequences: optional(array(string()))
|
|
28
28
|
});
|
|
@@ -3,46 +3,46 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5DEEBWDI.js";
|
|
7
7
|
import {
|
|
8
8
|
mcpUrlOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FDM3JMQZ.js";
|
|
10
10
|
import {
|
|
11
11
|
answeredWire
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JBBZCTTF.js";
|
|
13
13
|
import {
|
|
14
14
|
answered,
|
|
15
15
|
failed,
|
|
16
16
|
registerCommands,
|
|
17
17
|
runCommandForAgent,
|
|
18
18
|
toolsFromCommands
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GC4JNVYF.js";
|
|
20
20
|
import {
|
|
21
21
|
agentJson,
|
|
22
22
|
skillResource
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HNR2BJJU.js";
|
|
24
24
|
import {
|
|
25
25
|
StdioServerTransport,
|
|
26
26
|
serveStdio
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3K4H2DTA.js";
|
|
28
28
|
import {
|
|
29
29
|
appInstructions
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TQFCPUIM.js";
|
|
31
31
|
import {
|
|
32
32
|
McpServer
|
|
33
33
|
} from "./chunk-5D4AEUVA.js";
|
|
34
34
|
import {
|
|
35
35
|
mcpHttpMarker
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-KWKRTYRL.js";
|
|
37
|
+
import "./chunk-2DZMGPUC.js";
|
|
38
|
+
import "./chunk-NPKFXGYG.js";
|
|
39
|
+
import "./chunk-NCCL4QWR.js";
|
|
40
|
+
import "./chunk-LAVWTS4P.js";
|
|
41
|
+
import "./chunk-VGTDXEYD.js";
|
|
42
|
+
import "./chunk-IXXVCKWL.js";
|
|
43
|
+
import "./chunk-GIRVMZD3.js";
|
|
44
|
+
import "./chunk-4I7EBJJV.js";
|
|
45
|
+
import "./chunk-K2DMCTTF.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_OUTPUT_BYTES,
|
|
48
48
|
changesAuthorityAt,
|
|
@@ -51,46 +51,46 @@ import {
|
|
|
51
51
|
fetchesOnlyAt,
|
|
52
52
|
judgedTargets,
|
|
53
53
|
rootOf2 as rootOf
|
|
54
|
-
} from "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
54
|
+
} from "./chunk-BO7ZKZCH.js";
|
|
55
|
+
import "./chunk-NDUYK676.js";
|
|
56
|
+
import "./chunk-KM7Q67Z3.js";
|
|
57
|
+
import "./chunk-W6DMCGMK.js";
|
|
58
|
+
import "./chunk-P4ABC6C4.js";
|
|
59
|
+
import "./chunk-PFTIYWOK.js";
|
|
60
|
+
import "./chunk-E7RDXCV2.js";
|
|
61
|
+
import "./chunk-UIPT6IAU.js";
|
|
62
|
+
import "./chunk-IDK5QUBJ.js";
|
|
63
63
|
import {
|
|
64
64
|
readOnlyLockOf
|
|
65
|
-
} from "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
65
|
+
} from "./chunk-ALMQEGYO.js";
|
|
66
|
+
import "./chunk-VY2AUZMJ.js";
|
|
67
|
+
import "./chunk-DNJ43DT5.js";
|
|
68
|
+
import "./chunk-ORRQDSDH.js";
|
|
69
|
+
import "./chunk-GB5YM5HK.js";
|
|
70
70
|
import "./chunk-5DPV7X27.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-67A2YFAT.js";
|
|
72
|
+
import "./chunk-VVMCGF5X.js";
|
|
73
|
+
import "./chunk-AR2HRFQO.js";
|
|
74
|
+
import "./chunk-VY3TYRCK.js";
|
|
75
|
+
import "./chunk-J6XLM4QW.js";
|
|
76
|
+
import "./chunk-NPGVOZVK.js";
|
|
77
|
+
import "./chunk-JPFF6MNK.js";
|
|
78
|
+
import "./chunk-RMQGFLT2.js";
|
|
79
|
+
import "./chunk-C4QKY33N.js";
|
|
80
|
+
import "./chunk-7MVKSPEG.js";
|
|
81
81
|
import {
|
|
82
82
|
mcpErrorResult
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-N4VNUOOD.js";
|
|
84
84
|
import {
|
|
85
85
|
CliError
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-TBD362SJ.js";
|
|
87
87
|
import "./chunk-Y5E2WNWB.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-EOEDICIE.js";
|
|
89
89
|
import {
|
|
90
90
|
__name
|
|
91
91
|
} from "./chunk-ZVVMGPBJ.js";
|
|
92
92
|
|
|
93
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
93
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
94
94
|
var EXCLUDED = [["mcp"]];
|
|
95
95
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
96
96
|
const { app } = options;
|
|
@@ -205,7 +205,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
205
205
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
206
206
|
const { app } = options;
|
|
207
207
|
const { build } = createAppServer(command, context, options);
|
|
208
|
-
const { serveOverHttp } = await import("./serve-
|
|
208
|
+
const { serveOverHttp } = await import("./serve-JMLNKCUZ.js");
|
|
209
209
|
const listening = await serveOverHttp(build, {
|
|
210
210
|
...http,
|
|
211
211
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EOEDICIE.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,9 +3,9 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-YP5FDMTG.js";
|
|
7
|
+
import "./chunk-N4VNUOOD.js";
|
|
8
|
+
import "./chunk-TBD362SJ.js";
|
|
9
9
|
import {
|
|
10
10
|
importFrom
|
|
11
11
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
17
17
|
var customised = false;
|
|
18
18
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
19
19
|
try {
|
|
@@ -2,10 +2,10 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
refuseLacking
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NPKFXGYG.js";
|
|
6
6
|
import {
|
|
7
7
|
servingProfiles
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NCCL4QWR.js";
|
|
9
9
|
import {
|
|
10
10
|
OFFLINE,
|
|
11
11
|
capability,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
pickPerson,
|
|
16
16
|
servicesFor,
|
|
17
17
|
throughWrapper
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LAVWTS4P.js";
|
|
19
19
|
import {
|
|
20
20
|
asFirstWord,
|
|
21
21
|
baseContext,
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
recalledAccount,
|
|
27
27
|
rememberAccount,
|
|
28
28
|
rootOf2 as rootOf
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BO7ZKZCH.js";
|
|
30
30
|
import {
|
|
31
31
|
providerErrorKey
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NDUYK676.js";
|
|
33
33
|
import {
|
|
34
34
|
AUTHORITY_KEY,
|
|
35
35
|
CEILING_KEY,
|
|
@@ -46,31 +46,31 @@ import {
|
|
|
46
46
|
logAttributes,
|
|
47
47
|
readKeysForCommand,
|
|
48
48
|
skipFlagFor
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-W6DMCGMK.js";
|
|
50
50
|
import {
|
|
51
51
|
isCliFailure
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-P4ABC6C4.js";
|
|
53
53
|
import {
|
|
54
54
|
MESSENGER_CHANGE_REFUSAL,
|
|
55
55
|
readOnlyRefusal
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-ALMQEGYO.js";
|
|
57
57
|
import {
|
|
58
58
|
openStore
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-VVMCGF5X.js";
|
|
60
60
|
import {
|
|
61
61
|
logRecordOf,
|
|
62
62
|
realSleep,
|
|
63
63
|
resolvePaths,
|
|
64
64
|
writeSecurely
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-N4VNUOOD.js";
|
|
66
66
|
import {
|
|
67
67
|
CliError
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-TBD362SJ.js";
|
|
69
69
|
import {
|
|
70
70
|
__name
|
|
71
71
|
} from "./chunk-ZVVMGPBJ.js";
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
74
74
|
import { openSync } from "node:fs";
|
|
75
75
|
import { createInterface } from "node:readline";
|
|
76
76
|
import { ReadStream } from "node:tty";
|
|
@@ -125,10 +125,10 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
125
125
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
126
126
|
}, "terminalAsker");
|
|
127
127
|
|
|
128
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
129
129
|
import { randomUUID } from "node:crypto";
|
|
130
130
|
|
|
131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/flood.js
|
|
132
132
|
import { mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
133
133
|
import { dirname, join } from "node:path";
|
|
134
134
|
var MOST_DEADLINES = 50;
|
|
@@ -212,11 +212,11 @@ var FloodMemory = class {
|
|
|
212
212
|
}
|
|
213
213
|
};
|
|
214
214
|
|
|
215
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
215
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
216
216
|
import { appendFileSync, mkdirSync as mkdirSync3, readFileSync as readFileSync2 } from "node:fs";
|
|
217
217
|
import { dirname as dirname3, join as join2 } from "node:path";
|
|
218
218
|
|
|
219
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
219
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/file-lock.js
|
|
220
220
|
import { closeSync, mkdirSync as mkdirSync2, openSync as openSync2, statSync, unlinkSync } from "node:fs";
|
|
221
221
|
import { dirname as dirname2 } from "node:path";
|
|
222
222
|
var LOCK_WAIT_MS = 5e3;
|
|
@@ -283,7 +283,7 @@ var lockTime = /* @__PURE__ */ __name((lock) => {
|
|
|
283
283
|
}
|
|
284
284
|
}, "lockTime");
|
|
285
285
|
|
|
286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
286
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/journal.js
|
|
287
287
|
var sendsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join2(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "sends", `${profile}.jsonl`), "sendsPathFor");
|
|
288
288
|
var SendJournal = class {
|
|
289
289
|
static {
|
|
@@ -360,7 +360,7 @@ var withSendId = /* @__PURE__ */ __name((entry) => {
|
|
|
360
360
|
return cid === void 0 || rest.sendId !== void 0 ? rest : { ...rest, sendId: String(cid) };
|
|
361
361
|
}, "withSendId");
|
|
362
362
|
|
|
363
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
363
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/recipients.js
|
|
364
364
|
import { existsSync, readFileSync as readFileSync3, rmSync } from "node:fs";
|
|
365
365
|
import { join as join3 } from "node:path";
|
|
366
366
|
var recipientsPathFor = /* @__PURE__ */ __name((app, profile, env = process.env) => join3(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "profiles", `${profile}.recipients.json`), "recipientsPathFor");
|
|
@@ -472,7 +472,7 @@ var RecipientList = class {
|
|
|
472
472
|
}
|
|
473
473
|
};
|
|
474
474
|
|
|
475
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
475
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/guard.js
|
|
476
476
|
var HOUR_MS = 60 * 60 * 1e3;
|
|
477
477
|
var READS_UNDER_HOLD = /* @__PURE__ */ new Set([
|
|
478
478
|
"attachments.extract",
|
|
@@ -665,7 +665,7 @@ var guardFor = /* @__PURE__ */ __name((app, settings, warn, env = process.env, a
|
|
|
665
665
|
}), "guardFor");
|
|
666
666
|
var journalFailure = /* @__PURE__ */ __name((error) => error?.code ?? (error instanceof Error ? error.name : "error"), "journalFailure");
|
|
667
667
|
|
|
668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
669
669
|
import { readFileSync as readFileSync4, renameSync as renameSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
670
670
|
import { join as join4 } from "node:path";
|
|
671
671
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -724,7 +724,7 @@ var Pacer = class {
|
|
|
724
724
|
}
|
|
725
725
|
};
|
|
726
726
|
|
|
727
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
728
728
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
729
729
|
"help",
|
|
730
730
|
"guide",
|
|
@@ -803,7 +803,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
803
803
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
804
804
|
}, "refuseUnknownPermissionKeys");
|
|
805
805
|
|
|
806
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
806
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
807
807
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
808
808
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
809
809
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -922,7 +922,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
922
922
|
});
|
|
923
923
|
}, "flooded");
|
|
924
924
|
|
|
925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
926
926
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
927
927
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
928
928
|
const write = currentOperation();
|
|
@@ -1021,7 +1021,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1021
1021
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1022
1022
|
}, "byPart");
|
|
1023
1023
|
|
|
1024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
1024
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
1025
1025
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
1026
1026
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false }) => {
|
|
1027
1027
|
let warned = false;
|
|
@@ -1513,7 +1513,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
1513
1513
|
}
|
|
1514
1514
|
}, "keep");
|
|
1515
1515
|
|
|
1516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.
|
|
1516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.507.0_@wirecat+cli-base@0.68.1_commander@15.0.0_esbuild@0.28.2_type_d5beb0101c7a90701cc33879a5be8d28/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1517
1517
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1518
1518
|
let opened;
|
|
1519
1519
|
return {
|