mulmoterminal 11.2.0 → 11.4.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 (164) hide show
  1. package/README.md +20 -5
  2. package/common/botJobs.ts +31 -0
  3. package/common/bundledSkills.ts +2 -0
  4. package/common/githubBoard.ts +105 -0
  5. package/common/httpsUrl.ts +11 -0
  6. package/common/psmuxWidthRuns.ts +528 -0
  7. package/common/terminalUnicode.ts +6 -7
  8. package/common/tmuxClusters.ts +246 -0
  9. package/common/tmuxUnicodeProvider.ts +90 -0
  10. package/common/tmuxWidthTable.ts +125 -0
  11. package/dist/assets/{abnfDiagram-WEYOIA3C-BkMWYx06.js → abnfDiagram-WEYOIA3C-QGJaYS1a.js} +1 -1
  12. package/dist/assets/{architecture-WOLXFQ4H-BPGBrh2M.js → architecture-WOLXFQ4H-BuFPD6RU.js} +1 -1
  13. package/dist/assets/{architectureDiagram-ZHVYKT53-DloInkx_.js → architectureDiagram-ZHVYKT53-CTQflzKH.js} +1 -1
  14. package/dist/assets/{blockDiagram-RJAE7QA3-DI4vzlyZ.js → blockDiagram-RJAE7QA3-C2oOcwiL.js} +1 -1
  15. package/dist/assets/{c4Diagram-XDPPPE54-jeSdG6KU.js → c4Diagram-XDPPPE54-DpB1aHMp.js} +1 -1
  16. package/dist/assets/channel-BCUeEVKr.js +1 -0
  17. package/dist/assets/{chunk-2E7WHVMD-DHQin1sG.js → chunk-2E7WHVMD-jMwVNG8l.js} +1 -1
  18. package/dist/assets/{chunk-4EMNKR2T-C-UV0ZfI.js → chunk-4EMNKR2T-CKAZ0jMJ.js} +1 -1
  19. package/dist/assets/{chunk-55XCU76K-BPl1cIrT.js → chunk-55XCU76K-BSL-3AK2.js} +1 -1
  20. package/dist/assets/{chunk-7S6XSTFO-_qnk4SSG.js → chunk-7S6XSTFO-b1Lj7Y1g.js} +1 -1
  21. package/dist/assets/{chunk-AQDTSKZB-CyyxPCsk.js → chunk-AQDTSKZB-DBrhu0et.js} +1 -1
  22. package/dist/assets/{chunk-DSNLSHJZ-mu7LEjl0.js → chunk-DSNLSHJZ-BpuAJsSa.js} +1 -1
  23. package/dist/assets/{chunk-HAGFOTED-CcnU45QV.js → chunk-HAGFOTED-DoomwlPC.js} +1 -1
  24. package/dist/assets/{chunk-HNE4Q36P-DXtD1Z1e.js → chunk-HNE4Q36P-BNp1xf1C.js} +1 -1
  25. package/dist/assets/{chunk-NQOKRVIF-BNynsG2T.js → chunk-NQOKRVIF-BAv-ZOVh.js} +1 -1
  26. package/dist/assets/{chunk-UHW7PFBP-hQ6MgKI-.js → chunk-UHW7PFBP-ngeWivVf.js} +1 -1
  27. package/dist/assets/{chunk-VQ5W62QI-ynfNM4G2.js → chunk-VQ5W62QI-cLslVcxS.js} +1 -1
  28. package/dist/assets/{chunk-WQQL4CDK-DeMBuzUq.js → chunk-WQQL4CDK-DHvRNzZK.js} +1 -1
  29. package/dist/assets/{chunk-YZO67HFG-B_boT3os.js → chunk-YZO67HFG-DfF2_1LT.js} +1 -1
  30. package/dist/assets/{chunk-ZAUX2LTX-CspZUiQ7.js → chunk-ZAUX2LTX-BT8hLXyS.js} +1 -1
  31. package/dist/assets/{chunk-ZCHMQSOR-CPRMzMpE.js → chunk-ZCHMQSOR-CO6ODq51.js} +1 -1
  32. package/dist/assets/{classDiagram-v2-4MYWR3UA-Cf0XcCMm.js → classDiagram-v2-4MYWR3UA-oYg_wMoy.js} +1 -1
  33. package/dist/assets/{cynefin-EF2NZ3EQ-B0sqiQoG.js → cynefin-EF2NZ3EQ-Bg2WJcmg.js} +1 -1
  34. package/dist/assets/{cynefinDiagram-WF24UDRP-e9qrBRsO.js → cynefinDiagram-WF24UDRP-WmaJMVeq.js} +1 -1
  35. package/dist/assets/{dagre-NK4GIZVX-DROB9t5W.js → dagre-NK4GIZVX-CEO5ZRaB.js} +1 -1
  36. package/dist/assets/{diagram-CBK3MWTC-RBFdkpI-.js → diagram-CBK3MWTC-71dJB0mJ.js} +1 -1
  37. package/dist/assets/{diagram-I5XIIV2D-DswWzPPJ.js → diagram-I5XIIV2D-CA3tjq42.js} +1 -1
  38. package/dist/assets/{diagram-ODIL2UCW-BN-nyhZa.js → diagram-ODIL2UCW-Dx6Om-c9.js} +1 -1
  39. package/dist/assets/{diagram-PFBEJUXE-Cde3Lx0s.js → diagram-PFBEJUXE-Cr_y2ZoQ.js} +1 -1
  40. package/dist/assets/{diagram-RJA3I4VV-eHl9zseD.js → diagram-RJA3I4VV-DFPCOvwg.js} +1 -1
  41. package/dist/assets/{diagram-TYUNFSNR-yVXDX_wi.js → diagram-TYUNFSNR-BUghrrxE.js} +1 -1
  42. package/dist/assets/dist-2snsOSy6.js +11 -0
  43. package/dist/assets/{dist-rXle-a-N.js → dist-By6ldaNJ.js} +1 -1
  44. package/dist/assets/dist-D-PPikXK.js +9 -0
  45. package/dist/assets/{dist-Dd0YZLg1.js → dist-D4u-B0aD.js} +1 -1
  46. package/dist/assets/{dist-CwrtprIg.js → dist-DbfZs0sA.js} +4 -4
  47. package/dist/assets/dist-Dq_JRkwT.js +2 -0
  48. package/dist/assets/{ebnfDiagram-V4P3TTPT-C8ZeUU46.js → ebnfDiagram-V4P3TTPT-Z3ETy3M8.js} +1 -1
  49. package/dist/assets/{elk-QONTBCTQ-DUoL9dWl.js → elk-QONTBCTQ-BEmjZgPv.js} +1 -1
  50. package/dist/assets/{emscripten-module-Q67P5WYC-BAk3Maw3.js → emscripten-module-Q67P5WYC-C60XJHOB.js} +1 -1
  51. package/dist/assets/{erDiagram-KYQIGQAA-CqWjhBwT.js → erDiagram-KYQIGQAA-CcnK-Ypn.js} +1 -1
  52. package/dist/assets/{eventmodeling-K75KTNOO-OBkc5vSE.js → eventmodeling-K75KTNOO-D9KfMBlc.js} +1 -1
  53. package/dist/assets/flowDiagram-IUGLLWBU-BRgcEyCi.js +1 -0
  54. package/dist/assets/{ganttDiagram-R7GPNTJY-Cm1MKhpP.js → ganttDiagram-R7GPNTJY-DdSBhHzl.js} +1 -1
  55. package/dist/assets/{gitGraph-VSP46ZUC-CCxwwUSO.js → gitGraph-VSP46ZUC-CVqVOJsE.js} +1 -1
  56. package/dist/assets/{gitGraphDiagram-PDYL7XHY-Dx07gxuS.js → gitGraphDiagram-PDYL7XHY-B3pnpcAO.js} +1 -1
  57. package/dist/assets/{index-KuNHn8YM.js → index-Bg5c3Xml.js} +624 -635
  58. package/dist/assets/index-BmYTNa-D.css +1 -0
  59. package/dist/assets/{info-OHQRW6UA-DB0l-vsg.js → info-OHQRW6UA-De2KEswx.js} +1 -1
  60. package/dist/assets/{infoDiagram-MVDRKAX5-CRhxbyV2.js → infoDiagram-MVDRKAX5-CTjnuWQp.js} +1 -1
  61. package/dist/assets/{ishikawaDiagram-HPEHV2GE-CaOL17jT.js → ishikawaDiagram-HPEHV2GE-2n5zMtKO.js} +1 -1
  62. package/dist/assets/{journeyDiagram-BOSHW7O7-DjANirjV.js → journeyDiagram-BOSHW7O7-B6KFLC-I.js} +1 -1
  63. package/dist/assets/{kanban-definition-FNSA4HC5-Cq1_78-Y.js → kanban-definition-FNSA4HC5-6vi_Wfzh.js} +1 -1
  64. package/dist/assets/{line-CAryubIi.js → line-DD8Q--vs.js} +1 -1
  65. package/dist/assets/{manifold-DgQ8blMg.js → manifold-CCIYYjmc.js} +1 -1
  66. package/dist/assets/{mermaid-parser.core-eHHCHHu-.js → mermaid-parser.core-EQ4RSVH2.js} +3 -3
  67. package/dist/assets/{mermaid.core-DE0SYP5w.js → mermaid.core-DpkS40gY.js} +4 -4
  68. package/dist/assets/{mindmap-definition-6OY57UG3-B5WMK6OP.js → mindmap-definition-6OY57UG3-kEHOYlKN.js} +1 -1
  69. package/dist/assets/{packet-JDAUHWVQ-De2ps_zY.js → packet-JDAUHWVQ-Dj1Pwtkr.js} +1 -1
  70. package/dist/assets/{pegDiagram-ECIUJNBX-Dcu0TH4_.js → pegDiagram-ECIUJNBX-CRJcLrQr.js} +1 -1
  71. package/dist/assets/{pie-XZMESJXO-Yy5SOE9N.js → pie-XZMESJXO-BmzQx50h.js} +1 -1
  72. package/dist/assets/{pieDiagram-GNMPY74T-DYBbPGYy.js → pieDiagram-GNMPY74T-BRk4DpD5.js} +1 -1
  73. package/dist/assets/{quadrantDiagram-D57K4MC3-NLSSQUUU.js → quadrantDiagram-D57K4MC3-Chl-JYQ_.js} +1 -1
  74. package/dist/assets/{radar-ABXABTNO-LLIrrLGJ.js → radar-ABXABTNO-ZGzSt-iT.js} +1 -1
  75. package/dist/assets/{railroad-I3PHUGI6-CqYfmsPR.js → railroad-I3PHUGI6-DDF3xDDD.js} +1 -1
  76. package/dist/assets/{railroad-abnf-LNEFI6M7-DIjzEjKm.js → railroad-abnf-LNEFI6M7-Ck6ldu2-.js} +1 -1
  77. package/dist/assets/{railroad-ebnf-DWYD2UWJ-BYTc0IaS.js → railroad-ebnf-DWYD2UWJ-I1kazIFD.js} +1 -1
  78. package/dist/assets/{railroad-peg-JR7BVNR7-cmoM_8WJ.js → railroad-peg-JR7BVNR7-DyMX9y-2.js} +1 -1
  79. package/dist/assets/{railroadDiagram-Y72NRBL7-UtdqRl-9.js → railroadDiagram-Y72NRBL7-uf8WQ7kY.js} +1 -1
  80. package/dist/assets/{requirementDiagram-EQYSW5RA-DPVq500w.js → requirementDiagram-EQYSW5RA-hrxtsXLF.js} +1 -1
  81. package/dist/assets/{sankeyDiagram-SY24JHO5-vgFtRt-a.js → sankeyDiagram-SY24JHO5-0GQW3Ow8.js} +1 -1
  82. package/dist/assets/{sequenceDiagram-BLEHNHQU-QrR1-mzh.js → sequenceDiagram-BLEHNHQU-HmnQi00z.js} +1 -1
  83. package/dist/assets/{stateDiagram-v2-A6IESKWZ-DRiErp26.js → stateDiagram-v2-A6IESKWZ-L81yKppp.js} +1 -1
  84. package/dist/assets/{swimlanes-B3ENRKFQ-CRcVcAc5.js → swimlanes-B3ENRKFQ-FP8-OYyF.js} +1 -1
  85. package/dist/assets/swimlanesDiagram-AYQRV4AK-D9lmIC9s.js +8 -0
  86. package/dist/assets/{timeline-definition-JXYKGLGB-CUoesaCg.js → timeline-definition-JXYKGLGB-yU7gicud.js} +1 -1
  87. package/dist/assets/{treeView-D4JQ5SDB-Ci4ZZC2E.js → treeView-D4JQ5SDB-0hJKEZ3f.js} +1 -1
  88. package/dist/assets/{treemap-SAJKECNS-C8FkuYCh.js → treemap-SAJKECNS--ckSvrhv.js} +1 -1
  89. package/dist/assets/{usecaseDiagram-WPOLBNNX-CGK06ltD.js → usecaseDiagram-WPOLBNNX-DX11_XDO.js} +1 -1
  90. package/dist/assets/{vennDiagram-Q3Y3IDCW-BxfpjXhQ.js → vennDiagram-Q3Y3IDCW-DKqjOBFd.js} +1 -1
  91. package/dist/assets/{wardley-7MLQ67FV-2fDi-pQr.js → wardley-7MLQ67FV-CvpRCjcw.js} +1 -1
  92. package/dist/assets/{wardleyDiagram-IVAIDKWA-DbuG85qg.js → wardleyDiagram-IVAIDKWA-R8ICgl6u.js} +1 -1
  93. package/dist/assets/{xychartDiagram-4URNHDU4-hLIBj5Da.js → xychartDiagram-4URNHDU4-D_AxQzGW.js} +1 -1
  94. package/dist/index.html +2 -3
  95. package/docs/ChangeLog.md +57 -0
  96. package/docs/facts.json +1 -1
  97. package/docs/guide/en/config.md +11 -7
  98. package/docs/guide/en/feature-list.md +6 -1
  99. package/docs/guide/en/features.md +4 -0
  100. package/docs/guide/en/index.md +2 -2
  101. package/docs/guide/en/spreadsheet.md +27 -1
  102. package/docs/guide/en/v11.3.0.md +76 -0
  103. package/docs/guide/en/v11.4.0.md +135 -0
  104. package/docs/guide/ja/config.md +8 -5
  105. package/docs/guide/ja/feature-list.md +6 -1
  106. package/docs/guide/ja/features.md +4 -0
  107. package/docs/guide/ja/index.md +2 -2
  108. package/docs/guide/ja/spreadsheet.md +21 -1
  109. package/docs/guide/ja/v11.3.0.md +74 -0
  110. package/docs/guide/ja/v11.4.0.md +133 -0
  111. package/package.json +11 -11
  112. package/server/backends/botJobs/botJobHandler.ts +115 -0
  113. package/server/backends/botJobs/botTokens.ts +119 -0
  114. package/server/backends/botJobs/index.ts +92 -0
  115. package/server/backends/botJobs/jobScript.ts +149 -0
  116. package/server/backends/botJobs/routes.ts +61 -0
  117. package/server/backends/remoteHost/getFeed.spec.ts +1 -0
  118. package/server/backends/remoteHost/handlers/deps.ts +4 -0
  119. package/server/backends/remoteHost/handlers/index.ts +4 -0
  120. package/server/backends/remoteHost/handlers.spec.ts +1 -0
  121. package/server/backends/remoteHost/hostBindings.ts +5 -1
  122. package/server/backends/remoteHost/index.ts +1 -0
  123. package/server/backends/remoteHost/terminalInput.spec.ts +55 -1
  124. package/server/backends/remoteHost/terminalInput.ts +31 -2
  125. package/server/config/app-config.ts +7 -0
  126. package/server/config/config-routes.ts +30 -9
  127. package/server/git/board-detail.ts +90 -0
  128. package/server/git/board-fetch.ts +130 -0
  129. package/server/git/board.ts +156 -0
  130. package/server/index.ts +8 -3
  131. package/server/infra/http/allowed-origin.ts +26 -3
  132. package/server/infra/http/host-guard.ts +32 -0
  133. package/server/infra/http/on-listening.ts +4 -1
  134. package/server/infra/process/psmux.ts +18 -0
  135. package/server/infra/process/psmuxWidthProbe.ts +71 -0
  136. package/server/infra/process/throwawayTmux.ts +52 -0
  137. package/server/infra/process/tmux.ts +44 -5
  138. package/server/infra/process/tmuxLiveServer.ts +18 -0
  139. package/server/infra/process/tmuxWidthProbe.ts +161 -0
  140. package/server/routes/app-routes.ts +26 -9
  141. package/server/routes/issue-work-routes.ts +7 -4
  142. package/server/routes/repo-routes.ts +36 -0
  143. package/server/routes/request-gates.ts +21 -0
  144. package/server/routes/terminal-reply-routes.ts +62 -0
  145. package/server/routes/terminalReply.ts +24 -0
  146. package/server/session/lifecycle.ts +7 -0
  147. package/server/session/pty/pty-connection.ts +14 -0
  148. package/server/session/registry.ts +23 -5
  149. package/server/session/spawn/spawn-shell.ts +22 -1
  150. package/server/session/types.ts +3 -0
  151. package/server/skills/mulmoterminal-config/SKILL.md +33 -1
  152. package/server/skills/mulmoterminal-html-plan/SKILL.md +113 -0
  153. package/server/skills/mulmoterminal-video-edit/SKILL.md +234 -0
  154. package/dist/assets/channel-DzFI1f3b.js +0 -1
  155. package/dist/assets/dist-Bmoz5E2r.js +0 -11
  156. package/dist/assets/dist-BwhEbr8Z.js +0 -1
  157. package/dist/assets/dist-DA5DIa6V.js +0 -2
  158. package/dist/assets/dist-DsIb-rrF.js +0 -9
  159. package/dist/assets/echarts-gl-C4AkOiYv.js +0 -4282
  160. package/dist/assets/flowDiagram-IUGLLWBU-C7CTHa5z.js +0 -1
  161. package/dist/assets/index-eeJFF9YM.css +0 -1
  162. package/dist/assets/japan-CyDc-cz7-BgORDJsl.js +0 -1
  163. package/dist/assets/swimlanesDiagram-AYQRV4AK-CJByAHiK.js +0 -8
  164. package/dist/assets/world-R-tMZ4nZ-B1c4T9X2.js +0 -1
