aicodeman 1.50.1 → 1.51.1

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 (454) hide show
  1. package/README.md +12 -9
  2. package/dist/ai-checker-base.d.ts +0 -4
  3. package/dist/ai-checker-base.d.ts.map +1 -1
  4. package/dist/ai-checker-base.js.map +1 -1
  5. package/dist/ai-idle-checker.d.ts +0 -1
  6. package/dist/ai-idle-checker.d.ts.map +1 -1
  7. package/dist/ai-idle-checker.js +0 -3
  8. package/dist/ai-idle-checker.js.map +1 -1
  9. package/dist/ai-plan-checker.d.ts +0 -1
  10. package/dist/ai-plan-checker.d.ts.map +1 -1
  11. package/dist/ai-plan-checker.js +0 -3
  12. package/dist/ai-plan-checker.js.map +1 -1
  13. package/dist/cli.d.ts.map +1 -1
  14. package/dist/cli.js +11 -1
  15. package/dist/cli.js.map +1 -1
  16. package/dist/config/attachment-guard.d.ts +5 -1
  17. package/dist/config/attachment-guard.d.ts.map +1 -1
  18. package/dist/config/attachment-guard.js +4 -2
  19. package/dist/config/attachment-guard.js.map +1 -1
  20. package/dist/config/cli-registry/argv.d.ts +1 -3
  21. package/dist/config/cli-registry/argv.d.ts.map +1 -1
  22. package/dist/config/cli-registry/argv.js +0 -4
  23. package/dist/config/cli-registry/argv.js.map +1 -1
  24. package/dist/config/cli-registry/index.d.ts +1 -12
  25. package/dist/config/cli-registry/index.d.ts.map +1 -1
  26. package/dist/config/cli-registry/index.js +1 -6
  27. package/dist/config/cli-registry/index.js.map +1 -1
  28. package/dist/config/cli-registry/profiles.d.ts +3 -7
  29. package/dist/config/cli-registry/profiles.d.ts.map +1 -1
  30. package/dist/config/cli-registry/profiles.js +3 -7
  31. package/dist/config/cli-registry/profiles.js.map +1 -1
  32. package/dist/config/cli-registry/registry.d.ts +1 -4
  33. package/dist/config/cli-registry/registry.d.ts.map +1 -1
  34. package/dist/config/cli-registry/registry.js +0 -10
  35. package/dist/config/cli-registry/registry.js.map +1 -1
  36. package/dist/config/cli-registry/schema.d.ts +2 -1
  37. package/dist/config/cli-registry/schema.d.ts.map +1 -1
  38. package/dist/config/cli-registry/schema.js +11 -0
  39. package/dist/config/cli-registry/schema.js.map +1 -1
  40. package/dist/config/cli-registry/stock.d.ts.map +1 -1
  41. package/dist/config/cli-registry/stock.js +159 -8
  42. package/dist/config/cli-registry/stock.js.map +1 -1
  43. package/dist/config/cli-registry/types.d.ts +48 -8
  44. package/dist/config/cli-registry/types.d.ts.map +1 -1
  45. package/dist/config/file-editing.d.ts +7 -3
  46. package/dist/config/file-editing.d.ts.map +1 -1
  47. package/dist/config/file-editing.js +12 -3
  48. package/dist/config/file-editing.js.map +1 -1
  49. package/dist/config/local-model-catalog.d.ts +122 -20
  50. package/dist/config/local-model-catalog.d.ts.map +1 -1
  51. package/dist/config/local-model-catalog.js +252 -37
  52. package/dist/config/local-model-catalog.js.map +1 -1
  53. package/dist/cpu-usage.d.ts +18 -0
  54. package/dist/cpu-usage.d.ts.map +1 -0
  55. package/dist/cpu-usage.js +34 -0
  56. package/dist/cpu-usage.js.map +1 -0
  57. package/dist/cron/cron-input.d.ts +0 -1
  58. package/dist/cron/cron-input.d.ts.map +1 -1
  59. package/dist/custom-model-injection.d.ts.map +1 -1
  60. package/dist/custom-model-injection.js +22 -14
  61. package/dist/custom-model-injection.js.map +1 -1
  62. package/dist/deepseek-web-server.d.ts +49 -1
  63. package/dist/deepseek-web-server.d.ts.map +1 -1
  64. package/dist/deepseek-web-server.js +228 -9
  65. package/dist/deepseek-web-server.js.map +1 -1
  66. package/dist/discord-bridge.d.ts +5 -1
  67. package/dist/discord-bridge.d.ts.map +1 -1
  68. package/dist/discord-bridge.js +9 -1
  69. package/dist/discord-bridge.js.map +1 -1
  70. package/dist/discord-reply-dedupe.d.ts +15 -0
  71. package/dist/discord-reply-dedupe.d.ts.map +1 -0
  72. package/dist/discord-reply-dedupe.js +126 -0
  73. package/dist/discord-reply-dedupe.js.map +1 -0
  74. package/dist/hooks-config.d.ts +62 -6
  75. package/dist/hooks-config.d.ts.map +1 -1
  76. package/dist/hooks-config.js +156 -30
  77. package/dist/hooks-config.js.map +1 -1
  78. package/dist/local-model/connect.d.ts +16 -2
  79. package/dist/local-model/connect.d.ts.map +1 -1
  80. package/dist/local-model/connect.js +17 -3
  81. package/dist/local-model/connect.js.map +1 -1
  82. package/dist/local-model/harness-facts.d.ts +8 -4
  83. package/dist/local-model/harness-facts.d.ts.map +1 -1
  84. package/dist/local-model/harness-facts.js +13 -5
  85. package/dist/local-model/harness-facts.js.map +1 -1
  86. package/dist/local-model/install-job.d.ts +208 -28
  87. package/dist/local-model/install-job.d.ts.map +1 -1
  88. package/dist/local-model/install-job.js +846 -92
  89. package/dist/local-model/install-job.js.map +1 -1
  90. package/dist/local-model/recommend.d.ts +11 -5
  91. package/dist/local-model/recommend.d.ts.map +1 -1
  92. package/dist/local-model/recommend.js +11 -5
  93. package/dist/local-model/recommend.js.map +1 -1
  94. package/dist/local-model/runtime.d.ts +12 -0
  95. package/dist/local-model/runtime.d.ts.map +1 -1
  96. package/dist/local-model/runtime.js +42 -0
  97. package/dist/local-model/runtime.js.map +1 -1
  98. package/dist/local-model/state-store.d.ts.map +1 -1
  99. package/dist/local-model/state-store.js +40 -0
  100. package/dist/local-model/state-store.js.map +1 -1
  101. package/dist/mux-interface.d.ts +3 -1
  102. package/dist/mux-interface.d.ts.map +1 -1
  103. package/dist/proc-tree.d.ts +23 -0
  104. package/dist/proc-tree.d.ts.map +1 -1
  105. package/dist/proc-tree.js +28 -0
  106. package/dist/proc-tree.js.map +1 -1
  107. package/dist/prompts/index.d.ts +1 -1
  108. package/dist/prompts/index.d.ts.map +1 -1
  109. package/dist/prompts/index.js +1 -1
  110. package/dist/prompts/index.js.map +1 -1
  111. package/dist/ralph-tracker.d.ts +0 -4
  112. package/dist/ralph-tracker.d.ts.map +1 -1
  113. package/dist/ralph-tracker.js +0 -6
  114. package/dist/ralph-tracker.js.map +1 -1
  115. package/dist/respawn-controller.d.ts +2 -17
  116. package/dist/respawn-controller.d.ts.map +1 -1
  117. package/dist/respawn-controller.js +2 -23
  118. package/dist/respawn-controller.js.map +1 -1
  119. package/dist/session-auto-ops.d.ts +95 -8
  120. package/dist/session-auto-ops.d.ts.map +1 -1
  121. package/dist/session-auto-ops.js +146 -32
  122. package/dist/session-auto-ops.js.map +1 -1
  123. package/dist/session-cli-registry-bridge.d.ts +2 -1
  124. package/dist/session-cli-registry-bridge.d.ts.map +1 -1
  125. package/dist/session-cli-registry-bridge.js.map +1 -1
  126. package/dist/session.d.ts +18 -47
  127. package/dist/session.d.ts.map +1 -1
  128. package/dist/session.js +33 -114
  129. package/dist/session.js.map +1 -1
  130. package/dist/state-store.d.ts +0 -5
  131. package/dist/state-store.d.ts.map +1 -1
  132. package/dist/state-store.js +0 -23
  133. package/dist/state-store.js.map +1 -1
  134. package/dist/team-watcher.d.ts +6 -5
  135. package/dist/team-watcher.d.ts.map +1 -1
  136. package/dist/team-watcher.js +36 -14
  137. package/dist/team-watcher.js.map +1 -1
  138. package/dist/tmux-manager.d.ts +10 -16
  139. package/dist/tmux-manager.d.ts.map +1 -1
  140. package/dist/tmux-manager.js +45 -81
  141. package/dist/tmux-manager.js.map +1 -1
  142. package/dist/tmux-prefix-table.d.ts.map +1 -1
  143. package/dist/tmux-prefix-table.js +10 -0
  144. package/dist/tmux-prefix-table.js.map +1 -1
  145. package/dist/tui/tui-app.d.ts +38 -4
  146. package/dist/tui/tui-app.d.ts.map +1 -1
  147. package/dist/tui/tui-app.js +61 -12
  148. package/dist/tui/tui-app.js.map +1 -1
  149. package/dist/tui/tui-client.d.ts +9 -1
  150. package/dist/tui/tui-client.d.ts.map +1 -1
  151. package/dist/tui/tui-client.js +15 -4
  152. package/dist/tui/tui-client.js.map +1 -1
  153. package/dist/types/foreign-tmux.d.ts +0 -13
  154. package/dist/types/foreign-tmux.d.ts.map +1 -1
  155. package/dist/types/local-model-install.d.ts +202 -17
  156. package/dist/types/local-model-install.d.ts.map +1 -1
  157. package/dist/types/local-model-install.js +21 -4
  158. package/dist/types/local-model-install.js.map +1 -1
  159. package/dist/types/local-model.d.ts +32 -6
  160. package/dist/types/local-model.d.ts.map +1 -1
  161. package/dist/types/local-model.js.map +1 -1
  162. package/dist/types/session.d.ts +26 -8
  163. package/dist/types/session.d.ts.map +1 -1
  164. package/dist/types/session.js +2 -1
  165. package/dist/types/session.js.map +1 -1
  166. package/dist/usage-telemetry.d.ts +3 -0
  167. package/dist/usage-telemetry.d.ts.map +1 -1
  168. package/dist/usage-telemetry.js +4 -0
  169. package/dist/usage-telemetry.js.map +1 -1
  170. package/dist/utils/antigravity-cli-resolver.d.ts +0 -1
  171. package/dist/utils/antigravity-cli-resolver.d.ts.map +1 -1
  172. package/dist/utils/antigravity-cli-resolver.js +1 -5
  173. package/dist/utils/antigravity-cli-resolver.js.map +1 -1
  174. package/dist/utils/claude-cli-resolver.d.ts +0 -1
  175. package/dist/utils/claude-cli-resolver.d.ts.map +1 -1
  176. package/dist/utils/claude-cli-resolver.js +1 -5
  177. package/dist/utils/claude-cli-resolver.js.map +1 -1
  178. package/dist/utils/cli-launcher.d.ts +0 -9
  179. package/dist/utils/cli-launcher.d.ts.map +1 -1
  180. package/dist/utils/cli-launcher.js +0 -22
  181. package/dist/utils/cli-launcher.js.map +1 -1
  182. package/dist/utils/cli-resolver.d.ts +0 -18
  183. package/dist/utils/cli-resolver.d.ts.map +1 -1
  184. package/dist/utils/cli-resolver.js +0 -8
  185. package/dist/utils/cli-resolver.js.map +1 -1
  186. package/dist/utils/close-watcher-on-error.d.ts +31 -0
  187. package/dist/utils/close-watcher-on-error.d.ts.map +1 -0
  188. package/dist/utils/close-watcher-on-error.js +37 -0
  189. package/dist/utils/close-watcher-on-error.js.map +1 -0
  190. package/dist/utils/codex-cli-resolver.d.ts +0 -1
  191. package/dist/utils/codex-cli-resolver.d.ts.map +1 -1
  192. package/dist/utils/codex-cli-resolver.js +1 -5
  193. package/dist/utils/codex-cli-resolver.js.map +1 -1
  194. package/dist/utils/copilot-cli-resolver.d.ts +0 -1
  195. package/dist/utils/copilot-cli-resolver.d.ts.map +1 -1
  196. package/dist/utils/copilot-cli-resolver.js +1 -5
  197. package/dist/utils/copilot-cli-resolver.js.map +1 -1
  198. package/dist/utils/deepseek-cli-resolver.d.ts +0 -2
  199. package/dist/utils/deepseek-cli-resolver.d.ts.map +1 -1
  200. package/dist/utils/deepseek-cli-resolver.js +1 -5
  201. package/dist/utils/deepseek-cli-resolver.js.map +1 -1
  202. package/dist/utils/gemini-cli-resolver.d.ts +0 -1
  203. package/dist/utils/gemini-cli-resolver.d.ts.map +1 -1
  204. package/dist/utils/gemini-cli-resolver.js +1 -5
  205. package/dist/utils/gemini-cli-resolver.js.map +1 -1
  206. package/dist/utils/grok-cli-resolver.d.ts +0 -1
  207. package/dist/utils/grok-cli-resolver.d.ts.map +1 -1
  208. package/dist/utils/grok-cli-resolver.js +1 -5
  209. package/dist/utils/grok-cli-resolver.js.map +1 -1
  210. package/dist/utils/index.d.ts +4 -17
  211. package/dist/utils/index.d.ts.map +1 -1
  212. package/dist/utils/index.js +3 -14
  213. package/dist/utils/index.js.map +1 -1
  214. package/dist/utils/omp-cli-resolver.d.ts +0 -1
  215. package/dist/utils/omp-cli-resolver.d.ts.map +1 -1
  216. package/dist/utils/omp-cli-resolver.js +1 -5
  217. package/dist/utils/omp-cli-resolver.js.map +1 -1
  218. package/dist/utils/opencode-cli-resolver.d.ts +0 -1
  219. package/dist/utils/opencode-cli-resolver.d.ts.map +1 -1
  220. package/dist/utils/opencode-cli-resolver.js +1 -5
  221. package/dist/utils/opencode-cli-resolver.js.map +1 -1
  222. package/dist/utils/pi-cli-resolver.d.ts +0 -1
  223. package/dist/utils/pi-cli-resolver.d.ts.map +1 -1
  224. package/dist/utils/pi-cli-resolver.js +1 -5
  225. package/dist/utils/pi-cli-resolver.js.map +1 -1
  226. package/dist/utils/token-validation.d.ts +3 -3
  227. package/dist/utils/token-validation.d.ts.map +1 -1
  228. package/dist/utils/token-validation.js +3 -3
  229. package/dist/utils/token-validation.js.map +1 -1
  230. package/dist/web/ports/tab-layout-port.d.ts +0 -1
  231. package/dist/web/ports/tab-layout-port.d.ts.map +1 -1
  232. package/dist/web/public/admin-ui.js.gz +0 -0
  233. package/dist/web/public/{api-client.c9b1cddc.js → api-client.c27531b3.js} +1 -1
  234. package/dist/web/public/api-client.c27531b3.js.br +0 -0
  235. package/dist/web/public/api-client.c27531b3.js.gz +0 -0
  236. package/dist/web/public/app.4b3e6daa.js +45 -0
  237. package/dist/web/public/app.4b3e6daa.js.br +0 -0
  238. package/dist/web/public/app.4b3e6daa.js.gz +0 -0
  239. package/dist/web/public/approvals-ui.js.gz +0 -0
  240. package/dist/web/public/{constants.782170e1.js → constants.5e84e53c.js} +2 -9
  241. package/dist/web/public/constants.5e84e53c.js.br +0 -0
  242. package/dist/web/public/constants.5e84e53c.js.gz +0 -0
  243. package/dist/web/public/cron-ui.js.gz +0 -0
  244. package/dist/web/public/edit-history-ui.js.gz +0 -0
  245. package/dist/web/public/entrance-animations.js +1 -1
  246. package/dist/web/public/entrance-animations.js.br +0 -0
  247. package/dist/web/public/entrance-animations.js.gz +0 -0
  248. package/dist/web/public/foreign-sessions.js.gz +0 -0
  249. package/dist/web/public/git-status-ui.js.gz +0 -0
  250. package/dist/web/public/header-divider.eb2d2463.js.gz +0 -0
  251. package/dist/web/public/home-sessions.js.gz +0 -0
  252. package/dist/web/public/host-wake-ui.js.gz +0 -0
  253. package/dist/web/public/i18n.c49c9836.js +2 -0
  254. package/dist/web/public/i18n.c49c9836.js.br +0 -0
  255. package/dist/web/public/i18n.c49c9836.js.gz +0 -0
  256. package/dist/web/public/{image-input.a5d0f8f3.js → image-input.b75c41ca.js} +17 -1
  257. package/dist/web/public/image-input.b75c41ca.js.br +0 -0
  258. package/dist/web/public/image-input.b75c41ca.js.gz +0 -0
  259. package/dist/web/public/index.html +34 -217
  260. package/dist/web/public/index.html.br +0 -0
  261. package/dist/web/public/index.html.gz +0 -0
  262. package/dist/web/public/input-cjk.930ae4bf.js +2 -0
  263. package/dist/web/public/input-cjk.930ae4bf.js.br +0 -0
  264. package/dist/web/public/input-cjk.930ae4bf.js.gz +0 -0
  265. package/dist/web/public/{keyboard-accessory.0800fc44.js → keyboard-accessory.51365ebd.js} +1 -2
  266. package/dist/web/public/keyboard-accessory.51365ebd.js.br +0 -0
  267. package/dist/web/public/keyboard-accessory.51365ebd.js.gz +0 -0
  268. package/dist/web/public/local-model-ui.js +618 -32
  269. package/dist/web/public/local-model-ui.js.br +0 -0
  270. package/dist/web/public/local-model-ui.js.gz +0 -0
  271. package/dist/web/public/{mobile-handlers.f7c3f692.js → mobile-handlers.305bbbf5.js} +47 -13
  272. package/dist/web/public/mobile-handlers.305bbbf5.js.br +0 -0
  273. package/dist/web/public/mobile-handlers.305bbbf5.js.gz +0 -0
  274. package/dist/web/public/mobile-ime-preview.2dbaf262.js.gz +0 -0
  275. package/dist/web/public/mobile-overview.js +1 -0
  276. package/dist/web/public/mobile-overview.js.br +0 -0
  277. package/dist/web/public/mobile-overview.js.gz +0 -0
  278. package/dist/web/public/mobile.58465ff3.css +1 -0
  279. package/dist/web/public/mobile.58465ff3.css.br +0 -0
  280. package/dist/web/public/mobile.58465ff3.css.gz +0 -0
  281. package/dist/web/public/notification-manager.feb82c04.js.gz +0 -0
  282. package/dist/web/public/orchestrator-panel.js +0 -13
  283. package/dist/web/public/orchestrator-panel.js.br +0 -0
  284. package/dist/web/public/orchestrator-panel.js.gz +0 -0
  285. package/dist/web/public/{panels-ui.9ba2683e.js → panels-ui.8931cdf3.js} +108 -125
  286. package/dist/web/public/panels-ui.8931cdf3.js.br +0 -0
  287. package/dist/web/public/panels-ui.8931cdf3.js.gz +0 -0
  288. package/dist/web/public/{ralph-panel.b350e2ef.js → ralph-panel.ce3fb108.js} +11 -23
  289. package/dist/web/public/ralph-panel.ce3fb108.js.br +0 -0
  290. package/dist/web/public/ralph-panel.ce3fb108.js.gz +0 -0
  291. package/dist/web/public/readmymind-ui.js.gz +0 -0
  292. package/dist/web/public/reboot-restore-ui.js.gz +0 -0
  293. package/dist/web/public/{respawn-ui.304ba0d4.js → respawn-ui.fafdc336.js} +6 -6
  294. package/dist/web/public/respawn-ui.fafdc336.js.br +0 -0
  295. package/dist/web/public/respawn-ui.fafdc336.js.gz +0 -0
  296. package/dist/web/public/sanitize-html.e7147e76.js.gz +0 -0
  297. package/dist/web/public/session-lineage.js.gz +0 -0
  298. package/dist/web/public/{session-ui.8f300b14.js → session-ui.aa9d3ca3.js} +9 -9
  299. package/dist/web/public/session-ui.aa9d3ca3.js.br +0 -0
  300. package/dist/web/public/session-ui.aa9d3ca3.js.gz +0 -0
  301. package/dist/web/public/{settings-ui.8b37cf07.js → settings-ui.e2cc12e6.js} +3 -3
  302. package/dist/web/public/settings-ui.e2cc12e6.js.br +0 -0
  303. package/dist/web/public/settings-ui.e2cc12e6.js.gz +0 -0
  304. package/dist/web/public/spreadsheet-preview-worker.js.gz +0 -0
  305. package/dist/web/public/spreadsheet-preview.75c751de.js.gz +0 -0
  306. package/dist/web/public/spreadsheet-xlsx-core.js.gz +0 -0
  307. package/dist/web/public/styles.78258c32.css +1 -0
  308. package/dist/web/public/styles.78258c32.css.br +0 -0
  309. package/dist/web/public/styles.78258c32.css.gz +0 -0
  310. package/dist/web/public/{subagent-windows.07277a58.js → subagent-windows.13458f8c.js} +37 -381
  311. package/dist/web/public/subagent-windows.13458f8c.js.br +0 -0
  312. package/dist/web/public/subagent-windows.13458f8c.js.gz +0 -0
  313. package/dist/web/public/sw.js +2 -2
  314. package/dist/web/public/sw.js.br +0 -0
  315. package/dist/web/public/sw.js.gz +0 -0
  316. package/dist/web/public/tab-layout-browser.2d6189f7.js.gz +0 -0
  317. package/dist/web/public/tab-rail-resize.b5cdceaf.js.gz +0 -0
  318. package/dist/web/public/terminal-keycode229-recovery.98843069.js.gz +0 -0
  319. package/dist/web/public/terminal-split.js.gz +0 -0
  320. package/dist/web/public/terminal-tile.js +1 -1
  321. package/dist/web/public/terminal-tile.js.br +0 -0
  322. package/dist/web/public/terminal-tile.js.gz +0 -0
  323. package/dist/web/public/terminal-ui.8b9600fd.js +4 -0
  324. package/dist/web/public/terminal-ui.8b9600fd.js.br +0 -0
  325. package/dist/web/public/terminal-ui.8b9600fd.js.gz +0 -0
  326. package/dist/web/public/tile-grid.js +14 -0
  327. package/dist/web/public/tile-grid.js.br +0 -0
  328. package/dist/web/public/tile-grid.js.gz +0 -0
  329. package/dist/web/public/ultracode-panel.js.gz +0 -0
  330. package/dist/web/public/ultracode-windows.js +0 -11
  331. package/dist/web/public/ultracode-windows.js.br +0 -0
  332. package/dist/web/public/ultracode-windows.js.gz +0 -0
  333. package/dist/web/public/vendor/dompurify.min.js.gz +0 -0
  334. package/dist/web/public/vendor/exceljs.min.js.gz +0 -0
  335. package/dist/web/public/vendor/fflate.min.js.gz +0 -0
  336. package/dist/web/public/vendor/marked.min.js.gz +0 -0
  337. package/dist/web/public/vendor/xterm-addon-fit.min.js.gz +0 -0
  338. package/dist/web/public/vendor/xterm-addon-serialize.min.js.gz +0 -0
  339. package/dist/web/public/vendor/xterm-addon-unicode11.min.js.gz +0 -0
  340. package/dist/web/public/vendor/xterm-addon-webgl.min.js.gz +0 -0
  341. package/dist/web/public/vendor/xterm-predictive-echo.276b11d9.js.gz +0 -0
  342. package/dist/web/public/vendor/xterm-zerolag-input.1be42307.js.gz +0 -0
  343. package/dist/web/public/vendor/xterm.css.gz +0 -0
  344. package/dist/web/public/vendor/xterm.min.js.gz +0 -0
  345. package/dist/web/public/voice-input.d0580528.js.gz +0 -0
  346. package/dist/web/public/voice-pcm-worklet.js.gz +0 -0
  347. package/dist/web/public/webview-tabs.js.gz +0 -0
  348. package/dist/web/public/whats-new.json +9 -9
  349. package/dist/web/routes/file-routes.d.ts.map +1 -1
  350. package/dist/web/routes/file-routes.js +20 -4
  351. package/dist/web/routes/file-routes.js.map +1 -1
  352. package/dist/web/routes/hook-event-routes.d.ts.map +1 -1
  353. package/dist/web/routes/hook-event-routes.js +45 -16
  354. package/dist/web/routes/hook-event-routes.js.map +1 -1
  355. package/dist/web/routes/index.d.ts +2 -2
  356. package/dist/web/routes/index.d.ts.map +1 -1
  357. package/dist/web/routes/index.js +1 -1
  358. package/dist/web/routes/index.js.map +1 -1
  359. package/dist/web/routes/local-model-routes.d.ts +18 -6
  360. package/dist/web/routes/local-model-routes.d.ts.map +1 -1
  361. package/dist/web/routes/local-model-routes.js +47 -10
  362. package/dist/web/routes/local-model-routes.js.map +1 -1
  363. package/dist/web/routes/session-routes.d.ts.map +1 -1
  364. package/dist/web/routes/session-routes.js +93 -15
  365. package/dist/web/routes/session-routes.js.map +1 -1
  366. package/dist/web/routes/status-telemetry-routes.d.ts.map +1 -1
  367. package/dist/web/routes/status-telemetry-routes.js +6 -0
  368. package/dist/web/routes/status-telemetry-routes.js.map +1 -1
  369. package/dist/web/routes/system-routes.d.ts.map +1 -1
  370. package/dist/web/routes/system-routes.js +23 -5
  371. package/dist/web/routes/system-routes.js.map +1 -1
  372. package/dist/web/routes/webview-routes.d.ts.map +1 -1
  373. package/dist/web/routes/webview-routes.js +66 -3
  374. package/dist/web/routes/webview-routes.js.map +1 -1
  375. package/dist/web/schemas.d.ts +23 -0
  376. package/dist/web/schemas.d.ts.map +1 -1
  377. package/dist/web/schemas.js +42 -4
  378. package/dist/web/schemas.js.map +1 -1
  379. package/dist/web/sensitive-path.d.ts +8 -1
  380. package/dist/web/sensitive-path.d.ts.map +1 -1
  381. package/dist/web/sensitive-path.js +23 -4
  382. package/dist/web/sensitive-path.js.map +1 -1
  383. package/dist/web/server.d.ts.map +1 -1
  384. package/dist/web/server.js +49 -1
  385. package/dist/web/server.js.map +1 -1
  386. package/dist/web/session-wait-registry.d.ts +19 -4
  387. package/dist/web/session-wait-registry.d.ts.map +1 -1
  388. package/dist/web/session-wait-registry.js +26 -5
  389. package/dist/web/session-wait-registry.js.map +1 -1
  390. package/dist/web/sse-stream-manager.d.ts +0 -1
  391. package/dist/web/sse-stream-manager.d.ts.map +1 -1
  392. package/dist/web/sse-stream-manager.js +0 -3
  393. package/dist/web/sse-stream-manager.js.map +1 -1
  394. package/dist/web/webview-proxy.d.ts +50 -1
  395. package/dist/web/webview-proxy.d.ts.map +1 -1
  396. package/dist/web/webview-proxy.js +157 -3
  397. package/dist/web/webview-proxy.js.map +1 -1
  398. package/dist/workflow-run-watcher.d.ts.map +1 -1
  399. package/dist/workflow-run-watcher.js +3 -4
  400. package/dist/workflow-run-watcher.js.map +1 -1
  401. package/package.json +2 -2
  402. package/skills/codeman/SKILL.md +147 -42
  403. package/skills/codeman/preamble.sh +102 -26
  404. package/skills/codeman/reference/endpoints.md +13 -9
  405. package/skills/codeman/reference/messaging.md +2 -2
  406. package/skills/codeman/reference/recipes.md +2 -2
  407. package/skills/codeman/reference/verbs.md +46 -15
  408. package/dist/session-task-cache.d.ts +0 -52
  409. package/dist/session-task-cache.d.ts.map +0 -1
  410. package/dist/session-task-cache.js +0 -90
  411. package/dist/session-task-cache.js.map +0 -1
  412. package/dist/web/public/api-client.c9b1cddc.js.br +0 -0
  413. package/dist/web/public/api-client.c9b1cddc.js.gz +0 -0
  414. package/dist/web/public/app.07398d90.js +0 -43
  415. package/dist/web/public/app.07398d90.js.br +0 -0
  416. package/dist/web/public/app.07398d90.js.gz +0 -0
  417. package/dist/web/public/constants.782170e1.js.br +0 -0
  418. package/dist/web/public/constants.782170e1.js.gz +0 -0
  419. package/dist/web/public/i18n.519d025e.js +0 -2
  420. package/dist/web/public/i18n.519d025e.js.br +0 -0
  421. package/dist/web/public/i18n.519d025e.js.gz +0 -0
  422. package/dist/web/public/image-input.a5d0f8f3.js.br +0 -0
  423. package/dist/web/public/image-input.a5d0f8f3.js.gz +0 -0
  424. package/dist/web/public/input-cjk.8bc46081.js +0 -1
  425. package/dist/web/public/input-cjk.8bc46081.js.br +0 -0
  426. package/dist/web/public/input-cjk.8bc46081.js.gz +0 -0
  427. package/dist/web/public/keyboard-accessory.0800fc44.js.br +0 -0
  428. package/dist/web/public/keyboard-accessory.0800fc44.js.gz +0 -0
  429. package/dist/web/public/mobile-handlers.f7c3f692.js.br +0 -0
  430. package/dist/web/public/mobile-handlers.f7c3f692.js.gz +0 -0
  431. package/dist/web/public/mobile.4dfd5c55.css +0 -1
  432. package/dist/web/public/mobile.4dfd5c55.css.br +0 -0
  433. package/dist/web/public/mobile.4dfd5c55.css.gz +0 -0
  434. package/dist/web/public/panels-ui.9ba2683e.js.br +0 -0
  435. package/dist/web/public/panels-ui.9ba2683e.js.gz +0 -0
  436. package/dist/web/public/ralph-panel.b350e2ef.js.br +0 -0
  437. package/dist/web/public/ralph-panel.b350e2ef.js.gz +0 -0
  438. package/dist/web/public/ralph-wizard.b6c0dd19.js +0 -1071
  439. package/dist/web/public/ralph-wizard.b6c0dd19.js.br +0 -0
  440. package/dist/web/public/ralph-wizard.b6c0dd19.js.gz +0 -0
  441. package/dist/web/public/respawn-ui.304ba0d4.js.br +0 -0
  442. package/dist/web/public/respawn-ui.304ba0d4.js.gz +0 -0
  443. package/dist/web/public/session-ui.8f300b14.js.br +0 -0
  444. package/dist/web/public/session-ui.8f300b14.js.gz +0 -0
  445. package/dist/web/public/settings-ui.8b37cf07.js.br +0 -0
  446. package/dist/web/public/settings-ui.8b37cf07.js.gz +0 -0
  447. package/dist/web/public/styles.21b93520.css +0 -1
  448. package/dist/web/public/styles.21b93520.css.br +0 -0
  449. package/dist/web/public/styles.21b93520.css.gz +0 -0
  450. package/dist/web/public/subagent-windows.07277a58.js.br +0 -0
  451. package/dist/web/public/subagent-windows.07277a58.js.gz +0 -0
  452. package/dist/web/public/terminal-ui.f92eae28.js +0 -4
  453. package/dist/web/public/terminal-ui.f92eae28.js.br +0 -0
  454. package/dist/web/public/terminal-ui.f92eae28.js.gz +0 -0
