@surething/cockpit 1.0.253 → 1.0.255

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 (640) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +6 -3
  3. package/.next-prod/build-manifest.json +2 -2
  4. package/.next-prod/prerender-manifest.json +3 -3
  5. package/.next-prod/routes-manifest.json +18 -0
  6. package/.next-prod/server/app/_global-error/page.js +3 -3
  7. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
  8. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  9. package/.next-prod/server/app/_global-error.html +1 -1
  10. package/.next-prod/server/app/_global-error.rsc +1 -1
  11. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_head.segment.rsc +1 -1
  15. package/.next-prod/server/app/_global-error.segments/_index.segment.rsc +1 -1
  16. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  17. package/.next-prod/server/app/_not-found/page.js +2 -2
  18. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
  19. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/.next-prod/server/app/_not-found.html +2 -2
  21. package/.next-prod/server/app/_not-found.rsc +3 -3
  22. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
  23. package/.next-prod/server/app/_not-found.segments/_head.segment.rsc +1 -1
  24. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
  25. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  26. package/.next-prod/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  27. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  28. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  29. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
  30. package/.next-prod/server/app/api/bash/route.js +1 -1
  31. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  32. package/.next-prod/server/app/api/chat/codex/route.js +2 -2
  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/kimi/route.js +2 -2
  37. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  38. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  39. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  40. package/.next-prod/server/app/api/chat/pty-input/route.js +1 -1
  41. package/.next-prod/server/app/api/chat/pty-input/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 +1 -1
  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 +2 -2
  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 -0
  65. package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -0
  66. package/.next-prod/server/app/api/deepseek/balance/route_client-reference-manifest.js +1 -0
  67. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  68. package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
  69. package/.next-prod/server/app/api/deepseek/models/route.js +1 -0
  70. package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -0
  71. package/.next-prod/server/app/api/deepseek/models/route_client-reference-manifest.js +1 -0
  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/branch-diff/route.js +1 -1
  109. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  110. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  111. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  112. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  113. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  114. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  115. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  116. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  117. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  118. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  119. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  120. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  121. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  122. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  123. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  124. package/.next-prod/server/app/api/git/status/route.js +1 -1
  125. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  126. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  127. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  128. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  129. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  130. package/.next-prod/server/app/api/global-state/route.js +1 -1
  131. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  132. package/.next-prod/server/app/api/health/route.js +1 -1
  133. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  134. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  135. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  136. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  137. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  138. package/.next-prod/server/app/api/jupyter/load/route.js +1 -1
  139. package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -1
  140. package/.next-prod/server/app/api/jupyter/save/route.js +1 -1
  141. package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -1
  142. package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -1
  143. package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -1
  144. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  145. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  146. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  147. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  148. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  149. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  150. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  151. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  152. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  153. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  154. package/.next-prod/server/app/api/mysql/columns/route.js +1 -1
  155. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  156. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  157. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  158. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  159. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  160. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  161. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  162. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  163. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  164. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  165. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  166. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  167. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  168. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  169. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  170. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  171. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  172. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  173. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  174. package/.next-prod/server/app/api/note/route.js +1 -1
  175. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  176. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  177. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  178. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  179. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  180. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  181. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  182. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  183. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  184. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  185. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  186. package/.next-prod/server/app/api/pick-folder/route.js +1 -1
  187. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
  188. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  189. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  190. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  191. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  192. package/.next-prod/server/app/api/project-state/route.js +1 -1
  193. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  194. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  195. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  196. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  197. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  198. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  199. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  200. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  201. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  202. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  203. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  204. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  205. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  206. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  207. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  208. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  209. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  210. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  211. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  212. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  213. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  214. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  215. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  216. package/.next-prod/server/app/api/projects/route.js +1 -1
  217. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  218. package/.next-prod/server/app/api/prompts/config/route.js +1 -0
  219. package/.next-prod/server/app/api/prompts/config/route.js.nft.json +1 -0
  220. package/.next-prod/server/app/api/prompts/config/route_client-reference-manifest.js +1 -0
  221. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  222. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  223. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  224. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  225. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  226. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  227. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  228. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  229. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  230. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  231. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  232. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  233. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  234. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  235. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  236. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  237. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  238. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  239. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  240. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  241. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  242. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  243. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  244. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  245. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  246. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  247. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  248. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  249. package/.next-prod/server/app/api/review/order/route.js +1 -1
  250. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  251. package/.next-prod/server/app/api/review/route.js +1 -1
  252. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  253. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  254. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  255. package/.next-prod/server/app/api/review/users/route.js +1 -1
  256. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  257. package/.next-prod/server/app/api/scheduled-tasks/route.js +4 -3
  258. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  259. package/.next-prod/server/app/api/services/config/route.js +1 -1
  260. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  261. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  262. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  263. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  264. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  265. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  266. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  267. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  268. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  269. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  270. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  271. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  272. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  273. package/.next-prod/server/app/api/sessions/route.js +1 -1
  274. package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
  275. package/.next-prod/server/app/api/settings/route.js +1 -1
  276. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  277. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  278. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  279. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  280. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  281. package/.next-prod/server/app/api/skills/route.js +1 -1
  282. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  283. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  284. package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
  285. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  286. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  287. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  288. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  289. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  290. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  291. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  292. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  293. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  294. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  295. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  296. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  297. package/.next-prod/server/app/api/version/route.js +1 -1
  298. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  299. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  300. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  301. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  302. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  303. package/.next-prod/server/app/m/page.js +2 -2
  304. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  305. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  306. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  307. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  308. package/.next-prod/server/app/page.js +2 -2
  309. package/.next-prod/server/app/page.js.nft.json +1 -1
  310. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  311. package/.next-prod/server/app/project/page.js +2 -2
  312. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  313. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  314. package/.next-prod/server/app/review/[id]/page.js +2 -2
  315. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  316. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  317. package/.next-prod/server/app-paths-manifest.json +6 -3
  318. package/.next-prod/server/chunks/304.js +1 -1
  319. package/.next-prod/server/chunks/3863.js +2 -2
  320. package/.next-prod/server/chunks/{4848.js → 4338.js} +2 -2
  321. package/.next-prod/server/chunks/6548.js +1 -0
  322. package/.next-prod/server/chunks/{293.js → 7139.js} +4 -4
  323. package/.next-prod/server/chunks/9419.js +91 -0
  324. package/.next-prod/server/chunks/9658.js +12 -12
  325. package/.next-prod/server/chunks/9830.js +1 -1
  326. package/.next-prod/server/functions-config-manifest.json +1 -0
  327. package/.next-prod/server/middleware-build-manifest.js +1 -1
  328. package/.next-prod/server/pages/404.html +2 -2
  329. package/.next-prod/server/pages/500.html +1 -1
  330. package/.next-prod/server/server-reference-manifest.json +1 -1
  331. package/.next-prod/static/JD1OQjo1JkC0HtJ7Nawnu/_buildManifest.js +1 -0
  332. package/.next-prod/static/chunks/{4304-408f5bddd7583676.js → 2308-c6b5ed3c19252dce.js} +3 -3
  333. package/.next-prod/static/chunks/6260-d083071702689ed3.js +25 -0
  334. package/.next-prod/static/chunks/6784-11dddca80af27810.js +0 -0
  335. package/.next-prod/static/chunks/9530-71cba64daec9add7.js +15 -0
  336. package/.next-prod/static/chunks/app/_global-error/{page-51252a3b116b8135.js → page-0ad1f48c09ff2c02.js} +1 -1
  337. package/.next-prod/static/chunks/app/api/agent/test/{route-51252a3b116b8135.js → route-0ad1f48c09ff2c02.js} +1 -1
  338. package/.next-prod/static/chunks/app/api/bash/{route-51252a3b116b8135.js → route-0ad1f48c09ff2c02.js} +1 -1
  339. package/.next-prod/static/chunks/app/api/chat/codex/{route-51252a3b116b8135.js → route-0ad1f48c09ff2c02.js} +1 -1
  340. package/.next-prod/static/chunks/app/api/chat/deepseek/route-0ad1f48c09ff2c02.js +1 -0
  341. package/.next-prod/static/chunks/app/api/chat/kimi/route-0ad1f48c09ff2c02.js +1 -0
  342. package/.next-prod/static/chunks/app/api/chat/ollama/route-0ad1f48c09ff2c02.js +1 -0
  343. package/.next-prod/static/chunks/app/api/chat/pty-input/route-0ad1f48c09ff2c02.js +1 -0
  344. package/.next-prod/static/chunks/app/api/chat/route-0ad1f48c09ff2c02.js +1 -0
  345. package/.next-prod/static/chunks/app/api/chat/stop/route-0ad1f48c09ff2c02.js +1 -0
  346. package/.next-prod/static/chunks/app/api/claude-stats/route-0ad1f48c09ff2c02.js +1 -0
  347. package/.next-prod/static/chunks/app/api/commands/route-0ad1f48c09ff2c02.js +1 -0
  348. package/.next-prod/static/chunks/app/api/comments/route-0ad1f48c09ff2c02.js +1 -0
  349. package/.next-prod/static/chunks/app/api/db/columns/route-0ad1f48c09ff2c02.js +1 -0
  350. package/.next-prod/static/chunks/app/api/db/connect/route-0ad1f48c09ff2c02.js +1 -0
  351. package/.next-prod/static/chunks/app/api/db/disconnect/route-0ad1f48c09ff2c02.js +1 -0
  352. package/.next-prod/static/chunks/app/api/db/export/route-0ad1f48c09ff2c02.js +1 -0
  353. package/.next-prod/static/chunks/app/api/db/query/route-0ad1f48c09ff2c02.js +1 -0
  354. package/.next-prod/static/chunks/app/api/db/schemas/route-0ad1f48c09ff2c02.js +1 -0
  355. package/.next-prod/static/chunks/app/api/deepseek/balance/route-0ad1f48c09ff2c02.js +1 -0
  356. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-0ad1f48c09ff2c02.js +1 -0
  357. package/.next-prod/static/chunks/app/api/deepseek/models/route-0ad1f48c09ff2c02.js +1 -0
  358. package/.next-prod/static/chunks/app/api/dev/spans/route-0ad1f48c09ff2c02.js +1 -0
  359. package/.next-prod/static/chunks/app/api/extension/version/route-0ad1f48c09ff2c02.js +1 -0
  360. package/.next-prod/static/chunks/app/api/file/route-0ad1f48c09ff2c02.js +1 -0
  361. package/.next-prod/static/chunks/app/api/files/blame/route-0ad1f48c09ff2c02.js +1 -0
  362. package/.next-prod/static/chunks/app/api/files/clipboard/route-0ad1f48c09ff2c02.js +1 -0
  363. package/.next-prod/static/chunks/app/api/files/copy/route-0ad1f48c09ff2c02.js +1 -0
  364. package/.next-prod/static/chunks/app/api/files/delete/route-0ad1f48c09ff2c02.js +1 -0
  365. package/.next-prod/static/chunks/app/api/files/expanded/route-0ad1f48c09ff2c02.js +1 -0
  366. package/.next-prod/static/chunks/app/api/files/index/route-0ad1f48c09ff2c02.js +1 -0
  367. package/.next-prod/static/chunks/app/api/files/init/route-0ad1f48c09ff2c02.js +1 -0
  368. package/.next-prod/static/chunks/app/api/files/paste/route-0ad1f48c09ff2c02.js +1 -0
  369. package/.next-prod/static/chunks/app/api/files/read/route-0ad1f48c09ff2c02.js +1 -0
  370. package/.next-prod/static/chunks/app/api/files/readdir/route-0ad1f48c09ff2c02.js +1 -0
  371. package/.next-prod/static/chunks/app/api/files/recent/route-0ad1f48c09ff2c02.js +1 -0
  372. package/.next-prod/static/chunks/app/api/files/save/route-0ad1f48c09ff2c02.js +1 -0
  373. package/.next-prod/static/chunks/app/api/files/search/route-0ad1f48c09ff2c02.js +1 -0
  374. package/.next-prod/static/chunks/app/api/files/stat/route-0ad1f48c09ff2c02.js +1 -0
  375. package/.next-prod/static/chunks/app/api/files/text/route-0ad1f48c09ff2c02.js +1 -0
  376. package/.next-prod/static/chunks/app/api/git/branch-diff/route-0ad1f48c09ff2c02.js +1 -0
  377. package/.next-prod/static/chunks/app/api/git/branches/route-0ad1f48c09ff2c02.js +1 -0
  378. package/.next-prod/static/chunks/app/api/git/commit-diff/route-0ad1f48c09ff2c02.js +1 -0
  379. package/.next-prod/static/chunks/app/api/git/commits/route-0ad1f48c09ff2c02.js +1 -0
  380. package/.next-prod/static/chunks/app/api/git/current-branch/route-0ad1f48c09ff2c02.js +1 -0
  381. package/.next-prod/static/chunks/app/api/git/diff/route-0ad1f48c09ff2c02.js +1 -0
  382. package/.next-prod/static/chunks/app/api/git/discard/route-0ad1f48c09ff2c02.js +1 -0
  383. package/.next-prod/static/chunks/app/api/git/stage/route-0ad1f48c09ff2c02.js +1 -0
  384. package/.next-prod/static/chunks/app/api/git/status/route-0ad1f48c09ff2c02.js +1 -0
  385. package/.next-prod/static/chunks/app/api/git/unstage/route-0ad1f48c09ff2c02.js +1 -0
  386. package/.next-prod/static/chunks/app/api/git/worktree/route-0ad1f48c09ff2c02.js +1 -0
  387. package/.next-prod/static/chunks/app/api/global-state/route-0ad1f48c09ff2c02.js +1 -0
  388. package/.next-prod/static/chunks/app/api/health/route-0ad1f48c09ff2c02.js +1 -0
  389. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-0ad1f48c09ff2c02.js +1 -0
  390. package/.next-prod/static/chunks/app/api/html-apps/route-0ad1f48c09ff2c02.js +1 -0
  391. package/.next-prod/static/chunks/app/api/jupyter/load/route-0ad1f48c09ff2c02.js +1 -0
  392. package/.next-prod/static/chunks/app/api/jupyter/save/route-0ad1f48c09ff2c02.js +1 -0
  393. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-0ad1f48c09ff2c02.js +1 -0
  394. package/.next-prod/static/chunks/app/api/lsp/definition/route-0ad1f48c09ff2c02.js +1 -0
  395. package/.next-prod/static/chunks/app/api/lsp/hover/route-0ad1f48c09ff2c02.js +1 -0
  396. package/.next-prod/static/chunks/app/api/lsp/references/route-0ad1f48c09ff2c02.js +1 -0
  397. package/.next-prod/static/chunks/app/api/lsp/status/route-0ad1f48c09ff2c02.js +1 -0
  398. package/.next-prod/static/chunks/app/api/lsp/warmup/route-0ad1f48c09ff2c02.js +1 -0
  399. package/.next-prod/static/chunks/app/api/mysql/columns/route-0ad1f48c09ff2c02.js +1 -0
  400. package/.next-prod/static/chunks/app/api/mysql/connect/route-0ad1f48c09ff2c02.js +1 -0
  401. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-0ad1f48c09ff2c02.js +1 -0
  402. package/.next-prod/static/chunks/app/api/mysql/export/route-0ad1f48c09ff2c02.js +1 -0
  403. package/.next-prod/static/chunks/app/api/mysql/query/route-0ad1f48c09ff2c02.js +1 -0
  404. package/.next-prod/static/chunks/app/api/mysql/schemas/route-0ad1f48c09ff2c02.js +1 -0
  405. package/.next-prod/static/chunks/app/api/neo4j/connect/route-0ad1f48c09ff2c02.js +1 -0
  406. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-0ad1f48c09ff2c02.js +1 -0
  407. package/.next-prod/static/chunks/app/api/neo4j/query/route-0ad1f48c09ff2c02.js +1 -0
  408. package/.next-prod/static/chunks/app/api/neo4j/schema/route-0ad1f48c09ff2c02.js +1 -0
  409. package/.next-prod/static/chunks/app/api/note/route-0ad1f48c09ff2c02.js +1 -0
  410. package/.next-prod/static/chunks/app/api/ollama/config/route-0ad1f48c09ff2c02.js +1 -0
  411. package/.next-prod/static/chunks/app/api/ollama/models/route-0ad1f48c09ff2c02.js +1 -0
  412. package/.next-prod/static/chunks/app/api/ollama/start/route-0ad1f48c09ff2c02.js +1 -0
  413. package/.next-prod/static/chunks/app/api/open-cursor/route-0ad1f48c09ff2c02.js +1 -0
  414. package/.next-prod/static/chunks/app/api/open-vscode/route-0ad1f48c09ff2c02.js +1 -0
  415. package/.next-prod/static/chunks/app/api/pick-folder/route-0ad1f48c09ff2c02.js +1 -0
  416. package/.next-prod/static/chunks/app/api/pinned-sessions/route-0ad1f48c09ff2c02.js +1 -0
  417. package/.next-prod/static/chunks/app/api/project-settings/route-0ad1f48c09ff2c02.js +1 -0
  418. package/.next-prod/static/chunks/app/api/project-state/route-0ad1f48c09ff2c02.js +1 -0
  419. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-0ad1f48c09ff2c02.js +1 -0
  420. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-0ad1f48c09ff2c02.js +1 -0
  421. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-0ad1f48c09ff2c02.js +1 -0
  422. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-0ad1f48c09ff2c02.js +1 -0
  423. package/.next-prod/static/chunks/app/api/projectGraph/context/route-0ad1f48c09ff2c02.js +1 -0
  424. package/.next-prod/static/chunks/app/api/projectGraph/file/route-0ad1f48c09ff2c02.js +1 -0
  425. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-0ad1f48c09ff2c02.js +1 -0
  426. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-0ad1f48c09ff2c02.js +1 -0
  427. package/.next-prod/static/chunks/app/api/projectGraph/related/route-0ad1f48c09ff2c02.js +1 -0
  428. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-0ad1f48c09ff2c02.js +1 -0
  429. package/.next-prod/static/chunks/app/api/projectGraph/search/route-0ad1f48c09ff2c02.js +1 -0
  430. package/.next-prod/static/chunks/app/api/projects/route-0ad1f48c09ff2c02.js +1 -0
  431. package/.next-prod/static/chunks/app/api/prompts/config/route-0ad1f48c09ff2c02.js +1 -0
  432. package/.next-prod/static/chunks/app/api/push/public-key/route-0ad1f48c09ff2c02.js +1 -0
  433. package/.next-prod/static/chunks/app/api/push/subscribe/route-0ad1f48c09ff2c02.js +1 -0
  434. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-0ad1f48c09ff2c02.js +1 -0
  435. package/.next-prod/static/chunks/app/api/redis/command/route-0ad1f48c09ff2c02.js +1 -0
  436. package/.next-prod/static/chunks/app/api/redis/connect/route-0ad1f48c09ff2c02.js +1 -0
  437. package/.next-prod/static/chunks/app/api/redis/delete/route-0ad1f48c09ff2c02.js +1 -0
  438. package/.next-prod/static/chunks/app/api/redis/disconnect/route-0ad1f48c09ff2c02.js +1 -0
  439. package/.next-prod/static/chunks/app/api/redis/get/route-0ad1f48c09ff2c02.js +1 -0
  440. package/.next-prod/static/chunks/app/api/redis/keys/route-0ad1f48c09ff2c02.js +1 -0
  441. package/.next-prod/static/chunks/app/api/redis/set/route-0ad1f48c09ff2c02.js +1 -0
  442. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-0ad1f48c09ff2c02.js +1 -0
  443. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-0ad1f48c09ff2c02.js +1 -0
  444. package/.next-prod/static/chunks/app/api/review/[id]/route-0ad1f48c09ff2c02.js +1 -0
  445. package/.next-prod/static/chunks/app/api/review/identify/route-0ad1f48c09ff2c02.js +1 -0
  446. package/.next-prod/static/chunks/app/api/review/order/route-0ad1f48c09ff2c02.js +1 -0
  447. package/.next-prod/static/chunks/app/api/review/route-0ad1f48c09ff2c02.js +1 -0
  448. package/.next-prod/static/chunks/app/api/review/share-info/route-0ad1f48c09ff2c02.js +1 -0
  449. package/.next-prod/static/chunks/app/api/review/users/route-0ad1f48c09ff2c02.js +1 -0
  450. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-0ad1f48c09ff2c02.js +1 -0
  451. package/.next-prod/static/chunks/app/api/services/config/route-0ad1f48c09ff2c02.js +1 -0
  452. package/.next-prod/static/chunks/app/api/services/scripts/route-0ad1f48c09ff2c02.js +1 -0
  453. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-0ad1f48c09ff2c02.js +1 -0
  454. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-0ad1f48c09ff2c02.js +1 -0
  455. package/.next-prod/static/chunks/app/api/session-by-path/route-0ad1f48c09ff2c02.js +1 -0
  456. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-0ad1f48c09ff2c02.js +1 -0
  457. package/.next-prod/static/chunks/app/api/sessions/projects/route-0ad1f48c09ff2c02.js +1 -0
  458. package/.next-prod/static/chunks/app/api/sessions/route-0ad1f48c09ff2c02.js +1 -0
  459. package/.next-prod/static/chunks/app/api/settings/route-0ad1f48c09ff2c02.js +1 -0
  460. package/.next-prod/static/chunks/app/api/skills/[id]/route-0ad1f48c09ff2c02.js +1 -0
  461. package/.next-prod/static/chunks/app/api/skills/content/route-0ad1f48c09ff2c02.js +1 -0
  462. package/.next-prod/static/chunks/app/api/skills/route-0ad1f48c09ff2c02.js +1 -0
  463. package/.next-prod/static/chunks/app/api/snapshots/diff/route-0ad1f48c09ff2c02.js +1 -0
  464. package/.next-prod/static/chunks/app/api/snapshots/route-0ad1f48c09ff2c02.js +1 -0
  465. package/.next-prod/static/chunks/app/api/terminal/aliases/route-0ad1f48c09ff2c02.js +1 -0
  466. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-0ad1f48c09ff2c02.js +1 -0
  467. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-0ad1f48c09ff2c02.js +1 -0
  468. package/.next-prod/static/chunks/app/api/terminal/env/route-0ad1f48c09ff2c02.js +1 -0
  469. package/.next-prod/static/chunks/app/api/terminal/history/route-0ad1f48c09ff2c02.js +1 -0
  470. package/.next-prod/static/chunks/app/api/version/route-0ad1f48c09ff2c02.js +1 -0
  471. package/.next-prod/static/chunks/app/apps/[...path]/route-0ad1f48c09ff2c02.js +1 -0
  472. package/.next-prod/static/chunks/app/{layout-145570f39a827c0f.js → layout-d43dd702b3ee9d15.js} +1 -1
  473. package/.next-prod/static/chunks/app/m/{page-6c37d1fb9db9b9d6.js → page-56faaf1f36f2588e.js} +1 -1
  474. package/.next-prod/static/chunks/app/manifest.webmanifest/route-0ad1f48c09ff2c02.js +1 -0
  475. package/.next-prod/static/chunks/app/{page-487095ac01a4c1ef.js → page-8e7a3d723260097a.js} +1 -1
  476. package/.next-prod/static/chunks/app/project/{page-487095ac01a4c1ef.js → page-8e7a3d723260097a.js} +1 -1
  477. package/.next-prod/static/chunks/app/review/[id]/page-c0136423507b7547.js +1 -0
  478. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-0ad1f48c09ff2c02.js +1 -0
  479. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-0ad1f48c09ff2c02.js +1 -0
  480. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-0ad1f48c09ff2c02.js +1 -0
  481. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-0ad1f48c09ff2c02.js +1 -0
  482. package/.next-prod/static/css/7a396fd0cfd8a652.css +1 -0
  483. package/.next-prod/trace +14 -14
  484. package/.next-prod/trace-build +1 -1
  485. package/.next-prod/types/app/api/deepseek/balance/route.ts +351 -0
  486. package/.next-prod/types/app/api/deepseek/models/route.ts +351 -0
  487. package/.next-prod/types/app/api/prompts/config/route.ts +351 -0
  488. package/.next-prod/types/routes.d.ts +4 -1
  489. package/.next-prod/types/validator.ts +27 -0
  490. package/dist/{chunk-RUNUGDPP.mjs → chunk-ALNGHUH4.mjs} +44 -30
  491. package/dist/{chunk-7WPYQYA6.mjs → chunk-LEWYJIIE.mjs} +4 -4
  492. package/dist/{chunk-BRW4ZEIC.mjs → chunk-UBB3LJGR.mjs} +56 -7
  493. package/dist/httpApi.mjs +2 -2
  494. package/dist/scheduledTasks.mjs +2750 -287
  495. package/dist/{server-MCN5AIEU.mjs → server-D7CF4MB3.mjs} +2 -2
  496. package/dist/wsServer.mjs +7 -6
  497. package/package.json +1 -1
  498. package/.next-prod/server/chunks/6038.js +0 -1
  499. package/.next-prod/server/chunks/7338.js +0 -89
  500. package/.next-prod/static/8aWX4sRFsO4Rx4DD9L9w-/_buildManifest.js +0 -1
  501. package/.next-prod/static/chunks/2876-4336c42044f38302.js +0 -25
  502. package/.next-prod/static/chunks/6784-c9969c13c13b25af.js +0 -0
  503. package/.next-prod/static/chunks/9530-27352e6f8bafeb3c.js +0 -15
  504. package/.next-prod/static/chunks/app/api/chat/deepseek/route-51252a3b116b8135.js +0 -1
  505. package/.next-prod/static/chunks/app/api/chat/kimi/route-51252a3b116b8135.js +0 -1
  506. package/.next-prod/static/chunks/app/api/chat/ollama/route-51252a3b116b8135.js +0 -1
  507. package/.next-prod/static/chunks/app/api/chat/pty-input/route-51252a3b116b8135.js +0 -1
  508. package/.next-prod/static/chunks/app/api/chat/route-51252a3b116b8135.js +0 -1
  509. package/.next-prod/static/chunks/app/api/chat/stop/route-51252a3b116b8135.js +0 -1
  510. package/.next-prod/static/chunks/app/api/claude-stats/route-51252a3b116b8135.js +0 -1
  511. package/.next-prod/static/chunks/app/api/commands/route-51252a3b116b8135.js +0 -1
  512. package/.next-prod/static/chunks/app/api/comments/route-51252a3b116b8135.js +0 -1
  513. package/.next-prod/static/chunks/app/api/db/columns/route-51252a3b116b8135.js +0 -1
  514. package/.next-prod/static/chunks/app/api/db/connect/route-51252a3b116b8135.js +0 -1
  515. package/.next-prod/static/chunks/app/api/db/disconnect/route-51252a3b116b8135.js +0 -1
  516. package/.next-prod/static/chunks/app/api/db/export/route-51252a3b116b8135.js +0 -1
  517. package/.next-prod/static/chunks/app/api/db/query/route-51252a3b116b8135.js +0 -1
  518. package/.next-prod/static/chunks/app/api/db/schemas/route-51252a3b116b8135.js +0 -1
  519. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-51252a3b116b8135.js +0 -1
  520. package/.next-prod/static/chunks/app/api/dev/spans/route-51252a3b116b8135.js +0 -1
  521. package/.next-prod/static/chunks/app/api/extension/version/route-51252a3b116b8135.js +0 -1
  522. package/.next-prod/static/chunks/app/api/file/route-51252a3b116b8135.js +0 -1
  523. package/.next-prod/static/chunks/app/api/files/blame/route-51252a3b116b8135.js +0 -1
  524. package/.next-prod/static/chunks/app/api/files/clipboard/route-51252a3b116b8135.js +0 -1
  525. package/.next-prod/static/chunks/app/api/files/copy/route-51252a3b116b8135.js +0 -1
  526. package/.next-prod/static/chunks/app/api/files/delete/route-51252a3b116b8135.js +0 -1
  527. package/.next-prod/static/chunks/app/api/files/expanded/route-51252a3b116b8135.js +0 -1
  528. package/.next-prod/static/chunks/app/api/files/index/route-51252a3b116b8135.js +0 -1
  529. package/.next-prod/static/chunks/app/api/files/init/route-51252a3b116b8135.js +0 -1
  530. package/.next-prod/static/chunks/app/api/files/paste/route-51252a3b116b8135.js +0 -1
  531. package/.next-prod/static/chunks/app/api/files/read/route-51252a3b116b8135.js +0 -1
  532. package/.next-prod/static/chunks/app/api/files/readdir/route-51252a3b116b8135.js +0 -1
  533. package/.next-prod/static/chunks/app/api/files/recent/route-51252a3b116b8135.js +0 -1
  534. package/.next-prod/static/chunks/app/api/files/save/route-51252a3b116b8135.js +0 -1
  535. package/.next-prod/static/chunks/app/api/files/search/route-51252a3b116b8135.js +0 -1
  536. package/.next-prod/static/chunks/app/api/files/stat/route-51252a3b116b8135.js +0 -1
  537. package/.next-prod/static/chunks/app/api/files/text/route-51252a3b116b8135.js +0 -1
  538. package/.next-prod/static/chunks/app/api/git/branch-diff/route-51252a3b116b8135.js +0 -1
  539. package/.next-prod/static/chunks/app/api/git/branches/route-51252a3b116b8135.js +0 -1
  540. package/.next-prod/static/chunks/app/api/git/commit-diff/route-51252a3b116b8135.js +0 -1
  541. package/.next-prod/static/chunks/app/api/git/commits/route-51252a3b116b8135.js +0 -1
  542. package/.next-prod/static/chunks/app/api/git/current-branch/route-51252a3b116b8135.js +0 -1
  543. package/.next-prod/static/chunks/app/api/git/diff/route-51252a3b116b8135.js +0 -1
  544. package/.next-prod/static/chunks/app/api/git/discard/route-51252a3b116b8135.js +0 -1
  545. package/.next-prod/static/chunks/app/api/git/stage/route-51252a3b116b8135.js +0 -1
  546. package/.next-prod/static/chunks/app/api/git/status/route-51252a3b116b8135.js +0 -1
  547. package/.next-prod/static/chunks/app/api/git/unstage/route-51252a3b116b8135.js +0 -1
  548. package/.next-prod/static/chunks/app/api/git/worktree/route-51252a3b116b8135.js +0 -1
  549. package/.next-prod/static/chunks/app/api/global-state/route-51252a3b116b8135.js +0 -1
  550. package/.next-prod/static/chunks/app/api/health/route-51252a3b116b8135.js +0 -1
  551. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-51252a3b116b8135.js +0 -1
  552. package/.next-prod/static/chunks/app/api/html-apps/route-51252a3b116b8135.js +0 -1
  553. package/.next-prod/static/chunks/app/api/jupyter/load/route-51252a3b116b8135.js +0 -1
  554. package/.next-prod/static/chunks/app/api/jupyter/save/route-51252a3b116b8135.js +0 -1
  555. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-51252a3b116b8135.js +0 -1
  556. package/.next-prod/static/chunks/app/api/lsp/definition/route-51252a3b116b8135.js +0 -1
  557. package/.next-prod/static/chunks/app/api/lsp/hover/route-51252a3b116b8135.js +0 -1
  558. package/.next-prod/static/chunks/app/api/lsp/references/route-51252a3b116b8135.js +0 -1
  559. package/.next-prod/static/chunks/app/api/lsp/status/route-51252a3b116b8135.js +0 -1
  560. package/.next-prod/static/chunks/app/api/lsp/warmup/route-51252a3b116b8135.js +0 -1
  561. package/.next-prod/static/chunks/app/api/mysql/columns/route-51252a3b116b8135.js +0 -1
  562. package/.next-prod/static/chunks/app/api/mysql/connect/route-51252a3b116b8135.js +0 -1
  563. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-51252a3b116b8135.js +0 -1
  564. package/.next-prod/static/chunks/app/api/mysql/export/route-51252a3b116b8135.js +0 -1
  565. package/.next-prod/static/chunks/app/api/mysql/query/route-51252a3b116b8135.js +0 -1
  566. package/.next-prod/static/chunks/app/api/mysql/schemas/route-51252a3b116b8135.js +0 -1
  567. package/.next-prod/static/chunks/app/api/neo4j/connect/route-51252a3b116b8135.js +0 -1
  568. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-51252a3b116b8135.js +0 -1
  569. package/.next-prod/static/chunks/app/api/neo4j/query/route-51252a3b116b8135.js +0 -1
  570. package/.next-prod/static/chunks/app/api/neo4j/schema/route-51252a3b116b8135.js +0 -1
  571. package/.next-prod/static/chunks/app/api/note/route-51252a3b116b8135.js +0 -1
  572. package/.next-prod/static/chunks/app/api/ollama/config/route-51252a3b116b8135.js +0 -1
  573. package/.next-prod/static/chunks/app/api/ollama/models/route-51252a3b116b8135.js +0 -1
  574. package/.next-prod/static/chunks/app/api/ollama/start/route-51252a3b116b8135.js +0 -1
  575. package/.next-prod/static/chunks/app/api/open-cursor/route-51252a3b116b8135.js +0 -1
  576. package/.next-prod/static/chunks/app/api/open-vscode/route-51252a3b116b8135.js +0 -1
  577. package/.next-prod/static/chunks/app/api/pick-folder/route-51252a3b116b8135.js +0 -1
  578. package/.next-prod/static/chunks/app/api/pinned-sessions/route-51252a3b116b8135.js +0 -1
  579. package/.next-prod/static/chunks/app/api/project-settings/route-51252a3b116b8135.js +0 -1
  580. package/.next-prod/static/chunks/app/api/project-state/route-51252a3b116b8135.js +0 -1
  581. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-51252a3b116b8135.js +0 -1
  582. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-51252a3b116b8135.js +0 -1
  583. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-51252a3b116b8135.js +0 -1
  584. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-51252a3b116b8135.js +0 -1
  585. package/.next-prod/static/chunks/app/api/projectGraph/context/route-51252a3b116b8135.js +0 -1
  586. package/.next-prod/static/chunks/app/api/projectGraph/file/route-51252a3b116b8135.js +0 -1
  587. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-51252a3b116b8135.js +0 -1
  588. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-51252a3b116b8135.js +0 -1
  589. package/.next-prod/static/chunks/app/api/projectGraph/related/route-51252a3b116b8135.js +0 -1
  590. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-51252a3b116b8135.js +0 -1
  591. package/.next-prod/static/chunks/app/api/projectGraph/search/route-51252a3b116b8135.js +0 -1
  592. package/.next-prod/static/chunks/app/api/projects/route-51252a3b116b8135.js +0 -1
  593. package/.next-prod/static/chunks/app/api/push/public-key/route-51252a3b116b8135.js +0 -1
  594. package/.next-prod/static/chunks/app/api/push/subscribe/route-51252a3b116b8135.js +0 -1
  595. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-51252a3b116b8135.js +0 -1
  596. package/.next-prod/static/chunks/app/api/redis/command/route-51252a3b116b8135.js +0 -1
  597. package/.next-prod/static/chunks/app/api/redis/connect/route-51252a3b116b8135.js +0 -1
  598. package/.next-prod/static/chunks/app/api/redis/delete/route-51252a3b116b8135.js +0 -1
  599. package/.next-prod/static/chunks/app/api/redis/disconnect/route-51252a3b116b8135.js +0 -1
  600. package/.next-prod/static/chunks/app/api/redis/get/route-51252a3b116b8135.js +0 -1
  601. package/.next-prod/static/chunks/app/api/redis/keys/route-51252a3b116b8135.js +0 -1
  602. package/.next-prod/static/chunks/app/api/redis/set/route-51252a3b116b8135.js +0 -1
  603. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-51252a3b116b8135.js +0 -1
  604. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-51252a3b116b8135.js +0 -1
  605. package/.next-prod/static/chunks/app/api/review/[id]/route-51252a3b116b8135.js +0 -1
  606. package/.next-prod/static/chunks/app/api/review/identify/route-51252a3b116b8135.js +0 -1
  607. package/.next-prod/static/chunks/app/api/review/order/route-51252a3b116b8135.js +0 -1
  608. package/.next-prod/static/chunks/app/api/review/route-51252a3b116b8135.js +0 -1
  609. package/.next-prod/static/chunks/app/api/review/share-info/route-51252a3b116b8135.js +0 -1
  610. package/.next-prod/static/chunks/app/api/review/users/route-51252a3b116b8135.js +0 -1
  611. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-51252a3b116b8135.js +0 -1
  612. package/.next-prod/static/chunks/app/api/services/config/route-51252a3b116b8135.js +0 -1
  613. package/.next-prod/static/chunks/app/api/services/scripts/route-51252a3b116b8135.js +0 -1
  614. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-51252a3b116b8135.js +0 -1
  615. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-51252a3b116b8135.js +0 -1
  616. package/.next-prod/static/chunks/app/api/session-by-path/route-51252a3b116b8135.js +0 -1
  617. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-51252a3b116b8135.js +0 -1
  618. package/.next-prod/static/chunks/app/api/sessions/projects/route-51252a3b116b8135.js +0 -1
  619. package/.next-prod/static/chunks/app/api/sessions/route-51252a3b116b8135.js +0 -1
  620. package/.next-prod/static/chunks/app/api/settings/route-51252a3b116b8135.js +0 -1
  621. package/.next-prod/static/chunks/app/api/skills/[id]/route-51252a3b116b8135.js +0 -1
  622. package/.next-prod/static/chunks/app/api/skills/content/route-51252a3b116b8135.js +0 -1
  623. package/.next-prod/static/chunks/app/api/skills/route-51252a3b116b8135.js +0 -1
  624. package/.next-prod/static/chunks/app/api/snapshots/diff/route-51252a3b116b8135.js +0 -1
  625. package/.next-prod/static/chunks/app/api/snapshots/route-51252a3b116b8135.js +0 -1
  626. package/.next-prod/static/chunks/app/api/terminal/aliases/route-51252a3b116b8135.js +0 -1
  627. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-51252a3b116b8135.js +0 -1
  628. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-51252a3b116b8135.js +0 -1
  629. package/.next-prod/static/chunks/app/api/terminal/env/route-51252a3b116b8135.js +0 -1
  630. package/.next-prod/static/chunks/app/api/terminal/history/route-51252a3b116b8135.js +0 -1
  631. package/.next-prod/static/chunks/app/api/version/route-51252a3b116b8135.js +0 -1
  632. package/.next-prod/static/chunks/app/apps/[...path]/route-51252a3b116b8135.js +0 -1
  633. package/.next-prod/static/chunks/app/manifest.webmanifest/route-51252a3b116b8135.js +0 -1
  634. package/.next-prod/static/chunks/app/review/[id]/page-c9716ea0049cc328.js +0 -1
  635. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-51252a3b116b8135.js +0 -1
  636. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-51252a3b116b8135.js +0 -1
  637. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-51252a3b116b8135.js +0 -1
  638. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-51252a3b116b8135.js +0 -1
  639. package/.next-prod/static/css/5aa1c710591e36bb.css +0 -1
  640. /package/.next-prod/static/{8aWX4sRFsO4Rx4DD9L9w- → JD1OQjo1JkC0HtJ7Nawnu}/_ssgManifest.js +0 -0
