@surething/cockpit 1.1.10 → 1.1.11

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 (569) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +4 -2
  3. package/.next-prod/build-manifest.json +2 -2
  4. package/.next-prod/cockpit-build.json +1 -1
  5. package/.next-prod/prerender-manifest.json +3 -3
  6. package/.next-prod/routes-manifest.json +12 -0
  7. package/.next-prod/server/app/_global-error/page.js +2 -2
  8. package/.next-prod/server/app/_global-error/page_client-reference-manifest.js +1 -1
  9. package/.next-prod/server/app/_global-error.html +1 -1
  10. package/.next-prod/server/app/_global-error.rsc +1 -1
  11. package/.next-prod/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/.next-prod/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  13. package/.next-prod/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/.next-prod/server/app/_not-found/page.js +1 -1
  15. package/.next-prod/server/app/_not-found/page_client-reference-manifest.js +1 -1
  16. package/.next-prod/server/app/api/agent/test/route.js +1 -1
  17. package/.next-prod/server/app/api/bash/route.js +1 -1
  18. package/.next-prod/server/app/api/bots/[id]/route.js +1 -1
  19. package/.next-prod/server/app/api/bots/files/route.js +1 -1
  20. package/.next-prod/server/app/api/bots/route.js +1 -1
  21. package/.next-prod/server/app/api/chat/codex/route.js +1 -1
  22. package/.next-prod/server/app/api/chat/deepseek/route.js +1 -1
  23. package/.next-prod/server/app/api/chat/glm/route.js +1 -1
  24. package/.next-prod/server/app/api/chat/grok/route.js +1 -1
  25. package/.next-prod/server/app/api/chat/kimi/route.js +1 -1
  26. package/.next-prod/server/app/api/chat/ollama/route.js +1 -1
  27. package/.next-prod/server/app/api/chat/route.js +1 -1
  28. package/.next-prod/server/app/api/chat/stop/route.js +1 -1
  29. package/.next-prod/server/app/api/claude-stats/route.js +1 -1
  30. package/.next-prod/server/app/api/commands/route.js +1 -1
  31. package/.next-prod/server/app/api/comments/route.js +1 -1
  32. package/.next-prod/server/app/api/db/columns/route.js +1 -1
  33. package/.next-prod/server/app/api/db/connect/route.js +1 -1
  34. package/.next-prod/server/app/api/db/disconnect/route.js +1 -1
  35. package/.next-prod/server/app/api/db/export/route.js +1 -1
  36. package/.next-prod/server/app/api/db/query/route.js +1 -1
  37. package/.next-prod/server/app/api/db/schemas/route.js +2 -2
  38. package/.next-prod/server/app/api/deepseek/balance/route.js +1 -1
  39. package/.next-prod/server/app/api/deepseek/credentials/route.js +1 -1
  40. package/.next-prod/server/app/api/deepseek/models/route.js +1 -1
  41. package/.next-prod/server/app/api/dev/spans/route.js +1 -1
  42. package/.next-prod/server/app/api/extension/version/route.js +1 -1
  43. package/.next-prod/server/app/api/file/route.js +1 -1
  44. package/.next-prod/server/app/api/files/blame/route.js +1 -1
  45. package/.next-prod/server/app/api/files/clipboard/route.js +1 -1
  46. package/.next-prod/server/app/api/files/copy/route.js +1 -1
  47. package/.next-prod/server/app/api/files/delete/route.js +1 -1
  48. package/.next-prod/server/app/api/files/expanded/route.js +1 -1
  49. package/.next-prod/server/app/api/files/index/route.js +1 -1
  50. package/.next-prod/server/app/api/files/init/route.js +1 -1
  51. package/.next-prod/server/app/api/files/paste/route.js +1 -1
  52. package/.next-prod/server/app/api/files/read/route.js +1 -1
  53. package/.next-prod/server/app/api/files/readdir/route.js +1 -1
  54. package/.next-prod/server/app/api/files/recent/route.js +1 -1
  55. package/.next-prod/server/app/api/files/save/route.js +1 -1
  56. package/.next-prod/server/app/api/files/search/route.js +1 -1
  57. package/.next-prod/server/app/api/files/stat/route.js +1 -1
  58. package/.next-prod/server/app/api/files/text/route.js +1 -1
  59. package/.next-prod/server/app/api/fs/dirs/route.js +1 -1
  60. package/.next-prod/server/app/api/git/blob/route.js +1 -1
  61. package/.next-prod/server/app/api/git/branch-diff/route.js +1 -1
  62. package/.next-prod/server/app/api/git/branches/route.js +1 -1
  63. package/.next-prod/server/app/api/git/commit-diff/route.js +1 -1
  64. package/.next-prod/server/app/api/git/commits/route.js +1 -1
  65. package/.next-prod/server/app/api/git/current-branch/route.js +1 -1
  66. package/.next-prod/server/app/api/git/diff/route.js +1 -1
  67. package/.next-prod/server/app/api/git/discard/route.js +1 -1
  68. package/.next-prod/server/app/api/git/stage/route.js +1 -1
  69. package/.next-prod/server/app/api/git/status/route.js +1 -1
  70. package/.next-prod/server/app/api/git/unstage/route.js +1 -1
  71. package/.next-prod/server/app/api/git/worktree/route.js +1 -1
  72. package/.next-prod/server/app/api/glm/credentials/route.js +1 -1
  73. package/.next-prod/server/app/api/glm/models/route.js +1 -1
  74. package/.next-prod/server/app/api/glm/usage/route.js +1 -1
  75. package/.next-prod/server/app/api/global-state/route.js +2 -2
  76. package/.next-prod/server/app/api/grok/models/route.js +1 -1
  77. package/.next-prod/server/app/api/health/route.js +1 -1
  78. package/.next-prod/server/app/api/html-apps/[id]/route.js +1 -1
  79. package/.next-prod/server/app/api/html-apps/files/route.js +1 -1
  80. package/.next-prod/server/app/api/html-apps/route.js +1 -1
  81. package/.next-prod/server/app/api/instructions/config/route.js +1 -1
  82. package/.next-prod/server/app/api/kimi/credentials/route.js +1 -1
  83. package/.next-prod/server/app/api/kimi/models/route.js +1 -1
  84. package/.next-prod/server/app/api/kimi/usage/route.js +1 -1
  85. package/.next-prod/server/app/api/lsp/definition/route.js +1 -1
  86. package/.next-prod/server/app/api/lsp/hover/route.js +1 -1
  87. package/.next-prod/server/app/api/lsp/references/route.js +1 -1
  88. package/.next-prod/server/app/api/lsp/status/route.js +1 -1
  89. package/.next-prod/server/app/api/lsp/warmup/route.js +1 -1
  90. package/.next-prod/server/app/api/mobile-link/route.js +1 -1
  91. package/.next-prod/server/app/api/mysql/columns/route.js +2 -2
  92. package/.next-prod/server/app/api/mysql/connect/route.js +1 -1
  93. package/.next-prod/server/app/api/mysql/disconnect/route.js +1 -1
  94. package/.next-prod/server/app/api/mysql/export/route.js +1 -1
  95. package/.next-prod/server/app/api/mysql/query/route.js +1 -1
  96. package/.next-prod/server/app/api/mysql/schemas/route.js +2 -2
  97. package/.next-prod/server/app/api/neo4j/connect/route.js +1 -1
  98. package/.next-prod/server/app/api/neo4j/disconnect/route.js +1 -1
  99. package/.next-prod/server/app/api/neo4j/query/route.js +1 -1
  100. package/.next-prod/server/app/api/neo4j/schema/route.js +1 -1
  101. package/.next-prod/server/app/api/note/list/route.js +1 -1
  102. package/.next-prod/server/app/api/note/route.js +1 -1
  103. package/.next-prod/server/app/api/ollama/config/route.js +1 -1
  104. package/.next-prod/server/app/api/ollama/default-model/route.js +1 -1
  105. package/.next-prod/server/app/api/ollama/models/route.js +1 -1
  106. package/.next-prod/server/app/api/ollama/start/route.js +1 -1
  107. package/.next-prod/server/app/api/open-cursor/route.js +1 -1
  108. package/.next-prod/server/app/api/open-vscode/route.js +1 -1
  109. package/.next-prod/server/app/api/pi/thinking/route.js +1 -1
  110. package/.next-prod/server/app/api/pinned-sessions/route.js +1 -1
  111. package/.next-prod/server/app/api/project-settings/route.js +1 -1
  112. package/.next-prod/server/app/api/project-state/route.js +2 -2
  113. package/.next-prod/server/app/api/projectGraph/affected/route.js +1 -1
  114. package/.next-prod/server/app/api/projectGraph/callees/route.js +1 -1
  115. package/.next-prod/server/app/api/projectGraph/callers/route.js +1 -1
  116. package/.next-prod/server/app/api/projectGraph/clones/route.js +1 -0
  117. package/.next-prod/server/app/api/projectGraph/clones/route.js.nft.json +1 -0
  118. package/.next-prod/server/app/api/projectGraph/clones/route_client-reference-manifest.js +1 -0
  119. package/.next-prod/server/app/api/projectGraph/coedit/route.js +1 -1
  120. package/.next-prod/server/app/api/projectGraph/crap/route.js +1 -0
  121. package/.next-prod/server/app/api/projectGraph/crap/route.js.nft.json +1 -0
  122. package/.next-prod/server/app/api/projectGraph/crap/route_client-reference-manifest.js +1 -0
  123. package/.next-prod/server/app/api/projectGraph/edges/route.js +1 -1
  124. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  125. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  126. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  127. package/.next-prod/server/app/api/projectGraph/maps/route.js +1 -1
  128. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  129. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  130. package/.next-prod/server/app/api/projectGraph/symbols/route.js +1 -1
  131. package/.next-prod/server/app/api/projects/route.js +1 -1
  132. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  133. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  134. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  135. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  136. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  137. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  138. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  139. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  140. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  141. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  142. package/.next-prod/server/app/api/restart/route.js +1 -1
  143. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  144. package/.next-prod/server/app/api/services/config/route.js +1 -1
  145. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  146. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  147. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  148. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  149. package/.next-prod/server/app/api/session/image/route.js +1 -1
  150. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  151. package/.next-prod/server/app/api/session-bots/route.js +1 -1
  152. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  153. package/.next-prod/server/app/api/session-context/route.js +2 -2
  154. package/.next-prod/server/app/api/session-title/route.js +1 -1
  155. package/.next-prod/server/app/api/session-title/suggest/route.js +1 -1
  156. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  157. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  158. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  159. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  160. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  161. package/.next-prod/server/app/api/settings/route.js +1 -1
  162. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  163. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  164. package/.next-prod/server/app/api/skills/builtin/route.js +1 -1
  165. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  166. package/.next-prod/server/app/api/skills/files/route.js +1 -1
  167. package/.next-prod/server/app/api/skills/route.js +1 -1
  168. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  169. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  170. package/.next-prod/server/app/api/snapshots/mark/route.js +1 -1
  171. package/.next-prod/server/app/api/snapshots/range-diff/route.js +1 -1
  172. package/.next-prod/server/app/api/snapshots/restore/route.js +1 -1
  173. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  174. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  175. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  176. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  177. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  178. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  179. package/.next-prod/server/app/api/terminal/running/route.js +1 -1
  180. package/.next-prod/server/app/api/update/route.js +1 -1
  181. package/.next-prod/server/app/api/update-state/route.js +1 -1
  182. package/.next-prod/server/app/api/version/route.js +1 -1
  183. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  184. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  185. package/.next-prod/server/app/m/page.js +1 -1
  186. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  187. package/.next-prod/server/app/manifest.webmanifest/route.js +1 -1
  188. package/.next-prod/server/app/page.js +1 -1
  189. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  190. package/.next-prod/server/app/project/page.js +1 -1
  191. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  192. package/.next-prod/server/app-paths-manifest.json +4 -2
  193. package/.next-prod/server/chunks/4949.js +1 -1
  194. package/.next-prod/server/chunks/6610.js +11 -11
  195. package/.next-prod/server/middleware-build-manifest.js +1 -1
  196. package/.next-prod/server/pages/500.html +1 -1
  197. package/.next-prod/server/server-reference-manifest.json +1 -1
  198. package/.next-prod/static/Dj5ykXLzxdIQZcSyjppsm/_buildManifest.js +1 -0
  199. package/.next-prod/static/chunks/{92000-31efb4d63c10446f.js → 60169-2e401ccea5e39a00.js} +21 -21
  200. package/.next-prod/static/chunks/{98596-ffbe0304646a9336.js → 98596-43e9fe35436097c6.js} +6 -6
  201. package/.next-prod/static/chunks/app/_global-error/{page-6af5bc188af96106.js → page-b40b02f6a2592427.js} +1 -1
  202. package/.next-prod/static/chunks/app/api/agent/test/{route-6af5bc188af96106.js → route-b40b02f6a2592427.js} +1 -1
  203. package/.next-prod/static/chunks/app/api/bash/{route-6af5bc188af96106.js → route-b40b02f6a2592427.js} +1 -1
  204. package/.next-prod/static/chunks/app/api/bots/[id]/{route-6af5bc188af96106.js → route-b40b02f6a2592427.js} +1 -1
  205. package/.next-prod/static/chunks/app/api/bots/files/route-b40b02f6a2592427.js +1 -0
  206. package/.next-prod/static/chunks/app/api/bots/route-b40b02f6a2592427.js +1 -0
  207. package/.next-prod/static/chunks/app/api/chat/codex/route-b40b02f6a2592427.js +1 -0
  208. package/.next-prod/static/chunks/app/api/chat/deepseek/route-b40b02f6a2592427.js +1 -0
  209. package/.next-prod/static/chunks/app/api/chat/glm/route-b40b02f6a2592427.js +1 -0
  210. package/.next-prod/static/chunks/app/api/chat/grok/route-b40b02f6a2592427.js +1 -0
  211. package/.next-prod/static/chunks/app/api/chat/kimi/route-b40b02f6a2592427.js +1 -0
  212. package/.next-prod/static/chunks/app/api/chat/ollama/route-b40b02f6a2592427.js +1 -0
  213. package/.next-prod/static/chunks/app/api/chat/route-b40b02f6a2592427.js +1 -0
  214. package/.next-prod/static/chunks/app/api/chat/stop/route-b40b02f6a2592427.js +1 -0
  215. package/.next-prod/static/chunks/app/api/claude-stats/route-b40b02f6a2592427.js +1 -0
  216. package/.next-prod/static/chunks/app/api/commands/route-b40b02f6a2592427.js +1 -0
  217. package/.next-prod/static/chunks/app/api/comments/route-b40b02f6a2592427.js +1 -0
  218. package/.next-prod/static/chunks/app/api/db/columns/route-b40b02f6a2592427.js +1 -0
  219. package/.next-prod/static/chunks/app/api/db/connect/route-b40b02f6a2592427.js +1 -0
  220. package/.next-prod/static/chunks/app/api/db/disconnect/route-b40b02f6a2592427.js +1 -0
  221. package/.next-prod/static/chunks/app/api/db/export/route-b40b02f6a2592427.js +1 -0
  222. package/.next-prod/static/chunks/app/api/db/query/route-b40b02f6a2592427.js +1 -0
  223. package/.next-prod/static/chunks/app/api/db/schemas/route-b40b02f6a2592427.js +1 -0
  224. package/.next-prod/static/chunks/app/api/deepseek/balance/route-b40b02f6a2592427.js +1 -0
  225. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-b40b02f6a2592427.js +1 -0
  226. package/.next-prod/static/chunks/app/api/deepseek/models/route-b40b02f6a2592427.js +1 -0
  227. package/.next-prod/static/chunks/app/api/dev/spans/route-b40b02f6a2592427.js +1 -0
  228. package/.next-prod/static/chunks/app/api/extension/version/route-b40b02f6a2592427.js +1 -0
  229. package/.next-prod/static/chunks/app/api/file/route-b40b02f6a2592427.js +1 -0
  230. package/.next-prod/static/chunks/app/api/files/blame/route-b40b02f6a2592427.js +1 -0
  231. package/.next-prod/static/chunks/app/api/files/clipboard/route-b40b02f6a2592427.js +1 -0
  232. package/.next-prod/static/chunks/app/api/files/copy/route-b40b02f6a2592427.js +1 -0
  233. package/.next-prod/static/chunks/app/api/files/delete/route-b40b02f6a2592427.js +1 -0
  234. package/.next-prod/static/chunks/app/api/files/expanded/route-b40b02f6a2592427.js +1 -0
  235. package/.next-prod/static/chunks/app/api/files/index/route-b40b02f6a2592427.js +1 -0
  236. package/.next-prod/static/chunks/app/api/files/init/route-b40b02f6a2592427.js +1 -0
  237. package/.next-prod/static/chunks/app/api/files/paste/route-b40b02f6a2592427.js +1 -0
  238. package/.next-prod/static/chunks/app/api/files/read/route-b40b02f6a2592427.js +1 -0
  239. package/.next-prod/static/chunks/app/api/files/readdir/route-b40b02f6a2592427.js +1 -0
  240. package/.next-prod/static/chunks/app/api/files/recent/route-b40b02f6a2592427.js +1 -0
  241. package/.next-prod/static/chunks/app/api/files/save/route-b40b02f6a2592427.js +1 -0
  242. package/.next-prod/static/chunks/app/api/files/search/route-b40b02f6a2592427.js +1 -0
  243. package/.next-prod/static/chunks/app/api/files/stat/route-b40b02f6a2592427.js +1 -0
  244. package/.next-prod/static/chunks/app/api/files/text/route-b40b02f6a2592427.js +1 -0
  245. package/.next-prod/static/chunks/app/api/fs/dirs/route-b40b02f6a2592427.js +1 -0
  246. package/.next-prod/static/chunks/app/api/git/blob/route-b40b02f6a2592427.js +1 -0
  247. package/.next-prod/static/chunks/app/api/git/branch-diff/route-b40b02f6a2592427.js +1 -0
  248. package/.next-prod/static/chunks/app/api/git/branches/route-b40b02f6a2592427.js +1 -0
  249. package/.next-prod/static/chunks/app/api/git/commit-diff/route-b40b02f6a2592427.js +1 -0
  250. package/.next-prod/static/chunks/app/api/git/commits/route-b40b02f6a2592427.js +1 -0
  251. package/.next-prod/static/chunks/app/api/git/current-branch/route-b40b02f6a2592427.js +1 -0
  252. package/.next-prod/static/chunks/app/api/git/diff/route-b40b02f6a2592427.js +1 -0
  253. package/.next-prod/static/chunks/app/api/git/discard/route-b40b02f6a2592427.js +1 -0
  254. package/.next-prod/static/chunks/app/api/git/stage/route-b40b02f6a2592427.js +1 -0
  255. package/.next-prod/static/chunks/app/api/git/status/route-b40b02f6a2592427.js +1 -0
  256. package/.next-prod/static/chunks/app/api/git/unstage/route-b40b02f6a2592427.js +1 -0
  257. package/.next-prod/static/chunks/app/api/git/worktree/route-b40b02f6a2592427.js +1 -0
  258. package/.next-prod/static/chunks/app/api/glm/credentials/route-b40b02f6a2592427.js +1 -0
  259. package/.next-prod/static/chunks/app/api/glm/models/route-b40b02f6a2592427.js +1 -0
  260. package/.next-prod/static/chunks/app/api/glm/usage/route-b40b02f6a2592427.js +1 -0
  261. package/.next-prod/static/chunks/app/api/global-state/route-b40b02f6a2592427.js +1 -0
  262. package/.next-prod/static/chunks/app/api/grok/models/route-b40b02f6a2592427.js +1 -0
  263. package/.next-prod/static/chunks/app/api/health/route-b40b02f6a2592427.js +1 -0
  264. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-b40b02f6a2592427.js +1 -0
  265. package/.next-prod/static/chunks/app/api/html-apps/files/route-b40b02f6a2592427.js +1 -0
  266. package/.next-prod/static/chunks/app/api/html-apps/route-b40b02f6a2592427.js +1 -0
  267. package/.next-prod/static/chunks/app/api/instructions/config/route-b40b02f6a2592427.js +1 -0
  268. package/.next-prod/static/chunks/app/api/kimi/credentials/route-b40b02f6a2592427.js +1 -0
  269. package/.next-prod/static/chunks/app/api/kimi/models/route-b40b02f6a2592427.js +1 -0
  270. package/.next-prod/static/chunks/app/api/kimi/usage/route-b40b02f6a2592427.js +1 -0
  271. package/.next-prod/static/chunks/app/api/lsp/definition/route-b40b02f6a2592427.js +1 -0
  272. package/.next-prod/static/chunks/app/api/lsp/hover/route-b40b02f6a2592427.js +1 -0
  273. package/.next-prod/static/chunks/app/api/lsp/references/route-b40b02f6a2592427.js +1 -0
  274. package/.next-prod/static/chunks/app/api/lsp/status/route-b40b02f6a2592427.js +1 -0
  275. package/.next-prod/static/chunks/app/api/lsp/warmup/route-b40b02f6a2592427.js +1 -0
  276. package/.next-prod/static/chunks/app/api/mobile-link/route-b40b02f6a2592427.js +1 -0
  277. package/.next-prod/static/chunks/app/api/mysql/columns/route-b40b02f6a2592427.js +1 -0
  278. package/.next-prod/static/chunks/app/api/mysql/connect/route-b40b02f6a2592427.js +1 -0
  279. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-b40b02f6a2592427.js +1 -0
  280. package/.next-prod/static/chunks/app/api/mysql/export/route-b40b02f6a2592427.js +1 -0
  281. package/.next-prod/static/chunks/app/api/mysql/query/route-b40b02f6a2592427.js +1 -0
  282. package/.next-prod/static/chunks/app/api/mysql/schemas/route-b40b02f6a2592427.js +1 -0
  283. package/.next-prod/static/chunks/app/api/neo4j/connect/route-b40b02f6a2592427.js +1 -0
  284. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-b40b02f6a2592427.js +1 -0
  285. package/.next-prod/static/chunks/app/api/neo4j/query/route-b40b02f6a2592427.js +1 -0
  286. package/.next-prod/static/chunks/app/api/neo4j/schema/route-b40b02f6a2592427.js +1 -0
  287. package/.next-prod/static/chunks/app/api/note/list/route-b40b02f6a2592427.js +1 -0
  288. package/.next-prod/static/chunks/app/api/note/route-b40b02f6a2592427.js +1 -0
  289. package/.next-prod/static/chunks/app/api/ollama/config/route-b40b02f6a2592427.js +1 -0
  290. package/.next-prod/static/chunks/app/api/ollama/default-model/route-b40b02f6a2592427.js +1 -0
  291. package/.next-prod/static/chunks/app/api/ollama/models/route-b40b02f6a2592427.js +1 -0
  292. package/.next-prod/static/chunks/app/api/ollama/start/route-b40b02f6a2592427.js +1 -0
  293. package/.next-prod/static/chunks/app/api/open-cursor/route-b40b02f6a2592427.js +1 -0
  294. package/.next-prod/static/chunks/app/api/open-vscode/route-b40b02f6a2592427.js +1 -0
  295. package/.next-prod/static/chunks/app/api/pi/thinking/route-b40b02f6a2592427.js +1 -0
  296. package/.next-prod/static/chunks/app/api/pinned-sessions/route-b40b02f6a2592427.js +1 -0
  297. package/.next-prod/static/chunks/app/api/project-settings/route-b40b02f6a2592427.js +1 -0
  298. package/.next-prod/static/chunks/app/api/project-state/route-b40b02f6a2592427.js +1 -0
  299. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-b40b02f6a2592427.js +1 -0
  300. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-b40b02f6a2592427.js +1 -0
  301. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-b40b02f6a2592427.js +1 -0
  302. package/.next-prod/static/chunks/app/api/projectGraph/clones/route-b40b02f6a2592427.js +1 -0
  303. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-b40b02f6a2592427.js +1 -0
  304. package/.next-prod/static/chunks/app/api/projectGraph/crap/route-b40b02f6a2592427.js +1 -0
  305. package/.next-prod/static/chunks/app/api/projectGraph/edges/route-b40b02f6a2592427.js +1 -0
  306. package/.next-prod/static/chunks/app/api/projectGraph/file/route-b40b02f6a2592427.js +1 -0
  307. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-b40b02f6a2592427.js +1 -0
  308. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-b40b02f6a2592427.js +1 -0
  309. package/.next-prod/static/chunks/app/api/projectGraph/maps/route-b40b02f6a2592427.js +1 -0
  310. package/.next-prod/static/chunks/app/api/projectGraph/related/route-b40b02f6a2592427.js +1 -0
  311. package/.next-prod/static/chunks/app/api/projectGraph/search/route-b40b02f6a2592427.js +1 -0
  312. package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-b40b02f6a2592427.js +1 -0
  313. package/.next-prod/static/chunks/app/api/projects/route-b40b02f6a2592427.js +1 -0
  314. package/.next-prod/static/chunks/app/api/push/public-key/route-b40b02f6a2592427.js +1 -0
  315. package/.next-prod/static/chunks/app/api/push/subscribe/route-b40b02f6a2592427.js +1 -0
  316. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-b40b02f6a2592427.js +1 -0
  317. package/.next-prod/static/chunks/app/api/redis/command/route-b40b02f6a2592427.js +1 -0
  318. package/.next-prod/static/chunks/app/api/redis/connect/route-b40b02f6a2592427.js +1 -0
  319. package/.next-prod/static/chunks/app/api/redis/delete/route-b40b02f6a2592427.js +1 -0
  320. package/.next-prod/static/chunks/app/api/redis/disconnect/route-b40b02f6a2592427.js +1 -0
  321. package/.next-prod/static/chunks/app/api/redis/get/route-b40b02f6a2592427.js +1 -0
  322. package/.next-prod/static/chunks/app/api/redis/keys/route-b40b02f6a2592427.js +1 -0
  323. package/.next-prod/static/chunks/app/api/redis/set/route-b40b02f6a2592427.js +1 -0
  324. package/.next-prod/static/chunks/app/api/restart/route-b40b02f6a2592427.js +1 -0
  325. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-b40b02f6a2592427.js +1 -0
  326. package/.next-prod/static/chunks/app/api/services/config/route-b40b02f6a2592427.js +1 -0
  327. package/.next-prod/static/chunks/app/api/services/scripts/route-b40b02f6a2592427.js +1 -0
  328. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-b40b02f6a2592427.js +1 -0
  329. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-b40b02f6a2592427.js +1 -0
  330. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-b40b02f6a2592427.js +1 -0
  331. package/.next-prod/static/chunks/app/api/session/image/route-b40b02f6a2592427.js +1 -0
  332. package/.next-prod/static/chunks/app/api/session/user-messages/route-b40b02f6a2592427.js +1 -0
  333. package/.next-prod/static/chunks/app/api/session-bots/route-b40b02f6a2592427.js +1 -0
  334. package/.next-prod/static/chunks/app/api/session-by-path/route-b40b02f6a2592427.js +1 -0
  335. package/.next-prod/static/chunks/app/api/session-context/route-b40b02f6a2592427.js +1 -0
  336. package/.next-prod/static/chunks/app/api/session-title/route-b40b02f6a2592427.js +1 -0
  337. package/.next-prod/static/chunks/app/api/session-title/suggest/route-b40b02f6a2592427.js +1 -0
  338. package/.next-prod/static/chunks/app/api/sessions/delegate/route-b40b02f6a2592427.js +1 -0
  339. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-b40b02f6a2592427.js +1 -0
  340. package/.next-prod/static/chunks/app/api/sessions/projects/route-b40b02f6a2592427.js +1 -0
  341. package/.next-prod/static/chunks/app/api/sessions/search/route-b40b02f6a2592427.js +1 -0
  342. package/.next-prod/static/chunks/app/api/sessions/status/route-b40b02f6a2592427.js +1 -0
  343. package/.next-prod/static/chunks/app/api/settings/route-b40b02f6a2592427.js +1 -0
  344. package/.next-prod/static/chunks/app/api/shutdown/route-b40b02f6a2592427.js +1 -0
  345. package/.next-prod/static/chunks/app/api/skills/[id]/route-b40b02f6a2592427.js +1 -0
  346. package/.next-prod/static/chunks/app/api/skills/builtin/route-b40b02f6a2592427.js +1 -0
  347. package/.next-prod/static/chunks/app/api/skills/content/route-b40b02f6a2592427.js +1 -0
  348. package/.next-prod/static/chunks/app/api/skills/files/route-b40b02f6a2592427.js +1 -0
  349. package/.next-prod/static/chunks/app/api/skills/route-b40b02f6a2592427.js +1 -0
  350. package/.next-prod/static/chunks/app/api/snapshots/blob/route-b40b02f6a2592427.js +1 -0
  351. package/.next-prod/static/chunks/app/api/snapshots/diff/route-b40b02f6a2592427.js +1 -0
  352. package/.next-prod/static/chunks/app/api/snapshots/mark/route-b40b02f6a2592427.js +1 -0
  353. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-b40b02f6a2592427.js +1 -0
  354. package/.next-prod/static/chunks/app/api/snapshots/restore/route-b40b02f6a2592427.js +1 -0
  355. package/.next-prod/static/chunks/app/api/snapshots/route-b40b02f6a2592427.js +1 -0
  356. package/.next-prod/static/chunks/app/api/terminal/aliases/route-b40b02f6a2592427.js +1 -0
  357. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-b40b02f6a2592427.js +1 -0
  358. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-b40b02f6a2592427.js +1 -0
  359. package/.next-prod/static/chunks/app/api/terminal/env/route-b40b02f6a2592427.js +1 -0
  360. package/.next-prod/static/chunks/app/api/terminal/history/route-b40b02f6a2592427.js +1 -0
  361. package/.next-prod/static/chunks/app/api/terminal/running/route-b40b02f6a2592427.js +1 -0
  362. package/.next-prod/static/chunks/app/api/update/route-b40b02f6a2592427.js +1 -0
  363. package/.next-prod/static/chunks/app/api/update-state/route-b40b02f6a2592427.js +1 -0
  364. package/.next-prod/static/chunks/app/api/version/route-b40b02f6a2592427.js +1 -0
  365. package/.next-prod/static/chunks/app/apps/[...path]/route-b40b02f6a2592427.js +1 -0
  366. package/.next-prod/static/chunks/app/{layout-7107ed4eeac1f693.js → layout-a568d04e8d2707c3.js} +1 -1
  367. package/.next-prod/static/chunks/app/manifest.webmanifest/route-b40b02f6a2592427.js +1 -0
  368. package/.next-prod/static/chunks/app/{page-338a2c84319778b1.js → page-6675d44ff6c5ebc6.js} +1 -1
  369. package/.next-prod/static/chunks/app/project/{page-338a2c84319778b1.js → page-6675d44ff6c5ebc6.js} +1 -1
  370. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-b40b02f6a2592427.js +1 -0
  371. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-b40b02f6a2592427.js +1 -0
  372. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-b40b02f6a2592427.js +1 -0
  373. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-b40b02f6a2592427.js +1 -0
  374. package/.next-prod/trace +86 -86
  375. package/.next-prod/trace-build +1 -1
  376. package/.next-prod/types/app/api/projectGraph/clones/route.ts +353 -0
  377. package/.next-prod/types/app/api/projectGraph/crap/route.ts +353 -0
  378. package/.next-prod/types/routes.d.ts +3 -1
  379. package/.next-prod/types/validator.ts +18 -0
  380. package/README.md +1 -1
  381. package/README.zh.md +1 -1
  382. package/bin/cock-codegraph.mjs +111 -27
  383. package/bin/cockpit.mjs +1 -1
  384. package/bin/managed-npm-updater.mjs +0 -1
  385. package/desktop-checksums.json +4 -4
  386. package/dist/scheduledTasks.mjs +22 -10
  387. package/dist/wsServer.mjs +899 -160
  388. package/package.json +1 -1
  389. package/scripts/copy-tree-sitter-wasms.mjs +2 -2
  390. package/skills/ar/SKILL.md +293 -0
  391. package/skills/ar/boundary.md +48 -0
  392. package/skills/ar/evolution.md +38 -0
  393. package/skills/ar/legibility.md +52 -0
  394. package/skills/ar/reviewer.md +261 -0
  395. package/skills/ar/structure.md +38 -0
  396. package/skills/cg/SKILL.md +85 -14
  397. package/skills/cr/SKILL.md +62 -293
  398. package/skills/cr/reviewer.md +303 -0
  399. package/skills/rf/SKILL.md +6 -5
  400. package/skills/rf/axes.md +24 -2
  401. package/skills/rf/fix.md +58 -10
  402. package/skills/rf/lenses.md +27 -6
  403. package/skills/rf/sources.md +86 -24
  404. package/.next-prod/static/IlC_BH61CJ0hFaOu_akE9/_buildManifest.js +0 -1
  405. package/.next-prod/static/chunks/app/api/bots/files/route-6af5bc188af96106.js +0 -1
  406. package/.next-prod/static/chunks/app/api/bots/route-6af5bc188af96106.js +0 -1
  407. package/.next-prod/static/chunks/app/api/chat/codex/route-6af5bc188af96106.js +0 -1
  408. package/.next-prod/static/chunks/app/api/chat/deepseek/route-6af5bc188af96106.js +0 -1
  409. package/.next-prod/static/chunks/app/api/chat/glm/route-6af5bc188af96106.js +0 -1
  410. package/.next-prod/static/chunks/app/api/chat/grok/route-6af5bc188af96106.js +0 -1
  411. package/.next-prod/static/chunks/app/api/chat/kimi/route-6af5bc188af96106.js +0 -1
  412. package/.next-prod/static/chunks/app/api/chat/ollama/route-6af5bc188af96106.js +0 -1
  413. package/.next-prod/static/chunks/app/api/chat/route-6af5bc188af96106.js +0 -1
  414. package/.next-prod/static/chunks/app/api/chat/stop/route-6af5bc188af96106.js +0 -1
  415. package/.next-prod/static/chunks/app/api/claude-stats/route-6af5bc188af96106.js +0 -1
  416. package/.next-prod/static/chunks/app/api/commands/route-6af5bc188af96106.js +0 -1
  417. package/.next-prod/static/chunks/app/api/comments/route-6af5bc188af96106.js +0 -1
  418. package/.next-prod/static/chunks/app/api/db/columns/route-6af5bc188af96106.js +0 -1
  419. package/.next-prod/static/chunks/app/api/db/connect/route-6af5bc188af96106.js +0 -1
  420. package/.next-prod/static/chunks/app/api/db/disconnect/route-6af5bc188af96106.js +0 -1
  421. package/.next-prod/static/chunks/app/api/db/export/route-6af5bc188af96106.js +0 -1
  422. package/.next-prod/static/chunks/app/api/db/query/route-6af5bc188af96106.js +0 -1
  423. package/.next-prod/static/chunks/app/api/db/schemas/route-6af5bc188af96106.js +0 -1
  424. package/.next-prod/static/chunks/app/api/deepseek/balance/route-6af5bc188af96106.js +0 -1
  425. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6af5bc188af96106.js +0 -1
  426. package/.next-prod/static/chunks/app/api/deepseek/models/route-6af5bc188af96106.js +0 -1
  427. package/.next-prod/static/chunks/app/api/dev/spans/route-6af5bc188af96106.js +0 -1
  428. package/.next-prod/static/chunks/app/api/extension/version/route-6af5bc188af96106.js +0 -1
  429. package/.next-prod/static/chunks/app/api/file/route-6af5bc188af96106.js +0 -1
  430. package/.next-prod/static/chunks/app/api/files/blame/route-6af5bc188af96106.js +0 -1
  431. package/.next-prod/static/chunks/app/api/files/clipboard/route-6af5bc188af96106.js +0 -1
  432. package/.next-prod/static/chunks/app/api/files/copy/route-6af5bc188af96106.js +0 -1
  433. package/.next-prod/static/chunks/app/api/files/delete/route-6af5bc188af96106.js +0 -1
  434. package/.next-prod/static/chunks/app/api/files/expanded/route-6af5bc188af96106.js +0 -1
  435. package/.next-prod/static/chunks/app/api/files/index/route-6af5bc188af96106.js +0 -1
  436. package/.next-prod/static/chunks/app/api/files/init/route-6af5bc188af96106.js +0 -1
  437. package/.next-prod/static/chunks/app/api/files/paste/route-6af5bc188af96106.js +0 -1
  438. package/.next-prod/static/chunks/app/api/files/read/route-6af5bc188af96106.js +0 -1
  439. package/.next-prod/static/chunks/app/api/files/readdir/route-6af5bc188af96106.js +0 -1
  440. package/.next-prod/static/chunks/app/api/files/recent/route-6af5bc188af96106.js +0 -1
  441. package/.next-prod/static/chunks/app/api/files/save/route-6af5bc188af96106.js +0 -1
  442. package/.next-prod/static/chunks/app/api/files/search/route-6af5bc188af96106.js +0 -1
  443. package/.next-prod/static/chunks/app/api/files/stat/route-6af5bc188af96106.js +0 -1
  444. package/.next-prod/static/chunks/app/api/files/text/route-6af5bc188af96106.js +0 -1
  445. package/.next-prod/static/chunks/app/api/fs/dirs/route-6af5bc188af96106.js +0 -1
  446. package/.next-prod/static/chunks/app/api/git/blob/route-6af5bc188af96106.js +0 -1
  447. package/.next-prod/static/chunks/app/api/git/branch-diff/route-6af5bc188af96106.js +0 -1
  448. package/.next-prod/static/chunks/app/api/git/branches/route-6af5bc188af96106.js +0 -1
  449. package/.next-prod/static/chunks/app/api/git/commit-diff/route-6af5bc188af96106.js +0 -1
  450. package/.next-prod/static/chunks/app/api/git/commits/route-6af5bc188af96106.js +0 -1
  451. package/.next-prod/static/chunks/app/api/git/current-branch/route-6af5bc188af96106.js +0 -1
  452. package/.next-prod/static/chunks/app/api/git/diff/route-6af5bc188af96106.js +0 -1
  453. package/.next-prod/static/chunks/app/api/git/discard/route-6af5bc188af96106.js +0 -1
  454. package/.next-prod/static/chunks/app/api/git/stage/route-6af5bc188af96106.js +0 -1
  455. package/.next-prod/static/chunks/app/api/git/status/route-6af5bc188af96106.js +0 -1
  456. package/.next-prod/static/chunks/app/api/git/unstage/route-6af5bc188af96106.js +0 -1
  457. package/.next-prod/static/chunks/app/api/git/worktree/route-6af5bc188af96106.js +0 -1
  458. package/.next-prod/static/chunks/app/api/glm/credentials/route-6af5bc188af96106.js +0 -1
  459. package/.next-prod/static/chunks/app/api/glm/models/route-6af5bc188af96106.js +0 -1
  460. package/.next-prod/static/chunks/app/api/glm/usage/route-6af5bc188af96106.js +0 -1
  461. package/.next-prod/static/chunks/app/api/global-state/route-6af5bc188af96106.js +0 -1
  462. package/.next-prod/static/chunks/app/api/grok/models/route-6af5bc188af96106.js +0 -1
  463. package/.next-prod/static/chunks/app/api/health/route-6af5bc188af96106.js +0 -1
  464. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6af5bc188af96106.js +0 -1
  465. package/.next-prod/static/chunks/app/api/html-apps/files/route-6af5bc188af96106.js +0 -1
  466. package/.next-prod/static/chunks/app/api/html-apps/route-6af5bc188af96106.js +0 -1
  467. package/.next-prod/static/chunks/app/api/instructions/config/route-6af5bc188af96106.js +0 -1
  468. package/.next-prod/static/chunks/app/api/kimi/credentials/route-6af5bc188af96106.js +0 -1
  469. package/.next-prod/static/chunks/app/api/kimi/models/route-6af5bc188af96106.js +0 -1
  470. package/.next-prod/static/chunks/app/api/kimi/usage/route-6af5bc188af96106.js +0 -1
  471. package/.next-prod/static/chunks/app/api/lsp/definition/route-6af5bc188af96106.js +0 -1
  472. package/.next-prod/static/chunks/app/api/lsp/hover/route-6af5bc188af96106.js +0 -1
  473. package/.next-prod/static/chunks/app/api/lsp/references/route-6af5bc188af96106.js +0 -1
  474. package/.next-prod/static/chunks/app/api/lsp/status/route-6af5bc188af96106.js +0 -1
  475. package/.next-prod/static/chunks/app/api/lsp/warmup/route-6af5bc188af96106.js +0 -1
  476. package/.next-prod/static/chunks/app/api/mobile-link/route-6af5bc188af96106.js +0 -1
  477. package/.next-prod/static/chunks/app/api/mysql/columns/route-6af5bc188af96106.js +0 -1
  478. package/.next-prod/static/chunks/app/api/mysql/connect/route-6af5bc188af96106.js +0 -1
  479. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6af5bc188af96106.js +0 -1
  480. package/.next-prod/static/chunks/app/api/mysql/export/route-6af5bc188af96106.js +0 -1
  481. package/.next-prod/static/chunks/app/api/mysql/query/route-6af5bc188af96106.js +0 -1
  482. package/.next-prod/static/chunks/app/api/mysql/schemas/route-6af5bc188af96106.js +0 -1
  483. package/.next-prod/static/chunks/app/api/neo4j/connect/route-6af5bc188af96106.js +0 -1
  484. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6af5bc188af96106.js +0 -1
  485. package/.next-prod/static/chunks/app/api/neo4j/query/route-6af5bc188af96106.js +0 -1
  486. package/.next-prod/static/chunks/app/api/neo4j/schema/route-6af5bc188af96106.js +0 -1
  487. package/.next-prod/static/chunks/app/api/note/list/route-6af5bc188af96106.js +0 -1
  488. package/.next-prod/static/chunks/app/api/note/route-6af5bc188af96106.js +0 -1
  489. package/.next-prod/static/chunks/app/api/ollama/config/route-6af5bc188af96106.js +0 -1
  490. package/.next-prod/static/chunks/app/api/ollama/default-model/route-6af5bc188af96106.js +0 -1
  491. package/.next-prod/static/chunks/app/api/ollama/models/route-6af5bc188af96106.js +0 -1
  492. package/.next-prod/static/chunks/app/api/ollama/start/route-6af5bc188af96106.js +0 -1
  493. package/.next-prod/static/chunks/app/api/open-cursor/route-6af5bc188af96106.js +0 -1
  494. package/.next-prod/static/chunks/app/api/open-vscode/route-6af5bc188af96106.js +0 -1
  495. package/.next-prod/static/chunks/app/api/pi/thinking/route-6af5bc188af96106.js +0 -1
  496. package/.next-prod/static/chunks/app/api/pinned-sessions/route-6af5bc188af96106.js +0 -1
  497. package/.next-prod/static/chunks/app/api/project-settings/route-6af5bc188af96106.js +0 -1
  498. package/.next-prod/static/chunks/app/api/project-state/route-6af5bc188af96106.js +0 -1
  499. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6af5bc188af96106.js +0 -1
  500. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6af5bc188af96106.js +0 -1
  501. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6af5bc188af96106.js +0 -1
  502. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6af5bc188af96106.js +0 -1
  503. package/.next-prod/static/chunks/app/api/projectGraph/edges/route-6af5bc188af96106.js +0 -1
  504. package/.next-prod/static/chunks/app/api/projectGraph/file/route-6af5bc188af96106.js +0 -1
  505. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6af5bc188af96106.js +0 -1
  506. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6af5bc188af96106.js +0 -1
  507. package/.next-prod/static/chunks/app/api/projectGraph/maps/route-6af5bc188af96106.js +0 -1
  508. package/.next-prod/static/chunks/app/api/projectGraph/related/route-6af5bc188af96106.js +0 -1
  509. package/.next-prod/static/chunks/app/api/projectGraph/search/route-6af5bc188af96106.js +0 -1
  510. package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-6af5bc188af96106.js +0 -1
  511. package/.next-prod/static/chunks/app/api/projects/route-6af5bc188af96106.js +0 -1
  512. package/.next-prod/static/chunks/app/api/push/public-key/route-6af5bc188af96106.js +0 -1
  513. package/.next-prod/static/chunks/app/api/push/subscribe/route-6af5bc188af96106.js +0 -1
  514. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6af5bc188af96106.js +0 -1
  515. package/.next-prod/static/chunks/app/api/redis/command/route-6af5bc188af96106.js +0 -1
  516. package/.next-prod/static/chunks/app/api/redis/connect/route-6af5bc188af96106.js +0 -1
  517. package/.next-prod/static/chunks/app/api/redis/delete/route-6af5bc188af96106.js +0 -1
  518. package/.next-prod/static/chunks/app/api/redis/disconnect/route-6af5bc188af96106.js +0 -1
  519. package/.next-prod/static/chunks/app/api/redis/get/route-6af5bc188af96106.js +0 -1
  520. package/.next-prod/static/chunks/app/api/redis/keys/route-6af5bc188af96106.js +0 -1
  521. package/.next-prod/static/chunks/app/api/redis/set/route-6af5bc188af96106.js +0 -1
  522. package/.next-prod/static/chunks/app/api/restart/route-6af5bc188af96106.js +0 -1
  523. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6af5bc188af96106.js +0 -1
  524. package/.next-prod/static/chunks/app/api/services/config/route-6af5bc188af96106.js +0 -1
  525. package/.next-prod/static/chunks/app/api/services/scripts/route-6af5bc188af96106.js +0 -1
  526. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6af5bc188af96106.js +0 -1
  527. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6af5bc188af96106.js +0 -1
  528. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6af5bc188af96106.js +0 -1
  529. package/.next-prod/static/chunks/app/api/session/image/route-6af5bc188af96106.js +0 -1
  530. package/.next-prod/static/chunks/app/api/session/user-messages/route-6af5bc188af96106.js +0 -1
  531. package/.next-prod/static/chunks/app/api/session-bots/route-6af5bc188af96106.js +0 -1
  532. package/.next-prod/static/chunks/app/api/session-by-path/route-6af5bc188af96106.js +0 -1
  533. package/.next-prod/static/chunks/app/api/session-context/route-6af5bc188af96106.js +0 -1
  534. package/.next-prod/static/chunks/app/api/session-title/route-6af5bc188af96106.js +0 -1
  535. package/.next-prod/static/chunks/app/api/session-title/suggest/route-6af5bc188af96106.js +0 -1
  536. package/.next-prod/static/chunks/app/api/sessions/delegate/route-6af5bc188af96106.js +0 -1
  537. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6af5bc188af96106.js +0 -1
  538. package/.next-prod/static/chunks/app/api/sessions/projects/route-6af5bc188af96106.js +0 -1
  539. package/.next-prod/static/chunks/app/api/sessions/search/route-6af5bc188af96106.js +0 -1
  540. package/.next-prod/static/chunks/app/api/sessions/status/route-6af5bc188af96106.js +0 -1
  541. package/.next-prod/static/chunks/app/api/settings/route-6af5bc188af96106.js +0 -1
  542. package/.next-prod/static/chunks/app/api/shutdown/route-6af5bc188af96106.js +0 -1
  543. package/.next-prod/static/chunks/app/api/skills/[id]/route-6af5bc188af96106.js +0 -1
  544. package/.next-prod/static/chunks/app/api/skills/builtin/route-6af5bc188af96106.js +0 -1
  545. package/.next-prod/static/chunks/app/api/skills/content/route-6af5bc188af96106.js +0 -1
  546. package/.next-prod/static/chunks/app/api/skills/files/route-6af5bc188af96106.js +0 -1
  547. package/.next-prod/static/chunks/app/api/skills/route-6af5bc188af96106.js +0 -1
  548. package/.next-prod/static/chunks/app/api/snapshots/blob/route-6af5bc188af96106.js +0 -1
  549. package/.next-prod/static/chunks/app/api/snapshots/diff/route-6af5bc188af96106.js +0 -1
  550. package/.next-prod/static/chunks/app/api/snapshots/mark/route-6af5bc188af96106.js +0 -1
  551. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6af5bc188af96106.js +0 -1
  552. package/.next-prod/static/chunks/app/api/snapshots/restore/route-6af5bc188af96106.js +0 -1
  553. package/.next-prod/static/chunks/app/api/snapshots/route-6af5bc188af96106.js +0 -1
  554. package/.next-prod/static/chunks/app/api/terminal/aliases/route-6af5bc188af96106.js +0 -1
  555. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6af5bc188af96106.js +0 -1
  556. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6af5bc188af96106.js +0 -1
  557. package/.next-prod/static/chunks/app/api/terminal/env/route-6af5bc188af96106.js +0 -1
  558. package/.next-prod/static/chunks/app/api/terminal/history/route-6af5bc188af96106.js +0 -1
  559. package/.next-prod/static/chunks/app/api/terminal/running/route-6af5bc188af96106.js +0 -1
  560. package/.next-prod/static/chunks/app/api/update/route-6af5bc188af96106.js +0 -1
  561. package/.next-prod/static/chunks/app/api/update-state/route-6af5bc188af96106.js +0 -1
  562. package/.next-prod/static/chunks/app/api/version/route-6af5bc188af96106.js +0 -1
  563. package/.next-prod/static/chunks/app/apps/[...path]/route-6af5bc188af96106.js +0 -1
  564. package/.next-prod/static/chunks/app/manifest.webmanifest/route-6af5bc188af96106.js +0 -1
  565. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6af5bc188af96106.js +0 -1
  566. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6af5bc188af96106.js +0 -1
  567. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6af5bc188af96106.js +0 -1
  568. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6af5bc188af96106.js +0 -1
  569. /package/.next-prod/static/{IlC_BH61CJ0hFaOu_akE9 → Dj5ykXLzxdIQZcSyjppsm}/_ssgManifest.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surething/cockpit",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "OpenCockpit — the open Claude Code GUI for any LLM (Claude, Codex, Grok, DeepSeek, GLM, Kimi, Ollama). Cockpit IDE: parallel projects, terminal, browser & DB bubbles, code review. Self-host, local-first, MIT.",