package/README.md CHANGED
@@ -739,7 +739,10 @@ What MulmoTerminal does differently behind psmux, and only there:
739
739
  - counts emoji two cells wide in the browser (Unicode 11), as Claude Code and psmux do — otherwise
740
740
  each emoji shifts the rest of its row by one column;
741
741
  - keeps Volta's `_VOLTA_TOOL_RECURSION` out of psmux's environment, so `node` in a cell resolves through
742
- Volta's shim again.
742
+ Volta's shim again;
743
+ - turns psmux's warm pool off (`set -g warm off`, psmux 3.3.1+), in new servers and in the ones
744
+ already running. Every cell starts with `-e`, which never claims a spare shell, so the spares
745
+ only held memory and were restarted on every resize.
743
746
 
744
747
  psmux imitates tmux 3.4, so the few things that need tmux 3.7+ (such as restoring bracketed paste
745
748
  after a reload) are not available on it. A Windows restart still ends every session, as a reboot
@@ -807,7 +810,7 @@ the `claude` / `codex` sessions themselves.
807
810
  | `MULMOTERMINAL_HOME` | `~/.mulmoterminal` | Root for managed **git worktrees**. |
808
811
  | `CLAUDE_CONFIG_DIR` | `~/.claude` | Claude Code's own config directory. MulmoTerminal reads Claude's transcripts (`projects/`), prompt history (`history.jsonl`) and user skills (`skills/`) from it, and `.claude.json` from **inside** it (unset: `~/.claude.json`), which is how the per-project GUI MCP registration is checked (`server/session/project-dir.ts`). Set it in the environment MulmoTerminal starts from, so it matches the one Claude runs under. |
