@surething/cockpit 1.1.8 → 1.1.9

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 (598) hide show
  1. package/.next-prod/BUILD_ID +1 -1
  2. package/.next-prod/app-path-routes-manifest.json +9 -5
  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 +24 -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/coedit/route.js +1 -1
  117. package/.next-prod/server/app/api/projectGraph/edges/route.js +1 -0
  118. package/.next-prod/server/app/api/projectGraph/edges/route.js.nft.json +1 -0
  119. package/.next-prod/server/app/api/projectGraph/edges/route_client-reference-manifest.js +1 -0
  120. package/.next-prod/server/app/api/projectGraph/file/route.js +1 -1
  121. package/.next-prod/server/app/api/projectGraph/file-functions/route.js +1 -1
  122. package/.next-prod/server/app/api/projectGraph/impact/route.js +1 -1
  123. package/.next-prod/server/app/api/projectGraph/maps/route.js +1 -0
  124. package/.next-prod/server/app/api/projectGraph/maps/route.js.nft.json +1 -0
  125. package/.next-prod/server/app/api/projectGraph/maps/route_client-reference-manifest.js +1 -0
  126. package/.next-prod/server/app/api/projectGraph/related/route.js +1 -1
  127. package/.next-prod/server/app/api/projectGraph/search/route.js +1 -1
  128. package/.next-prod/server/app/api/projectGraph/symbols/route.js +1 -1
  129. package/.next-prod/server/app/api/projects/route.js +1 -1
  130. package/.next-prod/server/app/api/push/public-key/route.js +1 -1
  131. package/.next-prod/server/app/api/push/subscribe/route.js +1 -1
  132. package/.next-prod/server/app/api/push/unsubscribe/route.js +1 -1
  133. package/.next-prod/server/app/api/redis/command/route.js +1 -1
  134. package/.next-prod/server/app/api/redis/connect/route.js +1 -1
  135. package/.next-prod/server/app/api/redis/delete/route.js +1 -1
  136. package/.next-prod/server/app/api/redis/disconnect/route.js +1 -1
  137. package/.next-prod/server/app/api/redis/get/route.js +1 -1
  138. package/.next-prod/server/app/api/redis/keys/route.js +1 -1
  139. package/.next-prod/server/app/api/redis/set/route.js +1 -1
  140. package/.next-prod/server/app/api/restart/route.js +1 -1
  141. package/.next-prod/server/app/api/scheduled-tasks/route.js +2 -2
  142. package/.next-prod/server/app/api/services/config/route.js +1 -1
  143. package/.next-prod/server/app/api/services/scripts/route.js +1 -1
  144. package/.next-prod/server/app/api/session/[sessionId]/fork/route.js +1 -1
  145. package/.next-prod/server/app/api/session/[sessionId]/history/route.js +1 -1
  146. package/.next-prod/server/app/api/session/[sessionId]/turn/route.js +2 -2
  147. package/.next-prod/server/app/api/session/image/route.js +1 -1
  148. package/.next-prod/server/app/api/session/user-messages/route.js +1 -1
  149. package/.next-prod/server/app/api/session-bots/route.js +1 -1
  150. package/.next-prod/server/app/api/session-by-path/route.js +1 -1
  151. package/.next-prod/server/app/api/session-context/route.js +2 -2
  152. package/.next-prod/server/app/api/session-title/route.js +1 -1
  153. package/.next-prod/server/app/api/session-title/suggest/route.js +1 -1
  154. package/.next-prod/server/app/api/sessions/delegate/route.js +1 -1
  155. package/.next-prod/server/app/api/sessions/projects/[encodedPath]/route.js +1 -1
  156. package/.next-prod/server/app/api/sessions/projects/route.js +1 -1
  157. package/.next-prod/server/app/api/sessions/search/route.js +1 -1
  158. package/.next-prod/server/app/api/sessions/status/route.js +1 -1
  159. package/.next-prod/server/app/api/settings/route.js +1 -1
  160. package/.next-prod/server/app/api/shutdown/route.js +1 -1
  161. package/.next-prod/server/app/api/skills/[id]/route.js +1 -1
  162. package/.next-prod/server/app/api/skills/builtin/route.js +1 -1
  163. package/.next-prod/server/app/api/skills/content/route.js +1 -1
  164. package/.next-prod/server/app/api/skills/files/route.js +1 -1
  165. package/.next-prod/server/app/api/skills/route.js +1 -1
  166. package/.next-prod/server/app/api/snapshots/blob/route.js +1 -1
  167. package/.next-prod/server/app/api/snapshots/diff/route.js +1 -1
  168. package/.next-prod/server/app/api/snapshots/mark/route.js +1 -0
  169. package/.next-prod/server/app/api/snapshots/mark/route.js.nft.json +1 -0
  170. package/.next-prod/server/app/api/snapshots/mark/route_client-reference-manifest.js +1 -0
  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 -0
  173. package/.next-prod/server/app/api/snapshots/restore/route.js.nft.json +1 -0
  174. package/.next-prod/server/app/api/snapshots/restore/route_client-reference-manifest.js +1 -0
  175. package/.next-prod/server/app/api/snapshots/route.js +1 -1
  176. package/.next-prod/server/app/api/terminal/aliases/route.js +1 -1
  177. package/.next-prod/server/app/api/terminal/autocomplete/route.js +1 -1
  178. package/.next-prod/server/app/api/terminal/bubble-order/route.js +1 -1
  179. package/.next-prod/server/app/api/terminal/env/route.js +1 -1
  180. package/.next-prod/server/app/api/terminal/history/route.js +1 -1
  181. package/.next-prod/server/app/api/terminal/running/route.js +1 -1
  182. package/.next-prod/server/app/api/update/route.js +1 -1
  183. package/.next-prod/server/app/api/update-state/route.js +1 -1
  184. package/.next-prod/server/app/api/version/route.js +1 -1
  185. package/.next-prod/server/app/apps/[...path]/route.js +1 -1
  186. package/.next-prod/server/app/favicon.ico/route.js +1 -1
  187. package/.next-prod/server/app/m/page.js +2 -1
  188. package/.next-prod/server/app/m/page_client-reference-manifest.js +1 -1
  189. package/.next-prod/server/app/manifest.webmanifest/route.js +1 -1
  190. package/.next-prod/server/app/page.js +1 -1
  191. package/.next-prod/server/app/page_client-reference-manifest.js +1 -1
  192. package/.next-prod/server/app/project/page.js +1 -1
  193. package/.next-prod/server/app/project/page_client-reference-manifest.js +1 -1
  194. package/.next-prod/server/app-paths-manifest.json +9 -5
  195. package/.next-prod/server/chunks/2493.js +13 -13
  196. package/.next-prod/server/chunks/4949.js +1 -1
  197. package/.next-prod/server/chunks/6610.js +34 -34
  198. package/.next-prod/server/chunks/7270.js +1 -1
  199. package/.next-prod/server/chunks/9830.js +2 -2
  200. package/.next-prod/server/chunks/9998.js +1 -1
  201. package/.next-prod/server/middleware-build-manifest.js +1 -1
  202. package/.next-prod/server/next-font-manifest.js +1 -1
  203. package/.next-prod/server/next-font-manifest.json +1 -1
  204. package/.next-prod/server/pages/500.html +1 -1
  205. package/.next-prod/server/server-reference-manifest.json +1 -1
  206. package/.next-prod/static/LwAYWBEgXwTIkuj7U9BpE/_buildManifest.js +1 -0
  207. package/.next-prod/static/chunks/{50189-b59a96372658a46a.js → 55541-994b26deaa23f4e6.js} +2 -2
  208. package/.next-prod/static/chunks/{731-fd4b8bcd1d40dfe9.js → 6837-78c0d1a8165d46f7.js} +21 -21
  209. package/.next-prod/static/chunks/92000-46024df89fb50e16.js +41 -0
  210. package/.next-prod/static/chunks/98596-4ca2d2544138aefd.js +733 -0
  211. package/.next-prod/static/chunks/app/_global-error/page-6af5bc188af96106.js +1 -0
  212. package/.next-prod/static/chunks/app/api/agent/test/route-6af5bc188af96106.js +1 -0
  213. package/.next-prod/static/chunks/app/api/bash/route-6af5bc188af96106.js +1 -0
  214. package/.next-prod/static/chunks/app/api/bots/[id]/route-6af5bc188af96106.js +1 -0
  215. package/.next-prod/static/chunks/app/api/bots/files/route-6af5bc188af96106.js +1 -0
  216. package/.next-prod/static/chunks/app/api/bots/route-6af5bc188af96106.js +1 -0
  217. package/.next-prod/static/chunks/app/api/chat/codex/route-6af5bc188af96106.js +1 -0
  218. package/.next-prod/static/chunks/app/api/chat/deepseek/route-6af5bc188af96106.js +1 -0
  219. package/.next-prod/static/chunks/app/api/chat/glm/route-6af5bc188af96106.js +1 -0
  220. package/.next-prod/static/chunks/app/api/chat/grok/route-6af5bc188af96106.js +1 -0
  221. package/.next-prod/static/chunks/app/api/chat/kimi/route-6af5bc188af96106.js +1 -0
  222. package/.next-prod/static/chunks/app/api/chat/ollama/route-6af5bc188af96106.js +1 -0
  223. package/.next-prod/static/chunks/app/api/chat/route-6af5bc188af96106.js +1 -0
  224. package/.next-prod/static/chunks/app/api/chat/stop/route-6af5bc188af96106.js +1 -0
  225. package/.next-prod/static/chunks/app/api/claude-stats/route-6af5bc188af96106.js +1 -0
  226. package/.next-prod/static/chunks/app/api/commands/route-6af5bc188af96106.js +1 -0
  227. package/.next-prod/static/chunks/app/api/comments/route-6af5bc188af96106.js +1 -0
  228. package/.next-prod/static/chunks/app/api/db/columns/route-6af5bc188af96106.js +1 -0
  229. package/.next-prod/static/chunks/app/api/db/connect/route-6af5bc188af96106.js +1 -0
  230. package/.next-prod/static/chunks/app/api/db/disconnect/route-6af5bc188af96106.js +1 -0
  231. package/.next-prod/static/chunks/app/api/db/export/route-6af5bc188af96106.js +1 -0
  232. package/.next-prod/static/chunks/app/api/db/query/route-6af5bc188af96106.js +1 -0
  233. package/.next-prod/static/chunks/app/api/db/schemas/route-6af5bc188af96106.js +1 -0
  234. package/.next-prod/static/chunks/app/api/deepseek/balance/route-6af5bc188af96106.js +1 -0
  235. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-6af5bc188af96106.js +1 -0
  236. package/.next-prod/static/chunks/app/api/deepseek/models/route-6af5bc188af96106.js +1 -0
  237. package/.next-prod/static/chunks/app/api/dev/spans/route-6af5bc188af96106.js +1 -0
  238. package/.next-prod/static/chunks/app/api/extension/version/route-6af5bc188af96106.js +1 -0
  239. package/.next-prod/static/chunks/app/api/file/route-6af5bc188af96106.js +1 -0
  240. package/.next-prod/static/chunks/app/api/files/blame/route-6af5bc188af96106.js +1 -0
  241. package/.next-prod/static/chunks/app/api/files/clipboard/route-6af5bc188af96106.js +1 -0
  242. package/.next-prod/static/chunks/app/api/files/copy/route-6af5bc188af96106.js +1 -0
  243. package/.next-prod/static/chunks/app/api/files/delete/route-6af5bc188af96106.js +1 -0
  244. package/.next-prod/static/chunks/app/api/files/expanded/route-6af5bc188af96106.js +1 -0
  245. package/.next-prod/static/chunks/app/api/files/index/route-6af5bc188af96106.js +1 -0
  246. package/.next-prod/static/chunks/app/api/files/init/route-6af5bc188af96106.js +1 -0
  247. package/.next-prod/static/chunks/app/api/files/paste/route-6af5bc188af96106.js +1 -0
  248. package/.next-prod/static/chunks/app/api/files/read/route-6af5bc188af96106.js +1 -0
  249. package/.next-prod/static/chunks/app/api/files/readdir/route-6af5bc188af96106.js +1 -0
  250. package/.next-prod/static/chunks/app/api/files/recent/route-6af5bc188af96106.js +1 -0
  251. package/.next-prod/static/chunks/app/api/files/save/route-6af5bc188af96106.js +1 -0
  252. package/.next-prod/static/chunks/app/api/files/search/route-6af5bc188af96106.js +1 -0
  253. package/.next-prod/static/chunks/app/api/files/stat/route-6af5bc188af96106.js +1 -0
  254. package/.next-prod/static/chunks/app/api/files/text/route-6af5bc188af96106.js +1 -0
  255. package/.next-prod/static/chunks/app/api/fs/dirs/route-6af5bc188af96106.js +1 -0
  256. package/.next-prod/static/chunks/app/api/git/blob/route-6af5bc188af96106.js +1 -0
  257. package/.next-prod/static/chunks/app/api/git/branch-diff/route-6af5bc188af96106.js +1 -0
  258. package/.next-prod/static/chunks/app/api/git/branches/route-6af5bc188af96106.js +1 -0
  259. package/.next-prod/static/chunks/app/api/git/commit-diff/route-6af5bc188af96106.js +1 -0
  260. package/.next-prod/static/chunks/app/api/git/commits/route-6af5bc188af96106.js +1 -0
  261. package/.next-prod/static/chunks/app/api/git/current-branch/route-6af5bc188af96106.js +1 -0
  262. package/.next-prod/static/chunks/app/api/git/diff/route-6af5bc188af96106.js +1 -0
  263. package/.next-prod/static/chunks/app/api/git/discard/route-6af5bc188af96106.js +1 -0
  264. package/.next-prod/static/chunks/app/api/git/stage/route-6af5bc188af96106.js +1 -0
  265. package/.next-prod/static/chunks/app/api/git/status/route-6af5bc188af96106.js +1 -0
  266. package/.next-prod/static/chunks/app/api/git/unstage/route-6af5bc188af96106.js +1 -0
  267. package/.next-prod/static/chunks/app/api/git/worktree/route-6af5bc188af96106.js +1 -0
  268. package/.next-prod/static/chunks/app/api/glm/credentials/route-6af5bc188af96106.js +1 -0
  269. package/.next-prod/static/chunks/app/api/glm/models/route-6af5bc188af96106.js +1 -0
  270. package/.next-prod/static/chunks/app/api/glm/usage/route-6af5bc188af96106.js +1 -0
  271. package/.next-prod/static/chunks/app/api/global-state/route-6af5bc188af96106.js +1 -0
  272. package/.next-prod/static/chunks/app/api/grok/models/route-6af5bc188af96106.js +1 -0
  273. package/.next-prod/static/chunks/app/api/health/route-6af5bc188af96106.js +1 -0
  274. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-6af5bc188af96106.js +1 -0
  275. package/.next-prod/static/chunks/app/api/html-apps/files/route-6af5bc188af96106.js +1 -0
  276. package/.next-prod/static/chunks/app/api/html-apps/route-6af5bc188af96106.js +1 -0
  277. package/.next-prod/static/chunks/app/api/instructions/config/route-6af5bc188af96106.js +1 -0
  278. package/.next-prod/static/chunks/app/api/kimi/credentials/route-6af5bc188af96106.js +1 -0
  279. package/.next-prod/static/chunks/app/api/kimi/models/route-6af5bc188af96106.js +1 -0
  280. package/.next-prod/static/chunks/app/api/kimi/usage/route-6af5bc188af96106.js +1 -0
  281. package/.next-prod/static/chunks/app/api/lsp/definition/route-6af5bc188af96106.js +1 -0
  282. package/.next-prod/static/chunks/app/api/lsp/hover/route-6af5bc188af96106.js +1 -0
  283. package/.next-prod/static/chunks/app/api/lsp/references/route-6af5bc188af96106.js +1 -0
  284. package/.next-prod/static/chunks/app/api/lsp/status/route-6af5bc188af96106.js +1 -0
  285. package/.next-prod/static/chunks/app/api/lsp/warmup/route-6af5bc188af96106.js +1 -0
  286. package/.next-prod/static/chunks/app/api/mobile-link/route-6af5bc188af96106.js +1 -0
  287. package/.next-prod/static/chunks/app/api/mysql/columns/route-6af5bc188af96106.js +1 -0
  288. package/.next-prod/static/chunks/app/api/mysql/connect/route-6af5bc188af96106.js +1 -0
  289. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-6af5bc188af96106.js +1 -0
  290. package/.next-prod/static/chunks/app/api/mysql/export/route-6af5bc188af96106.js +1 -0
  291. package/.next-prod/static/chunks/app/api/mysql/query/route-6af5bc188af96106.js +1 -0
  292. package/.next-prod/static/chunks/app/api/mysql/schemas/route-6af5bc188af96106.js +1 -0
  293. package/.next-prod/static/chunks/app/api/neo4j/connect/route-6af5bc188af96106.js +1 -0
  294. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-6af5bc188af96106.js +1 -0
  295. package/.next-prod/static/chunks/app/api/neo4j/query/route-6af5bc188af96106.js +1 -0
  296. package/.next-prod/static/chunks/app/api/neo4j/schema/route-6af5bc188af96106.js +1 -0
  297. package/.next-prod/static/chunks/app/api/note/list/route-6af5bc188af96106.js +1 -0
  298. package/.next-prod/static/chunks/app/api/note/route-6af5bc188af96106.js +1 -0
  299. package/.next-prod/static/chunks/app/api/ollama/config/route-6af5bc188af96106.js +1 -0
  300. package/.next-prod/static/chunks/app/api/ollama/default-model/route-6af5bc188af96106.js +1 -0
  301. package/.next-prod/static/chunks/app/api/ollama/models/route-6af5bc188af96106.js +1 -0
  302. package/.next-prod/static/chunks/app/api/ollama/start/route-6af5bc188af96106.js +1 -0
  303. package/.next-prod/static/chunks/app/api/open-cursor/route-6af5bc188af96106.js +1 -0
  304. package/.next-prod/static/chunks/app/api/open-vscode/route-6af5bc188af96106.js +1 -0
  305. package/.next-prod/static/chunks/app/api/pi/thinking/route-6af5bc188af96106.js +1 -0
  306. package/.next-prod/static/chunks/app/api/pinned-sessions/route-6af5bc188af96106.js +1 -0
  307. package/.next-prod/static/chunks/app/api/project-settings/route-6af5bc188af96106.js +1 -0
  308. package/.next-prod/static/chunks/app/api/project-state/route-6af5bc188af96106.js +1 -0
  309. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-6af5bc188af96106.js +1 -0
  310. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-6af5bc188af96106.js +1 -0
  311. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-6af5bc188af96106.js +1 -0
  312. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-6af5bc188af96106.js +1 -0
  313. package/.next-prod/static/chunks/app/api/projectGraph/edges/route-6af5bc188af96106.js +1 -0
  314. package/.next-prod/static/chunks/app/api/projectGraph/file/route-6af5bc188af96106.js +1 -0
  315. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-6af5bc188af96106.js +1 -0
  316. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-6af5bc188af96106.js +1 -0
  317. package/.next-prod/static/chunks/app/api/projectGraph/maps/route-6af5bc188af96106.js +1 -0
  318. package/.next-prod/static/chunks/app/api/projectGraph/related/route-6af5bc188af96106.js +1 -0
  319. package/.next-prod/static/chunks/app/api/projectGraph/search/route-6af5bc188af96106.js +1 -0
  320. package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-6af5bc188af96106.js +1 -0
  321. package/.next-prod/static/chunks/app/api/projects/route-6af5bc188af96106.js +1 -0
  322. package/.next-prod/static/chunks/app/api/push/public-key/route-6af5bc188af96106.js +1 -0
  323. package/.next-prod/static/chunks/app/api/push/subscribe/route-6af5bc188af96106.js +1 -0
  324. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-6af5bc188af96106.js +1 -0
  325. package/.next-prod/static/chunks/app/api/redis/command/route-6af5bc188af96106.js +1 -0
  326. package/.next-prod/static/chunks/app/api/redis/connect/route-6af5bc188af96106.js +1 -0
  327. package/.next-prod/static/chunks/app/api/redis/delete/route-6af5bc188af96106.js +1 -0
  328. package/.next-prod/static/chunks/app/api/redis/disconnect/route-6af5bc188af96106.js +1 -0
  329. package/.next-prod/static/chunks/app/api/redis/get/route-6af5bc188af96106.js +1 -0
  330. package/.next-prod/static/chunks/app/api/redis/keys/route-6af5bc188af96106.js +1 -0
  331. package/.next-prod/static/chunks/app/api/redis/set/route-6af5bc188af96106.js +1 -0
  332. package/.next-prod/static/chunks/app/api/restart/route-6af5bc188af96106.js +1 -0
  333. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-6af5bc188af96106.js +1 -0
  334. package/.next-prod/static/chunks/app/api/services/config/route-6af5bc188af96106.js +1 -0
  335. package/.next-prod/static/chunks/app/api/services/scripts/route-6af5bc188af96106.js +1 -0
  336. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-6af5bc188af96106.js +1 -0
  337. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-6af5bc188af96106.js +1 -0
  338. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-6af5bc188af96106.js +1 -0
  339. package/.next-prod/static/chunks/app/api/session/image/route-6af5bc188af96106.js +1 -0
  340. package/.next-prod/static/chunks/app/api/session/user-messages/route-6af5bc188af96106.js +1 -0
  341. package/.next-prod/static/chunks/app/api/session-bots/route-6af5bc188af96106.js +1 -0
  342. package/.next-prod/static/chunks/app/api/session-by-path/route-6af5bc188af96106.js +1 -0
  343. package/.next-prod/static/chunks/app/api/session-context/route-6af5bc188af96106.js +1 -0
  344. package/.next-prod/static/chunks/app/api/session-title/route-6af5bc188af96106.js +1 -0
  345. package/.next-prod/static/chunks/app/api/session-title/suggest/route-6af5bc188af96106.js +1 -0
  346. package/.next-prod/static/chunks/app/api/sessions/delegate/route-6af5bc188af96106.js +1 -0
  347. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-6af5bc188af96106.js +1 -0
  348. package/.next-prod/static/chunks/app/api/sessions/projects/route-6af5bc188af96106.js +1 -0
  349. package/.next-prod/static/chunks/app/api/sessions/search/route-6af5bc188af96106.js +1 -0
  350. package/.next-prod/static/chunks/app/api/sessions/status/route-6af5bc188af96106.js +1 -0
  351. package/.next-prod/static/chunks/app/api/settings/route-6af5bc188af96106.js +1 -0
  352. package/.next-prod/static/chunks/app/api/shutdown/route-6af5bc188af96106.js +1 -0
  353. package/.next-prod/static/chunks/app/api/skills/[id]/route-6af5bc188af96106.js +1 -0
  354. package/.next-prod/static/chunks/app/api/skills/builtin/route-6af5bc188af96106.js +1 -0
  355. package/.next-prod/static/chunks/app/api/skills/content/route-6af5bc188af96106.js +1 -0
  356. package/.next-prod/static/chunks/app/api/skills/files/route-6af5bc188af96106.js +1 -0
  357. package/.next-prod/static/chunks/app/api/skills/route-6af5bc188af96106.js +1 -0
  358. package/.next-prod/static/chunks/app/api/snapshots/blob/route-6af5bc188af96106.js +1 -0
  359. package/.next-prod/static/chunks/app/api/snapshots/diff/route-6af5bc188af96106.js +1 -0
  360. package/.next-prod/static/chunks/app/api/snapshots/mark/route-6af5bc188af96106.js +1 -0
  361. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-6af5bc188af96106.js +1 -0
  362. package/.next-prod/static/chunks/app/api/snapshots/restore/route-6af5bc188af96106.js +1 -0
  363. package/.next-prod/static/chunks/app/api/snapshots/route-6af5bc188af96106.js +1 -0
  364. package/.next-prod/static/chunks/app/api/terminal/aliases/route-6af5bc188af96106.js +1 -0
  365. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-6af5bc188af96106.js +1 -0
  366. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-6af5bc188af96106.js +1 -0
  367. package/.next-prod/static/chunks/app/api/terminal/env/route-6af5bc188af96106.js +1 -0
  368. package/.next-prod/static/chunks/app/api/terminal/history/route-6af5bc188af96106.js +1 -0
  369. package/.next-prod/static/chunks/app/api/terminal/running/route-6af5bc188af96106.js +1 -0
  370. package/.next-prod/static/chunks/app/api/update/route-6af5bc188af96106.js +1 -0
  371. package/.next-prod/static/chunks/app/api/update-state/route-6af5bc188af96106.js +1 -0
  372. package/.next-prod/static/chunks/app/api/version/route-6af5bc188af96106.js +1 -0
  373. package/.next-prod/static/chunks/app/apps/[...path]/route-6af5bc188af96106.js +1 -0
  374. package/.next-prod/static/chunks/app/{layout-f0ff0ab277c84dc6.js → layout-7107ed4eeac1f693.js} +1 -1
  375. package/.next-prod/static/chunks/app/m/page-0c8e79e2f753aecb.js +2 -0
  376. package/.next-prod/static/chunks/app/manifest.webmanifest/route-6af5bc188af96106.js +1 -0
  377. package/.next-prod/static/chunks/app/{page-d2ccfc2cb47ac4af.js → page-338a2c84319778b1.js} +1 -1
  378. package/.next-prod/static/chunks/app/project/{page-d2ccfc2cb47ac4af.js → page-338a2c84319778b1.js} +1 -1
  379. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-6af5bc188af96106.js +1 -0
  380. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-6af5bc188af96106.js +1 -0
  381. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-6af5bc188af96106.js +1 -0
  382. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-6af5bc188af96106.js +1 -0
  383. package/.next-prod/static/css/fa34d3b1412ca27a.css +1 -0
  384. package/.next-prod/trace +86 -15
  385. package/.next-prod/trace-build +1 -1
  386. package/.next-prod/types/app/api/projectGraph/edges/route.ts +353 -0
  387. package/.next-prod/types/app/api/projectGraph/maps/route.ts +353 -0
  388. package/.next-prod/types/app/api/snapshots/mark/route.ts +353 -0
  389. package/.next-prod/types/app/api/snapshots/restore/route.ts +353 -0
  390. package/.next-prod/types/routes.d.ts +5 -1
  391. package/.next-prod/types/validator.ts +36 -0
  392. package/README.md +6 -0
  393. package/bin/rotateLog.mjs +6 -5
  394. package/desktop-checksums.json +4 -4
  395. package/dist/{anthropicCompat-PQWSZ3O7.mjs → anthropicCompat-4HZVLIFE.mjs} +3 -2
  396. package/dist/auth.mjs +19 -3
  397. package/dist/authAudit.mjs +79 -0
  398. package/dist/{chunk-6QDJ3QAX.mjs → chunk-6QHHEA3D.mjs} +11 -9
  399. package/dist/{chunk-2PDNZOMA.mjs → chunk-HJT5ZRYY.mjs} +2 -2
  400. package/dist/{chunk-S7FDWHAF.mjs → chunk-LSFNZJMR.mjs} +26825 -29730
  401. package/dist/{chunk-3S5JGONK.mjs → chunk-N3DTLFZE.mjs} +14 -12
  402. package/dist/{chunk-AKBWZB3V.mjs → chunk-QPFJKR3B.mjs} +2 -2
  403. package/dist/{chunk-LQISLDJ5.mjs → chunk-SI632CNY.mjs} +1 -1
  404. package/dist/{chunk-G747UZSS.mjs → chunk-T4M6CNFO.mjs} +132 -34
  405. package/dist/chunk-WSSVELJX.mjs +2920 -0
  406. package/dist/{chunk-2O6IH2TF.mjs → chunk-X4R5HO25.mjs} +2 -2
  407. package/dist/deepseek-YEPNQ2GX.mjs +13 -0
  408. package/dist/glm-SGT2LTOS.mjs +15 -0
  409. package/dist/httpApi.mjs +9 -8
  410. package/dist/kimi-FDXILCYU.mjs +15 -0
  411. package/dist/scheduledTasks.mjs +41 -15
  412. package/dist/{sessionStore-FF2VHKXM.mjs → sessionStore-WJGMZM4A.mjs} +2 -1
  413. package/dist/wsServer.mjs +63 -26
  414. package/package.json +3 -3
  415. package/public/html-lib/markdown.js +1 -1
  416. package/server.mjs +6 -1
  417. package/skills/cr/SKILL.md +184 -11
  418. package/skills/dl/SKILL.md +5 -0
  419. package/skills/rf/SKILL.md +124 -0
  420. package/skills/rf/axes.md +87 -0
  421. package/skills/rf/converge.md +50 -0
  422. package/skills/rf/fix.md +138 -0
  423. package/skills/rf/lenses.md +76 -0
  424. package/skills/rf/report.md +133 -0
  425. package/skills/rf/sources.md +129 -0
  426. package/.next-prod/static/AO-RPvB4uxOb6-XZ_0YXg/_buildManifest.js +0 -1
  427. package/.next-prod/static/chunks/17220-89a26ee102272095.js +0 -732
  428. package/.next-prod/static/chunks/45590-d1a8b4e539cc8dda.js +0 -42
  429. package/.next-prod/static/chunks/app/_global-error/page-42efcb4fd08c5099.js +0 -1
  430. package/.next-prod/static/chunks/app/api/agent/test/route-42efcb4fd08c5099.js +0 -1
  431. package/.next-prod/static/chunks/app/api/bash/route-42efcb4fd08c5099.js +0 -1
  432. package/.next-prod/static/chunks/app/api/bots/[id]/route-42efcb4fd08c5099.js +0 -1
  433. package/.next-prod/static/chunks/app/api/bots/files/route-42efcb4fd08c5099.js +0 -1
  434. package/.next-prod/static/chunks/app/api/bots/route-42efcb4fd08c5099.js +0 -1
  435. package/.next-prod/static/chunks/app/api/chat/codex/route-42efcb4fd08c5099.js +0 -1
  436. package/.next-prod/static/chunks/app/api/chat/deepseek/route-42efcb4fd08c5099.js +0 -1
  437. package/.next-prod/static/chunks/app/api/chat/glm/route-42efcb4fd08c5099.js +0 -1
  438. package/.next-prod/static/chunks/app/api/chat/grok/route-42efcb4fd08c5099.js +0 -1
  439. package/.next-prod/static/chunks/app/api/chat/kimi/route-42efcb4fd08c5099.js +0 -1
  440. package/.next-prod/static/chunks/app/api/chat/ollama/route-42efcb4fd08c5099.js +0 -1
  441. package/.next-prod/static/chunks/app/api/chat/route-42efcb4fd08c5099.js +0 -1
  442. package/.next-prod/static/chunks/app/api/chat/stop/route-42efcb4fd08c5099.js +0 -1
  443. package/.next-prod/static/chunks/app/api/claude-stats/route-42efcb4fd08c5099.js +0 -1
  444. package/.next-prod/static/chunks/app/api/commands/route-42efcb4fd08c5099.js +0 -1
  445. package/.next-prod/static/chunks/app/api/comments/route-42efcb4fd08c5099.js +0 -1
  446. package/.next-prod/static/chunks/app/api/db/columns/route-42efcb4fd08c5099.js +0 -1
  447. package/.next-prod/static/chunks/app/api/db/connect/route-42efcb4fd08c5099.js +0 -1
  448. package/.next-prod/static/chunks/app/api/db/disconnect/route-42efcb4fd08c5099.js +0 -1
  449. package/.next-prod/static/chunks/app/api/db/export/route-42efcb4fd08c5099.js +0 -1
  450. package/.next-prod/static/chunks/app/api/db/query/route-42efcb4fd08c5099.js +0 -1
  451. package/.next-prod/static/chunks/app/api/db/schemas/route-42efcb4fd08c5099.js +0 -1
  452. package/.next-prod/static/chunks/app/api/deepseek/balance/route-42efcb4fd08c5099.js +0 -1
  453. package/.next-prod/static/chunks/app/api/deepseek/credentials/route-42efcb4fd08c5099.js +0 -1
  454. package/.next-prod/static/chunks/app/api/deepseek/models/route-42efcb4fd08c5099.js +0 -1
  455. package/.next-prod/static/chunks/app/api/dev/spans/route-42efcb4fd08c5099.js +0 -1
  456. package/.next-prod/static/chunks/app/api/extension/version/route-42efcb4fd08c5099.js +0 -1
  457. package/.next-prod/static/chunks/app/api/file/route-42efcb4fd08c5099.js +0 -1
  458. package/.next-prod/static/chunks/app/api/files/blame/route-42efcb4fd08c5099.js +0 -1
  459. package/.next-prod/static/chunks/app/api/files/clipboard/route-42efcb4fd08c5099.js +0 -1
  460. package/.next-prod/static/chunks/app/api/files/copy/route-42efcb4fd08c5099.js +0 -1
  461. package/.next-prod/static/chunks/app/api/files/delete/route-42efcb4fd08c5099.js +0 -1
  462. package/.next-prod/static/chunks/app/api/files/expanded/route-42efcb4fd08c5099.js +0 -1
  463. package/.next-prod/static/chunks/app/api/files/index/route-42efcb4fd08c5099.js +0 -1
  464. package/.next-prod/static/chunks/app/api/files/init/route-42efcb4fd08c5099.js +0 -1
  465. package/.next-prod/static/chunks/app/api/files/paste/route-42efcb4fd08c5099.js +0 -1
  466. package/.next-prod/static/chunks/app/api/files/read/route-42efcb4fd08c5099.js +0 -1
  467. package/.next-prod/static/chunks/app/api/files/readdir/route-42efcb4fd08c5099.js +0 -1
  468. package/.next-prod/static/chunks/app/api/files/recent/route-42efcb4fd08c5099.js +0 -1
  469. package/.next-prod/static/chunks/app/api/files/save/route-42efcb4fd08c5099.js +0 -1
  470. package/.next-prod/static/chunks/app/api/files/search/route-42efcb4fd08c5099.js +0 -1
  471. package/.next-prod/static/chunks/app/api/files/stat/route-42efcb4fd08c5099.js +0 -1
  472. package/.next-prod/static/chunks/app/api/files/text/route-42efcb4fd08c5099.js +0 -1
  473. package/.next-prod/static/chunks/app/api/fs/dirs/route-42efcb4fd08c5099.js +0 -1
  474. package/.next-prod/static/chunks/app/api/git/blob/route-42efcb4fd08c5099.js +0 -1
  475. package/.next-prod/static/chunks/app/api/git/branch-diff/route-42efcb4fd08c5099.js +0 -1
  476. package/.next-prod/static/chunks/app/api/git/branches/route-42efcb4fd08c5099.js +0 -1
  477. package/.next-prod/static/chunks/app/api/git/commit-diff/route-42efcb4fd08c5099.js +0 -1
  478. package/.next-prod/static/chunks/app/api/git/commits/route-42efcb4fd08c5099.js +0 -1
  479. package/.next-prod/static/chunks/app/api/git/current-branch/route-42efcb4fd08c5099.js +0 -1
  480. package/.next-prod/static/chunks/app/api/git/diff/route-42efcb4fd08c5099.js +0 -1
  481. package/.next-prod/static/chunks/app/api/git/discard/route-42efcb4fd08c5099.js +0 -1
  482. package/.next-prod/static/chunks/app/api/git/stage/route-42efcb4fd08c5099.js +0 -1
  483. package/.next-prod/static/chunks/app/api/git/status/route-42efcb4fd08c5099.js +0 -1
  484. package/.next-prod/static/chunks/app/api/git/unstage/route-42efcb4fd08c5099.js +0 -1
  485. package/.next-prod/static/chunks/app/api/git/worktree/route-42efcb4fd08c5099.js +0 -1
  486. package/.next-prod/static/chunks/app/api/glm/credentials/route-42efcb4fd08c5099.js +0 -1
  487. package/.next-prod/static/chunks/app/api/glm/models/route-42efcb4fd08c5099.js +0 -1
  488. package/.next-prod/static/chunks/app/api/glm/usage/route-42efcb4fd08c5099.js +0 -1
  489. package/.next-prod/static/chunks/app/api/global-state/route-42efcb4fd08c5099.js +0 -1
  490. package/.next-prod/static/chunks/app/api/grok/models/route-42efcb4fd08c5099.js +0 -1
  491. package/.next-prod/static/chunks/app/api/health/route-42efcb4fd08c5099.js +0 -1
  492. package/.next-prod/static/chunks/app/api/html-apps/[id]/route-42efcb4fd08c5099.js +0 -1
  493. package/.next-prod/static/chunks/app/api/html-apps/files/route-42efcb4fd08c5099.js +0 -1
  494. package/.next-prod/static/chunks/app/api/html-apps/route-42efcb4fd08c5099.js +0 -1
  495. package/.next-prod/static/chunks/app/api/instructions/config/route-42efcb4fd08c5099.js +0 -1
  496. package/.next-prod/static/chunks/app/api/kimi/credentials/route-42efcb4fd08c5099.js +0 -1
  497. package/.next-prod/static/chunks/app/api/kimi/models/route-42efcb4fd08c5099.js +0 -1
  498. package/.next-prod/static/chunks/app/api/kimi/usage/route-42efcb4fd08c5099.js +0 -1
  499. package/.next-prod/static/chunks/app/api/lsp/definition/route-42efcb4fd08c5099.js +0 -1
  500. package/.next-prod/static/chunks/app/api/lsp/hover/route-42efcb4fd08c5099.js +0 -1
  501. package/.next-prod/static/chunks/app/api/lsp/references/route-42efcb4fd08c5099.js +0 -1
  502. package/.next-prod/static/chunks/app/api/lsp/status/route-42efcb4fd08c5099.js +0 -1
  503. package/.next-prod/static/chunks/app/api/lsp/warmup/route-42efcb4fd08c5099.js +0 -1
  504. package/.next-prod/static/chunks/app/api/mobile-link/route-42efcb4fd08c5099.js +0 -1
  505. package/.next-prod/static/chunks/app/api/mysql/columns/route-42efcb4fd08c5099.js +0 -1
  506. package/.next-prod/static/chunks/app/api/mysql/connect/route-42efcb4fd08c5099.js +0 -1
  507. package/.next-prod/static/chunks/app/api/mysql/disconnect/route-42efcb4fd08c5099.js +0 -1
  508. package/.next-prod/static/chunks/app/api/mysql/export/route-42efcb4fd08c5099.js +0 -1
  509. package/.next-prod/static/chunks/app/api/mysql/query/route-42efcb4fd08c5099.js +0 -1
  510. package/.next-prod/static/chunks/app/api/mysql/schemas/route-42efcb4fd08c5099.js +0 -1
  511. package/.next-prod/static/chunks/app/api/neo4j/connect/route-42efcb4fd08c5099.js +0 -1
  512. package/.next-prod/static/chunks/app/api/neo4j/disconnect/route-42efcb4fd08c5099.js +0 -1
  513. package/.next-prod/static/chunks/app/api/neo4j/query/route-42efcb4fd08c5099.js +0 -1
  514. package/.next-prod/static/chunks/app/api/neo4j/schema/route-42efcb4fd08c5099.js +0 -1
  515. package/.next-prod/static/chunks/app/api/note/list/route-42efcb4fd08c5099.js +0 -1
  516. package/.next-prod/static/chunks/app/api/note/route-42efcb4fd08c5099.js +0 -1
  517. package/.next-prod/static/chunks/app/api/ollama/config/route-42efcb4fd08c5099.js +0 -1
  518. package/.next-prod/static/chunks/app/api/ollama/default-model/route-42efcb4fd08c5099.js +0 -1
  519. package/.next-prod/static/chunks/app/api/ollama/models/route-42efcb4fd08c5099.js +0 -1
  520. package/.next-prod/static/chunks/app/api/ollama/start/route-42efcb4fd08c5099.js +0 -1
  521. package/.next-prod/static/chunks/app/api/open-cursor/route-42efcb4fd08c5099.js +0 -1
  522. package/.next-prod/static/chunks/app/api/open-vscode/route-42efcb4fd08c5099.js +0 -1
  523. package/.next-prod/static/chunks/app/api/pi/thinking/route-42efcb4fd08c5099.js +0 -1
  524. package/.next-prod/static/chunks/app/api/pinned-sessions/route-42efcb4fd08c5099.js +0 -1
  525. package/.next-prod/static/chunks/app/api/project-settings/route-42efcb4fd08c5099.js +0 -1
  526. package/.next-prod/static/chunks/app/api/project-state/route-42efcb4fd08c5099.js +0 -1
  527. package/.next-prod/static/chunks/app/api/projectGraph/affected/route-42efcb4fd08c5099.js +0 -1
  528. package/.next-prod/static/chunks/app/api/projectGraph/callees/route-42efcb4fd08c5099.js +0 -1
  529. package/.next-prod/static/chunks/app/api/projectGraph/callers/route-42efcb4fd08c5099.js +0 -1
  530. package/.next-prod/static/chunks/app/api/projectGraph/coedit/route-42efcb4fd08c5099.js +0 -1
  531. package/.next-prod/static/chunks/app/api/projectGraph/file/route-42efcb4fd08c5099.js +0 -1
  532. package/.next-prod/static/chunks/app/api/projectGraph/file-functions/route-42efcb4fd08c5099.js +0 -1
  533. package/.next-prod/static/chunks/app/api/projectGraph/impact/route-42efcb4fd08c5099.js +0 -1
  534. package/.next-prod/static/chunks/app/api/projectGraph/related/route-42efcb4fd08c5099.js +0 -1
  535. package/.next-prod/static/chunks/app/api/projectGraph/search/route-42efcb4fd08c5099.js +0 -1
  536. package/.next-prod/static/chunks/app/api/projectGraph/symbols/route-42efcb4fd08c5099.js +0 -1
  537. package/.next-prod/static/chunks/app/api/projects/route-42efcb4fd08c5099.js +0 -1
  538. package/.next-prod/static/chunks/app/api/push/public-key/route-42efcb4fd08c5099.js +0 -1
  539. package/.next-prod/static/chunks/app/api/push/subscribe/route-42efcb4fd08c5099.js +0 -1
  540. package/.next-prod/static/chunks/app/api/push/unsubscribe/route-42efcb4fd08c5099.js +0 -1
  541. package/.next-prod/static/chunks/app/api/redis/command/route-42efcb4fd08c5099.js +0 -1
  542. package/.next-prod/static/chunks/app/api/redis/connect/route-42efcb4fd08c5099.js +0 -1
  543. package/.next-prod/static/chunks/app/api/redis/delete/route-42efcb4fd08c5099.js +0 -1
  544. package/.next-prod/static/chunks/app/api/redis/disconnect/route-42efcb4fd08c5099.js +0 -1
  545. package/.next-prod/static/chunks/app/api/redis/get/route-42efcb4fd08c5099.js +0 -1
  546. package/.next-prod/static/chunks/app/api/redis/keys/route-42efcb4fd08c5099.js +0 -1
  547. package/.next-prod/static/chunks/app/api/redis/set/route-42efcb4fd08c5099.js +0 -1
  548. package/.next-prod/static/chunks/app/api/restart/route-42efcb4fd08c5099.js +0 -1
  549. package/.next-prod/static/chunks/app/api/scheduled-tasks/route-42efcb4fd08c5099.js +0 -1
  550. package/.next-prod/static/chunks/app/api/services/config/route-42efcb4fd08c5099.js +0 -1
  551. package/.next-prod/static/chunks/app/api/services/scripts/route-42efcb4fd08c5099.js +0 -1
  552. package/.next-prod/static/chunks/app/api/session/[sessionId]/fork/route-42efcb4fd08c5099.js +0 -1
  553. package/.next-prod/static/chunks/app/api/session/[sessionId]/history/route-42efcb4fd08c5099.js +0 -1
  554. package/.next-prod/static/chunks/app/api/session/[sessionId]/turn/route-42efcb4fd08c5099.js +0 -1
  555. package/.next-prod/static/chunks/app/api/session/image/route-42efcb4fd08c5099.js +0 -1
  556. package/.next-prod/static/chunks/app/api/session/user-messages/route-42efcb4fd08c5099.js +0 -1
  557. package/.next-prod/static/chunks/app/api/session-bots/route-42efcb4fd08c5099.js +0 -1
  558. package/.next-prod/static/chunks/app/api/session-by-path/route-42efcb4fd08c5099.js +0 -1
  559. package/.next-prod/static/chunks/app/api/session-context/route-42efcb4fd08c5099.js +0 -1
  560. package/.next-prod/static/chunks/app/api/session-title/route-42efcb4fd08c5099.js +0 -1
  561. package/.next-prod/static/chunks/app/api/session-title/suggest/route-42efcb4fd08c5099.js +0 -1
  562. package/.next-prod/static/chunks/app/api/sessions/delegate/route-42efcb4fd08c5099.js +0 -1
  563. package/.next-prod/static/chunks/app/api/sessions/projects/[encodedPath]/route-42efcb4fd08c5099.js +0 -1
  564. package/.next-prod/static/chunks/app/api/sessions/projects/route-42efcb4fd08c5099.js +0 -1
  565. package/.next-prod/static/chunks/app/api/sessions/search/route-42efcb4fd08c5099.js +0 -1
  566. package/.next-prod/static/chunks/app/api/sessions/status/route-42efcb4fd08c5099.js +0 -1
  567. package/.next-prod/static/chunks/app/api/settings/route-42efcb4fd08c5099.js +0 -1
  568. package/.next-prod/static/chunks/app/api/shutdown/route-42efcb4fd08c5099.js +0 -1
  569. package/.next-prod/static/chunks/app/api/skills/[id]/route-42efcb4fd08c5099.js +0 -1
  570. package/.next-prod/static/chunks/app/api/skills/builtin/route-42efcb4fd08c5099.js +0 -1
  571. package/.next-prod/static/chunks/app/api/skills/content/route-42efcb4fd08c5099.js +0 -1
  572. package/.next-prod/static/chunks/app/api/skills/files/route-42efcb4fd08c5099.js +0 -1
  573. package/.next-prod/static/chunks/app/api/skills/route-42efcb4fd08c5099.js +0 -1
  574. package/.next-prod/static/chunks/app/api/snapshots/blob/route-42efcb4fd08c5099.js +0 -1
  575. package/.next-prod/static/chunks/app/api/snapshots/diff/route-42efcb4fd08c5099.js +0 -1
  576. package/.next-prod/static/chunks/app/api/snapshots/range-diff/route-42efcb4fd08c5099.js +0 -1
  577. package/.next-prod/static/chunks/app/api/snapshots/route-42efcb4fd08c5099.js +0 -1
  578. package/.next-prod/static/chunks/app/api/terminal/aliases/route-42efcb4fd08c5099.js +0 -1
  579. package/.next-prod/static/chunks/app/api/terminal/autocomplete/route-42efcb4fd08c5099.js +0 -1
  580. package/.next-prod/static/chunks/app/api/terminal/bubble-order/route-42efcb4fd08c5099.js +0 -1
  581. package/.next-prod/static/chunks/app/api/terminal/env/route-42efcb4fd08c5099.js +0 -1
  582. package/.next-prod/static/chunks/app/api/terminal/history/route-42efcb4fd08c5099.js +0 -1
  583. package/.next-prod/static/chunks/app/api/terminal/running/route-42efcb4fd08c5099.js +0 -1
  584. package/.next-prod/static/chunks/app/api/update/route-42efcb4fd08c5099.js +0 -1
  585. package/.next-prod/static/chunks/app/api/update-state/route-42efcb4fd08c5099.js +0 -1
  586. package/.next-prod/static/chunks/app/api/version/route-42efcb4fd08c5099.js +0 -1
  587. package/.next-prod/static/chunks/app/apps/[...path]/route-42efcb4fd08c5099.js +0 -1
  588. package/.next-prod/static/chunks/app/m/page-50e48b4ba0942454.js +0 -1
  589. package/.next-prod/static/chunks/app/manifest.webmanifest/route-42efcb4fd08c5099.js +0 -1
  590. package/.next-prod/static/chunks/next/dist/client/components/builtin/app-error-42efcb4fd08c5099.js +0 -1
  591. package/.next-prod/static/chunks/next/dist/client/components/builtin/forbidden-42efcb4fd08c5099.js +0 -1
  592. package/.next-prod/static/chunks/next/dist/client/components/builtin/not-found-42efcb4fd08c5099.js +0 -1
  593. package/.next-prod/static/chunks/next/dist/client/components/builtin/unauthorized-42efcb4fd08c5099.js +0 -1
  594. package/.next-prod/static/css/74144fec62c7ff43.css +0 -1
  595. package/dist/deepseek-5QJ2IWS3.mjs +0 -12
  596. package/dist/glm-SIOUQCWL.mjs +0 -14
  597. package/dist/kimi-NKL4WBNS.mjs +0 -14
  598. /package/.next-prod/static/{AO-RPvB4uxOb6-XZ_0YXg → LwAYWBEgXwTIkuj7U9BpE}/_ssgManifest.js +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  kimiApiKey
