@surething/cockpit 1.0.275 → 1.0.277

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 (739) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +8 -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 +4 -4
  6. package/.next-prod/routes-manifest.json +26 -6
  7. package/.next-prod/server/app/_global-error/page.js +2 -2
  8. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next-prod/server/app/_global-error.html +1 -1
  11. package/.next-prod/server/app/_global-error.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next-prod/server/app/_not-found/page.js +1 -1
  16. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
  17. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next-prod/server/app/_not-found.html +2 -2
  19. package/.next-prod/server/app/_not-found.rsc +3 -3
  20. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
  21. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
  22. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  23. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  24. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  25. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
  26. package/.next-prod/server/app/api/bash/route.js +1 -1
  27. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  28. package/.next-prod/server/app/api/bots/[id]/route.js +1 -0
  29. package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -0
  30. package/.next-prod/server/app/api/bots/[id]/route_client-reference-manifest.js +1 -0
  31. package/.next-prod/server/app/api/bots/route.js +1 -0
  32. package/.next-prod/server/app/api/{sessions → bots}/route.js.nft.json +1 -1
  33. package/.next-prod/server/app/api/bots/route_client-reference-manifest.js +1 -0
  34. package/.next-prod/server/app/api/chat/codex/route.js +1 -1
  35. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  36. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  37. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  38. package/.next-prod/server/app/api/chat/glm/route.js +1 -1
  39. package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
  40. package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
  41. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  42. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  43. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  44. package/.next-prod/server/app/api/chat/route.js +1 -1
  45. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  46. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  47. package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
  48. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  49. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  50. package/.next-prod/server/app/api/commands/route.js +1 -1
  51. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  52. package/.next-prod/server/app/api/comments/route.js +1 -1
  53. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  54. package/.next-prod/server/app/api/db/columns/route.js +2 -2
  55. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  56. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  57. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  58. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  59. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  60. package/.next-prod/server/app/api/db/export/route.js +1 -1
  61. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  62. package/.next-prod/server/app/api/db/query/route.js +1 -1
  63. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  64. package/.next-prod/server/app/api/db/schemas/route.js +1 -1
  65. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  66. package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
  67. package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
  68. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  69. package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
  70. package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
  71. package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
  72. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  73. package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
  74. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  75. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  76. package/.next-prod/server/app/api/file/route.js +1 -1
  77. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  78. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  79. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  80. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  81. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  82. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  83. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  84. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  85. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  86. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  87. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  88. package/.next-prod/server/app/api/files/index/route.js +1 -1
  89. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  90. package/.next-prod/server/app/api/files/init/route.js +1 -1
  91. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  92. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  93. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  94. package/.next-prod/server/app/api/files/read/route.js +1 -1
  95. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  96. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  97. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  98. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  99. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  100. package/.next-prod/server/app/api/files/save/route.js +1 -1
  101. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  102. package/.next-prod/server/app/api/files/search/route.js +1 -1
  103. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  104. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  105. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  106. package/.next-prod/server/app/api/files/text/route.js +1 -1
  107. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  108. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  109. package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
  110. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  111. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  112. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  113. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  114. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  115. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  116. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  117. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  118. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  119. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  120. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  121. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  122. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  123. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  124. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  125. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  126. package/.next-prod/server/app/api/git/status/route.js +1 -1
  127. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  128. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  129. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  130. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  131. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  132. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  133. package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
  134. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  135. package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
  136. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  137. package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
  138. package/.next-prod/server/app/api/global-state/route.js +2 -2
  139. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  140. package/.next-prod/server/app/api/health/route.js +1 -1
  141. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  142. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  143. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  144. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  145. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  146. package/.next-prod/server/app/api/instructions/config/route.js +1 -1
  147. package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
  148. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  149. package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
  150. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  151. package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
  152. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  153. package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
  154. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  155. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  156. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  157. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  158. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  159. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  160. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  161. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  162. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  163. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  164. package/.next-prod/server/app/api/mysql/columns/route.js +1 -1
  165. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  166. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  167. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  168. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  169. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  170. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  171. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  172. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  173. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  174. package/.next-prod/server/app/api/mysql/schemas/route.js +1 -1
  175. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  176. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  177. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  178. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  179. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  180. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  181. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  182. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  183. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  184. package/.next-prod/server/app/api/note/route.js +1 -1
  185. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  186. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  187. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  188. package/.next-prod/server/app/api/ollama/default-model/route.js +1 -0
  189. package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -0
  190. package/.next-prod/server/app/api/ollama/default-model/route_client-reference-manifest.js +1 -0
  191. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  192. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  193. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  194. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  195. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  196. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  197. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  198. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  199. package/.next-prod/server/app/api/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 -0
  310. package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -0
  311. package/.next-prod/server/app/api/snapshots/range-diff/route_client-reference-manifest.js +1 -0
  312. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  313. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  314. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  315. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  316. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  317. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  318. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  319. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  320. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  321. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  322. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  323. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  324. package/.next-prod/server/app/api/update/route.js +1 -1
  325. package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
  326. package/.next-prod/server/app/api/update-state/route.js +1 -1
  327. package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
  328. package/.next-prod/server/app/api/version/route.js +1 -1
  329. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  330. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  331. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  332. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  333. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  334. package/.next-prod/server/app/m/page.js +1 -1
  335. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  336. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  337. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  338. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  339. package/.next-prod/server/app/page.js +1 -1
  340. package/.next-prod/server/app/page.js.nft.json +1 -1
  341. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  342. package/.next-prod/server/app/project/page.js +1 -1
  343. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  344. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  345. package/.next-prod/server/app/review/[id]/page.js +1 -1
  346. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  347. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  348. package/.next-prod/server/app-paths-manifest.json +8 -5
  349. package/.next-prod/server/chunks/2493.js +27 -23
  350. package/.next-prod/server/chunks/6495.js +1 -1
  351. package/.next-prod/server/chunks/6548.js +1 -1
  352. package/.next-prod/server/chunks/7438.js +764 -0
  353. package/.next-prod/server/chunks/{1653.js → 8022.js} +2 -2
  354. package/.next-prod/server/chunks/{7956.js → 8131.js} +3 -3
  355. package/.next-prod/server/chunks/9830.js +1 -1
  356. package/.next-prod/server/middleware-build-manifest.js +1 -1
  357. package/.next-prod/server/pages/404.html +2 -2
  358. package/.next-prod/server/pages/500.html +1 -1
  359. package/.next-prod/server/server-reference-manifest.json +1 -1
  360. package/.next-prod/static/chunks/{88707-2ab6211efb1fae85.js → 15546-54f06dcff501835d.js} +2 -2
  361. package/.next-prod/static/chunks/89656-1b5bae337f6b6892.js +34 -0
  362. package/.next-prod/static/chunks/95313-96a541e7ce6f76c4.js +17 -0
  363. package/.next-prod/static/chunks/99092-7b5fa4560a398020.js +716 -0
  364. package/.next-prod/static/chunks/{103-1f50be74a00f89af.js → 99365-c697e983b9728d08.js} +2 -2
  365. package/.next-prod/static/chunks/app/_global-error/page-6ac899b2cd280c12.js +1 -0
  366. package/.next-prod/static/chunks/app/api/agent/test/route-6ac899b2cd280c12.js +1 -0
  367. package/.next-prod/static/chunks/app/api/bash/route-6ac899b2cd280c12.js +1 -0
  368. package/.next-prod/static/chunks/app/api/bots/[id]/route-6ac899b2cd280c12.js +1 -0
  369. package/.next-prod/static/chunks/app/api/bots/route-6ac899b2cd280c12.js +1 -0
  370. package/.next-prod/static/chunks/app/api/chat/codex/route-6ac899b2cd280c12.js +1 -0
  371. package/.next-prod/static/chunks/app/api/chat/deepseek/route-6ac899b2cd280c12.js +1 -0
  372. package/.next-prod/static/chunks/app/api/chat/glm/route-6ac899b2cd280c12.js +1 -0
  373. package/.next-prod/static/chunks/app/api/chat/kimi/route-6ac899b2cd280c12.js +1 -0
  374. package/.next-prod/static/chunks/app/api/chat/ollama/route-6ac899b2cd280c12.js +1 -0
  375. package/.next-prod/static/chunks/app/api/chat/route-6ac899b2cd280c12.js +1 -0
  376. package/.next-prod/static/chunks/app/api/chat/stop/route-6ac899b2cd280c12.js +1 -0
  377. package/.next-prod/static/chunks/app/api/claude-stats/route-6ac899b2cd280c12.js +1 -0
  378. package/.next-prod/static/chunks/app/api/commands/route-6ac899b2cd280c12.js +1 -0
  379. package/.next-prod/static/chunks/app/api/comments/route-6ac899b2cd280c12.js +1 -0
  380. package/.next-prod/static/chunks/app/api/db/columns/route-6ac899b2cd280c12.js +1 -0
  381. package/.next-prod/static/chunks/app/api/db/connect/route-6ac899b2cd280c12.js +1 -0
  382. package/.next-prod/static/chunks/app/api/db/disconnect/route-6ac899b2cd280c12.js +1 -0
  383. package/.next-prod/static/chunks/app/api/db/export/route-6ac899b2cd280c12.js +1 -0
  384. package/.next-prod/static/chunks/app/api/db/query/route-6ac899b2cd280c12.js +1 -0
  385. package/.next-prod/static/chunks/app/api/db/schemas/route-6ac899b2cd280c12.js +1 -0
  386. package/.next-prod/static/chunks/app/api/deepseek/balance/route-6ac899b2cd280c12.js +1 -0
  387. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6ac899b2cd280c12.js +1 -0
  388. package/.next-prod/static/chunks/app/api/deepseek/models/route-6ac899b2cd280c12.js +1 -0
  389. package/.next-prod/static/chunks/app/api/dev/spans/route-6ac899b2cd280c12.js +1 -0
  390. package/.next-prod/static/chunks/app/api/extension/version/route-6ac899b2cd280c12.js +1 -0
  391. package/.next-prod/static/chunks/app/api/file/route-6ac899b2cd280c12.js +1 -0
  392. package/.next-prod/static/chunks/app/api/files/blame/route-6ac899b2cd280c12.js +1 -0
  393. package/.next-prod/static/chunks/app/api/files/clipboard/route-6ac899b2cd280c12.js +1 -0
  394. package/.next-prod/static/chunks/app/api/files/copy/route-6ac899b2cd280c12.js +1 -0
  395. package/.next-prod/static/chunks/app/api/files/delete/route-6ac899b2cd280c12.js +1 -0
  396. package/.next-prod/static/chunks/app/api/files/expanded/route-6ac899b2cd280c12.js +1 -0
  397. package/.next-prod/static/chunks/app/api/files/index/route-6ac899b2cd280c12.js +1 -0
  398. package/.next-prod/static/chunks/app/api/files/init/route-6ac899b2cd280c12.js +1 -0
  399. package/.next-prod/static/chunks/app/api/files/paste/route-6ac899b2cd280c12.js +1 -0
  400. package/.next-prod/static/chunks/app/api/files/read/route-6ac899b2cd280c12.js +1 -0
  401. package/.next-prod/static/chunks/app/api/files/readdir/route-6ac899b2cd280c12.js +1 -0
  402. package/.next-prod/static/chunks/app/api/files/recent/route-6ac899b2cd280c12.js +1 -0
  403. package/.next-prod/static/chunks/app/api/files/save/route-6ac899b2cd280c12.js +1 -0
  404. package/.next-prod/static/chunks/app/api/files/search/route-6ac899b2cd280c12.js +1 -0
  405. package/.next-prod/static/chunks/app/api/files/stat/route-6ac899b2cd280c12.js +1 -0
  406. package/.next-prod/static/chunks/app/api/files/text/route-6ac899b2cd280c12.js +1 -0
  407. package/.next-prod/static/chunks/app/api/git/blob/route-6ac899b2cd280c12.js +1 -0
  408. package/.next-prod/static/chunks/app/api/git/branch-diff/route-6ac899b2cd280c12.js +1 -0
  409. package/.next-prod/static/chunks/app/api/git/branches/route-6ac899b2cd280c12.js +1 -0
  410. package/.next-prod/static/chunks/app/api/git/commit-diff/route-6ac899b2cd280c12.js +1 -0
  411. package/.next-prod/static/chunks/app/api/git/commits/route-6ac899b2cd280c12.js +1 -0
  412. package/.next-prod/static/chunks/app/api/git/current-branch/route-6ac899b2cd280c12.js +1 -0
  413. package/.next-prod/static/chunks/app/api/git/diff/route-6ac899b2cd280c12.js +1 -0
  414. package/.next-prod/static/chunks/app/api/git/discard/route-6ac899b2cd280c12.js +1 -0
  415. package/.next-prod/static/chunks/app/api/git/stage/route-6ac899b2cd280c12.js +1 -0
  416. package/.next-prod/static/chunks/app/api/git/status/route-6ac899b2cd280c12.js +1 -0
  417. package/.next-prod/static/chunks/app/api/git/unstage/route-6ac899b2cd280c12.js +1 -0
  418. package/.next-prod/static/chunks/app/api/git/worktree/route-6ac899b2cd280c12.js +1 -0
  419. package/.next-prod/static/chunks/app/api/glm/credentials/route-6ac899b2cd280c12.js +1 -0
  420. package/.next-prod/static/chunks/app/api/glm/models/route-6ac899b2cd280c12.js +1 -0
  421. package/.next-prod/static/chunks/app/api/glm/usage/route-6ac899b2cd280c12.js +1 -0
  422. package/.next-prod/static/chunks/app/api/global-state/route-6ac899b2cd280c12.js +1 -0
  423. package/.next-prod/static/chunks/app/api/health/route-6ac899b2cd280c12.js +1 -0
  424. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6ac899b2cd280c12.js +1 -0
  425. package/.next-prod/static/chunks/app/api/html-apps/route-6ac899b2cd280c12.js +1 -0
  426. package/.next-prod/static/chunks/app/api/instructions/config/route-6ac899b2cd280c12.js +1 -0
  427. package/.next-prod/static/chunks/app/api/kimi/credentials/route-6ac899b2cd280c12.js +1 -0
  428. package/.next-prod/static/chunks/app/api/kimi/models/route-6ac899b2cd280c12.js +1 -0
  429. package/.next-prod/static/chunks/app/api/kimi/usage/route-6ac899b2cd280c12.js +1 -0
  430. package/.next-prod/static/chunks/app/api/lsp/definition/route-6ac899b2cd280c12.js +1 -0
  431. package/.next-prod/static/chunks/app/api/lsp/hover/route-6ac899b2cd280c12.js +1 -0
  432. package/.next-prod/static/chunks/app/api/lsp/references/route-6ac899b2cd280c12.js +1 -0
  433. package/.next-prod/static/chunks/app/api/lsp/status/route-6ac899b2cd280c12.js +1 -0
  434. package/.next-prod/static/chunks/app/api/lsp/warmup/route-6ac899b2cd280c12.js +1 -0
  435. package/.next-prod/static/chunks/app/api/mysql/columns/route-6ac899b2cd280c12.js +1 -0
  436. package/.next-prod/static/chunks/app/api/mysql/connect/route-6ac899b2cd280c12.js +1 -0
  437. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6ac899b2cd280c12.js +1 -0
  438. package/.next-prod/static/chunks/app/api/mysql/export/route-6ac899b2cd280c12.js +1 -0
  439. package/.next-prod/static/chunks/app/api/mysql/query/route-6ac899b2cd280c12.js +1 -0
  440. package/.next-prod/static/chunks/app/api/mysql/schemas/route-6ac899b2cd280c12.js +1 -0
  441. package/.next-prod/static/chunks/app/api/neo4j/connect/route-6ac899b2cd280c12.js +1 -0
  442. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6ac899b2cd280c12.js +1 -0
  443. package/.next-prod/static/chunks/app/api/neo4j/query/route-6ac899b2cd280c12.js +1 -0
  444. package/.next-prod/static/chunks/app/api/neo4j/schema/route-6ac899b2cd280c12.js +1 -0
  445. package/.next-prod/static/chunks/app/api/note/route-6ac899b2cd280c12.js +1 -0
  446. package/.next-prod/static/chunks/app/api/ollama/config/route-6ac899b2cd280c12.js +1 -0
  447. package/.next-prod/static/chunks/app/api/ollama/default-model/route-6ac899b2cd280c12.js +1 -0
  448. package/.next-prod/static/chunks/app/api/ollama/models/route-6ac899b2cd280c12.js +1 -0
  449. package/.next-prod/static/chunks/app/api/ollama/start/route-6ac899b2cd280c12.js +1 -0
  450. package/.next-prod/static/chunks/app/api/open-cursor/route-6ac899b2cd280c12.js +1 -0
  451. package/.next-prod/static/chunks/app/api/open-vscode/route-6ac899b2cd280c12.js +1 -0
  452. package/.next-prod/static/chunks/app/api/pick-folder/route-6ac899b2cd280c12.js +1 -0
  453. package/.next-prod/static/chunks/app/api/pinned-sessions/route-6ac899b2cd280c12.js +1 -0
  454. package/.next-prod/static/chunks/app/api/project-settings/route-6ac899b2cd280c12.js +1 -0
  455. package/.next-prod/static/chunks/app/api/project-state/route-6ac899b2cd280c12.js +1 -0
  456. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6ac899b2cd280c12.js +1 -0
  457. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6ac899b2cd280c12.js +1 -0
  458. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6ac899b2cd280c12.js +1 -0
  459. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6ac899b2cd280c12.js +1 -0
  460. package/.next-prod/static/chunks/app/api/projectGraph/context/route-6ac899b2cd280c12.js +1 -0
  461. package/.next-prod/static/chunks/app/api/projectGraph/file/route-6ac899b2cd280c12.js +1 -0
  462. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6ac899b2cd280c12.js +1 -0
  463. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6ac899b2cd280c12.js +1 -0
  464. package/.next-prod/static/chunks/app/api/projectGraph/related/route-6ac899b2cd280c12.js +1 -0
  465. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-6ac899b2cd280c12.js +1 -0
  466. package/.next-prod/static/chunks/app/api/projectGraph/search/route-6ac899b2cd280c12.js +1 -0
  467. package/.next-prod/static/chunks/app/api/projects/route-6ac899b2cd280c12.js +1 -0
  468. package/.next-prod/static/chunks/app/api/push/public-key/route-6ac899b2cd280c12.js +1 -0
  469. package/.next-prod/static/chunks/app/api/push/subscribe/route-6ac899b2cd280c12.js +1 -0
  470. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6ac899b2cd280c12.js +1 -0
  471. package/.next-prod/static/chunks/app/api/redis/command/route-6ac899b2cd280c12.js +1 -0
  472. package/.next-prod/static/chunks/app/api/redis/connect/route-6ac899b2cd280c12.js +1 -0
  473. package/.next-prod/static/chunks/app/api/redis/delete/route-6ac899b2cd280c12.js +1 -0
  474. package/.next-prod/static/chunks/app/api/redis/disconnect/route-6ac899b2cd280c12.js +1 -0
  475. package/.next-prod/static/chunks/app/api/redis/get/route-6ac899b2cd280c12.js +1 -0
  476. package/.next-prod/static/chunks/app/api/redis/keys/route-6ac899b2cd280c12.js +1 -0
  477. package/.next-prod/static/chunks/app/api/redis/set/route-6ac899b2cd280c12.js +1 -0
  478. package/.next-prod/static/chunks/app/api/restart/route-6ac899b2cd280c12.js +1 -0
  479. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-6ac899b2cd280c12.js +1 -0
  480. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-6ac899b2cd280c12.js +1 -0
  481. package/.next-prod/static/chunks/app/api/review/[id]/route-6ac899b2cd280c12.js +1 -0
  482. package/.next-prod/static/chunks/app/api/review/identify/route-6ac899b2cd280c12.js +1 -0
  483. package/.next-prod/static/chunks/app/api/review/order/route-6ac899b2cd280c12.js +1 -0
  484. package/.next-prod/static/chunks/app/api/review/route-6ac899b2cd280c12.js +1 -0
  485. package/.next-prod/static/chunks/app/api/review/share-info/route-6ac899b2cd280c12.js +1 -0
  486. package/.next-prod/static/chunks/app/api/review/users/route-6ac899b2cd280c12.js +1 -0
  487. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6ac899b2cd280c12.js +1 -0
  488. package/.next-prod/static/chunks/app/api/services/config/route-6ac899b2cd280c12.js +1 -0
  489. package/.next-prod/static/chunks/app/api/services/scripts/route-6ac899b2cd280c12.js +1 -0
  490. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6ac899b2cd280c12.js +1 -0
  491. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6ac899b2cd280c12.js +1 -0
  492. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6ac899b2cd280c12.js +1 -0
  493. package/.next-prod/static/chunks/app/api/session/user-messages/route-6ac899b2cd280c12.js +1 -0
  494. package/.next-prod/static/chunks/app/api/session-by-path/route-6ac899b2cd280c12.js +1 -0
  495. package/.next-prod/static/chunks/app/api/sessions/delegate/route-6ac899b2cd280c12.js +1 -0
  496. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6ac899b2cd280c12.js +1 -0
  497. package/.next-prod/static/chunks/app/api/sessions/projects/route-6ac899b2cd280c12.js +1 -0
  498. package/.next-prod/static/chunks/app/api/sessions/search/route-6ac899b2cd280c12.js +1 -0
  499. package/.next-prod/static/chunks/app/api/sessions/status/route-6ac899b2cd280c12.js +1 -0
  500. package/.next-prod/static/chunks/app/api/settings/route-6ac899b2cd280c12.js +1 -0
  501. package/.next-prod/static/chunks/app/api/shutdown/route-6ac899b2cd280c12.js +1 -0
  502. package/.next-prod/static/chunks/app/api/skills/[id]/route-6ac899b2cd280c12.js +1 -0
  503. package/.next-prod/static/chunks/app/api/skills/content/route-6ac899b2cd280c12.js +1 -0
  504. package/.next-prod/static/chunks/app/api/skills/route-6ac899b2cd280c12.js +1 -0
  505. package/.next-prod/static/chunks/app/api/snapshots/blob/route-6ac899b2cd280c12.js +1 -0
  506. package/.next-prod/static/chunks/app/api/snapshots/diff/route-6ac899b2cd280c12.js +1 -0
  507. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6ac899b2cd280c12.js +1 -0
  508. package/.next-prod/static/chunks/app/api/snapshots/route-6ac899b2cd280c12.js +1 -0
  509. package/.next-prod/static/chunks/app/api/terminal/aliases/route-6ac899b2cd280c12.js +1 -0
  510. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6ac899b2cd280c12.js +1 -0
  511. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6ac899b2cd280c12.js +1 -0
  512. package/.next-prod/static/chunks/app/api/terminal/env/route-6ac899b2cd280c12.js +1 -0
  513. package/.next-prod/static/chunks/app/api/terminal/history/route-6ac899b2cd280c12.js +1 -0
  514. package/.next-prod/static/chunks/app/api/update/route-6ac899b2cd280c12.js +1 -0
  515. package/.next-prod/static/chunks/app/api/update-state/route-6ac899b2cd280c12.js +1 -0
  516. package/.next-prod/static/chunks/app/api/version/route-6ac899b2cd280c12.js +1 -0
  517. package/.next-prod/static/chunks/app/apps/[...path]/route-6ac899b2cd280c12.js +1 -0
  518. package/.next-prod/static/chunks/app/layout-f3f9426dccb507b2.js +1 -0
  519. package/.next-prod/static/chunks/app/m/page-ba0be89e67f08b6d.js +1 -0
  520. package/.next-prod/static/chunks/app/manifest.webmanifest/route-6ac899b2cd280c12.js +1 -0
  521. package/.next-prod/static/chunks/app/page-d97e5df9486f39cb.js +1 -0
  522. package/.next-prod/static/chunks/app/project/page-d97e5df9486f39cb.js +1 -0
  523. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6ac899b2cd280c12.js +1 -0
  524. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6ac899b2cd280c12.js +1 -0
  525. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6ac899b2cd280c12.js +1 -0
  526. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6ac899b2cd280c12.js +1 -0
  527. package/.next-prod/static/css/e6181fb6c73884b4.css +1 -0
  528. package/.next-prod/static/yEJ9Z5Bjv9ti4WeYINfCs/_buildManifest.js +1 -0
  529. package/.next-prod/trace +15 -15
  530. package/.next-prod/trace-build +1 -1
  531. package/.next-prod/types/app/api/bots/[id]/route.ts +353 -0
  532. package/.next-prod/types/app/api/{sessions → bots}/route.ts +3 -3
  533. package/.next-prod/types/app/api/ollama/default-model/route.ts +353 -0
  534. package/.next-prod/types/app/api/snapshots/range-diff/route.ts +353 -0
  535. package/.next-prod/types/routes.d.ts +5 -2
  536. package/.next-prod/types/validator.ts +36 -9
  537. package/README.md +15 -2
  538. package/README.zh.md +15 -2
  539. package/bin/cock-codegraph.mjs +58 -58
  540. package/bin/cock-connection.mjs +1 -1
  541. package/bin/cock-terminal.mjs +17 -17
  542. package/bin/cockpit-dev.mjs +3 -4
  543. package/bin/cockpit.mjs +243 -9
  544. package/bin/setup-dev.mjs +3 -4
  545. package/bots/README.md +86 -0
  546. package/bots/cockpit-helper/BOT.md +95 -0
  547. package/bots/cockpit-helper/commitments/active.md +3 -0
  548. package/bots/cockpit-helper/evidence/refs.md +3 -0
  549. package/bots/cockpit-helper/identity/persona.md +25 -0
  550. package/bots/cockpit-helper/identity/principles.md +49 -0
  551. package/bots/cockpit-helper/memory/facts.md +3 -0
  552. package/bots/cockpit-helper/relationships/user.md +3 -0
  553. package/dist/{chunk-6R4AHIIV.mjs → chunk-5ZXPIG4Z.mjs} +1 -1
  554. package/dist/{chunk-JJWVBF6H.mjs → chunk-SGVT4QFB.mjs} +1001 -216
  555. package/dist/httpApi.mjs +2 -2
  556. package/dist/scheduledTasks.mjs +150 -27
  557. package/dist/wsServer.mjs +2 -2
  558. package/package.json +4 -4
  559. package/skills/README.md +18 -2
  560. package/skills/bot/SKILL.md +155 -0
  561. package/skills/bot-run/SKILL.md +151 -0
  562. package/skills/bot-run/followup.md +38 -0
  563. package/skills/bot-run/wait.md +76 -0
  564. package/skills/bot-turn/SKILL.md +106 -0
  565. package/skills/bot-turn/attach.md +45 -0
  566. package/skills/bot-turn/export.md +113 -0
  567. package/skills/bot-turn/review.md +101 -0
  568. package/skills/bot-turn/writing.md +110 -0
  569. package/skills/cc/SKILL.md +0 -1
  570. package/skills/dl/SKILL.md +4 -1
  571. package/.next-prod/server/app/api/sessions/route.js +0 -1
  572. package/.next-prod/server/app/api/sessions/route_client-reference-manifest.js +0 -1
  573. package/.next-prod/server/chunks/5750.js +0 -762
  574. package/.next-prod/static/chunks/72539-7e4ca2de5c9f3f90.js +0 -17
  575. package/.next-prod/static/chunks/89656-bc48af1f9ee9c312.js +0 -32
  576. package/.next-prod/static/chunks/99092-36ee2c49e4c4c059.js +0 -716
  577. package/.next-prod/static/chunks/app/_global-error/page-b56c0b18a3b4d026.js +0 -1
  578. package/.next-prod/static/chunks/app/api/agent/test/route-b56c0b18a3b4d026.js +0 -1
  579. package/.next-prod/static/chunks/app/api/bash/route-b56c0b18a3b4d026.js +0 -1
  580. package/.next-prod/static/chunks/app/api/chat/codex/route-b56c0b18a3b4d026.js +0 -1
  581. package/.next-prod/static/chunks/app/api/chat/deepseek/route-b56c0b18a3b4d026.js +0 -1
  582. package/.next-prod/static/chunks/app/api/chat/glm/route-b56c0b18a3b4d026.js +0 -1
  583. package/.next-prod/static/chunks/app/api/chat/kimi/route-b56c0b18a3b4d026.js +0 -1
  584. package/.next-prod/static/chunks/app/api/chat/ollama/route-b56c0b18a3b4d026.js +0 -1
  585. package/.next-prod/static/chunks/app/api/chat/route-b56c0b18a3b4d026.js +0 -1
  586. package/.next-prod/static/chunks/app/api/chat/stop/route-b56c0b18a3b4d026.js +0 -1
  587. package/.next-prod/static/chunks/app/api/claude-stats/route-b56c0b18a3b4d026.js +0 -1
  588. package/.next-prod/static/chunks/app/api/commands/route-b56c0b18a3b4d026.js +0 -1
  589. package/.next-prod/static/chunks/app/api/comments/route-b56c0b18a3b4d026.js +0 -1
  590. package/.next-prod/static/chunks/app/api/db/columns/route-b56c0b18a3b4d026.js +0 -1
  591. package/.next-prod/static/chunks/app/api/db/connect/route-b56c0b18a3b4d026.js +0 -1
  592. package/.next-prod/static/chunks/app/api/db/disconnect/route-b56c0b18a3b4d026.js +0 -1
  593. package/.next-prod/static/chunks/app/api/db/export/route-b56c0b18a3b4d026.js +0 -1
  594. package/.next-prod/static/chunks/app/api/db/query/route-b56c0b18a3b4d026.js +0 -1
  595. package/.next-prod/static/chunks/app/api/db/schemas/route-b56c0b18a3b4d026.js +0 -1
  596. package/.next-prod/static/chunks/app/api/deepseek/balance/route-b56c0b18a3b4d026.js +0 -1
  597. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b56c0b18a3b4d026.js +0 -1
  598. package/.next-prod/static/chunks/app/api/deepseek/models/route-b56c0b18a3b4d026.js +0 -1
  599. package/.next-prod/static/chunks/app/api/dev/spans/route-b56c0b18a3b4d026.js +0 -1
  600. package/.next-prod/static/chunks/app/api/extension/version/route-b56c0b18a3b4d026.js +0 -1
  601. package/.next-prod/static/chunks/app/api/file/route-b56c0b18a3b4d026.js +0 -1
  602. package/.next-prod/static/chunks/app/api/files/blame/route-b56c0b18a3b4d026.js +0 -1
  603. package/.next-prod/static/chunks/app/api/files/clipboard/route-b56c0b18a3b4d026.js +0 -1
  604. package/.next-prod/static/chunks/app/api/files/copy/route-b56c0b18a3b4d026.js +0 -1
  605. package/.next-prod/static/chunks/app/api/files/delete/route-b56c0b18a3b4d026.js +0 -1
  606. package/.next-prod/static/chunks/app/api/files/expanded/route-b56c0b18a3b4d026.js +0 -1
  607. package/.next-prod/static/chunks/app/api/files/index/route-b56c0b18a3b4d026.js +0 -1
  608. package/.next-prod/static/chunks/app/api/files/init/route-b56c0b18a3b4d026.js +0 -1
  609. package/.next-prod/static/chunks/app/api/files/paste/route-b56c0b18a3b4d026.js +0 -1
  610. package/.next-prod/static/chunks/app/api/files/read/route-b56c0b18a3b4d026.js +0 -1
  611. package/.next-prod/static/chunks/app/api/files/readdir/route-b56c0b18a3b4d026.js +0 -1
  612. package/.next-prod/static/chunks/app/api/files/recent/route-b56c0b18a3b4d026.js +0 -1
  613. package/.next-prod/static/chunks/app/api/files/save/route-b56c0b18a3b4d026.js +0 -1
  614. package/.next-prod/static/chunks/app/api/files/search/route-b56c0b18a3b4d026.js +0 -1
  615. package/.next-prod/static/chunks/app/api/files/stat/route-b56c0b18a3b4d026.js +0 -1
  616. package/.next-prod/static/chunks/app/api/files/text/route-b56c0b18a3b4d026.js +0 -1
  617. package/.next-prod/static/chunks/app/api/git/blob/route-b56c0b18a3b4d026.js +0 -1
  618. package/.next-prod/static/chunks/app/api/git/branch-diff/route-b56c0b18a3b4d026.js +0 -1
  619. package/.next-prod/static/chunks/app/api/git/branches/route-b56c0b18a3b4d026.js +0 -1
  620. package/.next-prod/static/chunks/app/api/git/commit-diff/route-b56c0b18a3b4d026.js +0 -1
  621. package/.next-prod/static/chunks/app/api/git/commits/route-b56c0b18a3b4d026.js +0 -1
  622. package/.next-prod/static/chunks/app/api/git/current-branch/route-b56c0b18a3b4d026.js +0 -1
  623. package/.next-prod/static/chunks/app/api/git/diff/route-b56c0b18a3b4d026.js +0 -1
  624. package/.next-prod/static/chunks/app/api/git/discard/route-b56c0b18a3b4d026.js +0 -1
  625. package/.next-prod/static/chunks/app/api/git/stage/route-b56c0b18a3b4d026.js +0 -1
  626. package/.next-prod/static/chunks/app/api/git/status/route-b56c0b18a3b4d026.js +0 -1
  627. package/.next-prod/static/chunks/app/api/git/unstage/route-b56c0b18a3b4d026.js +0 -1
  628. package/.next-prod/static/chunks/app/api/git/worktree/route-b56c0b18a3b4d026.js +0 -1
  629. package/.next-prod/static/chunks/app/api/glm/credentials/route-b56c0b18a3b4d026.js +0 -1
  630. package/.next-prod/static/chunks/app/api/glm/models/route-b56c0b18a3b4d026.js +0 -1
  631. package/.next-prod/static/chunks/app/api/glm/usage/route-b56c0b18a3b4d026.js +0 -1
  632. package/.next-prod/static/chunks/app/api/global-state/route-b56c0b18a3b4d026.js +0 -1
  633. package/.next-prod/static/chunks/app/api/health/route-b56c0b18a3b4d026.js +0 -1
  634. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b56c0b18a3b4d026.js +0 -1
  635. package/.next-prod/static/chunks/app/api/html-apps/route-b56c0b18a3b4d026.js +0 -1
  636. package/.next-prod/static/chunks/app/api/instructions/config/route-b56c0b18a3b4d026.js +0 -1
  637. package/.next-prod/static/chunks/app/api/kimi/credentials/route-b56c0b18a3b4d026.js +0 -1
  638. package/.next-prod/static/chunks/app/api/kimi/models/route-b56c0b18a3b4d026.js +0 -1
  639. package/.next-prod/static/chunks/app/api/kimi/usage/route-b56c0b18a3b4d026.js +0 -1
  640. package/.next-prod/static/chunks/app/api/lsp/definition/route-b56c0b18a3b4d026.js +0 -1
  641. package/.next-prod/static/chunks/app/api/lsp/hover/route-b56c0b18a3b4d026.js +0 -1
  642. package/.next-prod/static/chunks/app/api/lsp/references/route-b56c0b18a3b4d026.js +0 -1
  643. package/.next-prod/static/chunks/app/api/lsp/status/route-b56c0b18a3b4d026.js +0 -1
  644. package/.next-prod/static/chunks/app/api/lsp/warmup/route-b56c0b18a3b4d026.js +0 -1
  645. package/.next-prod/static/chunks/app/api/mysql/columns/route-b56c0b18a3b4d026.js +0 -1
  646. package/.next-prod/static/chunks/app/api/mysql/connect/route-b56c0b18a3b4d026.js +0 -1
  647. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b56c0b18a3b4d026.js +0 -1
  648. package/.next-prod/static/chunks/app/api/mysql/export/route-b56c0b18a3b4d026.js +0 -1
  649. package/.next-prod/static/chunks/app/api/mysql/query/route-b56c0b18a3b4d026.js +0 -1
  650. package/.next-prod/static/chunks/app/api/mysql/schemas/route-b56c0b18a3b4d026.js +0 -1
  651. package/.next-prod/static/chunks/app/api/neo4j/connect/route-b56c0b18a3b4d026.js +0 -1
  652. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b56c0b18a3b4d026.js +0 -1
  653. package/.next-prod/static/chunks/app/api/neo4j/query/route-b56c0b18a3b4d026.js +0 -1
  654. package/.next-prod/static/chunks/app/api/neo4j/schema/route-b56c0b18a3b4d026.js +0 -1
  655. package/.next-prod/static/chunks/app/api/note/route-b56c0b18a3b4d026.js +0 -1
  656. package/.next-prod/static/chunks/app/api/ollama/config/route-b56c0b18a3b4d026.js +0 -1
  657. package/.next-prod/static/chunks/app/api/ollama/models/route-b56c0b18a3b4d026.js +0 -1
  658. package/.next-prod/static/chunks/app/api/ollama/start/route-b56c0b18a3b4d026.js +0 -1
  659. package/.next-prod/static/chunks/app/api/open-cursor/route-b56c0b18a3b4d026.js +0 -1
  660. package/.next-prod/static/chunks/app/api/open-vscode/route-b56c0b18a3b4d026.js +0 -1
  661. package/.next-prod/static/chunks/app/api/pick-folder/route-b56c0b18a3b4d026.js +0 -1
  662. package/.next-prod/static/chunks/app/api/pinned-sessions/route-b56c0b18a3b4d026.js +0 -1
  663. package/.next-prod/static/chunks/app/api/project-settings/route-b56c0b18a3b4d026.js +0 -1
  664. package/.next-prod/static/chunks/app/api/project-state/route-b56c0b18a3b4d026.js +0 -1
  665. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b56c0b18a3b4d026.js +0 -1
  666. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b56c0b18a3b4d026.js +0 -1
  667. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b56c0b18a3b4d026.js +0 -1
  668. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b56c0b18a3b4d026.js +0 -1
  669. package/.next-prod/static/chunks/app/api/projectGraph/context/route-b56c0b18a3b4d026.js +0 -1
  670. package/.next-prod/static/chunks/app/api/projectGraph/file/route-b56c0b18a3b4d026.js +0 -1
  671. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b56c0b18a3b4d026.js +0 -1
  672. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b56c0b18a3b4d026.js +0 -1
  673. package/.next-prod/static/chunks/app/api/projectGraph/related/route-b56c0b18a3b4d026.js +0 -1
  674. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-b56c0b18a3b4d026.js +0 -1
  675. package/.next-prod/static/chunks/app/api/projectGraph/search/route-b56c0b18a3b4d026.js +0 -1
  676. package/.next-prod/static/chunks/app/api/projects/route-b56c0b18a3b4d026.js +0 -1
  677. package/.next-prod/static/chunks/app/api/push/public-key/route-b56c0b18a3b4d026.js +0 -1
  678. package/.next-prod/static/chunks/app/api/push/subscribe/route-b56c0b18a3b4d026.js +0 -1
  679. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b56c0b18a3b4d026.js +0 -1
  680. package/.next-prod/static/chunks/app/api/redis/command/route-b56c0b18a3b4d026.js +0 -1
  681. package/.next-prod/static/chunks/app/api/redis/connect/route-b56c0b18a3b4d026.js +0 -1
  682. package/.next-prod/static/chunks/app/api/redis/delete/route-b56c0b18a3b4d026.js +0 -1
  683. package/.next-prod/static/chunks/app/api/redis/disconnect/route-b56c0b18a3b4d026.js +0 -1
  684. package/.next-prod/static/chunks/app/api/redis/get/route-b56c0b18a3b4d026.js +0 -1
  685. package/.next-prod/static/chunks/app/api/redis/keys/route-b56c0b18a3b4d026.js +0 -1
  686. package/.next-prod/static/chunks/app/api/redis/set/route-b56c0b18a3b4d026.js +0 -1
  687. package/.next-prod/static/chunks/app/api/restart/route-b56c0b18a3b4d026.js +0 -1
  688. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-b56c0b18a3b4d026.js +0 -1
  689. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-b56c0b18a3b4d026.js +0 -1
  690. package/.next-prod/static/chunks/app/api/review/[id]/route-b56c0b18a3b4d026.js +0 -1
  691. package/.next-prod/static/chunks/app/api/review/identify/route-b56c0b18a3b4d026.js +0 -1
  692. package/.next-prod/static/chunks/app/api/review/order/route-b56c0b18a3b4d026.js +0 -1
  693. package/.next-prod/static/chunks/app/api/review/route-b56c0b18a3b4d026.js +0 -1
  694. package/.next-prod/static/chunks/app/api/review/share-info/route-b56c0b18a3b4d026.js +0 -1
  695. package/.next-prod/static/chunks/app/api/review/users/route-b56c0b18a3b4d026.js +0 -1
  696. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b56c0b18a3b4d026.js +0 -1
  697. package/.next-prod/static/chunks/app/api/services/config/route-b56c0b18a3b4d026.js +0 -1
  698. package/.next-prod/static/chunks/app/api/services/scripts/route-b56c0b18a3b4d026.js +0 -1
  699. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b56c0b18a3b4d026.js +0 -1
  700. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b56c0b18a3b4d026.js +0 -1
  701. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b56c0b18a3b4d026.js +0 -1
  702. package/.next-prod/static/chunks/app/api/session/user-messages/route-b56c0b18a3b4d026.js +0 -1
  703. package/.next-prod/static/chunks/app/api/session-by-path/route-b56c0b18a3b4d026.js +0 -1
  704. package/.next-prod/static/chunks/app/api/sessions/delegate/route-b56c0b18a3b4d026.js +0 -1
  705. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b56c0b18a3b4d026.js +0 -1
  706. package/.next-prod/static/chunks/app/api/sessions/projects/route-b56c0b18a3b4d026.js +0 -1
  707. package/.next-prod/static/chunks/app/api/sessions/route-b56c0b18a3b4d026.js +0 -1
  708. package/.next-prod/static/chunks/app/api/sessions/search/route-b56c0b18a3b4d026.js +0 -1
  709. package/.next-prod/static/chunks/app/api/sessions/status/route-b56c0b18a3b4d026.js +0 -1
  710. package/.next-prod/static/chunks/app/api/settings/route-b56c0b18a3b4d026.js +0 -1
  711. package/.next-prod/static/chunks/app/api/shutdown/route-b56c0b18a3b4d026.js +0 -1
  712. package/.next-prod/static/chunks/app/api/skills/[id]/route-b56c0b18a3b4d026.js +0 -1
  713. package/.next-prod/static/chunks/app/api/skills/content/route-b56c0b18a3b4d026.js +0 -1
  714. package/.next-prod/static/chunks/app/api/skills/route-b56c0b18a3b4d026.js +0 -1
  715. package/.next-prod/static/chunks/app/api/snapshots/blob/route-b56c0b18a3b4d026.js +0 -1
  716. package/.next-prod/static/chunks/app/api/snapshots/diff/route-b56c0b18a3b4d026.js +0 -1
  717. package/.next-prod/static/chunks/app/api/snapshots/route-b56c0b18a3b4d026.js +0 -1
  718. package/.next-prod/static/chunks/app/api/terminal/aliases/route-b56c0b18a3b4d026.js +0 -1
  719. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b56c0b18a3b4d026.js +0 -1
  720. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b56c0b18a3b4d026.js +0 -1
  721. package/.next-prod/static/chunks/app/api/terminal/env/route-b56c0b18a3b4d026.js +0 -1
  722. package/.next-prod/static/chunks/app/api/terminal/history/route-b56c0b18a3b4d026.js +0 -1
  723. package/.next-prod/static/chunks/app/api/update/route-b56c0b18a3b4d026.js +0 -1
  724. package/.next-prod/static/chunks/app/api/update-state/route-b56c0b18a3b4d026.js +0 -1
  725. package/.next-prod/static/chunks/app/api/version/route-b56c0b18a3b4d026.js +0 -1
  726. package/.next-prod/static/chunks/app/apps/[...path]/route-b56c0b18a3b4d026.js +0 -1
  727. package/.next-prod/static/chunks/app/layout-5e8ca15dabb4d8c2.js +0 -1
  728. package/.next-prod/static/chunks/app/m/page-8f4f88b0d67c4181.js +0 -1
  729. package/.next-prod/static/chunks/app/manifest.webmanifest/route-b56c0b18a3b4d026.js +0 -1
  730. package/.next-prod/static/chunks/app/page-eb7a11e6dd6a9e94.js +0 -1
  731. package/.next-prod/static/chunks/app/project/page-eb7a11e6dd6a9e94.js +0 -1
  732. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b56c0b18a3b4d026.js +0 -1
  733. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b56c0b18a3b4d026.js +0 -1
  734. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b56c0b18a3b4d026.js +0 -1
  735. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b56c0b18a3b4d026.js +0 -1
  736. package/.next-prod/static/css/08c892de6d5e2335.css +0 -1
  737. package/.next-prod/static/mTTTlFslhC7zzHMDXGNOW/_buildManifest.js +0 -1
  738. package/bin/cock.mjs +0 -239
  739. /package/.next-prod/static/{mTTTlFslhC7zzHMDXGNOW → yEJ9Z5Bjv9ti4WeYINfCs}/_ssgManifest.js +0 -0
