mulmoterminal 4.3.1 → 4.5.0

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 (250) hide show
  1. package/README.md +199 -74
  2. package/common/chromeFromColor.ts +121 -0
  3. package/common/contrast.ts +41 -0
  4. package/common/customAgents.ts +104 -0
  5. package/common/dirConfigSource.ts +22 -2
  6. package/common/dirIcon.ts +65 -0
  7. package/common/guiMcpAgents.ts +44 -0
  8. package/common/iconSizes.ts +20 -0
  9. package/common/launchAgent.ts +1 -1
  10. package/common/repoJson.ts +81 -0
  11. package/common/sessionAgent.ts +9 -2
  12. package/common/workComment.ts +141 -14
  13. package/common/workCommentFailure.ts +16 -0
  14. package/common/worklogInterval.ts +12 -0
  15. package/common/worktreeEnv.ts +106 -0
  16. package/dist/assets/{abnfDiagram-VRR7QNED-RjiYivmv-CT9Uqhrf.js → abnfDiagram-VRR7QNED-WSmThe6b-DPaEh_gN.js} +1 -1
  17. package/dist/assets/{arc-zT0wd74V-CquvnqHY.js → arc-Op_P1CyZ-BX8g6uBK.js} +1 -1
  18. package/dist/assets/architecture-TIHT7OUA-Cqhmai3f-DCOr0rgu.js +1 -0
  19. package/dist/assets/architectureDiagram-ZJ3FMSHR-Tj3i7Oow-CUD1E04p.js +36 -0
  20. package/dist/assets/{blockDiagram-677ZJIJ3-BPuAJQRW-79FB0lt8.js → blockDiagram-677ZJIJ3-c-hNYBhI-oMocpv9s.js} +5 -5
  21. package/dist/assets/c4Diagram-LMCZKHZV-WIGVajf5-DCS5Kt2M.js +10 -0
  22. package/dist/assets/channel-OqG5cGJi-3dRrNd2x.js +1 -0
  23. package/dist/assets/{chunk-32BRIVSS-BRrYpgtb-aykH5u2p.js → chunk-32BRIVSS-CtSq3QOR-D6jNTV1x.js} +1 -1
  24. package/dist/assets/chunk-52WLFC77-2Up0T-6t-qOt9ZLFS.js +10 -0
  25. package/dist/assets/{chunk-C7G6YPKG-BZEucKEL-Bw2BPiMD.js → chunk-C7G6YPKG-ivengO-7-7utsyMTv.js} +1 -1
  26. package/dist/assets/chunk-EX3LRPZG-BHoWQ6W8-6OAUxLJG.js +231 -0
  27. package/dist/assets/{chunk-FWX5IMBZ-DHLSFw1H-DkeOMKLh.js → chunk-FWX5IMBZ-PvRXPghr-CoUoZ066.js} +2 -2
  28. package/dist/assets/{chunk-HOUHSVGY-Bhlt8hXJ-DdVyGO6v.js → chunk-HOUHSVGY-A3_zwY4q-Z32157__.js} +1 -1
  29. package/dist/assets/chunk-ICXQ74PX-vzZqgurQ-4S5Kaqhr.js +2 -0
  30. package/dist/assets/{chunk-MOJQB5TN-CMZRaeqt-CMpPHYp7.js → chunk-MOJQB5TN-CorQ_Pl1-BFdYgLZH.js} +4 -4
  31. package/dist/assets/{chunk-OGEWGWER-8Qy4a8b5-0GQPufrO.js → chunk-OGEWGWER-BVhfs7WG-EE3Qh8NO.js} +1 -1
  32. package/dist/assets/chunk-PUDLZKDR-CJo7KQJ3-D1PA0tz9.js +156 -0
  33. package/dist/assets/{chunk-Q4XR5HBZ-ZXVGkG8Z-Bks0MQ4h.js → chunk-Q4XR5HBZ-DLkq8ZGO-ySWBhGnM.js} +3 -3
  34. package/dist/assets/chunk-RYQCIY6F-CLxhXO9P-bjDO7t1Y.js +1 -0
  35. package/dist/assets/{chunk-V7JOEXUC-DmGdheTX-BlVTi1cm.js → chunk-V7JOEXUC-DqefuUOb-DhSm2NyP.js} +4 -4
  36. package/dist/assets/{chunk-VAUOI2AC-CS9QJ4yz-DMkDNSeE.js → chunk-VAUOI2AC-BKx35BBi-B60QprFR.js} +1 -1
  37. package/dist/assets/{chunk-VR4S4FIN-C6a91eNY-BiALkt7V.js → chunk-VR4S4FIN-DpJgr4Ur-aiw-751p.js} +1 -1
  38. package/dist/assets/chunk-WYO6CB5R-nS6zX9ct-DWK9p9qg.js +127 -0
  39. package/dist/assets/{chunk-XXDRQBXY-DFXH_lWn-3EDWq1FX.js → chunk-XXDRQBXY-DIOdXErg-BaEFQvBN.js} +1 -1
  40. package/dist/assets/{chunk-ZGVPDNZ5-BYwxNFTK-D_q2-CVd.js → chunk-ZGVPDNZ5-DNtiHxpJ-cQBGQXJU.js} +5 -5
  41. package/dist/assets/{chunk-ZIRB5QZD-Biy6ZNFG-Cxpu0Ymf.js → chunk-ZIRB5QZD-DRLh0zc1-B04pRyTm.js} +2 -2
  42. package/dist/assets/classDiagram-OUVF2IWQ-C6h0nbT3-he2Qx8Zy.js +1 -0
  43. package/dist/assets/classDiagram-v2-EOCWNBFH-CzsXJ_wA-he2Qx8Zy.js +1 -0
  44. package/dist/assets/cose-bilkent-JH36ORCC-Rn6Qv2B3-BQD8cYke.js +1 -0
  45. package/dist/assets/cynefin-VYW2F7L2-DvSvuXnG-BM05JO9d.js +1 -0
  46. package/dist/assets/cynefinDiagram-TSTJHNR4-969y1qZK-76_lFdlS.js +62 -0
  47. package/dist/assets/cytoscape.esm-C_CQJHFN-D3Xb5zKs.js +321 -0
  48. package/dist/assets/dagre-Iyo00jS2-DhomXx19.js +1 -0
  49. package/dist/assets/{dagre-VKFMJZFB--oJKqXBZ-B8WzMJlt.js → dagre-VKFMJZFB-CZfgAZFk-BIp6P02L.js} +1 -1
  50. package/dist/assets/defaultLocale-DCiIiYpI-C5Twph8F.js +1 -0
  51. package/dist/assets/{diagram-FQU43EPY-CcJCB9bG-Bp5pvbr-.js → diagram-FQU43EPY-CSdnleGM-Cfb5V0UI.js} +3 -3
  52. package/dist/assets/{diagram-G47NLZAW-C_o-WGG1-GlU5Mr9X.js → diagram-G47NLZAW-DKYe-Mwx-DqsHnBaF.js} +1 -1
  53. package/dist/assets/diagram-NH7WQ7WH-DMasKpwa-CNiFWceN.js +24 -0
  54. package/dist/assets/{diagram-OA4YK3LP-BMzeJ87A-CELX5cXw.js → diagram-OA4YK3LP-CSyc0BDR-OiAwSIjr.js} +3 -3
  55. package/dist/assets/{diagram-WEI45ONY-D_93NKqo-CWF0sNpY.js → diagram-WEI45ONY-CcJW2fNK-TQf1z8cW.js} +2 -2
  56. package/dist/assets/{dist-DepKW7Cu.js → dist-9wGqhibT.js} +1 -1
  57. package/dist/assets/{dist-DFBNVDOJ.js → dist-BR8nhjbg.js} +1 -1
  58. package/dist/assets/{dist-CkdgcW25.js → dist-BezNTABu.js} +1 -1
  59. package/dist/assets/{dist-BQBs5pjy-uaeihEVi.js → dist-Bz_xjr9E-SUsJ4HlM.js} +1 -1
  60. package/dist/assets/{dist-CoUmxnmy.js → dist-RBakV0o4.js} +1 -1
  61. package/dist/assets/{ebnfDiagram-CCIWWBDH-CVai1Ii9-B0FoO-D3.js → ebnfDiagram-CCIWWBDH-CeBUH2N0-B8mwuH_Q.js} +1 -1
  62. package/dist/assets/{erDiagram-Q63AITRT-CiABnA0s-Dt4zX6Cn.js → erDiagram-Q63AITRT-1OOp34oV-4zV7QoN3.js} +3 -3
  63. package/dist/assets/eventmodeling-45OFAUF4-jdctDg0T-D7yLQEKX.js +1 -0
  64. package/dist/assets/flowDiagram-23GEKE2U-DK0InIny-XdeCwjZj.js +1 -0
  65. package/dist/assets/ganttDiagram-NO4QXBWP-DQT88dUZ-DmKfWKVt.js +292 -0
  66. package/dist/assets/gitGraph-TEB2WS4Q-C4cKwl5j-CNGA-Dxh.js +1 -0
  67. package/dist/assets/gitGraphDiagram-IHSO6WYX-CeZGS4qi-CPiO74HP.js +106 -0
  68. package/dist/assets/index-B7qYhdzG.js +614 -0
  69. package/dist/assets/index-DnimPwKc.css +1 -0
  70. package/dist/assets/info-DKCQHKI2-DPUCBYWS-DggNvHPl.js +1 -0
  71. package/dist/assets/{infoDiagram-FWYZ7A6U-7UnoB5AP-B8o0Jbia.js → infoDiagram-FWYZ7A6U-BDt8lBTy-BJdFxf7J.js} +1 -1
  72. package/dist/assets/init-DzP_5IO6-C-OQMol4.js +1 -0
  73. package/dist/assets/{ishikawaDiagram-FXEZZL3T-ByUDM_N2-DYiJIU4-.js → ishikawaDiagram-FXEZZL3T-DOHYs_AA-DN4-dfNt.js} +3 -3
  74. package/dist/assets/{journeyDiagram-5HDEW3XC-c5xIah9o-DQUELmJR.js → journeyDiagram-5HDEW3XC-B33IW9yy-D46iXC-G.js} +4 -4
  75. package/dist/assets/{kanban-definition-HUTT4EX6-Cnt6loYD-DIDeN7IQ.js → kanban-definition-HUTT4EX6-Bkdm46eX-DaJbuRjn.js} +11 -11
  76. package/dist/assets/{katex-C_9rYNVQ-c9h6sBOB.js → katex-DImtHWbS-DFcUm9x_.js} +3 -3
  77. package/dist/assets/{lib-BERm08tN.js → lib-BD8LgZAH.js} +1 -1
  78. package/dist/assets/line-Dy_Qlcgo-DWmsY6xO.js +1 -0
  79. package/dist/assets/{linear-lrGinF5_-CbzZdnNy.js → linear-DVIrZqkl-BqPv05Mj.js} +1 -1
  80. package/dist/assets/{marp-DoZwiXYn.js → marp-CwNmXt5E.js} +1 -1
  81. package/dist/assets/{mermaid-parser.core-DxEa8E3F-DrPXY--g.js → mermaid-parser.core-C1baW7NG-Bt8E3kO2.js} +25 -25
  82. package/dist/assets/mermaid.core-C09q4TmN-CdpmD79K.js +11 -0
  83. package/dist/assets/{mindmap-definition-LN4V7U3C-CexN3O6L-D8GNqsZb.js → mindmap-definition-LN4V7U3C-bfYIhPQ0-C4RQ97Ls.js} +26 -26
  84. package/dist/assets/{ordinal-B9_Llu10-CU85fhaB.js → ordinal-pAvPVbFU-C5B2S93B.js} +1 -1
  85. package/dist/assets/packet-7NZHBO7P-CC7His0F-DIVJjy2R.js +1 -0
  86. package/dist/assets/{path-COivZ1Gw-C5riojK2.js → path-CciMXxPa-COt_16Va.js} +1 -1
  87. package/dist/assets/{pegDiagram-2B236MQR-BiM4G0cW-BiqLpMax.js → pegDiagram-2B236MQR-CZQOKUMC-BGzTvU6v.js} +1 -1
  88. package/dist/assets/pie-RZYD4A2V-CCrcq2sL-DbntX_Y9.js +1 -0
  89. package/dist/assets/pieDiagram-ENE6RG2P-DiVKPdHE-XKldq1E5.js +39 -0
  90. package/dist/assets/{quadrantDiagram-ABIIQ3AL-BigGVxCR-CgPZrtxc.js → quadrantDiagram-ABIIQ3AL-CbPY3kXI-C5r0a9Sf.js} +4 -4
  91. package/dist/assets/radar-I7S5WNFK-C5TUrpHf-BjpTp9D5.js +1 -0
  92. package/dist/assets/railroad-3IZDKUUU-CGuuFEd8-BgrykldZ.js +1 -0
  93. package/dist/assets/railroad-abnf-AHOZXSZD-DuoCSFZY-4ECSfnJj.js +1 -0
  94. package/dist/assets/railroad-ebnf-EBAXGLYW-ig-DG9e_-DIGuLSDA.js +1 -0
  95. package/dist/assets/railroad-peg-LSFZ7HO6-BkBgpyvu-WBfEJm_q.js +1 -0
  96. package/dist/assets/{railroadDiagram-RFXS5EU6--lNIlG64-DWQulsNW.js → railroadDiagram-RFXS5EU6-CFRaQzr0-YImSnBwl.js} +1 -1
  97. package/dist/assets/{requirementDiagram-TGXJPOKE-D-B0Y5Wu-C7nuOFw4.js → requirementDiagram-TGXJPOKE-BiIDduje-CLDWdQ6G.js} +4 -4
  98. package/dist/assets/{rough.esm-wVmwlXu7-CSKSodPl.js → rough.esm-CRiMXkOs-By172zw-.js} +1 -1
  99. package/dist/assets/sankeyDiagram-HTMAVEWB-DcK87A5Y-CzQDWlB1.js +40 -0
  100. package/dist/assets/sequenceDiagram-DBY2YBRQ-DgEQYcvc-Cql9GjHP.js +162 -0
  101. package/dist/assets/src-CvsWqFln-Tc7ZSrRz.js +1 -0
  102. package/dist/assets/{stateDiagram-2N3HPSRC-jf_dXUEU-qUFWnLXJ.js → stateDiagram-2N3HPSRC-Bg7EXtW2-CN3bsM_d.js} +1 -1
  103. package/dist/assets/stateDiagram-v2-6OUMAXLB-BjhArXP_-PWEWNNBX.js +1 -0
  104. package/dist/assets/swimlanes-5IMT3BWC-CKORDKr0-cK0-DqfM.js +2 -0
  105. package/dist/assets/swimlanesDiagram-G3AALYLV-CyvIfl1o-DRhfZv9k.js +8 -0
  106. package/dist/assets/{timeline-definition-FHXFAJF6-DYJ4oUm8-dOzMWPM2.js → timeline-definition-FHXFAJF6-BM3Iky2r-C6aXUCxm.js} +8 -8
  107. package/dist/assets/treeView-QDETBFTQ-CqfT0I1z-C1kvz6Pn.js +1 -0
  108. package/dist/assets/treemap-6X3UGDF4-CiJkiGWo-CWCrFJlO.js +1 -0
  109. package/dist/assets/vennDiagram-L72KCM5P-VNmAhEFP-T681nWRy.js +34 -0
  110. package/dist/assets/wardley-OPB4EBWU-D1tuVHAV-B-2c3CsH.js +1 -0
  111. package/dist/assets/{wardleyDiagram-EHGQE667-BF6c4_CW-YwwvAmC7.js → wardleyDiagram-EHGQE667-BkHQpyFm-D-AfB-NA.js} +2 -2
  112. package/dist/assets/{xychartDiagram-FW5EYKEG-CGiKngj7-SieH7WSm.js → xychartDiagram-FW5EYKEG-Yz-8aLqK-CNzoNtQE.js} +4 -4
  113. package/dist/index.html +2 -2
  114. package/package.json +10 -10
  115. package/server/agents/antigravity-mcp.ts +9 -41
  116. package/server/agents/antigravity-sessions.ts +5 -5
  117. package/server/agents/claude-args.ts +23 -14
  118. package/server/agents/git-exclude.ts +29 -0
  119. package/server/agents/grok-args.ts +56 -0
  120. package/server/agents/grok-mcp.ts +138 -0
  121. package/server/agents/grok-session.ts +42 -0
  122. package/server/agents/grok.ts +9 -0
  123. package/server/agents/gui-mcp-bridge.ts +30 -0
  124. package/server/agents/registry.ts +2 -0
  125. package/server/agents/types.ts +1 -1
  126. package/server/backends/remoteHost/terminalScreen.ts +1 -1
  127. package/server/config/app-config.ts +59 -9
  128. package/server/config/config-body.ts +1 -0
  129. package/server/config/config-routes.ts +26 -9
  130. package/server/config/config-schema.ts +85 -1
  131. package/server/config/dir-config.ts +132 -26
  132. package/server/config/dir-icon-detect.ts +114 -0
  133. package/server/config/dir-icon.ts +79 -0
  134. package/server/config/header-config.ts +27 -12
  135. package/server/config/header-context.ts +5 -16
  136. package/server/config/header-resolve.ts +1 -1
  137. package/server/config/repo-json.ts +81 -0
  138. package/server/config/worktree-dir-config.ts +38 -12
  139. package/server/config/worktree-env-log.ts +115 -0
  140. package/server/config/worktree-env.ts +299 -0
  141. package/server/config/worktree-task.ts +22 -0
  142. package/server/git/forge-failure.ts +42 -0
  143. package/server/git/gh.ts +6 -1
  144. package/server/git/glab-items.ts +17 -3
  145. package/server/git/glab.ts +22 -1
  146. package/server/git/issue-work.ts +2 -15
  147. package/server/git/work-comment.ts +225 -60
  148. package/server/git/worktree-routes.ts +7 -1
  149. package/server/git/worktrees.ts +33 -32
  150. package/server/index.ts +9 -0
  151. package/server/infra/canonical-path.ts +36 -0
  152. package/server/infra/jsonl-file.ts +96 -2
  153. package/server/infra/mulmoterminal-home.ts +10 -0
  154. package/server/infra/serialize-per-key.ts +27 -0
  155. package/server/mcp/broker.ts +6 -3
  156. package/server/mcp/gui-call-history.ts +6 -4
  157. package/server/mcp/tool-gate.ts +20 -1
  158. package/server/routes/app-routes.ts +3 -0
  159. package/server/routes/dir-routes.ts +42 -5
  160. package/server/routes/mcp-routes.ts +11 -4
  161. package/server/routes/plugin-routes.ts +32 -20
  162. package/server/routes/routeParams.ts +2 -1
  163. package/server/routes/session-routes.ts +7 -2
  164. package/server/routes/terminal-ws-path.ts +2 -1
  165. package/server/routes/tool-routes.ts +2 -2
  166. package/server/routes/ws-routes.ts +176 -58
  167. package/server/session/{antigravity-conversations.ts → agent-conversations.ts} +19 -17
  168. package/server/session/all-tools-log.ts +54 -0
  169. package/server/session/background-chat.ts +2 -1
  170. package/server/session/cost.ts +60 -19
  171. package/server/session/custom-agent-command.ts +49 -0
  172. package/server/session/custom-agent-log.ts +60 -0
  173. package/server/session/decision-scan.ts +38 -19
  174. package/server/session/decisions.ts +61 -60
  175. package/server/session/dir-session.ts +1 -1
  176. package/server/session/file-cache.ts +47 -18
  177. package/server/session/header-hook.ts +10 -2
  178. package/server/session/issue-spawn-options.ts +2 -2
  179. package/server/session/lifecycle.ts +3 -0
  180. package/server/session/mcp-config.ts +26 -9
  181. package/server/session/pty-spawn.ts +18 -2
  182. package/server/session/registry.ts +167 -47
  183. package/server/session/session-reads.ts +177 -68
  184. package/server/session/session-settings.ts +0 -9
  185. package/server/session/spawn-antigravity.ts +13 -2
  186. package/server/session/spawn-claude.ts +108 -15
  187. package/server/session/spawn-codex.ts +15 -8
  188. package/server/session/spawn-deps.ts +2 -0
  189. package/server/session/spawn-grok.ts +76 -0
  190. package/server/session/spawn-shell.ts +5 -5
  191. package/server/session/spawners.ts +2 -0
  192. package/server/session/summary-scan.ts +82 -47
  193. package/server/session/transcript-fold.ts +89 -0
  194. package/server/session/transcript-sidecar.ts +136 -0
  195. package/server/session/transcript.ts +70 -38
  196. package/server/session/worktree-session-limit.ts +2 -1
  197. package/server/skills/mulmoterminal-config/SKILL.md +95 -9
  198. package/server/skills/mulmoterminal-dirs/SKILL.md +152 -8
  199. package/server/skills/mulmoterminal-header/SKILL.md +27 -12
  200. package/server/skills/mulmoterminal-keys/SKILL.md +5 -2
  201. package/server/skills/mulmoterminal-model/SKILL.md +111 -3
  202. package/dist/assets/architecture-TIHT7OUA-0NsD2xW1-BtXzp02l.js +0 -1
  203. package/dist/assets/architectureDiagram-ZJ3FMSHR-3nWA91tG-BXwGIsls.js +0 -36
  204. package/dist/assets/c4Diagram-LMCZKHZV-C0LAqQso-uxaASSx1.js +0 -10
  205. package/dist/assets/channel-7wUqSdoX-BulA7cua.js +0 -1
  206. package/dist/assets/chunk-52WLFC77-BJ-ss3Xr-BIKsLvpu.js +0 -10
  207. package/dist/assets/chunk-EX3LRPZG-DLS6FBN1-nN2DzO-d.js +0 -231
  208. package/dist/assets/chunk-ICXQ74PX-DwgHBX_g-B5TPX-ja.js +0 -2
  209. package/dist/assets/chunk-PUDLZKDR-DcrWQRYh-DpdF6xBy.js +0 -156
  210. package/dist/assets/chunk-RYQCIY6F-CmHwCv5h-CR7mRx_v.js +0 -1
  211. package/dist/assets/chunk-WYO6CB5R-BlzOfotS-Bi6dHOnb.js +0 -127
  212. package/dist/assets/classDiagram-OUVF2IWQ-BYlRi6YQ-BMN4hwzn.js +0 -1
  213. package/dist/assets/classDiagram-v2-EOCWNBFH-BCHaYHxj-BMN4hwzn.js +0 -1
  214. package/dist/assets/cose-bilkent-JH36ORCC-DDu6UbVg-DcuGhn7q.js +0 -1
  215. package/dist/assets/cynefin-VYW2F7L2-CGYr2F6h-D2KtC-S7.js +0 -1
  216. package/dist/assets/cynefinDiagram-TSTJHNR4-DHA9iPo--Dbc-aisS.js +0 -62
  217. package/dist/assets/cytoscape.esm-CncKIM2s-CEEOau9_.js +0 -321
  218. package/dist/assets/dagre-CF0ZwvCl-CSPF5CVP.js +0 -1
  219. package/dist/assets/defaultLocale-DUNguUWs-BbDo_yJX.js +0 -1
  220. package/dist/assets/diagram-NH7WQ7WH-CXJCYvY--ClgixYFk.js +0 -24
  221. package/dist/assets/eventmodeling-45OFAUF4-CWmqhm3a-CYywgSFk.js +0 -1
  222. package/dist/assets/flowDiagram-23GEKE2U-DKSB5AiY-Bs6h-BDh.js +0 -1
  223. package/dist/assets/ganttDiagram-NO4QXBWP-DQZvdFo1-B86eF5th.js +0 -292
  224. package/dist/assets/gitGraph-TEB2WS4Q-BR9qPwdN-C3aAm9fM.js +0 -1
  225. package/dist/assets/gitGraphDiagram-IHSO6WYX-C2ovBouh-BhFgc5ay.js +0 -106
  226. package/dist/assets/index-BT26laLM.js +0 -614
  227. package/dist/assets/index-C-UrTIoI.css +0 -1
  228. package/dist/assets/info-DKCQHKI2-Dplx5kMp-BATt34FM.js +0 -1
  229. package/dist/assets/init-DEsX3bhM-D6jRqBbL.js +0 -1
  230. package/dist/assets/line-D7ziSjKi-Cw43YX0p.js +0 -1
  231. package/dist/assets/mermaid.core-V0OYwIz3-CuO4mAFc.js +0 -11
  232. package/dist/assets/packet-7NZHBO7P-CQI3flND-BsYiu0eH.js +0 -1
  233. package/dist/assets/pie-RZYD4A2V-CnmKE2Wa-CvfyjRZR.js +0 -1
  234. package/dist/assets/pieDiagram-ENE6RG2P-B_fBBS-2-CU5HAOI7.js +0 -39
  235. package/dist/assets/radar-I7S5WNFK-us6x-Z9R-BJvuK6zi.js +0 -1
  236. package/dist/assets/railroad-3IZDKUUU-BKdz6pdN-DWAuud5T.js +0 -1
  237. package/dist/assets/railroad-abnf-AHOZXSZD-m_CSSIfd-ByAoBAuS.js +0 -1
  238. package/dist/assets/railroad-ebnf-EBAXGLYW-Nu3nAG7C-DWARdJhX.js +0 -1
  239. package/dist/assets/railroad-peg-LSFZ7HO6--Y3mD4R_-D6EhR9fI.js +0 -1
  240. package/dist/assets/sankeyDiagram-HTMAVEWB-DlutaXDv-CWIzy8TA.js +0 -40
  241. package/dist/assets/sequenceDiagram-DBY2YBRQ-BOLgtggH-Dio5KS67.js +0 -162
  242. package/dist/assets/src-Brzfja-q-ch1VcTiG.js +0 -1
  243. package/dist/assets/stateDiagram-v2-6OUMAXLB-CuzgCL2v-DKHAwdyO.js +0 -1
  244. package/dist/assets/swimlanes-5IMT3BWC-CYjtALQH-CV1UhVuS.js +0 -2
  245. package/dist/assets/swimlanesDiagram-G3AALYLV-3bmSBtKs-Du-sRP36.js +0 -8
  246. package/dist/assets/treeView-QDETBFTQ-D27HWG6Q-BeDemuMr.js +0 -1
  247. package/dist/assets/treemap-6X3UGDF4-CmGIU3H5-Bm6h1R9w.js +0 -1
  248. package/dist/assets/vennDiagram-L72KCM5P-CdKAHoek-fPfZphXv.js +0 -34
  249. package/dist/assets/wardley-OPB4EBWU-CbHWsb2k-Tf_MztSb.js +0 -1
  250. package/server/session/launcher-gui-mcp.ts +0 -111
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # mulmoterminal
1
+ # MulmoTerminal
2
2
 
