@wirecat/hubspot-cli 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +2 -2
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-RBQMA24N.js +40 -0
- package/dist/bundle/{all-profiles-JVEE4PXX.js → all-profiles-PGFXLOKN.js} +11 -11
- package/dist/bundle/{anthropic-6HT57GNF.js → anthropic-LPOJ3TYF.js} +5 -5
- package/dist/bundle/{app-server-FOBFF6G6.js → app-server-EYWGCSRY.js} +68 -68
- package/dist/bundle/{bun-GW443QB3.js → bun-ZJOOKIIW.js} +2 -2
- package/dist/bundle/{bun-sqlite-TGIAICDN.js → bun-sqlite-Y6KKH2OW.js} +6 -6
- package/dist/bundle/{chunk-RFGIUCKU.js → chunk-23CLSKY7.js} +3 -3
- package/dist/bundle/{chunk-ETKLP4VE.js → chunk-34HDRZIL.js} +14 -14
- package/dist/bundle/{chunk-PQUZ2YDC.js → chunk-3CHJYWA2.js} +6 -6
- package/dist/bundle/{chunk-7QH5BZUG.js → chunk-4RZ4DUQT.js} +3 -3
- package/dist/bundle/{chunk-NLZADZ4F.js → chunk-5ENY4POG.js} +61 -61
- package/dist/bundle/{chunk-W5X37TBC.js → chunk-5HGS65I3.js} +2 -2
- package/dist/bundle/{chunk-HPRKSL5S.js → chunk-5UPNDUAA.js} +2 -2
- package/dist/bundle/{chunk-LS4S7PAP.js → chunk-5WADRBQG.js} +3 -3
- package/dist/bundle/{chunk-DBPFHJXX.js → chunk-6PWRJGX4.js} +4 -4
- package/dist/bundle/{chunk-Q7DIEU6L.js → chunk-6S422S22.js} +7 -7
- package/dist/bundle/{chunk-E33KM3DB.js → chunk-7Q64D56R.js} +11 -11
- package/dist/bundle/{chunk-HM72O37C.js → chunk-7RIE3DAW.js} +174 -161
- package/dist/bundle/{chunk-LX7QMRRG.js → chunk-A5UTNGI4.js} +13 -13
- package/dist/bundle/{chunk-FWW2CUXH.js → chunk-ABPZOI3C.js} +4 -4
- package/dist/bundle/{chunk-MQACXJLG.js → chunk-AHZQMSXW.js} +10 -10
- package/dist/bundle/{chunk-3BM6KBWP.js → chunk-AIQT2GGK.js} +19 -19
- package/dist/bundle/{chunk-ATGD64VO.js → chunk-AVBKXCEY.js} +8 -8
- package/dist/bundle/{chunk-3SRGN5MQ.js → chunk-BCW7DAVV.js} +2 -2
- package/dist/bundle/{chunk-QNQ4V4UT.js → chunk-BGUGTMTS.js} +8 -8
- package/dist/bundle/{chunk-EU7AVWSX.js → chunk-BH5FEFZB.js} +2 -2
- package/dist/bundle/{chunk-XDDTJYGA.js → chunk-BVK4GUUI.js} +1254 -803
- package/dist/bundle/{chunk-HQYJ66ZX.js → chunk-BW7NPFVC.js} +18 -8
- package/dist/bundle/{chunk-QJHRRJKD.js → chunk-CWCJEAHZ.js} +3 -3
- package/dist/bundle/{chunk-Z3YOKGVZ.js → chunk-DDMBPYHP.js} +2 -2
- package/dist/bundle/{chunk-3MUHCLRY.js → chunk-DEUCWBBH.js} +81 -5
- package/dist/bundle/{chunk-GJSHLF43.js → chunk-DJUUQG6Y.js} +8 -8
- package/dist/bundle/{chunk-7JVKQ6NM.js → chunk-EGR3YUWD.js} +4 -4
- package/dist/bundle/{chunk-FOLKK6FW.js → chunk-EPBHJMF6.js} +20 -14
- package/dist/bundle/{chunk-VMF2UIQI.js → chunk-GZJP3KQQ.js} +3 -4
- package/dist/bundle/{chunk-YYYRE4AV.js → chunk-HBFSGL5E.js} +26 -26
- package/dist/bundle/{chunk-NL3RKJR6.js → chunk-HPRGUUHY.js} +1 -1
- package/dist/bundle/{chunk-AV2ZJ4WX.js → chunk-HPSESLOZ.js} +1 -1
- package/dist/bundle/{chunk-WBUVNKHJ.js → chunk-I334AT2H.js} +7 -7
- package/dist/bundle/{chunk-K4DWBOO6.js → chunk-K3WCBNH4.js} +6 -6
- package/dist/bundle/{chunk-XCDRFC6G.js → chunk-K5S7MKBB.js} +17 -17
- package/dist/bundle/{chunk-3LMW7U7F.js → chunk-KAW5VEER.js} +21 -8
- package/dist/bundle/{chunk-3MPMYAII.js → chunk-KC4ILAKO.js} +1 -1
- package/dist/bundle/{chunk-UHHXZKB2.js → chunk-KRTXJMCD.js} +16 -16
- package/dist/bundle/{chunk-5KLNBGPU.js → chunk-KXWRVLSU.js} +1 -1
- package/dist/bundle/{chunk-7OJ43BAH.js → chunk-L4SVHQ7H.js} +7 -7
- package/dist/bundle/{chunk-2BCWK5BF.js → chunk-L6WSFVTD.js} +8 -8
- package/dist/bundle/{chunk-A6PVEUGN.js → chunk-LWS5AO3H.js} +17 -17
- package/dist/bundle/{chunk-OLDIP4CV.js → chunk-LXLXF2OE.js} +3 -3
- package/dist/bundle/{chunk-QV4GDVBN.js → chunk-MENMD5Y5.js} +8 -8
- package/dist/bundle/{chunk-EBJYK7UM.js → chunk-MFWECOO3.js} +77 -62
- package/dist/bundle/{chunk-TAF4PKDS.js → chunk-MGMLSPIY.js} +1 -1
- package/dist/bundle/{chunk-F4ZLRS4B.js → chunk-MKBQFD37.js} +1 -1
- package/dist/bundle/{chunk-QIFCH5DZ.js → chunk-MPNMEWHA.js} +341 -278
- package/dist/bundle/{chunk-XMWMA2N5.js → chunk-MPQ4SPZG.js} +46 -32
- package/dist/bundle/{chunk-V23OHBGM.js → chunk-MW4ROXQ6.js} +3 -3
- package/dist/bundle/{chunk-QODPEZC5.js → chunk-NEDV6RCQ.js} +10 -3
- package/dist/bundle/{chunk-F3HJ2E3P.js → chunk-NEP67GLY.js} +6 -6
- package/dist/bundle/{chunk-5G4L6NQJ.js → chunk-NKIKMG33.js} +35 -35
- package/dist/bundle/{chunk-T3GZKV5A.js → chunk-NLPGUYCG.js} +12 -12
- package/dist/bundle/{chunk-6NUXFVJQ.js → chunk-OCISQFMW.js} +1 -1
- package/dist/bundle/{chunk-PKFLSX5F.js → chunk-ODRF47VS.js} +8 -8
- package/dist/bundle/{chunk-WATDMTDC.js → chunk-OFOA6VJ2.js} +3 -3
- package/dist/bundle/{chunk-HM6AMYHR.js → chunk-PMGAU6AP.js} +2 -2
- package/dist/bundle/{chunk-JWO3PB5Z.js → chunk-POTS24SH.js} +18 -18
- package/dist/bundle/{chunk-5ZVYIA56.js → chunk-PPQRWFJZ.js} +5 -5
- package/dist/bundle/{chunk-DG4RBKIV.js → chunk-QCHW7R7L.js} +1 -1
- package/dist/bundle/{chunk-CFQQTDSA.js → chunk-QDNYJOWJ.js} +1 -1
- package/dist/bundle/{chunk-M25KVDHA.js → chunk-QIHJKE4K.js} +7 -7
- package/dist/bundle/{chunk-WLFYEAZ6.js → chunk-QLFD3MOL.js} +402 -390
- package/dist/bundle/{chunk-N4EIJ53V.js → chunk-QPTHEZZ5.js} +2 -2
- package/dist/bundle/{chunk-PMJCZIV4.js → chunk-R7ZOCDNG.js} +1 -1
- package/dist/bundle/{chunk-AT43MYQL.js → chunk-RJBKDZGV.js} +8 -8
- package/dist/bundle/{chunk-UIWWAT3C.js → chunk-RZS7N3OZ.js} +7 -7
- package/dist/bundle/{chunk-Z4PY5BDP.js → chunk-SBNZYRVZ.js} +4 -4
- package/dist/bundle/{chunk-4OPN3KCN.js → chunk-STTHRJBX.js} +5 -5
- package/dist/bundle/{chunk-VDAYIXV4.js → chunk-V5VMAHDQ.js} +6 -6
- package/dist/bundle/{chunk-JKNUCEII.js → chunk-VCYUYFIV.js} +1 -1
- package/dist/bundle/{chunk-HVXOA4FO.js → chunk-VIJV474N.js} +1 -1
- package/dist/bundle/{chunk-5OBVICFK.js → chunk-WDR77HPO.js} +15 -1
- package/dist/bundle/{chunk-6ULR7N3T.js → chunk-WEM4FZPM.js} +2 -2
- package/dist/bundle/{chunk-FK4LEJZM.js → chunk-WQZENAPE.js} +3 -3
- package/dist/bundle/{chunk-X5U7GLHD.js → chunk-WXEN6AXQ.js} +16 -3
- package/dist/bundle/{chunk-IED6MKPU.js → chunk-YJLJZMEA.js} +25 -25
- package/dist/bundle/{chunk-XJVFXHDI.js → chunk-YQBGPBYN.js} +2 -2
- package/dist/bundle/{chunk-BXZRSXBL.js → chunk-YZ5MULJM.js} +3 -3
- package/dist/bundle/{chunk-2Q2XIXDL.js → chunk-Z7FC6VVM.js} +1 -1
- package/dist/bundle/{chunk-5WKJFMC3.js → chunk-ZKPM53YG.js} +4 -4
- package/dist/bundle/{chunk-V2B2OWTC.js → chunk-ZLWQPUPB.js} +2 -2
- package/dist/bundle/{chunk-GOOXUCJW.js → chunk-ZMHD76RE.js} +2 -2
- package/dist/bundle/command-contract-O2UKYHLD.js +40 -0
- package/dist/bundle/{command-server-entry-OJQ55UA2.js → command-server-entry-B7S5AUE6.js} +28 -28
- package/dist/bundle/{decode-CDQDRPRJ.js → decode-7L33C5UJ.js} +5 -5
- package/dist/bundle/{dispatch-JQBAZWCL.js → dispatch-BIGHHSXV.js} +8 -8
- package/dist/bundle/{echarts-GJ5JJG2A.js → echarts-CWR3QH55.js} +2 -2
- package/dist/bundle/{embed-BUQXGMKR.js → embed-GXQ3HOQ6.js} +6 -6
- package/dist/bundle/{embedder-FCX6LE4O.js → embedder-47OYXGLS.js} +9 -9
- package/dist/bundle/{failure-I6AAF5R5.js → failure-VMZOU5GZ.js} +2 -2
- package/dist/bundle/{first-run-RPYEXXQK.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-LPVTPERS.js → instructions-QFS2MPK3.js} +1 -1
- package/dist/bundle/{mcp-YGOAUNC3.js → mcp-Z2KZNCXB.js} +2 -2
- package/dist/bundle/meeting-combined-WBEOLQMP.js +25 -0
- package/dist/bundle/{meeting-model-TRGBEWCY.js → meeting-model-GLF2HVJG.js} +11 -11
- package/dist/bundle/{meeting-semantic-RSF5KNKD.js → meeting-semantic-RG56F4YX.js} +6 -6
- package/dist/bundle/{node-UAT3EIAP.js → node-3TSWTXGI.js} +2 -2
- package/dist/bundle/{node-sqlite-3HKDQNFD.js → node-sqlite-UPQCG7DJ.js} +7 -7
- package/dist/bundle/{oauth-DYW2NSZP.js → oauth-MCVEENW3.js} +7 -7
- package/dist/bundle/{open-KBRXJ5BC.js → open-JMUTKUYJ.js} +5 -5
- package/dist/bundle/{openai-YNCLRTSK.js → openai-HT7YDOK7.js} +15 -15
- package/dist/bundle/{process-63BB7LKP.js → process-7RC6DAGM.js} +1 -1
- package/dist/bundle/{program-VX52OB3O.js → program-3DLBMOEJ.js} +134 -114
- package/dist/bundle/{prompt-TWLJ3M2O.js → prompt-7EROPXPF.js} +5 -5
- package/dist/bundle/{recognize-GQ6DLGE7.js → recognize-B232GXD2.js} +4 -4
- package/dist/bundle/{remote-RKNSF3TT.js → remote-HGV64VRC.js} +9 -9
- package/dist/bundle/{rerank-H4HSGQUJ.js → rerank-5S6TDXHD.js} +7 -7
- package/dist/bundle/{schemas-LDK7O6VW.js → schemas-SB42IXEX.js} +1 -1
- package/dist/bundle/{serve-4ZNIAL7H.js → serve-D2WFCV6Z.js} +9 -9
- package/dist/bundle/{server-4G4QB3QN.js → server-4AXPTJPV.js} +60 -60
- package/dist/bundle/server-FFHVNABP.js +86 -0
- package/dist/bundle/{source-2UCNCCO7.js → source-DF63EC2B.js} +114 -86
- package/dist/bundle/{sqlite-runtime-C2JYC7JF.js → sqlite-runtime-DAFMZNLI.js} +6 -6
- package/dist/bundle/{state-3KDXCXHG.js → state-7OEBDXVV.js} +6 -6
- package/dist/bundle/{store-LXLG5HTS.js → store-2ZWSWF76.js} +24 -24
- package/dist/bundle/{store-J5FQBZYR.js → store-KC6US326.js} +22 -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.map +1 -1
- package/dist/config.js +3 -2
- 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/dist/bundle/agent-NST4YXJR.js +0 -40
- package/dist/bundle/command-contract-LYX2QNIA.js +0 -40
- package/dist/bundle/first-screen-Y4EH3HZS.js +0 -40
- package/dist/bundle/meeting-combined-FEEVVUGC.js +0 -25
- package/dist/bundle/server-3IYIZEEQ.js +0 -86
- package/dist/bundle/store-2MNUHHZC.js +0 -32
- package/dist/bundle/store-maintenance-command-DDB7TR6V.js +0 -73
- package/dist/bundle/surface-ZTZANYKC.js +0 -72
- package/dist/bundle/writer-X7PGBLDH.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([
|
|
@@ -361,6 +361,7 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
361
361
|
// recordings, not zoom-cli's: they are compared on the root commands every CLI shares, the way gcal and mail are.
|
|
362
362
|
// amo-cli, hubspot-cli and attio-cli share them too, and their CRM commands are compared with b24 in `crm` below.
|
|
363
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.
|
|
364
365
|
// notion-cli joins here until its documents commands ship; then it moves next to drive. ydisk joins here too: in "all"
|
|
365
366
|
// its search and notes differ from the messengers' and memo's as drive's do, and a documents group of drive, notion
|
|
366
367
|
// and ydisk differs in 39 paths (session, folders browse, summaries; measured on the published CLIs 2026-11-17).
|
|
@@ -381,13 +382,14 @@ var PARITY_GROUPS = defineParityGroups([
|
|
|
381
382
|
"hubspot",
|
|
382
383
|
"attio",
|
|
383
384
|
"ydisk",
|
|
384
|
-
"wordpress"
|
|
385
|
+
"wordpress",
|
|
386
|
+
"linear"
|
|
385
387
|
],
|
|
386
388
|
covers: ["commands", "doctor", "skill", "mcp", "upgrade"],
|
|
387
389
|
differences: [...MEMO_HAS_NO_PROFILES, ...MEMO_MCP_SUMMARIES, MEMO_DOCTOR_DEEP]
|
|
388
390
|
},
|
|
389
|
-
// The CRM CLIs on cli-core's shared CRM commands.
|
|
390
|
-
//
|
|
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
|
|
391
393
|
// has no lead apart from a deal), only b24 has `products` (amo leaves them for later) and `deals delete` (amoCRM's
|
|
392
394
|
// API v4 cannot delete a lead, https://www.amocrm.ru/developers/content/crm_platform/leads-api), and hubspot writes
|
|
393
395
|
// no deals yet; a list of roots does not compare presence, so these need no difference. `people`, `organizations`,
|
|
@@ -422,7 +424,7 @@ var REQUIRED_ROOTS = defineRequiredRoots([
|
|
|
422
424
|
{ path: ["upgrade"], meaning: "updates the CLI" }
|
|
423
425
|
]);
|
|
424
426
|
|
|
425
|
-
// 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
|
|
426
428
|
var fieldRuleSchema = strictObject({ id: word, rule: text });
|
|
427
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");
|
|
428
430
|
var FIELD_RULES = defineFieldRules([
|
|
@@ -438,7 +440,7 @@ var FIELD_RULES = defineFieldRules([
|
|
|
438
440
|
}
|
|
439
441
|
]);
|
|
440
442
|
|
|
441
|
-
// 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
|
|
442
444
|
var key = pipe(string(), regex(SNAKE_CASE, "a snake_case key"));
|
|
443
445
|
var identifierSchema = strictObject({ key, meaning: text, replaces: optional(array(key)) });
|
|
444
446
|
var defineIdentifiers = /* @__PURE__ */ __name((input) => parseRegistry("identifiers", array(identifierSchema), input, (identifiers) => {
|
|
@@ -460,7 +462,7 @@ var IDENTIFIERS = defineIdentifiers([
|
|
|
460
462
|
{ key: "trace_id", meaning: "the distributed trace a run belongs to, from `traceparent`" }
|
|
461
463
|
]);
|
|
462
464
|
|
|
463
|
-
// 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
|
|
464
466
|
var ACCOUNT_FLAGS = [
|
|
465
467
|
{
|
|
466
468
|
name: "--client-id",
|
|
@@ -497,7 +499,7 @@ var ACCOUNT_FLAGS = [
|
|
|
497
499
|
{ name: "--hide-phone", role: "output", type: "switch", meaning: "leave the phone number out of the answer" }
|
|
498
500
|
];
|
|
499
501
|
|
|
500
|
-
// 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
|
|
501
503
|
var CALENDAR_FLAGS = [
|
|
502
504
|
{ name: "--end-time", value: "<time>", role: "value", type: "time", meaning: "when it ends" },
|
|
503
505
|
{
|
|
@@ -585,7 +587,7 @@ var CALENDAR_FLAGS = [
|
|
|
585
587
|
}
|
|
586
588
|
];
|
|
587
589
|
|
|
588
|
-
// 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
|
|
589
591
|
var CONTENT_FLAGS = [
|
|
590
592
|
{ name: "--slug", value: "<slug>", role: "value", type: "string", meaning: "the last part of its web address" },
|
|
591
593
|
{
|
|
@@ -603,7 +605,7 @@ var CONTENT_FLAGS = [
|
|
|
603
605
|
}
|
|
604
606
|
];
|
|
605
607
|
|
|
606
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
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
|
|
607
609
|
var CRM_FLAGS = [
|
|
608
610
|
{
|
|
609
611
|
name: "--email",
|
|
@@ -767,7 +769,7 @@ var CRM_FLAGS = [
|
|
|
767
769
|
}
|
|
768
770
|
];
|
|
769
771
|
|
|
770
|
-
// 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
|
|
771
773
|
var HOW_FLAGS = [
|
|
772
774
|
{
|
|
773
775
|
name: "--limit",
|
|
@@ -1760,7 +1762,7 @@ var HOW_FLAGS = [
|
|
|
1760
1762
|
}
|
|
1761
1763
|
];
|
|
1762
1764
|
|
|
1763
|
-
// 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
|
|
1764
1766
|
var KNOWLEDGE_FLAGS = [
|
|
1765
1767
|
{
|
|
1766
1768
|
name: "--accept-terms",
|
|
@@ -1819,7 +1821,7 @@ var KNOWLEDGE_FLAGS = [
|
|
|
1819
1821
|
}
|
|
1820
1822
|
];
|
|
1821
1823
|
|
|
1822
|
-
// 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
|
|
1823
1825
|
var MAIL_FLAGS = [
|
|
1824
1826
|
{
|
|
1825
1827
|
name: "--cc",
|
|
@@ -1849,7 +1851,7 @@ var MAIL_FLAGS = [
|
|
|
1849
1851
|
}
|
|
1850
1852
|
];
|
|
1851
1853
|
|
|
1852
|
-
// 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
|
|
1853
1855
|
var PRIVACY_FLAGS = [
|
|
1854
1856
|
{
|
|
1855
1857
|
name: "--about-text",
|
|
@@ -1910,7 +1912,7 @@ var PRIVACY_FLAGS = [
|
|
|
1910
1912
|
{ name: "--read-receipts", value: "<on|off>", role: "value", type: "choice", meaning: "send read receipts" }
|
|
1911
1913
|
];
|
|
1912
1914
|
|
|
1913
|
-
// 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
|
|
1914
1916
|
var SCHEDULE_FLAGS = [
|
|
1915
1917
|
{
|
|
1916
1918
|
name: "--locale",
|
|
@@ -1943,7 +1945,18 @@ var SCHEDULE_FLAGS = [
|
|
|
1943
1945
|
}
|
|
1944
1946
|
];
|
|
1945
1947
|
|
|
1946
|
-
// 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
|
|
1947
1960
|
var WHAT_FLAGS = [
|
|
1948
1961
|
{
|
|
1949
1962
|
name: "--analysis-provider",
|
|
@@ -2940,7 +2953,7 @@ var WHAT_FLAGS = [
|
|
|
2940
2953
|
}
|
|
2941
2954
|
];
|
|
2942
2955
|
|
|
2943
|
-
// 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
|
|
2944
2957
|
var FLAG_TYPES = [
|
|
2945
2958
|
"switch",
|
|
2946
2959
|
"count",
|
|
@@ -3375,11 +3388,12 @@ var VOCABULARY = defineVocabulary({
|
|
|
3375
3388
|
...KNOWLEDGE_FLAGS,
|
|
3376
3389
|
...CRM_FLAGS,
|
|
3377
3390
|
...SCHEDULE_FLAGS,
|
|
3378
|
-
...CONTENT_FLAGS
|
|
3391
|
+
...CONTENT_FLAGS,
|
|
3392
|
+
...SEARCH_FLAGS
|
|
3379
3393
|
]
|
|
3380
3394
|
});
|
|
3381
3395
|
|
|
3382
|
-
// 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
|
|
3383
3397
|
var TYPES = new Map(VOCABULARY.flags.map((flag) => [flag.name, flag.type]));
|
|
3384
3398
|
var snake = /* @__PURE__ */ __name((name) => name.replaceAll("|", "_or_").replace(/[^a-z0-9]+/gi, "_"), "snake");
|
|
3385
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, {
|