package/dist/httpApi.mjs CHANGED
@@ -27,10 +27,10 @@ import {
27
27
  unregisterBrowser,
28
28
  unregisterTerminal,
29
29
  writeStdinToCommand
30
- } from "./chunk-6R4AHIIV.mjs";
30
+ } from "./chunk-5ZXPIG4Z.mjs";
31
31
  import {
32
32
  getTerminalHistoryPath
33
- } from "./chunk-JJWVBF6H.mjs";
33
+ } from "./chunk-SGVT4QFB.mjs";
34
34
  import "./chunk-7P6ASYW6.mjs";
35
35
 
36
36
  // src/lib/httpApi.ts
@@ -17,11 +17,12 @@ import {
17
17
  isRunActive,
18
18
  mutateJsonFile,
19
19
  readJsonFile,
20
+ readJsonFileForUpdate,
20
21
  requestStop,
21
22
  updateGlobalState,
22
23
  withFileLock,
23
24
  writeJsonFile
24
- } from "./chunk-JJWVBF6H.mjs";
25
+ } from "./chunk-SGVT4QFB.mjs";
25
26
  import "./chunk-7P6ASYW6.mjs";
26
27
 
27
28
  // packages/feature/agent/src/server/scheduledTasks.ts
@@ -254,7 +255,8 @@ var en_default = {
254
255
  reloadNow: "Reload",
255
256
  upgradeCommandCopied: "Copied `cockpit update`",
256
257
  projectNotes: "Project Notes",
257
- closeProject: "Close project"
258
+ closeProject: "Close project",
259
+ bots: "Bots"
258
260
  },
