@surething/cockpit 1.0.225 → 1.0.226

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 (608) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +2 -1
  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 +1 -1
  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.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 +3 -3
  23. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -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 +3 -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 +2 -2
  29. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  30. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
  31. package/.next-prod/server/app/api/bash/route.js +1 -1
  32. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  33. package/.next-prod/server/app/api/chat/codex/route.js +3 -27
  34. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  35. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -5
  36. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  37. package/.next-prod/server/app/api/chat/kimi/route.js +3 -21
  38. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  39. package/.next-prod/server/app/api/chat/ollama/route.js +1 -91
  40. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  41. package/.next-prod/server/app/api/chat/pty-input/route.js +1 -1
  42. package/.next-prod/server/app/api/chat/pty-input/route.js.nft.json +1 -1
  43. package/.next-prod/server/app/api/chat/route.js +1 -23
  44. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  45. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  46. package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
  47. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  48. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  49. package/.next-prod/server/app/api/commands/route.js +1 -1
  50. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  51. package/.next-prod/server/app/api/comments/route.js +1 -1
  52. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  53. package/.next-prod/server/app/api/db/columns/route.js +2 -2
  54. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  55. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  56. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  57. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  58. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  59. package/.next-prod/server/app/api/db/export/route.js +1 -1
  60. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  61. package/.next-prod/server/app/api/db/query/route.js +1 -1
  62. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  63. package/.next-prod/server/app/api/db/schemas/route.js +1 -1
  64. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  65. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  66. package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
  67. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  68. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  69. package/.next-prod/server/app/api/file/route.js +1 -1
  70. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  71. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  72. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  73. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  74. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  75. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  76. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  77. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  78. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  79. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  80. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  81. package/.next-prod/server/app/api/files/index/route.js +1 -1
  82. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  83. package/.next-prod/server/app/api/files/init/route.js +1 -1
  84. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  85. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  86. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  87. package/.next-prod/server/app/api/files/read/route.js +1 -1
  88. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  89. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  90. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  91. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  92. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  93. package/.next-prod/server/app/api/files/save/route.js +1 -1
  94. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  95. package/.next-prod/server/app/api/files/search/route.js +1 -1
  96. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  97. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  98. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  99. package/.next-prod/server/app/api/files/text/route.js +1 -1
  100. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  101. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  102. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  103. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  104. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  105. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  106. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  107. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  108. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  109. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  110. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  111. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  112. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  113. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  114. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  115. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  116. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  117. package/.next-prod/server/app/api/git/status/route.js +1 -1
  118. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  119. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  120. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  121. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  122. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  123. package/.next-prod/server/app/api/global-state/route.js +1 -1
  124. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  125. package/.next-prod/server/app/api/health/route.js +1 -0
  126. package/.next-prod/server/app/api/health/route.js.nft.json +1 -0
  127. package/.next-prod/server/app/api/health/route_client-reference-manifest.js +1 -0
  128. package/.next-prod/server/app/api/jupyter/load/route.js +1 -1
  129. package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -1
  130. package/.next-prod/server/app/api/jupyter/save/route.js +1 -1
  131. package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -1
  132. package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -1
  133. package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -1
  134. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  135. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  136. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  137. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  138. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  139. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  140. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  141. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  142. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  143. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  144. package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
  145. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  146. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  147. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  148. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  149. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  150. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  151. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  152. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  153. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  154. package/.next-prod/server/app/api/mysql/schemas/route.js +1 -1
  155. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  156. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  157. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  158. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  159. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  160. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  161. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  162. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  163. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  164. package/.next-prod/server/app/api/note/route.js +1 -1
  165. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  166. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  167. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  168. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  169. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  170. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  171. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  172. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  173. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  174. package/.next-prod/server/app/api/pick-folder/route.js +1 -1
  175. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
  176. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  177. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  178. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  179. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  180. package/.next-prod/server/app/api/project-state/route.js +2 -2
  181. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  182. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  183. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  184. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  185. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  186. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  187. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  188. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  189. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  190. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  191. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  192. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  193. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  194. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  195. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  196. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  197. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  198. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  199. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  200. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  201. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  202. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  203. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  204. package/.next-prod/server/app/api/projects/route.js +1 -1
  205. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  206. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  207. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  208. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  209. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  210. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  211. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  212. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  213. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  214. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  215. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  216. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  217. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  218. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  219. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  220. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  221. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  222. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  223. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  224. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  225. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  226. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  227. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  228. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  229. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  230. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  231. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  232. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  233. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  234. package/.next-prod/server/app/api/review/order/route.js +1 -1
  235. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  236. package/.next-prod/server/app/api/review/route.js +1 -1
  237. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  238. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  239. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  240. package/.next-prod/server/app/api/review/users/route.js +1 -1
  241. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  242. package/.next-prod/server/app/api/scheduled-tasks/route.js +9 -1
  243. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  244. package/.next-prod/server/app/api/services/config/route.js +1 -1
  245. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  246. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  247. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  248. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  249. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  250. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  251. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  252. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  253. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  254. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  255. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  256. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  257. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  258. package/.next-prod/server/app/api/sessions/route.js +1 -1
  259. package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
  260. package/.next-prod/server/app/api/settings/route.js +1 -1
  261. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  262. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  263. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  264. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  265. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  266. package/.next-prod/server/app/api/skills/route.js +1 -1
  267. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  268. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  269. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  270. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  271. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  272. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  273. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  274. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  275. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  276. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  277. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  278. package/.next-prod/server/app/api/version/route.js +1 -1
  279. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  280. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  281. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  282. package/.next-prod/server/app/m/page.js +2 -2
  283. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  284. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  285. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  286. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  287. package/.next-prod/server/app/page.js +2 -2
  288. package/.next-prod/server/app/page.js.nft.json +1 -1
  289. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  290. package/.next-prod/server/app/project/page.js +2 -2
  291. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  292. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  293. package/.next-prod/server/app/review/[id]/page.js +2 -2
  294. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  295. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  296. package/.next-prod/server/app-paths-manifest.json +2 -1
  297. package/.next-prod/server/chunks/2939.js +1 -1
  298. package/.next-prod/server/chunks/304.js +1 -1
  299. package/.next-prod/server/chunks/{2637.js → 3633.js} +8 -8
  300. package/.next-prod/server/chunks/3742.js +1 -0
  301. package/.next-prod/server/chunks/3792.js +1 -1
  302. package/.next-prod/server/chunks/6955.js +1 -1
  303. package/.next-prod/server/chunks/7003.js +1 -1
  304. package/.next-prod/server/chunks/7338.js +89 -0
  305. package/.next-prod/server/chunks/8916.js +1 -1
  306. package/.next-prod/server/chunks/9658.js +13 -11
  307. package/.next-prod/server/chunks/9989.js +1 -0
  308. package/.next-prod/server/functions-config-manifest.json +1 -0
  309. package/.next-prod/server/middleware-build-manifest.js +1 -1
  310. package/.next-prod/server/middleware-react-loadable-manifest.js +1 -1
  311. package/.next-prod/server/pages/404.html +2 -2
  312. package/.next-prod/server/pages/500.html +1 -1
  313. package/.next-prod/server/server-reference-manifest.json +1 -1
  314. package/.next-prod/static/8ynyJhylJ-L1v1YRm30nG/_buildManifest.js +1 -0
  315. package/.next-prod/static/chunks/{1959.b9473117faf354bf.js → 1959.698f1d1accabcbe6.js} +2 -2
  316. package/.next-prod/static/chunks/217-259a6d7d3cac75d8.js +5 -0
  317. package/.next-prod/static/chunks/{2576-7459f532e98e12d6.js → 2576-02f5659d0b08eada.js} +13 -13
  318. package/.next-prod/static/chunks/9469-7902249e8fbf7955.js +14 -0
  319. package/.next-prod/static/chunks/app/_global-error/page-d7801a0008b8d59b.js +1 -0
  320. package/.next-prod/static/chunks/app/api/agent/test/route-d7801a0008b8d59b.js +1 -0
  321. package/.next-prod/static/chunks/app/api/bash/route-d7801a0008b8d59b.js +1 -0
  322. package/.next-prod/static/chunks/app/api/chat/codex/route-d7801a0008b8d59b.js +1 -0
  323. package/.next-prod/static/chunks/app/api/chat/deepseek/route-d7801a0008b8d59b.js +1 -0
  324. package/.next-prod/static/chunks/app/api/chat/kimi/route-d7801a0008b8d59b.js +1 -0
  325. package/.next-prod/static/chunks/app/api/chat/ollama/route-d7801a0008b8d59b.js +1 -0
  326. package/.next-prod/static/chunks/app/api/chat/pty-input/route-d7801a0008b8d59b.js +1 -0
  327. package/.next-prod/static/chunks/app/api/chat/route-d7801a0008b8d59b.js +1 -0
  328. package/.next-prod/static/chunks/app/api/chat/stop/route-d7801a0008b8d59b.js +1 -0
  329. package/.next-prod/static/chunks/app/api/claude-stats/route-d7801a0008b8d59b.js +1 -0
  330. package/.next-prod/static/chunks/app/api/commands/route-d7801a0008b8d59b.js +1 -0
  331. package/.next-prod/static/chunks/app/api/comments/route-d7801a0008b8d59b.js +1 -0
  332. package/.next-prod/static/chunks/app/api/db/columns/route-d7801a0008b8d59b.js +1 -0
  333. package/.next-prod/static/chunks/app/api/db/connect/route-d7801a0008b8d59b.js +1 -0
  334. package/.next-prod/static/chunks/app/api/db/disconnect/route-d7801a0008b8d59b.js +1 -0
  335. package/.next-prod/static/chunks/app/api/db/export/route-d7801a0008b8d59b.js +1 -0
  336. package/.next-prod/static/chunks/app/api/db/query/route-d7801a0008b8d59b.js +1 -0
  337. package/.next-prod/static/chunks/app/api/db/schemas/route-d7801a0008b8d59b.js +1 -0
  338. package/.next-prod/static/chunks/app/api/dev/spans/route-d7801a0008b8d59b.js +1 -0
  339. package/.next-prod/static/chunks/app/api/extension/version/route-d7801a0008b8d59b.js +1 -0
  340. package/.next-prod/static/chunks/app/api/file/route-d7801a0008b8d59b.js +1 -0
  341. package/.next-prod/static/chunks/app/api/files/blame/route-d7801a0008b8d59b.js +1 -0
  342. package/.next-prod/static/chunks/app/api/files/clipboard/route-d7801a0008b8d59b.js +1 -0
  343. package/.next-prod/static/chunks/app/api/files/copy/route-d7801a0008b8d59b.js +1 -0
  344. package/.next-prod/static/chunks/app/api/files/delete/route-d7801a0008b8d59b.js +1 -0
  345. package/.next-prod/static/chunks/app/api/files/expanded/route-d7801a0008b8d59b.js +1 -0
  346. package/.next-prod/static/chunks/app/api/files/index/route-d7801a0008b8d59b.js +1 -0
  347. package/.next-prod/static/chunks/app/api/files/init/route-d7801a0008b8d59b.js +1 -0
  348. package/.next-prod/static/chunks/app/api/files/paste/route-d7801a0008b8d59b.js +1 -0
  349. package/.next-prod/static/chunks/app/api/files/read/route-d7801a0008b8d59b.js +1 -0
  350. package/.next-prod/static/chunks/app/api/files/readdir/route-d7801a0008b8d59b.js +1 -0
  351. package/.next-prod/static/chunks/app/api/files/recent/route-d7801a0008b8d59b.js +1 -0
  352. package/.next-prod/static/chunks/app/api/files/save/route-d7801a0008b8d59b.js +1 -0
  353. package/.next-prod/static/chunks/app/api/files/search/route-d7801a0008b8d59b.js +1 -0
  354. package/.next-prod/static/chunks/app/api/files/stat/route-d7801a0008b8d59b.js +1 -0
  355. package/.next-prod/static/chunks/app/api/files/text/route-d7801a0008b8d59b.js +1 -0
  356. package/.next-prod/static/chunks/app/api/git/branch-diff/route-d7801a0008b8d59b.js +1 -0
  357. package/.next-prod/static/chunks/app/api/git/branches/route-d7801a0008b8d59b.js +1 -0
  358. package/.next-prod/static/chunks/app/api/git/commit-diff/route-d7801a0008b8d59b.js +1 -0
  359. package/.next-prod/static/chunks/app/api/git/commits/route-d7801a0008b8d59b.js +1 -0
  360. package/.next-prod/static/chunks/app/api/git/current-branch/route-d7801a0008b8d59b.js +1 -0
  361. package/.next-prod/static/chunks/app/api/git/diff/route-d7801a0008b8d59b.js +1 -0
  362. package/.next-prod/static/chunks/app/api/git/discard/route-d7801a0008b8d59b.js +1 -0
  363. package/.next-prod/static/chunks/app/api/git/stage/route-d7801a0008b8d59b.js +1 -0
  364. package/.next-prod/static/chunks/app/api/git/status/route-d7801a0008b8d59b.js +1 -0
  365. package/.next-prod/static/chunks/app/api/git/unstage/route-d7801a0008b8d59b.js +1 -0
  366. package/.next-prod/static/chunks/app/api/git/worktree/route-d7801a0008b8d59b.js +1 -0
  367. package/.next-prod/static/chunks/app/api/global-state/route-d7801a0008b8d59b.js +1 -0
  368. package/.next-prod/static/chunks/app/api/health/route-d7801a0008b8d59b.js +1 -0
  369. package/.next-prod/static/chunks/app/api/jupyter/load/route-d7801a0008b8d59b.js +1 -0
  370. package/.next-prod/static/chunks/app/api/jupyter/save/route-d7801a0008b8d59b.js +1 -0
  371. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-d7801a0008b8d59b.js +1 -0
  372. package/.next-prod/static/chunks/app/api/lsp/definition/route-d7801a0008b8d59b.js +1 -0
  373. package/.next-prod/static/chunks/app/api/lsp/hover/route-d7801a0008b8d59b.js +1 -0
  374. package/.next-prod/static/chunks/app/api/lsp/references/route-d7801a0008b8d59b.js +1 -0
  375. package/.next-prod/static/chunks/app/api/lsp/status/route-d7801a0008b8d59b.js +1 -0
  376. package/.next-prod/static/chunks/app/api/lsp/warmup/route-d7801a0008b8d59b.js +1 -0
  377. package/.next-prod/static/chunks/app/api/mysql/columns/route-d7801a0008b8d59b.js +1 -0
  378. package/.next-prod/static/chunks/app/api/mysql/connect/route-d7801a0008b8d59b.js +1 -0
  379. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-d7801a0008b8d59b.js +1 -0
  380. package/.next-prod/static/chunks/app/api/mysql/export/route-d7801a0008b8d59b.js +1 -0
  381. package/.next-prod/static/chunks/app/api/mysql/query/route-d7801a0008b8d59b.js +1 -0
  382. package/.next-prod/static/chunks/app/api/mysql/schemas/route-d7801a0008b8d59b.js +1 -0
  383. package/.next-prod/static/chunks/app/api/neo4j/connect/route-d7801a0008b8d59b.js +1 -0
  384. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-d7801a0008b8d59b.js +1 -0
  385. package/.next-prod/static/chunks/app/api/neo4j/query/route-d7801a0008b8d59b.js +1 -0
  386. package/.next-prod/static/chunks/app/api/neo4j/schema/route-d7801a0008b8d59b.js +1 -0
  387. package/.next-prod/static/chunks/app/api/note/route-d7801a0008b8d59b.js +1 -0
  388. package/.next-prod/static/chunks/app/api/ollama/models/route-d7801a0008b8d59b.js +1 -0
  389. package/.next-prod/static/chunks/app/api/ollama/start/route-d7801a0008b8d59b.js +1 -0
  390. package/.next-prod/static/chunks/app/api/open-cursor/route-d7801a0008b8d59b.js +1 -0
  391. package/.next-prod/static/chunks/app/api/open-vscode/route-d7801a0008b8d59b.js +1 -0
  392. package/.next-prod/static/chunks/app/api/pick-folder/route-d7801a0008b8d59b.js +1 -0
  393. package/.next-prod/static/chunks/app/api/pinned-sessions/route-d7801a0008b8d59b.js +1 -0
  394. package/.next-prod/static/chunks/app/api/project-settings/route-d7801a0008b8d59b.js +1 -0
  395. package/.next-prod/static/chunks/app/api/project-state/route-d7801a0008b8d59b.js +1 -0
  396. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-d7801a0008b8d59b.js +1 -0
  397. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-d7801a0008b8d59b.js +1 -0
  398. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-d7801a0008b8d59b.js +1 -0
  399. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-d7801a0008b8d59b.js +1 -0
  400. package/.next-prod/static/chunks/app/api/projectGraph/context/route-d7801a0008b8d59b.js +1 -0
  401. package/.next-prod/static/chunks/app/api/projectGraph/file/route-d7801a0008b8d59b.js +1 -0
  402. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-d7801a0008b8d59b.js +1 -0
  403. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-d7801a0008b8d59b.js +1 -0
  404. package/.next-prod/static/chunks/app/api/projectGraph/related/route-d7801a0008b8d59b.js +1 -0
  405. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-d7801a0008b8d59b.js +1 -0
  406. package/.next-prod/static/chunks/app/api/projectGraph/search/route-d7801a0008b8d59b.js +1 -0
  407. package/.next-prod/static/chunks/app/api/projects/route-d7801a0008b8d59b.js +1 -0
  408. package/.next-prod/static/chunks/app/api/push/public-key/route-d7801a0008b8d59b.js +1 -0
  409. package/.next-prod/static/chunks/app/api/push/subscribe/route-d7801a0008b8d59b.js +1 -0
  410. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-d7801a0008b8d59b.js +1 -0
  411. package/.next-prod/static/chunks/app/api/redis/command/route-d7801a0008b8d59b.js +1 -0
  412. package/.next-prod/static/chunks/app/api/redis/connect/route-d7801a0008b8d59b.js +1 -0
  413. package/.next-prod/static/chunks/app/api/redis/delete/route-d7801a0008b8d59b.js +1 -0
  414. package/.next-prod/static/chunks/app/api/redis/disconnect/route-d7801a0008b8d59b.js +1 -0
  415. package/.next-prod/static/chunks/app/api/redis/get/route-d7801a0008b8d59b.js +1 -0
  416. package/.next-prod/static/chunks/app/api/redis/keys/route-d7801a0008b8d59b.js +1 -0
  417. package/.next-prod/static/chunks/app/api/redis/set/route-d7801a0008b8d59b.js +1 -0
  418. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-d7801a0008b8d59b.js +1 -0
  419. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-d7801a0008b8d59b.js +1 -0
  420. package/.next-prod/static/chunks/app/api/review/[id]/route-d7801a0008b8d59b.js +1 -0
  421. package/.next-prod/static/chunks/app/api/review/identify/route-d7801a0008b8d59b.js +1 -0
  422. package/.next-prod/static/chunks/app/api/review/order/route-d7801a0008b8d59b.js +1 -0
  423. package/.next-prod/static/chunks/app/api/review/route-d7801a0008b8d59b.js +1 -0
  424. package/.next-prod/static/chunks/app/api/review/share-info/route-d7801a0008b8d59b.js +1 -0
  425. package/.next-prod/static/chunks/app/api/review/users/route-d7801a0008b8d59b.js +1 -0
  426. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-d7801a0008b8d59b.js +1 -0
  427. package/.next-prod/static/chunks/app/api/services/config/route-d7801a0008b8d59b.js +1 -0
  428. package/.next-prod/static/chunks/app/api/services/scripts/route-d7801a0008b8d59b.js +1 -0
  429. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-d7801a0008b8d59b.js +1 -0
  430. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-d7801a0008b8d59b.js +1 -0
  431. package/.next-prod/static/chunks/app/api/session-by-path/route-d7801a0008b8d59b.js +1 -0
  432. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-d7801a0008b8d59b.js +1 -0
  433. package/.next-prod/static/chunks/app/api/sessions/projects/route-d7801a0008b8d59b.js +1 -0
  434. package/.next-prod/static/chunks/app/api/sessions/route-d7801a0008b8d59b.js +1 -0
  435. package/.next-prod/static/chunks/app/api/settings/route-d7801a0008b8d59b.js +1 -0
  436. package/.next-prod/static/chunks/app/api/skills/[id]/route-d7801a0008b8d59b.js +1 -0
  437. package/.next-prod/static/chunks/app/api/skills/content/route-d7801a0008b8d59b.js +1 -0
  438. package/.next-prod/static/chunks/app/api/skills/route-d7801a0008b8d59b.js +1 -0
  439. package/.next-prod/static/chunks/app/api/terminal/aliases/route-d7801a0008b8d59b.js +1 -0
  440. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-d7801a0008b8d59b.js +1 -0
  441. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-d7801a0008b8d59b.js +1 -0
  442. package/.next-prod/static/chunks/app/api/terminal/env/route-d7801a0008b8d59b.js +1 -0
  443. package/.next-prod/static/chunks/app/api/terminal/history/route-d7801a0008b8d59b.js +1 -0
  444. package/.next-prod/static/chunks/app/api/version/route-d7801a0008b8d59b.js +1 -0
  445. package/.next-prod/static/chunks/app/{layout-312d106fe47907df.js → layout-edef27fb2f6b346e.js} +1 -1
  446. package/.next-prod/static/chunks/app/m/page-50afaa8bd837e768.js +1 -0
  447. package/.next-prod/static/chunks/app/manifest.webmanifest/route-d7801a0008b8d59b.js +1 -0
  448. package/.next-prod/static/chunks/app/{page-db70085227aa56aa.js → page-49470b6c107b5dee.js} +1 -1
  449. package/.next-prod/static/chunks/app/project/{page-db70085227aa56aa.js → page-49470b6c107b5dee.js} +1 -1
  450. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-d7801a0008b8d59b.js +1 -0
  451. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-d7801a0008b8d59b.js +1 -0
  452. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-d7801a0008b8d59b.js +1 -0
  453. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-d7801a0008b8d59b.js +1 -0
  454. package/.next-prod/static/chunks/{webpack-cb3881d9a37f80b7.js → webpack-2404d47da29b5b14.js} +1 -1
  455. package/.next-prod/static/css/431aee2b8a9b6d2b.css +1 -0
  456. package/.next-prod/trace +13 -13
  457. package/.next-prod/trace-build +1 -1
  458. package/.next-prod/types/app/api/health/route.ts +351 -0
  459. package/.next-prod/types/routes.d.ts +2 -1
  460. package/.next-prod/types/validator.ts +9 -0
  461. package/bin/cock-browser.mjs +7 -3
  462. package/bin/cock-connection.mjs +5 -1
  463. package/bin/cock-terminal.mjs +6 -2
  464. package/dist/{chunk-EYFKVFTP.mjs → chunk-GFI4IHYM.mjs} +82 -78
  465. package/dist/{chunk-WULEYRUC.mjs → chunk-J5B4FIW5.mjs} +168 -1
  466. package/dist/{chunk-7T2FX6X4.mjs → chunk-R564FMS3.mjs} +162 -34
  467. package/dist/httpApi.mjs +4 -2
  468. package/dist/scheduledTasks.mjs +17009 -76
  469. package/dist/{server-TRLQURYS.mjs → server-J7ZUYRI6.mjs} +8 -2
  470. package/dist/wsServer.mjs +15 -7
  471. package/package.json +1 -1
  472. package/server.mjs +58 -9
  473. package/.next-prod/static/WSUa0F_X_5GfMavORSxeX/_buildManifest.js +0 -1
  474. package/.next-prod/static/chunks/5156-04537ce3c95435b2.js +0 -3
  475. package/.next-prod/static/chunks/9469-424d7be830f93183.js +0 -14
  476. package/.next-prod/static/chunks/app/_global-error/page-cc849cd7b6f01cad.js +0 -1
  477. package/.next-prod/static/chunks/app/api/agent/test/route-cc849cd7b6f01cad.js +0 -1
  478. package/.next-prod/static/chunks/app/api/bash/route-cc849cd7b6f01cad.js +0 -1
  479. package/.next-prod/static/chunks/app/api/chat/codex/route-cc849cd7b6f01cad.js +0 -1
  480. package/.next-prod/static/chunks/app/api/chat/deepseek/route-cc849cd7b6f01cad.js +0 -1
  481. package/.next-prod/static/chunks/app/api/chat/kimi/route-cc849cd7b6f01cad.js +0 -1
  482. package/.next-prod/static/chunks/app/api/chat/ollama/route-cc849cd7b6f01cad.js +0 -1
  483. package/.next-prod/static/chunks/app/api/chat/pty-input/route-cc849cd7b6f01cad.js +0 -1
  484. package/.next-prod/static/chunks/app/api/chat/route-cc849cd7b6f01cad.js +0 -1
  485. package/.next-prod/static/chunks/app/api/chat/stop/route-cc849cd7b6f01cad.js +0 -1
  486. package/.next-prod/static/chunks/app/api/claude-stats/route-cc849cd7b6f01cad.js +0 -1
  487. package/.next-prod/static/chunks/app/api/commands/route-cc849cd7b6f01cad.js +0 -1
  488. package/.next-prod/static/chunks/app/api/comments/route-cc849cd7b6f01cad.js +0 -1
  489. package/.next-prod/static/chunks/app/api/db/columns/route-cc849cd7b6f01cad.js +0 -1
  490. package/.next-prod/static/chunks/app/api/db/connect/route-cc849cd7b6f01cad.js +0 -1
  491. package/.next-prod/static/chunks/app/api/db/disconnect/route-cc849cd7b6f01cad.js +0 -1
  492. package/.next-prod/static/chunks/app/api/db/export/route-cc849cd7b6f01cad.js +0 -1
  493. package/.next-prod/static/chunks/app/api/db/query/route-cc849cd7b6f01cad.js +0 -1
  494. package/.next-prod/static/chunks/app/api/db/schemas/route-cc849cd7b6f01cad.js +0 -1
  495. package/.next-prod/static/chunks/app/api/dev/spans/route-cc849cd7b6f01cad.js +0 -1
  496. package/.next-prod/static/chunks/app/api/extension/version/route-cc849cd7b6f01cad.js +0 -1
  497. package/.next-prod/static/chunks/app/api/file/route-cc849cd7b6f01cad.js +0 -1
  498. package/.next-prod/static/chunks/app/api/files/blame/route-cc849cd7b6f01cad.js +0 -1
  499. package/.next-prod/static/chunks/app/api/files/clipboard/route-cc849cd7b6f01cad.js +0 -1
  500. package/.next-prod/static/chunks/app/api/files/copy/route-cc849cd7b6f01cad.js +0 -1
  501. package/.next-prod/static/chunks/app/api/files/delete/route-cc849cd7b6f01cad.js +0 -1
  502. package/.next-prod/static/chunks/app/api/files/expanded/route-cc849cd7b6f01cad.js +0 -1
  503. package/.next-prod/static/chunks/app/api/files/index/route-cc849cd7b6f01cad.js +0 -1
  504. package/.next-prod/static/chunks/app/api/files/init/route-cc849cd7b6f01cad.js +0 -1
  505. package/.next-prod/static/chunks/app/api/files/paste/route-cc849cd7b6f01cad.js +0 -1
  506. package/.next-prod/static/chunks/app/api/files/read/route-cc849cd7b6f01cad.js +0 -1
  507. package/.next-prod/static/chunks/app/api/files/readdir/route-cc849cd7b6f01cad.js +0 -1
  508. package/.next-prod/static/chunks/app/api/files/recent/route-cc849cd7b6f01cad.js +0 -1
  509. package/.next-prod/static/chunks/app/api/files/save/route-cc849cd7b6f01cad.js +0 -1
  510. package/.next-prod/static/chunks/app/api/files/search/route-cc849cd7b6f01cad.js +0 -1
  511. package/.next-prod/static/chunks/app/api/files/stat/route-cc849cd7b6f01cad.js +0 -1
  512. package/.next-prod/static/chunks/app/api/files/text/route-cc849cd7b6f01cad.js +0 -1
  513. package/.next-prod/static/chunks/app/api/git/branch-diff/route-cc849cd7b6f01cad.js +0 -1
  514. package/.next-prod/static/chunks/app/api/git/branches/route-cc849cd7b6f01cad.js +0 -1
  515. package/.next-prod/static/chunks/app/api/git/commit-diff/route-cc849cd7b6f01cad.js +0 -1
  516. package/.next-prod/static/chunks/app/api/git/commits/route-cc849cd7b6f01cad.js +0 -1
  517. package/.next-prod/static/chunks/app/api/git/current-branch/route-cc849cd7b6f01cad.js +0 -1
  518. package/.next-prod/static/chunks/app/api/git/diff/route-cc849cd7b6f01cad.js +0 -1
  519. package/.next-prod/static/chunks/app/api/git/discard/route-cc849cd7b6f01cad.js +0 -1
  520. package/.next-prod/static/chunks/app/api/git/stage/route-cc849cd7b6f01cad.js +0 -1
  521. package/.next-prod/static/chunks/app/api/git/status/route-cc849cd7b6f01cad.js +0 -1
  522. package/.next-prod/static/chunks/app/api/git/unstage/route-cc849cd7b6f01cad.js +0 -1
  523. package/.next-prod/static/chunks/app/api/git/worktree/route-cc849cd7b6f01cad.js +0 -1
  524. package/.next-prod/static/chunks/app/api/global-state/route-cc849cd7b6f01cad.js +0 -1
  525. package/.next-prod/static/chunks/app/api/jupyter/load/route-cc849cd7b6f01cad.js +0 -1
  526. package/.next-prod/static/chunks/app/api/jupyter/save/route-cc849cd7b6f01cad.js +0 -1
  527. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-cc849cd7b6f01cad.js +0 -1
  528. package/.next-prod/static/chunks/app/api/lsp/definition/route-cc849cd7b6f01cad.js +0 -1
  529. package/.next-prod/static/chunks/app/api/lsp/hover/route-cc849cd7b6f01cad.js +0 -1
  530. package/.next-prod/static/chunks/app/api/lsp/references/route-cc849cd7b6f01cad.js +0 -1
  531. package/.next-prod/static/chunks/app/api/lsp/status/route-cc849cd7b6f01cad.js +0 -1
  532. package/.next-prod/static/chunks/app/api/lsp/warmup/route-cc849cd7b6f01cad.js +0 -1
  533. package/.next-prod/static/chunks/app/api/mysql/columns/route-cc849cd7b6f01cad.js +0 -1
  534. package/.next-prod/static/chunks/app/api/mysql/connect/route-cc849cd7b6f01cad.js +0 -1
  535. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-cc849cd7b6f01cad.js +0 -1
  536. package/.next-prod/static/chunks/app/api/mysql/export/route-cc849cd7b6f01cad.js +0 -1
  537. package/.next-prod/static/chunks/app/api/mysql/query/route-cc849cd7b6f01cad.js +0 -1
  538. package/.next-prod/static/chunks/app/api/mysql/schemas/route-cc849cd7b6f01cad.js +0 -1
  539. package/.next-prod/static/chunks/app/api/neo4j/connect/route-cc849cd7b6f01cad.js +0 -1
  540. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-cc849cd7b6f01cad.js +0 -1
  541. package/.next-prod/static/chunks/app/api/neo4j/query/route-cc849cd7b6f01cad.js +0 -1
  542. package/.next-prod/static/chunks/app/api/neo4j/schema/route-cc849cd7b6f01cad.js +0 -1
  543. package/.next-prod/static/chunks/app/api/note/route-cc849cd7b6f01cad.js +0 -1
  544. package/.next-prod/static/chunks/app/api/ollama/models/route-cc849cd7b6f01cad.js +0 -1
  545. package/.next-prod/static/chunks/app/api/ollama/start/route-cc849cd7b6f01cad.js +0 -1
  546. package/.next-prod/static/chunks/app/api/open-cursor/route-cc849cd7b6f01cad.js +0 -1
  547. package/.next-prod/static/chunks/app/api/open-vscode/route-cc849cd7b6f01cad.js +0 -1
  548. package/.next-prod/static/chunks/app/api/pick-folder/route-cc849cd7b6f01cad.js +0 -1
  549. package/.next-prod/static/chunks/app/api/pinned-sessions/route-cc849cd7b6f01cad.js +0 -1
  550. package/.next-prod/static/chunks/app/api/project-settings/route-cc849cd7b6f01cad.js +0 -1
  551. package/.next-prod/static/chunks/app/api/project-state/route-cc849cd7b6f01cad.js +0 -1
  552. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-cc849cd7b6f01cad.js +0 -1
  553. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-cc849cd7b6f01cad.js +0 -1
  554. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-cc849cd7b6f01cad.js +0 -1
  555. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-cc849cd7b6f01cad.js +0 -1
  556. package/.next-prod/static/chunks/app/api/projectGraph/context/route-cc849cd7b6f01cad.js +0 -1
  557. package/.next-prod/static/chunks/app/api/projectGraph/file/route-cc849cd7b6f01cad.js +0 -1
  558. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-cc849cd7b6f01cad.js +0 -1
  559. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-cc849cd7b6f01cad.js +0 -1
  560. package/.next-prod/static/chunks/app/api/projectGraph/related/route-cc849cd7b6f01cad.js +0 -1
  561. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-cc849cd7b6f01cad.js +0 -1
  562. package/.next-prod/static/chunks/app/api/projectGraph/search/route-cc849cd7b6f01cad.js +0 -1
  563. package/.next-prod/static/chunks/app/api/projects/route-cc849cd7b6f01cad.js +0 -1
  564. package/.next-prod/static/chunks/app/api/push/public-key/route-cc849cd7b6f01cad.js +0 -1
  565. package/.next-prod/static/chunks/app/api/push/subscribe/route-cc849cd7b6f01cad.js +0 -1
  566. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-cc849cd7b6f01cad.js +0 -1
  567. package/.next-prod/static/chunks/app/api/redis/command/route-cc849cd7b6f01cad.js +0 -1
  568. package/.next-prod/static/chunks/app/api/redis/connect/route-cc849cd7b6f01cad.js +0 -1
  569. package/.next-prod/static/chunks/app/api/redis/delete/route-cc849cd7b6f01cad.js +0 -1
  570. package/.next-prod/static/chunks/app/api/redis/disconnect/route-cc849cd7b6f01cad.js +0 -1
  571. package/.next-prod/static/chunks/app/api/redis/get/route-cc849cd7b6f01cad.js +0 -1
  572. package/.next-prod/static/chunks/app/api/redis/keys/route-cc849cd7b6f01cad.js +0 -1
  573. package/.next-prod/static/chunks/app/api/redis/set/route-cc849cd7b6f01cad.js +0 -1
  574. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-cc849cd7b6f01cad.js +0 -1
  575. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-cc849cd7b6f01cad.js +0 -1
  576. package/.next-prod/static/chunks/app/api/review/[id]/route-cc849cd7b6f01cad.js +0 -1
  577. package/.next-prod/static/chunks/app/api/review/identify/route-cc849cd7b6f01cad.js +0 -1
  578. package/.next-prod/static/chunks/app/api/review/order/route-cc849cd7b6f01cad.js +0 -1
  579. package/.next-prod/static/chunks/app/api/review/route-cc849cd7b6f01cad.js +0 -1
  580. package/.next-prod/static/chunks/app/api/review/share-info/route-cc849cd7b6f01cad.js +0 -1
  581. package/.next-prod/static/chunks/app/api/review/users/route-cc849cd7b6f01cad.js +0 -1
  582. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-cc849cd7b6f01cad.js +0 -1
  583. package/.next-prod/static/chunks/app/api/services/config/route-cc849cd7b6f01cad.js +0 -1
  584. package/.next-prod/static/chunks/app/api/services/scripts/route-cc849cd7b6f01cad.js +0 -1
  585. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-cc849cd7b6f01cad.js +0 -1
  586. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-cc849cd7b6f01cad.js +0 -1
  587. package/.next-prod/static/chunks/app/api/session-by-path/route-cc849cd7b6f01cad.js +0 -1
  588. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-cc849cd7b6f01cad.js +0 -1
  589. package/.next-prod/static/chunks/app/api/sessions/projects/route-cc849cd7b6f01cad.js +0 -1
  590. package/.next-prod/static/chunks/app/api/sessions/route-cc849cd7b6f01cad.js +0 -1
  591. package/.next-prod/static/chunks/app/api/settings/route-cc849cd7b6f01cad.js +0 -1
  592. package/.next-prod/static/chunks/app/api/skills/[id]/route-cc849cd7b6f01cad.js +0 -1
  593. package/.next-prod/static/chunks/app/api/skills/content/route-cc849cd7b6f01cad.js +0 -1
  594. package/.next-prod/static/chunks/app/api/skills/route-cc849cd7b6f01cad.js +0 -1
  595. package/.next-prod/static/chunks/app/api/terminal/aliases/route-cc849cd7b6f01cad.js +0 -1
  596. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-cc849cd7b6f01cad.js +0 -1
  597. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-cc849cd7b6f01cad.js +0 -1
  598. package/.next-prod/static/chunks/app/api/terminal/env/route-cc849cd7b6f01cad.js +0 -1
  599. package/.next-prod/static/chunks/app/api/terminal/history/route-cc849cd7b6f01cad.js +0 -1
  600. package/.next-prod/static/chunks/app/api/version/route-cc849cd7b6f01cad.js +0 -1
  601. package/.next-prod/static/chunks/app/m/page-0be3799c1b38c991.js +0 -1
  602. package/.next-prod/static/chunks/app/manifest.webmanifest/route-cc849cd7b6f01cad.js +0 -1
  603. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-cc849cd7b6f01cad.js +0 -1
  604. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-cc849cd7b6f01cad.js +0 -1
  605. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-cc849cd7b6f01cad.js +0 -1
  606. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-cc849cd7b6f01cad.js +0 -1
  607. package/.next-prod/static/css/217cb3486f7b68d7.css +0 -1
  608. /package/.next-prod/static/{WSUa0F_X_5GfMavORSxeX → 8ynyJhylJ-L1v1YRm30nG}/_ssgManifest.js +0 -0
