mulmoterminal 12.1.2 → 13.0.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 (154) hide show
  1. package/README.ja.md +2 -2
  2. package/README.ko.md +2 -2
  3. package/README.md +10 -5
  4. package/README.zh-TW.md +2 -2
  5. package/README.zh.md +2 -2
  6. package/bin/cli-args.js +3 -3
  7. package/common/symlinkEscape.ts +20 -0
  8. package/common/toolGroups.ts +20 -0
  9. package/dist/assets/{Notation-CypJd7OM-BfsVwOnB.js → Notation-CypJd7OM-pkbcJly3.js} +1 -1
  10. package/dist/assets/{abnfDiagram-S7VZAUFO-D1q9UAUn.js → abnfDiagram-S7VZAUFO-DBlb1Nox.js} +1 -1
  11. package/dist/assets/{architecture-WOLXFQ4H-BEHjReqz.js → architecture-WOLXFQ4H-DIFqKSk-.js} +1 -1
  12. package/dist/assets/{architectureDiagram-YGSQEFNW-HTg12kY8.js → architectureDiagram-YGSQEFNW-rKhAytLE.js} +1 -1
  13. package/dist/assets/{blockDiagram-APKKGZFW-BIh-fuPo.js → blockDiagram-APKKGZFW-Uh4wHTps.js} +1 -1
  14. package/dist/assets/{c4Diagram-KJ2TOQU5-DWH9Nf2Q.js → c4Diagram-KJ2TOQU5-l2R9FN0_.js} +1 -1
  15. package/dist/assets/{chunk-6MUBBAK2-zYc2cujX.js → chunk-6MUBBAK2-D3cV4tq0.js} +1 -1
  16. package/dist/assets/{chunk-AXFCVDMN-CCFf_Iy_.js → chunk-AXFCVDMN-CS91A48H.js} +1 -1
  17. package/dist/assets/{chunk-BG4553SI-BrrkrSy8.js → chunk-BG4553SI-CqnaDepj.js} +1 -1
  18. package/dist/assets/{chunk-DQASFODM-CS9gvCen.js → chunk-DQASFODM-BvbU2BJR.js} +1 -1
  19. package/dist/assets/{chunk-HFQBQIA3-DEN-4f4e.js → chunk-HFQBQIA3-B-jT4Hk1.js} +1 -1
  20. package/dist/assets/{chunk-KQLB2F66-D8s0hIG5.js → chunk-KQLB2F66-of-ThZIT.js} +1 -1
  21. package/dist/assets/{chunk-KS47KZWR-i9e1mVOx.js → chunk-KS47KZWR-CtA7kQxW.js} +1 -1
  22. package/dist/assets/{chunk-LEVMRMFU-DzV8goqC.js → chunk-LEVMRMFU-Dvh_M_kH.js} +1 -1
  23. package/dist/assets/{chunk-M57EVK23-C5tQYW1X.js → chunk-M57EVK23-DV2qHg72.js} +1 -1
  24. package/dist/assets/{chunk-OY52VR5R-afZOJbNx.js → chunk-OY52VR5R-CqhircLU.js} +1 -1
  25. package/dist/assets/{chunk-QB3YPZ4I-Cu8V04cB.js → chunk-QB3YPZ4I-B5z_n75L.js} +1 -1
  26. package/dist/assets/{chunk-R3KSYZAL-D-3Hb2R9.js → chunk-R3KSYZAL-Br8r988E.js} +1 -1
  27. package/dist/assets/{chunk-STOXU5M4-BO_fPD9F.js → chunk-STOXU5M4-BI7HZETK.js} +1 -1
  28. package/dist/assets/{chunk-TU62E6Q5-DKp8wWIo.js → chunk-TU62E6Q5-DOPGbSff.js} +1 -1
  29. package/dist/assets/{chunk-X4PVCEUW-wtAKZD_F.js → chunk-X4PVCEUW-C5xkuruX.js} +1 -1
  30. package/dist/assets/{classDiagram-v2-L25IHNXF-CcU0AYIV.js → classDiagram-v2-L25IHNXF-DaONIRVP.js} +1 -1
  31. package/dist/assets/cynefin-EF2NZ3EQ-BbSH20Oy.js +1 -0
  32. package/dist/assets/{cynefinDiagram-L36ESFBY-nsHx5V9h.js → cynefinDiagram-L36ESFBY-CEVxFRDq.js} +1 -1
  33. package/dist/assets/{dagre-SPEB5RXH-ycdDd_-O.js → dagre-SPEB5RXH-odDoDXjK.js} +1 -1
  34. package/dist/assets/{diagram-3B7GL73J-pm1vF-9m.js → diagram-3B7GL73J-DLfqoIVM.js} +1 -1
  35. package/dist/assets/{diagram-DNEMPZML-Bt9X8xW_.js → diagram-DNEMPZML-Ct8neJrj.js} +1 -1
  36. package/dist/assets/{diagram-L3MUGCDN-BReQFlj-.js → diagram-L3MUGCDN-D6WW00FN.js} +1 -1
  37. package/dist/assets/{diagram-LA4NIPWU-CBZUzCZq.js → diagram-LA4NIPWU-B-ZxMEXb.js} +1 -1
  38. package/dist/assets/{diagram-MHCOC4E2-DNTJCR2L.js → diagram-MHCOC4E2-B6BloYzr.js} +1 -1
  39. package/dist/assets/{diagram-XPFHEONP-Cjl8OeQi.js → diagram-XPFHEONP-DafQESxK.js} +1 -1
  40. package/dist/assets/dist-BKENFDRp.js +2 -0
  41. package/dist/assets/{dist-BL8OZX3e.js → dist-BSBaWDHE.js} +1 -1
  42. package/dist/assets/{dist-DqLyEb98.js → dist-BYVnV4YS.js} +1 -1
  43. package/dist/assets/{dist-kpaeyLVA.js → dist-C-QjIW1m.js} +1 -1
  44. package/dist/assets/{dist-C8FvL1aG.js → dist-CI2ANgsl.js} +1 -1
  45. package/dist/assets/{dist-B-VTNZC9.js → dist-CiQjNb2C.js} +1 -1
  46. package/dist/assets/{ebnfDiagram-UZSYDL2S-DmdYPxau.js → ebnfDiagram-UZSYDL2S-FYrQVmMi.js} +1 -1
  47. package/dist/assets/{echarts-gl-BOylZEFb.js → echarts-gl-Dxw4tLc8.js} +1 -1
  48. package/dist/assets/{elk-XV6XMXQE-Cs4orwnZ.js → elk-XV6XMXQE-DGcxOyYW.js} +1 -1
  49. package/dist/assets/{emscripten-module-Q67P5WYC-Cj5BH9yC.js → emscripten-module-Q67P5WYC-B-Sk0b8X.js} +1 -1
  50. package/dist/assets/{erDiagram-EYBAPDEH-HugS-xWn.js → erDiagram-EYBAPDEH-i3Je_W4f.js} +1 -1
  51. package/dist/assets/{eventmodeling-K75KTNOO-B2c_yUUs.js → eventmodeling-K75KTNOO-DuQyxIlQ.js} +1 -1
  52. package/dist/assets/flowDiagram-MALGAFMO-DGHoD_nW.js +1 -0
  53. package/dist/assets/{ganttDiagram-23REXITY-DsY-x7Ry.js → ganttDiagram-23REXITY-CKFGO6Hd.js} +1 -1
  54. package/dist/assets/gitGraph-VSP46ZUC-D-FrFpz7.js +1 -0
  55. package/dist/assets/{gitGraphDiagram-STJD7YCW-CFNZr2-t.js → gitGraphDiagram-STJD7YCW-nH19iIXf.js} +1 -1
  56. package/dist/assets/{index-BD2LcYLD.js → index-CVWvCw8Y.js} +637 -632
  57. package/dist/assets/info-OHQRW6UA-BM5arluP.js +1 -0
  58. package/dist/assets/{infoDiagram-KBXO4MBG-CYuix9tg.js → infoDiagram-KBXO4MBG-BUFEBdgw.js} +1 -1
  59. package/dist/assets/{ishikawaDiagram-M35NCXHK-CbVEjvhk.js → ishikawaDiagram-M35NCXHK-CuEfX9ei.js} +1 -1
  60. package/dist/assets/{journeyDiagram-OPLOXDXO-C787yGsV.js → journeyDiagram-OPLOXDXO-S6n87Tzl.js} +1 -1
  61. package/dist/assets/{kanban-definition-BZKZHSQY-BGQVSXC_.js → kanban-definition-BZKZHSQY-Bxr9AZDN.js} +1 -1
  62. package/dist/assets/{line-BXZZVV-Q.js → line-CMQ-ALY6.js} +1 -1
  63. package/dist/assets/{manifold-D58aYr6e.js → manifold-C78YWcrd.js} +1 -1
  64. package/dist/assets/{marp-Di6VsL8q.js → marp-C96VyQd9.js} +41 -39
  65. package/dist/assets/{mermaid-parser.core-36vlePYc.js → mermaid-parser.core-DNUBFfdd.js} +3 -3
  66. package/dist/assets/{mermaid.core-CsgSDf3q.js → mermaid.core-iwKGIwht.js} +4 -4
  67. package/dist/assets/{mindmap-definition-I2QAS2VK-D2c-aCoK.js → mindmap-definition-I2QAS2VK-BHWdqvWe.js} +1 -1
  68. package/dist/assets/packet-JDAUHWVQ-DaulIJfg.js +1 -0
  69. package/dist/assets/{pegDiagram-FD4XPPHP-D7w6sRF3.js → pegDiagram-FD4XPPHP-CNRH_6cs.js} +1 -1
  70. package/dist/assets/pie-XZMESJXO-8Hujaacy.js +1 -0
  71. package/dist/assets/{pieDiagram-J4AKIIQI-CnX7yLar.js → pieDiagram-J4AKIIQI-7rewZ6yW.js} +1 -1
  72. package/dist/assets/{quadrantDiagram-XTYBLID2-D9e1hrXE.js → quadrantDiagram-XTYBLID2-Bi5svJW6.js} +1 -1
  73. package/dist/assets/radar-ABXABTNO-v4UMxTyv.js +1 -0
  74. package/dist/assets/railroad-I3PHUGI6-Q9azc_XK.js +1 -0
  75. package/dist/assets/{railroad-abnf-LNEFI6M7-B8Shu06o.js → railroad-abnf-LNEFI6M7-DjNxn3v0.js} +1 -1
  76. package/dist/assets/{railroad-ebnf-DWYD2UWJ-BOzXnPhy.js → railroad-ebnf-DWYD2UWJ-DdoROrjx.js} +1 -1
  77. package/dist/assets/{railroad-peg-JR7BVNR7-CjDnrWXC.js → railroad-peg-JR7BVNR7-BxyrzS1q.js} +1 -1
  78. package/dist/assets/{railroadDiagram-MRQ6NCDL-dxKOTUnX.js → railroadDiagram-MRQ6NCDL-CmgbIsC5.js} +1 -1
  79. package/dist/assets/{requirementDiagram-Y7LWUY3S-r9aPVP2e.js → requirementDiagram-Y7LWUY3S-CtkXE6Kj.js} +1 -1
  80. package/dist/assets/{sankeyDiagram-WGJFYUXA-D991hMJm.js → sankeyDiagram-WGJFYUXA-BXC84-xg.js} +1 -1
  81. package/dist/assets/{sequenceDiagram-5NDRBG5M-sXQ7EYt1.js → sequenceDiagram-5NDRBG5M-CC-X4V9R.js} +1 -1
  82. package/dist/assets/{stateDiagram-v2-FJ4FJNEA-BsWy6BtP.js → stateDiagram-v2-FJ4FJNEA-B7fa-kKQ.js} +1 -1
  83. package/dist/assets/{swimlanes-UMQ2AFYF-Cozt09xN.js → swimlanes-UMQ2AFYF-sbr7SO2Q.js} +1 -1
  84. package/dist/assets/swimlanesDiagram-OMPLPG4O-xs2WKQuP.js +8 -0
  85. package/dist/assets/{timeline-definition-SEUHKTQE-0lX6G-qT.js → timeline-definition-SEUHKTQE-Cm8m2u66.js} +1 -1
  86. package/dist/assets/treeView-D4JQ5SDB-DLx1rhJ8.js +1 -0
  87. package/dist/assets/treemap-SAJKECNS-BMg8FpT_.js +1 -0
  88. package/dist/assets/{usecaseDiagram-AFA6YXN4-DpCdk8e3.js → usecaseDiagram-AFA6YXN4-B7xukskQ.js} +1 -1
  89. package/dist/assets/{vennDiagram-NNMJR3RB-CeUdz9ST.js → vennDiagram-NNMJR3RB-CaeaGSTj.js} +1 -1
  90. package/dist/assets/wardley-7MLQ67FV-B8Pr6tjo.js +1 -0
  91. package/dist/assets/{wardleyDiagram-S7YFUSEH-CROY4Cfv.js → wardleyDiagram-S7YFUSEH-Mm_9l7zd.js} +1 -1
  92. package/dist/assets/{xychartDiagram-GGNKY7IX-DSXaiGJ1.js → xychartDiagram-GGNKY7IX-CIT2pkTe.js} +1 -1
  93. package/dist/index.html +1 -1
  94. package/docs/ChangeLog.md +68 -0
  95. package/docs/facts.json +2 -2
  96. package/docs/guide/en/faq.md +24 -1
  97. package/docs/guide/en/feature-list.md +4 -2
  98. package/docs/guide/en/getting-started.md +4 -4
  99. package/docs/guide/en/index.md +3 -4
  100. package/docs/guide/en/remote.md +4 -4
  101. package/docs/guide/en/v12.2.0.md +111 -0
  102. package/docs/guide/en/v13.0.0.md +89 -0
  103. package/docs/guide/ja/faq.md +22 -1
  104. package/docs/guide/ja/feature-list.md +4 -2
  105. package/docs/guide/ja/getting-started.md +4 -4
  106. package/docs/guide/ja/index.md +3 -4
  107. package/docs/guide/ja/remote.md +4 -4
  108. package/docs/guide/ja/v12.2.0.md +106 -0
  109. package/docs/guide/ja/v13.0.0.md +84 -0
  110. package/package.json +30 -29
  111. package/plugins/plugins.json +1 -0
  112. package/server/agents/antigravity/antigravity-usage.ts +2 -2
  113. package/server/agents/{probe/probe-trust.spec.ts → claude/own-folder-trust.spec.ts} +135 -31
  114. package/server/agents/{probe/probe-trust.ts → claude/own-folder-trust.ts} +45 -19
  115. package/server/agents/rate-limit/rate-limit-service.spec.ts +1 -1
  116. package/server/agents/rate-limit/rate-limit-service.ts +4 -10
  117. package/server/backends/collections/thumbnailStore.ts +7 -2
  118. package/server/backends/files/fileOps.ts +93 -17
  119. package/server/backends/files/files.ts +1 -1
  120. package/server/backends/files/filesPage.ts +1 -1
  121. package/server/backends/files/openVerifiedOr4xx.ts +20 -0
  122. package/server/backends/files/sendRawFile.ts +37 -12
  123. package/server/backends/files/streamFile.ts +22 -3
  124. package/server/backends/plugins/html.ts +56 -6
  125. package/server/campaign/campaign-store.ts +1 -1
  126. package/server/files/files-browse.ts +83 -36
  127. package/server/files/files-git-status.ts +12 -3
  128. package/server/files/files-tree-routes.ts +23 -12
  129. package/server/files/pathContainment.ts +109 -8
  130. package/server/files/tree-ops.ts +46 -10
  131. package/server/files/verifiedMkdir.ts +56 -0
  132. package/server/files/verifiedRead.ts +57 -0
  133. package/server/files/verifiedWrite.ts +83 -0
  134. package/server/index.ts +11 -4
  135. package/server/infra/process/tmux.ts +13 -4
  136. package/server/session/drops-trust.spec.ts +94 -0
  137. package/server/session/drops-trust.ts +28 -0
  138. package/server/session/pty/pane-mode-publish.ts +33 -0
  139. package/server/session/pty/pty-exit.ts +7 -1
  140. package/server/session/pty/terminal-replay.ts +29 -3
  141. package/server/session/spawn/agents/spawn-claude.ts +4 -1
  142. package/dist/assets/cynefin-EF2NZ3EQ-DSJBMOB8.js +0 -1
  143. package/dist/assets/dist-CHm3Yu8-.js +0 -2
  144. package/dist/assets/flowDiagram-MALGAFMO-D0GHrrmi.js +0 -1
  145. package/dist/assets/gitGraph-VSP46ZUC-CD-GepkL.js +0 -1
  146. package/dist/assets/info-OHQRW6UA-BQOiAxeM.js +0 -1
  147. package/dist/assets/packet-JDAUHWVQ-C2tZnQC2.js +0 -1
  148. package/dist/assets/pie-XZMESJXO-dHReSAGY.js +0 -1
  149. package/dist/assets/radar-ABXABTNO-C-qjGVbv.js +0 -1
  150. package/dist/assets/railroad-I3PHUGI6-BW6YnSRN.js +0 -1
  151. package/dist/assets/swimlanesDiagram-OMPLPG4O-CdoQhepY.js +0 -8
  152. package/dist/assets/treeView-D4JQ5SDB-CEIrveCo.js +0 -1
  153. package/dist/assets/treemap-SAJKECNS-DKnsrOJl.js +0 -1
  154. package/dist/assets/wardley-7MLQ67FV-BHmJQG7J.js +0 -1
