@surething/cockpit 1.0.242 → 1.0.243

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 (479) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +5 -4
  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 +11 -11
  6. package/.next-prod/routes-manifest.json +6 -0
  7. package/.next-prod/server/app/_global-error/page.js +2 -2
  8. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  9. package/.next-prod/server/app/_global-error.html +1 -1
  10. package/.next-prod/server/app/_global-error.rsc +1 -1
  11. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +1 -1
  15. package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +1 -1
  16. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  17. package/.next-prod/server/app/_not-found/page.js +2 -2
  18. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  19. package/.next-prod/server/app/_not-found.html +2 -2
  20. package/.next-prod/server/app/_not-found.rsc +2 -2
  21. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +2 -2
  22. package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
  23. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +2 -2
  24. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  25. package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  26. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  27. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  28. package/.next-prod/server/app/api/bash/route.js +1 -1
  29. package/.next-prod/server/app/api/chat/codex/route.js +2 -2
  30. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  31. package/.next-prod/server/app/api/chat/kimi/route.js +2 -2
  32. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  33. package/.next-prod/server/app/api/chat/pty-input/route.js +1 -1
  34. package/.next-prod/server/app/api/chat/route.js +1 -1
  35. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  36. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  37. package/.next-prod/server/app/api/commands/route.js +1 -1
  38. package/.next-prod/server/app/api/comments/route.js +1 -1
  39. package/.next-prod/server/app/api/db/columns/route.js +1 -1
  40. package/.next-prod/server/app/api/db/connect/route.js +2 -2
  41. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  42. package/.next-prod/server/app/api/db/export/route.js +1 -1
  43. package/.next-prod/server/app/api/db/query/route.js +1 -1
  44. package/.next-prod/server/app/api/db/schemas/route.js +2 -2
  45. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -0
  46. package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -0
  47. package/.next-prod/server/app/api/deepseek/credentials/route_client-reference-manifest.js +1 -0
  48. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  49. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  50. package/.next-prod/server/app/api/file/route.js +1 -1
  51. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  52. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  53. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  54. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  55. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  56. package/.next-prod/server/app/api/files/index/route.js +1 -1
  57. package/.next-prod/server/app/api/files/init/route.js +1 -1
  58. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  59. package/.next-prod/server/app/api/files/read/route.js +1 -1
  60. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  61. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  62. package/.next-prod/server/app/api/files/save/route.js +1 -1
  63. package/.next-prod/server/app/api/files/search/route.js +1 -1
  64. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  65. package/.next-prod/server/app/api/files/text/route.js +1 -1
  66. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  67. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  68. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  69. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  70. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  71. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  72. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  73. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  74. package/.next-prod/server/app/api/git/status/route.js +1 -1
  75. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  76. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  77. package/.next-prod/server/app/api/global-state/route.js +2 -2
  78. package/.next-prod/server/app/api/health/route.js +1 -1
  79. package/.next-prod/server/app/api/jupyter/load/route.js +1 -1
  80. package/.next-prod/server/app/api/jupyter/save/route.js +1 -1
  81. package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -1
  82. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  83. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  84. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  85. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  86. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  87. package/.next-prod/server/app/api/mysql/columns/route.js +1 -1
  88. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  89. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  90. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  91. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  92. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  93. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  94. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  95. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  96. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  97. package/.next-prod/server/app/api/note/route.js +1 -1
  98. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  99. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  100. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  101. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  102. package/.next-prod/server/app/api/pick-folder/route.js +1 -1
  103. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  104. package/.next-prod/server/app/api/preview/[...path]/route.js +1 -1
  105. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  106. package/.next-prod/server/app/api/project-state/route.js +2 -2
  107. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  108. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  109. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  110. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  111. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  112. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  113. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  114. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  115. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  116. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  117. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  118. package/.next-prod/server/app/api/projects/route.js +1 -1
  119. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  120. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  121. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  122. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  123. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  124. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  125. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  126. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  127. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  128. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  129. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  130. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  131. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  132. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  133. package/.next-prod/server/app/api/review/order/route.js +1 -1
  134. package/.next-prod/server/app/api/review/route.js +1 -1
  135. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  136. package/.next-prod/server/app/api/review/users/route.js +1 -1
  137. package/.next-prod/server/app/api/scheduled-tasks/route.js +3 -3
  138. package/.next-prod/server/app/api/services/config/route.js +1 -1
  139. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  140. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  141. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  142. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  143. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  144. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  145. package/.next-prod/server/app/api/sessions/route.js +1 -1
  146. package/.next-prod/server/app/api/settings/route.js +1 -1
  147. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  148. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  149. package/.next-prod/server/app/api/skills/route.js +1 -1
  150. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  151. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  152. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  153. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  154. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  155. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  156. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  157. package/.next-prod/server/app/api/version/route.js +1 -1
  158. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  159. package/.next-prod/server/app/m/page.js +2 -2
  160. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  161. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  162. package/.next-prod/server/app/page.js +2 -2
  163. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  164. package/.next-prod/server/app/project/page.js +2 -2
  165. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  166. package/.next-prod/server/app/review/[id]/page.js +2 -2
  167. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  168. package/.next-prod/server/app-paths-manifest.json +5 -4
  169. package/.next-prod/server/chunks/2939.js +1 -1
  170. package/.next-prod/server/chunks/6955.js +1 -1
  171. package/.next-prod/server/chunks/8916.js +1 -1
  172. package/.next-prod/server/chunks/9658.js +15 -15
  173. package/.next-prod/server/chunks/9830.js +1 -1
  174. package/.next-prod/server/chunks/9989.js +1 -1
  175. package/.next-prod/server/middleware-build-manifest.js +1 -1
  176. package/.next-prod/server/middleware-react-loadable-manifest.js +1 -1
  177. package/.next-prod/server/pages/404.html +2 -2
  178. package/.next-prod/server/pages/500.html +1 -1
  179. package/.next-prod/server/server-reference-manifest.json +1 -1
  180. package/.next-prod/static/chunks/1871-560f59face6cdf95.js +25 -0
  181. package/.next-prod/static/chunks/{2501.8a795c737a86ac2f.js → 2501.4e65b56602faa956.js} +1 -1
  182. package/.next-prod/static/chunks/{3304.540e84c28c47b48b.js → 3304.16305e84f4ff6598.js} +1 -1
  183. package/.next-prod/static/chunks/{4523.a6c0a4fb0a46d0bb.js → 4523.aaab4b1bd81167d4.js} +1 -1
  184. package/.next-prod/static/chunks/{4678.9870fc2e3d7d1e5d.js → 4678.867dfae26694be02.js} +1 -1
  185. package/.next-prod/static/chunks/{6729.582a7ca4e74b0aea.js → 6729.77a5381ac8f5c9ae.js} +1 -1
  186. package/.next-prod/static/chunks/{7799.ada4812ac0884dcc.js → 7799.40b047a634f96a24.js} +1 -1
  187. package/.next-prod/static/chunks/9530-60801ba514d5c607.js +15 -0
  188. package/.next-prod/static/chunks/app/_global-error/page-382e54b2d4e69c9e.js +1 -0
  189. package/.next-prod/static/chunks/app/api/agent/test/route-382e54b2d4e69c9e.js +1 -0
  190. package/.next-prod/static/chunks/app/api/bash/route-382e54b2d4e69c9e.js +1 -0
  191. package/.next-prod/static/chunks/app/api/chat/codex/route-382e54b2d4e69c9e.js +1 -0
  192. package/.next-prod/static/chunks/app/api/chat/deepseek/route-382e54b2d4e69c9e.js +1 -0
  193. package/.next-prod/static/chunks/app/api/chat/kimi/route-382e54b2d4e69c9e.js +1 -0
  194. package/.next-prod/static/chunks/app/api/chat/ollama/route-382e54b2d4e69c9e.js +1 -0
  195. package/.next-prod/static/chunks/app/api/chat/pty-input/route-382e54b2d4e69c9e.js +1 -0
  196. package/.next-prod/static/chunks/app/api/chat/route-382e54b2d4e69c9e.js +1 -0
  197. package/.next-prod/static/chunks/app/api/chat/stop/route-382e54b2d4e69c9e.js +1 -0
  198. package/.next-prod/static/chunks/app/api/claude-stats/route-382e54b2d4e69c9e.js +1 -0
  199. package/.next-prod/static/chunks/app/api/commands/route-382e54b2d4e69c9e.js +1 -0
  200. package/.next-prod/static/chunks/app/api/comments/route-382e54b2d4e69c9e.js +1 -0
  201. package/.next-prod/static/chunks/app/api/db/columns/route-382e54b2d4e69c9e.js +1 -0
  202. package/.next-prod/static/chunks/app/api/db/connect/route-382e54b2d4e69c9e.js +1 -0
  203. package/.next-prod/static/chunks/app/api/db/disconnect/route-382e54b2d4e69c9e.js +1 -0
  204. package/.next-prod/static/chunks/app/api/db/export/route-382e54b2d4e69c9e.js +1 -0
  205. package/.next-prod/static/chunks/app/api/db/query/route-382e54b2d4e69c9e.js +1 -0
  206. package/.next-prod/static/chunks/app/api/db/schemas/route-382e54b2d4e69c9e.js +1 -0
  207. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-382e54b2d4e69c9e.js +1 -0
  208. package/.next-prod/static/chunks/app/api/dev/spans/route-382e54b2d4e69c9e.js +1 -0
  209. package/.next-prod/static/chunks/app/api/extension/version/route-382e54b2d4e69c9e.js +1 -0
  210. package/.next-prod/static/chunks/app/api/file/route-382e54b2d4e69c9e.js +1 -0
  211. package/.next-prod/static/chunks/app/api/files/blame/route-382e54b2d4e69c9e.js +1 -0
  212. package/.next-prod/static/chunks/app/api/files/clipboard/route-382e54b2d4e69c9e.js +1 -0
  213. package/.next-prod/static/chunks/app/api/files/copy/route-382e54b2d4e69c9e.js +1 -0
  214. package/.next-prod/static/chunks/app/api/files/delete/route-382e54b2d4e69c9e.js +1 -0
  215. package/.next-prod/static/chunks/app/api/files/expanded/route-382e54b2d4e69c9e.js +1 -0
  216. package/.next-prod/static/chunks/app/api/files/index/route-382e54b2d4e69c9e.js +1 -0
  217. package/.next-prod/static/chunks/app/api/files/init/route-382e54b2d4e69c9e.js +1 -0
  218. package/.next-prod/static/chunks/app/api/files/paste/route-382e54b2d4e69c9e.js +1 -0
  219. package/.next-prod/static/chunks/app/api/files/read/route-382e54b2d4e69c9e.js +1 -0
  220. package/.next-prod/static/chunks/app/api/files/readdir/route-382e54b2d4e69c9e.js +1 -0
  221. package/.next-prod/static/chunks/app/api/files/recent/route-382e54b2d4e69c9e.js +1 -0
  222. package/.next-prod/static/chunks/app/api/files/save/route-382e54b2d4e69c9e.js +1 -0
  223. package/.next-prod/static/chunks/app/api/files/search/route-382e54b2d4e69c9e.js +1 -0
  224. package/.next-prod/static/chunks/app/api/files/stat/route-382e54b2d4e69c9e.js +1 -0
  225. package/.next-prod/static/chunks/app/api/files/text/route-382e54b2d4e69c9e.js +1 -0
  226. package/.next-prod/static/chunks/app/api/git/branch-diff/route-382e54b2d4e69c9e.js +1 -0
  227. package/.next-prod/static/chunks/app/api/git/branches/route-382e54b2d4e69c9e.js +1 -0
  228. package/.next-prod/static/chunks/app/api/git/commit-diff/route-382e54b2d4e69c9e.js +1 -0
  229. package/.next-prod/static/chunks/app/api/git/commits/route-382e54b2d4e69c9e.js +1 -0
  230. package/.next-prod/static/chunks/app/api/git/current-branch/route-382e54b2d4e69c9e.js +1 -0
  231. package/.next-prod/static/chunks/app/api/git/diff/route-382e54b2d4e69c9e.js +1 -0
  232. package/.next-prod/static/chunks/app/api/git/discard/route-382e54b2d4e69c9e.js +1 -0
  233. package/.next-prod/static/chunks/app/api/git/stage/route-382e54b2d4e69c9e.js +1 -0
  234. package/.next-prod/static/chunks/app/api/git/status/route-382e54b2d4e69c9e.js +1 -0
  235. package/.next-prod/static/chunks/app/api/git/unstage/route-382e54b2d4e69c9e.js +1 -0
  236. package/.next-prod/static/chunks/app/api/git/worktree/route-382e54b2d4e69c9e.js +1 -0
  237. package/.next-prod/static/chunks/app/api/global-state/route-382e54b2d4e69c9e.js +1 -0
  238. package/.next-prod/static/chunks/app/api/health/route-382e54b2d4e69c9e.js +1 -0
  239. package/.next-prod/static/chunks/app/api/jupyter/load/route-382e54b2d4e69c9e.js +1 -0
  240. package/.next-prod/static/chunks/app/api/jupyter/save/route-382e54b2d4e69c9e.js +1 -0
  241. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-382e54b2d4e69c9e.js +1 -0
  242. package/.next-prod/static/chunks/app/api/lsp/definition/route-382e54b2d4e69c9e.js +1 -0
  243. package/.next-prod/static/chunks/app/api/lsp/hover/route-382e54b2d4e69c9e.js +1 -0
  244. package/.next-prod/static/chunks/app/api/lsp/references/route-382e54b2d4e69c9e.js +1 -0
  245. package/.next-prod/static/chunks/app/api/lsp/status/route-382e54b2d4e69c9e.js +1 -0
  246. package/.next-prod/static/chunks/app/api/lsp/warmup/route-382e54b2d4e69c9e.js +1 -0
  247. package/.next-prod/static/chunks/app/api/mysql/columns/route-382e54b2d4e69c9e.js +1 -0
  248. package/.next-prod/static/chunks/app/api/mysql/connect/route-382e54b2d4e69c9e.js +1 -0
  249. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-382e54b2d4e69c9e.js +1 -0
  250. package/.next-prod/static/chunks/app/api/mysql/export/route-382e54b2d4e69c9e.js +1 -0
  251. package/.next-prod/static/chunks/app/api/mysql/query/route-382e54b2d4e69c9e.js +1 -0
  252. package/.next-prod/static/chunks/app/api/mysql/schemas/route-382e54b2d4e69c9e.js +1 -0
  253. package/.next-prod/static/chunks/app/api/neo4j/connect/route-382e54b2d4e69c9e.js +1 -0
  254. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-382e54b2d4e69c9e.js +1 -0
  255. package/.next-prod/static/chunks/app/api/neo4j/query/route-382e54b2d4e69c9e.js +1 -0
  256. package/.next-prod/static/chunks/app/api/neo4j/schema/route-382e54b2d4e69c9e.js +1 -0
  257. package/.next-prod/static/chunks/app/api/note/route-382e54b2d4e69c9e.js +1 -0
  258. package/.next-prod/static/chunks/app/api/ollama/models/route-382e54b2d4e69c9e.js +1 -0
  259. package/.next-prod/static/chunks/app/api/ollama/start/route-382e54b2d4e69c9e.js +1 -0
  260. package/.next-prod/static/chunks/app/api/open-cursor/route-382e54b2d4e69c9e.js +1 -0
  261. package/.next-prod/static/chunks/app/api/open-vscode/route-382e54b2d4e69c9e.js +1 -0
  262. package/.next-prod/static/chunks/app/api/pick-folder/route-382e54b2d4e69c9e.js +1 -0
  263. package/.next-prod/static/chunks/app/api/pinned-sessions/route-382e54b2d4e69c9e.js +1 -0
  264. package/.next-prod/static/chunks/app/api/preview/[...path]/route-382e54b2d4e69c9e.js +1 -0
  265. package/.next-prod/static/chunks/app/api/project-settings/route-382e54b2d4e69c9e.js +1 -0
  266. package/.next-prod/static/chunks/app/api/project-state/route-382e54b2d4e69c9e.js +1 -0
  267. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-382e54b2d4e69c9e.js +1 -0
  268. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-382e54b2d4e69c9e.js +1 -0
  269. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-382e54b2d4e69c9e.js +1 -0
  270. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-382e54b2d4e69c9e.js +1 -0
  271. package/.next-prod/static/chunks/app/api/projectGraph/context/route-382e54b2d4e69c9e.js +1 -0
  272. package/.next-prod/static/chunks/app/api/projectGraph/file/route-382e54b2d4e69c9e.js +1 -0
  273. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-382e54b2d4e69c9e.js +1 -0
  274. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-382e54b2d4e69c9e.js +1 -0
  275. package/.next-prod/static/chunks/app/api/projectGraph/related/route-382e54b2d4e69c9e.js +1 -0
  276. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-382e54b2d4e69c9e.js +1 -0
  277. package/.next-prod/static/chunks/app/api/projectGraph/search/route-382e54b2d4e69c9e.js +1 -0
  278. package/.next-prod/static/chunks/app/api/projects/route-382e54b2d4e69c9e.js +1 -0
  279. package/.next-prod/static/chunks/app/api/push/public-key/route-382e54b2d4e69c9e.js +1 -0
  280. package/.next-prod/static/chunks/app/api/push/subscribe/route-382e54b2d4e69c9e.js +1 -0
  281. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-382e54b2d4e69c9e.js +1 -0
  282. package/.next-prod/static/chunks/app/api/redis/command/route-382e54b2d4e69c9e.js +1 -0
  283. package/.next-prod/static/chunks/app/api/redis/connect/route-382e54b2d4e69c9e.js +1 -0
  284. package/.next-prod/static/chunks/app/api/redis/delete/route-382e54b2d4e69c9e.js +1 -0
  285. package/.next-prod/static/chunks/app/api/redis/disconnect/route-382e54b2d4e69c9e.js +1 -0
  286. package/.next-prod/static/chunks/app/api/redis/get/route-382e54b2d4e69c9e.js +1 -0
  287. package/.next-prod/static/chunks/app/api/redis/keys/route-382e54b2d4e69c9e.js +1 -0
  288. package/.next-prod/static/chunks/app/api/redis/set/route-382e54b2d4e69c9e.js +1 -0
  289. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-382e54b2d4e69c9e.js +1 -0
  290. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-382e54b2d4e69c9e.js +1 -0
  291. package/.next-prod/static/chunks/app/api/review/[id]/route-382e54b2d4e69c9e.js +1 -0
  292. package/.next-prod/static/chunks/app/api/review/identify/route-382e54b2d4e69c9e.js +1 -0
  293. package/.next-prod/static/chunks/app/api/review/order/route-382e54b2d4e69c9e.js +1 -0
  294. package/.next-prod/static/chunks/app/api/review/route-382e54b2d4e69c9e.js +1 -0
  295. package/.next-prod/static/chunks/app/api/review/share-info/route-382e54b2d4e69c9e.js +1 -0
  296. package/.next-prod/static/chunks/app/api/review/users/route-382e54b2d4e69c9e.js +1 -0
  297. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-382e54b2d4e69c9e.js +1 -0
  298. package/.next-prod/static/chunks/app/api/services/config/route-382e54b2d4e69c9e.js +1 -0
  299. package/.next-prod/static/chunks/app/api/services/scripts/route-382e54b2d4e69c9e.js +1 -0
  300. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-382e54b2d4e69c9e.js +1 -0
  301. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-382e54b2d4e69c9e.js +1 -0
  302. package/.next-prod/static/chunks/app/api/session-by-path/route-382e54b2d4e69c9e.js +1 -0
  303. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-382e54b2d4e69c9e.js +1 -0
  304. package/.next-prod/static/chunks/app/api/sessions/projects/route-382e54b2d4e69c9e.js +1 -0
  305. package/.next-prod/static/chunks/app/api/sessions/route-382e54b2d4e69c9e.js +1 -0
  306. package/.next-prod/static/chunks/app/api/settings/route-382e54b2d4e69c9e.js +1 -0
  307. package/.next-prod/static/chunks/app/api/skills/[id]/route-382e54b2d4e69c9e.js +1 -0
  308. package/.next-prod/static/chunks/app/api/skills/content/route-382e54b2d4e69c9e.js +1 -0
  309. package/.next-prod/static/chunks/app/api/skills/route-382e54b2d4e69c9e.js +1 -0
  310. package/.next-prod/static/chunks/app/api/snapshots/diff/route-382e54b2d4e69c9e.js +1 -0
  311. package/.next-prod/static/chunks/app/api/snapshots/route-382e54b2d4e69c9e.js +1 -0
  312. package/.next-prod/static/chunks/app/api/terminal/aliases/route-382e54b2d4e69c9e.js +1 -0
  313. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-382e54b2d4e69c9e.js +1 -0
  314. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-382e54b2d4e69c9e.js +1 -0
  315. package/.next-prod/static/chunks/app/api/terminal/env/route-382e54b2d4e69c9e.js +1 -0
  316. package/.next-prod/static/chunks/app/api/terminal/history/route-382e54b2d4e69c9e.js +1 -0
  317. package/.next-prod/static/chunks/app/api/version/route-382e54b2d4e69c9e.js +1 -0
  318. package/.next-prod/static/chunks/app/{layout-fdd40a9f4769a9d2.js → layout-392444ad665c7748.js} +1 -1
  319. package/.next-prod/static/chunks/app/manifest.webmanifest/route-382e54b2d4e69c9e.js +1 -0
  320. package/.next-prod/static/chunks/app/{page-7e283c0e1ba7bf80.js → page-a32d8344284e99cb.js} +1 -1
  321. package/.next-prod/static/chunks/app/project/{page-7e283c0e1ba7bf80.js → page-a32d8344284e99cb.js} +1 -1
  322. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-382e54b2d4e69c9e.js +1 -0
  323. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-382e54b2d4e69c9e.js +1 -0
  324. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-382e54b2d4e69c9e.js +1 -0
  325. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-382e54b2d4e69c9e.js +1 -0
  326. package/.next-prod/static/chunks/{webpack-798abcb0f340ce75.js → webpack-01274185cb710e57.js} +1 -1
  327. package/.next-prod/static/uVjxkHKsDvtbJB0cgsKxl/_buildManifest.js +1 -0
  328. package/.next-prod/trace +13 -13
  329. package/.next-prod/trace-build +1 -1
  330. package/.next-prod/types/app/api/deepseek/credentials/route.ts +351 -0
  331. package/.next-prod/types/routes.d.ts +2 -1
  332. package/.next-prod/types/validator.ts +9 -0
  333. package/dist/{chunk-RBT65EBM.mjs → chunk-4S76JXBU.mjs} +73 -11
  334. package/dist/{chunk-PTHQK26K.mjs → chunk-NW4I3U26.mjs} +2 -0
  335. package/dist/{chunk-53DHIXIY.mjs → chunk-V2ZASC2X.mjs} +1 -1
  336. package/dist/httpApi.mjs +2 -2
  337. package/dist/scheduledTasks.mjs +11 -5
  338. package/dist/{server-XWLYHEMD.mjs → server-YK62AFE6.mjs} +2 -2
  339. package/dist/wsServer.mjs +4 -4
  340. package/package.json +1 -1
  341. package/server.mjs +24 -0
  342. package/.next-prod/static/YsWseNHOrhvA60UWaNkzK/_buildManifest.js +0 -1
  343. package/.next-prod/static/chunks/5408-f9fd9ece18d916dc.js +0 -25
  344. package/.next-prod/static/chunks/9530-44f82b2151a66f3c.js +0 -15
  345. package/.next-prod/static/chunks/app/_global-error/page-f265b8a7128b7a1a.js +0 -1
  346. package/.next-prod/static/chunks/app/api/agent/test/route-f265b8a7128b7a1a.js +0 -1
  347. package/.next-prod/static/chunks/app/api/bash/route-f265b8a7128b7a1a.js +0 -1
  348. package/.next-prod/static/chunks/app/api/chat/codex/route-f265b8a7128b7a1a.js +0 -1
  349. package/.next-prod/static/chunks/app/api/chat/deepseek/route-f265b8a7128b7a1a.js +0 -1
  350. package/.next-prod/static/chunks/app/api/chat/kimi/route-f265b8a7128b7a1a.js +0 -1
  351. package/.next-prod/static/chunks/app/api/chat/ollama/route-f265b8a7128b7a1a.js +0 -1
  352. package/.next-prod/static/chunks/app/api/chat/pty-input/route-f265b8a7128b7a1a.js +0 -1
  353. package/.next-prod/static/chunks/app/api/chat/route-f265b8a7128b7a1a.js +0 -1
  354. package/.next-prod/static/chunks/app/api/chat/stop/route-f265b8a7128b7a1a.js +0 -1
  355. package/.next-prod/static/chunks/app/api/claude-stats/route-f265b8a7128b7a1a.js +0 -1
  356. package/.next-prod/static/chunks/app/api/commands/route-f265b8a7128b7a1a.js +0 -1
  357. package/.next-prod/static/chunks/app/api/comments/route-f265b8a7128b7a1a.js +0 -1
  358. package/.next-prod/static/chunks/app/api/db/columns/route-f265b8a7128b7a1a.js +0 -1
  359. package/.next-prod/static/chunks/app/api/db/connect/route-f265b8a7128b7a1a.js +0 -1
  360. package/.next-prod/static/chunks/app/api/db/disconnect/route-f265b8a7128b7a1a.js +0 -1
  361. package/.next-prod/static/chunks/app/api/db/export/route-f265b8a7128b7a1a.js +0 -1
  362. package/.next-prod/static/chunks/app/api/db/query/route-f265b8a7128b7a1a.js +0 -1
  363. package/.next-prod/static/chunks/app/api/db/schemas/route-f265b8a7128b7a1a.js +0 -1
  364. package/.next-prod/static/chunks/app/api/dev/spans/route-f265b8a7128b7a1a.js +0 -1
  365. package/.next-prod/static/chunks/app/api/extension/version/route-f265b8a7128b7a1a.js +0 -1
  366. package/.next-prod/static/chunks/app/api/file/route-f265b8a7128b7a1a.js +0 -1
  367. package/.next-prod/static/chunks/app/api/files/blame/route-f265b8a7128b7a1a.js +0 -1
  368. package/.next-prod/static/chunks/app/api/files/clipboard/route-f265b8a7128b7a1a.js +0 -1
  369. package/.next-prod/static/chunks/app/api/files/copy/route-f265b8a7128b7a1a.js +0 -1
  370. package/.next-prod/static/chunks/app/api/files/delete/route-f265b8a7128b7a1a.js +0 -1
  371. package/.next-prod/static/chunks/app/api/files/expanded/route-f265b8a7128b7a1a.js +0 -1
  372. package/.next-prod/static/chunks/app/api/files/index/route-f265b8a7128b7a1a.js +0 -1
  373. package/.next-prod/static/chunks/app/api/files/init/route-f265b8a7128b7a1a.js +0 -1
  374. package/.next-prod/static/chunks/app/api/files/paste/route-f265b8a7128b7a1a.js +0 -1
  375. package/.next-prod/static/chunks/app/api/files/read/route-f265b8a7128b7a1a.js +0 -1
  376. package/.next-prod/static/chunks/app/api/files/readdir/route-f265b8a7128b7a1a.js +0 -1
  377. package/.next-prod/static/chunks/app/api/files/recent/route-f265b8a7128b7a1a.js +0 -1
  378. package/.next-prod/static/chunks/app/api/files/save/route-f265b8a7128b7a1a.js +0 -1
  379. package/.next-prod/static/chunks/app/api/files/search/route-f265b8a7128b7a1a.js +0 -1
  380. package/.next-prod/static/chunks/app/api/files/stat/route-f265b8a7128b7a1a.js +0 -1
  381. package/.next-prod/static/chunks/app/api/files/text/route-f265b8a7128b7a1a.js +0 -1
  382. package/.next-prod/static/chunks/app/api/git/branch-diff/route-f265b8a7128b7a1a.js +0 -1
  383. package/.next-prod/static/chunks/app/api/git/branches/route-f265b8a7128b7a1a.js +0 -1
  384. package/.next-prod/static/chunks/app/api/git/commit-diff/route-f265b8a7128b7a1a.js +0 -1
  385. package/.next-prod/static/chunks/app/api/git/commits/route-f265b8a7128b7a1a.js +0 -1
  386. package/.next-prod/static/chunks/app/api/git/current-branch/route-f265b8a7128b7a1a.js +0 -1
  387. package/.next-prod/static/chunks/app/api/git/diff/route-f265b8a7128b7a1a.js +0 -1
  388. package/.next-prod/static/chunks/app/api/git/discard/route-f265b8a7128b7a1a.js +0 -1
  389. package/.next-prod/static/chunks/app/api/git/stage/route-f265b8a7128b7a1a.js +0 -1
  390. package/.next-prod/static/chunks/app/api/git/status/route-f265b8a7128b7a1a.js +0 -1
  391. package/.next-prod/static/chunks/app/api/git/unstage/route-f265b8a7128b7a1a.js +0 -1
  392. package/.next-prod/static/chunks/app/api/git/worktree/route-f265b8a7128b7a1a.js +0 -1
  393. package/.next-prod/static/chunks/app/api/global-state/route-f265b8a7128b7a1a.js +0 -1
  394. package/.next-prod/static/chunks/app/api/health/route-f265b8a7128b7a1a.js +0 -1
  395. package/.next-prod/static/chunks/app/api/jupyter/load/route-f265b8a7128b7a1a.js +0 -1
  396. package/.next-prod/static/chunks/app/api/jupyter/save/route-f265b8a7128b7a1a.js +0 -1
  397. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-f265b8a7128b7a1a.js +0 -1
  398. package/.next-prod/static/chunks/app/api/lsp/definition/route-f265b8a7128b7a1a.js +0 -1
  399. package/.next-prod/static/chunks/app/api/lsp/hover/route-f265b8a7128b7a1a.js +0 -1
  400. package/.next-prod/static/chunks/app/api/lsp/references/route-f265b8a7128b7a1a.js +0 -1
  401. package/.next-prod/static/chunks/app/api/lsp/status/route-f265b8a7128b7a1a.js +0 -1
  402. package/.next-prod/static/chunks/app/api/lsp/warmup/route-f265b8a7128b7a1a.js +0 -1
  403. package/.next-prod/static/chunks/app/api/mysql/columns/route-f265b8a7128b7a1a.js +0 -1
  404. package/.next-prod/static/chunks/app/api/mysql/connect/route-f265b8a7128b7a1a.js +0 -1
  405. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-f265b8a7128b7a1a.js +0 -1
  406. package/.next-prod/static/chunks/app/api/mysql/export/route-f265b8a7128b7a1a.js +0 -1
  407. package/.next-prod/static/chunks/app/api/mysql/query/route-f265b8a7128b7a1a.js +0 -1
  408. package/.next-prod/static/chunks/app/api/mysql/schemas/route-f265b8a7128b7a1a.js +0 -1
  409. package/.next-prod/static/chunks/app/api/neo4j/connect/route-f265b8a7128b7a1a.js +0 -1
  410. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-f265b8a7128b7a1a.js +0 -1
  411. package/.next-prod/static/chunks/app/api/neo4j/query/route-f265b8a7128b7a1a.js +0 -1
  412. package/.next-prod/static/chunks/app/api/neo4j/schema/route-f265b8a7128b7a1a.js +0 -1
  413. package/.next-prod/static/chunks/app/api/note/route-f265b8a7128b7a1a.js +0 -1
  414. package/.next-prod/static/chunks/app/api/ollama/models/route-f265b8a7128b7a1a.js +0 -1
  415. package/.next-prod/static/chunks/app/api/ollama/start/route-f265b8a7128b7a1a.js +0 -1
  416. package/.next-prod/static/chunks/app/api/open-cursor/route-f265b8a7128b7a1a.js +0 -1
  417. package/.next-prod/static/chunks/app/api/open-vscode/route-f265b8a7128b7a1a.js +0 -1
  418. package/.next-prod/static/chunks/app/api/pick-folder/route-f265b8a7128b7a1a.js +0 -1
  419. package/.next-prod/static/chunks/app/api/pinned-sessions/route-f265b8a7128b7a1a.js +0 -1
  420. package/.next-prod/static/chunks/app/api/preview/[...path]/route-f265b8a7128b7a1a.js +0 -1
  421. package/.next-prod/static/chunks/app/api/project-settings/route-f265b8a7128b7a1a.js +0 -1
  422. package/.next-prod/static/chunks/app/api/project-state/route-f265b8a7128b7a1a.js +0 -1
  423. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-f265b8a7128b7a1a.js +0 -1
  424. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-f265b8a7128b7a1a.js +0 -1
  425. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-f265b8a7128b7a1a.js +0 -1
  426. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-f265b8a7128b7a1a.js +0 -1
  427. package/.next-prod/static/chunks/app/api/projectGraph/context/route-f265b8a7128b7a1a.js +0 -1
  428. package/.next-prod/static/chunks/app/api/projectGraph/file/route-f265b8a7128b7a1a.js +0 -1
  429. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-f265b8a7128b7a1a.js +0 -1
  430. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-f265b8a7128b7a1a.js +0 -1
  431. package/.next-prod/static/chunks/app/api/projectGraph/related/route-f265b8a7128b7a1a.js +0 -1
  432. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-f265b8a7128b7a1a.js +0 -1
  433. package/.next-prod/static/chunks/app/api/projectGraph/search/route-f265b8a7128b7a1a.js +0 -1
  434. package/.next-prod/static/chunks/app/api/projects/route-f265b8a7128b7a1a.js +0 -1
  435. package/.next-prod/static/chunks/app/api/push/public-key/route-f265b8a7128b7a1a.js +0 -1
  436. package/.next-prod/static/chunks/app/api/push/subscribe/route-f265b8a7128b7a1a.js +0 -1
  437. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-f265b8a7128b7a1a.js +0 -1
  438. package/.next-prod/static/chunks/app/api/redis/command/route-f265b8a7128b7a1a.js +0 -1
  439. package/.next-prod/static/chunks/app/api/redis/connect/route-f265b8a7128b7a1a.js +0 -1
  440. package/.next-prod/static/chunks/app/api/redis/delete/route-f265b8a7128b7a1a.js +0 -1
  441. package/.next-prod/static/chunks/app/api/redis/disconnect/route-f265b8a7128b7a1a.js +0 -1
  442. package/.next-prod/static/chunks/app/api/redis/get/route-f265b8a7128b7a1a.js +0 -1
  443. package/.next-prod/static/chunks/app/api/redis/keys/route-f265b8a7128b7a1a.js +0 -1
  444. package/.next-prod/static/chunks/app/api/redis/set/route-f265b8a7128b7a1a.js +0 -1
  445. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-f265b8a7128b7a1a.js +0 -1
  446. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-f265b8a7128b7a1a.js +0 -1
  447. package/.next-prod/static/chunks/app/api/review/[id]/route-f265b8a7128b7a1a.js +0 -1
  448. package/.next-prod/static/chunks/app/api/review/identify/route-f265b8a7128b7a1a.js +0 -1
  449. package/.next-prod/static/chunks/app/api/review/order/route-f265b8a7128b7a1a.js +0 -1
  450. package/.next-prod/static/chunks/app/api/review/route-f265b8a7128b7a1a.js +0 -1
  451. package/.next-prod/static/chunks/app/api/review/share-info/route-f265b8a7128b7a1a.js +0 -1
  452. package/.next-prod/static/chunks/app/api/review/users/route-f265b8a7128b7a1a.js +0 -1
  453. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-f265b8a7128b7a1a.js +0 -1
  454. package/.next-prod/static/chunks/app/api/services/config/route-f265b8a7128b7a1a.js +0 -1
  455. package/.next-prod/static/chunks/app/api/services/scripts/route-f265b8a7128b7a1a.js +0 -1
  456. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-f265b8a7128b7a1a.js +0 -1
  457. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-f265b8a7128b7a1a.js +0 -1
  458. package/.next-prod/static/chunks/app/api/session-by-path/route-f265b8a7128b7a1a.js +0 -1
  459. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-f265b8a7128b7a1a.js +0 -1
  460. package/.next-prod/static/chunks/app/api/sessions/projects/route-f265b8a7128b7a1a.js +0 -1
  461. package/.next-prod/static/chunks/app/api/sessions/route-f265b8a7128b7a1a.js +0 -1
  462. package/.next-prod/static/chunks/app/api/settings/route-f265b8a7128b7a1a.js +0 -1
  463. package/.next-prod/static/chunks/app/api/skills/[id]/route-f265b8a7128b7a1a.js +0 -1
  464. package/.next-prod/static/chunks/app/api/skills/content/route-f265b8a7128b7a1a.js +0 -1
  465. package/.next-prod/static/chunks/app/api/skills/route-f265b8a7128b7a1a.js +0 -1
  466. package/.next-prod/static/chunks/app/api/snapshots/diff/route-f265b8a7128b7a1a.js +0 -1
  467. package/.next-prod/static/chunks/app/api/snapshots/route-f265b8a7128b7a1a.js +0 -1
  468. package/.next-prod/static/chunks/app/api/terminal/aliases/route-f265b8a7128b7a1a.js +0 -1
  469. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-f265b8a7128b7a1a.js +0 -1
  470. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-f265b8a7128b7a1a.js +0 -1
  471. package/.next-prod/static/chunks/app/api/terminal/env/route-f265b8a7128b7a1a.js +0 -1
  472. package/.next-prod/static/chunks/app/api/terminal/history/route-f265b8a7128b7a1a.js +0 -1
  473. package/.next-prod/static/chunks/app/api/version/route-f265b8a7128b7a1a.js +0 -1
  474. package/.next-prod/static/chunks/app/manifest.webmanifest/route-f265b8a7128b7a1a.js +0 -1
  475. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-f265b8a7128b7a1a.js +0 -1
  476. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-f265b8a7128b7a1a.js +0 -1
  477. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-f265b8a7128b7a1a.js +0 -1
  478. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-f265b8a7128b7a1a.js +0 -1
  479. /package/.next-prod/static/{YsWseNHOrhvA60UWaNkzK → uVjxkHKsDvtbJB0cgsKxl}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- [{"name":"run-webpack","duration":17818959,"timestamp":187786547,"id":14,"parentId":1,"tags":{},"startTime":1783948879287,"traceId":"9619af7c73190300"},{"name":"run-typescript","duration":15136342,"timestamp":205614781,"id":1630,"parentId":1,"tags":{},"startTime":1783948897115,"traceId":"9619af7c73190300"},{"name":"static-check","duration":962008,"timestamp":220782608,"id":1633,"parentId":1,"tags":{},"startTime":1783948912283,"traceId":"9619af7c73190300"},{"name":"static-generation","duration":5185281,"timestamp":221846117,"id":1911,"parentId":1,"tags":{},"startTime":1783948913346,"traceId":"9619af7c73190300"},{"name":"collect-build-traces","duration":15774094,"timestamp":221745204,"id":1908,"parentId":1,"tags":{},"startTime":1783948913245,"traceId":"9619af7c73190300"},{"name":"telemetry-flush","duration":48,"timestamp":237522629,"id":1920,"parentId":1,"tags":{},"startTime":1783948929023,"traceId":"9619af7c73190300"},{"name":"next-build","duration":49847788,"timestamp":187674899,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1783948879175,"traceId":"9619af7c73190300"}]
