mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 01:51:21 +08:00
Merge branch 'main' into fix/file-mention-prioritize-open-files
This commit is contained in:
@@ -4,3 +4,4 @@
|
||||
|
||||
# Visual regression baseline snapshots
|
||||
packages/kilo-ui/tests/**/*.png filter=lfs diff=lfs merge=lfs -text
|
||||
packages/kilo-vscode/tests/**/*.png filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
@@ -7,6 +7,9 @@ on:
|
||||
- "packages/ui/**"
|
||||
- "packages/util/**"
|
||||
- "packages/sdk/js/**"
|
||||
- "packages/kilo-vscode/webview-ui/**"
|
||||
- "packages/kilo-vscode/.storybook/**"
|
||||
- "packages/kilo-vscode/tests/visual-regression*"
|
||||
- ".github/workflows/visual-regression.yml"
|
||||
|
||||
jobs:
|
||||
@@ -101,3 +104,95 @@ jobs:
|
||||
name: visual-regression-results
|
||||
path: packages/kilo-ui/test-results/
|
||||
retention-days: 7
|
||||
|
||||
visual-regression-vscode:
|
||||
name: Visual Regression (kilo-vscode webview)
|
||||
runs-on: blacksmith-4vcpu-ubuntu-2404
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
lfs: true
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Setup Bun
|
||||
uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
|
||||
- name: Cache Bun modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.bun/install/cache
|
||||
key: bun-${{ hashFiles('bun.lock') }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: bun install
|
||||
|
||||
- name: Cache Playwright browsers
|
||||
id: playwright-cache-vscode
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.cache/ms-playwright
|
||||
key: playwright-vscode-${{ hashFiles('packages/kilo-vscode/package.json') }}
|
||||
|
||||
- name: Install Playwright browsers
|
||||
if: steps.playwright-cache-vscode.outputs.cache-hit != 'true'
|
||||
run: bunx playwright install chromium
|
||||
working-directory: packages/kilo-vscode
|
||||
|
||||
- name: Install Playwright system deps
|
||||
run: bunx playwright install-deps chromium
|
||||
working-directory: packages/kilo-vscode
|
||||
|
||||
- name: Cache Storybook build
|
||||
id: storybook-cache-vscode
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: packages/kilo-vscode/storybook-static
|
||||
key: storybook-vscode-${{ hashFiles('packages/kilo-vscode/webview-ui/src/**', 'packages/kilo-vscode/.storybook/**', 'packages/kilo-ui/src/**', 'packages/ui/src/**', 'packages/kilo-vscode/package.json') }}
|
||||
|
||||
- name: Build Storybook
|
||||
if: steps.storybook-cache-vscode.outputs.cache-hit != 'true'
|
||||
run: bun run build-storybook
|
||||
working-directory: packages/kilo-vscode
|
||||
|
||||
- name: Generate baselines for new/missing stories
|
||||
run: bun run test:visual:update
|
||||
working-directory: packages/kilo-vscode
|
||||
env:
|
||||
CI: true
|
||||
PLAYWRIGHT_WORKERS: "4"
|
||||
|
||||
- name: Commit and push new baselines (if any)
|
||||
id: commit-baselines-vscode
|
||||
run: |
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git add packages/kilo-vscode/tests/visual-regression.spec.ts-snapshots/
|
||||
if git diff --cached --quiet; then
|
||||
echo "No new baselines — nothing to commit."
|
||||
echo "changed=false" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
git commit -m "chore: update kilo-vscode visual regression baselines"
|
||||
git lfs push --all origin
|
||||
git push
|
||||
echo "changed=true" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
- name: Fail if baselines changed
|
||||
if: steps.commit-baselines-vscode.outputs.changed == 'true'
|
||||
run: |
|
||||
echo "::error::Visual regression baselines changed. New baselines have been committed to the branch. Please pull and review."
|
||||
exit 1
|
||||
|
||||
- name: Upload test results on failure
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: visual-regression-vscode-results
|
||||
path: packages/kilo-vscode/test-results/
|
||||
retention-days: 7
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
.husky/_
|
||||
.DS_Store
|
||||
node_modules
|
||||
.worktrees
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
},
|
||||
"packages/app": {
|
||||
"name": "@opencode-ai/app",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"@kilocode/kilo-i18n": "workspace:*",
|
||||
"@kilocode/kilo-ui": "workspace:*",
|
||||
@@ -77,7 +77,7 @@
|
||||
},
|
||||
"packages/desktop": {
|
||||
"name": "@opencode-ai/desktop",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"@opencode-ai/app": "workspace:*",
|
||||
"@opencode-ai/ui": "workspace:*",
|
||||
@@ -110,7 +110,7 @@
|
||||
},
|
||||
"packages/kilo-docs": {
|
||||
"name": "@kilocode/kilo-docs",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"@docsearch/css": "^4",
|
||||
"@docsearch/js": "^4",
|
||||
@@ -139,7 +139,7 @@
|
||||
},
|
||||
"packages/kilo-gateway": {
|
||||
"name": "@kilocode/kilo-gateway",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"@clack/prompts": "1.0.0-alpha.1",
|
||||
"@kilocode/plugin": "workspace:*",
|
||||
@@ -171,7 +171,7 @@
|
||||
},
|
||||
"packages/kilo-i18n": {
|
||||
"name": "@kilocode/kilo-i18n",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"devDependencies": {
|
||||
"@tsconfig/node22": "catalog:",
|
||||
"@types/bun": "catalog:",
|
||||
@@ -181,7 +181,7 @@
|
||||
},
|
||||
"packages/kilo-telemetry": {
|
||||
"name": "@kilocode/kilo-telemetry",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"@kilocode/kilo-gateway": "workspace:*",
|
||||
"@opentelemetry/api": "1.9.0",
|
||||
@@ -201,7 +201,7 @@
|
||||
},
|
||||
"packages/kilo-ui": {
|
||||
"name": "@kilocode/kilo-ui",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"@kobalte/core": "0.13.11",
|
||||
"lucide-solid": "0.576.0",
|
||||
@@ -226,7 +226,7 @@
|
||||
},
|
||||
"packages/kilo-vscode": {
|
||||
"name": "kilo-code",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "^0.39.0",
|
||||
"@kilocode/kilo-i18n": "workspace:*",
|
||||
@@ -249,6 +249,8 @@
|
||||
"zod": "^3.24.2",
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "1.58.2",
|
||||
"@storybook/addon-docs": "10.2.10",
|
||||
"@types/diff": "^6.0.0",
|
||||
"@types/mocha": "^10.0.10",
|
||||
"@types/node": "22.x",
|
||||
@@ -263,14 +265,18 @@
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"prettier": "^3.8.1",
|
||||
"qrcode": "^1.5.4",
|
||||
"storybook": "10.2.10",
|
||||
"storybook-solidjs-vite": "10.0.9",
|
||||
"ts-morph": "27.0.2",
|
||||
"typescript": "^5.9.3",
|
||||
"typescript-eslint": "^8.54.0",
|
||||
"vite": "7.3.1",
|
||||
"vite-plugin-solid": "2.11.10",
|
||||
},
|
||||
},
|
||||
"packages/opencode": {
|
||||
"name": "@kilocode/cli",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"bin": {
|
||||
"opencode": "./bin/opencode",
|
||||
},
|
||||
@@ -387,7 +393,7 @@
|
||||
},
|
||||
"packages/plugin": {
|
||||
"name": "@kilocode/plugin",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"@kilocode/sdk": "workspace:*",
|
||||
"zod": "catalog:",
|
||||
@@ -401,14 +407,14 @@
|
||||
},
|
||||
"packages/script": {
|
||||
"name": "@opencode-ai/script",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"devDependencies": {
|
||||
"@types/bun": "catalog:",
|
||||
},
|
||||
},
|
||||
"packages/sdk/js": {
|
||||
"name": "@kilocode/sdk",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"devDependencies": {
|
||||
"@hey-api/openapi-ts": "0.90.10",
|
||||
"@tsconfig/node22": "catalog:",
|
||||
@@ -419,7 +425,7 @@
|
||||
},
|
||||
"packages/ui": {
|
||||
"name": "@opencode-ai/ui",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"@kilocode/sdk": "workspace:*",
|
||||
"@kobalte/core": "catalog:",
|
||||
@@ -461,7 +467,7 @@
|
||||
},
|
||||
"packages/util": {
|
||||
"name": "@opencode-ai/util",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"dependencies": {
|
||||
"zod": "catalog:",
|
||||
},
|
||||
|
||||
+4
-4
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"nodeModules": {
|
||||
"x86_64-linux": "sha256-NrbWpaXEMxKRZVMwSfn0Zt/iJ+/rAgdkeu8saQtPJWg=",
|
||||
"aarch64-linux": "sha256-qwV7BBySUF2NpgFpPrYUAyEcOKOEHu0Su9HiDIoGlYk=",
|
||||
"aarch64-darwin": "sha256-eHGuncX+swJvE3UNKCl6yy9AeWHMkpZK209oEsCOjnc=",
|
||||
"x86_64-darwin": "sha256-jMqI1kJ/QVzPaOO8cVmm5dh5MFYSJ7YMkyAifgBO9KA="
|
||||
"x86_64-linux": "sha256-7YoMJRkLfE+49GuItkoTLj1nk8CxLAHGIdRtH2L5n4w=",
|
||||
"aarch64-linux": "sha256-A+JUa7PI+ICd1+xCzQM11zZQMzsOWYFwULTo7sk4t5Q=",
|
||||
"aarch64-darwin": "sha256-Pbh4id/Crsy6s6J2s7QlbDnUwtsdUXGjt+K5qz7o1mU=",
|
||||
"x86_64-darwin": "sha256-hSdwk2LNlSr25p4YKb5Yh4K3L0CazFQ+SOXIfFY0jCY="
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -107,6 +107,6 @@
|
||||
"@openrouter/ai-sdk-provider@1.5.4": "patches/@openrouter%2Fai-sdk-provider@1.5.4.patch",
|
||||
"ghostty-web@0.3.0": "patches/ghostty-web@0.3.0.patch"
|
||||
},
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"peerDependencies": {}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@opencode-ai/app",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"description": "",
|
||||
"type": "module",
|
||||
"exports": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@opencode-ai/desktop",
|
||||
"private": true,
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
id = "kilo"
|
||||
name = "Kilo"
|
||||
description = "The open source coding agent."
|
||||
version = "7.0.36"
|
||||
version = "7.0.37"
|
||||
schema_version = 1
|
||||
authors = ["Anomaly"]
|
||||
repository = "https://github.com/Kilo-Org/kilocode"
|
||||
@@ -11,26 +11,26 @@ name = "Kilo"
|
||||
icon = "./icons/opencode.svg"
|
||||
|
||||
[agent_servers.opencode.targets.darwin-aarch64]
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.36/opencode-darwin-arm64.zip"
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.37/opencode-darwin-arm64.zip"
|
||||
cmd = "./opencode"
|
||||
args = ["acp"]
|
||||
|
||||
[agent_servers.opencode.targets.darwin-x86_64]
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.36/opencode-darwin-x64.zip"
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.37/opencode-darwin-x64.zip"
|
||||
cmd = "./opencode"
|
||||
args = ["acp"]
|
||||
|
||||
[agent_servers.opencode.targets.linux-aarch64]
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.36/opencode-linux-arm64.tar.gz"
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.37/opencode-linux-arm64.tar.gz"
|
||||
cmd = "./opencode"
|
||||
args = ["acp"]
|
||||
|
||||
[agent_servers.opencode.targets.linux-x86_64]
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.36/opencode-linux-x64.tar.gz"
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.37/opencode-linux-x64.tar.gz"
|
||||
cmd = "./opencode"
|
||||
args = ["acp"]
|
||||
|
||||
[agent_servers.opencode.targets.windows-x86_64]
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.36/opencode-windows-x64.zip"
|
||||
archive = "https://github.com/Kilo-Org/kilocode/releases/download/v7.0.37/opencode-windows-x64.zip"
|
||||
cmd = "./opencode.exe"
|
||||
args = ["acp"]
|
||||
|
||||
@@ -529,12 +529,12 @@ export function TopNav({ onMobileMenuToggle, isMobileMenuOpen = false, showMobil
|
||||
}
|
||||
|
||||
.announcement-banner {
|
||||
background: #1a1a18;
|
||||
color: #a3a3a2;
|
||||
background: var(--bg-secondary);
|
||||
color: var(--text-color);
|
||||
padding: 0.5rem 1rem;
|
||||
text-align: center;
|
||||
font-size: 0.875rem;
|
||||
border-bottom: 1px solid #3f3f3f;
|
||||
border-bottom: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.announcement-banner p {
|
||||
@@ -542,13 +542,13 @@ export function TopNav({ onMobileMenuToggle, isMobileMenuOpen = false, showMobil
|
||||
}
|
||||
|
||||
.announcement-banner :global(a) {
|
||||
color: #f8f674;
|
||||
color: var(--accent-color);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 2px;
|
||||
}
|
||||
|
||||
.announcement-banner :global(a:hover) {
|
||||
color: #ffff8d;
|
||||
color: var(--accent-hover);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@kilocode/kilo-docs",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev --webpack --port 3002",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/package.json",
|
||||
"name": "@kilocode/kilo-gateway",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"description": "Unified Kilo Gateway package for OpenCode - authentication, provider, and API integration",
|
||||
|
||||
@@ -58,13 +58,14 @@ export const DEFAULT_EDITOR_NAME = "Kilo CLI"
|
||||
/** Environment variable name for custom editor name */
|
||||
export const ENV_EDITOR_NAME = "KILOCODE_EDITOR_NAME"
|
||||
|
||||
/** Environment variable name for version (set by CLI at startup) */
|
||||
export const ENV_VERSION = "KILOCODE_VERSION"
|
||||
|
||||
/** Tester header value for suppressing warnings */
|
||||
export const TESTER_SUPPRESS_VALUE = "SUPPRESS"
|
||||
|
||||
// kilocode_change start
|
||||
/** Header name for feature tracking */
|
||||
export const HEADER_FEATURE = "X-KILOCODE-FEATURE"
|
||||
|
||||
/** Environment variable name for feature override */
|
||||
export const ENV_FEATURE = "KILOCODE_FEATURE"
|
||||
// kilocode_change end
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
import { z } from "zod"
|
||||
import { KILO_API_BASE } from "./constants.js"
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
/**
|
||||
* Legacy Kilo CLI migration module
|
||||
*
|
||||
|
||||
@@ -10,8 +10,9 @@ import {
|
||||
CONTENT_TYPE,
|
||||
DEFAULT_EDITOR_NAME,
|
||||
ENV_EDITOR_NAME,
|
||||
ENV_VERSION,
|
||||
TESTER_SUPPRESS_VALUE,
|
||||
ENV_FEATURE, // kilocode_change
|
||||
ENV_FEATURE,
|
||||
} from "./api/constants.js"
|
||||
|
||||
/**
|
||||
@@ -45,10 +46,13 @@ export const DEFAULT_HEADERS = {
|
||||
|
||||
/**
|
||||
* Get editor name header value
|
||||
* Defaults to "opencode" but can be customized
|
||||
* Defaults to "Kilo CLI" but can be customized via KILOCODE_EDITOR_NAME.
|
||||
* Appends the version from KILOCODE_VERSION when available.
|
||||
*/
|
||||
export function getEditorNameHeader(): string {
|
||||
return process.env[ENV_EDITOR_NAME] ?? DEFAULT_EDITOR_NAME
|
||||
const name = process.env[ENV_EDITOR_NAME] ?? DEFAULT_EDITOR_NAME
|
||||
const version = process.env[ENV_VERSION]
|
||||
return version ? `${name} ${version}` : name
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -62,13 +66,11 @@ export function buildKiloHeaders(
|
||||
machineId?: string
|
||||
},
|
||||
): Record<string, string> {
|
||||
// kilocode_change start
|
||||
const feature = getFeatureHeader()
|
||||
const headers: Record<string, string> = {
|
||||
[X_KILOCODE_EDITORNAME]: getEditorNameHeader(),
|
||||
...(feature ? { [X_KILOCODE_FEATURE]: feature } : {}),
|
||||
}
|
||||
// kilocode_change end
|
||||
|
||||
if (metadata?.taskId) {
|
||||
headers[X_KILOCODE_TASKID] = metadata.taskId
|
||||
|
||||
@@ -9,7 +9,7 @@ export { KiloAuthPlugin, default } from "./plugin.js"
|
||||
export { createKilo } from "./provider.js"
|
||||
export { createKiloDebug } from "./provider-debug.js"
|
||||
export { kiloCustomLoader } from "./loader.js"
|
||||
export { buildKiloHeaders, getEditorNameHeader, getFeatureHeader, DEFAULT_HEADERS } from "./headers.js" // kilocode_change - added getFeatureHeader
|
||||
export { buildKiloHeaders, getEditorNameHeader, getFeatureHeader, DEFAULT_HEADERS } from "./headers.js"
|
||||
|
||||
// ============================================================================
|
||||
// Auth
|
||||
@@ -93,6 +93,7 @@ export {
|
||||
HEADER_FEATURE,
|
||||
DEFAULT_EDITOR_NAME,
|
||||
ENV_EDITOR_NAME,
|
||||
ENV_VERSION,
|
||||
TESTER_SUPPRESS_VALUE,
|
||||
ENV_FEATURE,
|
||||
} from "./api/constants.js"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - Kilo Gateway types
|
||||
import type { Provider as SDK } from "ai"
|
||||
import type { LanguageModelV2 } from "@openrouter/ai-sdk-provider"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/package.json",
|
||||
"name": "@kilocode/kilo-i18n",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"description": "Kilo-specific i18n translations and overrides",
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
// Kilo-specific translations and overrides
|
||||
// Keys here will override any matching keys from upstream translations
|
||||
export const dict = {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1":
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1": "Kilo Gateway 为您提供一组精选的可靠优化模型,专为编码代理设计。",
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// kilocode_change - new file
|
||||
export const dict = {
|
||||
// Kilo Gateway provider translations
|
||||
"provider.connect.kiloGateway.line1": "Kilo Gateway 為您提供一組精選的可靠優化模型,專為編碼代理設計。",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://json.schemastore.org/package.json",
|
||||
"name": "@kilocode/kilo-telemetry",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"description": "Telemetry for Kilo CLI - PostHog analytics integration",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@kilocode/kilo-ui",
|
||||
"version": "7.0.36",
|
||||
"version": "7.0.37",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"exports": {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Accordion overrides */
|
||||
|
||||
[data-component="accordion"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/accordion"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/app-icon"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/icons/app"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Auto-approve Bar overrides */
|
||||
|
||||
[data-component="auto-approve-bar"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/avatar"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Prevent tool-trigger content from pushing the collapsible arrow off-screen */
|
||||
[data-component="tool-trigger"] {
|
||||
[data-slot="basic-tool-tool-trigger-content"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/basic-tool"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Button overrides – sized to match @vscode/webview-ui-toolkit */
|
||||
|
||||
[data-component="button"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/button"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Card overrides – harmonized with @vscode/webview-ui-toolkit */
|
||||
|
||||
[data-component="card"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/card"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Chat Input (Textarea with blue border) overrides – sized to match @vscode/webview-ui-toolkit */
|
||||
|
||||
[data-component="chat-input"],
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Checkbox overrides – sized to match @vscode/webview-ui-toolkit */
|
||||
|
||||
[data-component="checkbox"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/checkbox"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Code overrides */
|
||||
|
||||
[data-component="code"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/code"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/collapsible"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Context Menu overrides – sized to match @vscode/webview-ui-toolkit */
|
||||
|
||||
[data-component="context-menu-content"],
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/context-menu"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Dialog overrides – harmonized with @vscode/webview-ui-toolkit */
|
||||
|
||||
[data-component="dialog-overlay"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/dialog"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/diff-changes"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/diff-ssr"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/diff"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/dock-prompt"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/dock-surface"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Dropdown Menu overrides – sized to match @vscode/webview-ui-toolkit */
|
||||
|
||||
[data-component="dropdown-menu-content"],
|
||||
@@ -21,12 +20,10 @@
|
||||
color: var(--text-on-interactive-base, var(--text-strong));
|
||||
}
|
||||
|
||||
/* kilocode_change start - preserve disabled state behavior from upstream */
|
||||
&[data-disabled] {
|
||||
cursor: default;
|
||||
pointer-events: none;
|
||||
}
|
||||
/* kilocode_change end */
|
||||
}
|
||||
|
||||
[data-slot="dropdown-menu-separator"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/dropdown-menu"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/favicon"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/file-icon"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/icons/file-type"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/font"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/hover-card"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Icon Button overrides – sized to match @vscode/webview-ui-toolkit */
|
||||
|
||||
[data-component="icon-button"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/icon-button"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/icon"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/image-preview"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Inline Input overrides */
|
||||
|
||||
[data-component="inline-input"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/inline-input"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/keybind"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/line-comment"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo List overrides – styled to match legacy SelectDropdown items */
|
||||
|
||||
[data-component="list"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/list"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/logo"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/markdown"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/message-nav"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Message Part overrides */
|
||||
|
||||
[data-component="text-part"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/message-part"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Message Row overrides */
|
||||
|
||||
[data-component="message-row"] {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Model Info Card overrides – harmonized with @vscode/webview-ui-toolkit */
|
||||
|
||||
[data-component="model-info-card"] {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Model Selector Popover overrides – styled to match VSCode look */
|
||||
|
||||
/* ModelSelectorPopover content panel */
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Popover overrides */
|
||||
|
||||
[data-component="popover-content"] {
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/popover"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/progress-circle"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Prompt Input overrides – styled to match legacy ChatTextArea look */
|
||||
|
||||
/* Form wrapper: VS Code native input look instead of pill shape */
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/provider-icon"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/icons/provider"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/radio-group"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/resize-handle"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* kilocode_change - new file */
|
||||
/* Kilo Select overrides – styled to match legacy SelectDropdown look */
|
||||
|
||||
/* Select trigger (renders as a Button, override the button sizing) */
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/select"
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// kilocode_change - new file
|
||||
export * from "@opencode-ai/ui/session-review"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user