@kubb/agent 5.0.0-alpha.7 → 5.0.0-alpha.8
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/.output/nitro.json
CHANGED
|
@@ -2640,7 +2640,7 @@ const memory = defineDriver$1(() => {
|
|
|
2640
2640
|
};
|
|
2641
2641
|
});
|
|
2642
2642
|
|
|
2643
|
-
function createStorage(options = {}) {
|
|
2643
|
+
function createStorage$1(options = {}) {
|
|
2644
2644
|
const context = {
|
|
2645
2645
|
mounts: { "": options.driver || memory() },
|
|
2646
2646
|
mountpoints: [""],
|
|
@@ -3335,7 +3335,7 @@ const unstorage_47drivers_47fs_45lite = defineDriver((opts = {}) => {
|
|
|
3335
3335
|
};
|
|
3336
3336
|
});
|
|
3337
3337
|
|
|
3338
|
-
const storage = createStorage({});
|
|
3338
|
+
const storage = createStorage$1({});
|
|
3339
3339
|
|
|
3340
3340
|
storage.mount('/assets', assets);
|
|
3341
3341
|
|
|
@@ -5891,10 +5891,10 @@ executeSync_fn = function({ strategy, hookName, parameters, plugin }) {
|
|
|
5891
5891
|
...plugin
|
|
5892
5892
|
};
|
|
5893
5893
|
}, _d);
|
|
5894
|
-
function
|
|
5894
|
+
function createStorage(build2) {
|
|
5895
5895
|
return (options) => build2(options != null ? options : {});
|
|
5896
5896
|
}
|
|
5897
|
-
const fsStorage =
|
|
5897
|
+
const fsStorage = createStorage(() => ({
|
|
5898
5898
|
name: "fs",
|
|
5899
5899
|
async hasItem(key) {
|
|
5900
5900
|
try {
|
|
@@ -5940,7 +5940,7 @@ const fsStorage = defineStorage(() => ({
|
|
|
5940
5940
|
await clean(resolve(base));
|
|
5941
5941
|
}
|
|
5942
5942
|
}));
|
|
5943
|
-
var version$1 = "5.0.0-alpha.
|
|
5943
|
+
var version$1 = "5.0.0-alpha.8";
|
|
5944
5944
|
function getDiagnosticInfo() {
|
|
5945
5945
|
return {
|
|
5946
5946
|
nodeVersion: version$2,
|
|
@@ -6228,7 +6228,7 @@ function inputToAdapterSource(config) {
|
|
|
6228
6228
|
path: resolve(config.root, config.input.path)
|
|
6229
6229
|
};
|
|
6230
6230
|
}
|
|
6231
|
-
function
|
|
6231
|
+
function createGenerator$1(generator) {
|
|
6232
6232
|
if (generator.type === "react") return {
|
|
6233
6233
|
version: "2",
|
|
6234
6234
|
Operations() {
|
|
@@ -6256,7 +6256,7 @@ function defineGenerator(generator) {
|
|
|
6256
6256
|
...generator
|
|
6257
6257
|
};
|
|
6258
6258
|
}
|
|
6259
|
-
function
|
|
6259
|
+
function createPlugin(build2) {
|
|
6260
6260
|
return (options) => build2(options != null ? options : {});
|
|
6261
6261
|
}
|
|
6262
6262
|
var PackageManager = (_e = class {
|
|
@@ -6340,7 +6340,7 @@ var PackageManager = (_e = class {
|
|
|
6340
6340
|
const matchedDependency = Object.keys(dependencies).find((dep) => dep.match(dependency));
|
|
6341
6341
|
return matchedDependency ? dependencies[matchedDependency] : void 0;
|
|
6342
6342
|
}, __privateAdd$c(_e, _cache, {}), _e);
|
|
6343
|
-
const memoryStorage =
|
|
6343
|
+
const memoryStorage = createStorage(() => {
|
|
6344
6344
|
const store = /* @__PURE__ */ new Map();
|
|
6345
6345
|
return {
|
|
6346
6346
|
name: "memory",
|
|
@@ -6743,7 +6743,7 @@ function resolveOptions(node, { options, exclude = [], include, override = [] })
|
|
|
6743
6743
|
return options;
|
|
6744
6744
|
}
|
|
6745
6745
|
|
|
6746
|
-
var version = "5.0.0-alpha.
|
|
6746
|
+
var version = "5.0.0-alpha.8";
|
|
6747
6747
|
|
|
6748
6748
|
function isCommandMessage(msg) {
|
|
6749
6749
|
return msg.type === "command";
|
|
@@ -10179,7 +10179,7 @@ var OperationGenerator = (_a$7 = class {
|
|
|
10179
10179
|
return include.some(({ pattern, type }) => __privateMethod$7(this, _OperationGenerator_instances, matchesPattern_fn).call(this, operation, method, type, pattern));
|
|
10180
10180
|
}, _a$7);
|
|
10181
10181
|
const pluginOasName = "plugin-oas";
|
|
10182
|
-
const pluginOas =
|
|
10182
|
+
const pluginOas = createPlugin((options) => {
|
|
10183
10183
|
const { output = { path: "schemas" }, group, validate = true, generators = [jsonGenerator], serverIndex, serverVariables, contentType, oasClass, discriminator = "strict", collisionDetection = false } = options;
|
|
10184
10184
|
const getOas = async ({ validate: validate2, config, events }) => {
|
|
10185
10185
|
const oas = await parseFromConfig(config, oasClass);
|
|
@@ -210566,7 +210566,7 @@ function buildResponseUnionSchemaNode({ node, resolveName }) {
|
|
|
210566
210566
|
}))
|
|
210567
210567
|
});
|
|
210568
210568
|
}
|
|
210569
|
-
const typeGenerator =
|
|
210569
|
+
const typeGenerator = createGenerator$1({
|
|
210570
210570
|
name: "typescript",
|
|
210571
210571
|
type: "react",
|
|
210572
210572
|
Operation({ node, adapter, options }) {
|
|
@@ -210768,7 +210768,7 @@ const typeGenerator = defineGenerator({
|
|
|
210768
210768
|
}
|
|
210769
210769
|
});
|
|
210770
210770
|
const pluginTsName = "plugin-ts";
|
|
210771
|
-
const pluginTs =
|
|
210771
|
+
const pluginTs = createPlugin((options) => {
|
|
210772
210772
|
const { output = {
|
|
210773
210773
|
path: "types",
|
|
210774
210774
|
barrelType: "named"
|
|
@@ -211223,7 +211223,7 @@ function pascalCase$5(text, { isFile, prefix = "", suffix = "" } = {}) {
|
|
|
211223
211223
|
return toCamelOrPascal$9(`${prefix} ${text} ${suffix}`, true);
|
|
211224
211224
|
}
|
|
211225
211225
|
const pluginZodName = "plugin-zod";
|
|
211226
|
-
const pluginZod =
|
|
211226
|
+
const pluginZod = createPlugin((options) => {
|
|
211227
211227
|
const { output = {
|
|
211228
211228
|
path: "zod",
|
|
211229
211229
|
barrelType: "named"
|
|
@@ -212043,7 +212043,7 @@ const source$1 = "/**\n * RequestCredentials\n */\nexport type RequestCredential
|
|
|
212043
212043
|
const source = "export function buildFormData<T = unknown>(data: T): FormData {\n const formData = new FormData()\n\n function appendData(key: string, value: any) {\n if (value instanceof Blob) {\n formData.append(key, value)\n return\n }\n if (value instanceof Date) {\n formData.append(key, value.toISOString())\n return\n }\n if (typeof value === 'number' || typeof value === 'boolean') {\n formData.append(key, String(value))\n return\n }\n if (typeof value === 'string') {\n formData.append(key, value)\n return\n }\n if (typeof value === 'object') {\n formData.append(key, new Blob([JSON.stringify(value)], { type: 'application/json' }))\n return\n }\n }\n\n if (data) {\n Object.entries(data).forEach(([key, value]) => {\n if (value === undefined || value === null) return\n\n if (Array.isArray(value)) {\n for (const valueItem of value) {\n if (valueItem === undefined || valueItem === null) continue\n appendData(key, valueItem)\n }\n } else {\n appendData(key, value)\n }\n })\n }\n\n return formData\n}\n";
|
|
212044
212044
|
|
|
212045
212045
|
const pluginClientName = "plugin-client";
|
|
212046
|
-
const pluginClient =
|
|
212046
|
+
const pluginClient = createPlugin((options) => {
|
|
212047
212047
|
var _a;
|
|
212048
212048
|
const { output = {
|
|
212049
212049
|
path: "clients",
|
|
@@ -212436,7 +212436,7 @@ const cypressGenerator = createReactGenerator({
|
|
|
212436
212436
|
});
|
|
212437
212437
|
|
|
212438
212438
|
const pluginCypressName = "plugin-cypress";
|
|
212439
|
-
const pluginCypress =
|
|
212439
|
+
const pluginCypress = createPlugin((options) => {
|
|
212440
212440
|
const { output = {
|
|
212441
212441
|
path: "cypress",
|
|
212442
212442
|
barrelType: "named"
|
|
@@ -213092,7 +213092,7 @@ function camelCase$7(text, { isFile, prefix = "", suffix = "" } = {}) {
|
|
|
213092
213092
|
return toCamelOrPascal$7(`${prefix} ${text} ${suffix}`);
|
|
213093
213093
|
}
|
|
213094
213094
|
const pluginFakerName = "plugin-faker";
|
|
213095
|
-
const pluginFaker =
|
|
213095
|
+
const pluginFaker = createPlugin((options) => {
|
|
213096
213096
|
const { output = {
|
|
213097
213097
|
path: "mocks",
|
|
213098
213098
|
barrelType: "named"
|
|
@@ -213582,7 +213582,7 @@ const serverGenerator = createReactGenerator({
|
|
|
213582
213582
|
});
|
|
213583
213583
|
|
|
213584
213584
|
const pluginMcpName = "plugin-mcp";
|
|
213585
|
-
const pluginMcp =
|
|
213585
|
+
const pluginMcp = createPlugin((options) => {
|
|
213586
213586
|
var _a, _b, _c, _d;
|
|
213587
213587
|
const { output = {
|
|
213588
213588
|
path: "mcp",
|
|
@@ -214075,7 +214075,7 @@ const mswGenerator = createReactGenerator({
|
|
|
214075
214075
|
});
|
|
214076
214076
|
|
|
214077
214077
|
const pluginMswName = "plugin-msw";
|
|
214078
|
-
const pluginMsw =
|
|
214078
|
+
const pluginMsw = createPlugin((options) => {
|
|
214079
214079
|
const { output = {
|
|
214080
214080
|
path: "handlers",
|
|
214081
214081
|
barrelType: "named"
|
|
@@ -217019,7 +217019,7 @@ const suspenseQueryGenerator = createReactGenerator({
|
|
|
217019
217019
|
});
|
|
217020
217020
|
|
|
217021
217021
|
const pluginReactQueryName = "plugin-react-query";
|
|
217022
|
-
const pluginReactQuery =
|
|
217022
|
+
const pluginReactQuery = createPlugin((options) => {
|
|
217023
217023
|
var _a, _b, _c, _d;
|
|
217024
217024
|
const { output = {
|
|
217025
217025
|
path: "hooks",
|
|
@@ -217192,7 +217192,7 @@ function trimExtName(text) {
|
|
|
217192
217192
|
return text.replace(/\.[^/.]+$/, "");
|
|
217193
217193
|
}
|
|
217194
217194
|
const pluginRedocName = "plugin-redoc";
|
|
217195
|
-
const pluginRedoc =
|
|
217195
|
+
const pluginRedoc = createPlugin((options) => {
|
|
217196
217196
|
const { output = { path: "docs.html" } } = options;
|
|
217197
217197
|
return {
|
|
217198
217198
|
name: pluginRedocName,
|
|
@@ -218242,7 +218242,7 @@ const queryGenerator$3 = createReactGenerator({
|
|
|
218242
218242
|
});
|
|
218243
218243
|
|
|
218244
218244
|
const pluginSolidQueryName = "plugin-solid-query";
|
|
218245
|
-
const pluginSolidQuery =
|
|
218245
|
+
const pluginSolidQuery = createPlugin((options) => {
|
|
218246
218246
|
var _a, _b, _c, _d;
|
|
218247
218247
|
const { output = {
|
|
218248
218248
|
path: "hooks",
|
|
@@ -219392,7 +219392,7 @@ const queryGenerator$2 = createReactGenerator({
|
|
|
219392
219392
|
});
|
|
219393
219393
|
|
|
219394
219394
|
const pluginSvelteQueryName = "plugin-svelte-query";
|
|
219395
|
-
const pluginSvelteQuery =
|
|
219395
|
+
const pluginSvelteQuery = createPlugin((options) => {
|
|
219396
219396
|
var _a, _b, _c, _d;
|
|
219397
219397
|
const { output = {
|
|
219398
219398
|
path: "hooks",
|
|
@@ -220565,7 +220565,7 @@ const queryGenerator$1 = createReactGenerator({
|
|
|
220565
220565
|
});
|
|
220566
220566
|
|
|
220567
220567
|
const pluginSwrName = "plugin-swr";
|
|
220568
|
-
const pluginSwr =
|
|
220568
|
+
const pluginSwr = createPlugin((options) => {
|
|
220569
220569
|
var _a, _b, _c, _d;
|
|
220570
220570
|
const { output = {
|
|
220571
220571
|
path: "hooks",
|
|
@@ -222314,7 +222314,7 @@ const queryGenerator = createReactGenerator({
|
|
|
222314
222314
|
});
|
|
222315
222315
|
|
|
222316
222316
|
const pluginVueQueryName = "plugin-vue-query";
|
|
222317
|
-
const pluginVueQuery =
|
|
222317
|
+
const pluginVueQuery = createPlugin((options) => {
|
|
222318
222318
|
var _a, _b, _c, _d;
|
|
222319
222319
|
const { output = {
|
|
222320
222320
|
path: "hooks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.5/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../../internals/utils/dist/index.js","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../ast/dist/index.js","../../../../../core/dist/index.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk--u3MIqq1.js","../../../../../plugin-oas/dist/getFooter-Pw3tLCiV.js","../../../../../plugin-oas/dist/SchemaMapper-CqMkO2T1.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-gV_d8sCu.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-CCn9g9eF.js","../../../../../plugin-oas/dist/generators-BjsINk-u.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-eECfXVou.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-CRu8IKY3.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-DVhVzwDg.js","../../../../../plugin-zod/dist/generators-lTWPS6oN.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-BYUJaeZP.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-BK_6GU4v.js","../../../../../plugin-cypress/dist/generators-B3FWG2Ck.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-BkBIov4R.js","../../../../../plugin-faker/dist/fakerGenerator-M5oCrPmy.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-KWLMg0Lm.js","../../../../../plugin-mcp/dist/generators-TtEOkDB1.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-DgtTZkWX.js","../../../../../plugin-msw/dist/generators-CvyZTxOm.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-CpyHYGOw.js","../../../../../plugin-react-query/dist/generators-DkQwKTc2.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-BhStIi1M.js","../../../../../plugin-solid-query/dist/generators-BT0sdmbO.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-DntKBsnB.js","../../../../../plugin-svelte-query/dist/generators-TJp_N4gT.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-DRDGvgXG.js","../../../../../plugin-swr/dist/generators-CRSl6u2M.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-_AMBl0g-.js","../../../../../plugin-vue-query/dist/generators-CR34GjVu.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","_emitter","_a","toError","AsyncEventEmitter","__privateAdd","__privateGet","formatMs","parseHex","hex","process","toCamelOrPascal","applyToFileParts","camelCase","isValidVarName","applyParamsCasing","path","readFile","writeFile","URLPath","_b","_URLPath_instances","__publicField","_options","__privateSet","__privateMethod","transformParam_fn","eachParam_fn","Node","Queue","_head","_tail","_size","__privateWrapper","pLimit","validateConcurrency","resolve","extname","x","performance","build","readdir","version","_c","_d","_e","_f","_g","os","item","trimExtName","error","__defProp","__name","pascalCase","isPlainObject","parse","loadConfig","schema","params","_context","trimQuotes","schemas","normalizedSchema","name","min","max","getParams$1","getParams","Operations","validate","oas","options","jsStringEscape","toRegExpString","Type","siblings","require","global","modifiers","questionToken","propertyName","applyParamsCasing$1","node","barrelFiles","operationsGenerator","source","Function","baseURL","source$2","Response","getNestedAccessor","getTransformer$1","MutationKey","getParams$9","getTransformer","QueryKey","getParams$8","QueryOptions","getParams$7","InfiniteQuery","getParams$6","InfiniteQueryOptions","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","fs","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,55,108,109,110,111]}
|
|
1
|
+
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.5/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.9.3/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../../internals/utils/dist/index.js","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../ast/dist/index.js","../../../../../core/dist/index.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk--u3MIqq1.js","../../../../../plugin-oas/dist/getFooter-Pw3tLCiV.js","../../../../../plugin-oas/dist/SchemaMapper-CqMkO2T1.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-gV_d8sCu.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-CCn9g9eF.js","../../../../../plugin-oas/dist/generators-BjsINk-u.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-eECfXVou.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-CRu8IKY3.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-D5NGPj0v.js","../../../../../plugin-zod/dist/generators-lTWPS6oN.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-BYUJaeZP.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-BK_6GU4v.js","../../../../../plugin-cypress/dist/generators-B3FWG2Ck.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-BkBIov4R.js","../../../../../plugin-faker/dist/fakerGenerator-M5oCrPmy.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-KWLMg0Lm.js","../../../../../plugin-mcp/dist/generators-TtEOkDB1.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-DgtTZkWX.js","../../../../../plugin-msw/dist/generators-CvyZTxOm.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-CpyHYGOw.js","../../../../../plugin-react-query/dist/generators-DkQwKTc2.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-BhStIi1M.js","../../../../../plugin-solid-query/dist/generators-BT0sdmbO.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-DntKBsnB.js","../../../../../plugin-svelte-query/dist/generators-TJp_N4gT.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-DRDGvgXG.js","../../../../../plugin-swr/dist/generators-CRSl6u2M.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-_AMBl0g-.js","../../../../../plugin-vue-query/dist/generators-CR34GjVu.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.9/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","createStorage","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","_emitter","_a","toError","AsyncEventEmitter","__privateAdd","__privateGet","formatMs","parseHex","hex","process","toCamelOrPascal","applyToFileParts","camelCase","isValidVarName","applyParamsCasing","path","readFile","writeFile","URLPath","_b","_URLPath_instances","__publicField","_options","__privateSet","__privateMethod","transformParam_fn","eachParam_fn","Node","Queue","_head","_tail","_size","__privateWrapper","pLimit","validateConcurrency","resolve","extname","x","performance","build","readdir","version","_c","_d","_e","_f","_g","createGenerator","os","item","trimExtName","error","__defProp","__name","pascalCase","isPlainObject","parse","loadConfig","schema","params","_context","trimQuotes","schemas","normalizedSchema","name","min","max","getParams$1","getParams","Operations","validate","oas","options","jsStringEscape","toRegExpString","Type","siblings","require","global","modifiers","questionToken","propertyName","applyParamsCasing$1","node","barrelFiles","operationsGenerator","source","Function","baseURL","source$2","Response","getNestedAccessor","getTransformer$1","MutationKey","getParams$9","getTransformer","QueryKey","getParams$8","QueryOptions","getParams$7","InfiniteQuery","getParams$6","InfiniteQueryOptions","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","fs","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,55,108,109,110,111]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.8",
|
|
4
4
|
"description": "Agent server for Kubb, enabling HTTP-based access to code generation capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"tinyexec": "^1.0.4",
|
|
41
41
|
"unstorage": "^1.17.4",
|
|
42
42
|
"ws": "^8.19.0",
|
|
43
|
-
"@kubb/core": "5.0.0-alpha.
|
|
44
|
-
"@kubb/plugin-client": "5.0.0-alpha.
|
|
45
|
-
"@kubb/plugin-cypress": "5.0.0-alpha.
|
|
46
|
-
"@kubb/plugin-faker": "5.0.0-alpha.
|
|
47
|
-
"@kubb/plugin-mcp": "5.0.0-alpha.
|
|
48
|
-
"@kubb/plugin-msw": "5.0.0-alpha.
|
|
49
|
-
"@kubb/plugin-oas": "5.0.0-alpha.
|
|
50
|
-
"@kubb/plugin-react-query": "5.0.0-alpha.
|
|
51
|
-
"@kubb/plugin-redoc": "5.0.0-alpha.
|
|
52
|
-
"@kubb/plugin-solid-query": "5.0.0-alpha.
|
|
53
|
-
"@kubb/plugin-svelte-query": "5.0.0-alpha.
|
|
54
|
-
"@kubb/plugin-swr": "5.0.0-alpha.
|
|
55
|
-
"@kubb/plugin-ts": "5.0.0-alpha.
|
|
56
|
-
"@kubb/plugin-vue-query": "5.0.0-alpha.
|
|
57
|
-
"@kubb/plugin-zod": "5.0.0-alpha.
|
|
43
|
+
"@kubb/core": "5.0.0-alpha.8",
|
|
44
|
+
"@kubb/plugin-client": "5.0.0-alpha.8",
|
|
45
|
+
"@kubb/plugin-cypress": "5.0.0-alpha.8",
|
|
46
|
+
"@kubb/plugin-faker": "5.0.0-alpha.8",
|
|
47
|
+
"@kubb/plugin-mcp": "5.0.0-alpha.8",
|
|
48
|
+
"@kubb/plugin-msw": "5.0.0-alpha.8",
|
|
49
|
+
"@kubb/plugin-oas": "5.0.0-alpha.8",
|
|
50
|
+
"@kubb/plugin-react-query": "5.0.0-alpha.8",
|
|
51
|
+
"@kubb/plugin-redoc": "5.0.0-alpha.8",
|
|
52
|
+
"@kubb/plugin-solid-query": "5.0.0-alpha.8",
|
|
53
|
+
"@kubb/plugin-svelte-query": "5.0.0-alpha.8",
|
|
54
|
+
"@kubb/plugin-swr": "5.0.0-alpha.8",
|
|
55
|
+
"@kubb/plugin-ts": "5.0.0-alpha.8",
|
|
56
|
+
"@kubb/plugin-vue-query": "5.0.0-alpha.8",
|
|
57
|
+
"@kubb/plugin-zod": "5.0.0-alpha.8"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/ws": "^8.18.1",
|