Commit Graph

467 Commits

Author SHA1 Message Date
Mark IJbema 3f4b8e90c6 Merge pull request #6527 from Kilo-Org/mark/enhance-prompt
feat(vscode): Enhance Prompt —  sparkle button to improve prompts before sending
2026-03-03 14:03:32 +01:00
Marius 15c7b6a61e Fix agent interrupt AbortError leak (#6554) 2026-03-03 09:35:51 -03:00
Mark IJbema 6f9a0f0c5a feat(vscode): Enhance Prompt — sparkle button to improve prompts before sending
Add the Enhance Prompt feature to the VS Code extension, matching the
legacy extension's behaviour. A  sparkle button in the chat input
toolbar rewrites the user's draft prompt using an LLM.

CLI:
- POST /enhance-prompt endpoint using LLM.stream with small model
- System prompt as agent.prompt for caching; user text as user message
- clean() strips code fences and surrounding quotes from LLM output

Extension:
- KiloProvider handler using SDK client.enhancePrompt.enhance()
- Shows VS Code error notification on failure
- WandSparkles icon from lucide-solid via @kilocode/kilo-ui
- Spin animation while enhancement is in flight
- Empty-input click shows feature description (all 16 i18n locales)
- Ctrl+Z / ⌘Z undo restores original draft
- Guard checks isBusy/isDisabled/enhancing matching canEnhance()

Tests:
- 11 unit tests for clean() in enhance-prompt.test.ts

Migration plan:
- Removed feature row (parity achieved)
- Deleted prompt-improvement.md spec doc
2026-03-03 13:21:45 +01:00
Evgeny Shurakov 3dbc3a3605 fix: bootstrap session ingest after import 2026-03-03 12:44:11 +01:00
Kevin van Dijk 2146e64611 Update naming 2026-03-02 22:16:53 +01:00
Kevin van Dijk fccf5544d9 Resolve merge conflicts 2026-02-26 14:46:06 +01:00
Kevin van Dijk 2c10cfbb52 refactor: kilo compat for v1.2.15 2026-02-26 14:35:48 +01:00
Kevin van Dijk 8f34422961 Resolve merge conflicts 2026-02-26 12:53:40 +01:00
Kevin van Dijk cfb3b6ef56 refactor: kilo compat for v1.2.13 2026-02-26 03:23:56 +01:00
Sebastian 9d29d692c6 split tui/server config (#13968) 2026-02-25 23:53:09 +01:00
Kevin van Dijk 2b05e4f40b Resolve merge conflicts 2026-02-25 18:34:18 +01:00
Kevin van Dijk 42a7e019ef refactor: kilo compat for v1.2.11 2026-02-25 18:14:54 +01:00
Marius 8551d95447 perf: filter tool diagnostics to only edited files, reducing session payload 50-77% (#6241)
* perf: filter tool diagnostics to only edited files

Tools (edit, write, apply_patch) stored LSP diagnostics for ALL project
files in their metadata. In large projects this adds 100-500KB of
unrelated diagnostics per tool call, bloating session payloads by
50-77%.

The UI only renders diagnostics for the edited file(s), so the rest is
dead weight. Extract a filterDiagnostics utility that keeps only the
relevant files' diagnostics and use it in all three tools.

* add kilocode_change marker to diagnostics filter test
2026-02-25 14:32:42 +01:00
Marian Alexandru Alecu d8ce43fcf8 Merge pull request #6240 from Kilo-Org/fix/fix-plan-mode-suggestions
fix(plan): Show implementation suggestions only when LLM has all the information
2026-02-25 12:18:04 +02:00
Marius 138f1bd95f feat(vscode): add diff viewer panel to Agent Manager (#6335)
* feat(vscode): add diff viewer panel to Agent Manager

* Update translations

* Fix comments
2026-02-25 10:16:14 +00:00
Alex Alecu 67e0694039 Merge branch 'fix/fix-plan-mode-suggestions' of https://github.com/Kilo-Org/kilocode into fix/fix-plan-mode-suggestions 2026-02-25 09:46:20 +02:00
Alex Alecu 7143683e20 fix: Fix plan_exit call 2026-02-25 09:46:17 +02:00
Marian Alexandru Alecu 3653c79395 Merge branch 'main' into fix/fix-plan-mode-suggestions 2026-02-25 09:45:49 +02:00
Dax Raad 3c6c74457d sync 2026-02-25 01:48:10 -05:00
Kevin van Dijk 8c852f7afe Resolve merge conflicts 2026-02-24 19:53:15 +01:00
Kevin van Dijk bd0148906c refactor: kilo compat for v1.2.10 2026-02-24 19:48:39 +01:00
Kevin van Dijk ccf97cbed1 Resolve merge conflicts 2026-02-24 18:16:17 +01:00
Kevin van Dijk 20a16a27e5 refactor: kilo compat for v1.2.8 2026-02-24 18:07:52 +01:00
Noam Bressler 2cee947671 fix: ACP both live and load share synthetic pending status preceeding… (#14916) 2026-02-24 23:54:10 +10:00
Alex Alecu 0886ef8fa0 fix(plan): Show implementation suggestions only when LLM has all the information 2026-02-24 15:32:58 +02:00
Luke Parker 32417774c4 fix(test): replace structuredClone with spread for process.env (#14908) 2026-02-24 23:16:24 +10:00
Luke Parker 3d379c20c4 fix(test): replace Unix-only assumptions with cross-platform alternatives (#14906) 2026-02-24 23:03:18 +10:00
Luke Parker 06f25c78f6 fix(test): use path.sep in discovery test for cross-platform path matching (#14905) 2026-02-24 22:51:56 +10:00
Luke Parker 1af3e9e557 fix(win32): fix plugin resolution with createRequire fallback (#14898) 2026-02-24 22:20:57 +10:00
Luke Parker a292eddeb5 fix(test): harden preload cleanup against Windows EBUSY (#14895) 2026-02-24 21:59:14 +10:00
Luke Parker 79254c1020 fix(test): normalize git excludesFile path for Windows (#14893) 2026-02-24 21:40:38 +10:00
opencode-agent[bot] ef7f222d80 chore: generate 2026-02-24 11:15:39 +00:00
Noam Bressler 888b123387 feat: ACP - stream bash output and synthetic pending events (#14079)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-02-24 21:14:47 +10:00
Luke Parker 13cabae29f fix(win32): add git flags for snapshot operations and fix tests for cross-platform (#14890) 2026-02-24 21:14:16 +10:00
Luke Parker 659068942e fix(win32): handle CRLF line endings in markdown frontmatter parsing (#14886) 2026-02-24 20:33:22 +10:00
Luke Parker de796d9a00 fix(test): use path.join for cross-platform glob test assertions (#14837) 2026-02-24 20:07:56 +10:00
Kevin van Dijk 496c4283e1 Fix types 2026-02-23 20:34:24 +01:00
Kevin van Dijk ae62fff98d Resolve merge conflicts 2026-02-23 20:12:28 +01:00
Kevin van Dijk 0e76652f28 refactor: kilo compat for v1.2.7 2026-02-23 18:48:59 +01:00
Kevin van Dijk d6e6016e91 Resolve merge conflicts 2026-02-23 18:19:57 +01:00
Kevin van Dijk ffec9a4153 refactor: kilo compat for v1.2.6 2026-02-23 18:15:49 +01:00
Kevin van Dijk 8eb0ec7610 Resolve merge conflicts 2026-02-23 17:10:26 +01:00
Kevin van Dijk 0b7e73e764 refactor: kilo compat for v1.2.4 2026-02-23 17:04:50 +01:00
Kevin van Dijk 8edb49ac1d Resolve merge conflicts 2026-02-23 16:30:46 +01:00
Kevin van Dijk 373af86eb6 refactor: kilo compat for v1.2.3 2026-02-23 16:24:30 +01:00
Kevin van Dijk 58995d9591 Resolve merge conflicts 2026-02-23 16:11:57 +01:00
Kevin van Dijk ac3ca14a50 refactor: kilo compat for v1.2.2 2026-02-23 14:02:50 +01:00
Kevin van Dijk 7ac4e68dc8 Resolve merge conflicts 2026-02-23 13:54:54 +01:00
Kevin van Dijk 9030ba902c refactor: kilo compat for v1.2.0 2026-02-23 13:30:22 +01:00
adamelmore 9f4fc5b72a Revert "fix(app): terminal issues"
This reverts commit e70d2b27de.
2026-02-22 21:27:25 -06:00