@@ -8,9 +8,13 @@
8
8
  *
9
9
  * Design (docs/file-viewer-edit-plan.md):
10
10
  * - ALLOWLIST of text extensions/basenames, not a blocklist — matching the
11
- * attachment-guard precedent. `svg` and `env` are deliberately absent: svg is
12
- * treated as untrusted on the read side, and `.env` is sensitive-path blocked
13
- * anyway; excluding them here keeps a single obvious refusal.
11
+ * attachment-guard precedent. `svg` and `env` are deliberately absent from
12
+ * the extension list: svg is treated as untrusted on the read side, and the
13
+ * list doubles as the attachment list, which must not gain `*.env`. Dotenv
14
+ * files (`.env`, `.env.*`, `*.env`) are editable by NAME in
15
+ * isEditableFileName instead: the plain preview already shows them, and the
16
+ * routes pass `allowDotenv` to the sensitive-path check, which keeps every
17
+ * other credential pattern.
14
18
  * - The `.git/` subtree is denied outright: `.git/hooks/*` is code execution and
15
19
  * a corrupted index looks unrecoverable to a user who wanted to fix a typo.
16
20
  * - EOL helpers exist because a browser <textarea> normalizes to LF; the server
@@ -113,6 +117,11 @@ export function isEditableFileName(fileName) {
113
117
  const lower = fileName.toLowerCase();
114
118
  if (EDITABLE_BASENAMES.has(lower))
115
119
  return true;
120
+ // Dotenv in every spelling, by name: `.env.local`'s extension is `local`, and
121
+ // `env` must stay off EDITABLE_EXTENSIONS, which is also the cross-workspace
122
+ // attachment list (TEXT_ATTACHMENT_EXTENSIONS) that never accepted `*.env`.
123
+ if (lower.endsWith('.env') || lower.startsWith('.env.'))
124
+ return true;
116
125
  const dot = lower.lastIndexOf('.');
117
126
  // No extension (or a bare dotfile like `.bashrc`): only the basename list applies.
118
127
  if (dot <= 0)
@@ -1 +1 @@
1
- {"version":3,"file":"file-editing.js","sourceRoot":"","sources":["../../src/config/file-editing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,uEAAuE;AACvE,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,GAAG,IAAI,CAAC;AAE7C,mEAAmE;AACnE,MAAM,CAAC,MAAM,mBAAmB,GAAwB,IAAI,GAAG,CAAC;IAC9D,kBAAkB;IAClB,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,KAAK;I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.js","sourceRoot":"","sources":["../../src/config/file-editing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,uEAAuE;AACvE,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,GAAG,IAAI,CAAC;AAE7C,mEAAmE;AACnE,MAAM,CAAC,MAAM,mBAAmB,GAAwB,IAAI,GAAG,CAAC;IAC9D,kBAAkB;IAClB,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,KAAK;IACL,KAAK;IACL,KAAK;IACL,MAAM;IACN,OAAO;IACP,oBAAoB;IACpB,IAAI;IACJ,KAAK;IACL,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;IACL,MAAM;IACN,MAAM;IACN,MAAM;IACN,KAAK;IACL,KAAK;IACL,SAAS;IACT,KAAK;IACL,MAAM;IACN,MAAM;IACN,KAAK;IACL,KAAK;IACL,MAAM;IACN,YAAY;IACZ,QAAQ;IACR,IAAI;IACJ,MAAM;IACN,KAAK;IACL,MAAM;IACN,YAAY;IACZ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,MAAM;IACN,IAAI;IACJ,OAAO;IACP,GAAG;IACH,GAAG;IACH,KAAK;IACL,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,KAAK;IACL,SAAS;IACT,OAAO;IACP,KAAK;IACL,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,IAAI;IACJ,QAAQ;IACR,mBAAmB;IACnB,KAAK;IACL,KAAK;IACL,KAAK;IACL,MAAM;IACN,OAAO;CACR,CAAC,CAAC;AAEH,0EAA0E;AAC1E,MAAM,CAAC,MAAM,kBAAkB,GAAwB,IAAI,GAAG,CAAC;IAC7D,YAAY;IACZ,UAAU;IACV,SAAS;IACT,QAAQ;IACR,WAAW;IACX,SAAS;IACT,YAAY;IACZ,UAAU;IACV,YAAY;IACZ,gBAAgB;IAChB,eAAe;IACf,iBAAiB;IACjB,aAAa;IACb,eA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E;gBAAE,IAAI,EAAE,CAAC;;gBAC9C,EAAE,EAAE,CAAC;QACZ,CAAC;IACH,CAAC;IACD,OAAO,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC;AACnC,CAAC;AAED,oEAAoE;AACpE,MAAM,UAAU,QAAQ,CAAC,IAAY,EAAE,GAAY;IACjD,MAAM,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAC/C,OAAO,GAAG,KAAK,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC;AACzE,CAAC"}
@@ -13,10 +13,11 @@
13
13
  * computed from that model's architecture. test/local-model-catalog.test.ts recomputes every
14
14
  * computed figure from a table of architectures and refuses a row that is not in it, so a
15
15
  * new row needs its model's config.json read, not a figure borrowed from a neighbour.
16
- * - A harness is a ROW (`{ cli, minContext, rank, gated?, slowFirstTurn? }`). The `cli` is a CLI
17
- * registry id as data: no code may compare it with a literal. Whether that CLI exists and can
18
- * take a custom model is checked against the registry at call time, in
19
- * src/local-model/harness-facts.ts, never here.
16
+ * - A harness is a ROW (`{ cli, minContext, rank, gated?, slowFirstTurn?, readyMark? }`). The
17
+ * `cli` is a CLI registry id as data: no code may compare it with a literal. Whether that CLI
18
+ * exists, can take a custom model and can be installed from here is checked against the
19
+ * registry at call time, in src/local-model/harness-facts.ts, never here. HARNESSES below
20
+ * says what was measured for each row, and where.
20
21
  * - The schema checks more than fields. Across rows it requires: unique model ids and ranks,
21
22
  * unique harness `cli`s and ranks, `contexts` largest first, a `tested` entry naming a harness
22
23
  * row, and `chips` most specific first.
@@ -24,8 +25,10 @@
24
25
  * throws on a bad row. test/local-model-catalog.test.ts pins that the stock constant parses,
25
26
  * so a bad row fails the gate and never reaches the route.
26
27
  *
27
- * Where each figure of the stock rows comes from, and what was checked (2026-11-08). [V] read
28
- * at the source that day, [M] measured on a Mac, [C] computed from [V] inputs:
28
+ * Where each figure of the stock rows comes from, and what was checked (2026-11-08; the two rows
29
+ * added on 2026-11-10, `ornith:9b-q4_k_m` and `muse-glimmer:30b-q4_k_m`, were read that day;
30
+ * `muse-glimmer:30b-mlx` was read and measured on 2026-11-12).
31
+ * [V] read at the source that day, [M] measured on a Mac, [C] computed from [V] inputs:
29
32
  *
30
33
  * | Figure | Source | Checked |
31
34
  * |----------------------|-----------------------------------------------------------|--------------------------------------|
@@ -56,14 +59,50 @@
56
59
  * | | | faster than the run without it |
57
60
  * | `tested` | our own run of the model with a harness on a real Mac | one entry, with its measured speed |
58
61
  * | `minMacosMajor` | the runtime's documentation (macOS 14) | yes, by the facts review |
59
- * | harness `minContext` | 65536: the runtime's documentation for OpenCode ("64k or | 65536 yes. 32768 no, which is why |
60
- * | | higher"), and OpenCode v1.19.5's own fixed prompt (about | that row is gated |
61
- * | | 8,000 to 10,000 tokens) and compaction rule: at 32768 it | |
62
+ * | harness `minContext` | 65536: the runtime's documentation for OpenCode ("64k or | 65536 yes. Nothing was run below it, |
63
+ * | | higher"), and OpenCode v1.19.5's own fixed prompt (about | and no model row offers less, so |
64
+ * | | 8,000 to 10,000 tokens) and compaction rule: at 32768 it | every row says 65536 (HARNESSES) |
62
65
  * | | leaves 14,000 to 16,000 tokens, less than one default | |
63
66
  * | | 2,000-line file read | |
64
67
  * | `chips` | the bandwidth column of | yes, read at the source for this |
65
68
  * | | https://github.com/ggml-org/llama.cpp/discussions/4167 | file |
66
69
  *
70
+ * HARNESSES. What each harness row rests on. The runs of 2026-11-10 were made on Linux through
71
+ * Codeman's own custom model launch, against a real model (Ollama 0.13.0, a 1.7B model on a CPU)
72
+ * where it says REAL, and against a scripted endpoint that replays that runtime's stream of a
73
+ * tool call where it says SCRIPTED. A scripted run proves the harness's side of the protocol,
74
+ * never what a model does with its prompt. None of them ran on a Mac or on the pinned runtime.
75
+ *
76
+ * | Harness | First request (fixed prompt) | Tool round trip | `readyMark` |
77
+ * |------------|-----------------------------------|----------------------------------------|--------------------------------------|
78
+ * | `opencode` | 8,115 tokens, 11 tools (v1.19.5; | SCRIPTED (v1.19.5). REAL in our own | `┃`: the first painted frame holds |
79
+ * | | more with user-level skills) | run on a Mac, see the `tested` entry | the composer; a prompt sent at the |
80
+ * | | | | mark was submitted, 2 of 2 launches |
81
+ * | `claude` | about 36,000 tokens, which is | not run again for this table (the row | none here: the CLI registry's |
82
+ * | | `slowFirstTurn` | shipped in 1.50.0) | `composerReadyMark` stands |
83
+ * | `pi` | 2,096 tokens, 4 tools (v1.5.2, | REAL (v1.5.2): tool call, tool result, | none: its composer rules are painted |
84
+ * | | the runtime's own count) | final answer, the file on disk | before it takes Enter (2 of 2 |
85
+ * | | | | prompts sent at the rule stayed |
86
+ * | | | | unsent), and it draws nothing that |
87
+ * | | | | is a contract once it does |
88
+ * | `deepseek` | about 7,650 tokens, 25 tools | SCRIPTED only, on both versions | none here: the CLI registry's `❯` |
89
+ * | | (0.1.1-rc.2); 6,983 tokens, 27 | (0.1.1-rc.2 with dsh-TUI 0.10.0-beta.1 | stands; a prompt sent at it was |
90
+ * | | tools (0.2.2-rc.1) | and 0.2.2-rc.1 with dsh-TUI 0.19.0). | submitted, 2 of 2 launches. On |
91
+ * | | | REAL: the launch and the model name | dsh-TUI 0.19.0 a setup guide draws |
92
+ * | | | reached the runtime, no turn finished | `❯` too until it was finished once |
93
+ *
94
+ * Every one of them sent the `name:tag` model id unchanged. `pi` was gated until 2026-11-10 for
95
+ * two open questions, both answered by its run: the id (above), and the window, which Codeman
96
+ * now passes to it (src/custom-model-injection.ts; without it pi takes an unknown model for a
97
+ * 128,000-token one). `deepseek` is a LAUNCHER: its install command leaves it with nothing to
98
+ * launch, so src/local-model/harness-facts.ts never reports it installable and a Mac is offered
99
+ * it only where it was already set up. It is offered on a scripted run and one unfinished real
100
+ * one: gate the row again (`gated: true`) should a run on a Mac not finish a turn. Two things
101
+ * about dsh-TUI 0.19.0 that a client of its `readyMark` must know: until a person has finished
102
+ * its setup guide once, every session opens on that guide and the guide's cursor is the mark
103
+ * (the codeman skill reads the pane after the mark for that reason), and its transcript file
104
+ * was renamed, so Codeman's `last-response` is empty for it for now.
105
+ *
67
106
  * MEMORY. The need is `bytes + heldBytesPerToken x context + overheadBytes + peakExtraBytes`
68
107
  * (src/local-model/recommend.ts). The two runners spend memory differently, so a row's three
69
108
  * figures are filled by the rule of its runner:
@@ -74,8 +113,10 @@
74
113
  * src/local-model/runtime.ts, q8_0: 34 bytes per 32 values), and does not grow after that.
