Commit Graph
9387 Commits
Author SHA1 Message Date
Christiaan Arnoldus 82de52e6d8 Merge branch 'dev' into feat/add-machineid-header 2026-02-10 22:50:43 +01:00
Catriel Müller e8f05a188b Merge pull request #204 from mikij/docs/bosnian
docs(i18n): update Bosnian translations
2026-02-10 17:20:14 -03:00
Catriel Müller 3e8f0c9abb refactor: skip flaky test 2026-02-10 17:10:39 -03:00
Catriel Müller 5fadbf8cd5 Merge branch 'dev' into docs/bosnian 2026-02-10 16:39:36 -03:00
John Fawcett 4eddc4c309 Merge pull request #220 from Kilo-Org/project-tracking
feat(opencode): add project ID resolution and tracking
2026-02-10 12:26:56 -06:00
Catriel Müller 8d789db3ae Merge branch 'dev' into docs/bosnian 2026-02-10 15:25:18 -03:00
John Fawcett 1762590ff4 feat(opencode): add project ID resolution and tracking
refactor(opencode): improve project ID resolution and normalization
Implement logic to resolve a unique project identifier with priority given
to `.kilocode/config.json` and falling back to the git origin remote URL.
The resolved ID is normalized, cached per-instance, and sent as a header
to the Kilo Gateway provider to enable project-specific tracking.
2026-02-10 12:10:00 -06:00
Catriel Müller fa3d324c25 refactor: simplify dict type 2026-02-10 14:37:05 -03:00
Mark IJbema 8562b93dd7 Merge pull request #216 from Kilo-Org/mark/infrastructure-improvements
docs: add infrastructure & robustness feature docs from JetBrains analysis
2026-02-10 18:36:14 +01:00
Mark IJbema 5279e868f1 Merge branch 'dev' into mark/infrastructure-improvements 2026-02-10 18:28:35 +01:00
Mark IJbema 32c048c729 Merge pull request #218 from Kilo-Org/mark/ui-kilo-ui-adoption
feat: adopt kilo-ui components (Phase 0 + 1.1 + 1.2)
2026-02-10 18:27:43 +01:00
Catriel Müller 9929acd37e refactor: revert en translations 2026-02-10 13:09:52 -03:00
Mickey Lazarevic 0881a7a037 Merge branch 'dev' into docs/bosnian 2026-02-10 16:23:49 +01:00
Mickey Lazarevic a16d621a43 docs(i18n): update Bosnian translations
Improved translation for Kilo Gateway description and added new desktop-related translation strings for reload webview, update installation failure, and CLI installation confirmation.
2026-02-10 16:21:38 +01:00
Mickey Lazarevic 11c95000bd Revert "docs(i18n): update Bosnian translations"
This reverts commit 2eddce54e0.
2026-02-10 16:15:19 +01:00
Mark IJbema 725e4b9067 docs: update ui-implementation-plan with progress tracker 2026-02-10 16:08:02 +01:00
Mark IJbema a47db1b7b9 feat: replace emoji loading indicators with kilo-ui Spinner (Phase 1.2) 2026-02-10 16:06:02 +01:00
Mark IJbema c6f6ffde1a feat: replace buttons with kilo-ui Button/IconButton (Phase 1.1) 2026-02-10 16:02:09 +01:00
Mark IJbema 8c3a3b4c21 feat: wire up kilo-ui build system and providers (Phase 0) 2026-02-10 15:56:52 +01:00
Mark IJbema ba4dfdc6e5 docs: add infrastructure & robustness feature docs from JetBrains analysis
Add 6 new feature docs identified from the JetBrains plugin analysis:

Infrastructure:
- SSE auto-reconnect with exponential backoff (P0)
- HTTP request timeouts (P1)
- VSCode error notifications for critical failures (P1)
- Dedicated output channel for logging (P2)

Chat UI:
- Markdown rendering for assistant messages (P0)
- Connection state UI (loading/error/reconnecting) (P0)