3
- } from "./chunk-LQISLDJ5.mjs";
3
+ } from "./chunk-SI632CNY.mjs";
4
4
  import {
5
5
  makeAnthropicCompatSpec
6
- } from "./chunk-3S5JGONK.mjs";
6
+ } from "./chunk-N3DTLFZE.mjs";
7
7
 
8
8
  // packages/feature/agent/src/server/engines/kimi.ts
9
9
  var KIMI_OPENAI_BASE_URL = "https://api.kimi.com/coding/v1";
@@ -0,0 +1,13 @@
1
+ import {
2
+ deepseekProvider,
3
+ deepseekSpec
4
+ } from "./chunk-QPFJKR3B.mjs";
5
+ import "./chunk-SI632CNY.mjs";
6
+ import "./chunk-N3DTLFZE.mjs";
7
+ import "./chunk-WSSVELJX.mjs";
8
+ import "./chunk-LSFNZJMR.mjs";
9
+ import "./chunk-7P6ASYW6.mjs";
10
+ export {
11
+ deepseekProvider,
12
+ deepseekSpec
13
+ };
@@ -0,0 +1,15 @@
1
+ import {
2
+ GLM_REGION_IDS,
3
+ glmProvider,
4
+ glmSpec
5
+ } from "./chunk-HJT5ZRYY.mjs";
6
+ import "./chunk-SI632CNY.mjs";
7
+ import "./chunk-N3DTLFZE.mjs";
8
+ import "./chunk-WSSVELJX.mjs";
9
+ import "./chunk-LSFNZJMR.mjs";
10
+ import "./chunk-7P6ASYW6.mjs";
11
+ export {
12
+ GLM_REGION_IDS,
13
+ glmProvider,
14
+ glmSpec
15
+ };
package/dist/httpApi.mjs CHANGED
@@ -35,18 +35,19 @@ import {
35
35
  unregisterBrowser,
36
36
  unregisterTerminal,
37
37
  writeStdinToCommand
38
- } from "./chunk-6QDJ3QAX.mjs";
39
- import "./chunk-G747UZSS.mjs";
40
- import "./chunk-AKBWZB3V.mjs";
41
- import "./chunk-2O6IH2TF.mjs";
42
- import "./chunk-2PDNZOMA.mjs";
43
- import "./chunk-LQISLDJ5.mjs";
44
- import "./chunk-3S5JGONK.mjs";
38
+ } from "./chunk-6QHHEA3D.mjs";
39
+ import "./chunk-T4M6CNFO.mjs";
40
+ import "./chunk-QPFJKR3B.mjs";
41
+ import "./chunk-X4R5HO25.mjs";
42
+ import "./chunk-HJT5ZRYY.mjs";
43
+ import "./chunk-SI632CNY.mjs";
44
+ import "./chunk-N3DTLFZE.mjs";
45
45
  import {
46
46
  getTerminalHistoryPath,
47
47
  tightenPrivateData,
48
48
  tightenSecretFiles
49
- } from "./chunk-S7FDWHAF.mjs";
49
+ } from "./chunk-WSSVELJX.mjs";
50
+ import "./chunk-LSFNZJMR.mjs";
50
51
  import "./chunk-7P6ASYW6.mjs";