5
5
  "author": "Robert",
6
6
  "license": "MIT",
@@ -25,7 +25,7 @@
25
25
  * warn "missing source" on every single build.
26
26
  *
27
27
  * Both lists MUST stay in sync with `SUPPORTED_GRAMMARS` in
28
- * `packages/feature/explorer/src/server/codeMap/languageMap.ts`.
28
+ * `packages/feature/explorer/src/common/syntax/languageMap.ts`.
29
29
  *
30
30
  * Behaviour:
31
31
  * - Idempotent: skips files that already match by size + mtime.
@@ -42,7 +42,7 @@ const SCRIPT_DIR = dirname(fileURLToPath(import.meta.url));
42
42
  const SCRIPT_PROJECT_ROOT = join(SCRIPT_DIR, '..');
43
43
 
44
44
  // Keep both lists aligned with SUPPORTED_GRAMMARS in
45
- // packages/feature/explorer/src/server/codeMap/languageMap.ts.
45
+ // packages/feature/explorer/src/common/syntax/languageMap.ts.
46
46
  /** Copied out of @vscode/tree-sitter-wasm on every build. */
47
47
  const GRAMMARS = ['typescript', 'tsx', 'javascript', 'python', 'go', 'rust'];
48
48
  /** Committed binaries — no upstream source to copy from. See header. */
