@kubb/agent 4.28.0 → 4.28.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
|
@@ -6156,7 +6156,7 @@ var BaseGenerator = (_a$3 = class {
|
|
|
6156
6156
|
function isInputPath(config) {
|
|
6157
6157
|
return typeof (config == null ? void 0 : config.input) === "object" && config.input !== null && "path" in config.input;
|
|
6158
6158
|
}
|
|
6159
|
-
var version$1 = "4.28.
|
|
6159
|
+
var version$1 = "4.28.1";
|
|
6160
6160
|
function getDiagnosticInfo() {
|
|
6161
6161
|
return {
|
|
6162
6162
|
nodeVersion: version$2,
|
|
@@ -12496,6 +12496,10 @@ parseSchemaObject_fn = function({ schema: _schemaObject, name, parentName, rootN
|
|
|
12496
12496
|
}
|
|
12497
12497
|
}, ...baseItems];
|
|
12498
12498
|
}
|
|
12499
|
+
if (schemaObject.type === "string" && schemaObject.contentMediaType === "application/octet-stream") {
|
|
12500
|
+
baseItems.unshift({ keyword: schemaKeywords.blob });
|
|
12501
|
+
return baseItems;
|
|
12502
|
+
}
|
|
12499
12503
|
if (schemaObject.format) {
|
|
12500
12504
|
if (schemaObject.type === "integer" && schemaObject.format === "int64") {
|
|
12501
12505
|
baseItems.unshift({ keyword: options.integerType === "number" ? schemaKeywords.integer : schemaKeywords.bigint });
|
|
@@ -224097,7 +224101,7 @@ function setupEventsStream(ws, events) {
|
|
|
224097
224101
|
});
|
|
224098
224102
|
}
|
|
224099
224103
|
|
|
224100
|
-
var version = "4.28.
|
|
224104
|
+
var version = "4.28.1";
|
|
224101
224105
|
|
|
224102
224106
|
const _zcw7I4pYH8OiCfaDcjy_x7I6IH1tLDQR3W_yRZgP6E = defineNitroPlugin(async (nitro) => {
|
|
224103
224107
|
const studioUrl = process$1.env.KUBB_STUDIO_URL || "https://studio.kubb.dev";
|
|
@@ -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.1/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.1/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/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.1/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.1/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/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.1/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../core/dist/chunk-iVr_oF3V.js","../../../../../core/dist/fs-Parec-wn.js","../../../../../core/dist/transformers-8ju9ixkG.js","../../../../../core/dist/getBarrelFiles-gRyVPFBP.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-Cd3iupn7.js","../../../../../plugin-oas/dist/SchemaMapper-Bq_JVBfF.js","../../../../../oas/dist/chunk-BdfDOGov.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.1/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.1/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/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.1/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.1/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/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.1/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../core/dist/chunk-iVr_oF3V.js","../../../../../core/dist/fs-Parec-wn.js","../../../../../core/dist/transformers-8ju9ixkG.js","../../../../../core/dist/getBarrelFiles-gRyVPFBP.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-Cd3iupn7.js","../../../../../plugin-oas/dist/SchemaMapper-Bq_JVBfF.js","../../../../../oas/dist/chunk-BdfDOGov.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-C0kGxql5.js","../../../../../plugin-oas/dist/getFooter-flVUU6wg.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-uqlvmwoJ.js","../../../../../plugin-oas/dist/generators-C86kmpzf.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-DJvhXrHc.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-L5LzwAP7.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-CEOKHgBY.js","../../../../../plugin-zod/dist/generators-CcTPAM8G.js","../../../../../plugin-zod/dist/ToZod.source-B0uyS5aq.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-C3iBxAkk.js","../../../../../plugin-client/dist/axios.source-CDcg9aL-.js","../../../../../plugin-client/dist/fetch.source-DkBhuGC1.js","../../../../../plugin-client/dist/config.source-VWEtFolK.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-BlvQKb3f.js","../../../../../plugin-cypress/dist/generators-BMwRo8o2.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-nXhowywN.js","../../../../../plugin-faker/dist/fakerGenerator-Dn1bSdX2.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-CI0jUJHC.js","../../../../../plugin-mcp/dist/generators-stveWfzc.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-r7XTqwE7.js","../../../../../plugin-msw/dist/generators-CKxCewx3.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk-eQyhnF5A.js","../../../../../plugin-react-query/dist/components-DcRvg3r2.js","../../../../../plugin-react-query/dist/generators-D9wuuYX2.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk-eQyhnF5A.js","../../../../../plugin-solid-query/dist/components-DoLcWp4p.js","../../../../../plugin-solid-query/dist/generators-DRR19Vs8.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk-eQyhnF5A.js","../../../../../plugin-svelte-query/dist/components-D4pnmo3U.js","../../../../../plugin-svelte-query/dist/generators-CRv2JC_a.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk-eQyhnF5A.js","../../../../../plugin-swr/dist/components-DMM0j8AI.js","../../../../../plugin-swr/dist/generators-DoEN_HsS.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk-eQyhnF5A.js","../../../../../plugin-vue-query/dist/components-BU-Odm8Y.js","../../../../../plugin-vue-query/dist/generators-C1k1sfKK.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.1/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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.1/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.1/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","__defProp","__name","fs","merge","_head","_tail","_size","_a","_options","_b","Node","__publicField","Queue","__privateAdd","__privateGet","__privateSet","__privateWrapper","pLimit","validateConcurrency","path","__privateMethod","performance","_c","_d","_e","_f","trimExtName","os","version","error","process","exports","Kind","YAMLException","ScalarType","Comments","isPlainObject","parse","transformers","getParams$1","Function","getParams","Operations","Type","require","global","operationsGenerator","source","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","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","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.28.
|
|
3
|
+
"version": "4.28.1",
|
|
4
4
|
"description": "Agent server for Kubb, enabling HTTP-based access to code generation capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -37,21 +37,21 @@
|
|
|
37
37
|
"picocolors": "^1.1.1",
|
|
38
38
|
"string-argv": "^0.3.2",
|
|
39
39
|
"ws": "^8.19.0",
|
|
40
|
-
"@kubb/core": "4.28.
|
|
41
|
-
"@kubb/plugin-client": "4.28.
|
|
42
|
-
"@kubb/plugin-cypress": "4.28.
|
|
43
|
-
"@kubb/plugin-faker": "4.28.
|
|
44
|
-
"@kubb/plugin-mcp": "4.28.
|
|
45
|
-
"@kubb/plugin-msw": "4.28.
|
|
46
|
-
"@kubb/plugin-oas": "4.28.
|
|
47
|
-
"@kubb/plugin-react-query": "4.28.
|
|
48
|
-
"@kubb/plugin-redoc": "4.28.
|
|
49
|
-
"@kubb/plugin-solid-query": "4.28.
|
|
50
|
-
"@kubb/plugin-svelte-query": "4.28.
|
|
51
|
-
"@kubb/plugin-swr": "4.28.
|
|
52
|
-
"@kubb/plugin-ts": "4.28.
|
|
53
|
-
"@kubb/plugin-vue-query": "4.28.
|
|
54
|
-
"@kubb/plugin-zod": "4.28.
|
|
40
|
+
"@kubb/core": "4.28.1",
|
|
41
|
+
"@kubb/plugin-client": "4.28.1",
|
|
42
|
+
"@kubb/plugin-cypress": "4.28.1",
|
|
43
|
+
"@kubb/plugin-faker": "4.28.1",
|
|
44
|
+
"@kubb/plugin-mcp": "4.28.1",
|
|
45
|
+
"@kubb/plugin-msw": "4.28.1",
|
|
46
|
+
"@kubb/plugin-oas": "4.28.1",
|
|
47
|
+
"@kubb/plugin-react-query": "4.28.1",
|
|
48
|
+
"@kubb/plugin-redoc": "4.28.1",
|
|
49
|
+
"@kubb/plugin-solid-query": "4.28.1",
|
|
50
|
+
"@kubb/plugin-svelte-query": "4.28.1",
|
|
51
|
+
"@kubb/plugin-swr": "4.28.1",
|
|
52
|
+
"@kubb/plugin-ts": "4.28.1",
|
|
53
|
+
"@kubb/plugin-vue-query": "4.28.1",
|
|
54
|
+
"@kubb/plugin-zod": "4.28.1"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/ws": "^8.18.1",
|