@surething/cockpit 1.0.278 → 1.0.280

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 (719) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +6 -5
  3. package/.next-prod/build-manifest.json +2 -2
  4. package/.next-prod/cockpit-build.json +1 -1
  5. package/.next-prod/prerender-manifest.json +3 -3
  6. package/.next-prod/routes-manifest.json +12 -6
  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/_tree.segment.rsc +1 -1
  15. package/.next-prod/server/app/_not-found/page.js +1 -1
  16. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
  17. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next-prod/server/app/_not-found.html +2 -2
  19. package/.next-prod/server/app/_not-found.rsc +3 -3
  20. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
  21. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
  22. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  23. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  24. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  25. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
  26. package/.next-prod/server/app/api/bash/route.js +1 -1
  27. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  28. package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
  29. package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -1
  30. package/.next-prod/server/app/api/bots/route.js +1 -1
  31. package/.next-prod/server/app/api/bots/route.js.nft.json +1 -1
  32. package/.next-prod/server/app/api/chat/codex/route.js +1 -1
  33. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  34. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  35. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  36. package/.next-prod/server/app/api/chat/glm/route.js +1 -1
  37. package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
  38. package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
  39. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  40. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  41. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  42. package/.next-prod/server/app/api/chat/route.js +1 -1
  43. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  44. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  45. package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
  46. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  47. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  48. package/.next-prod/server/app/api/commands/route.js +1 -1
  49. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  50. package/.next-prod/server/app/api/comments/route.js +1 -1
  51. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  52. package/.next-prod/server/app/api/db/columns/route.js +2 -2
  53. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  54. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  55. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  56. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  57. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  58. package/.next-prod/server/app/api/db/export/route.js +1 -1
  59. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  60. package/.next-prod/server/app/api/db/query/route.js +1 -1
  61. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  62. package/.next-prod/server/app/api/db/schemas/route.js +2 -2
  63. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  64. package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
  65. package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
  66. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  67. package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
  68. package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
  69. package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
  70. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  71. package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
  72. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  73. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  74. package/.next-prod/server/app/api/file/route.js +1 -1
  75. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  76. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  77. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  78. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  79. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  80. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  81. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  82. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  83. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  84. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  85. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  86. package/.next-prod/server/app/api/files/index/route.js +1 -1
  87. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  88. package/.next-prod/server/app/api/files/init/route.js +1 -1
  89. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  90. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  91. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  92. package/.next-prod/server/app/api/files/read/route.js +1 -1
  93. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  94. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  95. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  96. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  97. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  98. package/.next-prod/server/app/api/files/save/route.js +1 -1
  99. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  100. package/.next-prod/server/app/api/files/search/route.js +1 -1
  101. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  102. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  103. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  104. package/.next-prod/server/app/api/files/text/route.js +1 -1
  105. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  106. package/.next-prod/server/app/api/fs/dirs/route.js +1 -0
  107. package/.next-prod/server/app/api/fs/dirs/route.js.nft.json +1 -0
  108. package/.next-prod/server/app/api/fs/dirs/route_client-reference-manifest.js +1 -0
  109. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  110. package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
  111. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  112. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  113. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  114. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  115. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  116. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  117. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  118. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  119. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  120. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  121. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  122. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  123. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  124. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  125. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  126. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  127. package/.next-prod/server/app/api/git/status/route.js +1 -1
  128. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  129. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  130. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  131. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  132. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  133. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  134. package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
  135. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  136. package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
  137. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  138. package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
  139. package/.next-prod/server/app/api/global-state/route.js +2 -2
  140. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  141. package/.next-prod/server/app/api/health/route.js +1 -1
  142. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  143. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  144. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  145. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  146. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  147. package/.next-prod/server/app/api/instructions/config/route.js +1 -1
  148. package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
  149. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  150. package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
  151. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  152. package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
  153. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  154. package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
  155. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  156. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  157. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  158. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  159. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  160. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  161. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  162. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  163. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  164. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  165. package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
  166. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  167. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  168. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  169. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  170. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  171. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  172. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  173. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  174. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  175. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  176. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  177. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  178. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  179. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  180. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  181. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  182. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  183. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  184. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  185. package/.next-prod/server/app/api/note/route.js +1 -1
  186. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  187. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  188. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  189. package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
  190. package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -1
  191. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  192. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  193. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  194. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  195. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  196. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  197. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  198. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  199. package/.next-prod/server/app/api/output-styles/config/route.js +1 -1
  200. package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -1
  201. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  202. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  203. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  204. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  205. package/.next-prod/server/app/api/project-state/route.js +1 -1
  206. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  207. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  208. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  209. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  210. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  211. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  212. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  213. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  214. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  215. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  216. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  217. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  218. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  219. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  220. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  221. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  222. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  223. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  224. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  225. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  226. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  227. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  228. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  229. package/.next-prod/server/app/api/projects/route.js +1 -1
  230. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  231. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  232. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  233. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  234. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  235. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  236. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  237. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  238. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  239. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  240. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  241. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  242. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  243. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  244. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  245. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  246. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  247. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  248. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  249. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  250. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  251. package/.next-prod/server/app/api/restart/route.js +1 -1
  252. package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
  253. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  254. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  255. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  256. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  257. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  258. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  259. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  260. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  261. package/.next-prod/server/app/api/review/order/route.js +1 -1
  262. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  263. package/.next-prod/server/app/api/review/route.js +1 -1
  264. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  265. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  266. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  267. package/.next-prod/server/app/api/review/users/route.js +1 -1
  268. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  269. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  270. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  271. package/.next-prod/server/app/api/services/config/route.js +1 -1
  272. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  273. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  274. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  275. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  276. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  277. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  278. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  279. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  280. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
  281. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  282. package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
  283. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  284. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  285. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  286. package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
  287. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  288. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  289. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  290. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  291. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  292. package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
  293. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  294. package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
  295. package/.next-prod/server/app/api/settings/route.js +1 -1
  296. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  297. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  298. package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
  299. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  300. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  301. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  302. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  303. package/.next-prod/server/app/api/skills/route.js +1 -1
  304. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  305. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  306. package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
  307. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  308. package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
  309. package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
  310. package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -1
  311. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  312. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  313. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  314. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  315. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  316. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  317. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  318. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  319. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  320. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  321. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  322. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  323. package/.next-prod/server/app/api/terminal/running/route.js +1 -0
  324. package/.next-prod/server/app/api/terminal/running/route.js.nft.json +1 -0
  325. package/.next-prod/server/app/api/terminal/running/route_client-reference-manifest.js +1 -0
  326. package/.next-prod/server/app/api/update/route.js +1 -1
  327. package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
  328. package/.next-prod/server/app/api/update-state/route.js +1 -1
  329. package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
  330. package/.next-prod/server/app/api/version/route.js +1 -1
  331. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  332. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  333. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  334. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  335. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  336. package/.next-prod/server/app/m/page.js +1 -1
  337. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  338. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  339. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  340. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  341. package/.next-prod/server/app/page.js +1 -1
  342. package/.next-prod/server/app/page.js.nft.json +1 -1
  343. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  344. package/.next-prod/server/app/project/page.js +1 -1
  345. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  346. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  347. package/.next-prod/server/app/review/[id]/page.js +1 -1
  348. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  349. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  350. package/.next-prod/server/app-paths-manifest.json +6 -5
  351. package/.next-prod/server/chunks/1863.js +1 -0
  352. package/.next-prod/server/chunks/2493.js +9 -9
  353. package/.next-prod/server/chunks/411.js +1 -0
  354. package/.next-prod/server/chunks/5591.js +2 -2
  355. package/.next-prod/server/chunks/7438.js +18 -17
  356. package/.next-prod/server/chunks/7918.js +1 -0
  357. package/.next-prod/server/chunks/8022.js +1 -1
  358. package/.next-prod/server/middleware-build-manifest.js +1 -1
  359. package/.next-prod/server/pages/404.html +2 -2
  360. package/.next-prod/server/pages/500.html +1 -1
  361. package/.next-prod/server/server-reference-manifest.json +1 -1
  362. package/.next-prod/static/_195_hPNVuma2vZS7bpTW/_buildManifest.js +1 -0
  363. package/.next-prod/static/chunks/81016-71999ca5bd6a6b2f.js +36 -0
  364. package/.next-prod/static/chunks/{95313-eb607273c688b022.js → 95313-af5cc33125d6c0ff.js} +3 -3
  365. package/.next-prod/static/chunks/99092-d9525c22b942b051.js +716 -0
  366. package/.next-prod/static/chunks/app/_global-error/page-4e18b53a1ed48d45.js +1 -0
  367. package/.next-prod/static/chunks/app/api/agent/test/route-4e18b53a1ed48d45.js +1 -0
  368. package/.next-prod/static/chunks/app/api/bash/route-4e18b53a1ed48d45.js +1 -0
  369. package/.next-prod/static/chunks/app/api/bots/[id]/route-4e18b53a1ed48d45.js +1 -0
  370. package/.next-prod/static/chunks/app/api/bots/route-4e18b53a1ed48d45.js +1 -0
  371. package/.next-prod/static/chunks/app/api/chat/codex/route-4e18b53a1ed48d45.js +1 -0
  372. package/.next-prod/static/chunks/app/api/chat/deepseek/route-4e18b53a1ed48d45.js +1 -0
  373. package/.next-prod/static/chunks/app/api/chat/glm/route-4e18b53a1ed48d45.js +1 -0
  374. package/.next-prod/static/chunks/app/api/chat/kimi/route-4e18b53a1ed48d45.js +1 -0
  375. package/.next-prod/static/chunks/app/api/chat/ollama/route-4e18b53a1ed48d45.js +1 -0
  376. package/.next-prod/static/chunks/app/api/chat/route-4e18b53a1ed48d45.js +1 -0
  377. package/.next-prod/static/chunks/app/api/chat/stop/route-4e18b53a1ed48d45.js +1 -0
  378. package/.next-prod/static/chunks/app/api/claude-stats/route-4e18b53a1ed48d45.js +1 -0
  379. package/.next-prod/static/chunks/app/api/commands/route-4e18b53a1ed48d45.js +1 -0
  380. package/.next-prod/static/chunks/app/api/comments/route-4e18b53a1ed48d45.js +1 -0
  381. package/.next-prod/static/chunks/app/api/db/columns/route-4e18b53a1ed48d45.js +1 -0
  382. package/.next-prod/static/chunks/app/api/db/connect/route-4e18b53a1ed48d45.js +1 -0
  383. package/.next-prod/static/chunks/app/api/db/disconnect/route-4e18b53a1ed48d45.js +1 -0
  384. package/.next-prod/static/chunks/app/api/db/export/route-4e18b53a1ed48d45.js +1 -0
  385. package/.next-prod/static/chunks/app/api/db/query/route-4e18b53a1ed48d45.js +1 -0
  386. package/.next-prod/static/chunks/app/api/db/schemas/route-4e18b53a1ed48d45.js +1 -0
  387. package/.next-prod/static/chunks/app/api/deepseek/balance/route-4e18b53a1ed48d45.js +1 -0
  388. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-4e18b53a1ed48d45.js +1 -0
  389. package/.next-prod/static/chunks/app/api/deepseek/models/route-4e18b53a1ed48d45.js +1 -0
  390. package/.next-prod/static/chunks/app/api/dev/spans/route-4e18b53a1ed48d45.js +1 -0
  391. package/.next-prod/static/chunks/app/api/extension/version/route-4e18b53a1ed48d45.js +1 -0
  392. package/.next-prod/static/chunks/app/api/file/route-4e18b53a1ed48d45.js +1 -0
  393. package/.next-prod/static/chunks/app/api/files/blame/route-4e18b53a1ed48d45.js +1 -0
  394. package/.next-prod/static/chunks/app/api/files/clipboard/route-4e18b53a1ed48d45.js +1 -0
  395. package/.next-prod/static/chunks/app/api/files/copy/route-4e18b53a1ed48d45.js +1 -0
  396. package/.next-prod/static/chunks/app/api/files/delete/route-4e18b53a1ed48d45.js +1 -0
  397. package/.next-prod/static/chunks/app/api/files/expanded/route-4e18b53a1ed48d45.js +1 -0
  398. package/.next-prod/static/chunks/app/api/files/index/route-4e18b53a1ed48d45.js +1 -0
  399. package/.next-prod/static/chunks/app/api/files/init/route-4e18b53a1ed48d45.js +1 -0
  400. package/.next-prod/static/chunks/app/api/files/paste/route-4e18b53a1ed48d45.js +1 -0
  401. package/.next-prod/static/chunks/app/api/files/read/route-4e18b53a1ed48d45.js +1 -0
  402. package/.next-prod/static/chunks/app/api/files/readdir/route-4e18b53a1ed48d45.js +1 -0
  403. package/.next-prod/static/chunks/app/api/files/recent/route-4e18b53a1ed48d45.js +1 -0
  404. package/.next-prod/static/chunks/app/api/files/save/route-4e18b53a1ed48d45.js +1 -0
  405. package/.next-prod/static/chunks/app/api/files/search/route-4e18b53a1ed48d45.js +1 -0
  406. package/.next-prod/static/chunks/app/api/files/stat/route-4e18b53a1ed48d45.js +1 -0
  407. package/.next-prod/static/chunks/app/api/files/text/route-4e18b53a1ed48d45.js +1 -0
  408. package/.next-prod/static/chunks/app/api/fs/dirs/route-4e18b53a1ed48d45.js +1 -0
  409. package/.next-prod/static/chunks/app/api/git/blob/route-4e18b53a1ed48d45.js +1 -0
  410. package/.next-prod/static/chunks/app/api/git/branch-diff/route-4e18b53a1ed48d45.js +1 -0
  411. package/.next-prod/static/chunks/app/api/git/branches/route-4e18b53a1ed48d45.js +1 -0
  412. package/.next-prod/static/chunks/app/api/git/commit-diff/route-4e18b53a1ed48d45.js +1 -0
  413. package/.next-prod/static/chunks/app/api/git/commits/route-4e18b53a1ed48d45.js +1 -0
  414. package/.next-prod/static/chunks/app/api/git/current-branch/route-4e18b53a1ed48d45.js +1 -0
  415. package/.next-prod/static/chunks/app/api/git/diff/route-4e18b53a1ed48d45.js +1 -0
  416. package/.next-prod/static/chunks/app/api/git/discard/route-4e18b53a1ed48d45.js +1 -0
  417. package/.next-prod/static/chunks/app/api/git/stage/route-4e18b53a1ed48d45.js +1 -0
  418. package/.next-prod/static/chunks/app/api/git/status/route-4e18b53a1ed48d45.js +1 -0
  419. package/.next-prod/static/chunks/app/api/git/unstage/route-4e18b53a1ed48d45.js +1 -0
  420. package/.next-prod/static/chunks/app/api/git/worktree/route-4e18b53a1ed48d45.js +1 -0
  421. package/.next-prod/static/chunks/app/api/glm/credentials/route-4e18b53a1ed48d45.js +1 -0
  422. package/.next-prod/static/chunks/app/api/glm/models/route-4e18b53a1ed48d45.js +1 -0
  423. package/.next-prod/static/chunks/app/api/glm/usage/route-4e18b53a1ed48d45.js +1 -0
  424. package/.next-prod/static/chunks/app/api/global-state/route-4e18b53a1ed48d45.js +1 -0
  425. package/.next-prod/static/chunks/app/api/health/route-4e18b53a1ed48d45.js +1 -0
  426. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-4e18b53a1ed48d45.js +1 -0
  427. package/.next-prod/static/chunks/app/api/html-apps/route-4e18b53a1ed48d45.js +1 -0
  428. package/.next-prod/static/chunks/app/api/instructions/config/route-4e18b53a1ed48d45.js +1 -0
  429. package/.next-prod/static/chunks/app/api/kimi/credentials/route-4e18b53a1ed48d45.js +1 -0
  430. package/.next-prod/static/chunks/app/api/kimi/models/route-4e18b53a1ed48d45.js +1 -0
  431. package/.next-prod/static/chunks/app/api/kimi/usage/route-4e18b53a1ed48d45.js +1 -0
  432. package/.next-prod/static/chunks/app/api/lsp/definition/route-4e18b53a1ed48d45.js +1 -0
  433. package/.next-prod/static/chunks/app/api/lsp/hover/route-4e18b53a1ed48d45.js +1 -0
  434. package/.next-prod/static/chunks/app/api/lsp/references/route-4e18b53a1ed48d45.js +1 -0
  435. package/.next-prod/static/chunks/app/api/lsp/status/route-4e18b53a1ed48d45.js +1 -0
  436. package/.next-prod/static/chunks/app/api/lsp/warmup/route-4e18b53a1ed48d45.js +1 -0
  437. package/.next-prod/static/chunks/app/api/mysql/columns/route-4e18b53a1ed48d45.js +1 -0
  438. package/.next-prod/static/chunks/app/api/mysql/connect/route-4e18b53a1ed48d45.js +1 -0
  439. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-4e18b53a1ed48d45.js +1 -0
  440. package/.next-prod/static/chunks/app/api/mysql/export/route-4e18b53a1ed48d45.js +1 -0
  441. package/.next-prod/static/chunks/app/api/mysql/query/route-4e18b53a1ed48d45.js +1 -0
  442. package/.next-prod/static/chunks/app/api/mysql/schemas/route-4e18b53a1ed48d45.js +1 -0
  443. package/.next-prod/static/chunks/app/api/neo4j/connect/route-4e18b53a1ed48d45.js +1 -0
  444. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-4e18b53a1ed48d45.js +1 -0
  445. package/.next-prod/static/chunks/app/api/neo4j/query/route-4e18b53a1ed48d45.js +1 -0
  446. package/.next-prod/static/chunks/app/api/neo4j/schema/route-4e18b53a1ed48d45.js +1 -0
  447. package/.next-prod/static/chunks/app/api/note/route-4e18b53a1ed48d45.js +1 -0
  448. package/.next-prod/static/chunks/app/api/ollama/config/route-4e18b53a1ed48d45.js +1 -0
  449. package/.next-prod/static/chunks/app/api/ollama/default-model/route-4e18b53a1ed48d45.js +1 -0
  450. package/.next-prod/static/chunks/app/api/ollama/models/route-4e18b53a1ed48d45.js +1 -0
  451. package/.next-prod/static/chunks/app/api/ollama/start/route-4e18b53a1ed48d45.js +1 -0
  452. package/.next-prod/static/chunks/app/api/open-cursor/route-4e18b53a1ed48d45.js +1 -0
  453. package/.next-prod/static/chunks/app/api/open-vscode/route-4e18b53a1ed48d45.js +1 -0
  454. package/.next-prod/static/chunks/app/api/output-styles/config/route-4e18b53a1ed48d45.js +1 -0
  455. package/.next-prod/static/chunks/app/api/pinned-sessions/route-4e18b53a1ed48d45.js +1 -0
  456. package/.next-prod/static/chunks/app/api/project-settings/route-4e18b53a1ed48d45.js +1 -0
  457. package/.next-prod/static/chunks/app/api/project-state/route-4e18b53a1ed48d45.js +1 -0
  458. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-4e18b53a1ed48d45.js +1 -0
  459. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-4e18b53a1ed48d45.js +1 -0
  460. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-4e18b53a1ed48d45.js +1 -0
  461. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-4e18b53a1ed48d45.js +1 -0
  462. package/.next-prod/static/chunks/app/api/projectGraph/context/route-4e18b53a1ed48d45.js +1 -0
  463. package/.next-prod/static/chunks/app/api/projectGraph/file/route-4e18b53a1ed48d45.js +1 -0
  464. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-4e18b53a1ed48d45.js +1 -0
  465. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-4e18b53a1ed48d45.js +1 -0
  466. package/.next-prod/static/chunks/app/api/projectGraph/related/route-4e18b53a1ed48d45.js +1 -0
  467. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-4e18b53a1ed48d45.js +1 -0
  468. package/.next-prod/static/chunks/app/api/projectGraph/search/route-4e18b53a1ed48d45.js +1 -0
  469. package/.next-prod/static/chunks/app/api/projects/route-4e18b53a1ed48d45.js +1 -0
  470. package/.next-prod/static/chunks/app/api/push/public-key/route-4e18b53a1ed48d45.js +1 -0
  471. package/.next-prod/static/chunks/app/api/push/subscribe/route-4e18b53a1ed48d45.js +1 -0
  472. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-4e18b53a1ed48d45.js +1 -0
  473. package/.next-prod/static/chunks/app/api/redis/command/route-4e18b53a1ed48d45.js +1 -0
  474. package/.next-prod/static/chunks/app/api/redis/connect/route-4e18b53a1ed48d45.js +1 -0
  475. package/.next-prod/static/chunks/app/api/redis/delete/route-4e18b53a1ed48d45.js +1 -0
  476. package/.next-prod/static/chunks/app/api/redis/disconnect/route-4e18b53a1ed48d45.js +1 -0
  477. package/.next-prod/static/chunks/app/api/redis/get/route-4e18b53a1ed48d45.js +1 -0
  478. package/.next-prod/static/chunks/app/api/redis/keys/route-4e18b53a1ed48d45.js +1 -0
  479. package/.next-prod/static/chunks/app/api/redis/set/route-4e18b53a1ed48d45.js +1 -0
  480. package/.next-prod/static/chunks/app/api/restart/route-4e18b53a1ed48d45.js +1 -0
  481. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-4e18b53a1ed48d45.js +1 -0
  482. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-4e18b53a1ed48d45.js +1 -0
  483. package/.next-prod/static/chunks/app/api/review/[id]/route-4e18b53a1ed48d45.js +1 -0
  484. package/.next-prod/static/chunks/app/api/review/identify/route-4e18b53a1ed48d45.js +1 -0
  485. package/.next-prod/static/chunks/app/api/review/order/route-4e18b53a1ed48d45.js +1 -0
  486. package/.next-prod/static/chunks/app/api/review/route-4e18b53a1ed48d45.js +1 -0
  487. package/.next-prod/static/chunks/app/api/review/share-info/route-4e18b53a1ed48d45.js +1 -0
  488. package/.next-prod/static/chunks/app/api/review/users/route-4e18b53a1ed48d45.js +1 -0
  489. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-4e18b53a1ed48d45.js +1 -0
  490. package/.next-prod/static/chunks/app/api/services/config/route-4e18b53a1ed48d45.js +1 -0
  491. package/.next-prod/static/chunks/app/api/services/scripts/route-4e18b53a1ed48d45.js +1 -0
  492. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-4e18b53a1ed48d45.js +1 -0
  493. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-4e18b53a1ed48d45.js +1 -0
  494. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-4e18b53a1ed48d45.js +1 -0
  495. package/.next-prod/static/chunks/app/api/session/user-messages/route-4e18b53a1ed48d45.js +1 -0
  496. package/.next-prod/static/chunks/app/api/session-by-path/route-4e18b53a1ed48d45.js +1 -0
  497. package/.next-prod/static/chunks/app/api/sessions/delegate/route-4e18b53a1ed48d45.js +1 -0
  498. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-4e18b53a1ed48d45.js +1 -0
  499. package/.next-prod/static/chunks/app/api/sessions/projects/route-4e18b53a1ed48d45.js +1 -0
  500. package/.next-prod/static/chunks/app/api/sessions/search/route-4e18b53a1ed48d45.js +1 -0
  501. package/.next-prod/static/chunks/app/api/sessions/status/route-4e18b53a1ed48d45.js +1 -0
  502. package/.next-prod/static/chunks/app/api/settings/route-4e18b53a1ed48d45.js +1 -0
  503. package/.next-prod/static/chunks/app/api/shutdown/route-4e18b53a1ed48d45.js +1 -0
  504. package/.next-prod/static/chunks/app/api/skills/[id]/route-4e18b53a1ed48d45.js +1 -0
  505. package/.next-prod/static/chunks/app/api/skills/content/route-4e18b53a1ed48d45.js +1 -0
  506. package/.next-prod/static/chunks/app/api/skills/route-4e18b53a1ed48d45.js +1 -0
  507. package/.next-prod/static/chunks/app/api/snapshots/blob/route-4e18b53a1ed48d45.js +1 -0
  508. package/.next-prod/static/chunks/app/api/snapshots/diff/route-4e18b53a1ed48d45.js +1 -0
  509. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-4e18b53a1ed48d45.js +1 -0
  510. package/.next-prod/static/chunks/app/api/snapshots/route-4e18b53a1ed48d45.js +1 -0
  511. package/.next-prod/static/chunks/app/api/terminal/aliases/route-4e18b53a1ed48d45.js +1 -0
  512. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-4e18b53a1ed48d45.js +1 -0
  513. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-4e18b53a1ed48d45.js +1 -0
  514. package/.next-prod/static/chunks/app/api/terminal/env/route-4e18b53a1ed48d45.js +1 -0
  515. package/.next-prod/static/chunks/app/api/terminal/history/route-4e18b53a1ed48d45.js +1 -0
  516. package/.next-prod/static/chunks/app/api/terminal/running/route-4e18b53a1ed48d45.js +1 -0
  517. package/.next-prod/static/chunks/app/api/update/route-4e18b53a1ed48d45.js +1 -0
  518. package/.next-prod/static/chunks/app/api/update-state/route-4e18b53a1ed48d45.js +1 -0
  519. package/.next-prod/static/chunks/app/api/version/route-4e18b53a1ed48d45.js +1 -0
  520. package/.next-prod/static/chunks/app/apps/[...path]/route-4e18b53a1ed48d45.js +1 -0
  521. package/.next-prod/static/chunks/app/{layout-589122feb9071556.js → layout-0c3dcac0764d9e97.js} +1 -1
  522. package/.next-prod/static/chunks/app/manifest.webmanifest/route-4e18b53a1ed48d45.js +1 -0
  523. package/.next-prod/static/chunks/app/page-b472e7f948959009.js +1 -0
  524. package/.next-prod/static/chunks/app/project/page-b472e7f948959009.js +1 -0
  525. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-4e18b53a1ed48d45.js +1 -0
  526. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-4e18b53a1ed48d45.js +1 -0
  527. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-4e18b53a1ed48d45.js +1 -0
  528. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-4e18b53a1ed48d45.js +1 -0
  529. package/.next-prod/static/css/e70d0cefe04f0619.css +1 -0
  530. package/.next-prod/trace +15 -15
  531. package/.next-prod/trace-build +1 -1
  532. package/.next-prod/types/app/api/{pick-folder → fs/dirs}/route.ts +3 -3
  533. package/.next-prod/types/app/api/terminal/running/route.ts +353 -0
  534. package/.next-prod/types/routes.d.ts +3 -2
  535. package/.next-prod/types/validator.ts +18 -9
  536. package/bin/pty-host.mjs +423 -0
  537. package/dist/{chunk-LPZXJPD6.mjs → chunk-3LSLUAN6.mjs} +143 -95
  538. package/dist/{chunk-W5MB7DIM.mjs → chunk-N6CFCP2N.mjs} +655 -9
  539. package/dist/httpApi.mjs +7 -3
  540. package/dist/scheduledTasks.mjs +67 -11
  541. package/dist/wsServer.mjs +118 -141
  542. package/package.json +3 -3
  543. package/server.mjs +12 -0
  544. package/skills/cr/SKILL.md +306 -126
  545. package/skills/ex/SKILL.md +39 -59
  546. package/skills/fx/SKILL.md +46 -4
  547. package/skills/go/SKILL.md +26 -87
  548. package/skills/qa/SKILL.md +46 -36
  549. package/.next-prod/server/app/api/pick-folder/route.js +0 -1
  550. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +0 -1
  551. package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +0 -1
  552. package/.next-prod/server/chunks/6548.js +0 -1
  553. package/.next-prod/static/I8gbcTQRiRdMF09goE7WI/_buildManifest.js +0 -1
  554. package/.next-prod/static/chunks/60875-acaae14dd7ddcd91.js +0 -35
  555. package/.next-prod/static/chunks/99092-f94ee242866d22b9.js +0 -716
  556. package/.next-prod/static/chunks/app/_global-error/page-b3c86dd8f06140fe.js +0 -1
  557. package/.next-prod/static/chunks/app/api/agent/test/route-b3c86dd8f06140fe.js +0 -1
  558. package/.next-prod/static/chunks/app/api/bash/route-b3c86dd8f06140fe.js +0 -1
  559. package/.next-prod/static/chunks/app/api/bots/[id]/route-b3c86dd8f06140fe.js +0 -1
  560. package/.next-prod/static/chunks/app/api/bots/route-b3c86dd8f06140fe.js +0 -1
  561. package/.next-prod/static/chunks/app/api/chat/codex/route-b3c86dd8f06140fe.js +0 -1
  562. package/.next-prod/static/chunks/app/api/chat/deepseek/route-b3c86dd8f06140fe.js +0 -1
  563. package/.next-prod/static/chunks/app/api/chat/glm/route-b3c86dd8f06140fe.js +0 -1
  564. package/.next-prod/static/chunks/app/api/chat/kimi/route-b3c86dd8f06140fe.js +0 -1
  565. package/.next-prod/static/chunks/app/api/chat/ollama/route-b3c86dd8f06140fe.js +0 -1
  566. package/.next-prod/static/chunks/app/api/chat/route-b3c86dd8f06140fe.js +0 -1
  567. package/.next-prod/static/chunks/app/api/chat/stop/route-b3c86dd8f06140fe.js +0 -1
  568. package/.next-prod/static/chunks/app/api/claude-stats/route-b3c86dd8f06140fe.js +0 -1
  569. package/.next-prod/static/chunks/app/api/commands/route-b3c86dd8f06140fe.js +0 -1
  570. package/.next-prod/static/chunks/app/api/comments/route-b3c86dd8f06140fe.js +0 -1
  571. package/.next-prod/static/chunks/app/api/db/columns/route-b3c86dd8f06140fe.js +0 -1
  572. package/.next-prod/static/chunks/app/api/db/connect/route-b3c86dd8f06140fe.js +0 -1
  573. package/.next-prod/static/chunks/app/api/db/disconnect/route-b3c86dd8f06140fe.js +0 -1
  574. package/.next-prod/static/chunks/app/api/db/export/route-b3c86dd8f06140fe.js +0 -1
  575. package/.next-prod/static/chunks/app/api/db/query/route-b3c86dd8f06140fe.js +0 -1
  576. package/.next-prod/static/chunks/app/api/db/schemas/route-b3c86dd8f06140fe.js +0 -1
  577. package/.next-prod/static/chunks/app/api/deepseek/balance/route-b3c86dd8f06140fe.js +0 -1
  578. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b3c86dd8f06140fe.js +0 -1
  579. package/.next-prod/static/chunks/app/api/deepseek/models/route-b3c86dd8f06140fe.js +0 -1
  580. package/.next-prod/static/chunks/app/api/dev/spans/route-b3c86dd8f06140fe.js +0 -1
  581. package/.next-prod/static/chunks/app/api/extension/version/route-b3c86dd8f06140fe.js +0 -1
  582. package/.next-prod/static/chunks/app/api/file/route-b3c86dd8f06140fe.js +0 -1
  583. package/.next-prod/static/chunks/app/api/files/blame/route-b3c86dd8f06140fe.js +0 -1
  584. package/.next-prod/static/chunks/app/api/files/clipboard/route-b3c86dd8f06140fe.js +0 -1
  585. package/.next-prod/static/chunks/app/api/files/copy/route-b3c86dd8f06140fe.js +0 -1
  586. package/.next-prod/static/chunks/app/api/files/delete/route-b3c86dd8f06140fe.js +0 -1
  587. package/.next-prod/static/chunks/app/api/files/expanded/route-b3c86dd8f06140fe.js +0 -1
  588. package/.next-prod/static/chunks/app/api/files/index/route-b3c86dd8f06140fe.js +0 -1
  589. package/.next-prod/static/chunks/app/api/files/init/route-b3c86dd8f06140fe.js +0 -1
  590. package/.next-prod/static/chunks/app/api/files/paste/route-b3c86dd8f06140fe.js +0 -1
  591. package/.next-prod/static/chunks/app/api/files/read/route-b3c86dd8f06140fe.js +0 -1
  592. package/.next-prod/static/chunks/app/api/files/readdir/route-b3c86dd8f06140fe.js +0 -1
  593. package/.next-prod/static/chunks/app/api/files/recent/route-b3c86dd8f06140fe.js +0 -1
  594. package/.next-prod/static/chunks/app/api/files/save/route-b3c86dd8f06140fe.js +0 -1
  595. package/.next-prod/static/chunks/app/api/files/search/route-b3c86dd8f06140fe.js +0 -1
  596. package/.next-prod/static/chunks/app/api/files/stat/route-b3c86dd8f06140fe.js +0 -1
  597. package/.next-prod/static/chunks/app/api/files/text/route-b3c86dd8f06140fe.js +0 -1
  598. package/.next-prod/static/chunks/app/api/git/blob/route-b3c86dd8f06140fe.js +0 -1
  599. package/.next-prod/static/chunks/app/api/git/branch-diff/route-b3c86dd8f06140fe.js +0 -1
  600. package/.next-prod/static/chunks/app/api/git/branches/route-b3c86dd8f06140fe.js +0 -1
  601. package/.next-prod/static/chunks/app/api/git/commit-diff/route-b3c86dd8f06140fe.js +0 -1
  602. package/.next-prod/static/chunks/app/api/git/commits/route-b3c86dd8f06140fe.js +0 -1
  603. package/.next-prod/static/chunks/app/api/git/current-branch/route-b3c86dd8f06140fe.js +0 -1
  604. package/.next-prod/static/chunks/app/api/git/diff/route-b3c86dd8f06140fe.js +0 -1
  605. package/.next-prod/static/chunks/app/api/git/discard/route-b3c86dd8f06140fe.js +0 -1
  606. package/.next-prod/static/chunks/app/api/git/stage/route-b3c86dd8f06140fe.js +0 -1
  607. package/.next-prod/static/chunks/app/api/git/status/route-b3c86dd8f06140fe.js +0 -1
  608. package/.next-prod/static/chunks/app/api/git/unstage/route-b3c86dd8f06140fe.js +0 -1
  609. package/.next-prod/static/chunks/app/api/git/worktree/route-b3c86dd8f06140fe.js +0 -1
  610. package/.next-prod/static/chunks/app/api/glm/credentials/route-b3c86dd8f06140fe.js +0 -1
  611. package/.next-prod/static/chunks/app/api/glm/models/route-b3c86dd8f06140fe.js +0 -1
  612. package/.next-prod/static/chunks/app/api/glm/usage/route-b3c86dd8f06140fe.js +0 -1
  613. package/.next-prod/static/chunks/app/api/global-state/route-b3c86dd8f06140fe.js +0 -1
  614. package/.next-prod/static/chunks/app/api/health/route-b3c86dd8f06140fe.js +0 -1
  615. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b3c86dd8f06140fe.js +0 -1
  616. package/.next-prod/static/chunks/app/api/html-apps/route-b3c86dd8f06140fe.js +0 -1
  617. package/.next-prod/static/chunks/app/api/instructions/config/route-b3c86dd8f06140fe.js +0 -1
  618. package/.next-prod/static/chunks/app/api/kimi/credentials/route-b3c86dd8f06140fe.js +0 -1
  619. package/.next-prod/static/chunks/app/api/kimi/models/route-b3c86dd8f06140fe.js +0 -1
  620. package/.next-prod/static/chunks/app/api/kimi/usage/route-b3c86dd8f06140fe.js +0 -1
  621. package/.next-prod/static/chunks/app/api/lsp/definition/route-b3c86dd8f06140fe.js +0 -1
  622. package/.next-prod/static/chunks/app/api/lsp/hover/route-b3c86dd8f06140fe.js +0 -1
  623. package/.next-prod/static/chunks/app/api/lsp/references/route-b3c86dd8f06140fe.js +0 -1
  624. package/.next-prod/static/chunks/app/api/lsp/status/route-b3c86dd8f06140fe.js +0 -1
  625. package/.next-prod/static/chunks/app/api/lsp/warmup/route-b3c86dd8f06140fe.js +0 -1
  626. package/.next-prod/static/chunks/app/api/mysql/columns/route-b3c86dd8f06140fe.js +0 -1
  627. package/.next-prod/static/chunks/app/api/mysql/connect/route-b3c86dd8f06140fe.js +0 -1
  628. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b3c86dd8f06140fe.js +0 -1
  629. package/.next-prod/static/chunks/app/api/mysql/export/route-b3c86dd8f06140fe.js +0 -1
  630. package/.next-prod/static/chunks/app/api/mysql/query/route-b3c86dd8f06140fe.js +0 -1
  631. package/.next-prod/static/chunks/app/api/mysql/schemas/route-b3c86dd8f06140fe.js +0 -1
  632. package/.next-prod/static/chunks/app/api/neo4j/connect/route-b3c86dd8f06140fe.js +0 -1
  633. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b3c86dd8f06140fe.js +0 -1
  634. package/.next-prod/static/chunks/app/api/neo4j/query/route-b3c86dd8f06140fe.js +0 -1
  635. package/.next-prod/static/chunks/app/api/neo4j/schema/route-b3c86dd8f06140fe.js +0 -1
  636. package/.next-prod/static/chunks/app/api/note/route-b3c86dd8f06140fe.js +0 -1
  637. package/.next-prod/static/chunks/app/api/ollama/config/route-b3c86dd8f06140fe.js +0 -1
  638. package/.next-prod/static/chunks/app/api/ollama/default-model/route-b3c86dd8f06140fe.js +0 -1
  639. package/.next-prod/static/chunks/app/api/ollama/models/route-b3c86dd8f06140fe.js +0 -1
  640. package/.next-prod/static/chunks/app/api/ollama/start/route-b3c86dd8f06140fe.js +0 -1
  641. package/.next-prod/static/chunks/app/api/open-cursor/route-b3c86dd8f06140fe.js +0 -1
  642. package/.next-prod/static/chunks/app/api/open-vscode/route-b3c86dd8f06140fe.js +0 -1
  643. package/.next-prod/static/chunks/app/api/output-styles/config/route-b3c86dd8f06140fe.js +0 -1
  644. package/.next-prod/static/chunks/app/api/pick-folder/route-b3c86dd8f06140fe.js +0 -1
  645. package/.next-prod/static/chunks/app/api/pinned-sessions/route-b3c86dd8f06140fe.js +0 -1
  646. package/.next-prod/static/chunks/app/api/project-settings/route-b3c86dd8f06140fe.js +0 -1
  647. package/.next-prod/static/chunks/app/api/project-state/route-b3c86dd8f06140fe.js +0 -1
  648. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b3c86dd8f06140fe.js +0 -1
  649. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b3c86dd8f06140fe.js +0 -1
  650. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b3c86dd8f06140fe.js +0 -1
  651. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b3c86dd8f06140fe.js +0 -1
  652. package/.next-prod/static/chunks/app/api/projectGraph/context/route-b3c86dd8f06140fe.js +0 -1
  653. package/.next-prod/static/chunks/app/api/projectGraph/file/route-b3c86dd8f06140fe.js +0 -1
  654. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b3c86dd8f06140fe.js +0 -1
  655. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b3c86dd8f06140fe.js +0 -1
  656. package/.next-prod/static/chunks/app/api/projectGraph/related/route-b3c86dd8f06140fe.js +0 -1
  657. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-b3c86dd8f06140fe.js +0 -1
  658. package/.next-prod/static/chunks/app/api/projectGraph/search/route-b3c86dd8f06140fe.js +0 -1
  659. package/.next-prod/static/chunks/app/api/projects/route-b3c86dd8f06140fe.js +0 -1
  660. package/.next-prod/static/chunks/app/api/push/public-key/route-b3c86dd8f06140fe.js +0 -1
  661. package/.next-prod/static/chunks/app/api/push/subscribe/route-b3c86dd8f06140fe.js +0 -1
  662. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b3c86dd8f06140fe.js +0 -1
  663. package/.next-prod/static/chunks/app/api/redis/command/route-b3c86dd8f06140fe.js +0 -1
  664. package/.next-prod/static/chunks/app/api/redis/connect/route-b3c86dd8f06140fe.js +0 -1
  665. package/.next-prod/static/chunks/app/api/redis/delete/route-b3c86dd8f06140fe.js +0 -1
  666. package/.next-prod/static/chunks/app/api/redis/disconnect/route-b3c86dd8f06140fe.js +0 -1
  667. package/.next-prod/static/chunks/app/api/redis/get/route-b3c86dd8f06140fe.js +0 -1
  668. package/.next-prod/static/chunks/app/api/redis/keys/route-b3c86dd8f06140fe.js +0 -1
  669. package/.next-prod/static/chunks/app/api/redis/set/route-b3c86dd8f06140fe.js +0 -1
  670. package/.next-prod/static/chunks/app/api/restart/route-b3c86dd8f06140fe.js +0 -1
  671. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-b3c86dd8f06140fe.js +0 -1
  672. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-b3c86dd8f06140fe.js +0 -1
  673. package/.next-prod/static/chunks/app/api/review/[id]/route-b3c86dd8f06140fe.js +0 -1
  674. package/.next-prod/static/chunks/app/api/review/identify/route-b3c86dd8f06140fe.js +0 -1
  675. package/.next-prod/static/chunks/app/api/review/order/route-b3c86dd8f06140fe.js +0 -1
  676. package/.next-prod/static/chunks/app/api/review/route-b3c86dd8f06140fe.js +0 -1
  677. package/.next-prod/static/chunks/app/api/review/share-info/route-b3c86dd8f06140fe.js +0 -1
  678. package/.next-prod/static/chunks/app/api/review/users/route-b3c86dd8f06140fe.js +0 -1
  679. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b3c86dd8f06140fe.js +0 -1
  680. package/.next-prod/static/chunks/app/api/services/config/route-b3c86dd8f06140fe.js +0 -1
  681. package/.next-prod/static/chunks/app/api/services/scripts/route-b3c86dd8f06140fe.js +0 -1
  682. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b3c86dd8f06140fe.js +0 -1
  683. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b3c86dd8f06140fe.js +0 -1
  684. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b3c86dd8f06140fe.js +0 -1
  685. package/.next-prod/static/chunks/app/api/session/user-messages/route-b3c86dd8f06140fe.js +0 -1
  686. package/.next-prod/static/chunks/app/api/session-by-path/route-b3c86dd8f06140fe.js +0 -1
  687. package/.next-prod/static/chunks/app/api/sessions/delegate/route-b3c86dd8f06140fe.js +0 -1
  688. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b3c86dd8f06140fe.js +0 -1
  689. package/.next-prod/static/chunks/app/api/sessions/projects/route-b3c86dd8f06140fe.js +0 -1
  690. package/.next-prod/static/chunks/app/api/sessions/search/route-b3c86dd8f06140fe.js +0 -1
  691. package/.next-prod/static/chunks/app/api/sessions/status/route-b3c86dd8f06140fe.js +0 -1
  692. package/.next-prod/static/chunks/app/api/settings/route-b3c86dd8f06140fe.js +0 -1
  693. package/.next-prod/static/chunks/app/api/shutdown/route-b3c86dd8f06140fe.js +0 -1
  694. package/.next-prod/static/chunks/app/api/skills/[id]/route-b3c86dd8f06140fe.js +0 -1
  695. package/.next-prod/static/chunks/app/api/skills/content/route-b3c86dd8f06140fe.js +0 -1
  696. package/.next-prod/static/chunks/app/api/skills/route-b3c86dd8f06140fe.js +0 -1
  697. package/.next-prod/static/chunks/app/api/snapshots/blob/route-b3c86dd8f06140fe.js +0 -1
  698. package/.next-prod/static/chunks/app/api/snapshots/diff/route-b3c86dd8f06140fe.js +0 -1
  699. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-b3c86dd8f06140fe.js +0 -1
  700. package/.next-prod/static/chunks/app/api/snapshots/route-b3c86dd8f06140fe.js +0 -1
  701. package/.next-prod/static/chunks/app/api/terminal/aliases/route-b3c86dd8f06140fe.js +0 -1
  702. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b3c86dd8f06140fe.js +0 -1
  703. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b3c86dd8f06140fe.js +0 -1
  704. package/.next-prod/static/chunks/app/api/terminal/env/route-b3c86dd8f06140fe.js +0 -1
  705. package/.next-prod/static/chunks/app/api/terminal/history/route-b3c86dd8f06140fe.js +0 -1
  706. package/.next-prod/static/chunks/app/api/update/route-b3c86dd8f06140fe.js +0 -1
  707. package/.next-prod/static/chunks/app/api/update-state/route-b3c86dd8f06140fe.js +0 -1
  708. package/.next-prod/static/chunks/app/api/version/route-b3c86dd8f06140fe.js +0 -1
  709. package/.next-prod/static/chunks/app/apps/[...path]/route-b3c86dd8f06140fe.js +0 -1
  710. package/.next-prod/static/chunks/app/manifest.webmanifest/route-b3c86dd8f06140fe.js +0 -1
  711. package/.next-prod/static/chunks/app/page-a69072e6dbd4a059.js +0 -1
  712. package/.next-prod/static/chunks/app/project/page-a69072e6dbd4a059.js +0 -1
  713. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b3c86dd8f06140fe.js +0 -1
  714. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b3c86dd8f06140fe.js +0 -1
  715. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b3c86dd8f06140fe.js +0 -1
  716. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b3c86dd8f06140fe.js +0 -1
  717. package/.next-prod/static/css/2abfec9d3e93011f.css +0 -1
  718. package/skills/ap/SKILL.md +0 -18
  719. /package/.next-prod/static/{I8gbcTQRiRdMF09goE7WI → _195_hPNVuma2vZS7bpTW}/_ssgManifest.js +0 -0