259
261
  mobile: {
260
262
  useDesktop: "Desktop",
@@ -454,6 +456,10 @@ var en_default = {
454
456
  compareMode: "Compare",
455
457
  compareModeOff: "Close branch comparison",
456
458
  compareModeOn: "Compare with selected branch",
459
+ compareScopeHead: "HEAD",
460
+ compareScopeWorktree: "Worktree",
461
+ compareScopeHeadHint: "Compare committed work only",
462
+ compareScopeWorktreeHint: "Include uncommitted changes (staged / unstaged / untracked)",
457
463
  createFile: "New File",
458
464
  createFileIn: "New File (in {{path}}/)",
459
465
  fileName: "File name...",
@@ -478,6 +484,8 @@ var en_default = {
478
484
  loadingDiff: "Loading diff...",
479
485
  noDiffFiles: "No diff files",
480
486
  nFilesChanged: "{{count}} files changed (vs {{branch}})",
487
+ nFilesChangedWorktree: "{{count}} files changed (vs {{branch}}, incl. uncommitted)",
488
+ noDiffFilesHeadHint: "Nothing committed on this branch yet \u2014 switch to Worktree to see uncommitted changes",
481
489
  loadingCommits: "Loading commits...",
482
490
  noCommits: "No commits",
483
491
  allLoaded: "All {{count}} records loaded",
@@ -601,7 +609,7 @@ var en_default = {
601
609
  codexResumeFailed: "Previous session is in use by another Codex client \u2014 started a new session; history was not carried over",
602
610
  codexResumeFailedPrevious: "Previous session",
603
611
  codexResumeFailedNew: "New session",
604
- placeholder: "Type a message, Enter to send (Shift+Enter for new line, paste images; start a line with / (main session) or @ (subagent) for commands, multiple allowed)",
612
+ placeholder: "Type a message, Enter to send (Shift+Enter for new line, paste images; start a line with / (skill), /@ (skill in a subagent) or @ (bot in a subagent), multiple allowed)",
605
613
  placeholderDisabled: "Generating... you can keep typing (ESC to cancel; if stuck, cancel and resend 'continue')",
606
614
  imageSizeLimit: "Image size exceeds limit (max 5MB), current: {{size}}MB",
607
615
  viewGitChanges: "View Git changes",
@@ -623,7 +631,7 @@ var en_default = {
623
631
  deleteInstructionGroupConfirm: 'Deleting "{{name}}" also deletes the {{count}} instruction(s) inside it. Continue?',
624
632
  editGlobalInstructions: "Edit global instructions",
625
633
  editProjectInstructions: "Edit project instructions",
626
- quickInstructionsMarkdownHint: "One top-level entry per line. Add lines beginning with \u201C- \u201D after a group name for its instructions.",
634
+ quickInstructionsMarkdownHint: "One top-level entry per line. Add lines beginning with \u201C- \u201D after a group name for its instructions. Write \\n for a line break inside one instruction.",
627
635
  quickInstructionsMarkdownPlaceholder: "Continue\nDraw with text\n- Draw a login flow\n- Draw a system architecture",
628
636
  quickInstructionsMarkdownError: "Invalid format on line {{line}}.",
629
637
  savingQuickInstructions: "Saving...",
@@ -1186,6 +1194,18 @@ var en_default = {
1186
1194
  reconstructed: "reconstructed",
1187
1195
  reconstructedHint: "Rebuilt from tool-call parameters \u2014 not a disk snapshot",
1188
1196
  truncated: "Too many files \u2014 list truncated",
1197
+ aggregate: "Aggregate",
1198
+ aggregateOn: "View the net change across all calls",
1199
+ aggregateOff: "Back to per-call view",
1200
+ fileChangesAggregate: "File Changes ({{count}}) \xB7 Aggregate",
1201
+ aggregateSummary: "{{count}} files changed (across {{calls}} calls)",
1202
+ aggregateLoading: "Aggregating changes\u2026",
1203
+ aggregateEmpty: "No net change after aggregation",
1204
+ aggregateUnavailable: "No snapshots \u2014 cannot aggregate",
1205
+ aggregateFailed: "Aggregation failed",
1206
+ aggregateBaselineSkipped: "Skipped {{count}} baseline-scale call(s)",
1207
+ aggregateBaselineIncluded: "Including {{count}} baseline-scale call(s)",
1208
+ aggregateSkippedHint: "These calls touched more than {{threshold}} files \u2014 usually a branch switch or rebase rather than authored work. Click to toggle.",
1189
1209
  imageBefore: "Before",
1190
1210
  imageAfter: "After",
1191
1211
  imageAdded: "Added",
@@ -1335,13 +1355,37 @@ var en_default = {
1335
1355
  symbolMessage: "Explain {{name}} ({{path}}:{{lines}})",
1336
1356
  selectionMessage: "Explain",
1337
1357
  commitFileMessage: "Explain what git commit {{hash}} changed in {{path}}",
1338
- compareFileMessage: "Explain the git changes to {{path}} in {{base}}..HEAD",
1358
+ compareFileMessage: "Explain the git changes to {{path}} in {{base}}...HEAD",
1359
+ compareFileWorktreeMessage: "Explain the changes to {{path}} relative to {{base}}, including uncommitted work",
1339
1360
  stagedFileMessage: "Explain the git staged changes to {{path}}",
1340
1361
  unstagedFileMessage: "Explain the git working tree changes to {{path}}"
1341
1362
  },
1342
1363
  reviewUtils: {
1343
1364
  adjectives: ["Happy", "Brave", "Quiet", "Bright", "Gentle", "Agile", "Free", "Clear", "Flying", "Relaxed", "Lively", "Wise", "Calm", "Alert", "Composed", "Steady", "Cheerful", "Warm", "Bold", "Poised"],
1344
1365
  nouns: ["Panda", "Dolphin", "Crane", "Snow Leopard", "Skylark", "Squirrel", "Flying Fish", "Deer", "Bluebird", "Silver Fox", "Owl", "Dragonfly", "Firefly", "Sea Turtle", "Butterfly", "Monkey", "Red-crowned Crane", "Antelope", "Swallow", "Penguin"]
1366
+ },
1367
+ bots: {
1368
+ title: "Bots",
1369
+ search: "Search bots",
1370
+ addExisting: "Add bot",
1371
+ addTooltip: "Add as Bot",
1372
+ emptyNoMatch: "No bots match your search.",
1373
+ emptyNoBots: "No bots of your own yet.",
1374
+ emptyCreatePrefix: "Use",
1375
+ emptyCreateSuffix: "in chat to create one.",
1376
+ emptyAddExisting: "add an existing Bot directory",
1377
+ invalid: "Invalid",
1378
+ builtin: "Built-in",
1379
+ remove: "Remove registration",
1380
+ open: "Open as project",
1381
+ pathPlaceholder: "Absolute path to a Bot directory or its BOT.md",
1382
+ addHint: "The directory must contain a BOT.md. Its files are not changed.",
1383
+ added: "Bot added",
1384
+ alreadyAdded: "Already added",
1385
+ removed: "Bot removed; its files were kept.",
1386
+ loadFailed: "Failed to load bots",
1387
+ saveFailed: "Failed to add bot",
1388
+ removeFailed: "Failed to remove bot"
1345
1389
  }
1346
1390
  };
1347
1391
 
@@ -1569,7 +1613,8 @@ var zh_default = {
1569
1613
  reloadNow: "\u5237\u65B0",
1570
1614
  upgradeCommandCopied: "\u5DF2\u590D\u5236 `cockpit update`",
1571
1615
  projectNotes: "\u9879\u76EE\u7B14\u8BB0",
1572
- closeProject: "\u5173\u95ED\u9879\u76EE"
1616
+ closeProject: "\u5173\u95ED\u9879\u76EE",
1617
+ bots: "\u673A\u5668\u4EBA"
1573
1618
  },
1574
1619
  mobile: {
1575
1620
  useDesktop: "\u684C\u9762\u7248",
@@ -1769,6 +1814,10 @@ var zh_default = {
1769
1814
  compareMode: "\u5BF9\u6BD4",
1770
1815
  compareModeOff: "\u5173\u95ED\u5206\u652F\u5BF9\u6BD4",
1771
1816
  compareModeOn: "\u4E0E\u9009\u5B9A\u5206\u652F\u5BF9\u6BD4",
1817
+ compareScopeHead: "HEAD",
1818
+ compareScopeWorktree: "\u5DE5\u4F5C\u533A",
1819
+ compareScopeHeadHint: "\u4EC5\u5BF9\u6BD4\u5DF2\u63D0\u4EA4\u7684\u6539\u52A8",
1820
+ compareScopeWorktreeHint: "\u5BF9\u6BD4\u5305\u542B\u672A\u63D0\u4EA4\u7684\u6539\u52A8\uFF08\u5DF2\u6682\u5B58 / \u672A\u6682\u5B58 / \u672A\u8DDF\u8E2A\uFF09",
1772
1821
  createFile: "\u65B0\u5EFA\u6587\u4EF6",
1773
1822
  createFileIn: "\u65B0\u5EFA\u6587\u4EF6 (\u5728 {{path}}/)",
1774
1823
  fileName: "\u6587\u4EF6\u540D...",
@@ -1793,6 +1842,8 @@ var zh_default = {
1793
1842
  loadingDiff: "\u52A0\u8F7D\u5BF9\u6BD4\u6587\u4EF6\u4E2D...",
1794
1843
  noDiffFiles: "\u65E0\u5DEE\u5F02\u6587\u4EF6",
1795
1844
  nFilesChanged: "{{count}} \u4E2A\u6587\u4EF6\u53D8\u66F4\uFF08vs {{branch}}\uFF09",
1845
+ nFilesChangedWorktree: "{{count}} \u4E2A\u6587\u4EF6\u53D8\u66F4\uFF08vs {{branch}}\uFF0C\u542B\u672A\u63D0\u4EA4\uFF09",
1846
+ noDiffFilesHeadHint: "\u672C\u5206\u652F\u5C1A\u65E0\u5DF2\u63D0\u4EA4\u7684\u6539\u52A8\uFF0C\u5207\u5230\u300C\u5DE5\u4F5C\u533A\u300D\u53EF\u770B\u5230\u672A\u63D0\u4EA4\u7684\u90E8\u5206",
1796
1847
  loadingCommits: "\u52A0\u8F7D\u63D0\u4EA4\u8BB0\u5F55\u4E2D...",
1797
1848
  noCommits: "\u65E0\u63D0\u4EA4\u8BB0\u5F55",
1798
1849
  allLoaded: "\u5DF2\u52A0\u8F7D\u5168\u90E8 {{count}} \u6761\u8BB0\u5F55",
@@ -1916,7 +1967,7 @@ var zh_default = {
1916
1967
  codexResumeFailed: "\u539F\u4F1A\u8BDD\u88AB\u5176\u4ED6 Codex \u5BA2\u6237\u7AEF\u5360\u7528\uFF0C\u5DF2\u65B0\u5EFA\u4F1A\u8BDD\uFF0C\u5386\u53F2\u672A\u7EE7\u627F",
1917
1968
  codexResumeFailedPrevious: "\u539F\u4F1A\u8BDD",
1918
1969
  codexResumeFailedNew: "\u65B0\u4F1A\u8BDD",
1919
- placeholder: "\u8F93\u5165\u6D88\u606F\uFF0CEnter \u53D1\u9001\uFF08Shift+Enter \u6362\u884C\uFF0C\u53EF\u7C98\u8D34\u56FE\u7247\uFF1B\u884C\u9996 /\uFF08\u4E3B\u4F1A\u8BDD\uFF09\u6216 @\uFF08\u5B50\u4EE3\u7406\uFF09\u5524\u8D77\u547D\u4EE4\uFF0C\u652F\u6301\u591A\u884C\u591A\u547D\u4EE4\uFF09",
1970
+ placeholder: "\u8F93\u5165\u6D88\u606F\uFF0CEnter \u53D1\u9001\uFF08Shift+Enter \u6362\u884C\uFF0C\u53EF\u7C98\u8D34\u56FE\u7247\uFF1B\u884C\u9996 /\uFF08skill\uFF09\u3001/@\uFF08\u5B50\u4EE3\u7406\u6267\u884C skill\uFF09\u6216 @\uFF08\u5B50\u4EE3\u7406\u6267\u884C\u673A\u5668\u4EBA\uFF09\uFF0C\u652F\u6301\u591A\u884C\u591A\u547D\u4EE4\uFF09",
1920
1971
  placeholderDisabled: "\u751F\u6210\u4E2D... \u53EF\u7EE7\u7EED\u8F93\u5165 (ESC \u53D6\u6D88;\u5361\u4F4F\u592A\u4E45\u53EF\u53D6\u6D88\u540E\u91CD\u53D1\u300C\u7EE7\u7EED\u300D)",
1921
1972
  imageSizeLimit: "\u56FE\u7247\u5927\u5C0F\u8D85\u8FC7\u9650\u5236\uFF08\u6700\u5927 5MB\uFF09\uFF0C\u5F53\u524D\u5927\u5C0F: {{size}}MB",
1922
1973
  viewGitChanges: "\u67E5\u770B Git \u53D8\u66F4",
@@ -1938,7 +1989,7 @@ var zh_default = {
1938
1989
  deleteInstructionGroupConfirm: "\u5220\u9664\u5206\u7EC4\u300C{{name}}\u300D\u4F1A\u540C\u65F6\u5220\u9664\u7EC4\u5185 {{count}} \u6761\u6307\u4EE4\uFF0C\u786E\u5B9A\u7EE7\u7EED\uFF1F",
1939
1990
  editGlobalInstructions: "\u7F16\u8F91\u5168\u5C40\u6307\u4EE4",
1940
1991
  editProjectInstructions: "\u7F16\u8F91\u9879\u76EE\u6307\u4EE4",
1941
- quickInstructionsMarkdownHint: "\u4E00\u7EA7\u5185\u5BB9\u6BCF\u884C\u4E00\u6761\uFF1B\u5206\u7EC4\u540D\u79F0\u540E\u7684\u300C- \u300D\u5F00\u5934\u884C\u662F\u8BE5\u5206\u7EC4\u7684\u5B50\u547D\u4EE4\u3002",
1992
+ quickInstructionsMarkdownHint: "\u4E00\u7EA7\u5185\u5BB9\u6BCF\u884C\u4E00\u6761\uFF1B\u5206\u7EC4\u540D\u79F0\u540E\u7684\u300C- \u300D\u5F00\u5934\u884C\u662F\u8BE5\u5206\u7EC4\u7684\u5B50\u547D\u4EE4\uFF1B\u5355\u6761\u6307\u4EE4\u5185\u7684\u6362\u884C\u7528 \\n \u8868\u793A\u3002",
1942
1993
  quickInstructionsMarkdownPlaceholder: "\u6309\u63A8\u8350\u5B9E\u65BD\n\u7528\u6587\u672C\u753B\u56FE\n- \u753B\u4E00\u4E2A\u767B\u5F55\u6D41\u7A0B\n- \u753B\u4E00\u4E2A\u7CFB\u7EDF\u67B6\u6784",
1943
1994
  quickInstructionsMarkdownError: "\u7B2C {{line}} \u884C\u683C\u5F0F\u4E0D\u6B63\u786E\u3002",
1944
1995
  savingQuickInstructions: "\u4FDD\u5B58\u4E2D...",
@@ -2501,6 +2552,18 @@ var zh_default = {
2501
2552
  reconstructed: "\u53C2\u6570\u91CD\u5EFA",
2502
2553
  reconstructedHint: "\u7531\u5DE5\u5177\u8C03\u7528\u53C2\u6570\u91CD\u5EFA\uFF0C\u975E\u78C1\u76D8\u5FEB\u7167",
2503
2554
  truncated: "\u6587\u4EF6\u8FC7\u591A\uFF0C\u4EC5\u663E\u793A\u90E8\u5206",
2555
+ aggregate: "\u6C47\u603B",
2556
+ aggregateOn: "\u67E5\u770B\u5168\u90E8\u8C03\u7528\u7684\u7D2F\u8BA1\u53D8\u66F4",
2557
+ aggregateOff: "\u8FD4\u56DE\u9010\u6B21\u8C03\u7528",
2558
+ fileChangesAggregate: "\u6587\u4EF6\u53D8\u66F4 ({{count}}) \xB7 \u6C47\u603B",
2559
+ aggregateSummary: "{{count}} \u4E2A\u6587\u4EF6\u53D8\u66F4\uFF08{{calls}} \u6B21\u8C03\u7528\u7D2F\u8BA1\uFF09",
2560
+ aggregateLoading: "\u6B63\u5728\u6C47\u603B\u53D8\u66F4\u2026",
2561
+ aggregateEmpty: "\u7D2F\u8BA1\u540E\u65E0\u51C0\u53D8\u66F4",
2562
+ aggregateUnavailable: "\u65E0\u5FEB\u7167\uFF0C\u65E0\u6CD5\u6C47\u603B",
2563
+ aggregateFailed: "\u6C47\u603B\u5931\u8D25",
2564
+ aggregateBaselineSkipped: "\u5DF2\u8DF3\u8FC7 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
2565
+ aggregateBaselineIncluded: "\u5DF2\u8BA1\u5165 {{count}} \u6B21\u57FA\u7EBF\u7EA7\u8C03\u7528",
2566
+ aggregateSkippedHint: "\u8FD9\u4E9B\u8C03\u7528\u6539\u52A8\u7684\u6587\u4EF6\u6570\u8D85\u8FC7 {{threshold}}\uFF0C\u901A\u5E38\u662F\u5207\u6362\u5206\u652F / rebase \u800C\u975E\u7F16\u5199\u4EE3\u7801\u3002\u70B9\u51FB\u5207\u6362\u662F\u5426\u8BA1\u5165",
2504
2567
  imageBefore: "\u53D8\u66F4\u524D",
2505
2568
  imageAfter: "\u53D8\u66F4\u540E",
2506
2569
  imageAdded: "\u65B0\u589E",
@@ -2650,13 +2713,37 @@ var zh_default = {
2650
2713
  symbolMessage: "\u89E3\u91CA\u4E00\u4E0B {{name}} ({{path}}:{{lines}})",
2651
2714
  selectionMessage: "\u89E3\u91CA\u4E00\u4E0B",
2652
2715
  commitFileMessage: "\u89E3\u91CA\u4E00\u4E0B git commit {{hash}} \u5BF9 {{path}} \u7684\u6539\u52A8",
2653
- compareFileMessage: "\u89E3\u91CA\u4E00\u4E0B git {{base}}..HEAD \u4E2D {{path}} \u7684\u6539\u52A8",
2716
+ compareFileMessage: "\u89E3\u91CA\u4E00\u4E0B git {{base}}...HEAD \u4E2D {{path}} \u7684\u6539\u52A8",
2717
+ compareFileWorktreeMessage: "\u89E3\u91CA\u4E00\u4E0B {{path}} \u76F8\u5BF9 {{base}} \u7684\u6539\u52A8\uFF08\u542B\u672A\u63D0\u4EA4\u7684\u90E8\u5206\uFF09",
2654
2718
  stagedFileMessage: "\u89E3\u91CA\u4E00\u4E0B git \u6682\u5B58\u533A\u4E2D {{path}} \u7684\u6539\u52A8",
2655
2719
  unstagedFileMessage: "\u89E3\u91CA\u4E00\u4E0B git \u5DE5\u4F5C\u533A\u4E2D {{path}} \u7684\u6539\u52A8"
2656
2720
  },
2657
2721
  reviewUtils: {
2658
2722
  adjectives: ["\u5FEB\u4E50", "\u52C7\u6562", "\u5B89\u9759", "\u660E\u4EAE", "\u6E29\u67D4", "\u7075\u5DE7", "\u81EA\u7531", "\u6E05\u6F88", "\u98DE\u7FD4", "\u60A0\u95F2", "\u6D3B\u6CFC", "\u806A\u6167", "\u6DE1\u5B9A", "\u673A\u654F", "\u4ECE\u5BB9", "\u575A\u5B9A", "\u723D\u6717", "\u548C\u7166", "\u5954\u653E", "\u6C89\u7A33"],
2659
2723
  nouns: ["\u718A\u732B", "\u6D77\u8C5A", "\u767D\u9E64", "\u96EA\u8C79", "\u4E91\u96C0", "\u677E\u9F20", "\u98DE\u9C7C", "\u6885\u82B1\u9E7F", "\u9752\u9E1F", "\u94F6\u72D0", "\u732B\u5934\u9E70", "\u873B\u8713", "\u8424\u706B\u866B", "\u6D77\u9F9F", "\u8774\u8776", "\u91D1\u4E1D\u7334", "\u4E39\u9876\u9E64", "\u7F9A\u7F8A", "\u71D5\u5B50", "\u4F01\u9E45"]
2724
+ },
2725
+ bots: {
2726
+ title: "\u673A\u5668\u4EBA",
2727
+ search: "\u641C\u7D22\u673A\u5668\u4EBA",
2728
+ addExisting: "\u6DFB\u52A0\u673A\u5668\u4EBA",
2729
+ addTooltip: "\u6DFB\u52A0\u4E3A\u673A\u5668\u4EBA",
2730
+ emptyNoMatch: "\u6CA1\u6709\u5339\u914D\u7684\u673A\u5668\u4EBA\u3002",
2731
+ emptyNoBots: "\u8FD8\u6CA1\u6709\u4F60\u81EA\u5DF1\u7684\u673A\u5668\u4EBA\u3002",
2732
+ emptyCreatePrefix: "\u5728\u804A\u5929\u91CC\u4F7F\u7528",
2733
+ emptyCreateSuffix: "\u521B\u5EFA\u4E00\u4E2A\u3002",
2734
+ emptyAddExisting: "\u6DFB\u52A0\u5DF2\u6709\u7684\u673A\u5668\u4EBA\u76EE\u5F55",
2735
+ invalid: "\u65E0\u6548",
2736
+ builtin: "\u5185\u7F6E",
2737
+ remove: "\u79FB\u9664\u6CE8\u518C",
2738
+ open: "\u4F5C\u4E3A\u9879\u76EE\u6253\u5F00",
2739
+ pathPlaceholder: "\u673A\u5668\u4EBA\u76EE\u5F55\u6216\u5176 BOT.md \u7684\u7EDD\u5BF9\u8DEF\u5F84",
2740
+ addHint: "\u76EE\u5F55\u4E2D\u5FC5\u987B\u5305\u542B BOT.md\uFF0C\u4E0D\u4F1A\u6539\u52A8\u5176\u4E2D\u7684\u6587\u4EF6\u3002",
2741
+ added: "\u673A\u5668\u4EBA\u5DF2\u6DFB\u52A0",
2742
+ alreadyAdded: "\u5DF2\u6DFB\u52A0\u8FC7",
2743
+ removed: "\u5DF2\u79FB\u9664\u673A\u5668\u4EBA\u6CE8\u518C\uFF0C\u76EE\u5F55\u6587\u4EF6\u4ECD\u4FDD\u7559\u3002",
2744
+ loadFailed: "\u52A0\u8F7D\u673A\u5668\u4EBA\u5931\u8D25",
2745
+ saveFailed: "\u6DFB\u52A0\u673A\u5668\u4EBA\u5931\u8D25",
2746
+ removeFailed: "\u79FB\u9664\u673A\u5668\u4EBA\u5931\u8D25"
2660
2747
  }
2661
2748
  };
2662
2749
 
@@ -2679,6 +2766,7 @@ var src_default = i18n;
2679
2766
 
2680
2767
  // packages/feature/agent/src/server/scheduledTasks.ts
2681
2768
  var MAX_CONSECUTIVE_FAILURES = 3;
2769
+ var RUN_DEADLINE_MS = 60 * 60 * 1e3;
2682
2770
  var MISSED_ONCE_GRACE_MS = 60 * 60 * 1e3;
2683
2771
  function buildTaskPrompt(task) {
2684
2772
  if (!task.taskFile) return task.message;
@@ -2732,6 +2820,15 @@ function getNextCronTime(cronExpr, after = /* @__PURE__ */ new Date()) {
2732
2820
  }
2733
2821
  return after.getTime() + 864e5;
2734
2822
  }
2823
+ async function rebindTaskSession(task, key) {
2824
+ const newSessionId = getRunSessionId(key);
2825
+ if (!newSessionId) return false;
2826
+ if (newSessionId === task.sessionId) return true;
2827
+ console.warn(`[ScheduledTask] task ${task.id}: rebound session ${task.sessionId} \u2192 ${newSessionId}`);
2828
+ task.sessionId = newSessionId;
2829
+ await scheduledTaskManager.persistSessionRebind(task.id, newSessionId);
2830
+ return true;
2831
+ }
2735
2832
  var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryPromise({
2736
2833
  try: async () => {
2737
2834
  const spec = getEngineSpec(engine);
@@ -2753,25 +2850,21 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
2753
2850
  throw new Error(`${engine} dispatch rejected (${outcome.status}): ${outcome.error}`);
2754
2851
  }
2755
2852
  const key = outcome.runKey;
2756
- const deadline = Date.now() + 30 * 60 * 1e3;
2853
+ let rebound = !startFresh;
2854
+ const deadline = Date.now() + RUN_DEADLINE_MS;
2757
2855
  while (isRunActive(key) && Date.now() < deadline) {
2856
+ if (!rebound) rebound = await rebindTaskSession(task, key);
2758
2857
  await new Promise((r) => setTimeout(r, 500));
2759
2858
  }
2859
+ if (!rebound) await rebindTaskSession(task, key);
2760
2860
  if (isRunActive(key)) {
2761
2861
  requestStop(key);
2762
- throw new Error(`${engine} run timed out after 30m (session ${task.sessionId})`);
2862
+ throw new Error(`${engine} run timed out after ${RUN_DEADLINE_MS / 6e4}m (session ${task.sessionId})`);
2763
2863
  }
2764
2864
  const snap = getRunSnapshot(key);
2765
2865
  if (!snap || snap.status === "error") {
2766
2866
  throw new Error(`${engine} run failed (session ${task.sessionId})`);
2767
2867
  }
2768
- if (startFresh) {
2769
- const newSessionId = getRunSessionId(key);
2770
- if (newSessionId && newSessionId !== task.sessionId) {
2771
- console.warn(`[ScheduledTask] task ${task.id}: rebound session ${task.sessionId} \u2192 ${newSessionId}`);
2772
- task.sessionId = newSessionId;
2773
- }
2774
- }
2775
2868
  return true;
2776
2869
  },
2777
2870
  catch: (cause) => new AgentError({
@@ -2852,6 +2945,8 @@ var ScheduledTaskManager = class {
2852
2945
  this.firing = /* @__PURE__ */ new Set();
2853
2946
  this.initialized = false;
2854
2947
  this.initPromise = null;
2948
+ /** Set when the task file exists but does not parse; see init(). */
2949
+ this.loadFailed = false;
2855
2950
  this.onTaskFired = null;
2856
2951
  }
2857
2952
  /**
@@ -2871,7 +2966,17 @@ var ScheduledTaskManager = class {
2871
2966
  async init() {
2872
2967
  if (this.initialized) return;
2873
2968
  this.initialized = true;
2874
- this.tasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
2969
+ try {
2970
+ this.tasks = await readJsonFileForUpdate(SCHEDULED_TASKS_FILE, []);
2971
+ } catch (error) {
2972
+ this.loadFailed = true;
2973
+ this.tasks = [];
2974
+ console.error(
2975
+ `[ScheduledTaskManager] ${SCHEDULED_TASKS_FILE} could not be read \u2014 NO scheduled task will fire until it is fixed. The file has been left untouched:`,
2976
+ error
2977
+ );
2978
+ return;
2979
+ }
2875
2980
  console.log(`[ScheduledTaskManager] Loaded ${this.tasks.length} scheduled tasks`);
2876
2981
  for (const task of this.tasks) {
2877
2982
  if (!task.paused && !task.completed) {
@@ -2880,6 +2985,10 @@ var ScheduledTaskManager = class {
2880
2985
  }
2881
2986
  await this.saveToDisk();
2882
2987
  }
2988
+ /** True when init() could not parse the task file: no timers, and no writes. */
2989
+ isLoadFailed() {
2990
+ return this.loadFailed;
2991
+ }
2883
2992
  /**
2884
2993
  * Register a task-fired callback (used for WS broadcast).
2885
2994
  */
@@ -2890,7 +2999,7 @@ var ScheduledTaskManager = class {
2890
2999
  * Read tasks from disk (avoids in-memory inconsistency between dual module instances).
2891
3000
  */
2892
3001
  async readTasksFromDisk() {
2893
- return readJsonFile(SCHEDULED_TASKS_FILE, []);
3002
+ return readJsonFileForUpdate(SCHEDULED_TASKS_FILE, []);
2894
3003
  }
2895
3004
  /**
2896
3005
  * Return all tasks for the current instance (reads from disk each time to ensure cross-instance consistency).
@@ -2928,7 +3037,7 @@ var ScheduledTaskManager = class {
2928
3037
  async updateTask(id, fields) {
2929
3038
  await this.ensureInit();
2930
3039
  const task = await withFileLock(SCHEDULED_TASKS_FILE, async () => {
2931
- const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
3040
+ const allTasks = await readJsonFileForUpdate(SCHEDULED_TASKS_FILE, []);
2932
3041
  const idx = allTasks.findIndex((t) => t.id === id);
2933
3042
  if (idx === -1) return null;
2934
3043
  const updated = { ...allTasks[idx], ...fields };
@@ -2953,7 +3062,7 @@ var ScheduledTaskManager = class {
2953
3062
  async deleteTask(id) {
2954
3063
  await this.ensureInit();
2955
3064
  const removed = await withFileLock(SCHEDULED_TASKS_FILE, async () => {
2956
- const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
3065
+ const allTasks = await readJsonFileForUpdate(SCHEDULED_TASKS_FILE, []);
2957
3066
  const idx = allTasks.findIndex((t) => t.id === id);
2958
3067
  if (idx === -1) return false;
2959
3068
  allTasks.splice(idx, 1);
@@ -2978,7 +3087,7 @@ var ScheduledTaskManager = class {
2978
3087
  * Resume a task.
2979
3088
  */
2980
3089
  async resumeTask(id) {
2981
- const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
3090
+ const allTasks = await readJsonFileForUpdate(SCHEDULED_TASKS_FILE, []);
2982
3091
  const task = allTasks.find((t) => t.id === id);
2983
3092
  if (!task) return null;
2984
3093
  const now = Date.now();
@@ -3005,7 +3114,7 @@ var ScheduledTaskManager = class {
3005
3114
  */
3006
3115
  async triggerTask(id) {
3007
3116
  await this.ensureInit();
3008
- const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
3117
+ const allTasks = await readJsonFileForUpdate(SCHEDULED_TASKS_FILE, []);
3009
3118
  const task = allTasks.find((t) => t.id === id);
3010
3119
  if (!task) return false;
3011
3120
  const memIdx = this.tasks.findIndex((t) => t.id === id);
@@ -3043,6 +3152,19 @@ var ScheduledTaskManager = class {
3043
3152
  this.firing.delete(id);
3044
3153
  }
3045
3154
  }
3155
+ /**
3156
+ * Persist a mid-run session rebind (see rebindTaskSession) without waiting for the run
3157
+ * to end. The in-memory entry and the `task` object the dispatcher mutated are the same
3158
+ * reference in the normal path; the assignment here is what makes this correct for any
3159
+ * other caller too.
3160
+ */
3161
+ async persistSessionRebind(id, sessionId) {
3162
+ const t = this.tasks.find((x) => x.id === id);
3163
+ if (!t) return;
3164
+ t.sessionId = sessionId;
3165
+ await this.saveToDisk();
3166
+ this.onTaskFired?.(t);
3167
+ }
3046
3168
  /**
3047
3169
  * Mark a task as read.
3048
3170
  *
@@ -3059,7 +3181,7 @@ var ScheduledTaskManager = class {
3059
3181
  async markReadBySessionId(sessionId) {
3060
3182
  await this.ensureInit();
3061
3183
  await withFileLock(SCHEDULED_TASKS_FILE, async () => {
3062
- const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
3184
+ const allTasks = await readJsonFileForUpdate(SCHEDULED_TASKS_FILE, []);
3063
3185
  let changed = false;
3064
3186
  for (const task of allTasks) {
3065
3187
  if (task.sessionId === sessionId && task.unread) {
@@ -3076,7 +3198,7 @@ var ScheduledTaskManager = class {
3076
3198
  async markAllRead() {
3077
3199
  await this.ensureInit();
3078
3200
  await withFileLock(SCHEDULED_TASKS_FILE, async () => {
3079
- const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
3201
+ const allTasks = await readJsonFileForUpdate(SCHEDULED_TASKS_FILE, []);
3080
3202
  let changed = false;
3081
3203
  for (const task of allTasks) {
3082
3204
  if (task.unread) {
@@ -3093,7 +3215,7 @@ var ScheduledTaskManager = class {
3093
3215
  async reorderTasks(orderedIds) {
3094
3216
  await this.ensureInit();
3095
3217
  await withFileLock(SCHEDULED_TASKS_FILE, async () => {
3096
- const allTasks = await readJsonFile(SCHEDULED_TASKS_FILE, []);
3218
+ const allTasks = await readJsonFileForUpdate(SCHEDULED_TASKS_FILE, []);
3097
3219
  for (let i = 0; i < orderedIds.length; i++) {
3098
3220
  const task = allTasks.find((t) => t.id === orderedIds[i]);
3099
3221
  if (task) task.sortIndex = i;
@@ -3209,6 +3331,7 @@ var ScheduledTaskManager = class {
3209
3331
  }
3210
3332
  }
3211
3333
  async saveToDisk() {
3334
+ if (this.loadFailed) return;
3212
3335
  try {
3213
3336
  await mutateJsonFile(SCHEDULED_TASKS_FILE, [], () => [...this.tasks]);
3214
3337
  } catch (error) {
package/dist/wsServer.mjs CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  resolvePendingRequest,
14
14
  unregisterBrowser,
15
15
  writeStdinToCommand
16
- } from "./chunk-6R4AHIIV.mjs";
16
+ } from "./chunk-5ZXPIG4Z.mjs";
17
17
  import {
18
18
  Effect_exports,
19
19
  FSError,
@@ -33,7 +33,7 @@ import {
33
33
  recoverStashedCodexRollouts,
34
34
  recoverStashedTranscripts,
35
35
  sanitizedSpawnEnv
36
- } from "./chunk-JJWVBF6H.mjs";
36
+ } from "./chunk-SGVT4QFB.mjs";
37
37
  import {
38
38
  registerWatcherSubscriber,
39
39
  subscribeBuildProgress
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surething/cockpit",
3
- "version": "1.0.275",
3
+ "version": "1.0.277",
4
4
  "description": "OpenCockpit is the open-source Claude Code GUI — an IDE-like workbench for parallel AI coding. Drive Claude (default), Codex, DeepSeek, Kimi, or local Ollama in tabs. Terminal, browser & DB bubbles, code review. Self-host on a shared dev box — a seat for every teammate. Local-first, MIT.",
5
5
  "author": "Robert",
6
6
  "license": "MIT",
@@ -61,13 +61,13 @@
61
61
  ],
62
62
  "bin": {
63
63
  "cockpit": "./bin/cockpit.mjs",
64
- "cock": "./bin/cock.mjs",
65
64
  "cockpit-dev": "./bin/cockpit-dev.mjs"
66
65
  },
67
66
  "files": [
68
67
  "bin",
69
68
  "chrome-extension",
70
69
  "apps",
70
+ "bots",
71
71
  "!**/*.test.*",
72
72
  "!**/*.spec.*",
73
73
  "public",
@@ -104,9 +104,9 @@
104
104
  },
105
105
  "dependencies": {
106
106
  "@ai-sdk/openai": "^3.0.52",
107
- "@anthropic-ai/claude-agent-sdk": "0.3.268",
107
+ "@anthropic-ai/claude-agent-sdk": "0.3.278",
108
108
  "@dagrejs/dagre": "^3.0.0",
109
- "@openai/codex": "0.154.0",
109
+ "@openai/codex": "0.155.1",
110
110
  "@tanstack/react-virtual": "^3.13.18",
111
111
  "@tiptap/extension-link": "^3.19.0",
112
112
  "@tiptap/extension-placeholder": "^3.19.0",
package/skills/README.md CHANGED
@@ -21,10 +21,17 @@ sets `COCKPIT_ROOT` to the package root), then:
21
21
  *is* the registry, for both dispatch and the `/api/commands` autocomplete
22
22
  dropdown (whose description text comes from each file's frontmatter).
23
23
  2. On dispatch the file is read, `{{BASE_URL}}` is substituted with
24
- `http://localhost:<port>`, and the result is written to
24
+ `http://localhost:<port>` and `{{COCKPIT_DIR}}` with the resolved data
25
+ directory (`$COCKPIT_HOME`, default `~/.cockpit`), and the result is written to
25
26
  `~/.cockpit/skills/<cmd>/SKILL.md` — the copy the agent is pointed at, so
26
27
  builtins travel the same "read this skill file" path as user skills.
27
- 3. A user-registered skill with the same `name` shadows the builtin.
28
+ 3. Any **other** `*.md` in `skills/<cmd>/` is copied next to it with the same
29
+ substitution. These are reference files, not commands — step 1 keys on
30
+ directories holding a `SKILL.md`, so adding one never registers a verb.
31
+ A SKILL.md points at `{{COCKPIT_DIR}}/skills/<cmd>/<file>.md` to defer the
32
+ part most invocations do not need (`bot-turn` keeps its write lock and its
33
+ review checklist out of every ordinary Bot turn this way).
34
+ 4. A user-registered skill with the same `name` shadows the builtin.
28
35
 
29
36
  Edits take effect on the next dispatch — no rebuild, no restart.
30
37
 
@@ -35,6 +42,9 @@ Edits take effect on the next dispatch — no rebuild, no restart.
35
42
  ```yaml
36
43
  ---
37
44
  name: <cmd> # MUST equal the directory name
45
+ hidden: true # optional — machinery, not a command to type: still
46
+ # dispatchable and still read by whoever references it,
47
+ # just left out of the `/` autocomplete (see bot-run)
38
48
  description: <one line — this is verbatim what the autocomplete dropdown
39
49
  shows; it is NOT translated, and must not be given an
40
50
  i18n commands.<cmd> key, which would silently override it>
@@ -44,6 +54,12 @@ Edits take effect on the next dispatch — no rebuild, no restart.
44
54
 
45
55
  2. Body is English prose. Use `{{BASE_URL}}` for any URL the agent must curl
46
56
  on the server host.
57
+
58
+ Split it when one part is long and rarely needed: put that part in
59
+ `skills/<cmd>/<file>.md` and have SKILL.md name the absolute path plus the
60
+ condition for opening it. Keep the *consequence* of not opening it in
61
+ SKILL.md — a deferred rule the model never learns it should fetch is the
62
+ same as a deleted one.
47
63
  3. That's it — no TypeScript to touch. Both the dropdown and the dispatcher
48
64
  pick it up from the directory.
49
65