@wirecat/mail-cli 0.4.0 → 0.6.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 +115 -0
- package/README.md +41 -10
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-55XPXQHY.js → all-profiles-GBFTKUHA.js} +9 -9
- package/dist/bundle/{anthropic-K5B6I4LB.js → anthropic-PTSCWUG6.js} +6 -6
- package/dist/bundle/{app-server-VWWLQLTZ.js → app-server-5VJ2WCKJ.js} +46 -46
- package/dist/bundle/{bun-EO7AI6YP.js → bun-2KRUBPIN.js} +2 -2
- package/dist/bundle/{bun-sqlite-F24A4IOP.js → bun-sqlite-ELSRSJBM.js} +5 -5
- package/dist/bundle/{chunk-X7AXH2IC.js → chunk-3KY7DA5A.js} +428 -434
- package/dist/bundle/{chunk-ANRI6EZY.js → chunk-4PKHZQIM.js} +8 -8
- package/dist/bundle/{chunk-CADRRSQK.js → chunk-56PI2BRH.js} +1 -1
- package/dist/bundle/{chunk-2ADB5DSG.js → chunk-5AQKM47C.js} +3 -3
- package/dist/bundle/{chunk-VP5GCMHM.js → chunk-5KHJUYHQ.js} +8 -8
- package/dist/bundle/{chunk-HUB42T2Z.js → chunk-6MV2TBDB.js} +57 -54
- package/dist/bundle/{chunk-4KLJN3LK.js → chunk-AGX7NR3S.js} +26 -13
- package/dist/bundle/{chunk-ZD3WUGR2.js → chunk-B337KHJ5.js} +4 -4
- package/dist/bundle/{chunk-5BVIWP3S.js → chunk-BM445GYF.js} +2 -2
- package/dist/bundle/{chunk-H7K2DN3R.js → chunk-BVIHT7KR.js} +9 -9
- package/dist/bundle/{chunk-EDKV6D6T.js → chunk-DA46WQEA.js} +1 -1
- package/dist/bundle/{chunk-UO7X2VW4.js → chunk-DV4RSEAH.js} +6 -6
- package/dist/bundle/{chunk-JZFIHVRB.js → chunk-ES4PWHBJ.js} +28 -28
- package/dist/bundle/{chunk-7X64JS6S.js → chunk-FIQOBLHS.js} +1 -1
- package/dist/bundle/{chunk-TI6VBZKJ.js → chunk-FUB3X25H.js} +4 -4
- package/dist/bundle/{chunk-VWXCEEUH.js → chunk-H4VFIH5W.js} +3 -3
- package/dist/bundle/{chunk-JKHI3PH7.js → chunk-J4C32YKH.js} +1 -1
- package/dist/bundle/{chunk-F6JTOQIK.js → chunk-J5MYH4L5.js} +12 -6
- package/dist/bundle/{chunk-QYWDC7NP.js → chunk-JFJTDL22.js} +47 -46
- package/dist/bundle/{chunk-UZDHK26H.js → chunk-JIQAFFPV.js} +2 -2
- package/dist/bundle/{chunk-BHKI5OCD.js → chunk-JKA2AICL.js} +2 -2
- package/dist/bundle/{dist-FMN7UZ7R.js → chunk-JKLQHPED.js} +16 -116
- package/dist/bundle/{chunk-J3QXTBD2.js → chunk-JLRMSNPX.js} +18 -18
- package/dist/bundle/{chunk-HORM6VRV.js → chunk-K5JUROGN.js} +1 -1
- package/dist/bundle/{chunk-SY3SP7EI.js → chunk-KUQYWIVR.js} +6 -6
- package/dist/bundle/{chunk-7QQ4EMYF.js → chunk-LWTG5UOF.js} +2 -2
- package/dist/bundle/{chunk-YSSMDVT3.js → chunk-M7V3GSJQ.js} +1 -1
- package/dist/bundle/chunk-MD2J3POF.js +52 -0
- package/dist/bundle/{chunk-SWRNMYDL.js → chunk-NCWO2FNC.js} +2 -2
- package/dist/bundle/{chunk-LKDK5YMI.js → chunk-NOU6MWEM.js} +2 -2
- package/dist/bundle/{chunk-LQ37ALDJ.js → chunk-NXJLC2WK.js} +8 -8
- package/dist/bundle/{chunk-ZAR67WKR.js → chunk-NZB4WGQS.js} +6 -6
- package/dist/bundle/{chunk-5RUTHKXZ.js → chunk-O555ZEQR.js} +4 -4
- package/dist/bundle/{chunk-MGBGE2Y4.js → chunk-O7VK7CJX.js} +2 -2
- package/dist/bundle/{chunk-WFBTPZK3.js → chunk-OHV5RDFE.js} +4 -4
- package/dist/bundle/{chunk-HJEMHZRU.js → chunk-P5B7IFOG.js} +2 -2
- package/dist/bundle/{chunk-VWHRIGYJ.js → chunk-PBYDT3CG.js} +13 -3
- package/dist/bundle/{chunk-7IYDIU4P.js → chunk-PHPC72DP.js} +7 -7
- package/dist/bundle/{chunk-ID24SLH3.js → chunk-PKU6V4EQ.js} +17 -17
- package/dist/bundle/{chunk-P7P5MNAU.js → chunk-QZBT6BOU.js} +1 -1
- package/dist/bundle/{chunk-NL5LNYGX.js → chunk-RAZOSYEO.js} +23 -23
- package/dist/bundle/{chunk-CCNHVZ3G.js → chunk-RDSAI6DC.js} +398 -293
- package/dist/bundle/{chunk-CSI73XJ5.js → chunk-SAZJDKEI.js} +8 -8
- package/dist/bundle/{chunk-QX7RCLRS.js → chunk-SQLCCKEL.js} +1 -1
- package/dist/bundle/{chunk-ORYYYM5Y.js → chunk-TKJDGAHT.js} +23 -23
- package/dist/bundle/{chunk-RLSGMMGC.js → chunk-TPNC5VCJ.js} +4 -4
- package/dist/bundle/{chunk-IIO6NXCA.js → chunk-UAXBLHZK.js} +2 -2
- package/dist/bundle/{chunk-2NZGUKYK.js → chunk-VEAP5RVI.js} +10 -8
- package/dist/bundle/{chunk-6BNMEOVS.js → chunk-VF24ZAPX.js} +4 -4
- package/dist/bundle/{chunk-FFKNUVVD.js → chunk-WCL3WBH5.js} +3 -3
- package/dist/bundle/{chunk-M4NTQ247.js → chunk-WGK4AIRL.js} +12 -12
- package/dist/bundle/{chunk-OM4ZBLT7.js → chunk-XERTHQ6D.js} +88 -34
- package/dist/bundle/{chunk-6BR6JMCR.js → chunk-XZGLY2LU.js} +14 -14
- package/dist/bundle/{chunk-2LP46EUH.js → chunk-Y7JKWQC2.js} +96 -94
- package/dist/bundle/{chunk-F7KAJNNK.js → chunk-YBJMBPL7.js} +6 -6
- package/dist/bundle/{chunk-YYTWV5GU.js → chunk-ZMMIIBTM.js} +73 -57
- package/dist/bundle/{chunk-EOEYP7CJ.js → chunk-ZPGLWMNH.js} +3 -3
- package/dist/bundle/{chunk-UJYCKCFR.js → chunk-ZRYFEEXZ.js} +3 -3
- package/dist/bundle/command-contract-NZF4B5OR.js +34 -0
- package/dist/bundle/{decode-ON4KBMEX.js → decode-HVXDCQ63.js} +5 -5
- package/dist/bundle/{dispatch-EUKKT3PD.js → dispatch-GDAH4JHS.js} +8 -8
- package/dist/bundle/dist-43DZXMBL.js +134 -0
- package/dist/bundle/{echarts-XPA226QR.js → echarts-LZ74IXHG.js} +2 -2
- package/dist/bundle/{embed-QERDAB73.js → embed-OQF5U2C6.js} +6 -6
- package/dist/bundle/{embedder-I76YT3E5.js → embedder-OCWQAWKO.js} +9 -9
- package/dist/bundle/{failure-OAIC5VAP.js → failure-6COJAO7T.js} +2 -2
- package/dist/bundle/{first-run-KZJFR55N.js → first-run-MTZPUPGA.js} +11 -11
- package/dist/bundle/first-screen-4PBS6QK5.js +32 -0
- package/dist/bundle/{instructions-NN3BCFIM.js → instructions-M6F4FP7U.js} +1 -1
- package/dist/bundle/mail.js +12 -11
- package/dist/bundle/{mcp-L7SRVDRN.js → mcp-GAPDLFWA.js} +2 -2
- package/dist/bundle/{node-2S75QJ6B.js → node-NYBBFHGN.js} +2 -2
- package/dist/bundle/{node-sqlite-RC7WM3EG.js → node-sqlite-CWCNWO75.js} +5 -5
- package/dist/bundle/{oauth-FUHLZCKV.js → oauth-DVX45EME.js} +7 -7
- package/dist/bundle/{open-JOKT7LKY.js → open-M7EQWWHL.js} +4 -4
- package/dist/bundle/{openai-U3IMQ6UI.js → openai-63KRU5H2.js} +14 -14
- package/dist/bundle/{process-LKODK722.js → process-DV5GQIGM.js} +1 -1
- package/dist/bundle/{program-RMLIQXCA.js → program-EPR3QCMX.js} +20570 -7622
- package/dist/bundle/{prompt-23VYMNNB.js → prompt-EPWPWTB3.js} +5 -5
- package/dist/bundle/{recognize-TXO3462R.js → recognize-R46KDXK4.js} +4 -4
- package/dist/bundle/{remote-5F4ZOASM.js → remote-RENCYB5X.js} +7 -7
- package/dist/bundle/{rerank-TXSDPEFE.js → rerank-VHPC5O73.js} +7 -7
- package/dist/bundle/{serve-TWYECYWM.js → serve-KCH3ORYO.js} +9 -9
- package/dist/bundle/server-FMCPE2ZK.js +63 -0
- package/dist/bundle/{server-3S3BKE6D.js → server-HZVXSK7B.js} +38 -38
- package/dist/bundle/{sqlite-runtime-BEOBGC6K.js → sqlite-runtime-XP7ZJCKJ.js} +5 -5
- package/dist/bundle/{state-ERWIUTQQ.js → state-GQ4MEQJ5.js} +6 -6
- package/dist/bundle/{store-2JO4JGQL.js → store-CQNLNINW.js} +13 -13
- package/dist/bundle/{store-4RY5UMOP.js → store-WT7YTR3Y.js} +15 -15
- package/dist/bundle/store-maintenance-command-YYR42IT4.js +52 -0
- package/dist/commands/attachments.d.ts +3 -0
- package/dist/commands/attachments.d.ts.map +1 -0
- package/dist/commands/attachments.js +97 -0
- package/dist/commands/attachments.js.map +1 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +11 -1
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/drafts-send.d.ts +7 -0
- package/dist/commands/drafts-send.d.ts.map +1 -0
- package/dist/commands/drafts-send.js +58 -0
- package/dist/commands/drafts-send.js.map +1 -0
- package/dist/commands/drafts.d.ts +3 -0
- package/dist/commands/drafts.d.ts.map +1 -0
- package/dist/commands/drafts.js +239 -0
- package/dist/commands/drafts.js.map +1 -0
- package/dist/commands/export.d.ts +3 -0
- package/dist/commands/export.d.ts.map +1 -0
- package/dist/commands/export.js +275 -0
- package/dist/commands/export.js.map +1 -0
- package/dist/commands/folders.d.ts.map +1 -1
- package/dist/commands/folders.js +120 -2
- package/dist/commands/folders.js.map +1 -1
- package/dist/commands/messages.d.ts +25 -0
- package/dist/commands/messages.d.ts.map +1 -0
- package/dist/commands/messages.js +502 -0
- package/dist/commands/messages.js.map +1 -0
- package/dist/commands/read.d.ts +4 -1
- package/dist/commands/read.d.ts.map +1 -1
- package/dist/commands/read.js +12 -2
- package/dist/commands/read.js.map +1 -1
- package/dist/commands/rules.d.ts +3 -0
- package/dist/commands/rules.d.ts.map +1 -0
- package/dist/commands/rules.js +292 -0
- package/dist/commands/rules.js.map +1 -0
- package/dist/commands/send.d.ts +39 -0
- package/dist/commands/send.d.ts.map +1 -0
- package/dist/commands/send.js +309 -0
- package/dist/commands/send.js.map +1 -0
- package/dist/commands/server-search.d.ts +8 -0
- package/dist/commands/server-search.d.ts.map +1 -0
- package/dist/commands/server-search.js +38 -0
- package/dist/commands/server-search.js.map +1 -0
- package/dist/commands/stats.d.ts +3 -0
- package/dist/commands/stats.d.ts.map +1 -0
- package/dist/commands/stats.js +90 -0
- package/dist/commands/stats.js.map +1 -0
- package/dist/commands/sync.d.ts +7 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +22 -7
- package/dist/commands/sync.js.map +1 -1
- package/dist/commands/tags.d.ts +3 -0
- package/dist/commands/tags.d.ts.map +1 -0
- package/dist/commands/tags.js +144 -0
- package/dist/commands/tags.js.map +1 -0
- package/dist/config.d.ts +13 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +47 -1
- package/dist/config.js.map +1 -1
- package/dist/export/format.d.ts +19 -0
- package/dist/export/format.d.ts.map +1 -0
- package/dist/export/format.js +40 -0
- package/dist/export/format.js.map +1 -0
- package/dist/export/journal.d.ts +32 -0
- package/dist/export/journal.d.ts.map +1 -0
- package/dist/export/journal.js +84 -0
- package/dist/export/journal.js.map +1 -0
- package/dist/export/write.d.ts +14 -0
- package/dist/export/write.d.ts.map +1 -0
- package/dist/export/write.js +42 -0
- package/dist/export/write.js.map +1 -0
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +3 -0
- package/dist/identity.js.map +1 -1
- package/dist/mail/backend.d.ts +81 -1
- package/dist/mail/backend.d.ts.map +1 -1
- package/dist/mail/changes.d.ts +91 -0
- package/dist/mail/changes.d.ts.map +1 -0
- package/dist/mail/changes.js +198 -0
- package/dist/mail/changes.js.map +1 -0
- package/dist/mail/cleanup.d.ts +41 -0
- package/dist/mail/cleanup.d.ts.map +1 -0
- package/dist/mail/cleanup.js +119 -0
- package/dist/mail/cleanup.js.map +1 -0
- package/dist/mail/compose.d.ts +73 -0
- package/dist/mail/compose.d.ts.map +1 -0
- package/dist/mail/compose.js +122 -0
- package/dist/mail/compose.js.map +1 -0
- package/dist/mail/doctor.d.ts +25 -0
- package/dist/mail/doctor.d.ts.map +1 -0
- package/dist/mail/doctor.js +39 -0
- package/dist/mail/doctor.js.map +1 -0
- package/dist/mail/drafts.d.ts +54 -0
- package/dist/mail/drafts.d.ts.map +1 -0
- package/dist/mail/drafts.js +104 -0
- package/dist/mail/drafts.js.map +1 -0
- package/dist/mail/imap/connection.d.ts +7 -0
- package/dist/mail/imap/connection.d.ts.map +1 -1
- package/dist/mail/imap/connection.js +24 -2
- package/dist/mail/imap/connection.js.map +1 -1
- package/dist/mail/imap/index.d.ts +1 -1
- package/dist/mail/imap/index.d.ts.map +1 -1
- package/dist/mail/imap/index.js +12 -2
- package/dist/mail/imap/index.js.map +1 -1
- package/dist/mail/imap/messages.d.ts +5 -6
- package/dist/mail/imap/messages.d.ts.map +1 -1
- package/dist/mail/imap/messages.js +14 -28
- package/dist/mail/imap/messages.js.map +1 -1
- package/dist/mail/imap/read.d.ts.map +1 -1
- package/dist/mail/imap/read.js +27 -13
- package/dist/mail/imap/read.js.map +1 -1
- package/dist/mail/imap/search.d.ts +14 -0
- package/dist/mail/imap/search.d.ts.map +1 -0
- package/dist/mail/imap/search.js +49 -0
- package/dist/mail/imap/search.js.map +1 -0
- package/dist/mail/imap/write.d.ts +5 -0
- package/dist/mail/imap/write.d.ts.map +1 -0
- package/dist/mail/imap/write.js +93 -0
- package/dist/mail/imap/write.js.map +1 -0
- package/dist/mail/organise.d.ts +116 -0
- package/dist/mail/organise.d.ts.map +1 -0
- package/dist/mail/organise.js +531 -0
- package/dist/mail/organise.js.map +1 -0
- package/dist/mail/rethread.d.ts +1 -2
- package/dist/mail/rethread.d.ts.map +1 -1
- package/dist/mail/rethread.js +8 -3
- package/dist/mail/rethread.js.map +1 -1
- package/dist/mail/rules/apply.d.ts +40 -0
- package/dist/mail/rules/apply.d.ts.map +1 -0
- package/dist/mail/rules/apply.js +114 -0
- package/dist/mail/rules/apply.js.map +1 -0
- package/dist/mail/rules/file.d.ts +9 -0
- package/dist/mail/rules/file.d.ts.map +1 -0
- package/dist/mail/rules/file.js +51 -0
- package/dist/mail/rules/file.js.map +1 -0
- package/dist/mail/rules/filters.d.ts +11 -0
- package/dist/mail/rules/filters.d.ts.map +1 -0
- package/dist/mail/rules/filters.js +150 -0
- package/dist/mail/rules/filters.js.map +1 -0
- package/dist/mail/rules/folders.d.ts +11 -0
- package/dist/mail/rules/folders.d.ts.map +1 -0
- package/dist/mail/rules/folders.js +17 -0
- package/dist/mail/rules/folders.js.map +1 -0
- package/dist/mail/rules/query.d.ts +15 -0
- package/dist/mail/rules/query.d.ts.map +1 -0
- package/dist/mail/rules/query.js +103 -0
- package/dist/mail/rules/query.js.map +1 -0
- package/dist/mail/rules/store.d.ts +9 -0
- package/dist/mail/rules/store.d.ts.map +1 -0
- package/dist/mail/rules/store.js +17 -0
- package/dist/mail/rules/store.js.map +1 -0
- package/dist/mail/save.d.ts +12 -0
- package/dist/mail/save.d.ts.map +1 -0
- package/dist/mail/save.js +71 -0
- package/dist/mail/save.js.map +1 -0
- package/dist/mail/send.d.ts +67 -0
- package/dist/mail/send.d.ts.map +1 -0
- package/dist/mail/send.js +172 -0
- package/dist/mail/send.js.map +1 -0
- package/dist/mail/smtp.d.ts +4 -0
- package/dist/mail/smtp.d.ts.map +1 -0
- package/dist/mail/smtp.js +97 -0
- package/dist/mail/smtp.js.map +1 -0
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +28 -6
- package/dist/program.js.map +1 -1
- package/dist/providers.d.ts +71 -6
- package/dist/providers.d.ts.map +1 -1
- package/dist/providers.js +38 -9
- package/dist/providers.js.map +1 -1
- package/dist/reasons.d.ts +9 -0
- package/dist/reasons.d.ts.map +1 -0
- package/dist/reasons.js +21 -0
- package/dist/reasons.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +8 -5
- package/skills/mail-cli/SKILL.md +30 -3
- package/dist/bundle/chunk-XJ5TBPCK.js +0 -27
- package/dist/bundle/command-contract-L65UZ7AF.js +0 -34
- package/dist/bundle/first-screen-EORANEAK.js +0 -32
- package/dist/bundle/server-2GEAXKX2.js +0 -63
- package/dist/bundle/store-maintenance-command-T7D4OTN7.js +0 -52
- /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-WJWLHLQ7.js} +0 -0
|
@@ -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-BM445GYF.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.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/search/languages.js
|
|
11
11
|
var LANGUAGES = [
|
|
12
12
|
{ name: "russian", code: "ru", label: "Russian", script: "cyrillic", dictionary: "dictionary-ru" },
|
|
13
13
|
{ name: "english", code: "en", label: "English", script: "latin", dictionary: "dictionary-en" },
|
|
@@ -15,12 +15,12 @@ var LANGUAGES = [
|
|
|
15
15
|
];
|
|
16
16
|
var languagesOf = /* @__PURE__ */ __name((script) => LANGUAGES.filter((one) => one.script === script).map(({ name }) => name), "languagesOf");
|
|
17
17
|
|
|
18
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
18
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/store/normalize.js
|
|
19
19
|
var NORMALIZER_VERSION = 1;
|
|
20
20
|
var fold = /* @__PURE__ */ __name((text) => text.normalize("NFKD").replace(new RegExp("\\p{M}+", "gu"), "").normalize("NFC").toLowerCase(), "fold");
|
|
21
21
|
var normalize = /* @__PURE__ */ __name((text) => fold(text).replace(new RegExp("\\p{Cc}", "gu"), " ").replace(/\s+/gu, " ").trim(), "normalize");
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/search/snowball/base-stemmer.js
|
|
24
24
|
var BaseStemmer = class {
|
|
25
25
|
static {
|
|
26
26
|
__name(this, "BaseStemmer");
|
|
@@ -395,7 +395,7 @@ var BaseStemmer = class {
|
|
|
395
395
|
}
|
|
396
396
|
};
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/search/snowball/english-stemmer.js
|
|
399
399
|
var a_0 = [
|
|
400
400
|
["arsen", -1],
|
|
401
401
|
["commun", -1],
|
|
@@ -1096,7 +1096,7 @@ var english_stemmer_default = class extends BaseStemmer {
|
|
|
1096
1096
|
stemWord = this.stem;
|
|
1097
1097
|
};
|
|
1098
1098
|
|
|
1099
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/search/snowball/russian-stemmer.js
|
|
1100
1100
|
var a_02 = [
|
|
1101
1101
|
["\u0432", 1],
|
|
1102
1102
|
["\u0438\u0432", 2, 1],
|
|
@@ -1519,7 +1519,7 @@ var russian_stemmer_default = class extends BaseStemmer {
|
|
|
1519
1519
|
stemWord = this.stem;
|
|
1520
1520
|
};
|
|
1521
1521
|
|
|
1522
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/search/snowball/spanish-stemmer.js
|
|
1523
1523
|
var a_03 = [
|
|
1524
1524
|
["", 6],
|
|
1525
1525
|
["\xE1", 1, 1],
|
|
@@ -2195,7 +2195,7 @@ var spanish_stemmer_default = class extends BaseStemmer {
|
|
|
2195
2195
|
stemWord = this.stem;
|
|
2196
2196
|
};
|
|
2197
2197
|
|
|
2198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/search/stem.js
|
|
2199
2199
|
var SNOWBALL_VERSION = "3.1.1";
|
|
2200
2200
|
var CYRILLIC_STEMMERS = [...languagesOf("cyrillic"), "none"];
|
|
2201
2201
|
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-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-P5B7IFOG.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BM445GYF.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|
|
@@ -2,11 +2,11 @@ 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-J5MYH4L5.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths,
|
|
8
8
|
writeSecurely
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JLRMSNPX.js";
|
|
10
10
|
import {
|
|
11
11
|
array,
|
|
12
12
|
getDotPath,
|
|
@@ -25,17 +25,17 @@ import {
|
|
|
25
25
|
string,
|
|
26
26
|
transform,
|
|
27
27
|
unknown
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NXJLC2WK.js";
|
|
29
29
|
import {
|
|
30
30
|
CliError,
|
|
31
31
|
singleLine,
|
|
32
32
|
visibleControls
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BM445GYF.js";
|
|
34
34
|
import {
|
|
35
35
|
__name
|
|
36
36
|
} from "./chunk-ZVVMGPBJ.js";
|
|
37
37
|
|
|
38
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
38
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
39
39
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
40
40
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase(), "foldName");
|
|
41
41
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -73,7 +73,7 @@ ${lines}`, { candidates });
|
|
|
73
73
|
}, "ambiguous");
|
|
74
74
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
77
77
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
78
78
|
var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
79
79
|
const { text, spans } = formatted;
|
|
@@ -133,7 +133,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
|
133
133
|
};
|
|
134
134
|
}, "visibleFormattedText");
|
|
135
135
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
137
137
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
138
138
|
var LINK = /https?:\/\/\S+/i;
|
|
139
139
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -321,7 +321,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
321
321
|
}, "nextPoint");
|
|
322
322
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
323
323
|
|
|
324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
325
325
|
import { existsSync, readFileSync } from "node:fs";
|
|
326
326
|
import { join } from "node:path";
|
|
327
327
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
permissionOverrides,
|
|
14
14
|
projectFields,
|
|
15
15
|
resolveOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-J5MYH4L5.js";
|
|
17
17
|
import {
|
|
18
18
|
currentCaller,
|
|
19
19
|
endpointTemplate,
|
|
@@ -24,38 +24,38 @@ import {
|
|
|
24
24
|
providerErrorKey,
|
|
25
25
|
renderEvent,
|
|
26
26
|
runContextOf
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BVIHT7KR.js";
|
|
28
28
|
import {
|
|
29
29
|
permissionCeiling
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-H4VFIH5W.js";
|
|
31
31
|
import {
|
|
32
32
|
count,
|
|
33
33
|
id,
|
|
34
34
|
text,
|
|
35
35
|
time
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-O555ZEQR.js";
|
|
37
37
|
import {
|
|
38
38
|
PRIORITY_LABELS,
|
|
39
39
|
TASK_ORIGINS,
|
|
40
40
|
TASK_STATES,
|
|
41
41
|
TASK_TYPES
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VEAP5RVI.js";
|
|
43
43
|
import {
|
|
44
44
|
FIELD_TYPES,
|
|
45
45
|
QUERY_BACKENDS,
|
|
46
46
|
TAG_TYPES,
|
|
47
47
|
describeQuery
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-ZMMIIBTM.js";
|
|
49
49
|
import {
|
|
50
50
|
sharedConfigPath
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-YBJMBPL7.js";
|
|
52
52
|
import {
|
|
53
53
|
filesPresent,
|
|
54
54
|
sharedModelsDirectory
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-OHV5RDFE.js";
|
|
56
56
|
import {
|
|
57
57
|
storePath
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-JIQAFFPV.js";
|
|
59
59
|
import {
|
|
60
60
|
configFilePath,
|
|
61
61
|
createRecordLog,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
saveConfigFile,
|
|
66
66
|
traceIdOf,
|
|
67
67
|
writeSecurely
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-JLRMSNPX.js";
|
|
69
69
|
import {
|
|
70
70
|
MAX_NEXT_STEPS,
|
|
71
71
|
STEPS,
|
|
@@ -104,16 +104,16 @@ import {
|
|
|
104
104
|
union,
|
|
105
105
|
unknown,
|
|
106
106
|
writes
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-NXJLC2WK.js";
|
|
108
108
|
import {
|
|
109
109
|
CliError,
|
|
110
110
|
isCliError
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-BM445GYF.js";
|
|
112
112
|
import {
|
|
113
113
|
__name
|
|
114
114
|
} from "./chunk-ZVVMGPBJ.js";
|
|
115
115
|
|
|
116
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/ports/app.js
|
|
117
117
|
var envName = /* @__PURE__ */ __name((app, name) => `${app.envPrefix}_${name}`, "envName");
|
|
118
118
|
var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
119
119
|
const name = envName(app, "READ_ONLY");
|
|
@@ -123,7 +123,7 @@ var readOnlyLockOf = /* @__PURE__ */ __name((app, env) => {
|
|
|
123
123
|
var MESSENGER_CHANGE_REFUSAL = "send, react, change chats or change the account";
|
|
124
124
|
var readOnlyRefusal = /* @__PURE__ */ __name((lock, what) => new CliError("permission_error", `this process is read-only (${lock}) \u2014 it cannot ${what}`), "readOnlyRefusal");
|
|
125
125
|
|
|
126
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
126
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/registry.js
|
|
127
127
|
var labels = /* @__PURE__ */ new WeakMap();
|
|
128
128
|
var annotate = /* @__PURE__ */ __name((command, meta) => {
|
|
129
129
|
labels.set(command, { ...labels.get(command), ...meta });
|
|
@@ -3624,7 +3624,7 @@ __name(useColor, "useColor");
|
|
|
3624
3624
|
// node_modules/.pnpm/commander@15.0.0/node_modules/commander/index.js
|
|
3625
3625
|
var program = new Command();
|
|
3626
3626
|
|
|
3627
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3627
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/document.js
|
|
3628
3628
|
var argumentInfoSchema = object({
|
|
3629
3629
|
name: string(),
|
|
3630
3630
|
required: boolean(),
|
|
@@ -3697,7 +3697,7 @@ var commandsDocumentSchema = strictObject({
|
|
|
3697
3697
|
exit_codes: record(string(), pipe(number(), integer()))
|
|
3698
3698
|
});
|
|
3699
3699
|
|
|
3700
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3700
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/contracts.js
|
|
3701
3701
|
import { isDeepStrictEqual } from "node:util";
|
|
3702
3702
|
var protectedCommands = /* @__PURE__ */ new WeakMap();
|
|
3703
3703
|
var hidden = /* @__PURE__ */ __name((command) => Boolean(command._hidden), "hidden");
|
|
@@ -3806,7 +3806,7 @@ var sharedCommand = /* @__PURE__ */ __name((factory) => (...args) => {
|
|
|
3806
3806
|
return result;
|
|
3807
3807
|
}, "sharedCommand");
|
|
3808
3808
|
|
|
3809
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3809
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/commands/index.js
|
|
3810
3810
|
var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
3811
3811
|
let command = root;
|
|
3812
3812
|
const path2 = [];
|
|
@@ -3824,7 +3824,7 @@ var refuseJoinedPath = /* @__PURE__ */ __name((root, args, prefix = []) => {
|
|
|
3824
3824
|
}
|
|
3825
3825
|
}, "refuseJoinedPath");
|
|
3826
3826
|
|
|
3827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3827
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/sends/guarded.js
|
|
3828
3828
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
3829
3829
|
var sentIds = /* @__PURE__ */ __name((typed, message) => ({
|
|
3830
3830
|
messageId: message.id,
|
|
@@ -3930,7 +3930,7 @@ var guardedWrite = /* @__PURE__ */ __name(async (guard, attempt, act, settled2 =
|
|
|
3930
3930
|
}, "guardedWrite");
|
|
3931
3931
|
var codeOf = /* @__PURE__ */ __name((error) => typeof error?.code === "string" ? error.code : "unknown", "codeOf");
|
|
3932
3932
|
|
|
3933
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/execution.js
|
|
3934
3934
|
var DEFAULT_COMMAND_MS = 3e4;
|
|
3935
3935
|
var DEFAULT_COOPERATIVE_MS = 5 * 6e4;
|
|
3936
3936
|
var DEFAULT_SYNC_MS = 15 * 6e4;
|
|
@@ -4112,7 +4112,7 @@ var withAbort = /* @__PURE__ */ __name(async (signal, body) => {
|
|
|
4112
4112
|
}
|
|
4113
4113
|
}, "withAbort");
|
|
4114
4114
|
|
|
4115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/messenger/accounts.js
|
|
4116
4116
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
4117
4117
|
import { join } from "node:path";
|
|
4118
4118
|
var accountFileFor = /* @__PURE__ */ __name((app, profile, env) => join(resolvePaths({ appName: app.appName, prefix: app.envPrefix, env }).state, "accounts", `${profile}.json`), "accountFileFor");
|
|
@@ -4134,7 +4134,7 @@ var profilesWithAccounts = /* @__PURE__ */ __name((app, env) => {
|
|
|
4134
4134
|
}, "profilesWithAccounts");
|
|
4135
4135
|
var profilesHere = /* @__PURE__ */ __name((app, configured, env) => [.../* @__PURE__ */ new Set([...configured, ...profilesWithAccounts(app, env)])].sort(), "profilesHere");
|
|
4136
4136
|
|
|
4137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/background/budget.js
|
|
4138
4138
|
var DEADLINE_MARGIN_MS = 5e3;
|
|
4139
4139
|
var DEADLINE_MARGIN_SHARE = 0.15;
|
|
4140
4140
|
var DEFAULT_REQUEST_MS = 2e3;
|
|
@@ -4177,7 +4177,7 @@ var runBudget = /* @__PURE__ */ __name(({ requests, deadline, requestMs, signal,
|
|
|
4177
4177
|
};
|
|
4178
4178
|
}, "runBudget");
|
|
4179
4179
|
|
|
4180
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4180
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/runs/log-events.js
|
|
4181
4181
|
var CORE_LOG_EVENTS = defineLogEvents([
|
|
4182
4182
|
{ id: "provider.request", meaning: "a request went to the messenger", keys: ["operation"] },
|
|
4183
4183
|
{ id: "provider.response", meaning: "the messenger answered the request, or it failed", keys: ["operation"] },
|
|
@@ -4211,7 +4211,7 @@ var DIAGNOSTIC_LOG_EVENTS = {
|
|
|
4211
4211
|
cache: "cache.answered"
|
|
4212
4212
|
};
|
|
4213
4213
|
|
|
4214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/runs/log-keys.js
|
|
4215
4215
|
var snake2 = /* @__PURE__ */ __name((key) => key.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`), "snake");
|
|
4216
4216
|
var camel = /* @__PURE__ */ __name((key) => key.replace(/_([a-z0-9])/g, (_, letter) => letter.toUpperCase()), "camel");
|
|
4217
4217
|
var renamed = /* @__PURE__ */ __name((record2, name) => Object.fromEntries(Object.entries(record2).map(([key, value]) => [name(key), value])), "renamed");
|
|
@@ -4224,13 +4224,13 @@ var snakeLogger = /* @__PURE__ */ __name((logger) => ({
|
|
|
4224
4224
|
error: /* @__PURE__ */ __name((event, message) => logger.error(logAttributes(event), message), "error")
|
|
4225
4225
|
}), "snakeLogger");
|
|
4226
4226
|
|
|
4227
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4228
4228
|
import { randomUUID } from "node:crypto";
|
|
4229
4229
|
import { appendFileSync, mkdirSync, readdirSync as readdirSync2, readFileSync as readFileSync2, rmSync, statSync, writeFileSync } from "node:fs";
|
|
4230
4230
|
import { userInfo } from "node:os";
|
|
4231
4231
|
import { join as join2, sep } from "node:path";
|
|
4232
4232
|
|
|
4233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4233
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/runs/log-attributes.js
|
|
4234
4234
|
var diagnostic = {
|
|
4235
4235
|
event: true,
|
|
4236
4236
|
operation: true,
|
|
@@ -4300,7 +4300,7 @@ var LOG_ATTRIBUTES = [
|
|
|
4300
4300
|
...new Set([...Object.keys(diagnostic), ...Object.keys(send), ...background, ...crash, ...dropped].map((key) => Object.keys(logAttributes({ [key]: true }))[0]))
|
|
4301
4301
|
].sort();
|
|
4302
4302
|
|
|
4303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4303
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/runs/run.js
|
|
4304
4304
|
var KEEP_RUNS_FOR_DAYS = 30;
|
|
4305
4305
|
var KEEP_SUCCESSFUL_RUNS_FOR_DAYS = 7;
|
|
4306
4306
|
var RUNS_SIZE_LIMIT_MB = 200;
|
|
@@ -4653,7 +4653,7 @@ var metadataOf = /* @__PURE__ */ __name((parsed) => {
|
|
|
4653
4653
|
};
|
|
4654
4654
|
}, "metadataOf");
|
|
4655
4655
|
|
|
4656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4656
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/runs/scope.js
|
|
4657
4657
|
import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
|
|
4658
4658
|
import { randomBytes } from "node:crypto";
|
|
4659
4659
|
var scopes = new AsyncLocalStorage2();
|
|
@@ -4689,7 +4689,7 @@ var childTrace = /* @__PURE__ */ __name(() => {
|
|
|
4689
4689
|
var attempts = new AsyncLocalStorage2();
|
|
4690
4690
|
var withAttempt = /* @__PURE__ */ __name((attempt, work) => attempts.run(attempt, work), "withAttempt");
|
|
4691
4691
|
|
|
4692
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/runs/recording.js
|
|
4693
4693
|
var recorded = /* @__PURE__ */ __name(async (options, body) => {
|
|
4694
4694
|
const recording = startRecording(options);
|
|
4695
4695
|
try {
|
|
@@ -4874,7 +4874,7 @@ var partialOutcome = /* @__PURE__ */ __name((answer) => {
|
|
|
4874
4874
|
return void 0;
|
|
4875
4875
|
}, "partialOutcome");
|
|
4876
4876
|
|
|
4877
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/deadline.js
|
|
4878
4878
|
var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
4879
4879
|
if (ms === void 0)
|
|
4880
4880
|
return body();
|
|
@@ -4900,7 +4900,7 @@ var withDeadline = /* @__PURE__ */ __name(async (ms, closeables, body) => {
|
|
|
4900
4900
|
}
|
|
4901
4901
|
}, "withDeadline");
|
|
4902
4902
|
|
|
4903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4903
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/profile.js
|
|
4904
4904
|
var asFirstWord = /* @__PURE__ */ __name((profile) => `${profile} `, "asFirstWord");
|
|
4905
4905
|
var PLAIN_NAME = /^[A-Za-z0-9][A-Za-z0-9._-]*$/;
|
|
4906
4906
|
var isProfileName = /* @__PURE__ */ __name((word) => PLAIN_NAME.test(word), "isProfileName");
|
|
@@ -4969,10 +4969,10 @@ var sampleCommand = /* @__PURE__ */ __name((commands) => {
|
|
|
4969
4969
|
return void 0;
|
|
4970
4970
|
}, "sampleCommand");
|
|
4971
4971
|
|
|
4972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
4973
4973
|
import { existsSync as existsSync3 } from "node:fs";
|
|
4974
4974
|
|
|
4975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
4976
4976
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
4977
4977
|
try {
|
|
4978
4978
|
const url2 = new URL(value);
|
|
@@ -4982,7 +4982,7 @@ var endpoint = /* @__PURE__ */ __name((value) => {
|
|
|
4982
4982
|
}
|
|
4983
4983
|
}, "endpoint");
|
|
4984
4984
|
|
|
4985
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4985
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/models/settings.js
|
|
4986
4986
|
var MODEL_FIELDS = ["provider", "model", "base_url"];
|
|
4987
4987
|
var modelSettingsShape = record(pipe(string(), regex(/^[a-z][a-z0-9-]*$/)), strictObject({
|
|
4988
4988
|
provider: optional(picklist(["off", "openai", "anthropic"])),
|
|
@@ -5051,7 +5051,7 @@ var modelTarget = /* @__PURE__ */ __name((settings, purpose) => {
|
|
|
5051
5051
|
};
|
|
5052
5052
|
}, "modelTarget");
|
|
5053
5053
|
|
|
5054
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/analysis/settings.js
|
|
5055
5055
|
var model = pipe(string(), trim(), minLength(1), maxLength(200));
|
|
5056
5056
|
var url = pipe(string(), check(endpoint, "use an HTTP/S endpoint without credentials, query or fragment"));
|
|
5057
5057
|
var AI_FIELDS = {
|
|
@@ -5095,7 +5095,7 @@ var resolveAISettings = /* @__PURE__ */ __name((prefix, layers, env) => {
|
|
|
5095
5095
|
};
|
|
5096
5096
|
}, "resolveAISettings");
|
|
5097
5097
|
|
|
5098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5098
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/domain/duration.js
|
|
5099
5099
|
var DURATION = /^(\d+)(ms|s|m|h|d)$/;
|
|
5100
5100
|
var UNIT_MS = { ms: 1, s: 1e3, m: 6e4, h: 36e5, d: 864e5 };
|
|
5101
5101
|
var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
@@ -5109,7 +5109,7 @@ var parseDuration = /* @__PURE__ */ __name((value, source) => {
|
|
|
5109
5109
|
return ms;
|
|
5110
5110
|
}, "parseDuration");
|
|
5111
5111
|
|
|
5112
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5112
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
5113
5113
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
5114
5114
|
var e5 = huggingFace("Xenova/multilingual-e5-small", "761b726dd34fb83930e26aab4e9ac3899aa1fa78");
|
|
5115
5115
|
var gemma = huggingFace("onnx-community/embeddinggemma-300m-ONNX", "5090578d9565bb06545b4552f76e6bc2c93e4a66");
|
|
@@ -5268,7 +5268,7 @@ var rerankModel = /* @__PURE__ */ __name((id2) => {
|
|
|
5268
5268
|
var vectorModelKey = /* @__PURE__ */ __name((model2) => `local:${model2.id}:${model2.dims}`, "vectorModelKey");
|
|
5269
5269
|
var meaningFloor = /* @__PURE__ */ __name((key) => key === "local:e5-small:384" ? 0.8 : 0, "meaningFloor");
|
|
5270
5270
|
|
|
5271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/config-issues.js
|
|
5272
5272
|
import { readFileSync as readFileSync3 } from "node:fs";
|
|
5273
5273
|
var isNode = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isNode");
|
|
5274
5274
|
var SECTIONS = ["personal", "bot"];
|
|
@@ -5558,7 +5558,7 @@ var readConfigFile = /* @__PURE__ */ __name((path2) => {
|
|
|
5558
5558
|
return "issue" in parsed ? { issue: publicIssue(parsed.issue) } : parsed;
|
|
5559
5559
|
}, "readConfigFile");
|
|
5560
5560
|
|
|
5561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/default-config.js
|
|
5562
5562
|
import { existsSync as existsSync2, linkSync, mkdirSync as mkdirSync2, mkdtempSync, rmSync as rmSync2, writeFileSync as writeFileSync2 } from "node:fs";
|
|
5563
5563
|
import { dirname, join as join3 } from "node:path";
|
|
5564
5564
|
var DEFAULT_CONFIG = {
|
|
@@ -5587,7 +5587,7 @@ function ensureDefaultConfig(path2, config = DEFAULT_CONFIG) {
|
|
|
5587
5587
|
}
|
|
5588
5588
|
__name(ensureDefaultConfig, "ensureDefaultConfig");
|
|
5589
5589
|
|
|
5590
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/settings.js
|
|
5591
5591
|
var DEFAULT_LIMIT = DEFAULT_CONFIG.defaults.limit;
|
|
5592
5592
|
var DEFAULT_KEEP_RUNS_FOR_DAYS = DEFAULT_CONFIG.defaults.keep_runs_for_days;
|
|
5593
5593
|
var DEFAULT_SENDS_PER_HOUR = DEFAULT_CONFIG.defaults.sends_per_hour;
|
|
@@ -5700,7 +5700,7 @@ var settingsFor = /* @__PURE__ */ __name((app, extension = {}) => {
|
|
|
5700
5700
|
const schema = strictOf(configEntries);
|
|
5701
5701
|
const defaultsOnlyKeys = Object.keys(defaultsOnly);
|
|
5702
5702
|
const botOnlyKeys = Object.keys(BOT_ONLY_ENTRIES);
|
|
5703
|
-
const allSettings = [...Object.keys(profileEntries), ...botOnlyKeys, ...defaultsOnlyKeys].filter((setting) => app.messenger !== false || !MESSENGER_ONLY_SETTINGS.includes(setting));
|
|
5703
|
+
const allSettings = [...Object.keys(profileEntries), ...botOnlyKeys, ...defaultsOnlyKeys].filter((setting) => app.messenger !== false || !MESSENGER_ONLY_SETTINGS.includes(setting) || app.sends === true && setting === "sends_per_hour");
|
|
5704
5704
|
const PROFILE = envName(app, "PROFILE");
|
|
5705
5705
|
const PROFILE_LOCK = envName(app, "PROFILE_LOCK");
|
|
5706
5706
|
const TIMEOUT = envName(app, "TIMEOUT");
|
|
@@ -5977,7 +5977,7 @@ var given = /* @__PURE__ */ __name((value) => {
|
|
|
5977
5977
|
return trimmed === void 0 || trimmed === "" ? void 0 : trimmed;
|
|
5978
5978
|
}, "given");
|
|
5979
5979
|
|
|
5980
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5980
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/context.js
|
|
5981
5981
|
var runBudgetOf = /* @__PURE__ */ __name((command, requests) => {
|
|
5982
5982
|
const { deadline, signal, app } = environmentOf(command);
|
|
5983
5983
|
const now = deadline?.();
|
|
@@ -6094,7 +6094,7 @@ var commandPath = /* @__PURE__ */ __name((command) => {
|
|
|
6094
6094
|
return words.join(" ");
|
|
6095
6095
|
}, "commandPath");
|
|
6096
6096
|
|
|
6097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/effects.js
|
|
6098
6098
|
var REMOTE_READ = { remote: "read", local: "read" };
|
|
6099
6099
|
var FETCH = { remote: "read", local: "write" };
|
|
6100
6100
|
var REMOTE_WRITE = { remote: "write", local: "write" };
|
|
@@ -6196,7 +6196,7 @@ var refuseUnderReadOnly = /* @__PURE__ */ __name((command, what) => {
|
|
|
6196
6196
|
throw readOnlyRefusal(lock, what);
|
|
6197
6197
|
}, "refuseUnderReadOnly");
|
|
6198
6198
|
|
|
6199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/images/picture/models.js
|
|
6200
6200
|
import { join as join4 } from "node:path";
|
|
6201
6201
|
var clip = /* @__PURE__ */ __name((name) => `https://huggingface.co/Xenova/clip-vit-base-patch32/resolve/d15189d7028b43f1d3e65039190477f6af591c2a/${name}`, "clip");
|
|
6202
6202
|
var IMAGE_MODELS = [
|
|
@@ -6250,7 +6250,7 @@ var imageModelsDirectory = /* @__PURE__ */ __name((env = process.env) => sharedM
|
|
|
6250
6250
|
var placedImage = /* @__PURE__ */ __name((model2, directory) => model2.files.map((file) => [file, join4(directory, model2.id, file.name)]), "placedImage");
|
|
6251
6251
|
var isImageModelInstalled = /* @__PURE__ */ __name((model2, directory) => filesPresent(placedImage(model2, directory)), "isImageModelInstalled");
|
|
6252
6252
|
|
|
6253
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6253
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/steps.js
|
|
6254
6254
|
var STEPS2 = defineSteps([
|
|
6255
6255
|
...STEPS,
|
|
6256
6256
|
{
|
|
@@ -6517,7 +6517,7 @@ var stepLine = /* @__PURE__ */ __name((root, step) => {
|
|
|
6517
6517
|
].join(" ");
|
|
6518
6518
|
}, "stepLine");
|
|
6519
6519
|
|
|
6520
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/provider-refs.js
|
|
6521
6521
|
var HIDDEN = /* @__PURE__ */ new Set(["providerRef", "provider_ref"]);
|
|
6522
6522
|
var withoutProviderRefs = /* @__PURE__ */ __name((value) => strip(value), "withoutProviderRefs");
|
|
6523
6523
|
var strip = /* @__PURE__ */ __name((value) => {
|
|
@@ -6531,7 +6531,7 @@ var strip = /* @__PURE__ */ __name((value) => {
|
|
|
6531
6531
|
return Object.fromEntries(Object.entries(value).flatMap(([key, inner]) => HIDDEN.has(key) ? [] : [[key, strip(inner)]]));
|
|
6532
6532
|
}, "strip");
|
|
6533
6533
|
|
|
6534
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6534
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/cli/envelope.js
|
|
6535
6535
|
var answerSchema = /* @__PURE__ */ __name((item = unknown()) => union([listEnvelopeSchema(item), itemEnvelopeSchema(item)]), "answerSchema");
|
|
6536
6536
|
var capped2 = /* @__PURE__ */ __name((steps) => steps.length > 0 ? { next: steps.slice(0, MAX_NEXT_STEPS) } : {}, "capped");
|
|
6537
6537
|
var listOf = /* @__PURE__ */ __name((command, input) => {
|
|
@@ -6665,7 +6665,7 @@ var printItem = /* @__PURE__ */ __name(({ renderer, format }, item) => {
|
|
|
6665
6665
|
renderer.result(item);
|
|
6666
6666
|
}, "printItem");
|
|
6667
6667
|
|
|
6668
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/entities/store-table.js
|
|
6669
6669
|
var TABLE_KINDS = ["data", "search_index", "search_index_part", "internal"];
|
|
6670
6670
|
var storeTable = strictObject({
|
|
6671
6671
|
name: text,
|
|
@@ -6674,7 +6674,7 @@ var storeTable = strictObject({
|
|
|
6674
6674
|
bytes: optional(nullable(count))
|
|
6675
6675
|
});
|
|
6676
6676
|
|
|
6677
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6677
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/runs/record-log.js
|
|
6678
6678
|
var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) => {
|
|
6679
6679
|
const run = currentRun();
|
|
6680
6680
|
const trace = traceId ?? run.traceId;
|
|
@@ -6688,7 +6688,7 @@ var recordLogFor = /* @__PURE__ */ __name((to, app, { traceId, command } = {}) =
|
|
|
6688
6688
|
}));
|
|
6689
6689
|
}, "recordLogFor");
|
|
6690
6690
|
|
|
6691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6691
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/entities/attachment.js
|
|
6692
6692
|
var attachment = strictObject({
|
|
6693
6693
|
/** The message it came with, as a locator; absent inside that message. */
|
|
6694
6694
|
message: optional(reference),
|
|
@@ -6725,7 +6725,7 @@ var attachment = strictObject({
|
|
|
6725
6725
|
}))))
|
|
6726
6726
|
});
|
|
6727
6727
|
|
|
6728
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6728
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/entities/task.js
|
|
6729
6729
|
var closeSuggestion = strictObject({
|
|
6730
6730
|
as: picklist(["done", "dismissed"]),
|
|
6731
6731
|
/** The agent's name. */
|
|
@@ -6746,6 +6746,9 @@ var task = strictObject({
|
|
|
6746
6746
|
state: picklist(TASK_STATES),
|
|
6747
6747
|
origin: optional(picklist(TASK_ORIGINS)),
|
|
6748
6748
|
project: optional(nullable(text)),
|
|
6749
|
+
/** The project's key and name, as `tasks counts` names it. */
|
|
6750
|
+
project_key: optional(nullable(text)),
|
|
6751
|
+
project_name: optional(nullable(text)),
|
|
6749
6752
|
account: optional(text),
|
|
6750
6753
|
/** The chat it came from, as a `chat:` reference. */
|
|
6751
6754
|
chat: optional(nullable(reference)),
|
|
@@ -6778,7 +6781,7 @@ var task = strictObject({
|
|
|
6778
6781
|
updated_at: optional(time)
|
|
6779
6782
|
});
|
|
6780
6783
|
|
|
6781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/entities/agenda.js
|
|
6782
6785
|
var agendaChat = strictObject({
|
|
6783
6786
|
chat: reference,
|
|
6784
6787
|
title: nullable(text),
|
|
@@ -6848,7 +6851,7 @@ var agenda = strictObject({
|
|
|
6848
6851
|
unlisted_categories: array(strictObject({ name: text, open_tasks: number() }))
|
|
6849
6852
|
});
|
|
6850
6853
|
|
|
6851
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/botcheck/reasons.js
|
|
6852
6855
|
var WEIGHTS = {
|
|
6853
6856
|
bot: 3,
|
|
6854
6857
|
scam: 3,
|
|
@@ -6873,7 +6876,7 @@ var LINK = /https?:\/\/|t\.me\/|www\./i;
|
|
|
6873
6876
|
var DIGITS = /\d{5,}/;
|
|
6874
6877
|
var oddName = /* @__PURE__ */ __name((name) => !name?.trim() || DIGITS.test(name) || LINK.test(name), "oddName");
|
|
6875
6878
|
|
|
6876
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/entities/conversation.js
|
|
6877
6880
|
var conversation = strictObject({
|
|
6878
6881
|
id,
|
|
6879
6882
|
chat: reference,
|
|
@@ -6888,7 +6891,7 @@ var conversation = strictObject({
|
|
|
6888
6891
|
rules_version: count
|
|
6889
6892
|
});
|
|
6890
6893
|
|
|
6891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6894
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.530.0_@wirecat+cli-base@0.71.0_commander@15.0.0_esbuild@0.28.2_type_f01b7e2db7d22734373a522c868220f7/node_modules/@wirecat/cli-core/dist/entities/tagging.js
|
|
6892
6895
|
var tagging = strictObject({
|
|
6893
6896
|
tag: text,
|
|
6894
6897
|
type: picklist(TAG_TYPES),
|