@surething/cockpit 1.0.272 → 1.0.274

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 (712) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +8 -6
  3. package/.next-prod/build-manifest.json +3 -3
  4. package/.next-prod/cockpit-build.json +1 -1
  5. package/.next-prod/prerender-manifest.json +4 -4
  6. package/.next-prod/react-loadable-manifest.json +0 -12
  7. package/.next-prod/routes-manifest.json +20 -6
  8. package/.next-prod/server/app/_global-error/page.js +2 -2
  9. package/.next-prod/server/app/_global-error/page.js.nft.json +1 -1
  10. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  11. package/.next-prod/server/app/_global-error.html +1 -1
  12. package/.next-prod/server/app/_global-error.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  14. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  15. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  16. package/.next-prod/server/app/_not-found/page.js +1 -1
  17. package/.next-prod/server/app/_not-found/page.js.nft.json +1 -1
  18. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  19. package/.next-prod/server/app/_not-found.html +2 -2
  20. package/.next-prod/server/app/_not-found.rsc +3 -3
  21. package/.next-prod/server/app/_not-found.segments/_full.segment.rsc +3 -3
  22. package/.next-prod/server/app/_not-found.segments/_index.segment.rsc +3 -3
  23. package/.next-prod/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  24. package/.next-prod/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  25. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  26. package/.next-prod/server/app/api/agent/test/route.js.nft.json +1 -1
  27. package/.next-prod/server/app/api/bash/route.js +1 -1
  28. package/.next-prod/server/app/api/bash/route.js.nft.json +1 -1
  29. package/.next-prod/server/app/api/chat/codex/route.js +1 -1
  30. package/.next-prod/server/app/api/chat/codex/route.js.nft.json +1 -1
  31. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  32. package/.next-prod/server/app/api/chat/deepseek/route.js.nft.json +1 -1
  33. package/.next-prod/server/app/api/chat/glm/route.js +1 -1
  34. package/.next-prod/server/app/api/chat/glm/route.js.nft.json +1 -1
  35. package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
  36. package/.next-prod/server/app/api/chat/kimi/route.js.nft.json +1 -1
  37. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  38. package/.next-prod/server/app/api/chat/ollama/route.js.nft.json +1 -1
  39. package/.next-prod/server/app/api/chat/route.js +1 -1
  40. package/.next-prod/server/app/api/chat/route.js.nft.json +1 -1
  41. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  42. package/.next-prod/server/app/api/chat/stop/route.js.nft.json +1 -1
  43. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  44. package/.next-prod/server/app/api/claude-stats/route.js.nft.json +1 -1
  45. package/.next-prod/server/app/api/commands/route.js +1 -1
  46. package/.next-prod/server/app/api/commands/route.js.nft.json +1 -1
  47. package/.next-prod/server/app/api/comments/route.js +1 -1
  48. package/.next-prod/server/app/api/comments/route.js.nft.json +1 -1
  49. package/.next-prod/server/app/api/db/columns/route.js +1 -1
  50. package/.next-prod/server/app/api/db/columns/route.js.nft.json +1 -1
  51. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  52. package/.next-prod/server/app/api/db/connect/route.js.nft.json +1 -1
  53. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  54. package/.next-prod/server/app/api/db/disconnect/route.js.nft.json +1 -1
  55. package/.next-prod/server/app/api/db/export/route.js +1 -1
  56. package/.next-prod/server/app/api/db/export/route.js.nft.json +1 -1
  57. package/.next-prod/server/app/api/db/query/route.js +1 -1
  58. package/.next-prod/server/app/api/db/query/route.js.nft.json +1 -1
  59. package/.next-prod/server/app/api/db/schemas/route.js +1 -1
  60. package/.next-prod/server/app/api/db/schemas/route.js.nft.json +1 -1
  61. package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
  62. package/.next-prod/server/app/api/deepseek/balance/route.js.nft.json +1 -1
  63. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  64. package/.next-prod/server/app/api/deepseek/credentials/route.js.nft.json +1 -1
  65. package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
  66. package/.next-prod/server/app/api/deepseek/models/route.js.nft.json +1 -1
  67. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  68. package/.next-prod/server/app/api/dev/spans/route.js.nft.json +1 -1
  69. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  70. package/.next-prod/server/app/api/extension/version/route.js.nft.json +1 -1
  71. package/.next-prod/server/app/api/file/route.js +1 -1
  72. package/.next-prod/server/app/api/file/route.js.nft.json +1 -1
  73. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  74. package/.next-prod/server/app/api/files/blame/route.js.nft.json +1 -1
  75. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  76. package/.next-prod/server/app/api/files/clipboard/route.js.nft.json +1 -1
  77. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  78. package/.next-prod/server/app/api/files/copy/route.js.nft.json +1 -1
  79. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  80. package/.next-prod/server/app/api/files/delete/route.js.nft.json +1 -1
  81. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  82. package/.next-prod/server/app/api/files/expanded/route.js.nft.json +1 -1
  83. package/.next-prod/server/app/api/files/index/route.js +1 -1
  84. package/.next-prod/server/app/api/files/index/route.js.nft.json +1 -1
  85. package/.next-prod/server/app/api/files/init/route.js +1 -1
  86. package/.next-prod/server/app/api/files/init/route.js.nft.json +1 -1
  87. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  88. package/.next-prod/server/app/api/files/paste/route.js.nft.json +1 -1
  89. package/.next-prod/server/app/api/files/read/route.js +1 -1
  90. package/.next-prod/server/app/api/files/read/route.js.nft.json +1 -1
  91. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  92. package/.next-prod/server/app/api/files/readdir/route.js.nft.json +1 -1
  93. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  94. package/.next-prod/server/app/api/files/recent/route.js.nft.json +1 -1
  95. package/.next-prod/server/app/api/files/save/route.js +1 -1
  96. package/.next-prod/server/app/api/files/save/route.js.nft.json +1 -1
  97. package/.next-prod/server/app/api/files/search/route.js +1 -1
  98. package/.next-prod/server/app/api/files/search/route.js.nft.json +1 -1
  99. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  100. package/.next-prod/server/app/api/files/stat/route.js.nft.json +1 -1
  101. package/.next-prod/server/app/api/files/text/route.js +1 -1
  102. package/.next-prod/server/app/api/files/text/route.js.nft.json +1 -1
  103. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  104. package/.next-prod/server/app/api/git/blob/route.js.nft.json +1 -1
  105. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  106. package/.next-prod/server/app/api/git/branch-diff/route.js.nft.json +1 -1
  107. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  108. package/.next-prod/server/app/api/git/branches/route.js.nft.json +1 -1
  109. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  110. package/.next-prod/server/app/api/git/commit-diff/route.js.nft.json +1 -1
  111. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  112. package/.next-prod/server/app/api/git/commits/route.js.nft.json +1 -1
  113. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  114. package/.next-prod/server/app/api/git/current-branch/route.js.nft.json +1 -1
  115. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  116. package/.next-prod/server/app/api/git/diff/route.js.nft.json +1 -1
  117. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  118. package/.next-prod/server/app/api/git/discard/route.js.nft.json +1 -1
  119. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  120. package/.next-prod/server/app/api/git/stage/route.js.nft.json +1 -1
  121. package/.next-prod/server/app/api/git/status/route.js +1 -1
  122. package/.next-prod/server/app/api/git/status/route.js.nft.json +1 -1
  123. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  124. package/.next-prod/server/app/api/git/unstage/route.js.nft.json +1 -1
  125. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  126. package/.next-prod/server/app/api/git/worktree/route.js.nft.json +1 -1
  127. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  128. package/.next-prod/server/app/api/glm/credentials/route.js.nft.json +1 -1
  129. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  130. package/.next-prod/server/app/api/glm/models/route.js.nft.json +1 -1
  131. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  132. package/.next-prod/server/app/api/glm/usage/route.js.nft.json +1 -1
  133. package/.next-prod/server/app/api/global-state/route.js +1 -1
  134. package/.next-prod/server/app/api/global-state/route.js.nft.json +1 -1
  135. package/.next-prod/server/app/api/health/route.js +1 -1
  136. package/.next-prod/server/app/api/health/route.js.nft.json +1 -1
  137. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  138. package/.next-prod/server/app/api/html-apps/[id]/route.js.nft.json +1 -1
  139. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  140. package/.next-prod/server/app/api/html-apps/route.js.nft.json +1 -1
  141. package/.next-prod/server/app/api/instructions/config/route.js +1 -0
  142. package/.next-prod/server/app/api/{prompts → instructions}/config/route.js.nft.json +1 -1
  143. package/.next-prod/server/app/api/instructions/config/route_client-reference-manifest.js +1 -0
  144. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  145. package/.next-prod/server/app/api/kimi/credentials/route.js.nft.json +1 -1
  146. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  147. package/.next-prod/server/app/api/kimi/models/route.js.nft.json +1 -1
  148. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  149. package/.next-prod/server/app/api/kimi/usage/route.js.nft.json +1 -1
  150. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  151. package/.next-prod/server/app/api/lsp/definition/route.js.nft.json +1 -1
  152. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  153. package/.next-prod/server/app/api/lsp/hover/route.js.nft.json +1 -1
  154. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  155. package/.next-prod/server/app/api/lsp/references/route.js.nft.json +1 -1
  156. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  157. package/.next-prod/server/app/api/lsp/status/route.js.nft.json +1 -1
  158. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  159. package/.next-prod/server/app/api/lsp/warmup/route.js.nft.json +1 -1
  160. package/.next-prod/server/app/api/mysql/columns/route.js +1 -1
  161. package/.next-prod/server/app/api/mysql/columns/route.js.nft.json +1 -1
  162. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  163. package/.next-prod/server/app/api/mysql/connect/route.js.nft.json +1 -1
  164. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  165. package/.next-prod/server/app/api/mysql/disconnect/route.js.nft.json +1 -1
  166. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  167. package/.next-prod/server/app/api/mysql/export/route.js.nft.json +1 -1
  168. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  169. package/.next-prod/server/app/api/mysql/query/route.js.nft.json +1 -1
  170. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  171. package/.next-prod/server/app/api/mysql/schemas/route.js.nft.json +1 -1
  172. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  173. package/.next-prod/server/app/api/neo4j/connect/route.js.nft.json +1 -1
  174. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  175. package/.next-prod/server/app/api/neo4j/disconnect/route.js.nft.json +1 -1
  176. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  177. package/.next-prod/server/app/api/neo4j/query/route.js.nft.json +1 -1
  178. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  179. package/.next-prod/server/app/api/neo4j/schema/route.js.nft.json +1 -1
  180. package/.next-prod/server/app/api/note/route.js +1 -1
  181. package/.next-prod/server/app/api/note/route.js.nft.json +1 -1
  182. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  183. package/.next-prod/server/app/api/ollama/config/route.js.nft.json +1 -1
  184. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  185. package/.next-prod/server/app/api/ollama/models/route.js.nft.json +1 -1
  186. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  187. package/.next-prod/server/app/api/ollama/start/route.js.nft.json +1 -1
  188. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  189. package/.next-prod/server/app/api/open-cursor/route.js.nft.json +1 -1
  190. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  191. package/.next-prod/server/app/api/open-vscode/route.js.nft.json +1 -1
  192. package/.next-prod/server/app/api/pick-folder/route.js +1 -1
  193. package/.next-prod/server/app/api/pick-folder/route.js.nft.json +1 -1
  194. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  195. package/.next-prod/server/app/api/pinned-sessions/route.js.nft.json +1 -1
  196. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  197. package/.next-prod/server/app/api/project-settings/route.js.nft.json +1 -1
  198. package/.next-prod/server/app/api/project-state/route.js +2 -2
  199. package/.next-prod/server/app/api/project-state/route.js.nft.json +1 -1
  200. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  201. package/.next-prod/server/app/api/projectGraph/affected/route.js.nft.json +1 -1
  202. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  203. package/.next-prod/server/app/api/projectGraph/callees/route.js.nft.json +1 -1
  204. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  205. package/.next-prod/server/app/api/projectGraph/callers/route.js.nft.json +1 -1
  206. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  207. package/.next-prod/server/app/api/projectGraph/coedit/route.js.nft.json +1 -1
  208. package/.next-prod/server/app/api/projectGraph/context/route.js +1 -1
  209. package/.next-prod/server/app/api/projectGraph/context/route.js.nft.json +1 -1
  210. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  211. package/.next-prod/server/app/api/projectGraph/file/route.js.nft.json +1 -1
  212. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  213. package/.next-prod/server/app/api/projectGraph/file-functions/route.js.nft.json +1 -1
  214. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  215. package/.next-prod/server/app/api/projectGraph/impact/route.js.nft.json +1 -1
  216. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  217. package/.next-prod/server/app/api/projectGraph/related/route.js.nft.json +1 -1
  218. package/.next-prod/server/app/api/projectGraph/risk/route.js +1 -1
  219. package/.next-prod/server/app/api/projectGraph/risk/route.js.nft.json +1 -1
  220. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  221. package/.next-prod/server/app/api/projectGraph/search/route.js.nft.json +1 -1
  222. package/.next-prod/server/app/api/projects/route.js +1 -1
  223. package/.next-prod/server/app/api/projects/route.js.nft.json +1 -1
  224. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  225. package/.next-prod/server/app/api/push/public-key/route.js.nft.json +1 -1
  226. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  227. package/.next-prod/server/app/api/push/subscribe/route.js.nft.json +1 -1
  228. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  229. package/.next-prod/server/app/api/push/unsubscribe/route.js.nft.json +1 -1
  230. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  231. package/.next-prod/server/app/api/redis/command/route.js.nft.json +1 -1
  232. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  233. package/.next-prod/server/app/api/redis/connect/route.js.nft.json +1 -1
  234. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  235. package/.next-prod/server/app/api/redis/delete/route.js.nft.json +1 -1
  236. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  237. package/.next-prod/server/app/api/redis/disconnect/route.js.nft.json +1 -1
  238. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  239. package/.next-prod/server/app/api/redis/get/route.js.nft.json +1 -1
  240. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  241. package/.next-prod/server/app/api/redis/keys/route.js.nft.json +1 -1
  242. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  243. package/.next-prod/server/app/api/redis/set/route.js.nft.json +1 -1
  244. package/.next-prod/server/app/api/restart/route.js +1 -1
  245. package/.next-prod/server/app/api/restart/route.js.nft.json +1 -1
  246. package/.next-prod/server/app/api/review/[id]/comments/route.js +1 -1
  247. package/.next-prod/server/app/api/review/[id]/comments/route.js.nft.json +1 -1
  248. package/.next-prod/server/app/api/review/[id]/replies/route.js +1 -1
  249. package/.next-prod/server/app/api/review/[id]/replies/route.js.nft.json +1 -1
  250. package/.next-prod/server/app/api/review/[id]/route.js +1 -1
  251. package/.next-prod/server/app/api/review/[id]/route.js.nft.json +1 -1
  252. package/.next-prod/server/app/api/review/identify/route.js +1 -1
  253. package/.next-prod/server/app/api/review/identify/route.js.nft.json +1 -1
  254. package/.next-prod/server/app/api/review/order/route.js +1 -1
  255. package/.next-prod/server/app/api/review/order/route.js.nft.json +1 -1
  256. package/.next-prod/server/app/api/review/route.js +1 -1
  257. package/.next-prod/server/app/api/review/route.js.nft.json +1 -1
  258. package/.next-prod/server/app/api/review/share-info/route.js +1 -1
  259. package/.next-prod/server/app/api/review/share-info/route.js.nft.json +1 -1
  260. package/.next-prod/server/app/api/review/users/route.js +1 -1
  261. package/.next-prod/server/app/api/review/users/route.js.nft.json +1 -1
  262. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  263. package/.next-prod/server/app/api/scheduled-tasks/route.js.nft.json +1 -1
  264. package/.next-prod/server/app/api/services/config/route.js +1 -1
  265. package/.next-prod/server/app/api/services/config/route.js.nft.json +1 -1
  266. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  267. package/.next-prod/server/app/api/services/scripts/route.js.nft.json +1 -1
  268. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  269. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js.nft.json +1 -1
  270. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  271. package/.next-prod/server/app/api/session/[sessionId]/history/route.js.nft.json +1 -1
  272. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -0
  273. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js.nft.json +1 -0
  274. package/.next-prod/server/app/api/session/[sessionId]/turn/route_client-reference-manifest.js +1 -0
  275. package/.next-prod/server/app/api/session/user-messages/route.js +1 -0
  276. package/.next-prod/server/app/api/session/user-messages/route.js.nft.json +1 -0
  277. package/.next-prod/server/app/api/session/user-messages/route_client-reference-manifest.js +1 -0
  278. package/.next-prod/server/app/api/session-by-path/route.js +1 -3
  279. package/.next-prod/server/app/api/session-by-path/route.js.nft.json +1 -1
  280. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  281. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js.nft.json +1 -1
  282. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  283. package/.next-prod/server/app/api/sessions/projects/route.js.nft.json +1 -1
  284. package/.next-prod/server/app/api/sessions/route.js +1 -1
  285. package/.next-prod/server/app/api/sessions/route.js.nft.json +1 -1
  286. package/.next-prod/server/app/api/settings/route.js +1 -1
  287. package/.next-prod/server/app/api/settings/route.js.nft.json +1 -1
  288. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  289. package/.next-prod/server/app/api/shutdown/route.js.nft.json +1 -1
  290. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  291. package/.next-prod/server/app/api/skills/[id]/route.js.nft.json +1 -1
  292. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  293. package/.next-prod/server/app/api/skills/content/route.js.nft.json +1 -1
  294. package/.next-prod/server/app/api/skills/route.js +1 -1
  295. package/.next-prod/server/app/api/skills/route.js.nft.json +1 -1
  296. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  297. package/.next-prod/server/app/api/snapshots/blob/route.js.nft.json +1 -1
  298. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  299. package/.next-prod/server/app/api/snapshots/diff/route.js.nft.json +1 -1
  300. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  301. package/.next-prod/server/app/api/snapshots/route.js.nft.json +1 -1
  302. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  303. package/.next-prod/server/app/api/terminal/aliases/route.js.nft.json +1 -1
  304. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  305. package/.next-prod/server/app/api/terminal/autocomplete/route.js.nft.json +1 -1
  306. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  307. package/.next-prod/server/app/api/terminal/bubble-order/route.js.nft.json +1 -1
  308. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  309. package/.next-prod/server/app/api/terminal/env/route.js.nft.json +1 -1
  310. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  311. package/.next-prod/server/app/api/terminal/history/route.js.nft.json +1 -1
  312. package/.next-prod/server/app/api/update/route.js +1 -1
  313. package/.next-prod/server/app/api/update/route.js.nft.json +1 -1
  314. package/.next-prod/server/app/api/update-state/route.js +1 -1
  315. package/.next-prod/server/app/api/update-state/route.js.nft.json +1 -1
  316. package/.next-prod/server/app/api/version/route.js +1 -1
  317. package/.next-prod/server/app/api/version/route.js.nft.json +1 -1
  318. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  319. package/.next-prod/server/app/apps/[...path]/route.js.nft.json +1 -1
  320. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  321. package/.next-prod/server/app/favicon.ico/route.js.nft.json +1 -1
  322. package/.next-prod/server/app/m/page.js +1 -1
  323. package/.next-prod/server/app/m/page.js.nft.json +1 -1
  324. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  325. package/.next-prod/server/app/manifest.webmanifest/route.js +2 -2
  326. package/.next-prod/server/app/manifest.webmanifest/route.js.nft.json +1 -1
  327. package/.next-prod/server/app/page.js +1 -1
  328. package/.next-prod/server/app/page.js.nft.json +1 -1
  329. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  330. package/.next-prod/server/app/project/page.js +1 -1
  331. package/.next-prod/server/app/project/page.js.nft.json +1 -1
  332. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  333. package/.next-prod/server/app/review/[id]/page.js +1 -1
  334. package/.next-prod/server/app/review/[id]/page.js.nft.json +1 -1
  335. package/.next-prod/server/app/review/[id]/page_client-reference-manifest.js +1 -1
  336. package/.next-prod/server/app-paths-manifest.json +8 -6
  337. package/.next-prod/server/chunks/1237.js +1 -0
  338. package/.next-prod/server/chunks/2493.js +3 -3
  339. package/.next-prod/server/chunks/3286.js +1 -1
  340. package/.next-prod/server/chunks/4949.js +1 -1
  341. package/.next-prod/server/chunks/516.js +1 -1
  342. package/.next-prod/server/chunks/5750.js +19 -19
  343. package/.next-prod/server/chunks/6495.js +1 -1
  344. package/.next-prod/server/chunks/6548.js +1 -1
  345. package/.next-prod/server/chunks/{5766.js → 7956.js} +9 -10
  346. package/.next-prod/server/chunks/8616.js +3 -0
  347. package/.next-prod/server/chunks/9830.js +1 -1
  348. package/.next-prod/server/chunks/9891.js +7 -0
  349. package/.next-prod/server/functions-config-manifest.json +1 -1
  350. package/.next-prod/server/middleware-build-manifest.js +1 -1
  351. package/.next-prod/server/middleware-react-loadable-manifest.js +1 -1
  352. package/.next-prod/server/pages/404.html +2 -2
  353. package/.next-prod/server/pages/500.html +1 -1
  354. package/.next-prod/server/server-reference-manifest.json +1 -1
  355. package/.next-prod/static/Ltfbusd381Du6etTab1ug/_buildManifest.js +1 -0
  356. package/.next-prod/static/chunks/{4137-7d6f2498d03b184d.js → 103-1788abe4fb625136.js} +7 -7
  357. package/.next-prod/static/chunks/{1332-e26fddaef359ce51.js → 1332-e51496c0bf36be06.js} +5 -5
  358. package/.next-prod/static/chunks/{2032-8326efdf5830d58c.js → 2032-c4d080bb65101d4c.js} +1 -1
  359. package/.next-prod/static/chunks/2539-52ea8019220fc163.js +17 -0
  360. package/.next-prod/static/chunks/{9200-2d063007a9a86cd2.js → 8707-60c93d98f9ca9be7.js} +2 -2
  361. package/.next-prod/static/chunks/9092-9c01b3ae176018c5.js +716 -0
  362. package/.next-prod/static/chunks/9656-da407fc0921ddc52.js +32 -0
  363. package/.next-prod/static/chunks/96c8525a-b50f9758924ea57d.js +1 -0
  364. package/.next-prod/static/chunks/app/_global-error/page-dd925381ab99e37b.js +1 -0
  365. package/.next-prod/static/chunks/app/api/agent/test/route-dd925381ab99e37b.js +1 -0
  366. package/.next-prod/static/chunks/app/api/bash/route-dd925381ab99e37b.js +1 -0
  367. package/.next-prod/static/chunks/app/api/chat/codex/route-dd925381ab99e37b.js +1 -0
  368. package/.next-prod/static/chunks/app/api/chat/deepseek/route-dd925381ab99e37b.js +1 -0
  369. package/.next-prod/static/chunks/app/api/chat/glm/route-dd925381ab99e37b.js +1 -0
  370. package/.next-prod/static/chunks/app/api/chat/kimi/route-dd925381ab99e37b.js +1 -0
  371. package/.next-prod/static/chunks/app/api/chat/ollama/route-dd925381ab99e37b.js +1 -0
  372. package/.next-prod/static/chunks/app/api/chat/route-dd925381ab99e37b.js +1 -0
  373. package/.next-prod/static/chunks/app/api/chat/stop/route-dd925381ab99e37b.js +1 -0
  374. package/.next-prod/static/chunks/app/api/claude-stats/route-dd925381ab99e37b.js +1 -0
  375. package/.next-prod/static/chunks/app/api/commands/route-dd925381ab99e37b.js +1 -0
  376. package/.next-prod/static/chunks/app/api/comments/route-dd925381ab99e37b.js +1 -0
  377. package/.next-prod/static/chunks/app/api/db/columns/route-dd925381ab99e37b.js +1 -0
  378. package/.next-prod/static/chunks/app/api/db/connect/route-dd925381ab99e37b.js +1 -0
  379. package/.next-prod/static/chunks/app/api/db/disconnect/route-dd925381ab99e37b.js +1 -0
  380. package/.next-prod/static/chunks/app/api/db/export/route-dd925381ab99e37b.js +1 -0
  381. package/.next-prod/static/chunks/app/api/db/query/route-dd925381ab99e37b.js +1 -0
  382. package/.next-prod/static/chunks/app/api/db/schemas/route-dd925381ab99e37b.js +1 -0
  383. package/.next-prod/static/chunks/app/api/deepseek/balance/route-dd925381ab99e37b.js +1 -0
  384. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-dd925381ab99e37b.js +1 -0
  385. package/.next-prod/static/chunks/app/api/deepseek/models/route-dd925381ab99e37b.js +1 -0
  386. package/.next-prod/static/chunks/app/api/dev/spans/route-dd925381ab99e37b.js +1 -0
  387. package/.next-prod/static/chunks/app/api/extension/version/route-dd925381ab99e37b.js +1 -0
  388. package/.next-prod/static/chunks/app/api/file/route-dd925381ab99e37b.js +1 -0
  389. package/.next-prod/static/chunks/app/api/files/blame/route-dd925381ab99e37b.js +1 -0
  390. package/.next-prod/static/chunks/app/api/files/clipboard/route-dd925381ab99e37b.js +1 -0
  391. package/.next-prod/static/chunks/app/api/files/copy/route-dd925381ab99e37b.js +1 -0
  392. package/.next-prod/static/chunks/app/api/files/delete/route-dd925381ab99e37b.js +1 -0
  393. package/.next-prod/static/chunks/app/api/files/expanded/route-dd925381ab99e37b.js +1 -0
  394. package/.next-prod/static/chunks/app/api/files/index/route-dd925381ab99e37b.js +1 -0
  395. package/.next-prod/static/chunks/app/api/files/init/route-dd925381ab99e37b.js +1 -0
  396. package/.next-prod/static/chunks/app/api/files/paste/route-dd925381ab99e37b.js +1 -0
  397. package/.next-prod/static/chunks/app/api/files/read/route-dd925381ab99e37b.js +1 -0
  398. package/.next-prod/static/chunks/app/api/files/readdir/route-dd925381ab99e37b.js +1 -0
  399. package/.next-prod/static/chunks/app/api/files/recent/route-dd925381ab99e37b.js +1 -0
  400. package/.next-prod/static/chunks/app/api/files/save/route-dd925381ab99e37b.js +1 -0
  401. package/.next-prod/static/chunks/app/api/files/search/route-dd925381ab99e37b.js +1 -0
  402. package/.next-prod/static/chunks/app/api/files/stat/route-dd925381ab99e37b.js +1 -0
  403. package/.next-prod/static/chunks/app/api/files/text/route-dd925381ab99e37b.js +1 -0
  404. package/.next-prod/static/chunks/app/api/git/blob/route-dd925381ab99e37b.js +1 -0
  405. package/.next-prod/static/chunks/app/api/git/branch-diff/route-dd925381ab99e37b.js +1 -0
  406. package/.next-prod/static/chunks/app/api/git/branches/route-dd925381ab99e37b.js +1 -0
  407. package/.next-prod/static/chunks/app/api/git/commit-diff/route-dd925381ab99e37b.js +1 -0
  408. package/.next-prod/static/chunks/app/api/git/commits/route-dd925381ab99e37b.js +1 -0
  409. package/.next-prod/static/chunks/app/api/git/current-branch/route-dd925381ab99e37b.js +1 -0
  410. package/.next-prod/static/chunks/app/api/git/diff/route-dd925381ab99e37b.js +1 -0
  411. package/.next-prod/static/chunks/app/api/git/discard/route-dd925381ab99e37b.js +1 -0
  412. package/.next-prod/static/chunks/app/api/git/stage/route-dd925381ab99e37b.js +1 -0
  413. package/.next-prod/static/chunks/app/api/git/status/route-dd925381ab99e37b.js +1 -0
  414. package/.next-prod/static/chunks/app/api/git/unstage/route-dd925381ab99e37b.js +1 -0
  415. package/.next-prod/static/chunks/app/api/git/worktree/route-dd925381ab99e37b.js +1 -0
  416. package/.next-prod/static/chunks/app/api/glm/credentials/route-dd925381ab99e37b.js +1 -0
  417. package/.next-prod/static/chunks/app/api/glm/models/route-dd925381ab99e37b.js +1 -0
  418. package/.next-prod/static/chunks/app/api/glm/usage/route-dd925381ab99e37b.js +1 -0
  419. package/.next-prod/static/chunks/app/api/global-state/route-dd925381ab99e37b.js +1 -0
  420. package/.next-prod/static/chunks/app/api/health/route-dd925381ab99e37b.js +1 -0
  421. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-dd925381ab99e37b.js +1 -0
  422. package/.next-prod/static/chunks/app/api/html-apps/route-dd925381ab99e37b.js +1 -0
  423. package/.next-prod/static/chunks/app/api/instructions/config/route-dd925381ab99e37b.js +1 -0
  424. package/.next-prod/static/chunks/app/api/kimi/credentials/route-dd925381ab99e37b.js +1 -0
  425. package/.next-prod/static/chunks/app/api/kimi/models/route-dd925381ab99e37b.js +1 -0
  426. package/.next-prod/static/chunks/app/api/kimi/usage/route-dd925381ab99e37b.js +1 -0
  427. package/.next-prod/static/chunks/app/api/lsp/definition/route-dd925381ab99e37b.js +1 -0
  428. package/.next-prod/static/chunks/app/api/lsp/hover/route-dd925381ab99e37b.js +1 -0
  429. package/.next-prod/static/chunks/app/api/lsp/references/route-dd925381ab99e37b.js +1 -0
  430. package/.next-prod/static/chunks/app/api/lsp/status/route-dd925381ab99e37b.js +1 -0
  431. package/.next-prod/static/chunks/app/api/lsp/warmup/route-dd925381ab99e37b.js +1 -0
  432. package/.next-prod/static/chunks/app/api/mysql/columns/route-dd925381ab99e37b.js +1 -0
  433. package/.next-prod/static/chunks/app/api/mysql/connect/route-dd925381ab99e37b.js +1 -0
  434. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-dd925381ab99e37b.js +1 -0
  435. package/.next-prod/static/chunks/app/api/mysql/export/route-dd925381ab99e37b.js +1 -0
  436. package/.next-prod/static/chunks/app/api/mysql/query/route-dd925381ab99e37b.js +1 -0
  437. package/.next-prod/static/chunks/app/api/mysql/schemas/route-dd925381ab99e37b.js +1 -0
  438. package/.next-prod/static/chunks/app/api/neo4j/connect/route-dd925381ab99e37b.js +1 -0
  439. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-dd925381ab99e37b.js +1 -0
  440. package/.next-prod/static/chunks/app/api/neo4j/query/route-dd925381ab99e37b.js +1 -0
  441. package/.next-prod/static/chunks/app/api/neo4j/schema/route-dd925381ab99e37b.js +1 -0
  442. package/.next-prod/static/chunks/app/api/note/route-dd925381ab99e37b.js +1 -0
  443. package/.next-prod/static/chunks/app/api/ollama/config/route-dd925381ab99e37b.js +1 -0
  444. package/.next-prod/static/chunks/app/api/ollama/models/route-dd925381ab99e37b.js +1 -0
  445. package/.next-prod/static/chunks/app/api/ollama/start/route-dd925381ab99e37b.js +1 -0
  446. package/.next-prod/static/chunks/app/api/open-cursor/route-dd925381ab99e37b.js +1 -0
  447. package/.next-prod/static/chunks/app/api/open-vscode/route-dd925381ab99e37b.js +1 -0
  448. package/.next-prod/static/chunks/app/api/pick-folder/route-dd925381ab99e37b.js +1 -0
  449. package/.next-prod/static/chunks/app/api/pinned-sessions/route-dd925381ab99e37b.js +1 -0
  450. package/.next-prod/static/chunks/app/api/project-settings/route-dd925381ab99e37b.js +1 -0
  451. package/.next-prod/static/chunks/app/api/project-state/route-dd925381ab99e37b.js +1 -0
  452. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-dd925381ab99e37b.js +1 -0
  453. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-dd925381ab99e37b.js +1 -0
  454. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-dd925381ab99e37b.js +1 -0
  455. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-dd925381ab99e37b.js +1 -0
  456. package/.next-prod/static/chunks/app/api/projectGraph/context/route-dd925381ab99e37b.js +1 -0
  457. package/.next-prod/static/chunks/app/api/projectGraph/file/route-dd925381ab99e37b.js +1 -0
  458. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-dd925381ab99e37b.js +1 -0
  459. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-dd925381ab99e37b.js +1 -0
  460. package/.next-prod/static/chunks/app/api/projectGraph/related/route-dd925381ab99e37b.js +1 -0
  461. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-dd925381ab99e37b.js +1 -0
  462. package/.next-prod/static/chunks/app/api/projectGraph/search/route-dd925381ab99e37b.js +1 -0
  463. package/.next-prod/static/chunks/app/api/projects/route-dd925381ab99e37b.js +1 -0
  464. package/.next-prod/static/chunks/app/api/push/public-key/route-dd925381ab99e37b.js +1 -0
  465. package/.next-prod/static/chunks/app/api/push/subscribe/route-dd925381ab99e37b.js +1 -0
  466. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-dd925381ab99e37b.js +1 -0
  467. package/.next-prod/static/chunks/app/api/redis/command/route-dd925381ab99e37b.js +1 -0
  468. package/.next-prod/static/chunks/app/api/redis/connect/route-dd925381ab99e37b.js +1 -0
  469. package/.next-prod/static/chunks/app/api/redis/delete/route-dd925381ab99e37b.js +1 -0
  470. package/.next-prod/static/chunks/app/api/redis/disconnect/route-dd925381ab99e37b.js +1 -0
  471. package/.next-prod/static/chunks/app/api/redis/get/route-dd925381ab99e37b.js +1 -0
  472. package/.next-prod/static/chunks/app/api/redis/keys/route-dd925381ab99e37b.js +1 -0
  473. package/.next-prod/static/chunks/app/api/redis/set/route-dd925381ab99e37b.js +1 -0
  474. package/.next-prod/static/chunks/app/api/restart/route-dd925381ab99e37b.js +1 -0
  475. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-dd925381ab99e37b.js +1 -0
  476. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-dd925381ab99e37b.js +1 -0
  477. package/.next-prod/static/chunks/app/api/review/[id]/route-dd925381ab99e37b.js +1 -0
  478. package/.next-prod/static/chunks/app/api/review/identify/route-dd925381ab99e37b.js +1 -0
  479. package/.next-prod/static/chunks/app/api/review/order/route-dd925381ab99e37b.js +1 -0
  480. package/.next-prod/static/chunks/app/api/review/route-dd925381ab99e37b.js +1 -0
  481. package/.next-prod/static/chunks/app/api/review/share-info/route-dd925381ab99e37b.js +1 -0
  482. package/.next-prod/static/chunks/app/api/review/users/route-dd925381ab99e37b.js +1 -0
  483. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-dd925381ab99e37b.js +1 -0
  484. package/.next-prod/static/chunks/app/api/services/config/route-dd925381ab99e37b.js +1 -0
  485. package/.next-prod/static/chunks/app/api/services/scripts/route-dd925381ab99e37b.js +1 -0
  486. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-dd925381ab99e37b.js +1 -0
  487. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-dd925381ab99e37b.js +1 -0
  488. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-dd925381ab99e37b.js +1 -0
  489. package/.next-prod/static/chunks/app/api/session/user-messages/route-dd925381ab99e37b.js +1 -0
  490. package/.next-prod/static/chunks/app/api/session-by-path/route-dd925381ab99e37b.js +1 -0
  491. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-dd925381ab99e37b.js +1 -0
  492. package/.next-prod/static/chunks/app/api/sessions/projects/route-dd925381ab99e37b.js +1 -0
  493. package/.next-prod/static/chunks/app/api/sessions/route-dd925381ab99e37b.js +1 -0
  494. package/.next-prod/static/chunks/app/api/settings/route-dd925381ab99e37b.js +1 -0
  495. package/.next-prod/static/chunks/app/api/shutdown/route-dd925381ab99e37b.js +1 -0
  496. package/.next-prod/static/chunks/app/api/skills/[id]/route-dd925381ab99e37b.js +1 -0
  497. package/.next-prod/static/chunks/app/api/skills/content/route-dd925381ab99e37b.js +1 -0
  498. package/.next-prod/static/chunks/app/api/skills/route-dd925381ab99e37b.js +1 -0
  499. package/.next-prod/static/chunks/app/api/snapshots/blob/route-dd925381ab99e37b.js +1 -0
  500. package/.next-prod/static/chunks/app/api/snapshots/diff/route-dd925381ab99e37b.js +1 -0
  501. package/.next-prod/static/chunks/app/api/snapshots/route-dd925381ab99e37b.js +1 -0
  502. package/.next-prod/static/chunks/app/api/terminal/aliases/route-dd925381ab99e37b.js +1 -0
  503. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-dd925381ab99e37b.js +1 -0
  504. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-dd925381ab99e37b.js +1 -0
  505. package/.next-prod/static/chunks/app/api/terminal/env/route-dd925381ab99e37b.js +1 -0
  506. package/.next-prod/static/chunks/app/api/terminal/history/route-dd925381ab99e37b.js +1 -0
  507. package/.next-prod/static/chunks/app/api/update/route-dd925381ab99e37b.js +1 -0
  508. package/.next-prod/static/chunks/app/api/update-state/route-dd925381ab99e37b.js +1 -0
  509. package/.next-prod/static/chunks/app/api/version/route-dd925381ab99e37b.js +1 -0
  510. package/.next-prod/static/chunks/app/apps/[...path]/route-dd925381ab99e37b.js +1 -0
  511. package/.next-prod/static/chunks/app/{layout-4d9685b25807b4c6.js → layout-c78a23d9fb720698.js} +1 -1
  512. package/.next-prod/static/chunks/app/m/page-54ed2c27ba82b757.js +1 -0
  513. package/.next-prod/static/chunks/app/manifest.webmanifest/route-dd925381ab99e37b.js +1 -0
  514. package/.next-prod/static/chunks/app/{page-af99426a6c82e466.js → page-7219de792c309861.js} +1 -1
  515. package/.next-prod/static/chunks/app/project/{page-af99426a6c82e466.js → page-7219de792c309861.js} +1 -1
  516. package/.next-prod/static/chunks/app/review/[id]/{page-1fe42d46b22c6482.js → page-70fc17b48dfdf8d3.js} +1 -1
  517. package/.next-prod/static/chunks/bc21e3dd-86c39ec41fe6001c.js +1 -0
  518. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-dd925381ab99e37b.js +1 -0
  519. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-dd925381ab99e37b.js +1 -0
  520. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-dd925381ab99e37b.js +1 -0
  521. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-dd925381ab99e37b.js +1 -0
  522. package/.next-prod/static/chunks/{webpack-82f9e372d672c6bc.js → webpack-9a02cd12ee150c50.js} +1 -1
  523. package/.next-prod/static/css/08c892de6d5e2335.css +1 -0
  524. package/.next-prod/trace +14 -14
  525. package/.next-prod/trace-build +1 -1
  526. package/.next-prod/types/app/api/{prompts → instructions}/config/route.ts +3 -3
  527. package/.next-prod/types/app/api/session/[sessionId]/turn/route.ts +353 -0
  528. package/.next-prod/types/app/api/session/user-messages/route.ts +353 -0
  529. package/.next-prod/types/routes.d.ts +4 -2
  530. package/.next-prod/types/validator.ts +27 -9
  531. package/dist/{cache-GIQJA4HL.mjs → cache-VBRI47HG.mjs} +28 -0
  532. package/dist/{chunk-TOA52B2X.mjs → chunk-OFFSCRWY.mjs} +18 -13
  533. package/dist/{chunk-PB4GBZQO.mjs → chunk-OO4ODUAC.mjs} +1 -1
  534. package/dist/{chunk-4EU4KZIO.mjs → chunk-SJ7VM26B.mjs} +4 -14
  535. package/dist/chunk-UG6WUXIQ.mjs +2907 -0
  536. package/dist/httpApi.mjs +2 -2
  537. package/dist/scheduledTasks.mjs +864 -512
  538. package/dist/wsServer.mjs +23 -2810
  539. package/package.json +3 -3
  540. package/public/html-lib/markdown.css +114 -70
  541. package/public/html-lib/markdown.js +12 -12
  542. package/public/tree-sitter/tree-sitter-lean.wasm +0 -0
  543. package/scripts/copy-tree-sitter-wasms.mjs +33 -3
  544. package/skills/cg/SKILL.md +140 -14
  545. package/.next-prod/server/app/api/prompts/config/route.js +0 -1
  546. package/.next-prod/server/app/api/prompts/config/route_client-reference-manifest.js +0 -1
  547. package/.next-prod/server/chunks/2540.js +0 -1
  548. package/.next-prod/server/chunks/2728.js +0 -1
  549. package/.next-prod/server/chunks/3718.js +0 -1
  550. package/.next-prod/server/chunks/9312.js +0 -1
  551. package/.next-prod/server/chunks/9352.js +0 -6
  552. package/.next-prod/static/ZqxwSTxy2HJcALhnBemS7/_buildManifest.js +0 -1
  553. package/.next-prod/static/chunks/6024-31a42934bf55e9e9.js +0 -32
  554. package/.next-prod/static/chunks/7184-2a5621de437121a2.js +0 -17
  555. package/.next-prod/static/chunks/7562.8fdc3abdd45c77ab.js +0 -1
  556. package/.next-prod/static/chunks/9012.6ed079104670001d.js +0 -1
  557. package/.next-prod/static/chunks/9092-f7267cbb4deb6fd5.js +0 -716
  558. package/.next-prod/static/chunks/96c8525a-f1e0653013503d49.js +0 -2
  559. package/.next-prod/static/chunks/app/_global-error/page-891e1a9c2b8144f7.js +0 -1
  560. package/.next-prod/static/chunks/app/api/agent/test/route-891e1a9c2b8144f7.js +0 -1
  561. package/.next-prod/static/chunks/app/api/bash/route-891e1a9c2b8144f7.js +0 -1
  562. package/.next-prod/static/chunks/app/api/chat/codex/route-891e1a9c2b8144f7.js +0 -1
  563. package/.next-prod/static/chunks/app/api/chat/deepseek/route-891e1a9c2b8144f7.js +0 -1
  564. package/.next-prod/static/chunks/app/api/chat/glm/route-891e1a9c2b8144f7.js +0 -1
  565. package/.next-prod/static/chunks/app/api/chat/kimi/route-891e1a9c2b8144f7.js +0 -1
  566. package/.next-prod/static/chunks/app/api/chat/ollama/route-891e1a9c2b8144f7.js +0 -1
  567. package/.next-prod/static/chunks/app/api/chat/route-891e1a9c2b8144f7.js +0 -1
  568. package/.next-prod/static/chunks/app/api/chat/stop/route-891e1a9c2b8144f7.js +0 -1
  569. package/.next-prod/static/chunks/app/api/claude-stats/route-891e1a9c2b8144f7.js +0 -1
  570. package/.next-prod/static/chunks/app/api/commands/route-891e1a9c2b8144f7.js +0 -1
  571. package/.next-prod/static/chunks/app/api/comments/route-891e1a9c2b8144f7.js +0 -1
  572. package/.next-prod/static/chunks/app/api/db/columns/route-891e1a9c2b8144f7.js +0 -1
  573. package/.next-prod/static/chunks/app/api/db/connect/route-891e1a9c2b8144f7.js +0 -1
  574. package/.next-prod/static/chunks/app/api/db/disconnect/route-891e1a9c2b8144f7.js +0 -1
  575. package/.next-prod/static/chunks/app/api/db/export/route-891e1a9c2b8144f7.js +0 -1
  576. package/.next-prod/static/chunks/app/api/db/query/route-891e1a9c2b8144f7.js +0 -1
  577. package/.next-prod/static/chunks/app/api/db/schemas/route-891e1a9c2b8144f7.js +0 -1
  578. package/.next-prod/static/chunks/app/api/deepseek/balance/route-891e1a9c2b8144f7.js +0 -1
  579. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-891e1a9c2b8144f7.js +0 -1
  580. package/.next-prod/static/chunks/app/api/deepseek/models/route-891e1a9c2b8144f7.js +0 -1
  581. package/.next-prod/static/chunks/app/api/dev/spans/route-891e1a9c2b8144f7.js +0 -1
  582. package/.next-prod/static/chunks/app/api/extension/version/route-891e1a9c2b8144f7.js +0 -1
  583. package/.next-prod/static/chunks/app/api/file/route-891e1a9c2b8144f7.js +0 -1
  584. package/.next-prod/static/chunks/app/api/files/blame/route-891e1a9c2b8144f7.js +0 -1
  585. package/.next-prod/static/chunks/app/api/files/clipboard/route-891e1a9c2b8144f7.js +0 -1
  586. package/.next-prod/static/chunks/app/api/files/copy/route-891e1a9c2b8144f7.js +0 -1
  587. package/.next-prod/static/chunks/app/api/files/delete/route-891e1a9c2b8144f7.js +0 -1
  588. package/.next-prod/static/chunks/app/api/files/expanded/route-891e1a9c2b8144f7.js +0 -1
  589. package/.next-prod/static/chunks/app/api/files/index/route-891e1a9c2b8144f7.js +0 -1
  590. package/.next-prod/static/chunks/app/api/files/init/route-891e1a9c2b8144f7.js +0 -1
  591. package/.next-prod/static/chunks/app/api/files/paste/route-891e1a9c2b8144f7.js +0 -1
  592. package/.next-prod/static/chunks/app/api/files/read/route-891e1a9c2b8144f7.js +0 -1
  593. package/.next-prod/static/chunks/app/api/files/readdir/route-891e1a9c2b8144f7.js +0 -1
  594. package/.next-prod/static/chunks/app/api/files/recent/route-891e1a9c2b8144f7.js +0 -1
  595. package/.next-prod/static/chunks/app/api/files/save/route-891e1a9c2b8144f7.js +0 -1
  596. package/.next-prod/static/chunks/app/api/files/search/route-891e1a9c2b8144f7.js +0 -1
  597. package/.next-prod/static/chunks/app/api/files/stat/route-891e1a9c2b8144f7.js +0 -1
  598. package/.next-prod/static/chunks/app/api/files/text/route-891e1a9c2b8144f7.js +0 -1
  599. package/.next-prod/static/chunks/app/api/git/blob/route-891e1a9c2b8144f7.js +0 -1
  600. package/.next-prod/static/chunks/app/api/git/branch-diff/route-891e1a9c2b8144f7.js +0 -1
  601. package/.next-prod/static/chunks/app/api/git/branches/route-891e1a9c2b8144f7.js +0 -1
  602. package/.next-prod/static/chunks/app/api/git/commit-diff/route-891e1a9c2b8144f7.js +0 -1
  603. package/.next-prod/static/chunks/app/api/git/commits/route-891e1a9c2b8144f7.js +0 -1
  604. package/.next-prod/static/chunks/app/api/git/current-branch/route-891e1a9c2b8144f7.js +0 -1
  605. package/.next-prod/static/chunks/app/api/git/diff/route-891e1a9c2b8144f7.js +0 -1
  606. package/.next-prod/static/chunks/app/api/git/discard/route-891e1a9c2b8144f7.js +0 -1
  607. package/.next-prod/static/chunks/app/api/git/stage/route-891e1a9c2b8144f7.js +0 -1
  608. package/.next-prod/static/chunks/app/api/git/status/route-891e1a9c2b8144f7.js +0 -1
  609. package/.next-prod/static/chunks/app/api/git/unstage/route-891e1a9c2b8144f7.js +0 -1
  610. package/.next-prod/static/chunks/app/api/git/worktree/route-891e1a9c2b8144f7.js +0 -1
  611. package/.next-prod/static/chunks/app/api/glm/credentials/route-891e1a9c2b8144f7.js +0 -1
  612. package/.next-prod/static/chunks/app/api/glm/models/route-891e1a9c2b8144f7.js +0 -1
  613. package/.next-prod/static/chunks/app/api/glm/usage/route-891e1a9c2b8144f7.js +0 -1
  614. package/.next-prod/static/chunks/app/api/global-state/route-891e1a9c2b8144f7.js +0 -1
  615. package/.next-prod/static/chunks/app/api/health/route-891e1a9c2b8144f7.js +0 -1
  616. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-891e1a9c2b8144f7.js +0 -1
  617. package/.next-prod/static/chunks/app/api/html-apps/route-891e1a9c2b8144f7.js +0 -1
  618. package/.next-prod/static/chunks/app/api/kimi/credentials/route-891e1a9c2b8144f7.js +0 -1
  619. package/.next-prod/static/chunks/app/api/kimi/models/route-891e1a9c2b8144f7.js +0 -1
  620. package/.next-prod/static/chunks/app/api/kimi/usage/route-891e1a9c2b8144f7.js +0 -1
  621. package/.next-prod/static/chunks/app/api/lsp/definition/route-891e1a9c2b8144f7.js +0 -1
  622. package/.next-prod/static/chunks/app/api/lsp/hover/route-891e1a9c2b8144f7.js +0 -1
  623. package/.next-prod/static/chunks/app/api/lsp/references/route-891e1a9c2b8144f7.js +0 -1
  624. package/.next-prod/static/chunks/app/api/lsp/status/route-891e1a9c2b8144f7.js +0 -1
  625. package/.next-prod/static/chunks/app/api/lsp/warmup/route-891e1a9c2b8144f7.js +0 -1
  626. package/.next-prod/static/chunks/app/api/mysql/columns/route-891e1a9c2b8144f7.js +0 -1
  627. package/.next-prod/static/chunks/app/api/mysql/connect/route-891e1a9c2b8144f7.js +0 -1
  628. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-891e1a9c2b8144f7.js +0 -1
  629. package/.next-prod/static/chunks/app/api/mysql/export/route-891e1a9c2b8144f7.js +0 -1
  630. package/.next-prod/static/chunks/app/api/mysql/query/route-891e1a9c2b8144f7.js +0 -1
  631. package/.next-prod/static/chunks/app/api/mysql/schemas/route-891e1a9c2b8144f7.js +0 -1
  632. package/.next-prod/static/chunks/app/api/neo4j/connect/route-891e1a9c2b8144f7.js +0 -1
  633. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-891e1a9c2b8144f7.js +0 -1
  634. package/.next-prod/static/chunks/app/api/neo4j/query/route-891e1a9c2b8144f7.js +0 -1
  635. package/.next-prod/static/chunks/app/api/neo4j/schema/route-891e1a9c2b8144f7.js +0 -1
  636. package/.next-prod/static/chunks/app/api/note/route-891e1a9c2b8144f7.js +0 -1
  637. package/.next-prod/static/chunks/app/api/ollama/config/route-891e1a9c2b8144f7.js +0 -1
  638. package/.next-prod/static/chunks/app/api/ollama/models/route-891e1a9c2b8144f7.js +0 -1
  639. package/.next-prod/static/chunks/app/api/ollama/start/route-891e1a9c2b8144f7.js +0 -1
  640. package/.next-prod/static/chunks/app/api/open-cursor/route-891e1a9c2b8144f7.js +0 -1
  641. package/.next-prod/static/chunks/app/api/open-vscode/route-891e1a9c2b8144f7.js +0 -1
  642. package/.next-prod/static/chunks/app/api/pick-folder/route-891e1a9c2b8144f7.js +0 -1
  643. package/.next-prod/static/chunks/app/api/pinned-sessions/route-891e1a9c2b8144f7.js +0 -1
  644. package/.next-prod/static/chunks/app/api/project-settings/route-891e1a9c2b8144f7.js +0 -1
  645. package/.next-prod/static/chunks/app/api/project-state/route-891e1a9c2b8144f7.js +0 -1
  646. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-891e1a9c2b8144f7.js +0 -1
  647. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-891e1a9c2b8144f7.js +0 -1
  648. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-891e1a9c2b8144f7.js +0 -1
  649. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-891e1a9c2b8144f7.js +0 -1
  650. package/.next-prod/static/chunks/app/api/projectGraph/context/route-891e1a9c2b8144f7.js +0 -1
  651. package/.next-prod/static/chunks/app/api/projectGraph/file/route-891e1a9c2b8144f7.js +0 -1
  652. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-891e1a9c2b8144f7.js +0 -1
  653. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-891e1a9c2b8144f7.js +0 -1
  654. package/.next-prod/static/chunks/app/api/projectGraph/related/route-891e1a9c2b8144f7.js +0 -1
  655. package/.next-prod/static/chunks/app/api/projectGraph/risk/route-891e1a9c2b8144f7.js +0 -1
  656. package/.next-prod/static/chunks/app/api/projectGraph/search/route-891e1a9c2b8144f7.js +0 -1
  657. package/.next-prod/static/chunks/app/api/projects/route-891e1a9c2b8144f7.js +0 -1
  658. package/.next-prod/static/chunks/app/api/prompts/config/route-891e1a9c2b8144f7.js +0 -1
  659. package/.next-prod/static/chunks/app/api/push/public-key/route-891e1a9c2b8144f7.js +0 -1
  660. package/.next-prod/static/chunks/app/api/push/subscribe/route-891e1a9c2b8144f7.js +0 -1
  661. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-891e1a9c2b8144f7.js +0 -1
  662. package/.next-prod/static/chunks/app/api/redis/command/route-891e1a9c2b8144f7.js +0 -1
  663. package/.next-prod/static/chunks/app/api/redis/connect/route-891e1a9c2b8144f7.js +0 -1
  664. package/.next-prod/static/chunks/app/api/redis/delete/route-891e1a9c2b8144f7.js +0 -1
  665. package/.next-prod/static/chunks/app/api/redis/disconnect/route-891e1a9c2b8144f7.js +0 -1
  666. package/.next-prod/static/chunks/app/api/redis/get/route-891e1a9c2b8144f7.js +0 -1
  667. package/.next-prod/static/chunks/app/api/redis/keys/route-891e1a9c2b8144f7.js +0 -1
  668. package/.next-prod/static/chunks/app/api/redis/set/route-891e1a9c2b8144f7.js +0 -1
  669. package/.next-prod/static/chunks/app/api/restart/route-891e1a9c2b8144f7.js +0 -1
  670. package/.next-prod/static/chunks/app/api/review/[id]/comments/route-891e1a9c2b8144f7.js +0 -1
  671. package/.next-prod/static/chunks/app/api/review/[id]/replies/route-891e1a9c2b8144f7.js +0 -1
  672. package/.next-prod/static/chunks/app/api/review/[id]/route-891e1a9c2b8144f7.js +0 -1
  673. package/.next-prod/static/chunks/app/api/review/identify/route-891e1a9c2b8144f7.js +0 -1
  674. package/.next-prod/static/chunks/app/api/review/order/route-891e1a9c2b8144f7.js +0 -1
  675. package/.next-prod/static/chunks/app/api/review/route-891e1a9c2b8144f7.js +0 -1
  676. package/.next-prod/static/chunks/app/api/review/share-info/route-891e1a9c2b8144f7.js +0 -1
  677. package/.next-prod/static/chunks/app/api/review/users/route-891e1a9c2b8144f7.js +0 -1
  678. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-891e1a9c2b8144f7.js +0 -1
  679. package/.next-prod/static/chunks/app/api/services/config/route-891e1a9c2b8144f7.js +0 -1
  680. package/.next-prod/static/chunks/app/api/services/scripts/route-891e1a9c2b8144f7.js +0 -1
  681. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-891e1a9c2b8144f7.js +0 -1
  682. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-891e1a9c2b8144f7.js +0 -1
  683. package/.next-prod/static/chunks/app/api/session-by-path/route-891e1a9c2b8144f7.js +0 -1
  684. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-891e1a9c2b8144f7.js +0 -1
  685. package/.next-prod/static/chunks/app/api/sessions/projects/route-891e1a9c2b8144f7.js +0 -1
  686. package/.next-prod/static/chunks/app/api/sessions/route-891e1a9c2b8144f7.js +0 -1
  687. package/.next-prod/static/chunks/app/api/settings/route-891e1a9c2b8144f7.js +0 -1
  688. package/.next-prod/static/chunks/app/api/shutdown/route-891e1a9c2b8144f7.js +0 -1
  689. package/.next-prod/static/chunks/app/api/skills/[id]/route-891e1a9c2b8144f7.js +0 -1
  690. package/.next-prod/static/chunks/app/api/skills/content/route-891e1a9c2b8144f7.js +0 -1
  691. package/.next-prod/static/chunks/app/api/skills/route-891e1a9c2b8144f7.js +0 -1
  692. package/.next-prod/static/chunks/app/api/snapshots/blob/route-891e1a9c2b8144f7.js +0 -1
  693. package/.next-prod/static/chunks/app/api/snapshots/diff/route-891e1a9c2b8144f7.js +0 -1
  694. package/.next-prod/static/chunks/app/api/snapshots/route-891e1a9c2b8144f7.js +0 -1
  695. package/.next-prod/static/chunks/app/api/terminal/aliases/route-891e1a9c2b8144f7.js +0 -1
  696. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-891e1a9c2b8144f7.js +0 -1
  697. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-891e1a9c2b8144f7.js +0 -1
  698. package/.next-prod/static/chunks/app/api/terminal/env/route-891e1a9c2b8144f7.js +0 -1
  699. package/.next-prod/static/chunks/app/api/terminal/history/route-891e1a9c2b8144f7.js +0 -1
  700. package/.next-prod/static/chunks/app/api/update/route-891e1a9c2b8144f7.js +0 -1
  701. package/.next-prod/static/chunks/app/api/update-state/route-891e1a9c2b8144f7.js +0 -1
  702. package/.next-prod/static/chunks/app/api/version/route-891e1a9c2b8144f7.js +0 -1
  703. package/.next-prod/static/chunks/app/apps/[...path]/route-891e1a9c2b8144f7.js +0 -1
  704. package/.next-prod/static/chunks/app/m/page-af6600597536f9a9.js +0 -1
  705. package/.next-prod/static/chunks/app/manifest.webmanifest/route-891e1a9c2b8144f7.js +0 -1
  706. package/.next-prod/static/chunks/bc21e3dd-a78364524623b9b0.js +0 -1
  707. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-891e1a9c2b8144f7.js +0 -1
  708. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-891e1a9c2b8144f7.js +0 -1
  709. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-891e1a9c2b8144f7.js +0 -1
  710. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-891e1a9c2b8144f7.js +0 -1
  711. package/.next-prod/static/css/ea27ccfe01ce807c.css +0 -1
  712. /package/.next-prod/static/{ZqxwSTxy2HJcALhnBemS7 → Ltfbusd381Du6etTab1ug}/_ssgManifest.js +0 -0