809
812
  | `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`), and it is what decides where MulmoTerminal's own runtime state goes — see the note under the table. Set it to the same value MulmoClaude uses. |
810
- | `MULMOTERMINAL_NO_SKILL_INSTALL` | unset | Set to any value to skip installing the bundled skills (`mulmoterminal-config` and the `-dirs` / `-theme` / `-header` / `-keys` / `-model` / `-notify` / `-bug-report` / `-decisions` / `-help` family) into Claude's skills root (`~/.claude/skills/`, and `$CLAUDE_CONFIG_DIR/skills/` as well when that is set) and the Codex skills root on startup. |
813
+ | `MULMOTERMINAL_NO_SKILL_INSTALL` | unset | Set to any value to skip installing the bundled skills (`mulmoterminal-config` and the `-dirs` / `-theme` / `-header` / `-keys` / `-model` / `-notify` / `-bug-report` / `-decisions` / `-help` / `-shared-app` / `-data-analysis` / `-video-edit` family) into Claude's skills root (`~/.claude/skills/`, and `$CLAUDE_CONFIG_DIR/skills/` as well when that is set) and the Codex skills root on startup. |
811
814
  | `GEMINI_IMAGE_MODEL` | `gemini-3.1-flash-image-preview` | Model used for image generation (needs `GEMINI_API_KEY`). The default is a **preview** model Google schedules for retirement around mid-2026, so pin a stable one here (e.g. `gemini-2.5-flash-image`) rather than waiting for a code change. |
