fix: SSE keepalive via plugin-kit 0.1.4 (v0.3.1)
CI / publish (push) Failing after 28s
CI / build (push) Successful in 37s

Live-verified against a running host: status frames (including a syncing
transition) now stream through the plugin UI server. The previous keepalive
outlived Bun's default idle timeout, so an idle feed was closed before its
first ping.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-20 20:01:29 +02:00
parent 838cdc4339
commit d830b7133d
4 changed files with 11 additions and 11 deletions
+6 -6
View File
@@ -12,25 +12,25 @@
"name": "@rom-manager/contract", "name": "@rom-manager/contract",
"version": "0.0.0", "version": "0.0.0",
"devDependencies": { "devDependencies": {
"@punktfunk/plugin-kit": "^0.1.3", "@punktfunk/plugin-kit": "^0.1.4",
"@types/bun": "^1.3.0", "@types/bun": "^1.3.0",
"effect": "4.0.0-beta.99", "effect": "4.0.0-beta.99",
"typescript": "^5.9.3", "typescript": "^5.9.3",
}, },
"peerDependencies": { "peerDependencies": {
"@punktfunk/plugin-kit": "^0.1.3", "@punktfunk/plugin-kit": "^0.1.4",
"effect": "^4.0.0-beta.99", "effect": "^4.0.0-beta.99",
}, },
}, },
"plugin": { "plugin": {
"name": "@punktfunk/plugin-rom-manager", "name": "@punktfunk/plugin-rom-manager",
"version": "0.3.0", "version": "0.3.1",
"bin": { "bin": {
"punktfunk-plugin-rom-manager": "./dist/cli.js", "punktfunk-plugin-rom-manager": "./dist/cli.js",
}, },
"dependencies": { "dependencies": {
"@punktfunk/host": "^0.1.2", "@punktfunk/host": "^0.1.2",
"@punktfunk/plugin-kit": "^0.1.3", "@punktfunk/plugin-kit": "^0.1.4",
"effect": "^4.0.0-beta.99", "effect": "^4.0.0-beta.99",
}, },
"devDependencies": { "devDependencies": {
@@ -44,7 +44,7 @@
"dependencies": { "dependencies": {
"@effect/atom-react": "4.0.0-beta.99", "@effect/atom-react": "4.0.0-beta.99",
"@fontsource-variable/geist": "^5.2.9", "@fontsource-variable/geist": "^5.2.9",
"@punktfunk/plugin-kit": "^0.1.3", "@punktfunk/plugin-kit": "^0.1.4",
"@unom/app-ui": "^0.2.0", "@unom/app-ui": "^0.2.0",
"@unom/style": "^0.4.4", "@unom/style": "^0.4.4",
"@unom/ui": "^0.9.1", "@unom/ui": "^0.9.1",
@@ -492,7 +492,7 @@
"@punktfunk/host": ["@punktfunk/host@0.1.2", "https://git.unom.io/api/packages/unom/npm/%40punktfunk%2Fhost/-/0.1.2/host-0.1.2.tgz", { "optionalDependencies": { "undici": "^7.0.0" }, "peerDependencies": { "effect": "^4.0.0-beta.98" }, "bin": { "punktfunk-scripting": "dist/runner-cli.js" } }, "sha512-mZXIocLWAeXXl3nU5YmVJp1rp74ZXhphTI67nWnqkqXZTxUsNHE9GG5BQvclI0TCjnVn+bx95zi/3w0kTIMKzw=="], "@punktfunk/host": ["@punktfunk/host@0.1.2", "https://git.unom.io/api/packages/unom/npm/%40punktfunk%2Fhost/-/0.1.2/host-0.1.2.tgz", { "optionalDependencies": { "undici": "^7.0.0" }, "peerDependencies": { "effect": "^4.0.0-beta.98" }, "bin": { "punktfunk-scripting": "dist/runner-cli.js" } }, "sha512-mZXIocLWAeXXl3nU5YmVJp1rp74ZXhphTI67nWnqkqXZTxUsNHE9GG5BQvclI0TCjnVn+bx95zi/3w0kTIMKzw=="],
"@punktfunk/plugin-kit": ["@punktfunk/plugin-kit@0.1.3", "https://git.unom.io/api/packages/unom/npm/%40punktfunk%2Fplugin-kit/-/0.1.3/plugin-kit-0.1.3.tgz", { "peerDependencies": { "@punktfunk/host": "^0.1.2", "effect": "^4.0.0-beta.98", "react": "^19.2.0" }, "optionalPeers": ["react"] }, "sha512-01Y+xeWlAD/9uauAA+P95GqAhCd+3ypnPfrikIe2eggE0qad2daR4geC9H2qRGJX9oaiZ9wLrhDMMiVG2rCJdA=="], "@punktfunk/plugin-kit": ["@punktfunk/plugin-kit@0.1.4", "https://git.unom.io/api/packages/unom/npm/%40punktfunk%2Fplugin-kit/-/0.1.4/plugin-kit-0.1.4.tgz", { "peerDependencies": { "@punktfunk/host": "^0.1.2", "effect": "^4.0.0-beta.98", "react": "^19.2.0" }, "optionalPeers": ["react"] }, "sha512-548LWKSBglhKREnb/qr5l+0ed1sDPqmM337Sq2Fy9qBnGDoEwV8Zo6NJWfWlJGPCi44lCMSxPtxWHKW+KEIAyg=="],
"@punktfunk/plugin-rom-manager": ["@punktfunk/plugin-rom-manager@workspace:plugin"], "@punktfunk/plugin-rom-manager": ["@punktfunk/plugin-rom-manager@workspace:plugin"],
+2 -2
View File
@@ -14,11 +14,11 @@
}, },
"peerDependencies": { "peerDependencies": {
"effect": "^4.0.0-beta.99", "effect": "^4.0.0-beta.99",
"@punktfunk/plugin-kit": "^0.1.3" "@punktfunk/plugin-kit": "^0.1.4"
}, },
"devDependencies": { "devDependencies": {
"effect": "4.0.0-beta.99", "effect": "4.0.0-beta.99",
"@punktfunk/plugin-kit": "^0.1.3", "@punktfunk/plugin-kit": "^0.1.4",
"typescript": "^5.9.3", "typescript": "^5.9.3",
"@types/bun": "^1.3.0" "@types/bun": "^1.3.0"
} }
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"name": "@punktfunk/plugin-rom-manager", "name": "@punktfunk/plugin-rom-manager",
"version": "0.3.0", "version": "0.3.1",
"private": false, "private": false,
"type": "module", "type": "module",
"description": "Punktfunk plugin: scans ROM directories, maps them to emulators, and reconciles them into the host game library as a provider — with a console-hosted web UI. The reference plugin built on @punktfunk/plugin-kit.", "description": "Punktfunk plugin: scans ROM directories, maps them to emulators, and reconciles them into the host game library as a provider — with a console-hosted web UI. The reference plugin built on @punktfunk/plugin-kit.",
@@ -42,7 +42,7 @@
}, },
"dependencies": { "dependencies": {
"@punktfunk/host": "^0.1.2", "@punktfunk/host": "^0.1.2",
"@punktfunk/plugin-kit": "^0.1.3", "@punktfunk/plugin-kit": "^0.1.4",
"effect": "^4.0.0-beta.99" "effect": "^4.0.0-beta.99"
}, },
"devDependencies": { "devDependencies": {
+1 -1
View File
@@ -15,7 +15,7 @@
"dependencies": { "dependencies": {
"@effect/atom-react": "4.0.0-beta.99", "@effect/atom-react": "4.0.0-beta.99",
"@fontsource-variable/geist": "^5.2.9", "@fontsource-variable/geist": "^5.2.9",
"@punktfunk/plugin-kit": "^0.1.3", "@punktfunk/plugin-kit": "^0.1.4",
"@unom/app-ui": "^0.2.0", "@unom/app-ui": "^0.2.0",
"@unom/style": "^0.4.4", "@unom/style": "^0.4.4",
"@unom/ui": "^0.9.1", "@unom/ui": "^0.9.1",