pmx-canvas 0.8.0 → 0.8.2
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/.github/extensions/pmx-canvas/runtime.json +1 -1
- package/CHANGELOG.md +17 -0
- package/Readme.md +2 -2
- package/dist/canvas/global.css +6 -5
- package/dist/canvas/index.js +12 -12
- package/dist/canvas/mcp-app.html +22 -21
- package/dist/json-render/index.css +81 -1
- package/dist/json-render/index.js +1 -1
- package/dist/types/client/nodes/HtmlNode.d.ts +1 -0
- package/docs/design/Chrome.dc.html +3 -0
- package/docs/design.md +6 -3
- package/docs/http-api.md +6 -1
- package/docs/mcp.md +4 -1
- package/package.json +1 -1
- package/plugins/pmx-canvas/com.github.copilot/extensions/pmx-canvas/runtime.json +1 -1
- package/plugins/pmx-canvas/plugin.json +1 -1
- package/plugins/pmx-canvas/runtime.json +1 -1
- package/skills/pmx-canvas/SKILL.md +20 -3
- package/skills/pmx-canvas/evals/evals.json +62 -0
- package/skills/pmx-canvas/references/ax-html-control-surface.md +6 -0
- package/skills/pmx-canvas/references/installing-pmx-canvas.md +6 -6
- package/src/cli/commands/nodes.ts +3 -2
- package/src/cli/index.ts +2 -1
- package/src/client/nodes/HtmlNode.tsx +12 -2
- package/src/client/theme/global.css +6 -5
- package/src/json-render/renderer/index.css +6 -1
- package/src/json-render/renderer/index.tsx +0 -1
- package/src/server/canvas-operations.ts +1 -1
- package/src/server/context-reads.ts +1 -0
- package/src/server/index.ts +22 -2
- package/src/server/operations/mcp.ts +6 -0
- package/src/server/operations/ops/json-render.ts +5 -1
- package/src/server/operations/registry.ts +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
3
3
|
All notable changes to `pmx-canvas` are documented here. This project follows
|
|
4
4
|
[Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## [0.8.2] - 2026-10-06
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- Connection dots are smaller while keeping their larger drag targets.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Context pin and expand buttons stay in place when hover actions appear, so clicks reach the intended control in standalone and hosted workbenches.
|
|
15
|
+
- CLI help lists `board open` instead of incorrectly saying only humans can open boards.
|
|
16
|
+
- Embedded JSON forms use the bundled IBM Plex fonts, including in hosted viewers and offline exports.
|
|
17
|
+
- Browser workflow guidance lists the current Harbor and Daylight theme names.
|
|
18
|
+
- Full node reads update read badges; compact metadata and field-only CLI reads do not.
|
|
19
|
+
- Replacing a JSON form's spec preserves its custom title unless explicitly renamed.
|
|
20
|
+
- Changing an HTML card's AX capabilities reloads its bridge, including late enable and disable/re-enable.
|
|
21
|
+
- Agent guidance explains stale-read refreshes, receipt touch rows and the dim-untouched lens.
|
|
22
|
+
|
|
6
23
|
## [0.8.0] - 2026-10-06
|
|
7
24
|
|
|
8
25
|
### Highlights
|
package/Readme.md
CHANGED
|
@@ -411,7 +411,7 @@ merge this into the workspace's `.amp/settings.json` (not `.mcp.json`):
|
|
|
411
411
|
"amp.mcpServers": {
|
|
412
412
|
"canvas": {
|
|
413
413
|
"command": "bunx",
|
|
414
|
-
"args": ["pmx-canvas@0.8.
|
|
414
|
+
"args": ["pmx-canvas@0.8.2", "--mcp"],
|
|
415
415
|
"includeTools": ["canvas_*"],
|
|
416
416
|
"env": {
|
|
417
417
|
"PMX_CANVAS_WORKSPACE_ROOT": "/absolute/path/to/project",
|
|
@@ -455,7 +455,7 @@ services:
|
|
|
455
455
|
```bash
|
|
456
456
|
# .agents/setup — install the CLI (pin the exact version: a fresh orb running
|
|
457
457
|
# @latest can silently pick up a newer release than the one you validated)
|
|
458
|
-
npm install -g pmx-canvas@0.8.
|
|
458
|
+
npm install -g pmx-canvas@0.8.2
|
|
459
459
|
```
|
|
460
460
|
|
|
461
461
|
The server binds the portal-assigned `$PORT` automatically (gated on the
|
package/dist/canvas/global.css
CHANGED
|
@@ -636,8 +636,8 @@ body,
|
|
|
636
636
|
}
|
|
637
637
|
.node-port::after {
|
|
638
638
|
content: '';
|
|
639
|
-
width: calc(
|
|
640
|
-
height: calc(
|
|
639
|
+
width: calc(4px * var(--node-port-scale, 1));
|
|
640
|
+
height: calc(4px * var(--node-port-scale, 1));
|
|
641
641
|
border-radius: 50%;
|
|
642
642
|
background: var(--c-accent);
|
|
643
643
|
border: calc(2px * var(--node-port-scale, 1)) solid var(--c-panel);
|
|
@@ -775,14 +775,15 @@ body,
|
|
|
775
775
|
}
|
|
776
776
|
|
|
777
777
|
/* ⋯ and × appear on hover or keyboard focus; expand and the context pin
|
|
778
|
-
always show (docs/design/Chrome.dc.html).
|
|
778
|
+
always show (docs/design/Chrome.dc.html). Reserve their slots so revealing
|
|
779
|
+
them cannot move the pin out from under the pointer onto Close. */
|
|
779
780
|
.canvas-node .node-controls .node-hover-control {
|
|
780
|
-
|
|
781
|
+
visibility: hidden;
|
|
781
782
|
}
|
|
782
783
|
|
|
783
784
|
.canvas-node:hover .node-controls .node-hover-control,
|
|
784
785
|
.canvas-node:focus-within .node-controls .node-hover-control {
|
|
785
|
-
|
|
786
|
+
visibility: visible;
|
|
786
787
|
}
|
|
787
788
|
|
|
788
789
|
.canvas-node .node-body {
|