@kubb/agent 5.0.0-alpha.35 → 5.0.0-alpha.36

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.
Files changed (180) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/server/chunks/nitro/nitro.mjs +1293 -20554
  3. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  4. package/.output/server/chunks/routes/api/health.get.mjs +16 -14
  5. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
  6. package/.output/server/index.mjs +16 -14
  7. package/.output/server/index.mjs.map +1 -1
  8. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/constants.js +18 -0
  9. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/permessage-deflate.js +514 -0
  10. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/sender.js +602 -0
  11. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/stream.js +159 -0
  12. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket-server.js +540 -0
  13. package/.output/server/node_modules/.nitro/ws@8.18.0/lib/websocket.js +1388 -0
  14. package/.output/server/node_modules/.nitro/ws@8.18.0/package.json +69 -0
  15. package/.output/server/node_modules/.nitro/ws@8.18.0/wrapper.mjs +8 -0
  16. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/buffer-util.js +131 -0
  17. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/event-target.js +292 -0
  18. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/extension.js +203 -0
  19. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/limiter.js +55 -0
  20. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/receiver.js +706 -0
  21. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/subprotocol.js +62 -0
  22. package/.output/server/node_modules/.nitro/ws@8.20.0/lib/validation.js +152 -0
  23. package/.output/server/node_modules/@clack/core/dist/index.mjs +11 -0
  24. package/.output/server/node_modules/@clack/core/package.json +60 -0
  25. package/.output/server/node_modules/@clack/prompts/dist/index.mjs +137 -0
  26. package/.output/server/node_modules/@clack/prompts/package.json +65 -0
  27. package/.output/server/node_modules/@kubb/ast/dist/chunk--u3MIqq1.js +8 -0
  28. package/.output/server/node_modules/@kubb/ast/dist/index.js +423 -0
  29. package/.output/server/node_modules/@kubb/ast/package.json +70 -0
  30. package/.output/server/node_modules/@kubb/core/dist/chunk--u3MIqq1.js +8 -0
  31. package/.output/server/node_modules/@kubb/core/dist/hooks.js +23 -0
  32. package/.output/server/node_modules/@kubb/core/dist/index.js +2311 -0
  33. package/.output/server/node_modules/@kubb/core/package.json +109 -0
  34. package/.output/server/node_modules/@kubb/fabric-core/dist/chunk-O_arW02_.js +17 -0
  35. package/.output/server/node_modules/@kubb/fabric-core/dist/defaultParser-iCpMSYCp.js +15 -0
  36. package/.output/server/node_modules/@kubb/fabric-core/dist/getRelativePath-NAm_Y-vp.js +55 -0
  37. package/.output/server/node_modules/@kubb/fabric-core/dist/index.js +653 -0
  38. package/.output/server/node_modules/@kubb/fabric-core/dist/onProcessExit-Cput7j2c.js +742 -0
  39. package/.output/server/node_modules/@kubb/fabric-core/dist/parsers/typescript.js +101 -0
  40. package/.output/server/node_modules/@kubb/fabric-core/dist/parsers.js +17 -0
  41. package/.output/server/node_modules/@kubb/fabric-core/dist/plugins.js +375 -0
  42. package/.output/server/node_modules/@kubb/fabric-core/package.json +111 -0
  43. package/.output/server/node_modules/@kubb/oas/dist/chunk--u3MIqq1.js +8 -0
  44. package/.output/server/node_modules/@kubb/oas/dist/index.js +918 -0
  45. package/.output/server/node_modules/@kubb/oas/package.json +94 -0
  46. package/.output/server/node_modules/@kubb/plugin-client/dist/StaticClassClient-bCe7RG_w.js +636 -0
  47. package/.output/server/node_modules/@kubb/plugin-client/dist/chunk--u3MIqq1.js +8 -0
  48. package/.output/server/node_modules/@kubb/plugin-client/dist/components.js +2 -0
  49. package/.output/server/node_modules/@kubb/plugin-client/dist/generators-BffddRNu.js +723 -0
  50. package/.output/server/node_modules/@kubb/plugin-client/dist/index.js +124 -0
  51. package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/axios.source.js +6 -0
  52. package/.output/server/node_modules/@kubb/plugin-client/dist/templates/clients/fetch.source.js +6 -0
  53. package/.output/server/node_modules/@kubb/plugin-client/dist/templates/config.source.js +6 -0
  54. package/.output/server/node_modules/@kubb/plugin-client/package.json +153 -0
  55. package/.output/server/node_modules/@kubb/plugin-cypress/dist/chunk--u3MIqq1.js +8 -0
  56. package/.output/server/node_modules/@kubb/plugin-cypress/dist/components-BK_6GU4v.js +257 -0
  57. package/.output/server/node_modules/@kubb/plugin-cypress/dist/generators-D5YFtyyC.js +71 -0
  58. package/.output/server/node_modules/@kubb/plugin-cypress/dist/index.js +79 -0
  59. package/.output/server/node_modules/@kubb/plugin-cypress/package.json +108 -0
  60. package/.output/server/node_modules/@kubb/plugin-faker/dist/chunk--u3MIqq1.js +8 -0
  61. package/.output/server/node_modules/@kubb/plugin-faker/dist/components-BkBIov4R.js +419 -0
  62. package/.output/server/node_modules/@kubb/plugin-faker/dist/fakerGenerator-BztogaeO.js +200 -0
  63. package/.output/server/node_modules/@kubb/plugin-faker/dist/index.js +141 -0
  64. package/.output/server/node_modules/@kubb/plugin-faker/package.json +103 -0
  65. package/.output/server/node_modules/@kubb/plugin-mcp/dist/Server-H3SwqhwF.js +178 -0
  66. package/.output/server/node_modules/@kubb/plugin-mcp/dist/chunk--u3MIqq1.js +8 -0
  67. package/.output/server/node_modules/@kubb/plugin-mcp/dist/generators-BqkMrcs9.js +274 -0
  68. package/.output/server/node_modules/@kubb/plugin-mcp/dist/index.js +122 -0
  69. package/.output/server/node_modules/@kubb/plugin-mcp/package.json +107 -0
  70. package/.output/server/node_modules/@kubb/plugin-msw/dist/chunk--u3MIqq1.js +8 -0
  71. package/.output/server/node_modules/@kubb/plugin-msw/dist/components-DgtTZkWX.js +277 -0
  72. package/.output/server/node_modules/@kubb/plugin-msw/dist/generators-C34kqa1L.js +161 -0
  73. package/.output/server/node_modules/@kubb/plugin-msw/dist/index.js +84 -0
  74. package/.output/server/node_modules/@kubb/plugin-msw/package.json +109 -0
  75. package/.output/server/node_modules/@kubb/plugin-oas/dist/SchemaMapper-CqMkO2T1.js +58 -0
  76. package/.output/server/node_modules/@kubb/plugin-oas/dist/chunk--u3MIqq1.js +8 -0
  77. package/.output/server/node_modules/@kubb/plugin-oas/dist/generators-D7C3CXsN.js +79 -0
  78. package/.output/server/node_modules/@kubb/plugin-oas/dist/generators.js +2 -0
  79. package/.output/server/node_modules/@kubb/plugin-oas/dist/getFooter-Pw3tLCiV.js +112 -0
  80. package/.output/server/node_modules/@kubb/plugin-oas/dist/hooks.js +200 -0
  81. package/.output/server/node_modules/@kubb/plugin-oas/dist/index.js +408 -0
  82. package/.output/server/node_modules/@kubb/plugin-oas/dist/requestBody-pRavthCw.js +1336 -0
  83. package/.output/server/node_modules/@kubb/plugin-oas/dist/utils.js +268 -0
  84. package/.output/server/node_modules/@kubb/plugin-oas/package.json +122 -0
  85. package/.output/server/node_modules/@kubb/plugin-react-query/dist/chunk--u3MIqq1.js +8 -0
  86. package/.output/server/node_modules/@kubb/plugin-react-query/dist/components-CpyHYGOw.js +1520 -0
  87. package/.output/server/node_modules/@kubb/plugin-react-query/dist/generators-CpiBv5eE.js +1427 -0
  88. package/.output/server/node_modules/@kubb/plugin-react-query/dist/index.js +166 -0
  89. package/.output/server/node_modules/@kubb/plugin-react-query/package.json +112 -0
  90. package/.output/server/node_modules/@kubb/plugin-redoc/dist/chunk--u3MIqq1.js +8 -0
  91. package/.output/server/node_modules/@kubb/plugin-redoc/dist/index.js +65 -0
  92. package/.output/server/node_modules/@kubb/plugin-redoc/package.json +85 -0
  93. package/.output/server/node_modules/@kubb/plugin-redoc/static/redoc.hbs +22 -0
  94. package/.output/server/node_modules/@kubb/plugin-solid-query/dist/chunk--u3MIqq1.js +8 -0
  95. package/.output/server/node_modules/@kubb/plugin-solid-query/dist/components-BhStIi1M.js +665 -0
  96. package/.output/server/node_modules/@kubb/plugin-solid-query/dist/generators-CQClzsST.js +415 -0
  97. package/.output/server/node_modules/@kubb/plugin-solid-query/dist/index.js +145 -0
  98. package/.output/server/node_modules/@kubb/plugin-solid-query/package.json +113 -0
  99. package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/chunk--u3MIqq1.js +8 -0
  100. package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/components-DntKBsnB.js +666 -0
  101. package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/generators-BtTsGGrM.js +414 -0
  102. package/.output/server/node_modules/@kubb/plugin-svelte-query/dist/index.js +145 -0
  103. package/.output/server/node_modules/@kubb/plugin-svelte-query/package.json +113 -0
  104. package/.output/server/node_modules/@kubb/plugin-swr/dist/chunk--u3MIqq1.js +8 -0
  105. package/.output/server/node_modules/@kubb/plugin-swr/dist/components-DRDGvgXG.js +702 -0
  106. package/.output/server/node_modules/@kubb/plugin-swr/dist/generators-ClWZJ-YG.js +399 -0
  107. package/.output/server/node_modules/@kubb/plugin-swr/dist/index.js +144 -0
  108. package/.output/server/node_modules/@kubb/plugin-swr/package.json +115 -0
  109. package/.output/server/node_modules/@kubb/plugin-ts/dist/chunk--u3MIqq1.js +8 -0
  110. package/.output/server/node_modules/@kubb/plugin-ts/dist/components-C7fu-sK1.js +723 -0
  111. package/.output/server/node_modules/@kubb/plugin-ts/dist/index.js +2 -0
  112. package/.output/server/node_modules/@kubb/plugin-ts/dist/plugin-CYC-FGXe.js +479 -0
  113. package/.output/server/node_modules/@kubb/plugin-ts/package.json +105 -0
  114. package/.output/server/node_modules/@kubb/plugin-vue-query/dist/chunk--u3MIqq1.js +8 -0
  115. package/.output/server/node_modules/@kubb/plugin-vue-query/dist/components-_AMBl0g-.js +1029 -0
  116. package/.output/server/node_modules/@kubb/plugin-vue-query/dist/generators-Zb1s5Wmb.js +661 -0
  117. package/.output/server/node_modules/@kubb/plugin-vue-query/dist/index.js +157 -0
  118. package/.output/server/node_modules/@kubb/plugin-vue-query/package.json +114 -0
  119. package/.output/server/node_modules/@kubb/plugin-zod/dist/chunk--u3MIqq1.js +8 -0
  120. package/.output/server/node_modules/@kubb/plugin-zod/dist/components-eECfXVou.js +842 -0
  121. package/.output/server/node_modules/@kubb/plugin-zod/dist/generators-D1R6NNf2.js +290 -0
  122. package/.output/server/node_modules/@kubb/plugin-zod/dist/index.js +175 -0
  123. package/.output/server/node_modules/@kubb/plugin-zod/dist/templates/ToZod.source.js +6 -0
  124. package/.output/server/node_modules/@kubb/plugin-zod/package.json +112 -0
  125. package/.output/server/node_modules/@kubb/react-fabric/dist/chunk-BGCRLu6H.js +38 -0
  126. package/.output/server/node_modules/@kubb/react-fabric/dist/index.js +525 -0
  127. package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime-Bl0DfUmV.js +1448 -0
  128. package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime.js +12 -0
  129. package/.output/server/node_modules/@kubb/react-fabric/dist/parsers.js +2 -0
  130. package/.output/server/node_modules/@kubb/react-fabric/dist/plugins.js +4 -0
  131. package/.output/server/node_modules/@kubb/react-fabric/dist/reactPlugin-QQPrjNuQ.js +17813 -0
  132. package/.output/server/node_modules/@kubb/react-fabric/package.json +143 -0
  133. package/.output/server/node_modules/buffer-from/index.js +72 -0
  134. package/.output/server/node_modules/buffer-from/package.json +19 -0
  135. package/.output/server/node_modules/empathic/access.js +39 -0
  136. package/.output/server/node_modules/empathic/access.mjs +34 -0
  137. package/.output/server/node_modules/empathic/find.js +81 -0
  138. package/.output/server/node_modules/empathic/find.mjs +76 -0
  139. package/.output/server/node_modules/empathic/package.json +49 -0
  140. package/.output/server/node_modules/empathic/package.mjs +52 -0
  141. package/.output/server/node_modules/empathic/resolve.js +31 -0
  142. package/.output/server/node_modules/empathic/resolve.mjs +27 -0
  143. package/.output/server/node_modules/empathic/walk.js +22 -0
  144. package/.output/server/node_modules/empathic/walk.mjs +20 -0
  145. package/.output/server/node_modules/fast-string-truncated-width/dist/index.js +171 -0
  146. package/.output/server/node_modules/fast-string-truncated-width/dist/utils.js +15 -0
  147. package/.output/server/node_modules/fast-string-truncated-width/package.json +35 -0
  148. package/.output/server/node_modules/fast-string-width/dist/index.js +14 -0
  149. package/.output/server/node_modules/fast-string-width/package.json +34 -0
  150. package/.output/server/node_modules/fast-wrap-ansi/lib/main.js +216 -0
  151. package/.output/server/node_modules/fast-wrap-ansi/package.json +51 -0
  152. package/.output/server/node_modules/p-limit/index.js +127 -0
  153. package/.output/server/node_modules/p-limit/package.json +58 -0
  154. package/.output/server/node_modules/react-devtools-core/dist/backend.js +18302 -0
  155. package/.output/server/node_modules/react-devtools-core/package.json +38 -0
  156. package/.output/server/node_modules/sisteransi/package.json +34 -0
  157. package/.output/server/node_modules/sisteransi/src/index.js +58 -0
  158. package/.output/server/node_modules/source-map-support/package.json +31 -0
  159. package/.output/server/node_modules/source-map-support/source-map-support.js +625 -0
  160. package/.output/server/node_modules/typescript/lib/typescript.js +200276 -0
  161. package/.output/server/node_modules/typescript/package.json +120 -0
  162. package/.output/server/node_modules/yocto-queue/index.js +90 -0
  163. package/.output/server/node_modules/yocto-queue/package.json +48 -0
  164. package/.output/server/package.json +34 -2
  165. package/package.json +20 -20
  166. /package/.output/server/node_modules/{ws → .nitro/ws@8.18.0}/lib/buffer-util.js +0 -0
  167. /package/.output/server/node_modules/{ws → .nitro/ws@8.18.0}/lib/event-target.js +0 -0
  168. /package/.output/server/node_modules/{ws → .nitro/ws@8.18.0}/lib/extension.js +0 -0
  169. /package/.output/server/node_modules/{ws → .nitro/ws@8.18.0}/lib/limiter.js +0 -0
  170. /package/.output/server/node_modules/{ws → .nitro/ws@8.18.0}/lib/receiver.js +0 -0
  171. /package/.output/server/node_modules/{ws → .nitro/ws@8.18.0}/lib/subprotocol.js +0 -0
  172. /package/.output/server/node_modules/{ws → .nitro/ws@8.18.0}/lib/validation.js +0 -0
  173. /package/.output/server/node_modules/{ws → .nitro/ws@8.20.0}/lib/constants.js +0 -0
  174. /package/.output/server/node_modules/{ws → .nitro/ws@8.20.0}/lib/permessage-deflate.js +0 -0
  175. /package/.output/server/node_modules/{ws → .nitro/ws@8.20.0}/lib/sender.js +0 -0
  176. /package/.output/server/node_modules/{ws → .nitro/ws@8.20.0}/lib/stream.js +0 -0
  177. /package/.output/server/node_modules/{ws → .nitro/ws@8.20.0}/lib/websocket-server.js +0 -0
  178. /package/.output/server/node_modules/{ws → .nitro/ws@8.20.0}/lib/websocket.js +0 -0
  179. /package/.output/server/node_modules/{ws → .nitro/ws@8.20.0}/package.json +0 -0
  180. /package/.output/server/node_modules/{ws → .nitro/ws@8.20.0}/wrapper.mjs +0 -0
