From 977ca522736bba53172e010494de5ac59fdb2a4a Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Fri, 5 Jun 2026 01:22:21 +0900 Subject: refactor(host): expose getHostAPI(); host-bin drops duplicate adapter; storage-sqlite manifest honesty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit host CR-1: createHost.getHostAPI() returns the canonical post-activation HostAPI (registration closed) via a single builder — host-bin deletes its buildPostActivationHostAPI duplicate and calls host.getHostAPI(). storage-sqlite CR-2: remove false contributes.services:["storage"] (backend is a kernel bootstrap dep injected as HostDeps.storageFactory, not a bus service); document the intentional no-op activate. typecheck clean, 218 tests pass, biome clean; live boot + curl verified. --- packages/storage-sqlite/src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/storage-sqlite/src/extension.ts') diff --git a/packages/storage-sqlite/src/extension.ts b/packages/storage-sqlite/src/extension.ts index 63a71af..32297e5 100644 --- a/packages/storage-sqlite/src/extension.ts +++ b/packages/storage-sqlite/src/extension.ts @@ -7,11 +7,11 @@ export const manifest: Manifest = { apiVersion: "^0.1.0", trust: "bundled", capabilities: { db: true }, - contributes: { services: ["storage"] }, activation: "eager", }; export const extension: Extension = { manifest, + // No-op: the SQLite backend is a kernel bootstrap dep injected via HostDeps.storageFactory, not a bus service. activate: async (_host: HostAPI) => {}, }; -- cgit v1.2.3