@@ -13,8 +13,19 @@
13
13
  * pinned `tree-sitter-cli@0.20.x` and produced WASMs without the dylink section
14
14
  * required by newer runtimes ("need dylink section" error).
15
15
  *
16
- * The list of grammars MUST stay in sync with `SUPPORTED_GRAMMARS` in
17
- * `src/lib/codeMap/languageMap.ts`. Add a name here and bump the WASM in.
16
+ * Grammars come in two kinds, and the difference matters here:
17
+ *
18
+ * COPIED — shipped by @vscode/tree-sitter-wasm, re-copied on every
19
+ * predev/prebuild. Listed in `GRAMMARS`.
20
+ * VENDORED — built by hand and committed under public/tree-sitter/ because
21
+ * no prebuilt artifact exists upstream. Listed in `VENDORED`.
22
+ * There is no source to copy from, so this script only ASSERTS
23
+ * their presence; `scripts/build-lean-grammar.mjs` regenerates
24
+ * them. Adding one to `GRAMMARS` instead would make this script
25
+ * warn "missing source" on every single build.
26
+ *
27
+ * Both lists MUST stay in sync with `SUPPORTED_GRAMMARS` in
28
+ * `packages/feature/explorer/src/server/codeMap/languageMap.ts`.
18
29
  *
