@kubb/cli 5.0.0-beta.16 → 5.0.0-beta.18
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/dist/{agent-CfD2m2CX.cjs → agent-BN6RU7Tc.cjs} +2 -2
- package/dist/{agent-CfD2m2CX.cjs.map → agent-BN6RU7Tc.cjs.map} +1 -1
- package/dist/{agent-DMIwFeFd.js → agent-CHDd3EIb.js} +2 -2
- package/dist/{agent-DMIwFeFd.js.map → agent-CHDd3EIb.js.map} +1 -1
- package/dist/{generate-BdgANOyV.js → generate-BbIircLq.js} +2 -2
- package/dist/{generate-BdgANOyV.js.map → generate-BbIircLq.js.map} +1 -1
- package/dist/{generate-Dp1zXEr-.cjs → generate-C8RGGYqZ.cjs} +2 -2
- package/dist/{generate-Dp1zXEr-.cjs.map → generate-C8RGGYqZ.cjs.map} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.js +6 -6
- package/dist/{init-HVMnBjNh.js → init-CeIRcT3t.js} +2 -2
- package/dist/{init-HVMnBjNh.js.map → init-CeIRcT3t.js.map} +1 -1
- package/dist/{init-QPhvEnU-.cjs → init-CxisqDGj.cjs} +2 -2
- package/dist/{init-QPhvEnU-.cjs.map → init-CxisqDGj.cjs.map} +1 -1
- package/dist/{mcp-Qye0tubs.js → mcp-BgSLqq7j.js} +3 -3
- package/dist/{mcp-Qye0tubs.js.map → mcp-BgSLqq7j.js.map} +1 -1
- package/dist/{mcp-CkEa2Yk_.cjs → mcp-DPj7bc-g.cjs} +3 -3
- package/dist/{mcp-CkEa2Yk_.cjs.map → mcp-DPj7bc-g.cjs.map} +1 -1
- package/dist/{package-CGujHNGG.cjs → package-BeLMJH8d.cjs} +2 -2
- package/dist/package-BeLMJH8d.cjs.map +1 -0
- package/dist/package-YtMB43jC.js +6 -0
- package/dist/package-YtMB43jC.js.map +1 -0
- package/dist/{run-Lr0Ctnu0.cjs → run-B11-UaUs.cjs} +2 -19
- package/dist/run-B11-UaUs.cjs.map +1 -0
- package/dist/{run-Bn9nxITO.js → run-BpfMF3bi.js} +11 -4
- package/dist/{run-Bn9nxITO.js.map → run-BpfMF3bi.js.map} +1 -1
- package/dist/{run-DJBakoaj.cjs → run-D4tAq-8c.cjs} +11 -4
- package/dist/{run-DJBakoaj.cjs.map → run-D4tAq-8c.cjs.map} +1 -1
- package/dist/{run-D0hmRpHy.js → run-PSA9X7ci.js} +2 -19
- package/dist/run-PSA9X7ci.js.map +1 -0
- package/dist/{validate-_Ky0BFhR.js → validate-1E5UaDSB.js} +2 -2
- package/dist/{validate-_Ky0BFhR.js.map → validate-1E5UaDSB.js.map} +1 -1
- package/dist/{validate-BZTT-w80.cjs → validate-CmYGi9tg.cjs} +2 -2
- package/dist/{validate-BZTT-w80.cjs.map → validate-CmYGi9tg.cjs.map} +1 -1
- package/package.json +6 -6
- package/src/runners/generate/utils.ts +7 -0
- package/src/runners/mcp/run.ts +1 -19
- package/dist/package-CGujHNGG.cjs.map +0 -1
- package/dist/package-QTB7rEyx.js +0 -6
- package/dist/package-QTB7rEyx.js.map +0 -1
- package/dist/run-D0hmRpHy.js.map +0 -1
- package/dist/run-Lr0Ctnu0.cjs.map +0 -1
|
@@ -4,25 +4,8 @@ import { r as sendTelemetry, t as buildTelemetryEvent } from "./telemetry-BkektV
|
|
|
4
4
|
import { styleText } from "node:util";
|
|
5
5
|
import process from "node:process";
|
|
6
6
|
//#region src/runners/mcp/run.ts
|
|
7
|
-
/**
|
|
8
|
-
* Starts the Kubb MCP server using `@kubb/mcp`.
|
|
9
|
-
* Exits the process with code 1 if `@kubb/mcp` is not installed.
|
|
10
|
-
*/
|
|
11
7
|
async function run({ version, port, host }) {
|
|
12
|
-
|
|
13
|
-
try {
|
|
14
|
-
mod = await import("@kubb/mcp");
|
|
15
|
-
} catch (_e) {
|
|
16
|
-
console.error(styleText("red", "The @kubb/mcp package is not installed."));
|
|
17
|
-
console.error("");
|
|
18
|
-
console.error("Install it with:");
|
|
19
|
-
console.error(styleText("cyan", " npm install @kubb/mcp"));
|
|
20
|
-
console.error(styleText("cyan", " # or"));
|
|
21
|
-
console.error(styleText("cyan", " pnpm install @kubb/mcp"));
|
|
22
|
-
console.error("");
|
|
23
|
-
process.exit(1);
|
|
24
|
-
}
|
|
25
|
-
const { run: startMcpServer } = mod;
|
|
8
|
+
const { run: startMcpServer } = await import("@kubb/mcp");
|
|
26
9
|
const hrStart = process.hrtime();
|
|
27
10
|
const report = (status) => sendTelemetry(buildTelemetryEvent({
|
|
28
11
|
command: "mcp",
|
|
@@ -46,4 +29,4 @@ async function run({ version, port, host }) {
|
|
|
46
29
|
//#endregion
|
|
47
30
|
export { run };
|
|
48
31
|
|
|
49
|
-
//# sourceMappingURL=run-
|
|
32
|
+
//# sourceMappingURL=run-PSA9X7ci.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"run-PSA9X7ci.js","names":[],"sources":["../src/runners/mcp/run.ts"],"sourcesContent":["import process from 'node:process'\nimport { styleText } from 'node:util'\nimport { getErrorMessage } from '@internals/utils'\nimport type * as McpModule from '@kubb/mcp'\nimport { buildTelemetryEvent, sendTelemetry } from '../../telemetry.ts'\n\ntype McpOptions = {\n /**\n * Current `@kubb/cli` version string, used for the telemetry payload.\n */\n version: string\n /**\n * TCP port for the HTTP MCP server. When `undefined`, the server uses stdio transport.\n */\n port?: string\n /**\n * Hostname to bind to when running in HTTP mode.\n *\n * @default 'localhost'\n */\n host?: string\n}\n\nexport async function run({ version, port, host }: McpOptions): Promise<void> {\n const { run: startMcpServer } = (await import('@kubb/mcp')) as typeof McpModule\n const hrStart = process.hrtime()\n const report = (status: 'success' | 'failed') => sendTelemetry(buildTelemetryEvent({ command: 'mcp', kubbVersion: version, hrStart, status }))\n try {\n console.log(styleText('cyan', '⏳ Starting MCP server...'))\n console.warn(styleText('yellow', 'This feature is still under development, use with caution'))\n await startMcpServer(undefined, { port: port !== undefined ? Number(port) : undefined, host })\n await report('success')\n } catch (error) {\n await report('failed')\n console.error(getErrorMessage(error))\n }\n}\n"],"mappings":";;;;;;AAuBA,eAAsB,IAAI,EAAE,SAAS,MAAM,QAAmC;CAC5E,MAAM,EAAE,KAAK,mBAAoB,MAAM,OAAO;CAC9C,MAAM,UAAU,QAAQ,QAAQ;CAChC,MAAM,UAAU,WAAiC,cAAc,oBAAoB;EAAE,SAAS;EAAO,aAAa;EAAS;EAAS;EAAQ,CAAC,CAAC;CAC9I,IAAI;EACF,QAAQ,IAAI,UAAU,QAAQ,2BAA2B,CAAC;EAC1D,QAAQ,KAAK,UAAU,UAAU,4DAA4D,CAAC;EAC9F,MAAM,eAAe,KAAA,GAAW;GAAE,MAAM,SAAS,KAAA,IAAY,OAAO,KAAK,GAAG,KAAA;GAAW;GAAM,CAAC;EAC9F,MAAM,OAAO,UAAU;UAChB,OAAO;EACd,MAAM,OAAO,SAAS;EACtB,QAAQ,MAAM,gBAAgB,MAAM,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./chunk-BvFE5Tac.js";
|
|
2
2
|
import { n as defineCommand } from "./define-m_fp-Aqm.js";
|
|
3
|
-
import { t as version } from "./package-
|
|
3
|
+
import { t as version } from "./package-YtMB43jC.js";
|
|
4
4
|
//#region src/commands/validate.ts
|
|
5
5
|
const command = defineCommand({
|
|
6
6
|
name: "validate",
|
|
@@ -23,4 +23,4 @@ const command = defineCommand({
|
|
|
23
23
|
//#endregion
|
|
24
24
|
export { command };
|
|
25
25
|
|
|
26
|
-
//# sourceMappingURL=validate-
|
|
26
|
+
//# sourceMappingURL=validate-1E5UaDSB.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-
|
|
1
|
+
{"version":3,"file":"validate-1E5UaDSB.js","names":[],"sources":["../src/commands/validate.ts"],"sourcesContent":["import { defineCommand } from '@internals/utils'\nimport { version } from '../../package.json'\n\nexport const command = defineCommand({\n name: 'validate',\n description:\n 'Parse and validate an OpenAPI/Swagger file for structural correctness. Reports schema errors, missing required fields, and malformed references. Use this before running generate to catch spec issues early.',\n examples: ['kubb validate --input ./openapi.yaml', 'kubb validate --input https://petstore3.swagger.io/api/v3/openapi.json'],\n options: {\n input: {\n type: 'string',\n description: 'Path or URL to the OpenAPI/Swagger file to validate',\n short: 'i',\n required: true,\n },\n },\n async run({ values }) {\n const { run } = await import('../runners/validate/run.ts')\n\n await run({ input: values.input, version })\n },\n})\n"],"mappings":";;;;AAGA,MAAa,UAAU,cAAc;CACnC,MAAM;CACN,aACE;CACF,UAAU,CAAC,wCAAwC,yEAAyE;CAC5H,SAAS,EACP,OAAO;EACL,MAAM;EACN,aAAa;EACb,OAAO;EACP,UAAU;EACX,EACF;CACD,MAAM,IAAI,EAAE,UAAU;EACpB,MAAM,EAAE,QAAQ,MAAM,OAAO;EAE7B,MAAM,IAAI;GAAE,OAAO,OAAO;GAAO;GAAS,CAAC;;CAE9C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require("./chunk-ByKO4r7w.cjs");
|
|
2
2
|
const require_define = require("./define-Bdn8j5VM.cjs");
|
|
3
|
-
const require_package = require("./package-
|
|
3
|
+
const require_package = require("./package-BeLMJH8d.cjs");
|
|
4
4
|
//#region src/commands/validate.ts
|
|
5
5
|
const command = require_define.defineCommand({
|
|
6
6
|
name: "validate",
|
|
@@ -23,4 +23,4 @@ const command = require_define.defineCommand({
|
|
|
23
23
|
//#endregion
|
|
24
24
|
exports.command = command;
|
|
25
25
|
|
|
26
|
-
//# sourceMappingURL=validate-
|
|
26
|
+
//# sourceMappingURL=validate-CmYGi9tg.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate-
|
|
1
|
+
{"version":3,"file":"validate-CmYGi9tg.cjs","names":["defineCommand"],"sources":["../src/commands/validate.ts"],"sourcesContent":["import { defineCommand } from '@internals/utils'\nimport { version } from '../../package.json'\n\nexport const command = defineCommand({\n name: 'validate',\n description:\n 'Parse and validate an OpenAPI/Swagger file for structural correctness. Reports schema errors, missing required fields, and malformed references. Use this before running generate to catch spec issues early.',\n examples: ['kubb validate --input ./openapi.yaml', 'kubb validate --input https://petstore3.swagger.io/api/v3/openapi.json'],\n options: {\n input: {\n type: 'string',\n description: 'Path or URL to the OpenAPI/Swagger file to validate',\n short: 'i',\n required: true,\n },\n },\n async run({ values }) {\n const { run } = await import('../runners/validate/run.ts')\n\n await run({ input: values.input, version })\n },\n})\n"],"mappings":";;;;AAGA,MAAa,UAAUA,eAAAA,cAAc;CACnC,MAAM;CACN,aACE;CACF,UAAU,CAAC,wCAAwC,yEAAyE;CAC5H,SAAS,EACP,OAAO;EACL,MAAM;EACN,aAAa;EACb,OAAO;EACP,UAAU;EACX,EACF;CACD,MAAM,IAAI,EAAE,UAAU;EACpB,MAAM,EAAE,QAAQ,MAAA,QAAA,SAAA,CAAA,WAAA,QAAM,qBAAA,CAAA;EAEtB,MAAM,IAAI;GAAE,OAAO,OAAO;GAAO,SAAA,gBAAA;GAAS,CAAC;;CAE9C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/cli",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.18",
|
|
4
4
|
"description": "Official CLI for Kubb. Run kubb generate, kubb init, kubb validate, kubb mcp, and kubb agent to manage the full code generation lifecycle from OpenAPI/Swagger specs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
"cosmiconfig": "^9.0.1",
|
|
53
53
|
"jiti": "^2.7.0",
|
|
54
54
|
"tinyexec": "^1.1.2",
|
|
55
|
-
"@kubb/core": "5.0.0-beta.
|
|
55
|
+
"@kubb/core": "5.0.0-beta.18"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@internals/shared": "0.0.0",
|
|
59
59
|
"@internals/utils": "0.0.0",
|
|
60
|
-
"@kubb/adapter-oas": "5.0.0-beta.
|
|
60
|
+
"@kubb/adapter-oas": "5.0.0-beta.18"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@kubb/adapter-oas": "5.0.0-beta.
|
|
64
|
-
"@kubb/agent": "5.0.0-beta.
|
|
65
|
-
"@kubb/mcp": "5.0.0-beta.
|
|
63
|
+
"@kubb/adapter-oas": "5.0.0-beta.18",
|
|
64
|
+
"@kubb/agent": "5.0.0-beta.18",
|
|
65
|
+
"@kubb/mcp": "5.0.0-beta.18"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
68
68
|
"@kubb/adapter-oas": {
|
|
@@ -198,6 +198,13 @@ export async function startWatcher(
|
|
|
198
198
|
const { watch } = await import('chokidar')
|
|
199
199
|
const watcher = watch(path, { ignorePermissionErrors: true, ignored: WATCHER_IGNORED_PATHS })
|
|
200
200
|
|
|
201
|
+
process.once('SIGINT', () => {
|
|
202
|
+
watcher.close()
|
|
203
|
+
})
|
|
204
|
+
process.once('SIGTERM', () => {
|
|
205
|
+
watcher.close()
|
|
206
|
+
})
|
|
207
|
+
|
|
201
208
|
watcher.on('all', async (type, file) => {
|
|
202
209
|
log.info(styleText('yellow', styleText('bold', `Change detected: ${type} ${file}`)))
|
|
203
210
|
try {
|
package/src/runners/mcp/run.ts
CHANGED
|
@@ -21,26 +21,8 @@ type McpOptions = {
|
|
|
21
21
|
host?: string
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
/**
|
|
25
|
-
* Starts the Kubb MCP server using `@kubb/mcp`.
|
|
26
|
-
* Exits the process with code 1 if `@kubb/mcp` is not installed.
|
|
27
|
-
*/
|
|
28
24
|
export async function run({ version, port, host }: McpOptions): Promise<void> {
|
|
29
|
-
|
|
30
|
-
try {
|
|
31
|
-
mod = (await import('@kubb/mcp')) as typeof McpModule
|
|
32
|
-
} catch (_e) {
|
|
33
|
-
console.error(styleText('red', 'The @kubb/mcp package is not installed.'))
|
|
34
|
-
console.error('')
|
|
35
|
-
console.error('Install it with:')
|
|
36
|
-
console.error(styleText('cyan', ' npm install @kubb/mcp'))
|
|
37
|
-
console.error(styleText('cyan', ' # or'))
|
|
38
|
-
console.error(styleText('cyan', ' pnpm install @kubb/mcp'))
|
|
39
|
-
console.error('')
|
|
40
|
-
process.exit(1)
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
const { run: startMcpServer } = mod
|
|
25
|
+
const { run: startMcpServer } = (await import('@kubb/mcp')) as typeof McpModule
|
|
44
26
|
const hrStart = process.hrtime()
|
|
45
27
|
const report = (status: 'success' | 'failed') => sendTelemetry(buildTelemetryEvent({ command: 'mcp', kubbVersion: version, hrStart, status }))
|
|
46
28
|
try {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-CGujHNGG.cjs","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
|
package/dist/package-QTB7rEyx.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"package-QTB7rEyx.js","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
|
package/dist/run-D0hmRpHy.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-D0hmRpHy.js","names":[],"sources":["../src/runners/mcp/run.ts"],"sourcesContent":["import process from 'node:process'\nimport { styleText } from 'node:util'\nimport { getErrorMessage } from '@internals/utils'\nimport type * as McpModule from '@kubb/mcp'\nimport { buildTelemetryEvent, sendTelemetry } from '../../telemetry.ts'\n\ntype McpOptions = {\n /**\n * Current `@kubb/cli` version string, used for the telemetry payload.\n */\n version: string\n /**\n * TCP port for the HTTP MCP server. When `undefined`, the server uses stdio transport.\n */\n port?: string\n /**\n * Hostname to bind to when running in HTTP mode.\n *\n * @default 'localhost'\n */\n host?: string\n}\n\n/**\n * Starts the Kubb MCP server using `@kubb/mcp`.\n * Exits the process with code 1 if `@kubb/mcp` is not installed.\n */\nexport async function run({ version, port, host }: McpOptions): Promise<void> {\n let mod: typeof McpModule\n try {\n mod = (await import('@kubb/mcp')) as typeof McpModule\n } catch (_e) {\n console.error(styleText('red', 'The @kubb/mcp package is not installed.'))\n console.error('')\n console.error('Install it with:')\n console.error(styleText('cyan', ' npm install @kubb/mcp'))\n console.error(styleText('cyan', ' # or'))\n console.error(styleText('cyan', ' pnpm install @kubb/mcp'))\n console.error('')\n process.exit(1)\n }\n\n const { run: startMcpServer } = mod\n const hrStart = process.hrtime()\n const report = (status: 'success' | 'failed') => sendTelemetry(buildTelemetryEvent({ command: 'mcp', kubbVersion: version, hrStart, status }))\n try {\n console.log(styleText('cyan', '⏳ Starting MCP server...'))\n console.warn(styleText('yellow', 'This feature is still under development, use with caution'))\n await startMcpServer(undefined, { port: port !== undefined ? Number(port) : undefined, host })\n await report('success')\n } catch (error) {\n await report('failed')\n console.error(getErrorMessage(error))\n }\n}\n"],"mappings":";;;;;;;;;;AA2BA,eAAsB,IAAI,EAAE,SAAS,MAAM,QAAmC;CAC5E,IAAI;CACJ,IAAI;EACF,MAAO,MAAM,OAAO;UACb,IAAI;EACX,QAAQ,MAAM,UAAU,OAAO,0CAA0C,CAAC;EAC1E,QAAQ,MAAM,GAAG;EACjB,QAAQ,MAAM,mBAAmB;EACjC,QAAQ,MAAM,UAAU,QAAQ,0BAA0B,CAAC;EAC3D,QAAQ,MAAM,UAAU,QAAQ,SAAS,CAAC;EAC1C,QAAQ,MAAM,UAAU,QAAQ,2BAA2B,CAAC;EAC5D,QAAQ,MAAM,GAAG;EACjB,QAAQ,KAAK,EAAE;;CAGjB,MAAM,EAAE,KAAK,mBAAmB;CAChC,MAAM,UAAU,QAAQ,QAAQ;CAChC,MAAM,UAAU,WAAiC,cAAc,oBAAoB;EAAE,SAAS;EAAO,aAAa;EAAS;EAAS;EAAQ,CAAC,CAAC;CAC9I,IAAI;EACF,QAAQ,IAAI,UAAU,QAAQ,2BAA2B,CAAC;EAC1D,QAAQ,KAAK,UAAU,UAAU,4DAA4D,CAAC;EAC9F,MAAM,eAAe,KAAA,GAAW;GAAE,MAAM,SAAS,KAAA,IAAY,OAAO,KAAK,GAAG,KAAA;GAAW;GAAM,CAAC;EAC9F,MAAM,OAAO,UAAU;UAChB,OAAO;EACd,MAAM,OAAO,SAAS;EACtB,QAAQ,MAAM,gBAAgB,MAAM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-Lr0Ctnu0.cjs","names":["process","sendTelemetry","buildTelemetryEvent","getErrorMessage"],"sources":["../src/runners/mcp/run.ts"],"sourcesContent":["import process from 'node:process'\nimport { styleText } from 'node:util'\nimport { getErrorMessage } from '@internals/utils'\nimport type * as McpModule from '@kubb/mcp'\nimport { buildTelemetryEvent, sendTelemetry } from '../../telemetry.ts'\n\ntype McpOptions = {\n /**\n * Current `@kubb/cli` version string, used for the telemetry payload.\n */\n version: string\n /**\n * TCP port for the HTTP MCP server. When `undefined`, the server uses stdio transport.\n */\n port?: string\n /**\n * Hostname to bind to when running in HTTP mode.\n *\n * @default 'localhost'\n */\n host?: string\n}\n\n/**\n * Starts the Kubb MCP server using `@kubb/mcp`.\n * Exits the process with code 1 if `@kubb/mcp` is not installed.\n */\nexport async function run({ version, port, host }: McpOptions): Promise<void> {\n let mod: typeof McpModule\n try {\n mod = (await import('@kubb/mcp')) as typeof McpModule\n } catch (_e) {\n console.error(styleText('red', 'The @kubb/mcp package is not installed.'))\n console.error('')\n console.error('Install it with:')\n console.error(styleText('cyan', ' npm install @kubb/mcp'))\n console.error(styleText('cyan', ' # or'))\n console.error(styleText('cyan', ' pnpm install @kubb/mcp'))\n console.error('')\n process.exit(1)\n }\n\n const { run: startMcpServer } = mod\n const hrStart = process.hrtime()\n const report = (status: 'success' | 'failed') => sendTelemetry(buildTelemetryEvent({ command: 'mcp', kubbVersion: version, hrStart, status }))\n try {\n console.log(styleText('cyan', '⏳ Starting MCP server...'))\n console.warn(styleText('yellow', 'This feature is still under development, use with caution'))\n await startMcpServer(undefined, { port: port !== undefined ? Number(port) : undefined, host })\n await report('success')\n } catch (error) {\n await report('failed')\n console.error(getErrorMessage(error))\n }\n}\n"],"mappings":";;;;;;;;;;;AA2BA,eAAsB,IAAI,EAAE,SAAS,MAAM,QAAmC;CAC5E,IAAI;CACJ,IAAI;EACF,MAAO,MAAM,OAAO;UACb,IAAI;EACX,QAAQ,OAAA,GAAA,UAAA,WAAgB,OAAO,0CAA0C,CAAC;EAC1E,QAAQ,MAAM,GAAG;EACjB,QAAQ,MAAM,mBAAmB;EACjC,QAAQ,OAAA,GAAA,UAAA,WAAgB,QAAQ,0BAA0B,CAAC;EAC3D,QAAQ,OAAA,GAAA,UAAA,WAAgB,QAAQ,SAAS,CAAC;EAC1C,QAAQ,OAAA,GAAA,UAAA,WAAgB,QAAQ,2BAA2B,CAAC;EAC5D,QAAQ,MAAM,GAAG;EACjB,aAAA,QAAQ,KAAK,EAAE;;CAGjB,MAAM,EAAE,KAAK,mBAAmB;CAChC,MAAM,UAAUA,aAAAA,QAAQ,QAAQ;CAChC,MAAM,UAAU,WAAiCC,kBAAAA,cAAcC,kBAAAA,oBAAoB;EAAE,SAAS;EAAO,aAAa;EAAS;EAAS;EAAQ,CAAC,CAAC;CAC9I,IAAI;EACF,QAAQ,KAAA,GAAA,UAAA,WAAc,QAAQ,2BAA2B,CAAC;EAC1D,QAAQ,MAAA,GAAA,UAAA,WAAe,UAAU,4DAA4D,CAAC;EAC9F,MAAM,eAAe,KAAA,GAAW;GAAE,MAAM,SAAS,KAAA,IAAY,OAAO,KAAK,GAAG,KAAA;GAAW;GAAM,CAAC;EAC9F,MAAM,OAAO,UAAU;UAChB,OAAO;EACd,MAAM,OAAO,SAAS;EACtB,QAAQ,MAAMC,eAAAA,gBAAgB,MAAM,CAAC"}
|