fix(features): check declared needs and show the IndexedDB capability assembly (09-05)

A missing capability reached the feature factory as an anonymous TypeError.
The composer now names the feature and the capability, and the IndexedDB
provider example moves from a browser spec into an opt-in recipe with a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
DongHyeonka
2026-09-25 22:14:11 +09:00
co-authored by Claude Opus 5.5
parent 30cf71b249
commit bc7c46b2d5
7 changed files with 246 additions and 0 deletions
@@ -31,6 +31,8 @@ const runtimePaths = [
"src/adapters/storage/opfs",
"tests/browser-capabilities",
"tests/fixtures/browser-file-storage-boundaries",
// The composition example of this runtime goes with it.
"recipes/frontend-capabilities/indexeddb-feature-capability.ts",
] as const;
const runtimeSourceRoots = runtimePaths.filter((entry) =>
entry.startsWith("src/"),