@surething/cockpit 1.0.266 → 1.0.268

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 (691) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +4 -3
  3. package/.next-prod/build-manifest.json +2 -2
  4. package/.next-prod/cockpit-build.json +1 -1
  5. package/.next-prod/prerender-manifest.json +4 -4
  6. package/.next-prod/routes-manifest.json +6 -0
  7. package/.next-prod/server/app/_global-error/page.js +2 -2
  8. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next-prod/server/app/_global-error.html +1 -1
  11. package/.next-prod/server/app/_global-error.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next-prod/server/app/_not-found/page.js +1 -1
  16. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
  17. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next-prod/server/app/_not-found.html +2 -2
  19. package/.next-prod/server/app/_not-found.rsc +3 -3
  20. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
  21. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
  22. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  23. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  24. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  25. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
  26. package/.next-prod/server/app/api/bash/route.js +1 -1
  27. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  28. package/.next-prod/server/app/api/chat/codex/route.js +1 -1
  29. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  30. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  31. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  32. package/.next-prod/server/app/api/chat/glm/route.js +1 -1
  33. package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
  34. package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
  35. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  36. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  37. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  38. package/.next-prod/server/app/api/chat/route.js +1 -1
  39. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  40. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  41. package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
  42. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  43. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  44. package/.next-prod/server/app/api/commands/route.js +1 -1
  45. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  46. package/.next-prod/server/app/api/comments/route.js +1 -1
  47. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  48. package/.next-prod/server/app/api/db/columns/route.js +1 -1
  49. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  50. package/.next-prod/server/app/api/db/connect/route.js +2 -2
  51. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  52. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  53. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  54. package/.next-prod/server/app/api/db/export/route.js +1 -1
  55. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  56. package/.next-prod/server/app/api/db/query/route.js +1 -1
  57. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  58. package/.next-prod/server/app/api/db/schemas/route.js +2 -2
  59. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  60. package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
  61. package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
  62. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  63. package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
  64. package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
  65. package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
  66. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  67. package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
  68. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  69. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  70. package/.next-prod/server/app/api/file/route.js +1 -1
  71. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  72. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  73. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  74. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  75. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  76. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  77. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  78. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  79. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  80. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  81. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  82. package/.next-prod/server/app/api/files/index/route.js +1 -1
  83. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  84. package/.next-prod/server/app/api/files/init/route.js +1 -1
  85. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  86. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  87. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  88. package/.next-prod/server/app/api/files/read/route.js +1 -1
  89. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  90. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  91. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  92. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  93. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  94. package/.next-prod/server/app/api/files/save/route.js +1 -1
  95. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  96. package/.next-prod/server/app/api/files/search/route.js +1 -1
  97. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  98. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  99. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  100. package/.next-prod/server/app/api/files/text/route.js +1 -1
  101. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  102. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  103. package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
  104. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  105. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  106. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  107. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  108. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  109. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  110. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  111. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  112. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  113. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  114. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  115. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  116. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  117. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  118. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  119. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  120. package/.next-prod/server/app/api/git/status/route.js +1 -1
  121. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  122. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  123. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  124. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  125. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  126. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  127. package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
  128. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  129. package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
  130. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  131. package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
  132. package/.next-prod/server/app/api/global-state/route.js +1 -1
  133. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  134. package/.next-prod/server/app/api/health/route.js +1 -1
  135. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  136. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  137. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  138. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  139. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  140. package/.next-prod/server/app/api/jupyter/load/route.js +1 -1
  141. package/.next-prod/server/app/api/jupyter/load/route.js.nft.json +1 -1
  142. package/.next-prod/server/app/api/jupyter/save/route.js +1 -1
  143. package/.next-prod/server/app/api/jupyter/save/route.js.nft.json +1 -1
  144. package/.next-prod/server/app/api/jupyter/shutdown/route.js +1 -1
  145. package/.next-prod/server/app/api/jupyter/shutdown/route.js.nft.json +1 -1
  146. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  147. package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
  148. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  149. package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
  150. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  151. package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
  152. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  153. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  154. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  155. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  156. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  157. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  158. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  159. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  160. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  161. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  162. package/.next-prod/server/app/api/mysql/columns/route.js +1 -1
  163. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  164. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  165. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  166. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  167. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  168. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  169. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  170. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  171. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  172. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  173. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  174. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  175. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  176. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  177. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  178. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  179. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  180. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  181. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  182. package/.next-prod/server/app/api/note/route.js +1 -1
  183. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  184. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  185. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  186. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  187. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  188. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  189. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  190. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  191. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  192. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  193. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  194. package/.next-prod/server/app/api/pick-folder/route.js +1 -1
  195. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
  196. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  197. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  198. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  199. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  200. package/.next-prod/server/app/api/project-state/route.js +2 -2
  201. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  202. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  203. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  204. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  205. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  206. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  207. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  208. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  209. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  210. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  211. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  212. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  213. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  214. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  215. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  216. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  217. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  218. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  219. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  220. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  221. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  222. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  223. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  224. package/.next-prod/server/app/api/projects/route.js +1 -1
  225. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  226. package/.next-prod/server/app/api/prompts/config/route.js +1 -1
  227. package/.next-prod/server/app/api/prompts/config/route.js.nft.json +1 -1
  228. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  229. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  230. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  231. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  232. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  233. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  234. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  235. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  236. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  237. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  238. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  239. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  240. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  241. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  242. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  243. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  244. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  245. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  246. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  247. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  248. package/.next-prod/server/app/api/restart/route.js +1 -1
  249. package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
  250. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  251. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  252. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  253. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  254. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  255. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  256. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  257. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  258. package/.next-prod/server/app/api/review/order/route.js +1 -1
  259. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  260. package/.next-prod/server/app/api/review/route.js +1 -1
  261. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  262. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  263. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  264. package/.next-prod/server/app/api/review/users/route.js +1 -1
  265. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  266. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  267. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  268. package/.next-prod/server/app/api/services/config/route.js +1 -1
  269. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  270. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  271. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  272. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  273. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  274. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  275. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  276. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  277. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  278. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  279. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  280. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  281. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  282. package/.next-prod/server/app/api/sessions/route.js +1 -1
  283. package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
  284. package/.next-prod/server/app/api/settings/route.js +1 -1
  285. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  286. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  287. package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
  288. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  289. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  290. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  291. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  292. package/.next-prod/server/app/api/skills/route.js +1 -1
  293. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  294. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -0
  295. package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -0
  296. package/.next-prod/server/app/api/snapshots/blob/route_client-reference-manifest.js +1 -0
  297. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  298. package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
  299. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  300. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  301. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  302. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  303. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  304. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  305. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  306. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  307. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  308. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  309. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  310. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  311. package/.next-prod/server/app/api/update/route.js +1 -1
  312. package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
  313. package/.next-prod/server/app/api/update-state/route.js +1 -1
  314. package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
  315. package/.next-prod/server/app/api/version/route.js +1 -1
  316. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  317. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  318. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  319. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  320. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  321. package/.next-prod/server/app/m/page.js +1 -1
  322. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  323. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  324. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  325. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  326. package/.next-prod/server/app/page.js +1 -1
  327. package/.next-prod/server/app/page.js.nft.json +1 -1
  328. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  329. package/.next-prod/server/app/project/page.js +1 -1
  330. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  331. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  332. package/.next-prod/server/app/review/[id]/page.js +1 -1
  333. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  334. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  335. package/.next-prod/server/app-paths-manifest.json +4 -3
  336. package/.next-prod/server/chunks/2493.js +3 -3
  337. package/.next-prod/server/chunks/3286.js +3 -3
  338. package/.next-prod/server/chunks/{3641.js → 3583.js} +1 -1
  339. package/.next-prod/server/chunks/4949.js +1 -0
  340. package/.next-prod/server/chunks/516.js +1 -1
  341. package/.next-prod/server/chunks/5750.js +14 -14
  342. package/.next-prod/server/chunks/6548.js +1 -1
  343. package/.next-prod/server/chunks/7184.js +4 -4
  344. package/.next-prod/server/chunks/816.js +1 -1
  345. package/.next-prod/server/chunks/9312.js +1 -1
  346. package/.next-prod/server/chunks/9352.js +1 -1
  347. package/.next-prod/server/chunks/9830.js +1 -1
  348. package/.next-prod/server/middleware-build-manifest.js +1 -1
  349. package/.next-prod/server/pages/404.html +2 -2
  350. package/.next-prod/server/pages/500.html +1 -1
  351. package/.next-prod/server/server-reference-manifest.json +1 -1
  352. package/.next-prod/static/MM6vZhLQFwtUo_vz7BSfe/_buildManifest.js +1 -0
  353. package/.next-prod/static/chunks/33372-a2d65ba0d112fc24.js +35 -0
  354. package/.next-prod/static/chunks/46784-24ed72109d7c318b.js +716 -0
  355. package/.next-prod/static/chunks/{5504-583edbefcb22ed17.js → 87834-dfec736663e6aac2.js} +2 -2
  356. package/.next-prod/static/chunks/96911-08609dc685108dcc.js +15 -0
  357. package/.next-prod/static/chunks/app/_global-error/{page-c1a2c7e62ce669f7.js → page-db8b43ac5e6e9ac5.js} +1 -1
  358. package/.next-prod/static/chunks/app/api/agent/test/{route-c1a2c7e62ce669f7.js → route-db8b43ac5e6e9ac5.js} +1 -1
  359. package/.next-prod/static/chunks/app/api/bash/{route-c1a2c7e62ce669f7.js → route-db8b43ac5e6e9ac5.js} +1 -1
  360. package/.next-prod/static/chunks/app/api/chat/codex/{route-c1a2c7e62ce669f7.js → route-db8b43ac5e6e9ac5.js} +1 -1
  361. package/.next-prod/static/chunks/app/api/chat/deepseek/route-db8b43ac5e6e9ac5.js +1 -0
  362. package/.next-prod/static/chunks/app/api/chat/glm/route-db8b43ac5e6e9ac5.js +1 -0
  363. package/.next-prod/static/chunks/app/api/chat/kimi/route-db8b43ac5e6e9ac5.js +1 -0
  364. package/.next-prod/static/chunks/app/api/chat/ollama/route-db8b43ac5e6e9ac5.js +1 -0
  365. package/.next-prod/static/chunks/app/api/chat/route-db8b43ac5e6e9ac5.js +1 -0
  366. package/.next-prod/static/chunks/app/api/chat/stop/route-db8b43ac5e6e9ac5.js +1 -0
  367. package/.next-prod/static/chunks/app/api/claude-stats/route-db8b43ac5e6e9ac5.js +1 -0
  368. package/.next-prod/static/chunks/app/api/commands/route-db8b43ac5e6e9ac5.js +1 -0
  369. package/.next-prod/static/chunks/app/api/comments/route-db8b43ac5e6e9ac5.js +1 -0
  370. package/.next-prod/static/chunks/app/api/db/columns/route-db8b43ac5e6e9ac5.js +1 -0
  371. package/.next-prod/static/chunks/app/api/db/connect/route-db8b43ac5e6e9ac5.js +1 -0
  372. package/.next-prod/static/chunks/app/api/db/disconnect/route-db8b43ac5e6e9ac5.js +1 -0
  373. package/.next-prod/static/chunks/app/api/db/export/route-db8b43ac5e6e9ac5.js +1 -0
  374. package/.next-prod/static/chunks/app/api/db/query/route-db8b43ac5e6e9ac5.js +1 -0
  375. package/.next-prod/static/chunks/app/api/db/schemas/route-db8b43ac5e6e9ac5.js +1 -0
  376. package/.next-prod/static/chunks/app/api/deepseek/balance/route-db8b43ac5e6e9ac5.js +1 -0
  377. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-db8b43ac5e6e9ac5.js +1 -0
  378. package/.next-prod/static/chunks/app/api/deepseek/models/route-db8b43ac5e6e9ac5.js +1 -0
  379. package/.next-prod/static/chunks/app/api/dev/spans/route-db8b43ac5e6e9ac5.js +1 -0
  380. package/.next-prod/static/chunks/app/api/extension/version/route-db8b43ac5e6e9ac5.js +1 -0
  381. package/.next-prod/static/chunks/app/api/file/route-db8b43ac5e6e9ac5.js +1 -0
  382. package/.next-prod/static/chunks/app/api/files/blame/route-db8b43ac5e6e9ac5.js +1 -0
  383. package/.next-prod/static/chunks/app/api/files/clipboard/route-db8b43ac5e6e9ac5.js +1 -0
  384. package/.next-prod/static/chunks/app/api/files/copy/route-db8b43ac5e6e9ac5.js +1 -0
  385. package/.next-prod/static/chunks/app/api/files/delete/route-db8b43ac5e6e9ac5.js +1 -0
  386. package/.next-prod/static/chunks/app/api/files/expanded/route-db8b43ac5e6e9ac5.js +1 -0
  387. package/.next-prod/static/chunks/app/api/files/index/route-db8b43ac5e6e9ac5.js +1 -0
  388. package/.next-prod/static/chunks/app/api/files/init/route-db8b43ac5e6e9ac5.js +1 -0
  389. package/.next-prod/static/chunks/app/api/files/paste/route-db8b43ac5e6e9ac5.js +1 -0
  390. package/.next-prod/static/chunks/app/api/files/read/route-db8b43ac5e6e9ac5.js +1 -0
  391. package/.next-prod/static/chunks/app/api/files/readdir/route-db8b43ac5e6e9ac5.js +1 -0
  392. package/.next-prod/static/chunks/app/api/files/recent/route-db8b43ac5e6e9ac5.js +1 -0
  393. package/.next-prod/static/chunks/app/api/files/save/route-db8b43ac5e6e9ac5.js +1 -0
  394. package/.next-prod/static/chunks/app/api/files/search/route-db8b43ac5e6e9ac5.js +1 -0
  395. package/.next-prod/static/chunks/app/api/files/stat/route-db8b43ac5e6e9ac5.js +1 -0
  396. package/.next-prod/static/chunks/app/api/files/text/route-db8b43ac5e6e9ac5.js +1 -0
  397. package/.next-prod/static/chunks/app/api/git/blob/route-db8b43ac5e6e9ac5.js +1 -0
  398. package/.next-prod/static/chunks/app/api/git/branch-diff/route-db8b43ac5e6e9ac5.js +1 -0
  399. package/.next-prod/static/chunks/app/api/git/branches/route-db8b43ac5e6e9ac5.js +1 -0
  400. package/.next-prod/static/chunks/app/api/git/commit-diff/route-db8b43ac5e6e9ac5.js +1 -0
  401. package/.next-prod/static/chunks/app/api/git/commits/route-db8b43ac5e6e9ac5.js +1 -0
  402. package/.next-prod/static/chunks/app/api/git/current-branch/route-db8b43ac5e6e9ac5.js +1 -0
  403. package/.next-prod/static/chunks/app/api/git/diff/route-db8b43ac5e6e9ac5.js +1 -0
  404. package/.next-prod/static/chunks/app/api/git/discard/route-db8b43ac5e6e9ac5.js +1 -0
  405. package/.next-prod/static/chunks/app/api/git/stage/route-db8b43ac5e6e9ac5.js +1 -0
  406. package/.next-prod/static/chunks/app/api/git/status/route-db8b43ac5e6e9ac5.js +1 -0
  407. package/.next-prod/static/chunks/app/api/git/unstage/route-db8b43ac5e6e9ac5.js +1 -0
  408. package/.next-prod/static/chunks/app/api/git/worktree/route-db8b43ac5e6e9ac5.js +1 -0
  409. package/.next-prod/static/chunks/app/api/glm/credentials/route-db8b43ac5e6e9ac5.js +1 -0
  410. package/.next-prod/static/chunks/app/api/glm/models/route-db8b43ac5e6e9ac5.js +1 -0
  411. package/.next-prod/static/chunks/app/api/glm/usage/route-db8b43ac5e6e9ac5.js +1 -0
  412. package/.next-prod/static/chunks/app/api/global-state/route-db8b43ac5e6e9ac5.js +1 -0
  413. package/.next-prod/static/chunks/app/api/health/route-db8b43ac5e6e9ac5.js +1 -0
  414. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-db8b43ac5e6e9ac5.js +1 -0
  415. package/.next-prod/static/chunks/app/api/html-apps/route-db8b43ac5e6e9ac5.js +1 -0
  416. package/.next-prod/static/chunks/app/api/jupyter/load/route-db8b43ac5e6e9ac5.js +1 -0
  417. package/.next-prod/static/chunks/app/api/jupyter/save/route-db8b43ac5e6e9ac5.js +1 -0
  418. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-db8b43ac5e6e9ac5.js +1 -0
  419. package/.next-prod/static/chunks/app/api/kimi/credentials/route-db8b43ac5e6e9ac5.js +1 -0
  420. package/.next-prod/static/chunks/app/api/kimi/models/route-db8b43ac5e6e9ac5.js +1 -0
  421. package/.next-prod/static/chunks/app/api/kimi/usage/route-db8b43ac5e6e9ac5.js +1 -0
  422. package/.next-prod/static/chunks/app/api/lsp/definition/route-db8b43ac5e6e9ac5.js +1 -0
  423. package/.next-prod/static/chunks/app/api/lsp/hover/route-db8b43ac5e6e9ac5.js +1 -0
  424. package/.next-prod/static/chunks/app/api/lsp/references/route-db8b43ac5e6e9ac5.js +1 -0
  425. package/.next-prod/static/chunks/app/api/lsp/status/route-db8b43ac5e6e9ac5.js +1 -0
  426. package/.next-prod/static/chunks/app/api/lsp/warmup/route-db8b43ac5e6e9ac5.js +1 -0
  427. package/.next-prod/static/chunks/app/api/mysql/columns/route-db8b43ac5e6e9ac5.js +1 -0
  428. package/.next-prod/static/chunks/app/api/mysql/connect/route-db8b43ac5e6e9ac5.js +1 -0
  429. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-db8b43ac5e6e9ac5.js +1 -0
  430. package/.next-prod/static/chunks/app/api/mysql/export/route-db8b43ac5e6e9ac5.js +1 -0
  431. package/.next-prod/static/chunks/app/api/mysql/query/route-db8b43ac5e6e9ac5.js +1 -0
  432. package/.next-prod/static/chunks/app/api/mysql/schemas/route-db8b43ac5e6e9ac5.js +1 -0
  433. package/.next-prod/static/chunks/app/api/neo4j/connect/route-db8b43ac5e6e9ac5.js +1 -0
  434. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-db8b43ac5e6e9ac5.js +1 -0
  435. package/.next-prod/static/chunks/app/api/neo4j/query/route-db8b43ac5e6e9ac5.js +1 -0
  436. package/.next-prod/static/chunks/app/api/neo4j/schema/route-db8b43ac5e6e9ac5.js +1 -0
  437. package/.next-prod/static/chunks/app/api/note/route-db8b43ac5e6e9ac5.js +1 -0
  438. package/.next-prod/static/chunks/app/api/ollama/config/route-db8b43ac5e6e9ac5.js +1 -0
  439. package/.next-prod/static/chunks/app/api/ollama/models/route-db8b43ac5e6e9ac5.js +1 -0
  440. package/.next-prod/static/chunks/app/api/ollama/start/route-db8b43ac5e6e9ac5.js +1 -0
  441. package/.next-prod/static/chunks/app/api/open-cursor/route-db8b43ac5e6e9ac5.js +1 -0
  442. package/.next-prod/static/chunks/app/api/open-vscode/route-db8b43ac5e6e9ac5.js +1 -0
  443. package/.next-prod/static/chunks/app/api/pick-folder/route-db8b43ac5e6e9ac5.js +1 -0
  444. package/.next-prod/static/chunks/app/api/pinned-sessions/route-db8b43ac5e6e9ac5.js +1 -0
  445. package/.next-prod/static/chunks/app/api/project-settings/route-db8b43ac5e6e9ac5.js +1 -0
  446. package/.next-prod/static/chunks/app/api/project-state/route-db8b43ac5e6e9ac5.js +1 -0
  447. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-db8b43ac5e6e9ac5.js +1 -0
  448. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-db8b43ac5e6e9ac5.js +1 -0
  449. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-db8b43ac5e6e9ac5.js +1 -0
  450. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-db8b43ac5e6e9ac5.js +1 -0
  451. package/.next-prod/static/chunks/app/api/projectGraph/context/route-db8b43ac5e6e9ac5.js +1 -0
  452. package/.next-prod/static/chunks/app/api/projectGraph/file/route-db8b43ac5e6e9ac5.js +1 -0
  453. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-db8b43ac5e6e9ac5.js +1 -0
  454. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-db8b43ac5e6e9ac5.js +1 -0
  455. package/.next-prod/static/chunks/app/api/projectGraph/related/route-db8b43ac5e6e9ac5.js +1 -0
  456. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-db8b43ac5e6e9ac5.js +1 -0
  457. package/.next-prod/static/chunks/app/api/projectGraph/search/route-db8b43ac5e6e9ac5.js +1 -0
  458. package/.next-prod/static/chunks/app/api/projects/route-db8b43ac5e6e9ac5.js +1 -0
  459. package/.next-prod/static/chunks/app/api/prompts/config/route-db8b43ac5e6e9ac5.js +1 -0
  460. package/.next-prod/static/chunks/app/api/push/public-key/route-db8b43ac5e6e9ac5.js +1 -0
  461. package/.next-prod/static/chunks/app/api/push/subscribe/route-db8b43ac5e6e9ac5.js +1 -0
  462. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-db8b43ac5e6e9ac5.js +1 -0
  463. package/.next-prod/static/chunks/app/api/redis/command/route-db8b43ac5e6e9ac5.js +1 -0
  464. package/.next-prod/static/chunks/app/api/redis/connect/route-db8b43ac5e6e9ac5.js +1 -0
  465. package/.next-prod/static/chunks/app/api/redis/delete/route-db8b43ac5e6e9ac5.js +1 -0
  466. package/.next-prod/static/chunks/app/api/redis/disconnect/route-db8b43ac5e6e9ac5.js +1 -0
  467. package/.next-prod/static/chunks/app/api/redis/get/route-db8b43ac5e6e9ac5.js +1 -0
  468. package/.next-prod/static/chunks/app/api/redis/keys/route-db8b43ac5e6e9ac5.js +1 -0
  469. package/.next-prod/static/chunks/app/api/redis/set/route-db8b43ac5e6e9ac5.js +1 -0
  470. package/.next-prod/static/chunks/app/api/restart/route-db8b43ac5e6e9ac5.js +1 -0
  471. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-db8b43ac5e6e9ac5.js +1 -0
  472. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-db8b43ac5e6e9ac5.js +1 -0
  473. package/.next-prod/static/chunks/app/api/review/[id]/route-db8b43ac5e6e9ac5.js +1 -0
  474. package/.next-prod/static/chunks/app/api/review/identify/route-db8b43ac5e6e9ac5.js +1 -0
  475. package/.next-prod/static/chunks/app/api/review/order/route-db8b43ac5e6e9ac5.js +1 -0
  476. package/.next-prod/static/chunks/app/api/review/route-db8b43ac5e6e9ac5.js +1 -0
  477. package/.next-prod/static/chunks/app/api/review/share-info/route-db8b43ac5e6e9ac5.js +1 -0
  478. package/.next-prod/static/chunks/app/api/review/users/route-db8b43ac5e6e9ac5.js +1 -0
  479. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-db8b43ac5e6e9ac5.js +1 -0
  480. package/.next-prod/static/chunks/app/api/services/config/route-db8b43ac5e6e9ac5.js +1 -0
  481. package/.next-prod/static/chunks/app/api/services/scripts/route-db8b43ac5e6e9ac5.js +1 -0
  482. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-db8b43ac5e6e9ac5.js +1 -0
  483. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-db8b43ac5e6e9ac5.js +1 -0
  484. package/.next-prod/static/chunks/app/api/session-by-path/route-db8b43ac5e6e9ac5.js +1 -0
  485. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-db8b43ac5e6e9ac5.js +1 -0
  486. package/.next-prod/static/chunks/app/api/sessions/projects/route-db8b43ac5e6e9ac5.js +1 -0
  487. package/.next-prod/static/chunks/app/api/sessions/route-db8b43ac5e6e9ac5.js +1 -0
  488. package/.next-prod/static/chunks/app/api/settings/route-db8b43ac5e6e9ac5.js +1 -0
  489. package/.next-prod/static/chunks/app/api/shutdown/route-db8b43ac5e6e9ac5.js +1 -0
  490. package/.next-prod/static/chunks/app/api/skills/[id]/route-db8b43ac5e6e9ac5.js +1 -0
  491. package/.next-prod/static/chunks/app/api/skills/content/route-db8b43ac5e6e9ac5.js +1 -0
  492. package/.next-prod/static/chunks/app/api/skills/route-db8b43ac5e6e9ac5.js +1 -0
  493. package/.next-prod/static/chunks/app/api/snapshots/blob/route-db8b43ac5e6e9ac5.js +1 -0
  494. package/.next-prod/static/chunks/app/api/snapshots/diff/route-db8b43ac5e6e9ac5.js +1 -0
  495. package/.next-prod/static/chunks/app/api/snapshots/route-db8b43ac5e6e9ac5.js +1 -0
  496. package/.next-prod/static/chunks/app/api/terminal/aliases/route-db8b43ac5e6e9ac5.js +1 -0
  497. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-db8b43ac5e6e9ac5.js +1 -0
  498. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-db8b43ac5e6e9ac5.js +1 -0
  499. package/.next-prod/static/chunks/app/api/terminal/env/route-db8b43ac5e6e9ac5.js +1 -0
  500. package/.next-prod/static/chunks/app/api/terminal/history/route-db8b43ac5e6e9ac5.js +1 -0
  501. package/.next-prod/static/chunks/app/api/update/route-db8b43ac5e6e9ac5.js +1 -0
  502. package/.next-prod/static/chunks/app/api/update-state/route-db8b43ac5e6e9ac5.js +1 -0
  503. package/.next-prod/static/chunks/app/api/version/route-db8b43ac5e6e9ac5.js +1 -0
  504. package/.next-prod/static/chunks/app/apps/[...path]/route-db8b43ac5e6e9ac5.js +1 -0
  505. package/.next-prod/static/chunks/app/{layout-60f41d682cd860e9.js → layout-9585d7901d2a6c15.js} +1 -1
  506. package/.next-prod/static/chunks/app/m/{page-7eabf179a8b13f49.js → page-69cf611ceae66f33.js} +1 -1
  507. package/.next-prod/static/chunks/app/manifest.webmanifest/route-db8b43ac5e6e9ac5.js +1 -0
  508. package/.next-prod/static/chunks/app/page-340e8a5ca67a0dad.js +1 -0
  509. package/.next-prod/static/chunks/app/project/page-340e8a5ca67a0dad.js +1 -0
  510. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-db8b43ac5e6e9ac5.js +1 -0
  511. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-db8b43ac5e6e9ac5.js +1 -0
  512. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-db8b43ac5e6e9ac5.js +1 -0
  513. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-db8b43ac5e6e9ac5.js +1 -0
  514. package/.next-prod/static/css/303e8ac791ff3d31.css +1 -0
  515. package/.next-prod/trace +15 -14
  516. package/.next-prod/trace-build +1 -1
  517. package/.next-prod/types/app/api/snapshots/blob/route.ts +353 -0
  518. package/.next-prod/types/routes.d.ts +2 -1
  519. package/.next-prod/types/validator.ts +9 -0
  520. package/bin/cock-service.mjs +10 -8
  521. package/bin/cock.mjs +8 -6
  522. package/bin/postinstall.mjs +9 -8
  523. package/bin/updater.mjs +64 -26
  524. package/dist/{chunk-FBAFMLUC.mjs → chunk-6EMR3NZV.mjs} +9 -5
  525. package/dist/{chunk-ZE2JXL6E.mjs → chunk-ETYX2YQF.mjs} +141 -59
  526. package/dist/{chunk-H6AI4XJC.mjs → chunk-SGUW2QJI.mjs} +1 -1
  527. package/dist/httpApi.mjs +2 -2
  528. package/dist/scheduledTasks.mjs +187 -37
  529. package/dist/{server-HRP33LCV.mjs → server-C6LPAKPM.mjs} +2 -2
  530. package/dist/wsServer.mjs +8 -4
  531. package/package.json +6 -5
  532. package/public/html-lib/json-viewer.js +12 -12
  533. package/scripts/agentBinaries.mjs +86 -0
  534. package/.next-prod/server/chunks/9281.js +0 -1
  535. package/.next-prod/static/YOIsQRqVhYPuRyXlhwhoY/_buildManifest.js +0 -1
  536. package/.next-prod/static/chunks/33940-9631b513c48757f4.js +0 -35
  537. package/.next-prod/static/chunks/46784-031e2d50dc5f9fba.js +0 -716
  538. package/.next-prod/static/chunks/72353-f1aaa693ddc49568.js +0 -15
  539. package/.next-prod/static/chunks/app/api/chat/deepseek/route-c1a2c7e62ce669f7.js +0 -1
  540. package/.next-prod/static/chunks/app/api/chat/glm/route-c1a2c7e62ce669f7.js +0 -1
  541. package/.next-prod/static/chunks/app/api/chat/kimi/route-c1a2c7e62ce669f7.js +0 -1
  542. package/.next-prod/static/chunks/app/api/chat/ollama/route-c1a2c7e62ce669f7.js +0 -1
  543. package/.next-prod/static/chunks/app/api/chat/route-c1a2c7e62ce669f7.js +0 -1
  544. package/.next-prod/static/chunks/app/api/chat/stop/route-c1a2c7e62ce669f7.js +0 -1
  545. package/.next-prod/static/chunks/app/api/claude-stats/route-c1a2c7e62ce669f7.js +0 -1
  546. package/.next-prod/static/chunks/app/api/commands/route-c1a2c7e62ce669f7.js +0 -1
  547. package/.next-prod/static/chunks/app/api/comments/route-c1a2c7e62ce669f7.js +0 -1
  548. package/.next-prod/static/chunks/app/api/db/columns/route-c1a2c7e62ce669f7.js +0 -1
  549. package/.next-prod/static/chunks/app/api/db/connect/route-c1a2c7e62ce669f7.js +0 -1
  550. package/.next-prod/static/chunks/app/api/db/disconnect/route-c1a2c7e62ce669f7.js +0 -1
  551. package/.next-prod/static/chunks/app/api/db/export/route-c1a2c7e62ce669f7.js +0 -1
  552. package/.next-prod/static/chunks/app/api/db/query/route-c1a2c7e62ce669f7.js +0 -1
  553. package/.next-prod/static/chunks/app/api/db/schemas/route-c1a2c7e62ce669f7.js +0 -1
  554. package/.next-prod/static/chunks/app/api/deepseek/balance/route-c1a2c7e62ce669f7.js +0 -1
  555. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-c1a2c7e62ce669f7.js +0 -1
  556. package/.next-prod/static/chunks/app/api/deepseek/models/route-c1a2c7e62ce669f7.js +0 -1
  557. package/.next-prod/static/chunks/app/api/dev/spans/route-c1a2c7e62ce669f7.js +0 -1
  558. package/.next-prod/static/chunks/app/api/extension/version/route-c1a2c7e62ce669f7.js +0 -1
  559. package/.next-prod/static/chunks/app/api/file/route-c1a2c7e62ce669f7.js +0 -1
  560. package/.next-prod/static/chunks/app/api/files/blame/route-c1a2c7e62ce669f7.js +0 -1
  561. package/.next-prod/static/chunks/app/api/files/clipboard/route-c1a2c7e62ce669f7.js +0 -1
  562. package/.next-prod/static/chunks/app/api/files/copy/route-c1a2c7e62ce669f7.js +0 -1
  563. package/.next-prod/static/chunks/app/api/files/delete/route-c1a2c7e62ce669f7.js +0 -1
  564. package/.next-prod/static/chunks/app/api/files/expanded/route-c1a2c7e62ce669f7.js +0 -1
  565. package/.next-prod/static/chunks/app/api/files/index/route-c1a2c7e62ce669f7.js +0 -1
  566. package/.next-prod/static/chunks/app/api/files/init/route-c1a2c7e62ce669f7.js +0 -1
  567. package/.next-prod/static/chunks/app/api/files/paste/route-c1a2c7e62ce669f7.js +0 -1
  568. package/.next-prod/static/chunks/app/api/files/read/route-c1a2c7e62ce669f7.js +0 -1
  569. package/.next-prod/static/chunks/app/api/files/readdir/route-c1a2c7e62ce669f7.js +0 -1
  570. package/.next-prod/static/chunks/app/api/files/recent/route-c1a2c7e62ce669f7.js +0 -1
  571. package/.next-prod/static/chunks/app/api/files/save/route-c1a2c7e62ce669f7.js +0 -1
  572. package/.next-prod/static/chunks/app/api/files/search/route-c1a2c7e62ce669f7.js +0 -1
  573. package/.next-prod/static/chunks/app/api/files/stat/route-c1a2c7e62ce669f7.js +0 -1
  574. package/.next-prod/static/chunks/app/api/files/text/route-c1a2c7e62ce669f7.js +0 -1
  575. package/.next-prod/static/chunks/app/api/git/blob/route-c1a2c7e62ce669f7.js +0 -1
  576. package/.next-prod/static/chunks/app/api/git/branch-diff/route-c1a2c7e62ce669f7.js +0 -1
  577. package/.next-prod/static/chunks/app/api/git/branches/route-c1a2c7e62ce669f7.js +0 -1
  578. package/.next-prod/static/chunks/app/api/git/commit-diff/route-c1a2c7e62ce669f7.js +0 -1
  579. package/.next-prod/static/chunks/app/api/git/commits/route-c1a2c7e62ce669f7.js +0 -1
  580. package/.next-prod/static/chunks/app/api/git/current-branch/route-c1a2c7e62ce669f7.js +0 -1
  581. package/.next-prod/static/chunks/app/api/git/diff/route-c1a2c7e62ce669f7.js +0 -1
  582. package/.next-prod/static/chunks/app/api/git/discard/route-c1a2c7e62ce669f7.js +0 -1
  583. package/.next-prod/static/chunks/app/api/git/stage/route-c1a2c7e62ce669f7.js +0 -1
  584. package/.next-prod/static/chunks/app/api/git/status/route-c1a2c7e62ce669f7.js +0 -1
  585. package/.next-prod/static/chunks/app/api/git/unstage/route-c1a2c7e62ce669f7.js +0 -1
  586. package/.next-prod/static/chunks/app/api/git/worktree/route-c1a2c7e62ce669f7.js +0 -1
  587. package/.next-prod/static/chunks/app/api/glm/credentials/route-c1a2c7e62ce669f7.js +0 -1
  588. package/.next-prod/static/chunks/app/api/glm/models/route-c1a2c7e62ce669f7.js +0 -1
  589. package/.next-prod/static/chunks/app/api/glm/usage/route-c1a2c7e62ce669f7.js +0 -1
  590. package/.next-prod/static/chunks/app/api/global-state/route-c1a2c7e62ce669f7.js +0 -1
  591. package/.next-prod/static/chunks/app/api/health/route-c1a2c7e62ce669f7.js +0 -1
  592. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-c1a2c7e62ce669f7.js +0 -1
  593. package/.next-prod/static/chunks/app/api/html-apps/route-c1a2c7e62ce669f7.js +0 -1
  594. package/.next-prod/static/chunks/app/api/jupyter/load/route-c1a2c7e62ce669f7.js +0 -1
  595. package/.next-prod/static/chunks/app/api/jupyter/save/route-c1a2c7e62ce669f7.js +0 -1
  596. package/.next-prod/static/chunks/app/api/jupyter/shutdown/route-c1a2c7e62ce669f7.js +0 -1
  597. package/.next-prod/static/chunks/app/api/kimi/credentials/route-c1a2c7e62ce669f7.js +0 -1
  598. package/.next-prod/static/chunks/app/api/kimi/models/route-c1a2c7e62ce669f7.js +0 -1
  599. package/.next-prod/static/chunks/app/api/kimi/usage/route-c1a2c7e62ce669f7.js +0 -1
  600. package/.next-prod/static/chunks/app/api/lsp/definition/route-c1a2c7e62ce669f7.js +0 -1
  601. package/.next-prod/static/chunks/app/api/lsp/hover/route-c1a2c7e62ce669f7.js +0 -1
  602. package/.next-prod/static/chunks/app/api/lsp/references/route-c1a2c7e62ce669f7.js +0 -1
  603. package/.next-prod/static/chunks/app/api/lsp/status/route-c1a2c7e62ce669f7.js +0 -1
  604. package/.next-prod/static/chunks/app/api/lsp/warmup/route-c1a2c7e62ce669f7.js +0 -1
  605. package/.next-prod/static/chunks/app/api/mysql/columns/route-c1a2c7e62ce669f7.js +0 -1
  606. package/.next-prod/static/chunks/app/api/mysql/connect/route-c1a2c7e62ce669f7.js +0 -1
  607. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-c1a2c7e62ce669f7.js +0 -1
  608. package/.next-prod/static/chunks/app/api/mysql/export/route-c1a2c7e62ce669f7.js +0 -1
  609. package/.next-prod/static/chunks/app/api/mysql/query/route-c1a2c7e62ce669f7.js +0 -1
  610. package/.next-prod/static/chunks/app/api/mysql/schemas/route-c1a2c7e62ce669f7.js +0 -1
  611. package/.next-prod/static/chunks/app/api/neo4j/connect/route-c1a2c7e62ce669f7.js +0 -1
  612. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-c1a2c7e62ce669f7.js +0 -1
  613. package/.next-prod/static/chunks/app/api/neo4j/query/route-c1a2c7e62ce669f7.js +0 -1
  614. package/.next-prod/static/chunks/app/api/neo4j/schema/route-c1a2c7e62ce669f7.js +0 -1
  615. package/.next-prod/static/chunks/app/api/note/route-c1a2c7e62ce669f7.js +0 -1
  616. package/.next-prod/static/chunks/app/api/ollama/config/route-c1a2c7e62ce669f7.js +0 -1
  617. package/.next-prod/static/chunks/app/api/ollama/models/route-c1a2c7e62ce669f7.js +0 -1
  618. package/.next-prod/static/chunks/app/api/ollama/start/route-c1a2c7e62ce669f7.js +0 -1
  619. package/.next-prod/static/chunks/app/api/open-cursor/route-c1a2c7e62ce669f7.js +0 -1
  620. package/.next-prod/static/chunks/app/api/open-vscode/route-c1a2c7e62ce669f7.js +0 -1
  621. package/.next-prod/static/chunks/app/api/pick-folder/route-c1a2c7e62ce669f7.js +0 -1
  622. package/.next-prod/static/chunks/app/api/pinned-sessions/route-c1a2c7e62ce669f7.js +0 -1
  623. package/.next-prod/static/chunks/app/api/project-settings/route-c1a2c7e62ce669f7.js +0 -1
  624. package/.next-prod/static/chunks/app/api/project-state/route-c1a2c7e62ce669f7.js +0 -1
  625. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-c1a2c7e62ce669f7.js +0 -1
  626. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-c1a2c7e62ce669f7.js +0 -1
  627. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-c1a2c7e62ce669f7.js +0 -1
  628. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-c1a2c7e62ce669f7.js +0 -1
  629. package/.next-prod/static/chunks/app/api/projectGraph/context/route-c1a2c7e62ce669f7.js +0 -1
  630. package/.next-prod/static/chunks/app/api/projectGraph/file/route-c1a2c7e62ce669f7.js +0 -1
  631. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-c1a2c7e62ce669f7.js +0 -1
  632. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-c1a2c7e62ce669f7.js +0 -1
  633. package/.next-prod/static/chunks/app/api/projectGraph/related/route-c1a2c7e62ce669f7.js +0 -1
  634. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-c1a2c7e62ce669f7.js +0 -1
  635. package/.next-prod/static/chunks/app/api/projectGraph/search/route-c1a2c7e62ce669f7.js +0 -1
  636. package/.next-prod/static/chunks/app/api/projects/route-c1a2c7e62ce669f7.js +0 -1
  637. package/.next-prod/static/chunks/app/api/prompts/config/route-c1a2c7e62ce669f7.js +0 -1
  638. package/.next-prod/static/chunks/app/api/push/public-key/route-c1a2c7e62ce669f7.js +0 -1
  639. package/.next-prod/static/chunks/app/api/push/subscribe/route-c1a2c7e62ce669f7.js +0 -1
  640. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-c1a2c7e62ce669f7.js +0 -1
  641. package/.next-prod/static/chunks/app/api/redis/command/route-c1a2c7e62ce669f7.js +0 -1
  642. package/.next-prod/static/chunks/app/api/redis/connect/route-c1a2c7e62ce669f7.js +0 -1
  643. package/.next-prod/static/chunks/app/api/redis/delete/route-c1a2c7e62ce669f7.js +0 -1
  644. package/.next-prod/static/chunks/app/api/redis/disconnect/route-c1a2c7e62ce669f7.js +0 -1
  645. package/.next-prod/static/chunks/app/api/redis/get/route-c1a2c7e62ce669f7.js +0 -1
  646. package/.next-prod/static/chunks/app/api/redis/keys/route-c1a2c7e62ce669f7.js +0 -1
  647. package/.next-prod/static/chunks/app/api/redis/set/route-c1a2c7e62ce669f7.js +0 -1
  648. package/.next-prod/static/chunks/app/api/restart/route-c1a2c7e62ce669f7.js +0 -1
  649. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-c1a2c7e62ce669f7.js +0 -1
  650. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-c1a2c7e62ce669f7.js +0 -1
  651. package/.next-prod/static/chunks/app/api/review/[id]/route-c1a2c7e62ce669f7.js +0 -1
  652. package/.next-prod/static/chunks/app/api/review/identify/route-c1a2c7e62ce669f7.js +0 -1
  653. package/.next-prod/static/chunks/app/api/review/order/route-c1a2c7e62ce669f7.js +0 -1
  654. package/.next-prod/static/chunks/app/api/review/route-c1a2c7e62ce669f7.js +0 -1
  655. package/.next-prod/static/chunks/app/api/review/share-info/route-c1a2c7e62ce669f7.js +0 -1
  656. package/.next-prod/static/chunks/app/api/review/users/route-c1a2c7e62ce669f7.js +0 -1
  657. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-c1a2c7e62ce669f7.js +0 -1
  658. package/.next-prod/static/chunks/app/api/services/config/route-c1a2c7e62ce669f7.js +0 -1
  659. package/.next-prod/static/chunks/app/api/services/scripts/route-c1a2c7e62ce669f7.js +0 -1
  660. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-c1a2c7e62ce669f7.js +0 -1
  661. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-c1a2c7e62ce669f7.js +0 -1
  662. package/.next-prod/static/chunks/app/api/session-by-path/route-c1a2c7e62ce669f7.js +0 -1
  663. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-c1a2c7e62ce669f7.js +0 -1
  664. package/.next-prod/static/chunks/app/api/sessions/projects/route-c1a2c7e62ce669f7.js +0 -1
  665. package/.next-prod/static/chunks/app/api/sessions/route-c1a2c7e62ce669f7.js +0 -1
  666. package/.next-prod/static/chunks/app/api/settings/route-c1a2c7e62ce669f7.js +0 -1
  667. package/.next-prod/static/chunks/app/api/shutdown/route-c1a2c7e62ce669f7.js +0 -1
  668. package/.next-prod/static/chunks/app/api/skills/[id]/route-c1a2c7e62ce669f7.js +0 -1
  669. package/.next-prod/static/chunks/app/api/skills/content/route-c1a2c7e62ce669f7.js +0 -1
  670. package/.next-prod/static/chunks/app/api/skills/route-c1a2c7e62ce669f7.js +0 -1
  671. package/.next-prod/static/chunks/app/api/snapshots/diff/route-c1a2c7e62ce669f7.js +0 -1
  672. package/.next-prod/static/chunks/app/api/snapshots/route-c1a2c7e62ce669f7.js +0 -1
  673. package/.next-prod/static/chunks/app/api/terminal/aliases/route-c1a2c7e62ce669f7.js +0 -1
  674. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-c1a2c7e62ce669f7.js +0 -1
  675. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-c1a2c7e62ce669f7.js +0 -1
  676. package/.next-prod/static/chunks/app/api/terminal/env/route-c1a2c7e62ce669f7.js +0 -1
  677. package/.next-prod/static/chunks/app/api/terminal/history/route-c1a2c7e62ce669f7.js +0 -1
  678. package/.next-prod/static/chunks/app/api/update/route-c1a2c7e62ce669f7.js +0 -1
  679. package/.next-prod/static/chunks/app/api/update-state/route-c1a2c7e62ce669f7.js +0 -1
  680. package/.next-prod/static/chunks/app/api/version/route-c1a2c7e62ce669f7.js +0 -1
  681. package/.next-prod/static/chunks/app/apps/[...path]/route-c1a2c7e62ce669f7.js +0 -1
  682. package/.next-prod/static/chunks/app/manifest.webmanifest/route-c1a2c7e62ce669f7.js +0 -1
  683. package/.next-prod/static/chunks/app/page-e83cd7365efbf878.js +0 -1
  684. package/.next-prod/static/chunks/app/project/page-e83cd7365efbf878.js +0 -1
  685. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-c1a2c7e62ce669f7.js +0 -1
  686. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-c1a2c7e62ce669f7.js +0 -1
  687. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-c1a2c7e62ce669f7.js +0 -1
  688. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-c1a2c7e62ce669f7.js +0 -1
  689. package/.next-prod/static/css/45835d91c2519c62.css +0 -1
  690. package/scripts/claudeBinary.mjs +0 -38
  691. /package/.next-prod/static/{YOIsQRqVhYPuRyXlhwhoY → MM6vZhLQFwtUo_vz7BSfe}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/review/[id]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2228":{"*":{"id":"25608","name":"*","chunks":[],"async":true}},"3651":{"*":{"id":"77462","name":"*","chunks":[],"async":true}},"19736":{"*":{"id":"61130","name":"*","chunks":[],"async":false}},"21484":{"*":{"id":"77220","name":"*","chunks":[],"async":false}},"24058":{"*":{"id":"3588","name":"*","chunks":[],"async":true}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"27068":{"*":{"id":"5585","name":"*","chunks":[],"async":false}},"28898":{"*":{"id":"45354","name":"*","chunks":[],"async":false}},"47617":{"*":{"id":"29491","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"60865":{"*":{"id":"34001","name":"*","chunks":[],"async":true}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"62177":{"*":{"id":"45320","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"68016":{"*":{"id":"8366","name":"*","chunks":[],"async":true}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"76043":{"*":{"id":"83179","name":"*","chunks":[],"async":false}},"76288":{"*":{"id":"4462","name":"*","chunks":[],"async":false}},"76412":{"*":{"id":"38878","name":"*","chunks":[],"async":true}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"79968":{"*":{"id":"92608","name":"*","chunks":[],"async":false}},"82032":{"*":{"id":"12568","name":"*","chunks":[],"async":false}},"83519":{"*":{"id":"94481","name":"*","chunks":[],"async":false}},"83678":{"*":{"id":"77120","name":"*","chunks":[],"async":true}},"86481":{"*":{"id":"99033","name":"*","chunks":[],"async":true}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"87105":{"*":{"id":"8077","name":"*","chunks":[],"async":true}},"89039":{"*":{"id":"37129","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"93975":{"*":{"id":"79758","name":"*","chunks":[],"async":false}},"99324":{"*":{"id":"26188","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","7177","static/chunks/app/layout-60f41d682cd860e9.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","7177","static/chunks/app/layout-60f41d682cd860e9.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","7177","static/chunks/app/layout-60f41d682cd860e9.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/EmptyState.tsx":{"id":76288,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/I18nProvider.tsx":{"id":47617,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/NoteModal.tsx":{"id":60865,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/NoteToolbar.tsx":{"id":76043,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/ProjectItem.tsx":{"id":2228,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/ProjectSidebar.tsx":{"id":87105,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/Providers.tsx":{"id":27068,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/SessionBrowser.tsx":{"id":83678,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/SettingsModal.tsx":{"id":21484,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabBar.tsx":{"id":24058,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabManager.tsx":{"id":3651,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabManagerTopBar.tsx":{"id":76412,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/useTabState.ts":{"id":89039,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/Workspace.tsx":{"id":86481,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","58974","static/chunks/app/page-e83cd7365efbf878.js"],"async":true},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","5504","static/chunks/5504-583edbefcb22ed17.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","72353","static/chunks/72353-f1aaa693ddc49568.js","82032","static/chunks/82032-a6441511b27b4c03.js","33940","static/chunks/33940-9631b513c48757f4.js","7177","static/chunks/app/layout-60f41d682cd860e9.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["34219","static/chunks/app/global-error-6485c3d63584ad86.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/m/MobileClient.tsx":{"id":68016,"name":"*","chunks":[],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewHighlights.ts":{"id":99324,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewIdentity.ts":{"id":93975,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewCommentsListModal.tsx":{"id":19736,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewDropdown.tsx":{"id":82032,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewIdentitySettings.tsx":{"id":28898,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewListPanel.tsx":{"id":83519,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewPage.tsx":{"id":62177,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ShareReviewToggle.tsx":{"id":79968,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-031e2d50dc5f9fba.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/e33280be1b23649f.css"},{"inlined":false,"path":"static/css/52b314bf20332f7c.css"},{"inlined":false,"path":"static/css/45835d91c2519c62.css"}],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/page":[{"inlined":false,"path":"static/css/52b314bf20332f7c.css"}],"/home/runner/work/cockpit/cockpit/src/app/review/[id]/page":[{"inlined":false,"path":"static/css/52b314bf20332f7c.css"}]},"rscModuleMapping":{"2228":{"*":{"id":"85906","name":"*","chunks":[],"async":false}},"3651":{"*":{"id":"6612","name":"*","chunks":[],"async":false}},"19736":{"*":{"id":"63376","name":"*","chunks":[],"async":false}},"21484":{"*":{"id":"19562","name":"*","chunks":[],"async":false}},"24058":{"*":{"id":"83022","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"27068":{"*":{"id":"25702","name":"*","chunks":[],"async":false}},"28898":{"*":{"id":"42784","name":"*","chunks":[],"async":false}},"47617":{"*":{"id":"99829","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"60865":{"*":{"id":"24943","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"62177":{"*":{"id":"28820","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"68016":{"*":{"id":"75300","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"76043":{"*":{"id":"74837","name":"*","chunks":[],"async":false}},"76288":{"*":{"id":"55632","name":"*","chunks":[],"async":false}},"76412":{"*":{"id":"93448","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"79968":{"*":{"id":"74824","name":"*","chunks":[],"async":false}},"82032":{"*":{"id":"1134","name":"*","chunks":[],"async":false}},"83519":{"*":{"id":"20975","name":"*","chunks":[],"async":false}},"83678":{"*":{"id":"47938","name":"*","chunks":[],"async":false}},"86481":{"*":{"id":"84747","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"87105":{"*":{"id":"72399","name":"*","chunks":[],"async":false}},"89039":{"*":{"id":"65395","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"93975":{"*":{"id":"61169","name":"*","chunks":[],"async":false}},"99324":{"*":{"id":"73370","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/review/[id]/page"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{"2228":{"*":{"id":"25608","name":"*","chunks":[],"async":true}},"11428":{"*":{"id":"8077","name":"*","chunks":[],"async":true}},"19736":{"*":{"id":"61130","name":"*","chunks":[],"async":false}},"21484":{"*":{"id":"77220","name":"*","chunks":[],"async":false}},"24058":{"*":{"id":"3588","name":"*","chunks":[],"async":true}},"26719":{"*":{"id":"67045","name":"*","chunks":[],"async":false}},"27068":{"*":{"id":"5585","name":"*","chunks":[],"async":false}},"28898":{"*":{"id":"45354","name":"*","chunks":[],"async":false}},"47617":{"*":{"id":"29491","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"35421","name":"*","chunks":[],"async":false}},"60865":{"*":{"id":"34001","name":"*","chunks":[],"async":true}},"61304":{"*":{"id":"60440","name":"*","chunks":[],"async":false}},"62177":{"*":{"id":"45320","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"82265","name":"*","chunks":[],"async":false}},"68016":{"*":{"id":"8366","name":"*","chunks":[],"async":true}},"74581":{"*":{"id":"61335","name":"*","chunks":[],"async":false}},"76043":{"*":{"id":"83179","name":"*","chunks":[],"async":false}},"76288":{"*":{"id":"4462","name":"*","chunks":[],"async":false}},"76412":{"*":{"id":"38878","name":"*","chunks":[],"async":true}},"78616":{"*":{"id":"84342","name":"*","chunks":[],"async":false}},"79968":{"*":{"id":"92608","name":"*","chunks":[],"async":false}},"82032":{"*":{"id":"12568","name":"*","chunks":[],"async":false}},"83519":{"*":{"id":"94481","name":"*","chunks":[],"async":false}},"83678":{"*":{"id":"77120","name":"*","chunks":[],"async":true}},"85215":{"*":{"id":"77462","name":"*","chunks":[],"async":true}},"86481":{"*":{"id":"99033","name":"*","chunks":[],"async":true}},"86869":{"*":{"id":"74661","name":"*","chunks":[],"async":false}},"89039":{"*":{"id":"37129","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"70664","name":"*","chunks":[],"async":false}},"93975":{"*":{"id":"79758","name":"*","chunks":[],"async":false}},"99324":{"*":{"id":"26188","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-page.js":{"id":61304,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/client-segment.js":{"id":78616,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":64777,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/layout-router.js":{"id":57121,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":74581,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":90484,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":86869,"name":"*","chunks":[],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Inter\",\"arguments\":[{\"variable\":\"--font-inter\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"inter\"}":{"id":36791,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","7177","static/chunks/app/layout-9585d7901d2a6c15.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Lora\",\"arguments\":[{\"variable\":\"--font-lora\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"lora\"}":{"id":7815,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","7177","static/chunks/app/layout-9585d7901d2a6c15.js"],"async":false},"/home/runner/work/cockpit/cockpit/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"JetBrains_Mono\",\"arguments\":[{\"variable\":\"--font-jetbrains-mono\",\"subsets\":[\"latin\"],\"display\":\"swap\"}],\"variableName\":\"jetbrainsMono\"}":{"id":66924,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","7177","static/chunks/app/layout-9585d7901d2a6c15.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/EmptyState.tsx":{"id":76288,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/I18nProvider.tsx":{"id":47617,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/NoteModal.tsx":{"id":60865,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/NoteToolbar.tsx":{"id":76043,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/ProjectItem.tsx":{"id":2228,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/ProjectSidebar.tsx":{"id":11428,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/Providers.tsx":{"id":27068,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/SessionBrowser.tsx":{"id":83678,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/SettingsModal.tsx":{"id":21484,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabBar.tsx":{"id":24058,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabManager.tsx":{"id":85215,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/TabManagerTopBar.tsx":{"id":76412,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/useTabState.ts":{"id":89039,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/workspace/src/client/Workspace.tsx":{"id":86481,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","58974","static/chunks/app/page-340e8a5ca67a0dad.js"],"async":true},"/home/runner/work/cockpit/cockpit/src/app/globals.css":{"id":51743,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","75004","static/chunks/70e0d97a-75eb584ade68a079.js","60277","static/chunks/54a60aa6-21f9a2529b2526fe.js","1332","static/chunks/1332-e26fddaef359ce51.js","56819","static/chunks/56819-56e9c6ff8d86d236.js","87834","static/chunks/87834-dfec736663e6aac2.js","46784","static/chunks/46784-24ed72109d7c318b.js","96911","static/chunks/96911-08609dc685108dcc.js","82032","static/chunks/82032-a6441511b27b4c03.js","33372","static/chunks/33372-a2d65ba0d112fc24.js","7177","static/chunks/app/layout-9585d7901d2a6c15.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/global-error.tsx":{"id":26719,"name":"*","chunks":["34219","static/chunks/app/global-error-6485c3d63584ad86.js"],"async":false},"/home/runner/work/cockpit/cockpit/src/app/m/MobileClient.tsx":{"id":68016,"name":"*","chunks":[],"async":true},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewHighlights.ts":{"id":99324,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-24ed72109d7c318b.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/hooks/useReviewIdentity.ts":{"id":93975,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-24ed72109d7c318b.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewCommentsListModal.tsx":{"id":19736,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-24ed72109d7c318b.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewDropdown.tsx":{"id":82032,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-24ed72109d7c318b.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewIdentitySettings.tsx":{"id":28898,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-24ed72109d7c318b.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewListPanel.tsx":{"id":83519,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-24ed72109d7c318b.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ReviewPage.tsx":{"id":62177,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-24ed72109d7c318b.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false},"/home/runner/work/cockpit/cockpit/packages/feature/review/src/client/ShareReviewToggle.tsx":{"id":79968,"name":"*","chunks":["97330","static/chunks/d3ac728e-dc93aac611ac95be.js","88216","static/chunks/96c8525a-6b7e5168a47cf256.js","74281","static/chunks/bc21e3dd-47f022e305e45fcc.js","19268","static/chunks/aaea2bcf-f63852774dccb5b0.js","1332","static/chunks/1332-e26fddaef359ce51.js","49304","static/chunks/49304-7848b56387990680.js","52171","static/chunks/52171-41d0f10f184566b6.js","46784","static/chunks/46784-24ed72109d7c318b.js","82032","static/chunks/82032-a6441511b27b4c03.js","52951","static/chunks/app/review/%5Bid%5D/page-4be9d11f0ffb6c78.js"],"async":false}},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/":[],"/home/runner/work/cockpit/cockpit/src/app/layout":[{"inlined":false,"path":"static/css/e33280be1b23649f.css"},{"inlined":false,"path":"static/css/52b314bf20332f7c.css"},{"inlined":false,"path":"static/css/303e8ac791ff3d31.css"}],"/home/runner/work/cockpit/cockpit/src/app/global-error":[],"/home/runner/work/cockpit/cockpit/src/app/page":[{"inlined":false,"path":"static/css/52b314bf20332f7c.css"}],"/home/runner/work/cockpit/cockpit/src/app/review/[id]/page":[{"inlined":false,"path":"static/css/52b314bf20332f7c.css"}]},"rscModuleMapping":{"2228":{"*":{"id":"85906","name":"*","chunks":[],"async":false}},"11428":{"*":{"id":"72399","name":"*","chunks":[],"async":false}},"19736":{"*":{"id":"63376","name":"*","chunks":[],"async":false}},"21484":{"*":{"id":"19562","name":"*","chunks":[],"async":false}},"24058":{"*":{"id":"83022","name":"*","chunks":[],"async":false}},"26719":{"*":{"id":"81227","name":"*","chunks":[],"async":false}},"27068":{"*":{"id":"25702","name":"*","chunks":[],"async":false}},"28898":{"*":{"id":"42784","name":"*","chunks":[],"async":false}},"47617":{"*":{"id":"99829","name":"*","chunks":[],"async":false}},"51743":{"*":{"id":"61135","name":"*","chunks":[],"async":false}},"57121":{"*":{"id":"98099","name":"*","chunks":[],"async":false}},"60865":{"*":{"id":"24943","name":"*","chunks":[],"async":false}},"61304":{"*":{"id":"15098","name":"*","chunks":[],"async":false}},"62177":{"*":{"id":"28820","name":"*","chunks":[],"async":false}},"64777":{"*":{"id":"33859","name":"*","chunks":[],"async":false}},"68016":{"*":{"id":"75300","name":"*","chunks":[],"async":false}},"74581":{"*":{"id":"16237","name":"*","chunks":[],"async":false}},"76043":{"*":{"id":"74837","name":"*","chunks":[],"async":false}},"76288":{"*":{"id":"55632","name":"*","chunks":[],"async":false}},"76412":{"*":{"id":"93448","name":"*","chunks":[],"async":false}},"78616":{"*":{"id":"47644","name":"*","chunks":[],"async":false}},"79968":{"*":{"id":"74824","name":"*","chunks":[],"async":false}},"82032":{"*":{"id":"1134","name":"*","chunks":[],"async":false}},"83519":{"*":{"id":"20975","name":"*","chunks":[],"async":false}},"83678":{"*":{"id":"47938","name":"*","chunks":[],"async":false}},"85215":{"*":{"id":"6612","name":"*","chunks":[],"async":false}},"86481":{"*":{"id":"84747","name":"*","chunks":[],"async":false}},"86869":{"*":{"id":"36675","name":"*","chunks":[],"async":false}},"89039":{"*":{"id":"65395","name":"*","chunks":[],"async":false}},"90484":{"*":{"id":"98562","name":"*","chunks":[],"async":false}},"93975":{"*":{"id":"61169","name":"*","chunks":[],"async":false}},"99324":{"*":{"id":"73370","name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{}};
@@ -118,6 +118,7 @@
118
118
  "/api/skills/[id]/route": "app/api/skills/[id]/route.js",
119
119
  "/api/skills/content/route": "app/api/skills/content/route.js",
120
120
  "/api/skills/route": "app/api/skills/route.js",
121
+ "/api/snapshots/blob/route": "app/api/snapshots/blob/route.js",
121
122
  "/api/snapshots/diff/route": "app/api/snapshots/diff/route.js",
122
123
  "/api/snapshots/route": "app/api/snapshots/route.js",
123
124
  "/api/terminal/aliases/route": "app/api/terminal/aliases/route.js",
@@ -131,14 +132,14 @@
131
132
  "/api/extension/version/route": "app/api/extension/version/route.js",
132
133
  "/api/dev/spans/route": "app/api/dev/spans/route.js",
133
134
  "/api/health/route": "app/api/health/route.js",
134
- "/api/open-cursor/route": "app/api/open-cursor/route.js",
135
135
  "/api/note/route": "app/api/note/route.js",
136
+ "/api/open-cursor/route": "app/api/open-cursor/route.js",
136
137
  "/api/open-vscode/route": "app/api/open-vscode/route.js",
137
- "/api/pinned-sessions/route": "app/api/pinned-sessions/route.js",
138
138
  "/api/pick-folder/route": "app/api/pick-folder/route.js",
139
+ "/api/pinned-sessions/route": "app/api/pinned-sessions/route.js",
139
140
  "/api/project-settings/route": "app/api/project-settings/route.js",
140
- "/api/projects/route": "app/api/projects/route.js",
141
141
  "/api/project-state/route": "app/api/project-state/route.js",
142
+ "/api/projects/route": "app/api/projects/route.js",
142
143
  "/api/prompts/config/route": "app/api/prompts/config/route.js",
143
144
  "/api/restart/route": "app/api/restart/route.js",
144
145
  "/api/services/config/route": "app/api/services/config/route.js",
@@ -1,5 +1,5 @@
1
- exports.id=2493,exports.ids=[2493],exports.modules={770:(a,b,c)=>{"use strict";c.d(b,{Sh:()=>l,Yv:()=>h,i_:()=>k,m_:()=>j,n_:()=>f,uU:()=>g,uV:()=>e,yI:()=>i});var d=c(59412);class e extends d.rN("AppError"){}class f extends d.rN("DBError"){}d.rN("WSError");class g extends d.rN("FSError"){}class h extends d.rN("AgentError"){}class i extends d.rN("ValidationError"){}class j extends d.rN("NotFoundError"){}class k extends d.rN("PermissionError"){}let l=a=>{switch(a._tag){case"ValidationError":return 400;case"PermissionError":return 403;case"NotFoundError":return 404;case"DBError":case"FSError":case"AgentError":case"WSError":return 503;default:return 500}}},1085:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{T:()=>k,z:()=>j});var e=c(89705),f=c(7517),g=c(19879),h=c(770),i=a([g]);g=(i.then?(await i)():i)[0];let j=(a,b)=>e.JkU(function*(){let c,d=yield*f.sZ3(k(a,b)),e="";for(let a of d)"text"===a._tag?e+=a.delta:"done"===a._tag&&(c=a.usage);return{message:{role:"assistant",content:e},usage:c}}).pipe(e.fRP("agent.chat",{attributes:{provider:a.provider,model:a.model}})),k=(a,b)=>f.bIC(c=>{let d,f,i=a.provider,j=(d=((a,b)=>{switch(a){case"claude":return b?{apiKey:b}:{};case"codex":return{baseUrl:"https://api.openai.com/v1",apiKey:b};case"kimi":return{baseUrl:"https://api.kimi.com/coding/",apiKey:b};case"deepseek":return{baseUrl:"https://api.deepseek.com/anthropic",apiKey:b};case"glm":return{baseUrl:"https://open.bigmodel.cn/api/anthropic",apiKey:b};case"ollama":return{}}})(a.provider,b),{model:a.model,env:{...process.env,...d.baseUrl?{ANTHROPIC_BASE_URL:d.baseUrl}:{},...d.apiKey?{ANTHROPIC_API_KEY:d.apiKey}:{}}}),k=(f=[...a.messages].reverse().find(a=>"user"===a.role),f?.content??""),l=!1;return(async()=>{try{for await(let a of(0,g.query)({prompt:k,options:j})){if(l)break;if("assistant"===a.type&&a.message?.content)for(let b of a.message.content)"text"===b.type&&b.text&&c.single({_tag:"text",delta:b.text});"result"===a.type&&c.single({_tag:"done",usage:a.usage?{inputTokens:a.usage.input_tokens??0,outputTokens:a.usage.output_tokens??0}:void 0})}c.end()}catch(a){c.fail(new h.Yv({provider:i,kind:"protocol",cause:a}))}})(),e.OH5(()=>{l=!0})});d()}catch(a){d(a)}})},2827:(a,b,c)=>{"use strict";c.d(b,{j:()=>j,t:()=>i});var d=c(89705),e=c(7517),f=c(78497),g=c(770),h=c(39876);let i=a=>d.JkU(function*(){let b,c=yield*e.sZ3(j(a)),d="";for(let a of c)"text"===a._tag?d+=a.delta:"done"===a._tag&&(b=a.usage);return{message:{role:"assistant",content:d},usage:b}}).pipe(d.fRP("agent.chat",{attributes:{provider:"ollama",model:a.model}})),j=a=>e.bIC(b=>{let c=new AbortController;return(async()=>{try{let d=await (0,h.q)(a.model);for await(let e of(0,f.gM)({model:d,messages:a.messages.map(a=>({role:a.role,content:a.content})),temperature:a.temperature??0,abortSignal:c.signal}).fullStream)if("text-delta"===e.type){let a=e.text;a&&b.single({_tag:"text",delta:a})}else if("finish"===e.type){let a=e.totalUsage;b.single({_tag:"done",usage:a?{inputTokens:a.inputTokens??0,outputTokens:a.outputTokens??0}:void 0})}b.end()}catch(a){b.fail(new g.Yv({provider:"ollama",kind:"protocol",cause:a}))}})(),d.OH5(()=>c.abort())})},8155:(a,b,c)=>{"use strict";c.d(b,{D:()=>r,c:()=>q});var d=c(44853),e=c(89705),f=c(1971);let g=d.eu("dev","prod")("COCKPIT_ENV").pipe(d.IQ("prod")),h=d.Yj("COCKPIT_HOST").pipe(d.IQ("127.0.0.1")),i=d.nd("COCKPIT_PORT").pipe(d.NW(()=>d.nd("PORT")),d.IQ(3457)),j=d.uK(d.Yj("COCKPIT_OPEN_PROJECT")).pipe(d.Tj(a=>"Some"===a._tag?a.value:void 0)),k=d.zM("COCKPIT_NO_OPEN").pipe(d.IQ(!1)),l=d.Yj("COCKPIT_LOG_LEVEL").pipe(d.IQ("info")),m=d.nd("COCKPIT_SNAPSHOT_KEEP_DAYS").pipe(d.IQ(7)),n=d.nd("COCKPIT_SNAPSHOT_REPO_TTL_DAYS").pipe(d.IQ(30)),o=d.nd("COCKPIT_SNAPSHOT_MAX_FILE_KB").pipe(d.IQ(2048)),p=d.nd("COCKPIT_SESSION_KEEP_DAYS").pipe(d.IQ(30)),q=e.JkU(function*(){let a=yield*g,b=yield*h,c=yield*i,d=yield*j,f=yield*k,q=yield*l,r=yield*m,s=yield*n,t=yield*o,u=yield*p,v=yield*e.OH5(()=>{let a="u">typeof process?process.env:void 0,b=a?.HOME||a?.USERPROFILE||".",c=a?.COCKPIT_HOME;return c?c.replace(/^~(?=$|\/)/,b):b+"/.cockpit"});return{env:a,host:b,port:3457===c&&"dev"===a?3456:c,cockpitDir:v,openProject:d,openBrowser:!f,logLevel:q,logFile:v+"/logs/cockpit.log",snapshotKeepDays:r,snapshotRepoTtlDays:s,snapshotMaxFileKb:t,sessionKeepDays:u}}).pipe(e.QgK),r=f.Ie},12490:(a,b,c)=>{"use strict";c.d(b,{n:()=>p});var d=c(51455),e=c(76760),f=c(89705),g=c(60177),h=c(1971),i=c(15825),j=c(770),k=c(8155),l=c(7939);let m=(a,b)=>f.$mh({try:b,catch:b=>new j.uV({message:`session cleanup fs ${a} failed`,cause:b})}),n=a=>m("stat",()=>(0,d.stat)(a).then(a=>a.isDirectory())).pipe(f.DM4(()=>!1)),o=g.Io("@cockpit/SessionCleanupService"),p=h.P1(o,f.JkU(function*(){let a=yield*k.c,b=l.qC.map(b=>(0,e.join)(a.cockpitDir,b)),c=(0,e.join)(a.cockpitDir,"pinned-sessions.json"),g=Math.max(1,a.sessionKeepDays),h=f.jJl(b,a=>f.JkU(function*(){let b=yield*f.$mh({try:async()=>{let a;try{a=await (0,d.readFile)(c,"utf8")}catch(a){if(a?.code==="ENOENT")return{ok:!0,ids:new Set};throw a}let b=JSON.parse(a),e=new Set;for(let a of Array.isArray(b)?b:[])a&&"string"==typeof a.sessionId&&e.add(a.sessionId);return{ok:!0,ids:e}},catch:()=>null}).pipe(f.DM4(()=>({ok:!1})));if(!b.ok)return void(yield*f.FFw("session cleanup: pinned-sessions.json is unreadable/corrupt -- skipping this pass (refusing to risk deleting protected sessions)"));let h=Date.now()-864e5*g;for(let c of yield*m("readdir root",()=>(0,d.readdir)(a)).pipe(f.DM4(()=>[]))){let i=(0,e.join)(a,c);if(!(yield*n(i)))continue;let j=yield*m("readdir cwd",()=>(0,d.readdir)(i)).pipe(f.DM4(()=>[])),k=new Map;for(let a of j){let b=(0,e.join)(i,a);if(a.endsWith(".jsonl")){let c=a.slice(0,-6),d=k.get(c)??{};d.jsonl=b,k.set(c,d)}else if(yield*n(b)){let c=k.get(a)??{};c.subdir=b,k.set(a,c)}}for(let[e,i]of k){if(b.ids.has(e))continue;let j=i.jsonl??i.subdir;j&&((yield*m("stat basis",()=>(0,d.stat)(j).then(a=>a.mtimeMs)).pipe(f.DM4(()=>1/0)))>=h||(i.jsonl&&(yield*m("rm jsonl",()=>(0,d.rm)(i.jsonl,{force:!0})).pipe(f.DM4(()=>void 0))),i.subdir&&(yield*m("rm subdir",()=>(0,d.rm)(i.subdir,{recursive:!0,force:!0})).pipe(f.DM4(()=>void 0))),yield*f.fH4(`session cleanup: removed session ${e} from ${a} under ${c} (older than ${g}d)`)))}0===(yield*m("readdir cwd (recount)",()=>(0,d.readdir)(i)).pipe(f.DM4(()=>["keep"]))).length&&(yield*m("rmdir cwd",()=>(0,d.rmdir)(i)).pipe(f.DM4(()=>void 0)))}}).pipe(f.fRP("session.cleanup")),{discard:!0});return yield*f.x6Z(h.pipe(f.h9N(a=>f.FFw(`session cleanup failed: ${a.message}`)),f.uxO(i.ji("24 hours")))),o.of({cleanup:h})}))},17329:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{x:()=>m});var e=c(89705),f=c(1971),g=c(90828),h=c(46303),i=c(1085),j=c(2827),k=a([i]);i=(k.then?(await k)():k)[0];let l=new Set(["rate-limit","timeout","unknown"]),m=f.Py(h.N,h.N.of({chat:a=>(a=>{switch(a.provider){case"ollama":return(0,j.t)(a);case"claude":case"codex":case"kimi":case"deepseek":case"glm":return(0,i.z)(a)}})(a).pipe(e.L5P({schedule:g.ic,while:a=>l.has(a.kind)})),stream:a=>(a=>{switch(a.provider){case"ollama":return(0,j.j)(a);case"claude":case"codex":case"kimi":case"deepseek":case"glm":return(0,i.T)(a)}})(a)}));d()}catch(a){d(a)}})},18702:(a,b,c)=>{"use strict";c.d(b,{u:()=>o});var d=c(89705),e=c(55235),f=c(1971),g=c(770),h=c(49818),i=c(15147),j=c.n(i);async function k(a){let b=new URL(a),c=b.protocol.replace(":",""),d=b.hostname,e=b.port||"7687",f=decodeURIComponent(b.username||"neo4j"),g=decodeURIComponent(b.password||""),h=`${c}://${d}:${e}`,i=j().driver(h,j().auth.basic(f,g));return await i.verifyConnectivity(),i}async function l(a,b,c){let d=a.session();try{let a=Date.now(),e=await d.run(b,c||{}),f=Date.now()-a;return{records:e.records.map(a=>{let b={};for(let c of a.keys)b[c]=function a(b){return null==b?null:j().isInt(b)?b.toNumber():b&&"object"==typeof b&&"labels"in b&&"properties"in b?{_type:"node",_id:a(b.identity),_labels:b.labels,...Object.fromEntries(Object.entries(b.properties).map(([b,c])=>[b,a(c)]))}:b&&"object"==typeof b&&"type"in b&&"start"in b&&"end"in b&&"properties"in b?{_type:"relationship",_id:a(b.identity),_relType:b.type,_start:a(b.start),_end:a(b.end),...Object.fromEntries(Object.entries(b.properties).map(([b,c])=>[b,a(c)]))}:b&&"object"==typeof b&&"segments"in b?{_type:"path",segments:b.segments.map(b=>({start:a(b.start),relationship:a(b.relationship),end:a(b.end)}))}:Array.isArray(b)?b.map(b=>a(b)):b&&"object"==typeof b&&b.constructor===Object?Object.fromEntries(Object.entries(b).map(([b,c])=>[b,a(c)])):b}(a.get(c));return b}),keys:e.records.length>0?e.records[0].keys:[],duration:f,counters:e.summary.counters.updates()}}finally{await d.close()}}let m=(a,b)=>d.$mh({try:b,catch:b=>new g.n_({db:"neo4j",op:a,cause:b})}),n=(a,b,c)=>d.JkU(function*(){let f=(yield*e.Jt(a)).get(b);if(f&&f.connectionString===c)return f.driver;f&&(yield*m("close",()=>f.driver.close()).pipe(d.NWQ(()=>d.rIH)));let g=yield*m("createDriver",()=>k(c));return yield*e.yo(a,a=>{let d=new Map(a);return d.set(b,{driver:g,connectionString:c,createdAt:Date.now()}),d}),g}),o=f.P1(h.ge,d.JkU(function*(){let a=yield*e.L8(new Map);return yield*d.U9h(()=>d.JkU(function*(){let b=yield*e.Jt(a);for(let{driver:a}of b.values())yield*d.$mh({try:()=>a.close(),catch:a=>new g.n_({db:"neo4j",op:"shutdown close",cause:a})}).pipe(d.NWQ(()=>d.rIH));yield*e.hZ(a,new Map),yield*d.fH4(`[Neo4jServiceLive] disposed ${b.size} driver(s)`)})),h.ge.of({run:(b,c,e,f)=>d.JkU(function*(){let d=yield*n(a,b,c);return(yield*m("run",()=>l(d,e,f))).records}).pipe(d.fRP("neo4j.run",{attributes:{id:b}})),runWithMeta:(b,c,e,f)=>d.JkU(function*(){let d=yield*n(a,b,c),g=yield*m("runWithMeta",()=>l(d,e,f));return{records:g.records,keys:g.keys,duration:g.duration,counters:g.counters}}).pipe(d.fRP("neo4j.runWithMeta",{attributes:{id:b}})),disconnect:b=>d.JkU(function*(){let c=(yield*e.Jt(a)).get(b);c&&(yield*m("disconnect",()=>c.driver.close()).pipe(d.NWQ(()=>d.rIH)),yield*e.yo(a,a=>{let c=new Map(a);return c.delete(b),c}))})})}))},25470:(a,b,c)=>{"use strict";c.d(b,{A:()=>l});var d=c(89705),e=c(55235),f=c(1971),g=c(38491),h=c(770),i=c(49818);let j=(a,b)=>d.$mh({try:b,catch:b=>new h.n_({db:"mysql",op:a,cause:b})}),k=(a,b,c)=>d.JkU(function*(){let f=(yield*e.Jt(a)).get(b);if(f&&f.connectionString===c)return f.pool;f&&(yield*j("end",()=>f.pool.end()).pipe(d.NWQ(()=>d.rIH)));let h=g.createPool({uri:c,connectionLimit:5,idleTimeout:6e4,connectTimeout:1e4});return yield*e.yo(a,a=>{let d=new Map(a);return d.set(b,{pool:h,connectionString:c,createdAt:Date.now()}),d}),h}),l=f.P1(i.M9,d.JkU(function*(){let a=yield*e.L8(new Map);return yield*d.U9h(()=>d.JkU(function*(){let b=yield*e.Jt(a);for(let{pool:a}of b.values())yield*d.$mh({try:()=>a.end(),catch:a=>new h.n_({db:"mysql",op:"shutdown end",cause:a})}).pipe(d.NWQ(()=>d.rIH));yield*e.hZ(a,new Map),yield*d.fH4(`[MySQLServiceLive] disposed ${b.size} pool(s)`)})),i.M9.of({query:(b,c,e,f)=>d.JkU(function*(){let d=yield*k(a,b,c),[g]=yield*j("query",()=>d.query(e,f));return g}).pipe(d.fRP("mysql.query",{attributes:{id:b}})),queryWithMeta:(b,c,e,f)=>d.JkU(function*(){let d=yield*k(a,b,c),g=performance.now(),[h,i]=yield*j("queryWithMeta",()=>d.query(e,f)),l=Math.round((performance.now()-g)*100)/100;return Array.isArray(h)&&Array.isArray(i)?{rows:h,fields:i.map(a=>({name:a.name,dataTypeID:a.columnType??0})),rowCount:h.length,command:null,duration:l}:{rows:[],fields:null,rowCount:h.affectedRows??0,command:e.trim().split(/\s+/)[0]?.toUpperCase()||"QUERY",duration:l}}).pipe(d.fRP("mysql.queryWithMeta",{attributes:{id:b}})),withTx:(b,c,e)=>d.JkU(function*(){let f=yield*k(a,b,c),g=yield*j("getConnection",()=>f.getConnection());return yield*j("BEGIN",()=>g.beginTransaction()),yield*e({query:(a,b)=>j("tx.query",()=>g.query(a,b).then(([a])=>a))}).pipe(d.Bio({onSuccess:()=>j("COMMIT",()=>g.commit()),onFailure:()=>j("ROLLBACK",()=>g.rollback()).pipe(d.NWQ(()=>d.rIH))}),d.yeE(d.OH5(()=>g.release())))}).pipe(d.fRP("mysql.withTx",{attributes:{id:b}})),disconnect:b=>d.JkU(function*(){let c=(yield*e.Jt(a)).get(b);c&&(yield*j("disconnect",()=>c.pool.end()).pipe(d.NWQ(()=>d.rIH)),yield*e.yo(a,a=>{let c=new Map(a);return c.delete(b),c}))})})}))},28303:a=>{function b(a){var b=Error("Cannot find module '"+a+"'");throw b.code="MODULE_NOT_FOUND",b}b.keys=()=>[],b.resolve=b,b.id=28303,a.exports=b},34104:(a,b,c)=>{"use strict";c.d(b,{I:()=>i});var d=c(89705),e=c(1971),f=c(770),g=c(49818);let h=a=>d.fJG(new f.n_({db:"mongo",op:a,cause:Error("MongoServiceLive not implemented (mongodb driver not installed)")})),i=e.Py(g.g8,g.g8.of({find:()=>h("find"),command:()=>h("command"),disconnect:()=>d.rIH}))},34168:(a,b,c)=>{"use strict";c.d(b,{M:()=>d});let d=c(60177).Io("@cockpit/SnapshotService")},35765:(a,b,c)=>{"use strict";c.d(b,{fI:()=>h,yh:()=>j});var d=c(64396),e=c(1971),f=c(78820);let g=a=>{switch((a??"").toLowerCase()){case"all":return d.u8;case"trace":return d.Cn;case"debug":return d.y;case"info":default:return d.R2;case"warning":case"warn":return d.N5;case"error":return d.$D;case"fatal":return d.Lj;case"none":return d.NV}},h=e.Um(f.j9,f.dl(g(process.env.COCKPIT_LOG_LEVEL))),i=async(a,b)=>{let{appendFile:d,mkdir:e}=await Promise.resolve().then(c.t.bind(c,79748,23)),{dirname:f}=await Promise.resolve().then(c.t.bind(c,33873,23));try{await e(f(b),{recursive:!0}),await d(b,a+"\n","utf-8")}catch{}},j=a=>e.Um(f.j9,f.WQ(f.L8(({logLevel:b,message:c,date:d,fiberId:e,spans:f,annotations:g})=>{i(JSON.stringify({time:d.toISOString(),level:b.label,fiber:"object"==typeof e&&null!==e&&"id"in e?e.id:String(e),msg:Array.isArray(c)&&1===c.length?c[0]:c,spans:Array.from(f).map(a=>({label:a.label,startTime:a.startTime})),annotations:Object.fromEntries(g)}),a)})),f.dl(g(process.env.COCKPIT_LOG_LEVEL)))},37871:(a,b,c)=>{"use strict";c.d(b,{P:()=>n});var d=c(89705),e=c(55235),f=c(7517),g=c(20473),h=c(1971),i=c(79298),j=c.n(i),k=c(770),l=c(49818);let m=(a,b)=>d.$mh({try:b,catch:b=>new k.n_({db:"redis",op:a,cause:b})}),n=h.P1(l.HE,d.JkU(function*(){let a=yield*e.L8(new Map);return yield*d.U9h(()=>d.JkU(function*(){let b=yield*e.Jt(a);for(let{client:a}of b.values())yield*d.$mh({try:()=>a.quit(),catch:a=>new k.n_({db:"redis",op:"shutdown quit",cause:a})}).pipe(d.NWQ(()=>d.rIH));yield*e.hZ(a,new Map),yield*d.fH4(`[RedisServiceLive] disposed ${b.size} client(s)`)})),l.HE.of({command:(b,c,f,g)=>d.JkU(function*(){let h=yield*d.JkU(function*(){let f=(yield*e.Jt(a)).get(b);if(f&&f.connectionString===c){if("ready"===f.client.status)return f.client;yield*m("quit",()=>f.client.quit()).pipe(d.NWQ(()=>d.rIH))}else f&&(yield*m("quit",()=>f.client.quit()).pipe(d.NWQ(()=>d.rIH)));let g=yield*m("connect",async()=>{let a=new(j())(c,{lazyConnect:!0,connectTimeout:1e4,maxRetriesPerRequest:1});return await a.connect(),a});return yield*e.yo(a,a=>{let d=new Map(a);return d.set(b,{client:g,connectionString:c,createdAt:Date.now()}),d}),g});return yield*m("call",()=>h.call(f,...g??[]))}).pipe(d.fRP("redis.command",{attributes:{id:b,cmd:f}})),subscribe:(a,b,c)=>f.A2M(d.JkU(function*(){let a=yield*g.dT(),e=yield*d.Q56(m("subscribeConnect",async()=>{let a=new(j())(b,{lazyConnect:!0,connectTimeout:1e4,maxRetriesPerRequest:1});return await a.connect(),a}),a=>d.$mh({try:()=>a.quit(),catch:()=>new k.n_({db:"redis",op:"subscribeQuit",cause:null})}).pipe(d.NWQ(()=>d.rIH))),h=c.includes("*")||c.includes("?");return yield*m("psubscribe",()=>h?e.psubscribe(c):e.subscribe(c)),e.on(h?"pmessage":"message",(...b)=>{let c=h?b[1]:b[0],e=h?b[2]:b[1];d.MY7(g.x(a,{channel:c,message:e}))}),f.gJc(a)})),disconnect:b=>d.JkU(function*(){let c=(yield*e.Jt(a)).get(b);c&&(yield*m("disconnect",()=>c.client.quit()).pipe(d.NWQ(()=>d.rIH)),yield*e.yo(a,a=>{let c=new Map(a);return c.delete(b),c}))})})}))},38003:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{H:()=>p});var e=c(89705),f=c(55235),g=c(1971),h=c(7517),i=c(64939),j=c(770),k=c(49818),l=a([i]);let{Pool:m}=(i=(l.then?(await l)():l)[0]).default,n=(a,b)=>e.$mh({try:b,catch:b=>new j.n_({db:"pg",op:a,cause:b})}),o=(a,b,c)=>e.JkU(function*(){let d=(yield*f.Jt(a)).get(b);if(d&&d.connectionString===c)return d.pool;d&&(yield*n("end",()=>d.pool.end()).pipe(e.NWQ(()=>e.rIH)));let g=new m({connectionString:c,max:5,idleTimeoutMillis:6e4,connectionTimeoutMillis:1e4});return yield*f.yo(a,a=>{let d=new Map(a);return d.set(b,{pool:g,connectionString:c,createdAt:Date.now()}),d}),g}),p=g.P1(k.HG,e.JkU(function*(){let a=yield*f.L8(new Map);return yield*e.U9h(()=>e.JkU(function*(){let b=yield*f.Jt(a);for(let{pool:a}of b.values())yield*e.$mh({try:()=>a.end(),catch:a=>new j.n_({db:"pg",op:"shutdown end",cause:a})}).pipe(e.NWQ(()=>e.rIH));yield*f.hZ(a,new Map),yield*e.fH4(`[PgServiceLive] disposed ${b.size} pool(s)`)})),k.HG.of({query:(b,c,d,f)=>e.JkU(function*(){let e=yield*o(a,b,c);return(yield*n("query",()=>e.query(d,f))).rows}).pipe(e.fRP("pg.query",{attributes:{id:b}})),queryWithMeta:(b,c,d,f)=>e.JkU(function*(){let e=yield*o(a,b,c),g=performance.now(),h=yield*n("queryWithMeta",()=>e.query(d,f)),i=Math.round((performance.now()-g)*100)/100;return{rows:h.rows??[],fields:h.fields?h.fields.map(a=>({name:a.name,dataTypeID:a.dataTypeID})):null,rowCount:h.rowCount??null,command:h.command??null,duration:i}}).pipe(e.fRP("pg.queryWithMeta",{attributes:{id:b}})),stream:(b,c,d,f)=>h.oAg(e.JkU(function*(){let e=yield*o(a,b,c),g=yield*n("query",()=>e.query(d,f));return h.Tsr(g.rows)})),withTx:(b,c,d)=>e.JkU(function*(){let f=yield*o(a,b,c),g=yield*n("connect",()=>f.connect());return yield*n("BEGIN",()=>g.query("BEGIN")),yield*d({query:(a,b)=>n("tx.query",()=>g.query(a,b).then(a=>a.rows))}).pipe(e.Bio({onSuccess:()=>n("COMMIT",()=>g.query("COMMIT")),onFailure:()=>n("ROLLBACK",()=>g.query("ROLLBACK")).pipe(e.NWQ(()=>e.rIH))}),e.yeE(e.OH5(()=>g.release())))}).pipe(e.fRP("pg.withTx",{attributes:{id:b}})),disconnect:b=>e.JkU(function*(){let c=(yield*f.Jt(a)).get(b);c&&(yield*n("disconnect",()=>c.pool.end()).pipe(e.NWQ(()=>e.rIH)),yield*f.yo(a,a=>{let c=new Map(a);return c.delete(b),c}))})})}));d()}catch(a){d(a)}})},39876:(a,b,c)=>{"use strict";c.d(b,{a:()=>h,q:()=>g});var d=c(91078),e=c(69310);let f=async(a,b)=>{if(b&&"string"==typeof b.body)try{let a=JSON.parse(b.body);if(Array.isArray(a.messages)){let c=!1;for(let b of a.messages)b&&"assistant"===b.role&&null==b.content&&(b.content="",c=!0);c&&(b={...b,body:JSON.stringify(a)})}}catch{}return fetch(a,b)};async function g(a){let{baseUrl:b,apiKey:c}=await (0,e.jh)();return(0,d.ry)({apiKey:c,baseURL:`${b}/v1/`,fetch:f}).chat(a)}function h(a){return(0,d.ry)({apiKey:a.apiKey,baseURL:a.baseURL}).chat(a.modelName)}},46303:(a,b,c)=>{"use strict";c.d(b,{N:()=>d});let d=c(60177).Io("@cockpit/AgentService")},49818:(a,b,c)=>{"use strict";c.d(b,{HE:()=>g,HG:()=>e,M9:()=>f,g8:()=>i,ge:()=>h});var d=c(60177);let e=d.Io("@cockpit/PgService"),f=d.Io("@cockpit/MySQLService"),g=d.Io("@cockpit/RedisService"),h=d.Io("@cockpit/Neo4jService"),i=d.Io("@cockpit/MongoService")},64419:(a,b,c)=>{"use strict";c.d(b,{BV:()=>m,Eb:()=>k,Ju:()=>o,S8:()=>n,YN:()=>j,dK:()=>i,kW:()=>p,m6:()=>l,wZ:()=>h});var d=c(89705),e=c(52693);let f=globalThis,g=f.__cockpitSpanRing??={buffer:[],index:new Map};function h(a){if(g.buffer.push(a),g.index.set(a.spanId,g.buffer.length-1),g.buffer.length>500){g.buffer.shift(),g.index.clear();for(let a=0;a<g.buffer.length;a++)g.index.set(g.buffer[a].spanId,a)}}function i(a,b,c){let d=g.index.get(a);if(void 0===d)return;let e=g.buffer[d];if(!e)return;let f=Number(b-BigInt(e.startTimeNs))/1e6;g.buffer[d]={...e,endTimeNs:b.toString(),durationMs:Math.round(100*f)/100,status:"Success"===c._tag?"ok":"error",errorMessage:"Failure"===c._tag?function(a){if(a instanceof Error)return a.message;if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}(c.cause):void 0}}function j(a,b,c){let d=g.index.get(a);if(void 0===d)return;let e=g.buffer[d];e&&(g.buffer[d]={...e,attributes:{...e.attributes,[b]:c}})}function k(a,b,c,d){let e=g.index.get(a);if(void 0===e)return;let f=g.buffer[e];f&&(g.buffer[e]={...f,events:[...f.events,{name:b,timeNs:c.toString(),attributes:d}]})}let l=(a={})=>d.OH5(()=>(function(a={}){let b=g.buffer;if(a.errorsOnly&&(b=b.filter(a=>"error"===a.status)),a.traceId&&(b=b.filter(b=>b.traceId===a.traceId)),a.namePrefix){let c=a.namePrefix;b=b.filter(a=>a.name.startsWith(c))}if("number"==typeof a.minDurationMs){let c=a.minDurationMs;b=b.filter(a=>(a.durationMs??0)>=c)}return"number"==typeof a.limit&&a.limit>0&&(b=b.slice(-a.limit)),b})(a)),m=()=>d.OH5(()=>{g.buffer.length=0,g.index.clear()}),n=()=>d.OH5(()=>({capacity:500,size:g.buffer.length,oldestStartNs:g.buffer[0]?.startTimeNs??null}));function o(a,b,c,d,e,f){return{traceId:b,spanId:a,parentSpanId:c,name:d,kind:e,startTimeNs:f.toString(),endTimeNs:null,durationMs:null,attributes:{},events:[],status:"started"}}function p(a){return e.Ru(a)?a.value.spanId:null}},69310:(a,b,c)=>{"use strict";c.d(b,{Pg:()=>h,QD:()=>k,jV:()=>i,jh:()=>j});var d=c(7939);let e="http://127.0.0.1:11434";function f(a){return a.replace(/\/v1\/?$/,"").replace(/\/+$/,"")}async function g(){return(0,d.JE)(d.Lr,{})}async function h(a){return(0,d.N9)(d.Lr,{},b=>{let c={...b};if(void 0!==a.baseUrl){let b=a.baseUrl.trim();b?c.baseUrl=b:delete c.baseUrl}if(void 0!==a.apiKey){let b=a.apiKey.trim();b?c.apiKey=b:delete c.apiKey}return c})}async function i(){let a=await g();return f(a.baseUrl?.trim()||process.env.OLLAMA_BASE_URL||e)}async function j(){let a=await g();return{baseUrl:f(a.baseUrl?.trim()||process.env.OLLAMA_BASE_URL||e),apiKey:a.apiKey?.trim()||process.env.OLLAMA_API_KEY||"ollama"}}async function k(){var a;let b,c,d,h,i=await g();return i.baseUrl?.trim()?(b=f(i.baseUrl.trim()),c="file"):process.env.OLLAMA_BASE_URL?(b=f(process.env.OLLAMA_BASE_URL),c="env"):(b=e,c="default"),i.apiKey?.trim()?(d=i.apiKey.trim(),h="file"):process.env.OLLAMA_API_KEY?(d=process.env.OLLAMA_API_KEY,h="env"):(d="",h="default"),{baseUrl:b,baseUrlSource:c,hasKey:!!d,maskedKey:(a=d)?a.length<=8?a.replace(/./g,"•"):`${a.slice(0,3)}${"•".repeat(Math.max(4,a.length-7))}${a.slice(-4)}`:"",keySource:h}}},72891:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{OZ:()=>o,RL:()=>n,k9:()=>p,ok:()=>l});var e=c(37625),f=c(52693),g=c(18412),h=c(89705),i=c(94506),j=c(770),k=a([i]);i=(k.then?(await k)():k)[0];let l=(a,b=200)=>new Response(JSON.stringify(a),{status:b,headers:{"content-type":"application/json"}}),m=a=>{let b=e.od(a);if(f.Ru(b)){let a=b.value,c=(0,j.Sh)(a);return new Response(JSON.stringify({error:(a=>{let b=a.message;if("string"==typeof b&&b.length>0)return b;let c=a.cause;if(c instanceof Error&&c.message.length>0)return c.message;switch(a._tag){case"ValidationError":return`Invalid ${a.field}: ${a.reason}`;case"NotFoundError":return`${a.resource} not found: ${a.id}`;case"PermissionError":return`Permission denied: ${a.action} on ${a.resource}`;case"DBError":return`${a.db} ${a.op} failed`;case"FSError":return`${a.op} ${a.path} failed`;case"WSError":return`${a.proto} ${a.kind} failed`;case"AgentError":return`${a.provider} ${a.kind} failed`;default:return a._tag}})(a),tag:a._tag}),{status:c,headers:{"content-type":"application/json"}})}return console.error("[handler] uncaught defect:\n"+e.j9(a)),new Response(JSON.stringify({error:"Internal Server Error",tag:"InternalError"}),{status:500,headers:{"content-type":"application/json"}})},n=a=>async b=>{let c=await i.s9.runPromiseExit(a(b));return g.YW(c,{onFailure:a=>m(a),onSuccess:a=>a})},o=a=>async(b,c)=>{let d=await c.params,e=await i.s9.runPromiseExit(a(b,d));return g.YW(e,{onFailure:a=>m(a),onSuccess:a=>a})},p=a=>h.$mh({try:()=>a.json(),catch:()=>new j.yI({field:"body",reason:"invalid JSON"})});d()}catch(a){d(a)}})},82843:(a,b,c)=>{"use strict";c.d(b,{i:()=>i});var d=c(1971),e=c(89705),f=c(55235),g=c(27968);let h=c(60177).Io("@cockpit/Scheduler"),i=d.P1(h,e.JkU(function*(){let a=yield*f.L8(new Map);return yield*e.U9h(()=>e.JkU(function*(){for(let b of(yield*f.Jt(a)).values())yield*g.G(b);yield*f.hZ(a,new Map)})),h.of({schedule:(b,c,d)=>e.JkU(function*(){let h=yield*f.Jt(a).pipe(e.TjK(a=>a.get(b)));h&&(yield*g.G(h));let i=yield*e.x6Z(c.pipe(e.uxO(d),e.sFT(a=>e.vVN(`[scheduler] task '${b}' failed`).pipe(e.swY("error",String(a))))));return yield*f.yo(a,a=>new Map(a).set(b,i)),yield*e.fH4(`[scheduler] task '${b}' started`),{id:b,fiber:i}}),list:e.JkU(function*(){return Array.from((yield*f.Jt(a)).keys())}),cancel:b=>e.JkU(function*(){let c=(yield*f.Jt(a)).get(b);c&&(yield*g.G(c),yield*f.yo(a,a=>{let c=new Map(a);return c.delete(b),c}),yield*e.fH4(`[scheduler] task '${b}' cancelled`))})})}))},86232:(a,b,c)=>{"use strict";c.d(b,{an:()=>k,wy:()=>l});var d=c(52693),e=c(69061),f=c(1971),g=c(64419);let h=a=>{let b="abcdef0123456789",c="";for(let d=0;d<a;d++)c+=b.charAt(Math.floor(Math.random()*b.length));return c};class i{constructor(a,b,c,e,f,i){this.name=a,this.parent=b,this.context=c,this.startTime=f,this.kind=i,this._tag="Span",this.sampled=!0,this.attributes=new Map,this.events=[],this.traceId=d.Ru(b)?b.value.traceId:h(32),this.spanId=h(16),this.status={_tag:"Started",startTime:f},this.links=Array.from(e),(0,g.wZ)((0,g.Ju)(this.spanId,this.traceId,(0,g.kW)(b),a,i,f))}end(a,b){this.status={_tag:"Ended",endTime:a,exit:b,startTime:this.status.startTime},(0,g.dK)(this.spanId,a,"Success"===b._tag?{_tag:"Success"}:{_tag:"Failure",cause:b.cause})}attribute(a,b){this.attributes.set(a,b),(0,g.YN)(this.spanId,a,b)}event(a,b,c){this.events.push([a,b,c??{}]),(0,g.Eb)(this.spanId,a,b,c)}addLinks(a){this.links.push(...a)}}let j=e.L8({span:(a,b,c,d,e,f)=>new i(a,b,c,d,e,f),context:a=>a()}),k=f.Py(e.sh,j),l=f.Ie},90828:(a,b,c)=>{"use strict";c.d(b,{ic:()=>f});var d=c(15825),e=c(31840);d.EV(e.YA(1),1.5).pipe(d.gP(d.ji(e.YA(10))),d.y$(d.t5(10))),d.EV(e.ne(200),2).pipe(d.gP(d.ji(e.YA(5))),d.y$(d.t5(5)));let f=d.EV(e.YA(1),2).pipe(d.et,d.gP(d.ji(e.YA(30))),d.y$(d.t5(8)));d.ji(e.YA(30)),d.ji(e.YA(1)),d.ji(e.YA(30)),e.ne(50),d.BW},94506:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{s9:()=>x});var e=c(1971),f=c(89705),g=c(16171),h=c(8155),i=c(35765),j=c(86232),k=c(38003),l=c(25470),m=c(37871),n=c(18702),o=c(34104),p=c(82843),q=c(17329),r=c(95606),s=c(12490),t=a([k,q]);[k,q]=t.then?(await t)():t;let u="dev"===process.env.COCKPIT_ENV,v=e.vM(f.JkU(function*(){let a=yield*h.c,b=u?i.fI:(0,i.yh)(a.logFile),c=u?j.an:j.wy;return e.Um(b,c,h.D)})),w=e.Um(v,k.H,l.A,m.P,n.u,o.I,p.i,q.x,r.en,s.n),x=g.L8(w);d()}catch(a){d(a)}})},95606:(a,b,c)=>{"use strict";c.d(b,{NQ:()=>D,UT:()=>E,en:()=>J});var d=c(31421),e=c(77598),f=c(51455),g=c(76760),h=c(89705),i=c(1971),j=c(15825),k=c(770),l=c(8155),m=c(34168);let n=[".git/","node_modules/",".next/","dist/","build/","out/","coverage/",".turbo/",".cache/","__pycache__/",".venv/","venv/","target/","*.log",".DS_Store",".env",".env.*","*.pem","*.p12","id_rsa*","id_ed25519*"],o=(a,b=!1)=>{let c=(0,e.createHash)("sha256").update(a,"utf8").digest("hex");return`${(0,g.basename)(a).replace(/[^a-zA-Z0-9_-]/g,"_").slice(0,32)||"project"}-${b?c:c.slice(0,12)}`},p=a=>{let b=a.getFullYear(),c=String(a.getMonth()+1).padStart(2,"0"),d=String(a.getDate()).padStart(2,"0");return`${b}-${c}-${d}`},q=a=>{let[b,c,d,...e]=a.split("\x1f");if(!b)return null;let f=e.join("\x1f"),g=(a=>{let b={};for(let c of a.split("\n")){let a=/^Cockpit-([A-Za-z-]+):\s*(.*)$/.exec(c);a&&(b[a[1]]=a[2])}return b})(f),h=[];if(g["Tool-Files"])try{let a=JSON.parse(g["Tool-Files"]);Array.isArray(a)&&(h=a.filter(a=>"string"==typeof a))}catch{h=[]}return{hash:b,parent:c?c.split(" ")[0]:null,timestamp:Number(d)||0,subject:f.split("\n")[0]??"",sessionKey:g.Session??null,toolId:g["Tool-Id"]??null,toolName:g.Tool??null,toolFiles:h,provider:g.Provider??null,baseline:"baseline"===g.Kind}},r=(a,b,c,e)=>h.$mh({try:()=>new Promise(f=>{let h=(0,d.execFile)("git",c,{env:{...process.env,GIT_DIR:a,...b?{GIT_WORK_TREE:b}:{},GIT_TERMINAL_PROMPT:"0",LC_ALL:"C",GIT_INDEX_FILE:(0,g.join)(a,"index")},cwd:b??a,maxBuffer:0x4000000},(a,b,c)=>{let d=a?.code;f({code:a?"number"==typeof d?d:1:0,stdout:String(b),stderr:String(c)})});void 0!==e&&h.stdin?.end(e)}),catch:a=>new k.uV({message:`git ${c[0]} spawn failed`,cause:a})}),s=(a,b,c,d)=>r(a,b,c,d).pipe(h.W$I(a=>0===a.code,a=>new k.uV({message:`git ${c.join(" ")} exited ${a.code}: ${a.stderr.slice(0,400)}`}))),t=/beyond a symbolic link/,u=globalThis,v=u.__cockpitSnapshotSemaphores??(u.__cockpitSnapshotSemaphores=new Map),w=(a,b)=>{let c=v.get(a);return c||(c=h.RIP(1),v.set(a,c)),c.withPermits(1)(b)},x=(a,b)=>h.$mh({try:b,catch:b=>new k.uV({message:`snapshot fs ${a} failed`,cause:b})}),y=a=>h.$mh({try:async()=>{let b;try{b=await (0,f.readFile)((0,g.join)(a,"meta.json"),"utf8")}catch{return{state:"missing",meta:null}}try{return{state:"ok",meta:JSON.parse(b)}}catch{return{state:"corrupt",meta:null}}},catch:()=>new k.uV({message:"unreachable"})}).pipe(h.DM4(()=>({state:"missing",meta:null}))),z=a=>y(a).pipe(h.TjK(a=>a.meta)),A=(a,b)=>x("write meta",async()=>{let c=(0,g.join)(a,"meta.json.tmp");await (0,f.writeFile)(c,JSON.stringify(b,null,2),"utf8"),await (0,f.rename)(c,(0,g.join)(a,"meta.json"))}),B=globalThis,C=B.__cockpitSnapshotPendingRecords??(B.__cockpitSnapshotPendingRecords=new Map),D=a=>{C.set(a,(C.get(a)??0)+1)},E=a=>{let b=(C.get(a)??1)-1;b<=0?C.delete(a):C.set(a,b)},F=a=>C.get(a)??0,G=(a,b)=>h.JkU(function*(){let c=(0,g.join)(a,o(b)),d=yield*z(c);return d&&d.cwd!==b?(yield*h.FFw(`snapshot repo hash collision: ${c} belongs to ${d.cwd}; using full-hash dir for ${b}`),(0,g.join)(a,o(b,!0))):c}),H=(a,b,c,d)=>h.JkU(function*(){let e=c.cwd,i=yield*G(a,e),j={committed:!1};if("baseline"===d&&F(e)>0)return j;let l=a=>h.JkU(function*(){yield*h.FFw(`snapshot suspended for 6h: ${a} — check .gitignore of ${e}`);let b=yield*z(i);return yield*A(i,{cwd:e,createdAt:b?.createdAt??Date.now(),lastSnapshotAt:b?.lastSnapshotAt??Date.now(),guardTrippedAt:Date.now()}),j}),m=h.JkU(function*(){0===(yield*r(i,e,["rev-parse","--quiet","--verify","HEAD"])).code&&(yield*s(i,e,["read-tree","HEAD"]));let a=(yield*s(i,e,["status","--porcelain","-z","-uall","--no-renames"])).stdout.split("\0").filter(Boolean);if(0===a.length)return{staged:!1};if(a.length>5e4)return yield*l(`${a.length} changed files exceeds 50000`),{staged:!1};let c=[],d=[];for(let b of a){let a=b.slice(3);a&&("D"===b[0]||"D"===b[1]?d.push(a):c.push(a))}let j=yield*h.Q7R(c.map(a=>x("stat",()=>(0,f.stat)((0,g.join)(e,a)).then(a=>a.isFile()?a.size:0)).pipe(h.DM4(()=>-1))),{concurrency:16}),m=[],n=0;for(let a=0;a<c.length;a++)!(j[a]<0)&&(j[a]>b||(m.push(c[a]),n+=j[a]));return n>0x40000000?(yield*l(`${Math.round(n/1048576)}MB of changes exceeds ${Math.round(1024)}MB`),{staged:!1}):0===m.length&&0===d.length?{staged:!1}:(d.length>0&&(yield*s(i,e,["rm","--cached","--quiet","--ignore-unmatch","--pathspec-from-file=-","--pathspec-file-nul"],d.map(a=>`:(literal)${a}`).join("\0"))),m.length>0&&(yield*h.JkU(function*(){let a=["add","-A","--force","--pathspec-from-file=-","--pathspec-file-nul"],b=yield*r(i,e,a,m.map(a=>`:(literal)${a}`).join("\0"));if(0!==b.code){if(!t.test(b.stderr))return yield*h.fJG(new k.uV({message:`git add exited ${b.code}: ${b.stderr.slice(0,400)}`}));for(let b of m){let c=yield*r(i,e,a,`:(literal)${b}`);if(0!==c.code){if(!t.test(c.stderr))return yield*h.fJG(new k.uV({message:`git add ${b} exited ${c.code}: ${c.stderr.slice(0,400)}`}));yield*s(i,e,["rm","--cached","--quiet","--ignore-unmatch","--",`:(literal)${b}`])}}}})),{staged:!0})});return yield*w(i,h.JkU(function*(){var a,b,l;let o,q,t,u;if("baseline"===d&&F(e)>0)return j;yield*h.JkU(function*(){if(yield*x("stat HEAD",()=>(0,f.stat)((0,g.join)(i,"HEAD")).then(()=>!0)).pipe(h.DM4(()=>!1)))return;for(let[a,b]of(yield*x("mkdir",()=>(0,f.mkdir)(i,{recursive:!0})),yield*s(i,null,["init","--quiet","--bare",i]),[["core.bare","false"],["core.logAllRefUpdates","false"],["gc.auto","0"],["user.name","cockpit-snapshot"],["user.email","snapshot@cockpit.local"],["commit.gpgsign","false"]]))yield*s(i,null,["config",a,b]);yield*x("write exclude",()=>(0,f.writeFile)((0,g.join)(i,"info","exclude"),n.join("\n")+"\n","utf8"));let a=Date.now();yield*A(i,{cwd:e,createdAt:a,lastSnapshotAt:a})});let v=yield*z(i);if(v?.guardTrippedAt&&Date.now()-v.guardTrippedAt<216e5||(yield*(o=p(new Date),h.JkU(function*(){let a=`refs/heads/snap/${o}`;if(0!==(yield*r(i,e,["rev-parse","--quiet","--verify",a])).code){let a=(yield*s(i,e,["for-each-ref","--sort=refname","--format=%(refname:short)","refs/heads/snap/"])).stdout.trim().split("\n").filter(Boolean).pop();if(a){let b=yield*s(i,e,["commit-tree",`${a}^{tree}`,"-m",`baseline (rollover from ${a})
1
+ exports.id=2493,exports.ids=[2493],exports.modules={770:(a,b,c)=>{"use strict";c.d(b,{Sh:()=>l,Yv:()=>h,i_:()=>k,m_:()=>j,n_:()=>f,uU:()=>g,uV:()=>e,yI:()=>i});var d=c(59412);class e extends d.rN("AppError"){}class f extends d.rN("DBError"){}d.rN("WSError");class g extends d.rN("FSError"){}class h extends d.rN("AgentError"){}class i extends d.rN("ValidationError"){}class j extends d.rN("NotFoundError"){}class k extends d.rN("PermissionError"){}let l=a=>{switch(a._tag){case"ValidationError":return 400;case"PermissionError":return 403;case"NotFoundError":return 404;case"DBError":case"FSError":case"AgentError":case"WSError":return 503;default:return 500}}},1085:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{T:()=>k,z:()=>j});var e=c(89705),f=c(7517),g=c(19879),h=c(770),i=a([g]);g=(i.then?(await i)():i)[0];let j=(a,b)=>e.JkU(function*(){let c,d=yield*f.sZ3(k(a,b)),e="";for(let a of d)"text"===a._tag?e+=a.delta:"done"===a._tag&&(c=a.usage);return{message:{role:"assistant",content:e},usage:c}}).pipe(e.fRP("agent.chat",{attributes:{provider:a.provider,model:a.model}})),k=(a,b)=>f.bIC(c=>{let d,f,i=a.provider,j=(d=((a,b)=>{switch(a){case"claude":return b?{apiKey:b}:{};case"codex":return{baseUrl:"https://api.openai.com/v1",apiKey:b};case"kimi":return{baseUrl:"https://api.kimi.com/coding/",apiKey:b};case"deepseek":return{baseUrl:"https://api.deepseek.com/anthropic",apiKey:b};case"glm":return{baseUrl:"https://open.bigmodel.cn/api/anthropic",apiKey:b};case"ollama":return{}}})(a.provider,b),{model:a.model,env:{...process.env,...d.baseUrl?{ANTHROPIC_BASE_URL:d.baseUrl}:{},...d.apiKey?{ANTHROPIC_API_KEY:d.apiKey}:{}}}),k=(f=[...a.messages].reverse().find(a=>"user"===a.role),f?.content??""),l=!1;return(async()=>{try{for await(let a of(0,g.query)({prompt:k,options:j})){if(l)break;if("assistant"===a.type&&a.message?.content)for(let b of a.message.content)"text"===b.type&&b.text&&c.single({_tag:"text",delta:b.text});"result"===a.type&&c.single({_tag:"done",usage:a.usage?{inputTokens:a.usage.input_tokens??0,outputTokens:a.usage.output_tokens??0}:void 0})}c.end()}catch(a){c.fail(new h.Yv({provider:i,kind:"protocol",cause:a}))}})(),e.OH5(()=>{l=!0})});d()}catch(a){d(a)}})},2827:(a,b,c)=>{"use strict";c.d(b,{j:()=>j,t:()=>i});var d=c(89705),e=c(7517),f=c(78497),g=c(770),h=c(39876);let i=a=>d.JkU(function*(){let b,c=yield*e.sZ3(j(a)),d="";for(let a of c)"text"===a._tag?d+=a.delta:"done"===a._tag&&(b=a.usage);return{message:{role:"assistant",content:d},usage:b}}).pipe(d.fRP("agent.chat",{attributes:{provider:"ollama",model:a.model}})),j=a=>e.bIC(b=>{let c=new AbortController;return(async()=>{try{let d=await (0,h.q)(a.model);for await(let e of(0,f.gM)({model:d,messages:a.messages.map(a=>({role:a.role,content:a.content})),temperature:a.temperature??0,abortSignal:c.signal}).fullStream)if("text-delta"===e.type){let a=e.text;a&&b.single({_tag:"text",delta:a})}else if("finish"===e.type){let a=e.totalUsage;b.single({_tag:"done",usage:a?{inputTokens:a.inputTokens??0,outputTokens:a.outputTokens??0}:void 0})}b.end()}catch(a){b.fail(new g.Yv({provider:"ollama",kind:"protocol",cause:a}))}})(),d.OH5(()=>c.abort())})},4253:(a,b,c)=>{"use strict";c.d(b,{L8:()=>r,No:()=>h,Pe:()=>q,RW:()=>n,VA:()=>s,hC:()=>o,hH:()=>m,hn:()=>u,iF:()=>t,lU:()=>v,nw:()=>p,pZ:()=>g});var d=c(79748),e=c(33873),f=c.n(e);let g=0xa00000,h=0x3200000,i=new Set([".png",".jpg",".jpeg",".gif",".webp",".svg",".ico",".bmp",".avif"]),j=new Set([".pdf"]),k=new Set([".doc",".docx",".xls",".xlsx",".ppt",".pptx",".zip",".tar",".gz",".rar",".7z",".exe",".dll",".so",".dylib",".mp3",".mp4",".avi",".mov",".mkv",".wav",".flac",".ttf",".otf",".woff",".woff2",".eot",".db",".sqlite",".sqlite3",".pyc",".class",".o",".a"]),l={".png":"image/png",".jpg":"image/jpeg",".jpeg":"image/jpeg",".gif":"image/gif",".webp":"image/webp",".svg":"image/svg+xml",".ico":"image/x-icon",".bmp":"image/bmp",".avif":"image/avif",".pdf":"application/pdf"};function m(a){return l[a.toLowerCase()]||"application/octet-stream"}function n(a){return i.has(f().extname(a).toLowerCase())}function o(a,b){if("string"!=typeof b||0===b.length)return null;let c=f().resolve(a),d=f().resolve(c,b);return d===c||d.startsWith(c+f().sep)?d:null}async function p(a){let b;if("string"!=typeof a||0===a.length)return{ok:!1,reason:"Missing cwd parameter"};if(!f().isAbsolute(a))return{ok:!1,reason:"cwd must be an absolute path"};let c=f().resolve(a);try{b=await (0,d.stat)(c)}catch{return{ok:!1,reason:"cwd does not exist"}}return b.isDirectory()?{ok:!0,abs:c}:{ok:!1,reason:"cwd is not a directory"}}function q(a,b){return`"${a.toString(36)}-${Math.floor(b).toString(36)}"`}function r(a,b){let c=a.startsWith(".")?a.toLowerCase():f().extname(a).toLowerCase();return i.has(c)?b>h?"too-large":"image":j.has(c)?b>0x6400000?"too-large":"pdf":k.has(c)?"binary":b>g?"too-large":"text"}function s(a){let b=0,c=Math.min(a.length,1e3);for(let d=0;d<c;d++){let c=a.charCodeAt(d);if(0===c)return!0;c<32&&9!==c&&10!==c&&13!==c&&b++}return c>0&&b/c>.1}async function t(a){let b,c=!1;try{(await (0,d.lstat)(a)).isSymbolicLink()&&(c=!0,b=await (0,d.readlink)(a))}catch{}let e=await (0,d.stat)(a);return{size:e.size,mtimeMs:e.mtimeMs,isDirectory:e.isDirectory(),isSymlink:c,symlinkTarget:b}}function u(a,b){return{ETag:a,"Last-Modified":new Date(b).toUTCString(),"Cache-Control":"no-cache, must-revalidate"}}function v(a,b){return!!a&&a.split(",").map(a=>a.trim().replace(/^W\//,"")).includes(b)}},8155:(a,b,c)=>{"use strict";c.d(b,{D:()=>r,c:()=>q});var d=c(44853),e=c(89705),f=c(1971);let g=d.eu("dev","prod")("COCKPIT_ENV").pipe(d.IQ("prod")),h=d.Yj("COCKPIT_HOST").pipe(d.IQ("127.0.0.1")),i=d.nd("COCKPIT_PORT").pipe(d.NW(()=>d.nd("PORT")),d.IQ(3457)),j=d.uK(d.Yj("COCKPIT_OPEN_PROJECT")).pipe(d.Tj(a=>"Some"===a._tag?a.value:void 0)),k=d.zM("COCKPIT_NO_OPEN").pipe(d.IQ(!1)),l=d.Yj("COCKPIT_LOG_LEVEL").pipe(d.IQ("info")),m=d.nd("COCKPIT_SNAPSHOT_KEEP_DAYS").pipe(d.IQ(7)),n=d.nd("COCKPIT_SNAPSHOT_REPO_TTL_DAYS").pipe(d.IQ(30)),o=d.nd("COCKPIT_SNAPSHOT_MAX_FILE_KB").pipe(d.IQ(2048)),p=d.nd("COCKPIT_SESSION_KEEP_DAYS").pipe(d.IQ(30)),q=e.JkU(function*(){let a=yield*g,b=yield*h,c=yield*i,d=yield*j,f=yield*k,q=yield*l,r=yield*m,s=yield*n,t=yield*o,u=yield*p,v=yield*e.OH5(()=>{let a="u">typeof process?process.env:void 0,b=a?.HOME||a?.USERPROFILE||".",c=a?.COCKPIT_HOME;return c?c.replace(/^~(?=$|\/)/,b):b+"/.cockpit"});return{env:a,host:b,port:3457===c&&"dev"===a?3456:c,cockpitDir:v,openProject:d,openBrowser:!f,logLevel:q,logFile:v+"/logs/cockpit.log",snapshotKeepDays:r,snapshotRepoTtlDays:s,snapshotMaxFileKb:t,sessionKeepDays:u}}).pipe(e.QgK),r=f.Ie},12490:(a,b,c)=>{"use strict";c.d(b,{n:()=>p});var d=c(51455),e=c(76760),f=c(89705),g=c(60177),h=c(1971),i=c(15825),j=c(770),k=c(8155),l=c(7939);let m=(a,b)=>f.$mh({try:b,catch:b=>new j.uV({message:`session cleanup fs ${a} failed`,cause:b})}),n=a=>m("stat",()=>(0,d.stat)(a).then(a=>a.isDirectory())).pipe(f.DM4(()=>!1)),o=g.Io("@cockpit/SessionCleanupService"),p=h.P1(o,f.JkU(function*(){let a=yield*k.c,b=l.qC.map(b=>(0,e.join)(a.cockpitDir,b)),c=(0,e.join)(a.cockpitDir,"pinned-sessions.json"),g=Math.max(1,a.sessionKeepDays),h=f.jJl(b,a=>f.JkU(function*(){let b=yield*f.$mh({try:async()=>{let a;try{a=await (0,d.readFile)(c,"utf8")}catch(a){if(a?.code==="ENOENT")return{ok:!0,ids:new Set};throw a}let b=JSON.parse(a),e=new Set;for(let a of Array.isArray(b)?b:[])a&&"string"==typeof a.sessionId&&e.add(a.sessionId);return{ok:!0,ids:e}},catch:()=>null}).pipe(f.DM4(()=>({ok:!1})));if(!b.ok)return void(yield*f.FFw("session cleanup: pinned-sessions.json is unreadable/corrupt -- skipping this pass (refusing to risk deleting protected sessions)"));let h=Date.now()-864e5*g;for(let c of yield*m("readdir root",()=>(0,d.readdir)(a)).pipe(f.DM4(()=>[]))){let i=(0,e.join)(a,c);if(!(yield*n(i)))continue;let j=yield*m("readdir cwd",()=>(0,d.readdir)(i)).pipe(f.DM4(()=>[])),k=new Map;for(let a of j){let b=(0,e.join)(i,a);if(a.endsWith(".jsonl")){let c=a.slice(0,-6),d=k.get(c)??{};d.jsonl=b,k.set(c,d)}else if(yield*n(b)){let c=k.get(a)??{};c.subdir=b,k.set(a,c)}}for(let[e,i]of k){if(b.ids.has(e))continue;let j=i.jsonl??i.subdir;j&&((yield*m("stat basis",()=>(0,d.stat)(j).then(a=>a.mtimeMs)).pipe(f.DM4(()=>1/0)))>=h||(i.jsonl&&(yield*m("rm jsonl",()=>(0,d.rm)(i.jsonl,{force:!0})).pipe(f.DM4(()=>void 0))),i.subdir&&(yield*m("rm subdir",()=>(0,d.rm)(i.subdir,{recursive:!0,force:!0})).pipe(f.DM4(()=>void 0))),yield*f.fH4(`session cleanup: removed session ${e} from ${a} under ${c} (older than ${g}d)`)))}0===(yield*m("readdir cwd (recount)",()=>(0,d.readdir)(i)).pipe(f.DM4(()=>["keep"]))).length&&(yield*m("rmdir cwd",()=>(0,d.rmdir)(i)).pipe(f.DM4(()=>void 0)))}}).pipe(f.fRP("session.cleanup")),{discard:!0});return yield*f.x6Z(h.pipe(f.h9N(a=>f.FFw(`session cleanup failed: ${a.message}`)),f.uxO(i.ji("24 hours")))),o.of({cleanup:h})}))},17329:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{x:()=>m});var e=c(89705),f=c(1971),g=c(90828),h=c(46303),i=c(1085),j=c(2827),k=a([i]);i=(k.then?(await k)():k)[0];let l=new Set(["rate-limit","timeout","unknown"]),m=f.Py(h.N,h.N.of({chat:a=>(a=>{switch(a.provider){case"ollama":return(0,j.t)(a);case"claude":case"codex":case"kimi":case"deepseek":case"glm":return(0,i.z)(a)}})(a).pipe(e.L5P({schedule:g.ic,while:a=>l.has(a.kind)})),stream:a=>(a=>{switch(a.provider){case"ollama":return(0,j.j)(a);case"claude":case"codex":case"kimi":case"deepseek":case"glm":return(0,i.T)(a)}})(a)}));d()}catch(a){d(a)}})},18702:(a,b,c)=>{"use strict";c.d(b,{u:()=>o});var d=c(89705),e=c(55235),f=c(1971),g=c(770),h=c(49818),i=c(15147),j=c.n(i);async function k(a){let b=new URL(a),c=b.protocol.replace(":",""),d=b.hostname,e=b.port||"7687",f=decodeURIComponent(b.username||"neo4j"),g=decodeURIComponent(b.password||""),h=`${c}://${d}:${e}`,i=j().driver(h,j().auth.basic(f,g));return await i.verifyConnectivity(),i}async function l(a,b,c){let d=a.session();try{let a=Date.now(),e=await d.run(b,c||{}),f=Date.now()-a;return{records:e.records.map(a=>{let b={};for(let c of a.keys)b[c]=function a(b){return null==b?null:j().isInt(b)?b.toNumber():b&&"object"==typeof b&&"labels"in b&&"properties"in b?{_type:"node",_id:a(b.identity),_labels:b.labels,...Object.fromEntries(Object.entries(b.properties).map(([b,c])=>[b,a(c)]))}:b&&"object"==typeof b&&"type"in b&&"start"in b&&"end"in b&&"properties"in b?{_type:"relationship",_id:a(b.identity),_relType:b.type,_start:a(b.start),_end:a(b.end),...Object.fromEntries(Object.entries(b.properties).map(([b,c])=>[b,a(c)]))}:b&&"object"==typeof b&&"segments"in b?{_type:"path",segments:b.segments.map(b=>({start:a(b.start),relationship:a(b.relationship),end:a(b.end)}))}:Array.isArray(b)?b.map(b=>a(b)):b&&"object"==typeof b&&b.constructor===Object?Object.fromEntries(Object.entries(b).map(([b,c])=>[b,a(c)])):b}(a.get(c));return b}),keys:e.records.length>0?e.records[0].keys:[],duration:f,counters:e.summary.counters.updates()}}finally{await d.close()}}let m=(a,b)=>d.$mh({try:b,catch:b=>new g.n_({db:"neo4j",op:a,cause:b})}),n=(a,b,c)=>d.JkU(function*(){let f=(yield*e.Jt(a)).get(b);if(f&&f.connectionString===c)return f.driver;f&&(yield*m("close",()=>f.driver.close()).pipe(d.NWQ(()=>d.rIH)));let g=yield*m("createDriver",()=>k(c));return yield*e.yo(a,a=>{let d=new Map(a);return d.set(b,{driver:g,connectionString:c,createdAt:Date.now()}),d}),g}),o=f.P1(h.ge,d.JkU(function*(){let a=yield*e.L8(new Map);return yield*d.U9h(()=>d.JkU(function*(){let b=yield*e.Jt(a);for(let{driver:a}of b.values())yield*d.$mh({try:()=>a.close(),catch:a=>new g.n_({db:"neo4j",op:"shutdown close",cause:a})}).pipe(d.NWQ(()=>d.rIH));yield*e.hZ(a,new Map),yield*d.fH4(`[Neo4jServiceLive] disposed ${b.size} driver(s)`)})),h.ge.of({run:(b,c,e,f)=>d.JkU(function*(){let d=yield*n(a,b,c);return(yield*m("run",()=>l(d,e,f))).records}).pipe(d.fRP("neo4j.run",{attributes:{id:b}})),runWithMeta:(b,c,e,f)=>d.JkU(function*(){let d=yield*n(a,b,c),g=yield*m("runWithMeta",()=>l(d,e,f));return{records:g.records,keys:g.keys,duration:g.duration,counters:g.counters}}).pipe(d.fRP("neo4j.runWithMeta",{attributes:{id:b}})),disconnect:b=>d.JkU(function*(){let c=(yield*e.Jt(a)).get(b);c&&(yield*m("disconnect",()=>c.driver.close()).pipe(d.NWQ(()=>d.rIH)),yield*e.yo(a,a=>{let c=new Map(a);return c.delete(b),c}))})})}))},25470:(a,b,c)=>{"use strict";c.d(b,{A:()=>l});var d=c(89705),e=c(55235),f=c(1971),g=c(38491),h=c(770),i=c(49818);let j=(a,b)=>d.$mh({try:b,catch:b=>new h.n_({db:"mysql",op:a,cause:b})}),k=(a,b,c)=>d.JkU(function*(){let f=(yield*e.Jt(a)).get(b);if(f&&f.connectionString===c)return f.pool;f&&(yield*j("end",()=>f.pool.end()).pipe(d.NWQ(()=>d.rIH)));let h=g.createPool({uri:c,connectionLimit:5,idleTimeout:6e4,connectTimeout:1e4});return yield*e.yo(a,a=>{let d=new Map(a);return d.set(b,{pool:h,connectionString:c,createdAt:Date.now()}),d}),h}),l=f.P1(i.M9,d.JkU(function*(){let a=yield*e.L8(new Map);return yield*d.U9h(()=>d.JkU(function*(){let b=yield*e.Jt(a);for(let{pool:a}of b.values())yield*d.$mh({try:()=>a.end(),catch:a=>new h.n_({db:"mysql",op:"shutdown end",cause:a})}).pipe(d.NWQ(()=>d.rIH));yield*e.hZ(a,new Map),yield*d.fH4(`[MySQLServiceLive] disposed ${b.size} pool(s)`)})),i.M9.of({query:(b,c,e,f)=>d.JkU(function*(){let d=yield*k(a,b,c),[g]=yield*j("query",()=>d.query(e,f));return g}).pipe(d.fRP("mysql.query",{attributes:{id:b}})),queryWithMeta:(b,c,e,f)=>d.JkU(function*(){let d=yield*k(a,b,c),g=performance.now(),[h,i]=yield*j("queryWithMeta",()=>d.query(e,f)),l=Math.round((performance.now()-g)*100)/100;return Array.isArray(h)&&Array.isArray(i)?{rows:h,fields:i.map(a=>({name:a.name,dataTypeID:a.columnType??0})),rowCount:h.length,command:null,duration:l}:{rows:[],fields:null,rowCount:h.affectedRows??0,command:e.trim().split(/\s+/)[0]?.toUpperCase()||"QUERY",duration:l}}).pipe(d.fRP("mysql.queryWithMeta",{attributes:{id:b}})),withTx:(b,c,e)=>d.JkU(function*(){let f=yield*k(a,b,c),g=yield*j("getConnection",()=>f.getConnection());return yield*j("BEGIN",()=>g.beginTransaction()),yield*e({query:(a,b)=>j("tx.query",()=>g.query(a,b).then(([a])=>a))}).pipe(d.Bio({onSuccess:()=>j("COMMIT",()=>g.commit()),onFailure:()=>j("ROLLBACK",()=>g.rollback()).pipe(d.NWQ(()=>d.rIH))}),d.yeE(d.OH5(()=>g.release())))}).pipe(d.fRP("mysql.withTx",{attributes:{id:b}})),disconnect:b=>d.JkU(function*(){let c=(yield*e.Jt(a)).get(b);c&&(yield*j("disconnect",()=>c.pool.end()).pipe(d.NWQ(()=>d.rIH)),yield*e.yo(a,a=>{let c=new Map(a);return c.delete(b),c}))})})}))},28303:a=>{function b(a){var b=Error("Cannot find module '"+a+"'");throw b.code="MODULE_NOT_FOUND",b}b.keys=()=>[],b.resolve=b,b.id=28303,a.exports=b},34104:(a,b,c)=>{"use strict";c.d(b,{I:()=>i});var d=c(89705),e=c(1971),f=c(770),g=c(49818);let h=a=>d.fJG(new f.n_({db:"mongo",op:a,cause:Error("MongoServiceLive not implemented (mongodb driver not installed)")})),i=e.Py(g.g8,g.g8.of({find:()=>h("find"),command:()=>h("command"),disconnect:()=>d.rIH}))},34168:(a,b,c)=>{"use strict";c.d(b,{M:()=>d});let d=c(60177).Io("@cockpit/SnapshotService")},35765:(a,b,c)=>{"use strict";c.d(b,{fI:()=>h,yh:()=>j});var d=c(64396),e=c(1971),f=c(78820);let g=a=>{switch((a??"").toLowerCase()){case"all":return d.u8;case"trace":return d.Cn;case"debug":return d.y;case"info":default:return d.R2;case"warning":case"warn":return d.N5;case"error":return d.$D;case"fatal":return d.Lj;case"none":return d.NV}},h=e.Um(f.j9,f.dl(g(process.env.COCKPIT_LOG_LEVEL))),i=async(a,b)=>{let{appendFile:d,mkdir:e}=await Promise.resolve().then(c.t.bind(c,79748,23)),{dirname:f}=await Promise.resolve().then(c.t.bind(c,33873,23));try{await e(f(b),{recursive:!0}),await d(b,a+"\n","utf-8")}catch{}},j=a=>e.Um(f.j9,f.WQ(f.L8(({logLevel:b,message:c,date:d,fiberId:e,spans:f,annotations:g})=>{i(JSON.stringify({time:d.toISOString(),level:b.label,fiber:"object"==typeof e&&null!==e&&"id"in e?e.id:String(e),msg:Array.isArray(c)&&1===c.length?c[0]:c,spans:Array.from(f).map(a=>({label:a.label,startTime:a.startTime})),annotations:Object.fromEntries(g)}),a)})),f.dl(g(process.env.COCKPIT_LOG_LEVEL)))},37871:(a,b,c)=>{"use strict";c.d(b,{P:()=>n});var d=c(89705),e=c(55235),f=c(7517),g=c(20473),h=c(1971),i=c(79298),j=c.n(i),k=c(770),l=c(49818);let m=(a,b)=>d.$mh({try:b,catch:b=>new k.n_({db:"redis",op:a,cause:b})}),n=h.P1(l.HE,d.JkU(function*(){let a=yield*e.L8(new Map);return yield*d.U9h(()=>d.JkU(function*(){let b=yield*e.Jt(a);for(let{client:a}of b.values())yield*d.$mh({try:()=>a.quit(),catch:a=>new k.n_({db:"redis",op:"shutdown quit",cause:a})}).pipe(d.NWQ(()=>d.rIH));yield*e.hZ(a,new Map),yield*d.fH4(`[RedisServiceLive] disposed ${b.size} client(s)`)})),l.HE.of({command:(b,c,f,g)=>d.JkU(function*(){let h=yield*d.JkU(function*(){let f=(yield*e.Jt(a)).get(b);if(f&&f.connectionString===c){if("ready"===f.client.status)return f.client;yield*m("quit",()=>f.client.quit()).pipe(d.NWQ(()=>d.rIH))}else f&&(yield*m("quit",()=>f.client.quit()).pipe(d.NWQ(()=>d.rIH)));let g=yield*m("connect",async()=>{let a=new(j())(c,{lazyConnect:!0,connectTimeout:1e4,maxRetriesPerRequest:1});return await a.connect(),a});return yield*e.yo(a,a=>{let d=new Map(a);return d.set(b,{client:g,connectionString:c,createdAt:Date.now()}),d}),g});return yield*m("call",()=>h.call(f,...g??[]))}).pipe(d.fRP("redis.command",{attributes:{id:b,cmd:f}})),subscribe:(a,b,c)=>f.A2M(d.JkU(function*(){let a=yield*g.dT(),e=yield*d.Q56(m("subscribeConnect",async()=>{let a=new(j())(b,{lazyConnect:!0,connectTimeout:1e4,maxRetriesPerRequest:1});return await a.connect(),a}),a=>d.$mh({try:()=>a.quit(),catch:()=>new k.n_({db:"redis",op:"subscribeQuit",cause:null})}).pipe(d.NWQ(()=>d.rIH))),h=c.includes("*")||c.includes("?");return yield*m("psubscribe",()=>h?e.psubscribe(c):e.subscribe(c)),e.on(h?"pmessage":"message",(...b)=>{let c=h?b[1]:b[0],e=h?b[2]:b[1];d.MY7(g.x(a,{channel:c,message:e}))}),f.gJc(a)})),disconnect:b=>d.JkU(function*(){let c=(yield*e.Jt(a)).get(b);c&&(yield*m("disconnect",()=>c.client.quit()).pipe(d.NWQ(()=>d.rIH)),yield*e.yo(a,a=>{let c=new Map(a);return c.delete(b),c}))})})}))},38003:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{H:()=>p});var e=c(89705),f=c(55235),g=c(1971),h=c(7517),i=c(64939),j=c(770),k=c(49818),l=a([i]);let{Pool:m}=(i=(l.then?(await l)():l)[0]).default,n=(a,b)=>e.$mh({try:b,catch:b=>new j.n_({db:"pg",op:a,cause:b})}),o=(a,b,c)=>e.JkU(function*(){let d=(yield*f.Jt(a)).get(b);if(d&&d.connectionString===c)return d.pool;d&&(yield*n("end",()=>d.pool.end()).pipe(e.NWQ(()=>e.rIH)));let g=new m({connectionString:c,max:5,idleTimeoutMillis:6e4,connectionTimeoutMillis:1e4});return yield*f.yo(a,a=>{let d=new Map(a);return d.set(b,{pool:g,connectionString:c,createdAt:Date.now()}),d}),g}),p=g.P1(k.HG,e.JkU(function*(){let a=yield*f.L8(new Map);return yield*e.U9h(()=>e.JkU(function*(){let b=yield*f.Jt(a);for(let{pool:a}of b.values())yield*e.$mh({try:()=>a.end(),catch:a=>new j.n_({db:"pg",op:"shutdown end",cause:a})}).pipe(e.NWQ(()=>e.rIH));yield*f.hZ(a,new Map),yield*e.fH4(`[PgServiceLive] disposed ${b.size} pool(s)`)})),k.HG.of({query:(b,c,d,f)=>e.JkU(function*(){let e=yield*o(a,b,c);return(yield*n("query",()=>e.query(d,f))).rows}).pipe(e.fRP("pg.query",{attributes:{id:b}})),queryWithMeta:(b,c,d,f)=>e.JkU(function*(){let e=yield*o(a,b,c),g=performance.now(),h=yield*n("queryWithMeta",()=>e.query(d,f)),i=Math.round((performance.now()-g)*100)/100;return{rows:h.rows??[],fields:h.fields?h.fields.map(a=>({name:a.name,dataTypeID:a.dataTypeID})):null,rowCount:h.rowCount??null,command:h.command??null,duration:i}}).pipe(e.fRP("pg.queryWithMeta",{attributes:{id:b}})),stream:(b,c,d,f)=>h.oAg(e.JkU(function*(){let e=yield*o(a,b,c),g=yield*n("query",()=>e.query(d,f));return h.Tsr(g.rows)})),withTx:(b,c,d)=>e.JkU(function*(){let f=yield*o(a,b,c),g=yield*n("connect",()=>f.connect());return yield*n("BEGIN",()=>g.query("BEGIN")),yield*d({query:(a,b)=>n("tx.query",()=>g.query(a,b).then(a=>a.rows))}).pipe(e.Bio({onSuccess:()=>n("COMMIT",()=>g.query("COMMIT")),onFailure:()=>n("ROLLBACK",()=>g.query("ROLLBACK")).pipe(e.NWQ(()=>e.rIH))}),e.yeE(e.OH5(()=>g.release())))}).pipe(e.fRP("pg.withTx",{attributes:{id:b}})),disconnect:b=>e.JkU(function*(){let c=(yield*f.Jt(a)).get(b);c&&(yield*n("disconnect",()=>c.pool.end()).pipe(e.NWQ(()=>e.rIH)),yield*f.yo(a,a=>{let c=new Map(a);return c.delete(b),c}))})})}));d()}catch(a){d(a)}})},39876:(a,b,c)=>{"use strict";c.d(b,{a:()=>h,q:()=>g});var d=c(91078),e=c(69310);let f=async(a,b)=>{if(b&&"string"==typeof b.body)try{let a=JSON.parse(b.body);if(Array.isArray(a.messages)){let c=!1;for(let b of a.messages)b&&"assistant"===b.role&&null==b.content&&(b.content="",c=!0);c&&(b={...b,body:JSON.stringify(a)})}}catch{}return fetch(a,b)};async function g(a){let{baseUrl:b,apiKey:c}=await (0,e.jh)();return(0,d.ry)({apiKey:c,baseURL:`${b}/v1/`,fetch:f}).chat(a)}function h(a){return(0,d.ry)({apiKey:a.apiKey,baseURL:a.baseURL}).chat(a.modelName)}},46303:(a,b,c)=>{"use strict";c.d(b,{N:()=>d});let d=c(60177).Io("@cockpit/AgentService")},49818:(a,b,c)=>{"use strict";c.d(b,{HE:()=>g,HG:()=>e,M9:()=>f,g8:()=>i,ge:()=>h});var d=c(60177);let e=d.Io("@cockpit/PgService"),f=d.Io("@cockpit/MySQLService"),g=d.Io("@cockpit/RedisService"),h=d.Io("@cockpit/Neo4jService"),i=d.Io("@cockpit/MongoService")},64419:(a,b,c)=>{"use strict";c.d(b,{BV:()=>m,Eb:()=>k,Ju:()=>o,S8:()=>n,YN:()=>j,dK:()=>i,kW:()=>p,m6:()=>l,wZ:()=>h});var d=c(89705),e=c(52693);let f=globalThis,g=f.__cockpitSpanRing??={buffer:[],index:new Map};function h(a){if(g.buffer.push(a),g.index.set(a.spanId,g.buffer.length-1),g.buffer.length>500){g.buffer.shift(),g.index.clear();for(let a=0;a<g.buffer.length;a++)g.index.set(g.buffer[a].spanId,a)}}function i(a,b,c){let d=g.index.get(a);if(void 0===d)return;let e=g.buffer[d];if(!e)return;let f=Number(b-BigInt(e.startTimeNs))/1e6;g.buffer[d]={...e,endTimeNs:b.toString(),durationMs:Math.round(100*f)/100,status:"Success"===c._tag?"ok":"error",errorMessage:"Failure"===c._tag?function(a){if(a instanceof Error)return a.message;if("string"==typeof a)return a;try{return JSON.stringify(a)}catch{return String(a)}}(c.cause):void 0}}function j(a,b,c){let d=g.index.get(a);if(void 0===d)return;let e=g.buffer[d];e&&(g.buffer[d]={...e,attributes:{...e.attributes,[b]:c}})}function k(a,b,c,d){let e=g.index.get(a);if(void 0===e)return;let f=g.buffer[e];f&&(g.buffer[e]={...f,events:[...f.events,{name:b,timeNs:c.toString(),attributes:d}]})}let l=(a={})=>d.OH5(()=>(function(a={}){let b=g.buffer;if(a.errorsOnly&&(b=b.filter(a=>"error"===a.status)),a.traceId&&(b=b.filter(b=>b.traceId===a.traceId)),a.namePrefix){let c=a.namePrefix;b=b.filter(a=>a.name.startsWith(c))}if("number"==typeof a.minDurationMs){let c=a.minDurationMs;b=b.filter(a=>(a.durationMs??0)>=c)}return"number"==typeof a.limit&&a.limit>0&&(b=b.slice(-a.limit)),b})(a)),m=()=>d.OH5(()=>{g.buffer.length=0,g.index.clear()}),n=()=>d.OH5(()=>({capacity:500,size:g.buffer.length,oldestStartNs:g.buffer[0]?.startTimeNs??null}));function o(a,b,c,d,e,f){return{traceId:b,spanId:a,parentSpanId:c,name:d,kind:e,startTimeNs:f.toString(),endTimeNs:null,durationMs:null,attributes:{},events:[],status:"started"}}function p(a){return e.Ru(a)?a.value.spanId:null}},69310:(a,b,c)=>{"use strict";c.d(b,{Pg:()=>h,QD:()=>k,jV:()=>i,jh:()=>j});var d=c(7939);let e="http://127.0.0.1:11434";function f(a){return a.replace(/\/v1\/?$/,"").replace(/\/+$/,"")}async function g(){return(0,d.JE)(d.Lr,{})}async function h(a){return(0,d.N9)(d.Lr,{},b=>{let c={...b};if(void 0!==a.baseUrl){let b=a.baseUrl.trim();b?c.baseUrl=b:delete c.baseUrl}if(void 0!==a.apiKey){let b=a.apiKey.trim();b?c.apiKey=b:delete c.apiKey}return c})}async function i(){let a=await g();return f(a.baseUrl?.trim()||process.env.OLLAMA_BASE_URL||e)}async function j(){let a=await g();return{baseUrl:f(a.baseUrl?.trim()||process.env.OLLAMA_BASE_URL||e),apiKey:a.apiKey?.trim()||process.env.OLLAMA_API_KEY||"ollama"}}async function k(){var a;let b,c,d,h,i=await g();return i.baseUrl?.trim()?(b=f(i.baseUrl.trim()),c="file"):process.env.OLLAMA_BASE_URL?(b=f(process.env.OLLAMA_BASE_URL),c="env"):(b=e,c="default"),i.apiKey?.trim()?(d=i.apiKey.trim(),h="file"):process.env.OLLAMA_API_KEY?(d=process.env.OLLAMA_API_KEY,h="env"):(d="",h="default"),{baseUrl:b,baseUrlSource:c,hasKey:!!d,maskedKey:(a=d)?a.length<=8?a.replace(/./g,"•"):`${a.slice(0,3)}${"•".repeat(Math.max(4,a.length-7))}${a.slice(-4)}`:"",keySource:h}}},72891:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{OZ:()=>o,RL:()=>n,k9:()=>p,ok:()=>l});var e=c(37625),f=c(52693),g=c(18412),h=c(89705),i=c(94506),j=c(770),k=a([i]);i=(k.then?(await k)():k)[0];let l=(a,b=200)=>new Response(JSON.stringify(a),{status:b,headers:{"content-type":"application/json"}}),m=a=>{let b=e.od(a);if(f.Ru(b)){let a=b.value,c=(0,j.Sh)(a);return new Response(JSON.stringify({error:(a=>{let b=a.message;if("string"==typeof b&&b.length>0)return b;let c=a.cause;if(c instanceof Error&&c.message.length>0)return c.message;switch(a._tag){case"ValidationError":return`Invalid ${a.field}: ${a.reason}`;case"NotFoundError":return`${a.resource} not found: ${a.id}`;case"PermissionError":return`Permission denied: ${a.action} on ${a.resource}`;case"DBError":return`${a.db} ${a.op} failed`;case"FSError":return`${a.op} ${a.path} failed`;case"WSError":return`${a.proto} ${a.kind} failed`;case"AgentError":return`${a.provider} ${a.kind} failed`;default:return a._tag}})(a),tag:a._tag}),{status:c,headers:{"content-type":"application/json"}})}return console.error("[handler] uncaught defect:\n"+e.j9(a)),new Response(JSON.stringify({error:"Internal Server Error",tag:"InternalError"}),{status:500,headers:{"content-type":"application/json"}})},n=a=>async b=>{let c=await i.s9.runPromiseExit(a(b));return g.YW(c,{onFailure:a=>m(a),onSuccess:a=>a})},o=a=>async(b,c)=>{let d=await c.params,e=await i.s9.runPromiseExit(a(b,d));return g.YW(e,{onFailure:a=>m(a),onSuccess:a=>a})},p=a=>h.$mh({try:()=>a.json(),catch:()=>new j.yI({field:"body",reason:"invalid JSON"})});d()}catch(a){d(a)}})},82843:(a,b,c)=>{"use strict";c.d(b,{i:()=>i});var d=c(1971),e=c(89705),f=c(55235),g=c(27968);let h=c(60177).Io("@cockpit/Scheduler"),i=d.P1(h,e.JkU(function*(){let a=yield*f.L8(new Map);return yield*e.U9h(()=>e.JkU(function*(){for(let b of(yield*f.Jt(a)).values())yield*g.G(b);yield*f.hZ(a,new Map)})),h.of({schedule:(b,c,d)=>e.JkU(function*(){let h=yield*f.Jt(a).pipe(e.TjK(a=>a.get(b)));h&&(yield*g.G(h));let i=yield*e.x6Z(c.pipe(e.uxO(d),e.sFT(a=>e.vVN(`[scheduler] task '${b}' failed`).pipe(e.swY("error",String(a))))));return yield*f.yo(a,a=>new Map(a).set(b,i)),yield*e.fH4(`[scheduler] task '${b}' started`),{id:b,fiber:i}}),list:e.JkU(function*(){return Array.from((yield*f.Jt(a)).keys())}),cancel:b=>e.JkU(function*(){let c=(yield*f.Jt(a)).get(b);c&&(yield*g.G(c),yield*f.yo(a,a=>{let c=new Map(a);return c.delete(b),c}),yield*e.fH4(`[scheduler] task '${b}' cancelled`))})})}))},86232:(a,b,c)=>{"use strict";c.d(b,{an:()=>k,wy:()=>l});var d=c(52693),e=c(69061),f=c(1971),g=c(64419);let h=a=>{let b="abcdef0123456789",c="";for(let d=0;d<a;d++)c+=b.charAt(Math.floor(Math.random()*b.length));return c};class i{constructor(a,b,c,e,f,i){this.name=a,this.parent=b,this.context=c,this.startTime=f,this.kind=i,this._tag="Span",this.sampled=!0,this.attributes=new Map,this.events=[],this.traceId=d.Ru(b)?b.value.traceId:h(32),this.spanId=h(16),this.status={_tag:"Started",startTime:f},this.links=Array.from(e),(0,g.wZ)((0,g.Ju)(this.spanId,this.traceId,(0,g.kW)(b),a,i,f))}end(a,b){this.status={_tag:"Ended",endTime:a,exit:b,startTime:this.status.startTime},(0,g.dK)(this.spanId,a,"Success"===b._tag?{_tag:"Success"}:{_tag:"Failure",cause:b.cause})}attribute(a,b){this.attributes.set(a,b),(0,g.YN)(this.spanId,a,b)}event(a,b,c){this.events.push([a,b,c??{}]),(0,g.Eb)(this.spanId,a,b,c)}addLinks(a){this.links.push(...a)}}let j=e.L8({span:(a,b,c,d,e,f)=>new i(a,b,c,d,e,f),context:a=>a()}),k=f.Py(e.sh,j),l=f.Ie},90828:(a,b,c)=>{"use strict";c.d(b,{ic:()=>f});var d=c(15825),e=c(31840);d.EV(e.YA(1),1.5).pipe(d.gP(d.ji(e.YA(10))),d.y$(d.t5(10))),d.EV(e.ne(200),2).pipe(d.gP(d.ji(e.YA(5))),d.y$(d.t5(5)));let f=d.EV(e.YA(1),2).pipe(d.et,d.gP(d.ji(e.YA(30))),d.y$(d.t5(8)));d.ji(e.YA(30)),d.ji(e.YA(1)),d.ji(e.YA(30)),e.ne(50),d.BW},94506:(a,b,c)=>{"use strict";c.a(a,async(a,d)=>{try{c.d(b,{s9:()=>x});var e=c(1971),f=c(89705),g=c(16171),h=c(8155),i=c(35765),j=c(86232),k=c(38003),l=c(25470),m=c(37871),n=c(18702),o=c(34104),p=c(82843),q=c(17329),r=c(95606),s=c(12490),t=a([k,q]);[k,q]=t.then?(await t)():t;let u="dev"===process.env.COCKPIT_ENV,v=e.vM(f.JkU(function*(){let a=yield*h.c,b=u?i.fI:(0,i.yh)(a.logFile),c=u?j.an:j.wy;return e.Um(b,c,h.D)})),w=e.Um(v,k.H,l.A,m.P,n.u,o.I,p.i,q.x,r.en,s.n),x=g.L8(w);d()}catch(a){d(a)}})},95606:(a,b,c)=>{"use strict";c.d(b,{NQ:()=>E,UT:()=>F,en:()=>K});var d=c(31421),e=c(77598),f=c(51455),g=c(76760),h=c(89705),i=c(1971),j=c(15825),k=c(770),l=c(8155),m=c(4253),n=c(34168);let o=[".git/","node_modules/",".next/","dist/","build/","out/","coverage/",".turbo/",".cache/","__pycache__/",".venv/","venv/","target/","*.log",".DS_Store",".env",".env.*","*.pem","*.p12","id_rsa*","id_ed25519*"],p=(a,b=!1)=>{let c=(0,e.createHash)("sha256").update(a,"utf8").digest("hex");return`${(0,g.basename)(a).replace(/[^a-zA-Z0-9_-]/g,"_").slice(0,32)||"project"}-${b?c:c.slice(0,12)}`},q=a=>{let b=a.getFullYear(),c=String(a.getMonth()+1).padStart(2,"0"),d=String(a.getDate()).padStart(2,"0");return`${b}-${c}-${d}`},r=a=>{let[b,c,d,...e]=a.split("\x1f");if(!b)return null;let f=e.join("\x1f"),g=(a=>{let b={};for(let c of a.split("\n")){let a=/^Cockpit-([A-Za-z-]+):\s*(.*)$/.exec(c);a&&(b[a[1]]=a[2])}return b})(f),h=[];if(g["Tool-Files"])try{let a=JSON.parse(g["Tool-Files"]);Array.isArray(a)&&(h=a.filter(a=>"string"==typeof a))}catch{h=[]}return{hash:b,parent:c?c.split(" ")[0]:null,timestamp:Number(d)||0,subject:f.split("\n")[0]??"",sessionKey:g.Session??null,runId:g["Run-Id"]??null,toolId:g["Tool-Id"]??null,toolName:g.Tool??null,toolFiles:h,provider:g.Provider??null,baseline:"baseline"===g.Kind}},s=(a,b,c,e)=>h.$mh({try:()=>new Promise(f=>{let h=(0,d.execFile)("git",c,{env:{...process.env,GIT_DIR:a,...b?{GIT_WORK_TREE:b}:{},GIT_TERMINAL_PROMPT:"0",LC_ALL:"C",GIT_INDEX_FILE:(0,g.join)(a,"index")},cwd:b??a,maxBuffer:0x4000000},(a,b,c)=>{let d=a?.code;f({code:a?"number"==typeof d?d:1:0,stdout:String(b),stderr:String(c)})});void 0!==e&&h.stdin?.end(e)}),catch:a=>new k.uV({message:`git ${c[0]} spawn failed`,cause:a})}),t=(a,b,c,d)=>s(a,b,c,d).pipe(h.W$I(a=>0===a.code,a=>new k.uV({message:`git ${c.join(" ")} exited ${a.code}: ${a.stderr.slice(0,400)}`}))),u=/beyond a symbolic link/,v=globalThis,w=v.__cockpitSnapshotSemaphores??(v.__cockpitSnapshotSemaphores=new Map),x=(a,b)=>{let c=w.get(a);return c||(c=h.RIP(1),w.set(a,c)),c.withPermits(1)(b)},y=(a,b)=>h.$mh({try:b,catch:b=>new k.uV({message:`snapshot fs ${a} failed`,cause:b})}),z=a=>h.$mh({try:async()=>{let b;try{b=await (0,f.readFile)((0,g.join)(a,"meta.json"),"utf8")}catch{return{state:"missing",meta:null}}try{return{state:"ok",meta:JSON.parse(b)}}catch{return{state:"corrupt",meta:null}}},catch:()=>new k.uV({message:"unreachable"})}).pipe(h.DM4(()=>({state:"missing",meta:null}))),A=a=>z(a).pipe(h.TjK(a=>a.meta)),B=(a,b)=>y("write meta",async()=>{let c=(0,g.join)(a,"meta.json.tmp");await (0,f.writeFile)(c,JSON.stringify(b,null,2),"utf8"),await (0,f.rename)(c,(0,g.join)(a,"meta.json"))}),C=globalThis,D=C.__cockpitSnapshotPendingRecords??(C.__cockpitSnapshotPendingRecords=new Map),E=a=>{D.set(a,(D.get(a)??0)+1)},F=a=>{let b=(D.get(a)??1)-1;b<=0?D.delete(a):D.set(a,b)},G=a=>D.get(a)??0,H=(a,b)=>h.JkU(function*(){let c=(0,g.join)(a,p(b)),d=yield*A(c);return d&&d.cwd!==b?(yield*h.FFw(`snapshot repo hash collision: ${c} belongs to ${d.cwd}; using full-hash dir for ${b}`),(0,g.join)(a,p(b,!0))):c}),I=(a,b,c,d)=>h.JkU(function*(){let e=c.cwd,i=yield*H(a,e),j={committed:!1};if("baseline"===d&&G(e)>0)return j;let l=a=>h.JkU(function*(){yield*h.FFw(`snapshot suspended for 6h: ${a} — check .gitignore of ${e}`);let b=yield*A(i);return yield*B(i,{cwd:e,createdAt:b?.createdAt??Date.now(),lastSnapshotAt:b?.lastSnapshotAt??Date.now(),guardTrippedAt:Date.now()}),j}),m=h.JkU(function*(){0===(yield*s(i,e,["rev-parse","--quiet","--verify","HEAD"])).code&&(yield*t(i,e,["read-tree","HEAD"]));let a=(yield*t(i,e,["status","--porcelain","-z","-uall","--no-renames"])).stdout.split("\0").filter(Boolean);if(0===a.length)return{staged:!1};if(a.length>5e4)return yield*l(`${a.length} changed files exceeds 50000`),{staged:!1};let c=[],d=[];for(let b of a){let a=b.slice(3);a&&("D"===b[0]||"D"===b[1]?d.push(a):c.push(a))}let j=yield*h.Q7R(c.map(a=>y("stat",()=>(0,f.stat)((0,g.join)(e,a)).then(a=>a.isFile()?a.size:0)).pipe(h.DM4(()=>-1))),{concurrency:16}),m=[],n=0;for(let a=0;a<c.length;a++)!(j[a]<0)&&(j[a]>b||(m.push(c[a]),n+=j[a]));return n>0x40000000?(yield*l(`${Math.round(n/1048576)}MB of changes exceeds ${Math.round(1024)}MB`),{staged:!1}):0===m.length&&0===d.length?{staged:!1}:(d.length>0&&(yield*t(i,e,["rm","--cached","--quiet","--ignore-unmatch","--pathspec-from-file=-","--pathspec-file-nul"],d.map(a=>`:(literal)${a}`).join("\0"))),m.length>0&&(yield*h.JkU(function*(){let a=["add","-A","--force","--pathspec-from-file=-","--pathspec-file-nul"],b=yield*s(i,e,a,m.map(a=>`:(literal)${a}`).join("\0"));if(0!==b.code){if(!u.test(b.stderr))return yield*h.fJG(new k.uV({message:`git add exited ${b.code}: ${b.stderr.slice(0,400)}`}));for(let b of m){let c=yield*s(i,e,a,`:(literal)${b}`);if(0!==c.code){if(!u.test(c.stderr))return yield*h.fJG(new k.uV({message:`git add ${b} exited ${c.code}: ${c.stderr.slice(0,400)}`}));yield*t(i,e,["rm","--cached","--quiet","--ignore-unmatch","--",`:(literal)${b}`])}}}})),{staged:!0})});return yield*x(i,h.JkU(function*(){var a,b,l;let n,p,r,u;if("baseline"===d&&G(e)>0)return j;yield*h.JkU(function*(){if(yield*y("stat HEAD",()=>(0,f.stat)((0,g.join)(i,"HEAD")).then(()=>!0)).pipe(h.DM4(()=>!1)))return;for(let[a,b]of(yield*y("mkdir",()=>(0,f.mkdir)(i,{recursive:!0})),yield*t(i,null,["init","--quiet","--bare",i]),[["core.bare","false"],["core.logAllRefUpdates","false"],["gc.auto","0"],["user.name","cockpit-snapshot"],["user.email","snapshot@cockpit.local"],["commit.gpgsign","false"]]))yield*t(i,null,["config",a,b]);yield*y("write exclude",()=>(0,f.writeFile)((0,g.join)(i,"info","exclude"),o.join("\n")+"\n","utf8"));let a=Date.now();yield*B(i,{cwd:e,createdAt:a,lastSnapshotAt:a})});let v=yield*A(i);if(v?.guardTrippedAt&&Date.now()-v.guardTrippedAt<216e5||(yield*(n=q(new Date),h.JkU(function*(){let a=`refs/heads/snap/${n}`;if(0!==(yield*s(i,e,["rev-parse","--quiet","--verify",a])).code){let a=(yield*t(i,e,["for-each-ref","--sort=refname","--format=%(refname:short)","refs/heads/snap/"])).stdout.trim().split("\n").filter(Boolean).pop();if(a){let b=yield*t(i,e,["commit-tree",`${a}^{tree}`,"-m",`baseline (rollover from ${a})
2
2
 
3
- Cockpit-Kind: baseline`]);yield*s(i,e,["branch",`snap/${o}`,b.stdout.trim()])}}yield*s(i,e,["symbolic-ref","HEAD",a])})),!(yield*m.pipe(h.L5P({times:1}))).staged))return j;let w=(c.toolFiles??[]).map(a=>((a,b)=>{if(!(0,g.isAbsolute)(b))return b;let c=(0,g.relative)(a,b);return c&&!c.startsWith("..")?c.split(g.sep).join("/"):b})(e,a)),y=(a=c,b=w,l=d,q=b.length>0?1===b.length?b[0]:`${b[0]} +${b.length-1}`:a.toolDetail??"",t="baseline"===l?"baseline":`[${a.toolName??"tool"}] ${q}`.replace(/[\u0000-\u001f\u007f]+/g," ").replace(/\s+/g," ").trim().slice(0,80),u=[`Cockpit-Kind: ${l}`,`Cockpit-Session: ${a.sessionKey}`,`Cockpit-Provider: ${a.provider}`,...a.toolId?[`Cockpit-Tool-Id: ${a.toolId}`]:[],...a.toolName?[`Cockpit-Tool: ${a.toolName}`]:[],...b.length?[`Cockpit-Tool-Files: ${JSON.stringify(b)}`]:[]],`${t}
3
+ Cockpit-Kind: baseline`]);yield*t(i,e,["branch",`snap/${n}`,b.stdout.trim()])}}yield*t(i,e,["symbolic-ref","HEAD",a])})),!(yield*m.pipe(h.L5P({times:1}))).staged))return j;let w=(c.toolFiles??[]).map(a=>((a,b)=>{if(!(0,g.isAbsolute)(b))return b;let c=(0,g.relative)(a,b);return c&&!c.startsWith("..")?c.split(g.sep).join("/"):b})(e,a)),x=(a=c,b=w,l=d,p=b.length>0?1===b.length?b[0]:`${b[0]} +${b.length-1}`:a.toolDetail??"",r="baseline"===l?"baseline":`[${a.toolName??"tool"}] ${p}`.replace(/[\u0000-\u001f\u007f]+/g," ").replace(/\s+/g," ").trim().slice(0,80),u=[`Cockpit-Kind: ${l}`,`Cockpit-Session: ${a.sessionKey}`,...a.runId?[`Cockpit-Run-Id: ${a.runId.replace(/[\u0000-\u001f\u007f]+/g," ").trim().slice(0,128)}`]:[],`Cockpit-Provider: ${a.provider}`,...a.toolId?[`Cockpit-Tool-Id: ${a.toolId}`]:[],...a.toolName?[`Cockpit-Tool: ${a.toolName}`]:[],...b.length?[`Cockpit-Tool-Files: ${JSON.stringify(b)}`]:[]],`${r}
4
4
 
5
- ${u.join("\n")}`),B=yield*r(i,e,["commit","--quiet","--no-verify","-m",y]);if(0!==B.code)return/nothing to commit|nothing added to commit/.test(B.stdout+B.stderr)?j:yield*h.fJG(new k.uV({message:`git commit failed: ${(B.stderr||B.stdout).slice(0,400)}`}));let C=yield*s(i,e,["rev-parse","HEAD"]),D=yield*z(i);return yield*A(i,{cwd:e,createdAt:D?.createdAt??Date.now(),lastSnapshotAt:Date.now()}),{committed:!0,hash:C.stdout.trim()}}))}).pipe(h.fRP("snapshot.record",{attributes:{cwd:c.cwd,tool:c.toolName??d}})),I=(a,b,c,d)=>r(a,b,["show",`${c}:${d}`]).pipe(h.TjK(a=>0===a.code?a.stdout:null),h.DM4(()=>null)),J=i.P1(m.M,h.JkU(function*(){let a,b,c=yield*l.c,d=(0,g.join)(c.cockpitDir,"snapshots"),e=1024*c.snapshotMaxFileKb,i=(a=c.snapshotKeepDays,b=c.snapshotRepoTtlDays,h.JkU(function*(){let c=yield*x("readdir",()=>(0,f.readdir)(d)).pipe(h.DM4(()=>[])),e=Date.now(),i=p(new Date(e-(a-1)*864e5)),j=a=>h.JkU(function*(){let{state:c,meta:d}=yield*y(a);if("corrupt"===c)return"corrupt";if("missing"===c)return(yield*x("stat dir",()=>(0,f.stat)(a).then(a=>a.mtimeMs)).pipe(h.DM4(()=>e)))<e-24*b*36e5?"stale":"keep";let g=!(yield*x("stat cwd",()=>(0,f.stat)(d.cwd).then(a=>a.isDirectory())).pipe(h.DM4(()=>!1)));return d.lastSnapshotAt<e-24*b*36e5||g?"stale":"keep"}),k=a=>x("stat HEAD",()=>(0,f.stat)((0,g.join)(a,"HEAD")).then(()=>!0)).pipe(h.DM4(()=>!1));for(let a of c){let b=(0,g.join)(d,a);if(!(yield*x("stat dir",()=>(0,f.stat)(b).then(a=>a.isDirectory())).pipe(h.DM4(()=>!1))))continue;if(!(yield*k(b))){yield*w(b,h.JkU(function*(){(yield*k(b))||(yield*h.fH4(`snapshot cleanup: removing debris dir ${a}`),yield*x("rm debris",()=>(0,f.rm)(b,{recursive:!0,force:!0})).pipe(h.DM4(()=>void 0)))}));continue}let c=yield*j(b);if("corrupt"===c){yield*h.FFw(`snapshot cleanup: ${a} has an unreadable meta.json — keeping repo (refusing to delete on corrupt metadata)`);continue}if("stale"===c){yield*w(b,h.JkU(function*(){(yield*j(b))==="stale"&&(yield*h.fH4(`snapshot cleanup: removing repo ${a} (stale or cwd gone)`),yield*x("rm repo",()=>(0,f.rm)(b,{recursive:!0,force:!0})).pipe(h.DM4(()=>void 0)))}));continue}let e=(yield*r(b,null,["for-each-ref","--format=%(refname:short)","refs/heads/snap/"]).pipe(h.TjK(a=>0===a.code?a.stdout.trim().split("\n").filter(Boolean):[]))).filter(a=>{let b=a.slice(5);return/^\d{4}-\d{2}-\d{2}$/.test(b)&&b<i});if(e.length>0){let c=yield*w(b,h.JkU(function*(){yield*s(b,null,["symbolic-ref","HEAD",`refs/heads/snap/${p(new Date)}`]);let c=0;for(let d of e){let e=yield*r(b,null,["branch","-D",d]);0===e.code?c++:yield*h.FFw(`snapshot cleanup: failed to delete ${d} in ${a}: ${e.stderr.slice(0,200)}`)}return c>0&&(yield*r(b,null,["reflog","expire","--expire=now","--all"]),yield*r(b,null,["gc","--prune=now","--quiet"])),c}));yield*h.fH4(`snapshot cleanup: ${a} dropped ${c}/${e.length} day branch(es) older than ${i}`)}}}).pipe(h.fRP("snapshot.cleanup")));return yield*h.x6Z(i.pipe(h.h9N(a=>h.FFw(`snapshot cleanup failed: ${a.message}`)),h.uxO(j.ji("24 hours")))),m.M.of({record:a=>H(d,e,a,"tool"),baseline:(a,b,c)=>H(d,e,{cwd:a,sessionKey:b,provider:c},"baseline"),listByToolIds:(a,b,c)=>h.JkU(function*(){if(0===b.length)return[];let e=yield*G(d,a);if(!(yield*x("stat HEAD",()=>(0,f.stat)((0,g.join)(e,"HEAD")).then(()=>!0)).pipe(h.DM4(()=>!1))))return[];let i=yield*r(e,a,["log","--all","--date-order","--reverse","--format=%x1e%H%x1f%P%x1f%ct%x1f%B"]);if(0!==i.code)return[];let j=new Set(b);return i.stdout.split("\x1e").filter(Boolean).map(q).filter(a=>!!a&&!!a.toolId&&j.has(a.toolId)&&(!c||a.sessionKey===c))}).pipe(h.fRP("snapshot.listByToolIds",{attributes:{cwd:a}})),diff:(a,b)=>h.JkU(function*(){if(!/^[0-9a-f]{6,40}$/i.test(b))return yield*h.fJG(new k.yI({field:"commit",reason:"invalid commit hash"}));let c=yield*G(d,a);if(!(yield*x("stat HEAD",()=>(0,f.stat)((0,g.join)(c,"HEAD")).then(()=>!0)).pipe(h.DM4(()=>!1))))return yield*h.fJG(new k.m_({resource:"snapshot-repo",id:a}));let e=q((yield*s(c,a,["log","-1","--format=%x1e%H%x1f%P%x1f%ct%x1f%B",b])).stdout.split("\x1e").filter(Boolean)[0]??"");if(!e)return yield*h.fJG(new k.yI({field:"commit",reason:"commit not found"}));let i=e.parent??"4b825dc642cb6eb9a060e54bf8d69288fbee4904",j=yield*s(c,a,["diff-tree","-r","-z","--no-renames","--name-status",i,e.hash]),l=yield*s(c,a,["diff-tree","-r","-z","--no-renames","--numstat",i,e.hash]),m=new Set,n=new Map;for(let a of l.stdout.split("\0").filter(Boolean)){let b=/^(\S+)\t(\S+)\t([^]*)$/.exec(a);b&&("-"===b[1]||"-"===b[2]?m.add(b[3]):n.set(b[3],{additions:Number(b[1])||0,deletions:Number(b[2])||0}))}let o=j.stdout.split("\0").filter(Boolean),p=[];for(let b=0;b+1<o.length&&p.length<200;b+=2){let d=o[b],f=o[b+1],g="A"===d?"added":"D"===d?"deleted":"modified",h=m.has(f),j=null,k=null;!h&&("added"!==g&&(j=yield*I(c,a,i,f)),"deleted"!==g&&(k=yield*I(c,a,e.hash,f)),((j?.length??0)>512e3||(k?.length??0)>512e3)&&(j=null,k=null));let l=n.get(f);p.push({path:f,status:g,binary:h,additions:l?.additions??0,deletions:l?.deletions??0,oldContent:j,newContent:k})}let r=o.length/2>p.length;return{commit:e,files:p,truncated:r}}).pipe(h.fRP("snapshot.diff",{attributes:{cwd:a,commit:b}})),cleanup:i})}))}};
5
+ ${u.join("\n")}`),z=yield*s(i,e,["commit","--quiet","--no-verify","-m",x]);if(0!==z.code)return/nothing to commit|nothing added to commit/.test(z.stdout+z.stderr)?j:yield*h.fJG(new k.uV({message:`git commit failed: ${(z.stderr||z.stdout).slice(0,400)}`}));let C=yield*t(i,e,["rev-parse","HEAD"]),D=yield*A(i);return yield*B(i,{cwd:e,createdAt:D?.createdAt??Date.now(),lastSnapshotAt:Date.now()}),{committed:!0,hash:C.stdout.trim()}}))}).pipe(h.fRP("snapshot.record",{attributes:{cwd:c.cwd,tool:c.toolName??d}})),J=(a,b,c,d)=>s(a,b,["show",`${c}:${d}`]).pipe(h.TjK(a=>0===a.code?a.stdout:null),h.DM4(()=>null)),K=i.P1(n.M,h.JkU(function*(){let a,b,c=yield*l.c,e=(0,g.join)(c.cockpitDir,"snapshots"),i=1024*c.snapshotMaxFileKb,o=(a=c.snapshotKeepDays,b=c.snapshotRepoTtlDays,h.JkU(function*(){let c=yield*y("readdir",()=>(0,f.readdir)(e)).pipe(h.DM4(()=>[])),d=Date.now(),i=q(new Date(d-(a-1)*864e5)),j=a=>h.JkU(function*(){let{state:c,meta:e}=yield*z(a);if("corrupt"===c)return"corrupt";if("missing"===c)return(yield*y("stat dir",()=>(0,f.stat)(a).then(a=>a.mtimeMs)).pipe(h.DM4(()=>d)))<d-24*b*36e5?"stale":"keep";let g=!(yield*y("stat cwd",()=>(0,f.stat)(e.cwd).then(a=>a.isDirectory())).pipe(h.DM4(()=>!1)));return e.lastSnapshotAt<d-24*b*36e5||g?"stale":"keep"}),k=a=>y("stat HEAD",()=>(0,f.stat)((0,g.join)(a,"HEAD")).then(()=>!0)).pipe(h.DM4(()=>!1));for(let a of c){let b=(0,g.join)(e,a);if(!(yield*y("stat dir",()=>(0,f.stat)(b).then(a=>a.isDirectory())).pipe(h.DM4(()=>!1))))continue;if(!(yield*k(b))){yield*x(b,h.JkU(function*(){(yield*k(b))||(yield*h.fH4(`snapshot cleanup: removing debris dir ${a}`),yield*y("rm debris",()=>(0,f.rm)(b,{recursive:!0,force:!0})).pipe(h.DM4(()=>void 0)))}));continue}let c=yield*j(b);if("corrupt"===c){yield*h.FFw(`snapshot cleanup: ${a} has an unreadable meta.json — keeping repo (refusing to delete on corrupt metadata)`);continue}if("stale"===c){yield*x(b,h.JkU(function*(){(yield*j(b))==="stale"&&(yield*h.fH4(`snapshot cleanup: removing repo ${a} (stale or cwd gone)`),yield*y("rm repo",()=>(0,f.rm)(b,{recursive:!0,force:!0})).pipe(h.DM4(()=>void 0)))}));continue}let d=(yield*s(b,null,["for-each-ref","--format=%(refname:short)","refs/heads/snap/"]).pipe(h.TjK(a=>0===a.code?a.stdout.trim().split("\n").filter(Boolean):[]))).filter(a=>{let b=a.slice(5);return/^\d{4}-\d{2}-\d{2}$/.test(b)&&b<i});if(d.length>0){let c=yield*x(b,h.JkU(function*(){yield*t(b,null,["symbolic-ref","HEAD",`refs/heads/snap/${q(new Date)}`]);let c=0;for(let e of d){let d=yield*s(b,null,["branch","-D",e]);0===d.code?c++:yield*h.FFw(`snapshot cleanup: failed to delete ${e} in ${a}: ${d.stderr.slice(0,200)}`)}return c>0&&(yield*s(b,null,["reflog","expire","--expire=now","--all"]),yield*s(b,null,["gc","--prune=now","--quiet"])),c}));yield*h.fH4(`snapshot cleanup: ${a} dropped ${c}/${d.length} day branch(es) older than ${i}`)}}}).pipe(h.fRP("snapshot.cleanup")));return yield*h.x6Z(o.pipe(h.h9N(a=>h.FFw(`snapshot cleanup failed: ${a.message}`)),h.uxO(j.ji("24 hours")))),n.M.of({record:a=>I(e,i,a,"tool"),baseline:(a,b,c,d)=>I(e,i,{cwd:a,sessionKey:b,provider:c,runId:d},"baseline"),listByToolIds:(a,b,c,d)=>h.JkU(function*(){if(0===b.length)return[];let i=yield*H(e,a);if(!(yield*y("stat HEAD",()=>(0,f.stat)((0,g.join)(i,"HEAD")).then(()=>!0)).pipe(h.DM4(()=>!1))))return[];let j=yield*s(i,a,["log","--all","--date-order","--reverse","--format=%x1e%H%x1f%P%x1f%ct%x1f%B"]);if(0!==j.code)return[];let k=new Set(b);return j.stdout.split("\x1e").filter(Boolean).map(r).filter(a=>!!a&&!!a.toolId&&k.has(a.toolId)&&(!c||a.sessionKey===c)&&(!d||!a.runId||a.runId===d))}).pipe(h.fRP("snapshot.listByToolIds",{attributes:{cwd:a}})),diff:(a,b)=>h.JkU(function*(){if(!/^[0-9a-f]{6,40}$/i.test(b))return yield*h.fJG(new k.yI({field:"commit",reason:"invalid commit hash"}));let c=yield*H(e,a);if(!(yield*y("stat HEAD",()=>(0,f.stat)((0,g.join)(c,"HEAD")).then(()=>!0)).pipe(h.DM4(()=>!1))))return yield*h.fJG(new k.m_({resource:"snapshot-repo",id:a}));let d=r((yield*t(c,a,["log","-1","--format=%x1e%H%x1f%P%x1f%ct%x1f%B",b])).stdout.split("\x1e").filter(Boolean)[0]??"");if(!d)return yield*h.fJG(new k.yI({field:"commit",reason:"commit not found"}));let i=d.parent??"4b825dc642cb6eb9a060e54bf8d69288fbee4904",j=yield*t(c,a,["diff-tree","-r","-z","--no-renames","--name-status",i,d.hash]),l=yield*t(c,a,["diff-tree","-r","-z","--no-renames","--numstat",i,d.hash]),n=new Set,o=new Map;for(let a of l.stdout.split("\0").filter(Boolean)){let b=/^(\S+)\t(\S+)\t([^]*)$/.exec(a);b&&("-"===b[1]||"-"===b[2]?n.add(b[3]):o.set(b[3],{additions:Number(b[1])||0,deletions:Number(b[2])||0}))}let p=j.stdout.split("\0").filter(Boolean),q=[];for(let b=0;b+1<p.length&&q.length<200;b+=2){let e=p[b],f=p[b+1],g="A"===e?"added":"D"===e?"deleted":"modified",h=n.has(f),j=null,k=null;!h&&("added"!==g&&(j=yield*J(c,a,i,f)),"deleted"!==g&&(k=yield*J(c,a,d.hash,f)),((j?.length??0)>512e3||(k?.length??0)>512e3)&&(j=null,k=null));let l=o.get(f),r=h&&(0,m.RW)(f);q.push({path:f,status:g,binary:h,additions:l?.additions??0,deletions:l?.deletions??0,oldContent:j,newContent:k,...r?{isImage:!0,oldRev:"added"===g?null:i,newRev:"deleted"===g?null:d.hash}:{}})}let s=p.length/2>q.length;return{commit:d,files:q,truncated:s}}).pipe(h.fRP("snapshot.diff",{attributes:{cwd:a,commit:b}})),blob:(a,b,c)=>h.JkU(function*(){if(!/^[0-9a-f]{6,40}$/i.test(b))return yield*h.fJG(new k.yI({field:"rev",reason:"invalid commit hash"}));if(!c||(0,g.isAbsolute)(c)||c.split("/").includes(".."))return yield*h.fJG(new k.yI({field:"file",reason:"invalid path"}));if(!(0,m.RW)(c))return yield*h.fJG(new k.yI({field:"file",reason:"not an image"}));let f=yield*H(e,a);return new Uint8Array((yield*h.$mh({try:()=>new Promise((e,h)=>{(0,d.execFile)("git",["show",`${b}:${c}`],{env:{...process.env,GIT_DIR:f,GIT_WORK_TREE:a,GIT_TERMINAL_PROMPT:"0",LC_ALL:"C",GIT_INDEX_FILE:(0,g.join)(f,"index")},cwd:a,maxBuffer:m.No,encoding:"buffer"},(a,b)=>a?h(a):e(b))}),catch:()=>new k.m_({resource:"snapshot-blob",id:`${b}:${c}`})})))}).pipe(h.fRP("snapshot.blob",{attributes:{cwd:a,rev:b}})),cleanup:o})}))}};
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=3286,exports.ids=[3286],exports.modules={26925:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{J:()=>l,v:()=>m});var e=c(89705),f=c(94506),g=c(34168),h=c(38561),i=c(95606),j=a([f]);f=(j.then?(await j)():j)[0];let n=globalThis,o=n.__cockpitSnapshotToolIndex??(n.__cockpitSnapshotToolIndex=new Map);function k(a){let b=a.message;return Array.isArray(b?.content)?b.content:[]}let p=a=>{f.s9.runFork(a.pipe(e.h9N(a=>e.FFw(`snapshot failed: ${a.message}`))))};function l(a,b,c){a&&p(e.qIB(g.M,d=>d.baseline(a,b,c)))}function m(a,b,c,d){if(a){if("assistant"===d.type){for(let a of k(d))a.id&&a.name&&o.set(a.id,{name:a.name,files:function(a){if(!a)return[];let b=[];return"string"==typeof a.file_path&&a.file_path&&b.push(a.file_path),"string"==typeof a.notebook_path&&a.notebook_path&&b.push(a.notebook_path),b}(a.input),provider:c,detail:function(a){if(a){if("string"==typeof a.description&&a.description)return a.description;if("string"==typeof a.command&&a.command)return a.command}}(a.input)});!function(){if(o.size<=4e3)return;let a=Math.floor(o.size/2);for(let b of o.keys()){if(a--<=0)break;o.delete(b)}}();return}if("user"===d.type)for(let f of k(d)){if(!f.tool_use_id)continue;let d=o.get(f.tool_use_id);if(d&&o.delete(f.tool_use_id),d&&h.W.has(d.name))continue;let j=f.tool_use_id;(0,i.NQ)(a),p(e.qIB(g.M,e=>e.record({cwd:a,sessionKey:b,provider:c,toolId:j,toolName:d?.name??"tool",toolFiles:d?.files??[],toolDetail:d?.detail})).pipe(e.yeE(e.OH5(()=>(0,i.UT)(a)))))}}}d()}catch(a){d(a)}})},33286:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{T:()=>l});var e=c(79830),f=c(82940),g=c(26925),h=c(37655),i=c(55511),j=c(35369),k=a([g]);async function l(a,b,c){let{sessionId:d,images:k,cwd:l,language:m}=b;if(d&&(0,f.yQ)(d))return{ok:!1,status:409,error:"session is already running"};let n=b.prompt,o="string"==typeof n?(0,h.M)(n,m,c):n;if(!(o&&"string"==typeof o||k&&k.length>0))return{ok:!1,status:400,error:"Missing prompt or images"};if(a.preflight){let c=await a.preflight(b);if(!c.ok)return c}let p="string"==typeof o?o:void 0,q=new AbortController,r="string"==typeof b.runId&&b.runId||(0,i.randomUUID)(),s=d||r,t=d,u=!1;if(!(0,f.AD)(s,l||"",p,r))return{ok:!1,status:409,error:"run already active"};(0,f.e5)(s,()=>{u=!0,q.abort()}),l&&d&&(0,e.CS)(l,d,"loading",void 0,p).catch(()=>{}),(0,g.J)(l||"",s,a.name);let v={prompt:p,images:k,cwd:l||"",sessionId:d,params:b,signal:q.signal,emit(b){u||((0,f.ah)(s,b),(0,g.v)(l||"",s,a.name,b))},rekey(a){a&&((0,f.GS)(s,a),s=a,t=a,l&&(0,e.CS)(l,a,"loading",void 0,p).catch(()=>{}))},currentKey:()=>s};return(async()=>{try{await a.runner.run(v)}catch(b){if(q.signal.aborted){u=!0,(0,f.HS)(s,"idle");return}if(console.error(`[engine:${a.name}] run error:`,b),v.emit({type:"error",error:(0,j.l)(b)}),(0,f.HS)(s,"error"),u=!0,l&&t){let a=await (0,e.Pn)(l,t).catch(()=>void 0);await (0,e.CS)(l,t,"unread",a).catch(()=>{})}return}if(l&&t){let b=await (a.runner.resolveTitle?a.runner.resolveTitle(l,t).catch(()=>void 0):Promise.resolve(void 0));await (0,e.CS)(l,t,"unread",b).catch(()=>{})}u=!0,(0,f.HS)(s,"idle")})(),{ok:!0,runKey:s,sessionId:t??null}}g=(k.then?(await k)():k)[0],d()}catch(a){d(a)}})},37655:(a,b,c)=>{c.d(b,{M:()=>j});var d=c(29021),e=c(33873),f=c(7939);let g={qa:{zh:`---
1
+ "use strict";exports.id=3286,exports.ids=[3286],exports.modules={26925:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{J:()=>l,v:()=>m});var e=c(89705),f=c(94506),g=c(34168),h=c(38561),i=c(95606),j=a([f]);f=(j.then?(await j)():j)[0];let n=globalThis,o=n.__cockpitSnapshotToolIndex??(n.__cockpitSnapshotToolIndex=new Map);function k(a){let b=a.message;return Array.isArray(b?.content)?b.content:[]}let p=a=>{f.s9.runFork(a.pipe(e.h9N(a=>e.FFw(`snapshot failed: ${a.message}`))))};function l(a,b,c,d){a&&p(e.qIB(g.M,e=>e.baseline(a,b,c,d)))}function m(a,b,c,d,f){if(a){if("assistant"===d.type){for(let a of k(d))a.id&&a.name&&o.set(a.id,{name:a.name,files:function(a){if(!a)return[];let b=[];return"string"==typeof a.file_path&&a.file_path&&b.push(a.file_path),"string"==typeof a.notebook_path&&a.notebook_path&&b.push(a.notebook_path),b}(a.input),provider:c,detail:function(a){if(a){if("string"==typeof a.description&&a.description)return a.description;if("string"==typeof a.command&&a.command)return a.command}}(a.input)});!function(){if(o.size<=4e3)return;let a=Math.floor(o.size/2);for(let b of o.keys()){if(a--<=0)break;o.delete(b)}}();return}if("user"===d.type)for(let j of k(d)){if(!j.tool_use_id)continue;let d=o.get(j.tool_use_id);if(d&&o.delete(j.tool_use_id),d&&h.W.has(d.name))continue;let k=j.tool_use_id;(0,i.NQ)(a),p(e.qIB(g.M,e=>e.record({cwd:a,sessionKey:b,runId:f,provider:c,toolId:k,toolName:d?.name??"tool",toolFiles:d?.files??[],toolDetail:d?.detail})).pipe(e.yeE(e.OH5(()=>(0,i.UT)(a)))))}}}d()}catch(a){d(a)}})},33286:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{T:()=>l});var e=c(79830),f=c(82940),g=c(26925),h=c(37655),i=c(55511),j=c(35369),k=a([g]);async function l(a,b,c){let{sessionId:d,images:k,cwd:l,language:m}=b;if(d&&(0,f.yQ)(d))return{ok:!1,status:409,error:"session is already running"};let n=b.prompt,o="string"==typeof n?(0,h.M)(n,m,c):n;if(!(o&&"string"==typeof o||k&&k.length>0))return{ok:!1,status:400,error:"Missing prompt or images"};if(a.preflight){let c=await a.preflight(b);if(!c.ok)return c}let p="string"==typeof o?o:void 0,q=new AbortController,r="string"==typeof b.runId&&b.runId||(0,i.randomUUID)(),s=d||r,t=d,u=!1;if(!(0,f.AD)(s,l||"",p,r))return{ok:!1,status:409,error:"run already active"};(0,f.e5)(s,()=>{u=!0,q.abort()}),l&&d&&(0,e.CS)(l,d,"loading",void 0,p,a.name).catch(()=>{}),(0,g.J)(l||"",s,a.name,r);let v={prompt:p,images:k,cwd:l||"",sessionId:d,params:b,signal:q.signal,emit(b){u||((0,f.ah)(s,b),(0,g.v)(l||"",s,a.name,b,r))},rekey(b){b&&((0,f.GS)(s,b),s=b,t=b,l&&(0,e.CS)(l,b,"loading",void 0,p,a.name).catch(()=>{}))},currentKey:()=>s};return(async()=>{try{await a.runner.run(v)}catch(b){if(q.signal.aborted){u=!0,(0,f.HS)(s,"idle");return}if(console.error(`[engine:${a.name}] run error:`,b),v.emit({type:"error",error:(0,j.l)(b)}),(0,f.HS)(s,"error"),u=!0,l&&t){let b=await (0,e.Pn)(l,t).catch(()=>void 0);await (0,e.CS)(l,t,"unread",b,void 0,a.name).catch(()=>{})}return}if(l&&t){let b=await (a.runner.resolveTitle?a.runner.resolveTitle(l,t).catch(()=>void 0):Promise.resolve(void 0));await (0,e.CS)(l,t,"unread",b,void 0,a.name).catch(()=>{})}u=!0,(0,f.HS)(s,"idle")})(),{ok:!0,runKey:s,sessionId:t??null}}g=(k.then?(await k)():k)[0],d()}catch(a){d(a)}})},37655:(a,b,c)=>{c.d(b,{M:()=>j});var d=c(29021),e=c(33873),f=c(7939);let g={qa:{zh:`---
2
2
  name: qa
3
3
  description: "进入需求澄清讨论模式:复述对需求的理解,把待确认点做成带推荐答案的选择题表格,只输出理解不改代码,遵循 KISS。"
4
4
  ---
@@ -1935,8 +1935,8 @@ When done, briefly report: skill slug, source path (\`<skills-dir>/<slug>/SKILL.
1935
1935
  - The user wants a **captured capability**, not a copied conversation.
1936
1936
  - **Analysis first**: decide whether there's knowledge worth capturing; if not, stop — don't force it, and don't ask for a directory early.
1937
1937
  - The canonical source always lives in \`<skills-dir>/<slug>/\`; even a single-file skill gets its own subdirectory.
1938
- - Distinguish fact / hypothesis / to-be-confirmed; don't hardcode a solution too early.`}},h=(0,e.join)(f.Kv,"skills"),i=/^\s*([/@])([a-zA-Z][a-zA-Z0-9-]*)(?:\s+|$)/;function j(a,b="en",c){let l,m=b.startsWith("zh")?"zh":"en",n=function(){try{let a=JSON.parse((0,d.readFileSync)(f.GB,"utf-8")),b=[];for(let c of a.skills??[]){let a=function(a){try{let b=(0,d.readFileSync)(a,"utf-8"),c=b.match(/^---\r?\n([\s\S]*?)\r?\n---/),e=(c?c[1]:b).match(/^name:\s*["']?([^"'\n]+?)["']?\s*$/m);return e?e[1].trim():null}catch{return null}}(c.path);a&&b.push({name:a,path:c.path})}return b}catch{return[]}}(),o=a.split("\n"),p=[];if(o.forEach((a,b)=>{let c,d=a.match(i);d&&(g[c=d[2]]||n.some(a=>a.name===c))&&p.push({i:b,marker:d[1],cmd:d[2],rest:a.slice(d[0].length).trim()})}),0===p.length)return a;let q=p.length>=2||p.some(a=>"@"===a.marker),r=(l=process.env.COCKPIT_PORT||process.env.PORT||"3457",`http://localhost:${l}`),s=new Map,t=new Set,u=[],v=new Set;p.forEach((a,b)=>{let c=b+1<p.length?p[b+1].i:o.length,f=[];a.rest&&f.push(a.rest);for(let b=a.i+1;b<c&&""!==o[b].trim();b++)f.push(o[b].trim()),t.add(b);let i=function(a,b,c,f){let i=f.find(b=>b.name===a);if(i)return{name:a,path:i.path,content:null};let j=g[a][b].replaceAll("{{BASE_URL}}",c),k=function(a,b){try{let c=(0,e.join)(h,a);(0,d.mkdirSync)(c,{recursive:!0});let f=(0,e.join)(c,"SKILL.md");return(0,d.writeFileSync)(f,b.endsWith("\n")?b:`${b}
1938
+ - Distinguish fact / hypothesis / to-be-confirmed; don't hardcode a solution too early.`}},h=(0,e.join)(f.Kv,"skills"),i=/^\s*([/@])(\S+?)(?:\s+|$)/;function j(a,b="en",c){let l,m=b.startsWith("zh")?"zh":"en",n=function(){try{let a=JSON.parse((0,d.readFileSync)(f.GB,"utf-8")),b=[];for(let c of a.skills??[]){let a=function(a){try{let b=(0,d.readFileSync)(a,"utf-8"),c=b.match(/^---\r?\n([\s\S]*?)\r?\n---/),e=(c?c[1]:b).match(/^name:\s*["']?([^"'\n]+?)["']?\s*$/m);return e?e[1].trim():null}catch{return null}}(c.path);a&&b.push({name:a,path:c.path})}return b}catch{return[]}}(),o=a.split("\n"),p=[];if(o.forEach((a,b)=>{let c,d=a.match(i);d&&(g[c=d[2]]||n.some(a=>a.name===c))&&p.push({i:b,marker:d[1],cmd:d[2],rest:a.slice(d[0].length).trim()})}),0===p.length)return a;let q=p.length>=2||p.some(a=>"@"===a.marker),r=(l=process.env.COCKPIT_PORT||process.env.PORT||"3457",`http://localhost:${l}`),s=new Map,t=new Set,u=[],v=new Set;p.forEach((a,b)=>{let c=b+1<p.length?p[b+1].i:o.length,f=[];a.rest&&f.push(a.rest);for(let b=a.i+1;b<c&&""!==o[b].trim();b++)f.push(o[b].trim()),t.add(b);let i=function(a,b,c,f){let i=f.find(b=>b.name===a);if(i)return{name:a,path:i.path,content:null};let j=g[a][b].replaceAll("{{BASE_URL}}",c),k=function(a,b){try{let c=(0,e.join)(h,a);(0,d.mkdirSync)(c,{recursive:!0});let f=(0,e.join)(c,"SKILL.md");return(0,d.writeFileSync)(f,b.endsWith("\n")?b:`${b}
1939
1939
  `,"utf-8"),f}catch{return null}}(a,j);return k?{name:a,path:k,content:null}:{name:a,path:null,content:j}}(a.cmd,m,r,n);s.set(a.i,function(a,b,c,d,e){if(b.path){let f=e?`[${k(a,d)}\xb7${b.name}]`:`[${b.name}]`;return c?`${f} ${c}`:f}let f=e?`[${k(a,d)}] `:"",g=c?"zh"===d?`,然后:${c}`:`, then: ${c}`:"";return`${f}${b.content??""}${g}`}(a.marker,i,f.join("\n"),m,q)),i.path&&!v.has(i.name)&&(v.add(i.name),u.push({name:i.name,path:i.path}))});let w=[];for(let a=0;a<o.length;a++)t.has(a)||w.push(s.get(a)??o[a]);let x=w.join("\n");if(u.length>0){let a="zh"===m?"请先读取以下 skill 文件,再据此执行:":"Read these skill files first, then act accordingly:",b="zh"===m?":":": ",c=u.map(a=>`- ${a.name}${b}${a.path}`).join("\n");x=`${x}
1940
1940
 
1941
1941
  ${a}
1942
- ${c}`}return x}function k(a,b){return"@"===a?"subagent":"zh"===b?"主会话":"main session"}},38561:(a,b,c)=>{c.d(b,{W:()=>d});let d=new Set(["Read","Grep","Glob","LS","WebSearch","WebFetch","NotebookRead","TodoRead","AskUserQuestion","ExitPlanMode","TodoWrite","Skill"])},82940:(a,b,c)=>{c.d(b,{AD:()=>j,GS:()=>l,HS:()=>m,Si:()=>n,Y6:()=>r,ah:()=>k,e5:()=>q,j$:()=>p,yQ:()=>o});let d=globalThis,e=d.__cockpitRunRegistry??(d.__cockpitRunRegistry=new Map),f=d.__cockpitRunListeners??(d.__cockpitRunListeners=new Map),g=d.__cockpitRunSeqByKey??(d.__cockpitRunSeqByKey=new Map);function h(a){for(let b of(a.seq+=1,a.keys))g.set(b,a.seq);return a.seq}function i(a,b){for(let c of a.keys){let a=f.get(c);if(a)for(let c of a)try{c(b)}catch{}}}function j(a,b,c,d){let f=e.get(a);if(f?.status==="running")return!1;let h=f?.seq??g.get(a)??0;if(f)for(let a of(f.evictTimer&&clearTimeout(f.evictTimer),f.keys))e.delete(a);let i=Date.now();return e.set(a,{keys:new Set([a]),cwd:b,status:"running",seq:h,events:[],startedAt:i,updatedAt:i}),c&&k(a,{type:"user",_human:!0,...d?{_turnId:d}:{},_ts:i,message:{role:"user",content:c}}),!0}function k(a,b){let c=e.get(a);if(!c||"running"!==c.status)return;h(c);let d=function(a){if("object"!=typeof a||null===a||"usage_update"!==a.type)return null;let b=a.output_tokens;return"number"==typeof b&&Number.isFinite(b)?Math.max(0,Math.round(b)):null}(b);null!==d&&(c.outputTokens=Math.max(c.outputTokens??0,d)),("object"!=typeof b||null===b||"usage_update"!==b.type)&&c.events.push(b),c.updatedAt=Date.now(),i(c,{seq:c.seq,message:b})}function l(a,b){let c=e.get(a);c&&(c.sessionId=b,a!==b&&(c.keys.add(b),e.set(b,c)))}function m(a,b="idle"){let c=e.get(a);if(c){if("running"!==c.status){"idle"===c.status&&"error"===b&&(c.status="error");return}c.status=b,c.updatedAt=Date.now(),h(c),i(c,{seq:c.seq,message:{type:"run-ended",status:b}}),c.evictTimer&&clearTimeout(c.evictTimer),c.evictTimer=setTimeout(()=>{for(let a of c.keys)e.delete(a)},6e4)}}function n(a){let b=e.get(a);return b?{status:b.status,seq:b.seq,events:b.events.slice(),startedAt:b.startedAt,outputTokens:b.outputTokens}:null}function o(a){return e.get(a)?.status==="running"}function p(a){return e.get(a)?.sessionId??null}function q(a,b){let c=e.get(a);c&&(c.abort=b)}function r(a){let b=e.get(a);if(!b)return!1;try{b.abort?.()}catch{}return k(a,{type:"result",subtype:"stopped"}),m(a,"idle"),!0}}};
1942
+ ${c}`}return x}function k(a,b){return"@"===a?"subagent":"zh"===b?"主会话":"main session"}},38561:(a,b,c)=>{c.d(b,{W:()=>d});let d=new Set(["Read","Grep","Glob","LS","WebSearch","WebFetch","NotebookRead","TodoRead","AskUserQuestion","ExitPlanMode","TodoWrite","Skill"])},82940:(a,b,c)=>{c.d(b,{AD:()=>j,GS:()=>l,HS:()=>m,Si:()=>n,Y6:()=>r,ah:()=>k,e5:()=>q,j$:()=>p,yQ:()=>o});let d=globalThis,e=d.__cockpitRunRegistry??(d.__cockpitRunRegistry=new Map),f=d.__cockpitRunListeners??(d.__cockpitRunListeners=new Map),g=d.__cockpitRunSeqByKey??(d.__cockpitRunSeqByKey=new Map);function h(a){for(let b of(a.seq+=1,a.keys))g.set(b,a.seq);return a.seq}function i(a,b){for(let c of a.keys){let a=f.get(c);if(a)for(let c of a)try{c(b)}catch{}}}function j(a,b,c,d){let f=e.get(a);if(f?.status==="running")return!1;let h=f?.seq??g.get(a)??0;if(f)for(let a of(f.evictTimer&&clearTimeout(f.evictTimer),f.keys))e.delete(a);let i=Date.now();return e.set(a,{keys:new Set([a]),cwd:b,status:"running",seq:h,events:[],startedAt:i,...d?{runId:d}:{},updatedAt:i}),c&&k(a,{type:"user",_human:!0,...d?{_turnId:d}:{},_ts:i,message:{role:"user",content:c}}),!0}function k(a,b){let c=e.get(a);if(!c||"running"!==c.status)return;h(c);let d=function(a){if("object"!=typeof a||null===a||"usage_update"!==a.type)return null;let b=a.output_tokens;return"number"==typeof b&&Number.isFinite(b)?Math.max(0,Math.round(b)):null}(b);null!==d&&(c.outputTokens=Math.max(c.outputTokens??0,d)),("object"!=typeof b||null===b||"usage_update"!==b.type)&&c.events.push(b),c.updatedAt=Date.now(),i(c,{seq:c.seq,message:b})}function l(a,b){let c=e.get(a);c&&(c.sessionId=b,a!==b&&(c.keys.add(b),e.set(b,c)))}function m(a,b="idle"){let c=e.get(a);if(c){if("running"!==c.status){"idle"===c.status&&"error"===b&&(c.status="error");return}c.status=b,c.updatedAt=Date.now(),h(c),i(c,{seq:c.seq,message:{type:"run-ended",status:b}}),c.evictTimer&&clearTimeout(c.evictTimer),c.evictTimer=setTimeout(()=>{for(let a of c.keys)e.delete(a)},6e4)}}function n(a){let b=e.get(a);return b?{status:b.status,seq:b.seq,events:b.events.slice(),startedAt:b.startedAt,runId:b.runId,outputTokens:b.outputTokens}:null}function o(a){return e.get(a)?.status==="running"}function p(a){return e.get(a)?.sessionId??null}function q(a,b){let c=e.get(a);c&&(c.abort=b)}function r(a){let b=e.get(a);if(!b)return!1;try{b.abort?.()}catch{}return k(a,{type:"result",subtype:"stopped"}),m(a,"idle"),!0}}};