75
114
  * "MTP" below is a GGUF with a multi-token-prediction layer (`nextn_predict_layers` 1 in
76
115
  * its header, read on 2026-11-08 from the first bytes of each model layer: the two `-mtp`
77
- * tags and `qwen3.8:27b-q8_0` have it, the two 9B tags and North Mini Code do not). For
78
- * such a model the runtime always passes `--spec-type draft-mtp --spec-draft-n-max N`, N
116
+ * tags and `qwen3.8:27b-q8_0` have it, the two 9B tags and North Mini Code do not; read
117
+ * the same way on 2026-11-10, `ornith:9b-q4_k_m` and `muse-glimmer:30b-q4_k_m` do not
118
+ * either). For such a model the runtime always passes
119
+ * `--spec-type draft-mtp --spec-draft-n-max N`, N
79
120
  * being the tag's own `draft_num_predict` (its params layer: 4 for
80
121
  * `qwen3.8:27b-mtp-q4_k_m`, 2 for `qwen3.6:35b-a3b-mtp-q4_k_m`) or the runtime's default
81
122
  * of 4 (`qwen3.8:27b-q8_0` sets none).
@@ -83,9 +124,11 @@
83
124
  * adds its prediction layer, whose cache llama-server keeps in a draft context of the
84
125
  * same length in the draft's own cache type, f16 by default (2 bytes per value).
