@1agh/maude 0.24.0 → 0.25.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.
- package/package.json +8 -8
- package/plugins/design/dependencies.json +30 -2
- package/plugins/design/dev-server/annotations-context-toolbar.tsx +481 -78
- package/plugins/design/dev-server/annotations-layer.tsx +817 -170
- package/plugins/design/dev-server/api.ts +15 -1
- package/plugins/design/dev-server/bin/_enumerate-artboards-playwright.mjs +2 -2
- package/plugins/design/dev-server/bin/_html-playwright.mjs +2 -2
- package/plugins/design/dev-server/bin/_pdf-playwright.mjs +25 -8
- package/plugins/design/dev-server/bin/_png-playwright.mjs +20 -20
- package/plugins/design/dev-server/bin/_pptx-playwright.mjs +2 -2
- package/plugins/design/dev-server/bin/_pw-launch.mjs +61 -0
- package/plugins/design/dev-server/bin/_screenshot-playwright.mjs +2 -2
- package/plugins/design/dev-server/bin/_svg-playwright.mjs +125 -19
- package/plugins/design/dev-server/bin/smoke.sh +114 -12
- package/plugins/design/dev-server/canvas-arrowheads.ts +220 -0
- package/plugins/design/dev-server/canvas-comment-mount.tsx +8 -24
- package/plugins/design/dev-server/canvas-cursors.ts +130 -82
- package/plugins/design/dev-server/canvas-icons.tsx +169 -0
- package/plugins/design/dev-server/canvas-shell.tsx +113 -89
- package/plugins/design/dev-server/client/app.jsx +1084 -417
- package/plugins/design/dev-server/dist/client.bundle.js +242 -20
- package/plugins/design/dev-server/dist/comment-mount.js +40 -62
- package/plugins/design/dev-server/export-dialog.tsx +189 -1
- package/plugins/design/dev-server/exporters/html.ts +4 -1
- package/plugins/design/dev-server/exporters/index.ts +4 -1
- package/plugins/design/dev-server/exporters/pdf.ts +7 -1
- package/plugins/design/dev-server/exporters/png.ts +21 -2
- package/plugins/design/dev-server/exporters/pptx.ts +330 -201
- package/plugins/design/dev-server/exporters/scope.ts +107 -11
- package/plugins/design/dev-server/exporters/svg.ts +4 -1
- package/plugins/design/dev-server/http.ts +40 -9
- package/plugins/design/dev-server/input-router.tsx +9 -2
- package/plugins/design/dev-server/test/annotations-draw-modifiers.test.ts +206 -0
- package/plugins/design/dev-server/test/annotations-layer.test.ts +83 -3
- package/plugins/design/dev-server/test/annotations-roundtrip.test.ts +243 -0
- package/plugins/design/dev-server/test/canvas-cursors.test.ts +95 -6
- package/plugins/design/dev-server/test/canvas-route.test.ts +4 -1
- package/plugins/design/dev-server/test/exporters/png.test.ts +24 -1
- package/plugins/design/dev-server/test/exporters/pptx-deck.test.ts +112 -0
- package/plugins/design/dev-server/test/exporters/pw-launch.test.ts +49 -0
- package/plugins/design/dev-server/test/exporters/scope.test.ts +0 -0
- package/plugins/design/dev-server/test/fixtures/phase-21-annotations.svg +1 -0
- package/plugins/design/dev-server/test/input-router.test.ts +11 -4
- package/plugins/design/dev-server/test/sanitize-annotation-svg.test.ts +32 -0
- package/plugins/design/dev-server/test/use-annotation-resize.test.ts +200 -0
- package/plugins/design/dev-server/test/use-tool-mode.test.tsx +9 -11
- package/plugins/design/dev-server/tool-palette.tsx +140 -11
- package/plugins/design/dev-server/use-annotation-resize.tsx +208 -61
- package/plugins/design/dev-server/use-tool-mode.tsx +55 -9
- package/plugins/design/templates/_shell.html +36 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1agh/maude",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Marketplace of Claude Code plugins by Michal Dovrtěl: `design` (canvas-first design iteration) + `flow` (generic agentic workflow loop with .ai second brain). Ships the `maude` CLI (with `mdcc` legacy alias) to scaffold workspace, run the design dev server, and manage configs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"prepublishOnly": "bash scripts/check-version-parity.sh && bash plugins/design/dev-server/bin/check-runtime-bundles.sh"
|
|
42
42
|
},
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@1agh/maude-darwin-arm64": "0.
|
|
45
|
-
"@1agh/maude-darwin-x64": "0.
|
|
46
|
-
"@1agh/maude-linux-arm64": "0.
|
|
47
|
-
"@1agh/maude-linux-arm64-musl": "0.
|
|
48
|
-
"@1agh/maude-linux-x64": "0.
|
|
49
|
-
"@1agh/maude-linux-x64-musl": "0.
|
|
50
|
-
"@1agh/maude-win32-x64": "0.
|
|
44
|
+
"@1agh/maude-darwin-arm64": "0.25.0",
|
|
45
|
+
"@1agh/maude-darwin-x64": "0.25.0",
|
|
46
|
+
"@1agh/maude-linux-arm64": "0.25.0",
|
|
47
|
+
"@1agh/maude-linux-arm64-musl": "0.25.0",
|
|
48
|
+
"@1agh/maude-linux-x64": "0.25.0",
|
|
49
|
+
"@1agh/maude-linux-x64-musl": "0.25.0",
|
|
50
|
+
"@1agh/maude-win32-x64": "0.25.0"
|
|
51
51
|
},
|
|
52
52
|
"files": [
|
|
53
53
|
"cli",
|
|
@@ -94,10 +94,38 @@
|
|
|
94
94
|
"preferred": "npm i -g playwright && npx playwright install chromium"
|
|
95
95
|
},
|
|
96
96
|
"autoInstall": false,
|
|
97
|
-
"fallbackBehavior": "Screenshot scripts use playwright as a fallback when agent-browser is missing.
|
|
98
|
-
"usedBy": [
|
|
97
|
+
"fallbackBehavior": "Screenshot scripts use playwright as a fallback when agent-browser is missing. The rendered export formats (PNG/PDF/SVG/HTML/PPTX/Canva) require it outright. NOTE: the `--version` check above only proves the npm package resolves — the Chromium BINARY is a separate install (`npx playwright install chromium`). If it's missing, exports fail at runtime with an actionable message from dev-server/bin/_pw-launch.mjs; screenshot helpers fall back to agent-browser.",
|
|
98
|
+
"usedBy": [
|
|
99
|
+
"dev-server/bin/_pw-launch.mjs",
|
|
100
|
+
"dev-server/bin/_screenshot-playwright.mjs",
|
|
101
|
+
"dev-server/bin/_png-playwright.mjs",
|
|
102
|
+
"dev-server/bin/_pdf-playwright.mjs",
|
|
103
|
+
"dev-server/bin/_svg-playwright.mjs",
|
|
104
|
+
"dev-server/bin/_html-playwright.mjs",
|
|
105
|
+
"dev-server/bin/_pptx-playwright.mjs",
|
|
106
|
+
"dev-server/bin/_enumerate-artboards-playwright.mjs",
|
|
107
|
+
"dev-server/bin/screenshot.sh"
|
|
108
|
+
],
|
|
99
109
|
"docsUrl": "https://playwright.dev"
|
|
100
110
|
},
|
|
111
|
+
{
|
|
112
|
+
"id": "svg2pptx",
|
|
113
|
+
"type": "cli",
|
|
114
|
+
"hardness": "soft",
|
|
115
|
+
"check": {
|
|
116
|
+
"command": "svg2pptx --version",
|
|
117
|
+
"expectExit": 0
|
|
118
|
+
},
|
|
119
|
+
"install": {
|
|
120
|
+
"preferred": "pip install svg2pptx",
|
|
121
|
+
"darwin": "pipx install svg2pptx || python3 -m pip install svg2pptx",
|
|
122
|
+
"linux": "pipx install svg2pptx || python3 -m pip install svg2pptx"
|
|
123
|
+
},
|
|
124
|
+
"autoInstall": false,
|
|
125
|
+
"fallbackBehavior": "PPTX/Canva export uses svg2pptx (Python) to emit NATIVE, editable PowerPoint shapes + text boxes from the artboard SVG — editable in PowerPoint / Keynote / Canva. Without it (or python3), export falls back to a non-editable PNG-per-slide deck (faithful, universal, Canva-safe). Set MAUDE_SVG2PPTX to a custom svg2pptx executable (e.g. a venv path, or `python3 -m svg2pptx`) when it isn't on PATH. See DDR-069.",
|
|
126
|
+
"usedBy": ["dev-server/exporters/pptx.ts"],
|
|
127
|
+
"docsUrl": "https://github.com/benouinirachid/svg2pptx"
|
|
128
|
+
},
|
|
101
129
|
{
|
|
102
130
|
"id": "maude",
|
|
103
131
|
"type": "cli",
|