3
3
  **Run multiple Claude Code and Codex sessions in parallel — and see which one needs you.**
4
4
 
@@ -34,6 +34,10 @@ ping to your phone when a task finishes. One `npx` command, no Electron, no conf
34
34
  npx mulmoterminal@latest # starts on http://localhost:34567 and opens your browser
35
35
  ```
36
36
 
37
+ Built by **[receptron](https://github.com/receptron)** — **[Satoshi Nakajima](https://x.com/snakajima)**,
38
+ software architect for **Windows 95** at Microsoft, and **[Isamu Arimoto](https://github.com/isamu)**;
39
+ the same two behind **[GraphAI](https://github.com/receptron/graphai)**. [More ↓](#who-builds-this)
40
+
37
41
  > **Something looks wrong?** Type `/mulmoterminal-bug-report` in any MulmoTerminal session. The
38
42
  > bundled skill hears the symptom out, checks your **real** config, schema and version to see
39
43
  > whether the behaviour is configuration or by design, searches the existing issues — and only
@@ -339,8 +343,8 @@ The launcher detects it and prints the exact, OS-appropriate removal command; ru
339
343
  ┌──────────────────────────────────────┐ ┌─────────────────────────────────────────────┐
340
344
  │ Browser (Vue 3 + xterm.js) │ │ Server (Express + Node) │
341
345
  │ │ │ │
342
- │ Sidebar.vue ──subscribe("sessions")──┼──SIO───►│ socket.io /ws/pubsub ── publish ──┐ │
343
- │ ▲ refetch on any push │ │ │ │
346
+ │ App.vue ──────subscribe("sessions")──┼──SIO───►│ socket.io /ws/pubsub ── publish ──┐ │
347
+ │ ▲ refetch on any push (favicon) │ │ │ │
344
348
  │ └──── GET /api/sessions ─────────┼──HTTP──►│ Express /api/sessions │ │
345
349
  │ │ │ /api/hook ◄──curl── hooks │ │
346
350
  │ Terminal.vue ── ws JSON msgs ────────┼──WS────►│ ws /ws ──► node-pty ─► `claude`──hooks┘
@@ -349,7 +353,8 @@ The launcher detects it and prints the exact, OS-appropriate removal command; ru
349
353
  ```