85
126
  * - overhead = the fixed caches (the f32 recurrent state of the linear-attention layers,
86
- * or the sliding-window cache of `n_swa + 512` cells), held 1 + N times for an MTP
87
- * model (llama.cpp keeps one recurrent state per drafted token for rollback,
88
- * `need_n_rs_seq()`), + the context checkpoints: `LLAMA_ARG_CTX_CHECKPOINTS` host copies
127
+ * or the sliding-window cache of `n_swa + 512` cells: `size_swa` in
128
+ * src/llama-kv-cache-iswa.cpp, the cache every model with a sliding window gets), held
129
+ * 1 + N times for an MTP model (llama.cpp keeps one recurrent state per drafted token
130
+ * for rollback, `need_n_rs_seq()`), + the context checkpoints:
131
+ * `LLAMA_ARG_CTX_CHECKPOINTS` host copies
89
132
  * (`RUNTIME_CTX_CHECKPOINTS`, 8) of the state that cannot be rolled back (the recurrent
90
133
  * state, or the sliding-window cache), + 1.0 GB for the runner's own buffers (calibrated
91
134
  * on a third-party table of a 27B model on llama.cpp: 8.4 GB at 4,096 tokens with
@@ -110,6 +153,26 @@
110
153
  * of many requests, in which the prefix snapshots may add up to 8 GiB. Its figures stay
