Commit Graph
12649 Commits
Author SHA1 Message Date
Igor Šćekić a2a6883e8d fix: correct misplaced JSDoc comments on getOpenTabPaths and getIgnoreController 2026-03-04 13:07:54 +01:00
Igor Šćekić 0a6cc4d1bf Merge remote-tracking branch 'origin/fix/file-mention-prioritize-open-files' into fix/file-mention-prioritize-open-files 2026-03-04 13:02:17 +01:00
Igor Šćekić 0b0503d782 refactor: extract getOpenTabPaths helper, apply kilocodeignore to file search
Extract the open-tab enumeration into a shared private async helper
getOpenTabPaths(dir) that:
- uses the cached FileIgnoreController (same instance as gatherEditorContext)
- filters tabs through validateAccess so .kilocodeignore is respected
- returns a Set<string> of workspace-relative forward-slash paths

Both the requestFileSearch handler and gatherEditorContext now call this
helper, eliminating the duplicated loop and ensuring the file search
prioritization respects .kilocodeignore the same way the agent context does.
2026-03-04 12:58:47 +01:00
Igor Šćekić a93a76f0e3 Merge branch 'main' into fix/file-mention-prioritize-open-files 2026-03-04 12:56:02 +01:00
github-actions[bot] cd4ffc541c chore: update visual regression baselines 2026-03-04 11:55:26 +00:00
Igor Šćekić d5c72b937b fix: show dir names correctly in @ file mention autocomplete
fileName() and dirName() were not stripping trailing slashes before
splitting, so directory paths like 'src/components/' produced an empty
filename (split('/').pop() returns '' on a trailing slash) and an
incorrect dirName. Strip trailing slashes first so both functions work
correctly for files and directories.
2026-03-04 12:53:28 +01:00
Igor Šćekić 29e07e27b5 Revert "fix: show filenames when only @ is typed in file mention autocomplete"
This reverts commit 0062239c80.
2026-03-04 12:53:00 +01:00
Igor Šćekić 0062239c80 fix: show filenames when only @ is typed in file mention autocomplete
The SDK call to find.files was not passing dirs=false, so the CLI
defaulted kind to 'all'. With an empty query and kind='all', File.search()
returns directories (with trailing slashes) instead of files. The trailing
slash caused fileName() to return an empty string, producing blank entries
in the dropdown.

