@kubb/agent 4.32.2 → 4.32.4

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "date": "2026-03-06T11:35:18.188Z",
2
+ "date": "2026-03-07T09:03:30.464Z",
3
3
  "preset": "node-server",
4
4
  "framework": {
5
5
  "name": "nitro",
@@ -6035,7 +6035,7 @@ function tokenize(command) {
6035
6035
  return args;
6036
6036
  }
6037
6037
 
6038
- var version = "4.32.2";
6038
+ var version = "4.32.4";
6039
6039
 
6040
6040
  function isCommandMessage(msg) {
6041
6041
  return msg.type === "command";
@@ -6101,7 +6101,7 @@ var BaseGenerator = (_a$3 = class {
6101
6101
  function isInputPath(config) {
6102
6102
  return typeof (config == null ? void 0 : config.input) === "object" && config.input !== null && "path" in config.input;
6103
6103
  }
6104
- var version$1 = "4.32.2";
6104
+ var version$1 = "4.32.4";
6105
6105
  function getDiagnosticInfo() {
6106
6106
  return {
6107
6107
  nodeVersion: version$2,
@@ -213517,6 +213517,7 @@ const zodGenerator = createReactGenerator({
213517
213517
  schemas.request,
213518
213518
  schemas.response
213519
213519
  ].flat().filter(Boolean);
213520
+ const toZodPath = path$2.resolve(config.root, config.output.path, ".kubb/ToZod.ts");
213520
213521
  const mapOperationSchema = ({ name, schema: schemaOriginal, description, keysToOmit: keysToOmitOriginal, ...options2 }) => {
213521
213522
  var _a;
213522
213523
  let schemaObject = schemaOriginal;
@@ -213566,12 +213567,6 @@ const zodGenerator = createReactGenerator({
213566
213567
  path: type.file.path,
213567
213568
  name: [type.name]
213568
213569
  }),
213569
- typed && version === "3" && /* @__PURE__ */ jsx(File.Import, {
213570
- name: ["ToZod"],
213571
- isTypeOnly: true,
213572
- root: file.path,
213573
- path: path$2.resolve(config.root, config.output.path, ".kubb/ToZod.ts")
213574
- }),
213575
213570
  imports.map((imp) => /* @__PURE__ */ jsx(File.Import, {
213576
213571
  root: file.path,
213577
213572
  path: imp.path,
@@ -213613,11 +213608,20 @@ const zodGenerator = createReactGenerator({
213613
213608
  oas,
213614
213609
  output: plugin.options.output
213615
213610
  }),
213616
- children: [/* @__PURE__ */ jsx(File.Import, {
213617
- name: isZodImport ? "z" : ["z"],
213618
- path: plugin.options.importPath,
213619
- isNameSpace: isZodImport
213620
- }), operationSchemas.map(mapOperationSchema)]
213611
+ children: [
213612
+ /* @__PURE__ */ jsx(File.Import, {
213613
+ name: isZodImport ? "z" : ["z"],
213614
+ path: plugin.options.importPath,
213615
+ isNameSpace: isZodImport
213616
+ }),
213617
+ typed && version === "3" && /* @__PURE__ */ jsx(File.Import, {
213618
+ name: ["ToZod"],
213619
+ isTypeOnly: true,
213620
+ root: file.path,
213621
+ path: toZodPath
213622
+ }),
213623
+ operationSchemas.map(mapOperationSchema)
213624
+ ]
213621
213625
  });
213622
213626
  },
213623
213627
  Schema({ config, schema, plugin }) {
@@ -213639,6 +213643,7 @@ const zodGenerator = createReactGenerator({
213639
213643
  file: getFile(schema.name, { pluginKey: [pluginTsName] })
213640
213644
  };
213641
213645
  const isZodImport = importPath === "zod" || importPath === "zod/mini";
213646
+ const toZodPath = path$2.resolve(config.root, config.output.path, ".kubb/ToZod.ts");
213642
213647
  return /* @__PURE__ */ jsxs(File, {
213643
213648
  baseName: zod.file.baseName,
213644
213649
  path: zod.file.path,
@@ -213666,8 +213671,9 @@ const zodGenerator = createReactGenerator({
213666
213671
  }),
213667
213672
  typed && version === "3" && /* @__PURE__ */ jsx(File.Import, {
213668
213673
  name: ["ToZod"],
213674
+ isTypeOnly: true,
213669
213675
  root: zod.file.path,
213670
- path: path$2.resolve(config.root, config.output.path, ".kubb/ToZod.ts")
213676
+ path: toZodPath
213671
213677
  }),
213672
213678
  imports.map((imp) => /* @__PURE__ */ jsx(File.Import, {
213673
213679
  root: zod.file.path,
@@ -216527,14 +216533,14 @@ function InfiniteQuery$1({ name, queryKeyTypeName, queryOptionsName, queryKeyNam
216527
216533
  JSDoc: { comments: getComments(operation) },
216528
216534
  children: `
216529
216535
  const { query: queryConfig = {}, client: config = {} } = options ?? {}
216530
- const { client: queryClient, ...queryOptions } = queryConfig
216531
- const queryKey = queryOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
216536
+ const { client: queryClient, ...resolvedOptions } = queryConfig
216537
+ const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
216532
216538
  ${customOptions ? `const customOptions = ${customOptions.name}({ hookName: '${name}', operationId: '${operation.getOperationId()}' })` : ""}
216533
216539
 
216534
216540
  const query = useInfiniteQuery({
216535
216541
  ...${queryOptions},${customOptions ? "\n...customOptions," : ""}
216542
+ ...resolvedOptions,
216536
216543
  queryKey,
216537
- ...queryOptions
216538
216544
  } as unknown as InfiniteQueryObserverOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>, queryClient) as ${returnType}
216539
216545
 
216540
216546
  query.queryKey = queryKey as TQueryKey
@@ -217068,14 +217074,14 @@ function Query$4({ name, queryKeyTypeName, queryOptionsName, queryKeyName, param
217068
217074
  JSDoc: { comments: getComments(operation) },
217069
217075
  children: `
217070
217076
  const { query: queryConfig = {}, client: config = {} } = options ?? {}
217071
- const { client: queryClient, ...queryOptions } = queryConfig
217072
- const queryKey = queryOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
217077
+ const { client: queryClient, ...resolvedOptions } = queryConfig
217078
+ const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
217073
217079
  ${customOptions ? `const customOptions = ${customOptions.name}({ hookName: '${name}', operationId: '${operation.getOperationId()}' })` : ""}
217074
217080
 
217075
217081
  const query = useQuery({
217076
217082
  ...${queryOptions},${customOptions ? "\n...customOptions," : ""}
217083
+ ...resolvedOptions,
217077
217084
  queryKey,
217078
- ...queryOptions
217079
217085
  } as unknown as QueryObserverOptions, queryClient) as ${returnType}
217080
217086
 
217081
217087
  query.queryKey = queryKey as TQueryKey
@@ -217209,14 +217215,14 @@ function SuspenseInfiniteQuery({ name, queryKeyTypeName, queryOptionsName, query
217209
217215
  JSDoc: { comments: getComments(operation) },
217210
217216
  children: `
217211
217217
  const { query: queryConfig = {}, client: config = {} } = options ?? {}
217212
- const { client: queryClient, ...queryOptions } = queryConfig
217213
- const queryKey = queryOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
217218
+ const { client: queryClient, ...resolvedOptions } = queryConfig
217219
+ const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
217214
217220
  ${customOptions ? `const customOptions = ${customOptions.name}({ hookName: '${name}', operationId: '${operation.getOperationId()}' })` : ""}
217215
217221
 
217216
217222
  const query = useSuspenseInfiniteQuery({
217217
217223
  ...${queryOptions},${customOptions ? "\n...customOptions," : ""}
217224
+ ...resolvedOptions,
217218
217225
  queryKey,
217219
- ...queryOptions
217220
217226
  } as unknown as UseSuspenseInfiniteQueryOptions<TQueryFnData, TError, TData, TQueryKey, TPageParam>, queryClient) as ${returnType}
217221
217227
 
217222
217228
  query.queryKey = queryKey as TQueryKey
@@ -217523,14 +217529,14 @@ function SuspenseQuery({ name, queryKeyTypeName, queryOptionsName, queryKeyName,
217523
217529
  JSDoc: { comments: getComments(operation) },
217524
217530
  children: `
217525
217531
  const { query: queryConfig = {}, client: config = {} } = options ?? {}
217526
- const { client: queryClient, ...queryOptions } = queryConfig
217527
- const queryKey = queryOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
217532
+ const { client: queryClient, ...resolvedOptions } = queryConfig
217533
+ const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
217528
217534
  ${customOptions ? `const customOptions = ${customOptions.name}({ hookName: '${name}', operationId: '${operation.getOperationId()}' })` : ""}
217529
217535
 
217530
217536
  const query = useSuspenseQuery({
217531
217537
  ...${queryOptions},${customOptions ? "\n...customOptions," : ""}
217538
+ ...resolvedOptions,
217532
217539
  queryKey,
217533
- ...queryOptions
217534
217540
  } as unknown as UseSuspenseQueryOptions, queryClient) as ${returnType}
217535
217541
 
217536
217542
  query.queryKey = queryKey as TQueryKey
@@ -219621,14 +219627,14 @@ function Query$3({ name, queryKeyTypeName, queryOptionsName, queryKeyName, param
219621
219627
  JSDoc: { comments: getComments(operation) },
219622
219628
  children: `
219623
219629
  const { query: queryConfig = {}, client: config = {} } = options ?? {}
219624
- const { client: queryClient, ...queryOptions } = queryConfig
219625
- const queryKey = queryOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
219630
+ const { client: queryClient, ...resolvedOptions } = queryConfig
219631
+ const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
219626
219632
 
219627
219633
  const query = useQuery(() => ({
219628
219634
  ...${queryOptions},
219629
219635
  queryKey,
219630
219636
  initialData: null,
219631
- ...queryOptions as unknown as Omit<UseBaseQueryOptions, "queryKey">
219637
+ ...resolvedOptions as unknown as Omit<UseBaseQueryOptions, "queryKey">
219632
219638
  }), queryClient? () => queryClient: undefined) as ${returnType}
219633
219639
 
219634
219640
  return query
@@ -220634,13 +220640,13 @@ function Query$2({ name, queryKeyTypeName, queryOptionsName, queryKeyName, param
220634
220640
  JSDoc: { comments: getComments(operation) },
220635
220641
  children: `
220636
220642
  const { query: queryConfig = {}, client: config = {} } = options ?? {}
220637
- const { client: queryClient, ...queryOptions } = queryConfig
220638
- const queryKey = queryOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
220643
+ const { client: queryClient, ...resolvedOptions } = queryConfig
220644
+ const queryKey = resolvedOptions?.queryKey ?? ${queryKeyName}(${queryKeyParams.toCall()})
220639
220645
 
220640
220646
  const query = createQuery({
220641
220647
  ...${queryOptions},
220648
+ ...resolvedOptions,
220642
220649
  queryKey,
220643
- ...queryOptions
220644
220650
  } as unknown as CreateBaseQueryOptions, queryClient) as ${returnType}
220645
220651
 
220646
220652
  query.queryKey = queryKey as TQueryKey
@@ -222556,12 +222562,12 @@ function InfiniteQuery({ name, queryKeyTypeName, queryOptionsName, queryKeyName,
222556
222562
  JSDoc: { comments: getComments(operation) },
222557
222563
  children: `
222558
222564
  const { query: queryConfig = {}, client: config = {} } = options ?? {}
222559
- const { client: queryClient, ...queryOptions } = queryConfig
222560
- const queryKey = (queryOptions && 'queryKey' in queryOptions ? toValue(queryOptions.queryKey) : undefined) ?? ${queryKeyName}(${queryKeyParams.toCall()})
222565
+ const { client: queryClient, ...resolvedOptions } = queryConfig
222566
+ const queryKey = (resolvedOptions && 'queryKey' in resolvedOptions ? toValue(resolvedOptions.queryKey) : undefined) ?? ${queryKeyName}(${queryKeyParams.toCall()})
222561
222567
 
222562
222568
  const query = useInfiniteQuery({
222563
222569
  ...${queryOptions},
222564
- ...queryOptions,
222570
+ ...resolvedOptions,
222565
222571
  queryKey
222566
222572
  } as unknown as UseInfiniteQueryOptions<${TData}, ${TError}, ${TData}, TQueryKey, ${TData}>, toValue(queryClient)) as ${returnType}
222567
222573
 
@@ -223031,12 +223037,12 @@ function Query({ name, queryKeyTypeName, queryOptionsName, queryKeyName, paramsT
223031
223037
  JSDoc: { comments: getComments(operation) },
223032
223038
  children: `
223033
223039
  const { query: queryConfig = {}, client: config = {} } = options ?? {}
223034
- const { client: queryClient, ...queryOptions } = queryConfig
223035
- const queryKey = (queryOptions && 'queryKey' in queryOptions ? toValue(queryOptions.queryKey) : undefined) ?? ${queryKeyName}(${queryKeyParams.toCall()})
223040
+ const { client: queryClient, ...resolvedOptions } = queryConfig
223041
+ const queryKey = (resolvedOptions && 'queryKey' in resolvedOptions ? toValue(resolvedOptions.queryKey) : undefined) ?? ${queryKeyName}(${queryKeyParams.toCall()})
223036
223042
 
223037
223043
  const query = useQuery({
223038
223044
  ...${queryOptions},
223039
- ...queryOptions,
223045
+ ...resolvedOptions,
223040
223046
  queryKey
223041
223047
  } as unknown as UseQueryOptions<${TData}, ${TError}, TData, ${TData}, TQueryKey>, toValue(queryClient)) as ${returnType}
223042
223048
 
@@ -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.7/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.7/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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.7/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.7/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.7/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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.7/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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.7/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.7/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../server/utils/maskedString.ts","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../core/dist/fs-TVBCPkE-.js","../../../../../core/dist/transformers-BwSpAhvT.js","../../../../../core/dist/packageManager-wMCQlgd6.js","../../../../../core/dist/utils.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../../core/dist/index.js","../../../../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/SchemaMapper-ClUmzpCc.js","../../../../../oas/dist/chunk-OuPHjz6n.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/resolveServerUrl-sGGjx0hA.js","../../../../../plugin-oas/dist/getFooter-DGVGGyRc.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-D0Suyznb.js","../../../../../plugin-oas/dist/generators-BrYP9z4D.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-CK7yDnVt.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-B1E7eMZW.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-CXXBCsm_.js","../../../../../plugin-zod/dist/generators-HVqNlkDw.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-BgV8h1zt.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-CXqedeum.js","../../../../../plugin-cypress/dist/generators-XAzL9FKJ.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-B68UsxPY.js","../../../../../plugin-faker/dist/fakerGenerator-BVz1bBsB.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-DFtreW32.js","../../../../../plugin-mcp/dist/generators-uRUKPZr3.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-BtUE8LBG.js","../../../../../plugin-msw/dist/generators-BNu2XO1Z.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-DI3xt2Dc.js","../../../../../plugin-react-query/dist/generators-D9vg4YCv.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-DXv8B7Om.js","../../../../../plugin-solid-query/dist/generators-BitalKjt.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-B-l-GcyD.js","../../../../../plugin-svelte-query/dist/generators-v6s8TN7B.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-zfsAL4Ba.js","../../../../../plugin-swr/dist/generators-ikbzqdK0.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-DgIGyTDa.js","../../../../../plugin-vue-query/dist/generators-BIIW5fQ8.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.7/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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.7/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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","process","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","version","build","os","error","__defProp","__name","v","d","b","__assign","o","exports","Kind","YAMLException","string","ScalarType","Comments","isPlainObject","fs","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","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,59,112,113,114,115]}
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.7/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.7/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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.7/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.7/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.7/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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.7/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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.7/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.7/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../server/utils/maskedString.ts","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../core/dist/fs-TVBCPkE-.js","../../../../../core/dist/transformers-BwSpAhvT.js","../../../../../core/dist/packageManager-wMCQlgd6.js","../../../../../core/dist/utils.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../../core/dist/index.js","../../../../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/SchemaMapper-ClUmzpCc.js","../../../../../oas/dist/chunk-OuPHjz6n.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/resolveServerUrl-sGGjx0hA.js","../../../../../plugin-oas/dist/getFooter-DGVGGyRc.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-D0Suyznb.js","../../../../../plugin-oas/dist/generators-BrYP9z4D.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-CK7yDnVt.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/components-B1E7eMZW.js","../../../../../core/dist/hooks.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-ts/dist/plugin-CXXBCsm_.js","../../../../../plugin-zod/dist/generators-DfvfkbX5.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-BgV8h1zt.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-CXqedeum.js","../../../../../plugin-cypress/dist/generators-XAzL9FKJ.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-B68UsxPY.js","../../../../../plugin-faker/dist/fakerGenerator-BVz1bBsB.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-DFtreW32.js","../../../../../plugin-mcp/dist/generators-uRUKPZr3.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-BtUE8LBG.js","../../../../../plugin-msw/dist/generators-BNu2XO1Z.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-CpfLKZrt.js","../../../../../plugin-react-query/dist/generators-_w8AJ3mw.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-D5VDfqAN.js","../../../../../plugin-solid-query/dist/generators-CGg1Fp2E.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-CHWRjqaA.js","../../../../../plugin-svelte-query/dist/generators-BB_2MOpq.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-zfsAL4Ba.js","../../../../../plugin-swr/dist/generators-ikbzqdK0.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-CXPsh5f2.js","../../../../../plugin-vue-query/dist/generators-Dvw5T9Qy.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.7/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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.7/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.1_encoding@0.1.13_rolldown@1.0.0-rc.7/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","process","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","version","build","os","error","__defProp","__name","v","d","b","__assign","o","exports","Kind","YAMLException","string","ScalarType","Comments","isPlainObject","fs","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","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,59,112,113,114,115]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/agent-prod",
3
- "version": "4.32.2",
3
+ "version": "4.32.4",
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/agent",
3
- "version": "4.32.2",
3
+ "version": "4.32.4",
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.2",
41
41
  "unstorage": "^1.17.4",
42
42
  "ws": "^8.19.0",
43
- "@kubb/core": "4.32.2",
44
- "@kubb/plugin-client": "4.32.2",
45
- "@kubb/plugin-cypress": "4.32.2",
46
- "@kubb/plugin-faker": "4.32.2",
47
- "@kubb/plugin-mcp": "4.32.2",
48
- "@kubb/plugin-msw": "4.32.2",
49
- "@kubb/plugin-oas": "4.32.2",
50
- "@kubb/plugin-react-query": "4.32.2",
51
- "@kubb/plugin-redoc": "4.32.2",
52
- "@kubb/plugin-solid-query": "4.32.2",
53
- "@kubb/plugin-svelte-query": "4.32.2",
54
- "@kubb/plugin-swr": "4.32.2",
55
- "@kubb/plugin-ts": "4.32.2",
56
- "@kubb/plugin-vue-query": "4.32.2",
57
- "@kubb/plugin-zod": "4.32.2"
43
+ "@kubb/core": "4.32.4",
44
+ "@kubb/plugin-client": "4.32.4",
45
+ "@kubb/plugin-cypress": "4.32.4",
46
+ "@kubb/plugin-faker": "4.32.4",
47
+ "@kubb/plugin-mcp": "4.32.4",
48
+ "@kubb/plugin-msw": "4.32.4",
49
+ "@kubb/plugin-oas": "4.32.4",
50
+ "@kubb/plugin-react-query": "4.32.4",
51
+ "@kubb/plugin-redoc": "4.32.4",
52
+ "@kubb/plugin-solid-query": "4.32.4",
53
+ "@kubb/plugin-svelte-query": "4.32.4",
54
+ "@kubb/plugin-swr": "4.32.4",
55
+ "@kubb/plugin-ts": "4.32.4",
56
+ "@kubb/plugin-vue-query": "4.32.4",
57
+ "@kubb/plugin-zod": "4.32.4"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@types/ws": "^8.18.1",