- Fix the opt-in attach-file
+button on Kilo Code 7.8.9, where it no longer appeared and Show Status read it as unavailable - When the prompt is too narrow for every toolbar button, the
+button stays in view while Kilo Code moves its own buttons into More actions
- On Kilo Code 7.8.7 and later, Show Status reads the math clip patch as not needed on this Kilo Code build, where before it read as needing an update and the install as partially patched. Kilo Code's own math rendering now keeps math from adding empty chat scroll space, so there is nothing left to patch
- Apply Patches no longer warns on those releases that a feature has no matching pattern
- Fix message recall on Kilo Code 7.8.2 and 7.8.3, where
Cmd/Ctrl+UpandCmd/Ctrl+Downhad stopped recalling and a bareUporDownrecalled a message as in native Kilo Code - Support Kilo Code 7.8.2 and 7.8.3, re-targeting every keyboard patch (chat input, chat Escape, mention menu Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button, the opt-in chat math rendering, and the opt-in markdown-source button to 7.8.2 and later - Keep all earlier versions' patterns, so this release still applies on older Kilo Code releases
- Support Kilo Code 7.7.6 through 7.8.1, re-targeting every keyboard patch (chat input, chat Escape, mention menu Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button, the opt-in chat math rendering, and the opt-in markdown-source button to 7.7.6 and later - The opt-in attach-file
+button and markdown-source button now survive a Kilo Code update that only re-minifies the code they patch, where before they read unavailable until the next KB Patch release. The keyboard patches and math rendering already work this way - The same change makes the markdown-source button available on Kilo Code releases older than 7.6.2, which never had a pattern of their own
- Fix Restore Originals leaving KB Patch data at the end of Kilo Code's webview bundle on a Kilo Code release newer than the installed KB Patch while math rendering was on
- Apply Patches now also applies the opt-in extras that are switched on, where before it left them to the next launch
- Show Status now reads an extra that is switched on and not yet applied as not applied — run Apply, where before it asked for a restart that would not apply it
- Fix the opt-in extras staying unapplied when KB Patch was installed again over the same version
- Keep all earlier versions' patterns, so this release still applies on older Kilo Code releases
- Support Kilo Code 7.7.4 and 7.7.5, re-targeting every keyboard patch (chat input, chat Escape, mention menu Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button and the opt-in markdown-source button to 7.7.4 and later, where they were unavailable - Keep all earlier versions' patterns, so this release still applies on older Kilo Code releases
- The opt-in chat math rendering now survives a Kilo Code update that only re-minifies the code it patches, where before it read unavailable until the next KB Patch release. The keyboard patches have worked this way since 2.0.0
- The same change makes it available on Kilo Code releases older than 7.5.6, which never had a pattern of their own
- The opt-in attach-file
+button and markdown-source button still wait for a KB Patch release after such an update
- Support Kilo Code 7.7.3, re-targeting every keyboard patch (chat input, chat Escape, mention menu Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button, the opt-in chat math rendering, and the opt-in markdown-source button to 7.7.3 and later, where they were unavailable - Kilo Code 7.7.3 removes KiloClaw, so Show Status now reports its two keyboard rows as not needed on that release instead of as a file it could not find; both still apply on 7.7.2 and earlier
- Keep the startup shortcut working on Kilo Code 7.7.3, which otherwise re-ran the full check on every window launch
- Keep all earlier versions' patterns, so this release still applies on older Kilo Code releases
- Support Kilo Code 7.7.2, re-targeting every keyboard patch (chat input, chat Escape, mention menu Escape, message recall, and permission prompt keys) to their re-minified scopes
- Re-target the opt-in attach-file
+button, the opt-in chat math rendering, and the opt-in markdown-source button to 7.7.2 and later, where they were unavailable - Keep all earlier versions' patterns, so this release still applies on older Kilo Code releases
- Support Kilo Code 7.7.0 and 7.7.1, re-targeting every keyboard patch (chat input, chat Escape, mention menu Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button, the opt-in chat math rendering, and the opt-in markdown-source button to 7.7.0 and later - On Kilo Code 7.7.0 and later,
Escapeat a permission prompt opens Kilo Code's own box for a denial reason rather than denying at once, and a secondEscapecloses that box. The patch still keepsEscapeaway from the prompt while the chat box has text, andShift+Escapestill always reaches it - On Kilo Code 7.7.0 and later, Kilo Code itself keeps the
@mention menu closed while you type on afterEscape, so the patch now covers only what it still misses: dismissing an empty@no longer leaves the menu shut at that spot when you delete the@and retype it - Fix the opt-in attach-file
+button on Kilo Code 7.6.0: it was drawn as a wide text button, so it sat too far from the other prompt toolbar icons, and it now matches their size and spacing, as it already did on 7.6.1 and later - New opt-in
kiloCodeKbPatch.chatRawMarkdownButton: adds a button beside Copy under the agent's reply that shows the reply's markdown source in place, with a second click for the rendered view - Keep all earlier versions' patterns, so this release still applies on older Kilo Code releases
- Size the headings in the agent's replies per level, as a multiple of the response text, where Kilo Code renders every level at body size
- Fix headings in the agent's replies holding one fixed size instead of following
kiloCodeKbPatch.chatHistoryFontSizeEmand Kilo Code's Display font-size setting - Fix code blocks in the agent's replies holding 13px instead of following Kilo Code's Display font-size setting
- Fix a large blank gap below the newest reply when math inside a reasoning block added scroll space that held nothing
- Part of the core patches: Apply Patches adds it, Restore Originals removes it, and there is no setting
- Fix the opt-in attach-file
+button on Kilo Code 7.6.1 and later: it was drawn as a wide text button, so it sat too far from the other prompt toolbar icons, and it now matches their size and spacing - A
+button already added to a patched build is resized in place on upgrade
- Support Restart Extensions instead of a window reload after Apply Patches, Restore Originals
- Work out the patch sites from Kilo Code build and applies them instead of storing seen patterns
- Restore Originals reverses those patches as expected
- Faster startup and Apply Patches
- The editor-title rename is the one setting that still asks for a window reload, and that reload no longer asks for a second one
- Show Status redraws the status page that is already open instead of adding another tab, and that page keeps up with Apply Patches, Restore Originals, and settings changes
- The status page survives Restart Extensions: it used to stay on screen reporting the state from before the restart
- A bonus switched on or off reads restart extensions to apply on the status page until that restart happens, rather than reading as done while the old state is still on screen
- Support Kilo Code 7.6.1, re-targeting every keyboard patch (chat input, chat Escape, mention menu Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button and the opt-in chat math rendering to 7.6.1 and later - Keep all earlier versions' patterns, so 1.25.x still applies on older Kilo Code releases
- Faster startup: the patch check now stops at the pattern that matches each behavior instead of testing every stored pattern
- Startup no longer gets slower as more Kilo Code versions are supported
- Support Kilo Code 7.6.0, re-targeting every keyboard patch (chat input, chat Escape, mention menu Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button and the opt-in chat math rendering to 7.6.0 and later - Keep all earlier versions' patterns, so 1.24.x still applies on older Kilo Code releases
- While the mouse cursor is hidden for typing, menus and tooltips no longer react to its last position: the
@mention and slash menus keep the top pick highlighted when they open under it, and a button a growing chat box pushes there no longer opens its tooltip (it keeps its hover color) - The cursor counts as visible again as soon as the mouse moves
- Part of the core patches: Apply Patches adds it, Restore Originals removes it, and there is no setting; applies on every Kilo Code release checked, 7.4.17 through 7.5.16, and needs no re-targeting when Kilo Code re-minifies
Escapein the@mention menu now keeps the menu closed while you type on; since Kilo Code 7.5.11 the menu came back on the next keystroke, andEntercould then replace your text with the highlighted file- The menu comes back when you edit back into a shorter query or retype the
@ - Applies on Kilo Code 7.5.11 through 7.5.16; earlier releases end a query at the first space, and the status view reports the patch as not needed there
- The chat history stays at the bottom after a backspace that empties the last line of a multi-line draft; since 1.22.1 that keystroke left it one line short until the line count next changed
- Part of the core chat-scroll patch: Apply Patches adds it, Restore Originals removes it, and there is no setting
- Applies on every Kilo Code release checked, 7.4.17 through 7.5.16, and needs no re-targeting when Kilo Code re-minifies
- Support Kilo Code 7.5.16, re-targeting every keyboard patch (chat input, chat Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button and the opt-in chat math rendering to 7.5.16 and later - Keep all earlier versions' patterns, so 1.23.x still applies on older Kilo Code releases
- The chat history stays scrolled to the bottom while you type or delete in the chat box; Kilo Code let it jump up a couple of lines on some keystrokes and snap back on others
- This is a core patch like the keyboard ones: Apply Patches adds it, Restore Originals removes it, and there is no setting
- Applies on every Kilo Code release checked, 7.4.17 through 7.5.15, and needs no re-targeting when Kilo Code re-minifies
- New bonus: render
$...$inline math and\[...\]display math in chat, which Kilo Code leaves as literal text, and set how large rendered math is inemrelative to the text around it (kiloCodeKbPatch.chatMathRendering,kiloCodeKbPatch.chatMathFontSizeEm) - New bonus: scale the agent's response text in chat history as a multiplier on Kilo Code's own font size, and choose its font (
kiloCodeKbPatch.chatHistoryFontSizeEm,kiloCodeKbPatch.chatHistoryFontFamily) - Code blocks, inline
code, and file paths keep Kilo Code's own size and font, as do reasoning blocks, tool output, and your own messages - Both new extras are off by default, apply on Kilo Code 7.5.6 and later, and are switched off by Restore Originals
- Support Kilo Code 7.5.11 and later, re-targeting every keyboard patch (chat input, chat Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button to 7.5.11 and later - Keep all earlier versions' patterns, so 1.21.x still applies on older Kilo Code releases
- Support Kilo Code 7.5.8 and 7.5.9, re-targeting every keyboard patch (chat input, chat Escape, message recall, permission prompt keys, and document-level Escape) to their re-minified scopes
- Re-target the opt-in attach-file
+button to 7.5.8 and later - Keep all earlier versions' patterns, so 1.20.x still applies on older Kilo Code releases
UpandDownnow only move the caret in the chat box, so holding either one no longer jumps to a message you sent earlier- Recall earlier messages with
Cmd/Ctrl+UpandCmd/Ctrl+Down, from anywhere in the chat box; stepping forward past the newest one brings your unsent draft back - This patch applies on Kilo Code 7.4.17 and later
- Support Kilo Code 7.5.6, re-targeting the chat input, chat Escape, and permission prompt key patches to its re-minified scopes
- Re-target the opt-in attach-file
+button to 7.5.6 - Keep all earlier versions' patterns, so 1.19.x still applies on older Kilo Code releases
- Support Kilo Code 7.5.4, re-targeting every keyboard patch (chat input, chat Escape, permission prompt keys, document-level Escape, and both KiloClaw editors) to its re-minified scopes
- Re-target the opt-in attach-file
+button to 7.5.4 - Fix the attach-file button's tooltip on Kilo Code 7.4.17 and later: it showed the raw text
prompt.action.attachFilebecause Kilo no longer defines that label; it now reads "Attach file", and an existing button is recaptioned in place on upgrade - Keep all earlier versions' patterns, so 1.18.x still applies on older Kilo Code releases
- Show the apply-patches prompt alone after a Kilo Code update: the bonus "Reload Window" notification waits until that prompt is answered, so an early reload no longer skips the keyboard patches
- Merge the editor title and attach-file reload notifications into one when both change
- Re-running Apply Patches on a patched install now reports "already fully patched" instead of the "No patches applied (74 skipped)" warning
- When nothing applies because patterns do not match, the message counts this build's missing features instead of every supported version's patterns
- Support Kilo Code 7.5.0, re-targeting the chat input, chat Escape, permission prompt key, and document-level Escape patches to its re-minified scopes
- Re-target the opt-in attach-file
+button to 7.5.0 so it appears in the prompt toolbar when enabled - Keep all earlier versions' patterns, so 1.17.x still applies on older Kilo Code releases
- Support Kilo Code 7.4.23, re-targeting the chat input, chat Escape, permission prompt key, and document-level Escape patches to its re-minified scopes
- Re-target the opt-in attach-file
+button to 7.4.23 so it appears in the prompt toolbar when enabled - Keep all earlier versions' patterns, so 1.16.x still applies on older Kilo Code releases
- Support Kilo Code 7.4.22, re-targeting the chat input, chat Escape, and permission prompt key patches to its re-minified scopes
- Fix the permission prompt key patch mis-applying on 7.4.22 with 1.14.x installed; updating repairs it in place
- Re-target the opt-in attach-file
+button to 7.4.22 so it appears in the prompt toolbar when enabled - Keep all earlier versions' patterns, so 1.15.x still applies on older Kilo Code releases
- Support Kilo Code 7.4.21, re-targeting the chat input, chat Escape, permission prompt key, and KiloClaw patches to its re-minified scopes
- Re-target the opt-in attach-file
+button to 7.4.21 so it appears in the prompt toolbar when enabled - Keep all earlier versions' patterns, so 1.14.x still applies on older Kilo Code releases
- Support Kilo Code 7.4.20, re-targeting the chat input, chat Escape, permission prompt key, and document-level Escape patches to its re-minified scopes
- Re-target the opt-in attach-file
+button to 7.4.20 so it appears in the prompt toolbar when enabled - Keep all earlier versions' patterns, so 1.13.x still applies on older Kilo Code releases
- Send, save, and approve accept
Ctrl+Enteras well asCmd+Enter, fixing the shortcut on Windows and Linux
- Draw the opt-in attach-file
+button with the larger plus icon
- Support Kilo Code 7.4.17, re-targeting the chat input, chat Escape, and permission prompt key patches to its re-minified scopes
- Re-target the opt-in attach-file
+button to 7.4.17 so it appears in the prompt toolbar when enabled - Keep all earlier versions' patterns, so 1.11.x still applies on older Kilo Code releases
- Support Kilo Code 7.4.16, re-targeting the chat input and chat Escape patches to its re-minified scope
- Re-target the opt-in attach-file
+button to 7.4.16 so it appears in the prompt toolbar when enabled - Keep all earlier versions' patterns, so 1.10.x still applies on older Kilo Code releases
- Support Kilo Code 7.4.15, re-targeting the chat Escape and document-level Escape patches to its re-minified scopes
- Re-target the opt-in attach-file
+button to 7.4.15 so it appears in the prompt toolbar when enabled - Keep all earlier versions' patterns, so 1.9.x still applies on older Kilo Code releases
- Support Kilo Code 7.4.13, re-targeting the keyboard patches to its re-minified chat input, permission key routing, and document-level Escape scopes
- Re-target the opt-in attach-file
+button to 7.4.13 so it appears in the prompt toolbar when enabled - Keep all earlier versions' patterns, so 1.8.x still applies on older Kilo Code releases
- Locate the Kilo Code install through the running editor instead of the hardcoded
~/.vscode/extensions, so patching works on VSCodium (~/.vscode-oss/extensions), Cursor, Windsurf, remote servers, and custom--extensions-dirsetups - Discovery order: the folder the editor loaded Kilo Code from, then the folder KB Patch itself is installed in, then known per-fork defaults; the first folder containing a Kilo Code install wins, so another editor's copy is never patched by mistake
- The "could not find" error now lists every folder that was searched
- Retarget the document-level Escape pattern that 7.4.11 re-minified (event variable
re→ae); every otherwebview.jsandkiloclaw.jspattern still matches through the existing 7.4.9/7.4.8/7.4.7/7.3.63 blocks, so only this one needed a new pattern - Compare installed Kilo Code versions numerically when choosing the build to patch, so 7.4.11 is picked over 7.4.9 when both are present (a string sort ranked
7.4.9above7.4.11) - Add an opt-in attach-file
+button to the prompt toolbar that opens Kilo Code's file picker directly; enable it with"kiloCodeKbPatch.addAttachFileButton": trueinsettings.json - Register both bonus settings (
addAttachFileButton,renameOpenInTab) in the manifest so they appear in the Settings UI and the extension can toggle them off (VS Code refuses to write an unregistered setting) - Restore Originals now also switches the bonuses off: it flips any present
addAttachFileButton/renameOpenInTabsetting tofalseand reverts its file, so a full restore stays pristine after a reload - Status panel now lists the bonus items in their own section (a neutral white circle when off, a check when on); the bonus rows never change the overall status verdict
- Keep all earlier versions' patterns, so 1.7.x still applies on older Kilo Code releases
- Retarget the four
webview.jspatterns that 7.4.9 re-minified: chat input (Enter-checkWm→Zm), chat Escape (abort guardit→ot), the permission skip predicateN()(in-textarea guardU→K, element helperL(G)→Q(U), eventqunchanged), and the document-level Escape (eventie→re); the chat eventzeand senduaare unchanged from 7.4.8 - The permission reject (
j) and approve (O) handlers re-minified back to the$-dispatch form, so they keep applying through the existing 7.3.63+ patterns and need no new pattern - Keep all earlier versions' patterns, so 1.6.x still applies on older Kilo Code releases
- Retarget the three
webview.jspatterns that 7.4.8 re-minified: chat input (Enter-checkVm→Wm, event$e→ze, sendda→ua), chat Escape (abort guardot→it), and the permission skip predicate (L(H)→L(G)); 7.4.8 renamed only the chat scope and one permission symbol, so the permission-button and document-level patterns still match through the existing 7.4.7/7.3.63 patterns - Retarget both
kiloclaw.jspatterns to 7.4.8's renamed Enter-check helper (LA→NA) - Keep all earlier versions' patterns, so 1.5.x still applies on older Kilo Code releases
- Status panel now lists every feature the patch targets: a feature whose code it can no longer locate shows as a red
✗"no matching code" row and one it recognizes but has not yet applied shows as an amber○"not applied" row, instead of dropping the row and signaling only through the "partially patched" badge
- Retarget all six
webview.jspatterns to Kilo Code 7.4.7's re-minified symbols (chat:VmEnter-check,$eevent,dasend,otabort guard; permission:Nskip predicate,j/Ohandlers,zdispatch,$bare-Enter check,iedocument event); 7.4.7 re-minifiedwebview.jswholesale, so every 7.4.0 and 7.3.x pattern stopped matching - Keep all earlier versions' patterns, so 1.4.x still applies on older Kilo Code releases
- Fix the status verdict: a file with no matching patch points is no longer ignored when deciding the verdict, so an unrecognized
webview.jsalongside a patchedkiloclaw.jsnow reads as "partially patched" instead of "fully patched"
- Improve patch status webview
- README updates
- Add Kilo Code 7.4.0 chat-input patterns (
Geevent,OmEnter-check,Easend); 7.4.0 re-minified the chat keydown scope after adding a bare-Escape autocomplete-dismiss branch, which left the two chat patterns unmatched on 7.4.0 - Keep the 7.3.63 chat patterns; the permission and document-level patterns are unchanged in 7.4.0 and still match via the existing 7.3.63 patterns
- Document Kilo Code's three interactive input surfaces (tool permission, follow-up question, menus/dialogs) and its focus-shifting behavior, and clarify that the patch keys off textarea non-whitespace content and never moves focus
- Retarget chat, permission, and document-level patterns to Kilo Code 7.3.63's new minified symbols (
$m,Ne,Oa,Fe,z,q,j,O) - Keep legacy 7.3.50-7.3.54 patterns for backward compatibility
- Whitespace-only input (spaces or newlines) is now treated as empty, so keys route to the permission buttons instead of the chat input
- Switch reject/abort key from
Cmd+EscapetoShift+Escape(avoids clash with Claude Code's quick-launch) - Read textarea value via the event target (shadow DOM safe) instead of
querySelector; treat whitespace as content - Bare
Escapenow rejects/aborts only when the textarea is empty - Patch
Cmd+Enterapprove,Spaceapprove-when-empty, and the document-level abort handler
- Retarget chat, permission, and KiloClaw patterns to Kilo Code 7.3.50's minified symbols
- Drop obsolete permission
Space-approve patch; rename theRhandler toP - Add version compatibility table
- Add extension icon
- Initial release for Kilo Code 7.3.46
Enterinserts a newline;Cmd+Entersends/approves- Smarter permission-prompt key routing based on textarea content
- VS Code extension with apply/restore/status commands and auto-detection