19
30
  * Behaviour:
20
31
  * - Idempotent: skips files that already match by size + mtime.
@@ -30,8 +41,12 @@ import { fileURLToPath, pathToFileURL } from 'node:url';
30
41
  const SCRIPT_DIR = dirname(fileURLToPath(import.meta.url));
31
42
  const SCRIPT_PROJECT_ROOT = join(SCRIPT_DIR, '..');
32
43
 
33
- // Keep this list aligned with SUPPORTED_GRAMMARS in src/lib/codeMap/languageMap.ts.
44
+ // Keep both lists aligned with SUPPORTED_GRAMMARS in
45
+ // packages/feature/explorer/src/server/codeMap/languageMap.ts.
46
+ /** Copied out of @vscode/tree-sitter-wasm on every build. */
34
47
  const GRAMMARS = ['typescript', 'tsx', 'javascript', 'python', 'go', 'rust'];
48
+ /** Committed binaries — no upstream source to copy from. See header. */
49
+ const VENDORED = ['lean'];
35
50
 
36
51
  function copyIfChanged(src, dst, label) {
37
52
  if (!existsSync(src)) {
@@ -66,6 +81,21 @@ export function copyTreeSitterWasms(projectRoot = SCRIPT_PROJECT_ROOT) {
66
81
 
67
82
  mkdirSync(destDir, { recursive: true });
68
83
 
84
+ // Vendored grammars have no source to copy from — the committed file IS the
85
+ // artifact. Assert rather than copy, in BOTH the dev and production paths:
86
+ // a missing one means a broken checkout or a `files` regression, and the
87
+ // only symptom otherwise is that .lean files silently fall back to
88
+ // line-level diff, which looks like "the feature was never built".
89
+ for (const g of VENDORED) {
90
+ if (!existsSync(join(destDir, `tree-sitter-${g}.wasm`))) {
91
+ console.warn(
92
+ `[copy-tree-sitter-wasms] vendored grammar tree-sitter-${g}.wasm is missing from ` +
93
+ `public/tree-sitter/. ${g} block-level diff/symbols will be unavailable. ` +
94
+ `Regenerate it with: node scripts/build-${g}-grammar.mjs`,
95
+ );
96
+ }
97
+ }
98
+
69
99
  if (!existsSync(grammarSrcDir)) {
70
100
  // Production install (no devDeps) — WASMs are already vendored in public/.
71
101
  // Verify and bail.
@@ -16,11 +16,13 @@ CodeGraph = pre-built symbol + call-graph index + git co-edit view. Six endpoint
16
16
  | What symbols does file F contain? | file?path=F |
17
17
  | Which files are commonly edited alongside F? (conventional coupling / parallel registries) | coedit?filePath=F |
18
18
 
19
- All responses are coordinates / file paths — never source. More precise than grep's textual match, cheaper in tokens than Reading whole files.
19
+ All responses are coordinates / file paths — never source bodies. (One exception: `search&includeLiterals=true` echoes each matched literal's own text in `value`.) More precise than grep's textual match, cheaper in tokens than Reading whole files.
20
20
 
21
21
  ## The 6 graph endpoints ({{BASE_URL}})
22
22
 
23
- # search: find symbols by name → file / qname / kind / startLine / endLine / params
23
+ ```bash
24
+ # search: find symbols by name → hits carry the same node shape as every other
25
+ # endpoint, so a hit's startLine/endLine feed Read directly.
24
26
  # q is normalized for naming style: user_profile / userProfile / user-profile / USER_PROFILE are equivalent
25
27
  # Pass includeLiterals=true to also search identifier-shaped string literals (tool names, event names,
26
28
  # config keys, route paths — the "looks like a name but isn't an identifier" strings). The response
@@ -32,22 +34,120 @@ curl -fsS "{{BASE_URL}}/api/projectGraph/search?cwd=$PWD&q=<NAME>&includeLiteral
32
34
  curl -fsS "{{BASE_URL}}/api/projectGraph/callers?cwd=$PWD&qname=<QNAME>"
33
35
  curl -fsS "{{BASE_URL}}/api/projectGraph/callees?cwd=$PWD&qname=<QNAME>"
34
36
 
35
- # impact: transitive callers BFS (depth 1-5, default 2)
37
+ # impact: transitive callers BFS (depth 1-5, default 2; out-of-range is clamped
38
+ # silently, not rejected). `truncated: true` = node ceiling hit, list is partial.
36
39
  curl -fsS "{{BASE_URL}}/api/projectGraph/impact?cwd=$PWD&qname=<QNAME>&depth=2"
37
40
 
38
- # file: file symbol tree (no source)
41
+ # file: file symbol tree (no source). Hierarchical: nested symbols live in
42
+ # children[] — always an array, empty for leaves (never null / never absent).
39
43
  curl -fsS "{{BASE_URL}}/api/projectGraph/file?cwd=$PWD&path=<REL_PATH>"
40
44
 
41
45
  # coedit: files commonly edited alongside the target = git log history + current working-tree co-edits
42
46
  # catches "conventional coupling" the call-graph can't see (parallel registries / double-writes / sibling .md configs)
47
+ # history[] entries may name PRE-RENAME paths (git --follow), so a path here need not exist today.
48
+ # `cooccurrence` is a RAW COUNT; the ratio ships alongside as `probability`.
43
49
  curl -fsS "{{BASE_URL}}/api/projectGraph/coedit?cwd=$PWD&filePath=<REL_PATH>"
50
+ ```
51
+
52
+ ## Response shapes
53
+
54
+ Every endpoint speaks ONE node shape (call it NODE):
55
+
56
+ `{ filePath, qualifiedName, name, kind, startLine, endLine, params?[] }`
57
+
58
+ `params` is OPTIONAL: absent for non-callables (class / interface / type / enum /
59
+ const) and for languages without a tree-sitter grammar. `params: []` is different —
60
+ it means "0 parameters", not "unknown".
61
+
62
+ ```
63
+ search { files[], symbols[], literals?[] } # literals only with includeLiterals=true
64
+ files[] = { type:'file', label, hint?, target: { filePath } }
65
+ symbols[] = { type:'symbol', label, hint?, target: NODE }
66
+ literals[] = { type:'literal', value, filePath, line, enclosingSymbol? }
67
+ # narrow on the outer `type`
68
+ file { filePath, language, symbols[] }
69
+ symbols[] = NODE plus { contentHash, children[] }
70
+ # children[] is always an array, empty for leaves (never null / absent)
71
+ callers { qname, target: NODE|null, callers[]: { caller: NODE, callLines[] }, ambiguousIn? }
72
+ callees { qname, target: NODE|null, callees[]: { callee: NODE, callLines[] }, ambiguousIn? }
73
+ impact { qname, target: NODE|null, nodes[]: { symbol: NODE, depth }, truncated, ambiguousIn? }
74
+ coedit { target: string, totalCommits, uncommitted[],
75
+ history[]: { filePath, cooccurrence, probability, lastCoEdit } }
76
+ # probability = cooccurrence / totalCommits, precomputed. `cooccurrence`
77
+ # alone is a RAW COUNT — never compare it against a ratio threshold.
78
+ context { results[]: NODE + { score, signals[] }, seeds[]: { node, weight, from }, degraded }
79
+ related { target, results[]: NODE + { score, relations[] }, coedit[], degraded, ambiguousIn? }
80
+ risk { target, totalImpactedNodes, highRisk[]: NODE + { depth, risk{}, tags[] },
81
+ suggestedTests[], coedit[], degraded, degradedReason? } # NOTE: no ambiguousIn
82
+ affected { testFiles[], byInput[]: { filePath, reachable, reachableTests[] },
83
+ unresolved[], stats: { visited, bfsMs, truncated }, degraded }
84
+ ```
85
+
86
+ The `coedit[]` embedded in related / risk is a strict SUPERSET of a `/coedit`
87
+ history row (same fields plus a per-row `totalCommits`) — you never need a second
88
+ request to get recency.
89
+
90
+ Errors are `{ error, tag }`. Tags seen from these routes: `ValidationError` (400),
91
+ `NotFoundError` (404), `AppError` (500 — every endpoint wraps its lookup in one, so
92
+ an index/git failure surfaces here), `InternalError` (500, uncaught defect).
93
+
94
+ ## Silent-failure traps
95
+
96
+ - **An unknown qname returns HTTP 200, not 404.** `callers` / `callees` / `impact` /
97
+ `related` / `risk` answer a typo'd or non-indexed name with `target: null` (every
98
+ endpoint spells this slot `target`, callees included) and empty arrays — byte-identical to a real symbol that genuinely has no
99
+ callers. **Always check `target !== null` before concluding "nothing calls this" / "this
100
+ change is safe".** Same for `coedit` on an unknown path (200, empty). Only `file` 404s.
101
+ - **A non-null `target` with `callers: []` does NOT mean "nothing calls this".**
102
+ `obj.method()` resolves only when the receiver's imported name directly names the
103
+ container — a class (`Klass.method()`), a namespace import (`import * as m`), or a
104
+ re-export chain. Two very common forms resolve to nothing and are dropped from the
105
+ graph (kept as `methodCalls`, which are visibility-only):
106
+ - a call on an exported singleton instance — `export const repo = new Repo()`
107
+ then `repo.method()`. The receiver is the INSTANCE name, so the lookup misses
108
+ the class's `Repo>method`. In a singleton-style codebase this hides the whole
109
+ repository / service layer from inbound call queries.
110
+ - a re-export alias (`export const estimateTokens = countTokens`) — calls are
111
+ attributed to neither name: the alias indexes as a `const` with 0 callers,
112
+ and the real function never sees them.
113
+ `callers` / `impact` / `risk` fail outright here; `callees` (outbound) is fine.
114
+ `related` only DEGRADES — it loses the `caller` relation but still returns
115
+ ppr-neighbor / sibling-in-community / callee neighbours (measured: 10 results for
116
+ a singleton method whose `callers` was 0). It stays usable for "what else should I
117
+ read", just not for "who calls this". **`risk` is the dangerous one** — it does not come back empty,
118
+ it comes back confident: `totalImpactedNodes: 0`, `highRisk: []`,
119
+ `suggestedTests: []`, `degraded: false`, i.e. "this change is safe and needs no
120
+ tests". `impact` likewise returns a plausible small `nodes` list (just the target
121
+ itself) with `truncated: false`. Neither carries any signal that resolution failed.
122
+ When the answer decides whether a change is safe, cross-check with grep, or use
123
+ `/affected` — its file-level import closure does not depend on call resolution.
124
+ - **`risk` does NOT report `ambiguousIn`.** When several files define the same qname,
125
+ `callers` / `callees` / `impact` / `related` list the others in `ambiguousIn` — but `risk`
126
+ silently scores an arbitrary one of them. Before trusting a risk report on a common name
127
+ (`render`, `handler`, `init`), resolve the name with `search` or `related` first, then
128
+ pass `&filePath=<rel>`.
129
+ - **`frequent-coedit` relations quietly vanish in a restructured repo.** `coedit`
130
+ history comes from `git log --follow`, so it can cite PRE-RENAME paths. `related`
131
+ attaches a `frequent-coedit` relation only when that path still resolves in the
132
+ index, so after a large move/rename the relation is silently dropped — while
133
+ `related.coedit[]` (the raw echo) still lists the stale path and `degraded` stays
134
+ `false`. Measured on two repos: every coedit partner path was stale, so no
135
+ `frequent-coedit` relation was reachable at all, despite co-edit strengths of
136
+ 0.30-0.47 (well over the 0.2 emission threshold). The threshold is on
137
+ `probability` (= cooccurrence / totalCommits), which the API now returns directly.
138
+ - `degraded: true` results are still usable, just lower precision — but an empty
139
+ `coedit` / `suggestedTests` under `coedit-unavailable` means "signal missing", not
140
+ "no coupling". Do not read it as evidence of safety.
44
141
 
45
142
  ## Technical contract
46
- - Endpoints return coordinates only. Fetch source with Read: `Read offset=startLine limit=endLine-startLine+1`
143
+
144
+ - Endpoints return coordinates only. Fetch source with Read:
145
+ `Read offset=startLine limit=endLine-startLine+1` — works off any hit, `search` included.
47
146
  - qname uses `Parent>Child` form (not `.`); copy `qualifiedName` from search's response directly
48
- - Cross-file name collisions are listed in `ambiguousIn` — pass `&filePath=<rel>` to disambiguate
147
+ - Cross-file name collisions are listed in `ambiguousIn` — pass `&filePath=<rel>` to
148
+ disambiguate. Present on `callers` / `callees` / `impact` / `related` only.
49
149
 
50
- ## Three advanced endpoints (smart ranking / relatedness / risk)
150
+ ## The 4 advanced endpoints (smart ranking / relatedness / risk)
51
151
 
52
152
  When the six base endpoints' pure structural data isn't enough — especially when exploring code or evaluating change impact — use these to get scored, signal-annotated results.
53
153
 
@@ -58,30 +158,56 @@ When the six base endpoints' pure structural data isn't enough — especially wh
58
158
  | Changing X — which few nodes truly matter? Which tests to run? | risk?qname=X |
59
159
  | Changed these files — which tests should CI run? (conservative closure) | affected?files=… |
60
160
 
61
- # context: multi-source semantic retrieval (query / cursor / openFiles — at least one)
62
- # Returns Top-K relevant coordinates + signals (query-match / ppr / pagerank / open)
161
+ ```bash
162
+ # context: multi-source LEXICAL + GRAPH retrieval NOT semantic. `query` is matched
163
+ # as tf-idf over identifier TOKENS, then expanded through the graph (PPR / pagerank).
164
+ # There is no embedding step, so a natural-language question whose words are not
165
+ # identifiers in this repo returns confident noise: "how do users authenticate with
166
+ # oauth" ranks `withFileLock` first, matching the token "with". Feed it identifier-
167
+ # shaped terms, and treat a top hit carrying only ppr/pagerank (no query-match) as
168
+ # "the query matched nothing".
169
+ # (query / cursor / openFiles — at least one, else 400 at-least-one-required.)
170
+ # Returns Top-K coordinates + signals, each carrying
171
+ # its own payload field: query-match{tfidf} / ppr{pprScore} / pagerank{pagerank} / open{filePath}.
172
+ # seeds[] shows what drove retrieval: { node, weight, from: query|cursor|open }.
63
173
  curl -fsS "{{BASE_URL}}/api/projectGraph/context?cwd=$PWD&query=<TEXT>&cursor=<FILE>::<QNAME>&topK=15"
64
174
 
65
175
  # related: broader than callers/callees — includes coedit / PPR neighbours / Louvain community
66
- # Each result carries a relations[] array: caller / callee / ppr-neighbor / frequent-coedit / sibling-in-community
176
+ # Each result carries relations[], each with its own payload: caller|callee{callLines[]} /
177
+ # ppr-neighbor{pprScore} / sibling-in-community{communityId} / frequent-coedit{cooccurrence,totalCommits}
67
178
  # Cross-file name collisions are listed in ambiguousIn — pass &filePath=<rel> to disambiguate (same as callers/callees)
68
179
  curl -fsS "{{BASE_URL}}/api/projectGraph/related?cwd=$PWD&qname=<QNAME>&topK=10"
69
180
 
70
181
  # risk: risk-scored impact
71
182
  # Returns highRisk (sorted by risk.score desc) + suggestedTests
183
+ # risk{} = { score, callFreq, coeditProb, hasTest, pagerank }
184
+ # tags[] = high-risk | untested | frequent-coedit | core | leaf
185
+ # suggestedTests[] = { filePath, reason, coveredNodes[] },
186
+ # reason = direct-test | coedit-history | sibling-test
72
187
  # risk.score = callFreq + coeditProb + (hasTest ? 0 : penalty) + pagerank, decayed by depth
73
188
  curl -fsS "{{BASE_URL}}/api/projectGraph/risk?cwd=$PWD&qname=<QNAME>&depth=2&topK=20"
74
189
 
75
190
  # affected: file-level reverse-import closure → test files transitively affected
76
191
  # Sister to /risk: risk is symbol-centric + precision-oriented (for analysis),
77
192
  # affected is file-centric + recall-oriented (for CI / selective-test pipelines).
78
- # Use POST when files list is large; use format=plain for newline-separated paths.
193
+ # depth is clamped to 1-20 (default 10). Inputs not in the index come back in unresolved[].
79
194
  curl -fsS "{{BASE_URL}}/api/projectGraph/affected?cwd=$PWD&files=<a.ts,b.ts>&depth=10"
80
195
 
196
+ # affected via POST — for large file lists. cwd goes IN THE BODY; passing it as a
197
+ # query param returns 400. This is the one endpoint that does not take ?cwd=.
198
+ curl -fsS -X POST "{{BASE_URL}}/api/projectGraph/affected" -H 'content-type: application/json' \
199
+ -d '{"cwd":"'"$PWD"'","files":["a.ts","b.ts"],"depth":10}'
200
+
201
+ # format=plain → newline-separated test paths for xargs pipelines; diagnostics move to
202
+ # headers: X-Unresolved-Count / X-Visited / X-Truncated / X-Degraded / X-Degraded-Reason
203
+ curl -fsS "{{BASE_URL}}/api/projectGraph/affected?cwd=$PWD&files=<a.ts>&format=plain"
204
+ ```
205
+
81
206
  ## Advanced endpoint contract
207
+
82
208
  - `score` / `risk.score` are for ranking only; absolute values have no meaning
83
209
  - `signals` / `relations` / `tags` explain WHY each result is relevant — feel free to cite them to the user
84
- - `degraded: true` means results are still usable but lower precision; `degradedReason` gives the cause (`analytics-warming` = backing index warming up; `coedit-unavailable` = git history signal unavailable, fall back to manually picking tests)
85
- - **risk / related responses already include a `coedit` field** (target file's coedit history) — DO NOT issue a separate /coedit request for the same file
210
+ - `degraded: true` means results are still usable but lower precision; `degradedReason` gives the cause (`analytics-warming` = backing index warming up, retry later; `coedit-unavailable` = git history signal unavailable, fall back to manually picking tests). The reason can flip between calls while the index warms.
211
+ - **risk / related responses already include a `coedit` field** (target file's coedit history) — DO NOT issue a separate /coedit request for the same file.
86
212
  - If related returns `ambiguousIn`, the same qname exists in multiple files — retry with `&filePath=<rel>`
87
- - These three endpoints also return coordinates only; fetch source with Read
213
+ - These four endpoints also return coordinates only; fetch source with Read
@@ -1 +0,0 @@
1
- "use strict";(()=>{var a={};a.id=9044,a.ids=[9044],a.modules={261:a=>{a.exports=require("next/dist/shared/lib/router/utils/app-paths")},1932:a=>{a.exports=require("url")},4573:a=>{a.exports=require("node:buffer")},8128:a=>{a.exports=require("next/dist/server/runtime-reacts.external.js")},10846:a=>{a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},12412:a=>{a.exports=require("assert")},14985:a=>{a.exports=require("dns")},19771:a=>{a.exports=require("process")},19879:a=>{a.exports=import("@anthropic-ai/claude-agent-sdk")},21820:a=>{a.exports=require("os")},27910:a=>{a.exports=require("stream")},28354:a=>{a.exports=require("util")},29021:a=>{a.exports=require("fs")},29294:a=>{a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{a.exports=require("node:child_process")},33873:a=>{a.exports=require("path")},34631:a=>{a.exports=require("tls")},38867:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.d(b,{LO:()=>m,fG:()=>l});var e=c(89705),f=c(7939),g=c(72891),h=c(770),i=a([g]);g=(i.then?(await i)():i)[0];let j=a=>{if(!Array.isArray(a))return[];let b=new Set,c=[];for(let d of a){if("string"!=typeof d)continue;let a=d.trim().slice(0,2e3);!a||b.has(a)||(b.add(a),c.push(a))}return c},k=(a,b)=>"global"===b?(0,f.wG)():a?(0,f.jW)(a):null,l=(0,g.RL)(a=>e.JkU(function*(){let b=new URL(a.url).searchParams,c=k(b.get("cwd"),b.get("scope"));if(!c)return yield*e.fJG(new h.yI({field:"cwd|scope",reason:"Missing cwd or scope"}));let d=yield*e.$mh({try:()=>(0,f.JE)(c,{prompts:[]}),catch:a=>new h.uU({path:c,op:"read",cause:a})});return(0,g.ok)({prompts:j(d?.prompts)})})),m=(0,g.RL)(a=>e.JkU(function*(){let b=yield*(0,g.k9)(a),c=k(b.cwd??null,b.scope??null);if(!c)return yield*e.fJG(new h.yI({field:"cwd|scope",reason:"Missing cwd or scope"}));let d={prompts:j(b.prompts)};return yield*e.$mh({try:()=>(0,f.Ux)(c,()=>(0,f.An)(c,d)),catch:a=>new h.uU({path:c,op:"write",cause:a})}),(0,g.ok)({success:!0,prompts:d.prompts})}));d()}catch(a){d(a)}})},38920:(a,b,c)=>{c.a(a,async(a,d)=>{try{c.r(b),c.d(b,{GET:()=>e.fG,POST:()=>e.LO,dynamic:()=>h,runtime:()=>g});var e=c(38867),f=a([e]);e=(f.then?(await f)():f)[0];let g="nodejs",h="force-dynamic";d()}catch(a){d(a)}})},41204:a=>{a.exports=require("string_decoder")},44870:a=>{a.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},47052:(a,b,c)=>{c.r(b),c.d(b,{handler:()=>z,patchFetch:()=>y,routeModule:()=>u,serverHooks:()=>x,workAsyncStorage:()=>v,workUnitAsyncStorage:()=>w});var d=c(19225),e=c(84006),f=c(8317),g=c(99373),h=c(34775),i=c(24235),j=c(261),k=c(54365),l=c(90771),m=c(73461),n=c(67798),o=c(92280),p=c(62018),q=c(45696),r=c(47929),s=c(86439),t=c(37527);let u=new d.AppRouteRouteModule({definition:{kind:e.RouteKind.APP_ROUTE,page:"/api/prompts/config/route",pathname:"/api/prompts/config",filename:"route",bundlePath:"app/api/prompts/config/route"},distDir:".next-prod",relativeProjectDir:"",resolvedPagePath:"/home/runner/work/cockpit/cockpit/src/app/api/prompts/config/route.ts",nextConfigOutput:"",userland:()=>c(38920),...{}}),{workAsyncStorage:v,workUnitAsyncStorage:w,serverHooks:x}=u;function y(){return(0,f.patchFetch)({workAsyncStorage:v,workUnitAsyncStorage:w})}async function z(a,b,c){c.requestMeta&&(0,g.setRequestMeta)(a,c.requestMeta),u.isDev&&(0,g.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let d="/api/prompts/config/route";"/index"===d&&(d="/");let f=await u.prepare(a,b,{srcPage:d,multiZoneDraftMode:!1});if(!f)return b.statusCode=400,b.end("Bad Request"),null==c.waitUntil||c.waitUntil.call(c,Promise.resolve()),null;let{buildId:v,deploymentId:w,params:x,nextConfig:y,parsedUrl:z,isDraftMode:A,prerenderManifest:B,routerServerContext:C,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,resolvedPathname:F,clientReferenceManifest:G,serverActionsManifest:H}=f,I=(0,j.normalizeAppPath)(d),J=!!(B.dynamicRoutes[I]||B.routes[F]),K=async()=>((null==C?void 0:C.render404)?await C.render404(a,b,z,!1):b.end("This page could not be found"),null);if(J&&!A){let a=!!B.routes[F],b=B.dynamicRoutes[I];if(b&&!1===b.fallback&&!a){if(y.adapterPath)return await K();throw new s.NoFallbackError}}let L=null;!J||u.isDev||A||(L="/index"===(L=F)?"/":L);let M=!0===u.isDev||!J,N=J&&!M;H&&G&&(0,i.setManifestsSingleton)({page:d,clientReferenceManifest:G,serverActionsManifest:H});let O=a.method||"GET",P=(0,h.getTracer)(),Q=P.getActiveScopeSpan(),R=!!(null==C?void 0:C.isWrappedByNextServer),S=!!(0,g.getRequestMeta)(a,"minimalMode"),T=(0,g.getRequestMeta)(a,"incrementalCache")||await u.getIncrementalCache(a,y,B,S);null==T||T.resetRequestCache(),globalThis.__incrementalCache=T;let U={params:x,previewProps:B.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:M,incrementalCache:T,hmrRefreshHash:(0,g.getRequestMeta)(a,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:c.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:void 0,onInstrumentationRequestError:(b,c,d,e)=>u.onRequestError(a,b,d,e,C)},sharedContext:{buildId:v,deploymentId:w}},V=new k.NodeNextRequest(a),W=new k.NodeNextResponse(b),X=l.NextRequestAdapter.fromNodeNextRequest(V,(0,l.signalFromNodeResponse)(b)),Y=async({previousCacheEntry:e})=>{try{if(!S&&D&&E&&!e)return b.statusCode=404,b.setHeader("x-nextjs-cache","REVALIDATED"),b.end("This page could not be found"),null;let d=await u.handle(X,U);a.fetchMetrics=U.renderOpts.fetchMetrics;let f=U.renderOpts.pendingWaitUntil;f&&c.waitUntil&&(c.waitUntil(f),f=void 0);let g=U.renderOpts.collectedTags;if(!J)return await (0,o.I)(V,W,d,f),null;{let a=await d.blob(),b=(0,p.toNodeOutgoingHttpHeaders)(d.headers);g&&(b[r.NEXT_CACHE_TAGS_HEADER]=g),!b["content-type"]&&a.type&&(b["content-type"]=a.type);let c=void 0!==U.renderOpts.collectedRevalidate&&!(U.renderOpts.collectedRevalidate>=r.INFINITE_CACHE)&&U.renderOpts.collectedRevalidate,e=void 0===U.renderOpts.collectedExpire||U.renderOpts.collectedExpire>=r.INFINITE_CACHE?!1!==c&&c>0?y.expireTime:void 0:U.renderOpts.collectedExpire;return{value:{kind:t.CachedRouteKind.APP_ROUTE,status:d.status,body:Buffer.from(await a.arrayBuffer()),headers:b},cacheControl:{revalidate:c,expire:e}}}}catch(b){throw(null==e?void 0:e.isStale)&&await u.onRequestError(a,b,{routerKind:"App Router",routePath:d,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),b}},Z=async(d,f)=>{try{var g,i;let d=await u.handleResponse({req:a,nextConfig:y,cacheKey:L,routeKind:e.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:B,isRoutePPREnabled:!1,isOnDemandRevalidate:D,revalidateOnlyGenerated:E,responseGenerator:Y,waitUntil:c.waitUntil,isMinimalMode:S});if(!J)return;if((null==d||null==(g=d.value)?void 0:g.kind)!==t.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==d||null==(i=d.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});S||b.setHeader("x-nextjs-cache",D?"REVALIDATED":d.isMiss?"MISS":d.isStale?"STALE":"HIT"),A&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let f=(0,p.fromNodeOutgoingHttpHeaders)(d.value.headers);S&&J||f.delete(r.NEXT_CACHE_TAGS_HEADER),!d.cacheControl||b.getHeader("Cache-Control")||f.get("Cache-Control")||f.set("Cache-Control",(0,q.getCacheControlHeader)(d.cacheControl)),await (0,o.I)(V,W,new Response(d.value.body,{headers:f,status:d.value.status||200}));return}catch(b){if(b instanceof s.NoFallbackError||await u.onRequestError(a,b,{routerKind:"App Router",routePath:I,routeType:"route",revalidateReason:(0,n.getRevalidateReason)({isStaticGeneration:N,isOnDemandRevalidate:D})},!1,C),J)throw b;await (0,o.I)(V,W,new Response(null,{status:500}));return}finally{(()=>{if(!d)return;let a=b.statusCode;d.setAttributes({"http.status_code":a,"next.rsc":!1}),a&&a>=500&&(d.setStatus({code:h.SpanStatusCode.ERROR}),d.setAttribute("error.type",a.toString()));let c=P.getRootSpanAttributes();if(!c)return;if(c.get("next.span_type")!==m.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${c.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let e=c.get("next.route")||I,g=`${O} ${e}`;d.setAttributes({"next.route":e,"http.route":e,"next.span_name":g}),d.updateName(g),f&&f!==d&&(f.setAttribute("http.route",e),f.updateName(g))})()}};if(R&&Q)await Z(Q,void 0);else{let b=P.getActiveScopeSpan();await P.withPropagatedContext(a.headers,()=>P.trace(m.BaseServerSpan.handleRequest,{spanName:`${O} ${d}`,kind:h.SpanKind.SERVER,attributes:{"http.method":O,"http.target":a.url}},a=>Z(a,b)),void 0,!R)}}},51455:a=>{a.exports=require("node:fs/promises")},53053:a=>{a.exports=require("node:diagnostics_channel")},55511:a=>{a.exports=require("crypto")},63033:a=>{a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},64939:a=>{a.exports=import("pg")},66136:a=>{a.exports=require("timers")},74075:a=>{a.exports=require("zlib")},76760:a=>{a.exports=require("node:path")},77598:a=>{a.exports=require("node:crypto")},79428:a=>{a.exports=require("buffer")},79646:a=>{a.exports=require("child_process")},79748:a=>{a.exports=require("fs/promises")},83997:a=>{a.exports=require("tty")},86439:a=>{a.exports=require("next/dist/shared/lib/no-fallback-error.external")},91645:a=>{a.exports=require("net")},94735:a=>{a.exports=require("events")}};var b=require("../../../../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,7184,6495,2493],()=>b(b.s=47052));module.exports=c})();
@@ -1 +0,0 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/api/prompts/config/route"]={"moduleLoading":{"prefix":"/_next/"},"ssrModuleMapping":{},"edgeSSRModuleMapping":{},"clientModules":{},"entryCSSFiles":{"/home/runner/work/cockpit/cockpit/src/app/api/prompts/config/route":[]},"rscModuleMapping":{},"edgeRscModuleMapping":{}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=2540,exports.ids=[2540],exports.modules={37730:(a,b,c)=>{function d(a,b){return`${a}::${b}`}function e(a){let b=a.indexOf("::");return b<0?null:{filePath:a.slice(0,b),qualifiedName:a.slice(b+2)}}c.d(b,{I:()=>d,r:()=>e})},92540:(a,b,c)=>{c.r(b),c.d(b,{cachedPPR:()=>u,getAnalytics:()=>y,getOrTriggerAnalytics:()=>B,invalidateAnalytics:()=>z,precomputeAnalytics:()=>A});var d=c(37730);let e="__file__";function f(a){return(0,d.I)(a,e)}function g(a){let b=new Map,c=[];for(let d of a.nodes.keys()){let e=a.out.get(d);if(!e||0===e.length){b.set(d,0),c.push(d);continue}let f=0;for(let a of e)f+=a.weight;b.set(d,f)}return{outSum:b,dangling:c}}function h(a,b,c,d,e,f){if(0===a.nodes.size)return new Map;let g=new Map;for(let c of a.nodes.keys())g.set(c,b.get(c)??0);for(let h=0;h<d;h++){let d=new Map;for(let e of a.nodes.keys())d.set(e,(1-c)*(b.get(e)??0));let h=0;for(let a of f.dangling)h+=g.get(a)??0;if(h>0){let a=c*h;for(let[c,e]of b)d.set(c,(d.get(c)??0)+a*e)}for(let[b,e]of a.out){let a=f.outSum.get(b)??0;if(0===a)continue;let h=c*(g.get(b)??0)/a;if(0!==h)for(let a of e)d.set(a.target,(d.get(a.target)??0)+h*a.weight)}let i=0;for(let b of a.nodes.keys())i+=Math.abs((d.get(b)??0)-(g.get(b)??0));if(g=d,i<e)break}return g}function i(a,b){let c=new Map;if(!b||0===b.size){let b=1/Math.max(1,a.nodes.size);for(let d of a.nodes.keys())c.set(d,b);return c}let d=0;for(let[e,f]of b)a.nodes.has(e)&&f>0&&(c.set(e,f),d+=f);if(0===d){let b=1/Math.max(1,a.nodes.size);for(let d of a.nodes.keys())c.set(d,b);return c}for(let[a,b]of c)c.set(a,b/d);return c}let j=/[\s_./>:\\-]+|(?<=[a-z0-9])(?=[A-Z])|(?<=[A-Z])(?=[A-Z][a-z])/g,k=[3,4];function l(a){if(!a)return[];let b=a.split(j),c=[];for(let a of b){if(!a)continue;let b=a.toLowerCase();b.length<2||c.push(b)}return c}function*m(a,b){if(!(a.length<b))for(let c=0;c<=a.length-b;c++)yield a.slice(c,c+b)}class n{constructor(a){for(const[b,c]of(this.df=new Map,this.tfByNode=new Map,this.normByNode=new Map,this.nDocs=a.nodes.size,a.nodes)){const a=function(a){a.tokens||(a.tokens=[...l(a.name),...l(a.qualifiedName),...l(a.filePath.replace(/\.[^./]+$/,""))]);let b=[];for(let c of a.tokens)if(b.push({term:c,weight:1}),c.length>=4)for(let a of k)for(let d of m(c,a))b.push({term:d,weight:.5});return b}(c),d=new Map;for(const{term:b,weight:c}of a)d.set(b,(d.get(b)??0)+c);for(const a of(this.tfByNode.set(b,d),d.keys()))this.df.set(a,(this.df.get(a)??0)+1)}for(const[a,b]of this.tfByNode){let c=0;for(const[a,d]of b){const b=d*this.idf(a);c+=b*b}this.normByNode.set(a,Math.sqrt(c)||1)}}idf(a){let b=this.df.get(a)??0;return 0===b?0:Math.log((this.nDocs+1)/(b+1))+1}search(a,b=10){let c=function(a){let b=[];for(let c of l(a))if(b.push({term:c,weight:1}),c.length>=4)for(let a of k)for(let d of m(c,a))b.push({term:d,weight:.5});return b}(a);if(0===c.length)return[];let d=new Map;for(let{term:a,weight:b}of c)d.set(a,(d.get(a)??0)+b);let e=new Map,f=0;for(let[a,b]of d){let c=b*this.idf(a);0!==c&&(e.set(a,c),f+=c*c)}let g=Math.sqrt(f);if(0===g)return[];let h=new Map;for(let[a,b]of this.tfByNode){let c=0;for(let[a,d]of e){let e=b.get(a);e&&(c+=d*(e*this.idf(a)))}c>0&&h.set(a,c/(g*(this.normByNode.get(a)??1)))}let i=[];for(let[a,b]of h)i.push({node:a,score:b});return i.sort((a,b)=>b.score-a.score),b>0?i.slice(0,b):i}}var o=c(65856),p=c(65497),q=c.n(p);let r=o.Ay.default??o.Ay,s=q().default??q();class t{constructor(a){this.map=new Map,this.cap=a}get(a){let b=this.map.get(a);if(b)return this.map.delete(a),this.map.set(a,b),b}set(a,b){if(this.map.has(a)&&this.map.delete(a),this.map.set(a,b),this.map.size>this.cap){let a=this.map.keys().next().value;void 0!==a&&this.map.delete(a)}}clear(){this.map.clear()}get size(){return this.map.size}}function u(a,b,c={}){let d=function(a,b={}){let c=Array.isArray(a)?a.map(a=>[a,1]):[...a.entries()];c.sort((a,b)=>a[0].localeCompare(b[0]));let d=b.damping??.85,e=b.topK??0;return`d${d}|k${e}|`+c.map(a=>`${a[0]}=${a[1]}`).join(",")}(b,c),e=a.pprCache.get(d);if(e)return e;let f=function(a,b,c={}){let d=c.damping??.85,e=c.maxIter??30,f=c.tol??1e-6,j=c.topK??0,k=new Map(Array.isArray(b)?b.map(a=>[a,1]):b),l=i(a,k),m=g(a),n=h(a,l,d,e,f,m),o=new Set(k.keys()),p=[];for(let[a,b]of n)!o.has(a)&&(b<=0||p.push({node:a,score:b}));return p.sort((a,b)=>b.score-a.score),j>0?p.slice(0,j):p}(a.graph,b,c);return a.pprCache.set(d,f),f}let v=new Map,w=new Map,x=0;function y(a){return v.get(a)??null}function z(a){if(!a){v.clear(),w.clear();return}v.delete(a),w.delete(a)}function A(a,b){let c=w.get(a);if(c)return c;let j=(async()=>{let c=Date.now(),j=x+=1,k=function(a,b){let c=new Map,g=new Map,h=new Map,i=(a,b,c)=>{let d=a.get(b);d||(d=[],a.set(b,d)),d.push(c)};for(let[b,g]of a.files){for(let a of g.flatSymbols){let e=(0,d.I)(b,a.qualifiedName);c.has(e)||c.set(e,{filePath:b,qualifiedName:a.qualifiedName,name:a.name,kind:a.kind,startLine:a.startLine,endLine:a.endLine})}let a=f(b);c.has(a)||c.set(a,{filePath:b,qualifiedName:e,name:function(a){let b=a.lastIndexOf("/");return b<0?a:a.slice(b+1)}(b),kind:"unknown",startLine:0,endLine:0})}for(let[b,e]of a.files)for(let a of e.intraCalls){let e=(0,d.I)(b,a.from),f=(0,d.I)(b,a.to);if(!c.has(e)||!c.has(f))continue;let j=Math.max(1,a.lines.length);i(g,e,{target:f,edgeType:"intraCall",weight:j}),i(h,f,{target:e,edgeType:"intraCall",weight:j})}for(let[b,e]of a.files)for(let a of e.outgoingCalls){let e=(0,d.I)(b,a.from),f=(0,d.I)(a.to.filePath,a.to.qualifiedName);if(!c.has(e)||!c.has(f))continue;let j=Math.max(1,a.lines.length);i(g,e,{target:f,edgeType:"crossCall",weight:j}),i(h,f,{target:e,edgeType:"crossCall",weight:j})}for(let[b,d]of a.files){let a=f(b);for(let b of d.importedFiles){let d=f(b);c.has(d)&&(i(g,a,{target:d,edgeType:"import",weight:1}),i(h,d,{target:a,edgeType:"import",weight:1}))}}for(let[b,e]of a.files){let a=f(b),j=e.flatSymbols;if(0===j.length)continue;let k=1/j.length;for(let e of j){let f=(0,d.I)(b,e.qualifiedName);c.has(f)&&(i(g,f,{target:a,edgeType:"import",weight:1}),i(h,a,{target:f,edgeType:"import",weight:1}),i(g,a,{target:f,edgeType:"import",weight:k}),i(h,f,{target:a,edgeType:"import",weight:k}))}}return{cwd:a.cwd,version:b,nodes:c,out:g,in:h}}(b,j),l=function(a,b={}){let c=b.damping??.85,d=b.maxIter??50,e=b.tol??1e-6,f=g(a);return h(a,i(a),c,d,e,f)}(k),m=new n(k),o=function(a){if(0===a.nodes.size)return new Map;let b=new r({type:"undirected",multi:!1});for(let c of a.nodes.keys())b.addNode(c);let c=new Map;for(let[b,d]of a.out)for(let a of d){if(b===a.target)continue;let[d,e]=b<a.target?[b,a.target]:[a.target,b],f=d+"\0|\0"+e;c.set(f,(c.get(f)??0)+a.weight)}for(let[a,d]of c){let c=a.indexOf("\0|\0");if(c<0)continue;let e=a.slice(0,c),f=a.slice(c+3);b.addEdgeWithKey(a,e,f,{weight:d})}let d=s(b),e=new Map;for(let[a,b]of Object.entries(d))e.set(a,b);return e}(k),p={cwd:a,version:j,graph:k,pagerank:l,tfidf:m,communities:o,pprCache:new t(200),builtAt:Date.now(),buildMs:Date.now()-c};return v.set(a,p),w.delete(a),p})();return w.set(a,j),j}function B(a,b){let c=v.get(a);return c||(A(a,b).catch(a=>{console.error("[analytics] precompute failed:",a)}),null)}}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=2728,exports.ids=[2728],exports.modules={92728:(a,b,c)=>{c.d(b,{Effect:()=>d});var d=c(79606)}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=3718,exports.ids=[3718],exports.modules={3718:(a,b,c)=>{c.d(b,{BrowserRuntime:()=>d.t4});var d=c(33281)}};
@@ -1 +0,0 @@
1
- "use strict";exports.id=9312,exports.ids=[9312],exports.modules={19312:(a,b,c)=>{c.d(b,{Codex:()=>w});var d=c(29021),e=c(21820),f=c(33873),g=c(79646),h=c(4984),i=c(8086);async function j(a){var b;if(void 0===a)return{cleanup:async()=>{}};if(!("object"==typeof(b=a)&&null!==b&&!Array.isArray(b)))throw Error("outputSchema must be a plain JSON object");let c=await d.promises.mkdtemp(f.join(e.tmpdir(),"codex-output-schema-")),g=f.join(c,"schema.json"),h=async()=>{try{await d.promises.rm(c,{recursive:!0,force:!0})}catch{}};try{return await d.promises.writeFile(g,JSON.stringify(a),"utf8"),{schemaPath:g,cleanup:h}}catch(a){throw await h(),a}}var k=class{_exec;_options;_id;_threadOptions;get id(){return this._id}constructor(a,b,c,d=null){this._exec=a,this._options=b,this._id=d,this._threadOptions=c}async runStreamed(a,b={}){return{events:this.runStreamedInternal(a,b)}}async *runStreamedInternal(a,b={}){let{schemaPath:c,cleanup:d}=await j(b.outputSchema),e=this._threadOptions,{prompt:f,images:g}=function(a){if("string"==typeof a)return{prompt:a,images:[]};let b=[],c=[];for(let d of a)"text"===d.type?b.push(d.text):"local_image"===d.type&&c.push(d.path);return{prompt:b.join("\n\n"),images:c}}(a),h=this._exec.run({input:f,baseUrl:this._options.baseUrl,apiKey:this._options.apiKey,threadId:this._id,images:g,model:e?.model,threadSource:e?.threadSource,sandboxMode:e?.sandboxMode,workingDirectory:e?.workingDirectory,skipGitRepoCheck:e?.skipGitRepoCheck,outputSchemaFile:c,modelReasoningEffort:e?.modelReasoningEffort,signal:b.signal,networkAccessEnabled:e?.networkAccessEnabled,webSearchMode:e?.webSearchMode,webSearchEnabled:e?.webSearchEnabled,approvalPolicy:e?.approvalPolicy,additionalDirectories:e?.additionalDirectories});try{for await(let a of h){let b;try{b=JSON.parse(a)}catch(b){throw Error(`Failed to parse item: ${a}`,{cause:b})}"thread.started"===b.type?this._id=b.thread_id:"turn.completed"===b.type&&(b.usage.cache_write_input_tokens??=0),yield b}}finally{await d()}}async run(a,b={}){let c=this.runStreamedInternal(a,b),d=[],e="",f=null,g=null;for await(let a of c)if("item.completed"===a.type)"agent_message"===a.item.type&&(e=a.item.text),d.push(a.item);else if("turn.completed"===a.type)f=a.usage;else if("turn.failed"===a.type){g=a.error;break}if(g)throw Error(g.message);return{items:d,finalResponse:e,usage:f}}},l="CODEX_INTERNAL_ORIGINATOR_OVERRIDE",m="@openai/codex",n={"x86_64-unknown-linux-musl":"@openai/codex-linux-x64","aarch64-unknown-linux-musl":"@openai/codex-linux-arm64","x86_64-apple-darwin":"@openai/codex-darwin-x64","aarch64-apple-darwin":"@openai/codex-darwin-arm64","x86_64-pc-windows-msvc":"@openai/codex-win32-x64","aarch64-pc-windows-msvc":"@openai/codex-win32-arm64"},o=(0,i.createRequire)("file:///home/runner/work/cockpit/cockpit/node_modules/@openai/codex-sdk/dist/index.js"),p=class{executablePath;pathDirs;envOverride;configOverrides;rawConfigOverrides;constructor(a=null,b,c,d){if(a)this.executablePath=a,this.pathDirs=[];else{const a=function(){let a,{platform:b,arch:c}=process,d=null;switch(b){case"linux":case"android":switch(c){case"x64":d="x86_64-unknown-linux-musl";break;case"arm64":d="aarch64-unknown-linux-musl"}break;case"darwin":switch(c){case"x64":d="x86_64-apple-darwin";break;case"arm64":d="aarch64-apple-darwin"}break;case"win32":switch(c){case"x64":d="x86_64-pc-windows-msvc";break;case"arm64":d="aarch64-pc-windows-msvc"}}if(!d)throw Error(`Unsupported platform: ${b} (${c})`);let e=n[d];if(!e)throw Error(`Unsupported target triple: ${d}`);try{let b=o.resolve(`${m}/package.json`),c=(0,i.createRequire)(b).resolve(`${e}/package.json`);a=f.join(f.dirname(c),"vendor")}catch{throw Error(`Unable to locate Codex CLI binaries. Ensure ${m} is installed with optional dependencies.`)}let g=function(a,b,c){let d=f.join(a,b),e=f.join(d,"bin",c);if(u(e)&&u(f.join(d,"codex-package.json")))return{executablePath:e,pathDirs:t(f.join(d,"codex-path"))};let g=f.join(d,"codex",c);return u(g)?{executablePath:g,pathDirs:t(f.join(d,"path"))}:null}(a,d,"win32"===process.platform?"codex.exe":"codex");if(!g)throw Error(`Unable to locate Codex CLI binaries for ${d}. Ensure ${m} is installed with optional dependencies.`);return g}();this.executablePath=a.executablePath,this.pathDirs=a.pathDirs}this.envOverride=b,this.configOverrides=c,this.rawConfigOverrides=d}async *run(a){let b=["exec","--experimental-json"];if(this.configOverrides){var c;let a;for(let d of(c=this.configOverrides,function a(b,c,d){if(!s(b))if(c)return void d.push(`${c}=${q(b,c)}`);else throw Error("Codex config overrides must be a plain object");let e=Object.entries(b);if(c||0!==e.length){if(c&&0===e.length)return void d.push(`${c}={}`);for(let[b,f]of e){if(!b)throw Error("Codex config override keys must be non-empty strings");if(void 0===f)continue;let e=c?`${c}.${b}`:b;s(f)?a(f,e,d):d.push(`${e}=${q(f,e)}`)}}}(c,"",a=[]),a))b.push("--config",d)}if(this.rawConfigOverrides)for(let a of this.rawConfigOverrides)b.push("--config",a);if(a.baseUrl&&b.push("--config",`openai_base_url=${q(a.baseUrl,"openai_base_url")}`),a.model&&b.push("--model",a.model),void 0===a.threadSource||a.threadId||b.push("--thread-source",a.threadSource),a.sandboxMode&&b.push("--sandbox",a.sandboxMode),a.workingDirectory&&b.push("--cd",a.workingDirectory),a.additionalDirectories?.length)for(let c of a.additionalDirectories)b.push("--add-dir",c);if(a.skipGitRepoCheck&&b.push("--skip-git-repo-check"),a.outputSchemaFile&&b.push("--output-schema",a.outputSchemaFile),a.modelReasoningEffort&&b.push("--config",`model_reasoning_effort="${a.modelReasoningEffort}"`),void 0!==a.networkAccessEnabled&&b.push("--config",`sandbox_workspace_write.network_access=${a.networkAccessEnabled}`),a.webSearchMode?b.push("--config",`web_search="${a.webSearchMode}"`):!0===a.webSearchEnabled?b.push("--config",'web_search="live"'):!1===a.webSearchEnabled&&b.push("--config",'web_search="disabled"'),a.approvalPolicy&&b.push("--config",`approval_policy="${a.approvalPolicy}"`),a.threadId&&b.push("resume",a.threadId),a.images?.length)for(let c of a.images)b.push("--image",c);let d={};if(this.envOverride)Object.assign(d,this.envOverride);else for(let[a,b]of Object.entries(process.env))void 0!==b&&(d[a]=b);d[l]||(d[l]="codex_sdk_ts"),a.apiKey&&(d.CODEX_API_KEY=a.apiKey),this.pathDirs.length>0&&function(a,b,c=process.platform){let d=function(a,b){if("win32"!==b)return"PATH";let c=Object.keys(a).filter(a=>"path"===a.toLowerCase());return c.includes("Path")?"Path":c.at(-1)??"PATH"}(a,c);if("win32"===c)for(let b of Object.keys(a))"path"===b.toLowerCase()&&b!==d&&delete a[b];let e=(a[d]??"").split(f.delimiter).filter(a=>a.length>0&&!b.includes(a));a[d]=[...b,...e].join(f.delimiter)}(d,this.pathDirs);let e=(0,g.spawn)(this.executablePath,b,{env:d,signal:a.signal}),i=null;if(e.once("error",a=>i=a),!e.stdin)throw e.kill(),Error("Child process has no stdin");if(e.stdin.write(a.input),e.stdin.end(),!e.stdout)throw e.kill(),Error("Child process has no stdout");let j=[];e.stderr&&e.stderr.on("data",a=>{j.push(a)});let k=new Promise(a=>{e.once("exit",(b,c)=>{a({code:b,signal:c})})}),m=h.createInterface({input:e.stdout,crlfDelay:1/0});try{for await(let a of m)yield a;if(i)throw i;let{code:a,signal:b}=await k;if(0!==a||b){let c=Buffer.concat(j),d=b?`signal ${b}`:`code ${a??1}`;throw Error(`Codex Exec exited with ${d}: ${c.toString("utf8")}`)}}finally{m.close(),e.removeAllListeners();try{e.killed||e.kill()}catch{}}}};function q(a,b){if("string"==typeof a)return JSON.stringify(a);if("number"==typeof a){if(!Number.isFinite(a))throw Error(`Codex config override at ${b} must be a finite number`);return`${a}`}if("boolean"==typeof a)return a?"true":"false";if(Array.isArray(a)){let c=a.map((a,c)=>q(a,`${b}[${c}]`));return`[${c.join(", ")}]`}if(s(a)){let d=[];for(let[e,f]of Object.entries(a)){var c;if(!e)throw Error("Codex config override keys must be non-empty strings");void 0!==f&&d.push(`${r.test(c=e)?c:JSON.stringify(c)} = ${q(f,`${b}.${e}`)}`)}return`{${d.join(", ")}}`}else if(null===a)throw Error(`Codex config override at ${b} cannot be null`);else{let c=typeof a;throw Error(`Unsupported Codex config override value at ${b}: ${c}`)}}var r=/^[A-Za-z0-9_-]+$/;function s(a){return"object"==typeof a&&null!==a&&!Array.isArray(a)}function t(...a){return a.filter(v)}function u(a){try{return(0,d.statSync)(a).isFile()}catch{return!1}}function v(a){try{return(0,d.statSync)(a).isDirectory()}catch{return!1}}var w=class{exec;options;constructor(a={}){const{codexPathOverride:b,env:c,config:d,configOverrides:e}=a;this.exec=new p(b,c,d,e),this.options=a}startThread(a={}){return new k(this.exec,this.options,a)}resumeThread(a,b={}){return new k(this.exec,this.options,b,a)}}}};
@@ -1,6 +0,0 @@
1
- "use strict";exports.id=9352,exports.ids=[9352],exports.modules={29352:(a,b,c)=>{c.d(b,{ND:()=>y});var d=c(22461),e=c(7939),f=c(95169),g=c(55511),h=c(29021),i=c(41204),j=c(33873),k=c(21820);function l(a){return`${a}.nohistory-backup`}function m(a){return h.readFileSync(a,"utf-8").split("\n").filter(a=>a.trim().length>0)}function n(a){try{let b=JSON.parse(a);return"session_meta"===b.type&&"string"==typeof b.payload?.id&&"string"==typeof b.payload?.cwd}catch{return!1}}function o(a){var b,c;let d=l(a);if(!h.existsSync(d))return"none";let e=m(d),f=h.existsSync(a)?m(a):[],g=f[0]&&n(f[0])?f.slice(1):f;return 0===g.length||!function(a){for(let b of a)try{JSON.parse(b)}catch{return!1}return!0}(g)?(b=d,c=a,h.existsSync(c)&&h.unlinkSync(c),h.renameSync(b,c),"restored"):(h.writeFileSync(a,[...e,...g].join("\n")+"\n","utf-8"),h.unlinkSync(d),"merged")}var p=c(40516);let q={"image/png":".png","image/jpeg":".jpg","image/webp":".webp","image/gif":".gif"};function r(a){return a.call_id||a.id||`tool-${(0,g.randomUUID)()}`}let s=new Set(["exec_command","shell_command","local_shell"]);function t(a){let b,c=[],d=/^\*\*\* (?:Add|Update|Delete) File: (.+)$/gm;for(;b=d.exec(a);)c.push(b[1].trim());return c}let u=a=>a.replace(/[/\\]+$/,"").split(/[/\\]/).pop()||a;function v(a){return a.replace(/\s+/g," ").trim()}function w(a){let b=function(a){switch(a){case"minimal":case"low":case"medium":case"high":case"xhigh":case"max":case"ultra":return a;default:return}}(a.params.codexReasoningEffort);return{...a.params.model?{model:a.params.model}:{},...b?{modelReasoningEffort:b}:{},...a.cwd?{workingDirectory:a.cwd}:{},sandboxMode:"danger-full-access",approvalPolicy:"never",skipGitRepoCheck:!0}}async function x(a){let b,l=a.images&&a.images.length>0?(n=a.images,b=(0,j.join)((0,k.tmpdir)(),"cockpit-codex-images"),(0,h.existsSync)(b)||(0,h.mkdirSync)(b,{recursive:!0}),n.map((a,c)=>{let d=q[a.media_type]||".png",e=(0,j.join)(b,`img-${Date.now()}-${c}${d}`);return(0,h.writeFileSync)(e,Buffer.from(a.data,"base64")),e})):[],m=function(a){let b,c,f,j,k,l,m,n,o,q,w,{sessionId:x}=a,y=!1,z=null,A=0,B=new Map,C=new Set,D=null,E=0,F=0,G=0,H=0,I=0,J=0,K=0,L=0,M=0,N=new Map,O=x||null,P=0,Q=new Map,R=(b=null,c=0,f="",j=new i.StringDecoder("utf8"),k=[],l=[],m=[],n=[],o=[],q=()=>({exec:k,patch:l,spawn:m,mcp:n,reports:o}),w=a=>{b=a,c=0,f="",j=new i.StringDecoder("utf8"),k.length=0,l.length=0,m.length=0,n.length=0,o.length=0},a=>{a!==b&&w(a);let d=0;try{d=(0,h.statSync)(a).size}catch{return q()}if(d<c&&w(a),d===c)return q();let e="";try{let b=(0,h.openSync)(a,"r");try{let a=d-c,f=Buffer.allocUnsafe(a),g=(0,h.readSync)(b,f,0,a,c);e=j.write(f.subarray(0,g)),c+=g}finally{(0,h.closeSync)(b)}}catch{return q()}let g=f+e,i=g.lastIndexOf("\n");return -1===i?f=g:(f=g.slice(i+1),!function(a,b,c,d,e,f){for(let g of a.split("\n")){let a;if(!g.trim())continue;try{a=JSON.parse(g)}catch{continue}let h=a.payload;if(h)if("function_call"===h.type&&h.name&&s.has(h.name)){let a="";try{a=String(JSON.parse(h.arguments||"{}").cmd||"")}catch{}b.push({callId:h.call_id,cmd:a})}else if("custom_tool_call"===h.type&&h.name===p.yM)c.push({callId:h.call_id,files:t(h.input||"")});else if("custom_tool_call"===h.type&&h.name===p.Bn){let a=(0,p.VW)(h.input||"");"exec"===a.kind?b.push({callId:h.call_id,cmd:a.command}):"patch"===a.kind&&c.push({callId:h.call_id,files:t(a.patch)})}else if("function_call"===h.type&&h.name&&h.namespace?.startsWith(p.wL))e.push({callId:h.call_id,server:h.namespace.slice(p.wL.length),tool:h.name});else if("function_call"===h.type&&h.name===p.$H){let a={};try{a=JSON.parse(h.arguments||"{}")}catch{}d.push({callId:h.call_id,args:a})}else if(h.type===p.JD){let a=(0,p.$G)(h);a?.final&&a.text&&f.push({author:a.author,text:a.text})}else if("function_call_output"===h.type&&h.call_id){let a=d.find(a=>a.callId===h.call_id&&!a.agentId);if(a){let b=(0,p.nq)(h.output||"");b&&(a.agentId=b.agentId,a.nickname=b.nickname)}}else{let a=(0,p.tq)(h);if(a){let b=d.find(b=>b.callId===a.callId&&!b.agentId);b&&(b.agentId=a.agentThreadId,a.agentPath&&(b.agentPath=a.agentPath))}}}}(g.slice(0,i),k,l,m,n,o)),q()}),S=!1,T=()=>{if(S||!D)return;S=!0;let a=R(D);E=a.exec.length,F=a.patch.length,I=a.spawn.length,K=a.mcp.length,M=a.reports.length};if(x)try{D=(0,e.eg)(x),T()}catch{D=null}let U=()=>{if(D||!O||P>=8)return D;P+=1;try{D=(0,e.eg)(O)}catch{D=null}return D},V=a=>{let b=a.id||a.call_id||`codex-${(0,g.randomUUID)()}`,c=Q.get(b);if(c)return c;let d=r(a),e=U();if(!a.call_id&&e){let b=function(a,b,c){var d;let e,f=a[b];if(!f?.callId)return null;let g=v(f.cmd),h=v((e=(d=c||"").match(/^\/bin\/\S+ -lc (['"])([\s\S]*)\1\s*$/))?e[2]:d),i=v(c||"");return!h||h===g||g.startsWith(h)||h.startsWith(g)||g&&i.includes(g)&&i.length-g.length<=32?f.callId:null}(R(e).exec,E+G,a.command||"");b&&(d=b)}return Q.set(b,d),G+=1,d},W=a=>{let b=a.id||a.call_id||`codex-${(0,g.randomUUID)()}`,c=Q.get(b);if(c)return c;let d=r(a),e=U();if(!a.call_id&&e){let b=(a.changes||[]).map(a=>a.path||"").filter(Boolean),c=function(a,b,c){let d=a[b];if(!d?.callId)return null;if(0===d.files.length||0===c.length)return d.callId;let e=new Set(d.files.map(u));return c.some(a=>e.has(u(a)))?d.callId:null}(R(e).patch,F+H,b);c&&(d=c)}return Q.set(b,d),H+=1,d},X=a=>({changes:(a.changes||[]).map(a=>({path:a.path||"",kind:a.kind||"update"}))}),Y=a=>{let b=a.changes||[];return 0===b.length?"apply_patch":b.map(a=>`${a.kind||"update"} ${a.path||""}`.trim()).join("\n")},Z=new Set,$=new Map,_=(b,c,d)=>{Z.add(b),d&&$.set(d,b),B.set(b,b),a.emit({type:"assistant",message:{content:[{type:"tool_use",id:b,name:p.C4.task,input:c}]}})},aa=(b=!1)=>{let c=U();if(!c)return;let{spawn:d,reports:e}=R(c);for(let a=I;a<d.length;a+=1){let c=d[a];!(!c.callId||Z.has(c.callId))&&(c.agentId||b)&&(_(c.callId,(0,p.o4)(c.args,{nickname:c.nickname,agentId:c.agentId}),c.agentPath),c.agentId&&N.set(c.agentId,c.callId))}for(let b=M;b<e.length;b+=1){let{author:c,text:d}=e[b],f=$.get(c);f&&B.has(f)&&(a.emit({type:"user",message:{content:[{tool_use_id:f,content:d}]}}),B.delete(f))}},ab=(b,c)=>{let d=(a=>{let b=a.id||`codex-${(0,g.randomUUID)()}`,c=Q.get(b);if(c)return c;let d=r(a),e=U();if(!a.call_id&&e){var f,h,i,j;let b,c=(f=R(e).mcp,h=K+L,i=a.server,j=a.tool,b=f[h],!b?.callId||i&&j&&(b.server!==i||b.tool!==j)?null:b.callId);c&&(d=c)}return Q.set(b,d),L+=1,d})(b),e=(0,p.Dn)(b.server||"mcp",b.tool||"tool");B.has(d)||(B.set(d,d),a.emit({type:"assistant",message:{content:[{type:"tool_use",id:d,name:e,input:b.arguments||{}}]}})),c&&(a.emit({type:"user",message:{content:[{tool_use_id:d,content:(0,p.YU)(b)||`(${b.status||"completed"})`}]}}),B.delete(d))},ac=(b,c)=>{if(c){if(C.has(c))return;C.add(c)}A+=(0,d.r)(b),a.emit({type:"usage_update",output_tokens:A})};return{handle:b=>{if(!y)switch("thread.started"!==b.type&&aa(),b.type){case"thread.started":{let c=b.thread_id||`codex-${(0,g.randomUUID)()}`;b.thread_id&&(O=b.thread_id),a.rekey(c),a.emit({type:"system",subtype:"init",session_id:c}),U(),x&&T();break}case"item.completed":{let c=b.item;if(!c)break;if("agent_message"===c.type&&c.text&&(ac(c.text),a.emit({type:"assistant",message:{content:[{type:"text",text:c.text}]}})),"error"===c.type&&(c.message||c.text)&&(ac(c.message||c.text||""),a.emit({type:"error",error:c.message||c.text})),"reasoning"===c.type&&c.text&&(ac(c.text),a.emit({type:"assistant",message:{content:[{type:"text",text:`<details><summary>Reasoning</summary>
2
-
3
- ${c.text}
4
-
5
- </details>`}]}})),"command_execution"===c.type){let b=V(c);B.has(b)||(ac(c.command||p.C4.bash,`command-start:${b}`),a.emit({type:"assistant",message:{content:[{type:"tool_use",id:b,name:p.C4.bash,input:{command:c.command||""}}]}})),ac(c.aggregated_output||`(exit code: ${c.exit_code??"unknown"})`,`command-result:${b}`),a.emit({type:"user",message:{content:[{tool_use_id:b,content:c.aggregated_output||`(exit code: ${c.exit_code??"unknown"})`}]}}),B.delete(b)}if("collab_tool_call"===c.type&&(b=>{if(b.tool===p.$H)return(a=>{let b=a.receiver_thread_ids??[],c=U(),d=c?function(a,b,c){if(c){let b=a.find(a=>a.agentId===c);if(b?.callId)return b}let d=a[b];return d?.callId?d:null}(R(c).spawn,I+J,b[0]):null;J+=1;let e=d?.callId||r(a);if(Z.has(e))return;let f=d?.args&&Object.keys(d.args).length>0?d.args:{message:a.prompt||""},g=(0,p.o4)(f,{nickname:d?.nickname,agentId:b[0]||d?.agentId});for(let a of b)N.set(a,e);_(e,g,d?.agentPath)})(b);for(let c of(0,p.Hq)(b.agents_states)){if(!c.done)continue;let b=N.get(c.agentId);b&&(a.emit({type:"user",message:{content:[{tool_use_id:b,content:(0,p.nE)(c)}]}}),B.delete(b),N.delete(c.agentId))}})(c),"mcp_tool_call"===c.type&&(ac(`${c.server||"mcp"} ${c.tool||""} ${JSON.stringify(c.result??c.error??"")}`),ab(c,!0)),"web_search"===c.type&&(ac(JSON.stringify(c.action||c.query||"web_search")),(b=>{let c=r(b),{name:d,input:e,result:f}=(0,p.U6)(b.query,b.action);a.emit({type:"assistant",message:{content:[{type:"tool_use",id:c,name:d,input:e}]}}),a.emit({type:"user",message:{content:[{tool_use_id:c,content:f}]}})})(c)),"todo_list"===c.type){let b,d;ac(JSON.stringify(c.items||[])),b=r(c),d=(0,p.qW)(c.items),a.emit({type:"assistant",message:{content:[{type:"tool_use",id:b,name:p.C4.todo,input:d}]}}),a.emit({type:"user",message:{content:[{tool_use_id:b,content:(0,p.uz)(d.todos)}]}})}if("file_change"===c.type){let b=W(c);B.has(b)||(ac(Y(c),`patch-start:${b}`),a.emit({type:"assistant",message:{content:[{type:"tool_use",id:b,name:p.C4.applyPatch,input:X(c)}]}})),ac(Y(c),`patch-result:${b}`),a.emit({type:"user",message:{content:[{tool_use_id:b,content:Y(c)}]}}),B.delete(b)}break}case"item.started":{let c=b.item;if(c?.type==="mcp_tool_call"&&ab(c,!1),c?.type==="command_execution"&&c.command){let b=V(c);B.set(b,b),ac(c.command,`command-start:${b}`),a.emit({type:"assistant",message:{content:[{type:"tool_use",id:b,name:p.C4.bash,input:{command:c.command}}]}})}if(c?.type==="file_change"&&(c.changes?.length??0)>0){let b=W(c);B.set(b,b),ac(Y(c),`patch-start:${b}`),a.emit({type:"assistant",message:{content:[{type:"tool_use",id:b,name:p.C4.applyPatch,input:X(c)}]}})}break}case"turn.completed":{aa(!0);let c=b.usage||{};a.emit({type:"result",subtype:"success",usage:{input_tokens:c.input_tokens||0,output_tokens:c.output_tokens||0,cache_creation_input_tokens:c.cache_write_input_tokens||0,cache_read_input_tokens:c.cached_input_tokens||0},total_cost_usd:0});break}case"turn.failed":y=!0,z=Error(b.error?.message||"Codex turn failed");break;case"error":y=!0,z=Error(b.message||"Codex error")}},assertSuccess(){if(z)throw z}}}(a);try{let b,{Codex:d}=await c.e(9312).then(c.bind(c,19312)),e=(0,f.u)({});try{b=new d({env:e})}catch(a){if(!(a instanceof Error?a.message:"").includes("Unable to locate Codex CLI binaries"))throw a;console.error("[codex] bundled CLI binary is missing — falling back to `codex` on PATH. That build is not the version this SDK was pinned against. Repair with: cockpit update"),b=new d({codexPathOverride:"codex",env:e})}let g=a.sessionId?b.resumeThread(a.sessionId,w(a)):b.startThread(w(a)),{events:h}=await g.runStreamed((o=a.prompt??"",0===l.length?o:[{type:"text",text:o||p.RA},...l.map(a=>({type:"local_image",path:a}))]),{signal:a.signal});for await(let a of h)m.handle(a);m.assertSuccess()}finally{var n,o;for(let a of l)try{(0,h.unlinkSync)(a)}catch{}}}let y={name:"codex",runner:{async run(a){if(!0!==a.params.noHistory||!a.sessionId)return void await x(a);let b=(0,e.eg)(a.sessionId),c=!!b&&function(a){if(!h.existsSync(a))return!1;let b=l(a);h.existsSync(b)&&o(a);let c=m(a)[0];if(!c||!n(c))throw Error(`Cannot run Codex independent task: ${a} has no session_meta`);h.mkdirSync((0,j.dirname)(b),{recursive:!0}),h.renameSync(a,b);try{h.writeFileSync(a,`${c}
6
- `,"utf-8")}catch(c){throw h.existsSync(b)&&!h.existsSync(a)&&h.renameSync(b,a),c}return!0}(b);try{await x(a)}finally{c&&b&&o(b)}}}}}};
@@ -1 +0,0 @@
1
- self.__BUILD_MANIFEST={__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:142,errorRate:1e-4,numBits:2723,numHashes:14,bitArray:[0,1,1,0,0,1,0,1,1,0,0,0,1,0,1,0,0,1,1,1,0,1,1,1,0,0,0,1,0,0,0,0,1,0,0,1,0,0,0,1,0,0,1,1,0,0,0,0,1,0,1,0,0,0,1,1,1,1,0,0,1,0,0,0,1,1,1,1,1,0,0,1,1,0,1,0,0,1,0,1,0,0,1,1,0,0,1,0,0,1,1,0,1,0,0,1,0,1,1,1,1,0,0,1,0,1,1,1,0,1,0,1,1,1,0,0,1,0,1,0,1,1,1,1,1,1,0,1,0,0,1,1,0,1,0,1,0,0,1,1,1,1,0,0,1,1,0,0,1,0,1,1,0,0,0,0,1,1,0,0,1,1,0,0,1,1,1,1,0,1,0,1,1,0,1,0,0,0,1,1,0,0,1,1,0,1,1,0,1,1,1,1,0,1,0,1,1,0,1,1,0,1,0,1,0,1,0,1,0,1,1,0,0,0,1,1,1,1,0,1,1,1,1,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,1,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,1,0,0,1,1,0,1,1,0,1,1,1,0,0,0,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,0,0,1,1,0,1,1,0,1,0,0,1,1,1,1,1,1,0,0,0,0,0,1,0,1,1,0,1,0,0,1,1,0,1,1,1,1,1,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,0,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,1,1,0,1,0,1,0,0,0,1,1,1,0,0,1,1,0,0,1,1,1,1,0,0,1,0,1,0,0,0,0,1,1,1,0,0,1,1,0,0,1,1,0,1,1,0,1,1,1,0,1,0,0,1,0,0,1,1,1,0,1,1,0,0,0,0,0,1,1,0,1,1,1,1,0,0,0,0,1,0,1,1,1,0,1,1,0,1,1,0,0,0,1,1,0,0,1,0,1,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,1,1,1,1,0,1,1,0,1,0,1,1,1,0,0,1,0,0,0,0,0,0,0,1,1,1,1,1,0,0,1,0,0,0,1,1,1,1,1,0,0,1,1,0,0,1,1,0,0,1,0,0,1,0,1,1,1,1,0,0,0,1,0,1,0,0,0,1,1,0,1,1,0,0,1,0,0,0,0,0,0,0,0,1,0,1,0,0,0,0,1,0,1,1,0,1,0,0,1,0,1,0,1,1,0,1,1,0,1,0,0,0,0,0,1,1,0,0,1,1,1,1,0,1,1,1,0,0,0,1,1,0,0,1,1,1,1,1,0,0,0,0,0,0,1,0,1,0,0,1,1,0,1,1,0,0,1,1,1,0,1,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0,1,1,0,1,0,1,1,0,1,1,0,0,1,1,0,1,1,1,0,1,0,0,1,1,1,1,0,0,0,0,1,1,0,0,0,0,0,1,0,1,1,0,1,1,1,1,1,0,1,0,0,0,1,0,1,1,1,0,0,1,1,1,0,1,0,1,0,1,0,0,0,0,1,1,0,1,0,0,1,0,0,1,1,0,0,1,1,1,1,0,0,0,1,1,1,0,1,1,1,1,1,1,0,0,1,0,0,0,1,1,1,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,0,0,0,1,1,1,0,1,1,0,1,0,0,1,0,1,1,0,1,1,0,0,0,0,1,0,1,1,1,1,1,0,0,1,0,1,0,0,0,1,0,0,1,0,1,0,0,0,0,1,1,0,0,1,0,0,1,0,0,1,0,0,1,1,1,0,0,1,0,0,0,0,0,0,1,1,0,1,1,0,0,1,1,1,1,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,1,0,0,0,1,1,1,1,0,0,1,1,1,0,0,1,1,0,1,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,0,0,0,1,0,1,0,0,1,1,1,1,1,1,1,0,1,0,0,1,0,0,0,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,0,0,1,0,1,1,0,1,0,1,0,0,1,0,0,1,1,1,1,0,1,0,1,0,1,0,0,0,0,1,0,1,1,1,0,1,0,1,0,0,1,1,1,0,1,0,1,1,0,1,0,0,0,1,1,1,1,1,0,0,0,0,1,1,0,1,1,0,0,0,1,1,0,0,1,1,0,1,0,1,1,1,0,1,1,0,1,0,0,1,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,1,1,1,0,1,0,1,0,1,0,1,1,0,1,1,1,1,1,1,1,0,0,1,1,1,0,1,0,1,0,0,1,1,0,0,0,1,0,1,1,1,1,0,0,1,1,1,0,1,1,0,0,0,0,1,0,1,1,1,1,0,1,0,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0,0,1,1,0,0,0,0,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,0,1,1,1,0,0,0,0,1,1,1,0,0,1,0,1,1,1,1,0,1,1,1,1,1,1,1,0,0,1,1,0,0,1,0,0,0,1,1,0,1,1,1,0,0,1,0,0,0,1,1,1,0,1,0,1,1,0,0,0,0,1,1,1,0,1,1,1,0,1,0,0,0,0,1,0,1,1,1,1,0,1,0,1,0,0,0,1,0,1,0,1,1,0,0,0,0,1,0,0,0,0,1,1,1,1,0,0,0,1,0,1,1,0,0,0,0,1,1,0,0,1,0,1,0,0,1,0,0,0,0,1,1,1,0,0,1,0,1,0,1,0,0,1,1,0,1,0,1,1,1,0,0,0,1,1,0,0,0,1,0,1,0,0,1,1,0,0,1,1,0,1,1,1,1,0,0,0,1,0,0,1,1,0,1,1,0,0,1,0,1,0,1,1,0,0,0,0,0,1,0,1,0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,0,1,1,1,0,1,0,0,1,1,1,1,0,0,0,0,0,0,1,0,1,0,1,0,0,1,1,1,1,0,1,0,1,1,1,1,0,1,0,0,0,0,1,1,1,1,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,1,1,0,1,1,1,1,1,0,1,0,1,1,0,1,0,0,1,1,1,1,0,0,0,0,1,0,0,1,0,0,0,0,0,1,1,0,0,1,0,1,1,0,0,1,1,0,0,1,0,0,1,1,0,1,0,1,0,1,0,0,0,0,0,1,0,1,1,1,1,0,1,0,1,1,1,1,1,1,0,1,0,0,1,1,0,0,1,1,0,1,0,1,1,1,0,1,1,0,1,1,1,1,1,0,0,0,1,1,0,0,1,1,0,1,1,0,1,0,1,0,1,1,1,1,1,0,0,0,1,1,0,0,0,0,1,1,1,0,0,1,0,0,0,0,1,0,1,1,1,1,0,0,1,0,1,1,0,1,0,1,0,0,0,0,1,1,0,1,1,1,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,1,0,1,0,0,1,1,0,0,0,0,1,0,0,1,0,1,0,0,0,0,0,0,0,0,0,1,1,0,1,0,1,1,1,1,0,0,1,1,0,1,1,0,0,1,1,0,0,0,0,0,1,1,1,1,0,0,0,0,1,1,1,1,1,0,1,1,1,0,0,1,1,0,0,0,0,1,1,1,1,0,1,1,0,0,1,0,0,0,1,1,0,1,1,1,0,0,0,1,1,0,1,0,0,0,0,1,1,1,0,0,1,1,0,0,1,0,0,1,0,0,1,0,1,1,0,0,0,0,0,0,1,1,0,0,1,1,0,1,0,1,1,0,1,1,1,1,0,1,1,0,1,1,1,1,0,1,0,0,1,0,1,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,1,1,1,1,0,1,1,1,1,1,1,0,1,1,0,0,1,0,1,1,1,0,0,1,0,0,1,1,1,1,0,1,0,0,0,1,1,1,0,1,0,1,0,0,1,0,1,1,1,0,0,0,1,0,1,0,1,0,1,1,0,1,0,1,1,1,1,0,1,0,1,1,1,0,0,1,0,0,1,0,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,0,1,1,1,1,0,1,0,0,0,0,0,0,0,0,1,0,1,1,1,1,0,0,0,0,1,1,1,1,0,0,1,0,0,1,0,1,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,1,0,1,0,1,1,1,1,1,0,1,0,0,0,1,1,1,1,1,1,0,0,0,0,0,1,0,1,1,0,0,0,0,0,1,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,1,1,0,1,1,0,1,0,1,0,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,1,0,0,0,0,1,0,0,1,0,1,0,0,1,1,0,1,1,1,1,0,1,0,1,1,0,0,1,1,0,1,0,1,1,0,0,1,1,1,1,0,1,1,0,1,1,1,0,1,0,1,1,1,0,1,0,1,1,1,1,0,0,1,1,1,0,1,1,0,0,0,0,0,1,0,0,1,0,1,1,0,0,0,1,0,1,1,1,0,1,1,1,1,0,0,0,0,1,0,0,0,1,0,0,0,0,1,1,0,0,1,1,1,0,0,1,1,0,0,0,0,1,0,0,0,1,1,1,0,1,1,1,0,0,0,1,1,0,1,0,1,1,0,1,1,0,1,0,1,0,0,1,0,1,1,0,0,1,1,0,1,1,0,0,1,1,1,0,1,1,1,0,0,0,1,1,1,1,0,1,1,1,0,1,1,1,1,0,1,1,1,0,1,0,1,0,0,0,1,1,1,1,0,1,1,0,1,0,0,0,1,0,1,1,1,1,1,0,0,1,0,1,0,1,1,1,1,0,0,1,0,1,1,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,1,1,1,1,0,0,1,1,1,1,0,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,0,1,0,0,1,0,0,0,1,0,1,1,0,1,0,1,1,0,0,1,0,0,1,1,1,0,1,1,1,0,1,1,0,0,1,0,0,0,1,0,1,1,1,1,0,0,0,0,1,1,1,0,0,0,0,0,1,0,0,0,0,1,1,0,1,0,0,1,0,1,0,0,1,1,0,1,1,1,1,1,0,0,1,1,1,0,0,1,0,1,1,1,0,0,1,1,0,0,0,0,0,1,1,1,1,1,0,1,0,0,0,0,1,0,1,0,0,0,1,0,0,0,1,1,0,0,1,1,0,0,0,0,0,1,0,0,1,0,1,0,0,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,0,1,1,0,0,1,1,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,1,1,1,0,0,1,1,1,0,0,0,1,1,1,1,0,0,1,0,0,0,0,1,0,0,1,0,0,1,0,1,0,1,0,0,0,1,1,1,1,0,0,1,1,0,1,1,0,1,0,0,1,1,1,1,1,0,0,1,1,0,0,1,1,0,0,1,0,0,1,1,1,1,1,0,1,0,0,1,1,1,0,0,1,1,0,0,1,0,1,0,0,0,1,1,1,0,1,0,0,0,0,0,1,0,0,1,1,0,1,1,0,1,0,1,0,1,1,0,1,1,0,1,1,1,1,0,0,0,1]},__routerFilterDynamic:{numItems:7,errorRate:1e-4,numBits:135,numHashes:14,bitArray:[1,1,0,1,0,1,1,1,1,1,1,0,1,0,0,0,1,1,1,1,0,0,1,0,0,1,1,0,0,1,1,0,1,1,0,0,0,0,1,0,0,1,1,1,0,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,0,1,1,0,0,0,1,0,1,0,0,0,0,1,0,1,0,1,1,1,0,0,0,0,0,0,1,0,1,1,1,1,0,1,1,0,1,0,0,0,0,1,0,1,1,1,1,0,1,1,0,1,0,1,1,0,0,0,0,0,1,0,0,0,1,1,1,1,0,0,1,1,1,1]},sortedPages:["/_app"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();