@wirecat/zoom-cli 0.59.1 → 0.60.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/zm.js +2 -2
- package/dist/bundle/{all-profiles-RS5IWIGR.js → all-profiles-7OZPJY76.js} +5 -5
- package/dist/bundle/{answer-policy-7BYG6XWZ.js → answer-policy-PVWMA2QC.js} +50 -50
- package/dist/bundle/{anthropic-5QHQR4WF.js → anthropic-TT2XV74T.js} +3 -3
- package/dist/bundle/{app-server-7LANSZGE.js → app-server-POMYD6QV.js} +45 -45
- package/dist/bundle/{bun-O6RL6LRQ.js → bun-JVDJVDHL.js} +2 -2
- package/dist/bundle/{bun-sqlite-PEJM6CS4.js → bun-sqlite-BBOPAQVG.js} +2 -2
- package/dist/bundle/{chunk-ZHXIXDH5.js → chunk-22UBF6U6.js} +4 -4
- package/dist/bundle/{chunk-L2UIJDWB.js → chunk-2EVRKK75.js} +1 -1
- package/dist/bundle/{chunk-YSHSCBPM.js → chunk-2TV7UTHK.js} +7 -7
- package/dist/bundle/{chunk-XFCSPOLZ.js → chunk-3P4LUGXI.js} +1 -1
- package/dist/bundle/{chunk-QFGBMS67.js → chunk-3UMXCNDI.js} +13 -6
- package/dist/bundle/{chunk-JUS4H7Z5.js → chunk-4FTPE5SB.js} +23 -23
- package/dist/bundle/{chunk-4AURKUDZ.js → chunk-4HZRZDMC.js} +3 -3
- package/dist/bundle/{chunk-RXDIG23Z.js → chunk-4MC4Z45G.js} +5 -5
- package/dist/bundle/{chunk-PKTFZAXG.js → chunk-57LT4A2E.js} +1 -1
- package/dist/bundle/{chunk-T6AAM7UT.js → chunk-72A7CIPL.js} +18 -15
- package/dist/bundle/{chunk-6FL25KC5.js → chunk-7PQY4ISY.js} +3 -3
- package/dist/bundle/{chunk-URO44C5T.js → chunk-7T3BUWJK.js} +156 -144
- package/dist/bundle/{chunk-BXZ6WSVF.js → chunk-AJA5ZAV6.js} +3 -3
- package/dist/bundle/{chunk-MBT7GP7K.js → chunk-D6L35XQS.js} +8 -8
- package/dist/bundle/{chunk-K76WFW4I.js → chunk-DAQXO6SM.js} +3 -3
- package/dist/bundle/{chunk-SIA7HJE2.js → chunk-DKIIKMSE.js} +54 -47
- package/dist/bundle/{chunk-XT7XVPEM.js → chunk-DN7VHENQ.js} +9 -9
- package/dist/bundle/{chunk-KVHRHBLY.js → chunk-E3AMUYNB.js} +4 -4
- package/dist/bundle/{chunk-CVIKKIGE.js → chunk-EF2RCQ3L.js} +1 -1
- package/dist/bundle/{chunk-OBZWUNO4.js → chunk-EH6G2LEU.js} +8 -8
- package/dist/bundle/{chunk-A6323R5P.js → chunk-EOZWDEJL.js} +1 -1
- package/dist/bundle/{chunk-UKR7KH3H.js → chunk-EROQ5SC7.js} +2 -2
- package/dist/bundle/{chunk-NDXAZB5Z.js → chunk-EXFAA4N3.js} +5 -5
- package/dist/bundle/{chunk-MNUTWGSA.js → chunk-G3MXAGF2.js} +30 -30
- package/dist/bundle/{chunk-3SCTDFNO.js → chunk-GNRYFESK.js} +15 -15
- package/dist/bundle/{chunk-PACC5N6T.js → chunk-GXACHTB2.js} +8 -1
- package/dist/bundle/{chunk-4NGLRHWO.js → chunk-HBYE4EP2.js} +1 -1
- package/dist/bundle/{chunk-NW7IMGRR.js → chunk-HIAO4MPA.js} +1 -1
- package/dist/bundle/{chunk-7D2CD3E3.js → chunk-HWZXQLR5.js} +4 -4
- package/dist/bundle/{chunk-QCFHL4ES.js → chunk-I45V6AFG.js} +1 -1
- package/dist/bundle/{chunk-DXZTLB24.js → chunk-IFXPNXAH.js} +3 -3
- package/dist/bundle/{chunk-NOKFJJPA.js → chunk-J3N2LL37.js} +5 -5
- package/dist/bundle/{chunk-KDYPY6IL.js → chunk-J5ZVGKSZ.js} +1 -1
- package/dist/bundle/{chunk-MMT46EN4.js → chunk-JBGYI5BY.js} +1 -1
- package/dist/bundle/{chunk-B32SF7J3.js → chunk-KUBCUE6T.js} +1 -1
- package/dist/bundle/{chunk-G27MRA24.js → chunk-KUBWRI5E.js} +1 -1
- package/dist/bundle/{chunk-7H3ZRDLW.js → chunk-KVPYI52N.js} +2 -2
- package/dist/bundle/{chunk-27P22POE.js → chunk-LKV3NRCJ.js} +29 -25
- package/dist/bundle/{recognize-EMHQX4XF.js → chunk-LYZNVNJA.js} +6 -5
- package/dist/bundle/{chunk-IYAGQXED.js → chunk-LZBWU2IA.js} +7 -7
- package/dist/bundle/{chunk-ZC5UXEIH.js → chunk-M5WLBRL7.js} +10 -10
- package/dist/bundle/{chunk-BAQLQIMI.js → chunk-MGYFSXI5.js} +30 -26
- package/dist/bundle/{chunk-PF25S7L4.js → chunk-NKFRV2LB.js} +1 -1
- package/dist/bundle/{chunk-PNBEREOU.js → chunk-ODFIV4OS.js} +1904 -1527
- package/dist/bundle/{chunk-YIFIY7ZE.js → chunk-PU4FKK5T.js} +1 -1
- package/dist/bundle/{chunk-UXM7I35J.js → chunk-PUOBYJFI.js} +4 -4
- package/dist/bundle/{chunk-VOAVOK4I.js → chunk-Q4NDCDFG.js} +55 -16
- package/dist/bundle/{chunk-UYJUTZTT.js → chunk-QJCVOVNR.js} +2 -2
- package/dist/bundle/{chunk-5DVW77VC.js → chunk-RH5YXXAB.js} +30 -30
- package/dist/bundle/{chunk-L3VS3H34.js → chunk-RNX73QCL.js} +5 -5
- package/dist/bundle/{chunk-YJRMMZI5.js → chunk-RSLXLUTS.js} +9 -9
- package/dist/bundle/{chunk-CTGI4ES2.js → chunk-SG3WSP7Y.js} +5 -5
- package/dist/bundle/{chunk-U6QW67SU.js → chunk-SK3K2VHF.js} +371 -314
- package/dist/bundle/{chunk-2EYP23NY.js → chunk-SKENSSY2.js} +9 -9
- package/dist/bundle/{chunk-VSUY7PDW.js → chunk-TAQKNWCD.js} +6 -3
- package/dist/bundle/{chunk-EUQ7XFPK.js → chunk-TB72GE55.js} +1 -1
- package/dist/bundle/{chunk-PP3JGQQE.js → chunk-UOL4ILXT.js} +108 -52
- package/dist/bundle/{chunk-ZTOAAYFV.js → chunk-V2QOLHPM.js} +2 -2
- package/dist/bundle/{chunk-AIXLOMH4.js → chunk-W5EUHV3J.js} +1 -1
- package/dist/bundle/{chunk-SL3SXQZ5.js → chunk-WVXAQVLG.js} +5 -5
- package/dist/bundle/{chunk-3SERIWJD.js → chunk-XAF2LHZG.js} +7853 -7815
- package/dist/bundle/{chunk-DXKVEOSS.js → chunk-XLJV3ZOH.js} +1 -1
- package/dist/bundle/{chunk-MIGIKHER.js → chunk-XMCVB4Q4.js} +3 -3
- package/dist/bundle/{chunk-N7GAQ27N.js → chunk-YSZQ5SZK.js} +2 -2
- package/dist/bundle/{chunk-7Z4ANTAK.js → chunk-YZZ6NBXC.js} +27 -19
- package/dist/bundle/{chunk-DDYR6DYL.js → chunk-ZK7Y5K63.js} +1 -1
- package/dist/bundle/{cli-IQTASP44.js → cli-WIMAOCXF.js} +51 -51
- package/dist/bundle/command-contract-J7PDZQMC.js +38 -0
- package/dist/bundle/config-G62PBNZF.js +79 -0
- package/dist/bundle/decode-UBPIHVNG.js +158 -0
- package/dist/bundle/{dist-WT73DF46.js → dist-YYDTME5J.js} +11 -11
- package/dist/bundle/{echarts-LD3AI55P.js → echarts-4OQHS575.js} +2 -2
- package/dist/bundle/{embed-XEMH4LNX.js → embed-7JHEPBFD.js} +3 -3
- package/dist/bundle/{embedder-ZCYKSKAE.js → embedder-HTRPWR6T.js} +6 -6
- package/dist/bundle/{first-run-LGYDLIUM.js → first-run-I52ADRJ2.js} +5 -5
- package/dist/bundle/first-screen-XNCFWOLC.js +36 -0
- package/dist/bundle/{instructions-RZMSW3OC.js → instructions-3QZBKKPF.js} +1 -1
- package/dist/bundle/{main-LDCSYBV3.js → main-64VVZ5QG.js} +11 -11
- package/dist/bundle/mcp-5SJXWEJW.js +92 -0
- package/dist/bundle/{mcp-M7MW5EGT.js → mcp-ZMIPDB4R.js} +59 -59
- package/dist/bundle/{meetings-XPBHVZAU.js → meetings-RD3NU6NN.js} +5 -1
- package/dist/bundle/{node-ZRLYQL7J.js → node-R2BLYUSB.js} +2 -2
- package/dist/bundle/node-sqlite-DGEEDBXV.js +61 -0
- package/dist/bundle/{oauth-UHVRGKZU.js → oauth-NRZMCFH3.js} +4 -4
- package/dist/bundle/{open-J4FCAUAJ.js → open-SUGCOCAU.js} +1 -1
- package/dist/bundle/{process-LL77573L.js → process-IX5YWGDP.js} +1 -1
- package/dist/bundle/{program-4S5BJVSW.js → program-WGNTV7NS.js} +61 -61
- package/dist/bundle/{prompt-LUUMQTMY.js → prompt-NICXDWN3.js} +2 -2
- package/dist/bundle/recognize-6DAHO6X6.js +21 -0
- package/dist/bundle/{remote-ZXS6D7VB.js → remote-JZ3TXP6I.js} +4 -4
- package/dist/bundle/{rerank-WP7RKZNB.js → rerank-YSXWCAGZ.js} +4 -4
- package/dist/bundle/{run-log-GS2L66G6.js → run-log-APHZZWC7.js} +48 -48
- package/dist/bundle/{serve-L6KLLXK2.js → serve-7VWL475U.js} +6 -6
- package/dist/bundle/server-7LABFAA5.js +53 -0
- package/dist/bundle/server-VFXB5WRG.js +66 -0
- package/dist/bundle/{services-SPOEWVK3.js → services-D64U72OE.js} +21 -21
- package/dist/bundle/{speech-6OBAKMND.js → speech-QLCQAT4O.js} +3 -3
- package/dist/bundle/{state-HN5EJKXQ.js → state-KAD3R27T.js} +3 -3
- package/dist/bundle/{store-ZP2URKET.js → store-2BHHS77S.js} +12 -12
- package/dist/bundle/{store-LEU3M6IN.js → store-7UNPRLZ3.js} +10 -10
- package/dist/bundle/store-connection-QTMLZ7LR.js +76 -0
- package/dist/bundle/store-maintenance-command-ND6PQCVZ.js +54 -0
- package/dist/bundle/zm.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/zoom-cli/SKILL.md +1 -0
- package/dist/bundle/command-contract-WHZPF7NA.js +0 -38
- package/dist/bundle/config-AXMQ2PXT.js +0 -79
- package/dist/bundle/first-screen-LYQKPNF4.js +0 -36
- package/dist/bundle/mcp-VISEXTVC.js +0 -92
- package/dist/bundle/node-sqlite-BBEDYBWO.js +0 -45
- package/dist/bundle/server-NOFYENP5.js +0 -53
- package/dist/bundle/server-P5TXAPBY.js +0 -66
- package/dist/bundle/store-connection-3UZBORXK.js +0 -76
- package/dist/bundle/store-maintenance-command-PSCHEHHY.js +0 -54
- /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-YLBNPI7H.js} +0 -0
|
@@ -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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -2,14 +2,14 @@ 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-EF2RCQ3L.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-KVPYI52N.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
21
21
|
import { spawn } from "node:child_process";
|
|
22
22
|
import { randomUUID } from "node:crypto";
|
|
23
23
|
var PROTOCOL = "2025-06-18";
|
|
@@ -251,7 +251,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
251
251
|
}, "serveAllProfilesOverStdio");
|
|
252
252
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
253
253
|
const { build, close } = allProfilesServer(options);
|
|
254
|
-
const { serveOverHttp } = await import("./serve-
|
|
254
|
+
const { serveOverHttp } = await import("./serve-7VWL475U.js");
|
|
255
255
|
const listening = await serveOverHttp(build, {
|
|
256
256
|
...http,
|
|
257
257
|
appName: options.command,
|
|
@@ -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-XAF2LHZG.js";
|
|
7
7
|
import {
|
|
8
8
|
Command,
|
|
9
9
|
InvalidArgumentError,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
renderAnswer,
|
|
17
17
|
sharedCommand,
|
|
18
18
|
snakeKeys
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-G3MXAGF2.js";
|
|
20
20
|
import {
|
|
21
21
|
readOnlyLockOf
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3P4LUGXI.js";
|
|
23
23
|
import {
|
|
24
24
|
formatReference
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EXFAA4N3.js";
|
|
26
26
|
import {
|
|
27
27
|
EVENT_QUERY,
|
|
28
28
|
MEETING_PROJECT_EVIDENCE_QUERY,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
readMeetingProjectEvidence,
|
|
46
46
|
validateMeetingHitSearch,
|
|
47
47
|
validateMeetingPassage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-UOL4ILXT.js";
|
|
49
49
|
import {
|
|
50
50
|
OPERATORS_BY_TYPE,
|
|
51
51
|
QUERY_LIMITS,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
__name
|
|
79
79
|
} from "./chunk-ZVVMGPBJ.js";
|
|
80
80
|
|
|
81
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
81
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/lacks.js
|
|
82
82
|
var COMMAND_NEEDS = {
|
|
83
83
|
"account update": ["updateProfile", "change the profile"],
|
|
84
84
|
"account sessions list": ["sessions", "list the account's sessions"],
|
|
@@ -128,7 +128,7 @@ var hideNever = /* @__PURE__ */ __name((messenger, group) => {
|
|
|
128
128
|
return group;
|
|
129
129
|
}, "hideNever");
|
|
130
130
|
|
|
131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
132
132
|
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
133
133
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
134
134
|
const zone = timezoneOf();
|
|
@@ -214,7 +214,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
214
214
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
215
215
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
216
216
|
|
|
217
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
217
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
218
218
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
219
219
|
command.allowUnknownOption();
|
|
220
220
|
const parse = command.parseOptions.bind(command);
|
|
@@ -234,7 +234,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
234
234
|
return command;
|
|
235
235
|
}, "queryWordsAfterOptions");
|
|
236
236
|
|
|
237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
238
238
|
var count = /* @__PURE__ */ __name((value) => {
|
|
239
239
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
240
240
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -276,7 +276,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
276
276
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
277
277
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
278
278
|
|
|
279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
280
280
|
var integer2 = /* @__PURE__ */ __name((value) => {
|
|
281
281
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
282
282
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -299,7 +299,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
299
299
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
300
300
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
301
301
|
|
|
302
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
302
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
303
303
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
304
304
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
305
305
|
throw new InvalidArgumentError("expected a positive integer");
|
|
@@ -419,7 +419,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
419
419
|
}, "addMeetingCommandsDefinition");
|
|
420
420
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
421
421
|
|
|
422
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
422
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
423
423
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
424
424
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
425
425
|
const query = defineQuery(registry);
|
|
@@ -543,7 +543,7 @@ var termField = /* @__PURE__ */ __name((name, type, example, more = {}) => nativ
|
|
|
543
543
|
var queryHelp = /* @__PURE__ */ __name((registry) => `
|
|
544
544
|
${fieldsHelp(registry, LIST_QUERY_GUIDE)}`, "queryHelp");
|
|
545
545
|
|
|
546
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
546
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/paging.js
|
|
547
547
|
var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
548
548
|
if (!/^\d+$/.test(value.trim()) || Number(value) < 1)
|
|
549
549
|
throw new CliError("validation_error", `${flag} takes a whole number from 1 upwards, not "${value}"`);
|
|
@@ -552,7 +552,7 @@ var positiveCount = /* @__PURE__ */ __name((flag) => (value) => {
|
|
|
552
552
|
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");
|
|
553
553
|
var window = /* @__PURE__ */ __name(({ limit, page, all }) => all ? { offset: 0 } : { limit, offset: (page - 1) * limit }, "window");
|
|
554
554
|
|
|
555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/chat-answers.js
|
|
556
556
|
var defined = /* @__PURE__ */ __name((record2) => Object.fromEntries(Object.entries(record2).filter(([, value]) => value !== void 0)), "defined");
|
|
557
557
|
var chatRef = /* @__PURE__ */ __name((account, chat) => formatReference({ type: "chat", provider: account.provider, account: account.account, chat }), "chatRef");
|
|
558
558
|
var settingsOf = /* @__PURE__ */ __name((settings) => defined({
|
|
@@ -636,6 +636,38 @@ var contactAnswer = /* @__PURE__ */ __name((account, contact) => {
|
|
|
636
636
|
}))
|
|
637
637
|
});
|
|
638
638
|
}, "contactAnswer");
|
|
639
|
+
var contactShown = /* @__PURE__ */ __name((account, card, profile) => {
|
|
640
|
+
const { id: _id, name: _name, bio, chats, ...facts } = profile;
|
|
641
|
+
const listed2 = new Map(card.chats.map((chat) => [chat.id, chat]));
|
|
642
|
+
const active = new Set(chats.map(({ id }) => id));
|
|
643
|
+
const shared = [
|
|
644
|
+
...chats.map((chat) => ({
|
|
645
|
+
ref: chatRef(account, chat.id),
|
|
646
|
+
id: chat.id,
|
|
647
|
+
title: chat.title,
|
|
648
|
+
kind: chat.kind,
|
|
649
|
+
last_message_at: listed2.get(chat.id)?.lastMessageAt ?? chat.lastAt,
|
|
650
|
+
their_messages: chat.theirMessages,
|
|
651
|
+
first_at: chat.firstAt,
|
|
652
|
+
last_at: chat.lastAt,
|
|
653
|
+
complete: chat.complete
|
|
654
|
+
})),
|
|
655
|
+
...card.chats.filter(({ id }) => !active.has(id)).map((chat) => ({
|
|
656
|
+
ref: chatRef(account, chat.id),
|
|
657
|
+
id: chat.id,
|
|
658
|
+
title: chat.title,
|
|
659
|
+
kind: chat.kind,
|
|
660
|
+
last_message_at: chat.lastMessageAt
|
|
661
|
+
}))
|
|
662
|
+
];
|
|
663
|
+
const answer = contactAnswer(account, card);
|
|
664
|
+
return {
|
|
665
|
+
...answer,
|
|
666
|
+
...snakeKeys(facts),
|
|
667
|
+
description: answer.description ?? bio,
|
|
668
|
+
chats: shared
|
|
669
|
+
};
|
|
670
|
+
}, "contactShown");
|
|
639
671
|
var chatEventAnswer = /* @__PURE__ */ __name((chatId, event) => defined({
|
|
640
672
|
chat_id: chatId,
|
|
641
673
|
time: event.timestamp,
|
|
@@ -678,6 +710,11 @@ var pollVoteAnswer = /* @__PURE__ */ __name((vote) => ({
|
|
|
678
710
|
answers: vote.answers,
|
|
679
711
|
voted_at: vote.votedAt
|
|
680
712
|
}), "pollVoteAnswer");
|
|
713
|
+
var reactorAnswer = /* @__PURE__ */ __name((reactor) => ({
|
|
714
|
+
person: { id: reactor.person.id, name: reactor.person.name, username: reactor.person.username },
|
|
715
|
+
reaction: reactor.reaction,
|
|
716
|
+
reacted_at: reactor.reactedAt
|
|
717
|
+
}), "reactorAnswer");
|
|
681
718
|
var topicAnswer = /* @__PURE__ */ __name((topic) => defined({
|
|
682
719
|
id: topic.id,
|
|
683
720
|
title: topic.title,
|
|
@@ -777,7 +814,7 @@ var sessionAnswer = /* @__PURE__ */ __name(({ current, client, device, location,
|
|
|
777
814
|
...createdAt === void 0 ? {} : { created_at: createdAt }
|
|
778
815
|
}), "sessionAnswer");
|
|
779
816
|
|
|
780
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
817
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/background/relay.js
|
|
781
818
|
import { createHash } from "node:crypto";
|
|
782
819
|
import { chmodSync, lstatSync, mkdirSync, rmSync } from "node:fs";
|
|
783
820
|
import { createConnection, createServer } from "node:net";
|
|
@@ -998,7 +1035,7 @@ var relayCommand = /* @__PURE__ */ __name((path, request, options) => new Promis
|
|
|
998
1035
|
}, () => finish({ error: stopped() }));
|
|
999
1036
|
}), "relayCommand");
|
|
1000
1037
|
|
|
1001
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-relay.js
|
|
1002
1039
|
var lentConnection = /* @__PURE__ */ __name((connection, watchers) => throughWrapper(connection, {
|
|
1003
1040
|
close: /* @__PURE__ */ __name(async () => {
|
|
1004
1041
|
}, "close"),
|
|
@@ -1125,11 +1162,13 @@ export {
|
|
|
1125
1162
|
memberAnswer,
|
|
1126
1163
|
contactRef,
|
|
1127
1164
|
contactAnswer,
|
|
1165
|
+
contactShown,
|
|
1128
1166
|
chatEventAnswer,
|
|
1129
1167
|
memberEventAnswer,
|
|
1130
1168
|
inviteLinkAnswer,
|
|
1131
1169
|
joinRequestAnswer,
|
|
1132
1170
|
pollVoteAnswer,
|
|
1171
|
+
reactorAnswer,
|
|
1133
1172
|
topicAnswer,
|
|
1134
1173
|
folderAnswer,
|
|
1135
1174
|
lines,
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
alive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-W5EUHV3J.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/background/lock.js
|
|
15
15
|
import { existsSync, linkSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
16
16
|
import { dirname, join } from "node:path";
|
|
17
17
|
var lockPath = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "serve", `${profile}.lock`), "lockPath");
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GNRYFESK.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -33,28 +33,28 @@ import {
|
|
|
33
33
|
registerPrompts,
|
|
34
34
|
stdinFieldOf,
|
|
35
35
|
syncsFirst
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-LKV3NRCJ.js";
|
|
37
37
|
import {
|
|
38
38
|
mcpUrlOf
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-57LT4A2E.js";
|
|
40
40
|
import {
|
|
41
41
|
agentJson,
|
|
42
42
|
skillResource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DN7VHENQ.js";
|
|
44
44
|
import {
|
|
45
45
|
instructions
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-XLJV3ZOH.js";
|
|
47
47
|
import {
|
|
48
48
|
mcpHttpMarker
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-22UBF6U6.js";
|
|
50
50
|
import {
|
|
51
51
|
answeredWire
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-EF2RCQ3L.js";
|
|
53
53
|
import {
|
|
54
54
|
StdioServerTransport,
|
|
55
55
|
callerOf,
|
|
56
56
|
serveStdio
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KVPYI52N.js";
|
|
58
58
|
import {
|
|
59
59
|
McpServer,
|
|
60
60
|
ResourceTemplate
|
|
@@ -62,21 +62,21 @@ import {
|
|
|
62
62
|
import {
|
|
63
63
|
connectedFor,
|
|
64
64
|
guardFor
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-MGYFSXI5.js";
|
|
66
66
|
import {
|
|
67
67
|
lackedNeed,
|
|
68
68
|
wholeList
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-Q4NDCDFG.js";
|
|
70
70
|
import {
|
|
71
71
|
capability,
|
|
72
72
|
dateWindow,
|
|
73
73
|
imageSize,
|
|
74
74
|
servicesFor,
|
|
75
75
|
storedDeps
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-XAF2LHZG.js";
|
|
77
77
|
import {
|
|
78
78
|
findCommand
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-4MC4Z45G.js";
|
|
80
80
|
import {
|
|
81
81
|
DEFAULT_OUTPUT_BYTES,
|
|
82
82
|
changesAuthorityAt,
|
|
@@ -89,30 +89,30 @@ import {
|
|
|
89
89
|
rootOf2 as rootOf,
|
|
90
90
|
sealed,
|
|
91
91
|
snakeKeys
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-G3MXAGF2.js";
|
|
93
93
|
import {
|
|
94
94
|
readOnlyLockOf
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-3P4LUGXI.js";
|
|
96
96
|
import {
|
|
97
97
|
withCaller
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-LZBWU2IA.js";
|
|
99
99
|
import {
|
|
100
100
|
typedCommand
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-YZZ6NBXC.js";
|
|
102
102
|
import {
|
|
103
103
|
isCliFailure
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-EOZWDEJL.js";
|
|
105
105
|
import {
|
|
106
106
|
levelFor,
|
|
107
107
|
readKeysForCommand
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-NKFRV2LB.js";
|
|
109
109
|
import {
|
|
110
110
|
warmEmbedders
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-J3N2LL37.js";
|
|
112
112
|
import {
|
|
113
113
|
openStore,
|
|
114
114
|
pdfPreviewLimits
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-ODFIV4OS.js";
|
|
116
116
|
import {
|
|
117
117
|
timezoneOf
|
|
118
118
|
} from "./chunk-UOFOMU3T.js";
|
|
@@ -138,10 +138,10 @@ import {
|
|
|
138
138
|
__name
|
|
139
139
|
} from "./chunk-ZVVMGPBJ.js";
|
|
140
140
|
|
|
141
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
141
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
142
142
|
import { randomUUID } from "node:crypto";
|
|
143
143
|
|
|
144
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
144
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
145
145
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
146
146
|
let held;
|
|
147
147
|
return {
|
|
@@ -160,7 +160,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
160
160
|
};
|
|
161
161
|
}, "agentLog");
|
|
162
162
|
|
|
163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
164
164
|
var LISTED = 100;
|
|
165
165
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
166
166
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -198,7 +198,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
198
198
|
});
|
|
199
199
|
}, "registerResources");
|
|
200
200
|
|
|
201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
201
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
202
202
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
203
203
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
204
204
|
var MessengerSession = class {
|
|
@@ -273,7 +273,7 @@ var MessengerSession = class {
|
|
|
273
273
|
}
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
276
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
277
277
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
278
278
|
const _command = messenger.app.command;
|
|
279
279
|
return {
|
|
@@ -327,7 +327,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
327
327
|
};
|
|
328
328
|
}, "attachmentsTools");
|
|
329
329
|
|
|
330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
330
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
331
331
|
var PHOTO_LIMIT = 512 * 1024;
|
|
332
332
|
var IMAGE_TYPES = [
|
|
333
333
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -381,7 +381,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
381
381
|
return new Uint8Array(Buffer.concat(chunks));
|
|
382
382
|
}, "readUpTo");
|
|
383
383
|
|
|
384
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
384
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
385
385
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
386
386
|
stats_charts: tool({
|
|
387
387
|
title: "A chart from a chat's statistics",
|
|
@@ -418,14 +418,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
418
418
|
})
|
|
419
419
|
}), "statsTools");
|
|
420
420
|
|
|
421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
421
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
422
422
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
423
423
|
...messagesPhotoTools(messenger),
|
|
424
424
|
...attachmentsTools(messenger),
|
|
425
425
|
...statsTools(messenger)
|
|
426
426
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
427
427
|
|
|
428
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
428
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
429
429
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
430
430
|
"streams",
|
|
431
431
|
"stdin",
|
|
@@ -749,7 +749,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
749
749
|
}, "serveOverStdio");
|
|
750
750
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
751
751
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
752
|
-
const { serveOverHttp } = await import("./serve-
|
|
752
|
+
const { serveOverHttp } = await import("./serve-7VWL475U.js");
|
|
753
753
|
const appName = messenger.app.command;
|
|
754
754
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
755
755
|
const listening = await serveOverHttp(build, {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
LEVELS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-NKFRV2LB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError,
|
|
8
8
|
array,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
35
35
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
36
36
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
|
|
37
37
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -69,7 +69,7 @@ ${lines}`, { candidates });
|
|
|
69
69
|
}, "ambiguous");
|
|
70
70
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
71
71
|
|
|
72
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
72
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
73
73
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
74
74
|
var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
75
75
|
const { text, spans } = formatted;
|
|
@@ -129,7 +129,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
|
129
129
|
};
|
|
130
130
|
}, "visibleFormattedText");
|
|
131
131
|
|
|
132
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
133
133
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
134
134
|
var LINK = /https?:\/\/\S+/i;
|
|
135
135
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -317,7 +317,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
317
317
|
}, "nextPoint");
|
|
318
318
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
319
319
|
|
|
320
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
320
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
321
321
|
import { existsSync, readFileSync } from "node:fs";
|
|
322
322
|
import { join } from "node:path";
|
|
323
323
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
envName,
|
|
5
5
|
readOnlyLockOf
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3P4LUGXI.js";
|
|
7
7
|
import {
|
|
8
8
|
CAPABILITY_STATEMENTS,
|
|
9
9
|
storeCapable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WVXAQVLG.js";
|
|
11
11
|
import {
|
|
12
12
|
CliError,
|
|
13
13
|
catchCrashes
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
23
23
|
import { spawn as spawn2 } from "node:child_process";
|
|
24
24
|
|
|
25
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
25
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
26
26
|
import { spawn, spawnSync } from "node:child_process";
|
|
27
27
|
import { readFileSync } from "node:fs";
|
|
28
28
|
import { dirname } from "node:path";
|
|
@@ -110,7 +110,7 @@ var relay = /* @__PURE__ */ __name((child, host = process) => new Promise(() =>
|
|
|
110
110
|
});
|
|
111
111
|
}), "relay");
|
|
112
112
|
|
|
113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/argv-log.js
|
|
114
114
|
import { appendFileSync } from "node:fs";
|
|
115
115
|
var logParsedArgv = /* @__PURE__ */ __name((file, action) => {
|
|
116
116
|
const words = [];
|
|
@@ -134,7 +134,7 @@ var logVersion = /* @__PURE__ */ __name((file) => {
|
|
|
134
134
|
`);
|
|
135
135
|
}, "logVersion");
|
|
136
136
|
|
|
137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/entry.js
|
|
138
138
|
var processIo = /* @__PURE__ */ __name(() => ({
|
|
139
139
|
argv: process.argv,
|
|
140
140
|
env: process.env,
|
|
@@ -188,8 +188,8 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
188
188
|
if (command.optsWithGlobals().dryRun === true)
|
|
189
189
|
return;
|
|
190
190
|
const [{ setupAtStart }, { commandPathOf }] = await Promise.all([
|
|
191
|
-
import("./first-run-
|
|
192
|
-
import("./command-contract-
|
|
191
|
+
import("./first-run-I52ADRJ2.js"),
|
|
192
|
+
import("./command-contract-J7PDZQMC.js")
|
|
193
193
|
]);
|
|
194
194
|
await setupAtStart({
|
|
195
195
|
command: entry.app.command,
|
|
@@ -204,7 +204,7 @@ var startCli = /* @__PURE__ */ __name(async (entry) => {
|
|
|
204
204
|
ask: /* @__PURE__ */ __name(async (question, command) => {
|
|
205
205
|
if (headless(command) || io.stdin.isTTY !== true)
|
|
206
206
|
return false;
|
|
207
|
-
const { readSecret } = await import("./prompt-
|
|
207
|
+
const { readSecret } = await import("./prompt-NICXDWN3.js");
|
|
208
208
|
const answer = await readSecret(`${question} [y/N] `, {
|
|
209
209
|
input: io.stdin,
|
|
210
210
|
output: io.stderr,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/tasks/model.js
|
|
11
11
|
var TASK_KINDS = ["question", "request", "mention", "promise"];
|
|
12
12
|
var TASK_STATES = ["open", "done", "dismissed"];
|
|
13
13
|
var TASK_ORIGINS = ["rule", "agent", "owner"];
|
|
@@ -20,7 +20,7 @@ function closeTask(task, state, by, at, reason) {
|
|
|
20
20
|
}
|
|
21
21
|
__name(closeTask, "closeTask");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/tasks/service.js
|
|
24
24
|
function createTaskService({ store, now = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "now"), newId = /* @__PURE__ */ __name(() => crypto.randomUUID(), "newId") }) {
|
|
25
25
|
async function find(id) {
|
|
26
26
|
const task = await store.get(id);
|
|
@@ -80,13 +80,13 @@ function median(values) {
|
|
|
80
80
|
}
|
|
81
81
|
__name(median, "median");
|
|
82
82
|
|
|
83
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
83
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/tasks/store.js
|
|
84
84
|
function matches(task, filter) {
|
|
85
85
|
return (filter.account === void 0 || task.account === filter.account) && (filter.state === void 0 || task.state === filter.state) && (filter.group === void 0 || task.group === filter.group) && (filter.kind === void 0 || task.kind === filter.kind) && (filter.createdBefore === void 0 || task.createdAt < filter.createdBefore);
|
|
86
86
|
}
|
|
87
87
|
__name(matches, "matches");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/domain/knowledge.js
|
|
90
90
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
91
91
|
var FACT_STATUSES = ["proposed", "accepted", "superseded", "reversed"];
|
|
92
92
|
var MEMORY_KINDS = ["summary", "digest", "preference"];
|
|
@@ -95,7 +95,7 @@ var MEMORY_SCOPES = ["personal", "work"];
|
|
|
95
95
|
var WORK_TASK_TYPES = ["bug", "feature", "chore"];
|
|
96
96
|
var TASK_TYPES = [...WORK_TASK_TYPES, ...TASK_KINDS];
|
|
97
97
|
|
|
98
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
98
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/sqlite/link-kinds.js
|
|
99
99
|
var LINK_KINDS = [
|
|
100
100
|
"links-to",
|
|
101
101
|
"blocked-by",
|