From e4ec4cec3153b30d4eb9584df7230daa60e7041a Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Thu, 20 Aug 2026 00:50:46 +0200 Subject: [PATCH] =?UTF-8?q?chore(sdk):=20cut=200.1.5=20=E2=80=94=20the=20m?= =?UTF-8?q?gmt-endpoint=20fix=20cannot=20reach=20a=20plugin=20until=20it?= =?UTF-8?q?=20ships?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v0.31.0's changelog recorded this cut as owed and said why: plugins resolve `@punktfunk/host` from the registry, so a fix sitting in `sdk/` reaches nobody until a version carries it. Four commits have touched the SDK since sdk-v0.1.4, the headline one being the mgmt-port fix — a moved `PUNKTFUNK_MGMT_BIND` left every plugin and the tray dialing 47990. `SDK_VERSION` moves with it. It is a hand-maintained constant (the bundled runner has no package.json to read at runtime), and the runner compares it against the SDK actually installed in the plugins tree to decide whether to reinstall — so shipping 0.1.5 with the constant still reading 0.1.4 would have published the fix and then never delivered it. `version.test.ts` exists for exactly this and caught it. Gates: 83/83 SDK tests pass. --- CHANGELOG.md | 2 +- sdk/package.json | 2 +- sdk/src/version.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dd954640..ed8c5b8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,7 +45,7 @@ three ABIs, which removes the Compose screenshot scenes. | Host event schema | 1 | **1** | unchanged (`punktfunk-host/src/events.rs`) | | `api/openapi.json` | 0.29.0 | **0.29.0** | unchanged — no management-API surface moved this cycle; both copies (`api/` and `docs-site/public/`) are byte-identical to each other and to the tag | | gamescope patch level (`+pfhdrN`) | 8 | **8** | unchanged; no new patch files. ⚠ `packaging/gamescope/PKGBUILD` still says `pfhdr7` — pre-existing at v0.30.0, not a regression this cycle, but the Arch package builds a binary the host's `>= 8` probe rejects for the keymap path | -| `@punktfunk/host` (SDK) | 0.1.4 | **0.1.4** | unchanged in `package.json` — but `sdk/src/config.ts` and `runner-cli.ts` changed (the `mgmt-endpoint` fix below), so a `sdk-v0.1.5` cut is **owed**; plugins resolve the SDK from the registry and cannot pick the fix up until it ships | +| `@punktfunk/host` (SDK) | 0.1.4 | **0.1.5** | cut — `sdk/src/config.ts` and `runner-cli.ts` carry the `mgmt-endpoint` fix below, and plugins resolve the SDK from the registry, so it could not reach them until it shipped | | `@punktfunk/plugin-kit` | 0.4.2 | **0.4.3** | cut, for the two `sync-engine.ts` changes that cannot reach a plugin any other way: `minInterval` (below) and the always-apply sync reasons (`startup`/`manual` publish even when the fingerprint matches, so a host-side art drop is recoverable by restarting rather than by deleting the plugin's cache). Note the registry skips 0.4.2: `plugin-kit-v0.4.2` was tagged but its publish never landed, and the tag is left where it is rather than moved | ⚠ The SDK and plugin-kit version independently of the app (`sdk-v*` / `plugin-kit-v*` tags, diff --git a/sdk/package.json b/sdk/package.json index 4b4ab3af..b5769926 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@punktfunk/host", - "version": "0.1.4", + "version": "0.1.5", "description": "TypeScript SDK for the punktfunk streaming host: typed management-API client + lifecycle event stream, built on Effect.", "type": "module", "license": "MIT OR Apache-2.0", diff --git a/sdk/src/version.ts b/sdk/src/version.ts index 56225d68..5f909917 100644 --- a/sdk/src/version.ts +++ b/sdk/src/version.ts @@ -8,4 +8,4 @@ * * `version.test.ts` fails if this and `package.json` disagree, so the duplication cannot rot. */ -export const SDK_VERSION = "0.1.4"; +export const SDK_VERSION = "0.1.5"; -- 2.54.0