@surething/cockpit 1.0.277 → 1.0.279

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (711) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +5 -4
  3. package/.next-prod/build-manifest.json +2 -2
  4. package/.next-prod/cockpit-build.json +1 -1
  5. package/.next-prod/prerender-manifest.json +3 -3
  6. package/.next-prod/routes-manifest.json +9 -3
  7. package/.next-prod/server/app/_global-error/page.js +2 -2
  8. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next-prod/server/app/_global-error.html +1 -1
  11. package/.next-prod/server/app/_global-error.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next-prod/server/app/_not-found/page.js +1 -1
  16. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
  17. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next-prod/server/app/_not-found.html +2 -2
  19. package/.next-prod/server/app/_not-found.rsc +3 -3
  20. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
  21. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
  22. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  23. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  24. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  25. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
  26. package/.next-prod/server/app/api/bash/route.js +1 -1
  27. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  28. package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
  29. package/.next-prod/server/app/api/bots/[id]/route.js.nft.json +1 -1
  30. package/.next-prod/server/app/api/bots/route.js +1 -1
  31. package/.next-prod/server/app/api/bots/route.js.nft.json +1 -1
  32. package/.next-prod/server/app/api/chat/codex/route.js +1 -1
  33. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  34. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  35. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  36. package/.next-prod/server/app/api/chat/glm/route.js +1 -1
  37. package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
  38. package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
  39. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  40. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  41. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  42. package/.next-prod/server/app/api/chat/route.js +1 -1
  43. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  44. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  45. package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
  46. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  47. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  48. package/.next-prod/server/app/api/commands/route.js +1 -1
  49. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  50. package/.next-prod/server/app/api/comments/route.js +1 -1
  51. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  52. package/.next-prod/server/app/api/db/columns/route.js +2 -2
  53. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  54. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  55. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  56. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  57. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  58. package/.next-prod/server/app/api/db/export/route.js +1 -1
  59. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  60. package/.next-prod/server/app/api/db/query/route.js +1 -1
  61. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  62. package/.next-prod/server/app/api/db/schemas/route.js +1 -1
  63. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  64. package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
  65. package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
  66. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  67. package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
  68. package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
  69. package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
  70. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  71. package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
  72. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  73. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  74. package/.next-prod/server/app/api/file/route.js +1 -1
  75. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  76. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  77. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  78. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  79. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  80. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  81. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  82. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  83. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  84. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  85. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  86. package/.next-prod/server/app/api/files/index/route.js +1 -1
  87. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  88. package/.next-prod/server/app/api/files/init/route.js +1 -1
  89. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  90. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  91. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  92. package/.next-prod/server/app/api/files/read/route.js +1 -1
  93. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  94. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  95. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  96. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  97. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  98. package/.next-prod/server/app/api/files/save/route.js +1 -1
  99. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  100. package/.next-prod/server/app/api/files/search/route.js +1 -1
  101. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  102. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  103. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  104. package/.next-prod/server/app/api/files/text/route.js +1 -1
  105. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  106. package/.next-prod/server/app/api/fs/dirs/route.js +1 -0
  107. package/.next-prod/server/app/api/fs/dirs/route.js.nft.json +1 -0
  108. package/.next-prod/server/app/api/fs/dirs/route_client-reference-manifest.js +1 -0
  109. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  110. package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
  111. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  112. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  113. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  114. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  115. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  116. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  117. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  118. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  119. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  120. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  121. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  122. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  123. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  124. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  125. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  126. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  127. package/.next-prod/server/app/api/git/status/route.js +1 -1
  128. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  129. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  130. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  131. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  132. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  133. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  134. package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
  135. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  136. package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
  137. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  138. package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
  139. package/.next-prod/server/app/api/global-state/route.js +1 -1
  140. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  141. package/.next-prod/server/app/api/health/route.js +1 -1
  142. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  143. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  144. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  145. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  146. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  147. package/.next-prod/server/app/api/instructions/config/route.js +1 -1
  148. package/.next-prod/server/app/api/instructions/config/route.js.nft.json +1 -1
  149. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  150. package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
  151. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  152. package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
  153. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  154. package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
  155. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  156. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  157. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  158. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  159. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  160. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  161. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  162. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  163. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  164. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  165. package/.next-prod/server/app/api/mysql/columns/route.js +1 -1
  166. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  167. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  168. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  169. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  170. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  171. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  172. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  173. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  174. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  175. package/.next-prod/server/app/api/mysql/schemas/route.js +1 -1
  176. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  177. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  178. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  179. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  180. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  181. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  182. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  183. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  184. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  185. package/.next-prod/server/app/api/note/route.js +1 -1
  186. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  187. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  188. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  189. package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
  190. package/.next-prod/server/app/api/ollama/default-model/route.js.nft.json +1 -1
  191. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  192. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  193. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  194. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  195. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  196. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  197. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  198. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  199. package/.next-prod/server/app/api/output-styles/config/route.js +1 -0
  200. package/.next-prod/server/app/api/output-styles/config/route.js.nft.json +1 -0
  201. package/.next-prod/server/app/api/output-styles/config/route_client-reference-manifest.js +1 -0
  202. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  203. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  204. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  205. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  206. package/.next-prod/server/app/api/project-state/route.js +2 -2
  207. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  208. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  209. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  210. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  211. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  212. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  213. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  214. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  215. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  216. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  217. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  218. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  219. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  220. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  221. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  222. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  223. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  224. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  225. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  226. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  227. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  228. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  229. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  230. package/.next-prod/server/app/api/projects/route.js +1 -1
  231. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  232. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  233. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  234. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  235. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  236. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  237. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  238. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  239. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  240. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  241. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  242. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  243. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  244. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  245. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  246. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  247. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  248. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  249. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  250. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  251. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  252. package/.next-prod/server/app/api/restart/route.js +1 -1
  253. package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
  254. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  255. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  256. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  257. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  258. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  259. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  260. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  261. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  262. package/.next-prod/server/app/api/review/order/route.js +1 -1
  263. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  264. package/.next-prod/server/app/api/review/route.js +1 -1
  265. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  266. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  267. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  268. package/.next-prod/server/app/api/review/users/route.js +1 -1
  269. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  270. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  271. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  272. package/.next-prod/server/app/api/services/config/route.js +1 -1
  273. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  274. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  275. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  276. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  277. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  278. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  279. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  280. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  281. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -1
  282. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  283. package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -1
  284. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  285. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  286. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  287. package/.next-prod/server/app/api/sessions/delegate/route.js.nft.json +1 -1
  288. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  289. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  290. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  291. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  292. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  293. package/.next-prod/server/app/api/sessions/search/route.js.nft.json +1 -1
  294. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  295. package/.next-prod/server/app/api/sessions/status/route.js.nft.json +1 -1
  296. package/.next-prod/server/app/api/settings/route.js +1 -1
  297. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  298. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  299. package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
  300. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  301. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  302. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  303. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  304. package/.next-prod/server/app/api/skills/route.js +1 -1
  305. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  306. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  307. package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
  308. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  309. package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
  310. package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
  311. package/.next-prod/server/app/api/snapshots/range-diff/route.js.nft.json +1 -1
  312. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  313. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  314. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  315. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  316. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  317. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  318. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  319. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  320. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  321. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  322. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  323. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  324. package/.next-prod/server/app/api/update/route.js +1 -1
  325. package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
  326. package/.next-prod/server/app/api/update-state/route.js +1 -1
  327. package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
  328. package/.next-prod/server/app/api/version/route.js +1 -1
  329. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  330. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  331. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  332. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  333. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  334. package/.next-prod/server/app/m/page.js +1 -1
  335. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  336. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  337. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  338. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  339. package/.next-prod/server/app/page.js +1 -1
  340. package/.next-prod/server/app/page.js.nft.json +1 -1
  341. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  342. package/.next-prod/server/app/project/page.js +1 -1
  343. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  344. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  345. package/.next-prod/server/app/review/[id]/page.js +1 -1
  346. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  347. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  348. package/.next-prod/server/app-paths-manifest.json +5 -4
  349. package/.next-prod/server/chunks/1863.js +1 -0
  350. package/.next-prod/server/chunks/2493.js +23 -17
  351. package/.next-prod/server/chunks/411.js +1 -0
  352. package/.next-prod/server/chunks/4949.js +1 -1
  353. package/.next-prod/server/chunks/{8131.js → 5591.js} +2 -2
  354. package/.next-prod/server/chunks/6495.js +1 -1
  355. package/.next-prod/server/chunks/7438.js +12 -11
  356. package/.next-prod/server/chunks/8022.js +1 -1
  357. package/.next-prod/server/functions-config-manifest.json +1 -0
  358. package/.next-prod/server/middleware-build-manifest.js +1 -1
  359. package/.next-prod/server/pages/404.html +2 -2
  360. package/.next-prod/server/pages/500.html +1 -1
  361. package/.next-prod/server/server-reference-manifest.json +1 -1
  362. package/.next-prod/static/4RnWG203k-Xg-suOhN3oL/_buildManifest.js +1 -0
  363. package/.next-prod/static/chunks/{99365-c697e983b9728d08.js → 21829-993d9bfd63c1ee9e.js} +2 -2
  364. package/.next-prod/static/chunks/60875-cb1ee86d8213a09f.js +35 -0
  365. package/.next-prod/static/chunks/95313-eb607273c688b022.js +17 -0
  366. package/.next-prod/static/chunks/99092-ef15e925df84035b.js +716 -0
  367. package/.next-prod/static/chunks/app/_global-error/{page-6ac899b2cd280c12.js → page-21b597461da15cd4.js} +1 -1
  368. package/.next-prod/static/chunks/app/api/agent/test/{route-6ac899b2cd280c12.js → route-21b597461da15cd4.js} +1 -1
  369. package/.next-prod/static/chunks/app/api/bash/{route-6ac899b2cd280c12.js → route-21b597461da15cd4.js} +1 -1
  370. package/.next-prod/static/chunks/app/api/bots/[id]/{route-6ac899b2cd280c12.js → route-21b597461da15cd4.js} +1 -1
  371. package/.next-prod/static/chunks/app/api/bots/route-21b597461da15cd4.js +1 -0
  372. package/.next-prod/static/chunks/app/api/chat/codex/route-21b597461da15cd4.js +1 -0
  373. package/.next-prod/static/chunks/app/api/chat/deepseek/route-21b597461da15cd4.js +1 -0
  374. package/.next-prod/static/chunks/app/api/chat/glm/route-21b597461da15cd4.js +1 -0
  375. package/.next-prod/static/chunks/app/api/chat/kimi/route-21b597461da15cd4.js +1 -0
  376. package/.next-prod/static/chunks/app/api/chat/ollama/route-21b597461da15cd4.js +1 -0
  377. package/.next-prod/static/chunks/app/api/chat/route-21b597461da15cd4.js +1 -0
  378. package/.next-prod/static/chunks/app/api/chat/stop/route-21b597461da15cd4.js +1 -0
  379. package/.next-prod/static/chunks/app/api/claude-stats/route-21b597461da15cd4.js +1 -0
  380. package/.next-prod/static/chunks/app/api/commands/route-21b597461da15cd4.js +1 -0
  381. package/.next-prod/static/chunks/app/api/comments/route-21b597461da15cd4.js +1 -0
  382. package/.next-prod/static/chunks/app/api/db/columns/route-21b597461da15cd4.js +1 -0
  383. package/.next-prod/static/chunks/app/api/db/connect/route-21b597461da15cd4.js +1 -0
  384. package/.next-prod/static/chunks/app/api/db/disconnect/route-21b597461da15cd4.js +1 -0
  385. package/.next-prod/static/chunks/app/api/db/export/route-21b597461da15cd4.js +1 -0
  386. package/.next-prod/static/chunks/app/api/db/query/route-21b597461da15cd4.js +1 -0
  387. package/.next-prod/static/chunks/app/api/db/schemas/route-21b597461da15cd4.js +1 -0
  388. package/.next-prod/static/chunks/app/api/deepseek/balance/route-21b597461da15cd4.js +1 -0
  389. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-21b597461da15cd4.js +1 -0
  390. package/.next-prod/static/chunks/app/api/deepseek/models/route-21b597461da15cd4.js +1 -0
  391. package/.next-prod/static/chunks/app/api/dev/spans/route-21b597461da15cd4.js +1 -0
  392. package/.next-prod/static/chunks/app/api/extension/version/route-21b597461da15cd4.js +1 -0
  393. package/.next-prod/static/chunks/app/api/file/route-21b597461da15cd4.js +1 -0
  394. package/.next-prod/static/chunks/app/api/files/blame/route-21b597461da15cd4.js +1 -0
  395. package/.next-prod/static/chunks/app/api/files/clipboard/route-21b597461da15cd4.js +1 -0
  396. package/.next-prod/static/chunks/app/api/files/copy/route-21b597461da15cd4.js +1 -0
  397. package/.next-prod/static/chunks/app/api/files/delete/route-21b597461da15cd4.js +1 -0
  398. package/.next-prod/static/chunks/app/api/files/expanded/route-21b597461da15cd4.js +1 -0
  399. package/.next-prod/static/chunks/app/api/files/index/route-21b597461da15cd4.js +1 -0
  400. package/.next-prod/static/chunks/app/api/files/init/route-21b597461da15cd4.js +1 -0
  401. package/.next-prod/static/chunks/app/api/files/paste/route-21b597461da15cd4.js +1 -0
  402. package/.next-prod/static/chunks/app/api/files/read/route-21b597461da15cd4.js +1 -0
  403. package/.next-prod/static/chunks/app/api/files/readdir/route-21b597461da15cd4.js +1 -0
  404. package/.next-prod/static/chunks/app/api/files/recent/route-21b597461da15cd4.js +1 -0
  405. package/.next-prod/static/chunks/app/api/files/save/route-21b597461da15cd4.js +1 -0
  406. package/.next-prod/static/chunks/app/api/files/search/route-21b597461da15cd4.js +1 -0
  407. package/.next-prod/static/chunks/app/api/files/stat/route-21b597461da15cd4.js +1 -0
  408. package/.next-prod/static/chunks/app/api/files/text/route-21b597461da15cd4.js +1 -0
  409. package/.next-prod/static/chunks/app/api/fs/dirs/route-21b597461da15cd4.js +1 -0
  410. package/.next-prod/static/chunks/app/api/git/blob/route-21b597461da15cd4.js +1 -0
  411. package/.next-prod/static/chunks/app/api/git/branch-diff/route-21b597461da15cd4.js +1 -0
  412. package/.next-prod/static/chunks/app/api/git/branches/route-21b597461da15cd4.js +1 -0
  413. package/.next-prod/static/chunks/app/api/git/commit-diff/route-21b597461da15cd4.js +1 -0
  414. package/.next-prod/static/chunks/app/api/git/commits/route-21b597461da15cd4.js +1 -0
  415. package/.next-prod/static/chunks/app/api/git/current-branch/route-21b597461da15cd4.js +1 -0
  416. package/.next-prod/static/chunks/app/api/git/diff/route-21b597461da15cd4.js +1 -0
  417. package/.next-prod/static/chunks/app/api/git/discard/route-21b597461da15cd4.js +1 -0
  418. package/.next-prod/static/chunks/app/api/git/stage/route-21b597461da15cd4.js +1 -0
  419. package/.next-prod/static/chunks/app/api/git/status/route-21b597461da15cd4.js +1 -0
  420. package/.next-prod/static/chunks/app/api/git/unstage/route-21b597461da15cd4.js +1 -0
  421. package/.next-prod/static/chunks/app/api/git/worktree/route-21b597461da15cd4.js +1 -0
  422. package/.next-prod/static/chunks/app/api/glm/credentials/route-21b597461da15cd4.js +1 -0
  423. package/.next-prod/static/chunks/app/api/glm/models/route-21b597461da15cd4.js +1 -0
  424. package/.next-prod/static/chunks/app/api/glm/usage/route-21b597461da15cd4.js +1 -0
  425. package/.next-prod/static/chunks/app/api/global-state/route-21b597461da15cd4.js +1 -0
  426. package/.next-prod/static/chunks/app/api/health/route-21b597461da15cd4.js +1 -0
  427. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-21b597461da15cd4.js +1 -0
  428. package/.next-prod/static/chunks/app/api/html-apps/route-21b597461da15cd4.js +1 -0
  429. package/.next-prod/static/chunks/app/api/instructions/config/route-21b597461da15cd4.js +1 -0
  430. package/.next-prod/static/chunks/app/api/kimi/credentials/route-21b597461da15cd4.js +1 -0
  431. package/.next-prod/static/chunks/app/api/kimi/models/route-21b597461da15cd4.js +1 -0
  432. package/.next-prod/static/chunks/app/api/kimi/usage/route-21b597461da15cd4.js +1 -0
  433. package/.next-prod/static/chunks/app/api/lsp/definition/route-21b597461da15cd4.js +1 -0
  434. package/.next-prod/static/chunks/app/api/lsp/hover/route-21b597461da15cd4.js +1 -0
  435. package/.next-prod/static/chunks/app/api/lsp/references/route-21b597461da15cd4.js +1 -0
  436. package/.next-prod/static/chunks/app/api/lsp/status/route-21b597461da15cd4.js +1 -0
  437. package/.next-prod/static/chunks/app/api/lsp/warmup/route-21b597461da15cd4.js +1 -0
  438. package/.next-prod/static/chunks/app/api/mysql/columns/route-21b597461da15cd4.js +1 -0
  439. package/.next-prod/static/chunks/app/api/mysql/connect/route-21b597461da15cd4.js +1 -0
  440. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-21b597461da15cd4.js +1 -0
  441. package/.next-prod/static/chunks/app/api/mysql/export/route-21b597461da15cd4.js +1 -0
  442. package/.next-prod/static/chunks/app/api/mysql/query/route-21b597461da15cd4.js +1 -0
  443. package/.next-prod/static/chunks/app/api/mysql/schemas/route-21b597461da15cd4.js +1 -0
  444. package/.next-prod/static/chunks/app/api/neo4j/connect/route-21b597461da15cd4.js +1 -0
  445. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-21b597461da15cd4.js +1 -0
  446. package/.next-prod/static/chunks/app/api/neo4j/query/route-21b597461da15cd4.js +1 -0
  447. package/.next-prod/static/chunks/app/api/neo4j/schema/route-21b597461da15cd4.js +1 -0
  448. package/.next-prod/static/chunks/app/api/note/route-21b597461da15cd4.js +1 -0
  449. package/.next-prod/static/chunks/app/api/ollama/config/route-21b597461da15cd4.js +1 -0
  450. package/.next-prod/static/chunks/app/api/ollama/default-model/route-21b597461da15cd4.js +1 -0
  451. package/.next-prod/static/chunks/app/api/ollama/models/route-21b597461da15cd4.js +1 -0
  452. package/.next-prod/static/chunks/app/api/ollama/start/route-21b597461da15cd4.js +1 -0
  453. package/.next-prod/static/chunks/app/api/open-cursor/route-21b597461da15cd4.js +1 -0
  454. package/.next-prod/static/chunks/app/api/open-vscode/route-21b597461da15cd4.js +1 -0
  455. package/.next-prod/static/chunks/app/api/output-styles/config/route-21b597461da15cd4.js +1 -0
  456. package/.next-prod/static/chunks/app/api/pinned-sessions/route-21b597461da15cd4.js +1 -0
  457. package/.next-prod/static/chunks/app/api/project-settings/route-21b597461da15cd4.js +1 -0
  458. package/.next-prod/static/chunks/app/api/project-state/route-21b597461da15cd4.js +1 -0
  459. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-21b597461da15cd4.js +1 -0
  460. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-21b597461da15cd4.js +1 -0
  461. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-21b597461da15cd4.js +1 -0
  462. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-21b597461da15cd4.js +1 -0
  463. package/.next-prod/static/chunks/app/api/projectGraph/context/route-21b597461da15cd4.js +1 -0
  464. package/.next-prod/static/chunks/app/api/projectGraph/file/route-21b597461da15cd4.js +1 -0
  465. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-21b597461da15cd4.js +1 -0
  466. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-21b597461da15cd4.js +1 -0
  467. package/.next-prod/static/chunks/app/api/projectGraph/related/route-21b597461da15cd4.js +1 -0
  468. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-21b597461da15cd4.js +1 -0
  469. package/.next-prod/static/chunks/app/api/projectGraph/search/route-21b597461da15cd4.js +1 -0
  470. package/.next-prod/static/chunks/app/api/projects/route-21b597461da15cd4.js +1 -0
  471. package/.next-prod/static/chunks/app/api/push/public-key/route-21b597461da15cd4.js +1 -0
  472. package/.next-prod/static/chunks/app/api/push/subscribe/route-21b597461da15cd4.js +1 -0
  473. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-21b597461da15cd4.js +1 -0
  474. package/.next-prod/static/chunks/app/api/redis/command/route-21b597461da15cd4.js +1 -0
  475. package/.next-prod/static/chunks/app/api/redis/connect/route-21b597461da15cd4.js +1 -0
  476. package/.next-prod/static/chunks/app/api/redis/delete/route-21b597461da15cd4.js +1 -0
  477. package/.next-prod/static/chunks/app/api/redis/disconnect/route-21b597461da15cd4.js +1 -0
  478. package/.next-prod/static/chunks/app/api/redis/get/route-21b597461da15cd4.js +1 -0
  479. package/.next-prod/static/chunks/app/api/redis/keys/route-21b597461da15cd4.js +1 -0
  480. package/.next-prod/static/chunks/app/api/redis/set/route-21b597461da15cd4.js +1 -0
  481. package/.next-prod/static/chunks/app/api/restart/route-21b597461da15cd4.js +1 -0
  482. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-21b597461da15cd4.js +1 -0
  483. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-21b597461da15cd4.js +1 -0
  484. package/.next-prod/static/chunks/app/api/review/[id]/route-21b597461da15cd4.js +1 -0
  485. package/.next-prod/static/chunks/app/api/review/identify/route-21b597461da15cd4.js +1 -0
  486. package/.next-prod/static/chunks/app/api/review/order/route-21b597461da15cd4.js +1 -0
  487. package/.next-prod/static/chunks/app/api/review/route-21b597461da15cd4.js +1 -0
  488. package/.next-prod/static/chunks/app/api/review/share-info/route-21b597461da15cd4.js +1 -0
  489. package/.next-prod/static/chunks/app/api/review/users/route-21b597461da15cd4.js +1 -0
  490. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-21b597461da15cd4.js +1 -0
  491. package/.next-prod/static/chunks/app/api/services/config/route-21b597461da15cd4.js +1 -0
  492. package/.next-prod/static/chunks/app/api/services/scripts/route-21b597461da15cd4.js +1 -0
  493. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-21b597461da15cd4.js +1 -0
  494. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-21b597461da15cd4.js +1 -0
  495. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-21b597461da15cd4.js +1 -0
  496. package/.next-prod/static/chunks/app/api/session/user-messages/route-21b597461da15cd4.js +1 -0
  497. package/.next-prod/static/chunks/app/api/session-by-path/route-21b597461da15cd4.js +1 -0
  498. package/.next-prod/static/chunks/app/api/sessions/delegate/route-21b597461da15cd4.js +1 -0
  499. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-21b597461da15cd4.js +1 -0
  500. package/.next-prod/static/chunks/app/api/sessions/projects/route-21b597461da15cd4.js +1 -0
  501. package/.next-prod/static/chunks/app/api/sessions/search/route-21b597461da15cd4.js +1 -0
  502. package/.next-prod/static/chunks/app/api/sessions/status/route-21b597461da15cd4.js +1 -0
  503. package/.next-prod/static/chunks/app/api/settings/route-21b597461da15cd4.js +1 -0
  504. package/.next-prod/static/chunks/app/api/shutdown/route-21b597461da15cd4.js +1 -0
  505. package/.next-prod/static/chunks/app/api/skills/[id]/route-21b597461da15cd4.js +1 -0
  506. package/.next-prod/static/chunks/app/api/skills/content/route-21b597461da15cd4.js +1 -0
  507. package/.next-prod/static/chunks/app/api/skills/route-21b597461da15cd4.js +1 -0
  508. package/.next-prod/static/chunks/app/api/snapshots/blob/route-21b597461da15cd4.js +1 -0
  509. package/.next-prod/static/chunks/app/api/snapshots/diff/route-21b597461da15cd4.js +1 -0
  510. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-21b597461da15cd4.js +1 -0
  511. package/.next-prod/static/chunks/app/api/snapshots/route-21b597461da15cd4.js +1 -0
  512. package/.next-prod/static/chunks/app/api/terminal/aliases/route-21b597461da15cd4.js +1 -0
  513. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-21b597461da15cd4.js +1 -0
  514. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-21b597461da15cd4.js +1 -0
  515. package/.next-prod/static/chunks/app/api/terminal/env/route-21b597461da15cd4.js +1 -0
  516. package/.next-prod/static/chunks/app/api/terminal/history/route-21b597461da15cd4.js +1 -0
  517. package/.next-prod/static/chunks/app/api/update/route-21b597461da15cd4.js +1 -0
  518. package/.next-prod/static/chunks/app/api/update-state/route-21b597461da15cd4.js +1 -0
  519. package/.next-prod/static/chunks/app/api/version/route-21b597461da15cd4.js +1 -0
  520. package/.next-prod/static/chunks/app/apps/[...path]/route-21b597461da15cd4.js +1 -0
  521. package/.next-prod/static/chunks/app/{layout-f3f9426dccb507b2.js → layout-3b48c268aef0cfe6.js} +1 -1
  522. package/.next-prod/static/chunks/app/manifest.webmanifest/route-21b597461da15cd4.js +1 -0
  523. package/.next-prod/static/chunks/app/{page-d97e5df9486f39cb.js → page-747c80a59d1bdd4c.js} +1 -1
  524. package/.next-prod/static/chunks/app/project/{page-d97e5df9486f39cb.js → page-747c80a59d1bdd4c.js} +1 -1
  525. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-21b597461da15cd4.js +1 -0
  526. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-21b597461da15cd4.js +1 -0
  527. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-21b597461da15cd4.js +1 -0
  528. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-21b597461da15cd4.js +1 -0
  529. package/.next-prod/static/css/e7e2daa1e96529e6.css +1 -0
  530. package/.next-prod/trace +15 -15
  531. package/.next-prod/trace-build +1 -1
  532. package/.next-prod/types/app/api/{pick-folder → fs/dirs}/route.ts +3 -3
  533. package/.next-prod/types/app/api/output-styles/config/route.ts +353 -0
  534. package/.next-prod/types/routes.d.ts +3 -2
  535. package/.next-prod/types/validator.ts +12 -3
  536. package/bin/pty-host.mjs +423 -0
  537. package/dist/{chunk-5ZXPIG4Z.mjs → chunk-MXOJBOL4.mjs} +556 -9
  538. package/dist/{chunk-SGVT4QFB.mjs → chunk-XMGMMEZI.mjs} +250 -66
  539. package/dist/httpApi.mjs +7 -3
  540. package/dist/scheduledTasks.mjs +58 -8
  541. package/dist/wsServer.mjs +118 -69
  542. package/package.json +3 -3
  543. package/server.mjs +12 -0
  544. package/skills/bot-run/SKILL.md +6 -6
  545. package/skills/bot-run/followup.md +1 -1
  546. package/skills/bot-run/wait.md +1 -1
  547. package/skills/cr/SKILL.md +302 -126
  548. package/.next-prod/server/app/api/pick-folder/route.js +0 -1
  549. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +0 -1
  550. package/.next-prod/server/app/api/pick-folder/route_client-reference-manifest.js +0 -1
  551. package/.next-prod/server/chunks/6548.js +0 -1
  552. package/.next-prod/static/chunks/89656-1b5bae337f6b6892.js +0 -34
  553. package/.next-prod/static/chunks/95313-96a541e7ce6f76c4.js +0 -17
  554. package/.next-prod/static/chunks/99092-7b5fa4560a398020.js +0 -716
  555. package/.next-prod/static/chunks/app/api/bots/route-6ac899b2cd280c12.js +0 -1
  556. package/.next-prod/static/chunks/app/api/chat/codex/route-6ac899b2cd280c12.js +0 -1
  557. package/.next-prod/static/chunks/app/api/chat/deepseek/route-6ac899b2cd280c12.js +0 -1
  558. package/.next-prod/static/chunks/app/api/chat/glm/route-6ac899b2cd280c12.js +0 -1
  559. package/.next-prod/static/chunks/app/api/chat/kimi/route-6ac899b2cd280c12.js +0 -1
  560. package/.next-prod/static/chunks/app/api/chat/ollama/route-6ac899b2cd280c12.js +0 -1
  561. package/.next-prod/static/chunks/app/api/chat/route-6ac899b2cd280c12.js +0 -1
  562. package/.next-prod/static/chunks/app/api/chat/stop/route-6ac899b2cd280c12.js +0 -1
  563. package/.next-prod/static/chunks/app/api/claude-stats/route-6ac899b2cd280c12.js +0 -1
  564. package/.next-prod/static/chunks/app/api/commands/route-6ac899b2cd280c12.js +0 -1
  565. package/.next-prod/static/chunks/app/api/comments/route-6ac899b2cd280c12.js +0 -1
  566. package/.next-prod/static/chunks/app/api/db/columns/route-6ac899b2cd280c12.js +0 -1
  567. package/.next-prod/static/chunks/app/api/db/connect/route-6ac899b2cd280c12.js +0 -1
  568. package/.next-prod/static/chunks/app/api/db/disconnect/route-6ac899b2cd280c12.js +0 -1
  569. package/.next-prod/static/chunks/app/api/db/export/route-6ac899b2cd280c12.js +0 -1
  570. package/.next-prod/static/chunks/app/api/db/query/route-6ac899b2cd280c12.js +0 -1
  571. package/.next-prod/static/chunks/app/api/db/schemas/route-6ac899b2cd280c12.js +0 -1
  572. package/.next-prod/static/chunks/app/api/deepseek/balance/route-6ac899b2cd280c12.js +0 -1
  573. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6ac899b2cd280c12.js +0 -1
  574. package/.next-prod/static/chunks/app/api/deepseek/models/route-6ac899b2cd280c12.js +0 -1
  575. package/.next-prod/static/chunks/app/api/dev/spans/route-6ac899b2cd280c12.js +0 -1
  576. package/.next-prod/static/chunks/app/api/extension/version/route-6ac899b2cd280c12.js +0 -1
  577. package/.next-prod/static/chunks/app/api/file/route-6ac899b2cd280c12.js +0 -1
  578. package/.next-prod/static/chunks/app/api/files/blame/route-6ac899b2cd280c12.js +0 -1
  579. package/.next-prod/static/chunks/app/api/files/clipboard/route-6ac899b2cd280c12.js +0 -1
  580. package/.next-prod/static/chunks/app/api/files/copy/route-6ac899b2cd280c12.js +0 -1
  581. package/.next-prod/static/chunks/app/api/files/delete/route-6ac899b2cd280c12.js +0 -1
  582. package/.next-prod/static/chunks/app/api/files/expanded/route-6ac899b2cd280c12.js +0 -1
  583. package/.next-prod/static/chunks/app/api/files/index/route-6ac899b2cd280c12.js +0 -1
  584. package/.next-prod/static/chunks/app/api/files/init/route-6ac899b2cd280c12.js +0 -1
  585. package/.next-prod/static/chunks/app/api/files/paste/route-6ac899b2cd280c12.js +0 -1
  586. package/.next-prod/static/chunks/app/api/files/read/route-6ac899b2cd280c12.js +0 -1
  587. package/.next-prod/static/chunks/app/api/files/readdir/route-6ac899b2cd280c12.js +0 -1
  588. package/.next-prod/static/chunks/app/api/files/recent/route-6ac899b2cd280c12.js +0 -1
  589. package/.next-prod/static/chunks/app/api/files/save/route-6ac899b2cd280c12.js +0 -1
  590. package/.next-prod/static/chunks/app/api/files/search/route-6ac899b2cd280c12.js +0 -1
  591. package/.next-prod/static/chunks/app/api/files/stat/route-6ac899b2cd280c12.js +0 -1
  592. package/.next-prod/static/chunks/app/api/files/text/route-6ac899b2cd280c12.js +0 -1
  593. package/.next-prod/static/chunks/app/api/git/blob/route-6ac899b2cd280c12.js +0 -1
  594. package/.next-prod/static/chunks/app/api/git/branch-diff/route-6ac899b2cd280c12.js +0 -1
  595. package/.next-prod/static/chunks/app/api/git/branches/route-6ac899b2cd280c12.js +0 -1
  596. package/.next-prod/static/chunks/app/api/git/commit-diff/route-6ac899b2cd280c12.js +0 -1
  597. package/.next-prod/static/chunks/app/api/git/commits/route-6ac899b2cd280c12.js +0 -1
  598. package/.next-prod/static/chunks/app/api/git/current-branch/route-6ac899b2cd280c12.js +0 -1
  599. package/.next-prod/static/chunks/app/api/git/diff/route-6ac899b2cd280c12.js +0 -1
  600. package/.next-prod/static/chunks/app/api/git/discard/route-6ac899b2cd280c12.js +0 -1
  601. package/.next-prod/static/chunks/app/api/git/stage/route-6ac899b2cd280c12.js +0 -1
  602. package/.next-prod/static/chunks/app/api/git/status/route-6ac899b2cd280c12.js +0 -1
  603. package/.next-prod/static/chunks/app/api/git/unstage/route-6ac899b2cd280c12.js +0 -1
  604. package/.next-prod/static/chunks/app/api/git/worktree/route-6ac899b2cd280c12.js +0 -1
  605. package/.next-prod/static/chunks/app/api/glm/credentials/route-6ac899b2cd280c12.js +0 -1
  606. package/.next-prod/static/chunks/app/api/glm/models/route-6ac899b2cd280c12.js +0 -1
  607. package/.next-prod/static/chunks/app/api/glm/usage/route-6ac899b2cd280c12.js +0 -1
  608. package/.next-prod/static/chunks/app/api/global-state/route-6ac899b2cd280c12.js +0 -1
  609. package/.next-prod/static/chunks/app/api/health/route-6ac899b2cd280c12.js +0 -1
  610. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6ac899b2cd280c12.js +0 -1
  611. package/.next-prod/static/chunks/app/api/html-apps/route-6ac899b2cd280c12.js +0 -1
  612. package/.next-prod/static/chunks/app/api/instructions/config/route-6ac899b2cd280c12.js +0 -1
  613. package/.next-prod/static/chunks/app/api/kimi/credentials/route-6ac899b2cd280c12.js +0 -1
  614. package/.next-prod/static/chunks/app/api/kimi/models/route-6ac899b2cd280c12.js +0 -1
  615. package/.next-prod/static/chunks/app/api/kimi/usage/route-6ac899b2cd280c12.js +0 -1
  616. package/.next-prod/static/chunks/app/api/lsp/definition/route-6ac899b2cd280c12.js +0 -1
  617. package/.next-prod/static/chunks/app/api/lsp/hover/route-6ac899b2cd280c12.js +0 -1
  618. package/.next-prod/static/chunks/app/api/lsp/references/route-6ac899b2cd280c12.js +0 -1
  619. package/.next-prod/static/chunks/app/api/lsp/status/route-6ac899b2cd280c12.js +0 -1
  620. package/.next-prod/static/chunks/app/api/lsp/warmup/route-6ac899b2cd280c12.js +0 -1
  621. package/.next-prod/static/chunks/app/api/mysql/columns/route-6ac899b2cd280c12.js +0 -1
  622. package/.next-prod/static/chunks/app/api/mysql/connect/route-6ac899b2cd280c12.js +0 -1
  623. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6ac899b2cd280c12.js +0 -1
  624. package/.next-prod/static/chunks/app/api/mysql/export/route-6ac899b2cd280c12.js +0 -1
  625. package/.next-prod/static/chunks/app/api/mysql/query/route-6ac899b2cd280c12.js +0 -1
  626. package/.next-prod/static/chunks/app/api/mysql/schemas/route-6ac899b2cd280c12.js +0 -1
  627. package/.next-prod/static/chunks/app/api/neo4j/connect/route-6ac899b2cd280c12.js +0 -1
  628. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6ac899b2cd280c12.js +0 -1
  629. package/.next-prod/static/chunks/app/api/neo4j/query/route-6ac899b2cd280c12.js +0 -1
  630. package/.next-prod/static/chunks/app/api/neo4j/schema/route-6ac899b2cd280c12.js +0 -1
  631. package/.next-prod/static/chunks/app/api/note/route-6ac899b2cd280c12.js +0 -1
  632. package/.next-prod/static/chunks/app/api/ollama/config/route-6ac899b2cd280c12.js +0 -1
  633. package/.next-prod/static/chunks/app/api/ollama/default-model/route-6ac899b2cd280c12.js +0 -1
  634. package/.next-prod/static/chunks/app/api/ollama/models/route-6ac899b2cd280c12.js +0 -1
  635. package/.next-prod/static/chunks/app/api/ollama/start/route-6ac899b2cd280c12.js +0 -1
  636. package/.next-prod/static/chunks/app/api/open-cursor/route-6ac899b2cd280c12.js +0 -1
  637. package/.next-prod/static/chunks/app/api/open-vscode/route-6ac899b2cd280c12.js +0 -1
  638. package/.next-prod/static/chunks/app/api/pick-folder/route-6ac899b2cd280c12.js +0 -1
  639. package/.next-prod/static/chunks/app/api/pinned-sessions/route-6ac899b2cd280c12.js +0 -1
  640. package/.next-prod/static/chunks/app/api/project-settings/route-6ac899b2cd280c12.js +0 -1
  641. package/.next-prod/static/chunks/app/api/project-state/route-6ac899b2cd280c12.js +0 -1
  642. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6ac899b2cd280c12.js +0 -1
  643. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6ac899b2cd280c12.js +0 -1
  644. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6ac899b2cd280c12.js +0 -1
  645. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6ac899b2cd280c12.js +0 -1
  646. package/.next-prod/static/chunks/app/api/projectGraph/context/route-6ac899b2cd280c12.js +0 -1
  647. package/.next-prod/static/chunks/app/api/projectGraph/file/route-6ac899b2cd280c12.js +0 -1
  648. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6ac899b2cd280c12.js +0 -1
  649. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6ac899b2cd280c12.js +0 -1
  650. package/.next-prod/static/chunks/app/api/projectGraph/related/route-6ac899b2cd280c12.js +0 -1
  651. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-6ac899b2cd280c12.js +0 -1
  652. package/.next-prod/static/chunks/app/api/projectGraph/search/route-6ac899b2cd280c12.js +0 -1
  653. package/.next-prod/static/chunks/app/api/projects/route-6ac899b2cd280c12.js +0 -1
  654. package/.next-prod/static/chunks/app/api/push/public-key/route-6ac899b2cd280c12.js +0 -1
  655. package/.next-prod/static/chunks/app/api/push/subscribe/route-6ac899b2cd280c12.js +0 -1
  656. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6ac899b2cd280c12.js +0 -1
  657. package/.next-prod/static/chunks/app/api/redis/command/route-6ac899b2cd280c12.js +0 -1
  658. package/.next-prod/static/chunks/app/api/redis/connect/route-6ac899b2cd280c12.js +0 -1
  659. package/.next-prod/static/chunks/app/api/redis/delete/route-6ac899b2cd280c12.js +0 -1
  660. package/.next-prod/static/chunks/app/api/redis/disconnect/route-6ac899b2cd280c12.js +0 -1
  661. package/.next-prod/static/chunks/app/api/redis/get/route-6ac899b2cd280c12.js +0 -1
  662. package/.next-prod/static/chunks/app/api/redis/keys/route-6ac899b2cd280c12.js +0 -1
  663. package/.next-prod/static/chunks/app/api/redis/set/route-6ac899b2cd280c12.js +0 -1
  664. package/.next-prod/static/chunks/app/api/restart/route-6ac899b2cd280c12.js +0 -1
  665. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-6ac899b2cd280c12.js +0 -1
  666. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-6ac899b2cd280c12.js +0 -1
  667. package/.next-prod/static/chunks/app/api/review/[id]/route-6ac899b2cd280c12.js +0 -1
  668. package/.next-prod/static/chunks/app/api/review/identify/route-6ac899b2cd280c12.js +0 -1
  669. package/.next-prod/static/chunks/app/api/review/order/route-6ac899b2cd280c12.js +0 -1
  670. package/.next-prod/static/chunks/app/api/review/route-6ac899b2cd280c12.js +0 -1
  671. package/.next-prod/static/chunks/app/api/review/share-info/route-6ac899b2cd280c12.js +0 -1
  672. package/.next-prod/static/chunks/app/api/review/users/route-6ac899b2cd280c12.js +0 -1
  673. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6ac899b2cd280c12.js +0 -1
  674. package/.next-prod/static/chunks/app/api/services/config/route-6ac899b2cd280c12.js +0 -1
  675. package/.next-prod/static/chunks/app/api/services/scripts/route-6ac899b2cd280c12.js +0 -1
  676. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6ac899b2cd280c12.js +0 -1
  677. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6ac899b2cd280c12.js +0 -1
  678. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6ac899b2cd280c12.js +0 -1
  679. package/.next-prod/static/chunks/app/api/session/user-messages/route-6ac899b2cd280c12.js +0 -1
  680. package/.next-prod/static/chunks/app/api/session-by-path/route-6ac899b2cd280c12.js +0 -1
  681. package/.next-prod/static/chunks/app/api/sessions/delegate/route-6ac899b2cd280c12.js +0 -1
  682. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6ac899b2cd280c12.js +0 -1
  683. package/.next-prod/static/chunks/app/api/sessions/projects/route-6ac899b2cd280c12.js +0 -1
  684. package/.next-prod/static/chunks/app/api/sessions/search/route-6ac899b2cd280c12.js +0 -1
  685. package/.next-prod/static/chunks/app/api/sessions/status/route-6ac899b2cd280c12.js +0 -1
  686. package/.next-prod/static/chunks/app/api/settings/route-6ac899b2cd280c12.js +0 -1
  687. package/.next-prod/static/chunks/app/api/shutdown/route-6ac899b2cd280c12.js +0 -1
  688. package/.next-prod/static/chunks/app/api/skills/[id]/route-6ac899b2cd280c12.js +0 -1
  689. package/.next-prod/static/chunks/app/api/skills/content/route-6ac899b2cd280c12.js +0 -1
  690. package/.next-prod/static/chunks/app/api/skills/route-6ac899b2cd280c12.js +0 -1
  691. package/.next-prod/static/chunks/app/api/snapshots/blob/route-6ac899b2cd280c12.js +0 -1
  692. package/.next-prod/static/chunks/app/api/snapshots/diff/route-6ac899b2cd280c12.js +0 -1
  693. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6ac899b2cd280c12.js +0 -1
  694. package/.next-prod/static/chunks/app/api/snapshots/route-6ac899b2cd280c12.js +0 -1
  695. package/.next-prod/static/chunks/app/api/terminal/aliases/route-6ac899b2cd280c12.js +0 -1
  696. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6ac899b2cd280c12.js +0 -1
  697. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6ac899b2cd280c12.js +0 -1
  698. package/.next-prod/static/chunks/app/api/terminal/env/route-6ac899b2cd280c12.js +0 -1
  699. package/.next-prod/static/chunks/app/api/terminal/history/route-6ac899b2cd280c12.js +0 -1
  700. package/.next-prod/static/chunks/app/api/update/route-6ac899b2cd280c12.js +0 -1
  701. package/.next-prod/static/chunks/app/api/update-state/route-6ac899b2cd280c12.js +0 -1
  702. package/.next-prod/static/chunks/app/api/version/route-6ac899b2cd280c12.js +0 -1
  703. package/.next-prod/static/chunks/app/apps/[...path]/route-6ac899b2cd280c12.js +0 -1
  704. package/.next-prod/static/chunks/app/manifest.webmanifest/route-6ac899b2cd280c12.js +0 -1
  705. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6ac899b2cd280c12.js +0 -1
  706. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6ac899b2cd280c12.js +0 -1
  707. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6ac899b2cd280c12.js +0 -1
  708. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6ac899b2cd280c12.js +0 -1
  709. package/.next-prod/static/css/e6181fb6c73884b4.css +0 -1
  710. package/.next-prod/static/yEJ9Z5Bjv9ti4WeYINfCs/_buildManifest.js +0 -1
  711. /package/.next-prod/static/{yEJ9Z5Bjv9ti4WeYINfCs → 4RnWG203k-Xg-suOhN3oL}/_ssgManifest.js +0 -0
