From 26474950dfa488bc724a1122cb66e6c3a363ecc7 Mon Sep 17 00:00:00 2001 From: Ben Stull Date: Thu, 11 Jun 2026 07:16:20 -0700 Subject: [PATCH] feat(f6): contribute toggleDiffView + pinDiffBaseline commands + ctrl+alt+d (SLICE-3) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit F6 §5/§6.4. Palette-visible commands; ctrl+alt+d (when editorTextFocus), unbound in stock VS Code, user-remappable. Co-Authored-By: Claude Opus 4.8 --- package.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d2b459e..5667e34 100644 --- a/package.json +++ b/package.json @@ -73,6 +73,16 @@ "command": "cowriting.proposeAgentEdit", "title": "Propose Agent Edit (internal seam)", "category": "Cowriting" + }, + { + "command": "cowriting.toggleDiffView", + "title": "Cowriting: Toggle Diff View", + "category": "Cowriting" + }, + { + "command": "cowriting.pinDiffBaseline", + "title": "Cowriting: Pin Diff Baseline to Now", + "category": "Cowriting" } ], "menus": { @@ -135,7 +145,14 @@ "when": "commentController == cowriting.proposals" } ] - } + }, + "keybindings": [ + { + "command": "cowriting.toggleDiffView", + "key": "ctrl+alt+d", + "when": "editorTextFocus" + } + ] }, "scripts": { "build": "node esbuild.mjs",