Passing dirs='false' restricts results to files only, which is the correct
behavior for the @ file mention feature.
2026-03-04 12:51:37 +01:00
Mark IJbema 6ee4edbc3b Merge pull request #6602 from Kilo-Org/mark/gitignore-husky-underscore-v2
chore: ignore .husky/_ directory in .gitignore
2026-03-04 12:00:31 +01:00
Mark IJbema 845f9b374d chore: ignore .husky/_ directory 2026-03-04 11:56:03 +01:00
Mark IJbema ee8daf6907 Merge pull request #6599 from Kilo-Org/mark/remove-kilocode-change-markers
Remove kilocode_change markers from kilo-specific packages
2026-03-04 11:55:29 +01:00
Mark IJbema f1fdcc9f7e Revert accidental addition of .husky/_ files 2026-03-04 11:51:29 +01:00
Mark IJbema e97348d7aa Remove kilocode_change markers from kilo-specific packages
These markers are only needed in shared upstream opencode files to prevent
merge conflicts. In kilo-specific packages (kilocode/, kilo-gateway/,
kilo-ui/, kilo-i18n/, kilo-vscode/, etc.) they serve no purpose.
2026-03-04 11:39:53 +01:00
Marius c807ec44e5 fix: enforce agent manager locale parity and localize new strings (#6592) 2026-03-04 10:40:56 +01:00
Christiaan Arnoldus 8f09867735 Merge pull request #6562 from Kilo-Org/session/agent_913b361f-ab8a-4292-9ade-d695ef8815f4
fix(opencode-provider): switch kilo default model to auto-small
2026-03-04 10:18:58 +01:00
Christiaan Arnoldus 3bf6b6668b Merge pull request #6563 from Kilo-Org/session/agent_f767ec1f-7980-4b5e-b27d-74befa652e5e
feat(kilo-gateway): add KILOCODE_VERSION support to editor header
2026-03-04 10:12:43 +01:00
Christiaan Arnoldus 55076dc19e Merge branch 'main' into session/agent_913b361f-ab8a-4292-9ade-d695ef8815f4 2026-03-04 10:11:05 +01:00
Christiaan Arnoldus aec01330ea Merge branch 'main' into session/agent_f767ec1f-7980-4b5e-b27d-74befa652e5e 2026-03-04 10:06:21 +01:00
Mark IJbema b234a0b549 Merge pull request #6586 from Kilo-Org/mark/fix-question-options
fix: make question options clickable in VS Code extension
2026-03-04 08:24:27 +01:00
Mark IJbema bc50526e78 Merge branch 'main' into mark/fix-question-options 2026-03-04 08:20:09 +01:00
github-actions[bot] 4cccff8d7b chore: update kilo-vscode visual regression baselines 2026-03-04 06:58:55 +00:00
Mark IJbema 71381e2c0c fix: add missing interactive styles for question options in VS Code extension
The QuestionDock component uses [data-component='question-prompt'] but the
upstream kilo-ui interactive styles (cursor, hover, picked state, checkbox/radio
visuals) are scoped under [data-component='dock-prompt'][data-kind='question'].

This adds the missing interactive button styles to the VS Code CSS overrides:
- cursor: pointer and hover/active/disabled states on question-option
- checkbox/radio visual styles (question-option-box, question-option-check)
- picked state colors (surface-interactive-weak, icon-interactive-base)
- option-main, option-label, option-description layout and typography
- custom option overflow handling
2026-03-04 07:52:01 +01:00
Catriel Müller e52a3c5b9f Merge pull request #6556 from Kilo-Org/catrielmuller/kilo-vscode-migration
feat(kilo-vscode): legacy migration wizard
2026-03-03 17:59:32 -03:00
Catriel Müller 9df2fbd88e Merge branch 'main' into catrielmuller/kilo-vscode-migration 2026-03-03 17:50:56 -03:00
Catriel Müller 4c7b0396f3 refactor: add i18n 2026-03-03 17:47:53 -03:00
kilo-code-bot[bot]andkiloconnect[bot] e5ded8a97a fix: docs banner respects dark/light mode theme (#6576)
Replace hardcoded dark-only colors in the announcement banner with
CSS custom variables (--bg-secondary, --text-color, --border-color,
--accent-color, --accent-hover) that automatically adapt to the
site's light and dark themes.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-03-03 14:39:33 -05:00
kilo-maintainer[bot] 1aa9af4ac0 release: v7.0.37 v7.0.37 2026-03-03 18:59:43 +00:00
Igor Šćekić f92f65cdb2 fix: prioritize open editor files in @ file mention autocomplete
When the user types @<query> in the chat input, files currently open
in VS Code editor tabs are now sorted to the top of the autocomplete
suggestions. The CLI fuzzy-sort still runs over all files; results are
then partitioned in the extension host into open-tab matches (first)
and the rest, matching the behavior of the old extension.

Closes #6560
2026-03-03 19:46:16 +01:00
kilo-maintainer[bot] bc22f712f0 chore: update nix node_modules hashes 2026-03-03 18:24:10 +00:00
Mark IJbema 4e6a9a6eca Merge pull request #6546 from Kilo-Org/mark/csp-connect-src-fix
fix(vscode): CSP, inline permissions, and composite visual regression tests
2026-03-03 19:13:22 +01:00
Mark IJbema a5e7e071c3 chore: trigger CI rebuild 2026-03-03 19:11:05 +01:00
github-actions[bot] 088f11140c chore: update visual regression baselines 2026-03-03 18:08:59 +00:00
Mark IJbema 01615922b1 chore: trigger CI rebuild 2026-03-03 19:05:38 +01:00
Catriel Müller fc51e61f8e fix(migration): global allow overwrite, JSON.parse error handling 2026-03-03 14:57:56 -03:00
Catriel Müller 4db891dcc2 fix(migration): shared disposeAll debounce, MCP timeout, bash rule merge 2026-03-03 14:57:56 -03:00
github-actions[bot] d887889550 chore: update kilo-vscode visual regression baselines 2026-03-03 17:44:11 +00:00
Mark IJbema 3549f6324f chore: use English question in inline question story 2026-03-03 18:42:31 +01:00
Mark IJbema 7f249104b5 fix(vscode): render tool-linked questions inline with message flow
Questions with a tool context (messageID + callID) now render inline
after the assistant message parts instead of in the bottom dock.

- ChatView: filter !q.tool for bottom dock questions (same as permissions)
- AssistantMessage: match questions to message by messageID, render
  QuestionDock inline after the last part
- Added InlineQuestion storybook story with Dutch name options
- StoryProviders: support mock questions prop
2026-03-03 18:42:31 +01:00
Mark IJbema 018ebee546 chore: remove kilocode_change markers from kilo-vscode
Not needed in kilo-vscode files since the entire package is Kilo-specific.
2026-03-03 18:42:31 +01:00
Mark IJbema 4f9e3ae0a8 chore: remove planning doc from PR 2026-03-03 18:42:31 +01:00
Mark IJbema 647ad15be4 chore(vscode): remove duplicate fonts.css, import from kilo-ui
No need to duplicate font-face declarations — import kilo-ui's
existing fonts.css directly.
2026-03-03 18:42:31 +01:00
Mark IJbema 9cc2a4f0ba fix(vscode): override Desktop Chrome viewport to 420px in project config
devices['Desktop Chrome'] includes viewport: 1280x720 which overrides
the global use.viewport setting. Explicitly set 420x720 in the project
config to match VS Code sidebar width.
2026-03-03 18:42:31 +01:00
Mark IJbema 4b24935715 chore: track kilo-vscode visual regression snapshots in Git LFS 2026-03-03 18:42:30 +01:00
Mark IJbema 188bc263f3 fix(vscode): use 420px viewport for visual regression screenshots
VS Code sidebar is typically 350-450px wide. Set viewport to 420x720
and use fullscreen layout so stories fill the width naturally, matching
the real sidebar appearance.
2026-03-03 18:42:30 +01:00
Mark IJbema ea38f49d0e fix(vscode): avoid top-level await in visual regression spec
Node.js v24 on CI rejects top-level await in files loaded via
require(). Wrap story fetching in test.describe + beforeAll instead.
2026-03-03 18:42:30 +01:00
Mark IJbema d1c1ce7df4 feat(vscode): add composite webview visual regression tests
Add Storybook + Playwright visual regression testing for the VS Code
extension's composite webview UI. This tests the full composition of
kilo-ui components with extension-specific contexts and styles.

- .storybook/ config with kilo-vscode theme defaults
- StoryProviders mock wrapper for DataProvider, SessionContext, etc.
- 7 composite stories: tool+permission, permission dock, tool cards,
  chat idle/busy, multi-tool assistant message
- Playwright config on port 6007 with auto-discovery
- CI workflow updated with parallel kilo-vscode visual regression job
- Exported SessionContext and LanguageContext for story use
2026-03-03 18:42:30 +01:00
Mark IJbema a438272ae2 revert: remove ContextToolRenderer override for glob/grep/read/list
The upstream kilo-ui already registers proper renderers for these tools
that show subtitle and args (e.g. pattern=**/*.md). The override was
replacing them with a simpler version.
2026-03-03 18:42:30 +01:00
Mark IJbema ef1bbe64c1 fix(vscode): register renderers for glob/grep/read/list with input details
The upstream app groups these tools in a 'Gathered context' section that
computes title/subtitle/args from the tool input. The VS Code extension
renders them individually, but was falling through to GenericTool which
only shows the tool name.

Added ContextToolRenderer that computes trigger info (title, subtitle,
args like pattern=**/*.md) from tool input, matching the upstream
contextToolTrigger logic. Now tools show their parameters in all states
including pending (permission request).
2026-03-03 18:42:30 +01:00
Mark IJbema 21ea0fe232 fix(vscode): show permission patterns in inline permission prompt
Display the permission's patterns (file globs, paths, commands) in the
inline permission area so users can see what's being accessed. Uses the
same permission-dock-patterns styling as the bottom dock.
2026-03-03 18:42:30 +01:00
Mark IJbema b420bac7b6 fix(vscode): render permission prompt inside tool card border
Wrap Part + permission in a tool-part-wrapper so the permission prompt
appears visually inside the same card as the tool call. Inner Part's
border is removed via CSS nesting to prevent double borders. A top
border separates the permission buttons from the tool content.
2026-03-03 18:42:30 +01:00