@@ -22,7 +22,7 @@ import {
22
22
  updateGlobalState,
23
23
  withFileLock,
24
24
  writeJsonFile
25
- } from "./chunk-SGVT4QFB.mjs";
25
+ } from "./chunk-XMGMMEZI.mjs";
26
26
  import "./chunk-7P6ASYW6.mjs";
27
27
 
28
28
  // packages/feature/agent/src/server/scheduledTasks.ts
@@ -291,7 +291,6 @@ var en_default = {
291
291
  noSessionsYet: "No sessions yet",
292
292
  projectList: "Project List",
293
293
  openFolder: "Open Folder",
294
- selectingFolder: "Selecting...",
295
294
  loadingHistory: "Loading history..."
296
295
  },
297
296
  scheduledTasks: {
@@ -663,6 +662,17 @@ var en_default = {
663
662
  noHistory: "No history context",
664
663
  noHistoryDesc: "each prompt is independent",
665
664
  noHistoryHint: "No history context: each message is sent to the model on its own, with no prior conversation. The transcript above still records everything.",
665
+ outputStyle: "Output style",
666
+ outputStyleNone: "None",
667
+ noOutputStyles: "No output styles yet \u2014 add one with the pencil",
668
+ editOutputStyles: "Edit output styles",
669
+ 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).',
670
+ outputStylesMarkdownPlaceholder: "# Concise\nAnswer in at most three sentences, no preamble.\n\n# Teacher\nExplain why before how.",
671
+ outputStylesError: {
672
+ "content-before-heading": 'Line {{line}}: content must come after a "# Name" heading.',
673
+ "empty-style": "Line {{line}}: a style needs both a name and content.",
674
+ "duplicate-name": "Line {{line}}: duplicate style name."
675
+ },
666
676
  planTitle: "Plan (awaiting your review)",
667
677
  approvePlan: "Approve & run",
668
678
  planApproveHint: "No approval dialog here \u2014 click to exit plan mode and execute",
@@ -1288,8 +1298,19 @@ var en_default = {
1288
1298
  imageTooLarge: "Image too large to preview",
1289
1299
  cannotPreviewBinary: "Cannot preview binary file",
1290
1300
  fileTooLarge: "File too large to preview (over 10MB)",
1291
- fileModifiedExternally: "File was modified externally",
1292
- pickFolderPrompt: "Select project folder"
1301
+ fileModifiedExternally: "File was modified externally"
1302
+ },
1303
+ folderPicker: {
1304
+ title: "Open Folder",
1305
+ placeholder: "Type or paste a path, e.g. ~/Work/my-app",
1306
+ open: "Open",
1307
+ showHidden: "Show hidden",
1308
+ hint: "\u2191\u2193 select \xB7 Tab/Enter go in \xB7 \u2318/Ctrl+Enter open",
1309
+ empty: "No subfolders",
1310
+ noMatch: "No matching folders",
1311
+ notFound: "Folder not found",
1312
+ notDirectory: "Not a folder",
1313
+ denied: "Permission denied. On macOS, grant access in System Settings \u203A Privacy & Security."
1293
1314
  },
1294
1315
  confirm: {
1295
1316
  title: "Notice",
@@ -1649,7 +1670,6 @@ var zh_default = {
1649
1670
  noSessionsYet: "\u6682\u65E0\u4F1A\u8BDD",
1650
1671
  projectList: "\u9879\u76EE\u5217\u8868",
1651
1672
  openFolder: "\u6253\u5F00\u6587\u4EF6\u5939",
1652
- selectingFolder: "\u9009\u62E9\u4E2D...",
1653
1673
  loadingHistory: "\u52A0\u8F7D\u5386\u53F2\u6D88\u606F..."
1654
1674
  },
1655
1675
  scheduledTasks: {
@@ -2021,6 +2041,17 @@ var zh_default = {
2021
2041
  noHistory: "\u4E0D\u5E26\u5386\u53F2\u4E0A\u4E0B\u6587",
2022
2042
  noHistoryDesc: "\u6BCF\u6B21\u63D0\u95EE\u5747\u72EC\u7ACB",
2023
2043
  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",
2044
+ outputStyle: "\u8F93\u51FA\u98CE\u683C",
2045
+ outputStyleNone: "\u65E0",
2046
+ noOutputStyles: "\u6682\u65E0\u8F93\u51FA\u98CE\u683C\uFF0C\u70B9\u53F3\u4E0A\u89D2\u94C5\u7B14\u6DFB\u52A0",
2047
+ editOutputStyles: "\u7F16\u8F91\u8F93\u51FA\u98CE\u683C",
2048
+ 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",
2049
+ 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",
2050
+ outputStylesError: {
2051
+ "content-before-heading": "\u7B2C {{line}} \u884C\uFF1A\u5185\u5BB9\u5FC5\u987B\u5199\u5728\u300C# \u540D\u79F0\u300D\u4E4B\u540E\u3002",
2052
+ "empty-style": "\u7B2C {{line}} \u884C\uFF1A\u98CE\u683C\u9700\u8981\u540D\u79F0\u548C\u5185\u5BB9\u3002",
2053
+ "duplicate-name": "\u7B2C {{line}} \u884C\uFF1A\u98CE\u683C\u540D\u79F0\u91CD\u590D\u3002"
2054
+ },
2024
2055
  planTitle: "\u8BA1\u5212\uFF08\u5F85\u4F60\u786E\u8BA4\uFF09",
2025
2056
  approvePlan: "\u6279\u51C6\u5E76\u6267\u884C",
2026
2057
  planApproveHint: "\u672C\u73AF\u5883\u65E0\u5BA1\u6279\u5F39\u7A97\uFF0C\u70B9\u6B64\u9000\u51FA\u8BA1\u5212\u6A21\u5F0F\u5E76\u6267\u884C",
@@ -2646,8 +2677,19 @@ var zh_default = {
2646
2677
  imageTooLarge: "\u56FE\u7247\u6587\u4EF6\u8FC7\u5927\uFF0C\u65E0\u6CD5\u9884\u89C8",
2647
2678
  cannotPreviewBinary: "\u65E0\u6CD5\u9884\u89C8\u4E8C\u8FDB\u5236\u6587\u4EF6",
2648
2679
  fileTooLarge: "\u6587\u4EF6\u8FC7\u5927\uFF0C\u65E0\u6CD5\u9884\u89C8\uFF08\u8D85\u8FC7 10MB\uFF09",
2649
- fileModifiedExternally: "\u6587\u4EF6\u5DF2\u88AB\u5916\u90E8\u4FEE\u6539",
2650
- pickFolderPrompt: "\u9009\u62E9\u9879\u76EE\u6587\u4EF6\u5939"
2680
+ fileModifiedExternally: "\u6587\u4EF6\u5DF2\u88AB\u5916\u90E8\u4FEE\u6539"
2681
+ },
2682
+ folderPicker: {
2683
+ title: "\u6253\u5F00\u6587\u4EF6\u5939",
2684
+ placeholder: "\u8F93\u5165\u6216\u7C98\u8D34\u8DEF\u5F84\uFF0C\u5982 ~/Work/my-app",
2685
+ open: "\u6253\u5F00",
2686
+ showHidden: "\u663E\u793A\u9690\u85CF\u76EE\u5F55",
2687
+ hint: "\u2191\u2193 \u9009\u62E9 \xB7 Tab/\u56DE\u8F66 \u8FDB\u5165 \xB7 \u2318/Ctrl+\u56DE\u8F66 \u6253\u5F00",
2688
+ empty: "\u6CA1\u6709\u5B50\u6587\u4EF6\u5939",
2689
+ noMatch: "\u6CA1\u6709\u5339\u914D\u7684\u6587\u4EF6\u5939",
2690
+ notFound: "\u6587\u4EF6\u5939\u4E0D\u5B58\u5728",
2691
+ notDirectory: "\u4E0D\u662F\u6587\u4EF6\u5939",
2692
+ denied: "\u6CA1\u6709\u8BBF\u95EE\u6743\u9650\u3002macOS \u4E0A\u8BF7\u5728 \u7CFB\u7EDF\u8BBE\u7F6E \u203A \u9690\u79C1\u4E0E\u5B89\u5168\u6027 \u4E2D\u6388\u6743\u3002"
2651
2693
  },
2652
2694
  confirm: {
2653
2695
  title: "\u63D0\u793A",
@@ -2836,6 +2878,7 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
2836
2878
  throw new Error(`no engine spec for ${engine}`);
2837
2879
  }
2838
2880
  const noHistory = await readSessionNoHistory(task, engine);
2881
+ const outputStyleId = await readSessionOutputStyleId(task);
2839
2882
  const outcome = await dispatchChat(spec, {
2840
2883
  prompt: buildTaskPrompt(task),
2841
2884
  // Omit sessionId to start a brand-new session when the resume target is gone;
@@ -2844,7 +2887,8 @@ var dispatchEngineMessageEff = (task, engine, startFresh) => Effect_exports.tryP
2844
2887
  cwd: task.cwd,
2845
2888
  engine,
2846
2889
  ...task.model && { model: task.model },
2847
- ...noHistory && { noHistory: true }
2890
+ ...noHistory && { noHistory: true },
2891
+ ...outputStyleId && { outputStyleId }
2848
2892
  });
2849
2893
  if (!outcome.ok) {
2850
2894
  throw new Error(`${engine} dispatch rejected (${outcome.status}): ${outcome.error}`);
@@ -2884,6 +2928,11 @@ async function readSessionNoHistory(task, engine) {
2884
2928
  const state = await readJsonFile(getSessionFilePath(task.cwd), {});
2885
2929
  return state.noHistories?.[task.sessionId] === true;
2886
2930
  }
2931
+ async function readSessionOutputStyleId(task) {
2932
+ const state = await readJsonFile(getSessionFilePath(task.cwd), {});
2933
+ const id = state.outputStyles?.[task.sessionId];
2934
+ return typeof id === "string" && id ? id : void 0;
2935
+ }
2887
2936
  function sessionPathFor(engine, task) {
2888
2937
  const builtinPath = BUILTIN_LOOP_PATHS[engine];
2889
2938
  if (builtinPath) return builtinPath(task.cwd, task.sessionId);
@@ -3345,6 +3394,7 @@ export {
3345
3394
  buildTaskPrompt,
3346
3395
  getNextCronTime,
3347
3396
  readSessionNoHistory,
3397
+ readSessionOutputStyleId,
3348
3398
  scheduledTaskManager,
3349
3399
  sendChatMessageEff
3350
3400
  };
package/dist/wsServer.mjs CHANGED
@@ -1,19 +1,25 @@
1
1
  import {
2
2
  addExitListener,
3
3
  addOutputListener,
4
+ adoptPtyHostSessions,
4
5
  finalizeCommand,
5
6
  findSafeStart,
6
7
  getAllProjectCwds,
8
+ getDefaultPath,
9
+ getDefaultShell,
7
10
  getRegistrySize,
8
11
  getRunningCommand,
9
12
  getRunningCommands,
10
13
  getTerminalByShortId,
14
+ isWindows,
11
15
  registerBrowser,
12
16
  registerCommand,
13
17
  resolvePendingRequest,
18
+ spawnPipeInHost,
19
+ spawnPtyInHost,
14
20
  unregisterBrowser,
15
21
  writeStdinToCommand
16
- } from "./chunk-5ZXPIG4Z.mjs";
22
+ } from "./chunk-MXOJBOL4.mjs";
17
23
  import {
18
24
  Effect_exports,
19
25
  FSError,
@@ -33,7 +39,7 @@ import {
33
39
  recoverStashedCodexRollouts,
34
40
  recoverStashedTranscripts,
35
41
  sanitizedSpawnEnv
36
- } from "./chunk-SGVT4QFB.mjs";
42
+ } from "./chunk-XMGMMEZI.mjs";
37
43
  import {
38
44
  registerWatcherSubscriber,
39
45
  subscribeBuildProgress
@@ -97,19 +103,6 @@ var fromWebSocket = (ws, proto) => Effect_exports.gen(function* () {
97
103
  return { send, messages, close };
98
104
  });
99
105
 
100
- // packages/shared/utils/src/platform.ts
101
- var isMac = process.platform === "darwin";
102
- var isWindows = process.platform === "win32";
103
- var isLinux = process.platform === "linux";
104
- function getDefaultShell() {
105
- if (isWindows) return process.env.COMSPEC || "powershell.exe";
106
- return process.env.SHELL || "/bin/sh";
107
- }
108
- function getDefaultPath() {
109
- if (isWindows) return process.env.PATH || "";
110
- return process.env.PATH || "/usr/local/bin:/usr/bin:/bin";
111
- }
112
-
113
106
  // src/lib/effect/globalStateHandler.ts
114
107
  var HEARTBEAT_INTERVAL = Schedule_exports.spaced("30 seconds");
115
108
  var sendGlobalState = (conn) => Effect_exports.gen(function* () {
@@ -209,6 +202,14 @@ function resolveGitDir(cwd) {
209
202
  }
210
203
  return dotGit;
211
204
  }
205
+ function resolveCommonDir(gitDir) {
206
+ try {
207
+ const rel = readFileSync(join(gitDir, "commondir"), "utf-8").trim();
208
+ if (rel) return resolve(gitDir, rel);
209
+ } catch {
210
+ }
211
+ return gitDir;
212
+ }
212
213
  var FileWatcherManager = class {
213
214
  constructor() {
214
215
  this.watchers = /* @__PURE__ */ new Map();
@@ -332,10 +333,11 @@ var FileWatcherManager = class {
332
333
  const filename = gitFile.replace(".git/", "");
333
334
  watchGitFile(join(gitDir, filename));
334
335
  }
336
+ const commonDir = resolveCommonDir(gitDir);
335
337
  for (const gitDirName of GIT_WATCH_DIRS) {
336
338
  const dirName = gitDirName.replace(".git/", "");
337
339
  try {
338
- const w = watch2(join(gitDir, dirName), { recursive: true }, () => {
340
+ const w = watch2(join(commonDir, dirName), { recursive: true }, () => {
339
341
  pushEvent({ type: "git" });
340
342
  });
341
343
  w.on("error", () => {
@@ -676,8 +678,7 @@ var runBrowserHandler = (ws, fullId, projectCwd, tabId) => {
676
678
  };
677
679
 
678
680
  // src/lib/effect/terminalHandler.ts
679
- import { spawn as spawn2, execSync as execSync2 } from "child_process";
680
- import * as nodePty from "node-pty";
681
+ import { execSync as execSync2 } from "child_process";
681
682
 
682
683
  // src/lib/shell.ts
683
684
  import { existsSync as existsSync3 } from "fs";
@@ -751,6 +752,10 @@ function killProcessTree(child) {
751
752
 
752
753
  // src/lib/effect/terminalHandler.ts
753
754
  var HEARTBEAT4 = Schedule_exports.spaced("30 seconds");
755
+ function errorMessage(e) {
756
+ const cause = e.error ?? e;
757
+ return cause instanceof Error ? cause.message : String(cause);
758
+ }
754
759
  var OPEN_PREFERRED_SHELL_COMMAND = "__cockpit_open_preferred_shell__";
755
760
  function commandPath(command) {
756
761
  try {
@@ -992,48 +997,70 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
992
997
  COCKPIT_PORT: process.env.COCKPIT_PORT,
993
998
  ...env
994
999
  };
1000
+ const definedEnv = {};
1001
+ for (const [k, v] of Object.entries(childEnv)) {
1002
+ if (v !== void 0) definedEnv[k] = v;
1003
+ }
995
1004
  try {
996
1005
  if (usePty) {
997
- const ptyEnv = {};
998
- for (const [k, v] of Object.entries(childEnv)) {
999
- if (v !== void 0) ptyEnv[k] = v;
1000
- }
1001
1006
  const ptyTarget = command === OPEN_PREFERRED_SHELL_COMMAND ? resolvePreferredPtyShell(cwd) : { file: resolveCommandShell(), args: ["--login", "-c", command], cwd, name: command };
1002
- const ptyProcess = nodePty.spawn(
1003
- ptyTarget.file,
1004
- ptyTarget.args,
1005
- {
1006
- name: "xterm-256color",
1007
- cols: cols || 120,
1008
- rows: rows || 30,
1009
- cwd: ptyTarget.cwd,
1010
- env: ptyEnv
1011
- }
1012
- );
1013
- registerCommand({
1007
+ const timestamp = (/* @__PURE__ */ new Date()).toISOString();
1008
+ const meta = {
1014
1009
  commandId,
1015
1010
  command: ptyTarget.name,
1016
1011
  cwd,
1017
1012
  projectCwd,
1018
1013
  tabId,
1019
- pid: ptyProcess.pid,
1020
- ptyProcess,
1021
- usePty: true,
1022
- timestamp: (/* @__PURE__ */ new Date()).toISOString(),
1023
- sourceId
1024
- });
1025
- Effect_exports.runFork(send({ type: "pid", commandId, pid: ptyProcess.pid, command: ptyTarget.name }));
1014
+ timestamp,
1015
+ ...sourceId ? { sourceId } : {}
1016
+ };
1026
1017
  Effect_exports.runFork(
1027
- attachPtyListeners(registry, send, commandId, ptyProcess)
1018
+ Effect_exports.tryPromise(
1019
+ () => spawnPtyInHost({
1020
+ id: commandId,
1021
+ file: ptyTarget.file,
1022
+ args: ptyTarget.args,
1023
+ cwd: ptyTarget.cwd,
1024
+ env: definedEnv,
1025
+ cols: cols || 120,
1026
+ rows: rows || 30,
1027
+ meta
1028
+ })
1029
+ ).pipe(
1030
+ Effect_exports.flatMap(
1031
+ (ptyProcess) => Effect_exports.sync(() => {
1032
+ registerCommand({ ...meta, pid: ptyProcess.pid, ptyProcess, usePty: true });
1033
+ Effect_exports.runFork(send({ type: "pid", commandId, pid: ptyProcess.pid, command: ptyTarget.name }));
1034
+ Effect_exports.runFork(
1035
+ attachPtyListeners(registry, send, commandId, ptyProcess)
1036
+ );
1037
+ })
1038
+ ),
1039
+ Effect_exports.catchAll(
1040
+ (e) => send({ type: "error", commandId, error: errorMessage(e) }).pipe(
1041
+ Effect_exports.catchAll(() => Effect_exports.void)
1042
+ )
1043
+ )
1044
+ )
1028
1045
  );
1029
1046
  } else {
1030
- const child = spawn2(resolveCommandShell(), ["--login", "-c", command], {
1047
+ const shell = resolveCommandShell();
1048
+ const meta = {
1049
+ commandId,
1050
+ command,
1031
1051
  cwd,
1032
- env: childEnv,
1033
- stdio: ["pipe", "pipe", "pipe"],
1034
- detached: true
1035
- });
1036
- if (child.pid) {
1052
+ projectCwd,
1053
+ tabId,
1054
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
1055
+ ...sourceId ? { sourceId } : {}
1056
+ };
1057
+ const register = (child) => {
1058
+ if (!child.pid) {
1059
+ Effect_exports.runFork(
1060
+ send({ type: "error", commandId, error: "Failed to spawn process" })
1061
+ );
1062
+ return;
1063
+ }
1037
1064
  registerCommand({
1038
1065
  commandId,
1039
1066
  command,
@@ -1042,18 +1069,33 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
1042
1069
  tabId,
1043
1070
  pid: child.pid,
1044
1071
  process: child,
1045
- timestamp: (/* @__PURE__ */ new Date()).toISOString(),
1072
+ timestamp: meta.timestamp,
1046
1073
  sourceId
1047
1074
  });
1048
1075
  Effect_exports.runFork(send({ type: "pid", commandId, pid: child.pid, command }));
1049
1076
  Effect_exports.runFork(
1050
1077
  attachPipeListeners(registry, send, commandId, child)
1051
1078
  );
1052
- } else {
1053
- Effect_exports.runFork(
1054
- send({ type: "error", commandId, error: "Failed to spawn process" })
1055
- );
1056
- }
1079
+ };
1080
+ Effect_exports.runFork(
1081
+ Effect_exports.tryPromise(
1082
+ () => spawnPipeInHost({
1083
+ id: commandId,
1084
+ file: shell,
1085
+ args: ["--login", "-c", command],
1086
+ cwd,
1087
+ env: definedEnv,
1088
+ meta
1089
+ })
1090
+ ).pipe(
1091
+ Effect_exports.flatMap((child) => Effect_exports.sync(() => register(child))),
1092
+ Effect_exports.catchAll(
1093
+ (e) => send({ type: "error", commandId, error: errorMessage(e) }).pipe(
1094
+ Effect_exports.catchAll(() => Effect_exports.void)
1095
+ )
1096
+ )
1097
+ )
1098
+ );
1057
1099
  }
1058
1100
  } catch (e) {
1059
1101
  Effect_exports.runFork(
@@ -1131,19 +1173,26 @@ var dispatchMessage = (msg, projectCwd, registry, send) => Effect_exports.sync((
1131
1173
  }
1132
1174
  }
1133
1175
  } else if (type === "running") {
1134
- const commands = getRunningCommands(projectCwd);
1135
- if (commands.length === 0) {
1136
- const size = getRegistrySize();
1137
- const cwds = getAllProjectCwds();
1138
- Effect_exports.runFork(
1139
- Effect_exports.logWarning("[ws/terminal] running query: 0 commands").pipe(
1140
- Effect_exports.annotateLogs("projectCwd", projectCwd),
1141
- Effect_exports.annotateLogs("registryTotal", size),
1142
- Effect_exports.annotateLogs("cwds", cwds)
1143
- )
1144
- );
1145
- }
1146
- Effect_exports.runFork(send({ type: "running", commands }));
1176
+ Effect_exports.runFork(
1177
+ Effect_exports.promise(adoptPtyHostSessions).pipe(
1178
+ Effect_exports.andThen(() => {
1179
+ const commands = getRunningCommands(projectCwd);
1180
+ if (commands.length === 0) {
1181
+ const size = getRegistrySize();
1182
+ const cwds = getAllProjectCwds();
1183
+ Effect_exports.runFork(
1184
+ Effect_exports.logWarning("[ws/terminal] running query: 0 commands").pipe(
1185
+ Effect_exports.annotateLogs("projectCwd", projectCwd),
1186
+ Effect_exports.annotateLogs("registryTotal", size),
1187
+ Effect_exports.annotateLogs("cwds", cwds)
1188
+ )
1189
+ );
1190
+ }
1191
+ return send({ type: "running", commands });
1192
+ }),
1193
+ Effect_exports.catchAll(() => Effect_exports.void)
1194
+ )
1195
+ );
1147
1196
  }
1148
1197
  });
1149
1198
  var handleTerminal = (conn, projectCwd) => Effect_exports.gen(function* () {
@@ -1197,7 +1246,7 @@ var runTerminalHandler = (ws, projectCwd) => {
1197
1246
  };
1198
1247
 
1199
1248
  // src/lib/effect/bashStreamHandler.ts
1200
- import { spawn as spawn4 } from "child_process";
1249
+ import { spawn as spawn2 } from "child_process";
1201
1250
  var HEARTBEAT5 = Schedule_exports.spaced("30 seconds");
1202
1251
  function killChild(child) {
1203
1252
  killProcessTree(child);
@@ -1243,7 +1292,7 @@ var handleBash = (conn, defaultCwd) => Effect_exports.gen(function* () {
1243
1292
  }
1244
1293
  let child;
1245
1294
  try {
1246
- child = spawn4(shell, ["--login", "-c", command], {
1295
+ child = spawn2(shell, ["--login", "-c", command], {
1247
1296
  cwd,
1248
1297
  env: sanitizedSpawnEnv({ FORCE_COLOR: "0" }),
1249
1298
  stdio: ["ignore", "pipe", "pipe"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surething/cockpit",
3
- "version": "1.0.277",
3
+ "version": "1.0.279",
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",
@@ -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.278",
107
+ "@anthropic-ai/claude-agent-sdk": "0.3.283",
108
108
  "@dagrejs/dagre": "^3.0.0",
109
- "@openai/codex": "0.155.1",
109
+ "@openai/codex": "0.158.0",
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/server.mjs CHANGED
@@ -99,6 +99,11 @@ async function ensureSingleInstance() {
99
99
  // `npm run dev` (Next detects "a dev server is already running" via
100
100
  // .next/dev/logs and refuses to start). So the parent must explicitly
101
101
  // kill all direct children before exiting.
102
+ //
103
+ // Terminal-bubble commands (PTY and pipe) are out of reach of this on
104
+ // purpose: they live in the pty-host (bin/pty-host.mjs), which is launched
105
+ // through a short-lived intermediate and so is never our child. That is what lets them survive
106
+ // an update or restart; only `cockpit stop` (/api/shutdown) ends them.
102
107
  // ============================================
103
108
  // Assigned once the server-side bundle is loaded (see app.prepare below). Lets the
104
109
  // synchronous exit hook flush live PTY scrollback to disk so a graceful restart
@@ -276,6 +281,13 @@ app.prepare().then(async () => {
276
281
  const httpApi = await import(dev ? './src/lib/httpApi.ts' : './dist/httpApi.mjs');
277
282
  const { handleBrowserApi, handleTerminalApi, handleConnectionApi } = httpApi;
278
283
  flushRunningSync = httpApi.flushAllRunningSync || null;
284
+ // Reconnect to the pty-host now rather than on the first page load, so
285
+ // terminals that survived the restart are back in the registry (and their
286
+ // `cockpit terminal` short ids resolve) as soon as we serve anything.
287
+ httpApi.adoptPtyHostSessions?.().catch(() => {});
288
+ // Reclaim terminal output files no history entry references (waits for the
289
+ // adoption above internally). Off the boot path — nothing waits on it.
290
+ httpApi.sweepOrphanTerminalOutputs?.().catch(() => {});
279
291
  const { scheduledTaskManager } = await import(dev ? '@cockpit/feature-agent/server/scheduledTasks' : './dist/scheduledTasks.mjs');
280
292
 
281
293
  // Initialize the scheduled-task manager
@@ -15,9 +15,9 @@ end of the message under "pass the path along; do not open them yourself" — th
15
15
  reason you have those paths. The child reads them and works from them; keeping them out of this
16
16
  session is the point.
17
17
 
18
- ## `[main session·@name]` is the opposite instruction
18
+ ## `[main·@name]` is the opposite instruction
19
19
 
20
- A line tagged `[main session·@name]` (`[主会话·@name]`) means that Bot's directory **is this
20
+ A line tagged `[main·@name]` means that Bot's directory **is this
21
21
  session's own working directory**. There is nothing to delegate — you are already sitting in the
22
22
  files a child would have been started to reach. Read the `bot-turn` path, then that Bot's
23
23
  `BOT.md` — both are in the "read these skill files first" list rather than the handoff list,
@@ -25,7 +25,7 @@ because you are their reader this time — and do the task yourself, in the voic
25
25
  define. Nothing else in this file applies to such a line: no brief, no delegate call, no polling.
26
26
 
27
27
  A message may carry both tags. When it does, the order matters: **POST every `[subagent·@name]`
28
- brief first, then do your own `[main session·@name]` work, then poll.** The children run while you
28
+ brief first, then do your own `[main·@name]` work, then poll.** The children run while you
29
29
  work; doing your own part first only makes them start late. In that message `bot-turn` is listed
30
30
  in both blocks on purpose — you read it for your own line and hand the same path over for theirs.
31
31
 
@@ -36,7 +36,7 @@ table before you act, not after**:
36
36
 
37
37
  | Open | When | Why it is not here |
38
38
  |---|---|---|
39
- | `{{COCKPIT_DIR}}/skills/bot-run/wait.md` | **The moment a delegate POST has returned** — before any status call | The poll loop, the budget rule, and what each status means. Every delegation needs it and no `[main session·@name]` line does, so it stays one read away rather than in front of a session that never delegates |
39
+ | `{{COCKPIT_DIR}}/skills/bot-run/wait.md` | **The moment a delegate POST has returned** — before any status call | The poll loop, the budget rule, and what each status means. Every delegation needs it and no `[main·@name]` line does, so it stays one read away rather than in front of a session that never delegates |
40
40
  | `{{COCKPIT_DIR}}/skills/bot-run/followup.md` | The Bot asked something back, or the user answers your report | Continuing a session that already exists. Usually a later turn, and the turn that delegates does not need it in hand |
41
41
 
42
42
  **Never poll from memory of how this works.** If a POST has returned and you have not opened
@@ -132,7 +132,7 @@ answer lives in that session — do not paste it wholesale, and do not restate i
132
132
  repeat the status call with `--data-urlencode "full=1"`. Use the receipt's `link` exactly as
133
133
  returned — it is the only record of the delegation, and tool output is not searchable later.
134
134
 
135
- **A `[main session·@name]` line has no link**, because it happened here. Give it its own section
135
+ **A `[main·@name]` line has no link**, because it happened here. Give it its own section
136
136
  alongside the delegated ones and close it the way `bot-turn` §2 requires — the answer, then the
137
137
  list of Bot files you read and changed. That list is the only record of what the answer stood on,
138
138
  and this is the one line in the message that may have edited those files directly.
@@ -143,7 +143,7 @@ the child saved it to — the user answers either in that session or by naming t
143
143
  one, and dropping either detail strands the work.
144
144
 
145
145
  Pressing stop here does not stop a delegated session — it is a separate run. Say so if the user
146
- expects otherwise. A `[main session·@name]` line is the exception: it runs in this session, so
146
+ expects otherwise. A `[main·@name]` line is the exception: it runs in this session, so
147
147
  stop really does stop it.
148
148
 
149
149
  When the user answers your report — a correction, a pick from a numbered list, an answer to a
@@ -33,6 +33,6 @@ out, what the user already answered — is in *that* transcript, and a summary o
33
33
  thing. It has happened: a dispatcher decided Cockpit had no way to continue a session, re-delegated
34
34
  with a paragraph of context, and paid for the whole task twice.
35
35
 
36
- **A `[main session·@name]` line is not this case.** It ran here, in this transcript, so its
36
+ **A `[main·@name]` line is not this case.** It ran here, in this transcript, so its
37
37
  follow-up is simply the next thing you do — no curl, no session id. Answering it through this
38
38
  endpoint would start a second, parallel turn on a session that is already yours.
@@ -1,7 +1,7 @@
1
1
  # Waiting for a delegated session
2
2
 
3
3
  Opened from `bot-run` the moment a delegate POST has returned. Everything here is about sessions
4
- you started; a `[main session·@name]` line has no session to wait for.
4
+ you started; a `[main·@name]` line has no session to wait for.
5
5
 
6
6
  A Bot turn routinely outlasts a single bash call's tool timeout — a working-tree code review
7
7
  measured 11 minutes against a 10-minute ceiling — so the wait has to survive that. Two ways, in