@wirecat/mail-cli 0.23.0 → 0.23.1
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/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-CI32WFEV.js → all-profiles-FJHJCGRU.js} +7 -7
- package/dist/bundle/{anthropic-ICSOMJIN.js → anthropic-AFL7NKVZ.js} +2 -2
- package/dist/bundle/{app-server-3F4ZB7DH.js → app-server-WKCBJMHI.js} +41 -41
- package/dist/bundle/{bun-7AHNFZMZ.js → bun-HQATAQJQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-UIWRS4HI.js → bun-sqlite-4ECAV7OU.js} +2 -2
- package/dist/bundle/{chunk-D6WTKSRA.js → chunk-2HXHAFRP.js} +2 -2
- package/dist/bundle/{chunk-XP5FBDIG.js → chunk-34743C4C.js} +1 -1
- package/dist/bundle/{chunk-SETCGPFG.js → chunk-3OZKDC6Y.js} +7 -6
- package/dist/bundle/{chunk-ETIUB2DF.js → chunk-3UFD76IR.js} +4 -4
- package/dist/bundle/{chunk-UA4BOLIY.js → chunk-4IFX4HV2.js} +4 -4
- package/dist/bundle/{chunk-7SIWMF77.js → chunk-4IWJARFA.js} +1 -1
- package/dist/bundle/{chunk-WQRX4RQS.js → chunk-4YJJQNNJ.js} +3 -3
- package/dist/bundle/{chunk-5Y2WRUYP.js → chunk-5UKBUI4I.js} +1 -1
- package/dist/bundle/{chunk-7OVVX4F4.js → chunk-76RTQYJQ.js} +1 -1
- package/dist/bundle/{chunk-TEL2OMS5.js → chunk-7YRKUEYE.js} +70 -49
- package/dist/bundle/{chunk-I3YNNSGB.js → chunk-AGNAT7CM.js} +1 -1
- package/dist/bundle/{chunk-4YTX5YAU.js → chunk-B6QMMRIM.js} +175 -151
- package/dist/bundle/{chunk-5J4WNTTM.js → chunk-BVJQBAGL.js} +9 -9
- package/dist/bundle/{chunk-NEDYKKJJ.js → chunk-CBWA2T3N.js} +2 -2
- package/dist/bundle/{chunk-R4RAWEMV.js → chunk-CCYHBNRL.js} +14 -14
- package/dist/bundle/{chunk-ZYHBMDNU.js → chunk-CUOCDJFI.js} +7 -7
- package/dist/bundle/{chunk-HN6PB7F5.js → chunk-CYQVWITQ.js} +16 -16
- package/dist/bundle/{chunk-SCH3NC5X.js → chunk-E7ZVKQHG.js} +2 -2
- package/dist/bundle/{chunk-B4MWHI2V.js → chunk-EXPR6QAX.js} +25 -11
- package/dist/bundle/{chunk-5AQ4S4TZ.js → chunk-FWFNUJQD.js} +17 -17
- package/dist/bundle/{chunk-UTLJQG6Q.js → chunk-GJNFNC76.js} +7 -7
- package/dist/bundle/{chunk-S2U5BXWS.js → chunk-HOKGIYUO.js} +22 -2
- package/dist/bundle/{chunk-HGV7DSSA.js → chunk-KKGX7JMX.js} +2 -2
- package/dist/bundle/{chunk-7DFWXIY5.js → chunk-LQDMUMA2.js} +222 -222
- package/dist/bundle/{chunk-FIZWQTUC.js → chunk-M7RGG3UU.js} +2 -2
- package/dist/bundle/{chunk-HRIYU2HJ.js → chunk-MBKNL5TX.js} +433 -94
- package/dist/bundle/{chunk-5Z7LZAVP.js → chunk-MUDHCYN4.js} +5 -5
- package/dist/bundle/{chunk-KNRONMVG.js → chunk-NKBAZ4VC.js} +1 -1
- package/dist/bundle/{chunk-JDKC7EXM.js → chunk-NMGF3UOZ.js} +27 -27
- package/dist/bundle/{chunk-FVKZ55I2.js → chunk-NOA6E6MM.js} +1652 -1216
- package/dist/bundle/{chunk-7ZDH2XEY.js → chunk-OJCUSHZG.js} +3 -3
- package/dist/bundle/{chunk-JO4BJYVE.js → chunk-OU5CWCG2.js} +1 -1
- package/dist/bundle/{chunk-NKDYHAHP.js → chunk-PMIKRELC.js} +2 -2
- package/dist/bundle/{chunk-XV3M3NAN.js → chunk-QR7JZM3D.js} +1 -1
- package/dist/bundle/{chunk-KJQZXCNK.js → chunk-QUKD5SO2.js} +3 -3
- package/dist/bundle/{chunk-AFPETMXZ.js → chunk-QV3M2MHG.js} +8 -8
- package/dist/bundle/{chunk-6FSLEARF.js → chunk-R554W7ZO.js} +1 -1
- package/dist/bundle/{chunk-2BAO4T4Z.js → chunk-R5MYOLQP.js} +12 -12
- package/dist/bundle/{chunk-ELGEHZK2.js → chunk-ROKTS7WM.js} +1 -1
- package/dist/bundle/{chunk-5QQOUYNA.js → chunk-S5OTP7XS.js} +2 -2
- package/dist/bundle/{chunk-B6GITVDX.js → chunk-SBGXKM4U.js} +4 -4
- package/dist/bundle/{chunk-5AS5N7V5.js → chunk-SNTLN2QT.js} +1 -1
- package/dist/bundle/{chunk-FHCOGR7S.js → chunk-SR3ADLGX.js} +2 -2
- package/dist/bundle/{chunk-SGMENSI6.js → chunk-UMXVQIGD.js} +24 -14
- package/dist/bundle/{chunk-4PNIZUEC.js → chunk-V3TDQUXD.js} +23 -23
- package/dist/bundle/{chunk-BT7UUI6E.js → chunk-V7CFZ773.js} +2 -2
- package/dist/bundle/{chunk-4TKQIXND.js → chunk-VAMCRP47.js} +1 -1
- package/dist/bundle/{chunk-AHRHP2H2.js → chunk-VFKX5UMJ.js} +5 -5
- package/dist/bundle/{chunk-CNYQ3TTZ.js → chunk-VYHIX3OP.js} +22 -22
- package/dist/bundle/{chunk-OMW37FXK.js → chunk-VYIIX6VN.js} +1 -1
- package/dist/bundle/{chunk-RIAZTS6C.js → chunk-WN4HP7IZ.js} +10 -10
- package/dist/bundle/{chunk-IMIY7HQB.js → chunk-ZXIPJF3Y.js} +1 -1
- package/dist/bundle/{command-contract-UIRWJVEY.js → command-contract-IIHBNF7J.js} +14 -14
- package/dist/bundle/{decode-BJXABRAN.js → decode-QXKTMOTH.js} +2 -2
- package/dist/bundle/{dist-LLEA6R4V.js → dist-5FX36DAW.js} +18 -10
- package/dist/bundle/{echarts-YPTKBOZV.js → echarts-HHUM43TU.js} +2 -2
- package/dist/bundle/{embed-DMROTI5M.js → embed-SRZSDZVI.js} +3 -3
- package/dist/bundle/{embedder-DWMHXCHJ.js → embedder-WZIZCWLX.js} +6 -6
- package/dist/bundle/{first-run-FQOEF2IO.js → first-run-6DVWZ3JQ.js} +5 -5
- package/dist/bundle/first-screen-SRZ7NYHZ.js +33 -0
- package/dist/bundle/{instructions-OGKMROLD.js → instructions-UWONE6UT.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-HIKYE546.js → node-HLAOYJDB.js} +2 -2
- package/dist/bundle/{node-sqlite-3GJAG7VO.js → node-sqlite-RO66I7W6.js} +3 -3
- package/dist/bundle/{oauth-H3DB6IHI.js → oauth-VNLB2TET.js} +4 -4
- package/dist/bundle/{open-DJ2PRG74.js → open-QQSG343L.js} +2 -2
- package/dist/bundle/{openai-MDBRYB55.js → openai-JTFC7OGF.js} +10 -10
- package/dist/bundle/{process-4LBD72JH.js → process-3CZAXR6P.js} +1 -1
- package/dist/bundle/{program-F6WK6RX4.js → program-XTOS4RAM.js} +1504 -817
- package/dist/bundle/{prompt-UNPUG6SO.js → prompt-HGQ6GPYL.js} +2 -2
- package/dist/bundle/{recognize-DMIO4PDB.js → recognize-2SHMNEIZ.js} +1 -1
- package/dist/bundle/{remote-24HJA72D.js → remote-GBQC3433.js} +4 -4
- package/dist/bundle/{rerank-PTNCHHIU.js → rerank-FQHQXFNR.js} +4 -4
- package/dist/bundle/{serve-T6JHM2YD.js → serve-THU67QUZ.js} +6 -6
- package/dist/bundle/{server-BWEYRUR3.js → server-LOT3CLYX.js} +33 -33
- package/dist/bundle/server-VKMUX7ZT.js +65 -0
- package/dist/bundle/{sqlite-runtime-ZJ4EH5ZM.js → sqlite-runtime-NOOUMBC4.js} +3 -3
- package/dist/bundle/{state-KSN4OFYW.js → state-KSKZCV2U.js} +3 -3
- package/dist/bundle/{store-OIEZJEA7.js → store-BAKSHTKF.js} +18 -12
- package/dist/bundle/{store-GVBW2ZFK.js → store-OHNZOQ7U.js} +20 -16
- package/dist/bundle/store-maintenance-command-ROQHJVEA.js +54 -0
- package/dist/commands/rules.d.ts.map +1 -1
- package/dist/commands/rules.js +29 -7
- package/dist/commands/rules.js.map +1 -1
- package/dist/commands/sync.d.ts +0 -1
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +8 -2
- package/dist/commands/sync.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/first-screen-B6LF5464.js +0 -33
- package/dist/bundle/server-VUQNR5ZD.js +0 -65
- package/dist/bundle/store-maintenance-command-KJ54HLUQ.js +0 -54
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
WALLET_KINDS,
|
|
17
17
|
formatMeetingReference,
|
|
18
18
|
parseMeetingReference
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7YRKUEYE.js";
|
|
20
20
|
import {
|
|
21
21
|
CliError,
|
|
22
22
|
singleLine
|
|
@@ -25,7 +25,7 @@ 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.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/locator.js
|
|
29
29
|
var SCHEME = "msg:";
|
|
30
30
|
var formatLocator = /* @__PURE__ */ __name(({ provider, account, chat, message }) => SCHEME + [provider, account, chat, message].map(encodeURIComponent).join("/"), "formatLocator");
|
|
31
31
|
var isLocator = /* @__PURE__ */ __name((reference) => reference.trim().startsWith(SCHEME), "isLocator");
|
|
@@ -39,7 +39,7 @@ var parseLocator = /* @__PURE__ */ __name((reference) => {
|
|
|
39
39
|
return { provider, account, chat, message };
|
|
40
40
|
}, "parseLocator");
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/references.js
|
|
43
43
|
var SIMPLE_REFERENCES = [
|
|
44
44
|
"note",
|
|
45
45
|
"document",
|
|
@@ -195,7 +195,7 @@ var looksLikeReference = /* @__PURE__ */ __name((text2) => {
|
|
|
195
195
|
return match !== null && byPrefix.has(match[1]);
|
|
196
196
|
}, "looksLikeReference");
|
|
197
197
|
|
|
198
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
198
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/providers.js
|
|
199
199
|
var KINDS = ["messages", "mail", "notes", "documents", "meetings", "events", "crm"];
|
|
200
200
|
var MESSENGER_OPENS = { chat: "messages list", message: "messages show", contact: "contacts show" };
|
|
201
201
|
var CRM_OPENS = { deal: "deals show", lead: "leads show", pipeline: "pipelines show" };
|
|
@@ -362,7 +362,7 @@ var holdsKind = /* @__PURE__ */ __name((provider, kind2) => kindsIn(provider).in
|
|
|
362
362
|
var holdsKindOf = /* @__PURE__ */ __name((provider, kind2) => kindIn(provider) === void 0 ? kind2 === "messages" : holdsKind(provider, kind2), "holdsKindOf");
|
|
363
363
|
var kindOf = /* @__PURE__ */ __name((provider) => kindIn(provider) ?? "messages", "kindOf");
|
|
364
364
|
|
|
365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
|
|
366
366
|
var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
367
367
|
var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
368
368
|
var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
@@ -412,7 +412,7 @@ var arrayOf = /* @__PURE__ */ __name((item, maxItems, description) => ({
|
|
|
412
412
|
}), "arrayOf");
|
|
413
413
|
var isObject = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isObject");
|
|
414
414
|
|
|
415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/record-types.js
|
|
416
416
|
var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
|
|
417
417
|
var PARTY = ["person", "organization"];
|
|
418
418
|
var ORGANIZATION = ["organization"];
|
|
@@ -785,7 +785,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
|
|
|
785
785
|
var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
|
|
786
786
|
var article = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
|
|
787
787
|
|
|
788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/counters.js
|
|
789
789
|
var COUNTER_FIELDS = ["views", "reactions", "comments"];
|
|
790
790
|
var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
|
|
791
791
|
var counterValue = /* @__PURE__ */ __name((message, field) => {
|
|
@@ -822,7 +822,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
|
|
|
822
822
|
return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
|
|
823
823
|
}, "counterFreshness");
|
|
824
824
|
|
|
825
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
825
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
|
|
826
826
|
var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
|
|
827
827
|
var AUTHOR_MEASURES = [
|
|
828
828
|
"messages",
|
|
@@ -962,14 +962,14 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
|
|
|
962
962
|
var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
|
|
963
963
|
var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
|
|
964
964
|
|
|
965
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
965
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/crm.js
|
|
966
966
|
var CRM_KINDS = ["organization", "person", "deal", "lead"];
|
|
967
967
|
var isItemKind = /* @__PURE__ */ __name((kind2) => kind2 === "deal" || kind2 === "lead", "isItemKind");
|
|
968
968
|
|
|
969
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
969
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/records.js
|
|
970
970
|
import { createHash } from "node:crypto";
|
|
971
971
|
|
|
972
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
972
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
|
|
973
973
|
var PHONE_PLANS = [
|
|
974
974
|
{
|
|
975
975
|
country: "us",
|
|
@@ -1349,7 +1349,7 @@ var PHONE_PLANS = [
|
|
|
1349
1349
|
}
|
|
1350
1350
|
];
|
|
1351
1351
|
|
|
1352
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1352
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/phones.js
|
|
1353
1353
|
var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
|
|
1354
1354
|
var DEFAULT_PHONE_COUNTRIES = ["ru"];
|
|
1355
1355
|
var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
|
|
@@ -1390,7 +1390,7 @@ var nationalPhone = /* @__PURE__ */ __name((digits, countries, { anyType }) => {
|
|
|
1390
1390
|
return void 0;
|
|
1391
1391
|
}, "nationalPhone");
|
|
1392
1392
|
|
|
1393
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1393
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/records.js
|
|
1394
1394
|
var RECORDS_SCHEMA_VERSION = 1;
|
|
1395
1395
|
var RECORD_OPERATIONS = ["upsert", "delete"];
|
|
1396
1396
|
var LINE_OPTIONS = ["text", "products"];
|
|
@@ -1561,7 +1561,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
|
|
|
1561
1561
|
return found;
|
|
1562
1562
|
}, "fieldReferences");
|
|
1563
1563
|
|
|
1564
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1564
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/google-documents.js
|
|
1565
1565
|
var LINK = /https?:\/\/(?:(?:docs|drive|sheets|slides)\.google\.com|forms\.gle)(?:[/?#][^\s<>"'`]*)?/gi;
|
|
1566
1566
|
var ID = /^[\w-]{10,}$/;
|
|
1567
1567
|
var trimUrl = /* @__PURE__ */ __name((url) => {
|
|
@@ -1603,7 +1603,7 @@ var googleDocumentLinks = /* @__PURE__ */ __name((text2) => [...text2.matchAll(L
|
|
|
1603
1603
|
return { url, documentId: googleDocumentId(url) };
|
|
1604
1604
|
}), "googleDocumentLinks");
|
|
1605
1605
|
|
|
1606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/mentions.js
|
|
1607
1607
|
import { domainToUnicode } from "node:url";
|
|
1608
1608
|
|
|
1609
1609
|
// node_modules/.pnpm/psl@1.15.0/node_modules/psl/dist/psl.mjs
|
|
@@ -11625,7 +11625,7 @@ var oa = /* @__PURE__ */ __name((e) => {
|
|
|
11625
11625
|
}, "oa");
|
|
11626
11626
|
var na = { parse: O, get: aa, isValid: oa };
|
|
11627
11627
|
|
|
11628
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/places.js
|
|
11629
11629
|
var BEFORE = [
|
|
11630
11630
|
[/^(?:ул\.?|улиц[аеыу]|улицей)$/iu, "\u0443\u043B\u0438\u0446\u0430"],
|
|
11631
11631
|
[/^(?:пр-т|просп\.?|проспект[аеу]?)$/iu, "\u043F\u0440\u043E\u0441\u043F\u0435\u043A\u0442"],
|
|
@@ -11885,7 +11885,7 @@ var findPlaces = /* @__PURE__ */ __name((text2) => {
|
|
|
11885
11885
|
return found.sort((a, b) => a.start - b.start);
|
|
11886
11886
|
}, "findPlaces");
|
|
11887
11887
|
|
|
11888
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11888
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/domain/mentions.js
|
|
11889
11889
|
var MENTION_KINDS = ["phone", "email", "url", "document", "person-name", "place"];
|
|
11890
11890
|
var MENTION_VERSIONS = {
|
|
11891
11891
|
phone: 1,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/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.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/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.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/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.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/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.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/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.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/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.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/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"];
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
QUERY_REASONS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7YRKUEYE.js";
|
|
6
6
|
import {
|
|
7
7
|
defineReasons
|
|
8
8
|
} from "./chunk-GOMJNH56.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/errors/reasons.js
|
|
14
14
|
var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
|
|
15
15
|
var QUERY = [
|
|
16
16
|
["query.aborted", "the search was stopped before it finished"],
|
|
@@ -216,6 +216,11 @@ var OTHERS = [
|
|
|
216
216
|
"recovering the store needs the sqlite3 program, 3.43 or newer, with its .recover command"
|
|
217
217
|
],
|
|
218
218
|
validation("store.recovery-failed", "the recovered store did not pass its check, so the store was left as it was"),
|
|
219
|
+
[
|
|
220
|
+
"serve.outdated",
|
|
221
|
+
"configuration_error",
|
|
222
|
+
"the store or the installed version is newer than this serve; it stopped so its unit starts the installed one"
|
|
223
|
+
],
|
|
219
224
|
validation("store.recovering", "another recovery of the store is running; wait for it to finish"),
|
|
220
225
|
validation("store.changed-during-recovery", "the store was written to during the recovery, so it was left as it was"),
|
|
221
226
|
[
|
|
@@ -347,6 +352,12 @@ var OTHERS = [
|
|
|
347
352
|
"conflict",
|
|
348
353
|
"the owner separated this identity from that person; only the owner links it again"
|
|
349
354
|
],
|
|
355
|
+
["identity.owner-only", "permission_error", "only the owner undoes a merge or splits a person"],
|
|
356
|
+
[
|
|
357
|
+
"identity.stale",
|
|
358
|
+
"conflict",
|
|
359
|
+
"an identity of the merge was merged on into another person since; undo that merge first"
|
|
360
|
+
],
|
|
350
361
|
["transcription.no-key", "authentication_error", "no OpenAI key is set for transcription"],
|
|
351
362
|
validation("transcription.too-large", "the audio is over the transcription provider's size limit"),
|
|
352
363
|
[
|
|
@@ -388,6 +399,8 @@ var OTHERS = [
|
|
|
388
399
|
validation("relationship.role-built-in", "a built-in role stays on its list"),
|
|
389
400
|
validation("relationship.role-in-use", "relationships still hold that role; change them first (details.count)"),
|
|
390
401
|
validation("relationship.role-unknown", "the role is not one the relationship takes; the message lists them"),
|
|
402
|
+
validation("relationship.engagement-ends", "only a person's member-of a project takes an engagement level"),
|
|
403
|
+
validation("relationship.engagement-unknown", "the engagement level is not none, low, medium or high"),
|
|
391
404
|
validation("ranking.invalid", "the ranking is not valid"),
|
|
392
405
|
validation("ref.malformed", "the reference has a known kind but not its shape"),
|
|
393
406
|
validation("ref.unknown-kind", "the text names no kind of reference"),
|
|
@@ -405,6 +418,13 @@ var OTHERS = [
|
|
|
405
418
|
validation("tag-review.required", "the tag needs the owner's review first"),
|
|
406
419
|
["tag-review.stale", "configuration_error", "the tag review changed meanwhile"],
|
|
407
420
|
validation("tag.invalid", "the tag is not valid"),
|
|
421
|
+
validation("template.unknown-key", "there is no message template by that key"),
|
|
422
|
+
validation("template.no-renderer", "nothing renders that template key yet, so a template for it cannot be checked"),
|
|
423
|
+
validation("template.unknown-language", "cli-core ships no template in that language, so one would never be used"),
|
|
424
|
+
validation("template.check-failed", "the template failed its check and was not saved; the message says why"),
|
|
425
|
+
validation("template.no-history", "the template has no earlier body to put back"),
|
|
426
|
+
validation("template.no-editor", "no editor is set: set VISUAL or EDITOR, or pass the template with --file"),
|
|
427
|
+
["template.owner-only", "permission_error", "only the owner changes a message template, not an agent"],
|
|
408
428
|
["reactions.list-hidden", "permission_error", "the chat does not let its members see who reacted"],
|
|
409
429
|
["reactions.broadcast", "permission_error", "a channel does not show who reacted to its posts"],
|
|
410
430
|
validation("task.external-id", "an external id is <service>:<id>, such as avito:4512345678"),
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
agentOf,
|
|
30
30
|
clientHash,
|
|
31
31
|
currentCaller
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CUOCDJFI.js";
|
|
33
33
|
import {
|
|
34
34
|
__name
|
|
35
35
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -541,7 +541,7 @@ function toError(value) {
|
|
|
541
541
|
}
|
|
542
542
|
__name(toError, "toError");
|
|
543
543
|
|
|
544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.618.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_89df442a19027064da492ef27322716d/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
545
545
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
546
546
|
const client = caller?.agent?.client?.name;
|
|
547
547
|
if (client && client !== "unknown")
|