@wirecat/hubspot-cli 0.1.0 → 0.3.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 +41 -0
- package/README.md +40 -16
- package/contracts/wirecat.json +1516 -173
- package/dist/bin/hubspot.js +2 -2
- package/dist/bundle/agent-A7ARC3QB.js +40 -0
- package/dist/bundle/{all-profiles-64JAUYW4.js → all-profiles-6452VSJB.js} +64 -22
- package/dist/bundle/{anthropic-VJOS4OUM.js → anthropic-VQUOVYOW.js} +6 -6
- package/dist/bundle/{app-server-422MCA7S.js → app-server-FFYKM37G.js} +79 -68
- package/dist/bundle/{bun-M3J2QTR3.js → bun-AJPJ4ZUN.js} +2 -2
- package/dist/bundle/{bun-sqlite-IX3XYA5F.js → bun-sqlite-AGXGSF6D.js} +7 -7
- package/dist/bundle/{chunk-N2XADGL4.js → chunk-2A64XS22.js} +4 -4
- package/dist/bundle/{chunk-HTAN663T.js → chunk-2HYGCLKN.js} +93 -565
- package/dist/bundle/{chunk-FOZYMDRL.js → chunk-2NCO4E4T.js} +6 -6
- package/dist/bundle/{chunk-FBCCBCFH.js → chunk-2PRVWEJC.js} +3 -3
- package/dist/bundle/{chunk-LOBVOGOE.js → chunk-3DIXAEGH.js} +4 -4
- package/dist/bundle/{chunk-O3DYRCIT.js → chunk-3I2FGNWO.js} +1 -1
- package/dist/bundle/{chunk-65TWQ7BV.js → chunk-3PEKYGZ3.js} +2 -2
- package/dist/bundle/{chunk-DRWWJLI6.js → chunk-3R4KRNUZ.js} +8 -8
- package/dist/bundle/{chunk-2VGD63G6.js → chunk-3TEFE6YU.js} +7 -7
- package/dist/bundle/{chunk-BKXDHU3G.js → chunk-3WIVJJNB.js} +19 -17
- package/dist/bundle/{chunk-TI46WQXQ.js → chunk-4DNHXRCJ.js} +7 -7
- package/dist/bundle/{chunk-QU25DA5N.js → chunk-5AYKCKSE.js} +11 -11
- package/dist/bundle/chunk-5HD64ETI.js +561 -0
- package/dist/bundle/{chunk-CWXOXIWS.js → chunk-5K3FGXZH.js} +1 -1
- package/dist/bundle/{chunk-24ERVFJP.js → chunk-5YNAVVCW.js} +3 -3
- package/dist/bundle/chunk-77CUE3VX.js +46 -0
- package/dist/bundle/{chunk-36ITRDYY.js → chunk-7LQRXVQ3.js} +783 -482
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-7NZT7Y55.js} +1 -1
- package/dist/bundle/{chunk-C32AKHTY.js → chunk-7UEL65GQ.js} +35 -12
- package/dist/bundle/chunk-7VHBS5BJ.js +108 -0
- package/dist/bundle/{chunk-O55RWNSH.js → chunk-A6UFH3QU.js} +4 -4
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-ABXVU5O4.js} +8 -1
- package/dist/bundle/{chunk-4W6BMH45.js → chunk-AF7DANIR.js} +2 -100
- package/dist/bundle/{chunk-LNV33FDC.js → chunk-AFL2C4JR.js} +60 -50
- package/dist/bundle/{chunk-2VGZRYEH.js → chunk-ARTJLL7W.js} +6 -6
- package/dist/bundle/chunk-AVUMH42T.js +194 -0
- package/dist/bundle/chunk-B2W3C4N6.js +338 -0
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-B3EH22CO.js} +1 -1
- package/dist/bundle/{chunk-E52JAS35.js → chunk-BAUK2MD5.js} +6 -6
- package/dist/bundle/{chunk-JLDBMEKZ.js → chunk-BN22EKQQ.js} +2 -2
- package/dist/bundle/{chunk-DB2XKHI4.js → chunk-BUGROVF3.js} +2 -2
- package/dist/bundle/{chunk-DSP36YHQ.js → chunk-CBCEMFCF.js} +2 -2
- package/dist/bundle/{chunk-WQBX7XYP.js → chunk-CYADK744.js} +1559 -1888
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-DQB5JMTY.js} +1 -1
- package/dist/bundle/{chunk-JRCPCVPI.js → chunk-DQP2GAAO.js} +75 -66
- package/dist/bundle/{chunk-FPUGMDJV.js → chunk-DSRXCLPO.js} +1 -1
- package/dist/bundle/{chunk-UUMUL4L3.js → chunk-DW23LM47.js} +2 -2
- package/dist/bundle/{chunk-TKVL2C3B.js → chunk-E4X7JAFC.js} +3 -3
- package/dist/bundle/{chunk-NUU4WZVL.js → chunk-EE4JSYGZ.js} +3 -3
- package/dist/bundle/{chunk-NWHEHV3K.js → chunk-EMOVVERN.js} +5 -5
- package/dist/bundle/{chunk-PVKF24ZW.js → chunk-FIVD4HM4.js} +8 -8
- package/dist/bundle/{chunk-QJW35N5V.js → chunk-GC6FLHZF.js} +12 -12
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-GRFICQTZ.js} +1 -1
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-HPZRUY6S.js} +1 -1
- package/dist/bundle/{chunk-CLAN3FES.js → chunk-IBTMK5KD.js} +54 -34
- package/dist/bundle/{chunk-5A6ZYNAQ.js → chunk-IQ2XZ62J.js} +18 -18
- package/dist/bundle/{chunk-DBEQI5YM.js → chunk-ITGNDZRR.js} +3 -3
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-IXZLMFPO.js} +1 -1
- package/dist/bundle/{chunk-TOSCB4SO.js → chunk-J5P5VSRG.js} +16 -10
- package/dist/bundle/{chunk-VIEYMDBR.js → chunk-J6C2QWL5.js} +3 -3
- package/dist/bundle/{chunk-ZBDSHFG4.js → chunk-JG7YMHNB.js} +3427 -3284
- package/dist/bundle/{chunk-RMIYKDUL.js → chunk-JK2SNLU5.js} +17 -17
- package/dist/bundle/{chunk-43EKCUBJ.js → chunk-JP2HJXFO.js} +3 -3
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-JUKAIXKY.js} +1 -1
- package/dist/bundle/{chunk-5GBUCHRU.js → chunk-KO4VR5NK.js} +4 -4
- package/dist/bundle/{chunk-PPHBRESD.js → chunk-KVXEEKBB.js} +2 -2
- package/dist/bundle/{chunk-SDQGB4KB.js → chunk-L433IDOX.js} +9 -9
- package/dist/bundle/chunk-LA3YU4K7.js +40 -0
- package/dist/bundle/{chunk-ECEZOLOD.js → chunk-LKSNISYV.js} +4 -4
- package/dist/bundle/{chunk-5K7QLJMM.js → chunk-LT5KE44Q.js} +226 -226
- package/dist/bundle/chunk-M763RNWP.js +733 -0
- package/dist/bundle/chunk-M7XLG6AN.js +353 -0
- package/dist/bundle/{chunk-IMJQRPLN.js → chunk-NNMU2TDU.js} +1 -1
- package/dist/bundle/chunk-NTQBS2JL.js +52 -0
- package/dist/bundle/{chunk-HCAZV5NP.js → chunk-NZGI74GS.js} +6 -6
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-O3VM5PTJ.js} +1 -1
- package/dist/bundle/chunk-OPVNUI4M.js +195 -0
- package/dist/bundle/{chunk-7ELMWE3P.js → chunk-PHXOL5HZ.js} +176 -160
- package/dist/bundle/{chunk-5D4AEUVA.js → chunk-PL5P7UKW.js} +434 -1
- package/dist/bundle/{chunk-B3MANLNK.js → chunk-PLRUUXK7.js} +19 -233
- package/dist/bundle/{chunk-RR5MX5TM.js → chunk-PMP37KLR.js} +4 -4
- package/dist/bundle/{chunk-FTFV3HFW.js → chunk-Q27QAB4X.js} +9 -9
- package/dist/bundle/{chunk-2TWQIWWG.js → chunk-QFZD6MTF.js} +35 -29
- package/dist/bundle/{chunk-2QZK5BEP.js → chunk-RVWGFD32.js} +30 -15
- package/dist/bundle/{chunk-MVA5HVKL.js → chunk-S4UUN6LD.js} +18 -0
- package/dist/bundle/{chunk-QGFX5MXL.js → chunk-SEELWPRD.js} +9 -9
- package/dist/bundle/{chunk-SAKK2YRU.js → chunk-SMTTIKZ5.js} +12 -12
- package/dist/bundle/{chunk-X7XUX7A4.js → chunk-TDQJS3JG.js} +10 -10
- package/dist/bundle/{chunk-HC5ZWE5X.js → chunk-TIHDBKA7.js} +2 -2
- package/dist/bundle/{chunk-NHHJHXMQ.js → chunk-U6XA3OOM.js} +2 -2
- package/dist/bundle/{chunk-NXERIDPJ.js → chunk-VQEAZXTV.js} +7 -7
- package/dist/bundle/{chunk-P5BHKKBI.js → chunk-VW5F6FK3.js} +4 -4
- package/dist/bundle/{chunk-XRREFEIW.js → chunk-WCQW4GYO.js} +7 -7
- package/dist/bundle/{chunk-H3TNVEQX.js → chunk-WGBVRDY3.js} +29 -4
- package/dist/bundle/chunk-WRCKE5ND.js +80 -0
- package/dist/bundle/{chunk-TBJYLC5K.js → chunk-X5S5KUSU.js} +75 -75
- package/dist/bundle/command-contract-R2FGN7CQ.js +40 -0
- package/dist/bundle/{command-server-entry-DJKVVZCQ.js → command-server-entry-GJSMDSNE.js} +29 -29
- package/dist/bundle/{decode-FC65Y4IV.js → decode-6PLXHVHW.js} +6 -6
- package/dist/bundle/{dispatch-KOISQ5QJ.js → dispatch-TAQ7635E.js} +8 -8
- package/dist/bundle/{dist-MYZZKZJ7.js → dist-7TGU56B2.js} +1 -1
- package/dist/bundle/dist-PAKDDIBT.js +191 -0
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-UZ7QLRE2.js} +2 -2
- package/dist/bundle/{embed-VNBZFPYH.js → embed-AWLL4EBF.js} +7 -7
- package/dist/bundle/{embedder-6U4NOFRO.js → embedder-MM225YJ6.js} +10 -10
- package/dist/bundle/{failure-FZ6VYKEQ.js → failure-MR2XVHFP.js} +3 -3
- package/dist/bundle/first-run-MAUI6QJ7.js +29 -0
- package/dist/bundle/first-screen-SCDV7TXT.js +40 -0
- package/dist/bundle/hubspot.js +26 -26
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-ZJ7U3QUE.js} +1 -1
- package/dist/bundle/{mcp-RGNRW77S.js → mcp-CNV7F2XZ.js} +2 -2
- package/dist/bundle/meeting-combined-EL5XZIJ5.js +25 -0
- package/dist/bundle/meeting-model-OYXB2NOE.js +25 -0
- package/dist/bundle/{meeting-semantic-JY3OGCBS.js → meeting-semantic-S3DBB7XD.js} +7 -7
- package/dist/bundle/{node-CXZIFHZC.js → node-HGCZGZ4R.js} +2 -2
- package/dist/bundle/{node-sqlite-P3O7XN7Q.js → node-sqlite-RKYSRKEB.js} +8 -8
- package/dist/bundle/oauth-PYDCAQ7Y.js +20 -0
- package/dist/bundle/{open-F4P6YV54.js → open-UCDSQUN2.js} +6 -6
- package/dist/bundle/{openai-4AICLIK3.js → openai-Y4F5ZC7O.js} +16 -16
- package/dist/bundle/{process-5RUXWGYS.js → process-P7FB7YO7.js} +1 -1
- package/dist/bundle/{program-POG5GHUQ.js → program-2D5D32HK.js} +835 -261
- package/dist/bundle/{prompt-NFMDVBZ4.js → prompt-E5TKZ37Q.js} +6 -6
- package/dist/bundle/{recognize-DKN3RY4V.js → recognize-5NYPTSLT.js} +5 -5
- package/dist/bundle/{remote-6QHAGQWY.js → remote-U4LUAHF2.js} +10 -10
- package/dist/bundle/{rerank-M4KHEHUZ.js → rerank-AJAVKK5L.js} +8 -8
- package/dist/bundle/{schemas-JRL3DLMP.js → schemas-QLQ2K6DL.js} +7 -33
- package/dist/bundle/{serve-DNU43ND6.js → serve-4UJ3R5IP.js} +11 -11
- package/dist/bundle/server-CN6VQNNF.js +86 -0
- package/dist/bundle/{server-XJSNF3K5.js → server-OJPCTV77.js} +73 -61
- package/dist/bundle/{source-A3SBLHC4.js → source-VHDK74YS.js} +133 -399
- package/dist/bundle/{sqlite-runtime-EMQAC63N.js → sqlite-runtime-KLEA4XAU.js} +7 -7
- package/dist/bundle/{state-T45CX7VY.js → state-COGSYMVH.js} +7 -7
- package/dist/bundle/{store-6TZ2FCVA.js → store-BJXCSP26.js} +25 -24
- package/dist/bundle/store-HXA2MRWI.js +32 -0
- package/dist/bundle/{store-6LCEVBAZ.js → store-V5UMSWK4.js} +27 -22
- package/dist/bundle/store-maintenance-command-AC7GGLYC.js +73 -0
- package/dist/bundle/surface-ZZNG3OW2.js +72 -0
- package/dist/bundle/writer-CZYA657G.js +86 -0
- package/dist/commands/api.d.ts +4 -4
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +12 -7
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/crm-shared.d.ts +2 -2
- package/dist/commands/crm-shared.d.ts.map +1 -1
- package/dist/commands/crm-shared.js +20 -4
- package/dist/commands/crm-shared.js.map +1 -1
- package/dist/config.d.ts +46 -8
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +133 -12
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +2 -2
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +1 -1
- package/dist/context.js.map +1 -1
- package/dist/crm/source.d.ts +7 -2
- package/dist/crm/source.d.ts.map +1 -1
- package/dist/crm/source.js +26 -29
- package/dist/crm/source.js.map +1 -1
- package/dist/crm/writer.d.ts +15 -0
- package/dist/crm/writer.d.ts.map +1 -0
- package/dist/crm/writer.js +199 -0
- package/dist/crm/writer.js.map +1 -0
- package/dist/generated/manifest.d.ts.map +1 -1
- package/dist/generated/manifest.js +6 -116
- package/dist/generated/manifest.js.map +1 -1
- package/dist/generated/types.d.ts +160 -0
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/hubspot/transport.d.ts +6 -1
- package/dist/hubspot/transport.d.ts.map +1 -1
- package/dist/hubspot/transport.js +13 -5
- package/dist/hubspot/transport.js.map +1 -1
- package/dist/identity.js +3 -3
- package/dist/identity.js.map +1 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +2 -1
- package/dist/program.js.map +1 -1
- package/dist/setup/texts.en.json +3 -3
- package/dist/setup/texts.es.json +3 -3
- package/dist/setup/texts.ru.json +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- package/skills/hubspot-cli/SKILL.md +13 -8
- package/skills/hubspot-cli/references/api/api-advanced.md +51 -0
- package/skills/hubspot-cli/references/api/api-basic.md +602 -0
- package/skills/hubspot-cli/references/api/api-batch.md +575 -0
- package/skills/hubspot-cli/references/api.md +3 -2
- package/dist/bundle/command-contract-C6CBFXZF.js +0 -40
- package/dist/bundle/first-run-RPIJZEDT.js +0 -29
- package/dist/bundle/first-screen-RTVMGHAE.js +0 -40
- package/dist/bundle/meeting-combined-L5AGBPYX.js +0 -25
- package/dist/bundle/meeting-model-NTB4RK3F.js +0 -25
- package/dist/bundle/oauth-HNCY4B2S.js +0 -20
- package/dist/bundle/server-C3ZHA7AZ.js +0 -77
- package/dist/bundle/store-CCDNUB6A.js +0 -32
- package/dist/bundle/store-maintenance-command-BRCG6MNA.js +0 -68
- package/dist/commands/comments.d.ts +0 -3
- package/dist/commands/comments.d.ts.map +0 -1
- package/dist/commands/comments.js +0 -114
- package/dist/commands/comments.js.map +0 -1
- package/dist/sample/comments.d.ts +0 -61
- package/dist/sample/comments.d.ts.map +0 -1
- package/dist/sample/comments.js +0 -39
- package/dist/sample/comments.js.map +0 -1
- package/dist/sample/records.d.ts +0 -16
- package/dist/sample/records.d.ts.map +0 -1
- package/dist/sample/records.js +0 -22
- package/dist/sample/records.js.map +0 -1
- package/dist/sample/transport.d.ts +0 -42
- package/dist/sample/transport.d.ts.map +0 -1
- package/dist/sample/transport.js +0 -153
- package/dist/sample/transport.js.map +0 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
timezoneOf,
|
|
5
|
+
zonedMoment
|
|
6
|
+
} from "./chunk-LT5KE44Q.js";
|
|
7
|
+
import {
|
|
8
|
+
CliError
|
|
9
|
+
} from "./chunk-BUGROVF3.js";
|
|
10
|
+
import {
|
|
11
|
+
__name
|
|
12
|
+
} from "./chunk-ZVVMGPBJ.js";
|
|
13
|
+
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/domain/moment.js
|
|
15
|
+
var calendarMoment = /* @__PURE__ */ __name((wanted, flag, { zone, end = false } = {}) => {
|
|
16
|
+
try {
|
|
17
|
+
return zonedMoment(wanted, timezoneOf(zone), { start: 0, end: wanted.length }, { end });
|
|
18
|
+
} catch (error) {
|
|
19
|
+
if (!(error instanceof CliError))
|
|
20
|
+
throw error;
|
|
21
|
+
const alternative = error.details?.alternative;
|
|
22
|
+
throw new CliError("validation_error", `${flag}: "${wanted}" is not a time${alternative ? ` \u2014 ${alternative}` : ""}`);
|
|
23
|
+
}
|
|
24
|
+
}, "calendarMoment");
|
|
25
|
+
var dayIn = /* @__PURE__ */ __name((at, zone) => new Intl.DateTimeFormat("en-CA", { timeZone: zone, year: "numeric", month: "2-digit", day: "2-digit" }).format(at), "dayIn");
|
|
26
|
+
var MINUTE = 6e4;
|
|
27
|
+
var YEAR = 365 * 24 * 60 * MINUTE;
|
|
28
|
+
var RELATIVE = /^(\d+)(m|h|d)$/;
|
|
29
|
+
var RELATIVE_MS = { m: MINUTE, h: 60 * MINUTE, d: 24 * 60 * MINUTE };
|
|
30
|
+
var DATE_ALONE = /^\d{4}-\d{2}-\d{2}$/;
|
|
31
|
+
var ZONED = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
32
|
+
var dayWord = /* @__PURE__ */ __name((word, zone, now) => {
|
|
33
|
+
const today = new Intl.DateTimeFormat("en-CA", { timeZone: zone }).format(now);
|
|
34
|
+
if (word === "today")
|
|
35
|
+
return today;
|
|
36
|
+
const date = /* @__PURE__ */ new Date(`${today}T00:00:00Z`);
|
|
37
|
+
date.setUTCDate(date.getUTCDate() - 1);
|
|
38
|
+
return date.toISOString().slice(0, 10);
|
|
39
|
+
}, "dayWord");
|
|
40
|
+
var readMoment = /* @__PURE__ */ __name((typed, flag, { zone, end = false, now = Date.now(), direction = -1 } = {}) => {
|
|
41
|
+
const wanted = typed.trim();
|
|
42
|
+
const [, amount, unit] = RELATIVE.exec(wanted) ?? [];
|
|
43
|
+
if (amount && unit)
|
|
44
|
+
return { time: now + direction * Number(amount) * (RELATIVE_MS[unit] ?? 0), local: false, dateAlone: false };
|
|
45
|
+
const word = wanted.toLowerCase();
|
|
46
|
+
const date = word === "today" || word === "yesterday" ? dayWord(word, timezoneOf(zone), now) : wanted;
|
|
47
|
+
if (!/^\d{4}-\d{2}-\d{2}/.test(date))
|
|
48
|
+
return void 0;
|
|
49
|
+
const iso = date.replace(/^(\d{4}-\d{2}-\d{2}) +(?=\d)/, "$1T");
|
|
50
|
+
return {
|
|
51
|
+
time: calendarMoment(iso, flag, { ...zone === void 0 ? {} : { zone }, end }),
|
|
52
|
+
local: !ZONED.test(iso),
|
|
53
|
+
dateAlone: DATE_ALONE.test(iso)
|
|
54
|
+
};
|
|
55
|
+
}, "readMoment");
|
|
56
|
+
var lead = /* @__PURE__ */ __name((ms) => ms === MINUTE ? "a minute" : ms === YEAR ? "a year" : `${Math.ceil(ms / MINUTE)} minutes`, "lead");
|
|
57
|
+
var aheadOf = /* @__PURE__ */ __name((reference, flag, now = Date.now(), options = {}) => {
|
|
58
|
+
const { refuseDate = false, soonest, latest, ...at } = options;
|
|
59
|
+
const read = readMoment(reference, flag, { ...at, now, direction: 1 });
|
|
60
|
+
if (read === void 0)
|
|
61
|
+
throw new CliError("validation_error", `${flag} takes an ISO 8601 time, today, or 30m, 2h, 3d from now \u2014 not "${reference.trim()}"`);
|
|
62
|
+
if (refuseDate && read.dateAlone)
|
|
63
|
+
throw new CliError("validation_error", DATE_ALONE.test(reference.trim()) ? `${flag} needs a time of day as well: ${reference.trim()}T09:00` : `${flag} needs a time of day as well, like 2026-11-20T09:00`);
|
|
64
|
+
if (soonest === 0 && read.time <= now)
|
|
65
|
+
throw new CliError("validation_error", `${flag} is in the past`);
|
|
66
|
+
if (soonest !== void 0 && soonest > 0 && read.time < now + soonest)
|
|
67
|
+
throw new CliError("validation_error", `${flag} has to be at least ${lead(soonest)} from now`);
|
|
68
|
+
if (latest !== void 0 && read.time > now + latest)
|
|
69
|
+
throw new CliError("validation_error", `${flag} can be at most ${lead(latest)} from now`);
|
|
70
|
+
return read.time;
|
|
71
|
+
}, "aheadOf");
|
|
72
|
+
|
|
73
|
+
export {
|
|
74
|
+
calendarMoment,
|
|
75
|
+
dayIn,
|
|
76
|
+
MINUTE,
|
|
77
|
+
YEAR,
|
|
78
|
+
readMoment,
|
|
79
|
+
aheadOf
|
|
80
|
+
};
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isoTime,
|
|
8
8
|
parseRegistry,
|
|
9
9
|
text
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J5P5VSRG.js";
|
|
11
11
|
import {
|
|
12
12
|
array,
|
|
13
13
|
getDotPath,
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
strictObject,
|
|
22
22
|
string,
|
|
23
23
|
unknown
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-S4UUN6LD.js";
|
|
25
25
|
import {
|
|
26
26
|
CliError,
|
|
27
27
|
visibleControls
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BUGROVF3.js";
|
|
29
29
|
import {
|
|
30
30
|
__commonJS,
|
|
31
31
|
__name,
|
|
@@ -1898,7 +1898,7 @@ var require_cli_table3 = __commonJS({
|
|
|
1898
1898
|
}
|
|
1899
1899
|
});
|
|
1900
1900
|
|
|
1901
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1901
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/paths.js
|
|
1902
1902
|
import { realpathSync } from "node:fs";
|
|
1903
1903
|
import { homedir, userInfo } from "node:os";
|
|
1904
1904
|
import { join, posix, win32 } from "node:path";
|
|
@@ -1972,7 +1972,64 @@ var homeIsMoved = /* @__PURE__ */ __name(({ env = process.env, platform = proces
|
|
|
1972
1972
|
var isMovedRun = /* @__PURE__ */ __name((options) => pathsAreOverridden(options) || homeIsMoved(options), "isMovedRun");
|
|
1973
1973
|
var configFilePath = /* @__PURE__ */ __name((configDir, fileName = "config.json") => join(configDir, fileName), "configFilePath");
|
|
1974
1974
|
|
|
1975
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
1975
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/drain.js
|
|
1976
|
+
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
1977
|
+
if (signal?.aborted)
|
|
1978
|
+
return Promise.reject(signal.reason);
|
|
1979
|
+
if (stream.destroyed)
|
|
1980
|
+
return Promise.reject(new Error("output stream closed"));
|
|
1981
|
+
if (!stream.writableNeedDrain)
|
|
1982
|
+
return Promise.resolve();
|
|
1983
|
+
return new Promise((resolve2, reject) => {
|
|
1984
|
+
const cleanup = /* @__PURE__ */ __name(() => {
|
|
1985
|
+
stream.off("drain", drained).off("error", failed).off("close", closed);
|
|
1986
|
+
signal?.removeEventListener("abort", aborted);
|
|
1987
|
+
}, "cleanup");
|
|
1988
|
+
const drained = /* @__PURE__ */ __name(() => {
|
|
1989
|
+
cleanup();
|
|
1990
|
+
resolve2();
|
|
1991
|
+
}, "drained");
|
|
1992
|
+
const failed = /* @__PURE__ */ __name((error) => {
|
|
1993
|
+
cleanup();
|
|
1994
|
+
reject(error);
|
|
1995
|
+
}, "failed");
|
|
1996
|
+
const closed = /* @__PURE__ */ __name(() => failed(new Error("output stream closed before drain")), "closed");
|
|
1997
|
+
const aborted = /* @__PURE__ */ __name(() => failed(signal?.reason), "aborted");
|
|
1998
|
+
stream.once("drain", drained).once("error", failed).once("close", closed);
|
|
1999
|
+
signal?.addEventListener("abort", aborted, { once: true });
|
|
2000
|
+
});
|
|
2001
|
+
}, "waitForDrain");
|
|
2002
|
+
|
|
2003
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2004
|
+
var processStreams = {
|
|
2005
|
+
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2006
|
+
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
2007
|
+
}, "drain"),
|
|
2008
|
+
data: /* @__PURE__ */ __name((text2) => {
|
|
2009
|
+
process.stdout.write(`${text2}
|
|
2010
|
+
`);
|
|
2011
|
+
}, "data"),
|
|
2012
|
+
diagnostic: /* @__PURE__ */ __name((text2) => {
|
|
2013
|
+
process.stderr.write(`${text2}
|
|
2014
|
+
`);
|
|
2015
|
+
}, "diagnostic"),
|
|
2016
|
+
progress: /* @__PURE__ */ __name((text2) => {
|
|
2017
|
+
process.stderr.write(`\r${text2.padEnd(72)}${text2 === "" ? "\r" : ""}`);
|
|
2018
|
+
}, "progress")
|
|
2019
|
+
};
|
|
2020
|
+
var captureStreams = /* @__PURE__ */ __name(() => {
|
|
2021
|
+
const stdout = [];
|
|
2022
|
+
const stderr = [];
|
|
2023
|
+
return {
|
|
2024
|
+
stdout,
|
|
2025
|
+
stderr,
|
|
2026
|
+
data: /* @__PURE__ */ __name((text2) => stdout.push(text2), "data"),
|
|
2027
|
+
diagnostic: /* @__PURE__ */ __name((text2) => stderr.push(text2), "diagnostic"),
|
|
2028
|
+
progress: /* @__PURE__ */ __name((text2) => stderr.push(text2), "progress")
|
|
2029
|
+
};
|
|
2030
|
+
}, "captureStreams");
|
|
2031
|
+
|
|
2032
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/retry.js
|
|
1976
2033
|
var DEFAULT_RETRY = {
|
|
1977
2034
|
retries: 1,
|
|
1978
2035
|
baseDelayMs: 250,
|
|
@@ -1984,7 +2041,7 @@ var backoffMs = /* @__PURE__ */ __name((attempt, config, random) => {
|
|
|
1984
2041
|
return Math.round(random() * ceiling);
|
|
1985
2042
|
}, "backoffMs");
|
|
1986
2043
|
|
|
1987
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2044
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/result-fields.js
|
|
1988
2045
|
var forbidden = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
|
|
1989
2046
|
var validate = /* @__PURE__ */ __name((paths) => {
|
|
1990
2047
|
if (paths.length === 0 || paths.length > 128 || paths.some((path) => path.length > 256 || !/^[A-Za-z][A-Za-z0-9_]*(?:\.[A-Za-z][A-Za-z0-9_]*)*$/.test(path) || path.split(".").some((part) => forbidden.has(part))))
|
|
@@ -2049,7 +2106,7 @@ var projectFields = /* @__PURE__ */ __name((value, fields) => {
|
|
|
2049
2106
|
return project(value, fields);
|
|
2050
2107
|
}, "projectFields");
|
|
2051
2108
|
|
|
2052
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2109
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/batch.js
|
|
2053
2110
|
var BATCH_LIMITS = Object.freeze({
|
|
2054
2111
|
requests: 32,
|
|
2055
2112
|
input_bytes: 262144,
|
|
@@ -2176,7 +2233,7 @@ var runBatch = /* @__PURE__ */ __name(async (requests, options = {}) => {
|
|
|
2176
2233
|
};
|
|
2177
2234
|
}, "runBatch");
|
|
2178
2235
|
|
|
2179
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2236
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/config.js
|
|
2180
2237
|
import { randomBytes } from "node:crypto";
|
|
2181
2238
|
import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
2182
2239
|
import { dirname, join as join2 } from "node:path";
|
|
@@ -2220,16 +2277,16 @@ var saveConfigFile = /* @__PURE__ */ __name((path, config) => {
|
|
|
2220
2277
|
`, 384);
|
|
2221
2278
|
}, "saveConfigFile");
|
|
2222
2279
|
|
|
2223
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2280
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/constants.js
|
|
2224
2281
|
var BASE_CONSTANTS = new URL("../constants.json", new URL("constants.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
2225
2282
|
var baseConstantsSchema = object({});
|
|
2226
2283
|
var LayerSchema = record(string(), unknown());
|
|
2227
2284
|
|
|
2228
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2285
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2229
2286
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
2230
2287
|
import { join as join3, resolve } from "node:path";
|
|
2231
2288
|
|
|
2232
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2289
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/keyring.js
|
|
2233
2290
|
import { createRequire } from "node:module";
|
|
2234
2291
|
var ENTRY_OPTIONS = { linux: { store: "secret-service" } };
|
|
2235
2292
|
var require2 = createRequire(new URL("keyring.js", import.meta.resolve("@wirecat/cli-base")).href);
|
|
@@ -2255,7 +2312,7 @@ var systemKeyring = {
|
|
|
2255
2312
|
delete: /* @__PURE__ */ __name((service, account) => entry(service, account).deletePassword(), "delete")
|
|
2256
2313
|
};
|
|
2257
2314
|
|
|
2258
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2315
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/credentials.js
|
|
2259
2316
|
var movedRunService = /* @__PURE__ */ __name((service, configDir) => `${service}:${resolve(configDir)}`, "movedRunService");
|
|
2260
2317
|
var warnedRuns = /* @__PURE__ */ new WeakSet();
|
|
2261
2318
|
var Credentials = class {
|
|
@@ -2399,7 +2456,7 @@ var Credentials = class {
|
|
|
2399
2456
|
}
|
|
2400
2457
|
};
|
|
2401
2458
|
|
|
2402
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2459
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/time.js
|
|
2403
2460
|
var abortError = /* @__PURE__ */ __name(() => new DOMException("The operation was aborted.", "AbortError"), "abortError");
|
|
2404
2461
|
var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, reject) => {
|
|
2405
2462
|
if (signal?.aborted) {
|
|
@@ -2414,10 +2471,10 @@ var realSleep = /* @__PURE__ */ __name((ms, signal) => new Promise((resolve2, re
|
|
|
2414
2471
|
}), "realSleep");
|
|
2415
2472
|
var wallClock = /* @__PURE__ */ __name(() => /* @__PURE__ */ new Date(), "wallClock");
|
|
2416
2473
|
|
|
2417
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2474
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2418
2475
|
import { appendFileSync } from "node:fs";
|
|
2419
2476
|
|
|
2420
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2477
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/standards/log.js
|
|
2421
2478
|
var LOG_SEVERITIES = ["trace", "debug", "info", "warn", "error", "fatal"];
|
|
2422
2479
|
var logRecordSchema = strictObject({
|
|
2423
2480
|
time: isoTime,
|
|
@@ -2495,7 +2552,7 @@ var traceIdOf = /* @__PURE__ */ __name((traceparent) => {
|
|
|
2495
2552
|
return traceId;
|
|
2496
2553
|
}, "traceIdOf");
|
|
2497
2554
|
|
|
2498
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2555
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/logging.js
|
|
2499
2556
|
var REDACTED_FIELDS = [
|
|
2500
2557
|
"authorization",
|
|
2501
2558
|
"Authorization",
|
|
@@ -2589,7 +2646,7 @@ var silent = {
|
|
|
2589
2646
|
}, "error")
|
|
2590
2647
|
};
|
|
2591
2648
|
|
|
2592
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2649
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/pretty.js
|
|
2593
2650
|
var import_cli_table3 = __toESM(require_cli_table3(), 1);
|
|
2594
2651
|
import { styleText } from "node:util";
|
|
2595
2652
|
var renderPretty = /* @__PURE__ */ __name((value, options) => {
|
|
@@ -2663,64 +2720,7 @@ var BORDERLESS = {
|
|
|
2663
2720
|
middle: ""
|
|
2664
2721
|
};
|
|
2665
2722
|
|
|
2666
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
2667
|
-
var waitForDrain = /* @__PURE__ */ __name((stream, signal) => {
|
|
2668
|
-
if (signal?.aborted)
|
|
2669
|
-
return Promise.reject(signal.reason);
|
|
2670
|
-
if (stream.destroyed)
|
|
2671
|
-
return Promise.reject(new Error("output stream closed"));
|
|
2672
|
-
if (!stream.writableNeedDrain)
|
|
2673
|
-
return Promise.resolve();
|
|
2674
|
-
return new Promise((resolve2, reject) => {
|
|
2675
|
-
const cleanup = /* @__PURE__ */ __name(() => {
|
|
2676
|
-
stream.off("drain", drained).off("error", failed).off("close", closed);
|
|
2677
|
-
signal?.removeEventListener("abort", aborted);
|
|
2678
|
-
}, "cleanup");
|
|
2679
|
-
const drained = /* @__PURE__ */ __name(() => {
|
|
2680
|
-
cleanup();
|
|
2681
|
-
resolve2();
|
|
2682
|
-
}, "drained");
|
|
2683
|
-
const failed = /* @__PURE__ */ __name((error) => {
|
|
2684
|
-
cleanup();
|
|
2685
|
-
reject(error);
|
|
2686
|
-
}, "failed");
|
|
2687
|
-
const closed = /* @__PURE__ */ __name(() => failed(new Error("output stream closed before drain")), "closed");
|
|
2688
|
-
const aborted = /* @__PURE__ */ __name(() => failed(signal?.reason), "aborted");
|
|
2689
|
-
stream.once("drain", drained).once("error", failed).once("close", closed);
|
|
2690
|
-
signal?.addEventListener("abort", aborted, { once: true });
|
|
2691
|
-
});
|
|
2692
|
-
}, "waitForDrain");
|
|
2693
|
-
|
|
2694
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/streams.js
|
|
2695
|
-
var processStreams = {
|
|
2696
|
-
drain: /* @__PURE__ */ __name(async (signal) => {
|
|
2697
|
-
await Promise.all([waitForDrain(process.stdout, signal), waitForDrain(process.stderr, signal)]);
|
|
2698
|
-
}, "drain"),
|
|
2699
|
-
data: /* @__PURE__ */ __name((text2) => {
|
|
2700
|
-
process.stdout.write(`${text2}
|
|
2701
|
-
`);
|
|
2702
|
-
}, "data"),
|
|
2703
|
-
diagnostic: /* @__PURE__ */ __name((text2) => {
|
|
2704
|
-
process.stderr.write(`${text2}
|
|
2705
|
-
`);
|
|
2706
|
-
}, "diagnostic"),
|
|
2707
|
-
progress: /* @__PURE__ */ __name((text2) => {
|
|
2708
|
-
process.stderr.write(`\r${text2.padEnd(72)}${text2 === "" ? "\r" : ""}`);
|
|
2709
|
-
}, "progress")
|
|
2710
|
-
};
|
|
2711
|
-
var captureStreams = /* @__PURE__ */ __name(() => {
|
|
2712
|
-
const stdout = [];
|
|
2713
|
-
const stderr = [];
|
|
2714
|
-
return {
|
|
2715
|
-
stdout,
|
|
2716
|
-
stderr,
|
|
2717
|
-
data: /* @__PURE__ */ __name((text2) => stdout.push(text2), "data"),
|
|
2718
|
-
diagnostic: /* @__PURE__ */ __name((text2) => stderr.push(text2), "diagnostic"),
|
|
2719
|
-
progress: /* @__PURE__ */ __name((text2) => stderr.push(text2), "progress")
|
|
2720
|
-
};
|
|
2721
|
-
}, "captureStreams");
|
|
2722
|
-
|
|
2723
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2723
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/renderer.js
|
|
2724
2724
|
var createRenderer = /* @__PURE__ */ __name(({ format, color, streams = processStreams, quiet = false }) => {
|
|
2725
2725
|
const mark = /* @__PURE__ */ __name((symbol, message) => format === "pretty" ? `${symbol} ${visibleControls(message)}` : visibleControls(message), "mark");
|
|
2726
2726
|
const say = /* @__PURE__ */ __name((symbol) => (message) => {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-EMOVVERN.js";
|
|
10
|
+
import "./chunk-PHXOL5HZ.js";
|
|
11
|
+
import "./chunk-FIVD4HM4.js";
|
|
12
|
+
import "./chunk-EE4JSYGZ.js";
|
|
13
|
+
import "./chunk-ARTJLL7W.js";
|
|
14
|
+
import "./chunk-IXZLMFPO.js";
|
|
15
|
+
import "./chunk-3DIXAEGH.js";
|
|
16
|
+
import "./chunk-IBTMK5KD.js";
|
|
17
|
+
import "./chunk-DW23LM47.js";
|
|
18
|
+
import "./chunk-WCQW4GYO.js";
|
|
19
|
+
import "./chunk-4DNHXRCJ.js";
|
|
20
|
+
import "./chunk-KO4VR5NK.js";
|
|
21
|
+
import "./chunk-3TEFE6YU.js";
|
|
22
|
+
import "./chunk-GC6FLHZF.js";
|
|
23
|
+
import "./chunk-NNMU2TDU.js";
|
|
24
|
+
import "./chunk-CBCEMFCF.js";
|
|
25
|
+
import "./chunk-LT5KE44Q.js";
|
|
26
|
+
import "./chunk-DSRXCLPO.js";
|
|
27
|
+
import "./chunk-3PEKYGZ3.js";
|
|
28
|
+
import "./chunk-X5S5KUSU.js";
|
|
29
|
+
import "./chunk-J5P5VSRG.js";
|
|
30
|
+
import "./chunk-S4UUN6LD.js";
|
|
31
|
+
import "./chunk-Y5E2WNWB.js";
|
|
32
|
+
import "./chunk-BUGROVF3.js";
|
|
33
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
34
|
+
export {
|
|
35
|
+
SCHEMA_DIALECT,
|
|
36
|
+
commandContract,
|
|
37
|
+
commandPathOf,
|
|
38
|
+
findCommand,
|
|
39
|
+
outputOf
|
|
40
|
+
};
|
|
@@ -4,52 +4,52 @@ import {
|
|
|
4
4
|
COMMAND_SERVER_CONCURRENT,
|
|
5
5
|
enterCommandServer,
|
|
6
6
|
serveCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-3R4KRNUZ.js";
|
|
8
|
+
import "./chunk-HPZRUY6S.js";
|
|
9
9
|
import {
|
|
10
10
|
ensureSqlite
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-BN22EKQQ.js";
|
|
12
|
+
import "./chunk-EMOVVERN.js";
|
|
13
13
|
import {
|
|
14
14
|
commandServerRequest,
|
|
15
15
|
exitCodeSet,
|
|
16
16
|
inCommandServerRequest
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-PHXOL5HZ.js";
|
|
18
|
+
import "./chunk-FIVD4HM4.js";
|
|
19
|
+
import "./chunk-EE4JSYGZ.js";
|
|
20
|
+
import "./chunk-ARTJLL7W.js";
|
|
21
|
+
import "./chunk-IXZLMFPO.js";
|
|
22
|
+
import "./chunk-3DIXAEGH.js";
|
|
23
23
|
import {
|
|
24
24
|
asOwnProcess
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-IBTMK5KD.js";
|
|
26
|
+
import "./chunk-DW23LM47.js";
|
|
27
|
+
import "./chunk-WCQW4GYO.js";
|
|
28
|
+
import "./chunk-4DNHXRCJ.js";
|
|
29
|
+
import "./chunk-KO4VR5NK.js";
|
|
30
|
+
import "./chunk-3TEFE6YU.js";
|
|
31
|
+
import "./chunk-GC6FLHZF.js";
|
|
32
|
+
import "./chunk-NNMU2TDU.js";
|
|
33
|
+
import "./chunk-CBCEMFCF.js";
|
|
34
|
+
import "./chunk-LT5KE44Q.js";
|
|
35
|
+
import "./chunk-DSRXCLPO.js";
|
|
36
|
+
import "./chunk-3PEKYGZ3.js";
|
|
37
|
+
import "./chunk-NZGI74GS.js";
|
|
38
|
+
import "./chunk-JUKAIXKY.js";
|
|
39
|
+
import "./chunk-X5S5KUSU.js";
|
|
40
40
|
import {
|
|
41
41
|
catchCrashes
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-J5P5VSRG.js";
|
|
43
|
+
import "./chunk-S4UUN6LD.js";
|
|
44
44
|
import "./chunk-Y5E2WNWB.js";
|
|
45
45
|
import {
|
|
46
46
|
CliError
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-BUGROVF3.js";
|
|
48
48
|
import {
|
|
49
49
|
__name
|
|
50
50
|
} from "./chunk-ZVVMGPBJ.js";
|
|
51
51
|
|
|
52
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
52
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
53
53
|
import { PassThrough } from "node:stream";
|
|
54
54
|
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
55
55
|
const original = stream.write;
|
|
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
decodeOgg
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-LKSNISYV.js";
|
|
7
|
+
import "./chunk-X5S5KUSU.js";
|
|
8
|
+
import "./chunk-J5P5VSRG.js";
|
|
9
|
+
import "./chunk-S4UUN6LD.js";
|
|
10
10
|
import {
|
|
11
11
|
importFrom
|
|
12
12
|
} from "./chunk-Y5E2WNWB.js";
|
|
13
13
|
import {
|
|
14
14
|
CliError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BUGROVF3.js";
|
|
16
16
|
import {
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.699.0_@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typ_13ea275dd452fd1070c59d86b8d8c388/node_modules/@wirecat/cli-core/dist/speech/decode.js
|
|
21
21
|
import { spawn } from "node:child_process";
|
|
22
22
|
import { mkdtemp, open, readFile, rm, writeFile } from "node:fs/promises";
|
|
23
23
|
import { createRequire } from "node:module";
|
|
@@ -14,22 +14,22 @@ import {
|
|
|
14
14
|
parseDescribe,
|
|
15
15
|
shimFiles,
|
|
16
16
|
writeShim
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VW5F6FK3.js";
|
|
18
18
|
import "./chunk-Y5E2WNWB.js";
|
|
19
19
|
import {
|
|
20
20
|
CliError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BUGROVF3.js";
|
|
22
22
|
import {
|
|
23
23
|
__name,
|
|
24
24
|
__toESM
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
28
28
|
var import_cross_spawn2 = __toESM(require_cross_spawn(), 1);
|
|
29
29
|
import { randomUUID } from "node:crypto";
|
|
30
30
|
import { constants } from "node:os";
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/path.js
|
|
33
33
|
import { readdirSync, statSync } from "node:fs";
|
|
34
34
|
import { join } from "node:path";
|
|
35
35
|
var variable = /* @__PURE__ */ __name((env, name, platform) => platform === "win32" ? Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1] : env[name], "variable");
|
|
@@ -101,7 +101,7 @@ var findTools = /* @__PURE__ */ __name((search) => {
|
|
|
101
101
|
}, "findTools");
|
|
102
102
|
var isBuiltIn = /* @__PURE__ */ __name((name) => name === "wcat" || BUILT_IN_COMMANDS.includes(name), "isBuiltIn");
|
|
103
103
|
|
|
104
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
104
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/probe.js
|
|
105
105
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
106
106
|
import { readFileSync } from "node:fs";
|
|
107
107
|
var probeDescribe = /* @__PURE__ */ __name((path, { env, timeoutMs }) => new Promise((resolve) => {
|
|
@@ -149,7 +149,7 @@ var baseVersion = /* @__PURE__ */ __name(() => {
|
|
|
149
149
|
}
|
|
150
150
|
}, "baseVersion");
|
|
151
151
|
|
|
152
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
152
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/shortcuts.js
|
|
153
153
|
import { closeSync, openSync, readSync, realpathSync, rmSync } from "node:fs";
|
|
154
154
|
import { basename, dirname } from "node:path";
|
|
155
155
|
var WIRECAT_PACKAGE = /node_modules[\\/]+@wirecat[\\/]/;
|
|
@@ -241,7 +241,7 @@ var removeShortcuts = /* @__PURE__ */ __name((search, names) => listShortcuts(se
|
|
|
241
241
|
return { ...statusOf(shortcut.name, shortcut.program, search), changed: true };
|
|
242
242
|
}), "removeShortcuts");
|
|
243
243
|
|
|
244
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
244
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.119.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/dispatch.js
|
|
245
245
|
var DEFAULT_DESCRIBE_TIMEOUT_MS = 2e3;
|
|
246
246
|
var listTools = /* @__PURE__ */ __name(async (context) => {
|
|
247
247
|
const installed = installedPrograms(context);
|
|
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
338
338
|
});
|
|
339
339
|
}), "runTool");
|
|
340
340
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
341
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
341
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-MR2XVHFP.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -7509,7 +7509,7 @@ var require_dist = __commonJS({
|
|
|
7509
7509
|
}
|
|
7510
7510
|
});
|
|
7511
7511
|
|
|
7512
|
-
// common-js-names:/home/
|
|
7512
|
+
// common-js-names:/home/runner/work/hubspot-cli/hubspot-cli/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js
|
|
7513
7513
|
var cjs = require_dist();
|
|
7514
7514
|
var n0 = cjs["Alias"];
|
|
7515
7515
|
var n1 = cjs["CST"];
|