@kubb/agent 4.29.0 → 4.29.1
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
|
@@ -9,7 +9,7 @@ import { Buffer as Buffer$1 } from 'node:buffer';
|
|
|
9
9
|
import fs$1, { promises, existsSync, readFileSync, writeFileSync } from 'node:fs';
|
|
10
10
|
import path$2, { resolve, dirname, relative, join, normalize } from 'node:path';
|
|
11
11
|
import anymatch from 'anymatch';
|
|
12
|
-
import { createHash
|
|
12
|
+
import { createHash } from 'node:crypto';
|
|
13
13
|
import process$1, { version as version$2 } from 'node:process';
|
|
14
14
|
import { sortBy, mergeDeep, isPlainObject as isPlainObject$1, uniqueWith, isDeepEqual, isNumber, isFunction, difference } from 'remeda';
|
|
15
15
|
import { x } from 'tinyexec';
|
|
@@ -5903,15 +5903,12 @@ function isSessionValid(session) {
|
|
|
5903
5903
|
}
|
|
5904
5904
|
}
|
|
5905
5905
|
|
|
5906
|
-
function
|
|
5907
|
-
return
|
|
5908
|
-
}
|
|
5909
|
-
function generateSecureToken(id = generateToken()) {
|
|
5910
|
-
return createHash("sha256").update(id).digest("hex");
|
|
5906
|
+
function hashToken(input) {
|
|
5907
|
+
return createHash("sha256").update(input).digest("hex");
|
|
5911
5908
|
}
|
|
5912
5909
|
function generateMachineToken() {
|
|
5913
|
-
if (process.env.
|
|
5914
|
-
return
|
|
5910
|
+
if (process.env.KUBB_STUDIO_SECRET) {
|
|
5911
|
+
return hashToken(process.env.KUBB_STUDIO_SECRET);
|
|
5915
5912
|
}
|
|
5916
5913
|
const interfaces = os$1.networkInterfaces();
|
|
5917
5914
|
const macs = [];
|
|
@@ -5922,9 +5919,7 @@ function generateMachineToken() {
|
|
|
5922
5919
|
}
|
|
5923
5920
|
}
|
|
5924
5921
|
}
|
|
5925
|
-
|
|
5926
|
-
const rawId = macs.join(",") + hostname;
|
|
5927
|
-
return generateSecureToken(rawId);
|
|
5922
|
+
return hashToken(macs.join(",") + os$1.hostname());
|
|
5928
5923
|
}
|
|
5929
5924
|
|
|
5930
5925
|
async function createAgentSession({ token, studioUrl, noCache }) {
|
|
@@ -6032,7 +6027,7 @@ var BaseGenerator = (_a$3 = class {
|
|
|
6032
6027
|
function isInputPath(config) {
|
|
6033
6028
|
return typeof (config == null ? void 0 : config.input) === "object" && config.input !== null && "path" in config.input;
|
|
6034
6029
|
}
|
|
6035
|
-
var version$1 = "4.29.
|
|
6030
|
+
var version$1 = "4.29.1";
|
|
6036
6031
|
function getDiagnosticInfo() {
|
|
6037
6032
|
return {
|
|
6038
6033
|
nodeVersion: version$2,
|
|
@@ -12239,7 +12234,7 @@ parseSchemaObject_fn = function({ schema: _schemaObject, name, parentName, rootN
|
|
|
12239
12234
|
}
|
|
12240
12235
|
if (schemaObject.format) {
|
|
12241
12236
|
if (schemaObject.type === "integer" && schemaObject.format === "int64") {
|
|
12242
|
-
baseItems.unshift({ keyword: options.integerType === "
|
|
12237
|
+
baseItems.unshift({ keyword: options.integerType === "bigint" ? schemaKeywords.bigint : schemaKeywords.integer });
|
|
12243
12238
|
return baseItems;
|
|
12244
12239
|
}
|
|
12245
12240
|
if (schemaObject.type === "integer" && schemaObject.format === "int32") {
|
|
@@ -213216,7 +213211,7 @@ const pluginTs = definePlugin((options) => {
|
|
|
213216
213211
|
const { output = {
|
|
213217
213212
|
path: "types",
|
|
213218
213213
|
barrelType: "named"
|
|
213219
|
-
}, group, exclude = [], include, override = [], enumType = "asConst", enumKeyCasing = "none", enumSuffix = "enum", dateType = "string", integerType = "
|
|
213214
|
+
}, group, exclude = [], include, override = [], enumType = "asConst", enumKeyCasing = "none", enumSuffix = "enum", dateType = "string", integerType = "number", unknownType = "any", optionalType = "questionToken", arrayType = "array", emptySchemaType = unknownType, syntaxType = "type", transformers: transformers2 = {}, mapper = {}, paramsCasing, generators = [typeGenerator].filter(Boolean), contentType, UNSTABLE_NAMING } = options;
|
|
213220
213215
|
return {
|
|
213221
213216
|
name: pluginTsName,
|
|
213222
213217
|
options: {
|
|
@@ -213576,7 +213571,7 @@ const pluginZod = definePlugin((options) => {
|
|
|
213576
213571
|
const { output = {
|
|
213577
213572
|
path: "zod",
|
|
213578
213573
|
barrelType: "named"
|
|
213579
|
-
}, group, exclude = [], include, override = [], transformers = {}, dateType = "string", unknownType = "any", emptySchemaType = unknownType, typed = false, mapper = {}, operations = false, mini = false, version = mini ? "4" : new PackageManager().isValidSync("zod", ">=4") ? "4" : "3", guidType = "uuid", importPath = mini ? "zod/mini" : version === "4" ? "zod/v4" : "zod", coercion = false, inferred = false, generators = [zodGenerator, operations ? operationsGenerator$1 : void 0].filter(Boolean), wrapOutput = void 0, contentType } = options;
|
|
213574
|
+
}, group, exclude = [], include, override = [], transformers = {}, dateType = "string", unknownType = "any", emptySchemaType = unknownType, integerType = "number", typed = false, mapper = {}, operations = false, mini = false, version = mini ? "4" : new PackageManager().isValidSync("zod", ">=4") ? "4" : "3", guidType = "uuid", importPath = mini ? "zod/mini" : version === "4" ? "zod/v4" : "zod", coercion = false, inferred = false, generators = [zodGenerator, operations ? operationsGenerator$1 : void 0].filter(Boolean), wrapOutput = void 0, contentType } = options;
|
|
213580
213575
|
return {
|
|
213581
213576
|
name: pluginZodName,
|
|
213582
213577
|
options: {
|
|
@@ -213589,6 +213584,7 @@ const pluginZod = definePlugin((options) => {
|
|
|
213589
213584
|
dateType,
|
|
213590
213585
|
unknownType,
|
|
213591
213586
|
emptySchemaType,
|
|
213587
|
+
integerType,
|
|
213592
213588
|
mapper,
|
|
213593
213589
|
importPath,
|
|
213594
213590
|
coercion,
|
|
@@ -215192,7 +215188,7 @@ const pluginFaker = definePlugin((options) => {
|
|
|
215192
215188
|
const { output = {
|
|
215193
215189
|
path: "mocks",
|
|
215194
215190
|
barrelType: "named"
|
|
215195
|
-
}, seed, group, exclude = [], include, override = [], transformers = {}, mapper = {}, unknownType = "any", emptySchemaType = unknownType, dateType = "string", dateParser = "faker", generators = [fakerGenerator].filter(Boolean), regexGenerator = "faker", paramsCasing, contentType } = options;
|
|
215191
|
+
}, seed, group, exclude = [], include, override = [], transformers = {}, mapper = {}, unknownType = "any", emptySchemaType = unknownType, dateType = "string", integerType = "number", dateParser = "faker", generators = [fakerGenerator].filter(Boolean), regexGenerator = "faker", paramsCasing, contentType } = options;
|
|
215196
215192
|
return {
|
|
215197
215193
|
name: pluginFakerName,
|
|
215198
215194
|
options: {
|
|
@@ -215200,6 +215196,7 @@ const pluginFaker = definePlugin((options) => {
|
|
|
215200
215196
|
transformers,
|
|
215201
215197
|
seed,
|
|
215202
215198
|
dateType,
|
|
215199
|
+
integerType,
|
|
215203
215200
|
unknownType,
|
|
215204
215201
|
emptySchemaType,
|
|
215205
215202
|
dateParser,
|
|
@@ -223838,7 +223835,7 @@ function setupEventsStream(ws, events) {
|
|
|
223838
223835
|
});
|
|
223839
223836
|
}
|
|
223840
223837
|
|
|
223841
|
-
var version = "4.29.
|
|
223838
|
+
var version = "4.29.1";
|
|
223842
223839
|
|
|
223843
223840
|
const _zcw7I4pYH8OiCfaDcjy_x7I6IH1tLDQR3W_yRZgP6E = defineNitroPlugin(async (nitro) => {
|
|
223844
223841
|
const studioUrl = process$1.env.KUBB_STUDIO_URL || "https://studio.kubb.dev";
|
|
@@ -223869,36 +223866,6 @@ const _zcw7I4pYH8OiCfaDcjy_x7I6IH1tLDQR3W_yRZgP6E = defineNitroPlugin(async (nit
|
|
|
223869
223866
|
Authorization: `Bearer ${token}`
|
|
223870
223867
|
}
|
|
223871
223868
|
};
|
|
223872
|
-
events.on("hook:start", async ({ id, command, args }) => {
|
|
223873
|
-
const commandWithArgs = (args == null ? void 0 : args.length) ? `${command} ${args.join(" ")}` : command;
|
|
223874
|
-
if (!id) {
|
|
223875
|
-
return;
|
|
223876
|
-
}
|
|
223877
|
-
try {
|
|
223878
|
-
const result = await x(command, [...args != null ? args : []], {
|
|
223879
|
-
nodeOptions: { cwd: root, detached: true },
|
|
223880
|
-
throwOnError: true
|
|
223881
|
-
});
|
|
223882
|
-
console.log(result.stdout.trimEnd());
|
|
223883
|
-
await events.emit("hook:end", {
|
|
223884
|
-
command,
|
|
223885
|
-
args,
|
|
223886
|
-
id,
|
|
223887
|
-
success: true,
|
|
223888
|
-
error: null
|
|
223889
|
-
});
|
|
223890
|
-
} catch (_err) {
|
|
223891
|
-
const errorMessage = new Error(`Hook execute failed: ${commandWithArgs}`);
|
|
223892
|
-
await events.emit("hook:end", {
|
|
223893
|
-
command,
|
|
223894
|
-
args,
|
|
223895
|
-
id,
|
|
223896
|
-
success: false,
|
|
223897
|
-
error: errorMessage
|
|
223898
|
-
});
|
|
223899
|
-
await events.emit("error", errorMessage);
|
|
223900
|
-
}
|
|
223901
|
-
});
|
|
223902
223869
|
async function reconnectToStudio() {
|
|
223903
223870
|
logger.info(`Retrying connection in ${formatMs(retryInterval)} to Kubb Studio ...`);
|
|
223904
223871
|
setTimeout(async () => {
|
|
@@ -223907,6 +223874,37 @@ const _zcw7I4pYH8OiCfaDcjy_x7I6IH1tLDQR3W_yRZgP6E = defineNitroPlugin(async (nit
|
|
|
223907
223874
|
}
|
|
223908
223875
|
async function connectToStudio() {
|
|
223909
223876
|
try {
|
|
223877
|
+
events.removeAll();
|
|
223878
|
+
events.on("hook:start", async ({ id, command, args }) => {
|
|
223879
|
+
const commandWithArgs = (args == null ? void 0 : args.length) ? `${command} ${args.join(" ")}` : command;
|
|
223880
|
+
if (!id) {
|
|
223881
|
+
return;
|
|
223882
|
+
}
|
|
223883
|
+
try {
|
|
223884
|
+
const result = await x(command, [...args != null ? args : []], {
|
|
223885
|
+
nodeOptions: { cwd: root, detached: true },
|
|
223886
|
+
throwOnError: true
|
|
223887
|
+
});
|
|
223888
|
+
console.log(result.stdout.trimEnd());
|
|
223889
|
+
await events.emit("hook:end", {
|
|
223890
|
+
command,
|
|
223891
|
+
args,
|
|
223892
|
+
id,
|
|
223893
|
+
success: true,
|
|
223894
|
+
error: null
|
|
223895
|
+
});
|
|
223896
|
+
} catch (_err) {
|
|
223897
|
+
const errorMessage = new Error(`Hook execute failed: ${commandWithArgs}`);
|
|
223898
|
+
await events.emit("hook:end", {
|
|
223899
|
+
command,
|
|
223900
|
+
args,
|
|
223901
|
+
id,
|
|
223902
|
+
success: false,
|
|
223903
|
+
error: errorMessage
|
|
223904
|
+
});
|
|
223905
|
+
await events.emit("error", errorMessage);
|
|
223906
|
+
}
|
|
223907
|
+
});
|
|
223910
223908
|
const { sessionToken, wsUrl, isSandbox } = await createAgentSession({
|
|
223911
223909
|
noCache,
|
|
223912
223910
|
token,
|
|
@@ -223937,9 +223935,9 @@ const _zcw7I4pYH8OiCfaDcjy_x7I6IH1tLDQR3W_yRZgP6E = defineNitroPlugin(async (nit
|
|
|
223937
223935
|
studioUrl,
|
|
223938
223936
|
token
|
|
223939
223937
|
}).catch(async () => {
|
|
223940
|
-
await storage.removeItem(getSessionKey(token));
|
|
223941
|
-
await reconnectToStudio();
|
|
223942
223938
|
});
|
|
223939
|
+
await storage.removeItem(getSessionKey(token));
|
|
223940
|
+
await reconnectToStudio();
|
|
223943
223941
|
}
|
|
223944
223942
|
};
|
|
223945
223943
|
const cleanup = () => {
|
|
@@ -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.5/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.5/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.5/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.5/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.5/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.5/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.5/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.5/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.5/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.5/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.5/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../core/dist/write-DiGboRXI.js","../../../../../core/dist/toRegExp-DdJ1Kgbf.js","../../../../../core/dist/getBarrelFiles-BBDOJ2lV.js","../../../../../core/dist/utils.js","../../../../server/types/agent.ts","../../../../server/utils/getSessionKey.ts","../../../../server/utils/isSessionValid.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../core/dist/index.js","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../../plugin-client/dist/chunk-DKWOrOAv.js","../../../../../plugin-oas/dist/SchemaMapper-eQhTeFim.js","../../../../../core/dist/transformers.js","../../../../../oas/dist/chunk-Dxrv8gPv.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-
|
|
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.5/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.5/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.5/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.5/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.5/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.5/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.5/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.5/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.5/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.5/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.5/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../core/dist/write-DiGboRXI.js","../../../../../core/dist/toRegExp-DdJ1Kgbf.js","../../../../../core/dist/getBarrelFiles-BBDOJ2lV.js","../../../../../core/dist/utils.js","../../../../server/types/agent.ts","../../../../server/utils/getSessionKey.ts","../../../../server/utils/isSessionValid.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../core/dist/index.js","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../../plugin-client/dist/chunk-DKWOrOAv.js","../../../../../plugin-oas/dist/SchemaMapper-eQhTeFim.js","../../../../../core/dist/transformers.js","../../../../../oas/dist/chunk-Dxrv8gPv.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-BB837wKB.js","../../../../../plugin-oas/dist/getFooter-_DD1dfMI.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-DGIMTS_f.js","../../../../../plugin-oas/dist/jsonGenerator-Df2dxdof.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/Zod-GzH2I46C.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/Type-BoBgmIn8.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-DxNrETHn.js","../../../../../plugin-zod/dist/zodGenerator-DomjELrZ.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/staticClassClientGenerator-BUGBMkNO.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/Request-DOzOQGgb.js","../../../../../plugin-cypress/dist/cypressGenerator-D7trA-II.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/Faker-DNAO-21W.js","../../../../../plugin-faker/dist/fakerGenerator-1hLpeTbP.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-D3kNei96.js","../../../../../plugin-mcp/dist/serverGenerator-DfxZTxke.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/Response-rq32ZXGn.js","../../../../../plugin-msw/dist/mswGenerator-Tg2NjhsD.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk-DKWOrOAv.js","../../../../../plugin-react-query/dist/SuspenseQuery-BFn3x1kP.js","../../../../../plugin-react-query/dist/suspenseQueryGenerator-BjEGcQcE.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk-DKWOrOAv.js","../../../../../plugin-solid-query/dist/Query-BhN2yEs9.js","../../../../../plugin-solid-query/dist/queryGenerator-DUGiYuBy.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk-DKWOrOAv.js","../../../../../plugin-svelte-query/dist/Query-DFUKLByK.js","../../../../../plugin-svelte-query/dist/queryGenerator-C775F9UI.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk-DKWOrOAv.js","../../../../../plugin-swr/dist/Query-DDIFmxNc.js","../../../../../plugin-swr/dist/queryGenerator-CEsWWhOe.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk-DKWOrOAv.js","../../../../../plugin-vue-query/dist/Query-4nkhGb9c.js","../../../../../plugin-vue-query/dist/queryGenerator-gk8pNl_4.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/studioConfig.ts","../../../../server/utils/ws.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.5/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.5/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.5/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.5/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","readFile","writeFile","value","_head","_tail","_size","_a","_options","_b","Node","__publicField","Queue","__privateAdd","__privateGet","__privateSet","__privateWrapper","pLimit","validateConcurrency","path","__privateMethod","performance","_c","_d","_e","_f","item","trimExtName","os","version","build","error","process","__defProp","__name","v","d","b","__assign","o","exports","Kind","YAMLException","string","ScalarType","Comments","isPlainObject","parse","schema","schemas","transformers","normalizedSchema","name","min","max","getParams$1","Function","getParams","Operations","validate","oas","options","Type","siblings","require","global","modifiers","questionToken","propertyName","operationsGenerator","source","baseURL","source$2","Response","getTransformer$1","QueryKey","getParams$9","QueryOptions","getParams$8","InfiniteQuery","getParams$7","InfiniteQueryOptions","getParams$6","getTransformer","MutationKey","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","fs","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","params","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,58,108,109,110,111]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent",
|
|
3
|
-
"version": "4.29.
|
|
3
|
+
"version": "4.29.1",
|
|
4
4
|
"description": "Agent server for Kubb, enabling HTTP-based access to code generation capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
"jiti": "2.5.1",
|
|
36
36
|
"tinyexec": "^1.0.2",
|
|
37
37
|
"ws": "^8.19.0",
|
|
38
|
-
"@kubb/core": "4.29.
|
|
39
|
-
"@kubb/plugin-client": "4.29.
|
|
40
|
-
"@kubb/plugin-cypress": "4.29.
|
|
41
|
-
"@kubb/plugin-faker": "4.29.
|
|
42
|
-
"@kubb/plugin-mcp": "4.29.
|
|
43
|
-
"@kubb/plugin-msw": "4.29.
|
|
44
|
-
"@kubb/plugin-oas": "4.29.
|
|
45
|
-
"@kubb/plugin-react-query": "4.29.
|
|
46
|
-
"@kubb/plugin-redoc": "4.29.
|
|
47
|
-
"@kubb/plugin-solid-query": "4.29.
|
|
48
|
-
"@kubb/plugin-svelte-query": "4.29.
|
|
49
|
-
"@kubb/plugin-swr": "4.29.
|
|
50
|
-
"@kubb/plugin-ts": "4.29.
|
|
51
|
-
"@kubb/plugin-vue-query": "4.29.
|
|
52
|
-
"@kubb/plugin-zod": "4.29.
|
|
38
|
+
"@kubb/core": "4.29.1",
|
|
39
|
+
"@kubb/plugin-client": "4.29.1",
|
|
40
|
+
"@kubb/plugin-cypress": "4.29.1",
|
|
41
|
+
"@kubb/plugin-faker": "4.29.1",
|
|
42
|
+
"@kubb/plugin-mcp": "4.29.1",
|
|
43
|
+
"@kubb/plugin-msw": "4.29.1",
|
|
44
|
+
"@kubb/plugin-oas": "4.29.1",
|
|
45
|
+
"@kubb/plugin-react-query": "4.29.1",
|
|
46
|
+
"@kubb/plugin-redoc": "4.29.1",
|
|
47
|
+
"@kubb/plugin-solid-query": "4.29.1",
|
|
48
|
+
"@kubb/plugin-svelte-query": "4.29.1",
|
|
49
|
+
"@kubb/plugin-swr": "4.29.1",
|
|
50
|
+
"@kubb/plugin-ts": "4.29.1",
|
|
51
|
+
"@kubb/plugin-vue-query": "4.29.1",
|
|
52
|
+
"@kubb/plugin-zod": "4.29.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/ws": "^8.18.1",
|