@wirecat/drive-cli 0.51.0 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/drive.js +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-WX2NQO2D.js → chunk-4A2PIGC6.js} +1 -1
- package/dist/bundle/{chunk-D222O57O.js → chunk-4CPLOMRK.js} +6 -6
- package/dist/bundle/{chunk-U3OS6V6S.js → chunk-4Z6TCU5T.js} +1 -1
- 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-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-DW46P2DY.js} +1 -1
- 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-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-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-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-YOABRW2M.js → chunk-R276546S.js} +1 -1
- package/dist/bundle/{chunk-SRIPLP7N.js → chunk-RNSP57TC.js} +4 -4
- package/dist/bundle/{chunk-WACVI3CS.js → chunk-UC22Q5KU.js} +11 -11
- 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-J2S7QDOP.js → chunk-X6ID5EAR.js} +16 -16
- 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-4CVEVY45.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-QLBSASO5.js} +2 -2
- package/dist/bundle/{instructions-Q4ASITKO.js → instructions-K5BEQM4C.js} +1 -1
- package/dist/bundle/{login-BD2WQT5F.js → login-VNZKRSAD.js} +65 -64
- package/dist/bundle/{mcp-G6U2Q63E.js → mcp-5SNSMI2M.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-6S5EH7BS.js} +103 -101
- package/dist/bundle/{prompt-YSBBQJGF.js → prompt-AUWTBLO7.js} +4 -4
- package/dist/bundle/{reasons-366PI7OV.js → reasons-M5AKCNCU.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-XDQXUFDQ.js +104 -0
- package/dist/knowledge-query.d.ts +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/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
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.
|
|
12
|
+
process.stdout.write("0.52.0\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-CYW6XBBS.js","../bundle/anthropic-KW6KU36Y.js","../bundle/app-server-TCJZ333E.js","../bundle/bun-7SYKSCLA.js","../bundle/bun-sqlite-RI7DR6RZ.js","../bundle/command-contract-I2YB5IXI.js","../bundle/decode-EDN2ARXZ.js","../bundle/dist-MWTMOYWT.js","../bundle/dist-PY3MVR3G.js","../bundle/echarts-GXY34GHA.js","../bundle/embed-3GSQIQXE.js","../bundle/embedder-6ULWRG3R.js","../bundle/entry-IPRJLFHO.js","../bundle/failure-4CVEVY45.js","../bundle/first-run-FGHGWHC2.js","../bundle/first-screen-M62KTPZG.js","../bundle/google-BD3ZNFVJ.js","../bundle/google-api-BDUWZMRV.js","../bundle/identity-QLBSASO5.js","../bundle/instructions-K5BEQM4C.js","../bundle/login-VNZKRSAD.js","../bundle/mcp-5SNSMI2M.js","../bundle/mcp-JZSYPQA4.js","../bundle/mcp-WSGVVZWI.js","../bundle/mdast-util-from-markdown-FXEPSNER.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-ZYWB7IET.js","../bundle/node-sqlite-J3OODPYK.js","../bundle/oauth-L4VTCBLF.js","../bundle/open-SGUN7ZVF.js","../bundle/openai-RLVISEDH.js","../bundle/process-ZXO2MWRJ.js","../bundle/program-6S5EH7BS.js","../bundle/prompt-AUWTBLO7.js","../bundle/reasons-M5AKCNCU.js","../bundle/recognize-ORX2UBQW.js","../bundle/remote-AGIJY73X.js","../bundle/rerank-R6PE44M5.js","../bundle/serve-VOBAQHAQ.js","../bundle/server-24PS4M7U.js","../bundle/server-G6HFZ2CK.js","../bundle/services-HZFTTZSF.js","../bundle/sqlite-runtime-DTGPR2T2.js","../bundle/state-WG3JKJM3.js","../bundle/store-33VHIMEO.js","../bundle/store-EV72MT5U.js","../bundle/store-maintenance-command-ZTUEI4EC.js","../bundle/terminal-TFCTWLOS.js","../bundle/tokens-XDQXUFDQ.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
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
serveAllProfilesOverHttp,
|
|
7
7
|
serveAllProfilesOverStdio,
|
|
8
8
|
withProfile
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-ZWSG7OCA.js";
|
|
10
|
+
import "./chunk-CITFEQ6S.js";
|
|
11
|
+
import "./chunk-FCJAHD4R.js";
|
|
12
12
|
import "./chunk-5FONRUG6.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-PEOCBV2Z.js";
|
|
14
|
+
import "./chunk-VSOLLTYT.js";
|
|
15
|
+
import "./chunk-62EDJKGP.js";
|
|
16
|
+
import "./chunk-HQVJK5E7.js";
|
|
17
|
+
import "./chunk-YKZ4IPLB.js";
|
|
18
18
|
import "./chunk-Y5E2WNWB.js";
|
|
19
19
|
import "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
export {
|
|
@@ -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-LJAX6YCF.js";
|
|
6
6
|
import {
|
|
7
7
|
messagesFor,
|
|
8
8
|
systemFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VZ2I62HN.js";
|
|
10
10
|
import {
|
|
11
11
|
Anthropic
|
|
12
12
|
} from "./chunk-ADLS6FVG.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-HQVJK5E7.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
16
16
|
optional,
|
|
17
17
|
strictObject,
|
|
18
18
|
string
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YKZ4IPLB.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.
|
|
25
|
+
// 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/anthropic.js
|
|
26
26
|
var options = strictObject({
|
|
27
27
|
stop_sequences: optional(array(string()))
|
|
28
28
|
});
|
|
@@ -3,48 +3,49 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-G6QF5KWF.js";
|
|
7
|
+
import "./chunk-A4UNTWAX.js";
|
|
8
8
|
import {
|
|
9
9
|
mcpUrlOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DO4PDQY5.js";
|
|
11
11
|
import {
|
|
12
12
|
answeredWire
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-CITFEQ6S.js";
|
|
14
14
|
import {
|
|
15
15
|
answered,
|
|
16
16
|
failed,
|
|
17
17
|
registerCommands,
|
|
18
18
|
runCommandForAgent,
|
|
19
19
|
toolsFromCommands
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PQYVPCJ2.js";
|
|
21
21
|
import {
|
|
22
22
|
agentJson,
|
|
23
23
|
skillResource
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IWFBAWZK.js";
|
|
25
25
|
import {
|
|
26
26
|
StdioServerTransport,
|
|
27
27
|
serveStdio
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-FCJAHD4R.js";
|
|
29
|
+
import "./chunk-WQRGA75U.js";
|
|
30
30
|
import {
|
|
31
31
|
appInstructions
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZSXRDF6I.js";
|
|
33
33
|
import {
|
|
34
34
|
McpServer
|
|
35
35
|
} from "./chunk-5FONRUG6.js";
|
|
36
36
|
import {
|
|
37
37
|
mcpHttpMarker
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
38
|
+
} from "./chunk-RNSP57TC.js";
|
|
39
|
+
import "./chunk-CB7SBYLO.js";
|
|
40
|
+
import "./chunk-2AUXBJRX.js";
|
|
41
|
+
import "./chunk-KYVXMEBC.js";
|
|
42
|
+
import "./chunk-H47W2J6S.js";
|
|
43
|
+
import "./chunk-WUX7AUOQ.js";
|
|
44
|
+
import "./chunk-7SH4JHYW.js";
|
|
45
|
+
import "./chunk-Z47LOJUS.js";
|
|
46
|
+
import "./chunk-W7IK7E4B.js";
|
|
47
|
+
import "./chunk-5PLJKSG4.js";
|
|
48
|
+
import "./chunk-2623YE5I.js";
|
|
48
49
|
import {
|
|
49
50
|
DEFAULT_OUTPUT_BYTES,
|
|
50
51
|
changesAuthorityAt,
|
|
@@ -52,52 +53,52 @@ import {
|
|
|
52
53
|
fetchesOnlyAt,
|
|
53
54
|
judgedTargets,
|
|
54
55
|
rootOf2 as rootOf
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-FDWYPONW.js";
|
|
57
|
+
import "./chunk-PEOCBV2Z.js";
|
|
57
58
|
import {
|
|
58
59
|
describeProgram
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-725OHXKR.js";
|
|
61
|
+
import "./chunk-NSIFQ5OP.js";
|
|
62
|
+
import "./chunk-LONV6HIK.js";
|
|
63
|
+
import "./chunk-VSOLLTYT.js";
|
|
64
|
+
import "./chunk-Q765VPZY.js";
|
|
65
|
+
import "./chunk-GVCN3GLZ.js";
|
|
66
|
+
import "./chunk-7YMDL4JQ.js";
|
|
67
|
+
import "./chunk-DLAFGSTN.js";
|
|
68
|
+
import "./chunk-WLFUBNFX.js";
|
|
68
69
|
import {
|
|
69
70
|
readOnlyLockOf
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-ZDLIO76S.js";
|
|
72
|
+
import "./chunk-UR32UWTQ.js";
|
|
73
|
+
import "./chunk-VZ2I62HN.js";
|
|
74
|
+
import "./chunk-2UIMEMWU.js";
|
|
75
|
+
import "./chunk-CM7GAXGD.js";
|
|
75
76
|
import "./chunk-5DPV7X27.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-BSSCTWWK.js";
|
|
78
|
+
import "./chunk-WQJBAWQP.js";
|
|
79
|
+
import "./chunk-JEOYFKUK.js";
|
|
80
|
+
import "./chunk-234MHU76.js";
|
|
81
|
+
import "./chunk-PDGECM5D.js";
|
|
82
|
+
import "./chunk-ZNZUZGSV.js";
|
|
83
|
+
import "./chunk-NHBUTCNR.js";
|
|
84
|
+
import "./chunk-62EDJKGP.js";
|
|
85
|
+
import "./chunk-7XKAVMCF.js";
|
|
86
|
+
import "./chunk-XOLQSCMF.js";
|
|
87
|
+
import "./chunk-VJZST5RD.js";
|
|
88
|
+
import "./chunk-33NVQGUY.js";
|
|
88
89
|
import {
|
|
89
90
|
mcpErrorResult
|
|
90
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-HQVJK5E7.js";
|
|
91
92
|
import {
|
|
92
93
|
CliError
|
|
93
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-YKZ4IPLB.js";
|
|
94
95
|
import "./chunk-Y5E2WNWB.js";
|
|
95
|
-
import "./chunk-
|
|
96
|
+
import "./chunk-ALJWBGD5.js";
|
|
96
97
|
import {
|
|
97
98
|
__name
|
|
98
99
|
} from "./chunk-ZVVMGPBJ.js";
|
|
99
100
|
|
|
100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
101
|
+
// 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/app-server.js
|
|
101
102
|
var EXCLUDED = [["mcp"]];
|
|
102
103
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
103
104
|
const { app } = options;
|
|
@@ -212,7 +213,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
212
213
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
213
214
|
const { app } = options;
|
|
214
215
|
const { build } = createAppServer(command, context, options);
|
|
215
|
-
const { serveOverHttp } = await import("./serve-
|
|
216
|
+
const { serveOverHttp } = await import("./serve-VOBAQHAQ.js");
|
|
216
217
|
const listening = await serveOverHttp(build, {
|
|
217
218
|
...http,
|
|
218
219
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ALJWBGD5.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.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/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-FG4XXZZE.js";
|
|
7
|
+
import "./chunk-HQVJK5E7.js";
|
|
8
|
+
import "./chunk-YKZ4IPLB.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.
|
|
16
|
+
// 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/drivers/bun-sqlite.js
|
|
17
17
|
var customised = false;
|
|
18
18
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
19
19
|
try {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
singleLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HQVJK5E7.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YKZ4IPLB.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.501.0_@wirecat+cli-base@0.67.0_commander@15.0.0_esbuild@0.28.2_type_e6af10c98f87b1454255e560646d3ddf/node_modules/@wirecat/cli-core/dist/domain/providers.js
|
|
14
14
|
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events"];
|
|
15
15
|
var PROVIDERS = [
|
|
16
16
|
{ name: "telegram", kind: "messages", aliases: ["tg"] },
|
|
@@ -101,7 +101,7 @@ var providerNamed = /* @__PURE__ */ __name((word) => {
|
|
|
101
101
|
var kindIn = /* @__PURE__ */ __name((provider) => isFolderProvider(provider) ? "notes" : registry.find(({ name }) => name === provider)?.kind, "kindIn");
|
|
102
102
|
var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
|
|
103
103
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
104
|
+
// 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/domain/locator.js
|
|
105
105
|
var SCHEME = "msg:";
|
|
106
106
|
var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
|
|
107
107
|
var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
|
|
@@ -115,7 +115,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
|
|
|
115
115
|
return { provider, account, chat, message };
|
|
116
116
|
}, "parseLocator");
|
|
117
117
|
|
|
118
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
118
|
+
// 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/domain/references.js
|
|
119
119
|
var SIMPLE_REFERENCES = [
|
|
120
120
|
"note",
|
|
121
121
|
"document",
|
|
@@ -187,7 +187,7 @@ var folderPath = /* @__PURE__ */ __name((path) => {
|
|
|
187
187
|
}, "folderPath");
|
|
188
188
|
var canonicalReference = /* @__PURE__ */ __name((text) => formatReference(parseReference(text)), "canonicalReference");
|
|
189
189
|
|
|
190
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
190
|
+
// 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/domain/counters.js
|
|
191
191
|
var COUNTER_FIELDS = ["views", "reactions", "comments"];
|
|
192
192
|
var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
|
|
193
193
|
var counterObservationTime = /* @__PURE__ */ __name((observation, now) => {
|
|
@@ -206,7 +206,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
|
|
|
206
206
|
return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
|
|
207
207
|
}, "counterFreshness");
|
|
208
208
|
|
|
209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
209
|
+
// 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/domain/rankings-options.js
|
|
210
210
|
var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
|
|
211
211
|
var AUTHOR_MEASURES = [
|
|
212
212
|
"messages",
|