@@ -0,0 +1,120 @@
1
+ {
2
+ "name": "typescript",
3
+ "author": "Microsoft Corp.",
4
+ "homepage": "https://www.typescriptlang.org/",
5
+ "version": "5.9.3",
6
+ "license": "Apache-2.0",
7
+ "description": "TypeScript is a language for application scale JavaScript development",
8
+ "keywords": [
9
+ "TypeScript",
10
+ "Microsoft",
11
+ "compiler",
12
+ "language",
13
+ "javascript"
14
+ ],
15
+ "bugs": {
16
+ "url": "https://github.com/microsoft/TypeScript/issues"
17
+ },
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/microsoft/TypeScript.git"
21
+ },
22
+ "main": "./lib/typescript.js",
23
+ "typings": "./lib/typescript.d.ts",
24
+ "bin": {
25
+ "tsc": "./bin/tsc",
26
+ "tsserver": "./bin/tsserver"
27
+ },
28
+ "engines": {
29
+ "node": ">=14.17"
30
+ },
31
+ "files": [
32
+ "bin",
33
+ "lib",
34
+ "!lib/enu",
35
+ "LICENSE.txt",
36
+ "README.md",
37
+ "SECURITY.md",
38
+ "ThirdPartyNoticeText.txt",
39
+ "!**/.gitattributes"
40
+ ],
41
+ "devDependencies": {
42
+ "@dprint/formatter": "^0.4.1",
43
+ "@dprint/typescript": "0.93.4",
44
+ "@esfx/canceltoken": "^1.0.0",
45
+ "@eslint/js": "^9.20.0",
46
+ "@octokit/rest": "^21.1.1",
47
+ "@types/chai": "^4.3.20",
48
+ "@types/diff": "^7.0.1",
49
+ "@types/minimist": "^1.2.5",
50
+ "@types/mocha": "^10.0.10",
51
+ "@types/ms": "^0.7.34",
52
+ "@types/node": "latest",
53
+ "@types/source-map-support": "^0.5.10",
54
+ "@types/which": "^3.0.4",
55
+ "@typescript-eslint/rule-tester": "^8.24.1",
56
+ "@typescript-eslint/type-utils": "^8.24.1",
57
+ "@typescript-eslint/utils": "^8.24.1",
58
+ "azure-devops-node-api": "^14.1.0",
59
+ "c8": "^10.1.3",
60
+ "chai": "^4.5.0",
61
+ "chokidar": "^4.0.3",
62
+ "diff": "^7.0.0",
63
+ "dprint": "^0.49.0",
64
+ "esbuild": "^0.25.0",
65
+ "eslint": "^9.20.1",
66
+ "eslint-formatter-autolinkable-stylish": "^1.4.0",
67
+ "eslint-plugin-regexp": "^2.7.0",
68
+ "fast-xml-parser": "^4.5.2",
69
+ "glob": "^10.4.5",
70
+ "globals": "^15.15.0",
71
+ "hereby": "^1.10.0",
72
+ "jsonc-parser": "^3.3.1",
73
+ "knip": "^5.44.4",
74
+ "minimist": "^1.2.8",
75
+ "mocha": "^10.8.2",
76
+ "mocha-fivemat-progress-reporter": "^0.1.0",
77
+ "monocart-coverage-reports": "^2.12.1",
78
+ "ms": "^2.1.3",
79
+ "picocolors": "^1.1.1",
80
+ "playwright": "^1.50.1",
81
+ "source-map-support": "^0.5.21",
82
+ "tslib": "^2.8.1",
83
+ "typescript": "^5.7.3",
84
+ "typescript-eslint": "^8.24.1",
85
+ "which": "^3.0.1"
86
+ },
87
+ "overrides": {
88
+ "typescript@*": "$typescript"
89
+ },
90
+ "scripts": {
91
+ "test": "hereby runtests-parallel --light=false",
92
+ "test:eslint-rules": "hereby run-eslint-rules-tests",
93
+ "build": "npm run build:compiler && npm run build:tests",
94
+ "build:compiler": "hereby local",
95
+ "build:tests": "hereby tests",
96
+ "build:tests:notypecheck": "hereby tests --no-typecheck",
97
+ "clean": "hereby clean",
98
+ "gulp": "hereby",
99
+ "lint": "hereby lint",
100
+ "knip": "hereby knip",
101
+ "format": "dprint fmt",
102
+ "setup-hooks": "node scripts/link-hooks.mjs"
103
+ },
104
+ "browser": {
105
+ "fs": false,
106
+ "os": false,
107
+ "path": false,
108
+ "crypto": false,
109
+ "buffer": false,
110
+ "source-map-support": false,
111
+ "inspector": false,
112
+ "perf_hooks": false
113
+ },
114
+ "packageManager": "npm@8.19.4",
115
+ "volta": {
116
+ "node": "20.1.0",
117
+ "npm": "8.19.4"
118
+ },
119
+ "gitHead": "c63de15a992d37f0d6cec03ac7631872838602cb"
120
+ }
@@ -0,0 +1,90 @@
1
+ /*
2
+ How it works:
3
+ `this.#head` is an instance of `Node` which keeps track of its current value and nests another instance of `Node` that keeps the value that comes after it. When a value is provided to `.enqueue()`, the code needs to iterate through `this.#head`, going deeper and deeper to find the last value. However, iterating through every single item is slow. This problem is solved by saving a reference to the last value as `this.#tail` so that it can reference it to add a new value.
4
+ */
5
+
6
+ class Node {
7
+ value;
8
+ next;
9
+
10
+ constructor(value) {
11
+ this.value = value;
12
+ }
13
+ }
14
+
15
+ export default class Queue {
16
+ #head;
17
+ #tail;
18
+ #size;
19
+
20
+ constructor() {
21
+ this.clear();
22
+ }
23
+
24
+ enqueue(value) {
25
+ const node = new Node(value);
26
+
27
+ if (this.#head) {
28
+ this.#tail.next = node;
29
+ this.#tail = node;
30
+ } else {
31
+ this.#head = node;
32
+ this.#tail = node;
33
+ }
34
+
35
+ this.#size++;
36
+ }
37
+
38
+ dequeue() {
39
+ const current = this.#head;
40
+ if (!current) {
41
+ return;
42
+ }
43
+
44
+ this.#head = this.#head.next;
45
+ this.#size--;
46
+
47
+ // Clean up tail reference when queue becomes empty
48
+ if (!this.#head) {
49
+ this.#tail = undefined;
50
+ }
51
+
52
+ return current.value;
53
+ }
54
+
55
+ peek() {
56
+ if (!this.#head) {
57
+ return;
58
+ }
59
+
60
+ return this.#head.value;
61
+
62
+ // TODO: Node.js 18.
63
+ // return this.#head?.value;
64
+ }
65
+
66
+ clear() {
67
+ this.#head = undefined;
68
+ this.#tail = undefined;
69
+ this.#size = 0;
70
+ }
71
+
72
+ get size() {
73
+ return this.#size;
74
+ }
75
+
76
+ * [Symbol.iterator]() {
77
+ let current = this.#head;
78
+
79
+ while (current) {
80
+ yield current.value;
81
+ current = current.next;
82
+ }
83
+ }
84
+
85
+ * drain() {
86
+ while (this.#head) {
87
+ yield this.dequeue();
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "yocto-queue",
3
+ "version": "1.2.2",
4
+ "description": "Tiny queue data structure",
5
+ "license": "MIT",
6
+ "repository": "sindresorhus/yocto-queue",
7
+ "funding": "https://github.com/sponsors/sindresorhus",
8
+ "author": {
9
+ "name": "Sindre Sorhus",
10
+ "email": "sindresorhus@gmail.com",
11
+ "url": "https://sindresorhus.com"
12
+ },
13
+ "type": "module",
14
+ "exports": "./index.js",
15
+ "types": "./index.d.ts",
16
+ "sideEffects": false,
17
+ "engines": {
18
+ "node": ">=12.20"
19
+ },
20
+ "scripts": {
21
+ "//test": "xo && ava && tsd",
22
+ "test": "ava && tsd"
23
+ },
24
+ "files": [
25
+ "index.js",
26
+ "index.d.ts"
27
+ ],
28
+ "keywords": [
29
+ "queue",
30
+ "data",
31
+ "structure",
32
+ "algorithm",
33
+ "queues",
34
+ "queuing",
35
+ "list",
36
+ "array",
37
+ "linkedlist",
38
+ "fifo",
39
+ "enqueue",
40
+ "dequeue",
41
+ "data-structure"
42
+ ],
43
+ "devDependencies": {
44
+ "ava": "^3.15.0",
45
+ "tsd": "^0.17.0",
46
+ "xo": "^0.44.0"
47
+ }
48
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/agent-prod",
3
- "version": "5.0.0-alpha.35",
3
+ "version": "5.0.0-alpha.36",
4
4
  "type": "module",
5
5
  "private": true,
6
6
  "dependencies": {
@@ -8,7 +8,28 @@
8
8
  "@babel/code-frame": "7.29.0",
9
9
  "@babel/helper-validator-identifier": "7.28.5",
10
10
  "@babel/runtime": "7.29.2",
11
+ "@clack/core": "1.2.0",
12
+ "@clack/prompts": "1.2.0",
11
13
  "@humanwhocodes/momoa": "2.0.4",
14
+ "@kubb/ast": "4.37.2",
15
+ "@kubb/core": "4.37.2",
16
+ "@kubb/fabric-core": "0.14.0",
17
+ "@kubb/oas": "4.37.2",
18
+ "@kubb/plugin-client": "4.37.2",
19
+ "@kubb/plugin-cypress": "4.37.2",
20
+ "@kubb/plugin-faker": "4.37.2",
21
+ "@kubb/plugin-mcp": "4.37.2",
22
+ "@kubb/plugin-msw": "4.37.2",
23
+ "@kubb/plugin-oas": "4.37.2",
24
+ "@kubb/plugin-react-query": "4.37.2",
25
+ "@kubb/plugin-redoc": "4.37.2",
26
+ "@kubb/plugin-solid-query": "4.37.2",
27
+ "@kubb/plugin-svelte-query": "4.37.2",
28
+ "@kubb/plugin-swr": "4.37.2",
29
+ "@kubb/plugin-ts": "4.37.2",
30
+ "@kubb/plugin-vue-query": "4.37.2",
31
+ "@kubb/plugin-zod": "4.37.2",
32
+ "@kubb/react-fabric": "0.14.0",
12
33
  "@logtail/core": "0.5.8",
13
34
  "@logtail/node": "0.5.8",
14
35
  "@logtail/tools": "0.5.8",
@@ -30,6 +51,7 @@
30
51
  "ajv-draft-04": "1.0.0",
31
52
  "ajv-formats": "3.0.1",
32
53
  "anymatch": "3.1.3",
54
+ "buffer-from": "1.1.2",
33
55
  "call-me-maybe": "1.0.2",
34
56
  "chokidar": "5.0.0",
35
57
  "colorette": "1.4.0",
@@ -37,13 +59,17 @@
37
59
  "compute-lcm": "1.1.2",
38
60
  "consola": "3.4.2",
39
61
  "d": "1.0.2",
62
+ "empathic": "2.0.0",
40
63
  "es5-ext": "0.10.64",
41
64
  "es6-symbol": "3.1.4",
42
65
  "event-emitter": "0.3.5",
43
66
  "ext": "1.7.0",
44
67
  "fast-deep-equal": "3.1.3",
45
68
  "fast-safe-stringify": "2.1.1",
69
+ "fast-string-truncated-width": "1.2.1",
70
+ "fast-string-width": "1.1.0",
46
71
  "fast-uri": "3.1.0",
72
+ "fast-wrap-ansi": "0.1.6",
47
73
  "fflate": "0.8.2",
48
74
  "handlebars": "4.7.9",
49
75
  "http2-client": "1.3.5",
@@ -72,23 +98,28 @@
72
98
  "oas-normalize": "16.0.4",
73
99
  "oas-resolver": "2.5.6",
74
100
  "oas-schema-walker": "1.1.5",
101
+ "p-limit": "7.3.0",
75
102
  "path-to-regexp": "8.4.2",
76
103
  "picocolors": "1.1.1",
77
104
  "picomatch": "2.3.2",
78
105
  "pluralize": "8.0.0",
106
+ "react-devtools-core": "6.1.5",
79
107
  "readdirp": "5.0.0",
80
108
  "reftools": "1.1.9",
81
109
  "remeda": "2.33.7",
82
110
  "remove-undefined-objects": "7.0.0",
83
111
  "semver": "7.7.4",
84
112
  "serialize-error": "8.1.0",
113
+ "sisteransi": "1.0.5",
85
114
  "source-map": "0.6.1",
115
+ "source-map-support": "0.5.21",
86
116
  "stack-trace": "0.0.10",
87
117
  "swagger2openapi": "7.0.8",
88
118
  "timers-ext": "0.1.8",
89
119
  "tinyexec": "1.1.1",
90
120
  "tslib": "2.8.1",
91
121
  "type": "2.7.3",
122
+ "typescript": "5.9.3",
92
123
  "validate.io-array": "1.0.6",
93
124
  "validate.io-function": "1.0.2",
94
125
  "validate.io-integer": "1.0.5",
@@ -96,6 +127,7 @@
96
127
  "validate.io-number": "1.0.3",
97
128
  "ws": "8.20.0",
98
129
  "yaml": "1.10.3",
99
- "yaml-ast-parser": "0.0.43"
130
+ "yaml-ast-parser": "0.0.43",
131
+ "yocto-queue": "1.2.2"
100
132
  }
101
133
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/agent",
3
- "version": "5.0.0-alpha.35",
3
+ "version": "5.0.0-alpha.36",
4
4
  "description": "Agent server for Kubb, enabling HTTP-based access to code generation capabilities.",
5
5
  "keywords": [
6
6
  "agent",
@@ -32,6 +32,20 @@
32
32
  "!/**/__snapshots__/**"
33
33
  ],
34
34
  "dependencies": {
35
+ "@kubb/plugin-client": "latest",
36
+ "@kubb/plugin-cypress": "latest",
37
+ "@kubb/plugin-faker": "latest",
38
+ "@kubb/plugin-mcp": "latest",
39
+ "@kubb/plugin-msw": "latest",
40
+ "@kubb/plugin-oas": "latest",
41
+ "@kubb/plugin-react-query": "latest",
42
+ "@kubb/plugin-redoc": "latest",
43
+ "@kubb/plugin-solid-query": "latest",
44
+ "@kubb/plugin-svelte-query": "latest",
45
+ "@kubb/plugin-swr": "latest",
46
+ "@kubb/plugin-ts": "latest",
47
+ "@kubb/plugin-vue-query": "latest",
48
+ "@kubb/plugin-zod": "latest",
35
49
  "@logtail/node": "^0.5.8",
36
50
  "consola": "^3.4.2",
37
51
  "jiti": "2.5.1",
@@ -39,28 +53,14 @@
39
53
  "tinyexec": "^1.1.1",
40
54
  "unstorage": "^1.17.5",
41
55
  "ws": "^8.20.0",
42
- "@kubb/adapter-oas": "5.0.0-alpha.35",
43
- "@kubb/core": "5.0.0-alpha.35",
44
- "@kubb/plugin-client": "5.0.0-alpha.35",
45
- "@kubb/ast": "5.0.0-alpha.35",
46
- "@kubb/parser-ts": "5.0.0-alpha.35",
47
- "@kubb/plugin-cypress": "5.0.0-alpha.35",
48
- "@kubb/plugin-faker": "5.0.0-alpha.35",
49
- "@kubb/plugin-mcp": "5.0.0-alpha.35",
50
- "@kubb/plugin-oas": "5.0.0-alpha.35",
51
- "@kubb/plugin-react-query": "5.0.0-alpha.35",
52
- "@kubb/plugin-msw": "5.0.0-alpha.35",
53
- "@kubb/plugin-redoc": "5.0.0-alpha.35",
54
- "@kubb/plugin-solid-query": "5.0.0-alpha.35",
55
- "@kubb/plugin-swr": "5.0.0-alpha.35",
56
- "@kubb/plugin-ts": "5.0.0-alpha.35",
57
- "@kubb/plugin-vue-query": "5.0.0-alpha.35",
58
- "@kubb/plugin-svelte-query": "5.0.0-alpha.35",
59
- "@kubb/plugin-zod": "5.0.0-alpha.35"
56
+ "@kubb/adapter-oas": "5.0.0-alpha.36",
57
+ "@kubb/ast": "5.0.0-alpha.36",
58
+ "@kubb/core": "5.0.0-alpha.36",
59
+ "@kubb/parser-ts": "5.0.0-alpha.36"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/ws": "^8.18.1",
63
- "msw": "^2.13.3",
63
+ "msw": "^2.13.4",
64
64
  "nitropack": "^2.13.3",
65
65
  "vite": "^7.3.2",
66
66
  "@internals/utils": "0.0.0"