@wirecat/amo-cli 0.3.0 → 0.4.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/CHANGELOG.md +19 -0
- package/README.md +8 -4
- package/contracts/wirecat.json +13 -13
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-43BMVBX2.js +40 -0
- package/dist/bundle/{all-profiles-PPUN52SP.js → all-profiles-PRNXEZRH.js} +11 -11
- package/dist/bundle/amo.js +28 -28
- package/dist/bundle/{anthropic-RDNDT6ZP.js → anthropic-FDI24DU2.js} +5 -5
- package/dist/bundle/{app-server-MMALJDBP.js → app-server-WAKJVDLN.js} +69 -69
- package/dist/bundle/{bun-Y4FRPURU.js → bun-YPXUXMBI.js} +2 -2
- package/dist/bundle/{bun-sqlite-7NXJGZCO.js → bun-sqlite-UBQ5M47X.js} +6 -6
- package/dist/bundle/{chunk-N4A6E2LL.js → chunk-23AQD7JU.js} +16 -16
- package/dist/bundle/{chunk-TWZF7VO6.js → chunk-2AIG2SSJ.js} +55 -49
- package/dist/bundle/{chunk-PFZ7WG2B.js → chunk-2UJ7ZZZC.js} +3 -3
- package/dist/bundle/{chunk-3YOZTGZ6.js → chunk-3K6T2G52.js} +6 -6
- package/dist/bundle/{chunk-EKNP326Q.js → chunk-3PCVQCCV.js} +2 -2
- package/dist/bundle/{chunk-KKXF6TSS.js → chunk-3WG4MTQI.js} +1 -1
- package/dist/bundle/{chunk-AYR6FIXN.js → chunk-4PQECIU2.js} +2 -2
- package/dist/bundle/{chunk-SJZ52MZE.js → chunk-5HZMXHRH.js} +6 -6
- package/dist/bundle/{chunk-E2DLRLJ5.js → chunk-5II6TAJE.js} +1 -1
- package/dist/bundle/{chunk-FI2TP6TY.js → chunk-5SJEJYQZ.js} +3 -3
- package/dist/bundle/{chunk-4MVTSMWP.js → chunk-6PILR4AX.js} +2 -2
- package/dist/bundle/{chunk-I4QCJZW7.js → chunk-6QMSKJB4.js} +8 -8
- package/dist/bundle/{chunk-V3ZWYMXT.js → chunk-745FMNI5.js} +1 -1
- package/dist/bundle/{chunk-BKTLAXUK.js → chunk-7OVTUADG.js} +8 -8
- package/dist/bundle/{chunk-UOPP6ORQ.js → chunk-A4W7J6VN.js} +30 -20
- package/dist/bundle/{chunk-7SBAHYZW.js → chunk-ABMPZL2P.js} +13 -13
- package/dist/bundle/{chunk-R23DRW2T.js → chunk-AN6IJYH3.js} +5 -5
- package/dist/bundle/{chunk-GCUFGDKE.js → chunk-AP3CWDRK.js} +2 -2
- package/dist/bundle/{chunk-4EYPFFTN.js → chunk-ASU63X5C.js} +2 -2
- package/dist/bundle/{chunk-XI75EKLG.js → chunk-BCIZAUDV.js} +9 -9
- package/dist/bundle/{chunk-5POLHHDZ.js → chunk-CEBX63XY.js} +8 -8
- package/dist/bundle/{chunk-UZLT6VSP.js → chunk-CYHIM5SL.js} +3 -3
- package/dist/bundle/{chunk-H34RBRS3.js → chunk-DWA5TZMP.js} +8 -8
- package/dist/bundle/{chunk-D6UPCAPD.js → chunk-DWD3KDJA.js} +1 -1
- package/dist/bundle/{chunk-7USADF2W.js → chunk-E3EWS6DF.js} +6 -6
- package/dist/bundle/{chunk-EHULZEXQ.js → chunk-EAX5RO7S.js} +1 -1
- package/dist/bundle/{chunk-5DPMNYQT.js → chunk-EBNCUQLV.js} +1 -1
- package/dist/bundle/{chunk-MMOEAH5G.js → chunk-ELAKOEIO.js} +2 -2
- package/dist/bundle/{chunk-SJYVKR54.js → chunk-FEUNZG7U.js} +37 -37
- package/dist/bundle/{chunk-BYVDMPLX.js → chunk-FQRP6JWX.js} +2 -2
- package/dist/bundle/{chunk-MYMBPQPQ.js → chunk-G3LAYJJJ.js} +4 -4
- package/dist/bundle/{chunk-LYRICHEK.js → chunk-GBQ76X6T.js} +2 -2
- package/dist/bundle/{chunk-JZ2AITOE.js → chunk-GJBOZAUD.js} +3 -3
- package/dist/bundle/{chunk-5RXH35ZA.js → chunk-GMHRPX5M.js} +61 -61
- package/dist/bundle/{chunk-HQH4YPO5.js → chunk-GQKEMBM6.js} +67 -30
- package/dist/bundle/{chunk-ZIFEIJRK.js → chunk-HDZNSOV5.js} +7 -7
- package/dist/bundle/{chunk-T6D34X5S.js → chunk-HZZ56JO7.js} +1 -1
- package/dist/bundle/{chunk-ILUREFWJ.js → chunk-IBEHYGG6.js} +8 -8
- package/dist/bundle/{chunk-UT3ODJMI.js → chunk-IPNIF5JE.js} +4 -4
- package/dist/bundle/{chunk-KZDBO2FT.js → chunk-KBAOJISR.js} +7 -7
- package/dist/bundle/{chunk-B4ITT55D.js → chunk-KORZEYZN.js} +1 -1
- package/dist/bundle/{chunk-IEAPNTHT.js → chunk-KQZTX4LM.js} +17 -17
- package/dist/bundle/{chunk-XDT74W5P.js → chunk-KRD375P7.js} +27 -27
- package/dist/bundle/{chunk-ORFLQGWH.js → chunk-LAR2DLTI.js} +4 -4
- package/dist/bundle/{chunk-FPIUFSWK.js → chunk-LZ4IWN43.js} +387 -398
- package/dist/bundle/{chunk-77FP6AWC.js → chunk-M33XHJTM.js} +25 -25
- package/dist/bundle/{chunk-SBQ5MFHM.js → chunk-M54YKD3I.js} +7 -7
- package/dist/bundle/{chunk-VD7HD25M.js → chunk-MW7HUD6R.js} +9 -9
- package/dist/bundle/{chunk-7VSYOMEH.js → chunk-NFWD4QX3.js} +2 -2
- package/dist/bundle/{chunk-VPBSZ4HQ.js → chunk-NKYWQTS2.js} +160 -157
- package/dist/bundle/{chunk-GKP7CKW2.js → chunk-NXNUCGGO.js} +6 -6
- package/dist/bundle/{chunk-YSOGGUK3.js → chunk-O3WE5IGP.js} +6 -6
- package/dist/bundle/{chunk-7Z6NYSAN.js → chunk-OYMHPQF7.js} +4 -4
- package/dist/bundle/{chunk-UA7C57IB.js → chunk-PIOR6PIO.js} +2 -2
- package/dist/bundle/{chunk-W4KY5JF5.js → chunk-PL7TNKAY.js} +2 -2
- package/dist/bundle/{chunk-3NDMVXGS.js → chunk-PLU2IQXC.js} +3 -3
- package/dist/bundle/{chunk-WBWVBEHH.js → chunk-QGFURWEP.js} +1 -1
- package/dist/bundle/{chunk-FPDTIQOK.js → chunk-RQPB2BSH.js} +2 -2
- package/dist/bundle/{chunk-IYUWVMGP.js → chunk-S6DTLAOB.js} +12 -12
- package/dist/bundle/{chunk-ELJGALVX.js → chunk-SCMB4LI6.js} +19 -19
- package/dist/bundle/{chunk-OMH3WP7F.js → chunk-SFZVMKB6.js} +1 -1
- package/dist/bundle/{chunk-VEGNZPQU.js → chunk-SHOSFYI7.js} +18 -18
- package/dist/bundle/{chunk-UM6SDFB6.js → chunk-SMM7GS4Q.js} +1 -1
- package/dist/bundle/{chunk-MPXKBF37.js → chunk-SNBYFQHT.js} +1 -1
- package/dist/bundle/{chunk-2YEDK2XV.js → chunk-SZX7EPPY.js} +4 -4
- package/dist/bundle/{chunk-L2ZQDTDU.js → chunk-TCSVW7BA.js} +1 -1
- package/dist/bundle/{chunk-TCDER3G7.js → chunk-TEGQVVCZ.js} +828 -558
- package/dist/bundle/{chunk-VY27K2SH.js → chunk-TIR3AB35.js} +250 -238
- package/dist/bundle/{chunk-NJ2LJKNH.js → chunk-U46RNOEQ.js} +3 -3
- package/dist/bundle/{chunk-3RP57VDS.js → chunk-UCM7C773.js} +23 -8
- package/dist/bundle/{chunk-7E6QSIRQ.js → chunk-UEN5NWNW.js} +1 -1
- package/dist/bundle/{chunk-Q2YVY7IR.js → chunk-V2QWX6B3.js} +3 -3
- package/dist/bundle/{chunk-L72UALL5.js → chunk-V5SETIQK.js} +1 -1
- package/dist/bundle/{chunk-KEOKH2OZ.js → chunk-VEFAYLKX.js} +61 -61
- package/dist/bundle/{chunk-L3JDQNBC.js → chunk-VG26HDKH.js} +4 -4
- package/dist/bundle/{chunk-VJHOBOJR.js → chunk-VG2ERHFJ.js} +3 -3
- package/dist/bundle/{chunk-XM2G62YF.js → chunk-WAFB3IWJ.js} +5 -7
- package/dist/bundle/{chunk-VFU25P57.js → chunk-WASBOYI2.js} +4 -4
- package/dist/bundle/{chunk-IDQ7BNCZ.js → chunk-WEWJA42Q.js} +12 -12
- package/dist/bundle/{chunk-YVO2YGML.js → chunk-WR2FPZTE.js} +8 -8
- package/dist/bundle/{chunk-JTFAG3BX.js → chunk-XEYT2EQT.js} +6 -6
- package/dist/bundle/{chunk-QHA33ZS6.js → chunk-YFRTEJ6V.js} +7 -7
- package/dist/bundle/{chunk-LOSOWTAZ.js → chunk-YHVHDRED.js} +6 -6
- package/dist/bundle/{chunk-QQT7WUR4.js → chunk-YREKMP24.js} +4 -4
- package/dist/bundle/{chunk-CQ472K6W.js → chunk-Z2B3VNRI.js} +11 -11
- package/dist/bundle/{chunk-CUZISGWH.js → chunk-ZJC2XJQC.js} +13 -13
- package/dist/bundle/{chunk-KTLCQ7GC.js → chunk-ZKRWNL4T.js} +2 -2
- package/dist/bundle/{cli-GAO7LDDA.js → cli-QDPKC2HJ.js} +72 -72
- package/dist/bundle/command-contract-KWNCP3MQ.js +39 -0
- package/dist/bundle/{command-server-entry-BCDJP7XE.js → command-server-entry-TX7WNN7G.js} +28 -28
- package/dist/bundle/{decode-OY2GR442.js → decode-BLPC7OYE.js} +5 -5
- package/dist/bundle/{dispatch-JWEJCBTF.js → dispatch-5JUT55CS.js} +8 -8
- package/dist/bundle/{echarts-AHEPEA5P.js → echarts-54D3FOCL.js} +2 -2
- package/dist/bundle/{embed-RVSUV54Z.js → embed-O7KMDYM7.js} +6 -6
- package/dist/bundle/{embedder-GRZXZUXR.js → embedder-4PE67CLX.js} +9 -9
- package/dist/bundle/{failure-DDCSR54L.js → failure-NNQYTB3Z.js} +2 -2
- package/dist/bundle/{first-run-G3WI4DH4.js → first-run-EAU5SHBI.js} +12 -12
- package/dist/bundle/first-screen-APSNGZYZ.js +39 -0
- package/dist/bundle/{instructions-NWQC5IP4.js → instructions-ONXP5DZQ.js} +1 -1
- package/dist/bundle/{mcp-KGWT6TGO.js → mcp-ZNULRPZ4.js} +2 -2
- package/dist/bundle/meeting-combined-W2XIYXFU.js +24 -0
- package/dist/bundle/{meeting-model-I6T5HIZ5.js → meeting-model-FWIZRKVN.js} +11 -11
- package/dist/bundle/{meeting-semantic-47UA5JBF.js → meeting-semantic-M4YVJ57W.js} +6 -6
- package/dist/bundle/{node-7VXN7F4B.js → node-UTQCYQF5.js} +2 -2
- package/dist/bundle/{node-sqlite-BSEON57L.js → node-sqlite-APJG6MGL.js} +7 -7
- package/dist/bundle/{oauth-V6UAT4YD.js → oauth-TY7RMIBL.js} +7 -7
- package/dist/bundle/{open-7LVAY7ZU.js → open-WDVEQL75.js} +5 -5
- package/dist/bundle/{openai-OIEH342H.js → openai-H5UJHSEZ.js} +15 -15
- package/dist/bundle/{process-PTUCNLZ7.js → process-MGMXXPMY.js} +1 -1
- package/dist/bundle/{program-S5WY5IZP.js → program-IF36C6VR.js} +1096 -1042
- package/dist/bundle/{prompt-7XWTEQ62.js → prompt-4RLIWLMF.js} +5 -5
- package/dist/bundle/{recognize-HGIAJXDR.js → recognize-UIRTMWM4.js} +4 -4
- package/dist/bundle/{remote-X4SVEMHS.js → remote-L3MNWZQK.js} +9 -9
- package/dist/bundle/{rerank-QWM3DQMU.js → rerank-F4KZQTY6.js} +7 -7
- package/dist/bundle/{serve-VVG3TXYT.js → serve-37AUYTWS.js} +9 -9
- package/dist/bundle/server-CRF4QSZR.js +86 -0
- package/dist/bundle/{server-EHYK62BJ.js → server-UBG676ZJ.js} +61 -61
- package/dist/bundle/source-Z7GH7T4B.js +44 -0
- package/dist/bundle/{sqlite-runtime-MCKXDNYC.js → sqlite-runtime-CI3RW7VA.js} +6 -6
- package/dist/bundle/{state-MYNYQJCT.js → state-JOHLSLUO.js} +6 -6
- package/dist/bundle/{store-B7O3F3QB.js → store-2MBG4IUS.js} +22 -22
- package/dist/bundle/{store-FPIU2546.js → store-OSOUXBYL.js} +28 -24
- package/dist/bundle/store-SNW6U32Y.js +34 -0
- package/dist/bundle/store-maintenance-command-W7V54SLT.js +73 -0
- package/dist/bundle/surface-ESJS2FUI.js +72 -0
- package/dist/bundle/writer-BJDQMKUV.js +46 -0
- package/dist/commands/account.d.ts +3 -2
- package/dist/commands/account.d.ts.map +1 -1
- package/dist/commands/account.js +38 -77
- package/dist/commands/account.js.map +1 -1
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +2 -0
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/commands/session.d.ts +0 -6
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +9 -34
- package/dist/commands/session.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +0 -2
- package/dist/program.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +0 -2
- package/dist/reasons.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/agent-FDNP27SW.js +0 -40
- package/dist/bundle/command-contract-RLIBGIDT.js +0 -39
- package/dist/bundle/first-screen-6MLCMW2U.js +0 -39
- package/dist/bundle/meeting-combined-SVTFVZNJ.js +0 -24
- package/dist/bundle/server-WRPTBVNW.js +0 -86
- package/dist/bundle/source-YISMYLBQ.js +0 -44
- package/dist/bundle/store-A7R2SZVD.js +0 -34
- package/dist/bundle/store-maintenance-command-D55FRTIK.js +0 -73
- package/dist/bundle/surface-3EX6IGHW.js +0 -72
- package/dist/bundle/writer-XDHZ54JD.js +0 -46
|
@@ -3,29 +3,29 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
textModel,
|
|
5
5
|
vectorModelKey
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-O3WE5IGP.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENAI_URL,
|
|
9
9
|
openRemote,
|
|
10
10
|
remoteKey,
|
|
11
11
|
remoteModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BCIZAUDV.js";
|
|
13
13
|
import {
|
|
14
14
|
endpointFetch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-E3EWS6DF.js";
|
|
16
16
|
import {
|
|
17
17
|
isTextModelInstalled,
|
|
18
18
|
openEmbedder,
|
|
19
19
|
textModelsDirectory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3K6T2G52.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AP3CWDRK.js";
|
|
24
24
|
import {
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/services/meeting-model.js
|
|
29
29
|
var integer = /* @__PURE__ */ __name((value, name, max) => {
|
|
30
30
|
if (!Number.isSafeInteger(value) || value < 1 || value > max)
|
|
31
31
|
throw new CliError("validation_error", `Invalid ${name}`);
|
|
@@ -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.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
toPerson,
|
|
10
10
|
toPipeline,
|
|
11
11
|
toUser
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DWD3KDJA.js";
|
|
13
13
|
import {
|
|
14
14
|
values_exports
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2AIG2SSJ.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError,
|
|
18
18
|
isCliError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AP3CWDRK.js";
|
|
20
20
|
import {
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.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
|
IDENTITY
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WAFB3IWJ.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -15,7 +15,7 @@ var PROVIDER = {
|
|
|
15
15
|
command: IDENTITY.command
|
|
16
16
|
};
|
|
17
17
|
var openAmoStore = /* @__PURE__ */ __name(async (env, { readOnly = false } = {}) => {
|
|
18
|
-
const { openAppStore } = await import("./cli-
|
|
18
|
+
const { openAppStore } = await import("./cli-QDPKC2HJ.js");
|
|
19
19
|
return openAppStore(env, { app: IDENTITY, provider: PROVIDER, readOnly });
|
|
20
20
|
}, "openAmoStore");
|
|
21
21
|
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
normalize
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SFZVMKB6.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AP3CWDRK.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.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
14
14
|
var LANGUAGES = [
|
|
15
15
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
16
16
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -18,7 +18,7 @@ var LANGUAGES = [
|
|
|
18
18
|
];
|
|
19
19
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
22
22
|
var BaseStemmer = class {
|
|
23
23
|
static {
|
|
24
24
|
__name(this, "BaseStemmer");
|
|
@@ -393,7 +393,7 @@ var BaseStemmer = class {
|
|
|
393
393
|
}
|
|
394
394
|
};
|
|
395
395
|
|
|
396
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
397
397
|
var a_0 = [
|
|
398
398
|
["arsen", -1],
|
|
399
399
|
["commun", -1],
|
|
@@ -1094,7 +1094,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1094
1094
|
stemWord = this.stem;
|
|
1095
1095
|
};
|
|
1096
1096
|
|
|
1097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1098
1098
|
var a_02 = [
|
|
1099
1099
|
["\u0432", 1],
|
|
1100
1100
|
["\u0438\u0432", 2, 1],
|
|
@@ -1517,7 +1517,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1517
1517
|
stemWord = this.stem;
|
|
1518
1518
|
};
|
|
1519
1519
|
|
|
1520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1521
1521
|
var a_03 = [
|
|
1522
1522
|
["", 6],
|
|
1523
1523
|
["\xE1", 1, 1],
|
|
@@ -2193,7 +2193,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2193
2193
|
stemWord = this.stem;
|
|
2194
2194
|
};
|
|
2195
2195
|
|
|
2196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2197
2197
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2198
2198
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2199
2199
|
var LATIN_STEMMERS = [...languagesOf("latin"), "none"];
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
8
8
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
9
9
|
const path = scriptPath.replaceAll("\\", "/");
|
|
10
10
|
if (path.includes("/_npx/"))
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
errorCodes,
|
|
5
5
|
isCliError,
|
|
6
6
|
visibleControls
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AP3CWDRK.js";
|
|
8
8
|
import {
|
|
9
9
|
__name
|
|
10
10
|
} from "./chunk-ZVVMGPBJ.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
12
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/exit-codes.js
|
|
13
13
|
var EXIT_CODES = {
|
|
14
14
|
validation_error: 2,
|
|
15
15
|
configuration_error: 3,
|
|
@@ -1363,7 +1363,7 @@ function unwrap(schema) {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
__name(unwrap, "unwrap");
|
|
1365
1365
|
|
|
1366
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1366
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/effects.js
|
|
1367
1367
|
var EFFECT_LEVELS = ["none", "read", "write"];
|
|
1368
1368
|
var effectsSchema = strictObject({
|
|
1369
1369
|
remote: picklist(EFFECT_LEVELS),
|
|
@@ -2000,7 +2000,7 @@ function toStandardJsonSchema(schema) {
|
|
|
2000
2000
|
}
|
|
2001
2001
|
__name(toStandardJsonSchema, "toStandardJsonSchema");
|
|
2002
2002
|
|
|
2003
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2003
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/registry.js
|
|
2004
2004
|
var word = pipe(string(), regex(/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/, "a lower-case word, words joined by -"));
|
|
2005
2005
|
var SNAKE_CASE = /^[a-z][a-z0-9]*(_[a-z0-9]+)*$/;
|
|
2006
2006
|
var text = pipe(string(), regex(/\S/, "must not be empty"));
|
|
@@ -2042,7 +2042,7 @@ var fill = /* @__PURE__ */ __name((template, values) => template.replace(PLACEHO
|
|
|
2042
2042
|
return String(value);
|
|
2043
2043
|
}), "fill");
|
|
2044
2044
|
|
|
2045
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2045
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/output.js
|
|
2046
2046
|
var MAX_NEXT_STEPS = 2;
|
|
2047
2047
|
var COMPACT_FLAG = "--compact";
|
|
2048
2048
|
var isoTime = pipe(string(), isoTimestamp("an ISO 8601 time in UTC"), endsWith("Z", "an ISO 8601 time in UTC, ending in `Z`"));
|
|
@@ -2187,7 +2187,7 @@ var jsonlOf = /* @__PURE__ */ __name(({ items, page, meta }) => [
|
|
|
2187
2187
|
JSON.stringify({ type: "end", complete: meta.complete, ...meta.issues ? { issues: meta.issues } : {}, page })
|
|
2188
2188
|
].join("\n"), "jsonlOf");
|
|
2189
2189
|
|
|
2190
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2190
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/errors.js
|
|
2191
2191
|
var CRASH_CODE = "internal_error";
|
|
2192
2192
|
var CRASH_REASON = "command.crashed";
|
|
2193
2193
|
var errorObjectSchema = strictObject({
|
|
@@ -2286,7 +2286,7 @@ var BASE_REASONS = defineReasons([
|
|
|
2286
2286
|
{ reason: CRASH_REASON, code: CRASH_CODE, message: "the command failed; this is a bug", details: [] }
|
|
2287
2287
|
]);
|
|
2288
2288
|
|
|
2289
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2289
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/steps.js
|
|
2290
2290
|
var SAME_COMMAND = "*";
|
|
2291
2291
|
var commandPath = pipe(string(), regex(/^[a-z][a-z0-9-]*( [a-z][a-z0-9-]*)*$/, "a command path such as `messages sync`"));
|
|
2292
2292
|
var stepSchema = union([
|
|
@@ -2365,7 +2365,7 @@ var STEPS = defineSteps([
|
|
|
2365
2365
|
}
|
|
2366
2366
|
]);
|
|
2367
2367
|
|
|
2368
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2368
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/failure.js
|
|
2369
2369
|
var recognise = /* @__PURE__ */ __name((failure) => {
|
|
2370
2370
|
if (isCliError(failure))
|
|
2371
2371
|
return failure;
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
profilesOnAccount,
|
|
7
7
|
refuseLacking,
|
|
8
8
|
servicesFor
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TIR3AB35.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_PACE,
|
|
12
12
|
FloodMemory,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
pacePathFor,
|
|
20
20
|
recipientsPathFor,
|
|
21
21
|
waitForTurn
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2AIG2SSJ.js";
|
|
23
23
|
import {
|
|
24
24
|
capability,
|
|
25
25
|
throughWrapper
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4PQECIU2.js";
|
|
27
27
|
import {
|
|
28
28
|
servingProfiles
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-U46RNOEQ.js";
|
|
30
30
|
import {
|
|
31
31
|
asFirstWord,
|
|
32
32
|
baseContext,
|
|
@@ -40,16 +40,16 @@ import {
|
|
|
40
40
|
recalledAccount,
|
|
41
41
|
rememberAccount,
|
|
42
42
|
rootOf2 as rootOf
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-NKYWQTS2.js";
|
|
44
44
|
import {
|
|
45
45
|
providerErrorKey
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-M54YKD3I.js";
|
|
47
47
|
import {
|
|
48
48
|
openStore
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TEGQVVCZ.js";
|
|
50
50
|
import {
|
|
51
51
|
isCliFailure
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ELAKOEIO.js";
|
|
53
53
|
import {
|
|
54
54
|
AUTHORITY_KEY,
|
|
55
55
|
CEILING_KEY,
|
|
@@ -61,22 +61,22 @@ import {
|
|
|
61
61
|
levelFor,
|
|
62
62
|
readKeysForCommand,
|
|
63
63
|
skipFlagFor
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-KBAOJISR.js";
|
|
65
65
|
import {
|
|
66
66
|
chatReferenceOf,
|
|
67
67
|
ensureAccount,
|
|
68
68
|
foldName,
|
|
69
69
|
isId,
|
|
70
70
|
pickPerson
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-SHOSFYI7.js";
|
|
72
72
|
import {
|
|
73
73
|
CliError
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-AP3CWDRK.js";
|
|
75
75
|
import {
|
|
76
76
|
__name
|
|
77
77
|
} from "./chunk-ZVVMGPBJ.js";
|
|
78
78
|
|
|
79
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
79
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/messenger/ask.js
|
|
80
80
|
import { openSync } from "node:fs";
|
|
81
81
|
import { createInterface } from "node:readline";
|
|
82
82
|
import { ReadStream } from "node:tty";
|
|
@@ -131,7 +131,7 @@ var terminalAsker = /* @__PURE__ */ __name((command) => async (key, request) =>
|
|
|
131
131
|
throw new CliError("cancelled", `${key}: not done \u2014 the answer was no`);
|
|
132
132
|
}, "terminalAsker");
|
|
133
133
|
|
|
134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
134
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/permission-keys.js
|
|
135
135
|
var HOUSEKEEPING = /* @__PURE__ */ new Set([
|
|
136
136
|
"help",
|
|
137
137
|
"guide",
|
|
@@ -191,6 +191,12 @@ var knownPermissionKeys = /* @__PURE__ */ __name((command, keyOf = (one) => keyF
|
|
|
191
191
|
add(key);
|
|
192
192
|
return known;
|
|
193
193
|
}, "knownPermissionKeys");
|
|
194
|
+
var RENAMED = /* @__PURE__ */ new WeakMap();
|
|
195
|
+
var markRenamedPermissionKeys = /* @__PURE__ */ __name((command, renamed) => {
|
|
196
|
+
if (renamed.size > 0)
|
|
197
|
+
RENAMED.set(command, renamed);
|
|
198
|
+
}, "markRenamedPermissionKeys");
|
|
199
|
+
var renamedPermissionKeys = /* @__PURE__ */ __name((command) => new Map(everyCommand(rootOf2(command)).flatMap((one) => [...RENAMED.get(one) ?? []])), "renamedPermissionKeys");
|
|
194
200
|
var knownBeside = /* @__PURE__ */ __name((key, known) => {
|
|
195
201
|
const parent = key.split(".").slice(0, -1).join(".");
|
|
196
202
|
const depth = parent === "" ? 1 : parent.split(".").length + 1;
|
|
@@ -199,7 +205,7 @@ var knownBeside = /* @__PURE__ */ __name((key, known) => {
|
|
|
199
205
|
var unknownPermissionKeys = /* @__PURE__ */ __name((levels, known) => Object.keys(levels).filter((key) => key !== CEILING_KEY && !known.has(key)), "unknownPermissionKeys");
|
|
200
206
|
var unknownPermissionIssues = /* @__PURE__ */ __name((command, settings, tool, keyOf) => {
|
|
201
207
|
const saved = settings.savedPermissions ?? Object.keys(settings.permissions).filter((key) => key !== CEILING_KEY && settings.permissionSources[key] !== "flag").map((key) => ({ key, at: ["profiles", settings.profile, "permissions", key] }));
|
|
202
|
-
return permissionIssues(saved, knownPermissionKeys(command, keyOf), { file: settings.configPath, tool }).map(publicIssue);
|
|
208
|
+
return permissionIssues(saved, knownPermissionKeys(command, keyOf), { file: settings.configPath, tool }, renamedPermissionKeys(command)).map(publicIssue);
|
|
203
209
|
}, "unknownPermissionIssues");
|
|
204
210
|
var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, tool, keyOf) => {
|
|
205
211
|
const issues = unknownPermissionIssues(command, settings, tool, keyOf);
|
|
@@ -207,11 +213,13 @@ var refuseUnknownPermissionKeys = /* @__PURE__ */ __name((command, settings, too
|
|
|
207
213
|
throw new CliError("configuration_error", issueMessage(issues), { permission: issues[0]?.key });
|
|
208
214
|
const flagged = Object.keys(settings.permissions).filter((key2) => settings.permissionSources[key2] === "flag");
|
|
209
215
|
const [key] = unknownPermissionKeys(Object.fromEntries(flagged.map((one) => [one, true])), knownPermissionKeys(command, keyOf));
|
|
210
|
-
if (key
|
|
211
|
-
|
|
216
|
+
if (key === void 0)
|
|
217
|
+
return;
|
|
218
|
+
const now = renamedPermissionKeys(command).get(key);
|
|
219
|
+
throw new CliError("validation_error", `--permission ${key} names no command${now === void 0 ? "" : `: its command moved, so use ${now}`}`, { permission: key });
|
|
212
220
|
}, "refuseUnknownPermissionKeys");
|
|
213
221
|
|
|
214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/messenger/stored.js
|
|
215
223
|
var REKEY_PACING = { lockMs: 50, pauseMs: 25 };
|
|
216
224
|
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" }) => {
|
|
217
225
|
let warned = false;
|
|
@@ -787,7 +795,7 @@ var keep = /* @__PURE__ */ __name(async (store, account, event, seenAt, among, c
|
|
|
787
795
|
}
|
|
788
796
|
}, "keep");
|
|
789
797
|
|
|
790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/messenger/flooded.js
|
|
791
799
|
var LONG_LIVED = /* @__PURE__ */ new Set(["self", "newSendId", "close", "formatMarkdown", "formatHtml", "storedChats"]);
|
|
792
800
|
var LISTENING = /* @__PURE__ */ new Set(["watch", "feed", "listen", "listenHistory"]);
|
|
793
801
|
var BLOCKING = /* @__PURE__ */ new Set(["frozen", "limited", "banned"]);
|
|
@@ -884,7 +892,7 @@ var flooded = /* @__PURE__ */ __name((messenger, memory, { name, warn, pacer })
|
|
|
884
892
|
});
|
|
885
893
|
}, "flooded");
|
|
886
894
|
|
|
887
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/messenger/observed.js
|
|
888
896
|
var observed = /* @__PURE__ */ __name((messenger, events) => {
|
|
889
897
|
const timed = /* @__PURE__ */ __name(async (operation, named, work, after) => {
|
|
890
898
|
const write = currentOperation();
|
|
@@ -983,7 +991,7 @@ var byPart = /* @__PURE__ */ __name((batch, counts) => {
|
|
|
983
991
|
counts[part] = (counts[part] ?? 0) + items.length;
|
|
984
992
|
}, "byPart");
|
|
985
993
|
|
|
986
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
994
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/messenger/context.js
|
|
987
995
|
var lazyStore = /* @__PURE__ */ __name((env, command, version) => {
|
|
988
996
|
let opened;
|
|
989
997
|
return {
|
|
@@ -1389,6 +1397,8 @@ export {
|
|
|
1389
1397
|
commandPathKey,
|
|
1390
1398
|
commandPermissions,
|
|
1391
1399
|
knownPermissionKeys,
|
|
1400
|
+
markRenamedPermissionKeys,
|
|
1401
|
+
renamedPermissionKeys,
|
|
1392
1402
|
knownBeside,
|
|
1393
1403
|
unknownPermissionKeys,
|
|
1394
1404
|
unknownPermissionIssues,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
annotateOption,
|
|
9
9
|
listOf,
|
|
10
10
|
sharedCommand
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NKYWQTS2.js";
|
|
12
12
|
import {
|
|
13
13
|
readMoment
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PLU2IQXC.js";
|
|
15
15
|
import {
|
|
16
16
|
BACKENDS,
|
|
17
17
|
EVENT_QUERY,
|
|
@@ -53,22 +53,22 @@ import {
|
|
|
53
53
|
validateMeetingHitSearch,
|
|
54
54
|
validateMeetingPassage,
|
|
55
55
|
validateQuery
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-GMHRPX5M.js";
|
|
57
57
|
import {
|
|
58
58
|
description,
|
|
59
59
|
maxLength,
|
|
60
60
|
optional,
|
|
61
61
|
pipe,
|
|
62
62
|
string
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-7OVTUADG.js";
|
|
64
64
|
import {
|
|
65
65
|
CliError
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-AP3CWDRK.js";
|
|
67
67
|
import {
|
|
68
68
|
__name
|
|
69
69
|
} from "./chunk-ZVVMGPBJ.js";
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/services/moment.js
|
|
72
72
|
var read = /* @__PURE__ */ __name((reference, flag, now, at) => {
|
|
73
73
|
const found = readMoment(reference, flag, { ...at, now });
|
|
74
74
|
if (found === void 0)
|
|
@@ -97,7 +97,7 @@ var dateWindow = /* @__PURE__ */ __name(({ sinceTime, untilTime, zone, now = Dat
|
|
|
97
97
|
};
|
|
98
98
|
}, "dateWindow");
|
|
99
99
|
|
|
100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/meetings/cli/management.js
|
|
101
101
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
102
102
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
103
103
|
var minutes = /* @__PURE__ */ __name((text) => {
|
|
@@ -202,7 +202,7 @@ var addMeetingManagementCommands = /* @__PURE__ */ __name((group, deps) => {
|
|
|
202
202
|
}).description("the invitation text the service writes for a meeting"))).action(async (id, _flags, command) => inRun(command, async () => print({ item: { ...await management.invitation(id, signalled()), untrusted: ["invitation"] } }, command)));
|
|
203
203
|
}, "addMeetingManagementCommands");
|
|
204
204
|
|
|
205
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
205
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/meetings/cli/query-options.js
|
|
206
206
|
var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
207
207
|
command.allowUnknownOption();
|
|
208
208
|
const parse = command.parseOptions.bind(command);
|
|
@@ -222,7 +222,7 @@ var queryWordsAfterOptions = /* @__PURE__ */ __name((command) => {
|
|
|
222
222
|
return command;
|
|
223
223
|
}, "queryWordsAfterOptions");
|
|
224
224
|
|
|
225
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/meetings/cli/passage.js
|
|
226
226
|
var count = /* @__PURE__ */ __name((value) => {
|
|
227
227
|
if (!/^(0|[1-9]\d*)$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
228
228
|
throw new CliError("validation_error", "expected a nonnegative safe integer");
|
|
@@ -264,7 +264,7 @@ var addMeetingPassageCommandDefinition = /* @__PURE__ */ __name((program, deps)
|
|
|
264
264
|
var createMeetingPassageCommand = sharedCommand(createMeetingPassageCommandDefinition);
|
|
265
265
|
var addMeetingPassageCommand = sharedCommand(addMeetingPassageCommandDefinition);
|
|
266
266
|
|
|
267
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
267
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/meetings/cli/project-evidence.js
|
|
268
268
|
var integer = /* @__PURE__ */ __name((value) => {
|
|
269
269
|
if (!/^[1-9]\d*$/.test(value) || !Number.isSafeInteger(Number(value)))
|
|
270
270
|
throw new CliError("validation_error", "expected a positive safe integer");
|
|
@@ -287,7 +287,7 @@ ${fieldsHelp(MEETING_PROJECT_EVIDENCE_QUERY)}`).option("--limit <n>", "hits in o
|
|
|
287
287
|
}, "addMeetingProjectEvidenceCommandDefinition");
|
|
288
288
|
var addMeetingProjectEvidenceCommand = sharedCommand(addMeetingProjectEvidenceCommandDefinition);
|
|
289
289
|
|
|
290
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
290
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/meetings/cli/search.js
|
|
291
291
|
var moment = /* @__PURE__ */ __name((flag, end, readIn) => (value) => {
|
|
292
292
|
const { since, until, meta } = dateWindow(end ? { untilTime: value, names: [flag, flag] } : { sinceTime: value, names: [flag, flag] });
|
|
293
293
|
if (meta.timezone)
|
|
@@ -366,7 +366,7 @@ var addMeetingSearchCommandDefinition = /* @__PURE__ */ __name((program, deps) =
|
|
|
366
366
|
var createMeetingSearchCommand = sharedCommand(createMeetingSearchCommandDefinition);
|
|
367
367
|
var addMeetingSearchCommand = sharedCommand(addMeetingSearchCommandDefinition);
|
|
368
368
|
|
|
369
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/meetings/cli/index.js
|
|
370
370
|
var EVENT_UNTRUSTED = ["title", "description", "location"];
|
|
371
371
|
var integer3 = /* @__PURE__ */ __name((text) => {
|
|
372
372
|
if (!/^[1-9]\d*$/.test(text) || !Number.isSafeInteger(Number(text)))
|
|
@@ -552,7 +552,7 @@ ${fieldsHelp(EVENT_QUERY, MEETING_QUERY_GUIDE)}`);
|
|
|
552
552
|
}, "addMeetingCommandsDefinition");
|
|
553
553
|
var addMeetingCommands = sharedCommand(addMeetingCommandsDefinition);
|
|
554
554
|
|
|
555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
555
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/list-query.js
|
|
556
556
|
var LIST_QUERY_GUIDE = "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md";
|
|
557
557
|
var QUERY_ARGUMENT = "field:value terms that narrow the list \u2014 the fields are below";
|
|
558
558
|
var withQuery = /* @__PURE__ */ __name((command, registry) => {
|
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
answerSchema,
|
|
7
7
|
describeOptions,
|
|
8
8
|
metaOf
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NKYWQTS2.js";
|
|
10
10
|
import {
|
|
11
11
|
keyForCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KBAOJISR.js";
|
|
13
13
|
import {
|
|
14
14
|
jsonSchemaOf
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7OVTUADG.js";
|
|
16
16
|
import {
|
|
17
17
|
CliError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AP3CWDRK.js";
|
|
19
19
|
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.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
24
24
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
25
25
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
26
26
|
const entity = answerEntitySchema(command);
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
|
|
8
8
|
var errorCodes = [
|
|
9
9
|
"validation_error",
|
|
10
10
|
"configuration_error",
|
|
@@ -39,7 +39,7 @@ var CliError = class extends Error {
|
|
|
39
39
|
};
|
|
40
40
|
var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
43
43
|
var CONTROL = (
|
|
44
44
|
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
45
45
|
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
CliError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AP3CWDRK.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
PLAIN_HTTP_REFUSED,
|
|
5
5
|
modelAddressAllowed,
|
|
6
6
|
onThisComputer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-E3EWS6DF.js";
|
|
8
8
|
import {
|
|
9
9
|
unit
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3K6T2G52.js";
|
|
11
11
|
import {
|
|
12
12
|
readSharedSection,
|
|
13
13
|
sharedConfigPath,
|
|
14
14
|
writeSharedSection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YFRTEJ6V.js";
|
|
16
16
|
import {
|
|
17
17
|
storePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZKRWNL4T.js";
|
|
19
19
|
import {
|
|
20
20
|
boolean,
|
|
21
21
|
isoTimestamp,
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
safeParse,
|
|
24
24
|
strictObject,
|
|
25
25
|
string
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7OVTUADG.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AP3CWDRK.js";
|
|
30
30
|
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.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
35
35
|
import { setTimeout } from "node:timers/promises";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/models/local-only.js
|
|
38
38
|
var SECTION = "local_only";
|
|
39
39
|
var Setting = strictObject({
|
|
40
40
|
on: boolean(),
|
|
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
|
|
|
68
68
|
refuseOffComputer(env, address, what);
|
|
69
69
|
}, "refuseModelAddress");
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.722.0_@wirecat+cli-base@0.127.0_commander@15.0.0_esbuild@0.28.2_typ_d2bed0cfbe6b4358c89d465b9e07afcb/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
72
72
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
73
73
|
var OPENAI_MODELS = {
|
|
74
74
|
"text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
|