From 4f9744db23f17cb06721e802f45066506d139830 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Thu, 6 Aug 2026 20:28:54 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20plugin-kit=200.3.1=20=E2=80=94=20the?= =?UTF-8?q?=20SQLite=20reader=20that=20made=20this=20plugin=20find=20nothi?= =?UTF-8?q?ng?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The kit's `openReadOnly` built a `file:?immutable=1` URI but opened it with `{ readonly: true }`, which does not enable SQLite's URI filename parsing. On Linux — Bun's bundled SQLite, unlike macOS's system one — that open always threw, and every layer degrades an open failure to "this launcher isn't installed". So this plugin reported 0 games on every box it has ever run on, while `detect` happily said "present" (it only stats the file). Nothing here was wrong; the parsing and the ids were right all along. Fixed in punktfunk#78, published as plugin-kit 0.3.1. The caret range already allowed it, but bun.lock pinned 0.3.0 exactly, so CI kept testing against the broken reader. Parity, run on .21 against a live host with the PUBLISHED 0.3.1 (not a patched copy) — the gate that caught this in the first place: scan: present: 1 games, 1 launcher entries (was 0 games) parity: OK — 1 entries identical (was: FAILED — 1 missing) Gates: biome clean, tsc clean, 5/5 tests, bundle builds. --- bun.lock | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bun.lock b/bun.lock index 064e7ba..c11654d 100644 --- a/bun.lock +++ b/bun.lock @@ -6,7 +6,7 @@ "name": "@punktfunk/plugin-lutris", "dependencies": { "@punktfunk/host": "^0.1.2", - "@punktfunk/plugin-kit": "^0.3.0", + "@punktfunk/plugin-kit": "^0.3.1", "effect": "4.0.0-beta.99", }, "devDependencies": { @@ -49,7 +49,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/plugin-kit": ["@punktfunk/plugin-kit@0.3.0", "https://git.unom.io/api/packages/unom/npm/%40punktfunk%2Fplugin-kit/-/0.3.0/plugin-kit-0.3.0.tgz", { "peerDependencies": { "@punktfunk/host": "^0.1.2", "effect": "^4.0.0-beta.98", "react": "^19.2.0" }, "optionalPeers": ["react"] }, "sha512-BoDSfQPzzRBDUHB1wq61oOOHNrEJwzDC2Tij2sJQ8cpSlVn+6HmRwdczbrbGaYxKOqatiu0rd2iMn955L8vurw=="], + "@punktfunk/plugin-kit": ["@punktfunk/plugin-kit@0.3.1", "https://git.unom.io/api/packages/unom/npm/%40punktfunk%2Fplugin-kit/-/0.3.1/plugin-kit-0.3.1.tgz", { "peerDependencies": { "@punktfunk/host": "^0.1.2", "effect": "^4.0.0-beta.98", "react": "^19.2.0" }, "optionalPeers": ["react"] }, "sha512-n90U6HOz72ADTR5GEclZL5zuGbrDNBJ7WXxZz6dXbA/7rf5Z+cHXX4IZ3HU4Dntkl8I6QV6B++5gECP2F5Oovg=="], "@standard-schema/spec": ["@standard-schema/spec@1.1.0", "", {}, "sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w=="], diff --git a/package.json b/package.json index c90b958..6daa9f9 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ }, "dependencies": { "@punktfunk/host": "^0.1.2", - "@punktfunk/plugin-kit": "^0.3.0", + "@punktfunk/plugin-kit": "^0.3.1", "effect": "4.0.0-beta.99" }, "devDependencies": { -- 2.54.0