@kubb/agent 5.0.0-beta.33 → 5.0.0-beta.35
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 +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +5 -4
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/node_modules/remeda/dist/conditional.js +2 -0
- package/.output/server/node_modules/remeda/dist/index.js +1 -1
- package/.output/server/node_modules/remeda/dist/purryOn-BIRClT9Q.js +2 -0
- package/.output/server/node_modules/remeda/dist/splice.js +1 -1
- package/.output/server/node_modules/remeda/package.json +4 -1
- package/.output/server/package.json +2 -2
- package/README.md +15 -5
- package/package.json +10 -9
- package/.output/server/node_modules/remeda/dist/conditional-CTEJD5TX.js +0 -2
package/.output/nitro.json
CHANGED
|
@@ -6599,7 +6599,7 @@ registerPlugin_fn = function(plugin) {
|
|
|
6599
6599
|
flush: flushPending
|
|
6600
6600
|
});
|
|
6601
6601
|
await forBatches(operations, (nodes) => {
|
|
6602
|
-
if (needsCollectedOperations) collectedOperations.push(...nodes);
|
|
6602
|
+
if (needsCollectedOperations) collectedOperations == null ? void 0 : collectedOperations.push(...nodes);
|
|
6603
6603
|
return Promise.all(nodes.flatMap((n) => states.map((state) => dispatchNode(state, n, operationDispatch))));
|
|
6604
6604
|
}, {
|
|
6605
6605
|
concurrency: 8,
|
|
@@ -6612,7 +6612,8 @@ registerPlugin_fn = function(plugin) {
|
|
|
6612
6612
|
...generatorContext,
|
|
6613
6613
|
options: plugin.options
|
|
6614
6614
|
};
|
|
6615
|
-
const
|
|
6615
|
+
const ops = collectedOperations != null ? collectedOperations : [];
|
|
6616
|
+
const pluginOperations = state.optionsAreStatic ? ops : ops.filter((node) => {
|
|
6616
6617
|
const transformed = plugin.transformer ? transform(node, plugin.transformer) : node;
|
|
6617
6618
|
const { exclude, include, override } = plugin.options;
|
|
6618
6619
|
return generatorContext.resolver.resolveOptions(transformed, {
|
|
@@ -6769,7 +6770,7 @@ async function clean(path) {
|
|
|
6769
6770
|
force: true
|
|
6770
6771
|
});
|
|
6771
6772
|
}
|
|
6772
|
-
var version$1 = "5.0.0-beta.
|
|
6773
|
+
var version$1 = "5.0.0-beta.35";
|
|
6773
6774
|
function createStorage(build) {
|
|
6774
6775
|
return (options) => build(options != null ? options : {});
|
|
6775
6776
|
}
|
|
@@ -7038,7 +7039,7 @@ const memoryStorage = createStorage(() => {
|
|
|
7038
7039
|
};
|
|
7039
7040
|
});
|
|
7040
7041
|
|
|
7041
|
-
var version = "5.0.0-beta.
|
|
7042
|
+
var version = "5.0.0-beta.35";
|
|
7042
7043
|
|
|
7043
7044
|
function isCommandMessage(msg) {
|
|
7044
7045
|
return msg.type === "command";
|
|
@@ -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.4/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.7/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.11/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.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.
|
|
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.4/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.7/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.11/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.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.5_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/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.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/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.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/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.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/route-rules-utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/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/KubbDriver-7JLUadUM.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","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/setupHookListener.ts","../../../../server/constants.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/utils/runtimeConfig.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.4_rolldown@1.0.3/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","normalizeKey","defineDriver","DRIVER_NAME","createStorage","fsPromises","PATH_TRAVERSE_RE","fsp","_inlineAppConfig","createRadixRouter","formatMs","resolve","_a","process","memoize","path","__publicField","__privateAdd","__privateGet","__privateMethod","batch","__privateSet","_b","_c","_d","extname","r","e","n","o","files","duration","readFile","writeFile","readdir","version","error","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,31,55,56,57,58]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{t as e}from"./purryOn-BIRClT9Q.js";function t(...t){return e(r,n,t)}function n(e,...t){for(let n of t){if(typeof n==`function`)return n(e);let[t,r]=n;if(t(e))return r(e)}throw Error(`conditional: data failed for all cases`)}function r(e){if(!Array.isArray(e))return!1;let[t,n,...r]=e;return typeof t==`function`&&t.length<=1&&typeof n==`function`&&n.length<=1&&r.length===0}export{t as conditional};
|
|
2
|
+
//# sourceMappingURL=conditional.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{purry as e}from"./purry.js";import{add as t}from"./add.js";import{addProp as n}from"./addProp.js";import{allPass as r}from"./allPass.js";import{anyPass as i}from"./anyPass.js";import{capitalize as a}from"./capitalize.js";import{ceil as o}from"./ceil.js";import{chunk as s}from"./chunk.js";import{clamp as c}from"./clamp.js";import{clone as l}from"./clone.js";import{concat as u}from"./concat.js";import{
|
|
1
|
+
import{purry as e}from"./purry.js";import{add as t}from"./add.js";import{addProp as n}from"./addProp.js";import{allPass as r}from"./allPass.js";import{anyPass as i}from"./anyPass.js";import{capitalize as a}from"./capitalize.js";import{ceil as o}from"./ceil.js";import{chunk as s}from"./chunk.js";import{clamp as c}from"./clamp.js";import{clone as l}from"./clone.js";import{concat as u}from"./concat.js";import{conditional as d}from"./conditional.js";import{constant as f}from"./constant.js";import{countBy as p}from"./countBy.js";import{debounce as m}from"./debounce.js";import{defaultTo as h}from"./defaultTo.js";import{pipe as g}from"./pipe.js";import{difference as _}from"./difference.js";import{differenceWith as v}from"./differenceWith.js";import{divide as y}from"./divide.js";import{doNothing as b}from"./doNothing.js";import{drop as x}from"./drop.js";import{hasAtLeast as S}from"./hasAtLeast.js";import{dropFirstBy as C}from"./dropFirstBy.js";import{dropLast as w}from"./dropLast.js";import{dropLastWhile as T}from"./dropLastWhile.js";import{dropWhile as E}from"./dropWhile.js";import{endsWith as D}from"./endsWith.js";import{entries as O}from"./entries.js";import{evolve as k}from"./evolve.js";import{filter as A}from"./filter.js";import{find as j}from"./find.js";import{findIndex as M}from"./findIndex.js";import{findLast as N}from"./findLast.js";import{findLastIndex as P}from"./findLastIndex.js";import{first as F}from"./first.js";import{firstBy as I}from"./firstBy.js";import{flat as L}from"./flat.js";import{flatMap as R}from"./flatMap.js";import{floor as z}from"./floor.js";import{forEach as B}from"./forEach.js";import{forEachObj as V}from"./forEachObj.js";import{fromEntries as H}from"./fromEntries.js";import{fromKeys as U}from"./fromKeys.js";import{funnel as W}from"./funnel.js";import{groupBy as G}from"./groupBy.js";import{groupByProp as K}from"./groupByProp.js";import{hasProp as q}from"./hasProp.js";import{isDeepEqual as J}from"./isDeepEqual.js";import{hasSubObject as Y}from"./hasSubObject.js";import{identity as X}from"./identity.js";import{indexBy as Z}from"./indexBy.js";import{intersection as Q}from"./intersection.js";import{intersectionWith as $}from"./intersectionWith.js";import{invert as ee}from"./invert.js";import{isArray as te}from"./isArray.js";import{isBigInt as ne}from"./isBigInt.js";import{isBoolean as re}from"./isBoolean.js";import{isDate as ie}from"./isDate.js";import{isDefined as ae}from"./isDefined.js";import{isEmpty as oe}from"./isEmpty.js";import{isEmptyish as se}from"./isEmptyish.js";import{isError as ce}from"./isError.js";import{isFunction as le}from"./isFunction.js";import{isIncludedIn as ue}from"./isIncludedIn.js";import{isNonNull as de}from"./isNonNull.js";import{isNonNullish as fe}from"./isNonNullish.js";import{isNot as pe}from"./isNot.js";import{isNullish as me}from"./isNullish.js";import{isNumber as he}from"./isNumber.js";import{isObjectType as ge}from"./isObjectType.js";import{isPlainObject as _e}from"./isPlainObject.js";import{isPromise as ve}from"./isPromise.js";import{isShallowEqual as ye}from"./isShallowEqual.js";import{isStrictEqual as be}from"./isStrictEqual.js";import{isString as xe}from"./isString.js";import{isSymbol as Se}from"./isSymbol.js";import{isTruthy as Ce}from"./isTruthy.js";import{join as we}from"./join.js";import{keys as Te}from"./keys.js";import{last as Ee}from"./last.js";import{length as De}from"./length.js";import{map as Oe}from"./map.js";import{mapKeys as ke}from"./mapKeys.js";import{mapToObj as Ae}from"./mapToObj.js";import{mapValues as je}from"./mapValues.js";import{mapWithFeedback as Me}from"./mapWithFeedback.js";import{sum as Ne}from"./sum.js";import{mean as Pe}from"./mean.js";import{meanBy as Fe}from"./meanBy.js";import{median as Ie}from"./median.js";import{merge as Le}from"./merge.js";import{mergeAll as Re}from"./mergeAll.js";import{mergeDeep as ze}from"./mergeDeep.js";import{multiply as Be}from"./multiply.js";import{t as Ve}from"./nthBy-DCn3SK1l.js";import{objOf as He}from"./objOf.js";import{omit as Ue}from"./omit.js";import{omitBy as We}from"./omitBy.js";import{once as Ge}from"./once.js";import{only as Ke}from"./only.js";import{partialBind as qe}from"./partialBind.js";import{partialLastBind as Je}from"./partialLastBind.js";import{partition as Ye}from"./partition.js";import{pathOr as Xe}from"./pathOr.js";import{pick as Ze}from"./pick.js";import{pickBy as Qe}from"./pickBy.js";import{piped as $e}from"./piped.js";import{product as et}from"./product.js";import{prop as tt}from"./prop.js";import{pullObject as nt}from"./pullObject.js";import{randomBigInt as rt}from"./randomBigInt.js";import{randomInteger as it}from"./randomInteger.js";import{randomString as at}from"./randomString.js";import{range as ot}from"./range.js";import{rankBy as st}from"./rankBy.js";import{reduce as ct}from"./reduce.js";import{reverse as lt}from"./reverse.js";import{round as ut}from"./round.js";import{sample as dt}from"./sample.js";import{set as ft}from"./set.js";import{setPath as pt}from"./setPath.js";import{shuffle as mt}from"./shuffle.js";import{sliceString as ht}from"./sliceString.js";import{sort as gt}from"./sort.js";import{sortBy as _t}from"./sortBy.js";import{sortedIndex as vt}from"./sortedIndex.js";import{sortedIndexBy as yt}from"./sortedIndexBy.js";import{sortedIndexWith as bt}from"./sortedIndexWith.js";import{sortedLastIndex as xt}from"./sortedLastIndex.js";import{sortedLastIndexBy as St}from"./sortedLastIndexBy.js";import{splice as Ct}from"./splice.js";import{split as wt}from"./split.js";import{splitAt as Tt}from"./splitAt.js";import{splitWhen as Et}from"./splitWhen.js";import{startsWith as Dt}from"./startsWith.js";import{stringToPath as Ot}from"./stringToPath.js";import{subtract as kt}from"./subtract.js";import{sumBy as At}from"./sumBy.js";import{swapIndices as jt}from"./swapIndices.js";import{swapProps as Mt}from"./swapProps.js";import{take as Nt}from"./take.js";import{takeFirstBy as Pt}from"./takeFirstBy.js";import{takeLast as Ft}from"./takeLast.js";import{takeLastWhile as It}from"./takeLastWhile.js";import{takeWhile as Lt}from"./takeWhile.js";import{tap as Rt}from"./tap.js";import{times as zt}from"./times.js";import{toCamelCase as Bt}from"./toCamelCase.js";import{toKebabCase as Vt}from"./toKebabCase.js";import{toLowerCase as Ht}from"./toLowerCase.js";import{toSnakeCase as Ut}from"./toSnakeCase.js";import{toTitleCase as Wt}from"./toTitleCase.js";import{toUpperCase as Gt}from"./toUpperCase.js";import{truncate as Kt}from"./truncate.js";import{uncapitalize as qt}from"./uncapitalize.js";import{unique as Jt}from"./unique.js";import{uniqueBy as Yt}from"./uniqueBy.js";import{uniqueWith as Xt}from"./uniqueWith.js";import{values as Zt}from"./values.js";import{when as Qt}from"./when.js";import{zip as $t}from"./zip.js";import{zipWith as en}from"./zipWith.js";export{t as add,n as addProp,r as allPass,i as anyPass,a as capitalize,o as ceil,s as chunk,c as clamp,l as clone,u as concat,d as conditional,f as constant,p as countBy,m as debounce,h as defaultTo,_ as difference,v as differenceWith,y as divide,b as doNothing,x as drop,C as dropFirstBy,w as dropLast,T as dropLastWhile,E as dropWhile,D as endsWith,O as entries,k as evolve,A as filter,j as find,M as findIndex,N as findLast,P as findLastIndex,F as first,I as firstBy,L as flat,R as flatMap,z as floor,B as forEach,V as forEachObj,H as fromEntries,U as fromKeys,W as funnel,G as groupBy,K as groupByProp,S as hasAtLeast,q as hasProp,Y as hasSubObject,X as identity,Z as indexBy,Q as intersection,$ as intersectionWith,ee as invert,te as isArray,ne as isBigInt,re as isBoolean,ie as isDate,J as isDeepEqual,ae as isDefined,oe as isEmpty,se as isEmptyish,ce as isError,le as isFunction,ue as isIncludedIn,de as isNonNull,fe as isNonNullish,pe as isNot,me as isNullish,he as isNumber,ge as isObjectType,_e as isPlainObject,ve as isPromise,ye as isShallowEqual,be as isStrictEqual,xe as isString,Se as isSymbol,Ce as isTruthy,we as join,Te as keys,Ee as last,De as length,Oe as map,ke as mapKeys,Ae as mapToObj,je as mapValues,Me as mapWithFeedback,Pe as mean,Fe as meanBy,Ie as median,Le as merge,Re as mergeAll,ze as mergeDeep,Be as multiply,Ve as nthBy,He as objOf,Ue as omit,We as omitBy,Ge as once,Ke as only,qe as partialBind,Je as partialLastBind,Ye as partition,Xe as pathOr,Ze as pick,Qe as pickBy,g as pipe,$e as piped,et as product,tt as prop,nt as pullObject,e as purry,rt as randomBigInt,it as randomInteger,at as randomString,ot as range,st as rankBy,ct as reduce,lt as reverse,ut as round,dt as sample,ft as set,pt as setPath,mt as shuffle,ht as sliceString,gt as sort,_t as sortBy,vt as sortedIndex,yt as sortedIndexBy,bt as sortedIndexWith,xt as sortedLastIndex,St as sortedLastIndexBy,Ct as splice,wt as split,Tt as splitAt,Et as splitWhen,Dt as startsWith,Ot as stringToPath,kt as subtract,Ne as sum,At as sumBy,jt as swapIndices,Mt as swapProps,Nt as take,Pt as takeFirstBy,Ft as takeLast,It as takeLastWhile,Lt as takeWhile,Rt as tap,zt as times,Bt as toCamelCase,Vt as toKebabCase,Ht as toLowerCase,Ut as toSnakeCase,Wt as toTitleCase,Gt as toUpperCase,Kt as truncate,qt as uncapitalize,Jt as unique,Yt as uniqueBy,Xt as uniqueWith,Zt as values,Qt as when,$t as zip,en as zipWith};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t as e}from"./purryOn-BIRClT9Q.js";function t(...t){return e(e=>typeof e==`number`,n,t)}function n(e,t,n,r=[]){let i=[...e];return i.splice(t,n,...r),i}export{t as splice};
|
|
2
2
|
//# sourceMappingURL=splice.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remeda",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.37.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A utility library for JavaScript and Typescript.",
|
|
6
6
|
"repository": {
|
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
"author": "Łukasz Sentkiewicz",
|
|
15
15
|
"funding": "https://github.com/sponsors/remeda",
|
|
16
16
|
"license": "MIT",
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=18.0.0"
|
|
19
|
+
},
|
|
17
20
|
"main": "dist/index.cjs",
|
|
18
21
|
"module": "dist/index.js",
|
|
19
22
|
"exports": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent-prod",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"normalize-path": "3.0.0",
|
|
18
18
|
"picomatch": "2.3.2",
|
|
19
19
|
"readdirp": "5.0.0",
|
|
20
|
-
"remeda": "2.
|
|
20
|
+
"remeda": "2.37.0",
|
|
21
21
|
"serialize-error": "8.1.0",
|
|
22
22
|
"stack-trace": "0.0.10",
|
|
23
23
|
"tinyexec": "1.1.2",
|
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<h1>@kubb/agent</h1>
|
|
3
2
|
<a href="https://kubb.dev" target="_blank" rel="noopener noreferrer">
|
|
4
|
-
<img
|
|
3
|
+
<img src="https://kubb.dev/og.png" alt="Kubb banner">
|
|
5
4
|
</a>
|
|
6
5
|
|
|
7
6
|
[![npm version][npm-version-src]][npm-version-href]
|
|
@@ -11,7 +10,7 @@
|
|
|
11
10
|
[![Sponsors][sponsors-src]][sponsors-href]
|
|
12
11
|
|
|
13
12
|
<h4>
|
|
14
|
-
<a href="https://kubb.dev
|
|
13
|
+
<a href="https://kubb.dev" target="_blank">Documentation</a>
|
|
15
14
|
<span> · </span>
|
|
16
15
|
<a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
|
|
17
16
|
<span> · </span>
|
|
@@ -19,7 +18,13 @@
|
|
|
19
18
|
</h4>
|
|
20
19
|
</div>
|
|
21
20
|
|
|
22
|
-
|
|
21
|
+
<br />
|
|
22
|
+
|
|
23
|
+
# @kubb/agent
|
|
24
|
+
|
|
25
|
+
### HTTP agent server for Kubb
|
|
26
|
+
|
|
27
|
+
Built on [Nitro](https://nitro.build), it exposes REST endpoints for triggering code generation, a health check, and a bidirectional WebSocket connection to Kubb Studio. Machine tokens are derived from the machine's network identity so they survive restarts. Sessions are cached locally to speed up reconnects.
|
|
23
28
|
|
|
24
29
|
## Installation
|
|
25
30
|
|
|
@@ -337,9 +342,10 @@ You'll receive a stream of events as the code generation progresses.
|
|
|
337
342
|
|
|
338
343
|
## Supporting Kubb
|
|
339
344
|
|
|
340
|
-
Kubb is an open source project
|
|
345
|
+
Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
|
|
341
346
|
|
|
342
347
|
- [Become a Sponsor on GitHub](https://github.com/sponsors/stijnvanhulle)
|
|
348
|
+
- [See sponsorship tiers and our sponsors](https://kubb.dev/sponsors)
|
|
343
349
|
|
|
344
350
|
<p align="center">
|
|
345
351
|
<a href="https://github.com/sponsors/stijnvanhulle">
|
|
@@ -347,6 +353,10 @@ Kubb is an open source project with its ongoing development made possible entire
|
|
|
347
353
|
</a>
|
|
348
354
|
</p>
|
|
349
355
|
|
|
356
|
+
## License
|
|
357
|
+
|
|
358
|
+
[AGPL-3.0-or-later](https://github.com/kubb-labs/kubb/blob/main/licenses/LICENSE-AGPL-3.0)
|
|
359
|
+
|
|
350
360
|
<!-- Badges -->
|
|
351
361
|
|
|
352
362
|
[npm-version-src]: https://img.shields.io/npm/v/@kubb/agent?flat&colorA=18181B&colorB=f58517
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.35",
|
|
4
4
|
"description": "HTTP agent server for Kubb. Exposes code generation via REST API and WebSocket with real-time Kubb Studio integration, machine binding, and Docker support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"@logtail/node": "^0.5.8",
|
|
40
40
|
"consola": "^3.4.2",
|
|
41
41
|
"jiti": "^2.7.0",
|
|
42
|
-
"remeda": "^2.
|
|
42
|
+
"remeda": "^2.37.0",
|
|
43
43
|
"tinyexec": "~1.1.2",
|
|
44
44
|
"unstorage": "^1.17.5",
|
|
45
45
|
"ws": "^8.21.0",
|
|
46
|
-
"@kubb/ast": "5.0.0-beta.
|
|
47
|
-
"@kubb/core": "5.0.0-beta.
|
|
46
|
+
"@kubb/ast": "5.0.0-beta.35",
|
|
47
|
+
"@kubb/core": "5.0.0-beta.35"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@types/ws": "^8.18.1",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"nitropack": "^2.13.4",
|
|
53
53
|
"vite": "^8.0.14",
|
|
54
54
|
"@internals/utils": "0.0.0",
|
|
55
|
-
"@kubb/adapter-oas": "5.0.0-beta.
|
|
56
|
-
"@kubb/parser-ts": "5.0.0-beta.
|
|
57
|
-
"@kubb/renderer-jsx": "5.0.0-beta.
|
|
55
|
+
"@kubb/adapter-oas": "5.0.0-beta.35",
|
|
56
|
+
"@kubb/parser-ts": "5.0.0-beta.35",
|
|
57
|
+
"@kubb/renderer-jsx": "5.0.0-beta.35"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=22"
|
|
@@ -62,12 +62,13 @@
|
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "nitro build",
|
|
64
64
|
"clean": "npx rimraf ./dist .output",
|
|
65
|
+
"dev": "nitro dev",
|
|
65
66
|
"lint": "oxlint .",
|
|
66
|
-
"start": "node .output/server/index.mjs",
|
|
67
67
|
"lint:fix": "oxlint --fix .",
|
|
68
68
|
"release": "pnpm publish --no-git-check",
|
|
69
69
|
"release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check",
|
|
70
|
-
"
|
|
70
|
+
"release:stage": "pnpm stage publish --no-git-check",
|
|
71
|
+
"start": "node .output/server/index.mjs",
|
|
71
72
|
"test": "vitest --passWithNoTests",
|
|
72
73
|
"typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"
|
|
73
74
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function e(e,t,n){return e(n[0])?e=>t(e,...n):t(...n)}function t(...t){return e(r,n,t)}function n(e,...t){for(let n of t){if(typeof n==`function`)return n(e);let[t,r]=n;if(t(e))return r(e)}throw Error(`conditional: data failed for all cases`)}function r(e){if(!Array.isArray(e))return!1;let[t,n,...r]=e;return typeof t==`function`&&t.length<=1&&typeof n==`function`&&n.length<=1&&r.length===0}export{t};
|
|
2
|
-
//# sourceMappingURL=conditional-CTEJD5TX.js.map
|