plugin-kit 0.4.0 — publish the launch surface #129 added, because rom-manager's main is red until it exists #130

Merged
enricobuehler merged 1 commits from worktree-plugin-kit-040 into main 2026-08-08 22:53:41 +00:00
Owner

One line, but it's the thing standing between two merged PRs and a working plugin.

Why now

punktfunk-plugin-rom-manager merged its consuming change (#1 there) while still pinning @punktfunk/plugin-kit@^0.2.0. Its CI runs bun install --frozen-lockfile then typecheck on every push to main, and the registry's newest kit has none of the exports that change uses — so rom-manager's main is red right now, with three errors naming exactly serveUi({launch}), PluginLaunchTarget and SyncError.message.

The order matters and only works one way: the kit has to be on the registry before rom-manager's lockfile can resolve it. So this lands first, gets tagged, and then rom-manager's pin moves off ^0.2.0.

Why 0.4.0

New API surface from #129, not a fix — serveUi({launch}), PluginLaunchTarget, makeLaunchHandler, plus SyncError finally rendering its cause. Registry latest is 0.3.3. Additive, so every other plugin pinning ^0.3.x or ^0.2.0 is unaffected; only rom-manager needs the pin change.

Verified

Ran the publish workflow's own gates locally, in order and including its file:-dependency repair step: SDK build → bun install --frozen-lockfilebun run checkbun run typecheckbun test (79 pass) → bun run build. require('./package.json').version reads 0.4.0, which is what the workflow's tag-match guard asserts against.

After merge

Tag plugin-kit-v0.4.0 to trigger plugin-kit-publish.yml. I have not tagged anything — publishing is a one-way door onto a shared registry, so that's a call for a human to make.

One line, but it's the thing standing between two merged PRs and a working plugin. ## Why now `punktfunk-plugin-rom-manager` merged its consuming change (#1 there) while still pinning `@punktfunk/plugin-kit@^0.2.0`. Its CI runs `bun install --frozen-lockfile` then typecheck on every push to `main`, and the registry's newest kit has none of the exports that change uses — so **rom-manager's main is red right now**, with three errors naming exactly `serveUi({launch})`, `PluginLaunchTarget` and `SyncError.message`. The order matters and only works one way: the kit has to be **on the registry** before rom-manager's lockfile can resolve it. So this lands first, gets tagged, and then rom-manager's pin moves off `^0.2.0`. ## Why 0.4.0 New API surface from #129, not a fix — `serveUi({launch})`, `PluginLaunchTarget`, `makeLaunchHandler`, plus `SyncError` finally rendering its cause. Registry `latest` is 0.3.3. Additive, so every other plugin pinning `^0.3.x` or `^0.2.0` is unaffected; only rom-manager needs the pin change. ## Verified Ran the publish workflow's own gates locally, in order and including its `file:`-dependency repair step: SDK build → `bun install --frozen-lockfile` → `bun run check` → `bun run typecheck` → `bun test` (79 pass) → `bun run build`. `require('./package.json').version` reads `0.4.0`, which is what the workflow's tag-match guard asserts against. ## After merge Tag `plugin-kit-v0.4.0` to trigger `plugin-kit-publish.yml`. I have not tagged anything — publishing is a one-way door onto a shared registry, so that's a call for a human to make.
enricobuehler added 1 commit 2026-08-08 22:53:03 +00:00
chore(plugin-kit): 0.4.0 — the launch surface a plugin needs to publish a tile the host cannot name
ci / docs-site (pull_request) Canceled after 30s
ci / web (pull_request) Canceled after 45s
ci / rust (pull_request) Canceled after 3m3s
ci / rust-arm64 (pull_request) Canceled after 1m52s
ci / bun-nix (pull_request) Canceled after 0s
nix / flake (pull_request) Canceled after 5s
6b7997cace
`serveUi({launch})`, `PluginLaunchTarget` and `makeLaunchHandler` (#129) are new API, so this is a
minor bump rather than a patch. It also carries `SyncError.message`, without which a host refusal
reaches a plugin's own UI as the bare tag `SyncError` and nothing else.

Unblocks rom-manager, whose main is currently RED: it merged the consuming change while still
pinning `^0.2.0`, so `bun install --frozen-lockfile` there resolves a kit without these exports and
the typecheck fails on all three. Publishing this and then bumping that pin is the fix — in that
order, because the lockfile cannot resolve 0.4.0 until it exists on the registry.

Tag `plugin-kit-v0.4.0` to publish; the workflow asserts the tag matches this version.
enricobuehler merged commit 9c854893bc into main 2026-08-08 22:53:41 +00:00
enricobuehler deleted branch worktree-plugin-kit-040 2026-08-08 22:53:43 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unom/punktfunk#130