v1.4.0
Added
@dockyard/bridgeand@dockyard/uiare published to npm. A
scaffolded UI project'sweb/now resolves them from npm with no
--dockyard-pathand no local Dockyard checkout —dockyard new --template analytics-widgetsthencd web && npm installjust works. The
packages setpublishConfig.access: "public", track the repo version, and
publish from a gated, idempotent tag-push job (verified bynpm pack+ a
scaffold-install build first).--dockyard-pathreverts to a pure
build-from-source convenience (D-172).- Bridge View-side task-progress channel.
@dockyard/bridgeexposes a
typedbridge.onTaskProgress((p) => …)subscription so an MCP App's card
can render a live progress value (e.g. "62%") for a long-running task,
fed by a newui/notifications/task-progresshost→View notification
(RFC §8.4). The Dockyard runtime emits eachTaskHandle.Progress/
TaskHandle.Statuscall as anobs/v1task.progressprogress-phase
event; the inspector forwards those to the App preview, so the channel is
demoable throughdockyard inspect. A host that does not forward progress
degrades cleanly — the subscriber simply never fires (D-171).
Changed
obs/v1task.progresspayload gained an optionalfractionfield
(the task's completion fraction in [0, 1] at a mid-flight progress point).
This is an additive change to theobs/v1contract — existing
consumers that do not read it are unaffected, the schema version stays
dockyard.obs/v1, and the golden tests pin the new shape (D-171).
Commits
Added
- release: publish @dockyard/bridge + @dockyard/ui to npm (v1.3 wave B item 4)
- bridge: View-side task-progress channel (v1.3 wave B item 5)