51
52
 
52
53
  // src/lib/httpApi.ts
@@ -0,0 +1,15 @@
1
+ import {
2
+ KIMI_OPENAI_BASE_URL,
3
+ kimiProvider,
4
+ kimiSpec
5
+ } from "./chunk-X4R5HO25.mjs";
6
+ import "./chunk-SI632CNY.mjs";
7
+ import "./chunk-N3DTLFZE.mjs";
8
+ import "./chunk-WSSVELJX.mjs";
9
+ import "./chunk-LSFNZJMR.mjs";
10
+ import "./chunk-7P6ASYW6.mjs";
11
+ export {
12
+ KIMI_OPENAI_BASE_URL,
13
+ kimiProvider,
14
+ kimiSpec
15
+ };
@@ -2,21 +2,19 @@ import {
2
2
  AppRuntime,
3
3
  dispatchChat,
4
4
  getEngineSpec
5
- } from "./chunk-G747UZSS.mjs";
6
- import "./chunk-AKBWZB3V.mjs";
7
- import "./chunk-2O6IH2TF.mjs";
8
- import "./chunk-2PDNZOMA.mjs";
9
- import "./chunk-LQISLDJ5.mjs";
5
+ } from "./chunk-T4M6CNFO.mjs";
6
+ import "./chunk-QPFJKR3B.mjs";
7
+ import "./chunk-X4R5HO25.mjs";
8
+ import "./chunk-HJT5ZRYY.mjs";
9
+ import "./chunk-SI632CNY.mjs";
10
10
  import {
11
11
  getRunSessionId,
12
12
  getRunSnapshot,
13
13
  isRunActive,
14
14
  requestStop,
15
15
  updateGlobalState
16
- } from "./chunk-3S5JGONK.mjs";
16
+ } from "./chunk-N3DTLFZE.mjs";
17
17
  import {
18
- AgentError,
19
- Effect_exports,
20
18
  SCHEDULED_TASKS_FILE,
21
19
  findCodexSession,
22
20
  findPiSession,
@@ -30,7 +28,11 @@ import {
30
28
  readJsonFileForUpdate,
31
29
  withFileLock,
32
30
  writeJsonFile
33
- } from "./chunk-S7FDWHAF.mjs";
31
+ } from "./chunk-WSSVELJX.mjs";
32
+ import {
33
+ AgentError,
34
+ Effect_exports
35
+ } from "./chunk-LSFNZJMR.mjs";
34
36
  import "./chunk-7P6ASYW6.mjs";
