Skip to content

Commit f84168c

Browse files
authored
Merge branch 'main' into adjust_position_in_context_menu
2 parents ca10188 + 64c6955 commit f84168c

File tree

308 files changed

+9632
-2152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

308 files changed

+9632
-2152
lines changed

.changeset/eleven-cougars-tap.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": patch
3+
---
4+
5+
OpenRouter inference providers whose context window is smaller than that of the top provider for a particular model are now automatically ignored by default. They can still be used by selecting them specifically in the Provider Routing settings.

.changeset/nasty-rats-begin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": patch
3+
---
4+
5+
Add API key support to the Ollama provider, enabling usage of Ollama Turbo

.changeset/tall-paths-fry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": patch
3+
---
4+
5+
Add search to provider list and sort it alphabetically

.github/workflows/marketplace-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- name: Package Extension
4747
run: |
4848
current_package_version=$(node -p "require('./src/package.json').version")
49-
pnpm build
49+
pnpm vsix:production
5050
5151
# Save VSIX contents to a temporary file to avoid broken pipe issues.
5252
unzip -l bin/kilo-code-${current_package_version}.vsix > /tmp/kilo-code-vsix-contents.txt

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,7 @@ logs
5050
.roo/mcp.json
5151

5252
# Nix / Direnv
53-
.direnv
53+
.direnv
54+
55+
# Exclude Conport Directory (MCP server)
56+
context_portal/

.kilocodemodes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[
1010
"edit",
1111
{
12-
"fileRegex": "(src/i18n/locales/|src/package\\.nls(\\.\\w+)?\\.json)",
12+
"fileRegex": "((src/i18n/locales/)|(src/package\\.nls(\\.\\w+)?\\.json))",
1313
"description": "Translation files only"
1414
}
1515
]

CHANGELOG.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,74 @@
11
# kilo-code
22

