Commit Graph
16618 Commits
Author SHA1 Message Date
Josh Lambert e16a8da34e ci: add standalone smoke-test workflow (interim step) 2026-04-14 08:26:21 -04:00
Marius 4a69a3e0d1 fix(cli): invalidate provider state after auth changes (#8898)
* fix(cli): invalidate provider state after auth changes

After the Effect migration in #8870, provider state is cached via
InstanceState/ScopedCache. The hasKey check that determines which
models are available ran once at init and was never re-evaluated.
When auth changed (login, logout, org switch), only ModelCache was
cleared but the provider state retained the stale hasKey decision,
causing authenticated users to be stuck on the free model.

* chore: add changeset

* fix(gateway): scope disposeAll to KiloRoutesDeps, not ImportDeps
2026-04-14 10:57:44 +00:00
Marius 824a39491d docs: clarify changeset descriptions should be concise and user-directed (#8901)
* docs: clarify changeset descriptions should be concise and user-directed

* docs: improve changeset example to be feature-oriented
2026-04-14 12:48:11 +02:00
Aaravandmarius-kilocode e67ed3f17a perf: reduce git process load via adaptive polling and caching (#8703)
* perf: reduce git process load via adaptive polling and caching

Optimize GitStatsPoller and GitOps to mitigate heavy system load caused
by frequent git process spawns (~200+ processes/min).

- Implement adaptive backoff in GitStatsPoller: The polling interval
  now scales (5s -> 10s -> 30s -> 60s) based on consecutive polls with
  no detected changes.
- Add visibility awareness: The poller now switches to a 60s interval
  immediately when the Agent Manager or Kilo sidebar is hidden.
- Introduce resolution caching in GitOps: Added a 60s TTL cache for
  expensive operations (resolveRemote, resolveTrackingBranch,
  resolveDefaultBranch) to prevent redundant sub-process execution
  within a single polling cycle.
- Reset activity counters: Polling frequency returns to 5s immediately
  upon detecting local changes or when the UI becomes visible.

These changes significantly reduce the baseline CPU footprint of the
extension while maintaining responsiveness during active development.

* fix: resolve review issues for PR #8703 - adaptive polling

- Centralize consecutiveNoChanges tracking in fetch() to fix double increment
- Add onChanged callback to reset backoff when worktree stats change
- Restore stop() call in setEnabled(false) to reset cached state on disable

* perf(agent-manager): remove adaptive backoff, keep visibility + cache

Drop the consecutiveNoChanges-based interval scaling that degraded
stats freshness to 10-60s during normal agent use. The visibility
check (5s visible, 60s hidden) and resolution cache already provide
the bulk of the optimization (192 → 156/min visible, 13/min hidden)
without any UX regression in stats update latency.

* chore: add changeset for git stats polling optimization

---------

Co-authored-by: marius-kilocode <marius@kilocode.ai>
2026-04-14 12:31:36 +02:00
kilo-maintainer[bot] 11704bc3b7 chore: update nix node_modules hashes 2026-04-14 10:29:08 +00:00
Marius 52674fffe1 fix(vscode): prevent prompt autofocus stealing focus (#8872)
* fix(vscode): prevent prompt autofocus stealing focus

* revert: drop local-bin.ts workaround (no longer needed after main merge)
2026-04-14 10:19:16 +00:00
Imanol Maiztegui a1bd03d773 Merge pull request #8893 from Kilo-Org/imanolmaiztegui/kilo-opencode-v1.3.17
OpenCode v1.3.17
2026-04-14 12:16:22 +02:00
Marius 9fa90ee638 feat(vscode): support @terminal context mention in chat and agent manager (#8894)
* feat(vscode): support @terminal context mention in chat and agent manager

* docs: add @terminal to new extension docs tabs

* fix(vscode): revert toggleRemote extraction, remove plan file, extract terminal handler method

* chore: add changeset for @terminal feature and document changeset process in AGENTS.md
2026-04-14 10:10:42 +00:00
Mark IJbema b3af983439 Merge pull request #8889 from Kilo-Org/session/agent_a5acac3d-bd3b-4da4-98db-0ef22a1f9fe9
fix: suppress OpenRouter reasoning warning
2026-04-14 11:59:46 +02:00
Imanol Maiztegui 76093d53a2 test(session): rename agent references from "build" to "code" in prompt-effect tests
Align test fixtures with the agent naming convention change
where the "build" agent identifier was replaced by "code"
across all prompt and session interactions.
2026-04-14 11:35:43 +02:00
Imanol Maiztegui f0eebe9b4d docs(kilo-docs): update source link path for dialog-provider component
Reflect directory restructure moving dialog-provider.tsx
from src/cli to src/kilocode/cli in source-links.md.
2026-04-14 11:11:23 +02:00
Imanol Maiztegui cd79db8a8d refactor: update sdk imports and fix type signatures for v1.3.17 compat
- Update `@kilocode/sdk` imports to use `@kilocode/sdk/v2` path
- Replace `@opencode-ai/sdk/v2` import with `@kilocode/sdk/v2`
- Change theme color types from `string` to `RGBA` in renderApiDescription
- Fix `build` return type in KiloToolRegistry to `Effect.Effect<T, never, any>`
2026-04-14 10:52:25 +02:00
Imanol Maiztegui 170889e951 resolve merge conflicts 2026-04-14 10:44:13 +02:00
Marius 1b0ccd52f4 fix(vscode): keep worktree sessions across project id changes (#8875)
* fix(vscode): keep worktree sessions across project id changes

* fix(cli): isolate session directory fallback
2026-04-14 10:35:04 +02:00
kiloconnect[bot] 5816eeac42 chore(deps): update @openrouter/ai-sdk-provider to 2.5.1 in kilo-gateway and opencode
update @openrouter/ai-sdk-provider to 2.5.1 in kilo-gateway
and opencode package to keep dependencies in sync
2026-04-14 08:29:57 +00:00
Imanol Maiztegui 73b6d9a6c9 refactor: kilo compat for v1.3.17 2026-04-14 09:35:34 +02:00
kilo-maintainer[bot] ba7b123f0f chore: update nix node_modules hashes 2026-04-14 07:28:26 +00:00
Catriel Müller 02aec080cd Merge pull request #8870 from Kilo-Org/imanolmaiztegui/kilo-opencode-v1.3.14
OpenCode v1.3.14
2026-04-14 04:05:26 -03:00
Catriel Müller 1606d64398 fix: kilo models test 2026-04-14 03:54:38 -03:00
Catriel Müller 528ec937ab refactor: fix home test config mocks 2026-04-14 03:06:12 -03:00
Catriel Müller d7515f6aec refactor: fix prompt / config tests 2026-04-14 02:25:00 -03:00
Joshua Lambert da2ecc1ad8 Merge pull request #8880 from Kilo-Org/docs/add-gas-town-architecture
docs(architecture): add Gas Town section to architecture overview
2026-04-14 00:04:36 -04:00
Catriel Müller a3721046be refactor: disable filewatcher on windows 2026-04-14 00:20:50 -03:00
Catriel Müller 52583cd867 fix: test workflow 2026-04-14 00:18:23 -03:00
Catriel Müller 98d60f1763 fix: test workflow concurrency 2026-04-14 00:14:28 -03:00
Catriel Müller ac99bb5fb8 fix: test workflow 2026-04-14 00:11:14 -03:00
Catriel Müller 8983b31194 refactor: update bun 2026-04-14 00:00:07 -03:00
Catriel Müller a8607965b5 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.3.14 2026-04-13 23:59:46 -03:00
Catriel Müller da8f05ec75 fix: core tests 2026-04-13 23:58:00 -03:00
Josh Lambert b582097c0c docs(architecture): add Gas Town section to architecture overview 2026-04-13 19:02:32 -04:00
kilo-maintainer[bot] dc2ad42ba1 chore: update nix node_modules hashes 2026-04-13 22:48:02 +00:00
kilo-maintainer[bot] ad74e9bf81 release: v7.2.5 v7.2.5 2026-04-13 22:33:12 +00:00
Catriel Müller 9eef72a96b fix: git identity 2026-04-13 16:27:27 -03:00
Catriel Müller d333e5f2e3 fix: turbo naming 2026-04-13 16:22:51 -03:00
Catriel Müller 3ce74d2e7b fix: bun lock 2026-04-13 16:16:48 -03:00
Imanol Maiztegui 39d25be32d chore(source-links): exclude GitHub Copilot API from extracted URLs
Add api.githubcopilot.com to the exclude patterns in the extraction
script and regenerate source-links.md, dropping the now-filtered
entry and updating the unique URL count from 79 to 78.
2026-04-13 21:11:18 +02:00
Imanol Maiztegui 2e62d226dd docs(kilo-docs): update source links for copilot plugin and config renames
Add GitHub Copilot API endpoint reference, update file paths to
reflect github-copilot plugin directory restructure and tui config
migration rename, and remove stale bun issue link references.
2026-04-13 21:03:49 +02:00
Imanol Maiztegui 17b7f68078 style(vscode): fix indentation and formatting in legacy migration and popup selector
Align boolean expression continuation indent in isCompletionResult
and reformat generic type constraint in PopupSelectorProps interface
to follow consistent code style conventions.
2026-04-13 20:55:08 +02:00
Imanol Maiztegui 5cf58383f8 feat(i18n): add session review and diff UI translation keys across all locales
Introduce new localized strings for git/branch change titles and
diff file list controls (changed, showAll, showLess, more) in 18
language files to support the updated session review UI.
2026-04-13 20:52:38 +02:00
Catriel Müller bfec6b7945 Merge branch 'main' into imanolmaiztegui/kilo-opencode-v1.3.14 2026-04-13 15:44:28 -03:00
Imanol Maiztegui 615dcc743e fix(cli): restore kilo branding in terminal wordmark
Replace upstream opencode ASCII art with Kilo-branded wordmark
in the CLI startup banner.
2026-04-13 20:33:11 +02:00
Imanol Maiztegui 7fb55e45f1 refactor: align kilo codebase with opencode v1.3.14 upstream
Resolve merge conflicts across e2e tests, UI components, and core
packages. Clean up conflict markers in test specs by adopting the
upstream `project` fixture pattern over the legacy `withProject`
approach. Alphabetically sort package.json dependencies, apply
consistent code formatting across i18n files, flag declarations,
and TSX components. Update internal API calls to use current
signatures (Permission.defaultLayer, MessageV2.parts, Git.run).

Key changes:
- Remove Windows-specific test.skip guards and conflict markers
- Replace deprecated `git` util import with `Git.run` in worktree-family
- Drop unused SDK type import from share-next
- Add lib entries to kilo-gateway and kilo-telemetry tsconfigs
- Regenerate models-snapshot.js and SDK types with reordered events
- Fix SDK openapi.json code sample to reference @kilocode/sdk
- Add onCleanup import to popover component
2026-04-13 20:20:47 +02:00
Imanol Maiztegui 6d224ad390 resolve merge conflicts 2026-04-13 19:49:10 +02:00
Mark IJbema 7ed73a1d57 Merge pull request #8829 from Kilo-Org/mark/changeset-release-notes
feat: add changeset release notes workflow
2026-04-13 19:28:25 +02:00
Marius 1a07abc77d docs(kilo-docs): address Agent Manager PR badge review feedback (#8859) 2026-04-13 14:11:48 -03:00
Marius e5a933d8fe feat(agent-manager): add run script feature for worktrees (#8730)
* feat(agent-manager): add run script feature for worktrees

Add project-specific run script execution with cross-platform support.
Users configure a .kilo/run-script file that runs in any worktree or
the local repo root. Includes play/stop toolbar button with dropdown,
Cmd+E keybinding, run status badges on worktree cards, and VS Code
Task integration for terminal output.

New files in src/agent-manager/run/:
- service.ts: platform-aware script resolution (sh/ps1/cmd/bat)
- manager.ts: process lifecycle state machine (idle/running/stopping)
- controller.ts: orchestrates service, manager, and VS Code task
- task.ts: VS Code ProcessExecution adapter
- message.ts: webview message handler

* fix(vscode): avoid run shortcut in terminals
2026-04-13 14:11:48 -03:00
Mark IJbema 57de920998 chore(vscode): normalize CHANGELOG.md formatting for changesets
Reformats existing changelog entries to match the style that
@changesets/cli produces (2-space continuation indent, no blank lines
between entry header and bullet list, escaped asterisks). This avoids
a large formatting diff when the first changeset-based release runs.
2026-04-13 14:11:48 -03:00
Marius 136095392c fix(vscode): hide git-only sidebar controls without vcs (#8739)
* fix(vscode): hide git-only sidebar controls without vcs

* fix(vscode): use project vcs status for git-only controls
2026-04-13 14:11:48 -03:00
Mark IJbema e17af67621 Merge branch 'main' into mark/changeset-release-notes 2026-04-13 19:06:24 +02:00
Catriel Müller 9a023e8db8 fix: preserve changelog script 2026-04-13 14:04:58 -03:00