@wirecat/hubspot-cli 0.3.2 → 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 +34 -0
- package/README.md +6 -5
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-RBQMA24N.js +40 -0
- package/dist/bundle/{all-profiles-6452VSJB.js → all-profiles-PGFXLOKN.js} +11 -11
- package/dist/bundle/{anthropic-VQUOVYOW.js → anthropic-LPOJ3TYF.js} +5 -5
- package/dist/bundle/{app-server-EQZUP4H4.js → app-server-EYWGCSRY.js} +68 -68
- package/dist/bundle/{bun-AJPJ4ZUN.js → bun-ZJOOKIIW.js} +2 -2
- package/dist/bundle/{bun-sqlite-AGXGSF6D.js → bun-sqlite-Y6KKH2OW.js} +6 -6
- package/dist/bundle/{chunk-2A64XS22.js → chunk-23CLSKY7.js} +3 -3
- package/dist/bundle/{chunk-GZZR5U3K.js → chunk-34HDRZIL.js} +14 -14
- package/dist/bundle/{chunk-NZGI74GS.js → chunk-3CHJYWA2.js} +6 -6
- package/dist/bundle/{chunk-PMP37KLR.js → chunk-4RZ4DUQT.js} +3 -3
- package/dist/bundle/{chunk-LT5KE44Q.js → chunk-5ENY4POG.js} +61 -61
- package/dist/bundle/{chunk-QBEDVMLZ.js → chunk-5HGS65I3.js} +2 -2
- package/dist/bundle/{chunk-KVXEEKBB.js → chunk-5UPNDUAA.js} +2 -2
- package/dist/bundle/{chunk-YIF5M5R6.js → chunk-5WADRBQG.js} +3 -3
- package/dist/bundle/{chunk-KO4VR5NK.js → chunk-6PWRJGX4.js} +4 -4
- package/dist/bundle/{chunk-TKK3ECDS.js → chunk-6S422S22.js} +7 -7
- package/dist/bundle/{chunk-5AYKCKSE.js → chunk-7Q64D56R.js} +11 -11
- package/dist/bundle/{chunk-PHXOL5HZ.js → chunk-7RIE3DAW.js} +174 -161
- package/dist/bundle/{chunk-RVWGFD32.js → chunk-A5UTNGI4.js} +13 -13
- package/dist/bundle/{chunk-NTQBS2JL.js → chunk-ABPZOI3C.js} +4 -4
- package/dist/bundle/{chunk-L433IDOX.js → chunk-AHZQMSXW.js} +10 -10
- package/dist/bundle/{chunk-X5S5KUSU.js → chunk-AIQT2GGK.js} +19 -19
- package/dist/bundle/{chunk-3R4KRNUZ.js → chunk-AVBKXCEY.js} +8 -8
- package/dist/bundle/{chunk-TIHDBKA7.js → chunk-BCW7DAVV.js} +2 -2
- package/dist/bundle/{chunk-7UEL65GQ.js → chunk-BGUGTMTS.js} +8 -8
- package/dist/bundle/{chunk-BN22EKQQ.js → chunk-BH5FEFZB.js} +2 -2
- package/dist/bundle/{chunk-DJ2GJ77D.js → chunk-BVK4GUUI.js} +1352 -838
- package/dist/bundle/{chunk-3TEFE6YU.js → chunk-BW7NPFVC.js} +18 -8
- package/dist/bundle/{chunk-WRCKE5ND.js → chunk-CWCJEAHZ.js} +3 -3
- package/dist/bundle/{chunk-DW23LM47.js → chunk-DDMBPYHP.js} +2 -2
- package/dist/bundle/{chunk-WGBVRDY3.js → chunk-DEUCWBBH.js} +103 -5
- package/dist/bundle/{chunk-SEELWPRD.js → chunk-DJUUQG6Y.js} +8 -8
- package/dist/bundle/{chunk-VW5F6FK3.js → chunk-EGR3YUWD.js} +4 -4
- package/dist/bundle/{chunk-M763RNWP.js → chunk-EPBHJMF6.js} +20 -14
- package/dist/bundle/{chunk-7NZT7Y55.js → chunk-GZJP3KQQ.js} +3 -4
- package/dist/bundle/{chunk-BHZUPOQY.js → chunk-HBFSGL5E.js} +26 -26
- package/dist/bundle/{chunk-O3VM5PTJ.js → chunk-HPRGUUHY.js} +1 -1
- package/dist/bundle/{chunk-DSRXCLPO.js → chunk-HPSESLOZ.js} +1 -1
- package/dist/bundle/{chunk-Q27QAB4X.js → chunk-I334AT2H.js} +7 -7
- package/dist/bundle/{chunk-BAUK2MD5.js → chunk-K3WCBNH4.js} +43 -64
- package/dist/bundle/{chunk-JK2SNLU5.js → chunk-K5S7MKBB.js} +17 -17
- package/dist/bundle/{chunk-J5P5VSRG.js → chunk-KAW5VEER.js} +21 -8
- package/dist/bundle/{chunk-NNMU2TDU.js → chunk-KC4ILAKO.js} +1 -1
- package/dist/bundle/{chunk-K4X5ZHI2.js → chunk-KRTXJMCD.js} +16 -16
- package/dist/bundle/{chunk-DQB5JMTY.js → chunk-KXWRVLSU.js} +1 -1
- package/dist/bundle/{chunk-VQEAZXTV.js → chunk-L4SVHQ7H.js} +7 -7
- package/dist/bundle/{chunk-ARTJLL7W.js → chunk-L6WSFVTD.js} +8 -8
- package/dist/bundle/{chunk-OJIJVOOA.js → chunk-LWS5AO3H.js} +17 -17
- package/dist/bundle/{chunk-E4X7JAFC.js → chunk-LXLXF2OE.js} +3 -3
- package/dist/bundle/{chunk-ODPU3II6.js → chunk-MENMD5Y5.js} +8 -8
- package/dist/bundle/{chunk-5ZV7REBE.js → chunk-MFWECOO3.js} +82 -64
- package/dist/bundle/{chunk-HPZRUY6S.js → chunk-MGMLSPIY.js} +1 -1
- package/dist/bundle/{chunk-B3EH22CO.js → chunk-MKBQFD37.js} +1 -1
- package/dist/bundle/{chunk-E4FAMU2S.js → chunk-MPNMEWHA.js} +417 -320
- package/dist/bundle/{chunk-2HYGCLKN.js → chunk-MPQ4SPZG.js} +93 -40
- package/dist/bundle/{chunk-ITGNDZRR.js → chunk-MW4ROXQ6.js} +3 -3
- package/dist/bundle/{chunk-JP2HJXFO.js → chunk-NEDV6RCQ.js} +10 -3
- package/dist/bundle/{chunk-PLRUUXK7.js → chunk-NEP67GLY.js} +6 -6
- package/dist/bundle/{chunk-6MFP47XC.js → chunk-NKIKMG33.js} +35 -35
- package/dist/bundle/{chunk-GC6FLHZF.js → chunk-NLPGUYCG.js} +12 -12
- package/dist/bundle/{chunk-AF7DANIR.js → chunk-OCISQFMW.js} +1 -1
- package/dist/bundle/{chunk-AVUMH42T.js → chunk-ODRF47VS.js} +8 -8
- package/dist/bundle/{chunk-EE4JSYGZ.js → chunk-OFOA6VJ2.js} +3 -3
- package/dist/bundle/{chunk-BUGROVF3.js → chunk-PMGAU6AP.js} +2 -2
- package/dist/bundle/{chunk-IQ2XZ62J.js → chunk-POTS24SH.js} +18 -18
- package/dist/bundle/{chunk-B2W3C4N6.js → chunk-PPQRWFJZ.js} +5 -5
- package/dist/bundle/{chunk-GRFICQTZ.js → chunk-QCHW7R7L.js} +1 -1
- package/dist/bundle/{chunk-5K3FGXZH.js → chunk-QDNYJOWJ.js} +1 -1
- package/dist/bundle/{chunk-WCQW4GYO.js → chunk-QIHJKE4K.js} +24 -8
- package/dist/bundle/{chunk-7LQRXVQ3.js → chunk-QLFD3MOL.js} +1002 -560
- package/dist/bundle/{chunk-7VHBS5BJ.js → chunk-QPTHEZZ5.js} +2 -2
- package/dist/bundle/{chunk-IXZLMFPO.js → chunk-R7ZOCDNG.js} +1 -1
- package/dist/bundle/{chunk-FIVD4HM4.js → chunk-RJBKDZGV.js} +8 -8
- package/dist/bundle/{chunk-4DNHXRCJ.js → chunk-RZS7N3OZ.js} +7 -7
- package/dist/bundle/{chunk-A6UFH3QU.js → chunk-SBNZYRVZ.js} +4 -4
- package/dist/bundle/{chunk-EMOVVERN.js → chunk-STTHRJBX.js} +5 -5
- package/dist/bundle/{chunk-2NCO4E4T.js → chunk-V5VMAHDQ.js} +6 -6
- package/dist/bundle/{chunk-LA3YU4K7.js → chunk-VCYUYFIV.js} +1 -1
- package/dist/bundle/{chunk-3I2FGNWO.js → chunk-VIJV474N.js} +1 -1
- package/dist/bundle/{chunk-ABXVU5O4.js → chunk-WDR77HPO.js} +22 -1
- package/dist/bundle/{chunk-3PEKYGZ3.js → chunk-WEM4FZPM.js} +2 -2
- package/dist/bundle/{chunk-5PPG73G6.js → chunk-WQZENAPE.js} +3 -3
- package/dist/bundle/{chunk-5YNAVVCW.js → chunk-WXEN6AXQ.js} +16 -3
- package/dist/bundle/{chunk-IBTMK5KD.js → chunk-YJLJZMEA.js} +25 -25
- package/dist/bundle/{chunk-2PRVWEJC.js → chunk-YQBGPBYN.js} +2 -2
- package/dist/bundle/{chunk-3DIXAEGH.js → chunk-YZ5MULJM.js} +3 -3
- package/dist/bundle/{chunk-JUKAIXKY.js → chunk-Z7FC6VVM.js} +1 -1
- package/dist/bundle/{chunk-LKSNISYV.js → chunk-ZKPM53YG.js} +4 -4
- package/dist/bundle/{chunk-U6XA3OOM.js → chunk-ZLWQPUPB.js} +2 -2
- package/dist/bundle/{chunk-CBCEMFCF.js → chunk-ZMHD76RE.js} +2 -2
- package/dist/bundle/command-contract-O2UKYHLD.js +40 -0
- package/dist/bundle/{command-server-entry-GJSMDSNE.js → command-server-entry-B7S5AUE6.js} +28 -28
- package/dist/bundle/{decode-6PLXHVHW.js → decode-7L33C5UJ.js} +5 -5
- package/dist/bundle/{dispatch-TAQ7635E.js → dispatch-BIGHHSXV.js} +8 -8
- package/dist/bundle/{echarts-UZ7QLRE2.js → echarts-CWR3QH55.js} +2 -2
- package/dist/bundle/{embed-AWLL4EBF.js → embed-GXQ3HOQ6.js} +6 -6
- package/dist/bundle/{embedder-MM225YJ6.js → embedder-47OYXGLS.js} +9 -9
- package/dist/bundle/{failure-MR2XVHFP.js → failure-VMZOU5GZ.js} +2 -2
- package/dist/bundle/{first-run-KCZVNFJ7.js → first-run-YVQQOUQG.js} +12 -12
- package/dist/bundle/first-screen-TU3KE2B5.js +40 -0
- package/dist/bundle/hubspot.js +27 -25
- package/dist/bundle/{instructions-ZJ7U3QUE.js → instructions-QFS2MPK3.js} +1 -1
- package/dist/bundle/{mcp-CNV7F2XZ.js → mcp-Z2KZNCXB.js} +2 -2
- package/dist/bundle/meeting-combined-WBEOLQMP.js +25 -0
- package/dist/bundle/{meeting-model-OYXB2NOE.js → meeting-model-GLF2HVJG.js} +11 -11
- package/dist/bundle/{meeting-semantic-S3DBB7XD.js → meeting-semantic-RG56F4YX.js} +6 -6
- package/dist/bundle/{node-HGCZGZ4R.js → node-3TSWTXGI.js} +2 -2
- package/dist/bundle/{node-sqlite-RKYSRKEB.js → node-sqlite-UPQCG7DJ.js} +7 -7
- package/dist/bundle/{oauth-PYDCAQ7Y.js → oauth-MCVEENW3.js} +7 -7
- package/dist/bundle/{open-UCDSQUN2.js → open-JMUTKUYJ.js} +5 -5
- package/dist/bundle/{openai-Y4F5ZC7O.js → openai-HT7YDOK7.js} +15 -15
- package/dist/bundle/{process-P7FB7YO7.js → process-7RC6DAGM.js} +1 -1
- package/dist/bundle/{program-VKYZXANH.js → program-3DLBMOEJ.js} +174 -120
- package/dist/bundle/{prompt-E5TKZ37Q.js → prompt-7EROPXPF.js} +5 -5
- package/dist/bundle/{recognize-5NYPTSLT.js → recognize-B232GXD2.js} +4 -4
- package/dist/bundle/{remote-U4LUAHF2.js → remote-HGV64VRC.js} +9 -9
- package/dist/bundle/{rerank-AJAVKK5L.js → rerank-5S6TDXHD.js} +7 -7
- package/dist/bundle/{schemas-QLQ2K6DL.js → schemas-SB42IXEX.js} +1 -1
- package/dist/bundle/{serve-4UJ3R5IP.js → serve-D2WFCV6Z.js} +9 -9
- package/dist/bundle/{server-DUKWJUKD.js → server-4AXPTJPV.js} +60 -60
- package/dist/bundle/server-FFHVNABP.js +86 -0
- package/dist/bundle/{source-LJG4BWRU.js → source-DF63EC2B.js} +114 -86
- package/dist/bundle/{sqlite-runtime-KLEA4XAU.js → sqlite-runtime-DAFMZNLI.js} +6 -6
- package/dist/bundle/{state-COGSYMVH.js → state-7OEBDXVV.js} +6 -6
- package/dist/bundle/{store-BJXCSP26.js → store-2ZWSWF76.js} +24 -24
- package/dist/bundle/{store-V5UMSWK4.js → store-KC6US326.js} +26 -22
- package/dist/bundle/store-Q3ZKD4FJ.js +34 -0
- package/dist/bundle/store-maintenance-command-24A4GBRP.js +73 -0
- package/dist/bundle/surface-SPTM57EP.js +72 -0
- package/dist/bundle/writer-EQQ55HOS.js +86 -0
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +59 -10
- package/dist/config.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/hubspot-cli/references/api/api-basic.md +34 -6
- package/skills/hubspot-cli/references/api/api-batch.md +19 -9
- package/skills/hubspot-cli/references/api/api-search.md +9 -0
- package/dist/bundle/agent-A7ARC3QB.js +0 -40
- package/dist/bundle/command-contract-R2FGN7CQ.js +0 -40
- package/dist/bundle/first-screen-SCDV7TXT.js +0 -40
- package/dist/bundle/meeting-combined-EL5XZIJ5.js +0 -25
- package/dist/bundle/server-UQVV2PPX.js +0 -86
- package/dist/bundle/store-7DQGZH64.js +0 -32
- package/dist/bundle/store-maintenance-command-DQUBBWMD.js +0 -73
- package/dist/bundle/surface-IGBQUYE5.js +0 -72
- package/dist/bundle/writer-QOEJONAD.js +0 -86
|
@@ -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-ABPZOI3C.js";
|
|
6
6
|
import {
|
|
7
7
|
lentConnection
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PPQRWFJZ.js";
|
|
9
9
|
import {
|
|
10
10
|
QUERY_ARGUMENT
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EPBHJMF6.js";
|
|
12
12
|
import {
|
|
13
13
|
changesMessenger,
|
|
14
14
|
flatten
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7RIE3DAW.js";
|
|
16
16
|
import {
|
|
17
17
|
currentCaller
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RJBKDZGV.js";
|
|
19
19
|
import {
|
|
20
20
|
enclosingTraceId,
|
|
21
21
|
inRun,
|
|
22
22
|
newRunId,
|
|
23
23
|
traceOf
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YJLJZMEA.js";
|
|
25
25
|
import {
|
|
26
26
|
authorityAllowed,
|
|
27
27
|
botApiAllowed
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BW7NPFVC.js";
|
|
29
29
|
import {
|
|
30
30
|
queryDescription
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5ENY4POG.js";
|
|
32
32
|
import {
|
|
33
33
|
captureStreams
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AIQT2GGK.js";
|
|
35
35
|
import {
|
|
36
36
|
COMPACT_FLAG,
|
|
37
37
|
SNAKE_CASE,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
text,
|
|
42
42
|
word,
|
|
43
43
|
writes
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-KAW5VEER.js";
|
|
45
45
|
import {
|
|
46
46
|
array,
|
|
47
47
|
boolean,
|
|
@@ -65,15 +65,15 @@ import {
|
|
|
65
65
|
} from "./chunk-S4UUN6LD.js";
|
|
66
66
|
import {
|
|
67
67
|
CliError
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-PMGAU6AP.js";
|
|
69
69
|
import {
|
|
70
70
|
__name
|
|
71
71
|
} from "./chunk-ZVVMGPBJ.js";
|
|
72
72
|
|
|
73
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
73
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
74
74
|
import { Readable } from "node:stream";
|
|
75
75
|
|
|
76
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
76
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
77
77
|
var LINT_SEVERITIES = ["high", "medium", "low"];
|
|
78
78
|
var lintRuleSchema = strictObject({
|
|
79
79
|
id: word,
|
|
@@ -219,7 +219,7 @@ var overrideSchema = strictObject({
|
|
|
219
219
|
});
|
|
220
220
|
var overridesSchema = array(overrideSchema);
|
|
221
221
|
|
|
222
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
222
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
223
223
|
var auditRuleSchema = strictObject({ id: word, severity: picklist(LINT_SEVERITIES), summary: text });
|
|
224
224
|
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");
|
|
225
225
|
var AUDIT_RULES = defineAuditRules([
|
|
@@ -359,18 +359,37 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
359
359
|
},
|
|
360
360
|
// bitrix24-cli's search is cli-core's CRM `search all`, and beeline-cli's and asterisk-cli's meetings take call
|
|
361
361
|
// recordings, not zoom-cli's: they are compared on the root commands every CLI shares, the way gcal and mail are.
|
|
362
|
-
// amo-cli and
|
|
362
|
+
// amo-cli, hubspot-cli and attio-cli share them too, and their CRM commands are compared with b24 in `crm` below.
|
|
363
|
+
// wordpress-cli shares only these roots: it is the first content CLI, so its posts commands have no group yet.
|
|
364
|
+
// linear-cli shares only these roots too: it is the first tracker CLI, so its issues commands have no group yet.
|
|
363
365
|
// notion-cli joins here until its documents commands ship; then it moves next to drive. ydisk joins here too: in "all"
|
|
364
366
|
// its search and notes differ from the messengers' and memo's as drive's do, and a documents group of drive, notion
|
|
365
367
|
// and ydisk differs in 39 paths (session, folders browse, summaries; measured on the published CLIs 2026-11-17).
|
|
366
368
|
{
|
|
367
369
|
name: "shared-roots",
|
|
368
|
-
members: [
|
|
370
|
+
members: [
|
|
371
|
+
"tg",
|
|
372
|
+
"max",
|
|
373
|
+
"memo",
|
|
374
|
+
"drive",
|
|
375
|
+
"zm",
|
|
376
|
+
"wa",
|
|
377
|
+
"b24",
|
|
378
|
+
"beeline",
|
|
379
|
+
"pbx",
|
|
380
|
+
"notion",
|
|
381
|
+
"amo",
|
|
382
|
+
"hubspot",
|
|
383
|
+
"attio",
|
|
384
|
+
"ydisk",
|
|
385
|
+
"wordpress",
|
|
386
|
+
"linear"
|
|
387
|
+
],
|
|
369
388
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
370
389
|
differences: [...MEMO_HAS_NO_PROFILES, ...MEMO_MCP_SUMMARIES, MEMO_DOCTOR_DEEP]
|
|
371
390
|
},
|
|
372
|
-
// The CRM CLIs on cli-core's shared CRM commands.
|
|
373
|
-
//
|
|
391
|
+
// The CRM CLIs on cli-core's shared CRM commands. hubspot-cli is not in the family packages, so `audit --family`
|
|
392
|
+
// skips it, as beeline. Only b24 and hubspot have `leads` (amoCRM
|
|
374
393
|
// has no lead apart from a deal), only b24 has `products` (amo leaves them for later) and `deals delete` (amoCRM's
|
|
375
394
|
// API v4 cannot delete a lead, https://www.amocrm.ru/developers/content/crm_platform/leads-api), and hubspot writes
|
|
376
395
|
// no deals yet; a list of roots does not compare presence, so these need no difference. `people`, `organizations`,
|
|
@@ -378,7 +397,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
378
397
|
// commands: measured against b24 0.23.0 on 2026-11-16 they differ in options, outputs and summaries.
|
|
379
398
|
{
|
|
380
399
|
name: "crm",
|
|
381
|
-
members: ["b24", "amo", "hubspot"],
|
|
400
|
+
members: ["b24", "amo", "hubspot", "attio"],
|
|
382
401
|
covers: ["deals", "sync", "search", "store", "schedule", "account"],
|
|
383
402
|
differences: [
|
|
384
403
|
{
|
|
@@ -405,7 +424,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
405
424
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
406
425
|
]);
|
|
407
426
|
|
|
408
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
427
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
409
428
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
410
429
|
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");
|
|
411
430
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -421,7 +440,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
421
440
|
}
|
|
422
441
|
]);
|
|
423
442
|
|
|
424
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
443
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
425
444
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
426
445
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
427
446
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -443,7 +462,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
443
462
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
444
463
|
]);
|
|
445
464
|
|
|
446
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
465
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
447
466
|
var ACCOUNT_FLAGS = [
|
|
448
467
|
{
|
|
449
468
|
name: "--client-id",
|
|
@@ -480,7 +499,7 @@ var ACCOUNT_FLAGS = [
|
|
|
480
499
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
481
500
|
];
|
|
482
501
|
|
|
483
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
502
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
484
503
|
var CALENDAR_FLAGS = [
|
|
485
504
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
486
505
|
{
|
|
@@ -568,7 +587,25 @@ var CALENDAR_FLAGS = [
|
|
|
568
587
|
}
|
|
569
588
|
];
|
|
570
589
|
|
|
571
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
590
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
591
|
+
var CONTENT_FLAGS = [
|
|
592
|
+
{ name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
|
|
593
|
+
{
|
|
594
|
+
name: "--tags",
|
|
595
|
+
value: "<ids>",
|
|
596
|
+
role: "value",
|
|
597
|
+
type: "list",
|
|
598
|
+
meaning: "its tags and categories, by comma-separated ids; replaces the ones it has"
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
name: "--replace-body",
|
|
602
|
+
role: "mode",
|
|
603
|
+
type: "switch",
|
|
604
|
+
meaning: "write the new text over a body the tool cannot fully read back, losing what it could not show"
|
|
605
|
+
}
|
|
606
|
+
];
|
|
607
|
+
|
|
608
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
572
609
|
var CRM_FLAGS = [
|
|
573
610
|
{
|
|
574
611
|
name: "--email",
|
|
@@ -732,7 +769,7 @@ var CRM_FLAGS = [
|
|
|
732
769
|
}
|
|
733
770
|
];
|
|
734
771
|
|
|
735
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
772
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
736
773
|
var HOW_FLAGS = [
|
|
737
774
|
{
|
|
738
775
|
name: "--limit",
|
|
@@ -1112,13 +1149,7 @@ var HOW_FLAGS = [
|
|
|
1112
1149
|
type: "string",
|
|
1113
1150
|
meaning: "a person whose reply counts as an answer; repeat it for more"
|
|
1114
1151
|
},
|
|
1115
|
-
{
|
|
1116
|
-
name: "--browser",
|
|
1117
|
-
value: "<program>",
|
|
1118
|
-
role: "mode",
|
|
1119
|
-
type: "string",
|
|
1120
|
-
meaning: "the browser program to open for sign-in"
|
|
1121
|
-
},
|
|
1152
|
+
{ name: "--browser", value: "<program>", role: "mode", type: "string", meaning: "the browser to open for sign-in" },
|
|
1122
1153
|
{
|
|
1123
1154
|
name: "--credential-storage",
|
|
1124
1155
|
value: "<storage>",
|
|
@@ -1127,6 +1158,8 @@ var HOW_FLAGS = [
|
|
|
1127
1158
|
meaning: "where a sign-in is kept: keyring, which falls back to a private file by itself, or file (WC-SECR-4)"
|
|
1128
1159
|
},
|
|
1129
1160
|
{ name: "--checkpoint", value: "<file>", role: "mode", type: "path", meaning: "keep resume progress in this file" },
|
|
1161
|
+
{ name: "--site", value: "<address>", role: "mode", type: "string", meaning: "the owner's site a sign-in is for" },
|
|
1162
|
+
{ name: "--login", value: "<name>", role: "mode", type: "string", meaning: "the user name a password is for" },
|
|
1130
1163
|
{
|
|
1131
1164
|
name: "--expected-event-id",
|
|
1132
1165
|
value: "<id>",
|
|
@@ -1729,7 +1762,7 @@ var HOW_FLAGS = [
|
|
|
1729
1762
|
}
|
|
1730
1763
|
];
|
|
1731
1764
|
|
|
1732
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1765
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
1733
1766
|
var KNOWLEDGE_FLAGS = [
|
|
1734
1767
|
{
|
|
1735
1768
|
name: "--accept-terms",
|
|
@@ -1788,7 +1821,7 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1788
1821
|
}
|
|
1789
1822
|
];
|
|
1790
1823
|
|
|
1791
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1824
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
1792
1825
|
var MAIL_FLAGS = [
|
|
1793
1826
|
{
|
|
1794
1827
|
name: "--cc",
|
|
@@ -1818,7 +1851,7 @@ var MAIL_FLAGS = [
|
|
|
1818
1851
|
}
|
|
1819
1852
|
];
|
|
1820
1853
|
|
|
1821
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1854
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
1822
1855
|
var PRIVACY_FLAGS = [
|
|
1823
1856
|
{
|
|
1824
1857
|
name: "--about-text",
|
|
@@ -1879,7 +1912,7 @@ var PRIVACY_FLAGS = [
|
|
|
1879
1912
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1880
1913
|
];
|
|
1881
1914
|
|
|
1882
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1915
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
1883
1916
|
var SCHEDULE_FLAGS = [
|
|
1884
1917
|
{
|
|
1885
1918
|
name: "--locale",
|
|
@@ -1912,7 +1945,18 @@ var SCHEDULE_FLAGS = [
|
|
|
1912
1945
|
}
|
|
1913
1946
|
];
|
|
1914
1947
|
|
|
1915
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1948
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
1949
|
+
var SEARCH_FLAGS = [
|
|
1950
|
+
{
|
|
1951
|
+
name: "--like",
|
|
1952
|
+
value: "<text>",
|
|
1953
|
+
role: "query",
|
|
1954
|
+
type: "string",
|
|
1955
|
+
meaning: "a made-up example of the text sought, such as a reply that would answer the question, searched by meaning beside the query"
|
|
1956
|
+
}
|
|
1957
|
+
];
|
|
1958
|
+
|
|
1959
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
1916
1960
|
var WHAT_FLAGS = [
|
|
1917
1961
|
{
|
|
1918
1962
|
name: "--analysis-provider",
|
|
@@ -2909,7 +2953,7 @@ var WHAT_FLAGS = [
|
|
|
2909
2953
|
}
|
|
2910
2954
|
];
|
|
2911
2955
|
|
|
2912
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2956
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_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
|
|
2913
2957
|
var FLAG_TYPES = [
|
|
2914
2958
|
"switch",
|
|
2915
2959
|
"count",
|
|
@@ -3139,6 +3183,8 @@ var collections = [
|
|
|
3139
3183
|
["messages", "posts in a messenger chat, or emails"],
|
|
3140
3184
|
["drafts", "e-mails saved in a mailbox's Drafts folder, written and not sent"],
|
|
3141
3185
|
["polls", "polls in a chat"],
|
|
3186
|
+
["posts", "posts and pages on a site or blog the owner publishes"],
|
|
3187
|
+
["channels", "the sites and social accounts the owner publishes posts on"],
|
|
3142
3188
|
["reactions", "reactions to a message"],
|
|
3143
3189
|
["recipients", "who a message goes to"],
|
|
3144
3190
|
["replies", "the automatic replies of a profile"],
|
|
@@ -3257,6 +3303,10 @@ var singulars = [
|
|
|
3257
3303
|
["privacy", "who may find, see, call or add the account"],
|
|
3258
3304
|
["metadata", "a profile's cached source attributes"],
|
|
3259
3305
|
["auth", "the credentials a bot profile uses: its token and the secrets beside it"],
|
|
3306
|
+
[
|
|
3307
|
+
"scheduled",
|
|
3308
|
+
"a chat's messages the messenger will send later; their ids are their own, never the ids of sent messages"
|
|
3309
|
+
],
|
|
3260
3310
|
[
|
|
3261
3311
|
"schedule",
|
|
3262
3312
|
"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"
|
|
@@ -3264,6 +3314,7 @@ var singulars = [
|
|
|
3264
3314
|
];
|
|
3265
3315
|
var views = [
|
|
3266
3316
|
["tree", "the parent and child hierarchy of stored sources"],
|
|
3317
|
+
["stats", "a thing's own numbers, such as a post's views, as read at each sync"],
|
|
3267
3318
|
["logs", "the log of a running process"],
|
|
3268
3319
|
["events", "what happened in a thing over time"],
|
|
3269
3320
|
["scheduled", "what is scheduled to happen"],
|
|
@@ -3336,11 +3387,13 @@ var VOCABULARY = defineVocabulary({
|
|
|
3336
3387
|
...MAIL_FLAGS,
|
|
3337
3388
|
...KNOWLEDGE_FLAGS,
|
|
3338
3389
|
...CRM_FLAGS,
|
|
3339
|
-
...SCHEDULE_FLAGS
|
|
3390
|
+
...SCHEDULE_FLAGS,
|
|
3391
|
+
...CONTENT_FLAGS,
|
|
3392
|
+
...SEARCH_FLAGS
|
|
3340
3393
|
]
|
|
3341
3394
|
});
|
|
3342
3395
|
|
|
3343
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3396
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/agent.js
|
|
3344
3397
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3345
3398
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3346
3399
|
var longOf = /* @__PURE__ */ __name((option) => option.flags.match(/--[a-z0-9][a-z0-9-]*/)?.[0], "longOf");
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5UPNDUAA.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PMGAU6AP.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var EMPTY_TRIES = 3;
|
|
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
QUERY_LIMITS,
|
|
5
5
|
queryError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5ENY4POG.js";
|
|
7
7
|
import {
|
|
8
8
|
CliError,
|
|
9
9
|
isCliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PMGAU6AP.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/search/lucene/types.js
|
|
16
16
|
var QUERY_VERSION = 1;
|
|
17
17
|
var QUERY_LIMITS2 = {
|
|
18
18
|
...QUERY_LIMITS,
|
|
@@ -41,6 +41,12 @@ function outOfTime(limitMs = QUERY_LIMITS2.milliseconds) {
|
|
|
41
41
|
}
|
|
42
42
|
__name(outOfTime, "outOfTime");
|
|
43
43
|
var isQueryLimit = /* @__PURE__ */ __name((error) => isCliError(error) && (error.details.reason === "query.too-large" || error.details.reason === "query.time-limit"), "isQueryLimit");
|
|
44
|
+
var SQLITE_TOO_LARGE = /nested too deep|too many terms in compound SELECT|Expression tree is too large|parser stack overflow/;
|
|
45
|
+
var sqliteLimit = /* @__PURE__ */ __name((error) => {
|
|
46
|
+
if (error instanceof Error && SQLITE_TOO_LARGE.test(error.message))
|
|
47
|
+
exhausted("nodes");
|
|
48
|
+
return error;
|
|
49
|
+
}, "sqliteLimit");
|
|
44
50
|
function exhausted(budget) {
|
|
45
51
|
throw new CliError("validation_error", `search exceeded its ${budget} budget \u2014 narrow the chat or date range`, {
|
|
46
52
|
reason: "query.too-large",
|
|
@@ -67,6 +73,7 @@ export {
|
|
|
67
73
|
searchTimeLimit,
|
|
68
74
|
outOfTime,
|
|
69
75
|
isQueryLimit,
|
|
76
|
+
sqliteLimit,
|
|
70
77
|
exhausted,
|
|
71
78
|
tooWideTerm
|
|
72
79
|
};
|
|
@@ -5,31 +5,31 @@ import {
|
|
|
5
5
|
isNewer,
|
|
6
6
|
readNoticeState,
|
|
7
7
|
writeUpdateState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4RZ4DUQT.js";
|
|
9
9
|
import {
|
|
10
10
|
executableEnvironment,
|
|
11
11
|
executableOnPath
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QDNYJOWJ.js";
|
|
13
13
|
import {
|
|
14
14
|
Command,
|
|
15
15
|
Option,
|
|
16
16
|
annotate
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7RIE3DAW.js";
|
|
18
18
|
import {
|
|
19
19
|
require_cross_spawn
|
|
20
20
|
} from "./chunk-D72URWJE.js";
|
|
21
21
|
import {
|
|
22
22
|
refuseOwnerHomeInTests
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AIQT2GGK.js";
|
|
24
24
|
import {
|
|
25
25
|
CliError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PMGAU6AP.js";
|
|
27
27
|
import {
|
|
28
28
|
__name,
|
|
29
29
|
__toESM
|
|
30
30
|
} from "./chunk-ZVVMGPBJ.js";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/skill/index.js
|
|
33
33
|
import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
|
|
34
34
|
import { homedir } from "node:os";
|
|
35
35
|
import { basename, dirname, join, relative, resolve, sep } from "node:path";
|
|
@@ -12,31 +12,31 @@ import {
|
|
|
12
12
|
refuseWriteBeforeConnecting,
|
|
13
13
|
registerPrompts,
|
|
14
14
|
syncsFirst
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HBFSGL5E.js";
|
|
16
16
|
import {
|
|
17
17
|
skillResources
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-NEP67GLY.js";
|
|
19
19
|
import {
|
|
20
20
|
StdioServerTransport,
|
|
21
21
|
answeredWire,
|
|
22
22
|
serveStdio
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OCISQFMW.js";
|
|
24
24
|
import {
|
|
25
25
|
stdinFieldOf
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MGMLSPIY.js";
|
|
27
27
|
import {
|
|
28
28
|
connectedFor
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-KRTXJMCD.js";
|
|
30
30
|
import {
|
|
31
31
|
wholeList
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MENMD5Y5.js";
|
|
33
33
|
import {
|
|
34
34
|
runCommandForAgent,
|
|
35
35
|
toolsFromCommands
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-MPQ4SPZG.js";
|
|
37
37
|
import {
|
|
38
38
|
instructions
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-MKBQFD37.js";
|
|
40
40
|
import {
|
|
41
41
|
BinaryResource,
|
|
42
42
|
Picture,
|
|
@@ -55,35 +55,35 @@ import {
|
|
|
55
55
|
tierOf,
|
|
56
56
|
tool,
|
|
57
57
|
toolKey
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-LWS5AO3H.js";
|
|
59
59
|
import {
|
|
60
60
|
agentJson
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ODRF47VS.js";
|
|
62
62
|
import {
|
|
63
63
|
guardFor,
|
|
64
64
|
imageSize,
|
|
65
65
|
lackedNeed,
|
|
66
66
|
servicesFor,
|
|
67
67
|
storedDeps
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-MPNMEWHA.js";
|
|
69
69
|
import {
|
|
70
70
|
callerOf,
|
|
71
71
|
callingAgent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-QPTHEZZ5.js";
|
|
73
73
|
import {
|
|
74
74
|
capability,
|
|
75
75
|
dateWindow
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-EPBHJMF6.js";
|
|
77
77
|
import {
|
|
78
78
|
McpServer,
|
|
79
79
|
ResourceTemplate
|
|
80
80
|
} from "./chunk-PL5P7UKW.js";
|
|
81
81
|
import {
|
|
82
82
|
mcpHttpMarker
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-SBNZYRVZ.js";
|
|
84
84
|
import {
|
|
85
85
|
findCommand
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-STTHRJBX.js";
|
|
87
87
|
import {
|
|
88
88
|
DEFAULT_OUTPUT_BYTES,
|
|
89
89
|
changesAuthorityAt,
|
|
@@ -98,35 +98,35 @@ import {
|
|
|
98
98
|
rootOf2 as rootOf,
|
|
99
99
|
sealed,
|
|
100
100
|
snakeKeys
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-7RIE3DAW.js";
|
|
102
102
|
import {
|
|
103
103
|
withCaller
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-RJBKDZGV.js";
|
|
105
105
|
import {
|
|
106
106
|
openStore,
|
|
107
107
|
pdfPreviewLimits
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-QLFD3MOL.js";
|
|
109
109
|
import {
|
|
110
110
|
typedCommand
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-YJLJZMEA.js";
|
|
112
112
|
import {
|
|
113
113
|
isCliFailure
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-DDMBPYHP.js";
|
|
115
115
|
import {
|
|
116
116
|
warmEmbedders
|
|
117
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-K3WCBNH4.js";
|
|
118
118
|
import {
|
|
119
119
|
fetchesAt,
|
|
120
120
|
levelFor,
|
|
121
121
|
readKeysForCommand
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-BW7NPFVC.js";
|
|
123
123
|
import {
|
|
124
124
|
timezoneOf
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-5ENY4POG.js";
|
|
126
126
|
import {
|
|
127
127
|
errorObjectOf,
|
|
128
128
|
mcpErrorResult
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-KAW5VEER.js";
|
|
130
130
|
import {
|
|
131
131
|
description,
|
|
132
132
|
integer,
|
|
@@ -145,15 +145,15 @@ import {
|
|
|
145
145
|
import {
|
|
146
146
|
CliError,
|
|
147
147
|
visibleControls
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-PMGAU6AP.js";
|
|
149
149
|
import {
|
|
150
150
|
__name
|
|
151
151
|
} from "./chunk-ZVVMGPBJ.js";
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
154
154
|
import { randomUUID } from "node:crypto";
|
|
155
155
|
|
|
156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
156
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
157
157
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
158
158
|
let held;
|
|
159
159
|
return {
|
|
@@ -172,7 +172,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
172
172
|
};
|
|
173
173
|
}, "agentLog");
|
|
174
174
|
|
|
175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
175
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
176
176
|
var LISTED = 100;
|
|
177
177
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
178
178
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -210,7 +210,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
210
210
|
});
|
|
211
211
|
}, "registerResources");
|
|
212
212
|
|
|
213
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
214
214
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
215
215
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
216
216
|
var MessengerSession = class {
|
|
@@ -285,7 +285,7 @@ var MessengerSession = class {
|
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
287
|
|
|
288
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
289
289
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
290
290
|
const _command = messenger.app.command;
|
|
291
291
|
return {
|
|
@@ -339,7 +339,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
339
339
|
};
|
|
340
340
|
}, "attachmentsTools");
|
|
341
341
|
|
|
342
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
342
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
343
343
|
var PHOTO_LIMIT = 512 * 1024;
|
|
344
344
|
var IMAGE_TYPES = [
|
|
345
345
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -395,7 +395,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
395
395
|
return new Uint8Array(Buffer.concat(chunks));
|
|
396
396
|
}, "readUpTo");
|
|
397
397
|
|
|
398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
398
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
399
399
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
400
400
|
stats_charts: tool({
|
|
401
401
|
title: "A chart from a chat's statistics",
|
|
@@ -432,14 +432,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
432
432
|
})
|
|
433
433
|
}), "statsTools");
|
|
434
434
|
|
|
435
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
435
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
436
436
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
437
437
|
...messagesPhotoTools(messenger),
|
|
438
438
|
...attachmentsTools(messenger),
|
|
439
439
|
...statsTools(messenger)
|
|
440
440
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
441
441
|
|
|
442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.715.0_@wirecat+cli-base@0.125.1_commander@15.0.0_esbuild@0.28.2_typ_f3540c99972bb5f0aa92997a79a368b4/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
443
443
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
444
444
|
"streams",
|
|
445
445
|
"stdin",
|
|
@@ -755,7 +755,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
755
755
|
}, "serveOverStdio");
|
|
756
756
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
757
757
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
758
|
-
const { serveOverHttp } = await import("./serve-
|
|
758
|
+
const { serveOverHttp } = await import("./serve-D2WFCV6Z.js");
|
|
759
759
|
const appName = messenger.app.command;
|
|
760
760
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
761
761
|
const listening = await serveOverHttp(build, {
|