@kubb/agent 5.0.0-beta.28 → 5.0.0-beta.29
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
|
@@ -4768,12 +4768,14 @@ function* getChildren(node, recurse) {
|
|
|
4768
4768
|
return;
|
|
4769
4769
|
}
|
|
4770
4770
|
if (node.kind === "Response") {
|
|
4771
|
-
if (node.
|
|
4771
|
+
if (node.content) {
|
|
4772
|
+
for (const c of node.content) if (c.schema) yield c.schema;
|
|
4773
|
+
}
|
|
4772
4774
|
return;
|
|
4773
4775
|
}
|
|
4774
4776
|
}
|
|
4775
4777
|
function transform(node, options) {
|
|
4776
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q;
|
|
4778
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r;
|
|
4777
4779
|
const { depth, parent, ...visitor } = options;
|
|
4778
4780
|
const recurse = (depth != null ? depth : visitorDepths.deep) === visitorDepths.deep;
|
|
4779
4781
|
if (node.kind === "Input") {
|
|
@@ -4853,10 +4855,13 @@ function transform(node, options) {
|
|
|
4853
4855
|
const response = (_q = (_p = visitor.response) == null ? void 0 : _p.call(visitor, node, { parent })) != null ? _q : node;
|
|
4854
4856
|
return {
|
|
4855
4857
|
...response,
|
|
4856
|
-
|
|
4857
|
-
...
|
|
4858
|
-
|
|
4859
|
-
|
|
4858
|
+
content: (_r = response.content) == null ? void 0 : _r.map((entry) => ({
|
|
4859
|
+
...entry,
|
|
4860
|
+
schema: entry.schema ? transform(entry.schema, {
|
|
4861
|
+
...options,
|
|
4862
|
+
parent: response
|
|
4863
|
+
}) : entry.schema
|
|
4864
|
+
}))
|
|
4860
4865
|
};
|
|
4861
4866
|
}
|
|
4862
4867
|
return node;
|
|
@@ -6848,7 +6853,7 @@ async function clean(path) {
|
|
|
6848
6853
|
force: true
|
|
6849
6854
|
});
|
|
6850
6855
|
}
|
|
6851
|
-
var version$1 = "5.0.0-beta.
|
|
6856
|
+
var version$1 = "5.0.0-beta.29";
|
|
6852
6857
|
function createStorage(build) {
|
|
6853
6858
|
return (options) => build(options != null ? options : {});
|
|
6854
6859
|
}
|
|
@@ -7117,7 +7122,7 @@ const memoryStorage = createStorage(() => {
|
|
|
7117
7122
|
};
|
|
7118
7123
|
});
|
|
7119
7124
|
|
|
7120
|
-
var version = "5.0.0-beta.
|
|
7125
|
+
var version = "5.0.0-beta.29";
|
|
7121
7126
|
|
|
7122
7127
|
function isCommandMessage(msg) {
|
|
7123
7128
|
return msg.type === "command";
|
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.29",
|
|
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",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"tinyexec": "^1.1.2",
|
|
44
44
|
"unstorage": "^1.17.5",
|
|
45
45
|
"ws": "^8.20.1",
|
|
46
|
-
"@kubb/ast": "5.0.0-beta.
|
|
47
|
-
"@kubb/core": "5.0.0-beta.
|
|
46
|
+
"@kubb/ast": "5.0.0-beta.29",
|
|
47
|
+
"@kubb/core": "5.0.0-beta.29"
|
|
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.13",
|
|
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.29",
|
|
56
|
+
"@kubb/parser-ts": "5.0.0-beta.29",
|
|
57
|
+
"@kubb/renderer-jsx": "5.0.0-beta.29"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=22"
|