- 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.
116 lines
3.3 KiB
JSON
116 lines
3.3 KiB
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": [
|
|
"main",
|
|
"workspace-*",
|
|
"terminal-*"
|
|
],
|
|
"permissions": [
|
|
"allow-spelling-menu-install",
|
|
"allow-spelling-suggestions",
|
|
"allow-theme-export",
|
|
"allow-spelling-menu-select",
|
|
"allow-spelling-menu-uninstall",
|
|
"allow-settings-open-window",
|
|
"allow-window-snap-layouts",
|
|
"allow-settings-read",
|
|
"allow-settings-write",
|
|
"allow-settings-migrate",
|
|
"allow-features-legacy",
|
|
"allow-tab-transfer-offer",
|
|
"allow-tab-transfer-take",
|
|
"allow-tab-transfer-finish",
|
|
"allow-tab-transfer-cancel",
|
|
"allow-completion-request",
|
|
"allow-completion-cancel",
|
|
"allow-browser-request",
|
|
"allow-browser-connect",
|
|
"allow-browser-stop",
|
|
"allow-browser-engine-status",
|
|
"allow-browser-engine-install",
|
|
"allow-browser-engine-install-file",
|
|
"allow-browser-engine-cancel",
|
|
"allow-browser-engine-remove",
|
|
"allow-git-status",
|
|
"allow-git-diff",
|
|
"allow-git-stage",
|
|
"allow-git-unstage",
|
|
"allow-git-commit",
|
|
"allow-git-blame",
|
|
"allow-git-push",
|
|
"allow-git-pull",
|
|
"allow-git-graph",
|
|
"allow-git-commit-diff",
|
|
"allow-git-commit-details",
|
|
"core:default",
|
|
"core:window:allow-destroy",
|
|
"core:window:allow-close",
|
|
"core:window:allow-minimize",
|
|
"core:window:allow-toggle-maximize",
|
|
"core:window:allow-start-dragging",
|
|
"opener:default",
|
|
"dialog:default",
|
|
"allow-workspace-open",
|
|
"allow-workspace-open-window",
|
|
"allow-workspace-last-path",
|
|
"allow-workspace-recent",
|
|
"allow-workspace-forget",
|
|
"allow-workspace-new",
|
|
"allow-workspace-list",
|
|
"allow-workspace-list-markdown",
|
|
"allow-workspace-read",
|
|
"allow-workspace-read-many",
|
|
"allow-workspace-read-bytes",
|
|
"allow-workspace-write",
|
|
"allow-workspace-create",
|
|
"allow-workspace-rename",
|
|
"allow-workspace-delete",
|
|
"allow-workspace-read-data-url",
|
|
"allow-workspace-write-bytes",
|
|
"allow-workspace-copy",
|
|
"allow-workspace-abs-path",
|
|
"allow-workspace-reveal",
|
|
"allow-workspace-open-terminal",
|
|
"allow-workspace-open-default",
|
|
"allow-workspace-search",
|
|
"allow-plugins-snapshot",
|
|
"allow-plugins-choose",
|
|
"allow-plugins-from-git",
|
|
"allow-plugins-cancel",
|
|
"allow-plugins-install",
|
|
"allow-plugins-set-enabled",
|
|
"allow-plugins-load",
|
|
"allow-plugins-release",
|
|
"allow-plugins-prepare-remove",
|
|
"allow-plugins-remove",
|
|
"allow-plugins-retry-remove",
|
|
"allow-plugins-reveal",
|
|
"allow-plugins-data",
|
|
"allow-plugins-asset",
|
|
"allow-pty-open",
|
|
"allow-pty-write",
|
|
"allow-pty-resize",
|
|
"allow-pty-close",
|
|
"allow-pty-profiles",
|
|
"allow-pty-new-window",
|
|
"allow-pty-dictation",
|
|
"opener:allow-reveal-item-in-dir",
|
|
"allow-backgrounds-choose-folder",
|
|
"allow-backgrounds-default-folder",
|
|
"allow-backgrounds-list",
|
|
"allow-backgrounds-read",
|
|
"allow-backgrounds-read-image-settings",
|
|
"allow-backgrounds-write-image-settings",
|
|
"allow-folders-choose",
|
|
"allow-folders-picture",
|
|
"allow-folders-grants",
|
|
"allow-folders-revoke",
|
|
"allow-folders-list",
|
|
"allow-folders-read",
|
|
"allow-folders-read-sidecar",
|
|
"allow-folders-write-sidecar"
|
|
]
|
|
}
|