Commit Graph
4564 Commits
Author SHA1 Message Date
Mark IJbema a637715a5e Revert "feat(cli,vscode): change default bash auto-approve rule to ask" 2026-03-24 11:09:37 +01:00
Marian Alexandru Alecu 9cd7bb32d6 Merge pull request #7444 from Kilo-Org/feat/cli-config-awareness
feat(cli): add config location awareness
2026-03-23 22:27:44 +02:00
kilo-maintainer[bot] bb20679c42 release: v7.1.2 2026-03-23 17:48:25 +00:00
Mark IJbema 9f8079058a fix(cli): always use kilo.db regardless of channel
The upstream merge in PR #7240 introduced channel-based database path
separation, causing non-latest/beta channels (including local dev) to
open a different DB file (e.g. kilo-local.db) instead of kilo.db. This
made all existing sessions invisible.

Remove the channel-based path logic and always use kilo.db. Also remove
the now-unused KILO_DISABLE_CHANNEL_DB flag.

Closes #7472
2026-03-23 18:33:21 +01:00
Marian Alexandru Alecu dbf8e66fe6 Merge pull request #7417 from mvanhorn/fix/snapshot-cleanup-windows-git-config
fix(snapshot): add missing git config flags to cleanup() for Windows
2026-03-23 18:30:02 +02:00
Alex Alecu 26f207e8fa fix(cli): clarify config paths 2026-03-23 18:24:28 +02:00
kilo-maintainer[bot] 6888ff1515 release: v7.1.1 2026-03-23 16:03:34 +00:00
Alex Alecu 2847ec4a85 fix(cli): use strict .kilo/ directive in config hint
Replace conditional fallback language with an imperative instruction
to always use .kilo/ and never create config under .kilocode/ or
.opencode/.
2026-03-23 18:03:00 +02:00
Alex Alecu 5d5433681f fix(cli): remove .opencode/ from config dir hint
Only suggest .kilo/ and .kilocode/ as config directories, dropping
.opencode/ to avoid confusion with upstream naming.
2026-03-23 17:07:16 +02:00
Alex Alecu 433912769d fix(cli): prefer existing config dir over creating .kilo/
Instruct the model to reuse .kilocode/ or .opencode/ when already
present, falling back to .kilo/ only when no config dir exists.
2026-03-23 17:03:24 +02:00
Mark IJbema 5d0fad3850 Merge pull request #7439 from Kilo-Org/mark/bash-default-ask
feat(cli,vscode): change default bash auto-approve rule to ask
2026-03-23 14:37:38 +01:00
Alex Alecu ba436a7896 feat(cli): add tip about saving repetitive tasks as commands 2026-03-23 14:42:30 +02:00
Alex Alecu 57e36c7ea2 feat(cli): add config location awareness to system prompt
Add project and global config paths to the <env> block so the model
knows where to create commands, agents, and config files by default.
2026-03-23 14:42:17 +02:00
Christiaan Arnoldus 4e2da1f3b5 More targeted change, identical to upstream now 2026-03-23 13:31:29 +01:00
Mark IJbema dac229fe88 feat(cli,vscode): change default bash auto-approve rule to ask
Previously, bash commands inherited the global "*": "allow" wildcard default,
meaning they would execute without approval. Add an explicit bash: "ask" rule
to the agent defaults so users are prompted before shell commands run.

Update the VS Code extension's TOOL_DEFAULTS mirror to match.

Closes #7436
2026-03-23 13:15:01 +01:00
kiloconnect[bot] e1b67fe5da fix(cli): remove context-1m-2025-08-07 anthropic-beta header 2026-03-23 11:22:08 +00:00
Mark IJbema 54e14d7f87 fix: remove dead docs link from github setup wizard output 2026-03-23 11:22:27 +01:00
Mark IJbema 1461b57952 fix: replace dead docs/github link, exclude vercel.link from lychee
- kilo.ai/docs/github/#usage-examples was a 404 (page never created).
  Replaced with kilo.ai/docs/automate/integrations in github.ts:245.
