feat: move snippets, keybinding actions and macros out of core into plugins

This commit is contained in:
LukeGus committed 2026-09-29 11:39:14 -05:00
1 parent d9bba10612
commit e0c30a4e6f
262 files changed
+9091 -10744

No files matched your search

+3
View File
@@ -37,6 +37,7 @@ import {
parseCustomKeybindings,
patchOpenTab,
} from "@/api/open-tabs-api";
import { runKeybindingAction } from "@/shell/keybinding-registry";
import { usePluginScope } from "./scope";
import { knownPluginIds, usePluginStore } from "./plugin-store";
import { useUiPreferencesContext } from "@/contexts/UiPreferencesContext";
@@ -361,6 +362,8 @@ export const pluginHostBridge: PluginHostBridge = {
patchOpenTab: (instanceId, updates) => patchOpenTab(instanceId, updates),
getCustomKeybindings: async () =>
parseCustomKeybindings((await getUserPreferences()).customKeybindings),
runKeybindingAction: (action, context) =>
runKeybindingAction(action, context),
getClientPreference: (name) => getCookie(name),
setClientPreference: (name, value) => {
void setCookie(name, value, 365);