@surething/cockpit 1.0.279 → 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 (708) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +4 -3
  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 +6 -0
  7. package/.next-prod/server/app/_global-error/page.js +1 -1
  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 -1
  107. package/.next-prod/server/app/api/fs/dirs/route.js.nft.json +1 -1
  108. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  109. package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
  110. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  111. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  112. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  113. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  114. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  115. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  116. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  117. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  118. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  119. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  120. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  121. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  122. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  123. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  124. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  125. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  126. package/.next-prod/server/app/api/git/status/route.js +1 -1
  127. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  128. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  129. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  130. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  131. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  132. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  133. package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
  134. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  135. package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
  136. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  137. package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
  138. package/.next-prod/server/app/api/global-state/route.js +2 -2
  139. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  140. package/.next-prod/server/app/api/health/route.js +1 -1
  141. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  142. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  143. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  144. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  145. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  146. package/.next-prod/server/app/api/instructions/config/route.js +1 -1
  147. package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
  148. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  149. package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
  150. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  151. package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
  152. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  153. package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
  154. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  155. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  156. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  157. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  158. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  159. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  160. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  161. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  162. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  163. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  164. package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
  165. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  166. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  167. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  168. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  169. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  170. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  171. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  172. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  173. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  174. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  175. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  176. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  177. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  178. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  179. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  180. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  181. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  182. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  183. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  184. package/.next-prod/server/app/api/note/route.js +1 -1
  185. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  186. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  187. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  188. package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
  189. package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -1
  190. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  191. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  192. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  193. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  194. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  195. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  196. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  197. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  198. package/.next-prod/server/app/api/output-styles/config/route.js +1 -1
  199. package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -1
  200. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  201. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  202. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  203. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  204. package/.next-prod/server/app/api/project-state/route.js +2 -2
  205. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  206. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  207. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  208. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  209. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  210. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  211. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  212. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  213. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  214. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  215. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  216. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  217. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  218. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  219. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  220. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  221. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  222. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  223. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  224. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  225. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  226. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  227. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  228. package/.next-prod/server/app/api/projects/route.js +1 -1
  229. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  230. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  231. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  232. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  233. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  234. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  235. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  236. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  237. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  238. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  239. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  240. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  241. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  242. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  243. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  244. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  245. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  246. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  247. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  248. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  249. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  250. package/.next-prod/server/app/api/restart/route.js +1 -1
  251. package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
  252. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  253. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  254. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  255. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  256. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  257. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  258. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  259. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  260. package/.next-prod/server/app/api/review/order/route.js +1 -1
  261. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  262. package/.next-prod/server/app/api/review/route.js +1 -1
  263. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  264. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  265. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  266. package/.next-prod/server/app/api/review/users/route.js +1 -1
  267. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  268. package/.next-prod/server/app/api/scheduled-tasks/route.js +1 -1
  269. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  270. package/.next-prod/server/app/api/services/config/route.js +1 -1
  271. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  272. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  273. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  274. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  275. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  276. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  277. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  278. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  279. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
  280. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  281. package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
  282. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  283. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  284. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  285. package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
  286. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  287. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  288. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  289. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  290. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  291. package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
  292. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  293. package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
  294. package/.next-prod/server/app/api/settings/route.js +1 -1
  295. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  296. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  297. package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
  298. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  299. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  300. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  301. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  302. package/.next-prod/server/app/api/skills/route.js +1 -1
  303. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  304. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  305. package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
  306. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  307. package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
  308. package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
  309. package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -1
  310. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  311. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  312. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  313. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  314. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  315. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  316. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  317. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  318. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  319. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  320. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  321. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  322. package/.next-prod/server/app/api/terminal/running/route.js +1 -0
  323. package/.next-prod/server/app/api/terminal/running/route.js.nft.json +1 -0
  324. package/.next-prod/server/app/api/terminal/running/route_client-reference-manifest.js +1 -0
  325. package/.next-prod/server/app/api/update/route.js +1 -1
  326. package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
  327. package/.next-prod/server/app/api/update-state/route.js +1 -1
  328. package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
  329. package/.next-prod/server/app/api/version/route.js +1 -1
  330. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  331. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  332. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  333. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  334. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  335. package/.next-prod/server/app/m/page.js +1 -1
  336. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  337. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  338. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  339. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  340. package/.next-prod/server/app/page.js +1 -1
  341. package/.next-prod/server/app/page.js.nft.json +1 -1
  342. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  343. package/.next-prod/server/app/project/page.js +1 -1
  344. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  345. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  346. package/.next-prod/server/app/review/[id]/page.js +1 -1
  347. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  348. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  349. package/.next-prod/server/app-paths-manifest.json +4 -3
  350. package/.next-prod/server/chunks/1863.js +1 -1
  351. package/.next-prod/server/chunks/2493.js +3 -3
  352. package/.next-prod/server/chunks/7438.js +15 -14
  353. package/.next-prod/server/chunks/7918.js +1 -0
  354. package/.next-prod/server/middleware-build-manifest.js +1 -1
  355. package/.next-prod/server/pages/404.html +2 -2
  356. package/.next-prod/server/pages/500.html +1 -1
  357. package/.next-prod/server/server-reference-manifest.json +1 -1
  358. package/.next-prod/static/_195_hPNVuma2vZS7bpTW/_buildManifest.js +1 -0
  359. package/.next-prod/static/chunks/81016-71999ca5bd6a6b2f.js +36 -0
  360. package/.next-prod/static/chunks/{95313-eb607273c688b022.js → 95313-af5cc33125d6c0ff.js} +3 -3
  361. package/.next-prod/static/chunks/99092-d9525c22b942b051.js +716 -0
  362. package/.next-prod/static/chunks/app/_global-error/page-4e18b53a1ed48d45.js +1 -0
  363. package/.next-prod/static/chunks/app/api/agent/test/route-4e18b53a1ed48d45.js +1 -0
  364. package/.next-prod/static/chunks/app/api/bash/route-4e18b53a1ed48d45.js +1 -0
  365. package/.next-prod/static/chunks/app/api/bots/[id]/route-4e18b53a1ed48d45.js +1 -0
  366. package/.next-prod/static/chunks/app/api/bots/route-4e18b53a1ed48d45.js +1 -0
  367. package/.next-prod/static/chunks/app/api/chat/codex/route-4e18b53a1ed48d45.js +1 -0
  368. package/.next-prod/static/chunks/app/api/chat/deepseek/route-4e18b53a1ed48d45.js +1 -0
  369. package/.next-prod/static/chunks/app/api/chat/glm/route-4e18b53a1ed48d45.js +1 -0
  370. package/.next-prod/static/chunks/app/api/chat/kimi/route-4e18b53a1ed48d45.js +1 -0
  371. package/.next-prod/static/chunks/app/api/chat/ollama/route-4e18b53a1ed48d45.js +1 -0
  372. package/.next-prod/static/chunks/app/api/chat/route-4e18b53a1ed48d45.js +1 -0
  373. package/.next-prod/static/chunks/app/api/chat/stop/route-4e18b53a1ed48d45.js +1 -0
  374. package/.next-prod/static/chunks/app/api/claude-stats/route-4e18b53a1ed48d45.js +1 -0
  375. package/.next-prod/static/chunks/app/api/commands/route-4e18b53a1ed48d45.js +1 -0
  376. package/.next-prod/static/chunks/app/api/comments/route-4e18b53a1ed48d45.js +1 -0
  377. package/.next-prod/static/chunks/app/api/db/columns/route-4e18b53a1ed48d45.js +1 -0
  378. package/.next-prod/static/chunks/app/api/db/connect/route-4e18b53a1ed48d45.js +1 -0
  379. package/.next-prod/static/chunks/app/api/db/disconnect/route-4e18b53a1ed48d45.js +1 -0
  380. package/.next-prod/static/chunks/app/api/db/export/route-4e18b53a1ed48d45.js +1 -0
  381. package/.next-prod/static/chunks/app/api/db/query/route-4e18b53a1ed48d45.js +1 -0
  382. package/.next-prod/static/chunks/app/api/db/schemas/route-4e18b53a1ed48d45.js +1 -0
  383. package/.next-prod/static/chunks/app/api/deepseek/balance/route-4e18b53a1ed48d45.js +1 -0
  384. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-4e18b53a1ed48d45.js +1 -0
  385. package/.next-prod/static/chunks/app/api/deepseek/models/route-4e18b53a1ed48d45.js +1 -0
  386. package/.next-prod/static/chunks/app/api/dev/spans/route-4e18b53a1ed48d45.js +1 -0
  387. package/.next-prod/static/chunks/app/api/extension/version/route-4e18b53a1ed48d45.js +1 -0
  388. package/.next-prod/static/chunks/app/api/file/route-4e18b53a1ed48d45.js +1 -0
  389. package/.next-prod/static/chunks/app/api/files/blame/route-4e18b53a1ed48d45.js +1 -0
  390. package/.next-prod/static/chunks/app/api/files/clipboard/route-4e18b53a1ed48d45.js +1 -0
  391. package/.next-prod/static/chunks/app/api/files/copy/route-4e18b53a1ed48d45.js +1 -0
  392. package/.next-prod/static/chunks/app/api/files/delete/route-4e18b53a1ed48d45.js +1 -0
  393. package/.next-prod/static/chunks/app/api/files/expanded/route-4e18b53a1ed48d45.js +1 -0
  394. package/.next-prod/static/chunks/app/api/files/index/route-4e18b53a1ed48d45.js +1 -0
  395. package/.next-prod/static/chunks/app/api/files/init/route-4e18b53a1ed48d45.js +1 -0
  396. package/.next-prod/static/chunks/app/api/files/paste/route-4e18b53a1ed48d45.js +1 -0
  397. package/.next-prod/static/chunks/app/api/files/read/route-4e18b53a1ed48d45.js +1 -0
  398. package/.next-prod/static/chunks/app/api/files/readdir/route-4e18b53a1ed48d45.js +1 -0
  399. package/.next-prod/static/chunks/app/api/files/recent/route-4e18b53a1ed48d45.js +1 -0
  400. package/.next-prod/static/chunks/app/api/files/save/route-4e18b53a1ed48d45.js +1 -0
  401. package/.next-prod/static/chunks/app/api/files/search/route-4e18b53a1ed48d45.js +1 -0
  402. package/.next-prod/static/chunks/app/api/files/stat/route-4e18b53a1ed48d45.js +1 -0
  403. package/.next-prod/static/chunks/app/api/files/text/route-4e18b53a1ed48d45.js +1 -0
  404. package/.next-prod/static/chunks/app/api/fs/dirs/route-4e18b53a1ed48d45.js +1 -0
  405. package/.next-prod/static/chunks/app/api/git/blob/route-4e18b53a1ed48d45.js +1 -0
  406. package/.next-prod/static/chunks/app/api/git/branch-diff/route-4e18b53a1ed48d45.js +1 -0
  407. package/.next-prod/static/chunks/app/api/git/branches/route-4e18b53a1ed48d45.js +1 -0
  408. package/.next-prod/static/chunks/app/api/git/commit-diff/route-4e18b53a1ed48d45.js +1 -0
  409. package/.next-prod/static/chunks/app/api/git/commits/route-4e18b53a1ed48d45.js +1 -0
  410. package/.next-prod/static/chunks/app/api/git/current-branch/route-4e18b53a1ed48d45.js +1 -0
  411. package/.next-prod/static/chunks/app/api/git/diff/route-4e18b53a1ed48d45.js +1 -0
  412. package/.next-prod/static/chunks/app/api/git/discard/route-4e18b53a1ed48d45.js +1 -0
  413. package/.next-prod/static/chunks/app/api/git/stage/route-4e18b53a1ed48d45.js +1 -0
  414. package/.next-prod/static/chunks/app/api/git/status/route-4e18b53a1ed48d45.js +1 -0
  415. package/.next-prod/static/chunks/app/api/git/unstage/route-4e18b53a1ed48d45.js +1 -0
  416. package/.next-prod/static/chunks/app/api/git/worktree/route-4e18b53a1ed48d45.js +1 -0
  417. package/.next-prod/static/chunks/app/api/glm/credentials/route-4e18b53a1ed48d45.js +1 -0
  418. package/.next-prod/static/chunks/app/api/glm/models/route-4e18b53a1ed48d45.js +1 -0
  419. package/.next-prod/static/chunks/app/api/glm/usage/route-4e18b53a1ed48d45.js +1 -0
  420. package/.next-prod/static/chunks/app/api/global-state/route-4e18b53a1ed48d45.js +1 -0
  421. package/.next-prod/static/chunks/app/api/health/route-4e18b53a1ed48d45.js +1 -0
  422. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-4e18b53a1ed48d45.js +1 -0
  423. package/.next-prod/static/chunks/app/api/html-apps/route-4e18b53a1ed48d45.js +1 -0
  424. package/.next-prod/static/chunks/app/api/instructions/config/route-4e18b53a1ed48d45.js +1 -0
  425. package/.next-prod/static/chunks/app/api/kimi/credentials/route-4e18b53a1ed48d45.js +1 -0
  426. package/.next-prod/static/chunks/app/api/kimi/models/route-4e18b53a1ed48d45.js +1 -0
  427. package/.next-prod/static/chunks/app/api/kimi/usage/route-4e18b53a1ed48d45.js +1 -0
  428. package/.next-prod/static/chunks/app/api/lsp/definition/route-4e18b53a1ed48d45.js +1 -0
  429. package/.next-prod/static/chunks/app/api/lsp/hover/route-4e18b53a1ed48d45.js +1 -0
  430. package/.next-prod/static/chunks/app/api/lsp/references/route-4e18b53a1ed48d45.js +1 -0
  431. package/.next-prod/static/chunks/app/api/lsp/status/route-4e18b53a1ed48d45.js +1 -0
  432. package/.next-prod/static/chunks/app/api/lsp/warmup/route-4e18b53a1ed48d45.js +1 -0
  433. package/.next-prod/static/chunks/app/api/mysql/columns/route-4e18b53a1ed48d45.js +1 -0
  434. package/.next-prod/static/chunks/app/api/mysql/connect/route-4e18b53a1ed48d45.js +1 -0
  435. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-4e18b53a1ed48d45.js +1 -0
  436. package/.next-prod/static/chunks/app/api/mysql/export/route-4e18b53a1ed48d45.js +1 -0
  437. package/.next-prod/static/chunks/app/api/mysql/query/route-4e18b53a1ed48d45.js +1 -0
  438. package/.next-prod/static/chunks/app/api/mysql/schemas/route-4e18b53a1ed48d45.js +1 -0
  439. package/.next-prod/static/chunks/app/api/neo4j/connect/route-4e18b53a1ed48d45.js +1 -0
  440. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-4e18b53a1ed48d45.js +1 -0
  441. package/.next-prod/static/chunks/app/api/neo4j/query/route-4e18b53a1ed48d45.js +1 -0
  442. package/.next-prod/static/chunks/app/api/neo4j/schema/route-4e18b53a1ed48d45.js +1 -0
  443. package/.next-prod/static/chunks/app/api/note/route-4e18b53a1ed48d45.js +1 -0
  444. package/.next-prod/static/chunks/app/api/ollama/config/route-4e18b53a1ed48d45.js +1 -0
  445. package/.next-prod/static/chunks/app/api/ollama/default-model/route-4e18b53a1ed48d45.js +1 -0
  446. package/.next-prod/static/chunks/app/api/ollama/models/route-4e18b53a1ed48d45.js +1 -0
  447. package/.next-prod/static/chunks/app/api/ollama/start/route-4e18b53a1ed48d45.js +1 -0
  448. package/.next-prod/static/chunks/app/api/open-cursor/route-4e18b53a1ed48d45.js +1 -0
  449. package/.next-prod/static/chunks/app/api/open-vscode/route-4e18b53a1ed48d45.js +1 -0
  450. package/.next-prod/static/chunks/app/api/output-styles/config/route-4e18b53a1ed48d45.js +1 -0
  451. package/.next-prod/static/chunks/app/api/pinned-sessions/route-4e18b53a1ed48d45.js +1 -0
  452. package/.next-prod/static/chunks/app/api/project-settings/route-4e18b53a1ed48d45.js +1 -0
  453. package/.next-prod/static/chunks/app/api/project-state/route-4e18b53a1ed48d45.js +1 -0
  454. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-4e18b53a1ed48d45.js +1 -0
  455. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-4e18b53a1ed48d45.js +1 -0
  456. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-4e18b53a1ed48d45.js +1 -0
  457. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-4e18b53a1ed48d45.js +1 -0
  458. package/.next-prod/static/chunks/app/api/projectGraph/context/route-4e18b53a1ed48d45.js +1 -0
  459. package/.next-prod/static/chunks/app/api/projectGraph/file/route-4e18b53a1ed48d45.js +1 -0
  460. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-4e18b53a1ed48d45.js +1 -0
  461. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-4e18b53a1ed48d45.js +1 -0
  462. package/.next-prod/static/chunks/app/api/projectGraph/related/route-4e18b53a1ed48d45.js +1 -0
  463. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-4e18b53a1ed48d45.js +1 -0
  464. package/.next-prod/static/chunks/app/api/projectGraph/search/route-4e18b53a1ed48d45.js +1 -0
  465. package/.next-prod/static/chunks/app/api/projects/route-4e18b53a1ed48d45.js +1 -0
  466. package/.next-prod/static/chunks/app/api/push/public-key/route-4e18b53a1ed48d45.js +1 -0
  467. package/.next-prod/static/chunks/app/api/push/subscribe/route-4e18b53a1ed48d45.js +1 -0
  468. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-4e18b53a1ed48d45.js +1 -0
  469. package/.next-prod/static/chunks/app/api/redis/command/route-4e18b53a1ed48d45.js +1 -0
  470. package/.next-prod/static/chunks/app/api/redis/connect/route-4e18b53a1ed48d45.js +1 -0
  471. package/.next-prod/static/chunks/app/api/redis/delete/route-4e18b53a1ed48d45.js +1 -0
  472. package/.next-prod/static/chunks/app/api/redis/disconnect/route-4e18b53a1ed48d45.js +1 -0
  473. package/.next-prod/static/chunks/app/api/redis/get/route-4e18b53a1ed48d45.js +1 -0
  474. package/.next-prod/static/chunks/app/api/redis/keys/route-4e18b53a1ed48d45.js +1 -0
  475. package/.next-prod/static/chunks/app/api/redis/set/route-4e18b53a1ed48d45.js +1 -0
  476. package/.next-prod/static/chunks/app/api/restart/route-4e18b53a1ed48d45.js +1 -0
  477. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-4e18b53a1ed48d45.js +1 -0
  478. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-4e18b53a1ed48d45.js +1 -0
  479. package/.next-prod/static/chunks/app/api/review/[id]/route-4e18b53a1ed48d45.js +1 -0
  480. package/.next-prod/static/chunks/app/api/review/identify/route-4e18b53a1ed48d45.js +1 -0
  481. package/.next-prod/static/chunks/app/api/review/order/route-4e18b53a1ed48d45.js +1 -0
  482. package/.next-prod/static/chunks/app/api/review/route-4e18b53a1ed48d45.js +1 -0
  483. package/.next-prod/static/chunks/app/api/review/share-info/route-4e18b53a1ed48d45.js +1 -0
  484. package/.next-prod/static/chunks/app/api/review/users/route-4e18b53a1ed48d45.js +1 -0
  485. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-4e18b53a1ed48d45.js +1 -0
  486. package/.next-prod/static/chunks/app/api/services/config/route-4e18b53a1ed48d45.js +1 -0
  487. package/.next-prod/static/chunks/app/api/services/scripts/route-4e18b53a1ed48d45.js +1 -0
  488. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-4e18b53a1ed48d45.js +1 -0
  489. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-4e18b53a1ed48d45.js +1 -0
  490. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-4e18b53a1ed48d45.js +1 -0
  491. package/.next-prod/static/chunks/app/api/session/user-messages/route-4e18b53a1ed48d45.js +1 -0
  492. package/.next-prod/static/chunks/app/api/session-by-path/route-4e18b53a1ed48d45.js +1 -0
  493. package/.next-prod/static/chunks/app/api/sessions/delegate/route-4e18b53a1ed48d45.js +1 -0
  494. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-4e18b53a1ed48d45.js +1 -0
  495. package/.next-prod/static/chunks/app/api/sessions/projects/route-4e18b53a1ed48d45.js +1 -0
  496. package/.next-prod/static/chunks/app/api/sessions/search/route-4e18b53a1ed48d45.js +1 -0
  497. package/.next-prod/static/chunks/app/api/sessions/status/route-4e18b53a1ed48d45.js +1 -0
  498. package/.next-prod/static/chunks/app/api/settings/route-4e18b53a1ed48d45.js +1 -0
  499. package/.next-prod/static/chunks/app/api/shutdown/route-4e18b53a1ed48d45.js +1 -0
  500. package/.next-prod/static/chunks/app/api/skills/[id]/route-4e18b53a1ed48d45.js +1 -0
  501. package/.next-prod/static/chunks/app/api/skills/content/route-4e18b53a1ed48d45.js +1 -0
  502. package/.next-prod/static/chunks/app/api/skills/route-4e18b53a1ed48d45.js +1 -0
  503. package/.next-prod/static/chunks/app/api/snapshots/blob/route-4e18b53a1ed48d45.js +1 -0
  504. package/.next-prod/static/chunks/app/api/snapshots/diff/route-4e18b53a1ed48d45.js +1 -0
  505. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-4e18b53a1ed48d45.js +1 -0
  506. package/.next-prod/static/chunks/app/api/snapshots/route-4e18b53a1ed48d45.js +1 -0
  507. package/.next-prod/static/chunks/app/api/terminal/aliases/route-4e18b53a1ed48d45.js +1 -0
  508. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-4e18b53a1ed48d45.js +1 -0
  509. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-4e18b53a1ed48d45.js +1 -0
  510. package/.next-prod/static/chunks/app/api/terminal/env/route-4e18b53a1ed48d45.js +1 -0
  511. package/.next-prod/static/chunks/app/api/terminal/history/route-4e18b53a1ed48d45.js +1 -0
  512. package/.next-prod/static/chunks/app/api/terminal/running/route-4e18b53a1ed48d45.js +1 -0
  513. package/.next-prod/static/chunks/app/api/update/route-4e18b53a1ed48d45.js +1 -0
  514. package/.next-prod/static/chunks/app/api/update-state/route-4e18b53a1ed48d45.js +1 -0
  515. package/.next-prod/static/chunks/app/api/version/route-4e18b53a1ed48d45.js +1 -0
  516. package/.next-prod/static/chunks/app/apps/[...path]/route-4e18b53a1ed48d45.js +1 -0
  517. package/.next-prod/static/chunks/app/{layout-3b48c268aef0cfe6.js → layout-0c3dcac0764d9e97.js} +1 -1
  518. package/.next-prod/static/chunks/app/manifest.webmanifest/route-4e18b53a1ed48d45.js +1 -0
  519. package/.next-prod/static/chunks/app/page-b472e7f948959009.js +1 -0
  520. package/.next-prod/static/chunks/app/project/page-b472e7f948959009.js +1 -0
  521. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-4e18b53a1ed48d45.js +1 -0
  522. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-4e18b53a1ed48d45.js +1 -0
  523. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-4e18b53a1ed48d45.js +1 -0
  524. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-4e18b53a1ed48d45.js +1 -0
  525. package/.next-prod/static/css/e70d0cefe04f0619.css +1 -0
  526. package/.next-prod/trace +15 -15
  527. package/.next-prod/trace-build +1 -1
  528. package/.next-prod/types/app/api/terminal/running/route.ts +353 -0
  529. package/.next-prod/types/routes.d.ts +2 -1
  530. package/.next-prod/types/validator.ts +9 -0
  531. package/dist/{chunk-XMGMMEZI.mjs → chunk-3LSLUAN6.mjs} +124 -82
  532. package/dist/{chunk-MXOJBOL4.mjs → chunk-N6CFCP2N.mjs} +104 -5
  533. package/dist/httpApi.mjs +2 -2
  534. package/dist/scheduledTasks.mjs +41 -5
  535. package/dist/wsServer.mjs +13 -76
  536. package/package.json +3 -3
  537. package/skills/cr/SKILL.md +8 -4
  538. package/skills/ex/SKILL.md +39 -59
  539. package/skills/fx/SKILL.md +46 -4
  540. package/skills/go/SKILL.md +26 -87
  541. package/skills/qa/SKILL.md +46 -36
  542. package/.next-prod/static/4RnWG203k-Xg-suOhN3oL/_buildManifest.js +0 -1
  543. package/.next-prod/static/chunks/60875-cb1ee86d8213a09f.js +0 -35
  544. package/.next-prod/static/chunks/99092-ef15e925df84035b.js +0 -716
  545. package/.next-prod/static/chunks/app/_global-error/page-21b597461da15cd4.js +0 -1
  546. package/.next-prod/static/chunks/app/api/agent/test/route-21b597461da15cd4.js +0 -1
  547. package/.next-prod/static/chunks/app/api/bash/route-21b597461da15cd4.js +0 -1
  548. package/.next-prod/static/chunks/app/api/bots/[id]/route-21b597461da15cd4.js +0 -1
  549. package/.next-prod/static/chunks/app/api/bots/route-21b597461da15cd4.js +0 -1
  550. package/.next-prod/static/chunks/app/api/chat/codex/route-21b597461da15cd4.js +0 -1
  551. package/.next-prod/static/chunks/app/api/chat/deepseek/route-21b597461da15cd4.js +0 -1
  552. package/.next-prod/static/chunks/app/api/chat/glm/route-21b597461da15cd4.js +0 -1
  553. package/.next-prod/static/chunks/app/api/chat/kimi/route-21b597461da15cd4.js +0 -1
  554. package/.next-prod/static/chunks/app/api/chat/ollama/route-21b597461da15cd4.js +0 -1
  555. package/.next-prod/static/chunks/app/api/chat/route-21b597461da15cd4.js +0 -1
  556. package/.next-prod/static/chunks/app/api/chat/stop/route-21b597461da15cd4.js +0 -1
  557. package/.next-prod/static/chunks/app/api/claude-stats/route-21b597461da15cd4.js +0 -1
  558. package/.next-prod/static/chunks/app/api/commands/route-21b597461da15cd4.js +0 -1
  559. package/.next-prod/static/chunks/app/api/comments/route-21b597461da15cd4.js +0 -1
  560. package/.next-prod/static/chunks/app/api/db/columns/route-21b597461da15cd4.js +0 -1
  561. package/.next-prod/static/chunks/app/api/db/connect/route-21b597461da15cd4.js +0 -1
  562. package/.next-prod/static/chunks/app/api/db/disconnect/route-21b597461da15cd4.js +0 -1
  563. package/.next-prod/static/chunks/app/api/db/export/route-21b597461da15cd4.js +0 -1
  564. package/.next-prod/static/chunks/app/api/db/query/route-21b597461da15cd4.js +0 -1
  565. package/.next-prod/static/chunks/app/api/db/schemas/route-21b597461da15cd4.js +0 -1
  566. package/.next-prod/static/chunks/app/api/deepseek/balance/route-21b597461da15cd4.js +0 -1
  567. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-21b597461da15cd4.js +0 -1
  568. package/.next-prod/static/chunks/app/api/deepseek/models/route-21b597461da15cd4.js +0 -1
  569. package/.next-prod/static/chunks/app/api/dev/spans/route-21b597461da15cd4.js +0 -1
  570. package/.next-prod/static/chunks/app/api/extension/version/route-21b597461da15cd4.js +0 -1
  571. package/.next-prod/static/chunks/app/api/file/route-21b597461da15cd4.js +0 -1
  572. package/.next-prod/static/chunks/app/api/files/blame/route-21b597461da15cd4.js +0 -1
  573. package/.next-prod/static/chunks/app/api/files/clipboard/route-21b597461da15cd4.js +0 -1
  574. package/.next-prod/static/chunks/app/api/files/copy/route-21b597461da15cd4.js +0 -1
  575. package/.next-prod/static/chunks/app/api/files/delete/route-21b597461da15cd4.js +0 -1
  576. package/.next-prod/static/chunks/app/api/files/expanded/route-21b597461da15cd4.js +0 -1
  577. package/.next-prod/static/chunks/app/api/files/index/route-21b597461da15cd4.js +0 -1
  578. package/.next-prod/static/chunks/app/api/files/init/route-21b597461da15cd4.js +0 -1
  579. package/.next-prod/static/chunks/app/api/files/paste/route-21b597461da15cd4.js +0 -1
  580. package/.next-prod/static/chunks/app/api/files/read/route-21b597461da15cd4.js +0 -1
  581. package/.next-prod/static/chunks/app/api/files/readdir/route-21b597461da15cd4.js +0 -1
  582. package/.next-prod/static/chunks/app/api/files/recent/route-21b597461da15cd4.js +0 -1
  583. package/.next-prod/static/chunks/app/api/files/save/route-21b597461da15cd4.js +0 -1
  584. package/.next-prod/static/chunks/app/api/files/search/route-21b597461da15cd4.js +0 -1
  585. package/.next-prod/static/chunks/app/api/files/stat/route-21b597461da15cd4.js +0 -1
  586. package/.next-prod/static/chunks/app/api/files/text/route-21b597461da15cd4.js +0 -1
  587. package/.next-prod/static/chunks/app/api/fs/dirs/route-21b597461da15cd4.js +0 -1
  588. package/.next-prod/static/chunks/app/api/git/blob/route-21b597461da15cd4.js +0 -1
  589. package/.next-prod/static/chunks/app/api/git/branch-diff/route-21b597461da15cd4.js +0 -1
  590. package/.next-prod/static/chunks/app/api/git/branches/route-21b597461da15cd4.js +0 -1
  591. package/.next-prod/static/chunks/app/api/git/commit-diff/route-21b597461da15cd4.js +0 -1
  592. package/.next-prod/static/chunks/app/api/git/commits/route-21b597461da15cd4.js +0 -1
  593. package/.next-prod/static/chunks/app/api/git/current-branch/route-21b597461da15cd4.js +0 -1
  594. package/.next-prod/static/chunks/app/api/git/diff/route-21b597461da15cd4.js +0 -1
  595. package/.next-prod/static/chunks/app/api/git/discard/route-21b597461da15cd4.js +0 -1
  596. package/.next-prod/static/chunks/app/api/git/stage/route-21b597461da15cd4.js +0 -1
  597. package/.next-prod/static/chunks/app/api/git/status/route-21b597461da15cd4.js +0 -1
  598. package/.next-prod/static/chunks/app/api/git/unstage/route-21b597461da15cd4.js +0 -1
  599. package/.next-prod/static/chunks/app/api/git/worktree/route-21b597461da15cd4.js +0 -1
  600. package/.next-prod/static/chunks/app/api/glm/credentials/route-21b597461da15cd4.js +0 -1
  601. package/.next-prod/static/chunks/app/api/glm/models/route-21b597461da15cd4.js +0 -1
  602. package/.next-prod/static/chunks/app/api/glm/usage/route-21b597461da15cd4.js +0 -1
  603. package/.next-prod/static/chunks/app/api/global-state/route-21b597461da15cd4.js +0 -1
  604. package/.next-prod/static/chunks/app/api/health/route-21b597461da15cd4.js +0 -1
  605. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-21b597461da15cd4.js +0 -1
  606. package/.next-prod/static/chunks/app/api/html-apps/route-21b597461da15cd4.js +0 -1
  607. package/.next-prod/static/chunks/app/api/instructions/config/route-21b597461da15cd4.js +0 -1
  608. package/.next-prod/static/chunks/app/api/kimi/credentials/route-21b597461da15cd4.js +0 -1
  609. package/.next-prod/static/chunks/app/api/kimi/models/route-21b597461da15cd4.js +0 -1
  610. package/.next-prod/static/chunks/app/api/kimi/usage/route-21b597461da15cd4.js +0 -1
  611. package/.next-prod/static/chunks/app/api/lsp/definition/route-21b597461da15cd4.js +0 -1
  612. package/.next-prod/static/chunks/app/api/lsp/hover/route-21b597461da15cd4.js +0 -1
  613. package/.next-prod/static/chunks/app/api/lsp/references/route-21b597461da15cd4.js +0 -1
  614. package/.next-prod/static/chunks/app/api/lsp/status/route-21b597461da15cd4.js +0 -1
  615. package/.next-prod/static/chunks/app/api/lsp/warmup/route-21b597461da15cd4.js +0 -1
  616. package/.next-prod/static/chunks/app/api/mysql/columns/route-21b597461da15cd4.js +0 -1
  617. package/.next-prod/static/chunks/app/api/mysql/connect/route-21b597461da15cd4.js +0 -1
  618. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-21b597461da15cd4.js +0 -1
  619. package/.next-prod/static/chunks/app/api/mysql/export/route-21b597461da15cd4.js +0 -1
  620. package/.next-prod/static/chunks/app/api/mysql/query/route-21b597461da15cd4.js +0 -1
  621. package/.next-prod/static/chunks/app/api/mysql/schemas/route-21b597461da15cd4.js +0 -1
  622. package/.next-prod/static/chunks/app/api/neo4j/connect/route-21b597461da15cd4.js +0 -1
  623. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-21b597461da15cd4.js +0 -1
  624. package/.next-prod/static/chunks/app/api/neo4j/query/route-21b597461da15cd4.js +0 -1
  625. package/.next-prod/static/chunks/app/api/neo4j/schema/route-21b597461da15cd4.js +0 -1
  626. package/.next-prod/static/chunks/app/api/note/route-21b597461da15cd4.js +0 -1
  627. package/.next-prod/static/chunks/app/api/ollama/config/route-21b597461da15cd4.js +0 -1
  628. package/.next-prod/static/chunks/app/api/ollama/default-model/route-21b597461da15cd4.js +0 -1
  629. package/.next-prod/static/chunks/app/api/ollama/models/route-21b597461da15cd4.js +0 -1
  630. package/.next-prod/static/chunks/app/api/ollama/start/route-21b597461da15cd4.js +0 -1
  631. package/.next-prod/static/chunks/app/api/open-cursor/route-21b597461da15cd4.js +0 -1
  632. package/.next-prod/static/chunks/app/api/open-vscode/route-21b597461da15cd4.js +0 -1
  633. package/.next-prod/static/chunks/app/api/output-styles/config/route-21b597461da15cd4.js +0 -1
  634. package/.next-prod/static/chunks/app/api/pinned-sessions/route-21b597461da15cd4.js +0 -1
  635. package/.next-prod/static/chunks/app/api/project-settings/route-21b597461da15cd4.js +0 -1
  636. package/.next-prod/static/chunks/app/api/project-state/route-21b597461da15cd4.js +0 -1
  637. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-21b597461da15cd4.js +0 -1
  638. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-21b597461da15cd4.js +0 -1
  639. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-21b597461da15cd4.js +0 -1
  640. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-21b597461da15cd4.js +0 -1
  641. package/.next-prod/static/chunks/app/api/projectGraph/context/route-21b597461da15cd4.js +0 -1
  642. package/.next-prod/static/chunks/app/api/projectGraph/file/route-21b597461da15cd4.js +0 -1
  643. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-21b597461da15cd4.js +0 -1
  644. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-21b597461da15cd4.js +0 -1
  645. package/.next-prod/static/chunks/app/api/projectGraph/related/route-21b597461da15cd4.js +0 -1
  646. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-21b597461da15cd4.js +0 -1
  647. package/.next-prod/static/chunks/app/api/projectGraph/search/route-21b597461da15cd4.js +0 -1
  648. package/.next-prod/static/chunks/app/api/projects/route-21b597461da15cd4.js +0 -1
  649. package/.next-prod/static/chunks/app/api/push/public-key/route-21b597461da15cd4.js +0 -1
  650. package/.next-prod/static/chunks/app/api/push/subscribe/route-21b597461da15cd4.js +0 -1
  651. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-21b597461da15cd4.js +0 -1
  652. package/.next-prod/static/chunks/app/api/redis/command/route-21b597461da15cd4.js +0 -1
  653. package/.next-prod/static/chunks/app/api/redis/connect/route-21b597461da15cd4.js +0 -1
  654. package/.next-prod/static/chunks/app/api/redis/delete/route-21b597461da15cd4.js +0 -1
  655. package/.next-prod/static/chunks/app/api/redis/disconnect/route-21b597461da15cd4.js +0 -1
  656. package/.next-prod/static/chunks/app/api/redis/get/route-21b597461da15cd4.js +0 -1
  657. package/.next-prod/static/chunks/app/api/redis/keys/route-21b597461da15cd4.js +0 -1
  658. package/.next-prod/static/chunks/app/api/redis/set/route-21b597461da15cd4.js +0 -1
  659. package/.next-prod/static/chunks/app/api/restart/route-21b597461da15cd4.js +0 -1
  660. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-21b597461da15cd4.js +0 -1
  661. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-21b597461da15cd4.js +0 -1
  662. package/.next-prod/static/chunks/app/api/review/[id]/route-21b597461da15cd4.js +0 -1
  663. package/.next-prod/static/chunks/app/api/review/identify/route-21b597461da15cd4.js +0 -1
  664. package/.next-prod/static/chunks/app/api/review/order/route-21b597461da15cd4.js +0 -1
  665. package/.next-prod/static/chunks/app/api/review/route-21b597461da15cd4.js +0 -1
  666. package/.next-prod/static/chunks/app/api/review/share-info/route-21b597461da15cd4.js +0 -1
  667. package/.next-prod/static/chunks/app/api/review/users/route-21b597461da15cd4.js +0 -1
  668. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-21b597461da15cd4.js +0 -1
  669. package/.next-prod/static/chunks/app/api/services/config/route-21b597461da15cd4.js +0 -1
  670. package/.next-prod/static/chunks/app/api/services/scripts/route-21b597461da15cd4.js +0 -1
  671. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-21b597461da15cd4.js +0 -1
  672. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-21b597461da15cd4.js +0 -1
  673. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-21b597461da15cd4.js +0 -1
  674. package/.next-prod/static/chunks/app/api/session/user-messages/route-21b597461da15cd4.js +0 -1
  675. package/.next-prod/static/chunks/app/api/session-by-path/route-21b597461da15cd4.js +0 -1
  676. package/.next-prod/static/chunks/app/api/sessions/delegate/route-21b597461da15cd4.js +0 -1
  677. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-21b597461da15cd4.js +0 -1
  678. package/.next-prod/static/chunks/app/api/sessions/projects/route-21b597461da15cd4.js +0 -1
  679. package/.next-prod/static/chunks/app/api/sessions/search/route-21b597461da15cd4.js +0 -1
  680. package/.next-prod/static/chunks/app/api/sessions/status/route-21b597461da15cd4.js +0 -1
  681. package/.next-prod/static/chunks/app/api/settings/route-21b597461da15cd4.js +0 -1
  682. package/.next-prod/static/chunks/app/api/shutdown/route-21b597461da15cd4.js +0 -1
  683. package/.next-prod/static/chunks/app/api/skills/[id]/route-21b597461da15cd4.js +0 -1
  684. package/.next-prod/static/chunks/app/api/skills/content/route-21b597461da15cd4.js +0 -1
  685. package/.next-prod/static/chunks/app/api/skills/route-21b597461da15cd4.js +0 -1
  686. package/.next-prod/static/chunks/app/api/snapshots/blob/route-21b597461da15cd4.js +0 -1
  687. package/.next-prod/static/chunks/app/api/snapshots/diff/route-21b597461da15cd4.js +0 -1
  688. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-21b597461da15cd4.js +0 -1
  689. package/.next-prod/static/chunks/app/api/snapshots/route-21b597461da15cd4.js +0 -1
  690. package/.next-prod/static/chunks/app/api/terminal/aliases/route-21b597461da15cd4.js +0 -1
  691. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-21b597461da15cd4.js +0 -1
  692. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-21b597461da15cd4.js +0 -1
  693. package/.next-prod/static/chunks/app/api/terminal/env/route-21b597461da15cd4.js +0 -1
  694. package/.next-prod/static/chunks/app/api/terminal/history/route-21b597461da15cd4.js +0 -1
  695. package/.next-prod/static/chunks/app/api/update/route-21b597461da15cd4.js +0 -1
  696. package/.next-prod/static/chunks/app/api/update-state/route-21b597461da15cd4.js +0 -1
  697. package/.next-prod/static/chunks/app/api/version/route-21b597461da15cd4.js +0 -1
  698. package/.next-prod/static/chunks/app/apps/[...path]/route-21b597461da15cd4.js +0 -1
  699. package/.next-prod/static/chunks/app/manifest.webmanifest/route-21b597461da15cd4.js +0 -1
  700. package/.next-prod/static/chunks/app/page-747c80a59d1bdd4c.js +0 -1
  701. package/.next-prod/static/chunks/app/project/page-747c80a59d1bdd4c.js +0 -1
  702. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-21b597461da15cd4.js +0 -1
  703. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-21b597461da15cd4.js +0 -1
  704. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-21b597461da15cd4.js +0 -1
  705. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-21b597461da15cd4.js +0 -1
  706. package/.next-prod/static/css/e7e2daa1e96529e6.css +0 -1
  707. package/skills/ap/SKILL.md +0 -18
  708. /package/.next-prod/static/{4RnWG203k-Xg-suOhN3oL → _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
@@ -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
  }