111
154
  * the measured ones (with 8 GiB on top it would not be offered on the Mac it ran on),
112
155
  * and a 30-request session on it is the first thing to measure next.
156
+ * Measured again on 2026-11-12 on the same Mac, from the runner's own log line
157
+ * (`msg=memory peak=... held=...` after every request): 39,600 bytes per token between
158
+ * prompts of 30,000 and 94,500 tokens, and the session this row owed, twelve separate
159
+ * prompts of 15,000 tokens, added 0.5 GiB of prefix snapshots each (5.6 GiB after
160
+ * twelve, still growing): the whole run ended at 33.4 GB of the 40.2 GB that Mac's
161
+ * runtime measures. The row's figures are unchanged by it.
162
+ * - `muse-glimmer:30b-mlx`: MEASURED the same way on that Mac (2026-11-12, runtime
163
+ * 0.40.15). What stayed held grew by 37,900 to 45,100 bytes per token between prompts
164
+ * of 30,000, 60,000 and 94,600 tokens. The 13 full-attention layers alone compute to
165
+ * 13,312 in bf16 and all 52 layers at full length to 53,248, so the runner evidently
166
+ * does not trim the 39 sliding-window layers to their window (an inference from the
167
+ * figure, not read in its source). The row takes the upper end. It counts the whole
168
+ * 8 GiB prefix budget, because the same run filled it: twelve separate prompts of
169
+ * 15,000 tokens added 0.53 GiB each until the runner dropped the oldest. The process
170
+ * (`footprint`) stood 0.2 GB above the runner's own count at the end. Its lifetime
171
+ * peak stood 3.0 to 3.3 GB above that, which is a FLOOR for the peak of a long prompt:
172
+ * a lifetime maximum taken at the end of the run hides a transient of up to 9 GB
173
+ * during the earlier, longer prompts. So the row takes the first measured row's 5 GB.
174
+ * The tag carries a draft model; its tensors are inside `bytes`, and what it holds is
175
+ * inside these figures.
113
176
  * - every other `mlx` row: held = the K/V cache in bf16 + one recurrent snapshot per
