@surething/cockpit 1.0.277 → 1.0.279

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 (711) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +5 -4
  3. package/.next-prod/build-manifest.json +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 +9 -3
  7. package/.next-prod/server/app/_global-error/page.js +2 -2
  8. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next-prod/server/app/_global-error.html +1 -1
  11. package/.next-prod/server/app/_global-error.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next-prod/server/app/_not-found/page.js +1 -1
  16. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
  17. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next-prod/server/app/_not-found.html +2 -2
  19. package/.next-prod/server/app/_not-found.rsc +3 -3
  20. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
  21. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
  22. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  23. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  24. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  25. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
  26. package/.next-prod/server/app/api/bash/route.js +1 -1
  27. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  28. package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
  29. package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -1
  30. package/.next-prod/server/app/api/bots/route.js +1 -1
  31. package/.next-prod/server/app/api/bots/route.js.nft.json +1 -1
  32. package/.next-prod/server/app/api/chat/codex/route.js +1 -1
  33. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  34. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  35. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  36. package/.next-prod/server/app/api/chat/glm/route.js +1 -1
  37. package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
  38. package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
  39. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  40. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  41. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  42. package/.next-prod/server/app/api/chat/route.js +1 -1
  43. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  44. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  45. package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
  46. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  47. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  48. package/.next-prod/server/app/api/commands/route.js +1 -1
  49. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  50. package/.next-prod/server/app/api/comments/route.js +1 -1
  51. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  52. package/.next-prod/server/app/api/db/columns/route.js +2 -2
  53. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  54. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  55. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  56. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  57. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  58. package/.next-prod/server/app/api/db/export/route.js +1 -1
  59. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  60. package/.next-prod/server/app/api/db/query/route.js +1 -1
  61. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  62. package/.next-prod/server/app/api/db/schemas/route.js +1 -1
  63. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  64. package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
  65. package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
  66. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  67. package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
  68. package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
  69. package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
  70. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  71. package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
  72. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  73. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  74. package/.next-prod/server/app/api/file/route.js +1 -1
  75. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  76. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  77. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  78. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  79. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  80. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  81. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  82. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  83. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  84. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  85. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  86. package/.next-prod/server/app/api/files/index/route.js +1 -1
  87. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  88. package/.next-prod/server/app/api/files/init/route.js +1 -1
  89. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  90. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  91. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  92. package/.next-prod/server/app/api/files/read/route.js +1 -1
  93. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  94. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  95. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  96. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  97. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  98. package/.next-prod/server/app/api/files/save/route.js +1 -1
  99. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  100. package/.next-prod/server/app/api/files/search/route.js +1 -1
  101. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  102. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  103. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  104. package/.next-prod/server/app/api/files/text/route.js +1 -1
  105. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  106. package/.next-prod/server/app/api/fs/dirs/route.js +1 -0
  107. package/.next-prod/server/app/api/fs/dirs/route.js.nft.json +1 -0
  108. package/.next-prod/server/app/api/fs/dirs/route_client-reference-manifest.js +1 -0
  109. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  110. package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
  111. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  112. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  113. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  114. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  115. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  116. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  117. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  118. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  119. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  120. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  121. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  122. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  123. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  124. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  125. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  126. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  127. package/.next-prod/server/app/api/git/status/route.js +1 -1
  128. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  129. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  130. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  131. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  132. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  133. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  134. package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
  135. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  136. package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
  137. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  138. package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
  139. package/.next-prod/server/app/api/global-state/route.js +1 -1
  140. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  141. package/.next-prod/server/app/api/health/route.js +1 -1
  142. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  143. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  144. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  145. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  146. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  147. package/.next-prod/server/app/api/instructions/config/route.js +1 -1
  148. package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
  149. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  150. package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
  151. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  152. package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
  153. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  154. package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
  155. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  156. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  157. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  158. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  159. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  160. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  161. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  162. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  163. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  164. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  165. package/.next-prod/server/app/api/mysql/columns/route.js +1 -1
  166. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  167. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  168. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  169. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  170. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  171. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  172. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  173. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  174. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  175. package/.next-prod/server/app/api/mysql/schemas/route.js +1 -1
  176. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  177. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  178. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  179. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  180. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  181. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  182. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  183. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  184. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  185. package/.next-prod/server/app/api/note/route.js +1 -1
  186. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  187. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  188. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  189. package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
  190. package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -1
  191. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  192. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  193. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  194. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  195. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  196. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  197. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  198. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  199. package/.next-prod/server/app/api/output-styles/config/route.js +1 -0
  200. package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -0
  201. package/.next-prod/server/app/api/output-styles/config/route_client-reference-manifest.js +1 -0
  202. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  203. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  204. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  205. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  206. package/.next-prod/server/app/api/project-state/route.js +2 -2
  207. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  208. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  209. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  210. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  211. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  212. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  213. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  214. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  215. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  216. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  217. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  218. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  219. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  220. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  221. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  222. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  223. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  224. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  225. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  226. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  227. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  228. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  229. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  230. package/.next-prod/server/app/api/projects/route.js +1 -1
  231. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  232. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  233. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  234. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  235. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  236. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  237. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  238. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  239. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  240. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  241. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  242. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  243. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  244. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  245. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  246. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  247. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  248. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  249. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  250. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  251. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  252. package/.next-prod/server/app/api/restart/route.js +1 -1
  253. package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
  254. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  255. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  256. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  257. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  258. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  259. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  260. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  261. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  262. package/.next-prod/server/app/api/review/order/route.js +1 -1
  263. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  264. package/.next-prod/server/app/api/review/route.js +1 -1
  265. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  266. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  267. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  268. package/.next-prod/server/app/api/review/users/route.js +1 -1
  269. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  270. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  271. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  272. package/.next-prod/server/app/api/services/config/route.js +1 -1
  273. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  274. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  275. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  276. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  277. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  278. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  279. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  280. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  281. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
  282. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  283. package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
  284. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  285. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  286. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  287. package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
  288. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  289. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  290. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  291. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  292. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  293. package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
  294. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  295. package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
  296. package/.next-prod/server/app/api/settings/route.js +1 -1
  297. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  298. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  299. package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
  300. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  301. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  302. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  303. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  304. package/.next-prod/server/app/api/skills/route.js +1 -1
  305. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  306. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  307. package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
  308. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  309. package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
  310. package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
  311. package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -1
  312. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  313. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  314. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  315. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  316. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  317. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  318. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  319. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  320. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  321. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  322. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  323. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  324. package/.next-prod/server/app/api/update/route.js +1 -1
  325. package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
  326. package/.next-prod/server/app/api/update-state/route.js +1 -1
  327. package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
  328. package/.next-prod/server/app/api/version/route.js +1 -1
  329. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  330. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  331. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  332. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  333. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  334. package/.next-prod/server/app/m/page.js +1 -1
  335. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  336. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  337. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  338. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  339. package/.next-prod/server/app/page.js +1 -1
  340. package/.next-prod/server/app/page.js.nft.json +1 -1
  341. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  342. package/.next-prod/server/app/project/page.js +1 -1
  343. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  344. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  345. package/.next-prod/server/app/review/[id]/page.js +1 -1
  346. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  347. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  348. package/.next-prod/server/app-paths-manifest.json +5 -4
  349. package/.next-prod/server/chunks/1863.js +1 -0
  350. package/.next-prod/server/chunks/2493.js +23 -17
  351. package/.next-prod/server/chunks/411.js +1 -0
  352. package/.next-prod/server/chunks/4949.js +1 -1
  353. package/.next-prod/server/chunks/{8131.js → 5591.js} +2 -2
  354. package/.next-prod/server/chunks/6495.js +1 -1
  355. package/.next-prod/server/chunks/7438.js +12 -11
  356. package/.next-prod/server/chunks/8022.js +1 -1
  357. package/.next-prod/server/functions-config-manifest.json +1 -0
  358. package/.next-prod/server/middleware-build-manifest.js +1 -1
  359. package/.next-prod/server/pages/404.html +2 -2
  360. package/.next-prod/server/pages/500.html +1 -1
  361. package/.next-prod/server/server-reference-manifest.json +1 -1
  362. package/.next-prod/static/4RnWG203k-Xg-suOhN3oL/_buildManifest.js +1 -0
  363. package/.next-prod/static/chunks/{99365-c697e983b9728d08.js → 21829-993d9bfd63c1ee9e.js} +2 -2
  364. package/.next-prod/static/chunks/60875-cb1ee86d8213a09f.js +35 -0
  365. package/.next-prod/static/chunks/95313-eb607273c688b022.js +17 -0
  366. package/.next-prod/static/chunks/99092-ef15e925df84035b.js +716 -0
  367. package/.next-prod/static/chunks/app/_global-error/{page-6ac899b2cd280c12.js → page-21b597461da15cd4.js} +1 -1
  368. package/.next-prod/static/chunks/app/api/agent/test/{route-6ac899b2cd280c12.js → route-21b597461da15cd4.js} +1 -1
  369. package/.next-prod/static/chunks/app/api/bash/{route-6ac899b2cd280c12.js → route-21b597461da15cd4.js} +1 -1
  370. package/.next-prod/static/chunks/app/api/bots/[id]/{route-6ac899b2cd280c12.js → route-21b597461da15cd4.js} +1 -1
  371. package/.next-prod/static/chunks/app/api/bots/route-21b597461da15cd4.js +1 -0
  372. package/.next-prod/static/chunks/app/api/chat/codex/route-21b597461da15cd4.js +1 -0
  373. package/.next-prod/static/chunks/app/api/chat/deepseek/route-21b597461da15cd4.js +1 -0
  374. package/.next-prod/static/chunks/app/api/chat/glm/route-21b597461da15cd4.js +1 -0
  375. package/.next-prod/static/chunks/app/api/chat/kimi/route-21b597461da15cd4.js +1 -0
  376. package/.next-prod/static/chunks/app/api/chat/ollama/route-21b597461da15cd4.js +1 -0
  377. package/.next-prod/static/chunks/app/api/chat/route-21b597461da15cd4.js +1 -0
  378. package/.next-prod/static/chunks/app/api/chat/stop/route-21b597461da15cd4.js +1 -0
  379. package/.next-prod/static/chunks/app/api/claude-stats/route-21b597461da15cd4.js +1 -0
  380. package/.next-prod/static/chunks/app/api/commands/route-21b597461da15cd4.js +1 -0
  381. package/.next-prod/static/chunks/app/api/comments/route-21b597461da15cd4.js +1 -0
  382. package/.next-prod/static/chunks/app/api/db/columns/route-21b597461da15cd4.js +1 -0
  383. package/.next-prod/static/chunks/app/api/db/connect/route-21b597461da15cd4.js +1 -0
  384. package/.next-prod/static/chunks/app/api/db/disconnect/route-21b597461da15cd4.js +1 -0
  385. package/.next-prod/static/chunks/app/api/db/export/route-21b597461da15cd4.js +1 -0
  386. package/.next-prod/static/chunks/app/api/db/query/route-21b597461da15cd4.js +1 -0
  387. package/.next-prod/static/chunks/app/api/db/schemas/route-21b597461da15cd4.js +1 -0
  388. package/.next-prod/static/chunks/app/api/deepseek/balance/route-21b597461da15cd4.js +1 -0
  389. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-21b597461da15cd4.js +1 -0
  390. package/.next-prod/static/chunks/app/api/deepseek/models/route-21b597461da15cd4.js +1 -0
  391. package/.next-prod/static/chunks/app/api/dev/spans/route-21b597461da15cd4.js +1 -0
  392. package/.next-prod/static/chunks/app/api/extension/version/route-21b597461da15cd4.js +1 -0
  393. package/.next-prod/static/chunks/app/api/file/route-21b597461da15cd4.js +1 -0
  394. package/.next-prod/static/chunks/app/api/files/blame/route-21b597461da15cd4.js +1 -0
  395. package/.next-prod/static/chunks/app/api/files/clipboard/route-21b597461da15cd4.js +1 -0
  396. package/.next-prod/static/chunks/app/api/files/copy/route-21b597461da15cd4.js +1 -0
  397. package/.next-prod/static/chunks/app/api/files/delete/route-21b597461da15cd4.js +1 -0
  398. package/.next-prod/static/chunks/app/api/files/expanded/route-21b597461da15cd4.js +1 -0
  399. package/.next-prod/static/chunks/app/api/files/index/route-21b597461da15cd4.js +1 -0
  400. package/.next-prod/static/chunks/app/api/files/init/route-21b597461da15cd4.js +1 -0
  401. package/.next-prod/static/chunks/app/api/files/paste/route-21b597461da15cd4.js +1 -0
  402. package/.next-prod/static/chunks/app/api/files/read/route-21b597461da15cd4.js +1 -0
  403. package/.next-prod/static/chunks/app/api/files/readdir/route-21b597461da15cd4.js +1 -0
  404. package/.next-prod/static/chunks/app/api/files/recent/route-21b597461da15cd4.js +1 -0
  405. package/.next-prod/static/chunks/app/api/files/save/route-21b597461da15cd4.js +1 -0
  406. package/.next-prod/static/chunks/app/api/files/search/route-21b597461da15cd4.js +1 -0
  407. package/.next-prod/static/chunks/app/api/files/stat/route-21b597461da15cd4.js +1 -0
  408. package/.next-prod/static/chunks/app/api/files/text/route-21b597461da15cd4.js +1 -0
  409. package/.next-prod/static/chunks/app/api/fs/dirs/route-21b597461da15cd4.js +1 -0
  410. package/.next-prod/static/chunks/app/api/git/blob/route-21b597461da15cd4.js +1 -0
  411. package/.next-prod/static/chunks/app/api/git/branch-diff/route-21b597461da15cd4.js +1 -0
  412. package/.next-prod/static/chunks/app/api/git/branches/route-21b597461da15cd4.js +1 -0
  413. package/.next-prod/static/chunks/app/api/git/commit-diff/route-21b597461da15cd4.js +1 -0
  414. package/.next-prod/static/chunks/app/api/git/commits/route-21b597461da15cd4.js +1 -0
  415. package/.next-prod/static/chunks/app/api/git/current-branch/route-21b597461da15cd4.js +1 -0
  416. package/.next-prod/static/chunks/app/api/git/diff/route-21b597461da15cd4.js +1 -0
  417. package/.next-prod/static/chunks/app/api/git/discard/route-21b597461da15cd4.js +1 -0
  418. package/.next-prod/static/chunks/app/api/git/stage/route-21b597461da15cd4.js +1 -0
  419. package/.next-prod/static/chunks/app/api/git/status/route-21b597461da15cd4.js +1 -0
  420. package/.next-prod/static/chunks/app/api/git/unstage/route-21b597461da15cd4.js +1 -0
  421. package/.next-prod/static/chunks/app/api/git/worktree/route-21b597461da15cd4.js +1 -0
  422. package/.next-prod/static/chunks/app/api/glm/credentials/route-21b597461da15cd4.js +1 -0
  423. package/.next-prod/static/chunks/app/api/glm/models/route-21b597461da15cd4.js +1 -0
  424. package/.next-prod/static/chunks/app/api/glm/usage/route-21b597461da15cd4.js +1 -0
  425. package/.next-prod/static/chunks/app/api/global-state/route-21b597461da15cd4.js +1 -0
  426. package/.next-prod/static/chunks/app/api/health/route-21b597461da15cd4.js +1 -0
  427. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-21b597461da15cd4.js +1 -0
  428. package/.next-prod/static/chunks/app/api/html-apps/route-21b597461da15cd4.js +1 -0
  429. package/.next-prod/static/chunks/app/api/instructions/config/route-21b597461da15cd4.js +1 -0
  430. package/.next-prod/static/chunks/app/api/kimi/credentials/route-21b597461da15cd4.js +1 -0
  431. package/.next-prod/static/chunks/app/api/kimi/models/route-21b597461da15cd4.js +1 -0
  432. package/.next-prod/static/chunks/app/api/kimi/usage/route-21b597461da15cd4.js +1 -0
  433. package/.next-prod/static/chunks/app/api/lsp/definition/route-21b597461da15cd4.js +1 -0
  434. package/.next-prod/static/chunks/app/api/lsp/hover/route-21b597461da15cd4.js +1 -0
  435. package/.next-prod/static/chunks/app/api/lsp/references/route-21b597461da15cd4.js +1 -0
  436. package/.next-prod/static/chunks/app/api/lsp/status/route-21b597461da15cd4.js +1 -0
  437. package/.next-prod/static/chunks/app/api/lsp/warmup/route-21b597461da15cd4.js +1 -0
  438. package/.next-prod/static/chunks/app/api/mysql/columns/route-21b597461da15cd4.js +1 -0
  439. package/.next-prod/static/chunks/app/api/mysql/connect/route-21b597461da15cd4.js +1 -0
  440. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-21b597461da15cd4.js +1 -0
  441. package/.next-prod/static/chunks/app/api/mysql/export/route-21b597461da15cd4.js +1 -0
  442. package/.next-prod/static/chunks/app/api/mysql/query/route-21b597461da15cd4.js +1 -0
  443. package/.next-prod/static/chunks/app/api/mysql/schemas/route-21b597461da15cd4.js +1 -0
  444. package/.next-prod/static/chunks/app/api/neo4j/connect/route-21b597461da15cd4.js +1 -0
  445. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-21b597461da15cd4.js +1 -0
  446. package/.next-prod/static/chunks/app/api/neo4j/query/route-21b597461da15cd4.js +1 -0
  447. package/.next-prod/static/chunks/app/api/neo4j/schema/route-21b597461da15cd4.js +1 -0
  448. package/.next-prod/static/chunks/app/api/note/route-21b597461da15cd4.js +1 -0
  449. package/.next-prod/static/chunks/app/api/ollama/config/route-21b597461da15cd4.js +1 -0
  450. package/.next-prod/static/chunks/app/api/ollama/default-model/route-21b597461da15cd4.js +1 -0
  451. package/.next-prod/static/chunks/app/api/ollama/models/route-21b597461da15cd4.js +1 -0
  452. package/.next-prod/static/chunks/app/api/ollama/start/route-21b597461da15cd4.js +1 -0
  453. package/.next-prod/static/chunks/app/api/open-cursor/route-21b597461da15cd4.js +1 -0
  454. package/.next-prod/static/chunks/app/api/open-vscode/route-21b597461da15cd4.js +1 -0
  455. package/.next-prod/static/chunks/app/api/output-styles/config/route-21b597461da15cd4.js +1 -0
  456. package/.next-prod/static/chunks/app/api/pinned-sessions/route-21b597461da15cd4.js +1 -0
  457. package/.next-prod/static/chunks/app/api/project-settings/route-21b597461da15cd4.js +1 -0
  458. package/.next-prod/static/chunks/app/api/project-state/route-21b597461da15cd4.js +1 -0
  459. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-21b597461da15cd4.js +1 -0
  460. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-21b597461da15cd4.js +1 -0
  461. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-21b597461da15cd4.js +1 -0
  462. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-21b597461da15cd4.js +1 -0
  463. package/.next-prod/static/chunks/app/api/projectGraph/context/route-21b597461da15cd4.js +1 -0
  464. package/.next-prod/static/chunks/app/api/projectGraph/file/route-21b597461da15cd4.js +1 -0
  465. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-21b597461da15cd4.js +1 -0
  466. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-21b597461da15cd4.js +1 -0
  467. package/.next-prod/static/chunks/app/api/projectGraph/related/route-21b597461da15cd4.js +1 -0
  468. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-21b597461da15cd4.js +1 -0
  469. package/.next-prod/static/chunks/app/api/projectGraph/search/route-21b597461da15cd4.js +1 -0
  470. package/.next-prod/static/chunks/app/api/projects/route-21b597461da15cd4.js +1 -0
  471. package/.next-prod/static/chunks/app/api/push/public-key/route-21b597461da15cd4.js +1 -0
  472. package/.next-prod/static/chunks/app/api/push/subscribe/route-21b597461da15cd4.js +1 -0
  473. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-21b597461da15cd4.js +1 -0
  474. package/.next-prod/static/chunks/app/api/redis/command/route-21b597461da15cd4.js +1 -0
  475. package/.next-prod/static/chunks/app/api/redis/connect/route-21b597461da15cd4.js +1 -0
  476. package/.next-prod/static/chunks/app/api/redis/delete/route-21b597461da15cd4.js +1 -0
  477. package/.next-prod/static/chunks/app/api/redis/disconnect/route-21b597461da15cd4.js +1 -0
  478. package/.next-prod/static/chunks/app/api/redis/get/route-21b597461da15cd4.js +1 -0
  479. package/.next-prod/static/chunks/app/api/redis/keys/route-21b597461da15cd4.js +1 -0
  480. package/.next-prod/static/chunks/app/api/redis/set/route-21b597461da15cd4.js +1 -0
  481. package/.next-prod/static/chunks/app/api/restart/route-21b597461da15cd4.js +1 -0
  482. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-21b597461da15cd4.js +1 -0
  483. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-21b597461da15cd4.js +1 -0
  484. package/.next-prod/static/chunks/app/api/review/[id]/route-21b597461da15cd4.js +1 -0
  485. package/.next-prod/static/chunks/app/api/review/identify/route-21b597461da15cd4.js +1 -0
  486. package/.next-prod/static/chunks/app/api/review/order/route-21b597461da15cd4.js +1 -0
  487. package/.next-prod/static/chunks/app/api/review/route-21b597461da15cd4.js +1 -0
  488. package/.next-prod/static/chunks/app/api/review/share-info/route-21b597461da15cd4.js +1 -0
  489. package/.next-prod/static/chunks/app/api/review/users/route-21b597461da15cd4.js +1 -0
  490. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-21b597461da15cd4.js +1 -0
  491. package/.next-prod/static/chunks/app/api/services/config/route-21b597461da15cd4.js +1 -0
  492. package/.next-prod/static/chunks/app/api/services/scripts/route-21b597461da15cd4.js +1 -0
  493. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-21b597461da15cd4.js +1 -0
  494. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-21b597461da15cd4.js +1 -0
  495. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-21b597461da15cd4.js +1 -0
  496. package/.next-prod/static/chunks/app/api/session/user-messages/route-21b597461da15cd4.js +1 -0
  497. package/.next-prod/static/chunks/app/api/session-by-path/route-21b597461da15cd4.js +1 -0
  498. package/.next-prod/static/chunks/app/api/sessions/delegate/route-21b597461da15cd4.js +1 -0
  499. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-21b597461da15cd4.js +1 -0
  500. package/.next-prod/static/chunks/app/api/sessions/projects/route-21b597461da15cd4.js +1 -0
  501. package/.next-prod/static/chunks/app/api/sessions/search/route-21b597461da15cd4.js +1 -0
  502. package/.next-prod/static/chunks/app/api/sessions/status/route-21b597461da15cd4.js +1 -0
  503. package/.next-prod/static/chunks/app/api/settings/route-21b597461da15cd4.js +1 -0
  504. package/.next-prod/static/chunks/app/api/shutdown/route-21b597461da15cd4.js +1 -0
  505. package/.next-prod/static/chunks/app/api/skills/[id]/route-21b597461da15cd4.js +1 -0
  506. package/.next-prod/static/chunks/app/api/skills/content/route-21b597461da15cd4.js +1 -0
  507. package/.next-prod/static/chunks/app/api/skills/route-21b597461da15cd4.js +1 -0
  508. package/.next-prod/static/chunks/app/api/snapshots/blob/route-21b597461da15cd4.js +1 -0
  509. package/.next-prod/static/chunks/app/api/snapshots/diff/route-21b597461da15cd4.js +1 -0
  510. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-21b597461da15cd4.js +1 -0
  511. package/.next-prod/static/chunks/app/api/snapshots/route-21b597461da15cd4.js +1 -0
  512. package/.next-prod/static/chunks/app/api/terminal/aliases/route-21b597461da15cd4.js +1 -0
  513. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-21b597461da15cd4.js +1 -0
  514. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-21b597461da15cd4.js +1 -0
  515. package/.next-prod/static/chunks/app/api/terminal/env/route-21b597461da15cd4.js +1 -0
  516. package/.next-prod/static/chunks/app/api/terminal/history/route-21b597461da15cd4.js +1 -0
  517. package/.next-prod/static/chunks/app/api/update/route-21b597461da15cd4.js +1 -0
  518. package/.next-prod/static/chunks/app/api/update-state/route-21b597461da15cd4.js +1 -0
  519. package/.next-prod/static/chunks/app/api/version/route-21b597461da15cd4.js +1 -0
  520. package/.next-prod/static/chunks/app/apps/[...path]/route-21b597461da15cd4.js +1 -0
  521. package/.next-prod/static/chunks/app/{layout-f3f9426dccb507b2.js → layout-3b48c268aef0cfe6.js} +1 -1
  522. package/.next-prod/static/chunks/app/manifest.webmanifest/route-21b597461da15cd4.js +1 -0
  523. package/.next-prod/static/chunks/app/{page-d97e5df9486f39cb.js → page-747c80a59d1bdd4c.js} +1 -1
  524. package/.next-prod/static/chunks/app/project/{page-d97e5df9486f39cb.js → page-747c80a59d1bdd4c.js} +1 -1
  525. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-21b597461da15cd4.js +1 -0
  526. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-21b597461da15cd4.js +1 -0
  527. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-21b597461da15cd4.js +1 -0
  528. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-21b597461da15cd4.js +1 -0
  529. package/.next-prod/static/css/e7e2daa1e96529e6.css +1 -0
  530. package/.next-prod/trace +15 -15
  531. package/.next-prod/trace-build +1 -1
  532. package/.next-prod/types/app/api/{pick-folder → fs/dirs}/route.ts +3 -3
  533. package/.next-prod/types/app/api/output-styles/config/route.ts +353 -0
  534. package/.next-prod/types/routes.d.ts +3 -2
  535. package/.next-prod/types/validator.ts +12 -3
  536. package/bin/pty-host.mjs +423 -0
  537. package/dist/{chunk-5ZXPIG4Z.mjs → chunk-MXOJBOL4.mjs} +556 -9
  538. package/dist/{chunk-SGVT4QFB.mjs → chunk-XMGMMEZI.mjs} +250 -66
  539. package/dist/httpApi.mjs +7 -3
  540. package/dist/scheduledTasks.mjs +58 -8
  541. package/dist/wsServer.mjs +118 -69
  542. package/package.json +3 -3
  543. package/server.mjs +12 -0
  544. package/skills/bot-run/SKILL.md +6 -6
  545. package/skills/bot-run/followup.md +1 -1
  546. package/skills/bot-run/wait.md +1 -1
  547. package/skills/cr/SKILL.md +302 -126
  548. package/.next-prod/server/app/api/pick-folder/route.js +0 -1
  549. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +0 -1
  550. package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +0 -1
  551. package/.next-prod/server/chunks/6548.js +0 -1
  552. package/.next-prod/static/chunks/89656-1b5bae337f6b6892.js +0 -34
  553. package/.next-prod/static/chunks/95313-96a541e7ce6f76c4.js +0 -17
  554. package/.next-prod/static/chunks/99092-7b5fa4560a398020.js +0 -716
  555. package/.next-prod/static/chunks/app/api/bots/route-6ac899b2cd280c12.js +0 -1
  556. package/.next-prod/static/chunks/app/api/chat/codex/route-6ac899b2cd280c12.js +0 -1
  557. package/.next-prod/static/chunks/app/api/chat/deepseek/route-6ac899b2cd280c12.js +0 -1
  558. package/.next-prod/static/chunks/app/api/chat/glm/route-6ac899b2cd280c12.js +0 -1
  559. package/.next-prod/static/chunks/app/api/chat/kimi/route-6ac899b2cd280c12.js +0 -1
  560. package/.next-prod/static/chunks/app/api/chat/ollama/route-6ac899b2cd280c12.js +0 -1
  561. package/.next-prod/static/chunks/app/api/chat/route-6ac899b2cd280c12.js +0 -1
  562. package/.next-prod/static/chunks/app/api/chat/stop/route-6ac899b2cd280c12.js +0 -1
  563. package/.next-prod/static/chunks/app/api/claude-stats/route-6ac899b2cd280c12.js +0 -1
  564. package/.next-prod/static/chunks/app/api/commands/route-6ac899b2cd280c12.js +0 -1
  565. package/.next-prod/static/chunks/app/api/comments/route-6ac899b2cd280c12.js +0 -1
  566. package/.next-prod/static/chunks/app/api/db/columns/route-6ac899b2cd280c12.js +0 -1
  567. package/.next-prod/static/chunks/app/api/db/connect/route-6ac899b2cd280c12.js +0 -1
  568. package/.next-prod/static/chunks/app/api/db/disconnect/route-6ac899b2cd280c12.js +0 -1
  569. package/.next-prod/static/chunks/app/api/db/export/route-6ac899b2cd280c12.js +0 -1
  570. package/.next-prod/static/chunks/app/api/db/query/route-6ac899b2cd280c12.js +0 -1
  571. package/.next-prod/static/chunks/app/api/db/schemas/route-6ac899b2cd280c12.js +0 -1
  572. package/.next-prod/static/chunks/app/api/deepseek/balance/route-6ac899b2cd280c12.js +0 -1
  573. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6ac899b2cd280c12.js +0 -1
  574. package/.next-prod/static/chunks/app/api/deepseek/models/route-6ac899b2cd280c12.js +0 -1
  575. package/.next-prod/static/chunks/app/api/dev/spans/route-6ac899b2cd280c12.js +0 -1
  576. package/.next-prod/static/chunks/app/api/extension/version/route-6ac899b2cd280c12.js +0 -1
  577. package/.next-prod/static/chunks/app/api/file/route-6ac899b2cd280c12.js +0 -1
  578. package/.next-prod/static/chunks/app/api/files/blame/route-6ac899b2cd280c12.js +0 -1
  579. package/.next-prod/static/chunks/app/api/files/clipboard/route-6ac899b2cd280c12.js +0 -1
  580. package/.next-prod/static/chunks/app/api/files/copy/route-6ac899b2cd280c12.js +0 -1
  581. package/.next-prod/static/chunks/app/api/files/delete/route-6ac899b2cd280c12.js +0 -1
  582. package/.next-prod/static/chunks/app/api/files/expanded/route-6ac899b2cd280c12.js +0 -1
  583. package/.next-prod/static/chunks/app/api/files/index/route-6ac899b2cd280c12.js +0 -1
  584. package/.next-prod/static/chunks/app/api/files/init/route-6ac899b2cd280c12.js +0 -1
  585. package/.next-prod/static/chunks/app/api/files/paste/route-6ac899b2cd280c12.js +0 -1
  586. package/.next-prod/static/chunks/app/api/files/read/route-6ac899b2cd280c12.js +0 -1
  587. package/.next-prod/static/chunks/app/api/files/readdir/route-6ac899b2cd280c12.js +0 -1
  588. package/.next-prod/static/chunks/app/api/files/recent/route-6ac899b2cd280c12.js +0 -1
  589. package/.next-prod/static/chunks/app/api/files/save/route-6ac899b2cd280c12.js +0 -1
  590. package/.next-prod/static/chunks/app/api/files/search/route-6ac899b2cd280c12.js +0 -1
  591. package/.next-prod/static/chunks/app/api/files/stat/route-6ac899b2cd280c12.js +0 -1
  592. package/.next-prod/static/chunks/app/api/files/text/route-6ac899b2cd280c12.js +0 -1
  593. package/.next-prod/static/chunks/app/api/git/blob/route-6ac899b2cd280c12.js +0 -1
  594. package/.next-prod/static/chunks/app/api/git/branch-diff/route-6ac899b2cd280c12.js +0 -1
  595. package/.next-prod/static/chunks/app/api/git/branches/route-6ac899b2cd280c12.js +0 -1
  596. package/.next-prod/static/chunks/app/api/git/commit-diff/route-6ac899b2cd280c12.js +0 -1
  597. package/.next-prod/static/chunks/app/api/git/commits/route-6ac899b2cd280c12.js +0 -1
  598. package/.next-prod/static/chunks/app/api/git/current-branch/route-6ac899b2cd280c12.js +0 -1
  599. package/.next-prod/static/chunks/app/api/git/diff/route-6ac899b2cd280c12.js +0 -1
  600. package/.next-prod/static/chunks/app/api/git/discard/route-6ac899b2cd280c12.js +0 -1
  601. package/.next-prod/static/chunks/app/api/git/stage/route-6ac899b2cd280c12.js +0 -1
  602. package/.next-prod/static/chunks/app/api/git/status/route-6ac899b2cd280c12.js +0 -1
  603. package/.next-prod/static/chunks/app/api/git/unstage/route-6ac899b2cd280c12.js +0 -1
  604. package/.next-prod/static/chunks/app/api/git/worktree/route-6ac899b2cd280c12.js +0 -1
  605. package/.next-prod/static/chunks/app/api/glm/credentials/route-6ac899b2cd280c12.js +0 -1
  606. package/.next-prod/static/chunks/app/api/glm/models/route-6ac899b2cd280c12.js +0 -1
  607. package/.next-prod/static/chunks/app/api/glm/usage/route-6ac899b2cd280c12.js +0 -1
  608. package/.next-prod/static/chunks/app/api/global-state/route-6ac899b2cd280c12.js +0 -1
  609. package/.next-prod/static/chunks/app/api/health/route-6ac899b2cd280c12.js +0 -1
  610. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6ac899b2cd280c12.js +0 -1
  611. package/.next-prod/static/chunks/app/api/html-apps/route-6ac899b2cd280c12.js +0 -1
  612. package/.next-prod/static/chunks/app/api/instructions/config/route-6ac899b2cd280c12.js +0 -1
  613. package/.next-prod/static/chunks/app/api/kimi/credentials/route-6ac899b2cd280c12.js +0 -1
  614. package/.next-prod/static/chunks/app/api/kimi/models/route-6ac899b2cd280c12.js +0 -1
  615. package/.next-prod/static/chunks/app/api/kimi/usage/route-6ac899b2cd280c12.js +0 -1
  616. package/.next-prod/static/chunks/app/api/lsp/definition/route-6ac899b2cd280c12.js +0 -1
  617. package/.next-prod/static/chunks/app/api/lsp/hover/route-6ac899b2cd280c12.js +0 -1
  618. package/.next-prod/static/chunks/app/api/lsp/references/route-6ac899b2cd280c12.js +0 -1
  619. package/.next-prod/static/chunks/app/api/lsp/status/route-6ac899b2cd280c12.js +0 -1
  620. package/.next-prod/static/chunks/app/api/lsp/warmup/route-6ac899b2cd280c12.js +0 -1
  621. package/.next-prod/static/chunks/app/api/mysql/columns/route-6ac899b2cd280c12.js +0 -1
  622. package/.next-prod/static/chunks/app/api/mysql/connect/route-6ac899b2cd280c12.js +0 -1
  623. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6ac899b2cd280c12.js +0 -1
  624. package/.next-prod/static/chunks/app/api/mysql/export/route-6ac899b2cd280c12.js +0 -1
  625. package/.next-prod/static/chunks/app/api/mysql/query/route-6ac899b2cd280c12.js +0 -1
  626. package/.next-prod/static/chunks/app/api/mysql/schemas/route-6ac899b2cd280c12.js +0 -1
  627. package/.next-prod/static/chunks/app/api/neo4j/connect/route-6ac899b2cd280c12.js +0 -1
  628. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6ac899b2cd280c12.js +0 -1
  629. package/.next-prod/static/chunks/app/api/neo4j/query/route-6ac899b2cd280c12.js +0 -1
  630. package/.next-prod/static/chunks/app/api/neo4j/schema/route-6ac899b2cd280c12.js +0 -1
  631. package/.next-prod/static/chunks/app/api/note/route-6ac899b2cd280c12.js +0 -1
  632. package/.next-prod/static/chunks/app/api/ollama/config/route-6ac899b2cd280c12.js +0 -1
  633. package/.next-prod/static/chunks/app/api/ollama/default-model/route-6ac899b2cd280c12.js +0 -1
  634. package/.next-prod/static/chunks/app/api/ollama/models/route-6ac899b2cd280c12.js +0 -1
  635. package/.next-prod/static/chunks/app/api/ollama/start/route-6ac899b2cd280c12.js +0 -1
  636. package/.next-prod/static/chunks/app/api/open-cursor/route-6ac899b2cd280c12.js +0 -1
  637. package/.next-prod/static/chunks/app/api/open-vscode/route-6ac899b2cd280c12.js +0 -1
  638. package/.next-prod/static/chunks/app/api/pick-folder/route-6ac899b2cd280c12.js +0 -1
  639. package/.next-prod/static/chunks/app/api/pinned-sessions/route-6ac899b2cd280c12.js +0 -1
  640. package/.next-prod/static/chunks/app/api/project-settings/route-6ac899b2cd280c12.js +0 -1
  641. package/.next-prod/static/chunks/app/api/project-state/route-6ac899b2cd280c12.js +0 -1
  642. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6ac899b2cd280c12.js +0 -1
  643. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6ac899b2cd280c12.js +0 -1
  644. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6ac899b2cd280c12.js +0 -1
  645. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6ac899b2cd280c12.js +0 -1
  646. package/.next-prod/static/chunks/app/api/projectGraph/context/route-6ac899b2cd280c12.js +0 -1
  647. package/.next-prod/static/chunks/app/api/projectGraph/file/route-6ac899b2cd280c12.js +0 -1
  648. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6ac899b2cd280c12.js +0 -1
  649. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6ac899b2cd280c12.js +0 -1
  650. package/.next-prod/static/chunks/app/api/projectGraph/related/route-6ac899b2cd280c12.js +0 -1
  651. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-6ac899b2cd280c12.js +0 -1
  652. package/.next-prod/static/chunks/app/api/projectGraph/search/route-6ac899b2cd280c12.js +0 -1
  653. package/.next-prod/static/chunks/app/api/projects/route-6ac899b2cd280c12.js +0 -1
  654. package/.next-prod/static/chunks/app/api/push/public-key/route-6ac899b2cd280c12.js +0 -1
  655. package/.next-prod/static/chunks/app/api/push/subscribe/route-6ac899b2cd280c12.js +0 -1
  656. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6ac899b2cd280c12.js +0 -1
  657. package/.next-prod/static/chunks/app/api/redis/command/route-6ac899b2cd280c12.js +0 -1
  658. package/.next-prod/static/chunks/app/api/redis/connect/route-6ac899b2cd280c12.js +0 -1
  659. package/.next-prod/static/chunks/app/api/redis/delete/route-6ac899b2cd280c12.js +0 -1
  660. package/.next-prod/static/chunks/app/api/redis/disconnect/route-6ac899b2cd280c12.js +0 -1
  661. package/.next-prod/static/chunks/app/api/redis/get/route-6ac899b2cd280c12.js +0 -1
  662. package/.next-prod/static/chunks/app/api/redis/keys/route-6ac899b2cd280c12.js +0 -1
  663. package/.next-prod/static/chunks/app/api/redis/set/route-6ac899b2cd280c12.js +0 -1
  664. package/.next-prod/static/chunks/app/api/restart/route-6ac899b2cd280c12.js +0 -1
  665. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-6ac899b2cd280c12.js +0 -1
  666. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-6ac899b2cd280c12.js +0 -1
  667. package/.next-prod/static/chunks/app/api/review/[id]/route-6ac899b2cd280c12.js +0 -1
  668. package/.next-prod/static/chunks/app/api/review/identify/route-6ac899b2cd280c12.js +0 -1
  669. package/.next-prod/static/chunks/app/api/review/order/route-6ac899b2cd280c12.js +0 -1
  670. package/.next-prod/static/chunks/app/api/review/route-6ac899b2cd280c12.js +0 -1
  671. package/.next-prod/static/chunks/app/api/review/share-info/route-6ac899b2cd280c12.js +0 -1
  672. package/.next-prod/static/chunks/app/api/review/users/route-6ac899b2cd280c12.js +0 -1
  673. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6ac899b2cd280c12.js +0 -1
  674. package/.next-prod/static/chunks/app/api/services/config/route-6ac899b2cd280c12.js +0 -1
  675. package/.next-prod/static/chunks/app/api/services/scripts/route-6ac899b2cd280c12.js +0 -1
  676. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6ac899b2cd280c12.js +0 -1
  677. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6ac899b2cd280c12.js +0 -1
  678. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6ac899b2cd280c12.js +0 -1
  679. package/.next-prod/static/chunks/app/api/session/user-messages/route-6ac899b2cd280c12.js +0 -1
  680. package/.next-prod/static/chunks/app/api/session-by-path/route-6ac899b2cd280c12.js +0 -1
  681. package/.next-prod/static/chunks/app/api/sessions/delegate/route-6ac899b2cd280c12.js +0 -1
  682. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6ac899b2cd280c12.js +0 -1
  683. package/.next-prod/static/chunks/app/api/sessions/projects/route-6ac899b2cd280c12.js +0 -1
  684. package/.next-prod/static/chunks/app/api/sessions/search/route-6ac899b2cd280c12.js +0 -1
  685. package/.next-prod/static/chunks/app/api/sessions/status/route-6ac899b2cd280c12.js +0 -1
  686. package/.next-prod/static/chunks/app/api/settings/route-6ac899b2cd280c12.js +0 -1
  687. package/.next-prod/static/chunks/app/api/shutdown/route-6ac899b2cd280c12.js +0 -1
  688. package/.next-prod/static/chunks/app/api/skills/[id]/route-6ac899b2cd280c12.js +0 -1
  689. package/.next-prod/static/chunks/app/api/skills/content/route-6ac899b2cd280c12.js +0 -1
  690. package/.next-prod/static/chunks/app/api/skills/route-6ac899b2cd280c12.js +0 -1
  691. package/.next-prod/static/chunks/app/api/snapshots/blob/route-6ac899b2cd280c12.js +0 -1
  692. package/.next-prod/static/chunks/app/api/snapshots/diff/route-6ac899b2cd280c12.js +0 -1
  693. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6ac899b2cd280c12.js +0 -1
  694. package/.next-prod/static/chunks/app/api/snapshots/route-6ac899b2cd280c12.js +0 -1
  695. package/.next-prod/static/chunks/app/api/terminal/aliases/route-6ac899b2cd280c12.js +0 -1
  696. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6ac899b2cd280c12.js +0 -1
  697. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6ac899b2cd280c12.js +0 -1
  698. package/.next-prod/static/chunks/app/api/terminal/env/route-6ac899b2cd280c12.js +0 -1
  699. package/.next-prod/static/chunks/app/api/terminal/history/route-6ac899b2cd280c12.js +0 -1
  700. package/.next-prod/static/chunks/app/api/update/route-6ac899b2cd280c12.js +0 -1
  701. package/.next-prod/static/chunks/app/api/update-state/route-6ac899b2cd280c12.js +0 -1
  702. package/.next-prod/static/chunks/app/api/version/route-6ac899b2cd280c12.js +0 -1
  703. package/.next-prod/static/chunks/app/apps/[...path]/route-6ac899b2cd280c12.js +0 -1
  704. package/.next-prod/static/chunks/app/manifest.webmanifest/route-6ac899b2cd280c12.js +0 -1
  705. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6ac899b2cd280c12.js +0 -1
  706. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6ac899b2cd280c12.js +0 -1
  707. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6ac899b2cd280c12.js +0 -1
  708. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6ac899b2cd280c12.js +0 -1
  709. package/.next-prod/static/css/e6181fb6c73884b4.css +0 -1
  710. package/.next-prod/static/yEJ9Z5Bjv9ti4WeYINfCs/_buildManifest.js +0 -1
  711. /package/.next-prod/static/{yEJ9Z5Bjv9ti4WeYINfCs → 4RnWG203k-Xg-suOhN3oL}/_ssgManifest.js +0 -0
