pmx-canvas 0.1.28 → 0.1.29
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 +32 -0
- package/dist/canvas/index.js +28 -28
- package/dist/types/server/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/cli/agent.ts +13 -0
- package/src/client/nodes/LedgerNode.tsx +39 -5
- package/src/json-render/server.ts +18 -1
- package/src/mcp/canvas-access.ts +17 -1
- package/src/mcp/server.ts +6 -3
- package/src/server/index.ts +7 -1
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.1.29] - 2026-06-06
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- **Bullet graph nodes accept the conventional `actual` measure key** in
|
|
11
|
+
addition to `value`, so `data: [{ label, actual, target }]` renders
|
|
12
|
+
without an explicit `valueKey` instead of failing the data-key check.
|
|
13
|
+
- **Node-create MCP responses expose both `id` and a `nodeId` alias.**
|
|
14
|
+
All node-create tools (including SpecStream) now return both keys,
|
|
15
|
+
matching the existing external-app / web-artifact responses, so agents
|
|
16
|
+
using either key (or a cached schema) work.
|
|
17
|
+
- **Friendlier AX CLI errors for bare subcommands.** Running `pmx-canvas
|
|
18
|
+
ax event` (or `evidence`/`host`/`work`/`approval`/`review`) without the
|
|
19
|
+
action now suggests the full command (e.g. `ax event add`) or lists the
|
|
20
|
+
available actions instead of a generic unknown-command error.
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- **`pmx-canvas --mcp` no longer crashes with `EADDRINUSE`** when a daemon
|
|
25
|
+
already holds the target port for a *different* workspace. The MCP/SDK
|
|
26
|
+
auto-start now falls back to a free port (a same-workspace daemon is
|
|
27
|
+
still attached to as before) and prints a stderr note explaining how to
|
|
28
|
+
share one canvas (`PMX_CANVAS_URL` / `PMX_CANVAS_PORT` or run the daemon
|
|
29
|
+
from this workspace). An explicit SDK `start()` port is still honored
|
|
30
|
+
exactly unless `allowPortFallback` is passed.
|
|
31
|
+
- **Ledger nodes render body `content` as a log** — one line per entry,
|
|
32
|
+
no stray "Content" field label, and a literal `\n` (as the shell
|
|
33
|
+
passes through `--content "a\nb"`) is treated as a line break instead
|
|
34
|
+
of being shown verbatim. Structured key/value fields still render as
|
|
35
|
+
rows, now with a gap so the label never runs into the value.
|
|
36
|
+
|
|
6
37
|
## [0.1.28] - 2026-06-06
|
|
7
38
|
|
|
8
39
|
### Changed
|
|
@@ -1384,6 +1415,7 @@ otherwise have to discover by trial and error.
|
|
|
1384
1415
|
- Regression coverage for snapshot flat-`id` aliases on both MCP and
|
|
1385
1416
|
HTTP surfaces, plus async / top-level-`await` WebView script bodies.
|
|
1386
1417
|
|
|
1418
|
+
[0.1.29]: https://github.com/pskoett/pmx-canvas/releases/tag/v0.1.29
|
|
1387
1419
|
[0.1.28]: https://github.com/pskoett/pmx-canvas/releases/tag/v0.1.28
|
|
1388
1420
|
[0.1.27]: https://github.com/pskoett/pmx-canvas/releases/tag/v0.1.27
|
|
1389
1421
|
[0.1.26]: https://github.com/pskoett/pmx-canvas/releases/tag/v0.1.26
|