114
177
  * 8,192 tokens, computed from the config, x 37,000 / 28,340: the ratio of what the
115
178
  * measured row really held to the same computation for it (same runner, same
@@ -125,26 +188,65 @@
125
188
  * checked. For an `mlx` row it proves only the weights (issue 19417): the figures above are
126
189
  * all that stands between such a row and swap.
127
190
  *
128
- * Models set aside on purpose (a weekly review should look at them again):
191
+ * Models set aside on purpose (a weekly review should look at them again). Every reason was
192
+ * read again at its source on 2026-11-10:
193
+ * - `ripple-preview:65b` (Ricursive, Apache-2.0, a dense 65B published on 2026-11-09;
194
+ * Terminal-Bench 2.1 80.5 and SWE-bench Verified 76.5 on its card; 38.8 GB as a GGUF build,
195
+ * 45.8 GB as the MLX build a Mac pulls): every build requires runtime 0.40.16, one above
196
+ * the pin. Computed from its config.json by the llamacpp rule, its GGUF build would be the
197
+ * first row between the 27B and the 122B (47 GB at 131,072 tokens: 64 and 96 GB Macs, slow
198
+ * below an Ultra chip). Look at it the day the pin moves.
129
199
  * - `bonsai-2:27b`, `bonsai-2:9b` (ternary builds of Qwen3.8-27B and Qwen3.5-9B; the 27B
130
- * would make a 24 GB Mac `ok`): the vendor reports no SWE-bench and no agent loop, and
131
- * whether 2-bit weights keep tool calls reliable was never measured.
200
+ * would make a 24 GB Mac `ok`): the vendor reports no SWE-bench and no agent loop (its card
201
+ * of 2026-11-04 still lists BFCL v3 only), and whether 2-bit weights keep tool calls
202
+ * reliable was never measured.
132
203
  * - `ornith-1.5:9b`, `ornith-1.5:35b`, `ornith-1.5:397b` (GGUF only): strong cards, but their
