fix(coding-agent): let alt+k toggle a live spill, since shift+alt+k needs a kitty terminal
95 unmodified lines96979899100101100101102103104105109 unmodified linesExpand all95 unmodified lines| `app.input.clear` | `escape` | Clear input || `app.exit` | `ctrl+d` | Exit (when editor empty) || `app.suspend` | `ctrl+z` (none on Windows) | Suspend to background || `app.editor.external` | `ctrl+g` | Open in external editor (`$VISUAL` or `$EDITOR`) || `app.editor.spill` | `alt+k` | Convert most recent paste to spill || `app.editor.spillSecret` | `shift+alt+k` | Convert most recent paste to secret spill || `app.editor.spill` | `alt+k` | Spill the most recent paste, or toggle a live spill between blob and secret || `app.editor.spillSecret` | `shift+alt+k` | Convert most recent paste to secret spill (needs a terminal that reports shifted keys, e.g. Kitty keyboard protocol) || `app.clipboard.pasteImage` | `ctrl+v` (`alt+v` on Windows) | Paste image from clipboard || `app.clipboard.copyLoginUrl` | `c`, `alt+c` | Copy the sign-in URL from a login dialog |
### Sessions109 unmodified linesExpand all10 unmodified lines11121314151617181913 unmodified lines3334353637383940414243444593 unmodified lines10 unmodified lines reapSessionSpills, remapSpillMarkers, resolveSpillsInText, type SpillEntry, toggledSpillMode, writeSpillFile,} from "../src/modes/interactive/spill-markers.js";import { createHarness, getUserTexts } from "./suite/harness.js";
13 unmodified lines expect(collectMarkedSpills(pending, "no marker")).toEqual([]); expect(collectMarkedSpills(pending, "back [spill #1]")).toEqual(["payload"]); });
test("toggledSpillMode cycles a live spill so alt+k can reach secret mode", () => { expect(toggledSpillMode("blob")).toBe("secret"); expect(toggledSpillMode("secret")).toBe("blob"); });
test("remapSpillMarkers updates matching marker ids", () => { expect(remapSpillMarkers("[spill #1] [spill #2]", new Map([[1, 10]]))).toBe("[spill #10] [spill #2]"); });
93 unmodified lines116 unmodified linesExpand all117118119120121121122123124125288 unmodified linesExpand all116 unmodified linesExpand all description: "Open external editor", }, "app.editor.spill": { defaultKeys: "alt+k", description: "Convert most recent paste to spill", description: "Spill the most recent paste, or toggle a live spill between blob and secret", }, "app.editor.spillSecret": { defaultKeys: "shift+alt+k", description: "Convert most recent paste to secret spill",288 unmodified linesExpand all