@wirecat/drive-cli 0.67.0 → 0.68.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-DVZUVAPQ.js → all-profiles-BU6XUFUP.js} +7 -7
- package/dist/bundle/{anthropic-Y45C45O2.js → anthropic-ZP5B7S2Z.js} +2 -2
- package/dist/bundle/{app-server-GTXUOUGD.js → app-server-EB4DH6T7.js} +49 -45
- package/dist/bundle/{bun-QVJV76QJ.js → bun-PWMM6L45.js} +2 -2
- package/dist/bundle/{bun-sqlite-CC7PIAMH.js → bun-sqlite-6VPR2SVC.js} +3 -3
- package/dist/bundle/{chunk-JO7BJYAP.js → chunk-2UHQVRH2.js} +15 -15
- package/dist/bundle/{chunk-NFIR346J.js → chunk-2VYEGKQ3.js} +1 -1
- package/dist/bundle/{chunk-MEY7URZZ.js → chunk-43NEDPXB.js} +4 -4
- package/dist/bundle/{chunk-YVUAG7RF.js → chunk-5G2BY4B6.js} +15 -15
- package/dist/bundle/{chunk-T2VAEDJS.js → chunk-5W65QTYS.js} +3 -3
- package/dist/bundle/{chunk-LSAIXPAX.js → chunk-6HFZZ2PW.js} +1 -1
- package/dist/bundle/{chunk-AJ3DFPRT.js → chunk-6QR7NKMG.js} +1 -1
- package/dist/bundle/{chunk-NWYVOHIX.js → chunk-6WAC2LOS.js} +459 -419
- package/dist/bundle/{chunk-HJF2QGOX.js → chunk-74NCZKRW.js} +29 -16
- package/dist/bundle/{chunk-4VH7M2OD.js → chunk-7A77GYCE.js} +2 -2
- package/dist/bundle/{chunk-2PIA45FC.js → chunk-7BXVI7XF.js} +1 -1
- package/dist/bundle/{chunk-ETAFFY3J.js → chunk-7TNQZKRD.js} +52 -52
- package/dist/bundle/{chunk-E3XA56TS.js → chunk-AIEMFRBU.js} +1 -1
- package/dist/bundle/{chunk-EXWOOST5.js → chunk-AXYG2DDY.js} +111 -83
- package/dist/bundle/{chunk-LXRBTXCZ.js → chunk-BXHFJTU5.js} +2 -2
- package/dist/bundle/{chunk-OOBSSU2G.js → chunk-CK2SQ2CE.js} +14 -13
- package/dist/bundle/{chunk-MF46W7PQ.js → chunk-CMWFYZ45.js} +1 -1
- package/dist/bundle/{chunk-4G7WQNG7.js → chunk-CRIEW4FP.js} +1 -1
- package/dist/bundle/{chunk-RC72RU66.js → chunk-CVAJMRRD.js} +5 -5
- package/dist/bundle/{chunk-YI4DXASF.js → chunk-DIZBJLPM.js} +36 -32
- package/dist/bundle/{chunk-FS2PG2PE.js → chunk-DU23ET2O.js} +18 -18
- package/dist/bundle/{chunk-JY2GZDJL.js → chunk-DYLYH7VE.js} +3 -3
- package/dist/bundle/{chunk-C72WYRXD.js → chunk-EEE4H2PA.js} +10 -10
- package/dist/bundle/{chunk-2MEVCMBW.js → chunk-EOC7RHJ2.js} +3 -3
- package/dist/bundle/{chunk-ZH4H5XTA.js → chunk-EXWZCI5G.js} +1 -1
- package/dist/bundle/{chunk-VZ5KETIX.js → chunk-F7KAMSXA.js} +2 -2
- package/dist/bundle/{chunk-SJE7UGOW.js → chunk-FAMXUI2X.js} +4 -4
- package/dist/bundle/{chunk-IRULPE5M.js → chunk-GTLXBAJV.js} +297 -281
- package/dist/bundle/{chunk-UFNE57VY.js → chunk-IVOG6T6P.js} +2 -2
- package/dist/bundle/{chunk-MBLB4TQI.js → chunk-J5LXL435.js} +18 -18
- package/dist/bundle/{chunk-XZCF5XU7.js → chunk-JMZQBRRZ.js} +5 -5
- package/dist/bundle/{chunk-PDHN4GHU.js → chunk-JZ3MT7IE.js} +1 -1
- package/dist/bundle/{chunk-P6A77LMP.js → chunk-KPKIHJIT.js} +5 -7
- package/dist/bundle/{chunk-2Y3YBDZX.js → chunk-MLSXHTUB.js} +137 -135
- package/dist/bundle/{chunk-ZEPDEFVT.js → chunk-MOKEB656.js} +1 -1
- package/dist/bundle/{chunk-BHSLMJF7.js → chunk-MWCPKUU4.js} +4 -4
- package/dist/bundle/{chunk-ULH3TNUP.js → chunk-NV75QPML.js} +4 -4
- package/dist/bundle/{chunk-CWDC6QJM.js → chunk-O7T3WGCV.js} +4 -4
- package/dist/bundle/{chunk-JJHDV32D.js → chunk-PGPHEC2X.js} +1 -1
- package/dist/bundle/{chunk-AAZPDWRD.js → chunk-PJ3FKBXG.js} +1 -1
- package/dist/bundle/{chunk-MEQNAZ6R.js → chunk-PWIEOATY.js} +5 -5
- package/dist/bundle/{chunk-6ERQE4FS.js → chunk-Q6BD6RUH.js} +40 -40
- package/dist/bundle/{chunk-3RG6LL25.js → chunk-QKY24RWV.js} +10 -10
- package/dist/bundle/{chunk-ABJQ6IDU.js → chunk-QRSPFCRY.js} +16 -16
- package/dist/bundle/{chunk-U2ERT45N.js → chunk-QTRYJZL7.js} +4 -4
- package/dist/bundle/{chunk-SXJDCRXE.js → chunk-QVJMFZFW.js} +1 -1
- package/dist/bundle/{chunk-WBKYZZQT.js → chunk-QWGEOQHA.js} +1 -1
- package/dist/bundle/{chunk-AZKFZ7J7.js → chunk-R5FTCNLJ.js} +1 -1
- package/dist/bundle/{chunk-DAFKV6DJ.js → chunk-RT5NT62B.js} +12 -12
- package/dist/bundle/{chunk-UOAHZV3K.js → chunk-SOS4U2RF.js} +18 -18
- package/dist/bundle/{chunk-ZU5VQYNY.js → chunk-TI2OANJZ.js} +1 -1
- package/dist/bundle/{chunk-5DMPGTNR.js → chunk-U52QE4QV.js} +2 -2
- package/dist/bundle/{chunk-JLUQZZ26.js → chunk-UFPRP7MG.js} +7 -7
- package/dist/bundle/{chunk-WWW7YTFG.js → chunk-UIKVP23D.js} +1 -1
- package/dist/bundle/{chunk-WKIQKGOF.js → chunk-ULNN3LCY.js} +26 -24
- package/dist/bundle/{chunk-5TSILGTO.js → chunk-UUQJVKPB.js} +323 -323
- package/dist/bundle/{chunk-7AZCAUST.js → chunk-UYBLNGZ2.js} +1 -1
- package/dist/bundle/{chunk-V7E25BUU.js → chunk-WCNTDETD.js} +2 -2
- package/dist/bundle/{chunk-ZK46UHDP.js → chunk-WGX4DZPW.js} +2 -2
- package/dist/bundle/{chunk-7J2IP3WL.js → chunk-WUFZGPXX.js} +6 -6
- package/dist/bundle/{chunk-Y5WSRG3F.js → chunk-YUGTJBV3.js} +2 -2
- package/dist/bundle/{chunk-JCNEPYQZ.js → chunk-YYIWPH53.js} +12 -12
- package/dist/bundle/{chunk-RLH6BOEG.js → chunk-Z5BMYI2V.js} +5 -5
- package/dist/bundle/{chunk-FOMQ4MG3.js → chunk-ZAIE3G5I.js} +2 -2
- package/dist/bundle/{chunk-QOKPRFHM.js → chunk-ZSVMZH5O.js} +2 -2
- package/dist/bundle/{chunk-JEMBW6IO.js → chunk-ZVQDOKDY.js} +1 -1
- package/dist/bundle/{cli-U4LSBYDV.js → cli-L7P36YUH.js} +50 -50
- package/dist/bundle/{command-contract-UU5T24ZZ.js → command-contract-EYFGMKIG.js} +16 -16
- package/dist/bundle/{command-server-entry-PK6FBUPO.js → command-server-entry-H3VGPOLJ.js} +23 -23
- package/dist/bundle/{decode-3ZE6NBKV.js → decode-JEU6JWCV.js} +2 -2
- package/dist/bundle/drive.js +3 -3
- package/dist/bundle/{echarts-6FWNCNXK.js → echarts-SDZA2SWG.js} +2 -2
- package/dist/bundle/{embed-DGYBBZUW.js → embed-WUKOASQG.js} +3 -3
- package/dist/bundle/{embedder-O7A6VMWI.js → embedder-UBRAXRDZ.js} +6 -6
- package/dist/bundle/{entry-CDJ2QSU2.js → entry-C4NUQFTF.js} +6 -6
- package/dist/bundle/{first-run-UOQW7DN5.js → first-run-PKHBS7B4.js} +5 -5
- package/dist/bundle/{first-screen-SNDV4YKF.js → first-screen-QOVOM4BF.js} +17 -17
- package/dist/bundle/{google-HPX52KMC.js → google-XXHSMTVK.js} +14 -14
- package/dist/bundle/{google-api-HIMN4XL5.js → google-api-SQQ4BSNR.js} +51 -51
- package/dist/bundle/{grants-RO42I6E4.js → grants-2U4JVT6O.js} +56 -56
- package/dist/bundle/{identity-NFGHDPLL.js → identity-SRL6RSU2.js} +1 -1
- package/dist/bundle/{instructions-6JAQYCM6.js → instructions-7T6JJIFS.js} +1 -1
- package/dist/bundle/{login-RZOQN63N.js → login-N243GGEE.js} +56 -56
- package/dist/bundle/{node-KSIX3GIH.js → node-BZDMUFTW.js} +2 -2
- package/dist/bundle/{node-sqlite-4FJ6WJXN.js → node-sqlite-SZQCCMV2.js} +4 -4
- package/dist/bundle/{oauth-BKZAMFKK.js → oauth-CMAFXX6A.js} +4 -4
- package/dist/bundle/{open-4AQJGH42.js → open-RVTPKDA3.js} +2 -2
- package/dist/bundle/{openai-24F2OX55.js → openai-6NN63BMH.js} +13 -13
- package/dist/bundle/{process-7NOA2T7H.js → process-756VBE7E.js} +1 -1
- package/dist/bundle/{program-7JHMLDEX.js → program-B4QBJYB5.js} +78 -75
- package/dist/bundle/{prompt-NM66MAZ4.js → prompt-HGP2DSRW.js} +2 -2
- package/dist/bundle/{recognize-DBKV2JYZ.js → recognize-26SHB7HI.js} +1 -1
- package/dist/bundle/{remote-ABWUTBVB.js → remote-Z4PWHZ5N.js} +7 -7
- package/dist/bundle/{rerank-FQAU4ENY.js → rerank-QHJZJK3Q.js} +4 -4
- package/dist/bundle/{serve-QLJG4QZD.js → serve-MYJW5IEM.js} +6 -6
- package/dist/bundle/server-HBZPIHDX.js +74 -0
- package/dist/bundle/{server-VGZNK5XD.js → server-XFW3V7CR.js} +38 -36
- package/dist/bundle/{services-5KARVUHK.js → services-IQG2RVTO.js} +25 -25
- package/dist/bundle/{sqlite-runtime-ILF6EFQJ.js → sqlite-runtime-X4GB5PBV.js} +3 -3
- package/dist/bundle/{state-R2M56GPU.js → state-ATQK2X3W.js} +3 -3
- package/dist/bundle/{store-2OBVMUQL.js → store-MEHEUOJH.js} +11 -11
- package/dist/bundle/{store-DA4K7HWW.js → store-QUBUPK6F.js} +13 -13
- package/dist/bundle/store-maintenance-command-33ULVDWY.js +65 -0
- package/dist/bundle/tokens-A2GP4F34.js +111 -0
- package/dist/policy.d.ts +2 -0
- package/dist/policy.d.ts.map +1 -1
- package/dist/policy.js +3 -2
- package/dist/policy.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +3 -2
- 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/server-NUBLY5SV.js +0 -74
- package/dist/bundle/store-maintenance-command-KSIPI5B5.js +0 -65
- package/dist/bundle/tokens-VQDGSHRB.js +0 -111
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.68.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-BU6XUFUP.js","../bundle/anthropic-ZP5B7S2Z.js","../bundle/app-server-EB4DH6T7.js","../bundle/bun-PWMM6L45.js","../bundle/bun-sqlite-6VPR2SVC.js","../bundle/cli-L7P36YUH.js","../bundle/command-contract-EYFGMKIG.js","../bundle/command-server-entry-H3VGPOLJ.js","../bundle/decode-JEU6JWCV.js","../bundle/dispatch-WBEOHZDV.js","../bundle/dist-MWTMOYWT.js","../bundle/echarts-SDZA2SWG.js","../bundle/embed-WUKOASQG.js","../bundle/embedder-UBRAXRDZ.js","../bundle/entry-C4NUQFTF.js","../bundle/failure-X6PSLVSO.js","../bundle/first-run-PKHBS7B4.js","../bundle/first-screen-QOVOM4BF.js","../bundle/google-XXHSMTVK.js","../bundle/google-api-SQQ4BSNR.js","../bundle/grants-2U4JVT6O.js","../bundle/identity-SRL6RSU2.js","../bundle/instructions-7T6JJIFS.js","../bundle/login-N243GGEE.js","../bundle/mcp-TDKGDB4V.js","../bundle/mdast-util-from-markdown-CE73EWJ2.js","../bundle/mdast-util-gfm-SZM5GBDF.js","../bundle/micromark-extension-gfm-GRL24TU6.js","../bundle/node-BZDMUFTW.js","../bundle/node-P4E63KXA.js","../bundle/node-TLZSIHIJ.js","../bundle/node-sqlite-SZQCCMV2.js","../bundle/oauth-CMAFXX6A.js","../bundle/open-RVTPKDA3.js","../bundle/openai-6NN63BMH.js","../bundle/process-756VBE7E.js","../bundle/program-B4QBJYB5.js","../bundle/prompt-HGP2DSRW.js","../bundle/reasons-KSYP5VDJ.js","../bundle/recognize-26SHB7HI.js","../bundle/remote-Z4PWHZ5N.js","../bundle/rerank-QHJZJK3Q.js","../bundle/serve-MYJW5IEM.js","../bundle/server-HBZPIHDX.js","../bundle/server-XFW3V7CR.js","../bundle/services-IQG2RVTO.js","../bundle/sqlite-runtime-X4GB5PBV.js","../bundle/start-C6EXYXAL.js","../bundle/state-ATQK2X3W.js","../bundle/store-MEHEUOJH.js","../bundle/store-QUBUPK6F.js","../bundle/store-maintenance-command-33ULVDWY.js","../bundle/terminal-DHJ4D3BC.js","../bundle/tokens-A2GP4F34.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -2,20 +2,20 @@ 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-R5FTCNLJ.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-WCNTDETD.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-WUFZGPXX.js";
|
|
17
|
+
import "./chunk-QWGEOQHA.js";
|
|
18
|
+
import "./chunk-UYBLNGZ2.js";
|
|
19
19
|
import "./chunk-XWBPP2HX.js";
|
|
20
20
|
import "./chunk-MW46BLWH.js";
|
|
21
21
|
import "./chunk-PV3AWPHR.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
__name
|
|
29
29
|
} from "./chunk-ZVVMGPBJ.js";
|
|
30
30
|
|
|
31
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
31
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
32
32
|
import { spawn } from "node:child_process";
|
|
33
33
|
import { randomUUID } from "node:crypto";
|
|
34
34
|
var PROTOCOL = "2025-06-18";
|
|
@@ -262,7 +262,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
262
262
|
}, "serveAllProfilesOverStdio");
|
|
263
263
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
264
264
|
const { build, close } = allProfilesServer(options);
|
|
265
|
-
const { serveOverHttp } = await import("./serve-
|
|
265
|
+
const { serveOverHttp } = await import("./serve-MYJW5IEM.js");
|
|
266
266
|
const listening = await serveOverHttp(build, {
|
|
267
267
|
...http,
|
|
268
268
|
appName: options.command,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
checkedOptions,
|
|
6
6
|
messagesFor,
|
|
7
7
|
systemFor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-F7KAMSXA.js";
|
|
9
9
|
import {
|
|
10
10
|
Anthropic
|
|
11
11
|
} from "./chunk-ADLS6FVG.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
__name
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
33
33
|
var options = strictObject({
|
|
34
34
|
stop_sequences: optional(array(string())),
|
|
35
35
|
thinking: optional(strictObject({ type: picklist(["disabled", "adaptive"]) })),
|
|
@@ -3,89 +3,90 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DIZBJLPM.js";
|
|
7
7
|
import {
|
|
8
8
|
answered,
|
|
9
9
|
failed,
|
|
10
10
|
registerCommands,
|
|
11
11
|
runCommandForAgent,
|
|
12
12
|
toolsFromCommands
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-SOS4U2RF.js";
|
|
14
14
|
import {
|
|
15
15
|
mcpUrlOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ULNN3LCY.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CK2SQ2CE.js";
|
|
21
21
|
import {
|
|
22
22
|
appInstructions
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AIEMFRBU.js";
|
|
24
24
|
import {
|
|
25
25
|
answeredWire
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-R5FTCNLJ.js";
|
|
27
27
|
import {
|
|
28
28
|
StdioServerTransport,
|
|
29
29
|
serveStdio
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-WCNTDETD.js";
|
|
31
31
|
import {
|
|
32
32
|
McpServer
|
|
33
33
|
} from "./chunk-5D4AEUVA.js";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-5G2BY4B6.js";
|
|
35
|
+
import "./chunk-2UHQVRH2.js";
|
|
36
|
+
import "./chunk-GTLXBAJV.js";
|
|
37
|
+
import "./chunk-Q6BD6RUH.js";
|
|
38
|
+
import "./chunk-YYIWPH53.js";
|
|
39
39
|
import "./chunk-D4MVEOU2.js";
|
|
40
40
|
import "./chunk-FIVFP53N.js";
|
|
41
41
|
import {
|
|
42
42
|
mcpHttpMarker
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
43
|
+
} from "./chunk-NV75QPML.js";
|
|
44
|
+
import "./chunk-U52QE4QV.js";
|
|
45
|
+
import "./chunk-F7KAMSXA.js";
|
|
46
|
+
import "./chunk-FAMXUI2X.js";
|
|
47
|
+
import "./chunk-O7T3WGCV.js";
|
|
48
|
+
import "./chunk-QRSPFCRY.js";
|
|
49
|
+
import "./chunk-MWCPKUU4.js";
|
|
50
50
|
import "./chunk-5DPV7X27.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-PJ3FKBXG.js";
|
|
52
|
+
import "./chunk-EOC7RHJ2.js";
|
|
53
53
|
import {
|
|
54
54
|
DEFAULT_OUTPUT_BYTES,
|
|
55
55
|
changesAuthorityAt,
|
|
56
56
|
describeProgram,
|
|
57
57
|
environmentOf,
|
|
58
|
+
fetchesOnlyAt,
|
|
58
59
|
judgedTargets,
|
|
59
60
|
readsOverMcpAt,
|
|
60
61
|
rootOf2 as rootOf
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-MLSXHTUB.js";
|
|
63
|
+
import "./chunk-WUFZGPXX.js";
|
|
64
|
+
import "./chunk-J5LXL435.js";
|
|
65
|
+
import "./chunk-7A77GYCE.js";
|
|
66
|
+
import "./chunk-KPKIHJIT.js";
|
|
66
67
|
import {
|
|
67
68
|
readOnlyLockOf
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-MOKEB656.js";
|
|
70
|
+
import "./chunk-UIKVP23D.js";
|
|
71
|
+
import "./chunk-6QR7NKMG.js";
|
|
72
|
+
import "./chunk-IVOG6T6P.js";
|
|
73
|
+
import "./chunk-5W65QTYS.js";
|
|
74
|
+
import "./chunk-PGPHEC2X.js";
|
|
75
|
+
import "./chunk-6WAC2LOS.js";
|
|
76
|
+
import "./chunk-BXHFJTU5.js";
|
|
77
|
+
import "./chunk-UFPRP7MG.js";
|
|
78
|
+
import "./chunk-CVAJMRRD.js";
|
|
79
|
+
import "./chunk-AXYG2DDY.js";
|
|
79
80
|
import "./chunk-UPCEHSIZ.js";
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-QWGEOQHA.js";
|
|
82
|
+
import "./chunk-UYBLNGZ2.js";
|
|
83
|
+
import "./chunk-PWIEOATY.js";
|
|
84
|
+
import "./chunk-QVJMFZFW.js";
|
|
84
85
|
import "./chunk-D72URWJE.js";
|
|
85
86
|
import "./chunk-M4OP5ASJ.js";
|
|
86
87
|
import "./chunk-XWBPP2HX.js";
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-ZVQDOKDY.js";
|
|
89
|
+
import "./chunk-CRIEW4FP.js";
|
|
89
90
|
import "./chunk-MW46BLWH.js";
|
|
90
91
|
import {
|
|
91
92
|
mcpErrorResult
|
|
@@ -101,7 +102,7 @@ import {
|
|
|
101
102
|
__name
|
|
102
103
|
} from "./chunk-ZVVMGPBJ.js";
|
|
103
104
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
105
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
105
106
|
var EXCLUDED = [["mcp"]];
|
|
106
107
|
var aliasesOf = /* @__PURE__ */ __name((root, path) => {
|
|
107
108
|
let at = root;
|
|
@@ -123,6 +124,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
|
123
124
|
const levels = /* @__PURE__ */ __name(() => options.resolveSettings(flags, { env: context.env }).permissions, "levels");
|
|
124
125
|
const readOnly = /* @__PURE__ */ __name(() => readOnlyLockOf(app, context.env) !== void 0, "readOnly");
|
|
125
126
|
const authority = changesAuthorityAt(root);
|
|
127
|
+
const fetches = fetchesOnlyAt(root);
|
|
126
128
|
const targets = judgedTargets(root);
|
|
127
129
|
const passed = Object.fromEntries(Object.entries(environment).filter(([key]) => !PER_RUN.has(key)));
|
|
128
130
|
const tools = toolsFromCommands(program.commands, {
|
|
@@ -133,6 +135,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
|
133
135
|
readOnly: readOnly(),
|
|
134
136
|
authority,
|
|
135
137
|
fetchOnly: readsOverMcpAt(root),
|
|
138
|
+
fetches,
|
|
136
139
|
permissions: options.permissions
|
|
137
140
|
});
|
|
138
141
|
const availability = /* @__PURE__ */ __name((one) => () => {
|
|
@@ -166,6 +169,7 @@ var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
|
166
169
|
levels,
|
|
167
170
|
overrides,
|
|
168
171
|
authority,
|
|
172
|
+
fetches,
|
|
169
173
|
permissions: options.permissions,
|
|
170
174
|
environment: passed
|
|
171
175
|
});
|
|
@@ -228,7 +232,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
228
232
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
229
233
|
const { app } = options;
|
|
230
234
|
const { build } = createAppServer(command, context, options);
|
|
231
|
-
const { serveOverHttp } = await import("./serve-
|
|
235
|
+
const { serveOverHttp } = await import("./serve-MYJW5IEM.js");
|
|
232
236
|
const listening = await serveOverHttp(build, {
|
|
233
237
|
...http,
|
|
234
238
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QVJMFZFW.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.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/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,10 +3,10 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CMWFYZ45.js";
|
|
7
7
|
import {
|
|
8
8
|
refuseOwnerStoreInTests
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CRIEW4FP.js";
|
|
10
10
|
import "./chunk-MW46BLWH.js";
|
|
11
11
|
import "./chunk-PV3AWPHR.js";
|
|
12
12
|
import {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
24
24
|
var customised = false;
|
|
25
25
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
26
26
|
try {
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
AUDIT_MIN_SCORE,
|
|
5
5
|
throughWrapper
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GTLXBAJV.js";
|
|
7
7
|
import {
|
|
8
8
|
Command,
|
|
9
9
|
InvalidArgumentError,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
renderAnswer,
|
|
18
18
|
sharedCommand,
|
|
19
19
|
snakeKeys
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MLSXHTUB.js";
|
|
21
21
|
import {
|
|
22
22
|
readOnlyLockOf
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MOKEB656.js";
|
|
24
24
|
import {
|
|
25
25
|
EVENT_QUERY,
|
|
26
26
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
readMeetingProjectEvidence,
|
|
45
45
|
validateMeetingHitSearch,
|
|
46
46
|
validateMeetingPassage
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-AXYG2DDY.js";
|
|
48
48
|
import {
|
|
49
49
|
OPERATORS_BY_TYPE,
|
|
50
50
|
QUERY_LIMITS,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
__name
|
|
81
81
|
} from "./chunk-ZVVMGPBJ.js";
|
|
82
82
|
|
|
83
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
83
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
84
84
|
var COMMAND_NEEDS = {
|
|
85
85
|
"account update": ["updateProfile", "change the profile"],
|
|
86
86
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -130,7 +130,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
130
130
|
return group;
|
|
131
131
|
}, "hideNever");
|
|
132
132
|
|
|
133
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
133
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
134
134
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
135
135
|
command.allowUnknownOption();
|
|
136
136
|
const parse = command.parseOptions.bind(command);
|
|
@@ -150,7 +150,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
150
150
|
return command;
|
|
151
151
|
}, "queryWordsAfterOptions");
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
154
154
|
var count = /* @__PURE__ */ __name((value) => {
|
|
155
155
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
156
156
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -192,7 +192,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
192
192
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
193
193
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
194
194
|
|
|
195
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
195
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
196
196
|
var integer = /* @__PURE__ */ __name((value) => {
|
|
197
197
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
198
198
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -215,7 +215,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
215
215
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
216
216
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
217
217
|
|
|
218
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
218
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
219
219
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
220
220
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
221
221
|
const zone = timezoneOf();
|
|
@@ -301,7 +301,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
301
301
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
302
302
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
303
303
|
|
|
304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
305
305
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
306
306
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
307
307
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -450,7 +450,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
450
450
|
}, "addMeetingCommandsDefinition");
|
|
451
451
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
452
452
|
|
|
453
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
453
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
454
454
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
455
455
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
456
456
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -592,7 +592,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
592
592
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
593
593
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
594
594
|
|
|
595
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
595
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
596
596
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
597
597
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
598
598
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -601,7 +601,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
601
601
|
var withPaging = /* @__PURE__ */ __name((command) => command.option("--limit <n>", "how many to show", positiveCount("--limit")).option("--page <n>", "which page, starting at 1", positiveCount("--page")).option("--all", "every row, no paging"), "withPaging");
|
|
602
602
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
603
603
|
|
|
604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
604
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
605
605
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
606
606
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
607
607
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -863,7 +863,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
863
863
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
864
864
|
}), "sessionAnswer");
|
|
865
865
|
|
|
866
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
866
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
867
867
|
import { createHash } from "node:crypto";
|
|
868
868
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
869
869
|
import { createConnection, createServer } from "node:net";
|
|
@@ -1084,7 +1084,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
1084
1084
|
}, () => finish({ error: stopped() }));
|
|
1085
1085
|
}), "relayCommand");
|
|
1086
1086
|
|
|
1087
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1087
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1088
1088
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1089
1089
|
close: /* @__PURE__ */ __name(async () => {
|
|
1090
1090
|
}, "close"),
|
|
@@ -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.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/command-server-argv.js
|
|
8
8
|
var COMMAND_SERVER_ARGV = ["commands", "--serve"];
|
|
9
9
|
var isCommandServer = /* @__PURE__ */ __name((args) => args.length === COMMAND_SERVER_ARGV.length && COMMAND_SERVER_ARGV.every((word, at) => args[at] === word), "isCommandServer");
|
|
10
10
|
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
XLSX,
|
|
7
7
|
supported,
|
|
8
8
|
tooManyEntries
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JZ3MT7IE.js";
|
|
10
10
|
import {
|
|
11
11
|
DOC,
|
|
12
12
|
SHEET
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DU23ET2O.js";
|
|
14
14
|
import {
|
|
15
15
|
googleError
|
|
16
16
|
} from "./chunk-Y2QVNVHK.js";
|
|
17
17
|
import {
|
|
18
18
|
extractText
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Q6BD6RUH.js";
|
|
20
20
|
import {
|
|
21
21
|
MAX_TEXT_CHARS
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BXHFJTU5.js";
|
|
23
23
|
import {
|
|
24
24
|
importFrom
|
|
25
25
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -2,7 +2,7 @@ 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-2UHQVRH2.js";
|
|
6
6
|
import {
|
|
7
7
|
FloodMemory,
|
|
8
8
|
OFFLINE,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
servicesFor,
|
|
19
19
|
throughWrapper,
|
|
20
20
|
withFileLockAsync
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GTLXBAJV.js";
|
|
22
22
|
import {
|
|
23
23
|
servingProfiles
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-U52QE4QV.js";
|
|
25
25
|
import {
|
|
26
26
|
asFirstWord,
|
|
27
27
|
baseContext,
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
recalledAccount,
|
|
33
33
|
rememberAccount,
|
|
34
34
|
rootOf2 as rootOf
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-MLSXHTUB.js";
|
|
36
36
|
import {
|
|
37
37
|
providerErrorKey
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-WUFZGPXX.js";
|
|
39
39
|
import {
|
|
40
40
|
AUTHORITY_KEY,
|
|
41
41
|
CEILING_KEY,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
limitBatch,
|
|
50
50
|
readKeysForCommand,
|
|
51
51
|
skipFlagFor
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-J5LXL435.js";
|
|
53
53
|
import {
|
|
54
54
|
chatReferenceOf,
|
|
55
55
|
ensureAccount,
|
|
@@ -57,10 +57,10 @@ import {
|
|
|
57
57
|
isId,
|
|
58
58
|
openStore,
|
|
59
59
|
pickPerson
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-6WAC2LOS.js";
|
|
61
61
|
import {
|
|
62
62
|
isCliFailure
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-UYBLNGZ2.js";
|
|
64
64
|
import {
|
|
65
65
|
resolvePaths
|
|
66
66
|
} from "./chunk-MW46BLWH.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
__name
|
|
72
72
|
} from "./chunk-ZVVMGPBJ.js";
|
|
73
73
|
|
|
74
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
74
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
75
75
|
import { openSync } from "node:fs";
|
|
76
76
|
import { createInterface } from "node:readline";
|
|
77
77
|
import { ReadStream } from "node:tty";
|
|
@@ -126,7 +126,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
126
126
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
127
127
|
}, "terminalAsker");
|
|
128
128
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
130
130
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
131
131
|
"help",
|
|
132
132
|
"guide",
|
|
@@ -206,7 +206,7 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
206
206
|
throw new CliError("validation_error", `--permission ${key} names no command`, { permission: key });
|
|
207
207
|
}, "refuseUnknownPermissionKeys");
|
|
208
208
|
|
|
209
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
209
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
210
210
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
211
211
|
var stored = /* @__PURE__ */ __name((messenger, { account, store, warn, events, pending, announcing, deletedWithoutChat, profile, rekeyed, rekeyPacing = REKEY_PACING, closing, namesFromStore, recipientIds, countsUnread = false, historyLimits, command = "cli" }) => {
|
|
212
212
|
let warned = false;
|
|
@@ -782,7 +782,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
782
782
|
}
|
|
783
783
|
}, "keep");
|
|
784
784
|
|
|
785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/sends/pace.js
|
|
786
786
|
import { readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
787
787
|
import { join } from "node:path";
|
|
788
788
|
var DEFAULT_PACE = { perMinute: 60, burst: 20 };
|
|
@@ -877,7 +877,7 @@ var waitForTurn = /* @__PURE__ */ __name(async (pacer, options) => {
|
|
|
877
877
|
await (options.sleep ?? ((ms) => new Promise((resolve) => setTimeout(resolve, ms))))(waitMs);
|
|
878
878
|
}, "waitForTurn");
|
|
879
879
|
|
|
880
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
881
881
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
882
882
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
883
883
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -974,7 +974,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
974
974
|
});
|
|
975
975
|
}, "flooded");
|
|
976
976
|
|
|
977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
978
978
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
979
979
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
980
980
|
const write = currentOperation();
|
|
@@ -1073,7 +1073,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
1073
1073
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
1074
1074
|
}, "byPart");
|
|
1075
1075
|
|
|
1076
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1076
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
1077
1077
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
1078
1078
|
let opened;
|
|
1079
1079
|
return {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CRIEW4FP.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-EA2OB75T.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.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.656.0_@wirecat+cli-base@0.99.0_commander@15.0.0_esbuild@0.28.2_type_dceb8977715cf47b69a8fd97c630c977/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|