812
815
  | `WAIT_REAP_GRACE_MS` | `1800000` | How long a **waiting** background session is kept before it's auto-reaped (`0` or negative = never). |
813
816
 
@@ -1599,6 +1602,14 @@ claude's input box to be ready — text pushed in before that lands in the scrol
1599
1602
  with several clones asks which one the first time and remembers the answer; a repo with no clone
1600
1603
  here disables the button and says why. Backed by `POST /api/issues/start`.
1601
1604
 
1605
+ **The board (experimental).** **Open the board** on `/github` goes to `/github/board`: per repo, one
1606
+ card per piece of work in five columns — To do, Implementing, In review (with the review round),
1607
+ Ready (QA) and Merged — joining each issue to the PR that closes it and to the live cells on its
1608
+ branch. Pressing a card opens a detail panel with the issue body, the PR's checks and reviews, and
1609
+ those cells (`GET /api/github/board/detail`); GitHub is a link inside it. A To do card's **▶** starts
1610
+ the issue as above but **sends the issue text at once** and stays on the board; the new cell joins
1611
+ the grid behind it, and the card moves to Implementing. The board keeps itself current while open: cells follow the same live `sessions` feed as the grid, a card whose cell is waiting for you gets an amber border, and the board reads itself again every minute while visible and a few seconds after one of its cells finishes a turn. Each cell in the detail panel can be answered there: its current screen (read by itself when the cell is waiting), a reply box that types one line and presses Enter — the phone's sanitized sender, which never clears what was already in the input box — and, when the question pane is switched on, Claude's question dialog as buttons. A permission prompt is answered with keys, so in the terminal. Backed by `GET /api/github/board`.
1612
+
1602
1613
  **Which clone a repo's work happens in.** `GET /api/repo-dirs` answers the reverse of the
