Make Git a native feature with an off switch

- Add the native feature runtime in src/lib/features/: the catalog, the switches, the first-start migration, the loader, and the feature sessions.
- Add Settings → Features and the features settings section.
- Add features_legacy. It reads the old plugin packages and changes nothing.
- Move Git from the plugin into src/lib/features/git/, on host internals.
- Remove api.git, the git contribution key, and the SDK Git types.
- Add pnpm check:features. It fails when a feature module loads at start.
- Update the tests, the menu inventory, the docs, and UI-055.
This commit is contained in:
Knotty Wyvern
2026-10-29 15:51:21 -07:00
parent 58f77b2e9f
commit d3218b2501
68 changed files with 2068 additions and 324 deletions
+6
View File
@@ -144,6 +144,12 @@
<path d="M5 12h14" />
{:else if icon === "download"}
<path d="M12 4v11" /><path d="M7 10l5 5 5-5" /><path d="M5 20h14" />
{:else if icon === "upload"}
<path d="M12 20V9" /><path d="M7 14l5-5 5 5" /><path d="M5 4h14" />
{:else if icon === "minus"}
<path d="M5 12h14" />
{:else if icon === "toggle"}
<rect x="3" y="7" width="18" height="10" rx="5" /><circle cx="16" cy="12" r="2.5" />
{/if}
</svg>
<style>