@surething/cockpit 1.0.277 → 1.0.278

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 (700) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +6 -5
  3. package/.next-prod/build-manifest.json +2 -2
  4. package/.next-prod/cockpit-build.json +1 -1
  5. package/.next-prod/prerender-manifest.json +3 -3
  6. package/.next-prod/routes-manifest.json +6 -0
  7. package/.next-prod/server/app/_global-error/page.js +2 -2
  8. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next-prod/server/app/_global-error.html +1 -1
  11. package/.next-prod/server/app/_global-error.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_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/git/blob/route.js +1 -1
  107. package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
  108. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  109. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  110. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  111. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  112. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  113. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  114. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  115. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  116. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  117. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  118. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  119. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  120. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  121. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  122. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  123. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  124. package/.next-prod/server/app/api/git/status/route.js +1 -1
  125. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  126. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  127. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  128. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  129. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  130. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  131. package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
  132. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  133. package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
  134. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  135. package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
  136. package/.next-prod/server/app/api/global-state/route.js +1 -1
  137. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  138. package/.next-prod/server/app/api/health/route.js +1 -1
  139. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  140. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  141. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  142. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  143. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  144. package/.next-prod/server/app/api/instructions/config/route.js +1 -1
  145. package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
  146. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  147. package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
  148. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  149. package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
  150. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  151. package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
  152. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  153. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  154. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  155. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  156. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  157. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  158. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  159. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  160. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  161. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  162. package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
  163. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  164. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  165. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  166. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  167. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  168. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  169. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  170. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  171. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  172. package/.next-prod/server/app/api/mysql/schemas/route.js +1 -1
  173. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  174. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  175. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  176. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  177. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  178. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  179. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  180. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  181. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  182. package/.next-prod/server/app/api/note/route.js +1 -1
  183. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  184. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  185. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  186. package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
  187. package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -1
  188. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  189. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  190. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  191. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  192. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  193. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  194. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  195. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  196. package/.next-prod/server/app/api/output-styles/config/route.js +1 -0
  197. package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -0
  198. package/.next-prod/server/app/api/output-styles/config/route_client-reference-manifest.js +1 -0
  199. package/.next-prod/server/app/api/pick-folder/route.js +1 -1
  200. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
  201. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  202. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  203. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  204. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  205. package/.next-prod/server/app/api/project-state/route.js +2 -2
  206. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  207. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  208. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  209. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  210. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  211. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  212. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  213. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  214. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  215. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  216. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  217. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  218. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  219. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  220. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  221. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  222. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  223. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  224. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  225. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  226. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  227. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  228. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  229. package/.next-prod/server/app/api/projects/route.js +1 -1
  230. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  231. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  232. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  233. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  234. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  235. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  236. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  237. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  238. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  239. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  240. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  241. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  242. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  243. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  244. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  245. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  246. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  247. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  248. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  249. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  250. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  251. package/.next-prod/server/app/api/restart/route.js +1 -1
  252. package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
  253. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  254. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  255. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  256. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  257. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  258. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  259. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  260. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  261. package/.next-prod/server/app/api/review/order/route.js +1 -1
  262. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  263. package/.next-prod/server/app/api/review/route.js +1 -1
  264. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  265. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  266. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  267. package/.next-prod/server/app/api/review/users/route.js +1 -1
  268. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  269. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  270. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  271. package/.next-prod/server/app/api/services/config/route.js +1 -1
  272. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  273. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  274. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  275. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  276. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  277. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  278. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  279. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  280. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
  281. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  282. package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
  283. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  284. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  285. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  286. package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
  287. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  288. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  289. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  290. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  291. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  292. package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
  293. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  294. package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
  295. package/.next-prod/server/app/api/settings/route.js +1 -1
  296. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  297. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  298. package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
  299. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  300. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  301. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  302. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  303. package/.next-prod/server/app/api/skills/route.js +1 -1
  304. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  305. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  306. package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
  307. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  308. package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
  309. package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
  310. package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -1
  311. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  312. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  313. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  314. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  315. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  316. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  317. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  318. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  319. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  320. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  321. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  322. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  323. package/.next-prod/server/app/api/update/route.js +1 -1
  324. package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
  325. package/.next-prod/server/app/api/update-state/route.js +1 -1
  326. package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
  327. package/.next-prod/server/app/api/version/route.js +1 -1
  328. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  329. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  330. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  331. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  332. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  333. package/.next-prod/server/app/m/page.js +1 -1
  334. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  335. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  336. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  337. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  338. package/.next-prod/server/app/page.js +1 -1
  339. package/.next-prod/server/app/page.js.nft.json +1 -1
  340. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  341. package/.next-prod/server/app/project/page.js +1 -1
  342. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  343. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  344. package/.next-prod/server/app/review/[id]/page.js +1 -1
  345. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  346. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  347. package/.next-prod/server/app-paths-manifest.json +6 -5
  348. package/.next-prod/server/chunks/2493.js +23 -17
  349. package/.next-prod/server/chunks/4949.js +1 -1
  350. package/.next-prod/server/chunks/{8131.js → 5591.js} +4 -4
  351. package/.next-prod/server/chunks/6495.js +1 -1
  352. package/.next-prod/server/chunks/6548.js +1 -1
  353. package/.next-prod/server/chunks/7438.js +12 -11
  354. package/.next-prod/server/functions-config-manifest.json +1 -0
  355. package/.next-prod/server/middleware-build-manifest.js +1 -1
  356. package/.next-prod/server/pages/404.html +2 -2
  357. package/.next-prod/server/pages/500.html +1 -1
  358. package/.next-prod/server/server-reference-manifest.json +1 -1
  359. package/.next-prod/static/I8gbcTQRiRdMF09goE7WI/_buildManifest.js +1 -0
  360. package/.next-prod/static/chunks/{99365-c697e983b9728d08.js → 21829-993d9bfd63c1ee9e.js} +2 -2
  361. package/.next-prod/static/chunks/60875-acaae14dd7ddcd91.js +35 -0
  362. package/.next-prod/static/chunks/95313-eb607273c688b022.js +17 -0
  363. package/.next-prod/static/chunks/99092-f94ee242866d22b9.js +716 -0
  364. package/.next-prod/static/chunks/app/_global-error/{page-6ac899b2cd280c12.js → page-b3c86dd8f06140fe.js} +1 -1
  365. package/.next-prod/static/chunks/app/api/agent/test/{route-6ac899b2cd280c12.js → route-b3c86dd8f06140fe.js} +1 -1
  366. package/.next-prod/static/chunks/app/api/bash/{route-6ac899b2cd280c12.js → route-b3c86dd8f06140fe.js} +1 -1
  367. package/.next-prod/static/chunks/app/api/bots/[id]/{route-6ac899b2cd280c12.js → route-b3c86dd8f06140fe.js} +1 -1
  368. package/.next-prod/static/chunks/app/api/bots/route-b3c86dd8f06140fe.js +1 -0
  369. package/.next-prod/static/chunks/app/api/chat/codex/route-b3c86dd8f06140fe.js +1 -0
  370. package/.next-prod/static/chunks/app/api/chat/deepseek/route-b3c86dd8f06140fe.js +1 -0
  371. package/.next-prod/static/chunks/app/api/chat/glm/route-b3c86dd8f06140fe.js +1 -0
  372. package/.next-prod/static/chunks/app/api/chat/kimi/route-b3c86dd8f06140fe.js +1 -0
  373. package/.next-prod/static/chunks/app/api/chat/ollama/route-b3c86dd8f06140fe.js +1 -0
  374. package/.next-prod/static/chunks/app/api/chat/route-b3c86dd8f06140fe.js +1 -0
  375. package/.next-prod/static/chunks/app/api/chat/stop/route-b3c86dd8f06140fe.js +1 -0
  376. package/.next-prod/static/chunks/app/api/claude-stats/route-b3c86dd8f06140fe.js +1 -0
  377. package/.next-prod/static/chunks/app/api/commands/route-b3c86dd8f06140fe.js +1 -0
  378. package/.next-prod/static/chunks/app/api/comments/route-b3c86dd8f06140fe.js +1 -0
  379. package/.next-prod/static/chunks/app/api/db/columns/route-b3c86dd8f06140fe.js +1 -0
  380. package/.next-prod/static/chunks/app/api/db/connect/route-b3c86dd8f06140fe.js +1 -0
  381. package/.next-prod/static/chunks/app/api/db/disconnect/route-b3c86dd8f06140fe.js +1 -0
  382. package/.next-prod/static/chunks/app/api/db/export/route-b3c86dd8f06140fe.js +1 -0
  383. package/.next-prod/static/chunks/app/api/db/query/route-b3c86dd8f06140fe.js +1 -0
  384. package/.next-prod/static/chunks/app/api/db/schemas/route-b3c86dd8f06140fe.js +1 -0
  385. package/.next-prod/static/chunks/app/api/deepseek/balance/route-b3c86dd8f06140fe.js +1 -0
  386. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b3c86dd8f06140fe.js +1 -0
  387. package/.next-prod/static/chunks/app/api/deepseek/models/route-b3c86dd8f06140fe.js +1 -0
  388. package/.next-prod/static/chunks/app/api/dev/spans/route-b3c86dd8f06140fe.js +1 -0
  389. package/.next-prod/static/chunks/app/api/extension/version/route-b3c86dd8f06140fe.js +1 -0
  390. package/.next-prod/static/chunks/app/api/file/route-b3c86dd8f06140fe.js +1 -0
  391. package/.next-prod/static/chunks/app/api/files/blame/route-b3c86dd8f06140fe.js +1 -0
  392. package/.next-prod/static/chunks/app/api/files/clipboard/route-b3c86dd8f06140fe.js +1 -0
  393. package/.next-prod/static/chunks/app/api/files/copy/route-b3c86dd8f06140fe.js +1 -0
  394. package/.next-prod/static/chunks/app/api/files/delete/route-b3c86dd8f06140fe.js +1 -0
  395. package/.next-prod/static/chunks/app/api/files/expanded/route-b3c86dd8f06140fe.js +1 -0
  396. package/.next-prod/static/chunks/app/api/files/index/route-b3c86dd8f06140fe.js +1 -0
  397. package/.next-prod/static/chunks/app/api/files/init/route-b3c86dd8f06140fe.js +1 -0
  398. package/.next-prod/static/chunks/app/api/files/paste/route-b3c86dd8f06140fe.js +1 -0
  399. package/.next-prod/static/chunks/app/api/files/read/route-b3c86dd8f06140fe.js +1 -0
  400. package/.next-prod/static/chunks/app/api/files/readdir/route-b3c86dd8f06140fe.js +1 -0
  401. package/.next-prod/static/chunks/app/api/files/recent/route-b3c86dd8f06140fe.js +1 -0
  402. package/.next-prod/static/chunks/app/api/files/save/route-b3c86dd8f06140fe.js +1 -0
  403. package/.next-prod/static/chunks/app/api/files/search/route-b3c86dd8f06140fe.js +1 -0
  404. package/.next-prod/static/chunks/app/api/files/stat/route-b3c86dd8f06140fe.js +1 -0
  405. package/.next-prod/static/chunks/app/api/files/text/route-b3c86dd8f06140fe.js +1 -0
  406. package/.next-prod/static/chunks/app/api/git/blob/route-b3c86dd8f06140fe.js +1 -0
  407. package/.next-prod/static/chunks/app/api/git/branch-diff/route-b3c86dd8f06140fe.js +1 -0
  408. package/.next-prod/static/chunks/app/api/git/branches/route-b3c86dd8f06140fe.js +1 -0
  409. package/.next-prod/static/chunks/app/api/git/commit-diff/route-b3c86dd8f06140fe.js +1 -0
  410. package/.next-prod/static/chunks/app/api/git/commits/route-b3c86dd8f06140fe.js +1 -0
  411. package/.next-prod/static/chunks/app/api/git/current-branch/route-b3c86dd8f06140fe.js +1 -0
  412. package/.next-prod/static/chunks/app/api/git/diff/route-b3c86dd8f06140fe.js +1 -0
  413. package/.next-prod/static/chunks/app/api/git/discard/route-b3c86dd8f06140fe.js +1 -0
  414. package/.next-prod/static/chunks/app/api/git/stage/route-b3c86dd8f06140fe.js +1 -0
  415. package/.next-prod/static/chunks/app/api/git/status/route-b3c86dd8f06140fe.js +1 -0
  416. package/.next-prod/static/chunks/app/api/git/unstage/route-b3c86dd8f06140fe.js +1 -0
  417. package/.next-prod/static/chunks/app/api/git/worktree/route-b3c86dd8f06140fe.js +1 -0
  418. package/.next-prod/static/chunks/app/api/glm/credentials/route-b3c86dd8f06140fe.js +1 -0
  419. package/.next-prod/static/chunks/app/api/glm/models/route-b3c86dd8f06140fe.js +1 -0
  420. package/.next-prod/static/chunks/app/api/glm/usage/route-b3c86dd8f06140fe.js +1 -0
  421. package/.next-prod/static/chunks/app/api/global-state/route-b3c86dd8f06140fe.js +1 -0
  422. package/.next-prod/static/chunks/app/api/health/route-b3c86dd8f06140fe.js +1 -0
  423. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b3c86dd8f06140fe.js +1 -0
  424. package/.next-prod/static/chunks/app/api/html-apps/route-b3c86dd8f06140fe.js +1 -0
  425. package/.next-prod/static/chunks/app/api/instructions/config/route-b3c86dd8f06140fe.js +1 -0
  426. package/.next-prod/static/chunks/app/api/kimi/credentials/route-b3c86dd8f06140fe.js +1 -0
  427. package/.next-prod/static/chunks/app/api/kimi/models/route-b3c86dd8f06140fe.js +1 -0
  428. package/.next-prod/static/chunks/app/api/kimi/usage/route-b3c86dd8f06140fe.js +1 -0
  429. package/.next-prod/static/chunks/app/api/lsp/definition/route-b3c86dd8f06140fe.js +1 -0
  430. package/.next-prod/static/chunks/app/api/lsp/hover/route-b3c86dd8f06140fe.js +1 -0
  431. package/.next-prod/static/chunks/app/api/lsp/references/route-b3c86dd8f06140fe.js +1 -0
  432. package/.next-prod/static/chunks/app/api/lsp/status/route-b3c86dd8f06140fe.js +1 -0
  433. package/.next-prod/static/chunks/app/api/lsp/warmup/route-b3c86dd8f06140fe.js +1 -0
  434. package/.next-prod/static/chunks/app/api/mysql/columns/route-b3c86dd8f06140fe.js +1 -0
  435. package/.next-prod/static/chunks/app/api/mysql/connect/route-b3c86dd8f06140fe.js +1 -0
  436. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b3c86dd8f06140fe.js +1 -0
  437. package/.next-prod/static/chunks/app/api/mysql/export/route-b3c86dd8f06140fe.js +1 -0
  438. package/.next-prod/static/chunks/app/api/mysql/query/route-b3c86dd8f06140fe.js +1 -0
  439. package/.next-prod/static/chunks/app/api/mysql/schemas/route-b3c86dd8f06140fe.js +1 -0
  440. package/.next-prod/static/chunks/app/api/neo4j/connect/route-b3c86dd8f06140fe.js +1 -0
  441. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b3c86dd8f06140fe.js +1 -0
  442. package/.next-prod/static/chunks/app/api/neo4j/query/route-b3c86dd8f06140fe.js +1 -0
  443. package/.next-prod/static/chunks/app/api/neo4j/schema/route-b3c86dd8f06140fe.js +1 -0
  444. package/.next-prod/static/chunks/app/api/note/route-b3c86dd8f06140fe.js +1 -0
  445. package/.next-prod/static/chunks/app/api/ollama/config/route-b3c86dd8f06140fe.js +1 -0
  446. package/.next-prod/static/chunks/app/api/ollama/default-model/route-b3c86dd8f06140fe.js +1 -0
  447. package/.next-prod/static/chunks/app/api/ollama/models/route-b3c86dd8f06140fe.js +1 -0
  448. package/.next-prod/static/chunks/app/api/ollama/start/route-b3c86dd8f06140fe.js +1 -0
  449. package/.next-prod/static/chunks/app/api/open-cursor/route-b3c86dd8f06140fe.js +1 -0
  450. package/.next-prod/static/chunks/app/api/open-vscode/route-b3c86dd8f06140fe.js +1 -0
  451. package/.next-prod/static/chunks/app/api/output-styles/config/route-b3c86dd8f06140fe.js +1 -0
  452. package/.next-prod/static/chunks/app/api/pick-folder/route-b3c86dd8f06140fe.js +1 -0
  453. package/.next-prod/static/chunks/app/api/pinned-sessions/route-b3c86dd8f06140fe.js +1 -0
  454. package/.next-prod/static/chunks/app/api/project-settings/route-b3c86dd8f06140fe.js +1 -0
  455. package/.next-prod/static/chunks/app/api/project-state/route-b3c86dd8f06140fe.js +1 -0
  456. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b3c86dd8f06140fe.js +1 -0
  457. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b3c86dd8f06140fe.js +1 -0
  458. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b3c86dd8f06140fe.js +1 -0
  459. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b3c86dd8f06140fe.js +1 -0
  460. package/.next-prod/static/chunks/app/api/projectGraph/context/route-b3c86dd8f06140fe.js +1 -0
  461. package/.next-prod/static/chunks/app/api/projectGraph/file/route-b3c86dd8f06140fe.js +1 -0
  462. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b3c86dd8f06140fe.js +1 -0
  463. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b3c86dd8f06140fe.js +1 -0
  464. package/.next-prod/static/chunks/app/api/projectGraph/related/route-b3c86dd8f06140fe.js +1 -0
  465. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-b3c86dd8f06140fe.js +1 -0
  466. package/.next-prod/static/chunks/app/api/projectGraph/search/route-b3c86dd8f06140fe.js +1 -0
  467. package/.next-prod/static/chunks/app/api/projects/route-b3c86dd8f06140fe.js +1 -0
  468. package/.next-prod/static/chunks/app/api/push/public-key/route-b3c86dd8f06140fe.js +1 -0
  469. package/.next-prod/static/chunks/app/api/push/subscribe/route-b3c86dd8f06140fe.js +1 -0
  470. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b3c86dd8f06140fe.js +1 -0
  471. package/.next-prod/static/chunks/app/api/redis/command/route-b3c86dd8f06140fe.js +1 -0
  472. package/.next-prod/static/chunks/app/api/redis/connect/route-b3c86dd8f06140fe.js +1 -0
  473. package/.next-prod/static/chunks/app/api/redis/delete/route-b3c86dd8f06140fe.js +1 -0
  474. package/.next-prod/static/chunks/app/api/redis/disconnect/route-b3c86dd8f06140fe.js +1 -0
  475. package/.next-prod/static/chunks/app/api/redis/get/route-b3c86dd8f06140fe.js +1 -0
  476. package/.next-prod/static/chunks/app/api/redis/keys/route-b3c86dd8f06140fe.js +1 -0
  477. package/.next-prod/static/chunks/app/api/redis/set/route-b3c86dd8f06140fe.js +1 -0
  478. package/.next-prod/static/chunks/app/api/restart/route-b3c86dd8f06140fe.js +1 -0
  479. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-b3c86dd8f06140fe.js +1 -0
  480. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-b3c86dd8f06140fe.js +1 -0
  481. package/.next-prod/static/chunks/app/api/review/[id]/route-b3c86dd8f06140fe.js +1 -0
  482. package/.next-prod/static/chunks/app/api/review/identify/route-b3c86dd8f06140fe.js +1 -0
  483. package/.next-prod/static/chunks/app/api/review/order/route-b3c86dd8f06140fe.js +1 -0
  484. package/.next-prod/static/chunks/app/api/review/route-b3c86dd8f06140fe.js +1 -0
  485. package/.next-prod/static/chunks/app/api/review/share-info/route-b3c86dd8f06140fe.js +1 -0
  486. package/.next-prod/static/chunks/app/api/review/users/route-b3c86dd8f06140fe.js +1 -0
  487. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b3c86dd8f06140fe.js +1 -0
  488. package/.next-prod/static/chunks/app/api/services/config/route-b3c86dd8f06140fe.js +1 -0
  489. package/.next-prod/static/chunks/app/api/services/scripts/route-b3c86dd8f06140fe.js +1 -0
  490. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b3c86dd8f06140fe.js +1 -0
  491. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b3c86dd8f06140fe.js +1 -0
  492. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b3c86dd8f06140fe.js +1 -0
  493. package/.next-prod/static/chunks/app/api/session/user-messages/route-b3c86dd8f06140fe.js +1 -0
  494. package/.next-prod/static/chunks/app/api/session-by-path/route-b3c86dd8f06140fe.js +1 -0
  495. package/.next-prod/static/chunks/app/api/sessions/delegate/route-b3c86dd8f06140fe.js +1 -0
  496. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b3c86dd8f06140fe.js +1 -0
  497. package/.next-prod/static/chunks/app/api/sessions/projects/route-b3c86dd8f06140fe.js +1 -0
  498. package/.next-prod/static/chunks/app/api/sessions/search/route-b3c86dd8f06140fe.js +1 -0
  499. package/.next-prod/static/chunks/app/api/sessions/status/route-b3c86dd8f06140fe.js +1 -0
  500. package/.next-prod/static/chunks/app/api/settings/route-b3c86dd8f06140fe.js +1 -0
  501. package/.next-prod/static/chunks/app/api/shutdown/route-b3c86dd8f06140fe.js +1 -0
  502. package/.next-prod/static/chunks/app/api/skills/[id]/route-b3c86dd8f06140fe.js +1 -0
  503. package/.next-prod/static/chunks/app/api/skills/content/route-b3c86dd8f06140fe.js +1 -0
  504. package/.next-prod/static/chunks/app/api/skills/route-b3c86dd8f06140fe.js +1 -0
  505. package/.next-prod/static/chunks/app/api/snapshots/blob/route-b3c86dd8f06140fe.js +1 -0
  506. package/.next-prod/static/chunks/app/api/snapshots/diff/route-b3c86dd8f06140fe.js +1 -0
  507. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-b3c86dd8f06140fe.js +1 -0
  508. package/.next-prod/static/chunks/app/api/snapshots/route-b3c86dd8f06140fe.js +1 -0
  509. package/.next-prod/static/chunks/app/api/terminal/aliases/route-b3c86dd8f06140fe.js +1 -0
  510. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b3c86dd8f06140fe.js +1 -0
  511. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b3c86dd8f06140fe.js +1 -0
  512. package/.next-prod/static/chunks/app/api/terminal/env/route-b3c86dd8f06140fe.js +1 -0
  513. package/.next-prod/static/chunks/app/api/terminal/history/route-b3c86dd8f06140fe.js +1 -0
  514. package/.next-prod/static/chunks/app/api/update/route-b3c86dd8f06140fe.js +1 -0
  515. package/.next-prod/static/chunks/app/api/update-state/route-b3c86dd8f06140fe.js +1 -0
  516. package/.next-prod/static/chunks/app/api/version/route-b3c86dd8f06140fe.js +1 -0
  517. package/.next-prod/static/chunks/app/apps/[...path]/route-b3c86dd8f06140fe.js +1 -0
  518. package/.next-prod/static/chunks/app/{layout-f3f9426dccb507b2.js → layout-589122feb9071556.js} +1 -1
  519. package/.next-prod/static/chunks/app/manifest.webmanifest/route-b3c86dd8f06140fe.js +1 -0
  520. package/.next-prod/static/chunks/app/{page-d97e5df9486f39cb.js → page-a69072e6dbd4a059.js} +1 -1
  521. package/.next-prod/static/chunks/app/project/{page-d97e5df9486f39cb.js → page-a69072e6dbd4a059.js} +1 -1
  522. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b3c86dd8f06140fe.js +1 -0
  523. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b3c86dd8f06140fe.js +1 -0
  524. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b3c86dd8f06140fe.js +1 -0
  525. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b3c86dd8f06140fe.js +1 -0
  526. package/.next-prod/static/css/2abfec9d3e93011f.css +1 -0
  527. package/.next-prod/trace +15 -15
  528. package/.next-prod/trace-build +1 -1
  529. package/.next-prod/types/app/api/output-styles/config/route.ts +353 -0
  530. package/.next-prod/types/routes.d.ts +2 -1
  531. package/.next-prod/types/validator.ts +9 -0
  532. package/dist/{chunk-SGVT4QFB.mjs → chunk-LPZXJPD6.mjs} +231 -53
  533. package/dist/{chunk-5ZXPIG4Z.mjs → chunk-W5MB7DIM.mjs} +1 -1
  534. package/dist/httpApi.mjs +2 -2
  535. package/dist/scheduledTasks.mjs +32 -2
  536. package/dist/wsServer.mjs +12 -3
  537. package/package.json +3 -3
  538. package/skills/bot-run/SKILL.md +6 -6
  539. package/skills/bot-run/followup.md +1 -1
  540. package/skills/bot-run/wait.md +1 -1
  541. package/.next-prod/static/chunks/89656-1b5bae337f6b6892.js +0 -34
  542. package/.next-prod/static/chunks/95313-96a541e7ce6f76c4.js +0 -17
  543. package/.next-prod/static/chunks/99092-7b5fa4560a398020.js +0 -716
  544. package/.next-prod/static/chunks/app/api/bots/route-6ac899b2cd280c12.js +0 -1
  545. package/.next-prod/static/chunks/app/api/chat/codex/route-6ac899b2cd280c12.js +0 -1
  546. package/.next-prod/static/chunks/app/api/chat/deepseek/route-6ac899b2cd280c12.js +0 -1
  547. package/.next-prod/static/chunks/app/api/chat/glm/route-6ac899b2cd280c12.js +0 -1
  548. package/.next-prod/static/chunks/app/api/chat/kimi/route-6ac899b2cd280c12.js +0 -1
  549. package/.next-prod/static/chunks/app/api/chat/ollama/route-6ac899b2cd280c12.js +0 -1
  550. package/.next-prod/static/chunks/app/api/chat/route-6ac899b2cd280c12.js +0 -1
  551. package/.next-prod/static/chunks/app/api/chat/stop/route-6ac899b2cd280c12.js +0 -1
  552. package/.next-prod/static/chunks/app/api/claude-stats/route-6ac899b2cd280c12.js +0 -1
  553. package/.next-prod/static/chunks/app/api/commands/route-6ac899b2cd280c12.js +0 -1
  554. package/.next-prod/static/chunks/app/api/comments/route-6ac899b2cd280c12.js +0 -1
  555. package/.next-prod/static/chunks/app/api/db/columns/route-6ac899b2cd280c12.js +0 -1
  556. package/.next-prod/static/chunks/app/api/db/connect/route-6ac899b2cd280c12.js +0 -1
  557. package/.next-prod/static/chunks/app/api/db/disconnect/route-6ac899b2cd280c12.js +0 -1
  558. package/.next-prod/static/chunks/app/api/db/export/route-6ac899b2cd280c12.js +0 -1
  559. package/.next-prod/static/chunks/app/api/db/query/route-6ac899b2cd280c12.js +0 -1
  560. package/.next-prod/static/chunks/app/api/db/schemas/route-6ac899b2cd280c12.js +0 -1
  561. package/.next-prod/static/chunks/app/api/deepseek/balance/route-6ac899b2cd280c12.js +0 -1
  562. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6ac899b2cd280c12.js +0 -1
  563. package/.next-prod/static/chunks/app/api/deepseek/models/route-6ac899b2cd280c12.js +0 -1
  564. package/.next-prod/static/chunks/app/api/dev/spans/route-6ac899b2cd280c12.js +0 -1
  565. package/.next-prod/static/chunks/app/api/extension/version/route-6ac899b2cd280c12.js +0 -1
  566. package/.next-prod/static/chunks/app/api/file/route-6ac899b2cd280c12.js +0 -1
  567. package/.next-prod/static/chunks/app/api/files/blame/route-6ac899b2cd280c12.js +0 -1
  568. package/.next-prod/static/chunks/app/api/files/clipboard/route-6ac899b2cd280c12.js +0 -1
  569. package/.next-prod/static/chunks/app/api/files/copy/route-6ac899b2cd280c12.js +0 -1
  570. package/.next-prod/static/chunks/app/api/files/delete/route-6ac899b2cd280c12.js +0 -1
  571. package/.next-prod/static/chunks/app/api/files/expanded/route-6ac899b2cd280c12.js +0 -1
  572. package/.next-prod/static/chunks/app/api/files/index/route-6ac899b2cd280c12.js +0 -1
  573. package/.next-prod/static/chunks/app/api/files/init/route-6ac899b2cd280c12.js +0 -1
  574. package/.next-prod/static/chunks/app/api/files/paste/route-6ac899b2cd280c12.js +0 -1
  575. package/.next-prod/static/chunks/app/api/files/read/route-6ac899b2cd280c12.js +0 -1
  576. package/.next-prod/static/chunks/app/api/files/readdir/route-6ac899b2cd280c12.js +0 -1
  577. package/.next-prod/static/chunks/app/api/files/recent/route-6ac899b2cd280c12.js +0 -1
  578. package/.next-prod/static/chunks/app/api/files/save/route-6ac899b2cd280c12.js +0 -1
  579. package/.next-prod/static/chunks/app/api/files/search/route-6ac899b2cd280c12.js +0 -1
  580. package/.next-prod/static/chunks/app/api/files/stat/route-6ac899b2cd280c12.js +0 -1
  581. package/.next-prod/static/chunks/app/api/files/text/route-6ac899b2cd280c12.js +0 -1
  582. package/.next-prod/static/chunks/app/api/git/blob/route-6ac899b2cd280c12.js +0 -1
  583. package/.next-prod/static/chunks/app/api/git/branch-diff/route-6ac899b2cd280c12.js +0 -1
  584. package/.next-prod/static/chunks/app/api/git/branches/route-6ac899b2cd280c12.js +0 -1
  585. package/.next-prod/static/chunks/app/api/git/commit-diff/route-6ac899b2cd280c12.js +0 -1
  586. package/.next-prod/static/chunks/app/api/git/commits/route-6ac899b2cd280c12.js +0 -1
  587. package/.next-prod/static/chunks/app/api/git/current-branch/route-6ac899b2cd280c12.js +0 -1
  588. package/.next-prod/static/chunks/app/api/git/diff/route-6ac899b2cd280c12.js +0 -1
  589. package/.next-prod/static/chunks/app/api/git/discard/route-6ac899b2cd280c12.js +0 -1
  590. package/.next-prod/static/chunks/app/api/git/stage/route-6ac899b2cd280c12.js +0 -1
  591. package/.next-prod/static/chunks/app/api/git/status/route-6ac899b2cd280c12.js +0 -1
  592. package/.next-prod/static/chunks/app/api/git/unstage/route-6ac899b2cd280c12.js +0 -1
  593. package/.next-prod/static/chunks/app/api/git/worktree/route-6ac899b2cd280c12.js +0 -1
  594. package/.next-prod/static/chunks/app/api/glm/credentials/route-6ac899b2cd280c12.js +0 -1
  595. package/.next-prod/static/chunks/app/api/glm/models/route-6ac899b2cd280c12.js +0 -1
  596. package/.next-prod/static/chunks/app/api/glm/usage/route-6ac899b2cd280c12.js +0 -1
  597. package/.next-prod/static/chunks/app/api/global-state/route-6ac899b2cd280c12.js +0 -1
  598. package/.next-prod/static/chunks/app/api/health/route-6ac899b2cd280c12.js +0 -1
  599. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6ac899b2cd280c12.js +0 -1
  600. package/.next-prod/static/chunks/app/api/html-apps/route-6ac899b2cd280c12.js +0 -1
  601. package/.next-prod/static/chunks/app/api/instructions/config/route-6ac899b2cd280c12.js +0 -1
  602. package/.next-prod/static/chunks/app/api/kimi/credentials/route-6ac899b2cd280c12.js +0 -1
  603. package/.next-prod/static/chunks/app/api/kimi/models/route-6ac899b2cd280c12.js +0 -1
  604. package/.next-prod/static/chunks/app/api/kimi/usage/route-6ac899b2cd280c12.js +0 -1
  605. package/.next-prod/static/chunks/app/api/lsp/definition/route-6ac899b2cd280c12.js +0 -1
  606. package/.next-prod/static/chunks/app/api/lsp/hover/route-6ac899b2cd280c12.js +0 -1
  607. package/.next-prod/static/chunks/app/api/lsp/references/route-6ac899b2cd280c12.js +0 -1
  608. package/.next-prod/static/chunks/app/api/lsp/status/route-6ac899b2cd280c12.js +0 -1
  609. package/.next-prod/static/chunks/app/api/lsp/warmup/route-6ac899b2cd280c12.js +0 -1
  610. package/.next-prod/static/chunks/app/api/mysql/columns/route-6ac899b2cd280c12.js +0 -1
  611. package/.next-prod/static/chunks/app/api/mysql/connect/route-6ac899b2cd280c12.js +0 -1
  612. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6ac899b2cd280c12.js +0 -1
  613. package/.next-prod/static/chunks/app/api/mysql/export/route-6ac899b2cd280c12.js +0 -1
  614. package/.next-prod/static/chunks/app/api/mysql/query/route-6ac899b2cd280c12.js +0 -1
  615. package/.next-prod/static/chunks/app/api/mysql/schemas/route-6ac899b2cd280c12.js +0 -1
  616. package/.next-prod/static/chunks/app/api/neo4j/connect/route-6ac899b2cd280c12.js +0 -1
  617. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6ac899b2cd280c12.js +0 -1
  618. package/.next-prod/static/chunks/app/api/neo4j/query/route-6ac899b2cd280c12.js +0 -1
  619. package/.next-prod/static/chunks/app/api/neo4j/schema/route-6ac899b2cd280c12.js +0 -1
  620. package/.next-prod/static/chunks/app/api/note/route-6ac899b2cd280c12.js +0 -1
  621. package/.next-prod/static/chunks/app/api/ollama/config/route-6ac899b2cd280c12.js +0 -1
  622. package/.next-prod/static/chunks/app/api/ollama/default-model/route-6ac899b2cd280c12.js +0 -1
  623. package/.next-prod/static/chunks/app/api/ollama/models/route-6ac899b2cd280c12.js +0 -1
  624. package/.next-prod/static/chunks/app/api/ollama/start/route-6ac899b2cd280c12.js +0 -1
  625. package/.next-prod/static/chunks/app/api/open-cursor/route-6ac899b2cd280c12.js +0 -1
  626. package/.next-prod/static/chunks/app/api/open-vscode/route-6ac899b2cd280c12.js +0 -1
  627. package/.next-prod/static/chunks/app/api/pick-folder/route-6ac899b2cd280c12.js +0 -1
  628. package/.next-prod/static/chunks/app/api/pinned-sessions/route-6ac899b2cd280c12.js +0 -1
  629. package/.next-prod/static/chunks/app/api/project-settings/route-6ac899b2cd280c12.js +0 -1
  630. package/.next-prod/static/chunks/app/api/project-state/route-6ac899b2cd280c12.js +0 -1
  631. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6ac899b2cd280c12.js +0 -1
  632. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6ac899b2cd280c12.js +0 -1
  633. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6ac899b2cd280c12.js +0 -1
  634. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6ac899b2cd280c12.js +0 -1
  635. package/.next-prod/static/chunks/app/api/projectGraph/context/route-6ac899b2cd280c12.js +0 -1
  636. package/.next-prod/static/chunks/app/api/projectGraph/file/route-6ac899b2cd280c12.js +0 -1
  637. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6ac899b2cd280c12.js +0 -1
  638. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6ac899b2cd280c12.js +0 -1
  639. package/.next-prod/static/chunks/app/api/projectGraph/related/route-6ac899b2cd280c12.js +0 -1
  640. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-6ac899b2cd280c12.js +0 -1
  641. package/.next-prod/static/chunks/app/api/projectGraph/search/route-6ac899b2cd280c12.js +0 -1
  642. package/.next-prod/static/chunks/app/api/projects/route-6ac899b2cd280c12.js +0 -1
  643. package/.next-prod/static/chunks/app/api/push/public-key/route-6ac899b2cd280c12.js +0 -1
  644. package/.next-prod/static/chunks/app/api/push/subscribe/route-6ac899b2cd280c12.js +0 -1
  645. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6ac899b2cd280c12.js +0 -1
  646. package/.next-prod/static/chunks/app/api/redis/command/route-6ac899b2cd280c12.js +0 -1
  647. package/.next-prod/static/chunks/app/api/redis/connect/route-6ac899b2cd280c12.js +0 -1
  648. package/.next-prod/static/chunks/app/api/redis/delete/route-6ac899b2cd280c12.js +0 -1
  649. package/.next-prod/static/chunks/app/api/redis/disconnect/route-6ac899b2cd280c12.js +0 -1
  650. package/.next-prod/static/chunks/app/api/redis/get/route-6ac899b2cd280c12.js +0 -1
  651. package/.next-prod/static/chunks/app/api/redis/keys/route-6ac899b2cd280c12.js +0 -1
  652. package/.next-prod/static/chunks/app/api/redis/set/route-6ac899b2cd280c12.js +0 -1
  653. package/.next-prod/static/chunks/app/api/restart/route-6ac899b2cd280c12.js +0 -1
  654. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-6ac899b2cd280c12.js +0 -1
  655. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-6ac899b2cd280c12.js +0 -1
  656. package/.next-prod/static/chunks/app/api/review/[id]/route-6ac899b2cd280c12.js +0 -1
  657. package/.next-prod/static/chunks/app/api/review/identify/route-6ac899b2cd280c12.js +0 -1
  658. package/.next-prod/static/chunks/app/api/review/order/route-6ac899b2cd280c12.js +0 -1
  659. package/.next-prod/static/chunks/app/api/review/route-6ac899b2cd280c12.js +0 -1
  660. package/.next-prod/static/chunks/app/api/review/share-info/route-6ac899b2cd280c12.js +0 -1
  661. package/.next-prod/static/chunks/app/api/review/users/route-6ac899b2cd280c12.js +0 -1
  662. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6ac899b2cd280c12.js +0 -1
  663. package/.next-prod/static/chunks/app/api/services/config/route-6ac899b2cd280c12.js +0 -1
  664. package/.next-prod/static/chunks/app/api/services/scripts/route-6ac899b2cd280c12.js +0 -1
  665. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6ac899b2cd280c12.js +0 -1
  666. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6ac899b2cd280c12.js +0 -1
  667. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6ac899b2cd280c12.js +0 -1
  668. package/.next-prod/static/chunks/app/api/session/user-messages/route-6ac899b2cd280c12.js +0 -1
  669. package/.next-prod/static/chunks/app/api/session-by-path/route-6ac899b2cd280c12.js +0 -1
  670. package/.next-prod/static/chunks/app/api/sessions/delegate/route-6ac899b2cd280c12.js +0 -1
  671. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6ac899b2cd280c12.js +0 -1
  672. package/.next-prod/static/chunks/app/api/sessions/projects/route-6ac899b2cd280c12.js +0 -1
  673. package/.next-prod/static/chunks/app/api/sessions/search/route-6ac899b2cd280c12.js +0 -1
  674. package/.next-prod/static/chunks/app/api/sessions/status/route-6ac899b2cd280c12.js +0 -1
  675. package/.next-prod/static/chunks/app/api/settings/route-6ac899b2cd280c12.js +0 -1
  676. package/.next-prod/static/chunks/app/api/shutdown/route-6ac899b2cd280c12.js +0 -1
  677. package/.next-prod/static/chunks/app/api/skills/[id]/route-6ac899b2cd280c12.js +0 -1
  678. package/.next-prod/static/chunks/app/api/skills/content/route-6ac899b2cd280c12.js +0 -1
  679. package/.next-prod/static/chunks/app/api/skills/route-6ac899b2cd280c12.js +0 -1
  680. package/.next-prod/static/chunks/app/api/snapshots/blob/route-6ac899b2cd280c12.js +0 -1
  681. package/.next-prod/static/chunks/app/api/snapshots/diff/route-6ac899b2cd280c12.js +0 -1
  682. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6ac899b2cd280c12.js +0 -1
  683. package/.next-prod/static/chunks/app/api/snapshots/route-6ac899b2cd280c12.js +0 -1
  684. package/.next-prod/static/chunks/app/api/terminal/aliases/route-6ac899b2cd280c12.js +0 -1
  685. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6ac899b2cd280c12.js +0 -1
  686. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6ac899b2cd280c12.js +0 -1
  687. package/.next-prod/static/chunks/app/api/terminal/env/route-6ac899b2cd280c12.js +0 -1
  688. package/.next-prod/static/chunks/app/api/terminal/history/route-6ac899b2cd280c12.js +0 -1
  689. package/.next-prod/static/chunks/app/api/update/route-6ac899b2cd280c12.js +0 -1
  690. package/.next-prod/static/chunks/app/api/update-state/route-6ac899b2cd280c12.js +0 -1
  691. package/.next-prod/static/chunks/app/api/version/route-6ac899b2cd280c12.js +0 -1
  692. package/.next-prod/static/chunks/app/apps/[...path]/route-6ac899b2cd280c12.js +0 -1
  693. package/.next-prod/static/chunks/app/manifest.webmanifest/route-6ac899b2cd280c12.js +0 -1
  694. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6ac899b2cd280c12.js +0 -1
  695. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6ac899b2cd280c12.js +0 -1
  696. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6ac899b2cd280c12.js +0 -1
  697. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6ac899b2cd280c12.js +0 -1
  698. package/.next-prod/static/css/e6181fb6c73884b4.css +0 -1
  699. package/.next-prod/static/yEJ9Z5Bjv9ti4WeYINfCs/_buildManifest.js +0 -1
  700. /package/.next-prod/static/{yEJ9Z5Bjv9ti4WeYINfCs → I8gbcTQRiRdMF09goE7WI}/_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") {