133
204
  * manifests name no renderer and no tool parser, so whether tool calls work through the
134
- * runtime is unknown (runtime pull request 17965 is open). `ornith-1.5:122b` has both.
205
+ * runtime is unknown (runtime pull request 17965 is still open). `ornith-1.5:122b` has
206
+ * both.
207
+ * - `ornith:35b` (Ornith 1.0 35B-A3B, MIT, with a renderer and a tool parser; SWE-bench
208
+ * Verified 75.6 against 73.4 for Qwen3.6 35B-A3B on Ornith's card): runtime issue 16992,
209
+ * open, reports its tool calls arriving as text in long agent chains, and its size is
210
+ * served by the pair we ran. Its 9B sibling `ornith:9b-q4_k_m` is listed: see that row
211
+ * for why.
135
212
  * - `gpt-oss:20b`: weak in agentic coding (SWE-bench Verified 52.4, Terminal-Bench 2.1 15.2
136
213
  * in NVIDIA's table).
137
- * - `flint:40b`: runtime issue 19191 breaks integer tool arguments after the first call.
214
+ * - `flint:40b`: runtime issue 19191 (open) breaks integer tool arguments after the first
215
+ * call.
138
216
  * - `lfm2.5:24b-a2b`: its licence allows commercial use only below USD 10M of revenue.
139
217
  * - `laguna-xs-2.1`: the runtime's own page names an open problem with it on macOS.
140
218
  * `laguna-s-2.1`: open runtime issues 17602 and 17632.
141
- * - `qwen3.8-flash-next:125b`: the Qwen Community License, not an open licence.
219
+ * - `qwen3.8-flash-next:125b`: the Qwen Community License, not an open licence, and its
220
+ * builds require runtime 0.40.16 since 2026-11-09.
221
+ * - `nemotron-3.5-super:120b` (79.6 GB as the MLX build a Mac pulls): Terminal-Bench 2.1
222
+ * 60.7 and SWE-bench Verified 71.1 in NVIDIA's table, below `ornith-1.5:122b` at a larger
223
+ * download, so it adds no choice a 128 GB Mac would take.
224
+ * - `qwen3.5:4b-q4_k_m` (3.3 GB, it would fit a 16 GB Mac with room): runtime issue 18916,
225
+ * open, has it answer with thinking only in a long conversation at 65,536 tokens.
226
+ * - `qwen3-coder-next` (51.7 GB): the generation before Qwen3.6. Its card shows its results
227
+ * as pictures only, so there is no figure to rank it by against the rows listed here.
228
+ * - The `-dflash` tags of Muse Glimmer (`30b-q4_k_m-dflash`, `30b-nvfp4-dflash`): a separate
229
+ * draft model whose memory no rule here covers. `muse-glimmer:30b-mlx`, which is built
230
+ * from the second one's layers, IS listed since 2026-11-12, with measured figures. Its
231
+ * two open runtime issues were read again that day: 17656 takes its `nvfp4` weights for
232
+ * a build the MLX engine cannot accelerate (on the Mac it ran on the runtime logged
233
+ * "MLX engine initialized ... device=gpu" and it wrote twice as fast as the GGUF build),
234
+ * and 18269 reports it stuck in "Stopping..." and a restart on a 32 GB Mac, a size the
235
+ * measured figures keep it away from (its maintainer promised a memory fix "in the next
236
+ * release" in September; whether that predates the pinned 0.40.15 is not known).
142
237
  * - The plain tags `qwen3.5:9b`, `mimo-v2.6:9b` and `qwen3.8:27b`: a Mac pulls their MLX
143
238
  * builds, whose 8 GiB of prefix snapshots do not fit the Macs a 9B or a 27B is for. Their
144
239
  * GGUF builds are listed instead.
145
240
  * - `qwen3.5:122b-a10b`: replaced by `ornith-1.5:122b`, a fine-tune of it (SWE-bench
146
241
  * Verified 84.5 against 72.0) whose MLX build carries a renderer and a tool parser.
147
242
  *
243
+ * One open issue touches rows that ARE listed: runtime issue 16992 (above). Its one diagnosed
244
+ * cause sits in the tool parser itself (it closes a call at the first closing tag, so a tool
245
+ * argument that quotes a whole tool call is cut off; the fix, runtime pull request 17021, is
246
+ * open). The names `ornith` and `qwen3.5` map to that one parser in the pinned runtime
247
+ * (model/parsers/parsers.go), so every Qwen-family row here shares it, the pair we ran
248
+ * included. The check after a download asks for one plain tool call and cannot see this.
249
+ *
148
250
  * `tested` has one entry: `qwen3.6:35b-a3b` with OpenCode on an Apple M5 Pro with 48 GB,
149
251
  * 2026-11-06, 67.7 tokens per second. Only a Mac of exactly that chip and memory size is told
150
252
  * "Recommended" and shown that speed in place of the estimate. Every other row was never run
@@ -1 +1 @@
1
- {"version":3,"file":"local-model-catalog.d.ts","sourceRoot":"","sources":["../../src/config/local-model-catalog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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