@@ -31894,11 +31894,51 @@ var SessionCleanupLive = Layer_exports.scoped(
31894
31894
  })
31895
31895
  );
31896
31896
 
31897
+ // packages/feature/agent/src/effect/goNotesCleanupLive.ts
31898
+ import { readdir as readdir3, rm as rm3, stat as stat3 } from "fs/promises";
31899
+ import { join as join7 } from "path";
31900
+ var KEEP_DAYS = 30;
31901
+ var DAY_MS2 = 24 * 3600 * 1e3;
31902
+ var fsTry3 = (op, fn2) => Effect_exports.tryPromise({
31903
+ try: fn2,
31904
+ catch: (cause3) => new AppError({ message: `go-notes cleanup fs ${op} failed`, cause: cause3 })
31905
+ });
31906
+ var goNotesDir = (cockpitDir) => join7(cockpitDir, "skills", "go", "notes");
31907
+ var cleanupGoNotes = (notesDir, keepDays, now = Date.now()) => Effect_exports.gen(function* () {
31908
+ const cutoff = now - keepDays * DAY_MS2;
31909
+ const files = yield* fsTry3("readdir", () => readdir3(notesDir)).pipe(
31910
+ Effect_exports.orElseSucceed(() => [])
31911
+ );
31912
+ for (const name of files) {
31913
+ if (!name.endsWith(".md")) continue;
31914
+ const file2 = join7(notesDir, name);
31915
+ const mtime = yield* fsTry3("stat", () => stat3(file2).then((s) => s.mtimeMs)).pipe(
31916
+ Effect_exports.orElseSucceed(() => Number.POSITIVE_INFINITY)
31917
+ // stat fail -> keep
31918
+ );
31919
+ if (mtime >= cutoff) continue;
31920
+ yield* fsTry3("rm", () => rm3(file2, { force: true })).pipe(Effect_exports.orElseSucceed(() => void 0));
31921
+ yield* Effect_exports.logInfo(`go-notes cleanup: removed ${name} (older than ${keepDays}d)`);
31922
+ }
31923
+ }).pipe(Effect_exports.withSpan("goNotes.cleanup"));
31924
+ var GoNotesCleanupService = Context_exports.GenericTag(
31925
+ "@cockpit/GoNotesCleanupService"
31926
+ );
31927
+ var GoNotesCleanupLive = Layer_exports.scoped(
31928
+ GoNotesCleanupService,
31929
+ Effect_exports.gen(function* () {
31930
+ const cfg = yield* CockpitConfig;
31931
+ const cleanup = Effect_exports.suspend(() => cleanupGoNotes(goNotesDir(cfg.cockpitDir), KEEP_DAYS));
31932
+ yield* Effect_exports.forkScoped(cleanup.pipe(Effect_exports.repeat(Schedule_exports.spaced("24 hours"))));
31933
+ return GoNotesCleanupService.of({ cleanup });
31934
+ })
31935
+ );
31936
+
31897
31937
  // packages/feature/agent/src/effect/sessionSearchLive.ts
