@wirecat/attio-cli 0.2.2 → 0.3.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 +45 -0
- package/README.md +13 -9
- package/contracts/wirecat.json +263 -1
- package/dist/bin/attio.js +2 -2
- package/dist/bundle/agent-63P427ER.js +37 -0
- package/dist/bundle/{all-profiles-RAFO3NFW.js → all-profiles-KCZGH7JK.js} +10 -10
- package/dist/bundle/{anthropic-TNR6QJGA.js → anthropic-4HCGQIHA.js} +5 -5
- package/dist/bundle/{app-server-BXVGXUGQ.js → app-server-VSYG36ER.js} +61 -61
- package/dist/bundle/attio.js +11 -11
- package/dist/bundle/{bun-3RTK5XYF.js → bun-CZK3ZADI.js} +2 -2
- package/dist/bundle/{bun-sqlite-I5K5Z2ZK.js → bun-sqlite-CM5FSNH3.js} +6 -6
- package/dist/bundle/{chunk-XSUU7PB7.js → chunk-23POG3B3.js} +16 -3
- package/dist/bundle/{chunk-WALQNDXO.js → chunk-2ILCSLXY.js} +8 -8
- package/dist/bundle/{chunk-53BHLQRA.js → chunk-2SVDLRLQ.js} +13 -13
- package/dist/bundle/{chunk-7WS4ONXZ.js → chunk-32BIODCI.js} +3 -3
- package/dist/bundle/{chunk-BFWERPF6.js → chunk-4BQDHDZA.js} +2 -2
- package/dist/bundle/{chunk-LHKVAZ5T.js → chunk-4E4IGABE.js} +2 -2
- package/dist/bundle/{chunk-MG4U6AKG.js → chunk-4LEB7SUS.js} +3 -4
- package/dist/bundle/{chunk-BDFNXTNK.js → chunk-52GTOWNB.js} +7 -7
- package/dist/bundle/{chunk-UZYL4AMA.js → chunk-55CDR7VJ.js} +72 -57
- package/dist/bundle/{chunk-P76XVKVC.js → chunk-5R255HLF.js} +1 -1
- package/dist/bundle/{chunk-2JB5XD5R.js → chunk-5WZBGDPL.js} +7 -7
- package/dist/bundle/{chunk-NQNFMKL2.js → chunk-5ZNVTVDU.js} +1 -1
- package/dist/bundle/{chunk-2PSAS4TT.js → chunk-6WVUBU7T.js} +7 -7
- package/dist/bundle/{chunk-SYBAMYFY.js → chunk-7XSJ6LTE.js} +3 -3
- package/dist/bundle/{chunk-JWRI6ZY6.js → chunk-A3Y5GPG3.js} +203 -162
- package/dist/bundle/{chunk-CKG7GIHR.js → chunk-AJT4BERP.js} +3 -3
- package/dist/bundle/{chunk-7626I3P4.js → chunk-AV7762PN.js} +1 -1
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-BFESDJPU.js} +1 -1
- package/dist/bundle/{chunk-GT3HXSKW.js → chunk-C4DJ4OTP.js} +14 -7
- package/dist/bundle/{chunk-T6DV3ED2.js → chunk-CSKKZTWI.js} +14 -14
- package/dist/bundle/{chunk-V4JWUVNO.js → chunk-CYAWDFBI.js} +4 -4
- package/dist/bundle/{chunk-JFFCP52L.js → chunk-CYF6ECG7.js} +1 -1
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-DDFQEOLX.js} +21 -8
- package/dist/bundle/{chunk-AXGSAG53.js → chunk-DJCGJRAD.js} +25 -174
- package/dist/bundle/{chunk-NWDO4DE3.js → chunk-EAWMBNAO.js} +1740 -802
- package/dist/bundle/{chunk-VQSVE4RD.js → chunk-EGZ6N56Z.js} +2 -2
- package/dist/bundle/{chunk-LIIOT3AN.js → chunk-EO3X3QWY.js} +3 -3
- package/dist/bundle/{chunk-Z3HZD24R.js → chunk-FNIYIYDK.js} +17 -17
- package/dist/bundle/{chunk-MI6IH5UW.js → chunk-HTQ5HUXV.js} +61 -61
- package/dist/bundle/{chunk-7QH5BZUG.js → chunk-INCLKCAJ.js} +3 -3
- package/dist/bundle/{chunk-NQJ7QMEF.js → chunk-ISNUT525.js} +3 -3
- package/dist/bundle/{chunk-LG6Y4NAT.js → chunk-JAUTKJYJ.js} +2 -2
- package/dist/bundle/{chunk-2TLGP7BS.js → chunk-JLFXUXSQ.js} +5 -5
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-K34B37AP.js} +1 -1
- package/dist/bundle/{chunk-L7BMGR5W.js → chunk-KK3IESFZ.js} +162 -36
- package/dist/bundle/{chunk-FRCORPOY.js → chunk-KYAJ5AVG.js} +5 -5
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-LJLUYRPY.js} +4 -4
- package/dist/bundle/{chunk-MHMHZ6GY.js → chunk-LTGWE5L6.js} +1 -1
- package/dist/bundle/{chunk-RKKY3MSZ.js → chunk-MOUF6JHB.js} +1 -1
- package/dist/bundle/{chunk-SEDD6YZQ.js → chunk-MSASR6MQ.js} +4 -4
- package/dist/bundle/{chunk-O4SX6FXT.js → chunk-MWFJX3K6.js} +1 -1
- package/dist/bundle/{chunk-XQIRF6PS.js → chunk-N64IK3XS.js} +7 -7
- package/dist/bundle/{chunk-HMYJLOXE.js → chunk-NIV4S25C.js} +2546 -855
- package/dist/bundle/{chunk-APNSAKSO.js → chunk-NMKAEONQ.js} +6 -6
- package/dist/bundle/{chunk-OHCYBSCA.js → chunk-OKK2CBVW.js} +13 -13
- package/dist/bundle/{chunk-AMRELFBT.js → chunk-PO6DVZUY.js} +2 -2
- package/dist/bundle/{chunk-FPMWW2HK.js → chunk-PTTSHIYR.js} +32 -27
- package/dist/bundle/{chunk-UTTNGFKW.js → chunk-RGFBK5DJ.js} +12 -12
- package/dist/bundle/{chunk-YBJBYPS7.js → chunk-RMOSNURU.js} +3 -3
- package/dist/bundle/{chunk-3BM6KBWP.js → chunk-SCBLAAZU.js} +19 -19
- package/dist/bundle/{chunk-OC35ZLPE.js → chunk-SQMN3CME.js} +4 -4
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-TSHMRHL6.js} +2 -2
- package/dist/bundle/{chunk-QSUFJGTG.js → chunk-TSL3PZAZ.js} +2 -2
- package/dist/bundle/{chunk-3JRLPNPO.js → chunk-TU4U3YEM.js} +1 -1
- package/dist/bundle/{chunk-ZI3IRII7.js → chunk-U3Y2AC2K.js} +3 -3
- package/dist/bundle/{chunk-6HYTDMOL.js → chunk-UMJ7OKJD.js} +6 -6
- package/dist/bundle/{chunk-WHDVRMB7.js → chunk-UZW73WTM.js} +67 -46
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-VHPNTMJJ.js} +1 -1
- package/dist/bundle/{chunk-TUOFAUBR.js → chunk-WF7TKMZ7.js} +8 -8
- package/dist/bundle/{chunk-DKSO7UTS.js → chunk-WHA23FJC.js} +152 -14
- package/dist/bundle/{chunk-Q2U6DGSV.js → chunk-WPOOZGQ7.js} +10 -10
- package/dist/bundle/{chunk-CZP6C6MX.js → chunk-X3PQFXYL.js} +4 -4
- package/dist/bundle/{chunk-62FENOMX.js → chunk-XSHMRXOW.js} +6 -6
- package/dist/bundle/{chunk-B7U5FLPP.js → chunk-Y4AOEDGO.js} +8 -8
- package/dist/bundle/{chunk-4F3FQ5QX.js → chunk-YBCGG6JY.js} +3 -3
- package/dist/bundle/{chunk-6ZBJCBXA.js → chunk-YC3F3RCL.js} +2 -2
- package/dist/bundle/{chunk-MW2OS2GD.js → chunk-YFAATLLR.js} +8 -8
- package/dist/bundle/{chunk-AHPGTDO2.js → chunk-YGPZCVBI.js} +6 -6
- package/dist/bundle/{chunk-PRERT2BZ.js → chunk-YJKP6UZC.js} +1 -1
- package/dist/bundle/{chunk-JSAXTIRX.js → chunk-YN5K2P7M.js} +3 -2
- package/dist/bundle/{chunk-2CS7VHUB.js → chunk-ZGFRTWSW.js} +34 -34
- package/dist/bundle/{chunk-EMZ4MGPD.js → chunk-ZOVX5VVZ.js} +22 -1
- package/dist/bundle/command-contract-JZGX4E3W.js +37 -0
- package/dist/bundle/{command-server-entry-ZKWL26Q5.js → command-server-entry-FOFPJGYW.js} +25 -25
- package/dist/bundle/{decode-TG45PUJW.js → decode-2W6JJN3B.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-ZRVKJENQ.js} +8 -8
- package/dist/bundle/{echarts-AWICNZBO.js → echarts-R4BLGOSP.js} +2 -2
- package/dist/bundle/{embed-TN6HQUK2.js → embed-DIFO7RH4.js} +6 -6
- package/dist/bundle/{embedder-T3KJA3I4.js → embedder-S5FKW4XZ.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-C2B7PYPJ.js} +2 -2
- package/dist/bundle/{first-run-BZUITKMF.js → first-run-RNGP4IWU.js} +12 -12
- package/dist/bundle/first-screen-K6YMX3G5.js +37 -0
- package/dist/bundle/{instructions-FRJHLLZX.js → instructions-F22KNH4O.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-VNOYBWW2.js} +2 -2
- package/dist/bundle/meeting-combined-HX3LC5FD.js +24 -0
- package/dist/bundle/{meeting-model-TENJU3OG.js → meeting-model-P34GVZRK.js} +11 -11
- package/dist/bundle/{meeting-semantic-ZKOG2XMU.js → meeting-semantic-RC25X3UB.js} +6 -6
- package/dist/bundle/{node-3ZISJOEM.js → node-SF2NI2UT.js} +2 -2
- package/dist/bundle/{node-sqlite-KA35X4F4.js → node-sqlite-WH3MF6PF.js} +7 -7
- package/dist/bundle/{oauth-C74B6XHN.js → oauth-EWHT3YJ4.js} +7 -7
- package/dist/bundle/{open-CJESRWUG.js → open-LHEJSQCI.js} +5 -5
- package/dist/bundle/{openai-WLXOXSTV.js → openai-DDXBF7KV.js} +15 -15
- package/dist/bundle/{process-JV3KVGJY.js → process-TEQQZ3C5.js} +1 -1
- package/dist/bundle/{program-HSVLSH7A.js → program-IW3E56C2.js} +4349 -4232
- package/dist/bundle/{prompt-EEBVB3XG.js → prompt-6OEYPNAI.js} +5 -5
- package/dist/bundle/{recognize-ZFITQZ4W.js → recognize-5CRXQMAQ.js} +4 -4
- package/dist/bundle/{remote-RZXSYHOJ.js → remote-UZUYKGYQ.js} +9 -9
- package/dist/bundle/{rerank-2BHYAEO3.js → rerank-IQ6GPSJ6.js} +7 -7
- package/dist/bundle/{schemas-6GTYA2NR.js → schemas-7JX36UC7.js} +1 -1
- package/dist/bundle/{serve-G3M5H5JM.js → serve-63YMTENV.js} +9 -9
- package/dist/bundle/server-LKXXSTXK.js +79 -0
- package/dist/bundle/{server-44WJ5K2W.js → server-WQUM4JX4.js} +53 -53
- package/dist/bundle/{sqlite-runtime-TRISCWIG.js → sqlite-runtime-UO32UZHC.js} +6 -6
- package/dist/bundle/{state-BF6IMDP2.js → state-XSRJFYSU.js} +6 -6
- package/dist/bundle/{store-VSKYLTLH.js → store-A2J7I2NU.js} +18 -18
- package/dist/bundle/{store-LZPZC72J.js → store-QB5FEGT4.js} +24 -20
- package/dist/bundle/store-maintenance-command-TOLBEUMR.js +66 -0
- package/dist/bundle/surface-NURI2TAG.js +65 -0
- package/dist/commands/crm.d.ts +3 -0
- package/dist/commands/crm.d.ts.map +1 -1
- package/dist/commands/crm.js +33 -8
- package/dist/commands/crm.js.map +1 -1
- package/dist/commands/schedule.d.ts +3 -0
- package/dist/commands/schedule.d.ts.map +1 -0
- package/dist/commands/schedule.js +9 -0
- package/dist/commands/schedule.js.map +1 -0
- package/dist/commands/session.d.ts +2 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +5 -1
- package/dist/commands/session.js.map +1 -1
- package/dist/config.d.ts +0 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +22 -5
- package/dist/config.js.map +1 -1
- package/dist/generated/wirecat-config.d.ts.map +1 -1
- package/dist/generated/wirecat-config.js +175 -0
- package/dist/generated/wirecat-config.js.map +1 -1
- package/dist/hooks.d.ts.map +1 -1
- package/dist/hooks.js +20 -2
- package/dist/hooks.js.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +4 -2
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +11 -1
- package/dist/program.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +5 -4
- package/skills/attio-cli/SKILL.md +18 -3
- package/dist/bundle/agent-3FYEIRN4.js +0 -37
- package/dist/bundle/command-contract-N5X3UOTT.js +0 -37
- package/dist/bundle/first-screen-I23NJLFH.js +0 -37
- package/dist/bundle/meeting-combined-7ZNV4MZ2.js +0 -24
- package/dist/bundle/server-3ZL5TECF.js +0 -79
- package/dist/bundle/store-maintenance-command-IDAYDJLQ.js +0 -66
- package/dist/bundle/surface-OHYA3YS6.js +0 -65
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/installer.js
|
|
8
8
|
var installerOf = /* @__PURE__ */ __name((scriptPath) => {
|
|
9
9
|
const path = scriptPath.replaceAll("\\", "/");
|
|
10
10
|
if (path.includes("/_npx/"))
|
|
@@ -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-AJT4BERP.js";
|
|
6
6
|
import {
|
|
7
7
|
lentConnection
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JLFXUXSQ.js";
|
|
9
9
|
import {
|
|
10
10
|
QUERY_ARGUMENT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OKK2CBVW.js";
|
|
12
12
|
import {
|
|
13
13
|
authorityAllowed,
|
|
14
14
|
botApiAllowed,
|
|
15
15
|
changesMessenger,
|
|
16
16
|
flatten
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-A3Y5GPG3.js";
|
|
18
18
|
import {
|
|
19
19
|
currentCaller
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5WZBGDPL.js";
|
|
21
21
|
import {
|
|
22
22
|
enclosingTraceId,
|
|
23
23
|
inRun,
|
|
24
24
|
newRunId,
|
|
25
25
|
traceOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UZW73WTM.js";
|
|
27
27
|
import {
|
|
28
28
|
queryDescription
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HTQ5HUXV.js";
|
|
30
30
|
import {
|
|
31
31
|
captureStreams
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-SCBLAAZU.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-DDFQEOLX.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-TSHMRHL6.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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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.132.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.132.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([
|
|
@@ -328,7 +328,13 @@ var FAMILY_SINCE_0_98 = [
|
|
|
328
328
|
review(ENTITY, "entity lead", "b24's CRM lead and memo's differ (measured 2026-11-13)"),
|
|
329
329
|
review(ENTITY, "entity product", "b24's CRM product and memo's differ (measured 2026-11-13)"),
|
|
330
330
|
review(REASON, "reason ai.address-refused=model.address-refused", "one failure under two names; cli-core 0.650.0 keeps one"),
|
|
331
|
-
review(REASON, "reason profile.unknown: code", "b24 gives it not_found, drive validation_error (measured 2026-11-13)")
|
|
331
|
+
review(REASON, "reason profile.unknown: code", "b24 gives it not_found, drive validation_error (measured 2026-11-13)"),
|
|
332
|
+
{
|
|
333
|
+
rule: REASON,
|
|
334
|
+
target: "reason account-remove.unknown-profile=account-rename.unknown-profile",
|
|
335
|
+
reason: "one failure under two names in cli-core 0.715\u20130.716; 0.717.0 gives account rename profile.unknown",
|
|
336
|
+
review_after: "2026-12-10"
|
|
337
|
+
}
|
|
332
338
|
];
|
|
333
339
|
var PARITY_GROUPS = defineParityGroups([
|
|
334
340
|
{ name: "messengers", members: ["tg", "max"], covers: "tree", differences: MESSENGERS_SINCE_0_98 },
|
|
@@ -359,6 +365,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
359
365
|
// recordings, not zoom-cli's: they are compared on the root commands every CLI shares, the way gcal and mail are.
|
|
360
366
|
// amo-cli, hubspot-cli and attio-cli share them too, and their CRM commands are compared with b24 in `crm` below.
|
|
361
367
|
// wordpress-cli shares only these roots: it is the first content CLI, so its posts commands have no group yet.
|
|
368
|
+
// linear-cli shares only these roots too: it is the first tracker CLI, so its issues commands have no group yet.
|
|
362
369
|
// notion-cli joins here until its documents commands ship; then it moves next to drive. ydisk joins here too: in "all"
|
|
363
370
|
// its search and notes differ from the messengers' and memo's as drive's do, and a documents group of drive, notion
|
|
364
371
|
// and ydisk differs in 39 paths (session, folders browse, summaries; measured on the published CLIs 2026-11-17).
|
|
@@ -379,13 +386,14 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
379
386
|
"hubspot",
|
|
380
387
|
"attio",
|
|
381
388
|
"ydisk",
|
|
382
|
-
"wordpress"
|
|
389
|
+
"wordpress",
|
|
390
|
+
"linear"
|
|
383
391
|
],
|
|
384
392
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
385
393
|
differences: [...MEMO_HAS_NO_PROFILES, ...MEMO_MCP_SUMMARIES, MEMO_DOCTOR_DEEP]
|
|
386
394
|
},
|
|
387
|
-
// The CRM CLIs on cli-core's shared CRM commands.
|
|
388
|
-
//
|
|
395
|
+
// The CRM CLIs on cli-core's shared CRM commands. hubspot-cli is not in the family packages, so `audit --family`
|
|
396
|
+
// skips it, as beeline. Only b24 and hubspot have `leads` (amoCRM
|
|
389
397
|
// has no lead apart from a deal), only b24 has `products` (amo leaves them for later) and `deals delete` (amoCRM's
|
|
390
398
|
// API v4 cannot delete a lead, https://www.amocrm.ru/developers/content/crm_platform/leads-api), and hubspot writes
|
|
391
399
|
// no deals yet; a list of roots does not compare presence, so these need no difference. `people`, `organizations`,
|
|
@@ -420,7 +428,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
420
428
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
421
429
|
]);
|
|
422
430
|
|
|
423
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
431
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
424
432
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
425
433
|
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");
|
|
426
434
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -436,7 +444,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
436
444
|
}
|
|
437
445
|
]);
|
|
438
446
|
|
|
439
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
447
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
440
448
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
441
449
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
442
450
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -458,7 +466,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
458
466
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
459
467
|
]);
|
|
460
468
|
|
|
461
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
469
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
462
470
|
var ACCOUNT_FLAGS = [
|
|
463
471
|
{
|
|
464
472
|
name: "--client-id",
|
|
@@ -495,7 +503,7 @@ var ACCOUNT_FLAGS = [
|
|
|
495
503
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
496
504
|
];
|
|
497
505
|
|
|
498
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
506
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
499
507
|
var CALENDAR_FLAGS = [
|
|
500
508
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
501
509
|
{
|
|
@@ -583,7 +591,7 @@ var CALENDAR_FLAGS = [
|
|
|
583
591
|
}
|
|
584
592
|
];
|
|
585
593
|
|
|
586
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
594
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
595
|
var CONTENT_FLAGS = [
|
|
588
596
|
{ name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
|
|
589
597
|
{
|
|
@@ -598,10 +606,30 @@ var CONTENT_FLAGS = [
|
|
|
598
606
|
role: "mode",
|
|
599
607
|
type: "switch",
|
|
600
608
|
meaning: "write the new text over a body the tool cannot fully read back, losing what it could not show"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
name: "--from-template",
|
|
612
|
+
value: "<template>",
|
|
613
|
+
role: "value",
|
|
614
|
+
type: "string",
|
|
615
|
+
meaning: "start the new page from one of the source's page templates, by name or id; not a message --template"
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
name: "--cover",
|
|
619
|
+
value: "<link>",
|
|
620
|
+
role: "value",
|
|
621
|
+
type: "string",
|
|
622
|
+
meaning: "the page's cover image, by an https link, or none to take it away; a local image file is --photo"
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
name: "--allow-deleting-content",
|
|
626
|
+
role: "mode",
|
|
627
|
+
type: "switch",
|
|
628
|
+
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"
|
|
601
629
|
}
|
|
602
630
|
];
|
|
603
631
|
|
|
604
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
632
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
605
633
|
var CRM_FLAGS = [
|
|
606
634
|
{
|
|
607
635
|
name: "--email",
|
|
@@ -765,7 +793,7 @@ var CRM_FLAGS = [
|
|
|
765
793
|
}
|
|
766
794
|
];
|
|
767
795
|
|
|
768
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
796
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
769
797
|
var HOW_FLAGS = [
|
|
770
798
|
{
|
|
771
799
|
name: "--limit",
|
|
@@ -1758,7 +1786,7 @@ var HOW_FLAGS = [
|
|
|
1758
1786
|
}
|
|
1759
1787
|
];
|
|
1760
1788
|
|
|
1761
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1789
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
1762
1790
|
var KNOWLEDGE_FLAGS = [
|
|
1763
1791
|
{
|
|
1764
1792
|
name: "--accept-terms",
|
|
@@ -1814,10 +1842,24 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1814
1842
|
role: "target",
|
|
1815
1843
|
type: "string",
|
|
1816
1844
|
meaning: "every stored thing a search with this query finds, in its query language; the command acts on each"
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
name: "--since",
|
|
1848
|
+
value: "<time>",
|
|
1849
|
+
role: "target",
|
|
1850
|
+
type: "time",
|
|
1851
|
+
meaning: "from this time on: a time, or a duration ago such as 1d"
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
name: "--event",
|
|
1855
|
+
value: "<events>",
|
|
1856
|
+
role: "target",
|
|
1857
|
+
type: "list",
|
|
1858
|
+
meaning: "only these kinds of event, comma separated; the command lists them"
|
|
1817
1859
|
}
|
|
1818
1860
|
];
|
|
1819
1861
|
|
|
1820
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1862
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
1821
1863
|
var MAIL_FLAGS = [
|
|
1822
1864
|
{
|
|
1823
1865
|
name: "--cc",
|
|
@@ -1847,7 +1889,38 @@ var MAIL_FLAGS = [
|
|
|
1847
1889
|
}
|
|
1848
1890
|
];
|
|
1849
1891
|
|
|
1850
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1892
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
1893
|
+
var MIRROR_FLAGS = [
|
|
1894
|
+
{
|
|
1895
|
+
name: "--keep",
|
|
1896
|
+
value: "<side>",
|
|
1897
|
+
role: "mode",
|
|
1898
|
+
type: "choice",
|
|
1899
|
+
meaning: "settle a conflict with one side: local, the remote by its own name (disk, drive), or both, the other kept as a conflict copy"
|
|
1900
|
+
},
|
|
1901
|
+
{
|
|
1902
|
+
name: "--allow-deletions",
|
|
1903
|
+
value: "<count>",
|
|
1904
|
+
role: "mode",
|
|
1905
|
+
type: "count",
|
|
1906
|
+
meaning: "let this run delete up to this many files when the mirror's guard stops it; owner only"
|
|
1907
|
+
},
|
|
1908
|
+
{
|
|
1909
|
+
name: "--allow-replacements",
|
|
1910
|
+
value: "<count>",
|
|
1911
|
+
role: "mode",
|
|
1912
|
+
type: "count",
|
|
1913
|
+
meaning: "let this run overwrite up to this many existing files when the mirror's guard stops it; owner only"
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
name: "--repin",
|
|
1917
|
+
role: "mode",
|
|
1918
|
+
type: "switch",
|
|
1919
|
+
meaning: "accept that a replaced local or remote folder is the mirror's folder now, and sync it; owner only"
|
|
1920
|
+
}
|
|
1921
|
+
];
|
|
1922
|
+
|
|
1923
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
1851
1924
|
var PRIVACY_FLAGS = [
|
|
1852
1925
|
{
|
|
1853
1926
|
name: "--about-text",
|
|
@@ -1908,7 +1981,7 @@ var PRIVACY_FLAGS = [
|
|
|
1908
1981
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1909
1982
|
];
|
|
1910
1983
|
|
|
1911
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1984
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
1912
1985
|
var SCHEDULE_FLAGS = [
|
|
1913
1986
|
{
|
|
1914
1987
|
name: "--locale",
|
|
@@ -1941,7 +2014,18 @@ var SCHEDULE_FLAGS = [
|
|
|
1941
2014
|
}
|
|
1942
2015
|
];
|
|
1943
2016
|
|
|
1944
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2017
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
2018
|
+
var SEARCH_FLAGS = [
|
|
2019
|
+
{
|
|
2020
|
+
name: "--like",
|
|
2021
|
+
value: "<text>",
|
|
2022
|
+
role: "query",
|
|
2023
|
+
type: "string",
|
|
2024
|
+
meaning: "a made-up example of the text sought, such as a reply that would answer the question, searched by meaning beside the query"
|
|
2025
|
+
}
|
|
2026
|
+
];
|
|
2027
|
+
|
|
2028
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
1945
2029
|
var WHAT_FLAGS = [
|
|
1946
2030
|
{
|
|
1947
2031
|
name: "--analysis-provider",
|
|
@@ -2353,7 +2437,7 @@ var WHAT_FLAGS = [
|
|
|
2353
2437
|
type: "string",
|
|
2354
2438
|
meaning: "an organization: its id or organization:<id>"
|
|
2355
2439
|
},
|
|
2356
|
-
{ name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder or
|
|
2440
|
+
{ name: "--parent", value: "<id>", role: "target", type: "id", meaning: "the folder, task or issue it sits under" },
|
|
2357
2441
|
{
|
|
2358
2442
|
name: "--participant-id",
|
|
2359
2443
|
value: "<id>",
|
|
@@ -2631,7 +2715,6 @@ var WHAT_FLAGS = [
|
|
|
2631
2715
|
type: "choice",
|
|
2632
2716
|
meaning: "how it is closed: done, or dismissed when it needs no answer"
|
|
2633
2717
|
},
|
|
2634
|
-
{ name: "--assignee", value: "<person...>", role: "value", type: "list", meaning: "who does it, by UID" },
|
|
2635
2718
|
{ name: "--at", value: "<hh:mm>", role: "value", type: "string", meaning: "every day at this local time" },
|
|
2636
2719
|
{ name: "--body", value: "<json>", role: "value", type: "string", meaning: "the request body, as JSON" },
|
|
2637
2720
|
{
|
|
@@ -2789,7 +2872,6 @@ var WHAT_FLAGS = [
|
|
|
2789
2872
|
type: "id",
|
|
2790
2873
|
meaning: "pin this chat at the top of it; repeat it for more"
|
|
2791
2874
|
},
|
|
2792
|
-
{ name: "--priority", value: "<n>", role: "value", type: "count", meaning: "0 urgent \u2026 4 low" },
|
|
2793
2875
|
{ name: "--quiz", role: "value", type: "switch", meaning: "a quiz: one answer is right, and a vote is final" },
|
|
2794
2876
|
{
|
|
2795
2877
|
name: "--reason",
|
|
@@ -2938,7 +3020,33 @@ var WHAT_FLAGS = [
|
|
|
2938
3020
|
}
|
|
2939
3021
|
];
|
|
2940
3022
|
|
|
2941
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
3023
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
3024
|
+
var WORK_FLAGS = [
|
|
3025
|
+
{
|
|
3026
|
+
name: "--assignee",
|
|
3027
|
+
value: "<person...>",
|
|
3028
|
+
role: "value",
|
|
3029
|
+
type: "list",
|
|
3030
|
+
otherValues: ["user"],
|
|
3031
|
+
meaning: "who does it: people by UID (<person...>), or one tracker user by id, name or e-mail (<user>)"
|
|
3032
|
+
},
|
|
3033
|
+
{
|
|
3034
|
+
name: "--priority",
|
|
3035
|
+
value: "<n>",
|
|
3036
|
+
role: "value",
|
|
3037
|
+
type: "string",
|
|
3038
|
+
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"
|
|
3039
|
+
},
|
|
3040
|
+
{
|
|
3041
|
+
name: "--team",
|
|
3042
|
+
value: "<team>",
|
|
3043
|
+
role: "value",
|
|
3044
|
+
type: "string",
|
|
3045
|
+
meaning: "the tracker team that owns an issue, by id, key or name"
|
|
3046
|
+
}
|
|
3047
|
+
];
|
|
3048
|
+
|
|
3049
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.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
|
|
2942
3050
|
var FLAG_TYPES = [
|
|
2943
3051
|
"switch",
|
|
2944
3052
|
"count",
|
|
@@ -3096,6 +3204,7 @@ var verbs = [
|
|
|
3096
3204
|
"look at a source before taking anything from it: a chat link without joining, a mailbox without importing"
|
|
3097
3205
|
],
|
|
3098
3206
|
["send", "send a message"],
|
|
3207
|
+
["reply", "answer in a comment thread at the source, under the comment that started it"],
|
|
3099
3208
|
["call", "call one provider API method by its own name, generated from the provider's method list"],
|
|
3100
3209
|
["edit", "change a sent message"],
|
|
3101
3210
|
["forward", "send an existing message on to another chat"],
|
|
@@ -3232,8 +3341,19 @@ var collections = [
|
|
|
3232
3341
|
["relationships", "confirmed or suggested links between people, organizations and projects"],
|
|
3233
3342
|
["roles", "the parts a person plays in a relationship, built in or the owner's own"],
|
|
3234
3343
|
["sheets", "remote spreadsheets and their cell ranges, read or changed through a provider"],
|
|
3344
|
+
[
|
|
3345
|
+
"databases",
|
|
3346
|
+
"a source's databases, such as Notion's, each a set of rows with typed properties; the local store's are tables"
|
|
3347
|
+
],
|
|
3348
|
+
["rows", "the records of a database at the source, each with typed values; an order's or an invoice's are lines"],
|
|
3235
3349
|
["files", "files in the source, such as Google Drive, read and changed there"],
|
|
3236
|
-
["
|
|
3350
|
+
["mirrors", "saved pairings of a local folder and a folder in the source, which sync keeps the same both ways"],
|
|
3351
|
+
[
|
|
3352
|
+
"conflicts",
|
|
3353
|
+
"files a mirror's sync found changed on both sides and could not merge, each waiting for a side or a final file"
|
|
3354
|
+
],
|
|
3355
|
+
["versions", "earlier contents of a file that a write replaced or deleted, kept on this computer to be put back"],
|
|
3356
|
+
["comments", "comments people left on a thing in the source: a channel post, a file or an issue"],
|
|
3237
3357
|
["meetings", "stored meetings, from Zoom or another provider"],
|
|
3238
3358
|
["calls", "phone calls a phone system recorded, stored as meetings with their transcripts"],
|
|
3239
3359
|
["calendars", "calendars of an account, each synced or not"],
|
|
@@ -3302,6 +3422,7 @@ var views = [
|
|
|
3302
3422
|
["stats", "a thing's own numbers, such as a post's views, as read at each sync"],
|
|
3303
3423
|
["logs", "the log of a running process"],
|
|
3304
3424
|
["events", "what happened in a thing over time"],
|
|
3425
|
+
["changes", "what a sync changed in the local copy since a time: added, changed, deleted or no longer visible"],
|
|
3305
3426
|
["scheduled", "what is scheduled to happen"],
|
|
3306
3427
|
["context", "what surrounds one thing"],
|
|
3307
3428
|
["path", "where a thing is on this machine"],
|
|
@@ -3312,6 +3433,8 @@ var views = [
|
|
|
3312
3433
|
["transcript", "the text of speech: a voice message or a meeting recording"],
|
|
3313
3434
|
["evidence", "the stored messages or lines a result or a reference rests on"],
|
|
3314
3435
|
["passage", "a cited transcript line with bounded surrounding lines from the same revision"],
|
|
3436
|
+
["summary", "the summary a service wrote of a meeting, with its sections and next steps"],
|
|
3437
|
+
["people", "the people found across stored meetings by name or email, with the meetings they were in"],
|
|
3315
3438
|
["invitation", "the text that invites people to a meeting: how to join it and when"],
|
|
3316
3439
|
["agenda", "what needs a look today"],
|
|
3317
3440
|
["busy", "when calendars or people are taken, without what takes them"],
|
|
@@ -3373,11 +3496,14 @@ var VOCABULARY = defineVocabulary({
|
|
|
3373
3496
|
...KNOWLEDGE_FLAGS,
|
|
3374
3497
|
...CRM_FLAGS,
|
|
3375
3498
|
...SCHEDULE_FLAGS,
|
|
3376
|
-
...CONTENT_FLAGS
|
|
3499
|
+
...CONTENT_FLAGS,
|
|
3500
|
+
...SEARCH_FLAGS,
|
|
3501
|
+
...MIRROR_FLAGS,
|
|
3502
|
+
...WORK_FLAGS
|
|
3377
3503
|
]
|
|
3378
3504
|
});
|
|
3379
3505
|
|
|
3380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3506
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3381
3507
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3382
3508
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3383
3509
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
readSharedSection,
|
|
5
5
|
sharedConfigPath,
|
|
6
6
|
writeSharedSection
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6WVUBU7T.js";
|
|
8
8
|
import {
|
|
9
9
|
filesPresent,
|
|
10
10
|
sharedModelsDirectory
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MSASR6MQ.js";
|
|
12
12
|
import {
|
|
13
13
|
storePath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EGZ6N56Z.js";
|
|
15
15
|
import {
|
|
16
16
|
array,
|
|
17
17
|
check,
|
|
@@ -35,12 +35,12 @@ import {
|
|
|
35
35
|
} from "./chunk-S4UUN6LD.js";
|
|
36
36
|
import {
|
|
37
37
|
CliError
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TSHMRHL6.js";
|
|
39
39
|
import {
|
|
40
40
|
__name
|
|
41
41
|
} from "./chunk-ZVVMGPBJ.js";
|
|
42
42
|
|
|
43
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
43
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/embeddings/models.js
|
|
44
44
|
import { existsSync } from "node:fs";
|
|
45
45
|
import { join } from "node:path";
|
|
46
46
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
@@ -2,12 +2,12 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
singleLine
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-TSHMRHL6.js";
|
|
6
6
|
import {
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/names.js
|
|
11
11
|
var FIRST_PARTY_TOOLS = [
|
|
12
12
|
{ name: "tg", package: "@wirecat/tg-cli" },
|
|
13
13
|
{ name: "max", package: "@wirecat/max-cli" },
|
|
@@ -31,7 +31,7 @@ var DESCRIBE_FLAG = "--wcat-describe";
|
|
|
31
31
|
var DESCRIBE_MAX_BYTES = 64 * 1024;
|
|
32
32
|
var DISPATCH_FLAG = "--wcat-dispatch";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/describe.js
|
|
35
35
|
var DESCRIBE_FORMAT = 1;
|
|
36
36
|
var DESCRIBE_MANIFEST_FORMAT = 2;
|
|
37
37
|
var describeAnswer = /* @__PURE__ */ __name((tool, manifest) => {
|
|
@@ -74,7 +74,7 @@ var parseDescribe = /* @__PURE__ */ __name((text) => {
|
|
|
74
74
|
};
|
|
75
75
|
}, "parseDescribe");
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shim.js
|
|
78
78
|
import { lstatSync, readFileSync, renameSync, rmSync, statSync, writeFileSync } from "node:fs";
|
|
79
79
|
import { join } from "node:path";
|
|
80
80
|
var SHIM_FORMAT = 2;
|
|
@@ -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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/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 {
|
|
@@ -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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/mcp/bot/instructions.js
|
|
8
8
|
var botInstructions = /* @__PURE__ */ __name(({ command, name, profile, writes, skill }) => [
|
|
9
9
|
`The owner's ${name} bot "${profile}", through the official Bot API \u2014 not the owner's personal account. What it writes, people see as the bot.`,
|
|
10
10
|
"Use these tools to read the chats this bot is in, find a message or a person, and \u2014 when the profile allows \u2014 write as the bot.",
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EGZ6N56Z.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TSHMRHL6.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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -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.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/cli/stdin-field.js
|
|
8
8
|
var fields = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
var readsStdin = /* @__PURE__ */ __name((command, field) => {
|
|
10
10
|
fields.set(command, field);
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
backoffMs,
|
|
6
6
|
realSleep,
|
|
7
7
|
wallClock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SCBLAAZU.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
isCliError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TSHMRHL6.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/body.js
|
|
18
18
|
var interrupted = /* @__PURE__ */ __name((signal) => isCliError(signal.reason) ? signal.reason : new CliError(signal.reason instanceof Error && signal.reason.name === "TimeoutError" ? "timeout" : "cancelled", "HTTP response read was interrupted"), "interrupted");
|
|
19
19
|
var checked = /* @__PURE__ */ __name((signal) => {
|
|
20
20
|
if (signal?.aborted)
|
|
@@ -99,7 +99,7 @@ var readJsonResponse = /* @__PURE__ */ __name(async (response, options) => {
|
|
|
99
99
|
}
|
|
100
100
|
}, "readJsonResponse");
|
|
101
101
|
|
|
102
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
102
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/hosts.js
|
|
103
103
|
var LABEL = "[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?";
|
|
104
104
|
var HOST_PATTERN = new RegExp(`^(?:${LABEL}(?:\\.${LABEL})*|\\*\\.${LABEL}(?:\\.${LABEL})+)$`);
|
|
105
105
|
var hostProblems = /* @__PURE__ */ __name((hosts) => [
|
|
@@ -111,7 +111,7 @@ var hostCovered = /* @__PURE__ */ __name((hostname, hosts) => {
|
|
|
111
111
|
return hosts.some((host) => host.startsWith("*.") ? name.endsWith(host.slice(1)) : name === host);
|
|
112
112
|
}, "hostCovered");
|
|
113
113
|
|
|
114
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
114
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/fetch.js
|
|
115
115
|
var HOST_FETCH_TIMEOUT_MS = 3e4;
|
|
116
116
|
var REDIRECTS = 5;
|
|
117
117
|
var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
@@ -229,7 +229,7 @@ var hostFetch = /* @__PURE__ */ __name((options) => {
|
|
|
229
229
|
};
|
|
230
230
|
}, "hostFetch");
|
|
231
231
|
|
|
232
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
232
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/index.js
|
|
233
233
|
var parseRetryAfter = /* @__PURE__ */ __name((header, now) => {
|
|
234
234
|
if (!header)
|
|
235
235
|
return void 0;
|
|
@@ -321,7 +321,7 @@ var retrying = /* @__PURE__ */ __name((send, options = {}) => {
|
|
|
321
321
|
};
|
|
322
322
|
}, "retrying");
|
|
323
323
|
|
|
324
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
324
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.736.0_@wirecat+cli-base@0.132.0_commander@15.0.0_esbuild@0.28.2_typ_ed71afeebbb7e8ab4e7528bc1c5650a7/node_modules/@wirecat/cli-core/dist/models/endpoint.js
|
|
325
325
|
var endpoint = /* @__PURE__ */ __name((value) => {
|
|
326
326
|
try {
|
|
327
327
|
const url = new URL(value);
|