diff options
| author | Adam Malczewski <[email protected]> | 2026-06-05 01:22:21 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-05 01:22:21 +0900 |
| commit | 977ca522736bba53172e010494de5ac59fdb2a4a (patch) | |
| tree | b4e4a34fe7319e050e231e3bd7a840dc32562838 /packages/storage-sqlite | |
| parent | 64e9688cc27ceea6eba442d156868d82d7aafb75 (diff) | |
| download | dispatch-977ca522736bba53172e010494de5ac59fdb2a4a.tar.gz dispatch-977ca522736bba53172e010494de5ac59fdb2a4a.zip | |
refactor(host): expose getHostAPI(); host-bin drops duplicate adapter; storage-sqlite manifest honesty
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.
Diffstat (limited to 'packages/storage-sqlite')
| -rw-r--r-- | packages/storage-sqlite/src/extension.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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) => {}, }; |