31898
31938
  import { execFile as execFile2 } from "child_process";
31899
31939
  import { randomUUID } from "crypto";
31900
- import { mkdir as mkdir3, open, readdir as readdir3, readFile as readFile4, rename as rename2, rm as rm3, stat as stat3, writeFile as writeFile3 } from "fs/promises";
31901
- import { dirname as dirname2, join as join7, resolve as resolve2 } from "path";
31940
+ import { mkdir as mkdir3, open, readdir as readdir4, readFile as readFile4, rename as rename2, rm as rm4, stat as stat4, writeFile as writeFile3 } from "fs/promises";
31941
+ import { dirname as dirname2, join as join8, resolve as resolve2 } from "path";
31902
31942
  import { rgPath } from "@vscode/ripgrep";
31903
31943
 
31904
31944
  // packages/shared/utils/src/sessionLink.ts
@@ -31909,6 +31949,7 @@ function buildSessionLink(cwd, sessionId) {
31909
31949
  // packages/feature/agent/src/server/api/session/transcriptParsers.ts
31910
31950
  import * as fs from "fs";
31911
31951
  import * as readline from "readline";
31952
+ import { Readable } from "stream";
31912
31953
 
31913
31954
  // packages/feature/agent/src/shared/transcriptTurns.ts
31914
31955
  function injectionKind(msg) {
@@ -32612,13 +32653,13 @@ function codexItemBubble(item) {
32612
32653
  }
32613
32654
 
32614
32655
  // packages/feature/agent/src/server/api/session/transcriptParsers.ts
32656
+ function openTranscriptLines(source) {
32657
+ const input = typeof source === "string" ? fs.createReadStream(source) : Readable.from([source.text]);
32658
+ return readline.createInterface({ input, crlfDelay: Infinity });
32659
+ }
32615
32660
  async function parseTranscriptFile(filePath, page = {}) {
32616
32661
  const { limit, beforeTurnIndex, fromTurnIndex } = page;
32617
- const fileStream = fs.createReadStream(filePath);
32618
- const rl = readline.createInterface({
32619
- input: fileStream,
32620
- crlfDelay: Infinity
32621
- });
32662
+ const rl = openTranscriptLines(filePath);
32622
32663
  const rawMessages = [];
32623
32664
  let aiTitle = "";
32624
32665
  let summary5 = "";
@@ -32870,8 +32911,7 @@ function convertToChatMessages(rawMessages) {
32870
32911
  return chatMessages;
32871
32912
  }
32872
32913
  async function parseCodexTranscriptFile(filePath) {
32873
- const fileStream = fs.createReadStream(filePath);
32874
- const rl = readline.createInterface({ input: fileStream, crlfDelay: Infinity });
32914
+ const rl = openTranscriptLines(filePath);
32875
32915
  const messages = [];
32876
32916
  let currentAssistant = null;
32877
32917
  let title = "Untitled Session";
@@ -33191,21 +33231,21 @@ var groupMatches = (matches, terms) => {
33191
33231
  }
33192
33232
  return byFile;
33193
33233
  };
33194
- var fsTry3 = (path5, op, fn2) => Effect_exports.tryPromise({ try: fn2, catch: (cause3) => new FSError({ path: path5, op, cause: cause3 }) });
33195
- var readJsonOr = (file2, fallback) => fsTry3(file2, "read", () => readFile4(file2, "utf8")).pipe(
33234
+ var fsTry4 = (path5, op, fn2) => Effect_exports.tryPromise({ try: fn2, catch: (cause3) => new FSError({ path: path5, op, cause: cause3 }) });
33235
+ var readJsonOr = (file2, fallback) => fsTry4(file2, "read", () => readFile4(file2, "utf8")).pipe(
33196
33236
  Effect_exports.flatMap((raw) => Effect_exports.try(() => JSON.parse(raw))),
33197
33237
  Effect_exports.orElseSucceed(() => fallback)
33198
33238
  );
33199
33239
  var readHead = (file2, bytes) => Effect_exports.acquireUseRelease(
33200
- fsTry3(file2, "read", () => open(file2, "r")),
33201
- (fh) => fsTry3(file2, "read", async () => {
33240
+ fsTry4(file2, "read", () => open(file2, "r")),
33241
+ (fh) => fsTry4(file2, "read", async () => {
33202
33242
  const buf = Buffer.alloc(bytes);
33203
33243
  const { bytesRead } = await fh.read(buf, 0, bytes, 0);
33204
33244
  return buf.subarray(0, bytesRead).toString("utf-8");
33205
33245
  }),
33206
33246
  (fh) => Effect_exports.tryPromise(() => fh.close()).pipe(Effect_exports.ignore)
33207
33247
  );
33208
- var nodeAtomicWriteOps = { mkdir: mkdir3, writeFile: writeFile3, rename: rename2, rm: rm3 };
33248
+ var nodeAtomicWriteOps = { mkdir: mkdir3, writeFile: writeFile3, rename: rename2, rm: rm4 };
33209
33249
  var writeAtomically = async (file2, text, ops = nodeAtomicWriteOps) => {
33210
33250
  await ops.mkdir(dirname2(file2), { recursive: true });
33211
33251
  const tmp = `${file2}.${randomUUID()}.tmp`;
@@ -33214,11 +33254,11 @@ var writeAtomically = async (file2, text, ops = nodeAtomicWriteOps) => {
33214
33254
  throw err;
33215
33255
  });
33216
33256
  };
33217
- var listSubdirs = (root) => fsTry3(root, "read", () => readdir3(root, { withFileTypes: true })).pipe(
33257
+ var listSubdirs = (root) => fsTry4(root, "read", () => readdir4(root, { withFileTypes: true })).pipe(
33218
33258
  Effect_exports.map((entries2) => entries2.filter((d) => d.isDirectory()).map((d) => d.name)),
33219
33259
  Effect_exports.orElseSucceed(() => [])
33220
33260
  );
33221
- var listTopLevelTranscripts = (dir) => fsTry3(dir, "read", () => readdir3(dir)).pipe(
33261
+ var listTopLevelTranscripts = (dir) => fsTry4(dir, "read", () => readdir4(dir)).pipe(
33222
33262
  Effect_exports.map((files) => files.filter((f) => f.endsWith(".jsonl") && !f.startsWith("agent-"))),
33223
33263
  Effect_exports.orElseSucceed(() => [])
33224
33264
  );
@@ -33226,11 +33266,11 @@ var listCorpusSources = Effect_exports.gen(function* () {
33226
33266
  const out = [];
33227
33267
  const fromShardedStore = (engine, root) => Effect_exports.gen(function* () {
33228
33268
  for (const encodedDir of yield* listSubdirs(root)) {
33229
- for (const file2 of yield* listTopLevelTranscripts(join7(root, encodedDir))) {
33269
+ for (const file2 of yield* listTopLevelTranscripts(join8(root, encodedDir))) {
33230
33270
  out.push({
33231
33271
  engine,
33232
33272
  sessionId: file2.slice(0, -".jsonl".length),
33233
- sourcePath: join7(root, encodedDir, file2),
33273
+ sourcePath: join8(root, encodedDir, file2),
33234
33274
  cwd: null,
33235
33275
  encodedDir
33236
33276
  });
@@ -33265,7 +33305,7 @@ var buildCwdLookup = (cockpitDir, knownCwds) => Effect_exports.gen(function* ()
33265
33305
  const add7 = (cwd) => {
33266
33306
  if (typeof cwd === "string" && cwd) lookup.set(encodePath(cwd), cwd);
33267
33307
  };
33268
- const projects = yield* readJsonOr(join7(cockpitDir, "projects.json"), {});
33308
+ const projects = yield* readJsonOr(join8(cockpitDir, "projects.json"), {});
33269
33309
  const state = yield* readJsonOr(GLOBAL_STATE_FILE, {});
33270
33310
  for (const p of projects.projects ?? []) add7(p.cwd);
33271
33311
  for (const s of state.sessions ?? []) add7(s.cwd);
@@ -33284,9 +33324,9 @@ var resolveCwd = (source, lookup) => Effect_exports.gen(function* () {
33284
33324
  }
33285
33325
  const known = knownCwd(source, lookup);
33286
33326
  if (known || !source.encodedDir) return known;
33287
- const claudeDir = join7(CLAUDE_PROJECTS_DIR, source.encodedDir);
33327
+ const claudeDir = join8(CLAUDE_PROJECTS_DIR, source.encodedDir);
33288
33328
  for (const file2 of yield* listTopLevelTranscripts(claudeDir)) {
33289
- const cwd = yield* firstCwdInTranscript(join7(claudeDir, file2));
33329
+ const cwd = yield* firstCwdInTranscript(join8(claudeDir, file2));
33290
33330
  if (cwd) {
33291
33331
  lookup.set(source.encodedDir, cwd);
33292
33332
  return cwd;
@@ -33304,8 +33344,8 @@ var extractText = (source, cwd, updatedAt) => Effect_exports.tryPromise({
33304
33344
  })
33305
33345
  );
33306
33346
  var syncImpl = (cockpitDir, corpusDir) => Effect_exports.gen(function* () {
33307
- const manifestFile = join7(corpusDir, "manifest.json");
33308
- yield* fsTry3(corpusDir, "mkdir", () => mkdir3(corpusDir, { recursive: true }));
33347
+ const manifestFile = join8(corpusDir, "manifest.json");
33348
+ yield* fsTry4(corpusDir, "mkdir", () => mkdir3(corpusDir, { recursive: true }));
33309
33349
  const previous2 = yield* readJsonOr(manifestFile, {});
33310
33350
  const sources = yield* listCorpusSources;
33311
33351
  const lookup = yield* buildCwdLookup(
@@ -33315,13 +33355,13 @@ var syncImpl = (cockpitDir, corpusDir) => Effect_exports.gen(function* () {
33315
33355
  const next4 = {};
33316
33356
  const planned = [];
33317
33357
  for (const source of sources) {
33318
- const st = yield* fsTry3(source.sourcePath, "stat", () => stat3(source.sourcePath)).pipe(Effect_exports.option);
33358
+ const st = yield* fsTry4(source.sourcePath, "stat", () => stat4(source.sourcePath)).pipe(Effect_exports.option);
33319
33359
  if (st._tag === "None") continue;
33320
33360
  const fingerprint = `${Math.floor(st.value.mtimeMs)}-${st.value.size}`;
33321
- const corpusPath = join7(corpusDir, source.engine, `${source.sessionId}.txt`);
33361
+ const corpusPath = join8(corpusDir, source.engine, `${source.sessionId}.txt`);
33322
33362
  const prev = previous2[source.sourcePath];
33323
33363
  const unchanged = prev !== void 0 && prev.fingerprint === fingerprint;
33324
- const corpusPresent = prev !== void 0 && (prev.corpusPath === "" || (yield* fsTry3(prev.corpusPath, "stat", () => stat3(prev.corpusPath)).pipe(Effect_exports.option))._tag === "Some");
33364
+ const corpusPresent = prev !== void 0 && (prev.corpusPath === "" || (yield* fsTry4(prev.corpusPath, "stat", () => stat4(prev.corpusPath)).pipe(Effect_exports.option))._tag === "Some");
33325
33365
  if (unchanged && corpusPresent) {
33326
33366
  const prevCwd = prev.cwd ?? null;
33327
33367
  const resolved = prevCwd === null ? yield* resolveCwd(source, lookup) : prevCwd;
@@ -33347,9 +33387,9 @@ var syncImpl = (cockpitDir, corpusDir) => Effect_exports.gen(function* () {
33347
33387
  return kept;
33348
33388
  }
33349
33389
  const text = extracted.right;
33350
- const written = text ? fsTry3(corpusPath, "write", () => writeAtomically(corpusPath, text)).pipe(
33390
+ const written = text ? fsTry4(corpusPath, "write", () => writeAtomically(corpusPath, text)).pipe(
33351
33391
  Effect_exports.as({ fingerprint, corpusPath, cwd })
33352
- ) : fsTry3(corpusPath, "rm", () => rm3(corpusPath, { force: true })).pipe(
33392
+ ) : fsTry4(corpusPath, "rm", () => rm4(corpusPath, { force: true })).pipe(
33353
33393
  Effect_exports.as({ fingerprint, corpusPath: "", cwd })
33354
33394
  );
33355
33395
  const entry = yield* written.pipe(
@@ -33372,11 +33412,11 @@ var syncImpl = (cockpitDir, corpusDir) => Effect_exports.gen(function* () {
33372
33412
  for (const [sourcePath, entry] of Object.entries(previous2)) {
33373
33413
  if (next4[sourcePath] !== void 0 || rebuilt.some(([p]) => p === sourcePath)) continue;
33374
33414
  if (entry.corpusPath) {
33375
- yield* fsTry3(entry.corpusPath, "rm", () => rm3(entry.corpusPath, { force: true })).pipe(Effect_exports.ignore);
33415
+ yield* fsTry4(entry.corpusPath, "rm", () => rm4(entry.corpusPath, { force: true })).pipe(Effect_exports.ignore);
33376
33416
  }
33377
33417
  removed++;
33378
33418
  }
33379
- yield* fsTry3(manifestFile, "write", () => writeAtomically(manifestFile, JSON.stringify(next4)));
33419
+ yield* fsTry4(manifestFile, "write", () => writeAtomically(manifestFile, JSON.stringify(next4)));
33380
33420
  return {
33381
33421
  sources: sources.length,
33382
33422
  indexed: Object.values(next4).filter((e) => e.corpusPath).length,
@@ -33437,7 +33477,7 @@ var SessionSearchServiceLive = Layer_exports.effect(
33437
33477
  SessionSearchService,
33438
33478
  Effect_exports.gen(function* () {
33439
33479
  const cfg = yield* CockpitConfig;
33440
- const corpusDir = join7(cfg.cockpitDir, "search-corpus");
33480
+ const corpusDir = join8(cfg.cockpitDir, "search-corpus");
33441
33481
  const corpusLock = yield* Effect_exports.makeSemaphore(CORPUS_LOCK_PERMITS);
33442
33482
  return SessionSearchService.of({
33443
33483
  sync: corpusLock.withPermits(CORPUS_LOCK_PERMITS)(syncImpl(cfg.cockpitDir, corpusDir)).pipe(Effect_exports.withSpan("sessionSearch.sync")),
@@ -33447,7 +33487,7 @@ var SessionSearchServiceLive = Layer_exports.effect(
33447
33487
  );
33448
33488
 
33449
33489
  // packages/feature/agent/src/effect/delegationLive.ts
33450
- import { open as open2, stat as stat5 } from "fs/promises";
33490
+ import { open as open2, stat as stat6 } from "fs/promises";
33451
33491
  import { basename as basename4, isAbsolute as isAbsolute3 } from "path";
33452
33492
  import { randomUUID as randomUUID4 } from "crypto";
33453
33493
 
@@ -33547,9 +33587,9 @@ async function runSdkLoop(ctx, buildOptions2) {
33547
33587
 
33548
33588
  // packages/feature/agent/src/server/engines/shared/noHistoryTranscript.ts
33549
33589
  import * as fs2 from "fs";
33550
- import { join as join8, basename as basename3 } from "path";
33590
+ import { join as join9, basename as basename3 } from "path";
33551
33591
  function noHistoryStashPath(sessionPath) {
33552
- return join8(sessionPath.replace(/\.jsonl$/, ""), "nohistory-backup.jsonl");
33592
+ return join9(sessionPath.replace(/\.jsonl$/, ""), "nohistory-backup.jsonl");
33553
33593
  }
33554
33594
  function readLines(filePath) {
33555
33595
  return fs2.readFileSync(filePath, "utf-8").split("\n").filter((line) => line.trim().length > 0);
@@ -33596,7 +33636,7 @@ function stashTranscript(sessionPath) {
33596
33636
  if (fs2.existsSync(stash)) {
33597
33637
  mergeStashedTranscript(sessionPath);
33598
33638
  }
33599
- fs2.mkdirSync(join8(stash, ".."), { recursive: true });
33639
+ fs2.mkdirSync(join9(stash, ".."), { recursive: true });
33600
33640
  fs2.renameSync(sessionPath, stash);
33601
33641
  return true;
33602
33642
  }
@@ -33613,13 +33653,15 @@ function mergeStashedTranscript(sessionPath) {
33613
33653
  replaceWithStash(stash, sessionPath);
33614
33654
  return "restored";
33615
33655
  }
33616
- const sessionId = basename3(sessionPath).replace(/\.jsonl$/, "");
33617
- const seam = tailUuid(history);
33618
- const merged = [...history, ...turn.map((line) => relinkAndRestamp(line, seam, sessionId))];
33619
- fs2.writeFileSync(sessionPath, merged.join("\n") + "\n", "utf-8");
33656
+ fs2.writeFileSync(sessionPath, spliceTurn(history, turn, sessionPath).join("\n") + "\n", "utf-8");
33620
33657
  fs2.unlinkSync(stash);
33621
33658
  return "merged";
33622
33659
  }
33660
+ function spliceTurn(history, turn, sessionPath) {
33661
+ const sessionId = basename3(sessionPath).replace(/\.jsonl$/, "");
33662
+ const seam = tailUuid(history);
33663
+ return [...history, ...turn.map((line) => relinkAndRestamp(line, seam, sessionId))];
33664
+ }
33623
33665
  function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33624
33666
  let repaired = 0;
33625
33667
  for (const root of roots3) {
@@ -33631,7 +33673,7 @@ function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33631
33673
  continue;
33632
33674
  }
33633
33675
  for (const project3 of projectDirs) {
33634
- const projectPath = join8(root, project3);
33676
+ const projectPath = join9(root, project3);
33635
33677
  let sessionDirs;
33636
33678
  try {
33637
33679
  sessionDirs = fs2.readdirSync(projectPath, { withFileTypes: true }).filter((e) => e.isDirectory()).map((e) => e.name);
@@ -33639,7 +33681,7 @@ function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33639
33681
  continue;
33640
33682
  }
33641
33683
  for (const sid of sessionDirs) {
33642
- const sessionPath = join8(projectPath, `${sid}.jsonl`);
33684
+ const sessionPath = join9(projectPath, `${sid}.jsonl`);
33643
33685
  try {
33644
33686
  if (mergeStashedTranscript(sessionPath) !== "none") repaired++;
33645
33687
  } catch {
@@ -33654,8 +33696,8 @@ function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33654
33696
  var PLAN_EDIT_TOOLS = /* @__PURE__ */ new Set(["Write", "Edit", "MultiEdit", "NotebookEdit"]);
33655
33697
  var isPlanFilePath = (p) => /(^|\/)\.claude\/plans\//.test(p);
33656
33698
  var CLAUDE_SDK_EFFORTS = /* @__PURE__ */ new Set(["low", "medium", "high", "xhigh", "max"]);
33657
- var CLAUDE_ULTRACODE_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8"]);
33658
- var CLAUDE_XHIGH_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8", "claude-sonnet-5"]);
33699
+ var CLAUDE_ULTRACODE_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8", "claude-sonnet-5-5"]);
33700
+ var CLAUDE_XHIGH_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8", "claude-sonnet-5-5", "claude-sonnet-5"]);
33659
33701
  function resolveClaudeModel(ctx) {
33660
33702
  const model = typeof ctx.params.model === "string" && ctx.params.model.trim() ? ctx.params.model.trim() : void 0;
33661
33703
  return model || void 0;
@@ -33880,12 +33922,12 @@ Accuracy:
33880
33922
 
33881
33923
  // packages/feature/agent/src/server/engines/builtinAgent/session.ts
33882
33924
  import { readFileSync as readFileSync3, existsSync as existsSync4, mkdirSync as mkdirSync3, appendFileSync } from "fs";
33883
- import { join as join9 } from "path";
33925
+ import { join as join10 } from "path";
33884
33926
  function getSessionDir(root, cwd) {
33885
- return join9(root, encodePath(cwd));
33927
+ return join10(root, encodePath(cwd));
33886
33928
  }
33887
33929
  function getSessionPath(root, cwd, sessionId) {
33888
- return join9(getSessionDir(root, cwd), `${sessionId}.jsonl`);
33930
+ return join10(getSessionDir(root, cwd), `${sessionId}.jsonl`);
33889
33931
  }
33890
33932
  function readSessionMessages(root, cwd, sessionId) {
33891
33933
  const path5 = getSessionPath(root, cwd, sessionId);
@@ -47803,8 +47845,8 @@ config2(en_default());
47803
47845
 
47804
47846
  // packages/feature/agent/src/server/engines/builtinAgent/tools.ts
47805
47847
  import { readFileSync as readFileSync4, writeFileSync as writeFileSync3 } from "fs";
47806
- import { writeFile as writeFile4, mkdir as mkdir4, readdir as readdir4, stat as stat4, unlink } from "fs/promises";
47807
- import { isAbsolute as isAbsolute2, join as join10 } from "path";
47848
+ import { writeFile as writeFile4, mkdir as mkdir4, readdir as readdir5, stat as stat5, unlink } from "fs/promises";
47849
+ import { isAbsolute as isAbsolute2, join as join11 } from "path";
47808
47850
  import { tmpdir } from "os";
47809
47851
  import { exec, execFile as execFile3 } from "child_process";
47810
47852
  import { promisify } from "util";
@@ -47812,19 +47854,19 @@ import fg from "fast-glob";
47812
47854
  import { rgPath as RG_PATH } from "@vscode/ripgrep";
47813
47855
  var execAsync = promisify(exec);
47814
47856
  var execFileAsync = promisify(execFile3);
47815
- var SPILL_DIR = join10(tmpdir(), "cockpit-tool-outputs");
47857
+ var SPILL_DIR = join11(tmpdir(), "cockpit-tool-outputs");
47816
47858
  var SPILL_MAX_FILES = 200;
47817
47859
  async function spillToFile(text, kind) {
47818
47860
  try {
47819
47861
  await mkdir4(SPILL_DIR, { recursive: true });
47820
47862
  try {
47821
- const entries2 = await readdir4(SPILL_DIR);
47863
+ const entries2 = await readdir5(SPILL_DIR);
47822
47864
  if (entries2.length >= SPILL_MAX_FILES) {
47823
47865
  const statted = await Promise.all(
47824
47866
  entries2.map(async (name) => {
47825
- const p = join10(SPILL_DIR, name);
47867
+ const p = join11(SPILL_DIR, name);
47826
47868
  try {
47827
- return { p, mtime: (await stat4(p)).mtimeMs };
47869
+ return { p, mtime: (await stat5(p)).mtimeMs };
47828
47870
  } catch {
47829
47871
  return null;
47830
47872
  }
@@ -47839,7 +47881,7 @@ async function spillToFile(text, kind) {
47839
47881
  }
47840
47882
  const stamp = Date.now().toString(36);
47841
47883
  const rand = Math.random().toString(36).slice(2, 8);
47842
- const file2 = join10(SPILL_DIR, `${kind}-${stamp}-${rand}.log`);
47884
+ const file2 = join11(SPILL_DIR, `${kind}-${stamp}-${rand}.log`);
47843
47885
  await writeFile4(file2, text, "utf-8");
47844
47886
  return file2;
47845
47887
  } catch {
@@ -48750,7 +48792,7 @@ import { StringDecoder } from "string_decoder";
48750
48792
 
48751
48793
  // packages/feature/agent/src/server/engines/codexAppServer/binary.ts
48752
48794
  import { statSync as statSync3 } from "fs";
48753
- import { join as join11, delimiter } from "path";
48795
+ import { join as join12, delimiter } from "path";
48754
48796
  var CODEX_NPM_NAME = "@openai/codex";
48755
48797
  var PLATFORM_PACKAGE_BY_TARGET = {
48756
48798
  "x86_64-unknown-linux-musl": "@openai/codex-linux-x64",
@@ -48790,8 +48832,8 @@ var isFile = (p) => {
48790
48832
  function platformPackageRoots(cockpitRoot, platformPackage) {
48791
48833
  const parts2 = platformPackage.split("/");
48792
48834
  return [
48793
- join11(cockpitRoot, "node_modules", ...parts2),
48794
- join11(cockpitRoot, "node_modules", CODEX_NPM_NAME, "node_modules", ...parts2)
48835
+ join12(cockpitRoot, "node_modules", ...parts2),
48836
+ join12(cockpitRoot, "node_modules", CODEX_NPM_NAME, "node_modules", ...parts2)
48795
48837
  ];
48796
48838
  }
48797
48839
  function resolveCodexBinary() {
@@ -48803,14 +48845,14 @@ function resolveCodexBinary() {
48803
48845
  const cockpitRoot = process.env.COCKPIT_ROOT || process.cwd();
48804
48846
  const binaryName = process.platform === "win32" ? "codex.exe" : "codex";
48805
48847
  for (const packageRootBase of platformPackageRoots(cockpitRoot, platformPackage)) {
48806
- const packageRoot = join11(packageRootBase, "vendor", triple);
48807
- const current2 = join11(packageRoot, "bin", binaryName);
48808
- if (isFile(current2) && isFile(join11(packageRoot, "codex-package.json"))) {
48809
- return { executablePath: current2, pathDirs: existingDirs(join11(packageRoot, "codex-path")) };
48848
+ const packageRoot = join12(packageRootBase, "vendor", triple);
48849
+ const current2 = join12(packageRoot, "bin", binaryName);
48850
+ if (isFile(current2) && isFile(join12(packageRoot, "codex-package.json"))) {
48851
+ return { executablePath: current2, pathDirs: existingDirs(join12(packageRoot, "codex-path")) };
48810
48852
  }
48811
- const legacy = join11(packageRoot, "codex", binaryName);
48853
+ const legacy = join12(packageRoot, "codex", binaryName);
48812
48854
  if (isFile(legacy)) {
48813
- return { executablePath: legacy, pathDirs: existingDirs(join11(packageRoot, "path")) };
48855
+ return { executablePath: legacy, pathDirs: existingDirs(join12(packageRoot, "path")) };
48814
48856
  }
48815
48857
  }
48816
48858
  throw new Error(
@@ -49191,12 +49233,12 @@ var CodexEventShim = class {
49191
49233
  import { randomUUID as randomUUID3 } from "crypto";
49192
49234
  import { writeFileSync as writeFileSync6, unlinkSync as unlinkSync4, mkdirSync as mkdirSync5, existsSync as existsSync6, statSync as statSync4, openSync as openSync2, readSync as readSync2, closeSync as closeSync2 } from "fs";
49193
49235
  import { StringDecoder as StringDecoder2 } from "string_decoder";
49194
- import { join as join13 } from "path";
49236
+ import { join as join14 } from "path";
49195
49237
  import { tmpdir as tmpdir2 } from "os";
49196
49238
 
49197
49239
  // packages/feature/agent/src/server/engines/shared/noHistoryRollout.ts
49198
49240
  import * as fs3 from "fs";
49199
- import { dirname as dirname3, join as join12 } from "path";
49241
+ import { dirname as dirname3, join as join13 } from "path";
49200
49242
  var STASH_SUFFIX = ".nohistory-backup";
49201
49243
  function codexNoHistoryStashPath(sessionPath) {
49202
49244
  return `${sessionPath}${STASH_SUFFIX}`;
@@ -49254,8 +49296,7 @@ function mergeStashedCodexRollout(sessionPath) {
49254
49296
  const stash = codexNoHistoryStashPath(sessionPath);
49255
49297
  if (!fs3.existsSync(stash)) return "none";
49256
49298
  const history = readLines3(stash);
49257
- const turn = fs3.existsSync(sessionPath) ? readLines3(sessionPath) : [];
49258
- const turnLines = turn[0] && isSessionMeta(turn[0]) ? turn.slice(1) : turn;
49299
+ const turnLines = withoutStubMeta(fs3.existsSync(sessionPath) ? readLines3(sessionPath) : []);
49259
49300
  if (turnLines.length === 0) {
49260
49301
  replaceWithStash2(stash, sessionPath);
49261
49302
  return "restored";
@@ -49268,6 +49309,9 @@ function mergeStashedCodexRollout(sessionPath) {
49268
49309
  fs3.unlinkSync(stash);
49269
49310
  return "merged";
49270
49311
  }
49312
+ function withoutStubMeta(turn) {
49313
+ return turn[0] && isSessionMeta(turn[0]) ? turn.slice(1) : turn;
49314
+ }
49271
49315
  function recoverStashedCodexRollouts(root = CODEX_SESSIONS_DIR) {
49272
49316
  if (!fs3.existsSync(root)) return 0;
49273
49317
  let repaired = 0;
@@ -49281,7 +49325,7 @@ function recoverStashedCodexRollouts(root = CODEX_SESSIONS_DIR) {
49281
49325
  continue;
49282
49326
  }
49283
49327
  for (const entry of entries2) {
49284
- const full = join12(dir, entry.name);
49328
+ const full = join13(dir, entry.name);
49285
49329
  if (entry.isDirectory()) {
49286
49330
  stack.push(full);
49287
49331
  } else if (entry.isFile() && full.endsWith(STASH_SUFFIX)) {
@@ -49400,11 +49444,11 @@ var MEDIA_EXT = {
49400
49444
  "image/gif": ".gif"
49401
49445
  };
49402
49446
  function writeImagesToTemp(images) {
49403
- const dir = join13(tmpdir2(), "cockpit-codex-images");
49447
+ const dir = join14(tmpdir2(), "cockpit-codex-images");
49404
49448
  if (!existsSync6(dir)) mkdirSync5(dir, { recursive: true });
49405
49449
  return images.map((img, i) => {
49406
49450
  const ext = MEDIA_EXT[img.media_type] || ".png";
49407
- const filePath = join13(dir, `img-${Date.now()}-${i}${ext}`);
49451
+ const filePath = join14(dir, `img-${Date.now()}-${i}${ext}`);
49408
49452
  writeFileSync6(filePath, Buffer.from(img.data, "base64"));
49409
49453
  return filePath;
49410
49454
  });
@@ -49979,11 +50023,11 @@ var SESSION_ID_TIMEOUT = Duration_exports.seconds(60);
49979
50023
  var TAIL_BYTES = 1024 * 1024;
49980
50024
  var str = (v) => typeof v === "string" && v.trim() ? v.trim() : void 0;
49981
50025
  var invalid = (field, reason) => new ValidationError({ field, reason });
49982
- var isDirectory2 = (p) => Effect_exports.tryPromise(() => stat5(p)).pipe(
50026
+ var isDirectory2 = (p) => Effect_exports.tryPromise(() => stat6(p)).pipe(
49983
50027
  Effect_exports.map((s) => s.isDirectory()),
49984
50028
  Effect_exports.orElseSucceed(() => false)
49985
50029
  );
49986
- var fileExists = (p) => Effect_exports.tryPromise(() => stat5(p)).pipe(
50030
+ var fileExists = (p) => Effect_exports.tryPromise(() => stat6(p)).pipe(
49987
50031
  Effect_exports.map((s) => s.isFile()),
49988
50032
  Effect_exports.orElseSucceed(() => false)
49989
50033
  );
@@ -50304,20 +50348,20 @@ import {
50304
50348
  statSync as statSync5,
50305
50349
  writeFileSync as writeFileSync7
50306
50350
  } from "fs";
50307
- import path2, { join as join14 } from "path";
50351
+ import path2, { join as join15 } from "path";
50308
50352
  var BUILTIN_BOT_ID_PREFIX = "builtin:";
50309
50353
  var isBuiltinBotId = (id3) => id3.startsWith(BUILTIN_BOT_ID_PREFIX);
50310
50354
  var builtinBotNameFromId = (id3) => isBuiltinBotId(id3) ? id3.slice(BUILTIN_BOT_ID_PREFIX.length) : "";
50311
- var builtinBotSeedDir = (name) => join14(BUILTIN_BOTS_SRC_DIR, name);
50312
- var builtinBotUserDir = (name) => join14(BOTS_DIR, name);
50355
+ var builtinBotSeedDir = (name) => join15(BUILTIN_BOTS_SRC_DIR, name);
50356
+ var builtinBotUserDir = (name) => join15(BOTS_DIR, name);
50313
50357
  var hasManifest = (dir) => {
50314
50358
  try {
50315
- return statSync5(join14(dir, BOT_MANIFEST_FILE)).isFile();
50359
+ return statSync5(join15(dir, BOT_MANIFEST_FILE)).isFile();
50316
50360
  } catch {
50317
50361
  return false;
50318
50362
  }
50319
50363
  };
50320
- var INSTALL_STATE_FILE = join14(BOTS_DIR, ".builtin-installs.json");
50364
+ var INSTALL_STATE_FILE = join15(BOTS_DIR, ".builtin-installs.json");
50321
50365
  var readInstallState = () => {
50322
50366
  try {
50323
50367
  const raw = JSON.parse(readFileSync7(INSTALL_STATE_FILE, "utf-8"));
@@ -50341,10 +50385,10 @@ var hashFile = (file2) => createHash2("sha256").update(readFileSync7(file2)).dig
50341
50385
  function fileHashes(dir) {
50342
50386
  const out = /* @__PURE__ */ new Map();
50343
50387
  const walk = (rel) => {
50344
- for (const entry of readdirSync4(join14(dir, rel), { withFileTypes: true })) {
50388
+ for (const entry of readdirSync4(join15(dir, rel), { withFileTypes: true })) {
50345
50389
  const child = rel ? `${rel}/${entry.name}` : entry.name;
50346
50390
  if (entry.isDirectory()) walk(child);
50347
- else if (entry.isFile()) out.set(child, hashFile(join14(dir, child)));
50391
+ else if (entry.isFile()) out.set(child, hashFile(join15(dir, child)));
50348
50392
  }
50349
50393
  };
50350
50394
  walk("");
@@ -50375,17 +50419,17 @@ function swapIn(staging, dest) {
50375
50419
  }
50376
50420
  }
50377
50421
  var stagingDir = (label) => {
50378
- const staging = join14(BOTS_DIR, `.${label}.installing-${process.pid}-${Date.now()}`);
50422
+ const staging = join15(BOTS_DIR, `.${label}.installing-${process.pid}-${Date.now()}`);
50379
50423
  mkdirSync6(BOTS_DIR, { recursive: true });
50380
50424
  rmSync(staging, { recursive: true, force: true });
50381
50425
  return staging;
50382
50426
  };
50383
50427
  function removeAndPrune(root, rel) {
50384
- rmSync(join14(root, rel), { force: true });
50428
+ rmSync(join15(root, rel), { force: true });
50385
50429
  for (let dir = path2.dirname(rel); dir && dir !== "."; dir = path2.dirname(dir)) {
50386
50430
  try {
50387
- if (readdirSync4(join14(root, dir)).length > 0) return;
50388
- rmdirSync(join14(root, dir));
50431
+ if (readdirSync4(join15(root, dir)).length > 0) return;
50432
+ rmdirSync(join15(root, dir));
50389
50433
  } catch {
50390
50434
  return;
50391
50435
  }
@@ -50424,8 +50468,8 @@ function refreshInstalled(name, dest, installed) {
50424
50468
  cpSync(dest, staging, { recursive: true });
50425
50469
  for (const rel of deletes) removeAndPrune(staging, rel);
50426
50470
  for (const rel of writes) {
50427
- mkdirSync6(join14(staging, path2.dirname(rel)), { recursive: true });
50428
- cpSync(join14(seed, rel), join14(staging, rel));
50471
+ mkdirSync6(join15(staging, path2.dirname(rel)), { recursive: true });
50472
+ cpSync(join15(seed, rel), join15(staging, rel));
50429
50473
  }
50430
50474
  swapIn(staging, dest);
50431
50475
  } catch (err) {
@@ -50455,14 +50499,14 @@ function syncBuiltinBot(name, state) {
50455
50499
  if (!record2?.files) return { dir: dest, changed: false };
50456
50500
  const seedHash = treeHash(fileHashes(seed));
50457
50501
  if (record2.seed === seedHash) return { dir: dest, changed: false };
50458
- if (existsSync8(join14(dest, ".locks", "write"))) return { dir: dest, changed: false };
50502
+ if (existsSync8(join15(dest, ".locks", "write"))) return { dir: dest, changed: false };
50459
50503
  state[name] = { seed: seedHash, files: refreshInstalled(name, dest, record2.files) };
50460
50504
  return { dir: dest, changed: true };
50461
50505
  }
50462
50506
  var messageOf2 = (cause3) => cause3 instanceof Error ? cause3.message : String(cause3);
50463
50507
  function parseManifestIn(dir) {
50464
50508
  try {
50465
- const content = readFileSync7(join14(dir, BOT_MANIFEST_FILE), "utf-8");
50509
+ const content = readFileSync7(join15(dir, BOT_MANIFEST_FILE), "utf-8");
50466
50510
  return { ok: true, ...parseBotDocument(path2, content, dir) };
50467
50511
  } catch (err) {
50468
50512
  return { ok: false, error: messageOf2(err) };
@@ -50648,6 +50692,8 @@ var AppLayer = Layer_exports.mergeAll(
50648
50692
  SnapshotServiceLive,
50649
50693
  // Ollama session transcript retention (daily sweep)
50650
50694
  SessionCleanupLive,
50695
+ // /go decision notes retention (daily sweep, 30 days)
50696
+ GoNotesCleanupLive,
50651
50697
  // Cross-project session search (/api/sessions/search)
50652
50698
  SessionSearchServiceLive,
50653
50699
  // Fire-and-forget sub-task sessions + session status (/api/sessions/delegate, /status)
@@ -50761,11 +50807,11 @@ function snapshotOnRunEvent(cwd, sessionKey, provider, event) {
50761
50807
 
50762
50808
  // packages/feature/agent/src/server/lib/slashCommands.ts
50763
50809
  import { mkdirSync as mkdirSync7, writeFileSync as writeFileSync8, readFileSync as readFileSync10 } from "fs";
50764
- import path4, { join as join16 } from "path";
50810
+ import path4, { join as join17 } from "path";
50765
50811
 
50766
50812
  // packages/feature/agent/src/server/lib/builtinSkills.ts
50767
50813
  import { readFileSync as readFileSync9, readdirSync as readdirSync5, statSync as statSync6 } from "fs";
50768
- import { join as join15 } from "path";
50814
+ import { join as join16 } from "path";
50769
50815
  function listBuiltinSkillNames() {
50770
50816
  let entries2;
50771
50817
  try {
@@ -50786,18 +50832,18 @@ function listBuiltinSkillNames() {
50786
50832
  }).sort();
50787
50833
  }
50788
50834
  function builtinSkillPath(name) {
50789
- return join15(BUILTIN_SKILLS_SRC_DIR, name, "SKILL.md");
50835
+ return join16(BUILTIN_SKILLS_SRC_DIR, name, "SKILL.md");
50790
50836
  }
50791
50837
  function listBuiltinSkillExtras(name) {
50792
50838
  try {
50793
- return readdirSync5(join15(BUILTIN_SKILLS_SRC_DIR, name), { withFileTypes: true }).filter((e) => e.isFile() && e.name.endsWith(".md") && e.name !== "SKILL.md").map((e) => e.name).sort();
50839
+ return readdirSync5(join16(BUILTIN_SKILLS_SRC_DIR, name), { withFileTypes: true }).filter((e) => e.isFile() && e.name.endsWith(".md") && e.name !== "SKILL.md").map((e) => e.name).sort();
50794
50840
  } catch {
50795
50841
  return [];
50796
50842
  }
50797
50843
  }
50798
50844
  function readBuiltinSkillExtra(name, file2) {
50799
50845
  try {
50800
- return readFileSync9(join15(BUILTIN_SKILLS_SRC_DIR, name, file2), "utf-8");
50846
+ return readFileSync9(join16(BUILTIN_SKILLS_SRC_DIR, name, file2), "utf-8");
50801
50847
  } catch {
50802
50848
  return null;
50803
50849
  }
@@ -50817,7 +50863,7 @@ function readFrontmatterField(text, field) {
50817
50863
  }
50818
50864
 
50819
50865
  // packages/feature/agent/src/server/lib/slashCommands.ts
50820
- var BUILTIN_SKILLS_OUT_DIR = join16(COCKPIT_DIR, "skills");
50866
+ var BUILTIN_SKILLS_OUT_DIR = join17(COCKPIT_DIR, "skills");
50821
50867
  function deriveBaseUrl() {
50822
50868
  const port3 = process.env.COCKPIT_PORT || process.env.PORT || "3457";
50823
50869
  return `http://localhost:${port3}`;
@@ -51005,16 +51051,16 @@ function readSkillName(path5) {
51005
51051
  }
51006
51052
  function writeBuiltinSkill(cmd, content, baseUrl) {
51007
51053
  try {
51008
- const dir = join16(BUILTIN_SKILLS_OUT_DIR, cmd);
51054
+ const dir = join17(BUILTIN_SKILLS_OUT_DIR, cmd);
51009
51055
  mkdirSync7(dir, { recursive: true });
51010
- const filePath = join16(dir, "SKILL.md");
51056
+ const filePath = join17(dir, "SKILL.md");
51011
51057
  writeFileSync8(filePath, content.endsWith("\n") ? content : `${content}
51012
51058
  `, "utf-8");
51013
51059
  for (const file2 of listBuiltinSkillExtras(cmd)) {
51014
51060
  const extra = readBuiltinSkillExtra(cmd, file2);
51015
51061
  if (extra === null) continue;
51016
51062
  try {
51017
- writeFileSync8(join16(dir, file2), substitute(extra, baseUrl), "utf-8");
51063
+ writeFileSync8(join17(dir, file2), substitute(extra, baseUrl), "utf-8");
51018
51064
  } catch (err) {
51019
51065
  console.error(`[skills] builtin "${cmd}": cannot write reference file ${file2}:`, err);
51020
51066
  }
@@ -51176,6 +51222,8 @@ export {
51176
51222
  ValidationError,
51177
51223
  NotFoundError,
51178
51224
  errorToStatus,
51225
+ COCKPIT_DIR,
51226
+ COCKPIT_PROJECTS_DIR,
51179
51227
  GLOBAL_STATE_FILE,
51180
51228
  SCHEDULED_TASKS_FILE,
51181
51229
  REVIEW_DIR,