@@ -23391,9 +23391,9 @@ var txnCounter = {
23391
23391
  ref: 0
23392
23392
  };
23393
23393
  var make49 = () => {
23394
- const newId = txnCounter.ref + 1;
23395
- txnCounter.ref = newId;
23396
- return newId;
23394
+ const newId2 = txnCounter.ref + 1;
23395
+ txnCounter.ref = newId2;
23396
+ return newId2;
23397
23397
  };
23398
23398
 
23399
23399
  // node_modules/effect/dist/esm/internal/stm/core.js
@@ -28706,6 +28706,9 @@ function getTerminalHistoryPath(cwd, tabId) {
28706
28706
  function getTerminalOutputPath(cwd, commandId) {
28707
28707
  return join4(getCockpitProjectDir(cwd), `terminal-output-${commandId}.txt`);
28708
28708
  }
28709
+ function getGlobalOutputStylesConfigPath() {
28710
+ return join4(COCKPIT_DIR, "output-styles.json");
28711
+ }
28709
28712
  function getBubbleOrderPath(cwd, tabId) {
28710
28713
  return join4(getCockpitProjectDir(cwd), `terminal-bubble-order-${tabId}.json`);
28711
28714
  }
@@ -29064,13 +29067,13 @@ function appendRun(key, message) {
29064
29067
  r.updatedAt = Date.now();
29065
29068
  fanout(r, { seq: r.seq, message });
29066
29069
  }
29067
- function rekeyRun(oldId, newId) {
29070
+ function rekeyRun(oldId, newId2) {
29068
29071
  const r = registry.get(oldId);
29069
29072
  if (!r) return;
29070
- r.sessionId = newId;
29071
- if (oldId !== newId) {
29072
- r.keys.add(newId);
29073
- registry.set(newId, r);
29073
+ r.sessionId = newId2;
29074
+ if (oldId !== newId2) {
29075
+ r.keys.add(newId2);
29076
+ registry.set(newId2, r);
29074
29077
  }
29075
29078
  }
29076
29079
  function markRunIdle(key, status3 = "idle") {
@@ -31906,6 +31909,7 @@ function buildSessionLink(cwd, sessionId) {
31906
31909
  // packages/feature/agent/src/server/api/session/transcriptParsers.ts
31907
31910
  import * as fs from "fs";
31908
31911
  import * as readline from "readline";
31912
+ import { Readable } from "stream";
31909
31913
 
31910
31914
  // packages/feature/agent/src/shared/transcriptTurns.ts
31911
31915
  function injectionKind(msg) {
@@ -32609,13 +32613,13 @@ function codexItemBubble(item) {
32609
32613
  }
32610
32614
 
32611
32615
  // packages/feature/agent/src/server/api/session/transcriptParsers.ts
32616
+ function openTranscriptLines(source) {
32617
+ const input = typeof source === "string" ? fs.createReadStream(source) : Readable.from([source.text]);
32618
+ return readline.createInterface({ input, crlfDelay: Infinity });
32619
+ }
32612
32620
  async function parseTranscriptFile(filePath, page = {}) {
32613
32621
  const { limit, beforeTurnIndex, fromTurnIndex } = page;
32614
- const fileStream = fs.createReadStream(filePath);
32615
- const rl = readline.createInterface({
32616
- input: fileStream,
32617
- crlfDelay: Infinity
32618
- });
32622
+ const rl = openTranscriptLines(filePath);
32619
32623
  const rawMessages = [];
32620
32624
  let aiTitle = "";
32621
32625
  let summary5 = "";
@@ -32867,8 +32871,7 @@ function convertToChatMessages(rawMessages) {
32867
32871
  return chatMessages;
32868
32872
  }
32869
32873
  async function parseCodexTranscriptFile(filePath) {
32870
- const fileStream = fs.createReadStream(filePath);
32871
- const rl = readline.createInterface({ input: fileStream, crlfDelay: Infinity });
32874
+ const rl = openTranscriptLines(filePath);
32872
32875
  const messages = [];
32873
32876
  let currentAssistant = null;
32874
32877
  let title = "Untitled Session";
@@ -33610,13 +33613,15 @@ function mergeStashedTranscript(sessionPath) {
33610
33613
  replaceWithStash(stash, sessionPath);
33611
33614
  return "restored";
33612
33615
  }
33613
- const sessionId = basename3(sessionPath).replace(/\.jsonl$/, "");
33614
- const seam = tailUuid(history);
33615
- const merged = [...history, ...turn.map((line) => relinkAndRestamp(line, seam, sessionId))];
33616
- fs2.writeFileSync(sessionPath, merged.join("\n") + "\n", "utf-8");
33616
+ fs2.writeFileSync(sessionPath, spliceTurn(history, turn, sessionPath).join("\n") + "\n", "utf-8");
33617
33617
  fs2.unlinkSync(stash);
33618
33618
  return "merged";
33619
33619
  }
33620
+ function spliceTurn(history, turn, sessionPath) {
33621
+ const sessionId = basename3(sessionPath).replace(/\.jsonl$/, "");
33622
+ const seam = tailUuid(history);
33623
+ return [...history, ...turn.map((line) => relinkAndRestamp(line, seam, sessionId))];
33624
+ }
33620
33625
  function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33621
33626
  let repaired = 0;
33622
33627
  for (const root of roots3) {
@@ -33651,12 +33656,11 @@ function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33651
33656
  var PLAN_EDIT_TOOLS = /* @__PURE__ */ new Set(["Write", "Edit", "MultiEdit", "NotebookEdit"]);
33652
33657
  var isPlanFilePath = (p) => /(^|\/)\.claude\/plans\//.test(p);
33653
33658
  var CLAUDE_SDK_EFFORTS = /* @__PURE__ */ new Set(["low", "medium", "high", "xhigh", "max"]);
33654
- var CLAUDE_ULTRACODE_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8"]);
33655
- var CLAUDE_XHIGH_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5", "claude-opus-4-8", "claude-sonnet-5"]);
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"]);
33656
33661
  function resolveClaudeModel(ctx) {
33657
33662
  const model = typeof ctx.params.model === "string" && ctx.params.model.trim() ? ctx.params.model.trim() : void 0;
33658
- if (!model) return void 0;
33659
- return ctx.params.claudeContextWindow === "1m" ? `${model}[1m]` : model;
33663
+ return model || void 0;
33660
33664
  }
33661
33665
  function resolveClaudeEffort(ctx) {
33662
33666
  const model = typeof ctx.params.model === "string" ? ctx.params.model.trim() : "";
@@ -33706,6 +33710,7 @@ function planPermission(toolName, input, opts) {
33706
33710
  }
33707
33711
  return { behavior: "allow", updatedInput: input };
33708
33712
  }
33713
+ var SYSTEM_PROMPT_SNAPSHOT = false;
33709
33714
  var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
33710
33715
  function buildClaudeOptions(ctx, independent) {
33711
33716
  const { permissionMode } = ctx.params;
@@ -33724,6 +33729,25 @@ function buildClaudeOptions(ctx, independent) {
33724
33729
  ...model ? { model } : {},
33725
33730
  ...effort ? { effort } : {},
33726
33731
  ...settings ? { settings } : {},
33732
+ // System prompt: Claude Code's own preset, always. Omitting `systemPrompt` does NOT mean
33733
+ // "Claude Code's default" — the Agent SDK then sends an EMPTY custom prompt (sdk.mjs:
33734
+ // `systemPrompt === undefined → ""`), which is how sessions here ran without Claude Code's
33735
+ // instructions for a long time unnoticed.
33736
+ //
33737
+ // Output style rides on it as `append`, so selecting one adds a little text after the
33738
+ // preset instead of changing the base.
33739
+ //
33740
+ // `snapshot: false`: where system-prompt recording is enabled (a per-account rollout) the
33741
+ // SDK records the prompt on a session's first request and replays it on every resume. That
33742
+ // would ignore a style switched mid-session, and keep sessions recorded before this fix on
33743
+ // their empty prompt until compaction. Rendering per request behaves the same on every
33744
+ // account; an unchanged prompt renders byte-identical, so the prompt cache still hits.
33745
+ systemPrompt: {
33746
+ type: "preset",
33747
+ preset: "claude_code",
33748
+ ...ctx.outputStyle ? { append: ctx.outputStyle } : {},
33749
+ snapshot: SYSTEM_PROMPT_SNAPSHOT
33750
+ },
33727
33751
  settingSources: ["user", "project", "local"],
33728
33752
  // Permission mode: 'plan' (read-only) when requested, else skip all permission checks.
33729
33753
  permissionMode: isPlan ? "plan" : "bypassPermissions",
@@ -33788,7 +33812,15 @@ import { streamText as streamText2, stepCountIs } from "ai";
33788
33812
  import { randomUUID as randomUUID2 } from "crypto";
33789
33813
 
33790
33814
  // packages/feature/agent/src/server/engines/builtinAgent/prompt.ts
33791
- function buildSystemPrompt(cwd) {
33815
+ function buildSystemPrompt(cwd, outputStyle) {
33816
+ const base = buildBasePrompt(cwd);
33817
+ return outputStyle ? `${base}
33818
+
33819
+ ## Output style
33820
+
33821
+ ${outputStyle}` : base;
33822
+ }
33823
+ function buildBasePrompt(cwd) {
33792
33824
  return `You are a coding agent. You help the user build and modify software using the provided tools.
33793
33825
 
33794
33826
  CWD: ${cwd}
@@ -48357,7 +48389,7 @@ async function runBuiltinAgent(ctx, config3) {
48357
48389
  const languageModel = await config3.createModel(model);
48358
48390
  const result = streamText2({
48359
48391
  model: languageModel,
48360
- system: buildSystemPrompt(cwd),
48392
+ system: buildSystemPrompt(cwd, ctx.outputStyle),
48361
48393
  messages,
48362
48394
  tools: createTools(context7),
48363
48395
  stopWhen: stepCountIs(256),
@@ -49159,7 +49191,7 @@ var CodexEventShim = class {
49159
49191
 
49160
49192
  // packages/feature/agent/src/server/engines/codex.ts
49161
49193
  import { randomUUID as randomUUID3 } from "crypto";
49162
- import { writeFileSync as writeFileSync5, unlinkSync as unlinkSync4, mkdirSync as mkdirSync5, existsSync as existsSync6, statSync as statSync4, openSync as openSync2, readSync as readSync2, closeSync as closeSync2 } from "fs";
49194
+ 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";
49163
49195
  import { StringDecoder as StringDecoder2 } from "string_decoder";
49164
49196
  import { join as join13 } from "path";
49165
49197
  import { tmpdir as tmpdir2 } from "os";
@@ -49224,8 +49256,7 @@ function mergeStashedCodexRollout(sessionPath) {
49224
49256
  const stash = codexNoHistoryStashPath(sessionPath);
49225
49257
  if (!fs3.existsSync(stash)) return "none";
49226
49258
  const history = readLines3(stash);
49227
- const turn = fs3.existsSync(sessionPath) ? readLines3(sessionPath) : [];
49228
- const turnLines = turn[0] && isSessionMeta(turn[0]) ? turn.slice(1) : turn;
49259
+ const turnLines = withoutStubMeta(fs3.existsSync(sessionPath) ? readLines3(sessionPath) : []);
49229
49260
  if (turnLines.length === 0) {
49230
49261
  replaceWithStash2(stash, sessionPath);
49231
49262
  return "restored";
@@ -49238,6 +49269,9 @@ function mergeStashedCodexRollout(sessionPath) {
49238
49269
  fs3.unlinkSync(stash);
49239
49270
  return "merged";
49240
49271
  }
49272
+ function withoutStubMeta(turn) {
49273
+ return turn[0] && isSessionMeta(turn[0]) ? turn.slice(1) : turn;
49274
+ }
49241
49275
  function recoverStashedCodexRollouts(root = CODEX_SESSIONS_DIR) {
49242
49276
  if (!fs3.existsSync(root)) return 0;
49243
49277
  let repaired = 0;
@@ -49266,6 +49300,102 @@ function recoverStashedCodexRollouts(root = CODEX_SESSIONS_DIR) {
49266
49300
  return repaired;
49267
49301
  }
49268
49302
 
49303
+ // packages/feature/agent/src/server/engines/shared/codexOutputStyle.ts
49304
+ import * as fs4 from "fs";
49305
+ var OPEN = "<cockpit_output_style>";
49306
+ var CLOSE = "</cockpit_output_style>";
49307
+ function wrapCodexOutputStyle(style) {
49308
+ return `${OPEN}
49309
+ ${style}
49310
+ ${CLOSE}`;
49311
+ }
49312
+ var isOurs = (item) => typeof item?.text === "string" && item.text.startsWith(OPEN);
49313
+ function rewriteContent(content, desired) {
49314
+ let found = false;
49315
+ let changed = false;
49316
+ const next4 = [];
49317
+ for (const item of content) {
49318
+ if (!isOurs(item)) {
49319
+ next4.push(item);
49320
+ continue;
49321
+ }
49322
+ found = true;
49323
+ if (desired === void 0) {
49324
+ changed = true;
49325
+ continue;
49326
+ }
49327
+ if (item.text !== desired) changed = true;
49328
+ next4.push({ ...item, text: desired });
49329
+ }
49330
+ return [next4, changed, found];
49331
+ }
49332
+ function eachDeveloperContent(value, visit) {
49333
+ if (!value || typeof value !== "object") return;
49334
+ if (Array.isArray(value)) {
49335
+ for (const v of value) eachDeveloperContent(v, visit);
49336
+ return;
49337
+ }
49338
+ const obj = value;
49339
+ if (obj.type === "message" && obj.role === "developer" && Array.isArray(obj.content)) {
49340
+ visit(obj);
49341
+ return;
49342
+ }
49343
+ for (const v of Object.values(obj)) eachDeveloperContent(v, visit);
49344
+ }
49345
+ var isFirstDeveloperMessage = (entry) => entry.type === "response_item" && entry.payload?.type === "message" && entry.payload?.role === "developer" && Array.isArray(entry.payload?.content);
49346
+ function syncCodexOutputStyle(sessionPath, style) {
49347
+ const desired = style ? wrapCodexOutputStyle(style) : void 0;
49348
+ const raw = fs4.readFileSync(sessionPath, "utf-8");
49349
+ const lines = raw.split("\n");
49350
+ let found = false;
49351
+ let changed = false;
49352
+ let firstDeveloperLine = -1;
49353
+ for (let i = 0; i < lines.length; i++) {
49354
+ const line = lines[i];
49355
+ const marked = line.includes(OPEN);
49356
+ if (!marked && (firstDeveloperLine >= 0 || !line.includes('"developer"'))) continue;
49357
+ let entry;
49358
+ try {
49359
+ entry = JSON.parse(line);
49360
+ } catch {
49361
+ continue;
49362
+ }
49363
+ if (firstDeveloperLine < 0 && isFirstDeveloperMessage(entry)) firstDeveloperLine = i;
49364
+ if (!marked) continue;
49365
+ let lineChanged = false;
49366
+ eachDeveloperContent(entry, (msg) => {
49367
+ const [next4, c, f] = rewriteContent(msg.content, desired);
49368
+ if (f) found = true;
49369
+ if (c) {
49370
+ msg.content = next4;
49371
+ lineChanged = true;
49372
+ }
49373
+ });
49374
+ if (lineChanged) {
49375
+ lines[i] = JSON.stringify(entry);
49376
+ changed = true;
49377
+ }
49378
+ }
49379
+ let result;
49380
+ if (found) {
49381
+ result = !changed ? "unchanged" : desired === void 0 ? "removed" : "updated";
49382
+ } else if (desired === void 0) {
49383
+ return "unchanged";
49384
+ } else if (firstDeveloperLine < 0) {
49385
+ return "no-anchor";
49386
+ } else {
49387
+ const entry = JSON.parse(lines[firstDeveloperLine]);
49388
+ entry.payload.content = [{ type: "input_text", text: desired }, ...entry.payload.content];
49389
+ lines[firstDeveloperLine] = JSON.stringify(entry);
49390
+ result = "inserted";
49391
+ }
49392
+ if (result === "unchanged") return result;
49393
+ const tmp = `${sessionPath}.output-style.tmp`;
49394
+ fs4.writeFileSync(tmp, lines.join("\n"), "utf-8");
49395
+ fs4.renameSync(tmp, sessionPath);
49396
+ return result;
49397
+ }
49398
+
49269
49399
  // packages/feature/agent/src/server/engines/codex.ts
49270
49400
  var MEDIA_EXT = {
49271
49401
  "image/png": ".png",
@@ -49279,7 +49409,7 @@ function writeImagesToTemp(images) {
49279
49409
  return images.map((img, i) => {
49280
49410
  const ext = MEDIA_EXT[img.media_type] || ".png";
49281
49411
  const filePath = join13(dir, `img-${Date.now()}-${i}${ext}`);
49282
- writeFileSync5(filePath, Buffer.from(img.data, "base64"));
49412
+ writeFileSync6(filePath, Buffer.from(img.data, "base64"));
49283
49413
  return filePath;
49284
49414
  });
49285
49415
  }
@@ -49620,12 +49750,17 @@ function codexThreadParams(ctx) {
49620
49750
  ...effort ? { effort } : {},
49621
49751
  ...ctx.cwd ? { cwd: ctx.cwd } : {},
49622
49752
  sandbox: "danger-full-access",
49623
- approvalPolicy: "never"
49753
+ approvalPolicy: "never",
49754
+ // Output style. `developerInstructions` is appended to Codex's own instructions
49755
+ // (`baseInstructions` would REPLACE them), but only on `thread/start` — resume ignores
49756
+ // it. Mid-session switches are applied to the rollout instead (codexSpec.run →
49757
+ // syncCodexOutputStyle). Wrapped in a marker so that sync can find it again. Still sent
49758
+ // on resume: harmless, and the resume-failure fallback's thread/start reuses these params.
49759
+ ...ctx.outputStyle ? { developerInstructions: wrapCodexOutputStyle(ctx.outputStyle) } : {}
49624
49760
  };
49625
49761
  }
49626
49762
  function resolveCodexReasoningEffort(value) {
49627
49763
  switch (value) {
49628
- case "minimal":
49629
49764
  case "low":
49630
49765
  case "medium":
49631
49766
  case "high":
@@ -49767,11 +49902,18 @@ var codexSpec = {
49767
49902
  // No preflight: the orchestrator's own "prompt or images" check is sufficient.
49768
49903
  runner: {
49769
49904
  async run(ctx) {
49905
+ const sessionPath = ctx.sessionId ? findCodexSessionPath(ctx.sessionId) : null;
49906
+ if (sessionPath) {
49907
+ try {
49908
+ syncCodexOutputStyle(sessionPath, ctx.outputStyle);
49909
+ } catch (err) {
49910
+ console.warn(`[codex] output style sync failed for ${sessionPath}: ${String(err)}`);
49911
+ }
49912
+ }
49770
49913
  if (ctx.params.noHistory !== true || !ctx.sessionId) {
49771
49914
  await runCodexAppServer(ctx);
49772
49915
  return;
49773
49916
  }
49774
- const sessionPath = findCodexSessionPath(ctx.sessionId);
49775
49917
  const stashed = sessionPath ? stashCodexRollout(sessionPath) : false;
49776
49918
  try {
49777
49919
  await runCodexAppServer(ctx);
@@ -49797,22 +49939,22 @@ function getEngineSpec(engine) {
49797
49939
  }
49798
49940
 
49799
49941
  // packages/feature/agent/src/server/api/session/sessionStore.ts
49800
- import * as fs4 from "fs";
49942
+ import * as fs5 from "fs";
49801
49943
  function resolveSessionPath(cwd, sessionId) {
49802
49944
  const sessionPath = getClaudeSessionPath(cwd, sessionId);
49803
- if (fs4.existsSync(sessionPath)) {
49945
+ if (fs5.existsSync(sessionPath)) {
49804
49946
  return { sessionPath, engine: "claude" };
49805
49947
  }
49806
49948
  const deepseekPath = getDeepseekBuiltinSessionPath(cwd, sessionId);
49807
- if (fs4.existsSync(deepseekPath)) {
49949
+ if (fs5.existsSync(deepseekPath)) {
49808
49950
  return { sessionPath: deepseekPath, engine: "deepseek" };
49809
49951
  }
49810
49952
  const kimiPath = getKimiBuiltinSessionPath(cwd, sessionId);
49811
- if (fs4.existsSync(kimiPath)) {
49953
+ if (fs5.existsSync(kimiPath)) {
49812
49954
  return { sessionPath: kimiPath, engine: "kimi" };
49813
49955
  }
49814
49956
  const glmPath = getGlmBuiltinSessionPath(cwd, sessionId);
49815
- if (fs4.existsSync(glmPath)) {
49957
+ if (fs5.existsSync(glmPath)) {
49816
49958
  return { sessionPath: glmPath, engine: "glm" };
49817
49959
  }
49818
49960
  const codexPath = findCodexSessionPath(sessionId);
@@ -49820,7 +49962,7 @@ function resolveSessionPath(cwd, sessionId) {
49820
49962
  return { sessionPath: codexPath, engine: "codex" };
49821
49963
  }
49822
49964
  const ollamaPath = getOllamaSessionPath(cwd, sessionId);
49823
- if (fs4.existsSync(ollamaPath)) {
49965
+ if (fs5.existsSync(ollamaPath)) {
49824
49966
  return { sessionPath: ollamaPath, engine: "ollama" };
49825
49967
  }
49826
49968
  return null;
@@ -50104,7 +50246,7 @@ var DelegationServiceLive = Layer_exports.effect(
50104
50246
 
50105
50247
  // packages/feature/agent/src/effect/botRegistryLive.ts
50106
50248
  import { randomUUID as randomUUID5 } from "crypto";
50107
- import { readFileSync as readFileSync7, realpathSync as realpathSync3 } from "fs";
50249
+ import { readFileSync as readFileSync8, realpathSync as realpathSync3 } from "fs";
50108
50250
  import path3 from "path";
50109
50251
 
50110
50252
  // packages/feature/agent/src/shared/bots.ts
@@ -50157,14 +50299,14 @@ import {
50157
50299
  cpSync,
50158
50300
  existsSync as existsSync8,
50159
50301
  mkdirSync as mkdirSync6,
50160
- readFileSync as readFileSync6,
50302
+ readFileSync as readFileSync7,
50161
50303
  readdirSync as readdirSync4,
50162
50304
  realpathSync as realpathSync2,
50163
- renameSync as renameSync4,
50305
+ renameSync as renameSync5,
50164
50306
  rmdirSync,
50165
50307
  rmSync,
50166
50308
  statSync as statSync5,
50167
- writeFileSync as writeFileSync6
50309
+ writeFileSync as writeFileSync7
50168
50310
  } from "fs";
50169
50311
  import path2, { join as join14 } from "path";
50170
50312
  var BUILTIN_BOT_ID_PREFIX = "builtin:";
@@ -50182,7 +50324,7 @@ var hasManifest = (dir) => {
50182
50324
  var INSTALL_STATE_FILE = join14(BOTS_DIR, ".builtin-installs.json");
50183
50325
  var readInstallState = () => {
50184
50326
  try {
50185
- const raw = JSON.parse(readFileSync6(INSTALL_STATE_FILE, "utf-8"));
50327
+ const raw = JSON.parse(readFileSync7(INSTALL_STATE_FILE, "utf-8"));
50186
50328
  return raw && typeof raw === "object" && !Array.isArray(raw) ? raw : {};
50187
50329
  } catch {
50188
50330
  return {};
@@ -50192,14 +50334,14 @@ var writeInstallState = (state) => {
50192
50334
  try {
50193
50335
  mkdirSync6(BOTS_DIR, { recursive: true });
50194
50336
  const tmp = `${INSTALL_STATE_FILE}.${process.pid}.tmp`;
50195
- writeFileSync6(tmp, `${JSON.stringify(state, null, 2)}
50337
+ writeFileSync7(tmp, `${JSON.stringify(state, null, 2)}
50196
50338
  `);
50197
- renameSync4(tmp, INSTALL_STATE_FILE);
50339
+ renameSync5(tmp, INSTALL_STATE_FILE);
50198
50340
  } catch (err) {
50199
50341
  console.error(`[bots] cannot record builtin Bot installs in ${INSTALL_STATE_FILE}:`, err);
50200
50342
  }
50201
50343
  };
50202
- var hashFile = (file2) => createHash2("sha256").update(readFileSync6(file2)).digest("hex");
50344
+ var hashFile = (file2) => createHash2("sha256").update(readFileSync7(file2)).digest("hex");
50203
50345
  function fileHashes(dir) {
50204
50346
  const out = /* @__PURE__ */ new Map();
50205
50347
  const walk = (rel) => {
@@ -50222,15 +50364,15 @@ function swapIn(staging, dest) {
50222
50364
  let moved = false;
50223
50365
  try {
50224
50366
  try {
50225
- renameSync4(dest, retired);
50367
+ renameSync5(dest, retired);
50226
50368
  moved = true;
50227
50369
  } catch (err) {
50228
50370
  if (err?.code !== "ENOENT") throw err;
50229
50371
  }
50230
- renameSync4(staging, dest);
50372
+ renameSync5(staging, dest);
50231
50373
  if (moved) rmSync(retired, { recursive: true, force: true });
50232
50374
  } catch (err) {
50233
- if (moved && !existsSync8(dest)) renameSync4(retired, dest);
50375
+ if (moved && !existsSync8(dest)) renameSync5(retired, dest);
50234
50376
  throw err;
50235
50377
  } finally {
50236
50378
  rmSync(staging, { recursive: true, force: true });
@@ -50324,7 +50466,7 @@ function syncBuiltinBot(name, state) {
50324
50466
  var messageOf2 = (cause3) => cause3 instanceof Error ? cause3.message : String(cause3);
50325
50467
  function parseManifestIn(dir) {
50326
50468
  try {
50327
- const content = readFileSync6(join14(dir, BOT_MANIFEST_FILE), "utf-8");
50469
+ const content = readFileSync7(join14(dir, BOT_MANIFEST_FILE), "utf-8");
50328
50470
  return { ok: true, ...parseBotDocument(path2, content, dir) };
50329
50471
  } catch (err) {
50330
50472
  return { ok: false, error: messageOf2(err) };
@@ -50401,7 +50543,7 @@ function findBuiltinBotByPath(dir) {
50401
50543
  // packages/feature/agent/src/effect/botRegistryLive.ts
50402
50544
  var EMPTY_REGISTRY = { bots: [] };
50403
50545
  var readRegistry = () => readJsonFileForUpdate(BOTS_FILE, EMPTY_REGISTRY);
50404
- var readManifest = (manifestPath) => readFileSync7(manifestPath, "utf8");
50546
+ var readManifest = (manifestPath) => readFileSync8(manifestPath, "utf8");
50405
50547
  var resolveRegisteredBots = (registry3) => registry3.bots.map((record2) => resolveBot(path3, record2, readManifest));
50406
50548
  var invalidPath = (reason) => new ValidationError({ field: "path", reason });
50407
50549
  var fsReason = (what, target, cause3) => {
@@ -50622,11 +50764,11 @@ function snapshotOnRunEvent(cwd, sessionKey, provider, event) {
50622
50764
  }
50623
50765
 
50624
50766
  // packages/feature/agent/src/server/lib/slashCommands.ts
50625
- import { mkdirSync as mkdirSync7, writeFileSync as writeFileSync7, readFileSync as readFileSync9 } from "fs";
50767
+ import { mkdirSync as mkdirSync7, writeFileSync as writeFileSync8, readFileSync as readFileSync10 } from "fs";
50626
50768
  import path4, { join as join16 } from "path";
50627
50769
 
50628
50770
  // packages/feature/agent/src/server/lib/builtinSkills.ts
50629
- import { readFileSync as readFileSync8, readdirSync as readdirSync5, statSync as statSync6 } from "fs";
50771
+ import { readFileSync as readFileSync9, readdirSync as readdirSync5, statSync as statSync6 } from "fs";
50630
50772
  import { join as join15 } from "path";
50631
50773
  function listBuiltinSkillNames() {
50632
50774
  let entries2;
@@ -50659,14 +50801,14 @@ function listBuiltinSkillExtras(name) {
50659
50801
  }
50660
50802
  function readBuiltinSkillExtra(name, file2) {
50661
50803
  try {
50662
- return readFileSync8(join15(BUILTIN_SKILLS_SRC_DIR, name, file2), "utf-8");
50804
+ return readFileSync9(join15(BUILTIN_SKILLS_SRC_DIR, name, file2), "utf-8");
50663
50805
  } catch {
50664
50806
  return null;
50665
50807
  }
50666
50808
  }
50667
50809
  function readBuiltinSkill(name) {
50668
50810
  try {
50669
- return readFileSync8(builtinSkillPath(name), "utf-8");
50811
+ return readFileSync9(builtinSkillPath(name), "utf-8");
50670
50812
  } catch {
50671
50813
  return null;
50672
50814
  }
@@ -50800,16 +50942,15 @@ ${unresolved.map((u) => `- ${u}`).join("\n")}`;
50800
50942
  }
50801
50943
  function renderCommandLine(mainSession, ref, body, lang, showLocus) {
50802
50944
  if (ref.path) {
50803
- const tag = showLocus ? `[${locusWord(mainSession, lang)}\xB7${ref.name}]` : `[${ref.name}]`;
50945
+ const tag = showLocus ? `[${locusWord(mainSession)}\xB7${ref.name}]` : `[${ref.name}]`;
50804
50946
  return body ? `${tag} ${body}` : tag;
50805
50947
  }
50806
- const locus = showLocus ? `[${locusWord(mainSession, lang)}] ` : "";
50948
+ const locus = showLocus ? `[${locusWord(mainSession)}] ` : "";
50807
50949
  const then = body ? lang === "zh" ? `\uFF0C\u7136\u540E\uFF1A${body}` : `, then: ${body}` : "";
50808
50950
  return `${locus}${ref.content ?? ""}${then}`;
50809
50951
  }
50810
- function locusWord(mainSession, lang) {
50811
- if (!mainSession) return "subagent";
50812
- return lang === "zh" ? "\u4E3B\u4F1A\u8BDD" : "main session";
50952
+ function locusWord(mainSession) {
50953
+ return mainSession ? "main" : "subagent";
50813
50954
  }
50814
50955
  function isLocalBotDir(cwd, manifestPath) {
50815
50956
  if (!cwd || !path4.isAbsolute(cwd)) return false;
@@ -50830,7 +50971,7 @@ function resolveSkillRef(cmd, baseUrl, userSkills) {
50830
50971
  }
50831
50972
  function listUserSkills() {
50832
50973
  try {
50833
- const data = JSON.parse(readFileSync9(SKILLS_FILE, "utf-8"));
50974
+ const data = JSON.parse(readFileSync10(SKILLS_FILE, "utf-8"));
50834
50975
  const out = [];
50835
50976
  for (const s of data.skills ?? []) {
50836
50977
  const name = readSkillName(s.path);
@@ -50846,13 +50987,13 @@ function listRegisteredBots() {
50846
50987
  const withBuiltins = (registered) => mentionableBots(path4, [...builtins, ...registered]);
50847
50988
  let raw;
50848
50989
  try {
50849
- raw = readFileSync9(BOTS_FILE, "utf-8");
50990
+ raw = readFileSync10(BOTS_FILE, "utf-8");
50850
50991
  } catch {
50851
50992
  return { bots: withBuiltins([]), corrupt: false };
50852
50993
  }
50853
50994
  try {
50854
50995
  const data = JSON.parse(raw);
50855
- const read = (manifest) => readFileSync9(manifest, "utf-8");
50996
+ const read = (manifest) => readFileSync10(manifest, "utf-8");
50856
50997
  return { bots: withBuiltins((data.bots ?? []).map((r) => resolveBot(path4, r, read))), corrupt: false };
50857
50998
  } catch (err) {
50858
50999
  console.error(`[skills] ${BOTS_FILE} does not parse \u2014 every registered @bot line is left as plain text:`, err);
@@ -50861,7 +51002,7 @@ function listRegisteredBots() {
50861
51002
  }
50862
51003
  function readSkillName(path5) {
50863
51004
  try {
50864
- return readFrontmatterField(readFileSync9(path5, "utf-8"), "name");
51005
+ return readFrontmatterField(readFileSync10(path5, "utf-8"), "name");
50865
51006
  } catch {
50866
51007
  return null;
50867
51008
  }
@@ -50871,13 +51012,13 @@ function writeBuiltinSkill(cmd, content, baseUrl) {
50871
51012
  const dir = join16(BUILTIN_SKILLS_OUT_DIR, cmd);
50872
51013
  mkdirSync7(dir, { recursive: true });
50873
51014
  const filePath = join16(dir, "SKILL.md");
50874
- writeFileSync7(filePath, content.endsWith("\n") ? content : `${content}
51015
+ writeFileSync8(filePath, content.endsWith("\n") ? content : `${content}
50875
51016
  `, "utf-8");
50876
51017
  for (const file2 of listBuiltinSkillExtras(cmd)) {
50877
51018
  const extra = readBuiltinSkillExtra(cmd, file2);
50878
51019
  if (extra === null) continue;
50879
51020
  try {
50880
- writeFileSync7(join16(dir, file2), substitute(extra, baseUrl), "utf-8");
51021
+ writeFileSync8(join16(dir, file2), substitute(extra, baseUrl), "utf-8");
50881
51022
  } catch (err) {
50882
51023
  console.error(`[skills] builtin "${cmd}": cannot write reference file ${file2}:`, err);
50883
51024
  }
@@ -50893,6 +51034,45 @@ function substitute(text, baseUrl) {
50893
51034
 
50894
51035
  // packages/feature/agent/src/server/engines/orchestrator.ts
50895
51036
  import { randomUUID as randomUUID6 } from "crypto";
51037
+
51038
+ // packages/feature/agent/src/server/lib/outputStyles.ts
51039
+ var MAX_OUTPUT_STYLE_LENGTH = 8e3;
51040
+ var MAX_OUTPUT_STYLE_NAME_LENGTH = 60;
51041
+ var newId = () => Math.random().toString(36).slice(2, 10);
51042
+ function normalizeOutputStyles(raw) {
51043
+ if (!Array.isArray(raw)) return [];
51044
+ const usedIds = /* @__PURE__ */ new Set();
51045
+ const seenNames = /* @__PURE__ */ new Set();
51046
+ const out = [];
51047
+ for (const entry of raw) {
51048
+ if (!entry || typeof entry !== "object") continue;
51049
+ const e = entry;
51050
+ const name = typeof e.name === "string" ? e.name.trim().slice(0, MAX_OUTPUT_STYLE_NAME_LENGTH) : "";
51051
+ const content = typeof e.content === "string" ? e.content.trim().slice(0, MAX_OUTPUT_STYLE_LENGTH) : "";
51052
+ if (!name || !content || seenNames.has(name)) continue;
51053
+ seenNames.add(name);
51054
+ let id3 = typeof e.id === "string" ? e.id : "";
51055
+ while (!id3 || usedIds.has(id3)) id3 = newId();
51056
+ usedIds.add(id3);
51057
+ out.push({ id: id3, name, content });
51058
+ }
51059
+ return out;
51060
+ }
51061
+ async function readOutputStyles() {
51062
+ const data = await readJsonFile(getGlobalOutputStylesConfigPath(), {});
51063
+ return normalizeOutputStyles(data.styles);
51064
+ }
51065
+ async function resolveOutputStyleText(id3) {
51066
+ if (typeof id3 !== "string" || !id3) return void 0;
51067
+ try {
51068
+ return (await readOutputStyles()).find((s) => s.id === id3)?.content;
51069
+ } catch (err) {
51070
+ console.warn(`[output-styles] failed to read styles, running without one: ${String(err)}`);
51071
+ return void 0;
51072
+ }
51073
+ }
51074
+
51075
+ // packages/feature/agent/src/server/engines/orchestrator.ts
50896
51076
  async function dispatchChat2(spec, body, request2) {
50897
51077
  const { sessionId, images, cwd, language } = body;
50898
51078
  if (sessionId && isRunActive(sessionId)) {
@@ -50909,6 +51089,7 @@ async function dispatchChat2(spec, body, request2) {
50909
51089
  if (!pre.ok) return pre;
50910
51090
  }
50911
51091
  const promptText = typeof prompt === "string" ? prompt : void 0;
51092
+ const outputStyle = await resolveOutputStyleText(body.outputStyleId);
50912
51093
  const abort = new AbortController();
50913
51094
  const runId = typeof body.runId === "string" && body.runId || randomUUID6();
50914
51095
  let currentKey = sessionId || runId;
@@ -50932,6 +51113,7 @@ async function dispatchChat2(spec, body, request2) {
50932
51113
  cwd: cwd || "",
50933
51114
  sessionId,
50934
51115
  params: body,
51116
+ outputStyle,
50935
51117
  signal: abort.signal,
50936
51118
  emit(event) {
50937
51119
  if (isClosed) return;
@@ -50998,6 +51180,8 @@ export {
50998
51180
  ValidationError,
50999
51181
  NotFoundError,
51000
51182
  errorToStatus,
51183
+ COCKPIT_DIR,
51184
+ COCKPIT_PROJECTS_DIR,
51001
51185
  GLOBAL_STATE_FILE,
51002
51186
  SCHEDULED_TASKS_FILE,
51003
51187
  REVIEW_DIR,
package/dist/httpApi.mjs CHANGED
@@ -2,6 +2,7 @@ import {
2
2
  CONSOLE_TAB_ID,
3
3
  addExitListener,
4
4
  addOutputListener,
5
+ adoptPtyHostSessions,
5
6
  closeBrowserBubble,
6
7
  createPendingRequest,
7
8
  findBrowserBubbleByShortId,
@@ -24,13 +25,14 @@ import {
24
25
  resolveProjectCwd,
25
26
  sendCommandToBrowser,
26
27
  stripAnsi,
28
+ sweepOrphanTerminalOutputs,
27
29
  unregisterBrowser,
28
30
  unregisterTerminal,
29
31
  writeStdinToCommand
30
- } from "./chunk-5ZXPIG4Z.mjs";
32
+ } from "./chunk-MXOJBOL4.mjs";
31
33
  import {
32
34
  getTerminalHistoryPath
33
- } from "./chunk-SGVT4QFB.mjs";
35
+ } from "./chunk-XMGMMEZI.mjs";
34
36
  import "./chunk-7P6ASYW6.mjs";
35
37
 
36
38
  // src/lib/httpApi.ts
@@ -609,8 +611,10 @@ async function handleConnectionApi(req, res) {
609
611
  return true;
610
612
  }
611
613
  export {
614
+ adoptPtyHostSessions,
612
615
  flushAllRunningSync,
613
616
  handleBrowserApi,
614
617
  handleConnectionApi,
615
- handleTerminalApi
618
+ handleTerminalApi,
619
+ sweepOrphanTerminalOutputs
616
620
  };