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
+7 -8
View File
@@ -6,7 +6,6 @@
"RuneStone_Terminal",
"RuneStone_Background_Slideshow",
"RuneStone_Local_Autocomplete",
"RuneStone_Git",
"RuneStone_PDF_Viewer",
"RuneStone_CSV_Viewer"
],
@@ -94,6 +93,13 @@
"design": "Shared action menu",
"check": "tests/smoke/menus/consistency.smoke.mjs"
},
"RuneStone/src/lib/features/git/GitGraph.svelte": {
"counts": {
"picker": 1
},
"design": "Commit history listbox of the native Git feature, not a popup menu",
"check": "tests/smoke/features/git.smoke.mjs"
},
"RuneStone/src/lib/layout/CommandPalette.svelte": {
"counts": {
"picker": 1,
@@ -298,13 +304,6 @@
"design": "Host radio menu; native server select only on older hosts",
"check": "tests/smoke/plugins/choiceMenus.smoke.mjs"
},
"RuneStone_Git/src/view.js": {
"counts": {
"picker": 1
},
"design": "Commit history listbox, not a popup menu",
"check": "Source inspection: persistent history list retains its own layout"
},
"RuneStone_CSV_Viewer/src/index.js": {
"counts": {
"action": 1,