1603
1614
  GitHub link a cell already shows: given `owner/repo`, which of your saved directories are
1604
1615
  clones of it. The candidates are derived from your directory presets by reading each one's
@@ -2113,7 +2124,8 @@ Any resulting state change is published on the `sessions` pub/sub channel.
2113
2124
 
2114
2125
  The endpoints above are the core; the server exposes many more (all under
2115
2126
  `http://localhost:$PORT`; query params shown where relevant). Mutating endpoints are
2116
- same-origin-guarded.
2127
+ same-origin-guarded, and every request is refused (`403`) unless it is addressed to localhost or a
2128
+ name in `MULMOTERMINAL_HOST` / `MULMOTERMINAL_ALLOWED_ORIGINS`, against DNS rebinding (#3188).
2117
2129
 
2118
2130
  **Sessions & agents**
2119
2131
 
@@ -2141,8 +2153,10 @@ same-origin-guarded.
2141
2153
  | `GET /api/worktrees?cwd=` · `GET /api/worktrees/diff?cwd=` | List managed worktrees / diff one vs its base. |
2142
2154
  | `POST /api/worktrees/create` · `/remove` · `/push` · `/pr` | Create on `agent/<slug>` — or, with `issue: <N>`, on `issue/<N>-<slug>` forked from a freshly fetched `origin/<base>`; remove (managed root only), push, open a PR (`gh`, else compare URL). |
2143
2155
  | `GET /api/prs` · `GET /api/issues` | Open PRs / issues across the configured `prRepos` — `gh` for github.com entries, `glab` for gitlab.com and any host declared in `gitlabHosts`. |
2156
+ | `GET /api/github/board` · `GET /api/github/board/detail` | The experimental board: per configured GitHub repo, cards joining issues, the PRs that close them and the live cells on their branch, each in a progress column; and one card's issue body, checks and reviews (`?repo=owner/repo&issue=N&pr=M`, at least one number; a repo not in `prRepos` is a 404). GitHub only. |
2144
2157
  | `GET /api/repo-dirs` | Which saved directories clone which GitHub repo, ordered, with the recorded choice per repo. |
2145
- | `POST /api/issues/start` | Cut an issue's worktree in one of that repo's known clones and spawn a session there, seeded with the issue. An optional `agent` (any hosted agent; absent is `claude`, anything else is a 400) picks which. A Claude seed is a draft; every other agent runs it at once. The reply names the `agent` and whether the seed runs (`seedRuns`), so the cell attaches on the right endpoint. |
2158
+ | `GET /api/terminal/:sessionId/screen` · `POST /api/terminal/:sessionId/reply` | A session's current screen as plain text (the phone's capture), and one line typed into it with Enter (`{ text }`, the phone's sanitizer: control bytes stripped, bracketed paste, a separate Enter; the input box is not cleared). A malformed id or text with nothing printable is a 400, a session this host does not hold a 404 (screen), text over the limit a 413, a session with no live terminal here, or one with a question dialog open at that moment, a 409 (reply). |
2159
+ | `POST /api/issues/start` | Cut an issue's worktree in one of that repo's known clones and spawn a session there, seeded with the issue. An optional `agent` (any hosted agent; absent is `claude`, anything else is a 400) picks which. A Claude seed is a draft unless the request says `run: true` (the board's start does; the `/github` rows do not, and a non-boolean `run` is a 400); every other agent runs it at once. The reply names the `agent` and whether the seed runs (`seedRuns`), so the cell attaches on the right endpoint. |
2146
2160
  | `GET /api/agents/availability` | Which hosted agents this machine can start — `{ agents: [{ agent, available, reason?, installGuide? }] }`, `reason` being `missing`, `no-such-path` (an `<AGENT>_BIN` naming nothing) or `not-executable`, and `installGuide` the agent's official install page (from `bin/agent-install-guides.json`) or `null`. The same check a spawn makes before it starts, run once at server start, so an agent installed later shows after a restart. |
2147
2161
  | `GET /api/github/star` · `POST /api/github/star` | Whether you have starred MulmoTerminal, and star it (via `gh`). `starred: null` means `gh` could not answer, and hides the button. |
2148
2162
 
@@ -2544,7 +2558,8 @@ server/
2544
2558
  backends/ wiki, collections, feeds, accounting, notifier,
2545
2559
  translation, whisper, remote-host, html, files
2546
2560
  skills/ bundled skills: mulmoterminal-config (entry point + audit), -dirs, -theme,
2547
- -header, -keys, -model, -notify, -bug-report, -decisions, -help
2561
+ -header, -keys, -model, -notify, -bug-report, -decisions, -help,
2562
+ -shared-app, -data-analysis, -video-edit
2548
2563
  fix-pty-perms.js postinstall: fixes node-pty binary permissions
2549
2564
  src/
2550
2565
  App.vue Layout; owns the grid, the overlays and the tab favicon
@@ -0,0 +1,31 @@
1
+ // The `botJobs` setting: whether this host runs Python a remote bot submits through mulmoserver's
2
+ // submitBotJob, and with which interpreter (plans/feat-bot-gpu-jobs.md). Both sides read it — the
3
+ // server sanitizes the file, the Settings section edits the same shape.
4
+ import { isRecord } from "./isRecord.js";
5
+
6
+ export interface BotJobs {
7
+ /** Off by default: a job is code from another machine, so nothing runs until the user says so. */
8
+ enabled: boolean;
9
+ /** The interpreter a job runs with. Usually a venv's python, since that is where the GPU packages
10
+ * (torch with MPS, …) live and the system python has none of them. A leading `~/` is the home. */
11
+ python: string;
12
+ }
13
+
14
+ export const BOT_JOBS_DEFAULT: BotJobs = { enabled: false, python: "python3" };
15
+
16
+ const MAX_PYTHON_LENGTH = 1024;
17
+ // eslint-disable-next-line no-control-regex -- intentional: a path with a control byte is not a path anyone typed
18
+ const CONTROL_BYTES = /[\u0000-\u001F\u007F]/u;
19
+
20
+ const pythonOf = (value: unknown): string => {
21
+ if (typeof value !== "string") return BOT_JOBS_DEFAULT.python;
22
+ const python = value.trim();
23
+ return python && python.length <= MAX_PYTHON_LENGTH && !CONTROL_BYTES.test(python) ? python : BOT_JOBS_DEFAULT.python;
24
+ };
25
+
26
+ /** Anything unrecognised is "unconfigured", and `enabled` is on only for a literal `true`: a typo
27
+ * must never be what lets another machine's code run here. */
28
+ export function sanitizeBotJobs(input: unknown): BotJobs {
29
+ if (!isRecord(input)) return BOT_JOBS_DEFAULT;
30
+ return { enabled: input.enabled === true, python: pythonOf(input.python) };
31
+ }
@@ -25,6 +25,8 @@ export const BUNDLED_SKILL_NAMES = [
25
25
  "mulmoterminal-shared-app",
26
26
  "mulmoterminal-help",
27
27
  "mulmoterminal-data-analysis",
28
+ "mulmoterminal-video-edit",
29
+ "mulmoterminal-html-plan",
28
30
  ] as const;
29
31
 
30
32
  export type BundledSkillName = (typeof BUNDLED_SKILL_NAMES)[number];
@@ -0,0 +1,105 @@
1
+ // What GET /api/github/board answers with (#3172): per repo, one card per piece of work — the issue,
2
+ // the PR that closes it, and the live cells on its branch — placed in a column. Shared because the
3
+ // server decides the column and the board renders it.
4
+ import type { CiState } from "./ghItems.js";
5
+
6
+ export const BOARD_COLUMNS = ["todo", "implementing", "review", "qa", "merged"] as const;
7
+
8
+ export type BoardColumn = (typeof BOARD_COLUMNS)[number];
9
+
10
+ export interface BoardIssue {
11
+ number: number;
12
+ title: string;
13
+ url: string;
14
+ }
15
+
16
+ export interface BoardPr {
17
+ number: number;
18
+ title: string;
19
+ url: string;
20
+ branch: string;
21
+ isDraft: boolean;
22
+ ci: CiState;
23
+ /** gh reviewDecision, or null when the repo requires none. */
24
+ review: string | null;
25
+ /** Distinct commits that received a review — one per push a reviewer looked at. */
26
+ reviewRounds: number;
27
+ /** Whether the newest commit has been reviewed yet. */
28
+ headReviewed: boolean;
29
+ }
30
+
31
+ export interface BoardCell {
32
+ session: string;
33
+ cwd: string;
34
+ working: boolean;
35
+ waiting: boolean;
36
+ }
37
+
38
+ export interface BoardCard {
39
+ /** Stable within a repo: `pr-N`, `issue-N` or `branch-<name>`. */
40
+ key: string;
41
+ column: BoardColumn;
42
+ issue: BoardIssue | null;
43
+ pr: BoardPr | null;
44
+ /** The branch the work is on, when there is one — the PR's head, or a cell's branch with no PR. */
45
+ branch: string | null;
46
+ cells: BoardCell[];
47
+ }
48
+
49
+ export interface RepoBoard {
50
+ repo: string;
51
+ cards?: BoardCard[];
52
+ error?: string;
53
+ }
54
+
55
+ export interface BoardResponse {
56
+ repos: RepoBoard[];
57
+ }
58
+
59
+ // What GET /api/github/board/detail answers with (#3177): the parts of one card that the board's
60
+ // list does not carry, read when its detail panel opens.
61
+ export interface BoardIssueDetail {
62
+ number: number;
63
+ title: string;
64
+ url: string;
65
+ author: string;
66
+ labels: string[];
67
+ /** Markdown, as written on GitHub. */
68
+ body: string;
69
+ }
70
+
71
+ export interface BoardCheck {
72
+ name: string;
73
+ ci: CiState;
74
+ /** The check's own page, or "" when it has none. */
75
+ url: string;
76
+ }
77
+
78
+ export interface BoardReview {
79
+ author: string;
80
+ /** gh's review state: APPROVED, CHANGES_REQUESTED, COMMENTED, … */
81
+ state: string;
82
+ /** The short oid of the commit the review was left on. */
83
+ commit: string;
84
+ submittedAt: string;
85
+ }
86
+
87
+ export interface BoardPrDetail {
88
+ number: number;
89
+ title: string;
90
+ url: string;
91
+ author: string;
92
+ body: string;
93
+ isDraft: boolean;
94
+ additions: number;
95
+ deletions: number;
96
+ checks: BoardCheck[];
97
+ reviews: BoardReview[];
98
+ }
99
+
100
+ export interface BoardDetailResponse {
101
+ issue: BoardIssueDetail | null;
102
+ pr: BoardPrDetail | null;
103
+ /** One line per part that could not be read; the other part is still shown. */
104
+ errors: string[];
105
+ }
@@ -0,0 +1,11 @@
1
+ // A URL that arrives as DATA and goes into an `<a href>`: `javascript:` in that attribute runs on
2
+ // click, so the scheme is not the data's decision. https only — github.com and GitHub Enterprise
3
+ // both serve it, and the cost of refusing anything else is a missing link beside text that still shows.
4
+ export const safeHttpsUrl = (value: unknown): string | null => {
5
+ if (typeof value !== "string" || value === "") return null;
6
+ try {
7
+ return new URL(value).protocol === "https:" ? value : null;
8
+ } catch {
9
+ return null;
10
+ }
11
+ };