@@ -9390,18 +9390,18 @@ var parallelErrors = (self) => matchCauseEffect(self, {
9390
9390
  onSuccess: succeed
9391
9391
  });
9392
9392
  var patchFiberRefs = (patch9) => updateFiberRefs((fiberId3, fiberRefs3) => pipe(patch9, patch6(fiberId3, fiberRefs3)));
9393
- var promise = (evaluate3) => evaluate3.length >= 1 ? async_((resolve, signal) => {
9393
+ var promise = (evaluate3) => evaluate3.length >= 1 ? async_((resolve2, signal) => {
9394
9394
  try {
9395
- evaluate3(signal).then((a) => resolve(succeed(a)), (e) => resolve(die2(e)));
9395
+ evaluate3(signal).then((a) => resolve2(succeed(a)), (e) => resolve2(die2(e)));
9396
9396
  } catch (e) {
9397
- resolve(die2(e));
9397
+ resolve2(die2(e));
9398
9398
  }
9399
- }) : async_((resolve) => {
9399
+ }) : async_((resolve2) => {
9400
9400
  try {
9401
9401
  ;
9402
- evaluate3().then((a) => resolve(succeed(a)), (e) => resolve(die2(e)));
9402
+ evaluate3().then((a) => resolve2(succeed(a)), (e) => resolve2(die2(e)));
9403
9403
  } catch (e) {
9404
- resolve(die2(e));
9404
+ resolve2(die2(e));
9405
9405
  }
9406
9406
  });
9407
9407
  var provideService = /* @__PURE__ */ dual(3, (self, tag, service3) => contextWithEffect((env) => provideContext(self, add4(env, tag, service3))));
@@ -9527,19 +9527,19 @@ var tryPromise = (arg) => {
9527
9527
  }
9528
9528
  const fail20 = (e) => catcher ? failSync(() => catcher(e)) : fail2(new UnknownException(e, "An unknown error occurred in Effect.tryPromise"));
9529
9529
  if (evaluate3.length >= 1) {
9530
- return async_((resolve, signal) => {
9530
+ return async_((resolve2, signal) => {
9531
9531
  try {
9532
- evaluate3(signal).then((a) => resolve(succeed(a)), (e) => resolve(fail20(e)));
9532
+ evaluate3(signal).then((a) => resolve2(succeed(a)), (e) => resolve2(fail20(e)));
9533
9533
  } catch (e) {
9534
- resolve(fail20(e));
9534
+ resolve2(fail20(e));
9535
9535
  }
9536
9536
  });
9537
9537
  }
9538
- return async_((resolve) => {
9538
+ return async_((resolve2) => {
9539
9539
  try {
9540
- evaluate3().then((a) => resolve(succeed(a)), (e) => resolve(fail20(e)));
9540
+ evaluate3().then((a) => resolve2(succeed(a)), (e) => resolve2(fail20(e)));
9541
9541
  } catch (e) {
9542
- resolve(fail20(e));
9542
+ resolve2(fail20(e));
9543
9543
  }
9544
9544
  });
9545
9545
  };
@@ -15358,14 +15358,14 @@ var unsafeRunPromise = /* @__PURE__ */ makeDual((runtime4, effect4, options) =>
15358
15358
  }
15359
15359
  }
15360
15360
  }));
15361
- var unsafeRunPromiseExit = /* @__PURE__ */ makeDual((runtime4, effect4, options) => new Promise((resolve) => {
15361
+ var unsafeRunPromiseExit = /* @__PURE__ */ makeDual((runtime4, effect4, options) => new Promise((resolve2) => {
15362
15362
  const op = fastPath(effect4);
15363
15363
  if (op) {
15364
- resolve(op);
15364
+ resolve2(op);
15365
15365
  }
15366
15366
  const fiber = unsafeFork3(runtime4)(effect4);
15367
15367
  fiber.addObserver((exit4) => {
15368
- resolve(exit4);
15368
+ resolve2(exit4);
15369
15369
  });
15370
15370
  if (options?.signal !== void 0) {
15371
15371
  if (options.signal.aborted) {
@@ -26476,8 +26476,8 @@ var toReadableStreamRuntime = /* @__PURE__ */ dual((args2) => isStream(args2[0])
26476
26476
  });
26477
26477
  },
26478
26478
  pull() {
26479
- return new Promise((resolve) => {
26480
- currentResolve = resolve;
26479
+ return new Promise((resolve2) => {
26480
+ currentResolve = resolve2;
26481
26481
  runSync(latch.open);
26482
26482
  });
26483
26483
  },
@@ -26563,8 +26563,8 @@ var toAsyncIterableRuntime = /* @__PURE__ */ dual((args2) => isStream(args2[0]),
26563
26563
  })));
26564
26564
  });
26565
26565
  }
26566
- return new Promise((resolve, reject) => {
26567
- currentResolve = resolve;
26566
+ return new Promise((resolve2, reject) => {
26567
+ currentResolve = resolve2;
26568
26568
  currentReject = reject;
26569
26569
  latch.unsafeOpen();
26570
26570
  });
@@ -28536,60 +28536,6 @@ var errorToStatus = (e) => {
28536
28536
  }
28537
28537
  };
28538
28538
 
28539
- // packages/shared/effect-core/src/config.ts
28540
- var envConfig = Config_exports.literal("dev", "prod")("COCKPIT_ENV").pipe(
28541
- Config_exports.withDefault("prod")
28542
- );
28543
- var hostConfig = Config_exports.string("COCKPIT_HOST").pipe(
28544
- Config_exports.withDefault("127.0.0.1")
28545
- );
28546
- var portConfig = Config_exports.integer("COCKPIT_PORT").pipe(
28547
- Config_exports.orElse(() => Config_exports.integer("PORT")),
28548
- Config_exports.withDefault(3457)
28549
- );
28550
- var openProjectConfig = Config_exports.option(
28551
- Config_exports.string("COCKPIT_OPEN_PROJECT")
28552
- ).pipe(
28553
- Config_exports.map((opt) => opt._tag === "Some" ? opt.value : void 0)
28554
- );
28555
- var noOpenConfig = Config_exports.boolean("COCKPIT_NO_OPEN").pipe(
28556
- Config_exports.withDefault(false)
28557
- );
28558
- var logLevelConfig = Config_exports.string("COCKPIT_LOG_LEVEL").pipe(
28559
- Config_exports.withDefault("info")
28560
- );
28561
- var cockpitDirConfigOpt = Config_exports.option(Config_exports.string("COCKPIT_DIR"));
28562
- var CockpitConfig = Effect_exports.gen(
28563
- function* () {
28564
- const env = yield* envConfig;
28565
- const host = yield* hostConfig;
28566
- const port3 = yield* portConfig;
28567
- const openProject = yield* openProjectConfig;
28568
- const noOpen = yield* noOpenConfig;
28569
- const logLevel3 = yield* logLevelConfig;
28570
- const cockpitDirOpt = yield* cockpitDirConfigOpt;
28571
- const cockpitDir = yield* Effect_exports.sync(() => {
28572
- if (cockpitDirOpt._tag === "Some") return cockpitDirOpt.value;
28573
- const env2 = typeof process !== "undefined" ? process.env : void 0;
28574
- const home = env2?.HOME || env2?.USERPROFILE || ".";
28575
- return home + "/.cockpit";
28576
- });
28577
- const logFile = cockpitDir + "/logs/cockpit.log";
28578
- return {
28579
- env,
28580
- host,
28581
- port: port3 === 3457 && env === "dev" ? 3456 : port3,
28582
- // dev defaults to 3456
28583
- cockpitDir,
28584
- openProject,
28585
- openBrowser: !noOpen,
28586
- logLevel: logLevel3,
28587
- logFile
28588
- };
28589
- }
28590
- ).pipe(Effect_exports.orDie);
28591
- var ConfigLive = Layer_exports.empty;
28592
-
28593
28539
  // packages/feature/console/src/server/plugins/neo4j/neo4jCore.ts
28594
28540
  import neo4j from "neo4j-driver";
28595
28541
  async function createNeo4jDriver(connectionString) {
@@ -28676,12 +28622,12 @@ function serializeValue(val) {
28676
28622
 
28677
28623
  // packages/shared/utils/src/paths.ts
28678
28624
  import { homedir } from "os";
28679
- import { join as join4 } from "path";
28625
+ import { join as join4, resolve } from "path";
28680
28626
  import { mkdir, readFile, writeFile } from "fs/promises";
28681
28627
  import { existsSync, writeFileSync, mkdirSync, readdirSync } from "fs";
28682
28628
  import { execSync } from "child_process";
28683
28629
  var HOME_DIR = homedir();
28684
- var COCKPIT_DIR = join4(HOME_DIR, ".cockpit");
28630
+ var COCKPIT_DIR = process.env.COCKPIT_HOME ? resolve(process.env.COCKPIT_HOME.replace(/^~(?=$|\/)/, HOME_DIR)) : join4(HOME_DIR, ".cockpit");
28685
28631
  var COCKPIT_PROJECTS_DIR = join4(COCKPIT_DIR, "projects");
28686
28632
  var GLOBAL_STATE_FILE = join4(COCKPIT_DIR, "state.json");
28687
28633
  var PINNED_SESSIONS_FILE = join4(COCKPIT_DIR, "pinned-sessions.json");
@@ -29031,6 +28977,59 @@ var TracerLivePretty = Layer_exports.succeed(
29031
28977
  );
29032
28978
  var TracerLiveNoop = Layer_exports.empty;
29033
28979
 
28980
+ // packages/shared/effect-core/src/config.ts
28981
+ var envConfig = Config_exports.literal("dev", "prod")("COCKPIT_ENV").pipe(
28982
+ Config_exports.withDefault("prod")
28983
+ );
28984
+ var hostConfig = Config_exports.string("COCKPIT_HOST").pipe(
28985
+ Config_exports.withDefault("127.0.0.1")
28986
+ );
28987
+ var portConfig = Config_exports.integer("COCKPIT_PORT").pipe(
28988
+ Config_exports.orElse(() => Config_exports.integer("PORT")),
28989
+ Config_exports.withDefault(3457)
28990
+ );
28991
+ var openProjectConfig = Config_exports.option(
28992
+ Config_exports.string("COCKPIT_OPEN_PROJECT")
28993
+ ).pipe(
28994
+ Config_exports.map((opt) => opt._tag === "Some" ? opt.value : void 0)
28995
+ );
28996
+ var noOpenConfig = Config_exports.boolean("COCKPIT_NO_OPEN").pipe(
28997
+ Config_exports.withDefault(false)
28998
+ );
28999
+ var logLevelConfig = Config_exports.string("COCKPIT_LOG_LEVEL").pipe(
29000
+ Config_exports.withDefault("info")
29001
+ );
29002
+ var CockpitConfig = Effect_exports.gen(
29003
+ function* () {
29004
+ const env = yield* envConfig;
29005
+ const host = yield* hostConfig;
29006
+ const port3 = yield* portConfig;
29007
+ const openProject = yield* openProjectConfig;
29008
+ const noOpen = yield* noOpenConfig;
29009
+ const logLevel3 = yield* logLevelConfig;
29010
+ const cockpitDir = yield* Effect_exports.sync(() => {
29011
+ const env2 = typeof process !== "undefined" ? process.env : void 0;
29012
+ const home = env2?.HOME || env2?.USERPROFILE || ".";
29013
+ const homeOverride = env2?.COCKPIT_HOME;
29014
+ if (homeOverride) return homeOverride.replace(/^~(?=$|\/)/, home);
29015
+ return home + "/.cockpit";
29016
+ });
29017
+ const logFile = cockpitDir + "/logs/cockpit.log";
29018
+ return {
29019
+ env,
29020
+ host,
29021
+ port: port3 === 3457 && env === "dev" ? 3456 : port3,
29022
+ // dev defaults to 3456
29023
+ cockpitDir,
29024
+ openProject,
29025
+ openBrowser: !noOpen,
29026
+ logLevel: logLevel3,
29027
+ logFile
29028
+ };
29029
+ }
29030
+ ).pipe(Effect_exports.orDie);
29031
+ var ConfigLive = Layer_exports.empty;
29032
+
29034
29033
  // packages/shared/effect-core/src/schedule.ts
29035
29034
  var wsReconnect = Schedule_exports.exponential(
29036
29035
  Duration_exports.seconds(1),
@@ -29725,7 +29724,7 @@ var claudeStream = (req, apiKeyOverride) => Stream_exports.async((emit2) => {
29725
29724
  // packages/feature/agent/src/effect/ollamaAdapter.ts
29726
29725
  import { streamText } from "ai";
29727
29726
 
29728
- // packages/feature/agent/src/server/api/chat/ollama/model.ts
29727
+ // packages/feature/agent/src/server/engines/ollama/model.ts
29729
29728
  import { createOpenAI } from "@ai-sdk/openai";
29730
29729
 
29731
29730
  // packages/shared/utils/src/ollamaEnv.ts
@@ -29738,7 +29737,7 @@ function getOllamaOpenAIBaseURL() {
29738
29737
  return `${getOllamaBaseURL()}/v1/`;
29739
29738
  }
29740
29739
 
29741
- // packages/feature/agent/src/server/api/chat/ollama/model.ts
29740
+ // packages/feature/agent/src/server/engines/ollama/model.ts
29742
29741
  var ollamaFetch = async (input, init) => {
29743
29742
  if (init && typeof init.body === "string") {
29744
29743
  try {
@@ -29906,16 +29905,20 @@ export {
29906
29905
  ValidationError,
29907
29906
  NotFoundError,
29908
29907
  errorToStatus,
29909
- CockpitConfig,
29910
29908
  createNeo4jDriver,
29911
29909
  runCypherWithDriver,
29912
29910
  serializeValue,
29911
+ COCKPIT_DIR,
29913
29912
  GLOBAL_STATE_FILE,
29914
29913
  PUSH_SUBSCRIPTIONS_FILE,
29915
29914
  SCHEDULED_TASKS_FILE,
29916
29915
  SETTINGS_FILE,
29916
+ SKILLS_FILE,
29917
29917
  REVIEW_DIR,
29918
29918
  REVIEW_SIGNAL_FILE,
29919
+ CLAUDE2_DIR,
29920
+ DEEPSEEK_DIR,
29921
+ encodePath,
29919
29922
  getTerminalHistoryPath,
29920
29923
  getTerminalOutputPath,
29921
29924
  getBubbleOrderPath,
@@ -29930,5 +29933,6 @@ export {
29930
29933
  writeJsonFile,
29931
29934
  withFileLock,
29932
29935
  mutateJsonFile,
29936
+ createOllamaModel,
29933
29937
  AppRuntime
29934
29938
  };
@@ -10,7 +10,7 @@ import {
10
10
  readJsonFile,
11
11
  withFileLock,
12
12
  writeJsonFile
13
- } from "./chunk-EYFKVFTP.mjs";
13
+ } from "./chunk-GFI4IHYM.mjs";
14
14
 
15
15
  // packages/feature/agent/src/server/state/globalState.ts
16
16
  import { createReadStream, existsSync } from "fs";
@@ -157,6 +157,31 @@ async function updateGlobalState(cwd, sessionId, status, title, lastUserMessage)
157
157
  }
158
158
  });
159
159
  }
160
+ async function getSessionTitle(cwd, sessionId) {
161
+ const claudePath = getClaudeSessionPath(cwd, sessionId);
162
+ if (existsSync(claudePath)) {
163
+ return getClaudeStyleTitle(claudePath);
164
+ }
165
+ const claude2Path = getClaude2SessionPath(cwd, sessionId);
166
+ if (existsSync(claude2Path)) {
167
+ return getClaudeStyleTitle(claude2Path);
168
+ }
169
+ const ollamaPath = getOllamaSessionPath(cwd, sessionId);
170
+ if (existsSync(ollamaPath)) {
171
+ return getClaudeStyleTitle(ollamaPath);
172
+ }
173
+ const codexPath = findCodexSessionPath(sessionId);
174
+ if (codexPath && existsSync(codexPath)) {
175
+ const title = await getCodexTitle(codexPath);
176
+ return title || "Untitled Session";
177
+ }
178
+ const kimiPath = findKimiSessionPath(sessionId);
179
+ if (kimiPath && existsSync(kimiPath)) {
180
+ const title = await getKimiTitle(kimiPath);
181
+ return title || "Untitled Session";
182
+ }
183
+ return "Untitled Session";
184
+ }
160
185
  async function collectUserMessages(cwd, sessionId) {
161
186
  const claudePath = getClaudeSessionPath(cwd, sessionId);
162
187
  if (existsSync(claudePath)) {
@@ -211,6 +236,38 @@ function isValidUserMessage(text) {
211
236
  if (!text.trim()) return false;
212
237
  return true;
213
238
  }
239
+ async function getClaudeStyleTitle(filePath) {
240
+ try {
241
+ const fileStream = createReadStream(filePath);
242
+ const rl = createInterface({ input: fileStream, crlfDelay: Infinity });
243
+ let summary = "";
244
+ const userMessages = [];
245
+ for await (const line of rl) {
246
+ if (!line.trim()) continue;
247
+ try {
248
+ const entry = JSON.parse(line);
249
+ if (entry.type === "summary" && entry.summary) {
250
+ summary = entry.summary;
251
+ }
252
+ if (entry.type === "user") {
253
+ const message = entry.message;
254
+ if (!message?.content) continue;
255
+ if (typeof message.content === "string") {
256
+ userMessages.push(message.content);
257
+ } else if (Array.isArray(message.content)) {
258
+ for (const block of message.content) {
259
+ if (block.type === "text" && block.text) userMessages.push(block.text);
260
+ }
261
+ }
262
+ }
263
+ } catch {
264
+ }
265
+ }
266
+ return generateTitle(summary, userMessages);
267
+ } catch {
268
+ return "Untitled Session";
269
+ }
270
+ }
214
271
  async function getClaudeStyleUserMessages(filePath) {
215
272
  const messages = [];
216
273
  try {
@@ -273,6 +330,30 @@ async function getCodexUserMessages(filePath) {
273
330
  }
274
331
  return messages;
275
332
  }
333
+ async function getCodexTitle(filePath) {
334
+ try {
335
+ const fileStream = createReadStream(filePath);
336
+ const rl = createInterface({ input: fileStream, crlfDelay: Infinity });
337
+ for await (const line of rl) {
338
+ if (!line.trim()) continue;
339
+ let entry;
340
+ try {
341
+ entry = JSON.parse(line);
342
+ } catch {
343
+ continue;
344
+ }
345
+ if (entry.type !== "response_item") continue;
346
+ const payload = entry.payload;
347
+ if (!payload || payload.type !== "message" || payload.role !== "user") continue;
348
+ const text = payload.content?.filter((c) => c.type === "input_text" && c.text).map((c) => c.text).join("") || "";
349
+ if (!text || text.startsWith("<") || text.startsWith("#")) continue;
350
+ return text.slice(0, 80);
351
+ }
352
+ return void 0;
353
+ } catch {
354
+ return void 0;
355
+ }
356
+ }
276
357
  async function getKimiUserMessages(filePath) {
277
358
  const messages = [];
278
359
  try {
@@ -300,6 +381,48 @@ async function getKimiUserMessages(filePath) {
300
381
  }
301
382
  return messages;
302
383
  }
384
+ async function getKimiTitle(filePath) {
385
+ try {
386
+ const fileStream = createReadStream(filePath);
387
+ const rl = createInterface({ input: fileStream, crlfDelay: Infinity });
388
+ for await (const line of rl) {
389
+ if (!line.trim()) continue;
390
+ let entry;
391
+ try {
392
+ entry = JSON.parse(line);
393
+ } catch {
394
+ continue;
395
+ }
396
+ if (entry.role !== "user") continue;
397
+ const text = typeof entry.content === "string" ? entry.content : Array.isArray(entry.content) ? entry.content.filter((c) => (c.type === "input_text" || c.type === "text") && c.text).map((c) => c.text).join("") : "";
398
+ if (!text || text.startsWith("<system") || text.startsWith("<environment") || text.startsWith("# AGENTS.md") || text.startsWith("<permissions")) {
399
+ continue;
400
+ }
401
+ return text.slice(0, 80);
402
+ }
403
+ return void 0;
404
+ } catch {
405
+ return void 0;
406
+ }
407
+ }
408
+ function generateTitle(summary, userMessages) {
409
+ if (summary) return summary;
410
+ let commandName = "";
411
+ for (const msg of userMessages) {
412
+ const filtered = filterCommandTags(msg);
413
+ if (!filtered) continue;
414
+ if (filtered.startsWith("/") && !commandName) {
415
+ commandName = filtered;
416
+ continue;
417
+ }
418
+ if (commandName) {
419
+ return `${commandName} ${filtered}`;
420
+ }
421
+ return filtered;
422
+ }
423
+ if (commandName) return commandName;
424
+ return "Untitled Session";
425
+ }
303
426
 
304
427
  // packages/feature/agent/src/server/sessionRunHub.ts
305
428
  var GRACE_MS = 6e4;
@@ -323,6 +446,31 @@ function fanout(state, ev) {
323
446
  }
324
447
  }
325
448
  }
449
+ function startRun(key, cwd, promptText) {
450
+ const prev = registry.get(key);
451
+ if (prev?.status === "running") return false;
452
+ const prevSeq = prev?.seq ?? seqByKey.get(key) ?? 0;
453
+ if (prev) {
454
+ if (prev.evictTimer) clearTimeout(prev.evictTimer);
455
+ for (const k of prev.keys) registry.delete(k);
456
+ }
457
+ registry.set(key, {
458
+ keys: /* @__PURE__ */ new Set([key]),
459
+ cwd,
460
+ status: "running",
461
+ seq: prevSeq,
462
+ events: [],
463
+ updatedAt: Date.now()
464
+ });
465
+ if (promptText) {
466
+ appendRun(key, {
467
+ type: "user",
468
+ _human: true,
469
+ message: { role: "user", content: promptText }
470
+ });
471
+ }
472
+ return true;
473
+ }
326
474
  function appendRun(key, message) {
327
475
  const r = registry.get(key);
328
476
  if (!r) return;
@@ -332,6 +480,15 @@ function appendRun(key, message) {
332
480
  r.updatedAt = Date.now();
333
481
  fanout(r, { seq: r.seq, message });
334
482
  }
483
+ function rekeyRun(oldId, newId) {
484
+ const r = registry.get(oldId);
485
+ if (!r) return;
486
+ r.sessionId = newId;
487
+ if (oldId !== newId) {
488
+ r.keys.add(newId);
489
+ registry.set(newId, r);
490
+ }
491
+ }
335
492
  function markRunIdle(key, status = "idle") {
336
493
  const r = registry.get(key);
337
494
  if (!r) return;
@@ -362,6 +519,10 @@ function isRunActive(key) {
362
519
  function getRunSessionId(key) {
363
520
  return registry.get(key)?.sessionId ?? null;
364
521
  }
522
+ function setRunAbort(key, abort) {
523
+ const r = registry.get(key);
524
+ if (r) r.abort = abort;
525
+ }
365
526
  function requestStop(key) {
366
527
  const r = registry.get(key);
367
528
  if (!r) return false;
@@ -388,10 +549,16 @@ function addRunListener(key, cb) {
388
549
 
389
550
  export {
390
551
  updateGlobalState,
552
+ getSessionTitle,
391
553
  getSessionPreview,
554
+ startRun,
555
+ appendRun,
556
+ rekeyRun,
557
+ markRunIdle,
392
558
  getRunSnapshot,
393
559
  isRunActive,
394
560
  getRunSessionId,
561
+ setRunAbort,
395
562
  requestStop,
396
563
  addRunListener
397
564
  };