@@ -0,0 +1,293 @@
1
+ ---
2
+ name: ar
3
+ description: "Architecture review of a change: does it leave the repo easier or harder to change next time? Four non-overlapping dimensions — boundary (what changes together lives together), structure (decisions cheap to verify), evolution (contracts never break in place), legibility (the structure tells a reader where things are and what they do) — each judged by a clean reviewer, every finding traced to whether this change introduced it. Health, not correctness. `audit` for the whole repo, `audit <path / feature>` for one area as it stands."
4
+ argument-hint: "[PR · branch · commit | audit [<path / feature>] | new]"
5
+ ---
6
+
7
+ # ar — Architecture Review
8
+
9
+ Architecture debt never turns a test red, so line-by-line review and tools both miss it. It
10
+ lives in four things that rot slowly: **where boundaries are drawn, where code is placed, how
11
+ contracts are changed, whether a newcomer can still read the structure**. ar asks one question — **is the next change cheaper or more
12
+ expensive?** Whether the code is *correct* is not ar's question.
13
+
14
+ ## Four dimensions
15
+
16
+ | Dimension | Invariant |
17
+ |---|---|
18
+ | **Boundary** | what changes together lives together |
19
+ | **Structure** | decisions are cheap to verify |
20
+ | **Evolution** | contracts never break in place |
21
+ | **Legibility** | the structure tells a reader where things are and what they do |
22
+
23
+ They are the four orthogonal axes of change cost — space, verification, coordination,
24
+ understanding. The
25
+ first principle, the admission gate and every judgement live in `reviewer.md`; this file is the
26
+ main session's: it picks the mode, dispatches, gates and assembles, and never judges.
27
+
28
+ ## Principles (reason from these when no rule fits)
29
+
30
+ - **P1 The clean reviewer is the ordinary maintainer** — every judgement runs in a clean
31
+ subagent that sees only the brief and these files. Where it struggles to read, the real
32
+ maintainer will be bitten. The author's rationale ("this place is special") never reaches it;
33
+ the main session never judges, filters, or steers.
34
+ - **P2 Lossless relay** — the main session owns the frame; everything inside a finding is the
35
+ reviewer's own words.
36
+ - **P3 Evidence over intuition** — boundaries on co-change and the import graph, contracts on
37
+ consumers actually found, probability on measured churn. "Looks coupled", "nobody uses
38
+ that", "changes often" are leads.
39
+ - **P4 Answer the mode's question** — a change review says which way *this change* moved the
40
+ architecture and never bills it for debt it didn't touch; an audit says how healthy the
41
+ scope is as it stands (§1).
42
+
43
+ ## Files
44
+
45
+ | File (under `{{COCKPIT_DIR}}/skills/ar/`) | Holds | Who opens it |
46
+ |---|---|---|
47
+ | `SKILL.md` | principles, modes, orchestration, report gate, fix plan | the main session only |
48
+ | `reviewer.md` | first principle, admission gate, instantiation, sources (cg / git / grep), finding semantics, map, output format, format gate | every reviewer; the main session for "Output" and "Format gate" when gating |
49
+ | `boundary.md` · `structure.md` · `evolution.md` · `legibility.md` | one dimension's method | the reviewer of that dimension; an `all` reviewer opens each fired one |
50
+
51
+ A reviewer that skips its dimension file reviews with no method and its findings fail the
52
+ gate. Running a file from memory of this table is not running it — open it.
53
+
54
+ **Where a rule goes.** Anything a reviewer emits or is checked against — method, finding
55
+ semantics, output format, the format gate, what to do with a malformed brief — lives in the
56
+ reviewer files. `SKILL.md` holds only what the main session does: pick the mode, dispatch,
57
+ assemble, plan fixes. A reviewer rule placed here is a rule no reviewer reads.
58
+
59
+ Reviewers are pointed at `reviewer.md`, never at this file: its templates (especially the fix
60
+ plan) are the main session's, and a reviewer that reads them emits them.
61
+
62
+ > **A reviewer who landed here anyway:** close this file, open `reviewer.md` and your dimension
63
+ > file(s). Don't spawn further subagents.
64
+
65
+ ---
66
+
67
+ ## 1. Modes — the only place they differ
68
+
69
+ Every rule below that depends on the mode reads this table; nothing else branches on it.
70
+
71
+ | | **change** (default) | **area audit** `audit <path / feature>` | **repo audit** `audit` |
72
+ |---|---|---|---|
73
+ | Question | which way did this change move it | how healthy is this area | how healthy is the repo |
74
+ | Range | `git diff <merge-base>` + untracked | the area's paths (findings live here); what they import and what imports them is evidence only | the whole working tree |
75
+ | Triage (§2.1) | yes | no — all four fire | no — all four fire |
76
+ | Reviewers | per fired dimension; clearly tiny → 1 × all fired | 4 | 4 |
77
+ | Rounds (§2.2) | per task | per area | per repo |
78
+ | Origin | introduced / worsened / pre-existing | `audit` | `audit` |
79
+ | Outside list | pre-existing debt the change didn't touch | debt located outside the area's paths, neighbours included | none |
80
+ | Registered list (brief) | known residuals of this task | none | none |
81
+ | Verdict counts | introduced + worsened + intent-blocking | all findings | all findings |
82
+ | Co-change | changed files' partners not in the change | the area's hot files' partners outside it | whole-repo matrix |
83
+ | Map | modules the change touches, `+` on new edges | the area's layers, its in / out edges | declared layer stack, violating edges |
84
+ | Fix placement (§4) | this change only if all three conditions hold | separate PRs | separate PRs |
85
+
86
+ A feature name resolves to paths. This is scoping, not judgement — the main session proposes,
87
+ states the paths in the heading, and the user corrects them:
88
+
89
+ ```python
90
+ def audit_area(arg):
91
+ if is_path(arg): return paths(arg) # one or more paths / globs
92
+ leads = dirs_named(arg) + files_named(arg) + rg_files(arg) + cg_search(arg) # cg search
93
+ # is noisy for short names: leads only
94
+ roots = the code directories, routes, CLI and skill the leads agree on, smallest first
95
+ if two readings remain: ask_user("which of these is <arg>?", candidates) # one question
96
+ return roots # heading: "audit <arg> (<roots>)"
97
+ ```
98
+
99
+ The area's paths are a fact about scope, stated in the brief and the heading — not a hint about
100
+ what is wrong.
101
+
102
+ ---
103
+
104
+ ## 2. Main session
105
+
106
+ ```text
107
+ user args ─► mode (§1) ─► triage (change only) ─► brief (§2.3) ─► clean reviewers ∥
108
+ ─► format_gate, bounce to the same reviewer ─► relay by section ─► report (§3) ─► fix plan (§4)
109
+ ```
110
+
111
+ ```python
112
+ def run_ar(target, user_args):
113
+ mode = MODES.pick(user_args) # §1
114
+ scope = mode.range(target) # diff / area paths / repo
115
+ intent = frozen_intent(target, mode) # change: PR text / requirement / commit
116
+ # message, never the dev session's rationale;
117
+ # audit: "audit of <area or repo>"
118
+ task = (mode.task_key(target), intent)
119
+ prev = last_review_heading(conversation, same_task=task)
120
+ round = 1 if prev is None or user_says_new(user_args) else prev.round + 1
121
+ registered = mode.registered() # §1 row; change: the residuals this task
122
+ # registered (fix-plan outside items, PR
123
+ # residual list), one line each, no rationale
124
+
125
+ fired = triage(scope) if mode.triage else ALL
126
+ if not fired:
127
+ return f"## Architecture review: {task} (round {round})\nNo architectural impact: <why>"
128
+ reviewers = mode.reviewers(fired, scope) # §1 row "Reviewers"
129
+
130
+ brief = BRIEF.fill(mode, scope, round, intent, registered)
131
+ assert dispatch_check(brief, round)
132
+ mapper = first fired of (boundary, structure, evolution, legibility) # draws the map
133
+ reports = parallel(spawn_clean(brief.with_scope(r, draws_map=(mapper in r.dimensions)))
134
+ for r in reviewers)
135
+ for r in reports:
136
+ while (errors := format_gate(r)): # reviewer.md "Format gate"
137
+ r = ask_same_reviewer(r, "fit your own findings to the format", errors)
138
+ # a bounce changes form only; a content change (a number, a rating) must be
139
+ # stated in the re-emitted report, never slipped in
140
+ return assemble(reports, mode)
141
+
142
+ def assemble(reports, mode):
143
+ # Reviewer text is relayed VERBATIM, one section per dimension, in the order boundary,
144
+ # structure, evolution, legibility (an `all` reviewer's report is split at its own dimension
145
+ # lines). Findings are already numbered by their reviewer — B1.., S1.., E1.., L1.. — so nothing is merged,
146
+ # renumbered, de-duplicated, trimmed or re-worded. One spot seen on several axes stays as
147
+ # several findings: each axis says something different about it, and the fix plan (§4) is
148
+ # where one root cause becomes one group.
149
+ # The main session writes only, each marked "(main)":
150
+ # - the heading + verdict (§3), with the index when there are > 5 findings;
151
+ # - one cross-reference line: ids whose first Evidence ranges overlap, mechanically —
152
+ # "(main) same spot: B2 ↔ S1, E3 ↔ B4" (omitted when none);
153
+ # - a section heading before each relayed report ("### Boundary", ...);
154
+ # - one total line after the last section;
155
+ # - the fix plan (§4).
156
+ # MAY also: bounce a report through the gate; ask a reviewer for ITS OWN missing detail.
157
+ # MUST NOT: relay findings between reviewers; point a reviewer at a path; downgrade, drop,
158
+ # reclassify; explain a finding away with the dev session's context.
159
+ # Dispute → a FRESH clean subagent re-checks it.
160
+ sections = [Section(dim, r.part(dim)) for dim in (BOUNDARY, STRUCTURE, EVOLUTION, LEGIBILITY)
161
+ for r in reports if dim in r.dimensions]
162
+ xref = overlaps(f for sec in sections for f in sec.findings) # by first Evidence range
163
+ return render(heading_and_verdict(sections, mode), xref, sections,
164
+ "(main) " + recount(sections, mode))
165
+ ```
166
+
167
+ ### 2.1 Triage — change mode, mechanical, from the diff alone
168
+
169
+ The main session decides only *which reviewers to spawn*, from facts a script could check.
170
+
171
+ | Fires | When the diff… |
172
+ |---|---|
173
+ | **Boundary** | touches ≥ 2 top-level modules, adds an import across modules, adds a module or a file at a module root, or adds a type / constant to a shared file |
174
+ | **Structure** | adds or changes branching in code with `await` / callbacks / threads / I/O, or adds code to a persistence / transport layer |
175
+ | **Evolution** | touches a contract surface: migrations / schema, event or queue payloads, cross-process types, public API routes, persisted enums / ids / config keys, telemetry definitions |
176
+ | **Legibility** | adds, moves or renames a module, directory, file or export; changes a public signature; adds a layer of indirection (factory, registry, re-export, event hop); touches architecture docs |
177
+
178
+ None fires (copy, rename proven complete by grep, tests or docs only) → "no architectural
179
+ impact". Unsure → it fires.
180
+
181
+ ### 2.2 Rounds
182
+
183
+ Every round reviews the whole range, not the increment — one pass misses a different few each
184
+ time. Same task (§1 row "Rounds", same intent, work since the last review fixes its findings) →
185
+ next round; another task, a changed intent, or `new` → round 1. Unsure → ask one question. The
186
+ heading carries both: `## Architecture review: <task> (round N)`.
187
+
188
+ ### 2.3 Brief — fill in verbatim, add nothing
189
+
190
+ ```text
191
+ Read and follow {{COCKPIT_DIR}}/skills/ar/reviewer.md and, for each dimension in your scope,
192
+ {{COCKPIT_DIR}}/skills/ar/<dimension>.md. You are the clean reviewer.
193
+ Your scope: <boundary | structure | evolution | legibility | all: <fired dimensions>>.
194
+ Map: <you draw it | you don't draw one>.
195
+ Mode: <change | area audit | repo audit> — origin: <§1 row>; outside: <§1 row>;
196
+ co-change: <§1 row>; map: <§1 row>
197
+ Write the report in <user's language>; identifiers and file:line unchanged.
198
+
199
+ ## Under review
200
+ Repo: <abs path> Branch: <name> PR: <url or "none"> Round <N>
201
+ Range: <§1 row "Range", filled in — for an area, its paths>
202
+
203
+ ## Intent (round 1 text, unchanged)
204
+ <PR text / requirement / commit message, or "audit of <area or repo>">
205
+
206
+ ## Already registered — report only if this change makes one worse
207
+ <one line per residual, no rationale; "none">
208
+
209
+ ## Constraints
210
+ Read-only: no edits, commits, pushes, checkouts, stashes, worktrees, installs, PR comments or
211
+ external writes. <environment limits the user stated (e.g. a cg endpoint unavailable), or omit>
212
+ ```
213
+
214
+ Nothing else goes in: no focus areas, no "the author did X because Y", no earlier findings or
215
+ fixes, no paths beyond the range, no restated format. Each hands the reviewer the author's view
216
+ — the one thing it exists to lack (P1). If it seems to need more, the intent is incomplete:
217
+ tell the user instead.
218
+
219
+ ```python
220
+ def dispatch_check(brief, round):
221
+ return all([brief.sections == BRIEF.sections, # nothing added or dropped
222
+ brief.intent == round_1_intent(task), # verbatim
223
+ f"Round {round}" in brief,
224
+ brief.range == mode.range_text(scope)]) # §1, never narrower
225
+ ```
226
+
227
+ ---
228
+
229
+ ## 3. Report and gate
230
+
231
+ ```python
232
+ REPORT = [ # exactly these parts, in this order, nothing else
233
+ "heading+verdict", # "## Architecture review: <task> (round N)" +
234
+ # "<N> findings (🔴a 🟡b ⚪c). Worst: <Consequence verbatim> (<id>)"
235
+ # ties (Worst and index): B, S, E, L in that order, then by number
236
+ # N counts what §1 row "Verdict counts" says, across all sections;
237
+ # > 5 findings → an index, a Markdown list sorted by severity:
238
+ # "- S1 🔴 <Consequence>" (change mode adds the origin after the rating)
239
+ "cross-reference", # "(main) same spot: B2 ↔ S1" — omitted when no ranges overlap
240
+ "sections", # "### Boundary" / "### Structure" / "### Evolution" / "### Legibility", each followed by
241
+ # that reviewer's report verbatim: map (mapper only), findings,
242
+ # outside, coverage — reviewer.md "Output"
243
+ "total", # "(main) <the §1 'Verdict counts' line>" after the last section
244
+ ]
245
+ # blank line before the heading and before and after every code block
246
+ # no impact × probability chart: severity already is that product, findings are sorted by it
247
+ # and churn is on every first line — a chart would restate them
248
+
249
+ # format_gate: reviewer.md "Format gate" — one definition, run by the reviewer before it
250
+ # emits and by the main session on every report.
251
+ ```
252
+
253
+ ---
254
+
255
+ ## 4. Fix plan — appended by the main session
256
+
257
+ The sections are relayed untouched (P2). Then the main session **always appends a fix plan**
258
+ under its own heading, built only from the findings' Evidence / Fix lines — no new analysis, no
259
+ re-rating. This is where findings merge: one root cause seen by several reviewers (often what
260
+ the cross-reference already pairs) becomes one group listing every id:
261
+
262
+ ````
263
+ ---
264
+ ## Fix plan (main session — not a review finding)
265
+ ```text
266
+ ① <root cause, one line> B2 S1 E3
267
+ fix <target shape> · ~<lines, or ? when no finding line gives a size> · touches: <modules>
268
+ when this PR | separate PR (why)
269
+ ```
270
+ ★ Recommended: <what goes where, in what order; what is only registered>
271
+ Reply with a plain yes in your language to apply it, or name groups (①②) / findings (S1).
272
+ ````
273
+
274
+ ```python
275
+ def plan_fixes(report, mode):
276
+ for item in report.outside: register(item) # fixed here only if the user names it
277
+ for g in group_by_root_cause(all findings of all sections): # main's own analysis, so
278
+ # labelled as the main's
279
+ if mode != "change": g.when = "separate PR"; continue # §1 row "Fix placement"
280
+ # in THIS change only if all hold — architecture fixes tend to grow:
281
+ # 1. the cost lives in code this change wrote, not old shared code
282
+ # 2. no new mechanism (descriptor table, hook, module, event version) and no module
283
+ # the diff didn't touch
284
+ # 3. cheaper now than later (a contract not yet released, a copy not yet spread)
285
+ g.when = "this PR" if all_three(g) else "separate PR" # the user decides
286
+ if mode == "change" and no introduced/worsened 🔴 remains:
287
+ recommend("architecture does not block merging; separate PRs are follow-ups")
288
+ if mode != "change":
289
+ recommend("order the separate PRs by severity, then churn; a 🔴 in a hot file first")
290
+ ```
291
+
292
+ A PR's architecture review always finds more than the PR should carry. What is cheapest now
293
+ belongs in it; a new table or a split module is its own change, reviewed on its own.
@@ -0,0 +1,48 @@
1
+ # ar boundary — change coupling (what changes together lives together)
2
+
3
+ Two diseases: **shotgun surgery** (one logical change edits N modules → cut too fine) and
4
+ **divergent change** (one module edited for N unrelated reasons → too coarse).
5
+
6
+ The truth of a boundary is **co-change**, not whether things look related. Cross-boundary
7
+ co-change is a false boundary; in-boundary co-change is cohesion. An import is the static
8
+ projection of a leak, co-change the dynamic one. **Co-change with no import is hidden coupling,
9
+ the most dangerous**: changing A breaks B and nobody can see the line.
10
+
11
+ ## Look
12
+
13
+ | Question | cg (reviewer.md "Sources") | git / grep fallback |
14
+ |---|---|---|
15
+ | Hidden coupling | `coedit` on each scope file (the brief's Mode line, "co-change"): a high-`probability` partner outside the scope and absent from its `affected` / `edges` imports | `git log --since="6 months ago" --format=@%H --name-only -- <file>`, count partners |
16
+ | Blast radius | `affected` on the scope files: how many modules transitively import them; did the scope make a file more central? | `rg` the import paths |
17
+ | Leaks and cycles | `maps` Dependencies: back edges vs the declared order, outside importers reaching internals, cycles touching the scope; Public API: `private` names imported from outside | `git diff <base>... \| rg '^\+.*(import\|from\|require)'` |
18
+ | Module span (change) | — | `git diff --name-only <base>... \| rg -o '<MODROOT>/([^/]+)' -r '$1' \| sort -u`; ≥ 3 → lead |
19
+ | Concept scatter | `search … includeLiterals=true` on the concern's names and keys; `clones` across modules | `git grep -liE '<concern words>'`, count modules |
20
+
21
+ Repo audit adds the module co-change matrix (`<DEPTH>` = where the module name sits in the path;
22
+ drop formatting-only commits):
23
+
24
+ ```bash
25
+ git log --since="6 months ago" --pretty=format:'@%H' --name-only \
26
+ | awk '/^@/{c=$0;next} NF{n=split($0,a,"/"); m=a[<DEPTH>]; if(m) seen[c][m]=1}
27
+ END{for(co in seen){k=asorti(seen[co],s); for(i=1;i<=k;i++)for(j=i+1;j<=k;j++)pair[s[i]" × "s[j]]++}
28
+ for(p in pair) if(pair[p]>=5) print pair[p], p}' | sort -rn
29
+ ```
30
+
31
+ **Concept scatter** is co-change's blind spot: one responsibility copied into several modules
32
+ that drift and so *stop* changing together. A clone group is a lead, not a finding — read the
33
+ members and say whether they are one piece of knowledge or a template that only shares a shape.
34
+
35
+ ## Ask
36
+
37
+ - Would the *next* sibling (provider, integration, channel, language) have to copy this into
38
+ the same N places? Count them.
39
+ - Does a module reach into another's internals (repository, private types, payloads) instead of
40
+ its public entry? Is there a cycle, dynamic imports included?
41
+ - Did a type or constant land in a shared hot file only one feature needs?
42
+ - Does code under one runtime's directory (server, client) actually run in the other?
43
+
44
+ ## Disciplines
45
+
46
+ Cross-cutting infrastructure (logging, auth middleware) co-changes by nature — separate business
47
+ coupling from infrastructure coupling first. A new module has no history: say "unverifiable",
48
+ never "boundary healthy".
@@ -0,0 +1,38 @@
1
+ # ar evolution — contract versioning (never break in place)
2
+
3
+ First recognise a contract: **can the old side coexist with the new code?** Yes → it is one.
4
+ Four kinds, rising danger:
5
+
6
+ 1. Signatures / types inside one deployable → **not a contract**: caller and callee ship together;
7
+ prove all updated and change in place. Forcing expand / contract here freezes refactoring.
8
+ 2. Public API / cross-process shared types / a published CLI → contract (sides deploy apart).
9
+ 3. Event / queue payloads, telemetry events → contract (in-flight messages and existing
10
+ dashboards are consumers you don't control).
11
+ 4. **DB schema / persisted state / enums / derived ids → most toxic** (old rows can never be
12
+ redeployed).
13
+
14
+ ## Judge
15
+
16
+ - Adding an optional field / enum member is safe only if every old consumer **fails closed** on an
17
+ unknown value — read each consumer's default branch.
18
+ - Removing / renaming a field or enum value, `DROP COLUMN`, `ALTER TYPE`, adding `NOT NULL`,
19
+ changing a default, **giving an existing value or metric a new meaning**: a break for kinds
20
+ 2–4 → two phases (expand now, contract later). Events: a new versioned name alongside.
21
+ - A value derived once and persisted (hash-derived ids, composite keys) is frozen at first
22
+ release — is that said in the code, with how it would evolve?
23
+ - Rollout order and compatibility branches: is the required deploy order, and when a fallback
24
+ may go, written where the next maintainer will find it?
25
+ - Is there a version or capability signal consumers can check, or must they guess?
26
+
27
+ ## Look — find the real consumers
28
+
29
+ | Question | cg (reviewer.md "Sources") | git / grep fallback |
30
+ |---|---|---|
31
+ | Which surfaces are in scope | — | `git diff --name-only <base>... \| rg '<contract paths>'`; audit: list them from reviewer.md "Instantiate" |
32
+ | Who consumes a file / symbol | `affected` on the contract file (importers in another deployable make it a contract, whatever its directory); `callers` / `impact` per exported symbol | `rg` the import path |
33
+ | Who shares only a string | `search … includeLiterals=true` on enum values, event names, routes, config keys | `rg -F '<value>'` across all file types |
34
+ | What was broken in place | — | `git diff <base>... \| rg '^-' \| rg 'DROP COLUMN\|ALTER .*TYPE\|^-.*export (type\|interface\|enum)\|^-\s*\w+\s*='`; audit: `git log -S'<name>'` on surfaces |
35
+
36
+ Then grep what cg cannot parse (SQL, YAML, dashboards, scripts, other repos named in docs) and
37
+ list what stays unchecked. **Implicit contracts** are the hardest: a type thought internal is
38
+ imported by another deployable and silently became one. Never conclude "nobody uses it".
@@ -0,0 +1,52 @@
1
+ # ar legibility — the structure tells a reader where things are and what they do
2
+
3
+ Code exists to be read by a human engineer. Before anyone changes a part, they must find it
4
+ and understand it; what the structure hides or misstates they reconstruct by reading
5
+ everything, or guess. This dimension asks, at the level of modules, files, entries, exports and
6
+ docs: **can a maintainer who did not write this find where a decision lives and see what each
7
+ piece does, from the structure alone?**
8
+
9
+ Line-level readability (a single function's name, nesting, a missing comment) is not this
10
+ dimension's finding — note it in coverage as a lead. A finding here is about where things are
11
+ and what the structure claims about them. A comment that states a module's or file's role (a
12
+ file header, a module doc, a README) is structure and counts; a comment on one function or
13
+ statement is line-level and does not.
14
+
15
+ **Evidence a readability finding needs** — one of the two, cited, **for every claim the
16
+ finding makes** (a claim without its own evidence is cut from the finding, not carried by the
17
+ others):
18
+ 1. the code contradicts itself: a comment or doc against the code; a name against what it names
19
+ — names of functions, files, directories and path conventions (`server/`, `utils/`) alike;
20
+ one concept under names the code treats differently;
21
+ 2. the misreading has already happened: a commit that fixed it, a bug it caused, or code, docs,
22
+ help or other user-facing text in the repo that already acts on the wrong reading. A
23
+ misreading of a different name does not count; code that copies or works around something
24
+ after reading it correctly is not a misreading.
25
+ "Several names", "I would name it differently" or "someone might misread this" alone → drop it.
26
+
27
+ ## Look
28
+
29
+ | Question | cg (reviewer.md "Sources") | git / grep fallback |
30
+ |---|---|---|
31
+ | Can it be found? | `maps` Modules / Entry points: is each decision reachable by a name a newcomer would search for? `search` the concept's words — do they land on the owner? | list the tree; `rg -l '<concept>'`: one owner or many scattered places |
32
+ | Names that misstate | `symbols format=summary` per directory: module / file / export names against what their code does | read the module's entry and its exports |
33
+ | Entries | `maps` Entry points: how many hops from a request / command to the code that does the work; registries, re-exports, event hops in between | trace one real request by reading |
34
+ | Declared vs visible layering | `maps` Dependencies with the declared `layers.json`: can the layers be read off the directory tree? | compare the docs' layer list with `ls` of the roots |
35
+ | Docs vs structure | — | architecture docs, module READMEs and contributor / agent guides the repo declares, against the current tree: modules, flows and names they describe that no longer exist |
36
+ | Public surface | `maps` Public API: exports whose parameters or results can only be understood by reading the implementation (bare booleans, `any`, positional bags, overloaded meanings) | read the exported signatures and one caller |
37
+
38
+ ## Ask
39
+
40
+ - Would a newcomer, given only the directory tree and the export lists, guess where this change
41
+ belongs? Where would they look first, and is it there?
42
+ - Does any name (module, file, export, contract) say something other than what it now does?
43
+ - How many files must be opened to follow one request from entry to effect — and does each hop
44
+ exist for a second implementation, or only as a pattern?
45
+ - Do the repo's own architecture docs still describe the tree that exists?
46
+
47
+ ## Disciplines
48
+
49
+ Taste is not a finding: "I would name it differently" fails the admission gate. A finding names
50
+ the misreading the structure invites and the change that misreading breaks. A convention the
51
+ repo declares (even an unusual one) is legible if it is followed everywhere — inconsistency, not
52
+ unfamiliarity, is the cost.