350
354
 
351
355
  - **Terminal I/O** flows over a raw WebSocket (`/ws`), one PTY per session.
352
- - **Session list** is fetched over HTTP (`/api/sessions`).
356
+ - **Session list** is fetched over HTTP (`/api/sessions`) — by `App.vue` for the tab favicon,
357
+ and by an empty cell's launch form (`?cwd=`) for its resume rows.
353
358
  - **Live activity** is pushed over a Socket.IO pub/sub channel (`/ws/pubsub`);
354
359
  the server learns of activity from **Claude hooks** that POST to `/api/hook`.
355
360
  - **Other terminals** run on their own raw WebSockets: **Codex** sessions on `/ws/codex`,
@@ -381,36 +386,40 @@ SDK; we drive the real interactive CLI and relay its TTY over the WebSocket.
381
386
 
382
387
  ---
383
388
 
384
- ## Agents: Claude, Codex & Antigravity
389
+ ## Agents: Claude, Codex, Antigravity & Grok
385
390
 
386
391
  MulmoTerminal drives **interactive coding-agent CLIs**, not just Claude. An
387
392
  `AgentAdapter` seam abstracts the per-agent bits (which binary to spawn, how it resumes)
388
- so the PTY, grid, persistence, and GUI-panel plumbing stay shared. Three adapters ship
389
- today — **Claude Code** (the default), **Codex**, and **Antigravity** (`agy`).
393
+ so the PTY, grid, persistence, and GUI-panel plumbing stay shared. Four adapters ship
394
+ today — **Claude Code** (the default), **Codex**, **Antigravity** (`agy`), and **Grok**.
390
395
 
391
396
  - **Claude** — spawned as `claude` (override with `CLAUDE_BIN`). The server passes
392
397
  `--session-id <uuid>`, so it knows the live session's id even before its transcript