@@ -33651,12 +33654,11 @@ function recoverStashedTranscripts(roots3 = [CLAUDE_PROJECTS_DIR]) {
33651
33654
  var PLAN_EDIT_TOOLS = /* @__PURE__ */ new Set(["Write", "Edit", "MultiEdit", "NotebookEdit"]);
33652
33655
  var isPlanFilePath = (p) => /(^|\/)\.claude\/plans\//.test(p);
33653
33656
  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"]);
33657
+ var CLAUDE_ULTRACODE_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8"]);
33658
+ var CLAUDE_XHIGH_MODELS = /* @__PURE__ */ new Set(["claude-fable-5-1", "claude-fable-5", "claude-opus-5-5", "claude-opus-5", "claude-opus-4-8", "claude-sonnet-5"]);
33656
33659
  function resolveClaudeModel(ctx) {
33657
33660
  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;
33661
+ return model || void 0;
33660
33662
  }
33661
33663
  function resolveClaudeEffort(ctx) {
33662
33664
  const model = typeof ctx.params.model === "string" ? ctx.params.model.trim() : "";
@@ -33706,6 +33708,7 @@ function planPermission(toolName, input, opts) {
33706
33708
  }
33707
33709
  return { behavior: "allow", updatedInput: input };
33708
33710
  }
33711
+ var SYSTEM_PROMPT_SNAPSHOT = false;
33709
33712
  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
33713
  function buildClaudeOptions(ctx, independent) {
33711
33714
  const { permissionMode } = ctx.params;
@@ -33724,6 +33727,25 @@ function buildClaudeOptions(ctx, independent) {
33724
33727
  ...model ? { model } : {},
33725
33728
  ...effort ? { effort } : {},
33726
33729
  ...settings ? { settings } : {},
33730
+ // System prompt: Claude Code's own preset, always. Omitting `systemPrompt` does NOT mean
33731
+ // "Claude Code's default" — the Agent SDK then sends an EMPTY custom prompt (sdk.mjs:
33732
+ // `systemPrompt === undefined → ""`), which is how sessions here ran without Claude Code's
33733
+ // instructions for a long time unnoticed.
33734
+ //
33735
+ // Output style rides on it as `append`, so selecting one adds a little text after the
33736
+ // preset instead of changing the base.
33737
+ //
33738
+ // `snapshot: false`: where system-prompt recording is enabled (a per-account rollout) the
33739
+ // SDK records the prompt on a session's first request and replays it on every resume. That
33740
+ // would ignore a style switched mid-session, and keep sessions recorded before this fix on
33741
+ // their empty prompt until compaction. Rendering per request behaves the same on every
33742
+ // account; an unchanged prompt renders byte-identical, so the prompt cache still hits.
33743
+ systemPrompt: {
33744
+ type: "preset",
33745
+ preset: "claude_code",
33746
+ ...ctx.outputStyle ? { append: ctx.outputStyle } : {},
33747
+ snapshot: SYSTEM_PROMPT_SNAPSHOT
33748
+ },
33727
33749
  settingSources: ["user", "project", "local"],
33728
33750
  // Permission mode: 'plan' (read-only) when requested, else skip all permission checks.
33729
33751
  permissionMode: isPlan ? "plan" : "bypassPermissions",
@@ -33788,7 +33810,15 @@ import { streamText as streamText2, stepCountIs } from "ai";
33788
33810
  import { randomUUID as randomUUID2 } from "crypto";
33789
33811
 
33790
33812
  // packages/feature/agent/src/server/engines/builtinAgent/prompt.ts
33791
- function buildSystemPrompt(cwd) {
33813
+ function buildSystemPrompt(cwd, outputStyle) {
33814
+ const base = buildBasePrompt(cwd);
33815
+ return outputStyle ? `${base}
33816
+
33817
+ ## Output style
33818
+
33819
+ ${outputStyle}` : base;
33820
+ }
33821
+ function buildBasePrompt(cwd) {
33792
33822
  return `You are a coding agent. You help the user build and modify software using the provided tools.
33793
33823
 
33794
33824
  CWD: ${cwd}
@@ -48357,7 +48387,7 @@ async function runBuiltinAgent(ctx, config3) {
48357
48387
  const languageModel = await config3.createModel(model);
48358
48388
  const result = streamText2({
48359
48389
  model: languageModel,
48360
- system: buildSystemPrompt(cwd),
48390
+ system: buildSystemPrompt(cwd, ctx.outputStyle),
48361
48391
  messages,
48362
48392
  tools: createTools(context7),
48363
48393
  stopWhen: stepCountIs(256),
@@ -49159,7 +49189,7 @@ var CodexEventShim = class {
49159
49189
 
49160
49190
  // packages/feature/agent/src/server/engines/codex.ts
49161
49191
  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";
49192
+ 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
49193
  import { StringDecoder as StringDecoder2 } from "string_decoder";
49164
49194
  import { join as join13 } from "path";
49165
49195
  import { tmpdir as tmpdir2 } from "os";
@@ -49266,6 +49296,102 @@ function recoverStashedCodexRollouts(root = CODEX_SESSIONS_DIR) {
49266
49296
  return repaired;
49267
49297
  }
49268
49298
 
49299
+ // packages/feature/agent/src/server/engines/shared/codexOutputStyle.ts
49300
+ import * as fs4 from "fs";
49301
+ var OPEN = "<cockpit_output_style>";
49302
+ var CLOSE = "</cockpit_output_style>";
49303
+ function wrapCodexOutputStyle(style) {
49304
+ return `${OPEN}
49305
+ ${style}
49306
+ ${CLOSE}`;
49307
+ }
49308
+ var isOurs = (item) => typeof item?.text === "string" && item.text.startsWith(OPEN);
49309
+ function rewriteContent(content, desired) {
49310
+ let found = false;
49311
+ let changed = false;
49312
+ const next4 = [];
49313
+ for (const item of content) {
49314
+ if (!isOurs(item)) {
49315
+ next4.push(item);
49316
+ continue;
49317
+ }
49318
+ found = true;
49319
+ if (desired === void 0) {
49320
+ changed = true;
49321
+ continue;
49322
+ }
49323
+ if (item.text !== desired) changed = true;
49324
+ next4.push({ ...item, text: desired });
49325
+ }
49326
+ return [next4, changed, found];
49327
+ }
49328
+ function eachDeveloperContent(value, visit) {
49329
+ if (!value || typeof value !== "object") return;
49330
+ if (Array.isArray(value)) {
49331
+ for (const v of value) eachDeveloperContent(v, visit);
49332
+ return;
49333
+ }
49334
+ const obj = value;
49335
+ if (obj.type === "message" && obj.role === "developer" && Array.isArray(obj.content)) {
49336
+ visit(obj);
49337
+ return;
49338
+ }
49339
+ for (const v of Object.values(obj)) eachDeveloperContent(v, visit);
49340
+ }
49341
+ var isFirstDeveloperMessage = (entry) => entry.type === "response_item" && entry.payload?.type === "message" && entry.payload?.role === "developer" && Array.isArray(entry.payload?.content);
49342
+ function syncCodexOutputStyle(sessionPath, style) {
49343
+ const desired = style ? wrapCodexOutputStyle(style) : void 0;
49344
+ const raw = fs4.readFileSync(sessionPath, "utf-8");
49345
+ const lines = raw.split("\n");
49346
+ let found = false;
49347
+ let changed = false;
49348
+ let firstDeveloperLine = -1;
49349
+ for (let i = 0; i < lines.length; i++) {
49350
+ const line = lines[i];
49351
+ const marked = line.includes(OPEN);
49352
+ if (!marked && (firstDeveloperLine >= 0 || !line.includes('"developer"'))) continue;
49353
+ let entry;
49354
+ try {
49355
+ entry = JSON.parse(line);
49356
+ } catch {
49357
+ continue;
49358
+ }
49359
+ if (firstDeveloperLine < 0 && isFirstDeveloperMessage(entry)) firstDeveloperLine = i;
49360
+ if (!marked) continue;
49361
+ let lineChanged = false;
49362
+ eachDeveloperContent(entry, (msg) => {
49363
+ const [next4, c, f] = rewriteContent(msg.content, desired);
49364
+ if (f) found = true;
49365
+ if (c) {
49366
+ msg.content = next4;
49367
+ lineChanged = true;
49368
+ }
49369
+ });
49370
+ if (lineChanged) {
49371
+ lines[i] = JSON.stringify(entry);
49372
+ changed = true;
49373
+ }
49374
+ }
49375
+ let result;
49376
+ if (found) {
49377
+ result = !changed ? "unchanged" : desired === void 0 ? "removed" : "updated";
49378
+ } else if (desired === void 0) {
49379
+ return "unchanged";
49380
+ } else if (firstDeveloperLine < 0) {
49381
+ return "no-anchor";
49382
+ } else {
49383
+ const entry = JSON.parse(lines[firstDeveloperLine]);
49384
+ entry.payload.content = [{ type: "input_text", text: desired }, ...entry.payload.content];
49385
+ lines[firstDeveloperLine] = JSON.stringify(entry);
49386
+ result = "inserted";
49387
+ }
49388
+ if (result === "unchanged") return result;
49389
+ const tmp = `${sessionPath}.output-style.tmp`;
49390
+ fs4.writeFileSync(tmp, lines.join("\n"), "utf-8");
49391
+ fs4.renameSync(tmp, sessionPath);
49392
+ return result;
49393
+ }
49394
+
49269
49395
  // packages/feature/agent/src/server/engines/codex.ts
49270
49396
  var MEDIA_EXT = {
49271
49397
  "image/png": ".png",
@@ -49279,7 +49405,7 @@ function writeImagesToTemp(images) {
49279
49405
  return images.map((img, i) => {
49280
49406
  const ext = MEDIA_EXT[img.media_type] || ".png";
49281
49407
  const filePath = join13(dir, `img-${Date.now()}-${i}${ext}`);
49282
- writeFileSync5(filePath, Buffer.from(img.data, "base64"));
49408
+ writeFileSync6(filePath, Buffer.from(img.data, "base64"));
49283
49409
  return filePath;
49284
49410
  });
49285
49411
  }
@@ -49620,12 +49746,17 @@ function codexThreadParams(ctx) {
49620
49746
  ...effort ? { effort } : {},
49621
49747
  ...ctx.cwd ? { cwd: ctx.cwd } : {},
49622
49748
  sandbox: "danger-full-access",
49623
- approvalPolicy: "never"
49749
+ approvalPolicy: "never",
49750
+ // Output style. `developerInstructions` is appended to Codex's own instructions
49751
+ // (`baseInstructions` would REPLACE them), but only on `thread/start` — resume ignores
49752
+ // it. Mid-session switches are applied to the rollout instead (codexSpec.run →
49753
+ // syncCodexOutputStyle). Wrapped in a marker so that sync can find it again. Still sent
49754
+ // on resume: harmless, and the resume-failure fallback's thread/start reuses these params.
49755
+ ...ctx.outputStyle ? { developerInstructions: wrapCodexOutputStyle(ctx.outputStyle) } : {}
49624
49756
  };
49625
49757
  }
49626
49758
  function resolveCodexReasoningEffort(value) {
49627
49759
  switch (value) {
49628
- case "minimal":
49629
49760
  case "low":
49630
49761
  case "medium":
49631
49762
  case "high":
@@ -49767,11 +49898,18 @@ var codexSpec = {
49767
49898
  // No preflight: the orchestrator's own "prompt or images" check is sufficient.
49768
49899
  runner: {
49769
49900
  async run(ctx) {
49901
+ const sessionPath = ctx.sessionId ? findCodexSessionPath(ctx.sessionId) : null;
49902
+ if (sessionPath) {
49903
+ try {
49904
+ syncCodexOutputStyle(sessionPath, ctx.outputStyle);
49905
+ } catch (err) {
49906
+ console.warn(`[codex] output style sync failed for ${sessionPath}: ${String(err)}`);
49907
+ }
49908
+ }
49770
49909
  if (ctx.params.noHistory !== true || !ctx.sessionId) {
49771
49910
  await runCodexAppServer(ctx);
49772
49911
  return;
49773
49912
  }
49774
- const sessionPath = findCodexSessionPath(ctx.sessionId);
49775
49913
  const stashed = sessionPath ? stashCodexRollout(sessionPath) : false;
49776
49914
  try {
49777
49915
  await runCodexAppServer(ctx);
@@ -49797,22 +49935,22 @@ function getEngineSpec(engine) {
49797
49935
  }
49798
49936
 
49799
49937
  // packages/feature/agent/src/server/api/session/sessionStore.ts
49800
- import * as fs4 from "fs";
49938
+ import * as fs5 from "fs";
49801
49939
  function resolveSessionPath(cwd, sessionId) {
49802
49940
  const sessionPath = getClaudeSessionPath(cwd, sessionId);
49803
- if (fs4.existsSync(sessionPath)) {
49941
+ if (fs5.existsSync(sessionPath)) {
49804
49942
  return { sessionPath, engine: "claude" };
49805
49943
  }
49806
49944
  const deepseekPath = getDeepseekBuiltinSessionPath(cwd, sessionId);
49807
- if (fs4.existsSync(deepseekPath)) {
49945
+ if (fs5.existsSync(deepseekPath)) {
49808
49946
  return { sessionPath: deepseekPath, engine: "deepseek" };
49809
49947
  }
49810
49948
  const kimiPath = getKimiBuiltinSessionPath(cwd, sessionId);
49811
- if (fs4.existsSync(kimiPath)) {
49949
+ if (fs5.existsSync(kimiPath)) {
49812
49950
  return { sessionPath: kimiPath, engine: "kimi" };
49813
49951
  }
49814
49952
  const glmPath = getGlmBuiltinSessionPath(cwd, sessionId);
49815
- if (fs4.existsSync(glmPath)) {
49953
+ if (fs5.existsSync(glmPath)) {
49816
49954
  return { sessionPath: glmPath, engine: "glm" };
49817
49955
  }
49818
49956
  const codexPath = findCodexSessionPath(sessionId);
@@ -49820,7 +49958,7 @@ function resolveSessionPath(cwd, sessionId) {
49820
49958
  return { sessionPath: codexPath, engine: "codex" };
49821
49959
  }
49822
49960
  const ollamaPath = getOllamaSessionPath(cwd, sessionId);
49823
- if (fs4.existsSync(ollamaPath)) {
49961
+ if (fs5.existsSync(ollamaPath)) {
49824
49962
  return { sessionPath: ollamaPath, engine: "ollama" };
49825
49963
  }
49826
49964
  return null;
@@ -50104,7 +50242,7 @@ var DelegationServiceLive = Layer_exports.effect(
50104
50242
 
50105
50243
  // packages/feature/agent/src/effect/botRegistryLive.ts
50106
50244
  import { randomUUID as randomUUID5 } from "crypto";
50107
- import { readFileSync as readFileSync7, realpathSync as realpathSync3 } from "fs";
50245
+ import { readFileSync as readFileSync8, realpathSync as realpathSync3 } from "fs";
50108
50246
  import path3 from "path";
50109
50247
 
50110
50248
  // packages/feature/agent/src/shared/bots.ts
@@ -50157,14 +50295,14 @@ import {
50157
50295
  cpSync,
50158
50296
  existsSync as existsSync8,
50159
50297
  mkdirSync as mkdirSync6,
50160
- readFileSync as readFileSync6,
50298
+ readFileSync as readFileSync7,
50161
50299
  readdirSync as readdirSync4,
50162
50300
  realpathSync as realpathSync2,
50163
- renameSync as renameSync4,
50301
+ renameSync as renameSync5,
50164
50302
  rmdirSync,
50165
50303
  rmSync,
50166
50304
  statSync as statSync5,
50167
- writeFileSync as writeFileSync6
50305
+ writeFileSync as writeFileSync7
50168
50306
  } from "fs";
50169
50307
  import path2, { join as join14 } from "path";
50170
50308
  var BUILTIN_BOT_ID_PREFIX = "builtin:";
@@ -50182,7 +50320,7 @@ var hasManifest = (dir) => {
50182
50320
  var INSTALL_STATE_FILE = join14(BOTS_DIR, ".builtin-installs.json");
50183
50321
  var readInstallState = () => {
50184
50322
  try {
50185
- const raw = JSON.parse(readFileSync6(INSTALL_STATE_FILE, "utf-8"));
50323
+ const raw = JSON.parse(readFileSync7(INSTALL_STATE_FILE, "utf-8"));
50186
50324
  return raw && typeof raw === "object" && !Array.isArray(raw) ? raw : {};
50187
50325
  } catch {
50188
50326
  return {};
@@ -50192,14 +50330,14 @@ var writeInstallState = (state) => {
50192
50330
  try {
50193
50331
  mkdirSync6(BOTS_DIR, { recursive: true });
50194
50332
  const tmp = `${INSTALL_STATE_FILE}.${process.pid}.tmp`;
50195
- writeFileSync6(tmp, `${JSON.stringify(state, null, 2)}
50333
+ writeFileSync7(tmp, `${JSON.stringify(state, null, 2)}
50196
50334
  `);
50197
- renameSync4(tmp, INSTALL_STATE_FILE);
50335
+ renameSync5(tmp, INSTALL_STATE_FILE);
50198
50336
  } catch (err) {
50199
50337
  console.error(`[bots] cannot record builtin Bot installs in ${INSTALL_STATE_FILE}:`, err);
50200
50338
  }
50201
50339
  };
50202
- var hashFile = (file2) => createHash2("sha256").update(readFileSync6(file2)).digest("hex");
50340
+ var hashFile = (file2) => createHash2("sha256").update(readFileSync7(file2)).digest("hex");
50203
50341
  function fileHashes(dir) {
50204
50342
  const out = /* @__PURE__ */ new Map();
50205
50343
  const walk = (rel) => {
@@ -50222,15 +50360,15 @@ function swapIn(staging, dest) {
50222
50360
  let moved = false;
50223
50361
  try {
50224
50362
  try {
50225
- renameSync4(dest, retired);
50363
+ renameSync5(dest, retired);
50226
50364
  moved = true;
50227
50365
  } catch (err) {
50228
50366
  if (err?.code !== "ENOENT") throw err;
50229
50367
  }
50230
- renameSync4(staging, dest);
50368
+ renameSync5(staging, dest);
50231
50369
  if (moved) rmSync(retired, { recursive: true, force: true });
50232
50370
  } catch (err) {
50233
- if (moved && !existsSync8(dest)) renameSync4(retired, dest);
50371
+ if (moved && !existsSync8(dest)) renameSync5(retired, dest);
50234
50372
  throw err;
50235
50373
  } finally {
50236
50374
  rmSync(staging, { recursive: true, force: true });
@@ -50324,7 +50462,7 @@ function syncBuiltinBot(name, state) {
50324
50462
  var messageOf2 = (cause3) => cause3 instanceof Error ? cause3.message : String(cause3);
50325
50463
  function parseManifestIn(dir) {
50326
50464
  try {
50327
- const content = readFileSync6(join14(dir, BOT_MANIFEST_FILE), "utf-8");
50465
+ const content = readFileSync7(join14(dir, BOT_MANIFEST_FILE), "utf-8");
50328
50466
  return { ok: true, ...parseBotDocument(path2, content, dir) };
50329
50467
  } catch (err) {
50330
50468
  return { ok: false, error: messageOf2(err) };
@@ -50401,7 +50539,7 @@ function findBuiltinBotByPath(dir) {
50401
50539
  // packages/feature/agent/src/effect/botRegistryLive.ts
50402
50540
  var EMPTY_REGISTRY = { bots: [] };
50403
50541
  var readRegistry = () => readJsonFileForUpdate(BOTS_FILE, EMPTY_REGISTRY);
50404
- var readManifest = (manifestPath) => readFileSync7(manifestPath, "utf8");
50542
+ var readManifest = (manifestPath) => readFileSync8(manifestPath, "utf8");
50405
50543
  var resolveRegisteredBots = (registry3) => registry3.bots.map((record2) => resolveBot(path3, record2, readManifest));
50406
50544
  var invalidPath = (reason) => new ValidationError({ field: "path", reason });
50407
50545
  var fsReason = (what, target, cause3) => {
@@ -50622,11 +50760,11 @@ function snapshotOnRunEvent(cwd, sessionKey, provider, event) {
50622
50760
  }
50623
50761
 
50624
50762
  // packages/feature/agent/src/server/lib/slashCommands.ts
50625
- import { mkdirSync as mkdirSync7, writeFileSync as writeFileSync7, readFileSync as readFileSync9 } from "fs";
50763
+ import { mkdirSync as mkdirSync7, writeFileSync as writeFileSync8, readFileSync as readFileSync10 } from "fs";
50626
50764
  import path4, { join as join16 } from "path";
50627
50765
 
50628
50766
  // packages/feature/agent/src/server/lib/builtinSkills.ts
50629
- import { readFileSync as readFileSync8, readdirSync as readdirSync5, statSync as statSync6 } from "fs";
50767
+ import { readFileSync as readFileSync9, readdirSync as readdirSync5, statSync as statSync6 } from "fs";
50630
50768
  import { join as join15 } from "path";
50631
50769
  function listBuiltinSkillNames() {
50632
50770
  let entries2;
@@ -50659,14 +50797,14 @@ function listBuiltinSkillExtras(name) {
50659
50797
  }
50660
50798
  function readBuiltinSkillExtra(name, file2) {
50661
50799
  try {
50662
- return readFileSync8(join15(BUILTIN_SKILLS_SRC_DIR, name, file2), "utf-8");
50800
+ return readFileSync9(join15(BUILTIN_SKILLS_SRC_DIR, name, file2), "utf-8");
50663
50801
  } catch {
50664
50802
  return null;
50665
50803
  }
50666
50804
  }
50667
50805
  function readBuiltinSkill(name) {
50668
50806
  try {
50669
- return readFileSync8(builtinSkillPath(name), "utf-8");
50807
+ return readFileSync9(builtinSkillPath(name), "utf-8");
50670
50808
  } catch {
50671
50809
  return null;
50672
50810
  }
@@ -50800,16 +50938,15 @@ ${unresolved.map((u) => `- ${u}`).join("\n")}`;
50800
50938
  }
50801
50939
  function renderCommandLine(mainSession, ref, body, lang, showLocus) {
50802
50940
  if (ref.path) {
50803
- const tag = showLocus ? `[${locusWord(mainSession, lang)}\xB7${ref.name}]` : `[${ref.name}]`;
50941
+ const tag = showLocus ? `[${locusWord(mainSession)}\xB7${ref.name}]` : `[${ref.name}]`;
50804
50942
  return body ? `${tag} ${body}` : tag;
50805
50943
  }
50806
- const locus = showLocus ? `[${locusWord(mainSession, lang)}] ` : "";
50944
+ const locus = showLocus ? `[${locusWord(mainSession)}] ` : "";
50807
50945
  const then = body ? lang === "zh" ? `\uFF0C\u7136\u540E\uFF1A${body}` : `, then: ${body}` : "";
50808
50946
  return `${locus}${ref.content ?? ""}${then}`;
50809
50947
  }
50810
- function locusWord(mainSession, lang) {
50811
- if (!mainSession) return "subagent";
50812
- return lang === "zh" ? "\u4E3B\u4F1A\u8BDD" : "main session";
50948
+ function locusWord(mainSession) {
50949
+ return mainSession ? "main" : "subagent";
50813
50950
  }
50814
50951
  function isLocalBotDir(cwd, manifestPath) {
50815
50952
  if (!cwd || !path4.isAbsolute(cwd)) return false;
@@ -50830,7 +50967,7 @@ function resolveSkillRef(cmd, baseUrl, userSkills) {
50830
50967
  }
50831
50968
  function listUserSkills() {
50832
50969
  try {
50833
- const data = JSON.parse(readFileSync9(SKILLS_FILE, "utf-8"));
50970
+ const data = JSON.parse(readFileSync10(SKILLS_FILE, "utf-8"));
50834
50971
  const out = [];
50835
50972
  for (const s of data.skills ?? []) {
50836
50973
  const name = readSkillName(s.path);
@@ -50846,13 +50983,13 @@ function listRegisteredBots() {
50846
50983
  const withBuiltins = (registered) => mentionableBots(path4, [...builtins, ...registered]);
50847
50984
  let raw;
50848
50985
  try {
50849
- raw = readFileSync9(BOTS_FILE, "utf-8");
50986
+ raw = readFileSync10(BOTS_FILE, "utf-8");
50850
50987
  } catch {
50851
50988
  return { bots: withBuiltins([]), corrupt: false };
50852
50989
  }
50853
50990
  try {
50854
50991
  const data = JSON.parse(raw);
50855
- const read = (manifest) => readFileSync9(manifest, "utf-8");
50992
+ const read = (manifest) => readFileSync10(manifest, "utf-8");
50856
50993
  return { bots: withBuiltins((data.bots ?? []).map((r) => resolveBot(path4, r, read))), corrupt: false };
50857
50994
  } catch (err) {
50858
50995
  console.error(`[skills] ${BOTS_FILE} does not parse \u2014 every registered @bot line is left as plain text:`, err);
@@ -50861,7 +50998,7 @@ function listRegisteredBots() {
50861
50998
  }
50862
50999
  function readSkillName(path5) {
50863
51000
  try {
50864
- return readFrontmatterField(readFileSync9(path5, "utf-8"), "name");
51001
+ return readFrontmatterField(readFileSync10(path5, "utf-8"), "name");
50865
51002
  } catch {
50866
51003
  return null;
50867
51004
  }
@@ -50871,13 +51008,13 @@ function writeBuiltinSkill(cmd, content, baseUrl) {
50871
51008
  const dir = join16(BUILTIN_SKILLS_OUT_DIR, cmd);
50872
51009
  mkdirSync7(dir, { recursive: true });
50873
51010
  const filePath = join16(dir, "SKILL.md");
50874
- writeFileSync7(filePath, content.endsWith("\n") ? content : `${content}
51011
+ writeFileSync8(filePath, content.endsWith("\n") ? content : `${content}
50875
51012
  `, "utf-8");
50876
51013
  for (const file2 of listBuiltinSkillExtras(cmd)) {
50877
51014
  const extra = readBuiltinSkillExtra(cmd, file2);
50878
51015
  if (extra === null) continue;
50879
51016
  try {
50880
- writeFileSync7(join16(dir, file2), substitute(extra, baseUrl), "utf-8");
51017
+ writeFileSync8(join16(dir, file2), substitute(extra, baseUrl), "utf-8");
50881
51018
  } catch (err) {
50882
51019
  console.error(`[skills] builtin "${cmd}": cannot write reference file ${file2}:`, err);
50883
51020
  }
@@ -50893,6 +51030,45 @@ function substitute(text, baseUrl) {
50893
51030
 
50894
51031
  // packages/feature/agent/src/server/engines/orchestrator.ts
50895
51032
  import { randomUUID as randomUUID6 } from "crypto";
51033
+
51034
+ // packages/feature/agent/src/server/lib/outputStyles.ts
51035
+ var MAX_OUTPUT_STYLE_LENGTH = 8e3;
51036
+ var MAX_OUTPUT_STYLE_NAME_LENGTH = 60;
51037
+ var newId = () => Math.random().toString(36).slice(2, 10);
51038
+ function normalizeOutputStyles(raw) {
51039
+ if (!Array.isArray(raw)) return [];
51040
+ const usedIds = /* @__PURE__ */ new Set();
51041
+ const seenNames = /* @__PURE__ */ new Set();
51042
+ const out = [];
51043
+ for (const entry of raw) {
51044
+ if (!entry || typeof entry !== "object") continue;
51045
+ const e = entry;
51046
+ const name = typeof e.name === "string" ? e.name.trim().slice(0, MAX_OUTPUT_STYLE_NAME_LENGTH) : "";
51047
+ const content = typeof e.content === "string" ? e.content.trim().slice(0, MAX_OUTPUT_STYLE_LENGTH) : "";
51048
+ if (!name || !content || seenNames.has(name)) continue;
51049
+ seenNames.add(name);
51050
+ let id3 = typeof e.id === "string" ? e.id : "";
51051
+ while (!id3 || usedIds.has(id3)) id3 = newId();
51052
+ usedIds.add(id3);
51053
+ out.push({ id: id3, name, content });
51054
+ }
51055
+ return out;
51056
+ }
51057
+ async function readOutputStyles() {
51058
+ const data = await readJsonFile(getGlobalOutputStylesConfigPath(), {});
51059
+ return normalizeOutputStyles(data.styles);
51060
+ }
51061
+ async function resolveOutputStyleText(id3) {
51062
+ if (typeof id3 !== "string" || !id3) return void 0;
51063
+ try {
51064
+ return (await readOutputStyles()).find((s) => s.id === id3)?.content;
51065
+ } catch (err) {
51066
+ console.warn(`[output-styles] failed to read styles, running without one: ${String(err)}`);
51067
+ return void 0;
51068
+ }
51069
+ }
51070
+
51071
+ // packages/feature/agent/src/server/engines/orchestrator.ts
50896
51072
  async function dispatchChat2(spec, body, request2) {
50897
51073
  const { sessionId, images, cwd, language } = body;
50898
51074
  if (sessionId && isRunActive(sessionId)) {
@@ -50909,6 +51085,7 @@ async function dispatchChat2(spec, body, request2) {
50909
51085
  if (!pre.ok) return pre;
50910
51086
  }
50911
51087
  const promptText = typeof prompt === "string" ? prompt : void 0;
51088
+ const outputStyle = await resolveOutputStyleText(body.outputStyleId);
50912
51089
  const abort = new AbortController();
50913
51090
  const runId = typeof body.runId === "string" && body.runId || randomUUID6();
50914
51091
  let currentKey = sessionId || runId;
@@ -50932,6 +51109,7 @@ async function dispatchChat2(spec, body, request2) {
50932
51109
  cwd: cwd || "",
50933
51110
  sessionId,
50934
51111
  params: body,
51112
+ outputStyle,
50935
51113
  signal: abort.signal,
50936
51114
  emit(event) {
50937
51115
  if (isClosed) return;
@@ -14,7 +14,7 @@ import {
14
14
  getTerminalOutputPath,
15
15
  readJsonFile,
16
16
  writeJsonFile
17
- } from "./chunk-SGVT4QFB.mjs";
17
+ } from "./chunk-LPZXJPD6.mjs";
18
18
 
19
19
  // packages/feature/console/src/server/plugins/browser/BrowserBridge.ts
20
20
  import { WebSocket } from "ws";
package/dist/httpApi.mjs CHANGED
@@ -27,10 +27,10 @@ import {
27
27
  unregisterBrowser,
28
28
  unregisterTerminal,
29
29
  writeStdinToCommand
30
- } from "./chunk-5ZXPIG4Z.mjs";
30
+ } from "./chunk-W5MB7DIM.mjs";
31
31
  import {
32
32
  getTerminalHistoryPath
33
- } from "./chunk-SGVT4QFB.mjs";
33
+ } from "./chunk-LPZXJPD6.mjs";
34
34
  import "./chunk-7P6ASYW6.mjs";
35
35
 
36
36
  // src/lib/httpApi.ts
@@ -22,7 +22,7 @@ import {
22
22
  updateGlobalState,
23
23
  withFileLock,
24
24
  writeJsonFile
25
- } from "./chunk-SGVT4QFB.mjs";
25
+ } from "./chunk-LPZXJPD6.mjs";
26
26
  import "./chunk-7P6ASYW6.mjs";
27
27
 
28
28
  // packages/feature/agent/src/server/scheduledTasks.ts
@@ -663,6 +663,17 @@ var en_default = {
663
663
  noHistory: "No history context",
664
664
  noHistoryDesc: "each prompt is independent",
665
665
  noHistoryHint: "No history context: each message is sent to the model on its own, with no prior conversation. The transcript above still records everything.",
666
+ outputStyle: "Output style",
667
+ outputStyleNone: "None",
668
+ noOutputStyles: "No output styles yet \u2014 add one with the pencil",
669
+ editOutputStyles: "Edit output styles",
670
+ outputStylesMarkdownHint: 'Start each style with "# Name". Everything up to the next "# " is appended verbatim to the end of the system prompt (multi-line; deeper headings like ## are content).',
671
+ outputStylesMarkdownPlaceholder: "# Concise\nAnswer in at most three sentences, no preamble.\n\n# Teacher\nExplain why before how.",
672
+ outputStylesError: {
673
+ "content-before-heading": 'Line {{line}}: content must come after a "# Name" heading.',
674
+ "empty-style": "Line {{line}}: a style needs both a name and content.",
675
+ "duplicate-name": "Line {{line}}: duplicate style name."
676
+ },
666
677
  planTitle: "Plan (awaiting your review)",
667
678
  approvePlan: "Approve & run",
668
679
  planApproveHint: "No approval dialog here \u2014 click to exit plan mode and execute",
@@ -2021,6 +2032,17 @@ var zh_default = {
2021
2032
  noHistory: "\u4E0D\u5E26\u5386\u53F2\u4E0A\u4E0B\u6587",
2022
2033
  noHistoryDesc: "\u6BCF\u6B21\u63D0\u95EE\u5747\u72EC\u7ACB",
2023
2034
  noHistoryHint: "\u4E0D\u5E26\u5386\u53F2\u4E0A\u4E0B\u6587\uFF1A\u6BCF\u6761\u6D88\u606F\u5355\u72EC\u53D1\u7ED9\u6A21\u578B\uFF0C\u4E0D\u5E26\u4E4B\u524D\u7684\u5BF9\u8BDD\u3002\u4E0A\u65B9\u7684\u4F1A\u8BDD\u8BB0\u5F55\u7167\u5E38\u4FDD\u7559\u3002",
2035
+ outputStyle: "\u8F93\u51FA\u98CE\u683C",
2036
+ outputStyleNone: "\u65E0",
2037
+ noOutputStyles: "\u6682\u65E0\u8F93\u51FA\u98CE\u683C\uFF0C\u70B9\u53F3\u4E0A\u89D2\u94C5\u7B14\u6DFB\u52A0",
2038
+ editOutputStyles: "\u7F16\u8F91\u8F93\u51FA\u98CE\u683C",
2039
+ outputStylesMarkdownHint: "\u6BCF\u4E2A\u98CE\u683C\u4EE5\u300C# \u540D\u79F0\u300D\u5F00\u5934\uFF0C\u4E0B\u9762\u76F4\u5230\u4E0B\u4E00\u4E2A\u300C# \u300D\u4E4B\u95F4\u7684\u5185\u5BB9\u539F\u6837\u8FFD\u52A0\u5230 System Prompt \u672B\u5C3E\uFF08\u53EF\u591A\u884C\uFF0C## \u7B49\u66F4\u6DF1\u6807\u9898\u89C6\u4E3A\u6B63\u6587\uFF09\u3002",
2040
+ outputStylesMarkdownPlaceholder: "# \u7B80\u6D01\n\u56DE\u7B54\u4E0D\u8D85\u8FC7\u4E09\u53E5\u8BDD\uFF0C\u4E0D\u8981\u5F00\u573A\u767D\u3002\n\n# \u6559\u5B66\n\u5148\u8BB2\u4E3A\u4EC0\u4E48\uFF0C\u518D\u8BB2\u600E\u4E48\u505A\u3002",
2041
+ outputStylesError: {
2042
+ "content-before-heading": "\u7B2C {{line}} \u884C\uFF1A\u5185\u5BB9\u5FC5\u987B\u5199\u5728\u300C# \u540D\u79F0\u300D\u4E4B\u540E\u3002",
2043
+ "empty-style": "\u7B2C {{line}} \u884C\uFF1A\u98CE\u683C\u9700\u8981\u540D\u79F0\u548C\u5185\u5BB9\u3002",
2044
+ "duplicate-name": "\u7B2C {{line}} \u884C\uFF1A\u98CE\u683C\u540D\u79F0\u91CD\u590D\u3002"
2045
+ },
2024
2046
  planTitle: "\u8BA1\u5212\uFF08\u5F85\u4F60\u786E\u8BA4\uFF09",
2025
2047
  approvePlan: "\u6279\u51C6\u5E76\u6267\u884C",
2026
2048
  planApproveHint: "\u672C\u73AF\u5883\u65E0\u5BA1\u6279\u5F39\u7A97\uFF0C\u70B9\u6B64\u9000\u51FA\u8BA1\u5212\u6A21\u5F0F\u5E76\u6267\u884C",
@@ -2836,6 +2858,7 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
2836
2858
  throw new Error(`no engine spec for ${engine}`);
2837
2859
  }
2838
2860
  const noHistory = await readSessionNoHistory(task, engine);
2861
+ const outputStyleId = await readSessionOutputStyleId(task);
2839
2862
  const outcome = await dispatchChat(spec, {
2840
2863
  prompt: buildTaskPrompt(task),
2841
2864
  // Omit sessionId to start a brand-new session when the resume target is gone;
@@ -2844,7 +2867,8 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
2844
2867
  cwd: task.cwd,
2845
2868
  engine,
2846
2869
  ...task.model && { model: task.model },
2847
- ...noHistory && { noHistory: true }
2870
+ ...noHistory && { noHistory: true },
2871
+ ...outputStyleId && { outputStyleId }
2848
2872
  });
2849
2873
  if (!outcome.ok) {
2850
2874
  throw new Error(`${engine} dispatch rejected (${outcome.status}): ${outcome.error}`);
@@ -2884,6 +2908,11 @@ async function readSessionNoHistory(task, engine) {
2884
2908
  const state = await readJsonFile(getSessionFilePath(task.cwd), {});
2885
2909
  return state.noHistories?.[task.sessionId] === true;
2886
2910
  }
2911
+ async function readSessionOutputStyleId(task) {
2912
+ const state = await readJsonFile(getSessionFilePath(task.cwd), {});
2913
+ const id = state.outputStyles?.[task.sessionId];
2914
+ return typeof id === "string" && id ? id : void 0;
2915
+ }
2887
2916
  function sessionPathFor(engine, task) {
2888
2917
  const builtinPath = BUILTIN_LOOP_PATHS[engine];
2889
2918
  if (builtinPath) return builtinPath(task.cwd, task.sessionId);
@@ -3345,6 +3374,7 @@ export {
3345
3374
  buildTaskPrompt,
3346
3375
  getNextCronTime,
3347
3376
  readSessionNoHistory,
3377
+ readSessionOutputStyleId,
3348
3378
  scheduledTaskManager,
3349
3379
  sendChatMessageEff
3350
3380
  };