1
+ [{"name":"run-webpack","duration":20511427,"timestamp":570958377,"id":14,"parentId":1,"tags":{},"startTime":1784102547589,"traceId":"3f192422ac08102e"},{"name":"run-typescript","duration":19153285,"timestamp":591480334,"id":1638,"parentId":1,"tags":{},"startTime":1784102568111,"traceId":"3f192422ac08102e"},{"name":"static-check","duration":1221145,"timestamp":610676151,"id":1641,"parentId":1,"tags":{},"startTime":1784102587307,"traceId":"3f192422ac08102e"},{"name":"static-generation","duration":6823093,"timestamp":612037470,"id":1921,"parentId":1,"tags":{},"startTime":1784102588668,"traceId":"3f192422ac08102e"},{"name":"collect-build-traces","duration":21059576,"timestamp":611897879,"id":1918,"parentId":1,"tags":{},"startTime":1784102588529,"traceId":"3f192422ac08102e"},{"name":"telemetry-flush","duration":54,"timestamp":632961945,"id":1930,"parentId":1,"tags":{},"startTime":1784102609593,"traceId":"3f192422ac08102e"},{"name":"next-build","duration":62176828,"timestamp":570785209,"id":1,"tags":{"buildMode":"default","version":"16.2.6","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1784102547416,"traceId":"3f192422ac08102e"}]
@@ -0,0 +1,351 @@
1
+ // File: /home/runner/work/cockpit/cockpit/src/app/api/deepseek/credentials/route.ts
2
+ import * as entry from '../../../../../../src/app/api/deepseek/credentials/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/deepseek/credentials/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__'
@@ -2,7 +2,7 @@
2
2
  // Do not edit this file manually
3
3
 
4
4
  type AppRoutes = "/" | "/m" | "/project" | "/review/[id]"
5
- type AppRouteHandlerRoutes = "/api/agent/test" | "/api/bash" | "/api/chat" | "/api/chat/codex" | "/api/chat/deepseek" | "/api/chat/kimi" | "/api/chat/ollama" | "/api/chat/pty-input" | "/api/chat/stop" | "/api/claude-stats" | "/api/commands" | "/api/comments" | "/api/db/columns" | "/api/db/connect" | "/api/db/disconnect" | "/api/db/export" | "/api/db/query" | "/api/db/schemas" | "/api/dev/spans" | "/api/extension/version" | "/api/file" | "/api/files/blame" | "/api/files/clipboard" | "/api/files/copy" | "/api/files/delete" | "/api/files/expanded" | "/api/files/index" | "/api/files/init" | "/api/files/paste" | "/api/files/read" | "/api/files/readdir" | "/api/files/recent" | "/api/files/save" | "/api/files/search" | "/api/files/stat" | "/api/files/text" | "/api/git/branch-diff" | "/api/git/branches" | "/api/git/commit-diff" | "/api/git/commits" | "/api/git/current-branch" | "/api/git/diff" | "/api/git/discard" | "/api/git/stage" | "/api/git/status" | "/api/git/unstage" | "/api/git/worktree" | "/api/global-state" | "/api/health" | "/api/jupyter/load" | "/api/jupyter/save" | "/api/jupyter/shutdown" | "/api/lsp/definition" | "/api/lsp/hover" | "/api/lsp/references" | "/api/lsp/status" | "/api/lsp/warmup" | "/api/mysql/columns" | "/api/mysql/connect" | "/api/mysql/disconnect" | "/api/mysql/export" | "/api/mysql/query" | "/api/mysql/schemas" | "/api/neo4j/connect" | "/api/neo4j/disconnect" | "/api/neo4j/query" | "/api/neo4j/schema" | "/api/note" | "/api/ollama/models" | "/api/ollama/start" | "/api/open-cursor" | "/api/open-vscode" | "/api/pick-folder" | "/api/pinned-sessions" | "/api/preview/[...path]" | "/api/project-settings" | "/api/project-state" | "/api/projectGraph/affected" | "/api/projectGraph/callees" | "/api/projectGraph/callers" | "/api/projectGraph/coedit" | "/api/projectGraph/context" | "/api/projectGraph/file" | "/api/projectGraph/file-functions" | "/api/projectGraph/impact" | "/api/projectGraph/related" | "/api/projectGraph/risk" | "/api/projectGraph/search" | "/api/projects" | "/api/push/public-key" | "/api/push/subscribe" | "/api/push/unsubscribe" | "/api/redis/command" | "/api/redis/connect" | "/api/redis/delete" | "/api/redis/disconnect" | "/api/redis/get" | "/api/redis/keys" | "/api/redis/set" | "/api/review" | "/api/review/[id]" | "/api/review/[id]/comments" | "/api/review/[id]/replies" | "/api/review/identify" | "/api/review/order" | "/api/review/share-info" | "/api/review/users" | "/api/scheduled-tasks" | "/api/services/config" | "/api/services/scripts" | "/api/session-by-path" | "/api/session/[sessionId]/fork" | "/api/session/[sessionId]/history" | "/api/sessions" | "/api/sessions/projects" | "/api/sessions/projects/[encodedPath]" | "/api/settings" | "/api/skills" | "/api/skills/[id]" | "/api/skills/content" | "/api/snapshots" | "/api/snapshots/diff" | "/api/terminal/aliases" | "/api/terminal/autocomplete" | "/api/terminal/bubble-order" | "/api/terminal/env" | "/api/terminal/history" | "/api/version"
5
+ type AppRouteHandlerRoutes = "/api/agent/test" | "/api/bash" | "/api/chat" | "/api/chat/codex" | "/api/chat/deepseek" | "/api/chat/kimi" | "/api/chat/ollama" | "/api/chat/pty-input" | "/api/chat/stop" | "/api/claude-stats" | "/api/commands" | "/api/comments" | "/api/db/columns" | "/api/db/connect" | "/api/db/disconnect" | "/api/db/export" | "/api/db/query" | "/api/db/schemas" | "/api/deepseek/credentials" | "/api/dev/spans" | "/api/extension/version" | "/api/file" | "/api/files/blame" | "/api/files/clipboard" | "/api/files/copy" | "/api/files/delete" | "/api/files/expanded" | "/api/files/index" | "/api/files/init" | "/api/files/paste" | "/api/files/read" | "/api/files/readdir" | "/api/files/recent" | "/api/files/save" | "/api/files/search" | "/api/files/stat" | "/api/files/text" | "/api/git/branch-diff" | "/api/git/branches" | "/api/git/commit-diff" | "/api/git/commits" | "/api/git/current-branch" | "/api/git/diff" | "/api/git/discard" | "/api/git/stage" | "/api/git/status" | "/api/git/unstage" | "/api/git/worktree" | "/api/global-state" | "/api/health" | "/api/jupyter/load" | "/api/jupyter/save" | "/api/jupyter/shutdown" | "/api/lsp/definition" | "/api/lsp/hover" | "/api/lsp/references" | "/api/lsp/status" | "/api/lsp/warmup" | "/api/mysql/columns" | "/api/mysql/connect" | "/api/mysql/disconnect" | "/api/mysql/export" | "/api/mysql/query" | "/api/mysql/schemas" | "/api/neo4j/connect" | "/api/neo4j/disconnect" | "/api/neo4j/query" | "/api/neo4j/schema" | "/api/note" | "/api/ollama/models" | "/api/ollama/start" | "/api/open-cursor" | "/api/open-vscode" | "/api/pick-folder" | "/api/pinned-sessions" | "/api/preview/[...path]" | "/api/project-settings" | "/api/project-state" | "/api/projectGraph/affected" | "/api/projectGraph/callees" | "/api/projectGraph/callers" | "/api/projectGraph/coedit" | "/api/projectGraph/context" | "/api/projectGraph/file" | "/api/projectGraph/file-functions" | "/api/projectGraph/impact" | "/api/projectGraph/related" | "/api/projectGraph/risk" | "/api/projectGraph/search" | "/api/projects" | "/api/push/public-key" | "/api/push/subscribe" | "/api/push/unsubscribe" | "/api/redis/command" | "/api/redis/connect" | "/api/redis/delete" | "/api/redis/disconnect" | "/api/redis/get" | "/api/redis/keys" | "/api/redis/set" | "/api/review" | "/api/review/[id]" | "/api/review/[id]/comments" | "/api/review/[id]/replies" | "/api/review/identify" | "/api/review/order" | "/api/review/share-info" | "/api/review/users" | "/api/scheduled-tasks" | "/api/services/config" | "/api/services/scripts" | "/api/session-by-path" | "/api/session/[sessionId]/fork" | "/api/session/[sessionId]/history" | "/api/sessions" | "/api/sessions/projects" | "/api/sessions/projects/[encodedPath]" | "/api/settings" | "/api/skills" | "/api/skills/[id]" | "/api/skills/content" | "/api/snapshots" | "/api/snapshots/diff" | "/api/terminal/aliases" | "/api/terminal/autocomplete" | "/api/terminal/bubble-order" | "/api/terminal/env" | "/api/terminal/history" | "/api/version"
6
6
  type PageRoutes = never
7
7
  type LayoutRoutes = "/"
8
8
  type RedirectRoutes = never
@@ -30,6 +30,7 @@ interface ParamMap {
30
30
  "/api/db/export": {}
31
31
  "/api/db/query": {}
32
32
  "/api/db/schemas": {}
33
+ "/api/deepseek/credentials": {}
33
34
  "/api/dev/spans": {}
34
35
  "/api/extension/version": {}
35
36
  "/api/file": {}
@@ -245,6 +245,15 @@ type RouteHandlerConfig<Route extends AppRouteHandlerRoutes = AppRouteHandlerRou
245
245
  type __Unused = __Check
246
246
  }
247
247
 
248
+ // Validate ../../src/app/api/deepseek/credentials/route.ts
249
+ {
250
+ type __IsExpected<Specific extends RouteHandlerConfig<"/api/deepseek/credentials">> = Specific
251
+ const handler = {} as typeof import("../../src/app/api/deepseek/credentials/route.js")
252
+ type __Check = __IsExpected<typeof handler>
253
+ // @ts-ignore
254
+ type __Unused = __Check
255
+ }
256
+
248
257
  // Validate ../../src/app/api/dev/spans/route.ts
249
258
  {
250
259
  type __IsExpected<Specific extends RouteHandlerConfig<"/api/dev/spans">> = Specific
@@ -10,10 +10,10 @@ import {
10
10
  readJsonFile,
11
11
  withFileLock,
12
12
  writeJsonFile
13
- } from "./chunk-PTHQK26K.mjs";
13
+ } from "./chunk-NW4I3U26.mjs";
14
14
 
15
15
  // packages/feature/agent/src/server/state/globalState.ts
16
- import { createReadStream, existsSync } from "fs";
16
+ import { createReadStream, existsSync, statSync } from "fs";
17
17
  import { createInterface } from "readline";
18
18
  import { basename } from "path";
19
19
 
@@ -254,28 +254,66 @@ async function getLastUserMessage(cwd, sessionId) {
254
254
  var SUMMARY_THRESHOLD = 10;
255
255
  var SUMMARY_HEAD = 5;
256
256
  var SUMMARY_TAIL = 5;
257
- async function getSessionContent(cwd, sessionId) {
257
+ var UNTITLED_SESSION = "Untitled Session";
258
+ function resolveSessionFile(cwd, sessionId) {
258
259
  const claudePath = getClaudeSessionPath(cwd, sessionId);
259
- if (existsSync(claudePath)) return getClaudeStyleContent(claudePath);
260
+ if (existsSync(claudePath)) return { path: claudePath, read: getClaudeStyleContent };
260
261
  const claude2Path = getClaude2SessionPath(cwd, sessionId);
261
- if (existsSync(claude2Path)) return getClaudeStyleContent(claude2Path);
262
+ if (existsSync(claude2Path)) return { path: claude2Path, read: getClaudeStyleContent };
262
263
  const ollamaPath = getOllamaSessionPath(cwd, sessionId);
263
- if (existsSync(ollamaPath)) return getClaudeStyleContent(ollamaPath);
264
+ if (existsSync(ollamaPath)) return { path: ollamaPath, read: getClaudeStyleContent };
264
265
  const codexPath = findCodexSessionPath(sessionId);
265
266
  if (codexPath && existsSync(codexPath)) {
266
- return { aiTitle: "", summary: "", messages: await getCodexUserMessages(codexPath) };
267
+ return {
268
+ path: codexPath,
269
+ read: async (p) => ({ aiTitle: "", summary: "", messages: await getCodexUserMessages(p) })
270
+ };
267
271
  }
268
272
  const kimiPath = findKimiSessionPath(sessionId);
269
273
  if (kimiPath && existsSync(kimiPath)) {
270
- return { aiTitle: "", summary: "", messages: await getKimiUserMessages(kimiPath) };
274
+ return {
275
+ path: kimiPath,
276
+ read: async (p) => ({ aiTitle: "", summary: "", messages: await getKimiUserMessages(p) })
277
+ };
278
+ }
279
+ return null;
280
+ }
281
+ var CONTENT_CACHE_MAX = 40;
282
+ var contentCache = /* @__PURE__ */ new Map();
283
+ function fileFingerprint(filePath) {
284
+ const st = statSync(filePath);
285
+ return `${st.mtimeMs}-${st.size}`;
286
+ }
287
+ async function getSessionContent(cwd, sessionId) {
288
+ const resolved = resolveSessionFile(cwd, sessionId);
289
+ if (!resolved) return { aiTitle: "", summary: "", messages: [] };
290
+ let fingerprint = "";
291
+ try {
292
+ fingerprint = fileFingerprint(resolved.path);
293
+ const cached = contentCache.get(resolved.path);
294
+ if (cached && cached.fingerprint === fingerprint) {
295
+ contentCache.delete(resolved.path);
296
+ contentCache.set(resolved.path, cached);
297
+ return cached.content;
298
+ }
299
+ } catch {
271
300
  }
272
- return { aiTitle: "", summary: "", messages: [] };
301
+ const content = await resolved.read(resolved.path);
302
+ if (fingerprint) {
303
+ contentCache.delete(resolved.path);
304
+ contentCache.set(resolved.path, { fingerprint, content });
305
+ if (contentCache.size > CONTENT_CACHE_MAX) {
306
+ const oldest = contentCache.keys().next().value;
307
+ if (oldest !== void 0) contentCache.delete(oldest);
308
+ }
309
+ }
310
+ return content;
273
311
  }
274
- async function getSessionPreview(cwd, sessionId) {
312
+ async function getSessionPreview(cwd, sessionId, opts) {
275
313
  const { aiTitle, summary, messages } = await getSessionContent(cwd, sessionId);
276
314
  const title = generateTitle(aiTitle, summary, messages);
277
315
  const lastUserMessage = messages[messages.length - 1];
278
- const searchText = [summary, ...messages].join("\n").toLowerCase();
316
+ const searchText = opts?.includeSearchText ? [summary, ...messages].join("\n").toLowerCase() : "";
279
317
  if (messages.length <= SUMMARY_THRESHOLD) {
280
318
  return { title, lastUserMessage, firstMessages: messages.map((m) => truncate(m)), lastMessages: [], searchText };
281
319
  }
@@ -304,6 +342,13 @@ async function getGlobalSessionsSnapshot(limit = 15) {
304
342
  const preview = await getSessionPreview(session.cwd, session.sessionId);
305
343
  return {
306
344
  ...session,
345
+ // Re-derive the title from disk on every read (aiTitle > summary >
346
+ // first message) instead of trusting the value persisted in
347
+ // state.json — that snapshot is only refreshed when a run finishes,
348
+ // so it goes stale whenever the aiTitle lands after completion.
349
+ // Fall back to the persisted title only when the transcript is gone
350
+ // (preview degrades to UNTITLED_SESSION). Mirrors /api/global-state.
351
+ title: preview.title !== UNTITLED_SESSION ? preview.title : session.title ?? preview.title,
307
352
  lastUserMessage: preview.lastUserMessage ?? session.lastUserMessage,
308
353
  firstMessages: preview.firstMessages,
309
354
  lastMessages: preview.lastMessages
@@ -326,6 +371,20 @@ function isValidUserMessage(text) {
326
371
  if (!text.trim()) return false;
327
372
  return true;
328
373
  }
374
+ var SNAPSHOT_TYPE_MARKERS = [
375
+ '"type":"user"',
376
+ '"type": "user"',
377
+ '"type":"summary"',
378
+ '"type": "summary"',
379
+ '"type":"ai-title"',
380
+ '"type": "ai-title"'
381
+ ];
382
+ function isSnapshotRelevantLine(line) {
383
+ for (const marker of SNAPSHOT_TYPE_MARKERS) {
384
+ if (line.includes(marker)) return true;
385
+ }
386
+ return false;
387
+ }
329
388
  async function getClaudeStyleTitle(filePath) {
330
389
  try {
331
390
  const fileStream = createReadStream(filePath);
@@ -335,6 +394,7 @@ async function getClaudeStyleTitle(filePath) {
335
394
  const userMessages = [];
336
395
  for await (const line of rl) {
337
396
  if (!line.trim()) continue;
397
+ if (!isSnapshotRelevantLine(line)) continue;
338
398
  try {
339
399
  const entry = JSON.parse(line);
340
400
  if (entry.type === "ai-title" && entry.aiTitle) {
@@ -369,6 +429,7 @@ async function getClaudeStyleUserMessages(filePath) {
369
429
  const rl = createInterface({ input: fileStream, crlfDelay: Infinity });
370
430
  for await (const line of rl) {
371
431
  if (!line.trim()) continue;
432
+ if (!isSnapshotRelevantLine(line)) continue;
372
433
  try {
373
434
  const entry = JSON.parse(line);
374
435
  if (entry.type !== "user") continue;
@@ -406,6 +467,7 @@ async function getClaudeStyleContent(filePath) {
406
467
  const rl = createInterface({ input: fileStream, crlfDelay: Infinity });
407
468
  for await (const line of rl) {
408
469
  if (!line.trim()) continue;
470
+ if (!isSnapshotRelevantLine(line)) continue;
409
471
  try {
410
472
  const entry = JSON.parse(line);
411
473
  if (entry.type === "ai-title" && entry.aiTitle) {
@@ -28644,6 +28644,7 @@ var CLAUDE2_DIR = join4(HOME_DIR, ".claude2");
28644
28644
  var CLAUDE2_PROJECTS_DIR = join4(CLAUDE2_DIR, "projects");
28645
28645
  var DEEPSEEK_DIR = join4(COCKPIT_DIR, "deepseek");
28646
28646
  var DEEPSEEK_PROJECTS_DIR = join4(DEEPSEEK_DIR, "projects");
28647
+ var DEEPSEEK_CREDENTIALS_FILE = join4(DEEPSEEK_DIR, "credentials.json");
28647
28648
  function encodePath(path) {
28648
28649
  return path.replace(/[/.]/g, "-");
28649
28650
  }
@@ -30559,6 +30560,7 @@ export {
30559
30560
  REVIEW_SIGNAL_FILE,
30560
30561
  CLAUDE2_DIR,
30561
30562
  DEEPSEEK_DIR,
30563
+ DEEPSEEK_CREDENTIALS_FILE,
30562
30564
  encodePath,
30563
30565
  getTerminalHistoryPath,
30564
30566
  getTerminalOutputPath,
@@ -13,7 +13,7 @@ import {
13
13
  getTerminalOutputPath,
14
14
  readJsonFile,
15
15
  writeJsonFile
16
- } from "./chunk-PTHQK26K.mjs";
16
+ } from "./chunk-NW4I3U26.mjs";
17
17
 
18
18
  // packages/feature/console/src/server/plugins/browser/BrowserBridge.ts
19
19
  import { WebSocket } from "ws";
package/dist/httpApi.mjs CHANGED
@@ -22,10 +22,10 @@ import {
22
22
  unregisterBrowser,
23
23
  unregisterTerminal,
24
24
  writeStdinToCommand
25
- } from "./chunk-53DHIXIY.mjs";
25
+ } from "./chunk-V2ZASC2X.mjs";
26
26
  import {
27
27
  getTerminalHistoryPath
28
- } from "./chunk-PTHQK26K.mjs";
28
+ } from "./chunk-NW4I3U26.mjs";
29
29
  import "./chunk-7P6ASYW6.mjs";
30
30
 
31
31
  // src/lib/httpApi.ts
@@ -10,12 +10,13 @@ import {
10
10
  setRunAbort,
11
11
  startRun,
12
12
  updateGlobalState
13
- } from "./chunk-RBT65EBM.mjs";
13
+ } from "./chunk-4S76JXBU.mjs";
14
14
  import {
15
15
  AgentError,
16
16
  AppRuntime,
17
17
  CLAUDE2_DIR,
18
18
  COCKPIT_DIR,
19
+ DEEPSEEK_CREDENTIALS_FILE,
19
20
  DEEPSEEK_DIR,
20
21
  Effect_exports,
21
22
  SCHEDULED_TASKS_FILE,
@@ -36,7 +37,7 @@ import {
36
37
  settlePendingRecord,
37
38
  withFileLock,
38
39
  writeJsonFile
39
- } from "./chunk-PTHQK26K.mjs";
40
+ } from "./chunk-NW4I3U26.mjs";
40
41
  import {
41
42
  __export
42
43
  } from "./chunk-7P6ASYW6.mjs";
@@ -2658,6 +2659,12 @@ var claudeSpec = {
2658
2659
  }
2659
2660
  };
2660
2661
 
2662
+ // packages/feature/agent/src/server/engines/deepseekCredentials.ts
2663
+ async function readDeepseekApiKey() {
2664
+ const creds = await readJsonFile(DEEPSEEK_CREDENTIALS_FILE, {});
2665
+ return creds.apiKey?.trim() ?? "";
2666
+ }
2667
+
2661
2668
  // packages/feature/agent/src/server/engines/deepseek.ts
2662
2669
  var DEEPSEEK_BASE_URL = "https://api.deepseek.com/anthropic";
2663
2670
  var DEFAULT_MODEL = "deepseek-v4-pro";
@@ -2707,7 +2714,7 @@ var deepseekSpec = {
2707
2714
  // Pre-check BEFORE startRun: API key must exist; resolve model into params (no registry pollution).
2708
2715
  async preflight(params) {
2709
2716
  const settings = await readSettings();
2710
- const apiKey = settings.engines?.deepseek?.apiKey?.trim();
2717
+ const apiKey = await readDeepseekApiKey();
2711
2718
  if (!apiKey) {
2712
2719
  return {
2713
2720
  ok: false,
@@ -2720,8 +2727,7 @@ var deepseekSpec = {
2720
2727
  },
2721
2728
  runner: {
2722
2729
  async run(ctx) {
2723
- const settings = await readSettings();
2724
- const apiKey = settings.engines?.deepseek?.apiKey?.trim() ?? "";
2730
+ const apiKey = await readDeepseekApiKey();
2725
2731
  const model = typeof ctx.params.model === "string" ? ctx.params.model : DEFAULT_MODEL;
2726
2732
  const env = buildDeepseekEnv(apiKey, model);
2727
2733
  await runSdkLoop(ctx, buildDeepseekOptions(ctx, env));
@@ -45,12 +45,12 @@ import {
45
45
  unregisterTerminal,
46
46
  updateBrowserWs,
47
47
  writeStdinToCommand
48
- } from "./chunk-53DHIXIY.mjs";
48
+ } from "./chunk-V2ZASC2X.mjs";
49
49
  import {
50
50
  createNeo4jDriver,
51
51
  runCypherWithDriver,
52
52
  serializeValue
53
- } from "./chunk-PTHQK26K.mjs";
53
+ } from "./chunk-NW4I3U26.mjs";
54
54
  import "./chunk-7P6ASYW6.mjs";
55
55
  export {
56
56
  INTERRUPTED_EXIT_CODE,