pmx-canvas 0.6.2 → 0.6.4
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/CHANGELOG.md +31 -0
- package/Readme.md +30 -3
- package/dist/canvas/global.css +32 -0
- package/dist/canvas/index.js +68 -66
- package/dist/json-render/index.js +57 -57
- package/dist/types/client/canvas/FeedbackDialog.d.ts +4 -0
- package/dist/types/client/canvas/auto-fit.d.ts +3 -0
- package/dist/types/client/nodes/use-iframe-content-height.d.ts +3 -3
- package/dist/types/client/state/human-store.d.ts +1 -0
- package/dist/types/json-render/catalog.d.ts +20 -20
- package/dist/types/json-render/schema.d.ts +40 -0
- package/dist/types/mcp/skills.d.ts +13 -0
- package/dist/types/server/bundled-skills.d.ts +32 -4
- package/docs/cli.md +7 -2
- package/docs/http-api.md +5 -1
- package/docs/mcp.md +35 -1
- package/docs/node-types.md +43 -1
- package/docs/product-context-vision-2026-09.md +17 -6
- package/docs/product-vision-2026-09.md +136 -41
- package/docs/product-vision-review-2026-09.md +277 -0
- package/package.json +11 -11
- package/skills/json-render-mcp/SKILL.md +118 -2
- package/skills/pmx-canvas/SKILL.md +43 -13
- package/skills/pmx-canvas/evals/evals.json +46 -0
- package/skills/pmx-canvas/references/installing-pmx-canvas.md +5 -5
- package/src/client/canvas/FeedbackDialog.tsx +86 -0
- package/src/client/canvas/ToolRail.tsx +225 -189
- package/src/client/canvas/auto-fit.ts +20 -1
- package/src/client/nodes/use-iframe-content-height.ts +44 -24
- package/src/client/state/human-store.ts +6 -6
- package/src/client/theme/global.css +32 -0
- package/src/json-render/catalog.ts +6 -0
- package/src/json-render/renderer/index.tsx +17 -0
- package/src/json-render/schema.ts +4 -0
- package/src/mcp/server.ts +9 -4
- package/src/mcp/skills.ts +47 -0
- package/src/server/bundled-skills.ts +92 -53
- package/src/server/operations/ops/nodes.ts +43 -11
- package/src/shared/content-height-reporter.ts +4 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,37 @@
|
|
|
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.6.4] - 2026-09-24
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- A bug icon in the left toolbar opens a form for bug reports, feature requests, and general feedback, with a reviewable GitHub issue draft.
|
|
11
|
+
|
|
12
|
+
### Internal
|
|
13
|
+
|
|
14
|
+
- Viewport-fit tests cancel pending animations during teardown so they cannot write the next test's nodes.
|
|
15
|
+
- Documented JSON-render state and slots, authored-card fitting limits, and bundled MCP skill resources.
|
|
16
|
+
- Clarified that the CLI pump skips and acknowledges startup backlog by default; added skill evals for skipping history and explicitly delivering reviewed backlog.
|
|
17
|
+
|
|
18
|
+
## [0.6.3] - 2026-09-23
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- MCP Skills extension support lets compatible hosts discover bundled skills and read their references, scripts, and assets on demand.
|
|
23
|
+
- JSON-render Cards support custom header and footer slots around their body content.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Updated the json-render packages to 0.21.0.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- JSON-render validation preserves initial state, repeat definitions, watchers, and named-slot references instead of dropping them.
|
|
32
|
+
- Authored iframe cards remeasure changing content and leave space around neighbors when growing automatically.
|
|
33
|
+
- Automatic card fitting waits for human grabs to end, and relocations can be undone.
|
|
34
|
+
- Repointing file nodes resolves relative paths against the workspace and rejects unreadable targets without losing the existing content or watcher.
|
|
35
|
+
- Bundled installation instructions match the package version, and paint guidance requires visual confirmation in the affected host.
|
|
36
|
+
|
|
6
37
|
## [0.6.2] - 2026-09-09
|
|
7
38
|
|
|
8
39
|
### Changed
|
package/Readme.md
CHANGED
|
@@ -4,6 +4,12 @@ pmx-canvas is a visual workspace for planning, discovery, analysis, coordination
|
|
|
4
4
|
and orchestrating work with agents—from exploring an idea to directing its
|
|
5
5
|
execution and carrying the learning forward.
|
|
6
6
|
|
|
7
|
+
**The board is your extended memory and your agent's working memory.** Use it
|
|
8
|
+
to research, analyze, work with dashboards, and start or plan coding and other
|
|
9
|
+
knowledge work—not just to prepare context for an agent. In the [long-term vision](docs/product-vision-2026-09.md#the-one-line-vision)
|
|
10
|
+
your boards link into a wiki you can see as a map, bringing useful understanding
|
|
11
|
+
back into whatever you do next, and any board can be shared or presented.
|
|
12
|
+
|
|
7
13
|
**A moldable canvas for agent-assisted thinking.** An infinite 2D surface
|
|
8
14
|
where files, plans, status, charts, fetched web pages, annotations, code
|
|
9
15
|
diffs, and diagrams live side by side. Every node carries its own renderer; agents
|
|
@@ -61,6 +67,13 @@ the canvas is the union of its [built-in node types](docs/node-types.md) and
|
|
|
61
67
|
**whatever your agent's harness already has access to** — MCP servers, CLIs,
|
|
62
68
|
file reads, web fetch, anything on its toolbelt.
|
|
63
69
|
|
|
70
|
+
JSON-render panels support bound form state, nested repeats, watchers, and Card
|
|
71
|
+
header/footer slots. Form edits remain viewer-local until explicitly submitted;
|
|
72
|
+
see [JSON-render nodes](docs/node-types.md#json-render-nodes). Authored iframe cards
|
|
73
|
+
can grow with their content and move clear of neighbors, with human-grab deferral
|
|
74
|
+
and undoable relocation. This is grow-only height fitting, not shrink-to-content
|
|
75
|
+
or camera zoom; see [sizing limits](docs/node-types.md#automatic-sizing-of-authored-iframe-cards).
|
|
76
|
+
|
|
64
77
|
### 03 / Annotate
|
|
65
78
|
|
|
66
79
|
Draw freehand marks directly on the canvas to circle, underline, connect, or
|
|
@@ -359,7 +372,7 @@ services:
|
|
|
359
372
|
```bash
|
|
360
373
|
# .agents/setup — install the CLI (pin the exact version: a fresh orb running
|
|
361
374
|
# @latest can silently pick up a newer release than the one you validated)
|
|
362
|
-
npm install -g pmx-canvas@0.6.
|
|
375
|
+
npm install -g pmx-canvas@0.6.4
|
|
363
376
|
```
|
|
364
377
|
|
|
365
378
|
The server binds the portal-assigned `$PORT` automatically (gated on the
|
|
@@ -405,14 +418,28 @@ the agent can read `canvas://skills` and pull in companion skills
|
|
|
405
418
|
`control-session-orchestrator`, `web-artifacts-builder`, `json-render-*`,
|
|
406
419
|
`pmx-canvas-testing`, `playwright-cli`, etc.) as the work demands.
|
|
407
420
|
|
|
421
|
+
The MCP server also supports the [Skills extension](docs/mcp.md#skills-extension-sep-2640):
|
|
422
|
+
compatible hosts discover skills through `skills/list` and read instructions, references,
|
|
423
|
+
scripts, and assets at `skill://<name>/<path>`. Files come from the running MCP package;
|
|
424
|
+
restart MCP after an upgrade. Host support determines automatic skill loading, and reading
|
|
425
|
+
a skill never grants permission to execute its scripts. Filesystem installation remains available.
|
|
426
|
+
|
|
427
|
+
## Bugs, feature requests, and feedback
|
|
428
|
+
|
|
429
|
+
Click the small bug icon below the logo in the left toolbar (**Bug and feedback**).
|
|
430
|
+
Choose Bug report, Feature request, or General feedback, then enter a title and
|
|
431
|
+
description. **Continue on GitHub** opens a prefilled issue in this repository;
|
|
432
|
+
sign in to GitHub, review it, and submit. Issues are public. No board data, workspace
|
|
433
|
+
paths, screenshots, or logs are attached automatically.
|
|
434
|
+
|
|
408
435
|
## Documentation
|
|
409
436
|
|
|
410
437
|
- **[Node types](docs/node-types.md)** — every node type, edge types, and
|
|
411
438
|
the three-tier visual matrix (json-render → html → web-artifact)
|
|
412
439
|
- **[CLI reference](docs/cli.md)** — full command surface, daemon mode,
|
|
413
440
|
watch streams, WebView automation
|
|
414
|
-
- **[MCP reference](docs/mcp.md)** — 22 tools, 14 resources
|
|
415
|
-
notifications, node-type routing
|
|
441
|
+
- **[MCP reference](docs/mcp.md)** — 22 tools, 14 core resources plus bundled
|
|
442
|
+
skill resources, Skills extension, change notifications, node-type routing
|
|
416
443
|
- **[HTTP API](docs/http-api.md)** — REST endpoints, SSE, batch operations
|
|
417
444
|
- **[AX host-adapter contract](docs/ax-host-adapter-contract.md)** — how native
|
|
418
445
|
host adapters connect context, steering, activity, and human gates
|
package/dist/canvas/global.css
CHANGED
|
@@ -4474,6 +4474,38 @@ html.is-node-resizing .ext-app-preview-catcher {
|
|
|
4474
4474
|
font-weight: 600;
|
|
4475
4475
|
}
|
|
4476
4476
|
|
|
4477
|
+
.feedback-backdrop {
|
|
4478
|
+
position: fixed;
|
|
4479
|
+
padding: 24px 0;
|
|
4480
|
+
align-items: center;
|
|
4481
|
+
}
|
|
4482
|
+
.feedback-dialog {
|
|
4483
|
+
width: min(480px, calc(100% - 32px));
|
|
4484
|
+
max-height: calc(100dvh - 48px);
|
|
4485
|
+
overflow-y: auto;
|
|
4486
|
+
color: var(--c-text);
|
|
4487
|
+
}
|
|
4488
|
+
.feedback-dialog label {
|
|
4489
|
+
display: flex;
|
|
4490
|
+
flex-direction: column;
|
|
4491
|
+
gap: 6px;
|
|
4492
|
+
font-size: 12px;
|
|
4493
|
+
}
|
|
4494
|
+
.feedback-note {
|
|
4495
|
+
margin: 0;
|
|
4496
|
+
color: var(--c-muted);
|
|
4497
|
+
font-size: 12px;
|
|
4498
|
+
line-height: 1.5;
|
|
4499
|
+
}
|
|
4500
|
+
.feedback-dialog textarea {
|
|
4501
|
+
resize: vertical;
|
|
4502
|
+
min-height: 100px;
|
|
4503
|
+
}
|
|
4504
|
+
.feedback-dialog button:disabled {
|
|
4505
|
+
opacity: 0.5;
|
|
4506
|
+
cursor: not-allowed;
|
|
4507
|
+
}
|
|
4508
|
+
|
|
4477
4509
|
/* Selection action bar — floating bottom-center of the canvas region
|
|
4478
4510
|
(rail-chrome-v2 phase 7, item 13). */
|
|
4479
4511
|
/* In a session the command bar owns the bottom-center slot — lift the
|