Update opencode-migration-plan.md with new Infrastructure & Robustness
section and new chat-ui rows.
2026-02-10 15:47:34 +01:00
Marius 337c05849b fix: use 'max' instead of 'xhigh' as highest reasoning effort for Anthropic models on Kilo Gateway (#213)
* fix: use 'max' instead of 'xhigh' as highest reasoning effort for Anthropic models on Kilo Gateway

Anthropic's native effort levels are low/medium/high/max, not xhigh.
The upstream merge replaced the Kilo-specific effort mapping with
OPENAI_EFFORTS which uses xhigh. This restores 'max' as the
user-facing variant name while mapping it to 'xhigh' on the wire
for OpenRouter API compatibility.

* fix: clarify comment about OpenRouter effort naming vs Anthropic naming
2026-02-10 11:47:14 -03:00
Mark IJbema f5952530dd Merge pull request #212 from Kilo-Org/mark/add-plans-todos
docs: rewrite migration plan as feature parity tracker
2026-02-10 15:45:20 +01:00
Mark IJbema 0650d554a0 Merge pull request #211 from Kilo-Org/mark/kilo-ui-implementation-plan
docs: kilo-ui implementation plan for kilo-vscode webview
2026-02-10 15:45:08 +01:00
Marius c8464fbc98 feat: add Kilo soul prompt for consistent personality across all models (#214)
* feat: add Kilo soul prompt for consistent personality across all models

* fix: gate soul prompt behind Codex check to match existing prompt delivery pattern

Codex sessions deliver prompts via options.instructions, not system messages.
Prepend the soul to options.instructions for Codex, and skip it from the
system array, matching how SystemPrompt.provider() is already handled.
2026-02-10 14:03:55 +00:00
Catriel Müller 2c893f42ef Merge pull request #203 from Kilo-Org/catrielmuller/improve-kilo-ui
Improve Kilo UI
2026-02-10 11:01:44 -03:00
Mark IJbema f97e09b893 remove files 2026-02-10 14:23:14 +01:00
Mark IJbema 394a4e1b52 docs(kilo-vscode): add icon migration mapping to UI implementation plan 2026-02-10 14:19:47 +01:00
Mark IJbema 457f1a43e0 less duplication 2026-02-10 14:03:34 +01:00
Mark IJbema 3a07f45e15 docs: rewrite migration plan as feature parity tracker, add feature docs from GitHub project issues
- Rewrite opencode-migration-plan.md as a comprehensive feature parity tracker
- Add new chat-ui-features: kilo-themed-chat-session, task-header, toggle-thinking
- Add new non-agent-features: cloud-task-support, kilo-gateway, mode-switcher,
  model-switcher, provider-configuration, repository-initialization,
  rules-and-workflows, settings-ui, task-history
- Format existing feature docs with prettier
2026-02-10 13:56:19 +01:00
Mark IJbema 31361d30fd Merge pull request #208 from Kilo-Org/mark/no-timeout-on-viewstate
fix(vscode): remove timeout when locking editor group
2026-02-10 13:56:12 +01:00
Mark IJbema d7fc652ff1 Merge pull request #191 from Kilo-Org/mark/model-selector
feat: add model selector to chat
2026-02-10 13:52:18 +01:00
Mark IJbema c3eabf913f docs: add kilo-ui implementation plan for kilo-vscode webview 2026-02-10 13:44:03 +01:00
Mark IJbema 63aa9fcaed Merge pull request #210 from Kilo-Org/mark/fix-prepare-cli-binary
fix: run bun install before building CLI binary in prepare-cli-binary
2026-02-10 13:39:05 +01:00
Marius 7c548fa4b6 fix: make Ctrl+C interrupt instead of kill, require double-press to exit (#195)
* fix: make Ctrl+C interrupt instead of kill, require double-press to exit

* fix: revert config changes, handle ctrl+c double-press in event handlers only

Reverts keybind default changes (unnecessary — ctrl+c overlap is handled
by event priority in onKeyDown). Adds missing preventDefault() in
child-session ctrl+c handler to prevent SIGINT.
2026-02-10 12:32:18 +00:00
Mark IJbema 95d7e42b18 chore: remove debug logging added in model-selector PR
Remove noisy console.log statements that were useful during development
but too verbose for production:
- resolveWebviewView/Webview HTML lifecycle logs
- Providers loaded diagnostic log with counts
- postMessage result log (fired on every single message)
- sendMessage request body diagnostic log
- messageCounter field (only supported debug logging)

Keep error/warn logging that aids production troubleshooting:
- postMessage dropped (no webview) warning
- postMessage delivery failure error
- HTTP request/response errors (failed, empty body, invalid JSON)
- Provider fetch failure error
2026-02-10 12:49:59 +01:00
Mark IJbemaandkiloconnect[bot] 845fc2a28a Update packages/kilo-vscode/scripts/prepare-cli-binary.mjs
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
2026-02-10 12:42:38 +01:00
Mickey Lazarevic 6832ebd4ec Merge branch 'dev' into docs/bosnian 2026-02-10 12:30:13 +01:00
Mark IJbema 591b55943b fix: run bun install before building CLI binary in prepare-cli-binary
The prepare-cli-binary script would fail when opencode dependencies
weren't installed, because bunfig.toml requires @opentui/solid/preload.
Adding a bun install step before the build ensures deps are available.
2026-02-10 12:24:18 +01:00
Mark IJbema 775388687d fix: prevent model selector reset on duplicate sessionCreated events
When sending the first message, the extension creates a session via HTTP
and sends sessionCreated. Then the SSE session.created event sends a
duplicate. Between the two, a createEffect restores pendingModelSelection
to the provider default. The second handleSessionCreated would read this
default and overwrite the user's stored selection.

Guard with !store.modelSelections[session.id] so the pending selection
is only applied to truly new sessions.
2026-02-10 12:23:36 +01:00
Mark IJbema ebf5426fb1 prettier 2026-02-10 12:23:36 +01:00
Mark IJbema 1b4cf630d4 fix(http): require explicit allowEmpty for empty 2xx responses 2026-02-10 12:23:36 +01:00
Mark IJbema 3625f97975 fix(session): keep pending model default in sync until user selects 2026-02-10 12:23:35 +01:00
Mark IJbema 534f399227 fix(model-selector): guard keyboard navigation when list is empty 2026-02-10 12:23:35 +01:00
Mark IJbema 941c657b8a remove plan 2026-02-10 12:23:35 +01:00
Mark IJbema 8856de1f44 fix: ModelSelector shows enriched name instead of raw 'auto'
Two root causes fixed:

1. Model ID mismatch: backend model keys use provider prefix (e.g. 'kilo/auto')
   but KILO_AUTO constant and settings default used 'auto' without prefix.
   findModel() never matched. Fixed defaults everywhere.

2. Message delivery race: ProviderProvider registered its providersLoaded handler
   in onMount (too late). Moved to component body, added requestProviders retry
   with 500ms interval, and extension-side provider caching.
2026-02-10 12:23:35 +01:00
Mark IJbema b1b4fd536a fix: show default model name in selector before provider catalog loads 2026-02-10 12:23:35 +01:00
Mark IJbema bcc9487a23 feat: make model/provider selection per-session instead of global
- Default model is now kilo/auto
- Model changes only affect the current chat session
- Global VSCode config serves as default for new sessions
- Remove saveModel global persistence
2026-02-10 12:22:19 +01:00
Mark IJbema cc0f57a44f feat: filter model selector to show Kilo Gateway + connected providers only 2026-02-10 12:22:19 +01:00
Mark IJbema c6e32b6f25 remove plan 2026-02-10 12:22:19 +01:00
Mark IJbema eb0254b72a fix: correct model field format and improve error handling
- Normalize provider catalog keys from numeric indices to provider.id
  (backend /provider returns array-indexed keys like '0','1',... but
  the prompt endpoint expects real provider IDs like 'anthropic','openai')
- Improve HTTP error handling: read response text first, then parse JSON
  to avoid cryptic 'Unexpected end of JSON input' errors
- Handle empty 200 responses gracefully (message endpoint returns no body,
  results arrive via SSE)
- Add diagnostic logging for sendMessage request body
2026-02-10 12:22:19 +01:00