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:
@@ -1,7 +1,6 @@
|
||||
import type { BackgroundApi } from "./backgrounds.ts";
|
||||
import type { CompletionApi } from "./completion.ts";
|
||||
import type { Contributions } from "./contributions.ts";
|
||||
import type { GitApi } from "./git.ts";
|
||||
import type { ActionIcon } from "./icons.ts";
|
||||
import type { ActionMenuItem, ActionMenuOptions } from "./menu.ts";
|
||||
|
||||
@@ -95,7 +94,6 @@ export interface PluginApi {
|
||||
services?: ServicesApi;
|
||||
backgrounds?: BackgroundApi;
|
||||
ui?: UiApi;
|
||||
git?: GitApi;
|
||||
completion?: CompletionApi;
|
||||
readonly id: string;
|
||||
readonly signal: AbortSignal;
|
||||
|
||||
Reference in New Issue
Block a user