mulmoterminal 11.7.0 → 12.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -5
- package/dist/assets/{Notation-ntjjL2Db-SIELVvDc.js → Notation-ntjjL2Db-Y_HDDdTZ.js} +1 -1
- package/dist/assets/{abnfDiagram-WEYOIA3C-qrj5omIa.js → abnfDiagram-WEYOIA3C-BWvUw6Ex.js} +1 -1
- package/dist/assets/{architecture-WOLXFQ4H-scj6_TFp.js → architecture-WOLXFQ4H-BcGbEP23.js} +1 -1
- package/dist/assets/{architectureDiagram-ZHVYKT53-Ct8HZycm.js → architectureDiagram-ZHVYKT53-pxOGgDkP.js} +1 -1
- package/dist/assets/{blockDiagram-RJAE7QA3-CEqcREax.js → blockDiagram-RJAE7QA3-D4PMTHoy.js} +1 -1
- package/dist/assets/{c4Diagram-XDPPPE54-D1uSR0-h.js → c4Diagram-XDPPPE54-HL4rY1zs.js} +1 -1
- package/dist/assets/channel-BgkI5V_s.js +1 -0
- package/dist/assets/{chunk-2E7WHVMD-Bg9e9cMJ.js → chunk-2E7WHVMD-t1WhNXVb.js} +1 -1
- package/dist/assets/{chunk-4EMNKR2T-Diae1x3Z.js → chunk-4EMNKR2T-OuFE-IVv.js} +1 -1
- package/dist/assets/{chunk-55XCU76K-DEYgPowh.js → chunk-55XCU76K-OSZY9TG4.js} +1 -1
- package/dist/assets/{chunk-7S6XSTFO-B32Jswou.js → chunk-7S6XSTFO-CxlH3b4l.js} +1 -1
- package/dist/assets/{chunk-AQDTSKZB-Cl8QnO0x.js → chunk-AQDTSKZB-xTOnZkWT.js} +1 -1
- package/dist/assets/{chunk-DSNLSHJZ-CTGJuMWJ.js → chunk-DSNLSHJZ-BSflk7eq.js} +1 -1
- package/dist/assets/{chunk-HAGFOTED-Ts34JiHo.js → chunk-HAGFOTED-Cur9o5aH.js} +1 -1
- package/dist/assets/{chunk-HNE4Q36P-DcIdHmLs.js → chunk-HNE4Q36P-tE-Cbvg-.js} +1 -1
- package/dist/assets/{chunk-NQOKRVIF-BpOxOTb_.js → chunk-NQOKRVIF-Cw2NH7Fg.js} +1 -1
- package/dist/assets/{chunk-UHW7PFBP-CATa77xv.js → chunk-UHW7PFBP-CAldnyLL.js} +1 -1
- package/dist/assets/{chunk-VQ5W62QI-Dut0o7r8.js → chunk-VQ5W62QI-BLa7j6ng.js} +1 -1
- package/dist/assets/{chunk-WQQL4CDK-CI6ZYaNQ.js → chunk-WQQL4CDK-CtNqqPhD.js} +1 -1
- package/dist/assets/{chunk-YZO67HFG-C9GK9EHI.js → chunk-YZO67HFG-6KvimchL.js} +1 -1
- package/dist/assets/{chunk-ZAUX2LTX-DvB1xrTf.js → chunk-ZAUX2LTX-BT2cVNvZ.js} +1 -1
- package/dist/assets/{chunk-ZCHMQSOR-Ba-Wa_ai.js → chunk-ZCHMQSOR-C1mA_Z60.js} +1 -1
- package/dist/assets/{classDiagram-v2-4MYWR3UA-CgZfd72R.js → classDiagram-v2-4MYWR3UA-DLdM_QtS.js} +1 -1
- package/dist/assets/{cynefin-EF2NZ3EQ-CUuOyaIi.js → cynefin-EF2NZ3EQ-BsGIjRm0.js} +1 -1
- package/dist/assets/{cynefinDiagram-WF24UDRP-ba-b3Kr4.js → cynefinDiagram-WF24UDRP-bjDknDrM.js} +1 -1
- package/dist/assets/{dagre-NK4GIZVX-DYI4hiqr.js → dagre-NK4GIZVX-9X-lBd7Z.js} +1 -1
- package/dist/assets/{diagram-CBK3MWTC-CyPx1gkV.js → diagram-CBK3MWTC-1WauM42q.js} +1 -1
- package/dist/assets/{diagram-I5XIIV2D-C6Pfgk9c.js → diagram-I5XIIV2D-DbJYJgl1.js} +1 -1
- package/dist/assets/{diagram-ODIL2UCW-BvpAaDcb.js → diagram-ODIL2UCW-B9Y2DWu7.js} +1 -1
- package/dist/assets/{diagram-PFBEJUXE-DRzZejrT.js → diagram-PFBEJUXE-DN_FlBCw.js} +1 -1
- package/dist/assets/{diagram-RJA3I4VV-DPrfDi_p.js → diagram-RJA3I4VV-9xeMaKIu.js} +1 -1
- package/dist/assets/{diagram-TYUNFSNR-BmbLii_g.js → diagram-TYUNFSNR-DAnaI0eg.js} +1 -1
- package/dist/assets/{dist-D5GzfZuB.js → dist-B1j3dGjf.js} +1 -1
- package/dist/assets/{dist-6r7uSjcE.js → dist-B2UkrIgh.js} +1 -1
- package/dist/assets/{dist-BbBhGgZY.js → dist-Br3kzfcf.js} +1 -1
- package/dist/assets/{dist-7R-Qkasc.js → dist-Cv8Gizmm.js} +1 -1
- package/dist/assets/{dist-B5Pfp7fC.js → dist-D0jSqas5.js} +1 -1
- package/dist/assets/dist-DwDF17cc.js +2 -0
- package/dist/assets/{ebnfDiagram-V4P3TTPT-CN-xjjCu.js → ebnfDiagram-V4P3TTPT-CeGktbJL.js} +1 -1
- package/dist/assets/{echarts-gl-DdjFnJmg.js → echarts-gl-C4zEDUR_.js} +1 -1
- package/dist/assets/{elk-QONTBCTQ-BSJ4liYc.js → elk-QONTBCTQ-Bk1JVeoq.js} +1 -1
- package/dist/assets/{emscripten-module-Q67P5WYC-BRT9QNsx.js → emscripten-module-Q67P5WYC-BFaAN_t4.js} +1 -1
- package/dist/assets/{erDiagram-KYQIGQAA-BTgLj8Bq.js → erDiagram-KYQIGQAA-Ddc-O4CH.js} +1 -1
- package/dist/assets/{eventmodeling-K75KTNOO-BL4C76Nz.js → eventmodeling-K75KTNOO-COrkaLD-.js} +1 -1
- package/dist/assets/flowDiagram-IUGLLWBU-EtHoFkGf.js +1 -0
- package/dist/assets/{ganttDiagram-R7GPNTJY-DXeezOIA.js → ganttDiagram-R7GPNTJY-BAetRJQR.js} +1 -1
- package/dist/assets/{gitGraph-VSP46ZUC-CRsvIlNG.js → gitGraph-VSP46ZUC-xmOC_kTv.js} +1 -1
- package/dist/assets/{gitGraphDiagram-PDYL7XHY-nMUAcytr.js → gitGraphDiagram-PDYL7XHY-B-9wS-V5.js} +1 -1
- package/dist/assets/{index-CRezQ7dF.css → index-DXKgt5mT.css} +1 -1
- package/dist/assets/{index-V8EFkGOj.js → index-IGTEydXB.js} +579 -579
- package/dist/assets/{info-OHQRW6UA-DTSGHLpf.js → info-OHQRW6UA-CcJqT9N0.js} +1 -1
- package/dist/assets/{infoDiagram-MVDRKAX5-tWohr5ca.js → infoDiagram-MVDRKAX5-VaW6AZyd.js} +1 -1
- package/dist/assets/{ishikawaDiagram-HPEHV2GE-CTELYtAZ.js → ishikawaDiagram-HPEHV2GE-CU003Svm.js} +1 -1
- package/dist/assets/{journeyDiagram-BOSHW7O7-CmxoqusI.js → journeyDiagram-BOSHW7O7-3-DTCInk.js} +1 -1
- package/dist/assets/{kanban-definition-FNSA4HC5-DRI-TDyi.js → kanban-definition-FNSA4HC5-DHwYt6Py.js} +1 -1
- package/dist/assets/{line-DTuFqe2v.js → line-pCifPLfl.js} +1 -1
- package/dist/assets/{manifold-C7zxPzH4.js → manifold-BxpDEW38.js} +1 -1
- package/dist/assets/{mermaid-parser.core-D43YG_Lz.js → mermaid-parser.core-BfkkISSP.js} +3 -3
- package/dist/assets/{mermaid.core-BT_hXsMY.js → mermaid.core-CplnbY_P.js} +4 -4
- package/dist/assets/{mindmap-definition-6OY57UG3-Di7hdZ3w.js → mindmap-definition-6OY57UG3-Xzldl1jf.js} +1 -1
- package/dist/assets/{packet-JDAUHWVQ-B-BbLorh.js → packet-JDAUHWVQ-ESPtbjXb.js} +1 -1
- package/dist/assets/{pegDiagram-ECIUJNBX-LFPIhQPf.js → pegDiagram-ECIUJNBX-CV7m7CtU.js} +1 -1
- package/dist/assets/{pie-XZMESJXO-CszfEvIf.js → pie-XZMESJXO-CBiUR0ag.js} +1 -1
- package/dist/assets/{pieDiagram-GNMPY74T-DomAB1q9.js → pieDiagram-GNMPY74T-BH5yaCa6.js} +1 -1
- package/dist/assets/{quadrantDiagram-D57K4MC3-oxjixNRR.js → quadrantDiagram-D57K4MC3-DS6Tp32C.js} +1 -1
- package/dist/assets/{radar-ABXABTNO-BNPaJq7e.js → radar-ABXABTNO-BvG9NMA4.js} +1 -1
- package/dist/assets/{railroad-I3PHUGI6-BOFGU08T.js → railroad-I3PHUGI6-BXIicEZ-.js} +1 -1
- package/dist/assets/{railroad-abnf-LNEFI6M7-BvmNoIpm.js → railroad-abnf-LNEFI6M7-DzCB1h-b.js} +1 -1
- package/dist/assets/{railroad-ebnf-DWYD2UWJ-DKt4Abtu.js → railroad-ebnf-DWYD2UWJ-BrZJd7Du.js} +1 -1
- package/dist/assets/{railroad-peg-JR7BVNR7-8yAJ4xxt.js → railroad-peg-JR7BVNR7-ssRFpSqJ.js} +1 -1
- package/dist/assets/{railroadDiagram-Y72NRBL7-eZDOlwyP.js → railroadDiagram-Y72NRBL7-C5XOLJdM.js} +1 -1
- package/dist/assets/{requirementDiagram-EQYSW5RA-CN67TEVw.js → requirementDiagram-EQYSW5RA-CdR1QkCN.js} +1 -1
- package/dist/assets/{sankeyDiagram-SY24JHO5-Cx4_JPbB.js → sankeyDiagram-SY24JHO5-CzEu3hiA.js} +1 -1
- package/dist/assets/{sequenceDiagram-BLEHNHQU-DRhlprVi.js → sequenceDiagram-BLEHNHQU-ClVRE1KG.js} +1 -1
- package/dist/assets/{stateDiagram-v2-A6IESKWZ-OKU5HoKo.js → stateDiagram-v2-A6IESKWZ-DQsd1ubf.js} +1 -1
- package/dist/assets/{swimlanes-B3ENRKFQ-BLEHIC-n.js → swimlanes-B3ENRKFQ-DeXMGr-I.js} +1 -1
- package/dist/assets/swimlanesDiagram-AYQRV4AK-hgMKEnj6.js +8 -0
- package/dist/assets/{timeline-definition-JXYKGLGB-km7e4ipt.js → timeline-definition-JXYKGLGB-zyL8N0Qu.js} +1 -1
- package/dist/assets/{treeView-D4JQ5SDB-CkTy4fNJ.js → treeView-D4JQ5SDB-BIibXp8E.js} +1 -1
- package/dist/assets/{treemap-SAJKECNS-CoNtm-YL.js → treemap-SAJKECNS-BlndHi8v.js} +1 -1
- package/dist/assets/{usecaseDiagram-WPOLBNNX-BngpchH7.js → usecaseDiagram-WPOLBNNX-BGOOzH-V.js} +1 -1
- package/dist/assets/{vennDiagram-Q3Y3IDCW-W_Qtt2Z2.js → vennDiagram-Q3Y3IDCW-D7eQ8F25.js} +1 -1
- package/dist/assets/{wardley-7MLQ67FV-C6g6oCoi.js → wardley-7MLQ67FV-Bk5Yt8WJ.js} +1 -1
- package/dist/assets/{wardleyDiagram-IVAIDKWA-CbzF0ViY.js → wardleyDiagram-IVAIDKWA-BegMrkBA.js} +1 -1
- package/dist/assets/{xychartDiagram-4URNHDU4-DfeIJDAf.js → xychartDiagram-4URNHDU4-CW-7dXqp.js} +1 -1
- package/dist/index.html +2 -2
- package/docs/ChangeLog.md +28 -0
- package/docs/facts.json +1 -1
- package/docs/guide/en/config.md +22 -2
- package/docs/guide/en/feature-list.md +4 -1
- package/docs/guide/en/features.md +3 -1
- package/docs/guide/en/index.md +3 -3
- package/docs/guide/en/v12.0.0.md +117 -0
- package/docs/guide/en/v12.0.1.md +58 -0
- package/docs/guide/ja/config.md +22 -2
- package/docs/guide/ja/feature-list.md +4 -1
- package/docs/guide/ja/features.md +3 -1
- package/docs/guide/ja/index.md +3 -3
- package/docs/guide/ja/v12.0.0.md +113 -0
- package/docs/guide/ja/v12.0.1.md +57 -0
- package/package.json +1 -1
- package/server/config/app-config.ts +10 -0
- package/server/files/files-browse.ts +23 -15
- package/server/skills/mulmoterminal-keys/SKILL.md +22 -0
- package/dist/assets/channel-CXxv-lYJ.js +0 -1
- package/dist/assets/dist-BKFd7qac.js +0 -2
- package/dist/assets/flowDiagram-IUGLLWBU-BcEStGDe.js +0 -1
- package/dist/assets/swimlanesDiagram-AYQRV4AK-DJxhGpRP.js +0 -8
package/README.md
CHANGED
|
@@ -190,8 +190,16 @@ than as bytes:
|
|
|
190
190
|
| images, PDF, SVG, video, audio | raw bytes in a new tab, which the browser renders better than an editor would |
|
|
191
191
|
| everything else — `.xlsx`, `.docx`, `.zip`, a `Makefile` | the app's own **Files** view. A tab cannot display these, so opening one there is not a view — it is a download starting with no warning. The pane names the file and offers **Open in OS**, which hands it to the application that owns it (Excel for an `.xlsx`) |
|
|
192
192
|
|
|
193
|
+
The same tab is one button away from the Files pane: on a Markdown, JSON or CSV/TSV file, the header's
|
|
194
|
+
open-in-new button opens that document, toolbar included, in a tab of its own.
|
|
195
|
+
|
|
193
196
|
**A path outside the session's working directory opens too** — absolute, `~/…`, or `../` climbing out.
|
|
194
|
-
Markdown, JSON, tables and source open
|
|
197
|
+
Markdown, JSON, tables and source open **in the Files pane on their own**: the tree stays on the cell's
|
|
198
|
+
directory and the file has no row in it, an arrow mark before its name says it is outside (hover for the
|
|
199
|
+
path), and it is read, previewed and saved against its own directory with the same conditional save as
|
|
200
|
+
any other file. History and Changes are not offered for it, and a link in its Preview is not followed.
|
|
201
|
+
With no pane to take the click, they open against the file's own directory in a tab or the Files view
|
|
202
|
+
as before. An HTML page, an image, a PDF,
|
|
195
203
|
an SVG, a video or an audio file opens in a new tab through a **one-file link**: the app asks the server
|
|
196
204
|
for it with a same-origin POST, and only that file is served under it — not its directory, and not the
|
|
197
205
|
image an HTML page links beside itself. The link lasts until the server restarts (or until many newer links push it out); seeking a video works.
|
|
@@ -208,12 +216,12 @@ puts it in the editor. (ESLint's default output puts the path on a line of its o
|
|
|
208
216
|
|
|
209
217
|
**A right-click on the path opens a menu** instead of the browser's: open it in the pane (what a plain click does), open it in a **new tab** (the rendered document for Markdown, JSON and tables, the Files page for source, the one-file link for a picture or a PDF outside the cell), open it in the **Files view**, or **copy the path** as an absolute path, ready for a prompt or an issue. A right-click only opens the menu; it no longer also opens the file the way a click does (it used to, under the browser's menu). Off a link the right-click is the browser's as before. Cmd/Ctrl+click still opens a new Files tab.
|
|
210
218
|
|
|
211
|
-
**
|
|
219
|
+
**The [Files pane](#files-view-browse--edit) beside the terminal takes the click first** — beside an enlarged cell, and on the tiled grid too, where the pane opens beside the tile that printed the path, or moves to it, the way that tile's menu would open it (`fileLinkOpensPane`, on by default; `false` keeps a tiled-grid click on the routes above unless a pane is already beside that tile) — every
|
|
212
220
|
row above, since the pane is the same editor with a Preview for Markdown, HTML and SVG, shows an
|
|
213
221
|
image as a picture and a PDF in a frame, and plays a video or an audio file with the browser's own
|
|
214
222
|
controls (seeking included, whatever the file's size). The file opens *beside* the terminal
|
|
215
223
|
that printed it, and the pane opens itself if it was closed. It declines, leaving the routing
|
|
216
|
-
above untouched, when
|
|
224
|
+
above untouched, when `fileLinkOpensPane` is off on the tiled grid and no pane is beside the tiles, or when the path is not
|
|
217
225
|
under the directory of the cell the pane belongs to (the pane cannot walk above its root). A file too large to edit as text still offers **Open in OS**.
|
|
218
226
|
|
|
219
227
|
Highlighting in the Files view covers the JS/TS family, JSON and Markdown (the modes
|
|
@@ -889,6 +897,7 @@ The Settings modal (the gear button) persists per-user UI choices to `~/.mulmote
|
|
|
889
897
|
| `tmuxPrefix` | The prefix key of the dedicated tmux server: `"none"` (default — every key reaches the agent, so Ctrl+B is "one character left" again), `"C-b"` (tmux's own default) or another control key such as `"C-]"`. Applied to a running tmux server on save. See the [Configuration guide](https://receptron.github.io/mulmoterminal/guide/en/config.html#tmux-prefix). Settings → **Terminal keys** has a dropdown. |
|
|
890
898
|
| `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. |
|
|
891
899
|
| `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). |
|
|
900
|
+
| `fileLinkOpensPane` | `false` keeps a **file path clicked on the tiled grid** on its old route — a new tab, or the in-app Files view — unless a pane is already open beside that cell. **On by default**: the click opens the Files pane beside the tile that printed the path, the way the tile's menu would, or moves it there. Beside an enlarged cell nothing changes either way. Settings → Terminal keys has a checkbox |
|
|
892
901
|
| `questionPaneEnabled` | `true` offers a Claude session's **`AskUserQuestion` choices as buttons** in a pane beside the enlarged terminal. **The terminal's own dialog stays** and the pane drives it — a click presses the arrow keys and Enter in the real dialog, so either end can answer and the first one wins. Claude sessions only (the choices arrive on Claude Code's hooks). A **single** question can also be answered in your own words — a text box under the buttons writes into the dialog's own `Type something` row; several questions at once, or a multi-select one, get buttons only, and `Chat about this` stays in the terminal. **Off by default** — it lets a pane type into your terminal. Checkbox in Settings → **Terminal keys**, applied at once (the server re-reads the file per question). See the [Feature reference](https://receptron.github.io/mulmoterminal/guide/en/features.html#question-pane). |
|
|
893
902
|
| `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. |
|
|
894
903
|
| `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**. |
|
|
@@ -1455,8 +1464,8 @@ goes to the tab that file already has. A link that climbs above the pane's folde
|
|
|
1455
1464
|
the pane says so; an external link opens in a new browser tab, and a `#heading` link scrolls the
|
|
1456
1465
|
document.
|
|
1457
1466
|
|
|
1458
|
-
The toggle is not the only way in:
|
|
1459
|
-
|
|
1467
|
+
The toggle is not the only way in: **clicking a file path the agent printed** opens it here too, beside
|
|
1468
|
+
that cell — on the tiled grid the pane opens or moves beside the tile — rather than in a new tab or full-screen — see
|
|
1460
1469
|
[Clicking a file path](#clicking-a-file-path).
|
|
1461
1470
|
|
|
1462
1471
|
**Open a file by name instead of walking the tree.** The pane's header has a **search** button
|
|
@@ -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-
|
|
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-IGTEydXB.js";p(),r();var h={class:`sheet`},g={key:0,class:`status`},_={key:1,class:`status`},v=l(s({__name:`Notation`,props:{musicxml:{},tempo:{},now:{}},setup(r){let s=r,l=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=u(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=l.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:l,class:`page`},null,512)]))}}),[[`__scopeId`,`data-v-80f75f9d`]]);export{v as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{m as e,t}from"./mermaid-parser.core-
|
|
1
|
+
import{m as e,t}from"./mermaid-parser.core-BfkkISSP.js";import{n}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{m as r}from"./src-Bc_iCBZR.js";import"./chunk-DSNLSHJZ-BSflk7eq.js";import{n as i,r as a,t as o}from"./chunk-2E7WHVMD-t1WhNXVb.js";import{t as s}from"./chunk-JWPE2WC7-DVXcaiue.js";import"./mermaid.core-CplnbY_P.js";var c=e().RailroadAbnf.parser.LangiumParser,l=n(e=>{let t=e.alternatives.map(u);return t.length===1?t[0]:{type:`choice`,alternatives:t}},`transformAlternation`),u=n(e=>{let t=e.elements.map(f);return t.length===1?t[0]:{type:`sequence`,elements:t}},`transformConcatenation`),d=n(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=n(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=n(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=n(e=>({name:e.name,definition:l(e.definition)}),`transformRule`),h=n(e=>{s(e,o),e.title&&o.setTitle(e.title),e.rules.map(e=>o.addRule(m(e)))},`populateDb`),g={parser:{parse:n(e=>{o.clear(),r.debug(`[ABNF Parser] Starting Langium parse`);let n=c.parse(e);if(n.lexerErrors.length>0||n.parserErrors.length>0)throw new t(n);let i=n.value;r.debug(`[ABNF Parser] Parsed rules:`,i.rules.length),h(i),r.debug(`[ABNF Parser] Parse complete`)},`parse`),parser:{yy:o}},db:o,renderer:a,styles:i};export{g as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{M as createArchitectureServices}from"./mermaid-parser.core-
|
|
1
|
+
import"./chunk-NGNAAXSQ-Bw6tHVuc.js";export{M as createArchitectureServices}from"./mermaid-parser.core-BfkkISSP.js";
|