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 -4
View File
@@ -428,17 +428,16 @@ describe("connectionOriginAppliesTo", () => {
});
describe("terminal fields", () => {
it("sends only the startup snippet in terminalConfig, and the SSH options on their own", () => {
it("sends no terminalConfig, and the SSH options on their own", () => {
const form = {
...createHostEditorForm(null),
startupSnippetId: 4,
keepaliveInterval: 30,
agentForwarding: true,
environmentVariables: [{ key: "LANG", value: "C" }],
};
const payload = buildHostEditorPayload(form, sshOnly);
expect(payload.terminalConfig).toEqual({ startupSnippetId: 4 });
expect(payload).not.toHaveProperty("terminalConfig");
expect(payload.sshOptions).toMatchObject({
keepaliveInterval: 30,
keepaliveCountMax: 5,
@@ -457,7 +456,7 @@ describe("terminal fields", () => {
expect(form.keepaliveInterval).toBe(15);
expect(form.allowLegacyAlgorithms).toBe(false);
expect(form.startupSnippetId).toBe(2);
expect(form).not.toHaveProperty("startupSnippetId");
});
it("leaves the terminal fields out with SSH off", () => {