package/README.ja.md CHANGED
@@ -26,7 +26,7 @@ Codex、Antigravity、Grok、Muse、GitHub Copilot CLI、Cursor CLI。
26
26
  npx mulmoterminal@latest # http://localhost:34567 で起動し、ブラウザが開きます
27
27
  ```
28
28
 
29
- **Node 22.12 以上**と、`PATH` に通ってログイン済みの
29
+ **Node 24.15 以上**と、`PATH` に通ってログイン済みの
30
30
  [`claude`](https://claude.com/claude-code) CLI が必要です。
31
31
  `npx mulmoterminal@latest init` が、足りないものを教えてくれます。
32
32
 
@@ -125,7 +125,7 @@ N 個の文脈を頭に保持しなければならない**ことです。状態
125
125
 
126
126
  ## インストールと起動
127
127
 
128
- **Node 22.12 以上**と、`PATH` 上の以下の CLI が必要です。
128
+ **Node 24.15 以上**と、`PATH` 上の以下の CLI が必要です。
129
129
 
130
130
  > **どれも入れたことがない場合**は、コマンドラインの経験がない前提で、macOS と Windows の
131
131
  > 両方を最初から説明したガイドがあります:
package/README.ko.md CHANGED
@@ -25,7 +25,7 @@
25
25
  npx mulmoterminal@latest # http://localhost:34567 에서 띄우고 브라우저를 엽니다
26
26
  ```