- vercel.link redirects to a login page that blocks bots — added to
  lychee.toml exclusions.
2026-03-23 11:22:07 +01:00
Matt Van HornandClaude Opus 4.6 5a64a874cc fix(snapshot): add missing git config flags to cleanup() for Windows
The cleanup() function calls `git gc` without the Windows-required
config parameters (core.autocrlf, core.longpaths, core.symlinks)
that are used in every other git command in the same file. This
causes `git gc --prune` to fail with exit code 128 on Windows,
leaving temporary pack files that consume 10-20 GB per session.

Fixes #7415

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-23 00:38:45 -07:00
kilo-maintainer[bot] ef16ae7fb7 release: v7.1.0 2026-03-20 18:20:58 +00:00
Imanol Maiztegui 64442519b4 Improved subagent permissions handling (#7348)
* feat(vscode): handle subagent permissions

* fix(vscode): formatting

* fix(permission): preserve original ruleset in pending requests for drainCovered evaluation

* style(permission): shorten inline comments on kilocode_change markers

* refactor(permission): extract drainCovered into dedicated module
2026-03-20 18:08:11 +01:00
Catriel Müller d7b9f51962 refactor: replace x-opencode-* headers with x-kilo-* across codebase and upstream scripts
Update upstream merge scripts to use a generic x-opencode- → x-kilo- regex
that catches all current and future headers automatically. Apply the same
replacement to all source files so the codebase is ready for the next
upstream merge.
2026-03-20 09:10:57 -03:00
Johnny Amancio 6e4c57f328 fix: Adjust missing merge conflicts not caught before 2026-03-20 12:33:10 +01:00
Johnny Amancio a49820192d resolve merge conflicts 2026-03-20 12:18:26 +01:00
Johnny Amancio f3a327d265 refactor: kilo compat for v1.2.24 2026-03-20 11:56:07 +01:00
Imanol Maiztegui f336949a08 Save changes on Settings update (#7312)
* feat(vscode): track session status for busy-session warnings

* feat(vscode): warn before saving settings when sessions are running

* feat(vscode): add draft state and save/discard to config context

* feat(vscode): Save button on Settings panel

* fix(vscode): pass remove permission commands correctly to backend

* feat(vscode): handle permission removals

* fix(vscode): detect other sessions in settings panel

* feat(vscode): translations

* feat(vscode): refresh config state on auto-approve tab

* fix(vscode): formatting and unit tests

* fix: reset Config.state cache on no-dispose config write

* fix(vscode): Detect sessions opened before Settings tab is opened

* fix(vscode): Removed previous fix changes
2026-03-19 22:12:09 +01:00
Johnny Amancio d2e9044b57 fix(kilo-vscode): Update storybook due to theme name change in upstream v1.2.23 2026-03-19 19:43:44 +01:00
a75008864f fix(opencode): pass missing auth headers in run --attach (#16097)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-03-19 19:43:43 +01:00
Marian Alexandru Alecu b0bf365e70 Merge pull request #7313 from Kilo-Org/onboarding-improvement 2026-03-19 20:04:36 +02:00
Catriel Müller 47e8dc28c4 Merge pull request #7240 from Kilo-Org/catrielmuller/kilo-opencode-v1.2.22
OpenCode v1.2.22
2026-03-19 14:12:58 -03:00
Alex Alecu 4be714dbf9 fix(cli): exclude anonymous kilo provider from connected check
The kilo provider always autoloads with free models and apiKey="anonymous",
causing useConnected() to return true even for first-time users without any
API key. This prevented the onboarding tip from ever appearing.
2026-03-19 16:20:06 +02:00
Alex Alecu 6d42e22a6e fix(cli): show tips for connected first-time users 2026-03-19 16:01:59 +02:00
kilo-maintainer[bot] 6ed7fdb40d release: v7.0.51 2026-03-19 13:20:57 +00:00
Alex Alecu c263032282 fix(cli): respect tips toggle during onboarding
The onboarding tip now honors the tips_hidden setting so users
can dismiss it via the command palette if they choose to.
2026-03-19 15:03:49 +02:00
Alex Alecu 7dee800f97 feat(cli): mention config paths in /status tip
Update the existing /status tip to mention config paths alongside
MCP servers and system info, directing users to the newly added
config section in the status dialog.
2026-03-19 14:32:22 +02:00
Alex Alecu 4c8df7d336 feat(cli): show onboarding tip for first-time users on free model
First-time users with no connected provider now see a targeted tip
on the home screen: 'Using a free model — run /connect to add your
API key'. Once a provider is connected or the user has sessions,
normal random tip behavior resumes.
2026-03-19 14:31:54 +02:00
Alex Alecu 1ac86e5c36 feat(cli): show config and project paths in /status dialog
Display global config path (from Global.Path.config) and project
directory in the status dialog so users can quickly verify which
config files are being loaded. Paths are shortened with ~ for
readability, matching existing TUI conventions.
2026-03-19 14:28:59 +02:00
Marian Alexandru Alecu 2749147f8c Merge pull request #7306 from Kilo-Org/fix/opentui-mouse-leak
fix(cli): bump opentui to v0.1.87
2026-03-19 14:26:58 +02:00
Mark IJbema b1c91bcbbc Merge pull request #6225 from Kilo-Org/mark/move-dynamic-context-to-user-message
refactor: move dynamic editor context from system prompt to user message
2026-03-19 12:04:48 +01:00
Mark IJbema aee00686de fix(cli): add required id fields to ephemeral environment details part
The injected TextPart for environment details was missing id, sessionID,
and messageID fields required by the MessageV2.TextPart type.
2026-03-19 12:02:38 +01:00
Alex Alecu 723d608ef6 fix(cli): bump opentui to v0.1.87 2026-03-19 12:58:30 +02:00
Mark IJbema 81c9cab4f2 remove messaghe from system prompt 2026-03-19 11:48:30 +01:00
Imanol Maiztegui f1d7e08ff3 Save permissions without disposing instances (#7279) 2026-03-18 23:06:46 +01:00
Catriel Müller 30d39649aa refactor: merge main 2026-03-18 18:18:38 -03:00
Catriel Müller 7edd3f6fc2 Merge branch 'main' into catrielmuller/kilo-opencode-v1.2.21 2026-03-18 17:10:56 -03:00
Catriel Müller aa36359685 Merge pull request #7266 from Kilo-Org/catrielmuller/support-win32-arm64
feat: add Windows ARM64 build support for CLI and VS Code extension
2026-03-18 14:23:29 -03:00
Catriel Müller 3034667f50 feat: add Windows ARM64 build support for CLI and VS Code extension
- Add win32/arm64 target to packages/opencode/script/build.ts
- Add win32-arm64 target to packages/kilo-vscode/script/build.ts and publish.ts
- Add @parcel/watcher-win32-arm64@2.5.1 optional dev dependency to packages/opencode/package.json
- Update RELEASING.md to document win32-arm64 CLI and VSIX targets
2026-03-18 14:10:03 -03:00
Marian Alexandru Alecu 48504430f5 Merge pull request #7252 from Kilo-Org/fix/cli-paste-summary-thresholds
feat(cli): delay paste summary
2026-03-18 18:15:31 +02:00
Marian Alexandru Alecu 82d6b73c91 Merge pull request #7246 from Kilo-Org/feat/cli-terminal-bell
feat(cli): add notifications - ring terminal bell on task done and input prompts
2026-03-18 16:14:05 +02:00
Alex Alecu 773212863c fix(cli): delay paste summary 2026-03-18 16:09:37 +02:00