@@ -0,0 +1,91 @@
1
+ "use strict";exports.id=9419,exports.ids=[9419],exports.modules={59419:(a,b,c)=>{c.d(b,{p:()=>F,o:()=>G});var d=c(78497),e=c(55511),f=c(29021),g=c(33873),h=c(7939);function i(a,b){return(0,g.join)(a,(0,h.O0)(b))}function j(a,b,c){return(0,g.join)(i(a,b),`${c}.jsonl`)}function k(a,b,c,d){let e=i(a,b);(0,f.mkdirSync)(e,{recursive:!0});let g=j(a,b,c);(0,f.appendFileSync)(g,JSON.stringify(d)+"\n","utf-8")}function l(a,b,c,d,e){k(a,b,c,{type:"assistant",uuid:e?.uuid,sessionId:c,timestamp:e?.timestamp,message:{role:"assistant",content:d,...e?.usage?{usage:e.usage}:{}}})}function m(a,b,c,d,e,f){k(a,b,c,{type:"user",uuid:f?.uuid,sessionId:c,timestamp:f?.timestamp,message:{content:[{type:"tool_result",tool_use_id:d,content:e,is_error:!!f?.is_error}]}})}var n=c(61948),o=c(52868),p=c(79748),q=c(21820),r=c(79646),s=c(28354),t=c(63742),u=c.n(t),v=c(75342),w=c(95169);let x=(0,s.promisify)(r.exec),y=(0,s.promisify)(r.execFile),z=(0,g.join)((0,q.tmpdir)(),"cockpit-tool-outputs");async function A(a,b){try{await (0,p.mkdir)(z,{recursive:!0});try{let a=await (0,p.readdir)(z);if(a.length>=200){let b=(await Promise.all(a.map(async a=>{let b=(0,g.join)(z,a);try{return{p:b,mtime:(await (0,p.stat)(b)).mtimeMs}}catch{return null}}))).filter(a=>null!==a);b.sort((a,b)=>a.mtime-b.mtime);let c=b.slice(0,Math.max(0,b.length-200+1));await Promise.all(c.map(({p:a})=>(0,p.unlink)(a).catch(()=>void 0)))}}catch{}let c=Date.now().toString(36),d=Math.random().toString(36).slice(2,8),e=(0,g.join)(z,`${b}-${c}-${d}.log`);return await (0,p.writeFile)(e,a,"utf-8"),e}catch{return}}function B(a,b,c={}){if(a.length<=b)return a;let{label:d="output",bias:e="balanced",spillPath:f}=c,g=Math.max(0,b-520),h=Math.floor(g*("tail"===e?.2:.6)),i=g-h,j=h;if(h>0){let b=a.lastIndexOf("\n",h);b>.5*h&&(j=b)}let k=a.length-i;if(i>0&&k>0){let b=a.indexOf("\n",k);-1!==b&&b<a.length-.5*i&&(k=b+1)}let l=a.slice(0,j),m=a.slice(k),n=a.length-l.length-m.length,o=a=>(a/1024).toFixed(1)+" KB",p=f?`full output saved to ${f} — call Read({ file_path: "${f}", offset, limit }) to page through`:"narrow the query, page through (head/tail/sed), or redirect to a file";return`==== ${d.toUpperCase()} TRUNCATED ====
2
+ Original: ${o(a.length)} (${a.length} chars) \xb7 Kept: head ${o(l.length)} + tail ${o(m.length)} \xb7 Dropped: ${o(n)}
3
+ ${p}
4
+ ==========================
5
+
6
+ `+l+`
7
+
8
+ ...[${d} truncated here — ${o(n)} dropped; see banner at top for full-output path]
9
+
10
+ `+m}let C=o.string().describe("PREVIOUS result assessment → THIS action reason → EXPECTED outcome"),D=' The "thought" param MUST follow this format: "PREVIOUS: [last result] → THIS: [action + why] → EXPECT: [expected result]".';async function E(a,b,c,d){let e="",f=[],g=new Map;for await(let c of a)switch(c.type){case"text-delta":e+=c.text,b(`data: ${JSON.stringify({type:"stream_event",event:{type:"content_block_delta",delta:{type:"text_delta",text:c.text}}})}
11
+
12
+ `);break;case"tool-call":{e&&(d?.onTextFlush?.(e),e="");let a=c.input||{};d?.onToolCall?.(c.toolCallId,c.toolName,a),b(`data: ${JSON.stringify({type:"assistant",message:{content:[{type:"tool_use",id:c.toolCallId,name:c.toolName,input:a}]}})}
13
+
14
+ `),g.set(c.toolCallId,{id:c.toolCallId,name:c.toolName,args:JSON.stringify(a)});break}case"tool-result":{let a=String(c.output);d?.onToolResult?.(c.toolCallId,a,!1),b(`data: ${JSON.stringify({type:"user",message:{content:[{type:"tool_result",tool_use_id:c.toolCallId,content:a,is_error:!1}]}})}
15
+
16
+ `);break}case"tool-error":{let a=function(a){if(a instanceof Error)return a.message||String(a);if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}(c.error);d?.onToolResult?.(c.toolCallId,a,!0),b(`data: ${JSON.stringify({type:"user",message:{content:[{type:"tool_result",tool_use_id:c.toolCallId,content:a,is_error:!0}]}})}
17
+
18
+ `)}}for(let a of g.values())try{f.push({id:a.id,name:a.name,args:JSON.parse(a.args)})}catch{f.push({id:a.id,name:a.name,args:{}})}return{text:e,toolCalls:f}}function F(a){return"string"==typeof a.prompt&&a.prompt.trim()?{ok:!0}:{ok:!1,status:400,error:"The built-in agent requires a text prompt"}}async function G(a,b){var c,h,i,p;let{sessionsRoot:q}=b,r=a.cwd||process.cwd(),s=a.currentKey();a.rekey(s);let t="string"==typeof a.params.model&&a.params.model||b.defaultModel,z=a.prompt,F=b=>{if(!b.startsWith("data: [DONE]"))try{a.emit(JSON.parse(b.slice(6)))}catch{}},G=[...!0===a.params.noHistory?[]:function(a,b,c){let d=j(a,b,c);if(!(0,f.existsSync)(d))return[];let e=(0,f.readFileSync)(d,"utf-8").split("\n").filter(Boolean),g=[];for(let a of e)try{let b=JSON.parse(a);"string"==typeof b.type&&g.push(b)}catch{}let h=new Map,i=new Set,k=new Set;for(let a of g){if("assistant"===a.type&&Array.isArray(a.message?.content))for(let b of a.message.content)"tool_use"===b.type&&b.id&&(i.add(b.id),b.name&&h.set(b.id,b.name));if("user"===a.type&&Array.isArray(a.message?.content))for(let b of a.message.content)"tool_result"===b.type&&b.tool_use_id&&k.add(b.tool_use_id)}let l=[],m=[],n=()=>{let a=m.filter(a=>"text"!==a.type||String(a.text||"").length>0);m=[],0!==a.length&&(1===a.length&&"text"===a[0].type?l.push({role:"assistant",content:String(a[0].text||"")}):l.push({role:"assistant",content:a}))};for(let a of g){if("user"===a.type&&a.message?.role==="user"&&Array.isArray(a.message.content)){let b=a.message.content.filter(a=>"text"===a.type).map(a=>a.text||"").join("\n");if(n(),!b)continue;l.push({role:"user",content:b});continue}if("assistant"===a.type&&Array.isArray(a.message?.content)){for(let b of a.message.content)if("text"===b.type)m.push({type:"text",text:b.text||""});else if("tool_use"===b.type){let a=b.id||"";if(!a||!k.has(a))continue;let c=b.name||h.get(a)||"tool";m.push({type:"tool-call",toolCallId:a,toolName:c,input:b.input||{}})}continue}if("user"===a.type&&Array.isArray(a.message?.content))for(let b of a.message.content.filter(a=>"tool_result"===a.type&&!!a.tool_use_id)){let a=b.tool_use_id||"";if(!a||!i.has(a))continue;n();let c=h.get(a)||"tool";l.push({role:"tool",content:[{type:"tool-result",toolCallId:a,toolName:c,output:b.is_error?{type:"error-text",value:b.content||""}:{type:"text",value:b.content||""}}]})}}return n(),l}(q,r,s),{role:"user",content:z}];c={uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString()},k(q,r,s,{type:"user",uuid:c?.uuid,sessionId:s,timestamp:c?.timestamp,message:{role:"user",content:[{type:"text",text:z}]}}),F(`data: ${JSON.stringify({type:"system",subtype:"init",session_id:s})}
19
+
20
+ `);let H=await b.createModel(t),I=(0,d.gM)({model:H,system:`You are a coding agent. You help the user build and modify software using the provided tools.
21
+
22
+ CWD: ${r}
23
+
24
+ ## Language
25
+
26
+ ALWAYS reply in the SAME language as the user's most recent message — whatever language they used (Chinese, English, Japanese, French, Spanish, …), mirror it. Do NOT default to English just because this system prompt is written in English. If the user switches language mid-conversation, switch with them on the next reply.
27
+
28
+ Exceptions that stay as-is regardless of reply language:
29
+ - Tool "thought" parameters: keep the "PREVIOUS / THIS / EXPECT" template in English.
30
+ - Code, identifiers, file paths, shell commands, and error messages quoted from tool output: keep original.
31
+ - Only your natural-language prose to the user follows the user's language.
32
+
33
+ ## Workflow
34
+
35
+ 1. Plan: call TodoWrite FIRST to break down the task into steps (all pending, first one in_progress).
36
+ 2. Act: execute steps one by one. After completing each step, call TodoWrite to update progress (mark completed, set next in_progress).
37
+ 3. Check: after each tool call, assess — did it succeed? Is the overall task done? If not, continue to the next step.
38
+ 4. Respond: you MUST always end with a text response to the user. Summarize what was done, what was found, or what remains.
39
+
40
+ IMPORTANT: never stop in the middle of a task silently. If you cannot continue (error, missing info, blocked), respond to the user explaining why and what is needed.
41
+
42
+ NEVER repeat a tool call with the same or similar arguments. When a search finds nothing, follow this escalation:
43
+ 1. Simplify the pattern (shorter keyword, remove qualifiers, use a single core term)
44
+ 2. Broaden the path (search parent directory, or omit path to search entire CWD)
45
+ 3. Switch tool (Grep → Glob for filenames, Grep → Bash with find, or Read a likely file directly)
46
+ 4. Give up after 3 failed attempts on the same topic — tell the user what you tried and ask for guidance.
47
+
48
+ ## Tools
49
+
50
+ - Read: read a file by line range.
51
+ - Edit: exact string replacement in an existing file (prefer over Write).
52
+ - Write: create new files or full rewrites only.
53
+ - Bash: run shell commands.
54
+ - Grep: ripgrep search. ALWAYS use Grep (never rg/grep via Bash).
55
+ - Glob: fast file listing by glob pattern.
56
+ - TodoWrite: plan tasks and track progress. ALWAYS call this first.
57
+
58
+ Every tool has a "thought" parameter — ALWAYS fill it using this format:
59
+ "PREVIOUS: [what the last tool returned and whether it achieved the goal] → THIS: [what I am doing now and why] → EXPECT: [what result I expect]"
60
+ Example: "PREVIOUS: Grep found 3 matches in cache.go → THIS: Read cache.go to see full implementation → EXPECT: understand the caching logic"
61
+ If this is the first tool call, write "PREVIOUS: n/a" for the first part.
62
+
63
+ ## Rules
64
+
65
+ Tool usage:
66
+ - Read before modify: do NOT edit a file you haven't Read.
67
+ - Absolute paths only: resolve relative paths against CWD.
68
+
69
+ Accuracy:
70
+ - Verify before retracting: when the user questions you, use tools to verify first, then respond based on evidence. Do NOT blindly agree you were wrong.
71
+ - Honesty over confidence: only state what is backed by tool output. If unsure, say so and state what info is needed or propose a verification plan. Never fabricate data.
72
+
73
+ ## Output
74
+
75
+ - Be concise. Lead with the action or answer.
76
+ - Only elaborate on decisions, blockers, or milestones.`,messages:G,tools:(h={cwd:r,todos:[]},{Read:(0,n.z6)({description:'Read a file. Params: { thought, file_path (absolute), offset (1-based line), limit (lines, default 600, max 4000) }. Returns the selected lines as text, followed by a footer like "[read lines X-Y of Z]" so you always know whether the file has more content. When the footer shows more lines remain, call Read again with a higher offset.'+D,inputSchema:(0,n.jN)(o.object({thought:C,file_path:o.string(),offset:o.number().int().min(1).default(1),limit:o.number().int().min(1).max(4e3).default(600)})),execute:async({file_path:a,offset:b,limit:c})=>{try{if(!(0,g.isAbsolute)(a))return"Error: file_path must be an absolute path.";let d=(0,f.readFileSync)(a,"utf-8").split("\n"),e=d.length,h=Math.max(0,b-1),i=Math.min(e,h+c),j=d.slice(h,i).join("\n"),k=h+1,l=e-i,m=l>0?`
77
+
78
+ [read lines ${k}-${i} of ${e} — ${l} more line(s) remain; call Read again with offset=${i+1}]`:`
79
+
80
+ [read lines ${k}-${i} of ${e} — end of file]`;return j+m}catch(a){return`Error reading file: ${a.message}`}}}),Write:(0,n.z6)({description:"Write a file to disk. Params: { thought, file_path (absolute), content }. Creates or overwrites. Prefer Edit for modifying existing files; use Write for new files or full rewrites. Do NOT create documentation (*.md/README) unless explicitly requested."+D,inputSchema:(0,n.jN)(o.object({thought:C,file_path:o.string(),content:o.string()})),execute:async({file_path:a,content:b})=>{try{if(!(0,g.isAbsolute)(a))return"Error: file_path must be an absolute path.";return(0,f.writeFileSync)(a,b,"utf-8"),`File written: ${a}`}catch(a){return`Error writing file: ${a.message}`}}}),Edit:(0,n.z6)({description:"Edit a file by exact string replacement. Params: { thought, replace_all, file_path (absolute), old_string, new_string }. If replace_all is false, replaces the first occurrence. old_string must match exactly."+D,inputSchema:(0,n.jN)(o.object({thought:C,replace_all:o.boolean().default(!1),file_path:o.string(),old_string:o.string(),new_string:o.string()})),execute:async({replace_all:a,file_path:b,old_string:c,new_string:d})=>{try{if(!(0,g.isAbsolute)(b))return"Error: file_path must be an absolute path.";let e=(0,f.readFileSync)(b,"utf-8");if(!e.includes(c))return`Error: old_string not found in ${b}. The file may have changed.`;let h=a?e.split(c).join(d):e.replace(c,d);return(0,f.writeFileSync)(b,h,"utf-8"),`File edited: ${b}`}catch(a){return`Error editing file: ${a.message}`}}}),Bash:(0,n.z6)({description:'Run a shell command. Params: { thought, command, description?, timeout? (ms) }. Output is capped at ~64KB — both head and tail are preserved with an explicit truncation marker. On failure, stderr tail is prioritized (the last lines usually carry the real error). When truncation happens the full output is automatically spilled to a temp file; the marker will include its absolute path — call Read({ file_path, offset, limit }) on that path to page through the complete output WITHOUT re-running the command (critical for expensive or side-effectful commands like builds, installs, or POST requests). IMPORTANT: an EMPTY tool_result is impossible — if the command produced no stdout, the tool returns an explicit "(exit 0 — empty stdout...)" annotation. Do NOT interpret such a result as "output was truncated"; it means the command itself produced nothing (often a bug in the command, e.g. an un-invoked arrow function, a silent failure writing to stderr, or a command that intentionally produces no stdout).'+D,inputSchema:(0,n.jN)(o.object({thought:C,command:o.string(),description:o.string().optional(),timeout:o.number().int().min(1).max(6e5).optional()})),execute:async({command:a,timeout:b})=>{try{let{stdout:c,stderr:d}=await x(a,{cwd:h.cwd,encoding:"utf-8",timeout:b??6e4,maxBuffer:0xa00000,env:(0,w.u)({FORCE_COLOR:"0",CI:"1"})});if(0===c.length){if(0===d.length)return"(exit 0 — empty stdout and empty stderr. The command produced no output at all; NOT a truncation. Common causes: (a) an arrow function was defined but not invoked — wrap as `(async()=>{...})()`; (b) the command intentionally prints nothing on success; (c) output went to a file instead of stdout.)";let a=B(d,63800,{label:"stderr",bias:"tail"});return`(exit 0 — empty stdout; stderr below is NOT an error but a side-channel message since exit code was 0)
81
+
82
+ --- stderr ---
83
+ ${a}`}let e=c.length>64e3?await A(c,"bash"):void 0;return B(c,64e3,{label:"stdout",spillPath:e})}catch(f){let a=f.message,b=f.stderr?.toString()||"",c=`Error: ${a}
84
+ `,d=Math.max(0,64e3-c.length),e=b.length>d?await A(b,"bash-stderr"):void 0;return c+B(b,d,{label:"stderr",bias:"tail",spillPath:e})}}}),Glob:(0,n.z6)({description:'Find files matching a glob pattern (fast-glob style). Params: { thought, pattern }. Runs relative to cwd and returns up to 100 paths (newline-delimited). When more than 100 match, the full list is spilled to a temp file and an explicit "...[N more paths omitted — M total; full list saved to ...]" footer is appended; call Read({ file_path, offset, limit }) on that path to page through the complete list, or tighten the pattern. Supports **, {}, [], *, ?.'+D,inputSchema:(0,n.jN)(o.object({thought:C,pattern:o.string()})),execute:async({pattern:a})=>{try{let b=await u()(a,{cwd:h.cwd,onlyFiles:!0,unique:!0,dot:!0,followSymbolicLinks:!0,ignore:["**/node_modules/**","**/.git/**"]});if(0===b.length)return"(no matches)";if(b.length<=100)return b.join("\n");let c=b.length-100,d=await A(b.join("\n"),"glob"),e=d?`full list saved to ${d} — call Read({ file_path: "${d}", offset, limit }) to page through all ${b.length} paths, or tighten the pattern`:"tighten the pattern to see the rest";return b.slice(0,100).join("\n")+`
85
+
86
+ ...[${c} more paths omitted — ${b.length} total; ${e}]`}catch(a){return`Error: ${a.message}`}}}),Grep:(0,n.z6)({description:'Search for a pattern using ripgrep. Params: { thought, pattern, path (absolute, optional), ignore_case (default true), output_mode, "-n" }. ALWAYS use Grep for searching (never run rg/grep via Bash). output_mode: "content" returns matching lines; "files_with_matches" returns file paths; "count" returns counts. Output is capped at ~32KB (head + tail preserved with an explicit truncation marker). ripgrep also caps matches at 1000/file as a safety net. When truncation happens the full results are spilled to a temp file and the marker gives you its path — call Read({ file_path, offset, limit }) to page through, or tighten the pattern / restrict the path for a smaller result.'+D,inputSchema:(0,n.jN)(o.object({thought:C,pattern:o.string(),path:o.string().optional(),ignore_case:o.boolean().default(!0),output_mode:o.enum(["content","files_with_matches","count"]).default("content"),"-n":o.boolean().optional()})),execute:async({pattern:a,path:b,ignore_case:c,output_mode:d,"-n":e})=>{try{if(b&&!(0,g.isAbsolute)(b))return"Error: path must be an absolute path.";let f=b||h.cwd,i=["--no-heading","--color","never","--max-columns","500"];c&&i.push("--ignore-case");let j="1000";"files_with_matches"===d?(i.push("--files-with-matches"),i.push("--max-count",j)):"count"===d?i.push("--count"):(e??!0)&&(i.push("--line-number"),i.push("--max-count",j)),i.push("--",a,f);let{stdout:k}=await y(v.rgPath,i,{encoding:"utf-8",timeout:15e3,maxBuffer:0xa00000,env:(0,w.u)({FORCE_COLOR:"0"})}),l=k.length>32e3?await A(k,"grep"):void 0;return B(k,32e3,{label:"grep results",spillPath:l})}catch(a){if(1===a.code)return"(no matches)";return`Error: ${a.message}`}}}),TodoWrite:(0,n.z6)({description:"Plan and track progress. Use this as your FIRST tool call to break down the task into steps, then update after each step completes. Params: { thought, todos: [{ content, status, activeForm? }] }. Replaces the entire list. Statuses: pending | in_progress | completed. Keep at most one in_progress."+D,inputSchema:(0,n.jN)(o.object({thought:C,todos:o.array(o.object({content:o.string(),status:o.enum(["pending","in_progress","completed"]),activeForm:o.string().optional()}))})),execute:async({todos:a})=>{h.todos=a;let b=a.map(a=>`- [${a.status}] ${a.content}`).join("\n");return`Todo list updated:
87
+ ${b}`}})}),stopWhen:(0,d.wS)(256),temperature:0,abortSignal:a.signal}),J=new Map,K=a=>{if(0!==J.size){for(let[b]of J){try{m(q,r,s,b,a,{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString(),is_error:!0})}catch{}try{F(`data: ${JSON.stringify({type:"user",message:{content:[{type:"tool_result",tool_use_id:b,content:a,is_error:!0}]}})}
88
+
89
+ `)}catch{}}J.clear()}};try{let{text:b}=await E(I.fullStream,F,s,{onToolCall:(a,b,c)=>{try{J.set(a,{name:b,input:c}),l(q,r,s,[{type:"tool_use",id:a,name:b,input:c}],{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString()})}catch{}},onToolResult:(a,b,c)=>{try{J.delete(a),m(q,r,s,a,b,{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString(),is_error:!!c})}catch{}},onTextFlush:a=>{try{l(q,r,s,[{type:"text",text:a}],{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString()})}catch{}}}),c=await I.usage;i=c.inputTokens||0,p=c.outputTokens||0,F(`data: ${JSON.stringify({type:"result",subtype:"success",usage:{input_tokens:i,output_tokens:p,cache_creation_input_tokens:0,cache_read_input_tokens:0},total_cost_usd:0})}
90
+
91
+ `),a.signal.aborted||l(q,r,s,b?[{type:"text",text:b}]:[],{uuid:(0,e.randomUUID)(),timestamp:new Date().toISOString(),usage:{input_tokens:c.inputTokens||0,output_tokens:c.outputTokens||0,cache_creation_input_tokens:0,cache_read_input_tokens:0}})}catch(b){if(a.signal.aborted)return void K("Tool call cancelled (request aborted).");throw K("Tool call failed (stream error)."),b}}}};