@wirecat/attio-cli 0.2.0 → 0.2.2
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 +18 -0
- package/contracts/wirecat.json +5 -20
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-3FYEIRN4.js +37 -0
- package/dist/bundle/{all-profiles-LZDKPHN2.js → all-profiles-RAFO3NFW.js} +10 -10
- package/dist/bundle/{anthropic-BF72H77D.js → anthropic-TNR6QJGA.js} +5 -5
- package/dist/bundle/{app-server-H57FZJX5.js → app-server-BXVGXUGQ.js} +61 -61
- package/dist/bundle/attio.js +11 -11
- package/dist/bundle/{bun-WO77T4LG.js → bun-3RTK5XYF.js} +2 -2
- package/dist/bundle/{bun-sqlite-2BP7JDVO.js → bun-sqlite-I5K5Z2ZK.js} +6 -6
- package/dist/bundle/{chunk-CMO5ND3Y.js → chunk-2CS7VHUB.js} +34 -34
- package/dist/bundle/{chunk-XXOTX4M3.js → chunk-2JB5XD5R.js} +7 -7
- package/dist/bundle/{chunk-EQGXEKSV.js → chunk-2PSAS4TT.js} +7 -7
- package/dist/bundle/{chunk-EEPE3SOW.js → chunk-2TLGP7BS.js} +5 -5
- package/dist/bundle/{chunk-X5S5KUSU.js → chunk-3BM6KBWP.js} +19 -19
- package/dist/bundle/{chunk-QLHDUYGE.js → chunk-3JRLPNPO.js} +1 -1
- package/dist/bundle/{chunk-J5P5VSRG.js → chunk-3LMW7U7F.js} +8 -8
- package/dist/bundle/{chunk-G6FQMVKW.js → chunk-4F3FQ5QX.js} +3 -3
- package/dist/bundle/{chunk-LWJ4ZGUM.js → chunk-53BHLQRA.js} +13 -13
- package/dist/bundle/{chunk-EQXT7KO4.js → chunk-62FENOMX.js} +6 -6
- package/dist/bundle/{chunk-JSTBW7F4.js → chunk-6HYTDMOL.js} +6 -6
- package/dist/bundle/{chunk-L5WS6CYZ.js → chunk-6ZBJCBXA.js} +2 -2
- package/dist/bundle/{chunk-Q7BSTQ3T.js → chunk-7626I3P4.js} +1 -1
- package/dist/bundle/{chunk-VW5F6FK3.js → chunk-7JVKQ6NM.js} +4 -4
- package/dist/bundle/{chunk-PMP37KLR.js → chunk-7QH5BZUG.js} +3 -3
- package/dist/bundle/{chunk-ZDBTYBFR.js → chunk-7WS4ONXZ.js} +3 -3
- package/dist/bundle/{chunk-MT2ZUZRA.js → chunk-AHPGTDO2.js} +43 -64
- package/dist/bundle/{chunk-GBZ6JUXU.js → chunk-AMRELFBT.js} +2 -2
- package/dist/bundle/{chunk-S7K2XFQB.js → chunk-APNSAKSO.js} +6 -6
- package/dist/bundle/{chunk-DSRXCLPO.js → chunk-AV2ZJ4WX.js} +1 -1
- package/dist/bundle/{chunk-2E6JGBM5.js → chunk-AXGSAG53.js} +14 -14
- package/dist/bundle/{chunk-I3WS6V5H.js → chunk-B7U5FLPP.js} +8 -8
- package/dist/bundle/{chunk-HG7FT3H3.js → chunk-BDFNXTNK.js} +7 -7
- package/dist/bundle/{chunk-AMUONYQR.js → chunk-BFWERPF6.js} +2 -2
- package/dist/bundle/{chunk-5K3FGXZH.js → chunk-CFQQTDSA.js} +1 -1
- package/dist/bundle/{chunk-VDMIJ3JW.js → chunk-CKG7GIHR.js} +3 -3
- package/dist/bundle/{chunk-X6R74TWX.js → chunk-CZP6C6MX.js} +4 -4
- package/dist/bundle/{chunk-RU5J7DWY.js → chunk-DKSO7UTS.js} +31 -9
- package/dist/bundle/{chunk-IDU4ESRZ.js → chunk-EMZ4MGPD.js} +8 -1
- package/dist/bundle/{chunk-MNQACPXG.js → chunk-FPMWW2HK.js} +25 -25
- package/dist/bundle/{chunk-WK7GLHHL.js → chunk-FRCORPOY.js} +5 -5
- package/dist/bundle/{chunk-G3JTLVVL.js → chunk-GT3HXSKW.js} +7 -7
- package/dist/bundle/{chunk-BUGROVF3.js → chunk-HM6AMYHR.js} +2 -2
- package/dist/bundle/{chunk-3NVOKVRY.js → chunk-HMYJLOXE.js} +343 -274
- package/dist/bundle/{chunk-3I2FGNWO.js → chunk-HVXOA4FO.js} +1 -1
- package/dist/bundle/{chunk-ASCUOOLO.js → chunk-JFFCP52L.js} +1 -1
- package/dist/bundle/{chunk-P4U6AGWD.js → chunk-JSAXTIRX.js} +1 -1
- package/dist/bundle/{chunk-DF2IIO32.js → chunk-JWRI6ZY6.js} +174 -159
- package/dist/bundle/{chunk-4STBJZR4.js → chunk-L7BMGR5W.js} +76 -37
- package/dist/bundle/{chunk-XXLQNHKF.js → chunk-LG6Y4NAT.js} +2 -2
- package/dist/bundle/{chunk-WARIIYSW.js → chunk-LHKVAZ5T.js} +2 -2
- package/dist/bundle/{chunk-GLHFJPYS.js → chunk-LIIOT3AN.js} +3 -3
- package/dist/bundle/{chunk-H7QDPW3D.js → chunk-MG4U6AKG.js} +1 -1
- package/dist/bundle/{chunk-MC2RQ2OB.js → chunk-MHMHZ6GY.js} +1 -1
- package/dist/bundle/{chunk-V6BTAILB.js → chunk-MI6IH5UW.js} +61 -61
- package/dist/bundle/{chunk-KHDXRFJZ.js → chunk-MW2OS2GD.js} +8 -8
- package/dist/bundle/{chunk-6ALPRBNV.js → chunk-NQJ7QMEF.js} +3 -3
- package/dist/bundle/{chunk-OFR3YYT6.js → chunk-NQNFMKL2.js} +1 -1
- package/dist/bundle/{chunk-76RRELCU.js → chunk-NWDO4DE3.js} +958 -550
- package/dist/bundle/{chunk-7MXCUMHG.js → chunk-O4SX6FXT.js} +1 -1
- package/dist/bundle/{chunk-SQHDE3TC.js → chunk-OC35ZLPE.js} +4 -4
- package/dist/bundle/{chunk-MRREDVPY.js → chunk-OHCYBSCA.js} +20 -14
- package/dist/bundle/{chunk-OBXDRUO4.js → chunk-P76XVKVC.js} +1 -1
- package/dist/bundle/{chunk-3YFDZSM3.js → chunk-PRERT2BZ.js} +1 -1
- package/dist/bundle/{chunk-MOSH2KPD.js → chunk-Q2U6DGSV.js} +10 -10
- package/dist/bundle/{chunk-O4A33Y54.js → chunk-QSUFJGTG.js} +2 -2
- package/dist/bundle/{chunk-ERW2WOJT.js → chunk-RKKY3MSZ.js} +1 -1
- package/dist/bundle/{chunk-4SMGM2Q6.js → chunk-SEDD6YZQ.js} +4 -4
- package/dist/bundle/{chunk-Q3JCUUOR.js → chunk-SYBAMYFY.js} +3 -3
- package/dist/bundle/{chunk-ZGADZ4CH.js → chunk-T6DV3ED2.js} +15 -15
- package/dist/bundle/{chunk-JA26HG7T.js → chunk-TUOFAUBR.js} +8 -8
- package/dist/bundle/{chunk-6SK3YB2B.js → chunk-UTTNGFKW.js} +12 -12
- package/dist/bundle/{chunk-CHZ26CW5.js → chunk-UZYL4AMA.js} +61 -58
- package/dist/bundle/{chunk-IXCIQ7FZ.js → chunk-V4JWUVNO.js} +4 -4
- package/dist/bundle/{chunk-34FJ26K2.js → chunk-VQSVE4RD.js} +2 -2
- package/dist/bundle/{chunk-GW4G5KLS.js → chunk-WALQNDXO.js} +8 -8
- package/dist/bundle/{chunk-6NDJDDSQ.js → chunk-WHDVRMB7.js} +35 -35
- package/dist/bundle/{chunk-ESH2QGCA.js → chunk-XQIRF6PS.js} +24 -8
- package/dist/bundle/{chunk-7ZUOI3HY.js → chunk-XSUU7PB7.js} +3 -3
- package/dist/bundle/{chunk-DQ6P3R4B.js → chunk-YBJBYPS7.js} +3 -3
- package/dist/bundle/{chunk-W6F2CQZ6.js → chunk-Z3HZD24R.js} +17 -17
- package/dist/bundle/{chunk-TF7ZGCOK.js → chunk-ZI3IRII7.js} +3 -3
- package/dist/bundle/command-contract-N5X3UOTT.js +37 -0
- package/dist/bundle/{command-server-entry-MNVPYQZ3.js → command-server-entry-ZKWL26Q5.js} +25 -25
- package/dist/bundle/{decode-MQNKNXLK.js → decode-TG45PUJW.js} +5 -5
- package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-JQBAZWCL.js} +8 -8
- package/dist/bundle/{echarts-6ZSUNO4L.js → echarts-AWICNZBO.js} +2 -2
- package/dist/bundle/{embed-PHCCJJ5Z.js → embed-TN6HQUK2.js} +6 -6
- package/dist/bundle/{embedder-WLZZQTKZ.js → embedder-T3KJA3I4.js} +9 -9
- package/dist/bundle/{failure-MR2XVHFP.js → failure-I6AAF5R5.js} +2 -2
- package/dist/bundle/{first-run-64LREHSV.js → first-run-BZUITKMF.js} +12 -12
- package/dist/bundle/first-screen-I23NJLFH.js +37 -0
- package/dist/bundle/{instructions-22GCKNR5.js → instructions-FRJHLLZX.js} +1 -1
- package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-YGOAUNC3.js} +2 -2
- package/dist/bundle/meeting-combined-7ZNV4MZ2.js +24 -0
- package/dist/bundle/{meeting-model-JWDTCGLZ.js → meeting-model-TENJU3OG.js} +11 -11
- package/dist/bundle/{meeting-semantic-375GYPZQ.js → meeting-semantic-ZKOG2XMU.js} +6 -6
- package/dist/bundle/{node-ITDTNRRZ.js → node-3ZISJOEM.js} +2 -2
- package/dist/bundle/{node-sqlite-IRAGRMEZ.js → node-sqlite-KA35X4F4.js} +7 -7
- package/dist/bundle/{oauth-CACOQJEL.js → oauth-C74B6XHN.js} +7 -7
- package/dist/bundle/{open-HU4KHKDR.js → open-CJESRWUG.js} +5 -5
- package/dist/bundle/{openai-JQUPAVKX.js → openai-WLXOXSTV.js} +15 -15
- package/dist/bundle/{process-QS5OHEUK.js → process-JV3KVGJY.js} +1 -1
- package/dist/bundle/{program-QLCUCR76.js → program-HSVLSH7A.js} +694 -477
- package/dist/bundle/{prompt-VA5MKXJU.js → prompt-EEBVB3XG.js} +5 -5
- package/dist/bundle/{recognize-JGA5IVKC.js → recognize-ZFITQZ4W.js} +4 -4
- package/dist/bundle/{remote-NPY2KZQ4.js → remote-RZXSYHOJ.js} +9 -9
- package/dist/bundle/{rerank-4H2QR4XU.js → rerank-2BHYAEO3.js} +7 -7
- package/dist/bundle/{schemas-THAI3G5S.js → schemas-6GTYA2NR.js} +1 -1
- package/dist/bundle/{serve-UH46SZQG.js → serve-G3M5H5JM.js} +9 -9
- package/dist/bundle/server-3ZL5TECF.js +79 -0
- package/dist/bundle/{server-6H7JS6SU.js → server-44WJ5K2W.js} +53 -53
- package/dist/bundle/{sqlite-runtime-EJWEUTBR.js → sqlite-runtime-TRISCWIG.js} +6 -6
- package/dist/bundle/{state-34B6AUQZ.js → state-BF6IMDP2.js} +6 -6
- package/dist/bundle/{store-XSE35P3U.js → store-LZPZC72J.js} +20 -20
- package/dist/bundle/{store-3R4ILTCJ.js → store-VSKYLTLH.js} +22 -18
- package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +66 -0
- package/dist/bundle/surface-OHYA3YS6.js +65 -0
- package/dist/commands/crm.d.ts.map +1 -1
- package/dist/commands/crm.js +2 -0
- package/dist/commands/crm.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/agent-DYTWDBTT.js +0 -37
- package/dist/bundle/command-contract-7M6EPH3D.js +0 -37
- package/dist/bundle/first-screen-YSCAZIYJ.js +0 -37
- package/dist/bundle/meeting-combined-YX3T5WJD.js +0 -24
- package/dist/bundle/server-SR52KBL3.js +0 -79
- package/dist/bundle/store-maintenance-command-ABJARLI4.js +0 -66
- package/dist/bundle/surface-NOTIEJB5.js +0 -65
|
@@ -2,34 +2,34 @@ 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-CKG7GIHR.js";
|
|
6
6
|
import {
|
|
7
7
|
lentConnection
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2TLGP7BS.js";
|
|
9
9
|
import {
|
|
10
10
|
QUERY_ARGUMENT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OHCYBSCA.js";
|
|
12
12
|
import {
|
|
13
13
|
authorityAllowed,
|
|
14
14
|
botApiAllowed,
|
|
15
15
|
changesMessenger,
|
|
16
16
|
flatten
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JWRI6ZY6.js";
|
|
18
18
|
import {
|
|
19
19
|
currentCaller
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2JB5XD5R.js";
|
|
21
21
|
import {
|
|
22
22
|
enclosingTraceId,
|
|
23
23
|
inRun,
|
|
24
24
|
newRunId,
|
|
25
25
|
traceOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WHDVRMB7.js";
|
|
27
27
|
import {
|
|
28
28
|
queryDescription
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MI6IH5UW.js";
|
|
30
30
|
import {
|
|
31
31
|
captureStreams
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3BM6KBWP.js";
|
|
33
33
|
import {
|
|
34
34
|
COMPACT_FLAG,
|
|
35
35
|
SNAKE_CASE,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
text,
|
|
40
40
|
word,
|
|
41
41
|
writes
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-3LMW7U7F.js";
|
|
43
43
|
import {
|
|
44
44
|
array,
|
|
45
45
|
boolean,
|
|
@@ -63,15 +63,15 @@ import {
|
|
|
63
63
|
} from "./chunk-S4UUN6LD.js";
|
|
64
64
|
import {
|
|
65
65
|
CliError
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-HM6AMYHR.js";
|
|
67
67
|
import {
|
|
68
68
|
__name
|
|
69
69
|
} from "./chunk-ZVVMGPBJ.js";
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/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@0.124.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@0.124.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([
|
|
@@ -357,13 +357,30 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
357
357
|
},
|
|
358
358
|
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's and asterisk-cli's meetings take call
|
|
359
359
|
// recordings, not zoom-cli's: they are compared on the root commands every CLI shares, the way gcal and mail are.
|
|
360
|
-
// amo-cli and
|
|
360
|
+
// amo-cli, hubspot-cli and attio-cli share them too, and their CRM commands are compared with b24 in `crm` below.
|
|
361
|
+
// wordpress-cli shares only these roots: it is the first content CLI, so its posts commands have no group yet.
|
|
361
362
|
// notion-cli joins here until its documents commands ship; then it moves next to drive. ydisk joins here too: in "all"
|
|
362
363
|
// its search and notes differ from the messengers' and memo's as drive's do, and a documents group of drive, notion
|
|
363
364
|
// and ydisk differs in 39 paths (session, folders browse, summaries; measured on the published CLIs 2026-11-17).
|
|
364
365
|
{
|
|
365
366
|
name: "shared-roots",
|
|
366
|
-
members: [
|
|
367
|
+
members: [
|
|
368
|
+
"tg",
|
|
369
|
+
"max",
|
|
370
|
+
"memo",
|
|
371
|
+
"drive",
|
|
372
|
+
"zm",
|
|
373
|
+
"wa",
|
|
374
|
+
"b24",
|
|
375
|
+
"beeline",
|
|
376
|
+
"pbx",
|
|
377
|
+
"notion",
|
|
378
|
+
"amo",
|
|
379
|
+
"hubspot",
|
|
380
|
+
"attio",
|
|
381
|
+
"ydisk",
|
|
382
|
+
"wordpress"
|
|
383
|
+
],
|
|
367
384
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
368
385
|
differences: [...MEMO_HAS_NO_PROFILES, ...MEMO_MCP_SUMMARIES, MEMO_DOCTOR_DEEP]
|
|
369
386
|
},
|
|
@@ -376,7 +393,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
376
393
|
// commands: measured against b24 0.23.0 on 2026-11-16 they differ in options, outputs and summaries.
|
|
377
394
|
{
|
|
378
395
|
name: "crm",
|
|
379
|
-
members: ["b24", "amo", "hubspot"],
|
|
396
|
+
members: ["b24", "amo", "hubspot", "attio"],
|
|
380
397
|
covers: ["deals", "sync", "search", "store", "schedule", "account"],
|
|
381
398
|
differences: [
|
|
382
399
|
{
|
|
@@ -403,7 +420,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
403
420
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
404
421
|
]);
|
|
405
422
|
|
|
406
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
423
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
407
424
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
408
425
|
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");
|
|
409
426
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -419,7 +436,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
419
436
|
}
|
|
420
437
|
]);
|
|
421
438
|
|
|
422
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
439
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
423
440
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
424
441
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
425
442
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -441,7 +458,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
441
458
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
442
459
|
]);
|
|
443
460
|
|
|
444
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
461
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
445
462
|
var ACCOUNT_FLAGS = [
|
|
446
463
|
{
|
|
447
464
|
name: "--client-id",
|
|
@@ -478,7 +495,7 @@ var ACCOUNT_FLAGS = [
|
|
|
478
495
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
479
496
|
];
|
|
480
497
|
|
|
481
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
498
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
482
499
|
var CALENDAR_FLAGS = [
|
|
483
500
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
484
501
|
{
|
|
@@ -566,7 +583,25 @@ var CALENDAR_FLAGS = [
|
|
|
566
583
|
}
|
|
567
584
|
];
|
|
568
585
|
|
|
569
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
586
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
587
|
+
var CONTENT_FLAGS = [
|
|
588
|
+
{ name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
|
|
589
|
+
{
|
|
590
|
+
name: "--tags",
|
|
591
|
+
value: "<ids>",
|
|
592
|
+
role: "value",
|
|
593
|
+
type: "list",
|
|
594
|
+
meaning: "its tags and categories, by comma-separated ids; replaces the ones it has"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
name: "--replace-body",
|
|
598
|
+
role: "mode",
|
|
599
|
+
type: "switch",
|
|
600
|
+
meaning: "write the new text over a body the tool cannot fully read back, losing what it could not show"
|
|
601
|
+
}
|
|
602
|
+
];
|
|
603
|
+
|
|
604
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
570
605
|
var CRM_FLAGS = [
|
|
571
606
|
{
|
|
572
607
|
name: "--email",
|
|
@@ -730,7 +765,7 @@ var CRM_FLAGS = [
|
|
|
730
765
|
}
|
|
731
766
|
];
|
|
732
767
|
|
|
733
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
768
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
734
769
|
var HOW_FLAGS = [
|
|
735
770
|
{
|
|
736
771
|
name: "--limit",
|
|
@@ -1110,13 +1145,7 @@ var HOW_FLAGS = [
|
|
|
1110
1145
|
type: "string",
|
|
1111
1146
|
meaning: "a person whose reply counts as an answer; repeat it for more"
|
|
1112
1147
|
},
|
|
1113
|
-
{
|
|
1114
|
-
name: "--browser",
|
|
1115
|
-
value: "<program>",
|
|
1116
|
-
role: "mode",
|
|
1117
|
-
type: "string",
|
|
1118
|
-
meaning: "the browser program to open for sign-in"
|
|
1119
|
-
},
|
|
1148
|
+
{ name: "--browser", value: "<program>", role: "mode", type: "string", meaning: "the browser to open for sign-in" },
|
|
1120
1149
|
{
|
|
1121
1150
|
name: "--credential-storage",
|
|
1122
1151
|
value: "<storage>",
|
|
@@ -1125,6 +1154,8 @@ var HOW_FLAGS = [
|
|
|
1125
1154
|
meaning: "where a sign-in is kept: keyring, which falls back to a private file by itself, or file (WC-SECR-4)"
|
|
1126
1155
|
},
|
|
1127
1156
|
{ name: "--checkpoint", value: "<file>", role: "mode", type: "path", meaning: "keep resume progress in this file" },
|
|
1157
|
+
{ name: "--site", value: "<address>", role: "mode", type: "string", meaning: "the owner's site a sign-in is for" },
|
|
1158
|
+
{ name: "--login", value: "<name>", role: "mode", type: "string", meaning: "the user name a password is for" },
|
|
1128
1159
|
{
|
|
1129
1160
|
name: "--expected-event-id",
|
|
1130
1161
|
value: "<id>",
|
|
@@ -1727,7 +1758,7 @@ var HOW_FLAGS = [
|
|
|
1727
1758
|
}
|
|
1728
1759
|
];
|
|
1729
1760
|
|
|
1730
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1761
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
1731
1762
|
var KNOWLEDGE_FLAGS = [
|
|
1732
1763
|
{
|
|
1733
1764
|
name: "--accept-terms",
|
|
@@ -1786,7 +1817,7 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1786
1817
|
}
|
|
1787
1818
|
];
|
|
1788
1819
|
|
|
1789
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1820
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
1790
1821
|
var MAIL_FLAGS = [
|
|
1791
1822
|
{
|
|
1792
1823
|
name: "--cc",
|
|
@@ -1816,7 +1847,7 @@ var MAIL_FLAGS = [
|
|
|
1816
1847
|
}
|
|
1817
1848
|
];
|
|
1818
1849
|
|
|
1819
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1850
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
1820
1851
|
var PRIVACY_FLAGS = [
|
|
1821
1852
|
{
|
|
1822
1853
|
name: "--about-text",
|
|
@@ -1877,7 +1908,7 @@ var PRIVACY_FLAGS = [
|
|
|
1877
1908
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1878
1909
|
];
|
|
1879
1910
|
|
|
1880
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1911
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
1881
1912
|
var SCHEDULE_FLAGS = [
|
|
1882
1913
|
{
|
|
1883
1914
|
name: "--locale",
|
|
@@ -1910,7 +1941,7 @@ var SCHEDULE_FLAGS = [
|
|
|
1910
1941
|
}
|
|
1911
1942
|
];
|
|
1912
1943
|
|
|
1913
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1944
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
1914
1945
|
var WHAT_FLAGS = [
|
|
1915
1946
|
{
|
|
1916
1947
|
name: "--analysis-provider",
|
|
@@ -2907,7 +2938,7 @@ var WHAT_FLAGS = [
|
|
|
2907
2938
|
}
|
|
2908
2939
|
];
|
|
2909
2940
|
|
|
2910
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2941
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.124.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
|
|
2911
2942
|
var FLAG_TYPES = [
|
|
2912
2943
|
"switch",
|
|
2913
2944
|
"count",
|
|
@@ -3137,6 +3168,8 @@ var collections = [
|
|
|
3137
3168
|
["messages", "posts in a messenger chat, or emails"],
|
|
3138
3169
|
["drafts", "e-mails saved in a mailbox's Drafts folder, written and not sent"],
|
|
3139
3170
|
["polls", "polls in a chat"],
|
|
3171
|
+
["posts", "posts and pages on a site or blog the owner publishes"],
|
|
3172
|
+
["channels", "the sites and social accounts the owner publishes posts on"],
|
|
3140
3173
|
["reactions", "reactions to a message"],
|
|
3141
3174
|
["recipients", "who a message goes to"],
|
|
3142
3175
|
["replies", "the automatic replies of a profile"],
|
|
@@ -3255,6 +3288,10 @@ var singulars = [
|
|
|
3255
3288
|
["privacy", "who may find, see, call or add the account"],
|
|
3256
3289
|
["metadata", "a profile's cached source attributes"],
|
|
3257
3290
|
["auth", "the credentials a bot profile uses: its token and the secrets beside it"],
|
|
3291
|
+
[
|
|
3292
|
+
"scheduled",
|
|
3293
|
+
"a chat's messages the messenger will send later; their ids are their own, never the ids of sent messages"
|
|
3294
|
+
],
|
|
3258
3295
|
[
|
|
3259
3296
|
"schedule",
|
|
3260
3297
|
"a profile's timers the owner saved, each running a command of this tool or an agent; the tool's own background work is jobs"
|
|
@@ -3262,6 +3299,7 @@ var singulars = [
|
|
|
3262
3299
|
];
|
|
3263
3300
|
var views = [
|
|
3264
3301
|
["tree", "the parent and child hierarchy of stored sources"],
|
|
3302
|
+
["stats", "a thing's own numbers, such as a post's views, as read at each sync"],
|
|
3265
3303
|
["logs", "the log of a running process"],
|
|
3266
3304
|
["events", "what happened in a thing over time"],
|
|
3267
3305
|
["scheduled", "what is scheduled to happen"],
|
|
@@ -3334,11 +3372,12 @@ var VOCABULARY = defineVocabulary({
|
|
|
3334
3372
|
...MAIL_FLAGS,
|
|
3335
3373
|
...KNOWLEDGE_FLAGS,
|
|
3336
3374
|
...CRM_FLAGS,
|
|
3337
|
-
...SCHEDULE_FLAGS
|
|
3375
|
+
...SCHEDULE_FLAGS,
|
|
3376
|
+
...CONTENT_FLAGS
|
|
3338
3377
|
]
|
|
3339
3378
|
});
|
|
3340
3379
|
|
|
3341
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3380
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3342
3381
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3343
3382
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3344
3383
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -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-HM6AMYHR.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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
} from "./chunk-Y5E2WNWB.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HM6AMYHR.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/vector-extension.js
|
|
14
14
|
import { readFileSync } from "node:fs";
|
|
15
15
|
var musl = /* @__PURE__ */ __name(() => {
|
|
16
16
|
if (process.platform !== "linux")
|
|
@@ -3,12 +3,12 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CliError,
|
|
5
5
|
errorCodes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HM6AMYHR.js";
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-ZVVMGPBJ.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
12
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
13
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
14
|
const { code, exitCode } = value ?? {};
|
|
@@ -60,7 +60,7 @@ var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
|
|
|
60
60
|
}, "damagedFile");
|
|
61
61
|
var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
|
|
62
62
|
|
|
63
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
63
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
64
64
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
65
65
|
"authorization",
|
|
66
66
|
"cookie",
|
|
@@ -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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/http/listen.js
|
|
8
8
|
import { createServer } from "node:http";
|
|
9
9
|
import { Readable } from "node:stream";
|
|
10
10
|
var MAX_BODY = 4 * 1024 * 1024;
|
|
@@ -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.708.0_@wirecat+cli-base@0.124.0_commander@15.0.0_esbuild@0.28.2_typ_81d85e6e33f43ec6c2f1405ef858ec13/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
8
8
|
var TIME_LIMIT_FUNCTION = "wc_time_limit";
|
|
9
9
|
var TimeLimitReached = class extends Error {
|
|
10
10
|
static {
|