393
398
  file exists, and injects activity hooks per spawn (see
394
399
  [Claude hook injection](#claude-hook-injection)) plus the
395
400
  [closing summary](#closing-summary) instruction.
396
- The **whole** GUI MCP (`--mcp-config` + `--strict-mcp-config`) goes only to a session that is not a grid cell, or to a grid cell whose cwd IS the workspace — `carriesFullGuiMcp` in `server/session/spawn-claude.ts`, which is what gives a workspace cell the tools the single view had before 4.0.0 removed it. That equivalence is about what the session *carries*: a workspace cell is still a grid cell in every other respect. A cell in a project directory attaches neither flag, so Claude Code loads MCP servers the ordinary way — the directory's own local scope, any `.mcp.json` up the tree, and your global ones — including whichever [Canvas switches](#wiki-collections--the-gui-panel) are registered for it.
401
+ The **whole** GUI MCP (`--mcp-config`, on one all-tools URL) goes only to a session that is not a grid cell, or to a grid cell whose cwd IS the workspace — `claimFullGuiMcp` in `server/session/registry.ts`, which is what gives a workspace cell the tools the single view had before 4.0.0 removed it. That equivalence is about what the session *carries*: a workspace cell is still a grid cell in every other respect. A cell in a project directory attaches none of ours, so its GUI tools come from whichever [Canvas switches](#wiki-collections--the-gui-panel) are registered for it. **Either way, Claude Code loads your own MCP servers normally** — the directory's local scope, any `.mcp.json` up the tree, your global ones and your claude.ai connectors. It did not always: `--strict-mcp-config` used to ride along with `--mcp-config`, which hid all of that from the very sessions meant to be the most capable ([#1338](https://github.com/receptron/mulmoterminal/issues/1338), [#1385](https://github.com/receptron/mulmoterminal/issues/1385)).
397
402
  - **Codex** — spawned as `codex` (override with `CODEX_BIN`; `CODEX_MODEL` sets
398
403
  `--model`). Codex runs on its own WebSocket (`/ws/codex`) and its sessions appear in the
399
404
  cockpit roster next to Claude's. Because Codex only mints its rollout id **after** the first
400
405
  turn, the server watches `~/.codex/sessions/**/rollout-*.jsonl` (home overridable via
401
406
  `CODEX_HOME`) and maps the new rollout to the session — attributed only when it's
402
- unambiguous, never by "newest wins". Resume reattaches a live PTY, adopts a surviving
403
- tmux session, or cold-resumes the rollout id.
407
+ unambiguous, never by "newest wins". That mapping is appended to
408
+ `~/.mulmoterminal/codex-rollouts.jsonl`, so a conversation is still resumable after the server
409
+ restarts — without it a session whose tmux is also gone came back as a fresh codex. Resume
410
+ reattaches a live PTY, adopts a surviving tmux session, or cold-resumes the rollout id.
404
411
  - **Antigravity** — spawned as `agy` (override with `ANTIGRAVITY_BIN`; `ANTIGRAVITY_MODEL` sets
405
412
  `--model`). Antigravity runs on its own WebSocket (`/ws/antigravity`). Like Codex it mints its
406
413
  own conversation id, so the server watches `~/.gemini/antigravity-cli/brain/` (home overridable
407
414
  via `ANTIGRAVITY_HOME`) for the directory the new conversation creates — attributed only when
408
415
  unambiguous — and cold-resumes it with `--conversation <id>`. That mapping is appended to
409
416
  `~/.mulmoterminal/antigravity-conversations.jsonl`, so a conversation is still resumable after
410
- the server restarts.
417
+ the server restarts — the same log Codex keeps, in the same format.
411
418
 
412
- Its **GUI tools work differently**, because `agy` takes no MCP flag: it reads its servers from
413
- `.agents/mcp_config.json` in the working directory. MulmoTerminal writes that file from the
419
+ Its **GUI tools work differently — in the workspace too**, because `agy` takes no MCP flag: it
420
+ reads its servers from `.agents/mcp_config.json` in the working directory. So it never gets the
421
+ workspace's "every tool automatically"; register what it needs with the Canvas switches, wherever
422
+ it runs (see [MCP server ids](#mcp-server-ids-why-a-workspace-cell-and-a-project-cell-disagree)). MulmoTerminal writes that file from the
414
423
  directory's [Canvas switches](#wiki-collections--the-gui-panel) — the same switches Claude's cells read — so
415
424
  one switch serves every agent, and rewrites it whenever a switch flips or an agy session starts.
416
425
  Servers in it that MulmoTerminal did not write are left alone, the file is removed once no group
@@ -420,9 +429,29 @@ today — **Claude Code** (the default), **Codex**, and **Antigravity** (`agy`).
420
429
  per directory and shared by every session running there — and reaches the bridge through the agy
421
430
  process's own environment instead.
422
431
 
423
- **Choosing an agent.** Each grid cell's launch form carries a **Claude / Codex /
424
- Antigravity / Shell** toggle, and the Collections browser a **Claude / Codex /
425
- Antigravity** one (your choice is remembered).
432
+ - **Grok** — spawned as `grok` (override with `GROK_BIN`; `GROK_MODEL` sets `--model`), on its own
433
+ WebSocket (`/ws/grok`). It resumes the way **Claude** does rather than the way Codex and
434
+ Antigravity do: `grok --session-id <uuid>` starts a conversation under an id MulmoTerminal minted,
435
+ so there is no watcher, no attribution guess, and no mapping log — the id the browser holds is
436
+ grok's own. A reconnect passes `--resume <id>` instead, but only once a conversation by that name
437
+ exists on disk: grok writes one under `~/.grok/sessions/<url-encoded cwd>/<id>/` (home overridable
438
+ via `GROK_HOME`) after the first turn, and re-using a `--session-id` that already exists is a hard
439
+ error, which is why the two flags are never sent together.
440
+
441
+ Its **GUI tools work like Antigravity's — in the workspace too** and for the same reason: `grok`
442
+ takes no MCP flag, so it never gets the workspace's "every tool automatically" either, and
443
+ MulmoTerminal registers the bridge in `.grok/config.toml` (grok's project-scope config) from the
444
+ directory's [Canvas switches](#wiki-collections--the-gui-panel), wherever it runs (see
445
+ [MCP server ids](#mcp-server-ids-why-a-workspace-cell-and-a-project-cell-disagree)). That file is TOML and yours, so —
446
+ unlike agy's JSON — MulmoTerminal never rewrites it directly: it drives `grok mcp add -s project` /
447
+ `grok mcp remove -s project`, and only for the server ids it wrote itself. Nothing else in the file
448
+ is touched, a directory already in the right state runs no command at all, and the file is added to
449
+ `.git/info/exclude` only when MulmoTerminal created it. As with agy, the **session id is never
450
+ written into that file** — it reaches the bridge through the grok process's own environment.
451
+
452
+ **Choosing an agent.** Each grid cell's launch form carries the **Agent Picker** — a
453
+ **Claude / Codex / Antigravity / Grok / Shell** toggle — and the Collections browser a **Claude /
454
+ Codex / Antigravity / Grok** one (your choice is remembered).
426
455
  **Shell** is not an agent: it runs your OS default shell (`$SHELL`, or `/bin/sh`) in the
427
456
  chosen directory, with nothing to install and nothing to configure. It starts a launcher
428
457
  cell, so it has no model, no MCP registration, and no worktree — those rows disappear
@@ -516,6 +545,9 @@ the `claude` / `codex` sessions themselves.
516
545
  | `ANTIGRAVITY_BIN` | `agy` | The Antigravity CLI binary to spawn. |
517
546
  | `ANTIGRAVITY_MODEL` | agy default | Model passed to Antigravity as `--model` (unset = agy's own default). |
518
547
  | `ANTIGRAVITY_HOME` | `~/.gemini/antigravity-cli` | Antigravity home directory containing session brain storage. |
548
+ | `GROK_BIN` | `grok` | The Grok CLI binary to spawn. |
549
+ | `GROK_MODEL` | grok default | Model passed to Grok as `--model` (unset = grok's own default). |
550
+ | `GROK_HOME` | `~/.grok` | Grok home directory containing its per-directory session store. |
519
551
  | `MULMOTERMINAL_HOME` | `~/.mulmoterminal` | Root for managed **git worktrees**. |
520
552
  | `CLAUDE_CONFIG_DIR` | `~` | Claude Code's own config directory. `.claude.json` lives **inside** it, so relocating your Claude Code config moves that file too — MulmoTerminal reads it to tell whether the per-project GUI MCP server is registered (`server/infra/gui-mcp-registration.ts`). Leave it unset and `~/.claude.json` is used. |
521
553
  | `MULMOCLAUDE_WORKSPACE_PATH` | `~/mulmoclaude` | Where the managed MulmoClaude workspace lives. MulmoTerminal seeds presets/helps **only** into this directory, so launching in an arbitrary project never writes them there (`server/backends/workspaceSetup.ts`). Set it to the same value MulmoClaude uses. |
@@ -539,7 +571,7 @@ The Settings modal (⚙) persists per-user UI choices to `~/.mulmoterminal/confi
539
571
 
540
572
  ![The Settings modal — theme, notification sound, PR repos, launch commands, and MCP servers](https://raw.githubusercontent.com/receptron/mulmoterminal/main/docs/guide/images/settings.png)
541
573
 
542
- *Open it from the ⚙ button in the toolbar. Pick a **theme**, set the **terminal font size** and **scroll speed**, set a custom **attention sound**, list the repos the cross-repo **PRs & Issues** view should aggregate, add **launch commands** for grid cells, and register your own **MCP servers** — no need to hand-edit the config file. Note that **theme, font size and scroll speed are stored per browser** (they're display preferences, so a phone and a desktop keep their own); the rest live in `~/.mulmoterminal/config.json` and are shared by every client.*
574
+ *Open it from the ⚙ button in the toolbar. Pick a **theme**, set the **terminal font size**, **font** and **scroll speed**, set a custom **attention sound**, list the repos the cross-repo **PRs & Issues** view should aggregate, add **launch commands** for grid cells, register your own **MCP servers**, and turn on the switches for what this app writes on your behalf — **issue work comments**, the **PR clone footer**, the **closing summary**, the **decision digest**, the **dev worklog** — no need to hand-edit the config file. Four settings stay with their skill because a form would be the wrong tool for them (`keymap`, `themes`, `providers`, `buttons`/`chips`); Settings shows what each is doing now and launches that skill. Note that **theme, font size and scroll speed are stored per browser** (they're display preferences, so a phone and a desktop keep their own); the rest live in `~/.mulmoterminal/config.json` and are shared by every client.*
543
575
 
544
576
  | Field | Meaning |
545
577
  | ------------ | ------- |
@@ -548,24 +580,27 @@ The Settings modal (⚙) persists per-user UI choices to `~/.mulmoterminal/confi
548
580
  | `soundKinds` | Which moments beep — see [Notification sounds](#notification-sounds). Defaults to `["finished","waiting"]`; the other kinds are opt-in. |
549
581
  | `sounds` | Per-kind sound: `{ "waiting": "preset:coin" }`. A `preset:<id>` reference or an absolute path; a kind with no entry falls back to `soundFile`. |
550
582
  | `prRepos` | `owner/repo` entries whose open PRs/issues the cross-repo **PRs & Issues** view aggregates, using whichever CLI the host needs — your own `gh` or `glab` login, so no token is stored here. An entry may name its host — `gitlab.com/group/project` is read with `glab`, and work can be started on it, commented on and turned into a merge request. A host that is neither shows a row saying so. |
551
- | `gitlabHosts` | Hosts that run a **self-hosted GitLab**, e.g. `["gitlab.example.com"]`. Nothing in a URL says which forge a host runs, so declaring it is what lets `prRepos` entries on that host be read with `glab` — everything gitlab.com can do, it can do. Needs `glab auth login --hostname <host>`. config.json only (no Settings control), so a hand edit takes effect on the next server start. |
583
+ | `gitlabHosts` | Hosts that run a **self-hosted GitLab**, e.g. `["gitlab.example.com"]`. Nothing in a URL says which forge a host runs, so declaring it is what lets `prRepos` entries on that host be read with `glab` — everything gitlab.com can do, it can do. Needs `glab auth login --hostname <host>`. Editable in Settings → **GitHub and GitLab**; either way it takes effect on the next server start. |
552
584
  | `repoDirs` | `{ "owner/repo": "/abs/path" }` — which local clone work on a repo starts in, when you keep several side by side. Only the *choice* is stored; which clones exist is re-derived from `cwdPresets` on every read, and an entry that no longer names a clone of that repo is ignored. |
553
- | `launchers` | `{ label, command }` entries offered in a grid cell's launcher besides the agents — any interactive command. A plain shell needs no entry: the launch form's **Shell** toggle opens `$SHELL` unconfigured. |
585
+ | `launchers` | `{ label, command }` entries offered in a grid cell's launcher besides the agents — any interactive command. A plain shell needs no entry: the Agent Picker's **Shell** option opens `$SHELL` unconfigured. |
586
+ | `customAgents` | `{ id, label, agent, command }` entries offered in the **Agent Picker** — your own way of starting Claude Code (`ollama launch claude --model … --`, a wrapper script). Unlike a launcher, Claude Code's own argv is **appended** to `command`, so the cell is a real session: resume, cost, context, GUI tools. `agent` says which agent's arguments to append and is required (`"claude"` is the only value today); `command` must stop taking arguments where Claude Code's begin — hence the trailing `--` above. Up to 8. |
554
587
  | `quickCommands` | `{ label, text, agents? }` phrases the **phone** offers as chips on a session's terminal view. Tapping one puts `text` in the input box; it is not sent until you press send. `agents` (`"claude"` / `"codex"` / `"shell"`) scopes a chip to session kinds — omit it to offer the chip everywhere. Empty by default. |
555
- | `userMcpServers` | `{ id, url }` HTTP MCP servers merged into the `--mcp-config` of the Claude sessions that carry the full GUI MCP — a cell whose working directory is the **workspace**, and a session the server starts itself (the phone, a scheduled task) unless it asks for a grid cell's shape, as an issue's seed session does (`issueSpawnOptions`). A cell in a project directory loads its own MCP config instead. Takes effect on the next session. |
588
+ | `userMcpServers` | `{ id, url }` HTTP MCP servers merged into the `--mcp-config` of the **Claude** sessions that carry the full GUI MCP (codex is handed the GUI server alone, `codexGuiMcpServers`) — a cell whose working directory is the **workspace**, and a session the server starts itself (the phone, a scheduled task) unless it asks for a grid cell's shape, as an issue's seed session does (`issueSpawnOptions`). A cell in a project directory does not get this merge; the MCP config the user wrote is read either way. Takes effect on the next session. |
556
589
  | `buttons` | Header action buttons — see [Header buttons](#header-buttons). Omit to keep the defaults; set to replace them. |
557
- | `chips` | Header info chips (`dir` / `git` / `work` / `diff` / `ctx` / `usage` / `status` / `tools`, or custom text). Omit to keep the default set; `[]` hides all built-ins. `work` shows which PR / issue the cell is on (`#977 → #966`) and clears itself when the PR merges — see the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#work-chip). |
590
+ | `chips` | Header info chips (`dir` / `git` / `work` / `diff` / `ctx` / `usage` / `status` / `tools` / `env`, or custom text). `env` shows what this working tree was reserved by [`worktreeEnv`](#per-directory-settings-projectmulmoterminaljson) (`:3010`, clickable) and draws nothing where none is declared. Omit to keep the default set; `[]` hides all built-ins. `work` shows which PR / issue the cell is on (`#977 → #966`) and clears itself when the PR merges — see the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#work-chip). |
558
591
  | `pushEnabled` | `true` to send a **Web Push** to your registered devices. Off by default; only sends while the **RemoteHost** channel is connected (see below). The master switch — `pushKinds` picks which moments. |
559
592
  | `pushKinds` | Which moments push: `"finished"` (a turn ended, ✅) and/or `"waiting"` (the agent stopped to ask — a permission prompt or a question, ❓, **once per prompt**). Omit to keep both; `[]` for none. A kind added in a later version stays off until you tick it. |
560
- | `worklogEnabled` | `true` to run the built-in **dev worklog** batch (see below). Off by default (each run spawns an LLM session, so it costs tokens). |
561
- | `worklogIntervalHours` | Worklog cadence in hours (default `6`, clamped to `1`–`168`). |
562
- | `terminalSubmit` | Which bytes Claude reads as **submit** vs **newline**: `"cr"` (default — Enter submits, Shift+Enter makes a newline) or `"esc-cr"` (for a Claude Code rebound the other way). Applies to the keyboard **and** the phone remote-view submit, for **Claude sessions only** (shell/codex keep plain Enter). See the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#terminal-submit). |
563
- | `copyOnSelect` | `true` puts a **mouse selection on the clipboard the moment it settles**, with no key pressed (the PuTTY / iTerm2 behaviour). **Off by default** — it changes the clipboard when you may only have meant to highlight something. No Settings UI: edit the file and reload the tab. Composes with the `copy` keymap action rather than replacing it. Over plain `http://` the browser gives a page no clipboard access, so a fallback asks xterm to copy instead; see the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#copy-on-select). |
564
- | `decisionDigest` | Keep a **Markdown digest of the decisions this project's sessions asked for**, refreshed at startup and every few hours, so an agent can read what has already been decided before asking something similar. Written to `~/.mulmoterminal/decisions/<project>.md` (never into your repository) and served to agents by the bundled `mulmoterminal-decisions` skill. **Off by default** — it is a vision-stage idea, and it writes a file that would otherwise not exist. The digest holds dated facts, never inferred rules. |
565
- | `issueWorkComments` | Let a cell **comment on the issue it is working on**: once when it starts, and again when its PR merges (closing the issue if GitHub has not already). The comment names the working **directory** it happened in — the folder name only, never the path — so a reader can tell which clone. **Off by default**; it writes to GitHub, often on somebody else's issue. Needs `gh` logged in. See the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#issue-work-comments). |
566
- | `prWorkdirFooter` | Ends a PR body with `work in <clone>` — the directory name of the clone the work happened in, so a PR says which of several side-by-side checkouts produced it. Applies to **both** paths that open PRs here: **⧉ Open PR** appends it to the PR it creates, and every Claude session is told to end the bodies it writes with the same line (the name is resolved by the server, so a session inside a managed worktree still names the main checkout). **On by default**; set `false` to opt out — read per PR and per session spawn, so no restart is needed (there is no Settings control for it). Appending is idempotent: an existing PR never gets a second copy. |
567
- | `appendSystemPrompt` | Whether a spawned Claude session is asked to end a reply with a **closing summary** — what was asked, what was achieved, what was not (see [Closing summary](#closing-summary)). **On by default**; set `false` to opt out, and a directory's `.mulmoterminal.json` outranks this. Read per spawn, so no restart is needed (there is no Settings control for it), though a session already running keeps what it was launched with. `true` / `false` only. |
568
- | `fontFamily` | The **terminal font** every session renders in — a CSS font-family stack, e.g. `"'Cica', 'MS Gothic', monospace"`. No Settings UI: edit the file, then **restart** (this config is read once at startup). Unset uses the built-in stack (JetBrains Mono / Fira Code / Menlo / Consolas, then CJK faces for Japanese, Korean and Chinese). Unlike the per-browser font **size**, this is one value for the whole host — it names fonts, and which fonts exist is a property of the machine. A directory can override it. See the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#font-family). |
593
+ | `worklogEnabled` | `true` to run the built-in **dev worklog** batch (see below). Off by default (each run spawns an LLM session, so it costs tokens). Editable in Settings → **Sessions and background tasks**. |
594
+ | `worklogIntervalHours` | Worklog cadence in hours (default `6`, clamped to `1`–`168`). A stepper in the same Settings section covers the range. |
595
+ | `terminalSubmit` | Which bytes Claude reads as **submit** vs **newline**: `"cr"` (default — Enter submits, Shift+Enter makes a newline) or `"esc-cr"` (for a Claude Code rebound the other way). Applies to the keyboard **and** the phone remote-view submit, for **Claude sessions only** (shell/codex keep plain Enter). See the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#terminal-submit). Settings → **Terminal keys** offers both, worded as behaviour. |
596
+ | `copyOnSelect` | `true` puts a **mouse selection on the clipboard the moment it settles**, with no key pressed (the PuTTY / iTerm2 behaviour). **Off by default** — it changes the clipboard when you may only have meant to highlight something. There is a checkbox in Settings → **Terminal keys**, applied at once; a hand edit of the file needs a **server restart, then a tab reload** (the server reads this file once at startup, and the browser reads the value from it on load). Composes with the `copy` keymap action rather than replacing it. Over plain `http://` the browser gives a page no clipboard access, so a fallback asks xterm to copy instead; see the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#copy-on-select). |
597
+ | `decisionDigest` | Keep a **Markdown digest of the decisions this project's sessions asked for**, refreshed at startup and every few hours, so an agent can read what has already been decided before asking something similar. Written to `~/.mulmoterminal/decisions/<project>.md` (never into your repository) and served to agents by the bundled `mulmoterminal-decisions` skill. **Off by default** — it is a vision-stage idea, and it writes a file that would otherwise not exist. The digest holds dated facts, never inferred rules. Settings → **Sessions and background tasks** has the switch. |
598
+ | `issueWorkComments` | Let a cell **comment on the issue it is working on**: **one comment**, posted when the work starts and then **edited** as the PR opens and merges (closing the issue if the forge has not already), each milestone stamped in UTC. The comment names the working **directory** it happened in — the folder name only, never the path — so a reader can tell which clone, and two terminals do not start the same issue twice. It says it came from MulmoTerminal. CI is deliberately not reported: it is on the PR already, and it flaps. **Off by default**; it writes to the forge, often on somebody else's issue. Needs the matching CLI logged in — `gh` for GitHub, `glab` for gitlab.com and any host declared in `gitlabHosts`. See the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#issue-work-comments). Editable in Settings → **GitHub and GitLab**. |
599
+ | `prWorkdirFooter` | Ends a PR body with `work in <clone>` — the directory name of the clone the work happened in, so a PR says which of several side-by-side checkouts produced it. Applies to **both** paths that open PRs here: **⧉ Open PR** appends it to the PR it creates, and every Claude session is told to end the bodies it writes with the same line (the name is resolved by the server, so a session inside a managed worktree still names the main checkout). **On by default**; set `false` to opt out, from Settings → **GitHub and GitLab** or the file — read per PR and per session spawn, so no restart is needed, and a second MulmoTerminal beside this one sees the change too. Appending is idempotent: an existing PR never gets a second copy. |
600
+ | `appendSystemPrompt` | Whether a spawned Claude session is asked to end a reply with a **closing summary** — what was asked, what was achieved, what was not (see [Closing summary](#closing-summary)). **On by default**; set `false` to opt out, and a directory's `.mulmoterminal.json` outranks this. Settings → **Sessions and background tasks** has the switch. Read per spawn, so no restart is needed, though a session already running keeps what it was launched with. `true` / `false` only. |
601
+ | `autoDirIcon` | Whether a project that sets no `icon` shows the favicon its repository already ships (`public/favicon.svg`, `apple-touch-icon.png`, a web manifest — first hit wins, ordered by how the image survives at 14px). **On by default**; Settings → **Directory appearance** has the switch. A single project opts out with `"icon": false` in its own `.mulmoterminal.json`, which this does not override. A key that was written and got it wrong shows nothing rather than falling back — a broken setting has to look broken. `true` / `false` only. |
602
+ | `cockpitLines` | `{ summary, prompt, response }` — how many lines each **cockpit-roster** row shows before it clamps (default `2` / `2` / `3`, each clamped to `1`–`20`). Raising them trades how many sessions fit on screen for reading a long one in place. Three steppers in Settings → **Waiting rows**. |
603
+ | `fontFamily` | The **terminal font** every session renders in — a CSS font-family stack, e.g. `"'Cica', 'MS Gothic', monospace"`. Set it in Settings → **Terminal font**, applied at once; editing the file instead needs a **restart** (this config is read once at startup). Unset uses the built-in stack (JetBrains Mono / Fira Code / Menlo / Consolas, then CJK faces for Japanese, Korean and Chinese). Unlike the per-browser font **size**, this is one value for the whole host — it names fonts, and which fonts exist is a property of the machine. A directory can override it. See the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#font-family). |
569
604
 
570
605
  Every MulmoTerminal on the machine shares this one file, so an older build could save over a key a
571
606
  newer one wrote. It doesn't: a **top-level key this version doesn't recognise is written back
@@ -677,6 +712,7 @@ malformed file is ignored.
677
712
  ```jsonc
678
713
  {
679
714
  "name": "PROD · payments", // badge shown on this directory's terminals
715
+ "icon": "docs/logo.png", // image on this dir's cells (path here, URL, or data:); omit to use the repo's favicon
680
716
  "badgeColor": "#cf222e", // badge color (hex #rrggbb)
681
717
  "headerColor": "#190a23", // cell header background (hex #rrggbb)
682
718
  "headerTextColor": "#ffffff", // cell header text color (hex #rrggbb)
@@ -691,10 +727,46 @@ malformed file is ignored.
691
727
  "orderPriority": 10, // rank in the grid's "priority" order and the launcher chips (lowest first)
692
728
  "sound": "./.mulmoterminal/alert.mp3", // attention sound, RELATIVE to this directory
693
729
  "sounds": { "command-failed": "preset:gong" }, // per-notification-kind override
694
- "appendSystemPrompt": false // no closing summary here; omit to follow the global setting
730
+ "appendSystemPrompt": false, // no closing summary here; omit to follow the global setting
731
+ "worktreeEnv": { // a port / database name of its own per git worktree
732
+ "PORT": { "kind": "port", "base": 3000 },
733
+ "DB_NAME": { "kind": "slug", "prefix": "myapp_" }
734
+ }
695
735
  }
696
736
  ```
697
737
 
738
+ **Already have a `repo.json`?** MulmoTerminal reads it. It is an
739
+ [open repository-metadata format](https://receptron.github.io/mulmoterminal/repo-json.html) — one
740
+ small file any tool can read — and a project that ships one gets a coloured, named, icon-bearing
741
+ cell without knowing this app exists:
742
+
743
+ ```json
744
+ { "name": "diffusion-lab", "icon": "docs/logo.png", "color": "#7c3aed" }
745
+ ```
746
+
747
+ One colour becomes all seven: the header is it exactly, the badge/border/dot/button/body are
748
+ derived from its hue, and the header text is derived for contrast. Anything this app understands
749
+ but the open format doesn't goes under `extensions.mulmoterminal`.
750
+
751
+ The three files layer, general to specific — **`repo.json` → `.mulmoterminal.json` →
752
+ `.mulmoterminal.local.json`** — replacing whatever keys the one below it set.
753
+
754
+ **Several clones of one repository?** Drop a `.mulmoterminal.local.json` beside it. It is read
755
+ after `.mulmoterminal.json` and **replaces whatever keys it names**, so the shared file holds what
756
+ the project is — name, theme, a colour — and each checkout's local file holds only what makes it
757
+ recognisable:
758
+
759
+ ```jsonc
760
+ // .mulmoterminal.json — the project. Complete on its own, so one clone needs nothing else.
761
+ { "name": "acme-web", "theme": "nord", "badgeColor": "#1b3479", "headerColor": "#2d4ea9", "orderPriority": 30 }
762
+
763
+ // .mulmoterminal.local.json — this checkout only. Gitignore it.
764
+ { "badgeColor": "#27b4a8", "headerColor": "#4ed0c5", "orderPriority": 65 }
765
+ ```
766
+
767
+ Whole keys, not a deep merge: a `colors` block in the local file replaces the shared one entirely.
768
+ Settings → Directory settings names both files and lists which keys the local one took over.
769
+
698
770
  ![Four projects color-coded in the grid, each in its own palette](https://raw.githubusercontent.com/receptron/mulmoterminal/main/docs/guide/images/grid-colors.png)
699
771
 
700
772
  *As cells pile up it gets hard to tell which project is which. Give each repo a **name badge** and its own colors in `.mulmoterminal.json` and they're unmistakable — `headerColor`/`badgeColor` tint the frame, while `colors` reaches all the way into the **terminal's own background and text**. (The example above dresses four repos in Mondrian / van Gogh / Picasso / Matisse palettes.)*
@@ -702,6 +774,7 @@ malformed file is ignored.
702
774
  | Field | Meaning |
703
775
  | ------------ | ------- |
704
776
  | `name` | Label shown as a badge in the terminal/cell header. |
777
+ | `icon` | An **image** marking this directory — shown in the cell header, the cockpit roster, the filmstrip thumbnails and the launcher's directory chips. Either a path **relative to this directory** (an absolute path, or a `../` that escapes it, is rejected), an `http(s)://` URL, or a `data:image/…` URI. PNG / JPEG / **GIF (animated plays)** / WebP / AVIF / SVG / ICO / BMP. Not to be confused with a header **button's** `icon`, which is a Material Symbols name. **Omit it and the repository's own favicon is used** (`public/favicon.svg`, `apple-touch-icon.png`, a web manifest — see `autoDirIcon`); `false` means no icon here and stops that search. |
705
778
  | `badgeColor` | Badge background color (`#rrggbb`); text auto-contrasts. |
706
779
  | `headerColor` | Header **background** color (`#rrggbb`) — the grid cell's header row and the terminal's own header row (grid row 2). While a terminal is working/blocked the status tint still shows; the custom color applies when idle. |
707
780
  | `headerTextColor` | Header **text** color (`#rrggbb`) — the dir path, title, and prompt. |
@@ -712,11 +785,12 @@ malformed file is ignored.
712
785
  | `theme` | xterm palette for terminals in this directory (one of the built-in theme ids). |
713
786
  | `colors` | Per-key xterm palette overrides applied on top of `theme` (or the app theme when `theme` is unset). Keys are xterm `ITheme` names (`background`, `foreground`, `cursor`, `selectionBackground`, the 16 ANSI colors, …); values are hex (`#rgb` / `#rrggbb` / `#rrggbbaa`). Unknown keys / bad values are dropped. |
714
787
  | `fontSize` | Terminal font size in px for this directory (8–32), overriding the Settings value. A size outside the range is clamped; a non-number is ignored. Changing it re-fits the terminal, so the PTY learns the new width — unlike browser zoom, which leaves the two disagreeing. |
715
- | `orderPriority` | This directory's rank in the grid's **priority** ordering — the third mode on the toolbar's ordering button, next to auto (attention-first) and manual (the move buttons). Any integer, **lowest first**; negatives are allowed. Directories that set nothing sort last, keeping their existing order, so adding the key to one project doesn't shuffle the rest. The grid reads it in **priority** mode only; the launcher's directory chips sort by it, so a project sits in the same place on both. The one exception is the **workspace** chip, which always leads the launcher's row regardless of any rank — it is not one of the directories being ranked against each other, and it is the one place every GUI tool is reachable (see [MCP server ids](#mcp-server-ids-why-a-workspace-cell-and-a-project-cell-disagree)). |
788
+ | `orderPriority` | This directory's rank in the grid's **priority** ordering — the third mode on the toolbar's ordering button, next to auto (attention-first) and manual (the move buttons). Any integer, **lowest first**; negatives are allowed. Directories that set nothing sort last, keeping their existing order, so adding the key to one project doesn't shuffle the rest. The grid reads it in **priority** mode only; the launcher's directory chips sort by it, so a project sits in the same place on both. The one exception is the **workspace** chip, which always leads the launcher's row regardless of any rank — it is not one of the directories being ranked against each other, and it is the one place a claude or codex session reaches every GUI tool without registering anything (agy and grok get what the directory registered wherever they run — see [MCP server ids](#mcp-server-ids-why-a-workspace-cell-and-a-project-cell-disagree)). |
716
789
  | `fontFamily` | CSS font-family stack for this directory's terminals, overriding the global `fontFamily`. Use the names as your OS lists them (`"'Cica', 'MS Gothic', monospace"`). An unusable stack is ignored whole rather than half-applied; `monospace` is appended if you name no generic family. Prefer fonts whose fullwidth glyphs are exactly twice the Latin width, or box-drawing frames tear. |
717
790
  | `sound` | Attention sound for this directory's sessions, a path **relative to the directory** (served at `GET /api/dir-sound`). The fallback for every kind. |
718
791
  | `sounds` | Per-kind override of `sound`: `{ "command-failed": "preset:gong" }`. Each value is a `preset:<id>` or a directory-relative path, under the same confinement. |
719
792
  | `appendSystemPrompt` | Whether this directory's Claude sessions are asked to end a reply with a **closing summary** (see [Closing summary](#closing-summary)). Omit to follow the global `appendSystemPrompt`, which is on; `true` / `false` here outranks it. Read per spawn, so a new session in this directory picks up an edit without a restart. |
793
+ | `worktreeEnv` | Values every working tree of this project needs its **own** of — the port its dev server binds, the database its migrations touch. A worktree isolates files, not ports: two trees running `yarn dev` both reach for 3000 and the second one dies. Each variable is `{ "kind": "port", "base": <1024–65215> }` (a free port, `base` + a multiple of 10 — the checkout keeps `base`, its worktrees take the numbers above it) or `{ "kind": "slug", "prefix": "…" }` (a `[a-z0-9_]` name from the tree's task name, ≤ 63 chars, for a database / schema / container). Up to 16, under whatever names the project reads (`PORT`, `VITE_PORT`, …). A value is **reserved once and kept** (`~/.mulmoterminal/worktree-env.jsonl`) for as long as its declaration is unchanged, so a running dev server's port never moves under it; editing `base` re-allocates, renaming or dropping a variable releases what it held, and removing the worktree releases all of them. Set on every terminal in the directory — agent cell, Shell, launcher, Run command — and shown on the header's `env` chip, where a port is a link to `http://localhost:<port>`. MulmoTerminal hands out the name; creating the database is the project's own job. |
720
794
  | `addDirs` | Extra directories this project's Claude sessions may read and edit — the terminal-side equivalent of opening several folders in one VS Code workspace, via Claude Code's `--add-dir`. Relative entries resolve against **this file's directory** (`"../shared-lib"`), a path that doesn't exist is dropped, max 16. Claude only: codex has no equivalent flag and ignores the key. |
721
795
 
722
796
  **Security.** `sound` and every `sounds` entry are directory-relative paths only — absolute
@@ -774,15 +848,22 @@ An empty grid cell's launcher sets the **Working directory** by typing, by a pre
774
848
  chip, or with the **📁 folder button** (a native OS folder dialog). The preset chips are
775
849
  the directories you have launched in; the **workspace** leads them always, labelled
776
850
  **WORKSPACE** and marked with an icon, whether or not you have ever launched there — it is
777
- the one directory where a session reaches every GUI tool, so it is never a click you can
851
+ the one directory where a claude or codex session reaches every GUI tool (agy and grok get
852
+ what the directory registered, there as anywhere — see
853
+ [MCP server ids](#mcp-server-ids-why-a-workspace-cell-and-a-project-cell-disagree)), so it is never a click you can
778
854
  lose. It has no remove button for the same reason. It is named for its role rather than its
779
855
  folder, because the folder name (`~/mulmoclaude` by default, or wherever `CLAUDE_CWD`
780
856
  points) says the least interesting true thing about it; the real path is on its hover.
781
857
 
782
858
  **The launcher is shorter in the workspace**, because two of its choices do not apply
783
859
  there. The per-directory **Canvas switches** are replaced by a line saying every GUI tool
784
- is already available — a session there is handed the whole GUI MCP at spawn, so switches
785
- would write a registration that `--strict-mcp-config` then ignores. And the **worktree**
860
+ is already available — a session there is handed the whole GUI MCP at spawn, so a switch
861
+ would register a group URL that then has nothing left to serve. **With Antigravity or Grok
862
+ picked they stay**, in the workspace as everywhere else: neither is handed anything at spawn
863
+ and both read their servers from the directory's file, so the switches are their only route
864
+ to a GUI tool and hiding them would leave the session with none (see
865
+ [MCP server ids](#mcp-server-ids-why-a-workspace-cell-and-a-project-cell-disagree)).
866
+ And the **worktree**
786
867
  section is hidden: a worktree isolates work on one codebase onto a branch, while the
787
868
  workspace is what a session works *from* (the shared wiki, collections and accounting
788
869
  live there), which is precisely what a detached branch would cut it off from. Both come
@@ -799,7 +880,7 @@ different projects' scripts.
799
880
  The same launcher also has an **or launch** row for your configured **launch commands**
800
881
  — any interactive command — set in Settings (⚙) → **Launch commands** as
801
882
  `{ label, command }` (e.g. `htop` → `htop`, `Codex` → `codex`). A plain shell needs no
802
- entry here: the launch form's **Shell** toggle already opens `$SHELL`. Unlike
883
+ entry here: the Agent Picker's **Shell** option already opens `$SHELL`. Unlike
803
884
  a one-shot script, a launcher runs as a **persistent terminal in the cell's directory**:
804
885
  it survives grid page switches and reconnects, and its dot shows running vs. exited (it
805
886
  has no Claude hooks, so no blocked/done states).
@@ -942,16 +1023,20 @@ separate working tree that shares the repo's `.git`, so several agents can work
942
1023
  repo without colliding. Worktrees live under `~/.mulmoterminal/worktrees/` (override with
943
1024
  `MULMOTERMINAL_HOME`), and existing ones are listed below the field.
944
1025
 
945
- **A worktree inherits the project's settings.** `.mulmoterminal.json` is normally gitignored,
946
- so a fresh worktree used to have none — no colours, no name, no model, no grid rank. It is now
947
- given its own copy derived from the project's: `name` / `theme` / `colors` / `fontSize` /
948
- `fontFamily` / `provider` / `model` as written, the seven chrome colours **rotated 12 degrees
949
- further around the hue wheel per worktree** (so a project's trees read as a gradient; a grey like
950
- `#ffffff` has no hue to move and stays put), and `orderPriority` at the project's rank **+ 1**, so
951
- the worktree sorts directly after it. `sound` / `sounds` / `addDirs` are not carried — they name
952
- paths inside the project directory. Written only where git would **ignore** it: an untracked file
953
- in a worktree's `git status` would make it count as dirty, and a dirty worktree is one
954
- MulmoTerminal refuses to remove. An existing config in the worktree is never overwritten.
1026
+ **A worktree inherits the project's settings.** A fresh worktree used to have none — no colours,
1027
+ no name, no model, no grid rank. It is now given its own copy derived from the project's, written
1028
+ to **`.mulmoterminal.local.json`** so it layers over whatever the repository committed: `name` /
1029
+ `theme` / `colors` / `fontSize` / `fontFamily` / `provider` / `model` / `worktreeEnv` as written
1030
+ (the last is a declaration rather than a value — the worktree resolves its own values from it), the
1031
+ seven chrome colours **rotated 12 degrees further around the hue wheel per worktree** (so a
1032
+ project's trees read as a gradient; a grey like `#ffffff` has no hue to move and stays put), and
1033
+ `orderPriority` at the project's rank **+ 1**, so the worktree sorts directly after it. `sound` /
1034
+ `sounds` / `addDirs` are not carried — they name paths inside the project directory. Written only
1035
+ where git would **ignore what it writes**: an untracked file in a worktree's `git status` would
1036
+ make it count as dirty, and a dirty worktree is one MulmoTerminal refuses to remove. The local
1037
+ override is preferred; a repo that ignores `.mulmoterminal.json` instead (the setup this feature
1038
+ shipped with) still gets its colours there. A committed shared config is never written to. A local
1039
+ file the worktree already has is never overwritten.
955
1040
 
956
1041
  **One worktree, one session.** A worktree is tied to a branch, so it is never started
957
1042
  twice: a listed row **resumes** that worktree's session when it has one, and **starts** one
@@ -961,10 +1046,13 @@ the same worktree reached by pasting its path into **WORKING DIRECTORY**, or by
961
1046
  chip, will not launch either — and the **server** refuses the spawn whichever client asks,
962
1047
  so a path spelled another way (a trailing slash, a symlink) does not slip past.
963
1048
 
964
- What the limit covers is an **agent**: Claude, Codex or Antigravity, including an **OR
1049
+ What the limit covers is an **agent**: Claude, Codex, Antigravity or Grok, including an **OR
965
1050
  LAUNCH** command that runs one of them. A **Shell**, and a launcher that runs anything else
966
1051
  (`yarn dev`, `lazygit`, `htop`), stays free — a worktree an agent is working in is exactly
967
- where you want those.
1052
+ where you want those. A project that declares `worktreeEnv` also gets **its own value per
1053
+ worktree** for each variable it declares there — so two dev servers given a port of their own do
1054
+ not both reach for 3000 (see
1055
+ [`worktreeEnv`](https://receptron.github.io/mulmoterminal/guide/en/config.html#worktree-env)).
968
1056
 
969
1057
  The same holds for **OR RESUME HERE**: a session someone is holding is listed with `● open`
970
1058
  and refused, where before it could be confirmed away — which detached whoever had it.
@@ -972,6 +1060,14 @@ and refused, where before it could be confirmed away — which detached whoever
972
1060
  `mulmoterminal` process on this machine: the server answers from its own PTY table plus
973
1061
  tmux, not from what one page can see.
974
1062
 
1063
+ **Change the directory and those lists empty immediately**, replaced by a single
1064
+ `Loading this directory's sessions, worktrees and scripts…` row until the new ones arrive.
1065
+ Everything the launch form offers below the field — **OR RESUME HERE**, the worktrees and
1066
+ **OR RUN A SCRIPT** — belongs to the directory it was read for, and reading it costs a
1067
+ debounce plus a round trip. Rows left standing through that wait would be the previous
1068
+ directory's, listed under the new directory's name, and clicking one resumes exactly the
1069
+ session it offers.
1070
+
975
1071
  A worktree started **from an issue** gets an `issue/<N>-<slug>` branch instead. The number
976
1072
  in the name is what later tells the app which issue the work belongs to: the ⧉ Open PR
977
1073
  button puts `Fixes #<N>` in the PR body, and the branch chip, the issue work comment and
@@ -986,7 +1082,7 @@ Typing a task name yourself keeps the local base it has always used, with no fet
986
1082
 
987
1083
  ![An empty cell's launch form — choose the agent, working directory, or a worktree](https://raw.githubusercontent.com/receptron/mulmoterminal/main/docs/guide/images/grid-launch-form.png)
988
1084
 
989
- *Every empty grid cell shows this launch form: toggle **Claude / Codex / Antigravity / Shell**, type a **working directory** (frequent ones autocomplete from your presets), or — in a git repo — name a task under **OR ISOLATE IN A WORKTREE** and hit **+ New worktree** to start the agent on its own isolated branch. **Shell** runs your OS default shell there instead of an agent; **OR LAUNCH** runs one of your configured launch commands.*
1085
+ *Every empty grid cell shows this launch form: pick an agent in the **Agent Picker** (**Claude / Codex / Antigravity / Grok / Shell**), type a **working directory** (frequent ones autocomplete from your presets), or — in a git repo — name a task under **OR ISOLATE IN A WORKTREE** and hit **+ New worktree** to start the agent on its own isolated branch. **Shell** runs your OS default shell there instead of an agent; **OR LAUNCH** runs one of your configured launch commands.*
990
1086
 
991
1087
  A worktree cell's header carries a **diff badge** (`+<commits> ●<dirty>`); click it for a
992
1088
  **Changes vs `<base>`** panel (file list + patch) with actions:
@@ -1094,27 +1190,44 @@ Which route a session takes is decided by `carriesFullGuiMcp()` in
1094
1190
  `server/session/mcp-config.ts` — the single view, a cell-less chat, or anything whose cwd **is**
1095
1191
  the workspace take the first; anything in a project directory takes the second.
1096
1192
 
1097
- **The workspace is agent-agnostic, and so is the way you start a terminal there.** All three
1098
- agents and the launcher chips ask the same predicate, so two terminals in the workspace reach
1099
- the same tools no matter how they were started:
1193
+ **The workspace is agent-agnostic for the agents that can RECEIVE a per-spawn config** — claude and
1194
+ codex ask the same predicate, so two terminals in the workspace reach the same tools no matter which
1195
+ of the two started them. **Antigravity and Grok cannot, and that is the exception you will meet
1196
+ first:**
1100
1197
 
1101
1198
  | Started as | In the workspace | In a project directory |
1102
1199
  |---|---|---|
1103
1200
  | claude cell (including `?gui=0`) | `mt`, every tool | the directory's registered groups |
1104
1201
  | codex cell | `mt`, every tool | the directory's registered groups |
1105
- | launcher chip running `claude` | `mt`, every tool — flags inserted into the command line | nothing injected; its own `.mcp.json` loads |
1106
- | launcher chip running `codex` | `mt`, every tool — `-c` overrides inserted | the directory's registered groups |
1107
- | launcher chip running anything else | untouched | untouched |
1108
-
1109
- A chip is a command line the user wrote, so the injection is a **rewrite of their text** and is
1110
- deliberately narrow: only a bare `claude` or `codex` is recognised, and anything else — a wrapper
1111
- script, `FOO=1 claude` — is passed through unchanged.
1112
-
1113
- A `claude` chip in the workspace is given `--strict-mcp-config`, same as the cell. That makes the
1114
- generated config the only source — but it already contains your Settings `userMcpServers`, so
1115
- **those still load and are still pre-approved**. What stops contributing is a project directory's
1116
- per-folder `.mcp.json`, which in the workspace is the intent: that file is where the per-group URLs
1117
- live, and the chip is being handed the all-tools URL instead.
1202
+ | antigravity cell | **the directory's registered groups** — nothing registered means **no GUI tools at all** | the directory's registered groups |
1203
+ | grok cell | **the directory's registered groups** — nothing registered means **no GUI tools at all** | the directory's registered groups |
1204
+ | any launcher chip | untouched | untouched |
1205
+
1206
+ Neither takes an MCP flag: `agy` reads `.agents/mcp_config.json` and `grok` reads `.grok/config.toml`
1207
+ in the working directory, and a file shared by every session in a directory cannot be handed to one
1208
+ session and not another — so there is nothing for "this cwd is the workspace" to change. The
1209
+ membership is `FULL_GUI_MCP_AGENTS` in `common/guiMcpAgents.ts`, in `common/` precisely so the
1210
+ launcher form and the spawn cannot disagree about it
1211
+ ([#1423](https://github.com/receptron/mulmoterminal/issues/1423)).
1212
+
1213
+ The consequence is easy to hit and hard to guess: `presentDocument` works in a project you once
1214
+ flipped **Canvas** on for, and is missing in the workspace where everything else is automatic. Fix it
1215
+ the same way anywhere — pick **Antigravity** or **Grok**, point WORKING DIRECTORY at that directory,
1216
+ flip the **Canvas** switch (it stays visible for both), and start a **new** session; the switch
1217
+ registers the directory, never a session already running. Full procedure:
1218
+ [Antigravity and Grok register everywhere](https://receptron.github.io/mulmoterminal/guide/en/basics.html#antigravity-gui-tools)
1219
+ · [日本語](https://receptron.github.io/mulmoterminal/guide/ja/basics.html#antigravity-gui-tools).
1220
+
1221
+ **A launcher chip is not an agent session — it is a command.** Whatever the command line names,
1222
+ it runs exactly as written: nothing is inserted, and no GUI MCP is attached. A chip running
1223
+ `claude` therefore reads only its directory's own `.mcp.json`, and a chip running `codex` has no
1224
+ Canvas. If you want a chip to reach the GUI tools, put the flags in the command yourself.
1225
+
1226
+ Earlier releases did rewrite a `claude` or `codex` chip to match the cell beside it. That was
1227
+ removed: a chip that silently runs something other than what it says is indistinguishable from
1228
+ the Agent Picker, which is the confusion the two controls exist on either side of. Use the Agent
1229
+ Picker for an agent session — it is also the only one of the two that gives you a resumable
1230
+ transcript, cost and context, and a "waiting for you" status.
1118
1231
 
1119
1232
  **The asymmetry is deliberate.** `mt` is ours to name: nothing on disk holds it, it is
1120
1233
  regenerated on every spawn, so it was shortened to stop paying 17 characters per tool name. The
@@ -1254,7 +1367,7 @@ quietly answering about the **default workspace** (#1151):
1254
1367
 
1255
1368
  | Where | What happens |
1256
1369
  | --- | --- |
1257
- | `/ws`, `/ws/codex`, `/ws/antigravity`, `/ws/launch`, `/ws/run` | The socket is closed with `{ type: "error", message }`, which the terminal shows as a red banner and does not retry. |
1370
+ | `/ws`, `/ws/codex`, `/ws/antigravity`, `/ws/grok`, `/ws/launch`, `/ws/run` | The socket is closed with `{ type: "error", message }`, which the terminal shows as a red banner and does not retry. |
1258
1371
  | A session that is still running (`?session=` names a live PTY or a surviving tmux session) | **Attaches anyway**, with a warning in the server log. Moving or renaming a directory must not shut you out of an agent that is still working in it — and the cwd reported back comes from the running PTY, not from the request. |
1259
1372
  | `GET /api/scripts`, `/api/skills`, `/api/dir-config`, `/api/dir-sound`, `/api/git-status`, `/api/pr-phase`, `/api/header`, `/api/sessions`, `/api/codex/sessions`, `/api/antigravity/sessions`, `/api/session/:id`, `/api/transcript/*`, `/api/cost` | `404 { error, cwd }` — a directory that is not there. |
1260
1373
  | A `?cwd=` that cannot name a directory at all (relative, or repeated as `?cwd=a&cwd=b`) | `400 { error, cwd }`. |
@@ -1755,16 +1868,15 @@ server/
1755
1868
  -header, -keys, -model, -notify, -bug-report, -decisions
1756
1869
  fix-pty-perms.js postinstall: fixes node-pty binary permissions
1757
1870
  src/
1758
- App.vue Layout; owns the active session + single/grid view
1871
+ App.vue Layout; owns the grid, the overlays and the tab favicon
1759
1872
  router/ Vue Router routes (/, /terminals, /collections,
1760
1873
  /accounting, /prs, /files, /wiki, …)
1761
1874
  components/
1762
- Sidebar.vue, SessionTabBar.vue session list + tab bar (pub/sub driven)
1763
1875
  Terminal.vue xterm.js terminal; /ws, /ws/codex, /ws/run
1764
1876
  AppToolbar.vue shared header + toolbar buttons
1765
1877
  GridView.vue, TerminalGrid.vue, TerminalCell.vue, CommandCell.vue, LauncherCell.vue
1766
- CellLaunchForm.vue what an EMPTY cell shows: dir + target + resume /
1767
- scripts / worktrees / tool groups
1878
+ CellLaunchForm.vue what an EMPTY cell shows: Agent Picker + dir +
1879
+ resume / scripts / worktrees / tool groups
1768
1880
  GuiPanel.vue, PluginFrame.vue GUI panel (Canvas) + Shadow-DOM plugin host
1769
1881
  FilesOverlay.vue file browser + CodeMirror editor
1770
1882
  GitBranchChip.vue, ModelContextBadge.vue header chips / badges
@@ -1804,10 +1916,23 @@ and `fetch` are mocked so the tests run without a server.
1804
1916
 
1805
1917
  ## Who builds this
1806
1918
 
1807
- MulmoTerminal is built by the **[Singularity Society](https://singularitysociety.org)** team,
1808
- including **[Satoshi Nakajima](https://x.com/snakajima)** — software architect for **Windows 95**,
1809
- **Windows 98** and **Internet Explorer 3.0 / 4.0** at Microsoft, later founder of UIEvolution /
1810
- Xevo, and still building from Seattle.
1919
+ MulmoTerminal is built by **[receptron](https://github.com/receptron)** —
1920
+ **[Satoshi Nakajima](https://x.com/snakajima)** and **[Isamu Arimoto](https://github.com/isamu)**.
1921
+
1922
+ Satoshi was the software architect for **Windows 95**, **Windows 98** and **Internet Explorer
1923
+ 3.0 / 4.0** at Microsoft, later founded UIEvolution / Xevo, and still builds from Seattle.
1924
+
1925
+ The two have shipped open source together since 2015, and the core of each venture has been
1926
+ public every time:
1927
+
1928
+ | | |
1929
+ |---|---|
1930
+ | **[VideoShader](https://github.com/snakajima/videoshader)** (2015) | GPU video processing for iOS, built at Veemob |
1931
+ | **[Swipe](https://github.com/swipe-org/swipe)** (2015) | an animation runtime that made manga move on phones |
1932
+ | **[OwnPlate](https://github.com/Nakajima-Foundation/ownplate)** (2020) | takeout ordering for restaurants during COVID, run at the Singularity Society and launched with ITOCHU |
1933
+ | **[SlashGPT](https://github.com/receptron/SlashGPT)** (2023) · **[GraphAI](https://github.com/receptron/graphai)** (2024) · **[MulmoCast](https://github.com/receptron/mulmocast-cli)** (2025) | LLM agents, declarative dataflow, AI video |
1934
+
1935
+ MulmoTerminal is the seventh.
1811
1936
 
1812
1937
  It exists because we run several coding agents every day and kept losing track of which one was
1813
1938
  waiting on us. Everything here was built for that, then kept because it worked. MIT licensed.