3+
## [v4.82.0]
4+
5+
- [#1974](https://github.com/Kilo-Org/kilocode/pull/1974) [`ec18e51`](https://github.com/Kilo-Org/kilocode/commit/ec18e51d7f38c2f5ee21a02cf2290be21223119b) Thanks [@kevinvandijk](https://github.com/kevinvandijk)! - Include changes from Roo Code 3.25.14
6+
7+
- Fix: Only include verbosity parameter for models that support it (#7054 by @eastonmeth, PR by @app/roomote)
8+
- Fix: AWS Bedrock 1M context - Move anthropic_beta to additionalModelRequestFields (thanks @daniel-lxs!)
9+
- Fix: Make cancelling requests more responsive by reverting recent changes
10+
- Add Sonnet 1M context checkbox to Bedrock
11+
- Fix: add --no-messages flag to ripgrep to suppress file access errors (#6756 by @R-omk, PR by @app/roomote)
12+
- Add support for AGENT.md alongside AGENTS.md (#6912 by @Brendan-Z, PR by @app/roomote)
13+
- Remove deprecated GPT-4.5 Preview model (thanks @PeterDaveHello!)
14+
- Update: Claude Sonnet 4 context window configurable to 1 million tokens in Anthropic provider (thanks @daniel-lxs!)
15+
- Add: Minimal reasoning support to OpenRouter (thanks @daniel-lxs!)
16+
- Fix: Add configurable API request timeout for local providers (#6521 by @dabockster, PR by @app/roomote)
17+
- Fix: Add --no-sandbox flag to browser launch options (#6632 by @QuinsZouls, PR by @QuinsZouls)
18+
- Fix: Ensure JSON files respect .kilocodeignore during indexing (#6690 by @evermoving, PR by @app/roomote)
19+
- Add: New Chutes provider models (#6698 by @fstandhartinger, PR by @app/roomote)
20+
- Add: OpenAI gpt-oss models to Amazon Bedrock dropdown (#6752 by @josh-clanton-powerschool, PR by @app/roomote)
21+
- Fix: Correct tool repetition detector to not block first tool call when limit is 1 (#6834 by @NaccOll, PR by @app/roomote)
22+
- Fix: Improve checkpoint service initialization handling (thanks @NaccOll!)
23+
- Update: Improve zh-TW Traditional Chinese locale (thanks @PeterDaveHello!)
24+
- Add: Task expand and collapse translations (thanks @app/roomote!)
25+
- Update: Exclude GPT-5 models from 20% context window output token cap (thanks @app/roomote!)
26+
- Fix: Truncate long model names in model selector to prevent overflow (thanks @app/roomote!)
27+
- Add: Requesty base url support (thanks @requesty-JohnCosta27!)
28+
- Add: Native OpenAI provider support for Codex Mini model (#5386 by @KJ7LNW, PR by @daniel-lxs)
29+
- Add: IO Intelligence Provider support (thanks @ertan2002!)
30+
- Fix: MCP startup issues and remove refresh notifications (thanks @hannesrudolph!)
31+
- Fix: Improvements to GPT-5 OpenAI provider configuration (thanks @hannesrudolph!)
32+
- Fix: Clarify codebase_search path parameter as optional and improve tool descriptions (thanks @app/roomote!)
33+
- Fix: Bedrock provider workaround for LiteLLM passthrough issues (thanks @jr!)
34+
- Fix: Token usage and cost being underreported on cancelled requests (thanks @chrarnoldus!)
35+
36+
## [v4.81.0]
37+
38+
- [#1868](https://github.com/Kilo-Org/kilocode/pull/1868) [`50638b4`](https://github.com/Kilo-Org/kilocode/commit/50638b4226aa3de24f5a9b825a8ef7f1e4d376f6) Thanks [@Toukaiteio](https://github.com/Toukaiteio)! - Add Support For Qwen Code
39+
40+
### Patch Changes
41+
42+
- [#1968](https://github.com/Kilo-Org/kilocode/pull/1968) [`e7680cc`](https://github.com/Kilo-Org/kilocode/commit/e7680cc7f9563a52d4a4babe70ca300ce67aef4a) Thanks [@chrarnoldus](https://github.com/chrarnoldus)! - OpenRouter routing settings are no longer randomly reset
43+
44+
- [#1948](https://github.com/Kilo-Org/kilocode/pull/1948) [`ecc81c6`](https://github.com/Kilo-Org/kilocode/commit/ecc81c61db648f2701aa7d71f70cefc71a553300) Thanks [@hassoncs](https://github.com/hassoncs)! - Support drag-to-pan in the Task Timeline header
45+
46+
- [#1899](https://github.com/Kilo-Org/kilocode/pull/1899) [`22c59ba`](https://github.com/Kilo-Org/kilocode/commit/22c59ba824199f9be7662e56fa71a74ca042c7bd) Thanks [@ivanarifin](https://github.com/ivanarifin)! - Improve virtual quota fallback handler initialization and error handling
47+
48+
- [#1955](https://github.com/Kilo-Org/kilocode/pull/1955) [`553033a`](https://github.com/Kilo-Org/kilocode/commit/553033af3220c66e177f516df1bc6b7ee431192e) Thanks [@hassoncs](https://github.com/hassoncs)! - Add Max Cost input to the AutoApprove menu in the ChatView
49+
50+
## [v4.80.0]
51+
52+
- [#1893](https://github.com/Kilo-Org/kilocode/pull/1893) [`d36b1c1`](https://github.com/Kilo-Org/kilocode/commit/d36b1c17fa9d5cb06d13865b4d1ba1e66500a85c) Thanks [@chrarnoldus](https://github.com/chrarnoldus)! - More price details are now shown for Kilo Code Provider and OpenRouter. Average Kilo Code cost is the average cost of a model when using Kilo Code, after applying caching discounts. A breakdown of provider prices is also available.
53+
54+
- [#1893](https://github.com/Kilo-Org/kilocode/pull/1893) [`d36b1c1`](https://github.com/Kilo-Org/kilocode/commit/d36b1c17fa9d5cb06d13865b4d1ba1e66500a85c) Thanks [@chrarnoldus](https://github.com/chrarnoldus)! - Provider Routing options have been added to Kilo Code and OpenRouter settings. It is now possible to select a sorting preference (e.g. prefer lower price) and data policy (e.g. deny data collection).
55+
56+
### Patch Changes
57+
58+
- [#1924](https://github.com/Kilo-Org/kilocode/pull/1924) [`f7d54ee`](https://github.com/Kilo-Org/kilocode/commit/f7d54eee006c21e3b7760e2ee88f144760731892) Thanks [@chrarnoldus](https://github.com/chrarnoldus)! - The dedicated Big Model API provider was removed. Instead, you can use the Z.AI provider with open.bigmodel.cn endpoint.
59+
60+
## [v4.79.3]
61+
62+
- [#1911](https://github.com/Kilo-Org/kilocode/pull/1911) [`62018d4`](https://github.com/Kilo-Org/kilocode/commit/62018d4cb0dff0386bdccc68ce4a9dbb21834e8f) Thanks [@chrarnoldus](https://github.com/chrarnoldus)! - Fixed Enhance Prompt and Commit Message Generation not working with GPT-5 on the OpenAI provider
63+
64+
## [v4.79.2]
65+
66+
- [#1892](https://github.com/Kilo-Org/kilocode/pull/1892) [`c5cfb6c`](https://github.com/Kilo-Org/kilocode/commit/c5cfb6cc0af6b7de2a33832b6b1b56b60b950edc) Thanks [@chrarnoldus](https://github.com/chrarnoldus)! - Fixed not being able to set the Max Auto-Approve Cost
67+
68+
- [#1889](https://github.com/Kilo-Org/kilocode/pull/1889) [`2bbebd0`](https://github.com/Kilo-Org/kilocode/commit/2bbebd09c27a00c197de9dfcc384f34880fdb46f) Thanks [@unitythemaker](https://github.com/unitythemaker)! - Chutes model list updated
69+
70+
- [#1879](https://github.com/Kilo-Org/kilocode/pull/1879) [`e348ea1`](https://github.com/Kilo-Org/kilocode/commit/e348ea18cbbfc76abece9cbe9e54bc477e764e99) Thanks [@possible055](https://github.com/possible055)! - Update Traditional Chinese translations for Settings UI
71+
372
## [v4.79.1]
473

574
- [#1871](https://github.com/Kilo-Org/kilocode/pull/1871) [`fe0b1ce`](https://github.com/Kilo-Org/kilocode/commit/fe0b1ce7141e6fb07f4c4816fd1895a663ce13e7) Thanks [@kevinvandijk](https://github.com/kevinvandijk)! - Include changes from Roo Code v3.25.10

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<p align="center">
22
<a href="https://marketplace.visualstudio.com/items?itemName=kilocode.Kilo-Code"><img src="https://img.shields.io/visual-studio-marketplace/v/kilocode.Kilo-Code.svg?label=VS%20Code%20Marketplace" alt="VS Code Marketplace"></a>
3-
<!--<a href="https://marketplace.visualstudio.com/items?itemName=kilocode.Kilo-Code"><img src="https://img.shields.io/badge/Get%20$20%20of%20free%20tokens-green?logo=claude&logoColor=white" alt="Get $20 of tokens for free"></a>-->
43
<a href="https://x.com/kilo_code"><img src="https://img.shields.io/twitter/follow/kilo_code?style=flat&logo=x&color=555" alt="X (Twitter)"></a>
54
<a href="https://blog.kilocode.ai"><img src="https://img.shields.io/badge/Blog-555?style=flat&logo=substack&logoColor=white" alt="Substack Blog"></a>
65
<a href="https://kilocode.ai/discord"><img src="https://img.shields.io/discord/1349288496988160052?style=flat&logo=discord&logoColor=white" alt="Discord"></a>
@@ -9,15 +8,15 @@
98

109
# 🚀 Kilo Code
1110

12-
> Open-source VS Code AI agent. Merged features from [Roo Code](https://github.com/RooVetGit/Roo-Code) and [Cline](https://github.com/cline/cline).
11+
> Open-source VS Code AI agent. We frequently merge features from open-source projects, such as [Roo Code](https://github.com/RooVetGit/Roo-Code) and [Cline](https://github.com/cline/cline), while building our own vision.
1312
1413
- ✨ Generate code from natural language
1514
- ✅ Checks its own work
1615
- 🧪 Run terminal commands
1716
- 🌐 Automate the browser
1817
- 🤖 Latest AI models
1918
- 🎁 API keys optional
20-
- 💡 **$20 free credits for Gemini 2.5 Pro, Claude 4 Sonnet & Opus, and GPT-4.1**<br/>Share feedback and earn more credits!
19+
- 💡 **Get $25 in free credits: $5 when you sign up, $20 when you top-up for the first time** Credits can be used with 400+ models like Gemini 2.5 Pro, Claude 4 Sonnet & Opus, and GPT-5
2120

2221
<p align="center">
2322
<img src="https://raw.githubusercontent.com/Kilo-Org/kilocode/refs/heads/main/kilo.gif" width="100%" />
@@ -37,22 +36,23 @@
3736
## How to get started with Kilo Code
3837

3938
1. Install the Kilo Code extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=kilocode.Kilo-Code).
40-
2. Log in with your Google Account to get $20 in free Claude 4 Sonnet & Opus credits.
39+
2. Sign up to get $5 in free credits which can be used with 400+ models like Gemini 2.5 Pro, Claude 4 Sonnet & Opus, and GPT-5
4140
3. Start using the extension. Here's a video to help you get started (just click on the image below and you'll be redirected to YouTube):
4241

4342
[![Watch the video](https://img.youtube.com/vi/pqGfYXgrhig/maxresdefault.jpg)](https://youtu.be/pqGfYXgrhig)
4443

45-
## Difference between Roo Code and Cline
46-
47-
We're doing our best to combine the best of both worlds. Kilo Code combines all features of Cline, Roo, and adds a few of our own additions. It has the best features of both, and we're working on making it even better!
48-
49-
No need to fiddle with API keys, Kilo Code ships with the latest AI models plugged in, including Claude 4 Sonnet and Opus and Gemini 2.5 Pro.
50-
51-
Kilo Code is a direct fork from Roo Code, but also includes the following features from Cline (and more):
44+
## Difference between Kilo Code, Roo Code and Cline
45+
Kilo Code started as a fork of Roo Code, which itself is a fork of Cline. We frequently merge features from these open-source projects and contribute improvements back. Built on these foundations, Kilo Code is independently developed with our own vision for AI coding agents.
5246

47+
- No need to fiddle with API keys, Kilo Code ships with the latest AI models plugged in, including Gemini 2.5 Pro, Claude 4 Sonnet & Opus, and GPT-5
5348
- MCP Server Marketplace: Easily find, and use MCP servers to extend the agent capabilities.
49+
- Inline Assist (experimental)
50+
51+
Kilo Code is a direct fork from Roo Code, and also includes the following features from Cline (and our own features):
5452
- System notifications: Get notified when the agent is done with a task.
5553
- Easy model connection: with bigger free tier.
54+
- Editing previous messages
55+
- Assisted commit messages: we write git commit messages for you based on what changed
5656

5757
## Extension Development
5858

apps/playwright-e2e/helpers/webview-helpers.ts

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,26 @@ export async function waitForWebviewText(page: Page, text: string, timeout: numb
2626

2727
export async function postWebviewMessage(page: Page, message: WebviewMessage): Promise<void> {
2828
const webviewFrame = await findWebview(page)
29-
await webviewFrame.locator("body").evaluate((element, msg) => {
30-
if (!window.vscode) {
31-
throw new Error("Global vscode API not found")
32-
}
3329

34-
window.vscode.postMessage(msg)
35-
}, message)
30+
// Retry mechanism for VSCode API availability
31+
const maxRetries = 3
32+
for (let attempt = 1; attempt <= maxRetries; attempt++) {
33+
try {
34+
await webviewFrame.locator("body").evaluate((element, msg) => {
35+
if (!window.vscode) {
36+
throw new Error("Global vscode API not found")
37+
}
38+
39+
window.vscode.postMessage(msg)
40+
}, message)
41+
return // Success - exit the retry loop
42+
} catch (error) {
43+
if (attempt === maxRetries) {
44+
throw error // Re-throw on final attempt
45+
}
46+
await page.waitForTimeout(1000)
47+
}
48+
}
3649
}
3750

3851
export async function verifyExtensionInstalled(page: Page) {

0 commit comments

Comments
 (0)