@surething/cockpit 1.0.208 → 1.0.209

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 (568) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +11 -9
  3. package/.next-prod/build-manifest.json +3 -3
  4. package/.next-prod/prerender-manifest.json +3 -3
  5. package/.next-prod/react-loadable-manifest.json +25 -1
  6. package/.next-prod/routes-manifest.json +12 -0
  7. package/.next-prod/server/app/_global-error/page.js +3 -3
  8. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next-prod/server/app/_global-error.html +1 -1
  11. package/.next-prod/server/app/_global-error.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  15. package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +1 -1
  16. package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +1 -1
  17. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  18. package/.next-prod/server/app/_not-found/page.js +2 -2
  19. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
  20. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  21. package/.next-prod/server/app/_not-found.html +1 -1
  22. package/.next-prod/server/app/_not-found.rsc +16 -17
  23. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +16 -17
  24. package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
  25. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +5 -6
  26. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  27. package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  28. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  29. package/.next-prod/server/app/api/agent/test/route.js +1 -0
  30. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -0
  31. package/.next-prod/server/app/api/agent/test/route_client-reference-manifest.js +1 -0
  32. package/.next-prod/server/app/api/bash/route.js +1 -1
  33. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  34. package/.next-prod/server/app/api/chat/codex/route.js +18 -18
  35. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  36. package/.next-prod/server/app/api/chat/deepseek/route.js +4 -4
  37. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  38. package/.next-prod/server/app/api/chat/kimi/route.js +18 -18
  39. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  40. package/.next-prod/server/app/api/chat/ollama/route.js +20 -109
  41. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  42. package/.next-prod/server/app/api/chat/route.js +4 -4
  43. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  44. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  45. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  46. package/.next-prod/server/app/api/commands/route.js +1 -1
  47. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  48. package/.next-prod/server/app/api/comments/route.js +1 -1
  49. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  50. package/.next-prod/server/app/api/db/columns/route.js +15 -15
  51. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  52. package/.next-prod/server/app/api/db/connect/route.js +3 -1
  53. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  54. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  55. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  56. package/.next-prod/server/app/api/db/export/route.js +1 -1
  57. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  58. package/.next-prod/server/app/api/db/query/route.js +1 -1
  59. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  60. package/.next-prod/server/app/api/db/schemas/route.js +2 -2
  61. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  62. package/.next-prod/server/app/api/dev/spans/route.js +1 -0
  63. package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -0
  64. package/.next-prod/server/app/api/dev/spans/route_client-reference-manifest.js +1 -0
  65. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  66. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  67. package/.next-prod/server/app/api/file/route.js +1 -1
  68. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  69. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  70. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  71. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  72. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  73. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  74. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  75. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  76. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  77. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  78. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  79. package/.next-prod/server/app/api/files/index/route.js +1 -1
  80. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  81. package/.next-prod/server/app/api/files/init/route.js +1 -1
  82. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  83. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  84. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  85. package/.next-prod/server/app/api/files/read/route.js +1 -1
  86. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  87. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  88. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  89. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  90. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  91. package/.next-prod/server/app/api/files/save/route.js +1 -1
  92. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  93. package/.next-prod/server/app/api/files/search/route.js +1 -1
  94. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  95. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  96. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  97. package/.next-prod/server/app/api/files/text/route.js +1 -1
  98. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  99. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  100. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  101. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  102. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  103. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  104. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  105. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  106. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  107. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  108. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  109. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  110. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  111. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  112. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  113. package/.next-prod/server/app/api/git/status/route.js +1 -1
  114. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  115. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  116. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  117. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  118. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  119. package/.next-prod/server/app/api/global-state/route.js +1 -1
  120. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  121. package/.next-prod/server/app/api/jupyter/load/route.js +1 -1
  122. package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -1
  123. package/.next-prod/server/app/api/jupyter/save/route.js +1 -1
  124. package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -1
  125. package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -1
  126. package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -1
  127. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  128. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  129. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  130. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  131. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  132. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  133. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  134. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  135. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  136. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  137. package/.next-prod/server/app/api/mysql/columns/route.js +9 -9
  138. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  139. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  140. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  141. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  142. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  143. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  144. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  145. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  146. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  147. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  148. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  149. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  150. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  151. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  152. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  153. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  154. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  155. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  156. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  157. package/.next-prod/server/app/api/note/route.js +1 -1
  158. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  159. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  160. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  161. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  162. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  163. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  164. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  165. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  166. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  167. package/.next-prod/server/app/api/pick-folder/route.js +1 -1
  168. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
  169. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  170. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  171. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  172. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  173. package/.next-prod/server/app/api/project-state/route.js +1 -1
  174. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  175. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  176. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  177. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  178. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  179. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  180. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  181. package/.next-prod/server/app/api/projects/route.js +1 -1
  182. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  183. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  184. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  185. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  186. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  187. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  188. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  189. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  190. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  191. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  192. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  193. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  194. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  195. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  196. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  197. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  198. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  199. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  200. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  201. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  202. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  203. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  204. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  205. package/.next-prod/server/app/api/review/order/route.js +1 -1
  206. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  207. package/.next-prod/server/app/api/review/route.js +1 -1
  208. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  209. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  210. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  211. package/.next-prod/server/app/api/review/users/route.js +1 -1
  212. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  213. package/.next-prod/server/app/api/scheduled-tasks/route.js +1 -1
  214. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  215. package/.next-prod/server/app/api/services/config/route.js +1 -1
  216. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  217. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  218. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  219. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  220. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  221. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  222. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  223. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  224. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  225. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  226. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  227. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  228. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  229. package/.next-prod/server/app/api/sessions/route.js +1 -1
  230. package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
  231. package/.next-prod/server/app/api/settings/route.js +1 -1
  232. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  233. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  234. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  235. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  236. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  237. package/.next-prod/server/app/api/skills/route.js +1 -1
  238. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  239. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  240. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  241. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  242. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  243. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  244. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  245. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  246. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  247. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  248. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  249. package/.next-prod/server/app/api/version/route.js +1 -1
  250. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  251. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  252. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  253. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  254. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  255. package/.next-prod/server/app/manifest.webmanifest.body +1 -1
  256. package/.next-prod/server/app/page.js +2 -2
  257. package/.next-prod/server/app/page.js.nft.json +1 -1
  258. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  259. package/.next-prod/server/app/project/page.js +2 -2
  260. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  261. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  262. package/.next-prod/server/app/review/[id]/page.js +2 -2
  263. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  264. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  265. package/.next-prod/server/app-paths-manifest.json +11 -9
  266. package/.next-prod/server/chunks/2728.js +1 -0
  267. package/.next-prod/server/chunks/304.js +1 -0
  268. package/.next-prod/server/chunks/3718.js +1 -0
  269. package/.next-prod/server/chunks/3863.js +1 -0
  270. package/.next-prod/server/chunks/4034.js +114 -0
  271. package/.next-prod/server/chunks/5159.js +1 -0
  272. package/.next-prod/server/chunks/{6007.js → 5292.js} +2 -2
  273. package/.next-prod/server/chunks/5616.js +1 -0
  274. package/.next-prod/server/chunks/6955.js +1 -0
  275. package/.next-prod/server/chunks/7184.js +244 -0
  276. package/.next-prod/server/chunks/8916.js +1 -0
  277. package/.next-prod/server/chunks/9658.js +42 -0
  278. package/.next-prod/server/functions-config-manifest.json +2 -0
  279. package/.next-prod/server/middleware-build-manifest.js +1 -1
  280. package/.next-prod/server/middleware-react-loadable-manifest.js +1 -1
  281. package/.next-prod/server/pages/404.html +1 -1
  282. package/.next-prod/server/pages/500.html +1 -1
  283. package/.next-prod/server/server-reference-manifest.json +1 -1
  284. package/.next-prod/static/chunks/2580.69af80de5bcfcefe.js +1 -0
  285. package/.next-prod/static/chunks/2708.7263182a029113c8.js +1 -0
  286. package/.next-prod/static/chunks/327-9ffab8f0b2b0b4cd.js +13 -0
  287. package/.next-prod/static/chunks/{5204-c8293184aa55cdd5.js → 5204-babf0d0290febbec.js} +1 -1
  288. package/.next-prod/static/chunks/6345-3c06cdc8c89677b8.js +14 -0
  289. package/.next-prod/static/chunks/7562.8fdc3abdd45c77ab.js +1 -0
  290. package/.next-prod/static/chunks/8024-a869e23f4e8e5b38.js +29 -0
  291. package/.next-prod/static/chunks/9012.6ed079104670001d.js +1 -0
  292. package/.next-prod/static/chunks/9617.d038e8ea9fc93e24.js +1 -0
  293. package/.next-prod/static/chunks/96c8525a-f1e0653013503d49.js +2 -0
  294. package/.next-prod/static/chunks/app/_global-error/page-826847d169541fa9.js +1 -0
  295. package/.next-prod/static/chunks/app/api/agent/test/route-826847d169541fa9.js +1 -0
  296. package/.next-prod/static/chunks/app/api/bash/route-826847d169541fa9.js +1 -0
  297. package/.next-prod/static/chunks/app/api/chat/codex/route-826847d169541fa9.js +1 -0
  298. package/.next-prod/static/chunks/app/api/chat/deepseek/route-826847d169541fa9.js +1 -0
  299. package/.next-prod/static/chunks/app/api/chat/kimi/route-826847d169541fa9.js +1 -0
  300. package/.next-prod/static/chunks/app/api/chat/ollama/route-826847d169541fa9.js +1 -0
  301. package/.next-prod/static/chunks/app/api/chat/route-826847d169541fa9.js +1 -0
  302. package/.next-prod/static/chunks/app/api/claude-stats/route-826847d169541fa9.js +1 -0
  303. package/.next-prod/static/chunks/app/api/commands/route-826847d169541fa9.js +1 -0
  304. package/.next-prod/static/chunks/app/api/comments/route-826847d169541fa9.js +1 -0
  305. package/.next-prod/static/chunks/app/api/db/columns/route-826847d169541fa9.js +1 -0
  306. package/.next-prod/static/chunks/app/api/db/connect/route-826847d169541fa9.js +1 -0
  307. package/.next-prod/static/chunks/app/api/db/disconnect/route-826847d169541fa9.js +1 -0
  308. package/.next-prod/static/chunks/app/api/db/export/route-826847d169541fa9.js +1 -0
  309. package/.next-prod/static/chunks/app/api/db/query/route-826847d169541fa9.js +1 -0
  310. package/.next-prod/static/chunks/app/api/db/schemas/route-826847d169541fa9.js +1 -0
  311. package/.next-prod/static/chunks/app/api/dev/spans/route-826847d169541fa9.js +1 -0
  312. package/.next-prod/static/chunks/app/api/extension/version/route-826847d169541fa9.js +1 -0
  313. package/.next-prod/static/chunks/app/api/file/route-826847d169541fa9.js +1 -0
  314. package/.next-prod/static/chunks/app/api/files/blame/route-826847d169541fa9.js +1 -0
  315. package/.next-prod/static/chunks/app/api/files/clipboard/route-826847d169541fa9.js +1 -0
  316. package/.next-prod/static/chunks/app/api/files/copy/route-826847d169541fa9.js +1 -0
  317. package/.next-prod/static/chunks/app/api/files/delete/route-826847d169541fa9.js +1 -0
  318. package/.next-prod/static/chunks/app/api/files/expanded/route-826847d169541fa9.js +1 -0
  319. package/.next-prod/static/chunks/app/api/files/index/route-826847d169541fa9.js +1 -0
  320. package/.next-prod/static/chunks/app/api/files/init/route-826847d169541fa9.js +1 -0
  321. package/.next-prod/static/chunks/app/api/files/paste/route-826847d169541fa9.js +1 -0
  322. package/.next-prod/static/chunks/app/api/files/read/route-826847d169541fa9.js +1 -0
  323. package/.next-prod/static/chunks/app/api/files/readdir/route-826847d169541fa9.js +1 -0
  324. package/.next-prod/static/chunks/app/api/files/recent/route-826847d169541fa9.js +1 -0
  325. package/.next-prod/static/chunks/app/api/files/save/route-826847d169541fa9.js +1 -0
  326. package/.next-prod/static/chunks/app/api/files/search/route-826847d169541fa9.js +1 -0
  327. package/.next-prod/static/chunks/app/api/files/stat/route-826847d169541fa9.js +1 -0
  328. package/.next-prod/static/chunks/app/api/files/text/route-826847d169541fa9.js +1 -0
  329. package/.next-prod/static/chunks/app/api/git/branch-diff/route-826847d169541fa9.js +1 -0
  330. package/.next-prod/static/chunks/app/api/git/branches/route-826847d169541fa9.js +1 -0
  331. package/.next-prod/static/chunks/app/api/git/commit-diff/route-826847d169541fa9.js +1 -0
  332. package/.next-prod/static/chunks/app/api/git/commits/route-826847d169541fa9.js +1 -0
  333. package/.next-prod/static/chunks/app/api/git/diff/route-826847d169541fa9.js +1 -0
  334. package/.next-prod/static/chunks/app/api/git/discard/route-826847d169541fa9.js +1 -0
  335. package/.next-prod/static/chunks/app/api/git/stage/route-826847d169541fa9.js +1 -0
  336. package/.next-prod/static/chunks/app/api/git/status/route-826847d169541fa9.js +1 -0
  337. package/.next-prod/static/chunks/app/api/git/unstage/route-826847d169541fa9.js +1 -0
  338. package/.next-prod/static/chunks/app/api/git/worktree/route-826847d169541fa9.js +1 -0
  339. package/.next-prod/static/chunks/app/api/global-state/route-826847d169541fa9.js +1 -0
  340. package/.next-prod/static/chunks/app/api/jupyter/load/route-826847d169541fa9.js +1 -0
  341. package/.next-prod/static/chunks/app/api/jupyter/save/route-826847d169541fa9.js +1 -0
  342. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-826847d169541fa9.js +1 -0
  343. package/.next-prod/static/chunks/app/api/lsp/definition/route-826847d169541fa9.js +1 -0
  344. package/.next-prod/static/chunks/app/api/lsp/hover/route-826847d169541fa9.js +1 -0
  345. package/.next-prod/static/chunks/app/api/lsp/references/route-826847d169541fa9.js +1 -0
  346. package/.next-prod/static/chunks/app/api/lsp/status/route-826847d169541fa9.js +1 -0
  347. package/.next-prod/static/chunks/app/api/lsp/warmup/route-826847d169541fa9.js +1 -0
  348. package/.next-prod/static/chunks/app/api/mysql/columns/route-826847d169541fa9.js +1 -0
  349. package/.next-prod/static/chunks/app/api/mysql/connect/route-826847d169541fa9.js +1 -0
  350. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-826847d169541fa9.js +1 -0
  351. package/.next-prod/static/chunks/app/api/mysql/export/route-826847d169541fa9.js +1 -0
  352. package/.next-prod/static/chunks/app/api/mysql/query/route-826847d169541fa9.js +1 -0
  353. package/.next-prod/static/chunks/app/api/mysql/schemas/route-826847d169541fa9.js +1 -0
  354. package/.next-prod/static/chunks/app/api/neo4j/connect/route-826847d169541fa9.js +1 -0
  355. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-826847d169541fa9.js +1 -0
  356. package/.next-prod/static/chunks/app/api/neo4j/query/route-826847d169541fa9.js +1 -0
  357. package/.next-prod/static/chunks/app/api/neo4j/schema/route-826847d169541fa9.js +1 -0
  358. package/.next-prod/static/chunks/app/api/note/route-826847d169541fa9.js +1 -0
  359. package/.next-prod/static/chunks/app/api/ollama/models/route-826847d169541fa9.js +1 -0
  360. package/.next-prod/static/chunks/app/api/ollama/start/route-826847d169541fa9.js +1 -0
  361. package/.next-prod/static/chunks/app/api/open-cursor/route-826847d169541fa9.js +1 -0
  362. package/.next-prod/static/chunks/app/api/open-vscode/route-826847d169541fa9.js +1 -0
  363. package/.next-prod/static/chunks/app/api/pick-folder/route-826847d169541fa9.js +1 -0
  364. package/.next-prod/static/chunks/app/api/pinned-sessions/route-826847d169541fa9.js +1 -0
  365. package/.next-prod/static/chunks/app/api/project-settings/route-826847d169541fa9.js +1 -0
  366. package/.next-prod/static/chunks/app/api/project-state/route-826847d169541fa9.js +1 -0
  367. package/.next-prod/static/chunks/app/api/projectGraph/file/route-826847d169541fa9.js +1 -0
  368. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-826847d169541fa9.js +1 -0
  369. package/.next-prod/static/chunks/app/api/projectGraph/search/route-826847d169541fa9.js +1 -0
  370. package/.next-prod/static/chunks/app/api/projects/route-826847d169541fa9.js +1 -0
  371. package/.next-prod/static/chunks/app/api/redis/command/route-826847d169541fa9.js +1 -0
  372. package/.next-prod/static/chunks/app/api/redis/connect/route-826847d169541fa9.js +1 -0
  373. package/.next-prod/static/chunks/app/api/redis/delete/route-826847d169541fa9.js +1 -0
  374. package/.next-prod/static/chunks/app/api/redis/disconnect/route-826847d169541fa9.js +1 -0
  375. package/.next-prod/static/chunks/app/api/redis/get/route-826847d169541fa9.js +1 -0
  376. package/.next-prod/static/chunks/app/api/redis/keys/route-826847d169541fa9.js +1 -0
  377. package/.next-prod/static/chunks/app/api/redis/set/route-826847d169541fa9.js +1 -0
  378. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-826847d169541fa9.js +1 -0
  379. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-826847d169541fa9.js +1 -0
  380. package/.next-prod/static/chunks/app/api/review/[id]/route-826847d169541fa9.js +1 -0
  381. package/.next-prod/static/chunks/app/api/review/identify/route-826847d169541fa9.js +1 -0
  382. package/.next-prod/static/chunks/app/api/review/order/route-826847d169541fa9.js +1 -0
  383. package/.next-prod/static/chunks/app/api/review/route-826847d169541fa9.js +1 -0
  384. package/.next-prod/static/chunks/app/api/review/share-info/route-826847d169541fa9.js +1 -0
  385. package/.next-prod/static/chunks/app/api/review/users/route-826847d169541fa9.js +1 -0
  386. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-826847d169541fa9.js +1 -0
  387. package/.next-prod/static/chunks/app/api/services/config/route-826847d169541fa9.js +1 -0
  388. package/.next-prod/static/chunks/app/api/services/scripts/route-826847d169541fa9.js +1 -0
  389. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-826847d169541fa9.js +1 -0
  390. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-826847d169541fa9.js +1 -0
  391. package/.next-prod/static/chunks/app/api/session-by-path/route-826847d169541fa9.js +1 -0
  392. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-826847d169541fa9.js +1 -0
  393. package/.next-prod/static/chunks/app/api/sessions/projects/route-826847d169541fa9.js +1 -0
  394. package/.next-prod/static/chunks/app/api/sessions/route-826847d169541fa9.js +1 -0
  395. package/.next-prod/static/chunks/app/api/settings/route-826847d169541fa9.js +1 -0
  396. package/.next-prod/static/chunks/app/api/skills/[id]/route-826847d169541fa9.js +1 -0
  397. package/.next-prod/static/chunks/app/api/skills/content/route-826847d169541fa9.js +1 -0
  398. package/.next-prod/static/chunks/app/api/skills/route-826847d169541fa9.js +1 -0
  399. package/.next-prod/static/chunks/app/api/terminal/aliases/route-826847d169541fa9.js +1 -0
  400. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-826847d169541fa9.js +1 -0
  401. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-826847d169541fa9.js +1 -0
  402. package/.next-prod/static/chunks/app/api/terminal/env/route-826847d169541fa9.js +1 -0
  403. package/.next-prod/static/chunks/app/api/terminal/history/route-826847d169541fa9.js +1 -0
  404. package/.next-prod/static/chunks/app/api/version/route-826847d169541fa9.js +1 -0
  405. package/.next-prod/static/chunks/app/layout-e3b4c334b1eceb18.js +1 -0
  406. package/.next-prod/static/chunks/app/manifest.webmanifest/route-826847d169541fa9.js +1 -0
  407. package/.next-prod/static/chunks/app/{page-db32ebfdf1ac9174.js → page-3d87bb74a7b3d36e.js} +1 -1
  408. package/.next-prod/static/chunks/app/project/{page-db32ebfdf1ac9174.js → page-3d87bb74a7b3d36e.js} +1 -1
  409. package/.next-prod/static/chunks/app/review/[id]/page-7db3a48a13f1840c.js +1 -0
  410. package/.next-prod/static/chunks/bc21e3dd-a78364524623b9b0.js +1 -0
  411. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-826847d169541fa9.js +1 -0
  412. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-826847d169541fa9.js +1 -0
  413. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-826847d169541fa9.js +1 -0
  414. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-826847d169541fa9.js +1 -0
  415. package/.next-prod/static/chunks/webpack-b618ac52d349e5ca.js +1 -0
  416. package/.next-prod/static/css/dcde719317bea028.css +1 -0
  417. package/.next-prod/static/zlybFiR-nH1wBW1--beGo/_buildManifest.js +1 -0
  418. package/.next-prod/trace +12 -12
  419. package/.next-prod/trace-build +1 -1
  420. package/.next-prod/types/app/api/agent/test/route.ts +351 -0
  421. package/.next-prod/types/app/api/dev/spans/route.ts +351 -0
  422. package/.next-prod/types/routes.d.ts +3 -1
  423. package/.next-prod/types/validator.ts +18 -0
  424. package/README.md +29 -8
  425. package/README.zh.md +30 -9
  426. package/dist/{chunk-VCZEGP64.mjs → chunk-FBR4KJI5.mjs} +24 -250
  427. package/dist/chunk-OWUW2O3D.mjs +28475 -0
  428. package/dist/{chunk-RSHKDWJM.mjs → chunk-TXBVUZVH.mjs} +94 -0
  429. package/dist/httpApi.mjs +239 -0
  430. package/dist/scheduledTasks.mjs +1239 -66
  431. package/dist/{server-K6XWP7DX.mjs → server-E7G55DY7.mjs} +9 -10
  432. package/dist/wsServer.mjs +867 -704
  433. package/package.json +15 -2
  434. package/server.mjs +3 -1
  435. package/.next-prod/server/chunks/240.js +0 -1
  436. package/.next-prod/server/chunks/3204.js +0 -42
  437. package/.next-prod/server/chunks/5466.js +0 -1
  438. package/.next-prod/server/chunks/7264.js +0 -5
  439. package/.next-prod/server/chunks/8750.js +0 -1
  440. package/.next-prod/server/chunks/900.js +0 -1
  441. package/.next-prod/server/chunks/9255.js +0 -1
  442. package/.next-prod/server/chunks/9755.js +0 -101
  443. package/.next-prod/server/chunks/987.js +0 -139
  444. package/.next-prod/static/WsSesL2O_jRoZztt2Y5r6/_buildManifest.js +0 -1
  445. package/.next-prod/static/chunks/327.8ecab0b86d52b597.js +0 -1
  446. package/.next-prod/static/chunks/5660-3d87dfb12f95e96d.js +0 -29
  447. package/.next-prod/static/chunks/6028-1d6ced1439a3f01f.js +0 -1
  448. package/.next-prod/static/chunks/6345-6b34b0528ff833a1.js +0 -14
  449. package/.next-prod/static/chunks/app/_global-error/page-7975a2b8c7d0b214.js +0 -1
  450. package/.next-prod/static/chunks/app/api/bash/route-7975a2b8c7d0b214.js +0 -1
  451. package/.next-prod/static/chunks/app/api/chat/codex/route-7975a2b8c7d0b214.js +0 -1
  452. package/.next-prod/static/chunks/app/api/chat/deepseek/route-7975a2b8c7d0b214.js +0 -1
  453. package/.next-prod/static/chunks/app/api/chat/kimi/route-7975a2b8c7d0b214.js +0 -1
  454. package/.next-prod/static/chunks/app/api/chat/ollama/route-7975a2b8c7d0b214.js +0 -1
  455. package/.next-prod/static/chunks/app/api/chat/route-7975a2b8c7d0b214.js +0 -1
  456. package/.next-prod/static/chunks/app/api/claude-stats/route-7975a2b8c7d0b214.js +0 -1
  457. package/.next-prod/static/chunks/app/api/commands/route-7975a2b8c7d0b214.js +0 -1
  458. package/.next-prod/static/chunks/app/api/comments/route-7975a2b8c7d0b214.js +0 -1
  459. package/.next-prod/static/chunks/app/api/db/columns/route-7975a2b8c7d0b214.js +0 -1
  460. package/.next-prod/static/chunks/app/api/db/connect/route-7975a2b8c7d0b214.js +0 -1
  461. package/.next-prod/static/chunks/app/api/db/disconnect/route-7975a2b8c7d0b214.js +0 -1
  462. package/.next-prod/static/chunks/app/api/db/export/route-7975a2b8c7d0b214.js +0 -1
  463. package/.next-prod/static/chunks/app/api/db/query/route-7975a2b8c7d0b214.js +0 -1
  464. package/.next-prod/static/chunks/app/api/db/schemas/route-7975a2b8c7d0b214.js +0 -1
  465. package/.next-prod/static/chunks/app/api/extension/version/route-7975a2b8c7d0b214.js +0 -1
  466. package/.next-prod/static/chunks/app/api/file/route-7975a2b8c7d0b214.js +0 -1
  467. package/.next-prod/static/chunks/app/api/files/blame/route-7975a2b8c7d0b214.js +0 -1
  468. package/.next-prod/static/chunks/app/api/files/clipboard/route-7975a2b8c7d0b214.js +0 -1
  469. package/.next-prod/static/chunks/app/api/files/copy/route-7975a2b8c7d0b214.js +0 -1
  470. package/.next-prod/static/chunks/app/api/files/delete/route-7975a2b8c7d0b214.js +0 -1
  471. package/.next-prod/static/chunks/app/api/files/expanded/route-7975a2b8c7d0b214.js +0 -1
  472. package/.next-prod/static/chunks/app/api/files/index/route-7975a2b8c7d0b214.js +0 -1
  473. package/.next-prod/static/chunks/app/api/files/init/route-7975a2b8c7d0b214.js +0 -1
  474. package/.next-prod/static/chunks/app/api/files/paste/route-7975a2b8c7d0b214.js +0 -1
  475. package/.next-prod/static/chunks/app/api/files/read/route-7975a2b8c7d0b214.js +0 -1
  476. package/.next-prod/static/chunks/app/api/files/readdir/route-7975a2b8c7d0b214.js +0 -1
  477. package/.next-prod/static/chunks/app/api/files/recent/route-7975a2b8c7d0b214.js +0 -1
  478. package/.next-prod/static/chunks/app/api/files/save/route-7975a2b8c7d0b214.js +0 -1
  479. package/.next-prod/static/chunks/app/api/files/search/route-7975a2b8c7d0b214.js +0 -1
  480. package/.next-prod/static/chunks/app/api/files/stat/route-7975a2b8c7d0b214.js +0 -1
  481. package/.next-prod/static/chunks/app/api/files/text/route-7975a2b8c7d0b214.js +0 -1
  482. package/.next-prod/static/chunks/app/api/git/branch-diff/route-7975a2b8c7d0b214.js +0 -1
  483. package/.next-prod/static/chunks/app/api/git/branches/route-7975a2b8c7d0b214.js +0 -1
  484. package/.next-prod/static/chunks/app/api/git/commit-diff/route-7975a2b8c7d0b214.js +0 -1
  485. package/.next-prod/static/chunks/app/api/git/commits/route-7975a2b8c7d0b214.js +0 -1
  486. package/.next-prod/static/chunks/app/api/git/diff/route-7975a2b8c7d0b214.js +0 -1
  487. package/.next-prod/static/chunks/app/api/git/discard/route-7975a2b8c7d0b214.js +0 -1
  488. package/.next-prod/static/chunks/app/api/git/stage/route-7975a2b8c7d0b214.js +0 -1
  489. package/.next-prod/static/chunks/app/api/git/status/route-7975a2b8c7d0b214.js +0 -1
  490. package/.next-prod/static/chunks/app/api/git/unstage/route-7975a2b8c7d0b214.js +0 -1
  491. package/.next-prod/static/chunks/app/api/git/worktree/route-7975a2b8c7d0b214.js +0 -1
  492. package/.next-prod/static/chunks/app/api/global-state/route-7975a2b8c7d0b214.js +0 -1
  493. package/.next-prod/static/chunks/app/api/jupyter/load/route-7975a2b8c7d0b214.js +0 -1
  494. package/.next-prod/static/chunks/app/api/jupyter/save/route-7975a2b8c7d0b214.js +0 -1
  495. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-7975a2b8c7d0b214.js +0 -1
  496. package/.next-prod/static/chunks/app/api/lsp/definition/route-7975a2b8c7d0b214.js +0 -1
  497. package/.next-prod/static/chunks/app/api/lsp/hover/route-7975a2b8c7d0b214.js +0 -1
  498. package/.next-prod/static/chunks/app/api/lsp/references/route-7975a2b8c7d0b214.js +0 -1
  499. package/.next-prod/static/chunks/app/api/lsp/status/route-7975a2b8c7d0b214.js +0 -1
  500. package/.next-prod/static/chunks/app/api/lsp/warmup/route-7975a2b8c7d0b214.js +0 -1
  501. package/.next-prod/static/chunks/app/api/mysql/columns/route-7975a2b8c7d0b214.js +0 -1
  502. package/.next-prod/static/chunks/app/api/mysql/connect/route-7975a2b8c7d0b214.js +0 -1
  503. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-7975a2b8c7d0b214.js +0 -1
  504. package/.next-prod/static/chunks/app/api/mysql/export/route-7975a2b8c7d0b214.js +0 -1
  505. package/.next-prod/static/chunks/app/api/mysql/query/route-7975a2b8c7d0b214.js +0 -1
  506. package/.next-prod/static/chunks/app/api/mysql/schemas/route-7975a2b8c7d0b214.js +0 -1
  507. package/.next-prod/static/chunks/app/api/neo4j/connect/route-7975a2b8c7d0b214.js +0 -1
  508. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-7975a2b8c7d0b214.js +0 -1
  509. package/.next-prod/static/chunks/app/api/neo4j/query/route-7975a2b8c7d0b214.js +0 -1
  510. package/.next-prod/static/chunks/app/api/neo4j/schema/route-7975a2b8c7d0b214.js +0 -1
  511. package/.next-prod/static/chunks/app/api/note/route-7975a2b8c7d0b214.js +0 -1
  512. package/.next-prod/static/chunks/app/api/ollama/models/route-7975a2b8c7d0b214.js +0 -1
  513. package/.next-prod/static/chunks/app/api/ollama/start/route-7975a2b8c7d0b214.js +0 -1
  514. package/.next-prod/static/chunks/app/api/open-cursor/route-7975a2b8c7d0b214.js +0 -1
  515. package/.next-prod/static/chunks/app/api/open-vscode/route-7975a2b8c7d0b214.js +0 -1
  516. package/.next-prod/static/chunks/app/api/pick-folder/route-7975a2b8c7d0b214.js +0 -1
  517. package/.next-prod/static/chunks/app/api/pinned-sessions/route-7975a2b8c7d0b214.js +0 -1
  518. package/.next-prod/static/chunks/app/api/project-settings/route-7975a2b8c7d0b214.js +0 -1
  519. package/.next-prod/static/chunks/app/api/project-state/route-7975a2b8c7d0b214.js +0 -1
  520. package/.next-prod/static/chunks/app/api/projectGraph/file/route-7975a2b8c7d0b214.js +0 -1
  521. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-7975a2b8c7d0b214.js +0 -1
  522. package/.next-prod/static/chunks/app/api/projectGraph/search/route-7975a2b8c7d0b214.js +0 -1
  523. package/.next-prod/static/chunks/app/api/projects/route-7975a2b8c7d0b214.js +0 -1
  524. package/.next-prod/static/chunks/app/api/redis/command/route-7975a2b8c7d0b214.js +0 -1
  525. package/.next-prod/static/chunks/app/api/redis/connect/route-7975a2b8c7d0b214.js +0 -1
  526. package/.next-prod/static/chunks/app/api/redis/delete/route-7975a2b8c7d0b214.js +0 -1
  527. package/.next-prod/static/chunks/app/api/redis/disconnect/route-7975a2b8c7d0b214.js +0 -1
  528. package/.next-prod/static/chunks/app/api/redis/get/route-7975a2b8c7d0b214.js +0 -1
  529. package/.next-prod/static/chunks/app/api/redis/keys/route-7975a2b8c7d0b214.js +0 -1
  530. package/.next-prod/static/chunks/app/api/redis/set/route-7975a2b8c7d0b214.js +0 -1
  531. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-7975a2b8c7d0b214.js +0 -1
  532. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-7975a2b8c7d0b214.js +0 -1
  533. package/.next-prod/static/chunks/app/api/review/[id]/route-7975a2b8c7d0b214.js +0 -1
  534. package/.next-prod/static/chunks/app/api/review/identify/route-7975a2b8c7d0b214.js +0 -1
  535. package/.next-prod/static/chunks/app/api/review/order/route-7975a2b8c7d0b214.js +0 -1
  536. package/.next-prod/static/chunks/app/api/review/route-7975a2b8c7d0b214.js +0 -1
  537. package/.next-prod/static/chunks/app/api/review/share-info/route-7975a2b8c7d0b214.js +0 -1
  538. package/.next-prod/static/chunks/app/api/review/users/route-7975a2b8c7d0b214.js +0 -1
  539. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-7975a2b8c7d0b214.js +0 -1
  540. package/.next-prod/static/chunks/app/api/services/config/route-7975a2b8c7d0b214.js +0 -1
  541. package/.next-prod/static/chunks/app/api/services/scripts/route-7975a2b8c7d0b214.js +0 -1
  542. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-7975a2b8c7d0b214.js +0 -1
  543. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-7975a2b8c7d0b214.js +0 -1
  544. package/.next-prod/static/chunks/app/api/session-by-path/route-7975a2b8c7d0b214.js +0 -1
  545. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-7975a2b8c7d0b214.js +0 -1
  546. package/.next-prod/static/chunks/app/api/sessions/projects/route-7975a2b8c7d0b214.js +0 -1
  547. package/.next-prod/static/chunks/app/api/sessions/route-7975a2b8c7d0b214.js +0 -1
  548. package/.next-prod/static/chunks/app/api/settings/route-7975a2b8c7d0b214.js +0 -1
  549. package/.next-prod/static/chunks/app/api/skills/[id]/route-7975a2b8c7d0b214.js +0 -1
  550. package/.next-prod/static/chunks/app/api/skills/content/route-7975a2b8c7d0b214.js +0 -1
  551. package/.next-prod/static/chunks/app/api/skills/route-7975a2b8c7d0b214.js +0 -1
  552. package/.next-prod/static/chunks/app/api/terminal/aliases/route-7975a2b8c7d0b214.js +0 -1
  553. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-7975a2b8c7d0b214.js +0 -1
  554. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-7975a2b8c7d0b214.js +0 -1
  555. package/.next-prod/static/chunks/app/api/terminal/env/route-7975a2b8c7d0b214.js +0 -1
  556. package/.next-prod/static/chunks/app/api/terminal/history/route-7975a2b8c7d0b214.js +0 -1
  557. package/.next-prod/static/chunks/app/api/version/route-7975a2b8c7d0b214.js +0 -1
  558. package/.next-prod/static/chunks/app/layout-92d5dcd25bad9196.js +0 -1
  559. package/.next-prod/static/chunks/app/manifest.webmanifest/route-7975a2b8c7d0b214.js +0 -1
  560. package/.next-prod/static/chunks/app/review/[id]/page-05cd4cb51babd64c.js +0 -1
  561. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-7975a2b8c7d0b214.js +0 -1
  562. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-7975a2b8c7d0b214.js +0 -1
  563. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-7975a2b8c7d0b214.js +0 -1
  564. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-7975a2b8c7d0b214.js +0 -1
  565. package/.next-prod/static/chunks/webpack-bb0c02e3a9602d78.js +0 -1
  566. package/.next-prod/static/css/a7974d62fe853925.css +0 -1
  567. package/dist/chunk-HIRLDMCH.mjs +0 -314
  568. /package/.next-prod/static/{WsSesL2O_jRoZztt2Y5r6 → zlybFiR-nH1wBW1--beGo}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- [{"name":"run-webpack","duration":12882038,"timestamp":135214849,"id":14,"parentId":1,"tags":{},"startTime":1778520598059,"traceId":"4e65e3077ddb76fe"},{"name":"run-typescript","duration":14512932,"timestamp":148100708,"id":1428,"parentId":1,"tags":{},"startTime":1778520610945,"traceId":"4e65e3077ddb76fe"},{"name":"static-check","duration":843421,"timestamp":162649152,"id":1431,"parentId":1,"tags":{},"startTime":1778520625494,"traceId":"4e65e3077ddb76fe"},{"name":"static-generation","duration":4459757,"timestamp":163618749,"id":1667,"parentId":1,"tags":{},"startTime":1778520626463,"traceId":"4e65e3077ddb76fe"},{"name":"collect-build-traces","duration":16942378,"timestamp":163493255,"id":1664,"parentId":1,"tags":{},"startTime":1778520626338,"traceId":"4e65e3077ddb76fe"},{"name":"telemetry-flush","duration":53,"timestamp":180439699,"id":1676,"parentId":1,"tags":{},"startTime":1778520643284,"traceId":"4e65e3077ddb76fe"},{"name":"next-build","duration":45377936,"timestamp":135061828,"id":1,"tags":{"buildMode":"default","version":"16.2.4","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1778520597906,"traceId":"4e65e3077ddb76fe"}]
1
+ [{"name":"run-webpack","duration":19149972,"timestamp":217860993,"id":14,"parentId":1,"tags":{},"startTime":1779335083420,"traceId":"9b84c86a92b23800"},{"name":"run-typescript","duration":15932209,"timestamp":237021037,"id":1452,"parentId":1,"tags":{},"startTime":1779335102580,"traceId":"9b84c86a92b23800"},{"name":"static-check","duration":1020351,"timestamp":252985761,"id":1455,"parentId":1,"tags":{},"startTime":1779335118545,"traceId":"9b84c86a92b23800"},{"name":"static-generation","duration":5518312,"timestamp":254102323,"id":1695,"parentId":1,"tags":{},"startTime":1779335119662,"traceId":"9b84c86a92b23800"},{"name":"collect-build-traces","duration":17381064,"timestamp":254006654,"id":1692,"parentId":1,"tags":{},"startTime":1779335119566,"traceId":"9b84c86a92b23800"},{"name":"telemetry-flush","duration":42,"timestamp":271391210,"id":1704,"parentId":1,"tags":{},"startTime":1779335136950,"traceId":"9b84c86a92b23800"},{"name":"next-build","duration":53663068,"timestamp":217728192,"id":1,"tags":{"buildMode":"default","version":"16.2.4","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1779335083287,"traceId":"9b84c86a92b23800"}]
@@ -0,0 +1,351 @@
1
+ // File: /home/runner/work/cockpit/cockpit/src/app/api/agent/test/route.ts
2
+ import * as entry from '../../../../../../src/app/api/agent/test/route.js'
3
+ import type { NextRequest } from 'next/server.js'
4
+
5
+ import type { InstantConfigForTypeCheckInternal } from 'next/dist/build/segment-config/app/app-segment-config.js'
6
+
7
+ type TEntry = typeof import('../../../../../../src/app/api/agent/test/route.js')
8
+
9
+ type SegmentParams<T extends Object = any> = T extends Record<string, any>
10
+ ? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
11
+ : T
12
+
13
+ // Check that the entry is a valid entry
14
+ checkFields<Diff<{
15
+ GET?: Function
16
+ HEAD?: Function
17
+ OPTIONS?: Function
18
+ POST?: Function
19
+ PUT?: Function
20
+ DELETE?: Function
21
+ PATCH?: Function
22
+ config?: {}
23
+ generateStaticParams?: Function
24
+ unstable_instant?: InstantConfigForTypeCheckInternal
25
+ unstable_dynamicStaleTime?: number
26
+ revalidate?: RevalidateRange<TEntry> | false
27
+ dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
28
+ dynamicParams?: boolean
29
+ fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
30
+ preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
31
+ runtime?: 'nodejs' | 'experimental-edge' | 'edge'
32
+ maxDuration?: number
33
+
34
+ }, TEntry, ''>>()
35
+
36
+ type RouteContext = { params: Promise<SegmentParams> }
37
+ // Check the prop type of the entry function
38
+ if ('GET' in entry) {
39
+ checkFields<
40
+ Diff<
41
+ ParamCheck<Request | NextRequest>,
42
+ {
43
+ __tag__: 'GET'
44
+ __param_position__: 'first'
45
+ __param_type__: FirstArg<MaybeField<TEntry, 'GET'>>
46
+ },
47
+ 'GET'
48
+ >
49
+ >()
50
+ checkFields<
51
+ Diff<
52
+ ParamCheck<RouteContext>,
53
+ {
54
+ __tag__: 'GET'
55
+ __param_position__: 'second'
56
+ __param_type__: SecondArg<MaybeField<TEntry, 'GET'>>
57
+ },
58
+ 'GET'
59
+ >
60
+ >()
61
+
62
+ checkFields<
63
+ Diff<
64
+ {
65
+ __tag__: 'GET',
66
+ __return_type__: Response | void | never | Promise<Response | void | never>
67
+ },
68
+ {
69
+ __tag__: 'GET',
70
+ __return_type__: ReturnType<MaybeField<TEntry, 'GET'>>
71
+ },
72
+ 'GET'
73
+ >
74
+ >()
75
+ }
76
+ // Check the prop type of the entry function
77
+ if ('HEAD' in entry) {
78
+ checkFields<
79
+ Diff<
80
+ ParamCheck<Request | NextRequest>,
81
+ {
82
+ __tag__: 'HEAD'
83
+ __param_position__: 'first'
84
+ __param_type__: FirstArg<MaybeField<TEntry, 'HEAD'>>
85
+ },
86
+ 'HEAD'
87
+ >
88
+ >()
89
+ checkFields<
90
+ Diff<
91
+ ParamCheck<RouteContext>,
92
+ {
93
+ __tag__: 'HEAD'
94
+ __param_position__: 'second'
95
+ __param_type__: SecondArg<MaybeField<TEntry, 'HEAD'>>
96
+ },
97
+ 'HEAD'
98
+ >
99
+ >()
100
+
101
+ checkFields<
102
+ Diff<
103
+ {
104
+ __tag__: 'HEAD',
105
+ __return_type__: Response | void | never | Promise<Response | void | never>
106
+ },
107
+ {
108
+ __tag__: 'HEAD',
109
+ __return_type__: ReturnType<MaybeField<TEntry, 'HEAD'>>
110
+ },
111
+ 'HEAD'
112
+ >
113
+ >()
114
+ }
115
+ // Check the prop type of the entry function
116
+ if ('OPTIONS' in entry) {
117
+ checkFields<
118
+ Diff<
119
+ ParamCheck<Request | NextRequest>,
120
+ {
121
+ __tag__: 'OPTIONS'
122
+ __param_position__: 'first'
123
+ __param_type__: FirstArg<MaybeField<TEntry, 'OPTIONS'>>
124
+ },
125
+ 'OPTIONS'
126
+ >
127
+ >()
128
+ checkFields<
129
+ Diff<
130
+ ParamCheck<RouteContext>,
131
+ {
132
+ __tag__: 'OPTIONS'
133
+ __param_position__: 'second'
134
+ __param_type__: SecondArg<MaybeField<TEntry, 'OPTIONS'>>
135
+ },
136
+ 'OPTIONS'
137
+ >
138
+ >()
139
+
140
+ checkFields<
141
+ Diff<
142
+ {
143
+ __tag__: 'OPTIONS',
144
+ __return_type__: Response | void | never | Promise<Response | void | never>
145
+ },
146
+ {
147
+ __tag__: 'OPTIONS',
148
+ __return_type__: ReturnType<MaybeField<TEntry, 'OPTIONS'>>
149
+ },
150
+ 'OPTIONS'
151
+ >
152
+ >()
153
+ }
154
+ // Check the prop type of the entry function
155
+ if ('POST' in entry) {
156
+ checkFields<
157
+ Diff<
158
+ ParamCheck<Request | NextRequest>,
159
+ {
160
+ __tag__: 'POST'
161
+ __param_position__: 'first'
162
+ __param_type__: FirstArg<MaybeField<TEntry, 'POST'>>
163
+ },
164
+ 'POST'
165
+ >
166
+ >()
167
+ checkFields<
168
+ Diff<
169
+ ParamCheck<RouteContext>,
170
+ {
171
+ __tag__: 'POST'
172
+ __param_position__: 'second'
173
+ __param_type__: SecondArg<MaybeField<TEntry, 'POST'>>
174
+ },
175
+ 'POST'
176
+ >
177
+ >()
178
+
179
+ checkFields<
180
+ Diff<
181
+ {
182
+ __tag__: 'POST',
183
+ __return_type__: Response | void | never | Promise<Response | void | never>
184
+ },
185
+ {
186
+ __tag__: 'POST',
187
+ __return_type__: ReturnType<MaybeField<TEntry, 'POST'>>
188
+ },
189
+ 'POST'
190
+ >
191
+ >()
192
+ }
193
+ // Check the prop type of the entry function
194
+ if ('PUT' in entry) {
195
+ checkFields<
196
+ Diff<
197
+ ParamCheck<Request | NextRequest>,
198
+ {
199
+ __tag__: 'PUT'
200
+ __param_position__: 'first'
201
+ __param_type__: FirstArg<MaybeField<TEntry, 'PUT'>>
202
+ },
203
+ 'PUT'
204
+ >
205
+ >()
206
+ checkFields<
207
+ Diff<
208
+ ParamCheck<RouteContext>,
209
+ {
210
+ __tag__: 'PUT'
211
+ __param_position__: 'second'
212
+ __param_type__: SecondArg<MaybeField<TEntry, 'PUT'>>
213
+ },
214
+ 'PUT'
215
+ >
216
+ >()
217
+
218
+ checkFields<
219
+ Diff<
220
+ {
221
+ __tag__: 'PUT',
222
+ __return_type__: Response | void | never | Promise<Response | void | never>
223
+ },
224
+ {
225
+ __tag__: 'PUT',
226
+ __return_type__: ReturnType<MaybeField<TEntry, 'PUT'>>
227
+ },
228
+ 'PUT'
229
+ >
230
+ >()
231
+ }
232
+ // Check the prop type of the entry function
233
+ if ('DELETE' in entry) {
234
+ checkFields<
235
+ Diff<
236
+ ParamCheck<Request | NextRequest>,
237
+ {
238
+ __tag__: 'DELETE'
239
+ __param_position__: 'first'
240
+ __param_type__: FirstArg<MaybeField<TEntry, 'DELETE'>>
241
+ },
242
+ 'DELETE'
243
+ >
244
+ >()
245
+ checkFields<
246
+ Diff<
247
+ ParamCheck<RouteContext>,
248
+ {
249
+ __tag__: 'DELETE'
250
+ __param_position__: 'second'
251
+ __param_type__: SecondArg<MaybeField<TEntry, 'DELETE'>>
252
+ },
253
+ 'DELETE'
254
+ >
255
+ >()
256
+
257
+ checkFields<
258
+ Diff<
259
+ {
260
+ __tag__: 'DELETE',
261
+ __return_type__: Response | void | never | Promise<Response | void | never>
262
+ },
263
+ {
264
+ __tag__: 'DELETE',
265
+ __return_type__: ReturnType<MaybeField<TEntry, 'DELETE'>>
266
+ },
267
+ 'DELETE'
268
+ >
269
+ >()
270
+ }
271
+ // Check the prop type of the entry function
272
+ if ('PATCH' in entry) {
273
+ checkFields<
274
+ Diff<
275
+ ParamCheck<Request | NextRequest>,
276
+ {
277
+ __tag__: 'PATCH'
278
+ __param_position__: 'first'
279
+ __param_type__: FirstArg<MaybeField<TEntry, 'PATCH'>>
280
+ },
281
+ 'PATCH'
282
+ >
283
+ >()
284
+ checkFields<
285
+ Diff<
286
+ ParamCheck<RouteContext>,
287
+ {
288
+ __tag__: 'PATCH'
289
+ __param_position__: 'second'
290
+ __param_type__: SecondArg<MaybeField<TEntry, 'PATCH'>>
291
+ },
292
+ 'PATCH'
293
+ >
294
+ >()
295
+
296
+ checkFields<
297
+ Diff<
298
+ {
299
+ __tag__: 'PATCH',
300
+ __return_type__: Response | void | never | Promise<Response | void | never>
301
+ },
302
+ {
303
+ __tag__: 'PATCH',
304
+ __return_type__: ReturnType<MaybeField<TEntry, 'PATCH'>>
305
+ },
306
+ 'PATCH'
307
+ >
308
+ >()
309
+ }
310
+
311
+ // Check the arguments and return type of the generateStaticParams function
312
+ if ('generateStaticParams' in entry) {
313
+ checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
314
+ checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
315
+ }
316
+
317
+ export interface PageProps {
318
+ params?: Promise<SegmentParams>
319
+ searchParams?: Promise<any>
320
+ }
321
+ export interface LayoutProps {
322
+ children?: React.ReactNode
323
+
324
+ params?: Promise<SegmentParams>
325
+ }
326
+
327
+ // =============
328
+ // Utility types
329
+ type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
330
+
331
+ // If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
332
+ type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
333
+ type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
334
+
335
+ type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
336
+ type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
337
+ type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
338
+
339
+ type ParamCheck<T> = {
340
+ __tag__: string
341
+ __param_position__: string
342
+ __param_type__: T
343
+ }
344
+
345
+ function checkFields<_ extends { [k in keyof any]: never }>() {}
346
+
347
+ // https://github.com/sindresorhus/type-fest
348
+ type Numeric = number | bigint
349
+ type Zero = 0 | 0n
350
+ type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
351
+ type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'
@@ -0,0 +1,351 @@
1
+ // File: /home/runner/work/cockpit/cockpit/src/app/api/dev/spans/route.ts
2
+ import * as entry from '../../../../../../src/app/api/dev/spans/route.js'
3
+ import type { NextRequest } from 'next/server.js'
4
+
5
+ import type { InstantConfigForTypeCheckInternal } from 'next/dist/build/segment-config/app/app-segment-config.js'
6
+
7
+ type TEntry = typeof import('../../../../../../src/app/api/dev/spans/route.js')
8
+
9
+ type SegmentParams<T extends Object = any> = T extends Record<string, any>
10
+ ? { [K in keyof T]: T[K] extends string ? string | string[] | undefined : never }
11
+ : T
12
+
13
+ // Check that the entry is a valid entry
14
+ checkFields<Diff<{
15
+ GET?: Function
16
+ HEAD?: Function
17
+ OPTIONS?: Function
18
+ POST?: Function
19
+ PUT?: Function
20
+ DELETE?: Function
21
+ PATCH?: Function
22
+ config?: {}
23
+ generateStaticParams?: Function
24
+ unstable_instant?: InstantConfigForTypeCheckInternal
25
+ unstable_dynamicStaleTime?: number
26
+ revalidate?: RevalidateRange<TEntry> | false
27
+ dynamic?: 'auto' | 'force-dynamic' | 'error' | 'force-static'
28
+ dynamicParams?: boolean
29
+ fetchCache?: 'auto' | 'force-no-store' | 'only-no-store' | 'default-no-store' | 'default-cache' | 'only-cache' | 'force-cache'
30
+ preferredRegion?: 'auto' | 'global' | 'home' | string | string[]
31
+ runtime?: 'nodejs' | 'experimental-edge' | 'edge'
32
+ maxDuration?: number
33
+
34
+ }, TEntry, ''>>()
35
+
36
+ type RouteContext = { params: Promise<SegmentParams> }
37
+ // Check the prop type of the entry function
38
+ if ('GET' in entry) {
39
+ checkFields<
40
+ Diff<
41
+ ParamCheck<Request | NextRequest>,
42
+ {
43
+ __tag__: 'GET'
44
+ __param_position__: 'first'
45
+ __param_type__: FirstArg<MaybeField<TEntry, 'GET'>>
46
+ },
47
+ 'GET'
48
+ >
49
+ >()
50
+ checkFields<
51
+ Diff<
52
+ ParamCheck<RouteContext>,
53
+ {
54
+ __tag__: 'GET'
55
+ __param_position__: 'second'
56
+ __param_type__: SecondArg<MaybeField<TEntry, 'GET'>>
57
+ },
58
+ 'GET'
59
+ >
60
+ >()
61
+
62
+ checkFields<
63
+ Diff<
64
+ {
65
+ __tag__: 'GET',
66
+ __return_type__: Response | void | never | Promise<Response | void | never>
67
+ },
68
+ {
69
+ __tag__: 'GET',
70
+ __return_type__: ReturnType<MaybeField<TEntry, 'GET'>>
71
+ },
72
+ 'GET'
73
+ >
74
+ >()
75
+ }
76
+ // Check the prop type of the entry function
77
+ if ('HEAD' in entry) {
78
+ checkFields<
79
+ Diff<
80
+ ParamCheck<Request | NextRequest>,
81
+ {
82
+ __tag__: 'HEAD'
83
+ __param_position__: 'first'
84
+ __param_type__: FirstArg<MaybeField<TEntry, 'HEAD'>>
85
+ },
86
+ 'HEAD'
87
+ >
88
+ >()
89
+ checkFields<
90
+ Diff<
91
+ ParamCheck<RouteContext>,
92
+ {
93
+ __tag__: 'HEAD'
94
+ __param_position__: 'second'
95
+ __param_type__: SecondArg<MaybeField<TEntry, 'HEAD'>>
96
+ },
97
+ 'HEAD'
98
+ >
99
+ >()
100
+
101
+ checkFields<
102
+ Diff<
103
+ {
104
+ __tag__: 'HEAD',
105
+ __return_type__: Response | void | never | Promise<Response | void | never>
106
+ },
107
+ {
108
+ __tag__: 'HEAD',
109
+ __return_type__: ReturnType<MaybeField<TEntry, 'HEAD'>>
110
+ },
111
+ 'HEAD'
112
+ >
113
+ >()
114
+ }
115
+ // Check the prop type of the entry function
116
+ if ('OPTIONS' in entry) {
117
+ checkFields<
118
+ Diff<
119
+ ParamCheck<Request | NextRequest>,
120
+ {
121
+ __tag__: 'OPTIONS'
122
+ __param_position__: 'first'
123
+ __param_type__: FirstArg<MaybeField<TEntry, 'OPTIONS'>>
124
+ },
125
+ 'OPTIONS'
126
+ >
127
+ >()
128
+ checkFields<
129
+ Diff<
130
+ ParamCheck<RouteContext>,
131
+ {
132
+ __tag__: 'OPTIONS'
133
+ __param_position__: 'second'
134
+ __param_type__: SecondArg<MaybeField<TEntry, 'OPTIONS'>>
135
+ },
136
+ 'OPTIONS'
137
+ >
138
+ >()
139
+
140
+ checkFields<
141
+ Diff<
142
+ {
143
+ __tag__: 'OPTIONS',
144
+ __return_type__: Response | void | never | Promise<Response | void | never>
145
+ },
146
+ {
147
+ __tag__: 'OPTIONS',
148
+ __return_type__: ReturnType<MaybeField<TEntry, 'OPTIONS'>>
149
+ },
150
+ 'OPTIONS'
151
+ >
152
+ >()
153
+ }
154
+ // Check the prop type of the entry function
155
+ if ('POST' in entry) {
156
+ checkFields<
157
+ Diff<
158
+ ParamCheck<Request | NextRequest>,
159
+ {
160
+ __tag__: 'POST'
161
+ __param_position__: 'first'
162
+ __param_type__: FirstArg<MaybeField<TEntry, 'POST'>>
163
+ },
164
+ 'POST'
165
+ >
166
+ >()
167
+ checkFields<
168
+ Diff<
169
+ ParamCheck<RouteContext>,
170
+ {
171
+ __tag__: 'POST'
172
+ __param_position__: 'second'
173
+ __param_type__: SecondArg<MaybeField<TEntry, 'POST'>>
174
+ },
175
+ 'POST'
176
+ >
177
+ >()
178
+
179
+ checkFields<
180
+ Diff<
181
+ {
182
+ __tag__: 'POST',
183
+ __return_type__: Response | void | never | Promise<Response | void | never>
184
+ },
185
+ {
186
+ __tag__: 'POST',
187
+ __return_type__: ReturnType<MaybeField<TEntry, 'POST'>>
188
+ },
189
+ 'POST'
190
+ >
191
+ >()
192
+ }
193
+ // Check the prop type of the entry function
194
+ if ('PUT' in entry) {
195
+ checkFields<
196
+ Diff<
197
+ ParamCheck<Request | NextRequest>,
198
+ {
199
+ __tag__: 'PUT'
200
+ __param_position__: 'first'
201
+ __param_type__: FirstArg<MaybeField<TEntry, 'PUT'>>
202
+ },
203
+ 'PUT'
204
+ >
205
+ >()
206
+ checkFields<
207
+ Diff<
208
+ ParamCheck<RouteContext>,
209
+ {
210
+ __tag__: 'PUT'
211
+ __param_position__: 'second'
212
+ __param_type__: SecondArg<MaybeField<TEntry, 'PUT'>>
213
+ },
214
+ 'PUT'
215
+ >
216
+ >()
217
+
218
+ checkFields<
219
+ Diff<
220
+ {
221
+ __tag__: 'PUT',
222
+ __return_type__: Response | void | never | Promise<Response | void | never>
223
+ },
224
+ {
225
+ __tag__: 'PUT',
226
+ __return_type__: ReturnType<MaybeField<TEntry, 'PUT'>>
227
+ },
228
+ 'PUT'
229
+ >
230
+ >()
231
+ }
232
+ // Check the prop type of the entry function
233
+ if ('DELETE' in entry) {
234
+ checkFields<
235
+ Diff<
236
+ ParamCheck<Request | NextRequest>,
237
+ {
238
+ __tag__: 'DELETE'
239
+ __param_position__: 'first'
240
+ __param_type__: FirstArg<MaybeField<TEntry, 'DELETE'>>
241
+ },
242
+ 'DELETE'
243
+ >
244
+ >()
245
+ checkFields<
246
+ Diff<
247
+ ParamCheck<RouteContext>,
248
+ {
249
+ __tag__: 'DELETE'
250
+ __param_position__: 'second'
251
+ __param_type__: SecondArg<MaybeField<TEntry, 'DELETE'>>
252
+ },
253
+ 'DELETE'
254
+ >
255
+ >()
256
+
257
+ checkFields<
258
+ Diff<
259
+ {
260
+ __tag__: 'DELETE',
261
+ __return_type__: Response | void | never | Promise<Response | void | never>
262
+ },
263
+ {
264
+ __tag__: 'DELETE',
265
+ __return_type__: ReturnType<MaybeField<TEntry, 'DELETE'>>
266
+ },
267
+ 'DELETE'
268
+ >
269
+ >()
270
+ }
271
+ // Check the prop type of the entry function
272
+ if ('PATCH' in entry) {
273
+ checkFields<
274
+ Diff<
275
+ ParamCheck<Request | NextRequest>,
276
+ {
277
+ __tag__: 'PATCH'
278
+ __param_position__: 'first'
279
+ __param_type__: FirstArg<MaybeField<TEntry, 'PATCH'>>
280
+ },
281
+ 'PATCH'
282
+ >
283
+ >()
284
+ checkFields<
285
+ Diff<
286
+ ParamCheck<RouteContext>,
287
+ {
288
+ __tag__: 'PATCH'
289
+ __param_position__: 'second'
290
+ __param_type__: SecondArg<MaybeField<TEntry, 'PATCH'>>
291
+ },
292
+ 'PATCH'
293
+ >
294
+ >()
295
+
296
+ checkFields<
297
+ Diff<
298
+ {
299
+ __tag__: 'PATCH',
300
+ __return_type__: Response | void | never | Promise<Response | void | never>
301
+ },
302
+ {
303
+ __tag__: 'PATCH',
304
+ __return_type__: ReturnType<MaybeField<TEntry, 'PATCH'>>
305
+ },
306
+ 'PATCH'
307
+ >
308
+ >()
309
+ }
310
+
311
+ // Check the arguments and return type of the generateStaticParams function
312
+ if ('generateStaticParams' in entry) {
313
+ checkFields<Diff<{ params: SegmentParams }, FirstArg<MaybeField<TEntry, 'generateStaticParams'>>, 'generateStaticParams'>>()
314
+ checkFields<Diff<{ __tag__: 'generateStaticParams', __return_type__: any[] | Promise<any[]> }, { __tag__: 'generateStaticParams', __return_type__: ReturnType<MaybeField<TEntry, 'generateStaticParams'>> }>>()
315
+ }
316
+
317
+ export interface PageProps {
318
+ params?: Promise<SegmentParams>
319
+ searchParams?: Promise<any>
320
+ }
321
+ export interface LayoutProps {
322
+ children?: React.ReactNode
323
+
324
+ params?: Promise<SegmentParams>
325
+ }
326
+
327
+ // =============
328
+ // Utility types
329
+ type RevalidateRange<T> = T extends { revalidate: any } ? NonNegative<T['revalidate']> : never
330
+
331
+ // If T is unknown or any, it will be an empty {} type. Otherwise, it will be the same as Omit<T, keyof Base>.
332
+ type OmitWithTag<T, K extends keyof any, _M> = Omit<T, K>
333
+ type Diff<Base, T extends Base, Message extends string = ''> = 0 extends (1 & T) ? {} : OmitWithTag<T, keyof Base, Message>
334
+
335
+ type FirstArg<T extends Function> = T extends (...args: [infer T, any]) => any ? unknown extends T ? any : T : never
336
+ type SecondArg<T extends Function> = T extends (...args: [any, infer T]) => any ? unknown extends T ? any : T : never
337
+ type MaybeField<T, K extends string> = T extends { [k in K]: infer G } ? G extends Function ? G : never : never
338
+
339
+ type ParamCheck<T> = {
340
+ __tag__: string
341
+ __param_position__: string
342
+ __param_type__: T
343
+ }
344
+
345
+ function checkFields<_ extends { [k in keyof any]: never }>() {}
346
+
347
+ // https://github.com/sindresorhus/type-fest
348
+ type Numeric = number | bigint
349
+ type Zero = 0 | 0n
350
+ type Negative<T extends Numeric> = T extends Zero ? never : `${T}` extends `-${string}` ? T : never
351
+ type NonNegative<T extends Numeric> = T extends Zero ? T : Negative<T> extends never ? T : '__invalid_negative_number__'