@wirecat/amo-cli 0.4.0 → 0.5.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 +33 -0
- package/contracts/wirecat.json +2 -1
- package/dist/amo/allow-list.d.ts +1 -1
- package/dist/amo/allow-list.d.ts.map +1 -1
- package/dist/amo/operation.d.ts +1 -1
- package/dist/amo/operation.d.ts.map +1 -1
- package/dist/bin/amo.js +2 -2
- package/dist/bundle/agent-EFMUK732.js +41 -0
- package/dist/bundle/{all-profiles-PRNXEZRH.js → all-profiles-PIWUQWBA.js} +11 -11
- package/dist/bundle/amo.js +28 -28
- package/dist/bundle/{anthropic-FDI24DU2.js → anthropic-47CMXBPQ.js} +5 -5
- package/dist/bundle/{app-server-WAKJVDLN.js → app-server-QRBQODF2.js} +70 -69
- package/dist/bundle/areas-QVHVU57Z.js +63 -0
- package/dist/bundle/{bun-YPXUXMBI.js → bun-OPDGMZZQ.js} +2 -2
- package/dist/bundle/{bun-sqlite-UBQ5M47X.js → bun-sqlite-7I4X7CZW.js} +6 -6
- package/dist/bundle/{chunk-SFZVMKB6.js → chunk-2JHVQMVC.js} +1 -1
- package/dist/bundle/{chunk-SNBYFQHT.js → chunk-2XBDILVW.js} +1 -1
- package/dist/bundle/{chunk-BCIZAUDV.js → chunk-3DEQUYEG.js} +9 -9
- package/dist/bundle/{chunk-2AIG2SSJ.js → chunk-3GX6KM2E.js} +1661 -164
- package/dist/bundle/{chunk-5II6TAJE.js → chunk-3HC5F3P7.js} +1 -1
- package/dist/bundle/{chunk-DWD3KDJA.js → chunk-3PYE55JY.js} +1 -1
- package/dist/bundle/{chunk-SMM7GS4Q.js → chunk-3YM4B2GT.js} +1 -1
- package/dist/bundle/{chunk-XEYT2EQT.js → chunk-43OW5NTG.js} +6 -6
- package/dist/bundle/{chunk-HDZNSOV5.js → chunk-43PMSR33.js} +13 -9
- package/dist/bundle/{chunk-EBNCUQLV.js → chunk-4N7PP76S.js} +1 -1
- package/dist/bundle/{chunk-WAFB3IWJ.js → chunk-4VN7RI4I.js} +5 -5
- package/dist/bundle/{chunk-CEBX63XY.js → chunk-57HFPNMF.js} +8 -8
- package/dist/bundle/{chunk-Z2B3VNRI.js → chunk-5UTB3ADZ.js} +11 -11
- package/dist/bundle/{chunk-PLU2IQXC.js → chunk-633NQY2R.js} +3 -3
- package/dist/bundle/{chunk-NKYWQTS2.js → chunk-63N46DJU.js} +216 -233
- package/dist/bundle/{chunk-5HZMXHRH.js → chunk-6D4VWSJD.js} +6 -6
- package/dist/bundle/{chunk-V2QWX6B3.js → chunk-6JTHXWPE.js} +3 -3
- package/dist/bundle/{chunk-YREKMP24.js → chunk-6QGUK3H7.js} +4 -4
- package/dist/bundle/{chunk-4PQECIU2.js → chunk-6WS6GJ4V.js} +2 -2
- package/dist/bundle/{chunk-23AQD7JU.js → chunk-7IR2G5XY.js} +16 -16
- package/dist/bundle/{chunk-OYMHPQF7.js → chunk-7IWIFVXH.js} +4 -4
- package/dist/bundle/{chunk-YHVHDRED.js → chunk-ABX7BBS4.js} +6 -6
- package/dist/bundle/{chunk-3K6T2G52.js → chunk-ADTI5RUO.js} +6 -6
- package/dist/bundle/{chunk-YFRTEJ6V.js → chunk-AKRIUNYP.js} +7 -7
- package/dist/bundle/{chunk-KBAOJISR.js → chunk-BIKOE2IW.js} +7 -7
- package/dist/bundle/{chunk-TIR3AB35.js → chunk-BVVMIAQ6.js} +759 -694
- package/dist/bundle/{chunk-M54YKD3I.js → chunk-CGW5R4UD.js} +7 -7
- package/dist/bundle/{chunk-CYHIM5SL.js → chunk-D4NE7EON.js} +3 -3
- package/dist/bundle/{chunk-TCSVW7BA.js → chunk-DNCLQPOM.js} +1 -1
- package/dist/bundle/{chunk-WASBOYI2.js → chunk-DPV53EZC.js} +4 -4
- package/dist/bundle/{chunk-VEFAYLKX.js → chunk-DQ6S5TFZ.js} +185 -114
- package/dist/bundle/{chunk-GMHRPX5M.js → chunk-DSJ6EAOA.js} +61 -61
- package/dist/bundle/{chunk-GQKEMBM6.js → chunk-DVZ75WZJ.js} +121 -36
- package/dist/bundle/{chunk-SHOSFYI7.js → chunk-EHK73OSW.js} +38 -24
- package/dist/bundle/{chunk-KQZTX4LM.js → chunk-FNV5HLHX.js} +17 -17
- package/dist/bundle/{chunk-RQPB2BSH.js → chunk-FV4GQNIK.js} +2 -2
- package/dist/bundle/{chunk-E3EWS6DF.js → chunk-G2TU5RYY.js} +6 -6
- package/dist/bundle/{chunk-WEWJA42Q.js → chunk-GDK7ETSB.js} +12 -12
- package/dist/bundle/{chunk-KORZEYZN.js → chunk-GGMAIIVE.js} +1 -1
- package/dist/bundle/{chunk-U46RNOEQ.js → chunk-GLYWZQY4.js} +3 -3
- package/dist/bundle/{chunk-KRD375P7.js → chunk-H4AFNENN.js} +34 -29
- package/dist/bundle/{chunk-SZX7EPPY.js → chunk-HOF7GQWW.js} +4 -4
- package/dist/bundle/{chunk-DWA5TZMP.js → chunk-HSPEU6S7.js} +8 -8
- package/dist/bundle/{chunk-VG2ERHFJ.js → chunk-IA7LLLEI.js} +3 -3
- package/dist/bundle/{chunk-O3WE5IGP.js → chunk-IB55P46L.js} +6 -6
- package/dist/bundle/{chunk-2UJ7ZZZC.js → chunk-IG2TJQJ7.js} +3 -3
- package/dist/bundle/{chunk-ZJC2XJQC.js → chunk-JG6LCSEX.js} +13 -13
- package/dist/bundle/{chunk-ELAKOEIO.js → chunk-JLXXUEAM.js} +2 -2
- package/dist/bundle/{chunk-UCM7C773.js → chunk-JXT6GY4V.js} +158 -61
- package/dist/bundle/{chunk-ABMPZL2P.js → chunk-K7YY6SXR.js} +19 -15
- package/dist/bundle/{chunk-TEGQVVCZ.js → chunk-KEKXERBE.js} +14581 -11880
- package/dist/bundle/{chunk-GJBOZAUD.js → chunk-KZ2FIDI3.js} +3 -3
- package/dist/bundle/{chunk-IBEHYGG6.js → chunk-KZN2BG3P.js} +8 -8
- package/dist/bundle/{chunk-VG26HDKH.js → chunk-LKH3UKLO.js} +4 -4
- package/dist/bundle/{chunk-PIOR6PIO.js → chunk-LZPKBN3C.js} +2 -2
- package/dist/bundle/{chunk-5SJEJYQZ.js → chunk-M6VZXAJC.js} +3 -3
- package/dist/bundle/{chunk-NFWD4QX3.js → chunk-MDEPJZYJ.js} +2 -2
- package/dist/bundle/{chunk-QGFURWEP.js → chunk-NB7EOAUZ.js} +8 -1
- package/dist/bundle/{chunk-GBQ76X6T.js → chunk-NISH4UXM.js} +2 -2
- package/dist/bundle/{chunk-MW7HUD6R.js → chunk-NSKMNIY6.js} +9 -9
- package/dist/bundle/chunk-PPSAWFJD.js +1293 -0
- package/dist/bundle/{chunk-UEN5NWNW.js → chunk-Q7ICVP25.js} +1 -1
- package/dist/bundle/{chunk-7OVTUADG.js → chunk-QFOP3KUP.js} +8 -8
- package/dist/bundle/{chunk-LAR2DLTI.js → chunk-R53XXHEI.js} +4 -4
- package/dist/bundle/{chunk-A4W7J6VN.js → chunk-RIMPFMZE.js} +28 -189
- package/dist/bundle/{chunk-G3LAYJJJ.js → chunk-RN6RT5CB.js} +4 -4
- package/dist/bundle/{chunk-FQRP6JWX.js → chunk-RRTMPSQR.js} +2 -2
- package/dist/bundle/{chunk-AN6IJYH3.js → chunk-S4ZHQMNM.js} +5 -5
- package/dist/bundle/{chunk-AP3CWDRK.js → chunk-S6JG4YUH.js} +2 -2
- package/dist/bundle/{chunk-PL7TNKAY.js → chunk-TAVI73RW.js} +2 -2
- package/dist/bundle/{chunk-ZKRWNL4T.js → chunk-TLG6ECZ2.js} +2 -2
- package/dist/bundle/{chunk-745FMNI5.js → chunk-TXDR6YSF.js} +1 -1
- package/dist/bundle/{chunk-3WG4MTQI.js → chunk-TY7NDMFY.js} +1 -1
- package/dist/bundle/{chunk-WR2FPZTE.js → chunk-U5RJJ2EC.js} +8 -8
- package/dist/bundle/{chunk-6QMSKJB4.js → chunk-UDSL3MUU.js} +8 -8
- package/dist/bundle/{chunk-FEUNZG7U.js → chunk-V2CNGXWX.js} +37 -37
- package/dist/bundle/{chunk-V5SETIQK.js → chunk-VB7FZOYX.js} +1 -1
- package/dist/bundle/{chunk-HZZ56JO7.js → chunk-VZ5PPYDG.js} +1 -1
- package/dist/bundle/{chunk-LZ4IWN43.js → chunk-W5JRXIG6.js} +822 -1604
- package/dist/bundle/{chunk-SCMB4LI6.js → chunk-WIHN3ELW.js} +19 -19
- package/dist/bundle/chunk-WOPVBRPV.js +29 -0
- package/dist/bundle/{chunk-6PILR4AX.js → chunk-WUFX4TKA.js} +2 -2
- package/dist/bundle/{chunk-NXNUCGGO.js → chunk-WXJYMMEL.js} +6 -6
- package/dist/bundle/{chunk-IPNIF5JE.js → chunk-XCCU2E3Z.js} +4 -4
- package/dist/bundle/{chunk-EAX5RO7S.js → chunk-XEQQJBBO.js} +1 -1
- package/dist/bundle/{chunk-3PCVQCCV.js → chunk-XUT7DSM5.js} +2 -2
- package/dist/bundle/{chunk-ASU63X5C.js → chunk-YWDFYQOU.js} +2 -2
- package/dist/bundle/{chunk-S6DTLAOB.js → chunk-ZLUIRFJX.js} +37 -18
- package/dist/bundle/{cli-QDPKC2HJ.js → cli-3NXOSENF.js} +104 -105
- package/dist/bundle/command-contract-LNSAV5LA.js +39 -0
- package/dist/bundle/{command-server-entry-TX7WNN7G.js → command-server-entry-4ZQPNUL4.js} +28 -28
- package/dist/bundle/{decode-BLPC7OYE.js → decode-K7U7X5EL.js} +5 -5
- package/dist/bundle/{dispatch-5JUT55CS.js → dispatch-56FECRCU.js} +8 -8
- package/dist/bundle/{echarts-54D3FOCL.js → echarts-O3TNDAXJ.js} +2 -2
- package/dist/bundle/{embed-O7KMDYM7.js → embed-SWLVG73O.js} +6 -6
- package/dist/bundle/{embedder-4PE67CLX.js → embedder-EJN75BPV.js} +9 -9
- package/dist/bundle/{failure-NNQYTB3Z.js → failure-WDSX6H3B.js} +2 -2
- package/dist/bundle/{first-run-EAU5SHBI.js → first-run-WPGUUC4Z.js} +12 -12
- package/dist/bundle/first-screen-JMNEUQ46.js +40 -0
- package/dist/bundle/{instructions-ONXP5DZQ.js → instructions-AMH5RWVJ.js} +1 -1
- package/dist/bundle/{mcp-ZNULRPZ4.js → mcp-5HFPWC3W.js} +2 -2
- package/dist/bundle/meeting-combined-5TKG2RYD.js +24 -0
- package/dist/bundle/{meeting-model-FWIZRKVN.js → meeting-model-YXXNETKC.js} +11 -11
- package/dist/bundle/{meeting-semantic-M4YVJ57W.js → meeting-semantic-U7EUB3ET.js} +6 -6
- package/dist/bundle/{node-UTQCYQF5.js → node-EGMCBAO7.js} +2 -2
- package/dist/bundle/{node-sqlite-APJG6MGL.js → node-sqlite-YVOGMDSP.js} +7 -7
- package/dist/bundle/{oauth-TY7RMIBL.js → oauth-2SNRBIJM.js} +7 -7
- package/dist/bundle/{open-WDVEQL75.js → open-ABCPY5IH.js} +5 -5
- package/dist/bundle/{openai-H5UJHSEZ.js → openai-4D6PXJR7.js} +15 -15
- package/dist/bundle/{process-MGMXXPMY.js → process-SGHEN6MQ.js} +1 -1
- package/dist/bundle/{program-IF36C6VR.js → program-CBDQBZZ3.js} +319 -133
- package/dist/bundle/{prompt-4RLIWLMF.js → prompt-2QUK5QST.js} +5 -5
- package/dist/bundle/{recognize-UIRTMWM4.js → recognize-QMQSJRIH.js} +4 -4
- package/dist/bundle/{remote-L3MNWZQK.js → remote-U7TC2BLZ.js} +9 -9
- package/dist/bundle/{rerank-F4KZQTY6.js → rerank-5UPVXGVV.js} +7 -7
- package/dist/bundle/{serve-37AUYTWS.js → serve-VX6GUM6J.js} +9 -9
- package/dist/bundle/{server-UBG676ZJ.js → server-FOPC6DJ3.js} +62 -61
- package/dist/bundle/server-OIVNOMVK.js +87 -0
- package/dist/bundle/source-HWS5SJIV.js +46 -0
- package/dist/bundle/{sqlite-runtime-CI3RW7VA.js → sqlite-runtime-77NKDEXN.js} +6 -6
- package/dist/bundle/{state-JOHLSLUO.js → state-X2HU6GB2.js} +6 -6
- package/dist/bundle/{store-2MBG4IUS.js → store-2U4U6KL4.js} +22 -22
- package/dist/bundle/{store-OSOUXBYL.js → store-3CHPHFP7.js} +26 -24
- package/dist/bundle/store-Z3747L5F.js +34 -0
- package/dist/bundle/store-maintenance-command-UOSZJTVP.js +74 -0
- package/dist/bundle/surface-MUT72QON.js +73 -0
- package/dist/bundle/writer-RBKQ64ZM.js +48 -0
- package/dist/commands/crm-shared.js +1 -1
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/amo-cli/SKILL.md +6 -0
- package/dist/bundle/agent-43BMVBX2.js +0 -40
- package/dist/bundle/chunk-M33XHJTM.js +0 -1266
- package/dist/bundle/command-contract-KWNCP3MQ.js +0 -39
- package/dist/bundle/first-screen-APSNGZYZ.js +0 -39
- package/dist/bundle/meeting-combined-W2XIYXFU.js +0 -24
- package/dist/bundle/server-CRF4QSZR.js +0 -86
- package/dist/bundle/source-Z7GH7T4B.js +0 -44
- package/dist/bundle/store-SNW6U32Y.js +0 -34
- package/dist/bundle/store-maintenance-command-W7V54SLT.js +0 -73
- package/dist/bundle/surface-ESJS2FUI.js +0 -72
- package/dist/bundle/writer-BJDQMKUV.js +0 -46
|
@@ -2,36 +2,36 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
commandAvailability
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7IWIFVXH.js";
|
|
6
6
|
import {
|
|
7
7
|
lentConnection
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-43OW5NTG.js";
|
|
9
9
|
import {
|
|
10
10
|
QUERY_ARGUMENT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-K7YY6SXR.js";
|
|
12
12
|
import {
|
|
13
13
|
changesMessenger,
|
|
14
14
|
flatten
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-63N46DJU.js";
|
|
16
16
|
import {
|
|
17
17
|
currentCaller
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CGW5R4UD.js";
|
|
19
19
|
import {
|
|
20
20
|
enclosingTraceId,
|
|
21
21
|
inRun,
|
|
22
22
|
newRunId,
|
|
23
23
|
traceOf
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PPSAWFJD.js";
|
|
25
25
|
import {
|
|
26
26
|
authorityAllowed,
|
|
27
27
|
botApiAllowed
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BIKOE2IW.js";
|
|
29
29
|
import {
|
|
30
30
|
queryDescription
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-DSJ6EAOA.js";
|
|
32
32
|
import {
|
|
33
33
|
captureStreams
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WIHN3ELW.js";
|
|
35
35
|
import {
|
|
36
36
|
COMPACT_FLAG,
|
|
37
37
|
SNAKE_CASE,
|
|
@@ -60,18 +60,18 @@ import {
|
|
|
60
60
|
unknown,
|
|
61
61
|
word,
|
|
62
62
|
writes
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QFOP3KUP.js";
|
|
64
64
|
import {
|
|
65
65
|
CliError
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-S6JG4YUH.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
72
72
|
import { Readable } from "node:stream";
|
|
73
73
|
|
|
74
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
74
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/lint.js
|
|
75
75
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
76
76
|
var lintRuleSchema = strictObject({
|
|
77
77
|
id: word,
|
|
@@ -217,7 +217,7 @@ var overrideSchema = strictObject({
|
|
|
217
217
|
});
|
|
218
218
|
var overridesSchema = array(overrideSchema);
|
|
219
219
|
|
|
220
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
220
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/audit.js
|
|
221
221
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
222
222
|
var defineAuditRules = /* @__PURE__ */ __name((input) => parseRegistry("audit rules", array(auditRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineAuditRules");
|
|
223
223
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -336,8 +336,23 @@ var FAMILY_SINCE_0_98 = [
|
|
|
336
336
|
review_after: "2026-12-10"
|
|
337
337
|
}
|
|
338
338
|
];
|
|
339
|
+
var CONFIG_UNREADABLE_RENAME = [
|
|
340
|
+
"account-rename.config=config.unreadable=mail.config-unreadable",
|
|
341
|
+
"account-rename.config=config.unreadable",
|
|
342
|
+
"config.unreadable=mail.config-unreadable"
|
|
343
|
+
].map((ids) => ({
|
|
344
|
+
rule: REASON,
|
|
345
|
+
target: `reason ${ids}`,
|
|
346
|
+
reason: "one failure under several names while the CLIs move to cli-core 1.0, which names it config.unreadable",
|
|
347
|
+
review_after: "2026-12-09"
|
|
348
|
+
}));
|
|
339
349
|
var PARITY_GROUPS = defineParityGroups([
|
|
340
|
-
{
|
|
350
|
+
{
|
|
351
|
+
name: "messengers",
|
|
352
|
+
members: ["tg", "max"],
|
|
353
|
+
covers: "tree",
|
|
354
|
+
differences: [...MESSENGERS_SINCE_0_98, ...CONFIG_UNREADABLE_RENAME]
|
|
355
|
+
},
|
|
341
356
|
{
|
|
342
357
|
name: "all",
|
|
343
358
|
members: ["tg", "max", "memo", "drive", "zm", "wa"],
|
|
@@ -428,7 +443,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
428
443
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
429
444
|
]);
|
|
430
445
|
|
|
431
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
446
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/fields.js
|
|
432
447
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
433
448
|
var defineFieldRules = /* @__PURE__ */ __name((input) => parseRegistry("output field rules", array(fieldRuleSchema), input, (rules) => duplicates(rules.map((rule) => rule.id)).map((id) => `"${id}" is listed twice`)), "defineFieldRules");
|
|
434
449
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -444,7 +459,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
444
459
|
}
|
|
445
460
|
]);
|
|
446
461
|
|
|
447
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
462
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/identifiers.js
|
|
448
463
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
449
464
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
450
465
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -466,7 +481,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
466
481
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
467
482
|
]);
|
|
468
483
|
|
|
469
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
484
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-account.js
|
|
470
485
|
var ACCOUNT_FLAGS = [
|
|
471
486
|
{
|
|
472
487
|
name: "--client-id",
|
|
@@ -503,7 +518,7 @@ var ACCOUNT_FLAGS = [
|
|
|
503
518
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
504
519
|
];
|
|
505
520
|
|
|
506
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
521
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-calendar.js
|
|
507
522
|
var CALENDAR_FLAGS = [
|
|
508
523
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
509
524
|
{
|
|
@@ -591,7 +606,7 @@ var CALENDAR_FLAGS = [
|
|
|
591
606
|
}
|
|
592
607
|
];
|
|
593
608
|
|
|
594
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
609
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-content.js
|
|
595
610
|
var CONTENT_FLAGS = [
|
|
596
611
|
{ name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
|
|
597
612
|
{
|
|
@@ -606,10 +621,30 @@ var CONTENT_FLAGS = [
|
|
|
606
621
|
role: "mode",
|
|
607
622
|
type: "switch",
|
|
608
623
|
meaning: "write the new text over a body the tool cannot fully read back, losing what it could not show"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
name: "--from-template",
|
|
627
|
+
value: "<template>",
|
|
628
|
+
role: "value",
|
|
629
|
+
type: "string",
|
|
630
|
+
meaning: "start the new page from one of the source's page templates, by name or id; not a message --template"
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
name: "--cover",
|
|
634
|
+
value: "<link>",
|
|
635
|
+
role: "value",
|
|
636
|
+
type: "string",
|
|
637
|
+
meaning: "the page's cover image, by an https link, or none to take it away; a local image file is --photo"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
name: "--allow-deleting-content",
|
|
641
|
+
role: "mode",
|
|
642
|
+
type: "switch",
|
|
643
|
+
meaning: "let an update delete the child pages and databases its new text leaves out; the source keeps them in its trash, unlike --allow-delete"
|
|
609
644
|
}
|
|
610
645
|
];
|
|
611
646
|
|
|
612
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
647
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-crm.js
|
|
613
648
|
var CRM_FLAGS = [
|
|
614
649
|
{
|
|
615
650
|
name: "--email",
|
|
@@ -773,7 +808,7 @@ var CRM_FLAGS = [
|
|
|
773
808
|
}
|
|
774
809
|
];
|
|
775
810
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
811
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-how.js
|
|
777
812
|
var HOW_FLAGS = [
|
|
778
813
|
{
|
|
779
814
|
name: "--limit",
|
|
@@ -1766,7 +1801,7 @@ var HOW_FLAGS = [
|
|
|
1766
1801
|
}
|
|
1767
1802
|
];
|
|
1768
1803
|
|
|
1769
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1804
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-knowledge.js
|
|
1770
1805
|
var KNOWLEDGE_FLAGS = [
|
|
1771
1806
|
{
|
|
1772
1807
|
name: "--accept-terms",
|
|
@@ -1822,10 +1857,24 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1822
1857
|
role: "target",
|
|
1823
1858
|
type: "string",
|
|
1824
1859
|
meaning: "every stored thing a search with this query finds, in its query language; the command acts on each"
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
name: "--since",
|
|
1863
|
+
value: "<time>",
|
|
1864
|
+
role: "target",
|
|
1865
|
+
type: "time",
|
|
1866
|
+
meaning: "from this time on: a time, or a duration ago such as 1d"
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
name: "--event",
|
|
1870
|
+
value: "<events>",
|
|
1871
|
+
role: "target",
|
|
1872
|
+
type: "list",
|
|
1873
|
+
meaning: "only these kinds of event, comma separated; the command lists them"
|
|
1825
1874
|
}
|
|
1826
1875
|
];
|
|
1827
1876
|
|
|
1828
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1877
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mail.js
|
|
1829
1878
|
var MAIL_FLAGS = [
|
|
1830
1879
|
{
|
|
1831
1880
|
name: "--cc",
|
|
@@ -1855,7 +1904,7 @@ var MAIL_FLAGS = [
|
|
|
1855
1904
|
}
|
|
1856
1905
|
];
|
|
1857
1906
|
|
|
1858
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1907
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-mirror.js
|
|
1859
1908
|
var MIRROR_FLAGS = [
|
|
1860
1909
|
{
|
|
1861
1910
|
name: "--keep",
|
|
@@ -1886,7 +1935,7 @@ var MIRROR_FLAGS = [
|
|
|
1886
1935
|
}
|
|
1887
1936
|
];
|
|
1888
1937
|
|
|
1889
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1938
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-privacy.js
|
|
1890
1939
|
var PRIVACY_FLAGS = [
|
|
1891
1940
|
{
|
|
1892
1941
|
name: "--about-text",
|
|
@@ -1947,7 +1996,7 @@ var PRIVACY_FLAGS = [
|
|
|
1947
1996
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1948
1997
|
];
|
|
1949
1998
|
|
|
1950
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1999
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-schedule.js
|
|
1951
2000
|
var SCHEDULE_FLAGS = [
|
|
1952
2001
|
{
|
|
1953
2002
|
name: "--locale",
|
|
@@ -1980,7 +2029,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1980
2029
|
}
|
|
1981
2030
|
];
|
|
1982
2031
|
|
|
1983
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2032
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-search.js
|
|
1984
2033
|
var SEARCH_FLAGS = [
|
|
1985
2034
|
{
|
|
1986
2035
|
name: "--like",
|
|
@@ -1991,7 +2040,7 @@ var SEARCH_FLAGS = [
|
|
|
1991
2040
|
}
|
|
1992
2041
|
];
|
|
1993
2042
|
|
|
1994
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2043
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-what.js
|
|
1995
2044
|
var WHAT_FLAGS = [
|
|
1996
2045
|
{
|
|
1997
2046
|
name: "--analysis-provider",
|
|
@@ -2403,7 +2452,7 @@ var WHAT_FLAGS = [
|
|
|
2403
2452
|
type: "string",
|
|
2404
2453
|
meaning: "an organization: its id or organization:<id>"
|
|
2405
2454
|
},
|
|
2406
|
-
{ name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder or
|
|
2455
|
+
{ name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder, task or issue it sits under" },
|
|
2407
2456
|
{
|
|
2408
2457
|
name: "--participant-id",
|
|
2409
2458
|
value: "<id>",
|
|
@@ -2681,7 +2730,6 @@ var WHAT_FLAGS = [
|
|
|
2681
2730
|
type: "choice",
|
|
2682
2731
|
meaning: "how it is closed: done, or dismissed when it needs no answer"
|
|
2683
2732
|
},
|
|
2684
|
-
{ name: "--assignee", value: "<person...>", role: "value", type: "list", meaning: "who does it, by UID" },
|
|
2685
2733
|
{ name: "--at", value: "<hh:mm>", role: "value", type: "string", meaning: "every day at this local time" },
|
|
2686
2734
|
{ name: "--body", value: "<json>", role: "value", type: "string", meaning: "the request body, as JSON" },
|
|
2687
2735
|
{
|
|
@@ -2839,7 +2887,6 @@ var WHAT_FLAGS = [
|
|
|
2839
2887
|
type: "id",
|
|
2840
2888
|
meaning: "pin this chat at the top of it; repeat it for more"
|
|
2841
2889
|
},
|
|
2842
|
-
{ name: "--priority", value: "<n>", role: "value", type: "count", meaning: "0 urgent \u2026 4 low" },
|
|
2843
2890
|
{ name: "--quiz", role: "value", type: "switch", meaning: "a quiz: one answer is right, and a vote is final" },
|
|
2844
2891
|
{
|
|
2845
2892
|
name: "--reason",
|
|
@@ -2988,7 +3035,33 @@ var WHAT_FLAGS = [
|
|
|
2988
3035
|
}
|
|
2989
3036
|
];
|
|
2990
3037
|
|
|
2991
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3038
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/flags-work.js
|
|
3039
|
+
var WORK_FLAGS = [
|
|
3040
|
+
{
|
|
3041
|
+
name: "--assignee",
|
|
3042
|
+
value: "<person...>",
|
|
3043
|
+
role: "value",
|
|
3044
|
+
type: "list",
|
|
3045
|
+
otherValues: ["user"],
|
|
3046
|
+
meaning: "who does it: people by UID (<person...>), or one tracker user by id, name or e-mail (<user>)"
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
name: "--priority",
|
|
3050
|
+
value: "<n>",
|
|
3051
|
+
role: "value",
|
|
3052
|
+
type: "string",
|
|
3053
|
+
meaning: "how urgent: low, medium, high, critical or none, a score from 0.0 to 1.0, or the old 0 urgent \u2026 4 low"
|
|
3054
|
+
},
|
|
3055
|
+
{
|
|
3056
|
+
name: "--team",
|
|
3057
|
+
value: "<team>",
|
|
3058
|
+
role: "value",
|
|
3059
|
+
type: "string",
|
|
3060
|
+
meaning: "the tracker team that owns an issue, by id, key or name"
|
|
3061
|
+
}
|
|
3062
|
+
];
|
|
3063
|
+
|
|
3064
|
+
// node_modules/.pnpm/@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/vocabulary.js
|
|
2992
3065
|
var FLAG_TYPES = [
|
|
2993
3066
|
"switch",
|
|
2994
3067
|
"count",
|
|
@@ -3146,6 +3219,7 @@ var verbs = [
|
|
|
3146
3219
|
"look at a source before taking anything from it: a chat link without joining, a mailbox without importing"
|
|
3147
3220
|
],
|
|
3148
3221
|
["send", "send a message"],
|
|
3222
|
+
["reply", "answer in a comment thread at the source, under the comment that started it"],
|
|
3149
3223
|
["call", "call one provider API method by its own name, generated from the provider's method list"],
|
|
3150
3224
|
["edit", "change a sent message"],
|
|
3151
3225
|
["forward", "send an existing message on to another chat"],
|
|
@@ -3270,6 +3344,7 @@ var collections = [
|
|
|
3270
3344
|
["teams", "groups in a tracker that own issues, states and labels"],
|
|
3271
3345
|
["states", "the workflow steps a tracker team moves its issues through, each of a type such as started"],
|
|
3272
3346
|
["labels", "a tracker's shared labels on issues, kept by the tracker and not by the owner"],
|
|
3347
|
+
["sprints", "a tracker team's time-boxed runs of work, such as Linear's cycles, each with a start and an end"],
|
|
3273
3348
|
["fields", "a record type's field definitions: code, label, type and options, such as a CRM's custom fields"],
|
|
3274
3349
|
["activities", "a CRM's calls, e-mails, meetings, to-dos and comments on its records"],
|
|
3275
3350
|
["changes", "what changed in a copied source over a time: records added, moved, closed or reassigned"],
|
|
@@ -3282,13 +3357,19 @@ var collections = [
|
|
|
3282
3357
|
["relationships", "confirmed or suggested links between people, organizations and projects"],
|
|
3283
3358
|
["roles", "the parts a person plays in a relationship, built in or the owner's own"],
|
|
3284
3359
|
["sheets", "remote spreadsheets and their cell ranges, read or changed through a provider"],
|
|
3360
|
+
[
|
|
3361
|
+
"databases",
|
|
3362
|
+
"a source's databases, such as Notion's, each a set of rows with typed properties; the local store's are tables"
|
|
3363
|
+
],
|
|
3364
|
+
["rows", "the records of a database at the source, each with typed values; an order's or an invoice's are lines"],
|
|
3285
3365
|
["files", "files in the source, such as Google Drive, read and changed there"],
|
|
3286
3366
|
["mirrors", "saved pairings of a local folder and a folder in the source, which sync keeps the same both ways"],
|
|
3287
3367
|
[
|
|
3288
3368
|
"conflicts",
|
|
3289
3369
|
"files a mirror's sync found changed on both sides and could not merge, each waiting for a side or a final file"
|
|
3290
3370
|
],
|
|
3291
|
-
["
|
|
3371
|
+
["versions", "earlier contents of a file that a write replaced or deleted, kept on this computer to be put back"],
|
|
3372
|
+
["comments", "comments people left on a thing in the source: a channel post, a file or an issue"],
|
|
3292
3373
|
["meetings", "stored meetings, from Zoom or another provider"],
|
|
3293
3374
|
["calls", "phone calls a phone system recorded, stored as meetings with their transcripts"],
|
|
3294
3375
|
["calendars", "calendars of an account, each synced or not"],
|
|
@@ -3357,6 +3438,7 @@ var views = [
|
|
|
3357
3438
|
["stats", "a thing's own numbers, such as a post's views, as read at each sync"],
|
|
3358
3439
|
["logs", "the log of a running process"],
|
|
3359
3440
|
["events", "what happened in a thing over time"],
|
|
3441
|
+
["changes", "what a sync changed in the local copy since a time: added, changed, deleted or no longer visible"],
|
|
3360
3442
|
["scheduled", "what is scheduled to happen"],
|
|
3361
3443
|
["context", "what surrounds one thing"],
|
|
3362
3444
|
["path", "where a thing is on this machine"],
|
|
@@ -3367,6 +3449,8 @@ var views = [
|
|
|
3367
3449
|
["transcript", "the text of speech: a voice message or a meeting recording"],
|
|
3368
3450
|
["evidence", "the stored messages or lines a result or a reference rests on"],
|
|
3369
3451
|
["passage", "a cited transcript line with bounded surrounding lines from the same revision"],
|
|
3452
|
+
["summary", "the summary a service wrote of a meeting, with its sections and next steps"],
|
|
3453
|
+
["people", "the people found across stored meetings by name or email, with the meetings they were in"],
|
|
3370
3454
|
["invitation", "the text that invites people to a meeting: how to join it and when"],
|
|
3371
3455
|
["agenda", "what needs a look today"],
|
|
3372
3456
|
["busy", "when calendars or people are taken, without what takes them"],
|
|
@@ -3430,11 +3514,12 @@ var VOCABULARY = defineVocabulary({
|
|
|
3430
3514
|
...SCHEDULE_FLAGS,
|
|
3431
3515
|
...CONTENT_FLAGS,
|
|
3432
3516
|
...SEARCH_FLAGS,
|
|
3433
|
-
...MIRROR_FLAGS
|
|
3517
|
+
...MIRROR_FLAGS,
|
|
3518
|
+
...WORK_FLAGS
|
|
3434
3519
|
]
|
|
3435
3520
|
});
|
|
3436
3521
|
|
|
3437
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3522
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3438
3523
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3439
3524
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3440
3525
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
QUERY_LIMITS,
|
|
5
5
|
exhausted,
|
|
6
6
|
searchError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IG2TJQJ7.js";
|
|
8
8
|
import {
|
|
9
9
|
fold
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2JHVQMVC.js";
|
|
11
11
|
import {
|
|
12
12
|
CATALOG_KINDS,
|
|
13
13
|
CONTRACT_KINDS,
|
|
@@ -26,16 +26,16 @@ import {
|
|
|
26
26
|
parseReference,
|
|
27
27
|
providerLabel,
|
|
28
28
|
providerNamed
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZLUIRFJX.js";
|
|
30
30
|
import {
|
|
31
31
|
CliError,
|
|
32
32
|
singleLine
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-S6JG4YUH.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@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/addresses.js
|
|
39
39
|
var EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
|
|
40
40
|
var isEmailAddress = /* @__PURE__ */ __name((value) => EMAIL_ADDRESS.test(value), "isEmailAddress");
|
|
41
41
|
var ROLE_ADDRESS_WORDS = {
|
|
@@ -88,16 +88,29 @@ var ROLE_ADDRESS_WORDS = {
|
|
|
88
88
|
var bare = /* @__PURE__ */ __name((word) => word.replace(/[.\-_]/gu, ""), "bare");
|
|
89
89
|
var NO_REPLY = new Set(ROLE_ADDRESS_WORDS.noReply.map(bare));
|
|
90
90
|
var ROLE = new Set([...ROLE_ADDRESS_WORDS.shared, ...ROLE_ADDRESS_WORDS.noReply].map(bare));
|
|
91
|
-
var
|
|
91
|
+
var PART_ONLY = /* @__PURE__ */ new Set(["bounce", "bounces"]);
|
|
92
|
+
var NOTIFY = /* @__PURE__ */ new Set(["notify", "notification", "notifications", "alert", "alerts"]);
|
|
93
|
+
var localPart = /* @__PURE__ */ __name((address) => {
|
|
92
94
|
const local = address.trim().toLowerCase().split("@")[0] ?? "";
|
|
93
|
-
return
|
|
94
|
-
}, "
|
|
95
|
-
var
|
|
95
|
+
return local.split("+")[0] ?? "";
|
|
96
|
+
}, "localPart");
|
|
97
|
+
var localWord = /* @__PURE__ */ __name((address) => bare(localPart(address)), "localWord");
|
|
98
|
+
var SEPARATORS = /[.\-_]/u;
|
|
99
|
+
var partsOf = /* @__PURE__ */ __name((address) => localPart(address).split(SEPARATORS), "partsOf");
|
|
100
|
+
var NO_REPLY_PARTS = ROLE_ADDRESS_WORDS.noReply.map((word) => `.${word.split(SEPARATORS).join(".")}.`);
|
|
101
|
+
var isNoReplyAddress = /* @__PURE__ */ __name((address) => {
|
|
102
|
+
const word = localWord(address);
|
|
103
|
+
const parts = `.${partsOf(address).join(".")}.`;
|
|
104
|
+
if (NO_REPLY_PARTS.some((one) => parts.includes(one)))
|
|
105
|
+
return true;
|
|
106
|
+
return [...NO_REPLY].some((one) => !PART_ONLY.has(one) && (word.startsWith(one) || word.endsWith(one)));
|
|
107
|
+
}, "isNoReplyAddress");
|
|
108
|
+
var isRoleAddress = /* @__PURE__ */ __name((address) => ROLE.has(localWord(address)) || isNoReplyAddress(address), "isRoleAddress");
|
|
96
109
|
var PERSON_LIKE = /* @__PURE__ */ new Set(["hr"]);
|
|
97
110
|
var isPersonLikeRoleAddress = /* @__PURE__ */ __name((address) => PERSON_LIKE.has(localWord(address)), "isPersonLikeRoleAddress");
|
|
98
|
-
var
|
|
111
|
+
var isNotificationAddress = /* @__PURE__ */ __name((address) => partsOf(address).some((part) => NOTIFY.has(part)), "isNotificationAddress");
|
|
99
112
|
|
|
100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
113
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
101
114
|
var TAKES = {
|
|
102
115
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
103
116
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -157,7 +170,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
157
170
|
throw wrongAccount(reference, scope, profiles);
|
|
158
171
|
}, "ensureAccount");
|
|
159
172
|
|
|
160
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
173
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
|
|
161
174
|
var any = { kind: "char", ranges: [[0, 1114111]], negate: false };
|
|
162
175
|
var literal = /* @__PURE__ */ __name((c) => ({
|
|
163
176
|
kind: "char",
|
|
@@ -557,7 +570,7 @@ var foldRegex = /* @__PURE__ */ __name((pattern, span) => {
|
|
|
557
570
|
return out;
|
|
558
571
|
}, "foldRegex");
|
|
559
572
|
|
|
560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
573
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/search/trigrams.js
|
|
561
574
|
var trigrams = /* @__PURE__ */ __name((term) => {
|
|
562
575
|
const padded = ` ${term} `;
|
|
563
576
|
const pieces = /* @__PURE__ */ new Set();
|
|
@@ -566,7 +579,7 @@ var trigrams = /* @__PURE__ */ __name((term) => {
|
|
|
566
579
|
return [...pieces];
|
|
567
580
|
}, "trigrams");
|
|
568
581
|
|
|
569
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
582
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
570
583
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
571
584
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
|
|
572
585
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -637,7 +650,7 @@ ${lines}`, { candidates });
|
|
|
637
650
|
}, "ambiguous");
|
|
638
651
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
639
652
|
|
|
640
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
653
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/display-names.js
|
|
641
654
|
var QUOTES = [
|
|
642
655
|
['"', '"'],
|
|
643
656
|
["'", "'"],
|
|
@@ -695,7 +708,7 @@ var nameKey = /* @__PURE__ */ __name((name) => {
|
|
|
695
708
|
}, "nameKey");
|
|
696
709
|
var isReadable = /* @__PURE__ */ __name((shown) => shown !== null && READABLE.test(shown), "isReadable");
|
|
697
710
|
|
|
698
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
711
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
|
|
699
712
|
var PHONE_PLANS = [
|
|
700
713
|
{
|
|
701
714
|
country: "us",
|
|
@@ -1075,7 +1088,7 @@ var PHONE_PLANS = [
|
|
|
1075
1088
|
}
|
|
1076
1089
|
];
|
|
1077
1090
|
|
|
1078
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1091
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/phones.js
|
|
1079
1092
|
var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
|
|
1080
1093
|
var DEFAULT_PHONE_COUNTRIES = ["ru"];
|
|
1081
1094
|
var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
|
|
@@ -1150,7 +1163,7 @@ var storedPhone = /* @__PURE__ */ __name((raw, provider) => {
|
|
|
1150
1163
|
return found ? `+${found[1]}` : void 0;
|
|
1151
1164
|
}, "storedPhone");
|
|
1152
1165
|
|
|
1153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1166
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
|
|
1154
1167
|
var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
1155
1168
|
var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
1156
1169
|
var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
@@ -1200,7 +1213,7 @@ var arrayOf = /* @__PURE__ */ __name((item, maxItems, description) => ({
|
|
|
1200
1213
|
}), "arrayOf");
|
|
1201
1214
|
var isObject = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && !Array.isArray(value), "isObject");
|
|
1202
1215
|
|
|
1203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1216
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/record-types.js
|
|
1204
1217
|
var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
|
|
1205
1218
|
var PARTY = ["person", "organization"];
|
|
1206
1219
|
var ORGANIZATION = ["organization"];
|
|
@@ -1595,7 +1608,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
|
|
|
1595
1608
|
var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
|
|
1596
1609
|
var article2 = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
|
|
1597
1610
|
|
|
1598
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1611
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/records.js
|
|
1599
1612
|
import { createHash } from "node:crypto";
|
|
1600
1613
|
var RECORDS_SCHEMA_VERSION = 1;
|
|
1601
1614
|
var RECORD_OPERATIONS = ["upsert", "delete"];
|
|
@@ -1736,7 +1749,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
|
|
|
1736
1749
|
return found;
|
|
1737
1750
|
}, "fieldReferences");
|
|
1738
1751
|
|
|
1739
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1752
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/counters.js
|
|
1740
1753
|
var COUNTER_FIELDS = ["views", "reactions", "comments"];
|
|
1741
1754
|
var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
|
|
1742
1755
|
var counterObservationTime = /* @__PURE__ */ __name((observation, now) => {
|
|
@@ -1755,7 +1768,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
|
|
|
1755
1768
|
return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
|
|
1756
1769
|
}, "counterFreshness");
|
|
1757
1770
|
|
|
1758
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1771
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
|
|
1759
1772
|
var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
|
|
1760
1773
|
var AUTHOR_MEASURES = [
|
|
1761
1774
|
"messages",
|
|
@@ -1895,7 +1908,7 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
|
|
|
1895
1908
|
var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
|
|
1896
1909
|
var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
|
|
1897
1910
|
|
|
1898
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1911
|
+
// node_modules/.pnpm/@wirecat+cli-core@1.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_dd5172c52281f8f1e2dd1d4e9555d5c3/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
|
|
1899
1912
|
var label = /* @__PURE__ */ __name((en, ru, es) => ({ en, ru, es }), "label");
|
|
1900
1913
|
var ROLE_LABELS = {
|
|
1901
1914
|
organization: {
|
|
@@ -1938,9 +1951,10 @@ var ROLE_LABELS = {
|
|
|
1938
1951
|
|
|
1939
1952
|
export {
|
|
1940
1953
|
isEmailAddress,
|
|
1954
|
+
isNoReplyAddress,
|
|
1941
1955
|
isRoleAddress,
|
|
1942
1956
|
isPersonLikeRoleAddress,
|
|
1943
|
-
|
|
1957
|
+
isNotificationAddress,
|
|
1944
1958
|
COUNTER_FIELDS,
|
|
1945
1959
|
validCounter,
|
|
1946
1960
|
counterObservationTime,
|