27
27
 
28
- **Node 22.12 이상**과, `PATH`에 있고 로그인된
28
+ **Node 24.15 이상**과, `PATH`에 있고 로그인된
29
29
  [`claude`](https://claude.com/claude-code) CLI가 필요합니다.
30
30
  `npx mulmoterminal@latest init`이 무엇이 빠졌는지 알려 줍니다.
31
31
 
@@ -120,7 +120,7 @@ tmux가 깔려 있으면 그 **위에서** 돌고, [재시작도 견딥니다](R
120
120
 
121
121
  ## 설치와 실행
122
122
 
123
- **Node 22.12 이상**과, `PATH`에 있는 아래 CLI들이 필요합니다.
123
+ **Node 24.15 이상**과, `PATH`에 있는 아래 CLI들이 필요합니다.
124
124
 
125
125
  | | 도구 | 무엇을 해 주는가 | 설치 |
126
126
  | --- | --- | --- | --- |
package/README.md CHANGED
@@ -67,7 +67,7 @@ ping to your phone when a task finishes. One `npx` command, no Electron, no conf
67
67
  npx mulmoterminal@latest # starts on http://localhost:34567 and opens your browser
68
68
  ```
69
69
 
70
- Requires **Node ≥ 22.12**, and by default the [`claude`](https://claude.com/claude-code) CLI —
70
+ Requires **Node ≥ 24.15**, and by default the [`claude`](https://claude.com/claude-code) CLI —
71
71
  on your `PATH` or named by `CLAUDE_BIN`, already logged in. Declare a different default agent
72
72
  (`--agent codex`, or `"defaultAgent"` in `~/.mulmoterminal/config.json`) and start-up checks that
73
73
  one instead. `npx mulmoterminal@latest init` reports what it can't find. On an older Node it stops
@@ -155,7 +155,11 @@ A drag inserts the file's **own** path where the browser exposes one via `file:/
155
155
  withholds it — **Chrome**, and every browser when MulmoTerminal is open **from another
156
156
  machine**, where a local path would name nothing on the host — the file's bytes are sent
157
157
  instead, saved to a private per-session directory under the OS temp dir, and *that* path is
158
- inserted. The session is granted that directory at launch (Claude Code's `--add-dir`), so the agent reads it without a permission prompt; the copies are removed
158
+ inserted. The session is granted that directory at launch (Claude Code's `--add-dir`), so the agent reads it without a permission prompt.
159
+ Claude Code 2.1.326 and later also ask at startup to trust any folder added that way, so
160
+ MulmoTerminal marks the parent of these directories trusted in Claude Code's config
161
+ (`projects[<path>].hasTrustDialogAccepted` in `~/.claude.json`, or in the account's own
162
+ `CLAUDE_CONFIG_DIR`) before the first one is granted. The copies are removed
159
163
  when the session ends, and any left by a crash are swept at the next start. Up to 110 MiB per
160
164
  file — the same ceiling as a phone attachment. **A session already running when you upgrade
161
165
  was launched without that grant**, so drops into it still prompt; new sessions don't.
@@ -300,7 +304,7 @@ more.
300
304
 
301
305
  ## Install & run
302
306
 
303
- Needs **Node ≥ 22.12**, plus these CLIs — on your `PATH`, or named by the matching `<AGENT>_BIN`:
307
+ Needs **Node ≥ 24.15**, plus these CLIs — on your `PATH`, or named by the matching `<AGENT>_BIN`:
304
308
 
305
309
  > **Never installed any of this before?** The guide walks it end to end, macOS and Windows,
306
310
  > assuming no command-line experience:
@@ -342,7 +346,7 @@ this machine, and `--port <port>` stops only that one). All three run the same s
342
346
  with `tmux` installed the agent sessions survive and come back under **Settings → Sessions that
343
347
  survived a restart**; without it they end with the server.
344
348
 
345
- **First-run setup (optional).** `npx mulmoterminal@latest init` checks your environment (Node ≥ 22.12
349
+ **First-run setup (optional).** `npx mulmoterminal@latest init` checks your environment (Node ≥ 24.15
346
350
  and every CLI in the table above), says how to update when Node is behind the latest LTS of its line
347
351
  or Claude Code is behind its `stable` release, seeds the launcher's **directory
348
352
  presets** from the projects in your Claude Code history, and writes `~/.mulmoterminal/config.json`.
@@ -781,7 +785,7 @@ server under **WSL**.
781
785
  | Plugins | GUI-protocol Vue plugins (`@mulmoclaude/*`, `@mulmochat-plugin/*`): markdown, form, image, chart, HTML, collection, accounting, mulmoscript (MulmoCast video/slides), google |
782
786
  | Tests | Vitest + @vue/test-utils + jsdom |
783
787
 
784
- Requires **Node ≥ 22.12** (uses `node --env-file-if-exists`) and, by default, the `claude` CLI —
788
+ Requires **Node ≥ 24.15** (uses `node --env-file-if-exists`) and, by default, the `claude` CLI —
785
789
  found on `PATH` or named by `CLAUDE_BIN`. Declaring a different default agent (`--agent codex`, or
786
790
  `"defaultAgent"` in `~/.mulmoterminal/config.json`) makes start-up check that agent instead (#2082):
787
791
  see [Starting without Claude Code](https://receptron.github.io/mulmoterminal/guide/en/agents.html#default-agent).
@@ -832,6 +836,7 @@ the `claude` / `codex` sessions themselves.
832
836
  | `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. |
833
837
  | `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. |
834
838
  | `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. |
839
+ | `WHISPER_SERVER_EXTRA_ARGS` | unset | Extra flags for the voice-input `whisper-server` (macOS), e.g. `--vad --vad-model /path/to/ggml-silero-v6.2.0.bin` to skip silence and noise so they no longer come back as invented text. Space-separated, or a JSON array of strings for a path with spaces. `--model`/`-m`, `--host`, `--port` and the other flags MulmoTerminal sets itself are refused, and a refused value is ignored with a warning in the server log. A flag your `whisper-server` does not accept can stop it from starting; voice input then fails until you remove the variable. [FAQ](https://receptron.github.io/mulmoterminal/guide/en/faq.html#voice-hallucination). |
835
840
  | `WAIT_REAP_GRACE_MS` | `1800000` | How long a **waiting** background session is kept before it's auto-reaped (`0` or negative = never). |
836
841
 
837
842
  **Where MulmoTerminal's own runtime state goes.** The launcher defaults the workspace to the
package/README.zh-TW.md CHANGED
@@ -24,7 +24,7 @@ Codex、Antigravity、Grok、Muse、GitHub Copilot CLI、Cursor CLI。單一代
24
24
  npx mulmoterminal@latest # 在 http://localhost:34567 啟動並開啟瀏覽器
25
25
  ```
26
26
 
27
- 需要 **Node 22.12 以上**,以及 `PATH` 上已登入的
27
+ 需要 **Node 24.15 以上**,以及 `PATH` 上已登入的
28
28
  [`claude`](https://claude.com/claude-code) CLI。
29
29
  `npx mulmoterminal@latest init` 會告訴你缺了什麼。
30
30
 
@@ -112,7 +112,7 @@ Claude / Codex activity hook**,不是去解析螢幕上的文字。
112
112
 
113
113
  ## 安裝與執行
114
114
 
115
- 需要 **Node 22.12 以上**,以及 `PATH` 上的這些 CLI:
115
+ 需要 **Node 24.15 以上**,以及 `PATH` 上的這些 CLI:
116
116
 
117
117
  | | 工具 | 它帶來什麼 | 安裝 |
118
118
  | --- | --- | --- | --- |
package/README.zh.md CHANGED
@@ -24,7 +24,7 @@ Codex、Antigravity、Grok、Muse、GitHub Copilot CLI、Cursor CLI。单个智
24
24
  npx mulmoterminal@latest # 在 http://localhost:34567 启动并打开浏览器
25
25
  ```
26
26
 
27
- 需要 **Node 22.12 以上**,以及 `PATH` 上已登录的
27
+ 需要 **Node 24.15 以上**,以及 `PATH` 上已登录的
28
28
  [`claude`](https://claude.com/claude-code) CLI。
29
29
  `npx mulmoterminal@latest init` 会告诉你缺了什么。
30
30
 
@@ -112,7 +112,7 @@ Claude / Codex activity hook**,不是去解析屏幕上的文字。
112
112
 
113
113
  ## 安装与运行
114
114
 
115
- 需要 **Node 22.12 以上**,以及 `PATH` 上的这些 CLI:
115
+ 需要 **Node 24.15 以上**,以及 `PATH` 上的这些 CLI:
116
116
 
117
117
  | | 工具 | 它带来什么 | 安装 |
118
118
  | --- | --- | --- | --- |
package/bin/cli-args.js CHANGED
@@ -392,8 +392,8 @@ export const SECOND_INSTANCE_NOTE = [
392
392
  " in the instance that did not start it.",
393
393
  ].join("\n");
394
394
 
395
- const MIN_NODE_MAJOR = 22;
396
- const MIN_NODE_MINOR = 12;
395
+ const MIN_NODE_MAJOR = 24;
396
+ const MIN_NODE_MINOR = 15;
397
397
 
398
398
  /**
399
399
  * The lowest Node MulmoTerminal runs on, for the "needs ≥ x.y" line.
@@ -404,7 +404,7 @@ export const MIN_NODE_LABEL = `${MIN_NODE_MAJOR}.${MIN_NODE_MINOR}`;
404
404
  * Whether the running Node is new enough — the `init` tick, and the gate on a normal launch.
405
405
  *
406
406
  * `process.versions.node` is "major.minor.patch", with a "-prerelease" tag on the patch for
407
- * nightlies ("22.12.0-nightly…"). Only major.minor gate, and Number.parseInt stops at the
407
+ * nightlies ("24.15.0-nightly…"). Only major.minor gate, and Number.parseInt stops at the
408
408
  * first non-digit, so that tag never reaches the comparison. A string that is not a version
409
409
  * parses to NaN, and every comparison against NaN is false, so an unreadable version reads as
410
410
  * "below minimum". Node's own `process.versions.node` is always readable, so that only ever
@@ -0,0 +1,20 @@
1
+ // A file route's 403 for a path that is inside the project by its spelling but whose real location
2
+ // is not, because a symbolic link on the way leads out (#3301). The server says which of the two
3
+ // refusals it was, since only it can see where a link goes; the pane decides from these fields and
4
+ // never from the error sentence.
5
+ //
6
+ // The body also carries the absolute path the server resolved, through the link: the pane may have
7
+ // no base to rebuild it from — the full-screen view with no `?cwd=` reads the server's default
8
+ // directory, which the request never named.
9
+ import { isRecord } from "./isRecord.js";
10
+
11
+ export const SYMLINK_ESCAPE_FIELD = "escape";
12
+ export const SYMLINK_ESCAPE = "symlink";
13
+ export const SYMLINK_ESCAPE_PATH_FIELD = "absolutePath";
14
+
15
+ /** The absolute path a symlink-escape 403 names, or null for any other body. */
16
+ export function symlinkEscapePath(body: unknown): string | null {
17
+ if (!isRecord(body) || body[SYMLINK_ESCAPE_FIELD] !== SYMLINK_ESCAPE) return null;
18
+ const absolutePath = body[SYMLINK_ESCAPE_PATH_FIELD];
19
+ return typeof absolutePath === "string" && absolutePath !== "" ? absolutePath : null;
20
+ }
@@ -100,6 +100,12 @@ const GROUP_BY_TOOL = new Map<string, ToolGroup>([
100
100
  ["exportShapeScriptUsdz", "render"],
101
101
  // And the printable STL beside it: the same model handed out as a file a slicer takes.
102
102
  ["exportShapeScriptStl", "render"],
103
+ // presentBrep draws a solid model and saves it under artifacts/brep/, as presentShapeScript
104
+ // does a mesh. It is NOT a render tool by the definition at the top of this file, and is here
105
+ // by the owner's decision (2026-11-16): its script is JavaScript, run by the package through
106
+ // node:vm in THIS server's process, unsandboxed. A call can therefore do whatever the server
107
+ // can, which is more than "touches only its own output". See AUTO_ALLOWED_TOOLS below.
108
+ ["presentBrep", "render"],
103
109
  // The cell's own right pane (#3022): show a file, or a checklist for the human. Render because
104
110
  // they only put something in front of the user — what they send back is typed by the user's Send.
105
111
  ["showInPane", "render"],
@@ -242,6 +248,19 @@ export const LEGACY_GUI_SERVER_IDS: readonly string[] = ["mulmoterminal-gui"];
242
248
  // is fetched, and the result is one file under the workspace artifacts. It can burn CPU
243
249
  // for a minute on a lattice of tens of thousands of parts, which is cost of the
244
250
  // render-tool kind, not of the kind this list keeps off.
251
+ //
252
+ // `presentBrep` is on this list by the owner's decision (2026-11-16), and it does NOT clear the
253
+ // bar the paragraphs above describe: say so here rather than let the list imply it does. The
254
+ // tool builds a solid from a replicad script, and that script is JavaScript the agent wrote,
255
+ // run by @gui-chat-plugin/brep through node:vm in this server's process with no sandbox. So an
256
+ // auto-approved call is code running on this machine without a prompt, outside whatever
257
+ // sandbox or permission mode the agent itself is under, and with what this process can reach.
258
+ // The package's own README says to enable it only where the model can already run code on the
259
+ // machine. The reasoning for accepting that here is the render-look-fix loop again: a part is
260
+ // built, read against its report and rebuilt several times, and a prompt in the middle of each
261
+ // round costs more attention than it buys from an agent that already has a shell. If that
262
+ // trade is ever revisited, moving the name to NEVER_AUTO_APPROVED_TOOLS is the whole change for
263
+ // claude; for codex a group is approved as a whole, so it would also have to leave `render`.
245
264
  export const AUTO_ALLOWED_TOOLS: readonly string[] = [
246
265
  "presentForm",
247
266
  "presentChart",
@@ -251,6 +270,7 @@ export const AUTO_ALLOWED_TOOLS: readonly string[] = [
251
270
  "renderShapeScript",
252
271
  "exportShapeScriptUsdz",
253
272
  "exportShapeScriptStl",
273
+ "presentBrep",
254
274
  "showInPane",
255
275
  "requestCheck",
256
276
  ];
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/opensheetmusicdisplay.min-CeBHhrOd.js","assets/rolldown-runtime-BCiCTKAo.js"])))=>i.map(i=>d[i]);
2
- import{o as e}from"./rolldown-runtime-BCiCTKAo.js";import{C as t,D as n,E as r,S as i,T as a,_ as o,b as s,f as c,n as l,t as u,v as d,w as f,x as p,y as m}from"./index-BD2LcYLD.js";p(),r();var h={class:`sheet`},g={key:0,class:`status`},_={key:1,class:`status`},v=u(s({__name:`Notation`,props:{musicxml:{},tempo:{},now:{}},setup(r){let s=r,u=n(null),p=n(`loading`),v,y=[],b=0;function x(e){let t=v?.cursor;if(t===void 0||y.length===0)return;let n=l(y,e);if(n!==b)for(n<b&&(t.reset(),b=0);b<n;)t.next(),b++}let S=0;async function C(t){let n=u.value;if(!n)return;let r=++S;p.value=`loading`;try{let{OpenSheetMusicDisplay:i}=await c(async()=>{let{OpenSheetMusicDisplay:t}=await import(`./opensheetmusicdisplay.min-CeBHhrOd.js`).then(t=>e(t.default,1));return{OpenSheetMusicDisplay:t}},__vite__mapDeps([0,1]));if(r!==S)return;v??=new i(n,{backend:`svg`,autoResize:!0,autoBeam:!0,drawTitle:!1,drawComposer:!1,drawCredits:!1,followCursor:!0,defaultColorMusic:`#000000`});let a=v;if(await a.load(t),r!==S)return;a.render();let o=a.cursor;o.show(),o.reset();let l=240/s.tempo,u=[];for(;!o.iterator.EndReached;)u.push(o.iterator.currentTimeStamp.RealValue*l),o.next();o.reset(),y=u,b=0,p.value=`ready`,x(s.now)}catch(e){if(r!==S)return;console.error(`jinglescript: the sheet music could not be drawn`,e),p.value=`failed`}}return t(()=>void C(s.musicxml)),a(()=>s.musicxml,e=>void C(e)),a(()=>s.now,e=>x(e)),i(()=>{S++,v?.clear(),v=void 0}),(e,t)=>(f(),m(`div`,h,[p.value===`loading`?(f(),m(`p`,g,`Drawing the sheet music…`)):p.value===`failed`?(f(),m(`p`,_,`The sheet music could not be drawn. The audio still plays; the MusicXML can be downloaded below.`)):d(``,!0),o(`div`,{ref_key:`container`,ref:u,class:`page`},null,512)]))}}),[[`__scopeId`,`data-v-80f75f9d`]]);export{v as default};
2
+ import{o as e}from"./rolldown-runtime-BCiCTKAo.js";import{C as t,D as n,E as r,S as i,T as a,_ as o,b as s,f as c,n as l,t as u,v as d,w as f,x as p,y as m}from"./index-CVWvCw8Y.js";p(),r();var h={class:`sheet`},g={key:0,class:`status`},_={key:1,class:`status`},v=u(s({__name:`Notation`,props:{musicxml:{},tempo:{},now:{}},setup(r){let s=r,u=n(null),p=n(`loading`),v,y=[],b=0;function x(e){let t=v?.cursor;if(t===void 0||y.length===0)return;let n=l(y,e);if(n!==b)for(n<b&&(t.reset(),b=0);b<n;)t.next(),b++}let S=0;async function C(t){let n=u.value;if(!n)return;let r=++S;p.value=`loading`;try{let{OpenSheetMusicDisplay:i}=await c(async()=>{let{OpenSheetMusicDisplay:t}=await import(`./opensheetmusicdisplay.min-CeBHhrOd.js`).then(t=>e(t.default,1));return{OpenSheetMusicDisplay:t}},__vite__mapDeps([0,1]));if(r!==S)return;v??=new i(n,{backend:`svg`,autoResize:!0,autoBeam:!0,drawTitle:!1,drawComposer:!1,drawCredits:!1,followCursor:!0,defaultColorMusic:`#000000`});let a=v;if(await a.load(t),r!==S)return;a.render();let o=a.cursor;o.show(),o.reset();let l=240/s.tempo,u=[];for(;!o.iterator.EndReached;)u.push(o.iterator.currentTimeStamp.RealValue*l),o.next();o.reset(),y=u,b=0,p.value=`ready`,x(s.now)}catch(e){if(r!==S)return;console.error(`jinglescript: the sheet music could not be drawn`,e),p.value=`failed`}}return t(()=>void C(s.musicxml)),a(()=>s.musicxml,e=>void C(e)),a(()=>s.now,e=>x(e)),i(()=>{S++,v?.clear(),v=void 0}),(e,t)=>(f(),m(`div`,h,[p.value===`loading`?(f(),m(`p`,g,`Drawing the sheet music…`)):p.value===`failed`?(f(),m(`p`,_,`The sheet music could not be drawn. The audio still plays; the MusicXML can be downloaded below.`)):d(``,!0),o(`div`,{ref_key:`container`,ref:u,class:`page`},null,512)]))}}),[[`__scopeId`,`data-v-80f75f9d`]]);export{v as default};
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"./chunk-OY52VR5R-afZOJbNx.js";import{t as r}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-CsgSDf3q.js";import"./chunk-BG4553SI-BrrkrSy8.js";import{m as i}from"./src-Bc_iCBZR.js";import{n as a}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as o,t as s}from"./mermaid-parser.core-36vlePYc.js";var c=o().RailroadAbnf.parser.LangiumParser,l=a(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=a(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=a(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=a(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=a(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=a(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=a(e=>{r(e,n),e.title&&n.setTitle(e.title),e.rules.map(e=>n.addRule(m(e)))},`populateDb`),g={parser:{parse:a(e=>{n.clear(),i.debug(`[ABNF Parser] Starting Langium parse`);let t=c.parse(e);if(t.lexerErrors.length>0||t.parserErrors.length>0)throw new s(t);let r=t.value;i.debug(`[ABNF Parser] Parsed rules:`,r.rules.length),h(r),i.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:n}},db:n,renderer:t,styles:e};export{g as diagram};
1
+ import{n as e,r as t,t as n}from"./chunk-OY52VR5R-CqhircLU.js";import{t as r}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-iwKGIwht.js";import"./chunk-BG4553SI-CqnaDepj.js";import{m as i}from"./src-Bc_iCBZR.js";import{n as a}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as o,t as s}from"./mermaid-parser.core-DNUBFfdd.js";var c=o().RailroadAbnf.parser.LangiumParser,l=a(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=a(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=a(e=>{if(e.includes(`*`)){let[t,n]=e.split(`*`);return{min:t?parseInt(t,10):0,max:n?parseInt(n,10):1/0}}let t=parseInt(e,10);return{min:t,max:t}},`parseRepeat`),f=a(e=>{let t=p(e.primary);if(!e.repeat)return t;let{min:n,max:r}=d(e.repeat);return n===0&&r===1?{type:`optional`,element:t}:{type:`repetition`,element:t,min:n,max:r}},`transformElement`),p=a(e=>{switch(e.$type){case`AbnfStringLiteral`:return{type:`terminal`,value:e.value};case`AbnfNumVal`:return{type:`terminal`,value:e.value};case`AbnfRuleName`:return{type:`nonterminal`,name:e.name};case`AbnfGroup`:return l(e.element);case`AbnfOptionalGroup`:return{type:`optional`,element:l(e.element)};default:throw Error(`Unsupported ABNF primary node: ${e.$type}`)}},`transformPrimary`),m=a(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=a(e=>{r(e,n),e.title&&n.setTitle(e.title),e.rules.map(e=>n.addRule(m(e)))},`populateDb`),g={parser:{parse:a(e=>{n.clear(),i.debug(`[ABNF Parser] Starting Langium parse`);let t=c.parse(e);if(t.lexerErrors.length>0||t.parserErrors.length>0)throw new s(t);let r=t.value;i.debug(`[ABNF Parser] Parsed rules:`,r.rules.length),h(r),i.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:n}},db:n,renderer:t,styles:e};export{g as diagram};
@@ -1 +1 @@
1
- export{M as createArchitectureServices}from"./mermaid-parser.core-36vlePYc.js";import"./chunk-NGNAAXSQ-DI_UYJZ4.js";
1
+ export{M as createArchitectureServices}from"./mermaid-parser.core-DNUBFfdd.js";import"./chunk-NGNAAXSQ-DI_UYJZ4.js";