@@ -33633,7 +33673,7 @@ function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33633
33673
  continue;
33634
33674
  }
33635
33675
  for (const project3 of projectDirs) {
33636
- const projectPath = join8(root, project3);
33676
+ const projectPath = join9(root, project3);
33637
33677
  let sessionDirs;
33638
33678
  try {
33639
33679
  sessionDirs = fs2.readdirSync(projectPath, { withFileTypes: true }).filter((e) => e.isDirectory()).map((e) => e.name);
@@ -33641,7 +33681,7 @@ function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33641
33681
  continue;
33642
33682
  }
33643
33683
  for (const sid of sessionDirs) {
33644
- const sessionPath = join8(projectPath, `${sid}.jsonl`);
33684
+ const sessionPath = join9(projectPath, `${sid}.jsonl`);
33645
33685
  try {
33646
33686
  if (mergeStashedTranscript(sessionPath) !== "none") repaired++;
33647
33687
  } catch {
@@ -33656,8 +33696,8 @@ function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33656
33696
  var PLAN_EDIT_TOOLS = /* @__PURE__ */ new Set(["Write", "Edit", "MultiEdit", "NotebookEdit"]);
33657
33697
  var isPlanFilePath = (p) => /(^|\/)\.claude\/plans\//.test(p);
33658
33698
  var CLAUDE_SDK_EFFORTS = /* @__PURE__ */ new Set(["low", "medium", "high", "xhigh", "max"]);
33659
- 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"]);
33660
- 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"]);
33661
33701
  function resolveClaudeModel(ctx) {
33662
33702
  const model = typeof ctx.params.model === "string" && ctx.params.model.trim() ? ctx.params.model.trim() : void 0;
33663
33703
  return model || void 0;
@@ -33882,12 +33922,12 @@ Accuracy:
33882
33922
 
33883
33923
  // packages/feature/agent/src/server/engines/builtinAgent/session.ts
33884
33924
  import { readFileSync as readFileSync3, existsSync as existsSync4, mkdirSync as mkdirSync3, appendFileSync } from "fs";
33885
- import { join as join9 } from "path";
33925
+ import { join as join10 } from "path";
33886
33926
  function getSessionDir(root, cwd) {
33887
- return join9(root, encodePath(cwd));
33927
+ return join10(root, encodePath(cwd));
33888
33928
  }
33889
33929
  function getSessionPath(root, cwd, sessionId) {
33890
- return join9(getSessionDir(root, cwd), `${sessionId}.jsonl`);
33930
+ return join10(getSessionDir(root, cwd), `${sessionId}.jsonl`);
33891
33931
  }
33892
33932
  function readSessionMessages(root, cwd, sessionId) {
33893
33933
  const path5 = getSessionPath(root, cwd, sessionId);
@@ -47805,8 +47845,8 @@ config2(en_default());
47805
47845
 
47806
47846
  // packages/feature/agent/src/server/engines/builtinAgent/tools.ts
47807
47847
  import { readFileSync as readFileSync4, writeFileSync as writeFileSync3 } from "fs";
47808
- import { writeFile as writeFile4, mkdir as mkdir4, readdir as readdir4, stat as stat4, unlink } from "fs/promises";
47809
- 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";
47810
47850
  import { tmpdir } from "os";
47811
47851
  import { exec, execFile as execFile3 } from "child_process";
47812
47852
  import { promisify } from "util";
@@ -47814,19 +47854,19 @@ import fg from "fast-glob";
47814
47854
  import { rgPath as RG_PATH } from "@vscode/ripgrep";
47815
47855
  var execAsync = promisify(exec);
47816
47856
  var execFileAsync = promisify(execFile3);
47817
- var SPILL_DIR = join10(tmpdir(), "cockpit-tool-outputs");
47857
+ var SPILL_DIR = join11(tmpdir(), "cockpit-tool-outputs");
47818
47858
  var SPILL_MAX_FILES = 200;
47819
47859
  async function spillToFile(text, kind) {
47820
47860
  try {
47821
47861
  await mkdir4(SPILL_DIR, { recursive: true });
47822
47862
  try {
47823
- const entries2 = await readdir4(SPILL_DIR);
47863
+ const entries2 = await readdir5(SPILL_DIR);
47824
47864
  if (entries2.length >= SPILL_MAX_FILES) {
47825
47865
  const statted = await Promise.all(
47826
47866
  entries2.map(async (name) => {
47827
- const p = join10(SPILL_DIR, name);
47867
+ const p = join11(SPILL_DIR, name);
47828
47868
  try {
47829
- return { p, mtime: (await stat4(p)).mtimeMs };
47869
+ return { p, mtime: (await stat5(p)).mtimeMs };
47830
47870
  } catch {
47831
47871
  return null;
47832
47872
  }
@@ -47841,7 +47881,7 @@ async function spillToFile(text, kind) {
47841
47881
  }
47842
47882
  const stamp = Date.now().toString(36);
47843
47883
  const rand = Math.random().toString(36).slice(2, 8);
47844
- const file2 = join10(SPILL_DIR, `${kind}-${stamp}-${rand}.log`);
47884
+ const file2 = join11(SPILL_DIR, `${kind}-${stamp}-${rand}.log`);
47845
47885
  await writeFile4(file2, text, "utf-8");
47846
47886
  return file2;
47847
47887
  } catch {
@@ -48752,7 +48792,7 @@ import { StringDecoder } from "string_decoder";
48752
48792
 
48753
48793
  // packages/feature/agent/src/server/engines/codexAppServer/binary.ts
48754
48794
  import { statSync as statSync3 } from "fs";
48755
- import { join as join11, delimiter } from "path";
48795
+ import { join as join12, delimiter } from "path";
48756
48796
  var CODEX_NPM_NAME = "@openai/codex";
48757
48797
  var PLATFORM_PACKAGE_BY_TARGET = {
48758
48798
  "x86_64-unknown-linux-musl": "@openai/codex-linux-x64",
@@ -48792,8 +48832,8 @@ var isFile = (p) => {
48792
48832
  function platformPackageRoots(cockpitRoot, platformPackage) {
48793
48833
  const parts2 = platformPackage.split("/");
48794
48834
  return [
48795
- join11(cockpitRoot, "node_modules", ...parts2),
48796
- 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)
48797
48837
  ];
48798
48838
  }
48799
48839
  function resolveCodexBinary() {
@@ -48805,14 +48845,14 @@ function resolveCodexBinary() {
48805
48845
  const cockpitRoot = process.env.COCKPIT_ROOT || process.cwd();
48806
48846
  const binaryName = process.platform === "win32" ? "codex.exe" : "codex";
48807
48847
  for (const packageRootBase of platformPackageRoots(cockpitRoot, platformPackage)) {
48808
- const packageRoot = join11(packageRootBase, "vendor", triple);
48809
- const current2 = join11(packageRoot, "bin", binaryName);
48810
- if (isFile(current2) && isFile(join11(packageRoot, "codex-package.json"))) {
48811
- 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")) };
48812
48852
  }
48813
- const legacy = join11(packageRoot, "codex", binaryName);
48853
+ const legacy = join12(packageRoot, "codex", binaryName);
48814
48854
  if (isFile(legacy)) {
48815
- return { executablePath: legacy, pathDirs: existingDirs(join11(packageRoot, "path")) };
48855
+ return { executablePath: legacy, pathDirs: existingDirs(join12(packageRoot, "path")) };
48816
48856
  }
48817
48857
  }
48818
48858
  throw new Error(
@@ -49193,12 +49233,12 @@ var CodexEventShim = class {
49193
49233
  import { randomUUID as randomUUID3 } from "crypto";
49194
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";
49195
49235
  import { StringDecoder as StringDecoder2 } from "string_decoder";
49196
- import { join as join13 } from "path";
49236
+ import { join as join14 } from "path";
49197
49237
  import { tmpdir as tmpdir2 } from "os";
49198
49238
 
49199
49239
  // packages/feature/agent/src/server/engines/shared/noHistoryRollout.ts
49200
49240
  import * as fs3 from "fs";
49201
- import { dirname as dirname3, join as join12 } from "path";
49241
+ import { dirname as dirname3, join as join13 } from "path";
49202
49242
  var STASH_SUFFIX = ".nohistory-backup";
49203
49243
  function codexNoHistoryStashPath(sessionPath) {
49204
49244
  return `${sessionPath}${STASH_SUFFIX}`;
@@ -49285,7 +49325,7 @@ function recoverStashedCodexRollouts(root = CODEX_SESSIONS_DIR) {
49285
49325
  continue;
49286
49326
  }
49287
49327
  for (const entry of entries2) {
49288
- const full = join12(dir, entry.name);
49328
+ const full = join13(dir, entry.name);
49289
49329
  if (entry.isDirectory()) {
49290
49330
  stack.push(full);
49291
49331
  } else if (entry.isFile() && full.endsWith(STASH_SUFFIX)) {
@@ -49404,11 +49444,11 @@ var MEDIA_EXT = {
49404
49444
  "image/gif": ".gif"
49405
49445
  };
49406
49446
  function writeImagesToTemp(images) {
49407
- const dir = join13(tmpdir2(), "cockpit-codex-images");
49447
+ const dir = join14(tmpdir2(), "cockpit-codex-images");
49408
49448
  if (!existsSync6(dir)) mkdirSync5(dir, { recursive: true });
49409
49449
  return images.map((img, i) => {
49410
49450
  const ext = MEDIA_EXT[img.media_type] || ".png";
49411
- const filePath = join13(dir, `img-${Date.now()}-${i}${ext}`);
49451
+ const filePath = join14(dir, `img-${Date.now()}-${i}${ext}`);
49412
49452
  writeFileSync6(filePath, Buffer.from(img.data, "base64"));
49413
49453
  return filePath;
49414
49454
  });
@@ -49983,11 +50023,11 @@ var SESSION_ID_TIMEOUT = Duration_exports.seconds(60);
49983
50023
  var TAIL_BYTES = 1024 * 1024;
49984
50024
  var str = (v) => typeof v === "string" && v.trim() ? v.trim() : void 0;
49985
50025
  var invalid = (field, reason) => new ValidationError({ field, reason });
49986
- var isDirectory2 = (p) => Effect_exports.tryPromise(() => stat5(p)).pipe(
50026
+ var isDirectory2 = (p) => Effect_exports.tryPromise(() => stat6(p)).pipe(
49987
50027
  Effect_exports.map((s) => s.isDirectory()),
49988
50028
  Effect_exports.orElseSucceed(() => false)
49989
50029
  );
49990
- var fileExists = (p) => Effect_exports.tryPromise(() => stat5(p)).pipe(
50030
+ var fileExists = (p) => Effect_exports.tryPromise(() => stat6(p)).pipe(
49991
50031
  Effect_exports.map((s) => s.isFile()),
49992
50032
  Effect_exports.orElseSucceed(() => false)
49993
50033
  );
@@ -50308,20 +50348,20 @@ import {
50308
50348
  statSync as statSync5,
50309
50349
  writeFileSync as writeFileSync7
50310
50350
  } from "fs";
50311
- import path2, { join as join14 } from "path";
50351
+ import path2, { join as join15 } from "path";
50312
50352
  var BUILTIN_BOT_ID_PREFIX = "builtin:";
50313
50353
  var isBuiltinBotId = (id3) => id3.startsWith(BUILTIN_BOT_ID_PREFIX);
50314
50354
  var builtinBotNameFromId = (id3) => isBuiltinBotId(id3) ? id3.slice(BUILTIN_BOT_ID_PREFIX.length) : "";
50315
- var builtinBotSeedDir = (name) => join14(BUILTIN_BOTS_SRC_DIR, name);
50316
- 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);
50317
50357
  var hasManifest = (dir) => {
50318
50358
  try {
50319
- return statSync5(join14(dir, BOT_MANIFEST_FILE)).isFile();
50359
+ return statSync5(join15(dir, BOT_MANIFEST_FILE)).isFile();
50320
50360
  } catch {
50321
50361
  return false;
50322
50362
  }
50323
50363
  };
50324
- var INSTALL_STATE_FILE = join14(BOTS_DIR, ".builtin-installs.json");
50364
+ var INSTALL_STATE_FILE = join15(BOTS_DIR, ".builtin-installs.json");
50325
50365
  var readInstallState = () => {
50326
50366
  try {
50327
50367
  const raw = JSON.parse(readFileSync7(INSTALL_STATE_FILE, "utf-8"));
@@ -50345,10 +50385,10 @@ var hashFile = (file2) => createHash2("sha256").update(readFileSync7(file2)).dig
50345
50385
  function fileHashes(dir) {
50346
50386
  const out = /* @__PURE__ */ new Map();
50347
50387
  const walk = (rel) => {
50348
- for (const entry of readdirSync4(join14(dir, rel), { withFileTypes: true })) {
50388
+ for (const entry of readdirSync4(join15(dir, rel), { withFileTypes: true })) {
50349
50389
  const child = rel ? `${rel}/${entry.name}` : entry.name;
50350
50390
  if (entry.isDirectory()) walk(child);
50351
- else if (entry.isFile()) out.set(child, hashFile(join14(dir, child)));
50391
+ else if (entry.isFile()) out.set(child, hashFile(join15(dir, child)));
50352
50392
  }
50353
50393
  };
50354
50394
  walk("");
@@ -50379,17 +50419,17 @@ function swapIn(staging, dest) {
50379
50419
  }
50380
50420
  }
50381
50421
  var stagingDir = (label) => {
50382
- const staging = join14(BOTS_DIR, `.${label}.installing-${process.pid}-${Date.now()}`);
50422
+ const staging = join15(BOTS_DIR, `.${label}.installing-${process.pid}-${Date.now()}`);
50383
50423
  mkdirSync6(BOTS_DIR, { recursive: true });
50384
50424
  rmSync(staging, { recursive: true, force: true });
50385
50425
  return staging;
50386
50426
  };
50387
50427
  function removeAndPrune(root, rel) {
50388
- rmSync(join14(root, rel), { force: true });
50428
+ rmSync(join15(root, rel), { force: true });
50389
50429
  for (let dir = path2.dirname(rel); dir && dir !== "."; dir = path2.dirname(dir)) {
50390
50430
  try {
50391
- if (readdirSync4(join14(root, dir)).length > 0) return;
50392
- rmdirSync(join14(root, dir));
50431
+ if (readdirSync4(join15(root, dir)).length > 0) return;
50432
+ rmdirSync(join15(root, dir));
50393
50433
  } catch {
50394
50434
  return;
50395
50435
  }
@@ -50428,8 +50468,8 @@ function refreshInstalled(name, dest, installed) {
50428
50468
  cpSync(dest, staging, { recursive: true });
50429
50469
  for (const rel of deletes) removeAndPrune(staging, rel);
50430
50470
  for (const rel of writes) {
50431
- mkdirSync6(join14(staging, path2.dirname(rel)), { recursive: true });
50432
- cpSync(join14(seed, rel), join14(staging, rel));
50471
+ mkdirSync6(join15(staging, path2.dirname(rel)), { recursive: true });
50472
+ cpSync(join15(seed, rel), join15(staging, rel));
50433
50473
  }
50434
50474
  swapIn(staging, dest);
50435
50475
  } catch (err) {
@@ -50459,14 +50499,14 @@ function syncBuiltinBot(name, state) {
50459
50499
  if (!record2?.files) return { dir: dest, changed: false };
50460
50500
  const seedHash = treeHash(fileHashes(seed));
50461
50501
  if (record2.seed === seedHash) return { dir: dest, changed: false };
50462
- if (existsSync8(join14(dest, ".locks", "write"))) return { dir: dest, changed: false };
50502
+ if (existsSync8(join15(dest, ".locks", "write"))) return { dir: dest, changed: false };
50463
50503
  state[name] = { seed: seedHash, files: refreshInstalled(name, dest, record2.files) };
50464
50504
  return { dir: dest, changed: true };
50465
50505
  }
50466
50506
  var messageOf2 = (cause3) => cause3 instanceof Error ? cause3.message : String(cause3);
50467
50507
  function parseManifestIn(dir) {
50468
50508
  try {
50469
- const content = readFileSync7(join14(dir, BOT_MANIFEST_FILE), "utf-8");
50509
+ const content = readFileSync7(join15(dir, BOT_MANIFEST_FILE), "utf-8");
50470
50510
  return { ok: true, ...parseBotDocument(path2, content, dir) };
50471
50511
  } catch (err) {
50472
50512
  return { ok: false, error: messageOf2(err) };
@@ -50652,6 +50692,8 @@ var AppLayer = Layer_exports.mergeAll(
50652
50692
  SnapshotServiceLive,
50653
50693
  // Ollama session transcript retention (daily sweep)
50654
50694
  SessionCleanupLive,
50695
+ // /go decision notes retention (daily sweep, 30 days)
50696
+ GoNotesCleanupLive,
50655
50697
  // Cross-project session search (/api/sessions/search)
50656
50698
  SessionSearchServiceLive,
50657
50699
  // Fire-and-forget sub-task sessions + session status (/api/sessions/delegate, /status)
@@ -50765,11 +50807,11 @@ function snapshotOnRunEvent(cwd, sessionKey, provider, event) {
50765
50807
 
50766
50808
  // packages/feature/agent/src/server/lib/slashCommands.ts
50767
50809
  import { mkdirSync as mkdirSync7, writeFileSync as writeFileSync8, readFileSync as readFileSync10 } from "fs";
50768
- import path4, { join as join16 } from "path";
50810
+ import path4, { join as join17 } from "path";
50769
50811
 
50770
50812
  // packages/feature/agent/src/server/lib/builtinSkills.ts
50771
50813
  import { readFileSync as readFileSync9, readdirSync as readdirSync5, statSync as statSync6 } from "fs";
50772
- import { join as join15 } from "path";
50814
+ import { join as join16 } from "path";
50773
50815
  function listBuiltinSkillNames() {
50774
50816
  let entries2;
50775
50817
  try {
@@ -50790,18 +50832,18 @@ function listBuiltinSkillNames() {
50790
50832
  }).sort();
50791
50833
  }
50792
50834
  function builtinSkillPath(name) {
50793
- return join15(BUILTIN_SKILLS_SRC_DIR, name, "SKILL.md");
50835
+ return join16(BUILTIN_SKILLS_SRC_DIR, name, "SKILL.md");
50794
50836
  }
50795
50837
  function listBuiltinSkillExtras(name) {
50796
50838
  try {
50797
- 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();
50798
50840
  } catch {
50799
50841
  return [];
50800
50842
  }
50801
50843
  }
50802
50844
  function readBuiltinSkillExtra(name, file2) {
50803
50845
  try {
50804
- return readFileSync9(join15(BUILTIN_SKILLS_SRC_DIR, name, file2), "utf-8");
50846
+ return readFileSync9(join16(BUILTIN_SKILLS_SRC_DIR, name, file2), "utf-8");
50805
50847
  } catch {
50806
50848
  return null;
50807
50849
  }
@@ -50821,7 +50863,7 @@ function readFrontmatterField(text, field) {
50821
50863
  }
50822
50864
 
50823
50865
  // packages/feature/agent/src/server/lib/slashCommands.ts
50824
- var BUILTIN_SKILLS_OUT_DIR = join16(COCKPIT_DIR, "skills");
50866
+ var BUILTIN_SKILLS_OUT_DIR = join17(COCKPIT_DIR, "skills");
50825
50867
  function deriveBaseUrl() {
50826
50868
  const port3 = process.env.COCKPIT_PORT || process.env.PORT || "3457";
50827
50869
  return `http://localhost:${port3}`;
@@ -51009,16 +51051,16 @@ function readSkillName(path5) {
51009
51051
  }
51010
51052
  function writeBuiltinSkill(cmd, content, baseUrl) {
51011
51053
  try {
51012
- const dir = join16(BUILTIN_SKILLS_OUT_DIR, cmd);
51054
+ const dir = join17(BUILTIN_SKILLS_OUT_DIR, cmd);
51013
51055
  mkdirSync7(dir, { recursive: true });
51014
- const filePath = join16(dir, "SKILL.md");
51056
+ const filePath = join17(dir, "SKILL.md");
51015
51057
  writeFileSync8(filePath, content.endsWith("\n") ? content : `${content}
51016
51058
  `, "utf-8");
51017
51059
  for (const file2 of listBuiltinSkillExtras(cmd)) {
51018
51060
  const extra = readBuiltinSkillExtra(cmd, file2);
51019
51061
  if (extra === null) continue;
51020
51062
  try {
51021
- writeFileSync8(join16(dir, file2), substitute(extra, baseUrl), "utf-8");
51063
+ writeFileSync8(join17(dir, file2), substitute(extra, baseUrl), "utf-8");
51022
51064
  } catch (err) {
51023
51065
  console.error(`[skills] builtin "${cmd}": cannot write reference file ${file2}:`, err);
51024
51066
  }