@surething/cockpit 1.0.205 → 1.0.207

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 (324) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +25 -25
  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 +3 -3
  6. package/.next-prod/required-server-files.js +12 -0
  7. package/.next-prod/required-server-files.json +12 -0
  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 +2 -2
  22. package/.next-prod/server/app/_not-found.rsc +4 -3
  23. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +4 -3
  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 +4 -3
  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 +3 -2
  29. package/.next-prod/server/app/api/bash/route.js +1 -1
  30. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  31. package/.next-prod/server/app/api/chat/codex/route.js +3 -3
  32. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  33. package/.next-prod/server/app/api/chat/deepseek/route.js +6 -6
  34. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  35. package/.next-prod/server/app/api/chat/kimi/route.js +3 -3
  36. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  37. package/.next-prod/server/app/api/chat/ollama/route.js +7 -7
  38. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  39. package/.next-prod/server/app/api/chat/route.js +3 -3
  40. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  41. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  42. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  43. package/.next-prod/server/app/api/commands/route.js +1 -1
  44. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  45. package/.next-prod/server/app/api/comments/route.js +1 -1
  46. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  47. package/.next-prod/server/app/api/db/columns/route.js +4 -4
  48. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  49. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  50. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  51. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  52. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  53. package/.next-prod/server/app/api/db/export/route.js +1 -1
  54. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  55. package/.next-prod/server/app/api/db/query/route.js +1 -1
  56. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  57. package/.next-prod/server/app/api/db/schemas/route.js +2 -2
  58. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  59. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  60. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  61. package/.next-prod/server/app/api/file/route.js +1 -1
  62. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  63. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  64. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  65. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  66. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  67. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  68. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  69. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  70. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  71. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  72. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  73. package/.next-prod/server/app/api/files/index/route.js +1 -1
  74. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  75. package/.next-prod/server/app/api/files/init/route.js +1 -1
  76. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  77. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  78. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  79. package/.next-prod/server/app/api/files/read/route.js +1 -1
  80. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  81. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  82. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  83. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  84. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  85. package/.next-prod/server/app/api/files/save/route.js +1 -1
  86. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  87. package/.next-prod/server/app/api/files/search/route.js +1 -1
  88. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  89. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  90. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  91. package/.next-prod/server/app/api/files/text/route.js +1 -1
  92. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  93. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  94. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  95. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  96. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  97. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  98. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  99. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  100. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  101. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  102. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  103. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  104. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  105. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  106. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  107. package/.next-prod/server/app/api/git/status/route.js +1 -1
  108. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  109. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  110. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  111. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  112. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  113. package/.next-prod/server/app/api/global-state/route.js +1 -1
  114. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  115. package/.next-prod/server/app/api/jupyter/load/route.js +1 -1
  116. package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -1
  117. package/.next-prod/server/app/api/jupyter/save/route.js +1 -1
  118. package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -1
  119. package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -1
  120. package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -1
  121. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  122. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  123. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  124. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  125. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  126. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  127. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  128. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  129. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  130. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  131. package/.next-prod/server/app/api/mysql/columns/route.js +4 -4
  132. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  133. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  134. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  135. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  136. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  137. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  138. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  139. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  140. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  141. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  142. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  143. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  144. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  145. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  146. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  147. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  148. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  149. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  150. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  151. package/.next-prod/server/app/api/note/route.js +1 -1
  152. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  153. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  154. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  155. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  156. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  157. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  158. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  159. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  160. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  161. package/.next-prod/server/app/api/pick-folder/route.js +1 -1
  162. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
  163. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  164. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  165. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  166. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  167. package/.next-prod/server/app/api/project-state/route.js +1 -1
  168. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  169. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  170. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  171. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  172. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  173. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  174. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  175. package/.next-prod/server/app/api/projects/route.js +1 -1
  176. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  177. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  178. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  179. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  180. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  181. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  182. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  183. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  184. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  185. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  186. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  187. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  188. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  189. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  190. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  191. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  192. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  193. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  194. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  195. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  196. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  197. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  198. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  199. package/.next-prod/server/app/api/review/order/route.js +1 -1
  200. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  201. package/.next-prod/server/app/api/review/route.js +1 -1
  202. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  203. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  204. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  205. package/.next-prod/server/app/api/review/users/route.js +1 -1
  206. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  207. package/.next-prod/server/app/api/scheduled-tasks/route.js +1 -1
  208. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  209. package/.next-prod/server/app/api/services/config/route.js +1 -1
  210. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  211. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  212. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  213. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  214. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  215. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  216. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  217. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  218. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  219. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  220. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  221. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  222. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  223. package/.next-prod/server/app/api/sessions/route.js +1 -1
  224. package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
  225. package/.next-prod/server/app/api/settings/route.js +1 -1
  226. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  227. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  228. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  229. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  230. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  231. package/.next-prod/server/app/api/skills/route.js +1 -1
  232. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  233. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  234. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  235. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  236. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  237. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  238. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  239. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  240. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  241. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  242. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  243. package/.next-prod/server/app/api/version/route.js +1 -1
  244. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  245. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  246. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  247. package/.next-prod/server/app/page.js +2 -99
  248. package/.next-prod/server/app/page.js.nft.json +1 -1
  249. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  250. package/.next-prod/server/app/project/page.js +2 -30
  251. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  252. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  253. package/.next-prod/server/app/review/[id]/page.js +2 -2
  254. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  255. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  256. package/.next-prod/server/app-paths-manifest.json +25 -25
  257. package/.next-prod/server/chunks/240.js +1 -0
  258. package/.next-prod/server/chunks/{4098.js → 5466.js} +1 -1
  259. package/.next-prod/server/chunks/554.js +101 -0
  260. package/.next-prod/server/chunks/{4272.js → 6007.js} +2 -2
  261. package/.next-prod/server/chunks/7264.js +5 -0
  262. package/.next-prod/server/chunks/8750.js +1 -0
  263. package/.next-prod/server/chunks/{4490.js → 8764.js} +1 -1
  264. package/.next-prod/server/chunks/900.js +1 -0
  265. package/.next-prod/server/chunks/9255.js +1 -0
  266. package/.next-prod/server/chunks/9658.js +59 -0
  267. package/.next-prod/server/chunks/987.js +139 -0
  268. package/.next-prod/server/functions-config-manifest.json +1 -26
  269. package/.next-prod/server/middleware-build-manifest.js +1 -1
  270. package/.next-prod/server/middleware-react-loadable-manifest.js +1 -1
  271. package/.next-prod/server/pages/404.html +2 -2
  272. package/.next-prod/server/pages/500.html +1 -1
  273. package/.next-prod/server/server-reference-manifest.json +1 -1
  274. package/.next-prod/static/chunks/{700.8d53bb1a328c3f97.js → 1959.b9473117faf354bf.js} +1 -1
  275. package/.next-prod/static/chunks/5204-c8293184aa55cdd5.js +23 -0
  276. package/.next-prod/static/chunks/5660-9053823b3dfa50f5.js +29 -0
  277. package/.next-prod/static/chunks/6028-1d6ced1439a3f01f.js +1 -0
  278. package/.next-prod/static/chunks/6345-6b34b0528ff833a1.js +14 -0
  279. package/.next-prod/static/chunks/app/layout-421143dba2c69478.js +1 -0
  280. package/.next-prod/static/chunks/app/page-db32ebfdf1ac9174.js +1 -0
  281. package/.next-prod/static/chunks/app/project/page-db32ebfdf1ac9174.js +1 -0
  282. package/.next-prod/static/chunks/app/review/[id]/page-05cd4cb51babd64c.js +1 -0
  283. package/.next-prod/static/chunks/webpack-bb0c02e3a9602d78.js +1 -0
  284. package/.next-prod/static/css/a7974d62fe853925.css +1 -0
  285. package/.next-prod/trace +12 -12
  286. package/.next-prod/trace-build +1 -1
  287. package/dist/{chunk-5NL2LMKP.mjs → chunk-HIRLDMCH.mjs} +24 -140
  288. package/dist/chunk-RSHKDWJM.mjs +136 -0
  289. package/dist/chunk-VCZEGP64.mjs +984 -0
  290. package/dist/scheduledTasks.mjs +6 -4
  291. package/dist/server-K6XWP7DX.mjs +69 -0
  292. package/dist/wsServer.mjs +60 -482
  293. package/next.config.mjs +15 -0
  294. package/package.json +15 -17
  295. package/server.mjs +1 -1
  296. package/.next-prod/server/chunks/2338.js +0 -1
  297. package/.next-prod/server/chunks/3353.js +0 -1
  298. package/.next-prod/server/chunks/3863.js +0 -1
  299. package/.next-prod/server/chunks/4732.js +0 -1
  300. package/.next-prod/server/chunks/4793.js +0 -1
  301. package/.next-prod/server/chunks/5147.js +0 -1
  302. package/.next-prod/server/chunks/5394.js +0 -1
  303. package/.next-prod/server/chunks/6043.js +0 -4
  304. package/.next-prod/server/chunks/7051.js +0 -1
  305. package/.next-prod/server/chunks/7514.js +0 -31
  306. package/.next-prod/server/chunks/8491.js +0 -5
  307. package/.next-prod/server/chunks/9298.js +0 -139
  308. package/.next-prod/static/chunks/1705-906aa28943dbc391.js +0 -4
  309. package/.next-prod/static/chunks/3530-42727255f967251e.js +0 -14
  310. package/.next-prod/static/chunks/3579-51f0ad7204c67e22.js +0 -1
  311. package/.next-prod/static/chunks/3643-fe2ac2f1accd0649.js +0 -1
  312. package/.next-prod/static/chunks/3743-1f5d8cfd9d92ad97.js +0 -4
  313. package/.next-prod/static/chunks/4186-2bbbcdf03b3c15f5.js +0 -17
  314. package/.next-prod/static/chunks/9062-8d92cbc176f388a0.js +0 -1
  315. package/.next-prod/static/chunks/9114-0d2717c9c2752d0f.js +0 -1
  316. package/.next-prod/static/chunks/app/layout-e091cf70aaec617b.js +0 -1
  317. package/.next-prod/static/chunks/app/page-c9a30c88afc0a0c5.js +0 -1
  318. package/.next-prod/static/chunks/app/project/page-bd8c46d229676a01.js +0 -29
  319. package/.next-prod/static/chunks/app/review/[id]/page-f8bb4748e9a94a0f.js +0 -1
  320. package/.next-prod/static/chunks/webpack-c6cffb10a569677a.js +0 -1
  321. package/.next-prod/static/css/23784ace5d9f83d5.css +0 -1
  322. package/dist/JupyterKernelManager-VBKKSRVJ.mjs +0 -269
  323. /package/.next-prod/static/{T6-Nq3sO9DxU5E0rsM6aX → Uvhbo45hauczMddOCJnSX}/_buildManifest.js +0 -0
  324. /package/.next-prod/static/{T6-Nq3sO9DxU5E0rsM6aX → Uvhbo45hauczMddOCJnSX}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- [{"name":"run-webpack","duration":15468626,"timestamp":194144497,"id":14,"parentId":1,"tags":{},"startTime":1778319731707,"traceId":"eeb45e5d7df5abc6"},{"name":"run-typescript","duration":12927913,"timestamp":209621333,"id":1436,"parentId":1,"tags":{},"startTime":1778319747184,"traceId":"eeb45e5d7df5abc6"},{"name":"static-check","duration":647141,"timestamp":222578795,"id":1439,"parentId":1,"tags":{},"startTime":1778319760141,"traceId":"eeb45e5d7df5abc6"},{"name":"static-generation","duration":3542514,"timestamp":223616965,"id":1675,"parentId":1,"tags":{},"startTime":1778319761179,"traceId":"eeb45e5d7df5abc6"},{"name":"collect-build-traces","duration":14571657,"timestamp":223227951,"id":1672,"parentId":1,"tags":{},"startTime":1778319760790,"traceId":"eeb45e5d7df5abc6"},{"name":"telemetry-flush","duration":47,"timestamp":237803147,"id":1684,"parentId":1,"tags":{},"startTime":1778319775365,"traceId":"eeb45e5d7df5abc6"},{"name":"next-build","duration":43784865,"timestamp":194018340,"id":1,"tags":{"buildMode":"default","version":"16.2.4","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1778319731581,"traceId":"eeb45e5d7df5abc6"}]
1
+ [{"name":"run-webpack","duration":14183066,"timestamp":553092385,"id":14,"parentId":1,"tags":{},"startTime":1778501542240,"traceId":"747a1ac47c5058f0"},{"name":"run-typescript","duration":15489843,"timestamp":567364658,"id":1428,"parentId":1,"tags":{},"startTime":1778501556512,"traceId":"747a1ac47c5058f0"},{"name":"static-check","duration":884278,"timestamp":582890777,"id":1431,"parentId":1,"tags":{},"startTime":1778501572038,"traceId":"747a1ac47c5058f0"},{"name":"static-generation","duration":4337398,"timestamp":584263853,"id":1667,"parentId":1,"tags":{},"startTime":1778501573411,"traceId":"747a1ac47c5058f0"},{"name":"collect-build-traces","duration":18309848,"timestamp":583777786,"id":1664,"parentId":1,"tags":{},"startTime":1778501572925,"traceId":"747a1ac47c5058f0"},{"name":"telemetry-flush","duration":69,"timestamp":602091341,"id":1676,"parentId":1,"tags":{},"startTime":1778501591239,"traceId":"747a1ac47c5058f0"},{"name":"next-build","duration":49167204,"timestamp":552924220,"id":1,"tags":{"buildMode":"default","version":"16.2.4","bundler":"webpack","has-custom-webpack-config":"true","use-build-worker":"false"},"startTime":1778501542072,"traceId":"747a1ac47c5058f0"}]
@@ -1,123 +1,17 @@
1
- // src/lib/paths.ts
2
- import { homedir } from "os";
3
- import { join } from "path";
4
- import { mkdir, readFile, writeFile } from "fs/promises";
5
- import { existsSync, writeFileSync, mkdirSync, readdirSync } from "fs";
6
- import { execSync } from "child_process";
7
- var HOME_DIR = homedir();
8
- var COCKPIT_DIR = join(HOME_DIR, ".cockpit");
9
- var COCKPIT_PROJECTS_DIR = join(COCKPIT_DIR, "projects");
10
- var GLOBAL_STATE_FILE = join(COCKPIT_DIR, "state.json");
11
- var PINNED_SESSIONS_FILE = join(COCKPIT_DIR, "pinned-sessions.json");
12
- var NOTE_FILE = join(COCKPIT_DIR, "note.md");
13
- var SCHEDULED_TASKS_FILE = join(COCKPIT_DIR, "scheduled-tasks.json");
14
- var SETTINGS_FILE = join(COCKPIT_DIR, "settings.json");
15
- var SKILLS_FILE = join(COCKPIT_DIR, "skills.json");
16
- var REVIEW_DIR = join(COCKPIT_DIR, "review");
17
- var REVIEW_SIGNAL_FILE = join(REVIEW_DIR, "_signal");
18
- var CLAUDE_DIR = join(HOME_DIR, ".claude");
19
- var CLAUDE_PROJECTS_DIR = join(CLAUDE_DIR, "projects");
20
- var CLAUDE2_DIR = join(HOME_DIR, ".claude2");
21
- var CLAUDE2_PROJECTS_DIR = join(CLAUDE2_DIR, "projects");
22
- var DEEPSEEK_DIR = join(COCKPIT_DIR, "deepseek");
23
- var DEEPSEEK_PROJECTS_DIR = join(DEEPSEEK_DIR, "projects");
24
- function encodePath(path) {
25
- return path.replace(/[/.]/g, "-");
26
- }
27
- function getCockpitProjectDir(cwd) {
28
- return join(COCKPIT_PROJECTS_DIR, encodePath(cwd));
29
- }
30
- function getTerminalHistoryPath(cwd, tabId) {
31
- return join(getCockpitProjectDir(cwd), `terminal-history-${tabId}.jsonl`);
32
- }
33
- function getTerminalOutputPath(cwd, commandId) {
34
- return join(getCockpitProjectDir(cwd), `terminal-output-${commandId}.txt`);
35
- }
36
- function getClaudeProjectDir(cwd) {
37
- return join(CLAUDE_PROJECTS_DIR, encodePath(cwd));
38
- }
39
- function getClaudeSessionPath(cwd, sessionId) {
40
- return join(getClaudeProjectDir(cwd), `${sessionId}.jsonl`);
41
- }
42
- function getClaude2ProjectDir(cwd) {
43
- return join(CLAUDE2_PROJECTS_DIR, encodePath(cwd));
44
- }
45
- function getClaude2SessionPath(cwd, sessionId) {
46
- return join(getClaude2ProjectDir(cwd), `${sessionId}.jsonl`);
47
- }
48
- function getOllamaSessionsDir(cwd) {
49
- return join(COCKPIT_DIR, "ollama-sessions", encodePath(cwd));
50
- }
51
- function getOllamaSessionPath(cwd, sessionId) {
52
- return join(getOllamaSessionsDir(cwd), `${sessionId}.jsonl`);
53
- }
54
- function findCodexSessionPath(threadId) {
55
- const codexSessionsDir = join(HOME_DIR, ".codex", "sessions");
56
- if (!existsSync(codexSessionsDir)) return null;
57
- try {
58
- const result = execSync(
59
- `find ${JSON.stringify(codexSessionsDir)} -name "*${threadId}.jsonl" -type f 2>/dev/null`,
60
- { encoding: "utf8", timeout: 3e3 }
61
- ).trim();
62
- if (result) {
63
- return result.split("\n")[0];
64
- }
65
- } catch {
66
- }
67
- return null;
68
- }
69
- function findKimiSessionPath(sessionId) {
70
- const sessionsDir = join(HOME_DIR, ".kimi", "sessions");
71
- if (!existsSync(sessionsDir)) return null;
72
- try {
73
- for (const hash of readdirSync(sessionsDir)) {
74
- const candidate = join(sessionsDir, hash, sessionId, "context.jsonl");
75
- if (existsSync(candidate)) return candidate;
76
- }
77
- } catch {
78
- }
79
- return null;
80
- }
81
- async function ensureDir(dirPath) {
82
- if (!existsSync(dirPath)) {
83
- await mkdir(dirPath, { recursive: true });
84
- }
85
- }
86
- async function ensureParentDir(filePath) {
87
- const dir = join(filePath, "..");
88
- await ensureDir(dir);
89
- }
90
- async function readJsonFile(filePath, defaultValue) {
91
- try {
92
- const content = await readFile(filePath, "utf-8");
93
- return JSON.parse(content);
94
- } catch {
95
- return defaultValue;
96
- }
97
- }
98
- async function writeJsonFile(filePath, data) {
99
- await ensureParentDir(filePath);
100
- await writeFile(filePath, JSON.stringify(data, null, 2), "utf-8");
101
- }
102
- var g_fileLocks = globalThis;
103
- var fileLocks = g_fileLocks.__cockpitFileLocks ?? (g_fileLocks.__cockpitFileLocks = /* @__PURE__ */ new Map());
104
- function withFileLock(filePath, fn) {
105
- const prev = fileLocks.get(filePath) ?? Promise.resolve();
106
- const run = prev.then(fn);
107
- const chain = run.then(() => {
108
- }, () => {
109
- });
110
- fileLocks.set(filePath, chain);
111
- chain.then(() => {
112
- if (fileLocks.get(filePath) === chain) {
113
- fileLocks.delete(filePath);
114
- }
115
- });
116
- return run;
117
- }
1
+ import {
2
+ GLOBAL_STATE_FILE,
3
+ findCodexSessionPath,
4
+ findKimiSessionPath,
5
+ getClaude2SessionPath,
6
+ getClaudeSessionPath,
7
+ getOllamaSessionPath,
8
+ readJsonFile,
9
+ withFileLock,
10
+ writeJsonFile
11
+ } from "./chunk-RSHKDWJM.mjs";
118
12
 
119
- // src/lib/global-state.ts
120
- import { createReadStream, existsSync as existsSync2 } from "fs";
13
+ // packages/feature/agent/src/server/state/globalState.ts
14
+ import { createReadStream, existsSync } from "fs";
121
15
  import { createInterface } from "readline";
122
16
  var MAX_SESSIONS = 15;
123
17
  var MAX_TEXT_LEN = 50;
@@ -127,7 +21,7 @@ function truncate(s) {
127
21
  return chars.length <= MAX_TEXT_LEN ? s : chars.slice(0, MAX_TEXT_LEN).join("") + "\u2026";
128
22
  }
129
23
  async function updateGlobalState(cwd, sessionId, status, title, lastUserMessage) {
130
- if (!existsSync2(cwd)) {
24
+ if (!existsSync(cwd)) {
131
25
  return;
132
26
  }
133
27
  return withFileLock(GLOBAL_STATE_FILE, async () => {
@@ -164,24 +58,24 @@ async function updateGlobalState(cwd, sessionId, status, title, lastUserMessage)
164
58
  }
165
59
  async function getSessionTitle(cwd, sessionId) {
166
60
  const claudePath = getClaudeSessionPath(cwd, sessionId);
167
- if (existsSync2(claudePath)) {
61
+ if (existsSync(claudePath)) {
168
62
  return getClaudeStyleTitle(claudePath);
169
63
  }
170
64
  const claude2Path = getClaude2SessionPath(cwd, sessionId);
171
- if (existsSync2(claude2Path)) {
65
+ if (existsSync(claude2Path)) {
172
66
  return getClaudeStyleTitle(claude2Path);
173
67
  }
174
68
  const ollamaPath = getOllamaSessionPath(cwd, sessionId);
175
- if (existsSync2(ollamaPath)) {
69
+ if (existsSync(ollamaPath)) {
176
70
  return getClaudeStyleTitle(ollamaPath);
177
71
  }
178
72
  const codexPath = findCodexSessionPath(sessionId);
179
- if (codexPath && existsSync2(codexPath)) {
73
+ if (codexPath && existsSync(codexPath)) {
180
74
  const title = await getCodexTitle(codexPath);
181
75
  return title || "Untitled Session";
182
76
  }
183
77
  const kimiPath = findKimiSessionPath(sessionId);
184
- if (kimiPath && existsSync2(kimiPath)) {
78
+ if (kimiPath && existsSync(kimiPath)) {
185
79
  const title = await getKimiTitle(kimiPath);
186
80
  return title || "Untitled Session";
187
81
  }
@@ -189,23 +83,23 @@ async function getSessionTitle(cwd, sessionId) {
189
83
  }
190
84
  async function getLastUserMessage(cwd, sessionId) {
191
85
  const claudePath = getClaudeSessionPath(cwd, sessionId);
192
- if (existsSync2(claudePath)) {
86
+ if (existsSync(claudePath)) {
193
87
  return await getClaudeStyleLastUserMessage(claudePath);
194
88
  }
195
89
  const claude2Path = getClaude2SessionPath(cwd, sessionId);
196
- if (existsSync2(claude2Path)) {
90
+ if (existsSync(claude2Path)) {
197
91
  return await getClaudeStyleLastUserMessage(claude2Path);
198
92
  }
199
93
  const ollamaPath = getOllamaSessionPath(cwd, sessionId);
200
- if (existsSync2(ollamaPath)) {
94
+ if (existsSync(ollamaPath)) {
201
95
  return await getClaudeStyleLastUserMessage(ollamaPath);
202
96
  }
203
97
  const codexPath = findCodexSessionPath(sessionId);
204
- if (codexPath && existsSync2(codexPath)) {
98
+ if (codexPath && existsSync(codexPath)) {
205
99
  return await getCodexLastUserMessage(codexPath);
206
100
  }
207
101
  const kimiPath = findKimiSessionPath(sessionId);
208
- if (kimiPath && existsSync2(kimiPath)) {
102
+ if (kimiPath && existsSync(kimiPath)) {
209
103
  return await getKimiLastUserMessage(kimiPath);
210
104
  }
211
105
  return void 0;
@@ -414,16 +308,6 @@ function generateTitle(summary, userMessages) {
414
308
  }
415
309
 
416
310
  export {
417
- GLOBAL_STATE_FILE,
418
- SCHEDULED_TASKS_FILE,
419
- REVIEW_DIR,
420
- REVIEW_SIGNAL_FILE,
421
- CLAUDE2_DIR,
422
- getTerminalHistoryPath,
423
- getTerminalOutputPath,
424
- ensureParentDir,
425
- readJsonFile,
426
- writeJsonFile,
427
311
  updateGlobalState,
428
312
  getSessionTitle,
429
313
  getLastUserMessage
@@ -0,0 +1,136 @@
1
+ // packages/shared/utils/src/paths.ts
2
+ import { homedir } from "os";
3
+ import { join } from "path";
4
+ import { mkdir, readFile, writeFile } from "fs/promises";
5
+ import { existsSync, writeFileSync, mkdirSync, readdirSync } from "fs";
6
+ import { execSync } from "child_process";
7
+ var HOME_DIR = homedir();
8
+ var COCKPIT_DIR = join(HOME_DIR, ".cockpit");
9
+ var COCKPIT_PROJECTS_DIR = join(COCKPIT_DIR, "projects");
10
+ var GLOBAL_STATE_FILE = join(COCKPIT_DIR, "state.json");
11
+ var PINNED_SESSIONS_FILE = join(COCKPIT_DIR, "pinned-sessions.json");
12
+ var NOTE_FILE = join(COCKPIT_DIR, "note.md");
13
+ var SCHEDULED_TASKS_FILE = join(COCKPIT_DIR, "scheduled-tasks.json");
14
+ var SETTINGS_FILE = join(COCKPIT_DIR, "settings.json");
15
+ var SKILLS_FILE = join(COCKPIT_DIR, "skills.json");
16
+ var REVIEW_DIR = join(COCKPIT_DIR, "review");
17
+ var REVIEW_SIGNAL_FILE = join(REVIEW_DIR, "_signal");
18
+ var CLAUDE_DIR = join(HOME_DIR, ".claude");
19
+ var CLAUDE_PROJECTS_DIR = join(CLAUDE_DIR, "projects");
20
+ var CLAUDE2_DIR = join(HOME_DIR, ".claude2");
21
+ var CLAUDE2_PROJECTS_DIR = join(CLAUDE2_DIR, "projects");
22
+ var DEEPSEEK_DIR = join(COCKPIT_DIR, "deepseek");
23
+ var DEEPSEEK_PROJECTS_DIR = join(DEEPSEEK_DIR, "projects");
24
+ function encodePath(path) {
25
+ return path.replace(/[/.]/g, "-");
26
+ }
27
+ function getCockpitProjectDir(cwd) {
28
+ return join(COCKPIT_PROJECTS_DIR, encodePath(cwd));
29
+ }
30
+ function getTerminalHistoryPath(cwd, tabId) {
31
+ return join(getCockpitProjectDir(cwd), `terminal-history-${tabId}.jsonl`);
32
+ }
33
+ function getTerminalOutputPath(cwd, commandId) {
34
+ return join(getCockpitProjectDir(cwd), `terminal-output-${commandId}.txt`);
35
+ }
36
+ function getClaudeProjectDir(cwd) {
37
+ return join(CLAUDE_PROJECTS_DIR, encodePath(cwd));
38
+ }
39
+ function getClaudeSessionPath(cwd, sessionId) {
40
+ return join(getClaudeProjectDir(cwd), `${sessionId}.jsonl`);
41
+ }
42
+ function getClaude2ProjectDir(cwd) {
43
+ return join(CLAUDE2_PROJECTS_DIR, encodePath(cwd));
44
+ }
45
+ function getClaude2SessionPath(cwd, sessionId) {
46
+ return join(getClaude2ProjectDir(cwd), `${sessionId}.jsonl`);
47
+ }
48
+ function getOllamaSessionsDir(cwd) {
49
+ return join(COCKPIT_DIR, "ollama-sessions", encodePath(cwd));
50
+ }
51
+ function getOllamaSessionPath(cwd, sessionId) {
52
+ return join(getOllamaSessionsDir(cwd), `${sessionId}.jsonl`);
53
+ }
54
+ function findCodexSessionPath(threadId) {
55
+ const codexSessionsDir = join(HOME_DIR, ".codex", "sessions");
56
+ if (!existsSync(codexSessionsDir)) return null;
57
+ try {
58
+ const result = execSync(
59
+ `find ${JSON.stringify(codexSessionsDir)} -name "*${threadId}.jsonl" -type f 2>/dev/null`,
60
+ { encoding: "utf8", timeout: 3e3 }
61
+ ).trim();
62
+ if (result) {
63
+ return result.split("\n")[0];
64
+ }
65
+ } catch {
66
+ }
67
+ return null;
68
+ }
69
+ function findKimiSessionPath(sessionId) {
70
+ const sessionsDir = join(HOME_DIR, ".kimi", "sessions");
71
+ if (!existsSync(sessionsDir)) return null;
72
+ try {
73
+ for (const hash of readdirSync(sessionsDir)) {
74
+ const candidate = join(sessionsDir, hash, sessionId, "context.jsonl");
75
+ if (existsSync(candidate)) return candidate;
76
+ }
77
+ } catch {
78
+ }
79
+ return null;
80
+ }
81
+ async function ensureDir(dirPath) {
82
+ if (!existsSync(dirPath)) {
83
+ await mkdir(dirPath, { recursive: true });
84
+ }
85
+ }
86
+ async function ensureParentDir(filePath) {
87
+ const dir = join(filePath, "..");
88
+ await ensureDir(dir);
89
+ }
90
+ async function readJsonFile(filePath, defaultValue) {
91
+ try {
92
+ const content = await readFile(filePath, "utf-8");
93
+ return JSON.parse(content);
94
+ } catch {
95
+ return defaultValue;
96
+ }
97
+ }
98
+ async function writeJsonFile(filePath, data) {
99
+ await ensureParentDir(filePath);
100
+ await writeFile(filePath, JSON.stringify(data, null, 2), "utf-8");
101
+ }
102
+ var g_fileLocks = globalThis;
103
+ var fileLocks = g_fileLocks.__cockpitFileLocks ?? (g_fileLocks.__cockpitFileLocks = /* @__PURE__ */ new Map());
104
+ function withFileLock(filePath, fn) {
105
+ const prev = fileLocks.get(filePath) ?? Promise.resolve();
106
+ const run = prev.then(fn);
107
+ const chain = run.then(() => {
108
+ }, () => {
109
+ });
110
+ fileLocks.set(filePath, chain);
111
+ chain.then(() => {
112
+ if (fileLocks.get(filePath) === chain) {
113
+ fileLocks.delete(filePath);
114
+ }
115
+ });
116
+ return run;
117
+ }
118
+
119
+ export {
120
+ GLOBAL_STATE_FILE,
121
+ SCHEDULED_TASKS_FILE,
122
+ REVIEW_DIR,
123
+ REVIEW_SIGNAL_FILE,
124
+ CLAUDE2_DIR,
125
+ getTerminalHistoryPath,
126
+ getTerminalOutputPath,
127
+ getClaudeSessionPath,
128
+ getClaude2SessionPath,
129
+ getOllamaSessionPath,
130
+ findCodexSessionPath,
131
+ findKimiSessionPath,
132
+ ensureParentDir,
133
+ readJsonFile,
134
+ writeJsonFile,
135
+ withFileLock
136
+ };