35
37
 
36
38
  // packages/feature/agent/src/server/scheduledTasks.ts
@@ -286,7 +288,14 @@ var en_default = {
286
288
  enableNotifications: "Enable notifications",
287
289
  disableNotifications: "Disable notifications",
288
290
  notifyError: "Could not enable notifications",
289
- useMobile: "Mobile"
291
+ useMobile: "Mobile",
292
+ newChat: "New chat",
293
+ voiceInput: "Voice input",
294
+ voiceStop: "Stop voice input",
295
+ voiceListening: "Listening\u2026",
296
+ voiceDenied: "Microphone access was denied \u2014 allow it in the browser settings",
297
+ voiceFailed: "Voice input failed: {{reason}}",
298
+ quickInstructionsHint: "Tap to fill the input"
290
299
  },
291
300
  sessions: {
292
301
  recentSessions: "Recent Sessions",
@@ -838,8 +847,13 @@ var en_default = {
838
847
  globalCommands: "Global Commands",
839
848
  projectCommands: "Project Commands",
840
849
  noCustomCommands: "No custom commands yet",
841
- namePlaceholder: "Name",
842
- commandPlaceholder: "Command",
850
+ editGlobalCommands: "Edit global commands",
851
+ editProjectCommands: "Edit project commands",
852
+ quickCommandsTextHint: 'One per line as "name: command". Names may only contain letters, digits, - and _; everything after the first colon is the command.',
853
+ quickCommandsTextPlaceholder: "pg: psql -h localhost -U postgres\ngitpull: git pull --rebase",
854
+ quickCommandsTextError: 'Line {{line}} is invalid; expected "name: command".',
855
+ savingQuickCommands: "Saving...",
856
+ saveQuickCommandsFailed: "Save failed. Your edits are kept; please retry.",
843
857
  restoreTooltip: "Restore ({{modKey}}M / ESC)",
844
858
  screenshotting: "Screenshotting...",
845
859
  outputFileDeleted: "[Output file deleted]"
@@ -1784,7 +1798,14 @@ var zh_default = {
1784
1798
  enableNotifications: "\u5F00\u542F\u901A\u77E5",
1785
1799
  disableNotifications: "\u5173\u95ED\u901A\u77E5",
1786
1800
  notifyError: "\u65E0\u6CD5\u5F00\u542F\u901A\u77E5",
1787
- useMobile: "\u624B\u673A\u7248"
1801
+ useMobile: "\u624B\u673A\u7248",
1802
+ newChat: "\u65B0\u4F1A\u8BDD",
1803
+ voiceInput: "\u8BED\u97F3\u8F93\u5165",
1804
+ voiceStop: "\u505C\u6B62\u8BED\u97F3\u8F93\u5165",
1805
+ voiceListening: "\u6B63\u5728\u542C\u2026",
1806
+ voiceDenied: "\u9EA6\u514B\u98CE\u6743\u9650\u88AB\u62D2\u7EDD\uFF0C\u8BF7\u5728\u6D4F\u89C8\u5668\u8BBE\u7F6E\u91CC\u5141\u8BB8",
1807
+ voiceFailed: "\u8BED\u97F3\u8F93\u5165\u5931\u8D25\uFF1A{{reason}}",
1808
+ quickInstructionsHint: "\u70B9\u4E00\u4E0B\u586B\u5165\u8F93\u5165\u6846"
1788
1809
  },
1789
1810
  sessions: {
1790
1811
  recentSessions: "\u6700\u8FD1\u4F1A\u8BDD",
@@ -2332,8 +2353,13 @@ var zh_default = {
2332
2353
  globalCommands: "\u5168\u5C40\u547D\u4EE4",
2333
2354
  projectCommands: "\u9879\u76EE\u547D\u4EE4",
2334
2355
  noCustomCommands: "\u6682\u65E0\u81EA\u5B9A\u4E49\u547D\u4EE4",
2335
- namePlaceholder: "\u540D\u79F0",
2336
- commandPlaceholder: "\u547D\u4EE4",
2356
+ editGlobalCommands: "\u7F16\u8F91\u5168\u5C40\u547D\u4EE4",
2357
+ editProjectCommands: "\u7F16\u8F91\u9879\u76EE\u547D\u4EE4",
2358
+ quickCommandsTextHint: "\u6BCF\u884C\u4E00\u6761\uFF0C\u683C\u5F0F\u4E3A\u300C\u540D\u79F0: \u547D\u4EE4\u300D\uFF1B\u540D\u79F0\u53EA\u80FD\u5305\u542B\u5B57\u6BCD\u3001\u6570\u5B57\u3001- \u548C _\uFF0C\u7B2C\u4E00\u4E2A\u5192\u53F7\u4E4B\u540E\u90FD\u662F\u547D\u4EE4\u3002",
2359
+ quickCommandsTextPlaceholder: "pg: psql -h localhost -U postgres\ngitpull: git pull --rebase",
2360
+ quickCommandsTextError: "\u7B2C {{line}} \u884C\u683C\u5F0F\u4E0D\u6B63\u786E\uFF0C\u5E94\u4E3A\u300C\u540D\u79F0: \u547D\u4EE4\u300D\u3002",
2361
+ savingQuickCommands: "\u4FDD\u5B58\u4E2D...",
2362
+ saveQuickCommandsFailed: "\u4FDD\u5B58\u5931\u8D25\uFF0C\u4FEE\u6539\u4ECD\u7136\u4FDD\u7559\uFF0C\u8BF7\u91CD\u8BD5\u3002",
2337
2363
  restoreTooltip: "\u8FD8\u539F ({{modKey}}M / ESC)",
2338
2364
  screenshotting: "\u622A\u56FE\u4E2D...",
2339
2365
  outputFileDeleted: "[\u8F93\u51FA\u6587\u4EF6\u5DF2\u5220\u9664]"
@@ -2,7 +2,8 @@ import {
2
2
  isForkableStore,
3
3
  newSessionPathInStore,
4
4
  resolveSessionPath
5
- } from "./chunk-S7FDWHAF.mjs";
5
+ } from "./chunk-WSSVELJX.mjs";
6
+ import "./chunk-LSFNZJMR.mjs";
6
7
  import "./chunk-7P6ASYW6.mjs";
7
8
  export {
8
9
  isForkableStore,
package/dist/wsServer.mjs CHANGED
@@ -29,15 +29,15 @@ import {
29
29
  unregisterBubbleSocket,
30
30
  unregisterExtension,
31
31
  writeStdinToCommand
32
- } from "./chunk-6QDJ3QAX.mjs";
32
+ } from "./chunk-6QHHEA3D.mjs";
33
33
  import {
34
34
  recoverStashedCodexRollouts,
35
35
  recoverStashedTranscripts
36
- } from "./chunk-G747UZSS.mjs";
37
- import "./chunk-AKBWZB3V.mjs";
38
- import "./chunk-2O6IH2TF.mjs";
39
- import "./chunk-2PDNZOMA.mjs";
40
- import "./chunk-LQISLDJ5.mjs";
36
+ } from "./chunk-T4M6CNFO.mjs";
37
+ import "./chunk-QPFJKR3B.mjs";
38
+ import "./chunk-X4R5HO25.mjs";
39
+ import "./chunk-HJT5ZRYY.mjs";
40
+ import "./chunk-SI632CNY.mjs";
41
41
  import {
42
42
  addRunListener,
43
43
  getGlobalSessionsSnapshot,
@@ -45,13 +45,15 @@ import {
45
45
  getRunRecoveries,
46
46
  getRunSnapshot,
47
47
  sanitizedSpawnEnv
48
- } from "./chunk-3S5JGONK.mjs";
48
+ } from "./chunk-N3DTLFZE.mjs";
49
+ import {
50
+ GLOBAL_STATE_FILE
51
+ } from "./chunk-WSSVELJX.mjs";
49
52
  import {
50
53
  AppError,
51
54
  Effect_exports,
52
55
  Either_exports,
53
56
  FSError,
54
- GLOBAL_STATE_FILE,
55
57
  NotFoundError,
56
58
  PubSub_exports,
57
59
  Queue_exports,
@@ -59,7 +61,7 @@ import {
59
61
  Stream_exports,
60
62
  ValidationError,
61
63
  WSError
62
- } from "./chunk-S7FDWHAF.mjs";
64
+ } from "./chunk-LSFNZJMR.mjs";
63
65
  import "./chunk-7P6ASYW6.mjs";
64
66
 
65
67
  // src/lib/wsServer.ts
@@ -121,9 +123,9 @@ var fromWebSocket = (ws, proto) => Effect_exports.gen(function* () {
121
123
 
122
124
  // src/lib/effect/globalStateHandler.ts
123
125
  var HEARTBEAT_INTERVAL = Schedule_exports.spaced("30 seconds");
124
- var sendGlobalState = (conn) => Effect_exports.gen(function* () {
126
+ var sendGlobalState = (conn, limit) => Effect_exports.gen(function* () {
125
127
  const sessions = yield* Effect_exports.tryPromise({
126
- try: () => getGlobalSessionsSnapshot(),
128
+ try: () => getGlobalSessionsSnapshot(limit),
127
129
  catch: (cause) => new FSError({ path: GLOBAL_STATE_FILE, op: "read", cause })
128
130
  });
129
131
  yield* conn.send({ type: "global-state", data: { sessions } });
@@ -152,7 +154,7 @@ var watchStateFile = (trigger) => Effect_exports.acquireRelease(
152
154
  Effect_exports.sync(() => watchGlobalStateFile(() => Effect_exports.runFork(Queue_exports.offer(trigger, void 0)))),
153
155
  (stop) => Effect_exports.sync(stop)
154
156
  ).pipe(Effect_exports.asVoid);
155
- var handleGlobalState = (conn) => Effect_exports.gen(function* () {
157
+ var handleGlobalState = (conn, limit) => Effect_exports.gen(function* () {
156
158
  yield* Effect_exports.forkScoped(
157
159
  Effect_exports.repeat(conn.send({ type: "ping" }), HEARTBEAT_INTERVAL)
158
160
  );
@@ -162,7 +164,7 @@ var handleGlobalState = (conn) => Effect_exports.gen(function* () {
162
164
  yield* Stream_exports.fromQueue(trigger).pipe(
163
165
  Stream_exports.debounce("50 millis"),
164
166
  Stream_exports.mapEffect(
165
- () => sendGlobalState(conn).pipe(
167
+ () => sendGlobalState(conn, limit).pipe(
166
168
  Effect_exports.catchAll(
167
169
  (e) => Effect_exports.sync(() => console.error("[ws/global-state]", e))
168
170
  )
@@ -171,11 +173,11 @@ var handleGlobalState = (conn) => Effect_exports.gen(function* () {
171
173
  Stream_exports.runDrain
172
174
  );
173
175
  });
174
- var runGlobalStateHandler = (ws) => {
176
+ var runGlobalStateHandler = (ws, limit) => {
175
177
  const program = Effect_exports.scoped(
176
178
  Effect_exports.gen(function* () {
177
179
  const conn = yield* fromWebSocket(ws, "global-state");
178
- yield* handleGlobalState(conn);
180
+ yield* handleGlobalState(conn, limit);
179
181
  })
180
182
  );
181
183
  const fiber = Effect_exports.runFork(program);
@@ -1790,6 +1792,33 @@ function extractImportBindings(root) {
1790
1792
  }
1791
1793
  return out;
1792
1794
  }
1795
+ function extractPythonImportBindingsDeep(root) {
1796
+ const out = extractImportBindings(root);
1797
+ const bound = new Set(out.map((b) => b.localName));
1798
+ const stack = [];
1799
+ for (let i = 0; i < root.namedChildCount; i++) {
1800
+ const n = root.namedChild(i);
1801
+ if (n && n.type !== "import_statement" && n.type !== "import_from_statement") stack.push(n);
1802
+ }
1803
+ while (stack.length) {
1804
+ const n = stack.pop();
1805
+ if (n.type === "import_statement" || n.type === "import_from_statement") {
1806
+ const nested = [];
1807
+ if (n.type === "import_statement") extractPythonImportBindings(n, nested);
1808
+ else extractPythonFromBindings(n, nested);
1809
+ for (const b of nested) if (!bound.has(b.localName)) {
1810
+ bound.add(b.localName);
1811
+ out.push(b);
1812
+ }
1813
+ continue;
1814
+ }
1815
+ for (let i = 0; i < n.namedChildCount; i++) {
1816
+ const c = n.namedChild(i);
1817
+ if (c) stack.push(c);
1818
+ }
1819
+ }
1820
+ return out;
1821
+ }
1793
1822
  function extractJsTsBindings(n, src, out) {
1794
1823
  const specifier = stripQuotes(src.text);
1795
1824
  let clause = null;
@@ -2659,7 +2688,14 @@ function walkForPythonImports(root) {
2659
2688
  }
2660
2689
  case "import_from_statement": {
2661
2690
  const spec = readPythonModuleSpec(node);
2662
- if (spec) out.push(spec);
2691
+ if (!spec) return;
2692
+ out.push(spec);
2693
+ for (let i = 0; i < node.childCount; i++) {
2694
+ const c = node.child(i);
2695
+ if (!c || node.fieldNameForChild(i) !== "name") continue;
2696
+ const nameNode = c.type === "aliased_import" ? c.childForFieldName("name") : c;
2697
+ if (nameNode?.type === "dotted_name") out.push(pythonSubmoduleSpec(spec, nameNode.text));
2698
+ }
2663
2699
  return;
2664
2700
  }
2665
2701
  }
@@ -2671,6 +2707,9 @@ function walkForPythonImports(root) {
2671
2707
  visit(root);
2672
2708
  return out;
2673
2709
  }
2710
+ function pythonSubmoduleSpec(spec, name) {
2711
+ return /^\.+$/.test(spec) ? spec + name : `${spec}.${name}`;
2712
+ }
2674
2713
  function readPythonModuleSpec(node) {
2675
2714
  const moduleNode = node.childForFieldName("module_name");
2676
2715
  if (!moduleNode) return "";
@@ -3007,7 +3046,7 @@ var pythonHandler = {
3007
3046
  },
3008
3047
  extractImports(root) {
3009
3048
  const specs = extractImportsFromTree(root, "python");
3010
- const bindings = extractImportBindings(root);
3049
+ const bindings = extractPythonImportBindingsDeep(root);
3011
3050
  return { specs, bindings };
3012
3051
  },
3013
3052
  extractCallSites(root, _symbols) {
@@ -3052,14 +3091,11 @@ var pythonHandler = {
3052
3091
  const recvBinding = fromFile.bindingsByLocalName.get(call.receiverName);
3053
3092
  if (!recvBinding) return [];
3054
3093
  const recvFilePath = fromFile.resolvedImports.get(recvBinding.specifier);
3055
- if (!recvFilePath) return [];
3056
- const recvTarget = allFiles.get(recvFilePath);
3057
- if (!recvTarget) return [];
3058
- const sym2 = findReceiverMethodPy(
3059
- recvTarget,
3060
- recvBinding.importedName,
3061
- call.calleeName
3062
- );
3094
+ const recvTarget = recvFilePath ? allFiles.get(recvFilePath) : void 0;
3095
+ const subFile = recvBinding.importedName !== "*" ? fromFile.resolvedImports.get(pythonSubmoduleSpec(recvBinding.specifier, recvBinding.importedName)) : void 0;
3096
+ const subTarget = subFile ? allFiles.get(subFile) : void 0;
3097
+ if (!recvTarget && !subTarget) return [];
3098
+ const sym2 = (recvTarget ? findReceiverMethodPy(recvTarget, recvBinding.importedName, call.calleeName) : null) ?? (subTarget ? findReceiverMethodPy(subTarget, "*", call.calleeName) : null);
3063
3099
  if (sym2) {
3064
3100
  return [
3065
3101
  {
@@ -4641,7 +4677,8 @@ var wss = g_ws.__cockpitWss ?? (() => {
4641
4677
  } else if (pathname === "/ws/global-state") {
4642
4678
  globalStateClients.add(ws);
4643
4679
  ws.on("close", () => globalStateClients.delete(ws));
4644
- runGlobalStateHandler(ws);
4680
+ const limit = Number(query.limit);
4681
+ runGlobalStateHandler(ws, Number.isInteger(limit) && limit > 0 ? limit : void 0);
4645
4682
  } else if (pathname === "/ws/terminal") {
4646
4683
  runTerminalHandler(ws, query.projectCwd);
4647
4684
  } else if (pathname === "/ws/bash") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surething/cockpit",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
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",
@@ -97,7 +97,7 @@
97
97
  "predev": "node scripts/copy-tree-sitter-wasms.mjs && node scripts/copy-pdfjs-worker.mjs && node scripts/build-html-lib.mjs",
98
98
  "dev": "COCKPIT_ENV=dev node --import tsx server.mjs",
99
99
  "prepublishOnly": "npm run check-agents && npm run build && npm run build:server && rm -rf .next-prod/cache",
100
- "prebuild": "node scripts/copy-tree-sitter-wasms.mjs && node scripts/copy-pdfjs-worker.mjs && node scripts/build-html-lib.mjs",
100
+ "prebuild": "node scripts/clear-build-cache.mjs && node scripts/copy-tree-sitter-wasms.mjs && node scripts/copy-pdfjs-worker.mjs && node scripts/build-html-lib.mjs",
101
101
  "build": "next build --webpack",
102
102
  "postbuild": "node scripts/stamp-build.mjs",
103
103
  "build:server": "tsup --config tsup.server.ts",
@@ -116,7 +116,7 @@
116
116
  },
117
117
  "dependencies": {
118
118
  "@ai-sdk/openai": "^3.0.52",
119
- "@anthropic-ai/claude-agent-sdk": "0.3.331",
119
+ "@anthropic-ai/claude-agent-sdk": "0.3.333",
120
120
  "@dagrejs/dagre": "^3.0.0",
121
121
  "@earendil-works/pi-ai": "1.4.0",
122
122
  "@earendil-works/pi-coding-agent": "1.4.0",
@@ -341,7 +341,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
341
341
  `:""}return uv.dump=se,uv}var hM;function mZ(){if(hM)return Ln;hM=1;let e=pZ(),t=fZ();function n(r,a){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. Use yaml."+a+" instead, which is now safe by default.")}}return Ln.Type=Yn(),Ln.Schema=gM(),Ln.FAILSAFE_SCHEMA=TM(),Ln.JSON_SCHEMA=kM(),Ln.CORE_SCHEMA=wM(),Ln.DEFAULT_SCHEMA=cv(),Ln.load=e.load,Ln.loadAll=e.loadAll,Ln.dump=t.dump,Ln.YAMLException=sh(),Ln.types={binary:CM(),float:AM(),map:yM(),null:SM(),pairs:IM(),set:OM(),timestamp:_M(),bool:vM(),int:xM(),merge:NM(),omap:RM(),seq:EM(),str:bM()},Ln.safeLoad=n("safeLoad","load"),Ln.safeLoadAll=n("safeLoadAll","loadAll"),Ln.safeDump=n("safeDump","dump"),Ln}var hZ=mZ(),dv=cZ(hZ),{Type:r6e,Schema:a6e,FAILSAFE_SCHEMA:i6e,JSON_SCHEMA:o6e,CORE_SCHEMA:s6e,DEFAULT_SCHEMA:l6e,load:u6e,loadAll:c6e,dump:d6e,YAMLException:p6e,types:f6e,safeLoad:m6e,safeLoadAll:h6e,safeDump:g6e}=dv;var DM=Ye(LM(),1),lh=Object.assign(Rs(Error),{eval:Rs(EvalError),range:Rs(RangeError),reference:Rs(ReferenceError),syntax:Rs(SyntaxError),type:Rs(TypeError),uri:Rs(URIError)});function Rs(e){return t.displayName=e.displayName||e.name,t;function t(n,...r){let a=n&&(0,DM.default)(n,...r);return new e(a)}}var uE={}.hasOwnProperty,MM={yaml:"-",toml:"+"};function Wl(e){let t=[],n=-1,r=Array.isArray(e)?e:e?[e]:["yaml"];for(;++n<r.length;)t[n]=gZ(r[n]);return t}function gZ(e){let t=e;if(typeof t=="string"){if(!uE.call(MM,t))throw lh("Missing matter definition for `%s`",t);t={type:t,marker:MM[t]}}else if(typeof t!="object")throw lh("Expected matter to be an object, not `%j`",t);if(!uE.call(t,"type"))throw lh("Missing `type` in matter `%j`",t);if(!uE.call(t,"fence")&&!uE.call(t,"marker"))throw lh("Missing `marker` or `fence` in matter `%j`",t);return t}function mv(e){let t=Wl(e),n={},r=-1;for(;++r<t.length;){let a=t[r],i=fv(a,"open").charCodeAt(0),o=bZ(a),s=n[i];Array.isArray(s)?s.push(o):n[i]=[o]}return{flow:n}}function bZ(e){let t=e.anywhere,n=e.type,r=n+"Fence",a=r+"Sequence",i=n+"Value",o={tokenize:c,partial:!0},s,l=0;return{tokenize:u,concrete:!0};function u(d,p,f){let b=this;return v;function v(U){let Y=b.now();return Y.column===1&&(Y.line===1||t)&&(s=fv(e,"open"),l=0,U===s.charCodeAt(l))?(d.enter(n),d.enter(r),d.enter(a),A(U)):f(U)}function A(U){return l===s.length?(d.exit(a),Ce(U)?(d.enter("whitespace"),y(U)):T(U)):U===s.charCodeAt(l++)?(d.consume(U),A):f(U)}function y(U){return Ce(U)?(d.consume(U),y):(d.exit("whitespace"),T(U))}function T(U){return be(U)?(d.exit(r),d.enter("lineEnding"),d.consume(U),d.exit("lineEnding"),s=fv(e,"close"),l=0,d.attempt(o,D,S)):f(U)}function S(U){return U===null||be(U)?P(U):(d.enter(i),C(U))}function C(U){return U===null||be(U)?(d.exit(i),P(U)):(d.consume(U),C)}function P(U){return U===null?f(U):(d.enter("lineEnding"),d.consume(U),d.exit("lineEnding"),d.attempt(o,D,S))}function D(U){return d.exit(n),p(U)}}function c(d,p,f){let b=0;return v;function v(S){return S===s.charCodeAt(b)?(d.enter(r),d.enter(a),A(S)):f(S)}function A(S){return b===s.length?(d.exit(a),Ce(S)?(d.enter("whitespace"),y(S)):T(S)):S===s.charCodeAt(b++)?(d.consume(S),A):f(S)}function y(S){return Ce(S)?(d.consume(S),y):(d.exit("whitespace"),T(S))}function T(S){return S===null||be(S)?(d.exit(r),p(S)):f(S)}}}function fv(e,t){return e.marker?zM(e.marker,t).repeat(3):zM(e.fence,t)}function zM(e,t){return typeof e=="string"?e:e[t]}function hv(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function bv(e){let t=Wl(e),n={},r={},a=-1;for(;++a<t.length;){let i=t[a];n[i.type]=EZ(i),r[i.type]=yZ,r[i.type+"Value"]=TZ}return{enter:n,exit:r}}function EZ(e){return t;function t(n){this.enter({type:e.type,value:""},n),this.buffer()}}function yZ(e){let t=this.resume(),n=this.stack[this.stack.length-1];"value"in n,this.exit(e),n.value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,"")}function TZ(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function Ev(e){let t=[],n={},r=Wl(e),a=-1;for(;++a<r.length;){let i=r[a];n[i.type]=SZ(i);let o=gv(i,"open");t.push({atBreak:!0,character:o.charAt(0),after:hv(o.charAt(1))})}return{unsafe:t,handlers:n}}function SZ(e){let t=gv(e,"open"),n=gv(e,"close");return r;function r(a){return t+(a.value?`
342
342
  `+a.value:"")+`
343
343
  `+n}}function gv(e,t){return e.marker?BM(e.marker,t).repeat(3):BM(e.fence,t)}function BM(e,t){return typeof e=="string"?e:e[t]}var vZ="yaml";function cE(e){let t=this,n=e||vZ,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(mv(n)),i.push(bv(n)),o.push(Ev(n))}function dE(e){return{type:"tableCell",children:[{type:"text",value:e}]}}function xZ(e){if(e==null)return"";if(typeof e=="string")return e.replace(/\s*\n\s*/g," ").trim();if(typeof e=="number"||typeof e=="boolean")return String(e);try{return JSON.stringify(e)}catch{return String(e)}}function AZ(){return e=>{let t=e.children;for(let n=0;n<t.length;n++){let r=t[n];if(r.type!=="yaml")continue;let a=null;try{let l=dv.load(r.value??"");l&&typeof l=="object"&&!Array.isArray(l)&&(a=l)}catch{a=null}let i=a?Object.entries(a):[];if(i.length===0){t.splice(n,1),n--;continue}let o={type:"tableRow",children:[dE("Field"),dE("Value")]},s=i.map(([l,u])=>({type:"tableRow",children:[dE(l),dE(xZ(u))]}));t[n]={type:"table",align:["left","left"],children:[o,...s]}}}}var yv=[cE,AZ];function kZ(e,t,n,r){return e.slice(n,n+2)==="$$"?!0:!(!t||/^\s|\s$/.test(t)||/\d/.test(e[n-1]??"")||/\d/.test(e[r]??""))}function UM(e,t){let n=e.children;if(n)for(let r=0;r<n.length;r++)t(n[r],r,e),UM(n[r],t)}function PM(){return(e,t)=>{let n=String(t?.value??"");n&&UM(e,(r,a,i)=>{if(r.type!=="inlineMath")return;let o=r.position?.start?.offset,s=r.position?.end?.offset;o===void 0||s===void 0||kZ(n,r.value??"",o,s)||(i.children[a]={type:"text",value:n.slice(o,s),position:r.position})})}}function FM(e){return!(!e.trim()||/\n[ \t]*\n/.test(e)||e.includes("$"))}function Tv(e){if(!e.includes("\\(")&&!e.includes("\\["))return e;let t=[],n=i=>(t.push(i),`\0MATHMASK${t.length-1}\0`);return e.replace(/```[\s\S]*?```/g,n).replace(/~~~[\s\S]*?~~~/g,n).replace(/`[^`\n]+`/g,n).replace(/\\\[([^\u0000]*?)\\\]/g,(i,o)=>FM(o)?`$$${o}$$`:i).replace(/\\\(([^\u0000]*?)\\\)/g,(i,o)=>FM(o)?`$${o}$`:i).replace(/\u0000MATHMASK(\d+)\u0000/g,(i,o)=>t[+o])}var Me={carriageReturn:-5,lineFeed:-4,carriageReturnLineFeed:-3,horizontalTab:-2,virtualSpace:-1,eof:null,nul:0,soh:1,stx:2,etx:3,eot:4,enq:5,ack:6,bel:7,bs:8,ht:9,lf:10,vt:11,ff:12,cr:13,so:14,si:15,dle:16,dc1:17,dc2:18,dc3:19,dc4:20,nak:21,syn:22,etb:23,can:24,em:25,sub:26,esc:27,fs:28,gs:29,rs:30,us:31,space:32,exclamationMark:33,quotationMark:34,numberSign:35,dollarSign:36,percentSign:37,ampersand:38,apostrophe:39,leftParenthesis:40,rightParenthesis:41,asterisk:42,plusSign:43,comma:44,dash:45,dot:46,slash:47,digit0:48,digit1:49,digit2:50,digit3:51,digit4:52,digit5:53,digit6:54,digit7:55,digit8:56,digit9:57,colon:58,semicolon:59,lessThan:60,equalsTo:61,greaterThan:62,questionMark:63,atSign:64,uppercaseA:65,uppercaseB:66,uppercaseC:67,uppercaseD:68,uppercaseE:69,uppercaseF:70,uppercaseG:71,uppercaseH:72,uppercaseI:73,uppercaseJ:74,uppercaseK:75,uppercaseL:76,uppercaseM:77,uppercaseN:78,uppercaseO:79,uppercaseP:80,uppercaseQ:81,uppercaseR:82,uppercaseS:83,uppercaseT:84,uppercaseU:85,uppercaseV:86,uppercaseW:87,uppercaseX:88,uppercaseY:89,uppercaseZ:90,leftSquareBracket:91,backslash:92,rightSquareBracket:93,caret:94,underscore:95,graveAccent:96,lowercaseA:97,lowercaseB:98,lowercaseC:99,lowercaseD:100,lowercaseE:101,lowercaseF:102,lowercaseG:103,lowercaseH:104,lowercaseI:105,lowercaseJ:106,lowercaseK:107,lowercaseL:108,lowercaseM:109,lowercaseN:110,lowercaseO:111,lowercaseP:112,lowercaseQ:113,lowercaseR:114,lowercaseS:115,lowercaseT:116,lowercaseU:117,lowercaseV:118,lowercaseW:119,lowercaseX:120,lowercaseY:121,lowercaseZ:122,leftCurlyBrace:123,verticalBar:124,rightCurlyBrace:125,tilde:126,del:127,byteOrderMarker:65279,replacementCharacter:65533};var Ra={attentionSideAfter:2,attentionSideBefore:1,atxHeadingOpeningFenceSizeMax:6,autolinkDomainSizeMax:63,autolinkSchemeSizeMax:32,cdataOpeningString:"CDATA[",characterGroupPunctuation:2,characterGroupWhitespace:1,characterReferenceDecimalSizeMax:7,characterReferenceHexadecimalSizeMax:6,characterReferenceNamedSizeMax:31,codeFencedSequenceSizeMin:3,contentTypeContent:"content",contentTypeDocument:"document",contentTypeFlow:"flow",contentTypeString:"string",contentTypeText:"text",hardBreakPrefixSizeMin:2,htmlBasic:6,htmlCdata:5,htmlComment:2,htmlComplete:7,htmlDeclaration:4,htmlInstruction:3,htmlRawSizeMax:8,htmlRaw:1,linkResourceDestinationBalanceMax:32,linkReferenceSizeMax:999,listItemValueSizeMax:10,numericBaseDecimal:10,numericBaseHexadecimal:16,tabSize:4,thematicBreakMarkerCountMin:3,v8MaxSafeChunkSize:1e4};var Ar={data:"data",whitespace:"whitespace",lineEnding:"lineEnding",lineEndingBlank:"lineEndingBlank",linePrefix:"linePrefix",lineSuffix:"lineSuffix",atxHeading:"atxHeading",atxHeadingSequence:"atxHeadingSequence",atxHeadingText:"atxHeadingText",autolink:"autolink",autolinkEmail:"autolinkEmail",autolinkMarker:"autolinkMarker",autolinkProtocol:"autolinkProtocol",characterEscape:"characterEscape",characterEscapeValue:"characterEscapeValue",characterReference:"characterReference",characterReferenceMarker:"characterReferenceMarker",characterReferenceMarkerNumeric:"characterReferenceMarkerNumeric",characterReferenceMarkerHexadecimal:"characterReferenceMarkerHexadecimal",characterReferenceValue:"characterReferenceValue",codeFenced:"codeFenced",codeFencedFence:"codeFencedFence",codeFencedFenceSequence:"codeFencedFenceSequence",codeFencedFenceInfo:"codeFencedFenceInfo",codeFencedFenceMeta:"codeFencedFenceMeta",codeFlowValue:"codeFlowValue",codeIndented:"codeIndented",codeText:"codeText",codeTextData:"codeTextData",codeTextPadding:"codeTextPadding",codeTextSequence:"codeTextSequence",content:"content",definition:"definition",definitionDestination:"definitionDestination",definitionDestinationLiteral:"definitionDestinationLiteral",definitionDestinationLiteralMarker:"definitionDestinationLiteralMarker",definitionDestinationRaw:"definitionDestinationRaw",definitionDestinationString:"definitionDestinationString",definitionLabel:"definitionLabel",definitionLabelMarker:"definitionLabelMarker",definitionLabelString:"definitionLabelString",definitionMarker:"definitionMarker",definitionTitle:"definitionTitle",definitionTitleMarker:"definitionTitleMarker",definitionTitleString:"definitionTitleString",emphasis:"emphasis",emphasisSequence:"emphasisSequence",emphasisText:"emphasisText",escapeMarker:"escapeMarker",hardBreakEscape:"hardBreakEscape",hardBreakTrailing:"hardBreakTrailing",htmlFlow:"htmlFlow",htmlFlowData:"htmlFlowData",htmlText:"htmlText",htmlTextData:"htmlTextData",image:"image",label:"label",labelText:"labelText",labelLink:"labelLink",labelImage:"labelImage",labelMarker:"labelMarker",labelImageMarker:"labelImageMarker",labelEnd:"labelEnd",link:"link",paragraph:"paragraph",reference:"reference",referenceMarker:"referenceMarker",referenceString:"referenceString",resource:"resource",resourceDestination:"resourceDestination",resourceDestinationLiteral:"resourceDestinationLiteral",resourceDestinationLiteralMarker:"resourceDestinationLiteralMarker",resourceDestinationRaw:"resourceDestinationRaw",resourceDestinationString:"resourceDestinationString",resourceMarker:"resourceMarker",resourceTitle:"resourceTitle",resourceTitleMarker:"resourceTitleMarker",resourceTitleString:"resourceTitleString",setextHeading:"setextHeading",setextHeadingText:"setextHeadingText",setextHeadingLine:"setextHeadingLine",setextHeadingLineSequence:"setextHeadingLineSequence",strong:"strong",strongSequence:"strongSequence",strongText:"strongText",thematicBreak:"thematicBreak",thematicBreakSequence:"thematicBreakSequence",blockQuote:"blockQuote",blockQuotePrefix:"blockQuotePrefix",blockQuoteMarker:"blockQuoteMarker",blockQuotePrefixWhitespace:"blockQuotePrefixWhitespace",listOrdered:"listOrdered",listUnordered:"listUnordered",listItemIndent:"listItemIndent",listItemMarker:"listItemMarker",listItemPrefix:"listItemPrefix",listItemPrefixWhitespace:"listItemPrefixWhitespace",listItemValue:"listItemValue",chunkDocument:"chunkDocument",chunkContent:"chunkContent",chunkFlow:"chunkFlow",chunkText:"chunkText",chunkString:"chunkString"};var HM=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],GM=12288,qM=65510,jM=[12288,12288,65281,65376,65504,65510],$M=8361,YM=65518,VM=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],XM=32,KM=10630,WM=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],ZM=4352,QM=262141,Sv=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101594,101631,101664,101760,101874,101888,102801,102816,102866,110576,110579,110581,110587,110589,110590,110592,110888,110898,110898,110928,110930,110933,110933,110948,110952,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127406,127406,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128729,128732,128735,128747,128748,128756,128764,128986,128986,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129734,129736,129736,129740,129757,129759,129771,129775,129786,131072,196605,196608,262141];var Zl=(e,t)=>{let n=0,r=Math.floor(e.length/2)-1;for(;n<=r;){let a=Math.floor((n+r)/2),i=a*2;if(t<e[i])r=a-1;else if(t>e[i+1])n=a+1;else return!0}return!1};var JM=19968,[NZ,CZ]=RZ(Sv);function RZ(e){let t=e[0],n=e[1];for(let r=0;r<e.length;r+=2){let a=e[r],i=e[r+1];if(JM>=a&&JM<=i)return[a,i];i-a>n-t&&(t=a,n=i)}return[t,n]}var ez=e=>e<161||e>1114109?!1:Zl(HM,e),tz=e=>e<GM||e>qM?!1:Zl(jM,e),IZ=e=>e<$M||e>YM?!1:Zl(VM,e),OZ=e=>e<XM||e>KM?!1:Zl(WM,e),nz=e=>e>=NZ&&e<=CZ?!0:e<ZM||e>QM?!1:Zl(Sv,e);function rz(e){return ez(e)?"ambiguous":tz(e)?"fullwidth":IZ(e)?"halfwidth":OZ(e)?"narrow":nz(e)?"wide":"neutral"}function LZ(e){if(!Number.isSafeInteger(e))throw new TypeError(`Expected a code point, got \`${typeof e}\`.`)}function az(e){return LZ(e),rz(e)}function DZ(e){return/^\p{Emoji_Presentation}/u.test(String.fromCodePoint(e))}function iz(e){if(!e||e<4352)return!1;switch(az(e)){case"fullwidth":case"halfwidth":return!0;case"wide":return!DZ(e);case"narrow":return!1;case"ambiguous":return 917760<=e&&e<=917999?null:!1;case"neutral":return/^\p{sc=Hangul}/u.test(String.fromCodePoint(e))}}function oz(e,t){return t!==65025||!e||e<8216?!1:e===8216||e===8217||e===8220||e===8221}function sz(e){return e!==null&&e>=65024&&e<=65038}var lz=cz(/\p{P}|\p{S}/u),uz=cz(/\s/);function cz(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCodePoint(n))}}function _t(e){return!!(e&Ra.characterGroupWhitespace)}function Vn(e){return(e&Xn.cjkPunctuation)===Ra.characterGroupPunctuation}function Ia(e){return!!(e&Xn.cjk)}function vv(e){return e===Xn.ivs}function la(e){return!!(e&Xn.cjkOrIvs)}function wi(e){return e===Xn.nonEmojiGeneralUseVS}function Is(e){return!!(e&Xn.spaceOrPunctuation)}var Xn;(function(e){e.spaceOrPunctuation=3,e.cjk=4096,e.cjkPunctuation=4098,e.ivs=8192,e.cjkOrIvs=12288,e.nonEmojiGeneralUseVS=16384,e.variationSelector=24576,e.ivsToCjkRightShift=1})(Xn||(Xn={}));function Wt(e){if(e===Me.eof||$e(e)||uz(e))return Ra.characterGroupWhitespace;let t=0;if(e>=4352){if(sz(e))return Xn.nonEmojiGeneralUseVS;switch(iz(e)){case null:return Xn.ivs;case!0:t|=Xn.cjk;break}}return lz(e)&&(t|=Ra.characterGroupPunctuation),t}function _i(e,t,n){if(!wi(e))return e;let r=t(),a=Wt(r);return!r||_t(a)?e:oz(r,n)?Xn.cjkPunctuation:MZ(a)}function MZ(e){return e&~Xn.ivs}function uh(e){return!!(e&&e>=55296&&e<=56319)}function ch(e){return!!(e&&e>=56320&&e<=57343)}function dh(e,t,n){if(t._bufferIndex<2)return e;let r=n({start:{...t,_bufferIndex:t._bufferIndex-2},end:t}).codePointAt(0);return r&&r>=65536?r:e}function dz(e,t,n){let r=e>=65536?2:1;if(t._bufferIndex<1+r)return null;let a=t._bufferIndex-r-2,i=n({start:{...t,_bufferIndex:a>=0?a:0},end:{...t,_bufferIndex:t._bufferIndex-r}}),o=i.charCodeAt(i.length-1);if(Number.isNaN(o))return null;if(i.length<2||o<56320||57343<o)return o;let s=i.codePointAt(0);return s&&s>=65536?s:o}var ph=class{cachedValue=void 0;constructor(e,t,n){this.previousCode=e,this.nowPoint=t,this.sliceSerialize=n}value(){return this.cachedValue===void 0&&(this.cachedValue=dz(this.previousCode,this.nowPoint,this.sliceSerialize)),this.cachedValue}};function fh(e,t,n){let r=n({start:t,end:{...t,_bufferIndex:t._bufferIndex+2}}).codePointAt(0);return r&&r>=65536?r:e}var pE={name:"attention",resolveAll:zZ,tokenize:BZ};function zZ(e,t){let n=-1,r,a,i,o,s,l,u,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let d={...e[r][1].end},p={...e[n][1].start};pz(d,-l),pz(p,l),o={type:l>1?Ar.strongSequence:Ar.emphasisSequence,start:d,end:{...e[r][1].end}},s={type:l>1?Ar.strongSequence:Ar.emphasisSequence,start:{...e[n][1].start},end:p},i={type:l>1?Ar.strongText:Ar.emphasisText,start:{...e[r][1].end},end:{...e[n][1].start}},a={type:l>1?Ar.strong:Ar.emphasis,start:{...o.start},end:{...s.end}},e[r][1].end={...o.start},e[n][1].start={...s.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Kt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Kt(u,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),t.parser.constructs.insideSpan.null,u=Kt(u,Gr(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Kt(u,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=Kt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,Et(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function BZ(e,t){let n=this.parser.constructs.attentionMarkers.null,{now:r,sliceSerialize:a,previous:i}=this,o=ch(i)?dh(i,r(),a):i,s=Wt(o),l=new ph(o,r(),a),u=_i(s,l.value.bind(l),o),c;return d;function d(f){return f===Me.asterisk||Me.underscore,c=f,e.enter("attentionSequence"),p(f)}function p(f){if(f===c)return e.consume(f),p;let b=e.exit("attentionSequence"),v=uh(f)?fh(f,r(),a):f,A=Wt(v);let y=Vn(u),T=o===Me.asterisk||o===Me.underscore,S=y||_t(u)||T,C=Vn(A),P=f===Me.asterisk||f===Me.underscore,D=C||_t(A)||P,U=la(u),Y=!D||C&&(S||U)||n.includes(f)&&f!==Me.asterisk&&f!==Me.underscore,q=!S||y&&(D||Ia(A))||n.includes(o)&&o!==Me.asterisk&&o!==Me.underscore;return b._open=!!(c===Me.asterisk?Y:Y&&(Is(u)||!q)),b._close=!!(c===Me.asterisk?q:q&&(Is(A)||!Y)),t(f)}}function pz(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function fz(){return{text:{[Me.asterisk]:pE,[Me.underscore]:pE},insideSpan:{null:[pE]}}}function mz(){let e=this.data();(e.micromarkExtensions||(e.micromarkExtensions=[])).push(fz())}var FZ=";".codePointAt(0)??Me.eof,UZ="&".codePointAt(0)??Me.eof;function yz(){return{handlers:{emphasis:Tz,strong:Sz,text:PZ}}}Tz.peek=vz;Sz.peek=xz;function Tz(e,t,n,r){return Az(e,t,n,r,vz(e,t,n),1)}function Sz(e,t,n,r){return Az(e,t,n,r,xz(e,t,n),2)}function vz(e,t,n){return n.options.emphasis||"*"}function xz(e,t,n){return n.options.strong||"*"}function Az(e,t,n,r,a,i){let o=a.repeat(i),s=n.enter(i===1?"emphasis":"strong"),l=n.createTracker(r),u=l.move(o),c=l.move(n.containerPhrasing(e,{after:a,before:u,...l.current()})),d=qZ(e,t,n,r.before),p=jZ(e,t,n,r.after),f=hz(d,fE(c),a,"open");f.inside&&c&&(c=KZ(c));let b=hz({current:kv(c),previous:Av(c)},p,a,"close");b.inside&&c&&(c=WZ(c));let v=l.move(o);s();let A=b.outside&&XZ(t,n);return n.attentionEncodeSurroundingInfo={after:b.outside&&!A,before:f.outside},n.cjkFriendlyEncodeAfterSupplementaryText=A,u+c+v}function PZ(e,t,n,r){let a=n;if(!a.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);a.cjkFriendlyEncodeAfterSupplementaryText=!1;let[i=""]=[...e.value],o=e.value.slice(i.length);return`${_v(i.codePointAt(0)??Me.eof)}${n.safe(o,{...r,before:";"})}`}function hz(e,t,n,r){let a=wv(e),i=Wt(t);if(!la(a)&&!la(i))return r==="open"?gz(a,i,n):gz(i,a,n);let o={inside:!1,outside:!1},s={inside:!0,outside:!1},l={inside:!1,outside:!0},u={inside:!0,outside:!0};for(let c of[o,s,l,u]){let d=r==="open"?c.outside?bz:e:c.inside?bz:e,p=r==="open"?c.inside?Ez:t:c.outside?Ez:t;if(r==="open"?HZ(n,d,p):GZ(n,d,p))return c}return u}function gz(e,t,n){return xv(e)?xv(t)?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:_t(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:_t(e)?xv(t)?{inside:!1,outside:!1}:_t(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:_t(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function HZ(e,t,n){let r=wv(t),{close:a,open:i}=kz(r,Wt(n));return e==="_"?i&&(Is(r)||!a):i}function GZ(e,t,n){let r=Wt(n),{close:a,open:i}=kz(wv(t),r);return e==="_"?a&&(Is(r)||!i):a}function kz(e,t){let n=Vn(e),r=n||_t(e),a=Vn(t),i=a||_t(t);return{open:!i||a&&(r||la(e)),close:!r||n&&(i||Ia(t))}}function xv(e){return!_t(e)&&!Vn(e)}function wv(e){let t=Wt(e.current);return e.current===null||!wi(t)?t:_i(t,()=>e.previous,e.current)}function qZ(e,t,n,r){let a=kv(r),i=Av(r);if($Z(a)||VZ(a,i)){let o=wz(e,t,n,-1);o&&(a=kv(o),i=Av(o))}return{current:a,previous:i}}function jZ(e,t,n,r){let a=fE(r);if(!YZ(a))return a;let i=wz(e,t,n,1);return i?fE(i):a}function $Z(e){return e!==null&&56320<=e&&e<=57343}function YZ(e){return e!==null&&55296<=e&&e<=56319}function VZ(e,t){return wi(Wt(e))&&(t===null||t===Me.eof)}function wz(e,t,n,r){if(!t)return;let a=n.indexStack.at(-1),i=t.children,o=typeof a=="number"?a:i.indexOf(e);if(o<0)return;let s=i[o+r];return _z(s)||void 0}function XZ(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if(typeof n!="number")return!1;let r=e.children[n+1];return r?.type==="text"&&(fE(r.value)??0)>65535}function _z(e){return!e||typeof e!="object"?"":"value"in e&&typeof e.value=="string"?e.value:"alt"in e&&typeof e.alt=="string"?e.alt:"children"in e&&Array.isArray(e.children)?e.children.map(_z).join(""):""}function _v(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function KZ(e){let[t=""]=[...e];return _v(t.codePointAt(0)??Me.eof)+e.slice(t.length)}function WZ(e){let t=[...e],n=t.pop();return`${t.join("")}${_v(n?.codePointAt(0)??Me.eof)}`}function Av(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??Me.eof}function fE(e){return e.codePointAt(0)??Me.eof}function kv(e){return[...e].at(-1)?.codePointAt(0)??Me.eof}var bz={current:FZ,previous:Me.eof},Ez=UZ;function Nz(){let e=this.data();(e.toMarkdownExtensions||(e.toMarkdownExtensions=[])).push(yz())}function Cz(){mz.call(this),Nz.call(this)}var Rz=Cz;function Nv(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:a,resolveAll:r};return t==null&&(t=!0),{text:{[Me.tilde]:n},insideSpan:{null:[n]},attentionMarkers:{null:[Me.tilde]}};function r(i,o){let s=-1;for(;++s<i.length;)if(i[s][0]==="enter"&&i[s][1].type==="strikethroughSequenceTemporary"&&i[s][1]._close){let l=s;for(;l--;)if(i[l][0]==="exit"&&i[l][1].type==="strikethroughSequenceTemporary"&&i[l][1]._open&&i[s][1].end.offset-i[s][1].start.offset===i[l][1].end.offset-i[l][1].start.offset){i[s][1].type="strikethroughSequence",i[l][1].type="strikethroughSequence";let u={type:"strikethrough",start:Object.assign({},i[l][1].start),end:Object.assign({},i[s][1].end)},c={type:"strikethroughText",start:Object.assign({},i[l][1].end),end:Object.assign({},i[s][1].start)},d=[["enter",u,o],["enter",i[l][1],o],["exit",i[l][1],o],["enter",c,o]],p=o.parser.constructs.insideSpan.null;p&&Et(d,d.length,0,Gr(p,i.slice(l+1,s),o)),Et(d,d.length,0,[["exit",c,o],["enter",i[s][1],o],["exit",i[s][1],o],["exit",u,o]]),Et(i,l-1,s-l+3,d),s=l+d.length-2;break}}for(s=-1;++s<i.length;)i[s][1].type==="strikethroughSequenceTemporary"&&(i[s][1].type=Ar.data);return i}function a(i,o,s){let{now:l,sliceSerialize:u,previous:c}=this,d=ch(c)?dh(c,l(),u):c,p=Wt(d),f=new ph(d,l(),u),b=_i(p,f.value.bind(f),d),v=this.events,A=0;return y;function y(S){return Me.tilde,d===Me.tilde&&v[v.length-1][1].type!==Ar.characterEscape?s(S):(i.enter("strikethroughSequenceTemporary"),T(S))}function T(S){let C=Wt(d);if(S===Me.tilde)return A>1?s(S):(i.consume(S),A++,T);if(A<2&&!t)return s(S);let P=i.exit("strikethroughSequenceTemporary"),D=Wt(uh(S)?fh(S,l(),u):S),U=Vn(b)||_t(b),Y=Vn(D)||_t(D),q=Ia(b)||vv(C);return P._open=!Y||D===Ra.attentionSideAfter&&(U||q),P._close=!U||C===Ra.attentionSideAfter&&(Y||Ia(D)),o(S)}}}function Iz(e){let t=this.data();(t.micromarkExtensions||(t.micromarkExtensions=[])).push(Nv(e))}var ZZ=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],QZ=";".codePointAt(0)??Me.eof,JZ="&".codePointAt(0)??Me.eof;function zz(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ZZ}],handlers:{delete:Bz,text:eQ}}}Bz.peek=tQ;function Bz(e,t,n,r){let i=n.enter("strikethrough"),o=n.createTracker(r),s=o.move("~~"),l=o.move(n.containerPhrasing(e,{after:"~",before:s,...o.current()})),u=aQ(e,t,n,r.before),c=iQ(e,t,n,r.after),d=Oz(u,mE(l),"open");d.inside&&l&&(l=cQ(l));let p=Oz({current:Iv(l),previous:Rv(l)},c,"close");p.inside&&l&&(l=dQ(l));let f=o.move("~~");i();let b=p.outside&&uQ(t,n);return n.attentionEncodeSurroundingInfo={after:p.outside&&!b,before:d.outside},n.cjkFriendlyEncodeAfterSupplementaryText=b,s+l+f}function eQ(e,t,n,r){let a=n;if(!a.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);a.cjkFriendlyEncodeAfterSupplementaryText=!1;let[i=""]=[...e.value],o=e.value.slice(i.length);return`${Lv(i.codePointAt(0)??Me.eof)}${n.safe(o,{...r,before:";"})}`}function tQ(){return"~"}function Oz(e,t,n){let r=Ov(e),a=Wt(t);if(!la(r)&&!la(a))return n==="open"?Lz(r,a):Lz(a,r);let i={inside:!1,outside:!1},o={inside:!0,outside:!1},s={inside:!1,outside:!0},l={inside:!0,outside:!0};for(let u of[i,o,s,l]){let c=n==="open"?u.outside?Dz:e:u.inside?Dz:e,d=n==="open"?u.inside?Mz:t:u.outside?Mz:t;if(n==="open"?nQ(c,d):rQ(c,d))return u}return l}function Lz(e,t){return Cv(e)?Cv(t)?{inside:!1,outside:!1}:_t(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:_t(e)?Cv(t)?{inside:!1,outside:!1}:_t(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:_t(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function nQ(e,t){let{open:n}=Fz(Ov(e),Wt(t));return n}function rQ(e,t){let n=Wt(t),{close:r}=Fz(Ov(e),n);return r}function Fz(e,t){let n=Vn(e),r=n||_t(e),a=Vn(t),i=a||_t(t);return{open:!i||a&&(r||la(e)),close:!r||n&&(i||Ia(t))}}function Cv(e){return!_t(e)&&!Vn(e)}function Ov(e){let t=Wt(e.current);return e.current===null||!wi(t)?t:_i(t,()=>e.previous,e.current)}function aQ(e,t,n,r){let a=Iv(r),i=Rv(r);if(oQ(a)||lQ(a,i)){let o=Uz(e,t,n,-1);o&&(a=Iv(o),i=Rv(o))}return{current:a,previous:i}}function iQ(e,t,n,r){let a=mE(r);if(!sQ(a))return a;let i=Uz(e,t,n,1);return i?mE(i):a}function oQ(e){return e!==null&&56320<=e&&e<=57343}function sQ(e){return e!==null&&55296<=e&&e<=56319}function lQ(e,t){return wi(Wt(e))&&(t===null||t===Me.eof)}function Uz(e,t,n,r){if(!t)return;let a=n.indexStack.at(-1),i=t.children,o=typeof a=="number"?a:i.indexOf(e);if(o<0)return;let s=i[o+r];return Pz(s)||void 0}function uQ(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if(typeof n!="number")return!1;let r=e.children[n+1];return r?.type==="text"&&(mE(r.value)??0)>65535}function Pz(e){return!e||typeof e!="object"?"":"value"in e&&typeof e.value=="string"?e.value:"alt"in e&&typeof e.alt=="string"?e.alt:"children"in e&&Array.isArray(e.children)?e.children.map(Pz).join(""):""}function Lv(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function cQ(e){let[t=""]=[...e];return Lv(t.codePointAt(0)??Me.eof)+e.slice(t.length)}function dQ(e){let t=[...e],n=t.pop();return`${t.join("")}${Lv(n?.codePointAt(0)??Me.eof)}`}function Rv(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??Me.eof}function mE(e){return e.codePointAt(0)??Me.eof}function Iv(e){return[...e].at(-1)?.codePointAt(0)??Me.eof}var Dz={current:QZ,previous:Me.eof},Mz=JZ;function Hz(){let e=this.data();(e.toMarkdownExtensions||(e.toMarkdownExtensions=[])).push(zz())}function Gz(e){Iz.call(this,e),Hz.call(this)}var qz=Gz;var Dv=[Rz,qz];var Mv="data-session-link";function zv(){return e=>{Fn(e,"text",(t,n,r)=>{if(!r||n===void 0||!t.value?.includes("/project?")||r.type==="link"||r.type==="linkReference")return;let a=HD(t.value);if(!a.some(o=>o.kind==="link"))return;let i=a.map(o=>o.kind==="text"?{type:"text",value:o.text}:{type:"link",url:o.text,children:[{type:"text",value:o.text}],data:{hProperties:{[Mv]:""}}});return r.children.splice(n,1,...i),[po,n+i.length]})}}var mh=Ye(or());function jz({href:e,target:t,onClick:n,newTab:r=!1}){return(0,mh.jsxs)("a",{href:e,title:`${t.cwd}
344
- ${t.sessionId}`,className:"inline-flex items-center gap-1 px-1.5 rounded bg-brand/10 hover:bg-brand/20 text-brand font-mono text-[0.9em] align-baseline whitespace-nowrap no-underline",onClick:n,...r?{target:"_blank",rel:"noopener noreferrer"}:{},children:[(0,mh.jsx)("svg",{className:"w-3 h-3 shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:(0,mh.jsx)("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})}),t.sessionId.slice(0,8)]})}var He=Ye(or()),pQ=[...yv,Ac,...Dv,Ab,PM,KS,zv],fQ=[...yv,Ac,...Dv,KS,zv],mQ=[Wc,Vb],hQ=[Wc];function gQ(e){return/^\|[\s:|-]+\|$/m.test(e)}function bQ(e){if(gQ(e))return!1;if(/[┌┐└┘│─├┤┬┴┼╔╗╚╝║═╭╮╯╰▲▼◀▶△▽◁▷]/.test(e)||/\+[-=]{2,}\+/.test(e))return!0;let n=e.split(`
344
+ ${t.sessionId}`,className:"inline-flex items-center gap-1 px-1.5 rounded bg-brand/10 hover:bg-brand/20 text-brand text-[0.9em] align-baseline whitespace-nowrap no-underline",onClick:n,...r?{target:"_blank",rel:"noopener noreferrer"}:{},children:[(0,mh.jsx)("svg",{className:"w-3 h-3 shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:(0,mh.jsx)("path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"})}),t.sessionId.slice(0,8)]})}var He=Ye(or()),pQ=[...yv,Ac,...Dv,Ab,PM,KS,zv],fQ=[...yv,Ac,...Dv,KS,zv],mQ=[Wc,Vb],hQ=[Wc];function gQ(e){return/^\|[\s:|-]+\|$/m.test(e)}function bQ(e){if(gQ(e))return!1;if(/[┌┐└┘│─├┤┬┴┼╔╗╚╝║═╭╮╯╰▲▼◀▶△▽◁▷]/.test(e)||/\+[-=]{2,}\+/.test(e))return!0;let n=e.split(`
345
345
  `).filter(r=>/^\s*\||\|\s*$/.test(r));if(n.length>=3){let r=n.map(i=>(i.match(/\|/g)||[]).length);return!(r.every(i=>i===r[0])&&r[0]>=3)}return!1}function Bv(e){let t=[],n=i=>(t.push(i),` MASK${t.length-1} `);return e.replace(/```[\s\S]*?```/g,i=>n(i)).replace(/~~~[\s\S]*?~~~/g,i=>n(i)).replace(/^(\|.+\|)$/gm,i=>/^\|[\s:|-]+\|$/.test(i)?i:i.replace(/`([^`]*)`/g,(o,s)=>s.includes("|")?"`"+s.replace(/\|/g,"\\|")+"`":o)).replace(/ MASK(\d+) /g,(i,o)=>t[+o])}var EQ=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clippath","defs","ellipse","g","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan","use"]);function hE(e){let t=[],n=i=>(t.push(i),`\0MASK${t.length-1}\0`);return e.replace(/```[\s\S]*?```/g,i=>n(i)).replace(/~~~[\s\S]*?~~~/g,i=>n(i)).replace(/`[^`\n]+`/g,i=>n(i)).replace(/<\/?([a-zA-Z][a-zA-Z0-9-]*)(\s[^>]*)?\/?>/g,(i,o)=>{let s=o.toLowerCase();return EQ.has(s)||s.includes("-")?i:i.replace(/</g,"&lt;").replace(/>/g,"&gt;")}).replace(/\u0000MASK(\d+)\u0000/g,(i,o)=>t[+o])}function yQ(e){return!bQ(e)||/^```[\s\S]*```$/m.test(e.trim())?e:"```text\n"+e.trim()+"\n```"}function TQ({code:e}){let[t,n]=(0,kr.useState)(!1),r=(0,kr.useRef)(null);return(0,kr.useEffect)(()=>()=>{r.current&&clearTimeout(r.current)},[]),(0,He.jsx)("button",{type:"button",onClick:()=>{navigator.clipboard?.writeText(e).then(()=>{n(!0),r.current&&clearTimeout(r.current),r.current=setTimeout(()=>n(!1),1500)})},title:t?"Copied":"Copy","aria-label":"Copy code",className:"absolute top-2 right-2 p-1.5 rounded-md text-muted-foreground hover:text-foreground hover:bg-foreground/10 opacity-0 group-hover/code:opacity-100 focus-visible:opacity-100 transition-opacity",children:(0,He.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:t?(0,He.jsx)("path",{d:"M20 6 9 17l-5-5"}):(0,He.jsxs)(He.Fragment,{children:[(0,He.jsx)("rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}),(0,He.jsx)("path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"})]})})})}function SQ(e,t,n,r){return{code({className:a,children:i,node:o,...s}){let l=/language-(\w+)/.exec(a||"");if(!(typeof i=="string"||typeof i=="number"||Array.isArray(i)&&i.every(y=>typeof y=="string"||typeof y=="number")))return(0,He.jsx)("code",{className:"px-1.5 py-0.5 mx-0.5 rounded bg-accent font-mono",...s,children:i});let c=String(i);if(!l&&!a&&!c.includes(`
346
346
  `))return(0,He.jsx)("code",{className:"px-1.5 py-0.5 mx-0.5 rounded bg-accent font-mono",...s,children:i});let p=c.replace(/\n$/,""),f=l?.[1]||"text",b=Number(s["data-source-start"])||0,v=b?b+1:0,A=0;return(0,He.jsxs)("div",{className:"group/code relative font-mono",style:{margin:"1.35em 0"},children:[(0,He.jsx)(B3,{style:e?F3:U3,language:f,PreTag:"div",className:"md-figure",customStyle:{margin:0,borderRadius:"0.375rem",fontSize:"0.92em",fontFamily:"inherit"},codeTagProps:{className:`language-${f}`,style:{fontFamily:"inherit"}},wrapLines:!0,lineProps:()=>{let y=v+A;return A++,{"data-source-start":y,"data-source-end":y,style:{display:"block"}}},children:p}),(0,He.jsx)(TQ,{code:p})]})},p:({children:a,node:i,...o})=>(0,He.jsx)("p",{...o,children:a}),h1:({children:a,node:i,...o})=>(0,He.jsx)("h1",{...o,children:a}),h2:({children:a,node:i,...o})=>(0,He.jsx)("h2",{...o,children:a}),h3:({children:a,node:i,...o})=>(0,He.jsx)("h3",{...o,children:a}),ul:({children:a,node:i,...o})=>(0,He.jsx)("ul",{className:"list-disc",...o,children:a}),ol:({children:a,node:i,...o})=>(0,He.jsx)("ol",{className:"list-decimal",...o,children:a}),li:({children:a,node:i,...o})=>(0,He.jsx)("li",{...o,children:a}),blockquote:({children:a,node:i,...o})=>(0,He.jsx)("blockquote",{className:"border-l-2 border-border pl-4 text-muted-foreground",...o,children:a}),a:({href:a,children:i,node:o,...s})=>{let l=a&&Mv in s?H3(a):null;return l?(0,He.jsx)(jz,{href:a,target:l,newTab:!0,onClick:u=>{t?.(a)&&u.preventDefault()}}):(0,He.jsx)("a",{href:a,target:"_blank",rel:"noopener noreferrer",className:"text-brand hover:underline",...s,onClick:u=>{if(a){if(a.startsWith("#")){jD(n.current,a.slice(1))&&u.preventDefault();return}t?.(a)&&u.preventDefault()}},children:i})},table:({children:a,node:i,...o})=>(0,He.jsx)("div",{className:"md-figure overflow-x-auto",...o,children:(0,He.jsx)("table",{className:"min-w-full border border-border",children:a})}),thead:({children:a,node:i,...o})=>(0,He.jsx)("thead",{className:"bg-accent",...o,children:a}),th:({children:a,node:i,...o})=>(0,He.jsx)("th",{className:"px-4 py-2 text-left font-semibold border-b border-border",...o,children:a}),td:({children:a,node:i,...o})=>(0,He.jsx)("td",{className:"px-4 py-2 border-b border-border",...o,children:a}),hr:({node:a,...i})=>(0,He.jsx)("hr",{className:"border-border",...i}),img:({src:a,alt:i,node:o,height:s,width:l,style:u,...c})=>{let d=r&&typeof a=="string"?FD(a,r):a;if(!(s||l||u))return(0,He.jsx)("img",{src:d,alt:i||"",className:"max-w-full h-auto rounded-lg my-3",...c});let f=v=>v?/^\d+$/.test(String(v))?`${v}px`:String(v):void 0,b={...u,height:f(s)??u?.height,width:f(l)??u?.width};return(0,He.jsx)("img",{src:d,alt:i||"",style:b,className:"inline-block align-middle",...c})},strong:({children:a,node:i,...o})=>(0,He.jsx)("strong",{className:"font-bold",...o,children:a}),em:({children:a,node:i,...o})=>(0,He.jsx)("em",{className:"italic",...o,children:a}),del:({children:a,node:i,...o})=>(0,He.jsx)("del",{className:"line-through",...o,children:a})}}var $z=(0,kr.memo)(function({content:t,isUser:n=!1,isStreaming:r=!1,enableMath:a=!0,isDark:i,rehypePlugins:o,onLinkClick:s,basePath:l}){let u=GD(),c=i??u?.resolvedTheme==="dark",d=(0,kr.useRef)(null),p=(0,kr.useMemo)(()=>SQ(c,s,d,l),[c,s,l]),f=a?pQ:fQ,b=a?mQ:hQ,v=(0,kr.useMemo)(()=>{if(n||r)return hE(t);let y=hE(Bv(yQ(t)));return a?Tv(y):y},[t,n,r,a]),A=(0,kr.useMemo)(()=>o?.length?[...b,...o]:b,[o,b]);if(n)return(0,He.jsx)("div",{className:"reading-measure whitespace-pre-wrap break-words",children:t});if(r){let y=t.lastIndexOf(`
347
347
  `);if(y===-1)return(0,He.jsx)("div",{className:"reading-measure whitespace-pre-wrap break-words",children:t});let T=t.slice(0,y+1),S=t.slice(y+1);return(0,He.jsxs)("div",{className:"markdown-body",ref:d,children:[(0,He.jsx)(U1,{remarkPlugins:f,rehypePlugins:b,components:p,children:a?Tv(hE(Bv(T))):hE(Bv(T))}),S&&(0,He.jsx)("span",{className:"md-tail whitespace-pre-wrap",children:S})]})}return(0,He.jsx)("div",{className:"markdown-body",ref:d,children:(0,He.jsx)(U1,{remarkPlugins:f,rehypePlugins:A,components:p,children:v})})});var Ni=Ye(Dt());var Ql=Ye(Dt()),Fv=Ye(or());function Yz({content:e,children:t,className:n}){if(n)return(0,Fv.jsx)("div",{"data-tooltip":e,className:n,children:t});let r=Ql.Children.toArray(t);if(r.length===1&&(0,Ql.isValidElement)(r[0])){let a=r[0];return(0,Ql.cloneElement)(a,{"data-tooltip":e})}return(0,Fv.jsx)("div",{"data-tooltip":e,style:{display:"contents"},children:t})}var $r=Ye(or());function vQ(e){let t=[],n=e.split(`
package/server.mjs CHANGED
@@ -303,7 +303,12 @@ app.prepare().then(async () => {
303
303
  rotateIfLarge(join(cockpitHome, 'logs', 'cockpit.log'));
304
304
  const upgradeHandler = app.getUpgradeHandler();
305
305
  const auth = await import(dev ? './src/lib/auth.ts' : './dist/auth.mjs');
306
- const checkAccess = auth.createAccessGate(process.env.COCKPIT_TRUSTED_PROXIES);
306
+ let audit;
307
+ if (auth.tokenEnabled()) {
308
+ const { createAuthAudit } = await import(dev ? './src/lib/authAudit.ts' : './dist/authAudit.mjs');
309
+ audit = createAuthAudit(join(cockpitHome, 'logs', 'auth-audit.log'));
310
+ }
311
+ const checkAccess = auth.createAccessGate(process.env.COCKPIT_TRUSTED_PROXIES, audit);
307
312
  // v2 P8: HTTP intercepts (handleTerminalApi / handleBrowserApi) moved to src/lib/httpApi.ts
308
313
  const { handleUpgrade, broadcastToGlobalState } = await import(dev ? './src/lib/wsServer.ts' : './dist/wsServer.mjs');
309
314
  const httpApi = await import(dev ? './src/lib/httpApi.ts' : './dist/httpApi.mjs');