diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 7297f9ef70..d4c7b82c11 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -6,7 +6,7 @@ body: attributes: value: | Thank you for contributing! Please search similar issues first to see if your bug is already known: - https://github.com/MatterAIOrg/AxonCode/issues + https://github.com/MatterAIOrg/Orbital-Extension/issues - type: dropdown id: plugin-type diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 6b527ef777..edbd96888d 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,10 +1,10 @@ blank_issues_enabled: false contact_links: - name: Feature Request / Idea - url: https://github.com/MatterAIOrg/AxonCode/discussions/new?category=1-feature-requests + url: https://github.com/MatterAIOrg/Orbital-Extension/discussions/new?category=1-feature-requests about: Submit a feature request (check Discussions first to prevent duplicates). - name: Design Improvement - url: https://github.com/MatterAIOrg/AxonCode/discussions/categories/2-design-improvements + url: https://github.com/MatterAIOrg/Orbital-Extension/discussions/categories/2-design-improvements about: Suggestions for better design (where the current UI/UX is not clear). - name: Leave a Review url: https://marketplace.visualstudio.com/items?itemName=matterai.axon-code&ssr=false#review-details diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 2efc555446..6921023eaf 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -9,7 +9,7 @@ Before you begin, choose one of the following development environment options: ### Option 1: Native Development (Recommended for MacOS/Linux/Windows Subsystem for Linux) 1. **Git** - For version control -2. **Node.js** (version [v20.19.2](https://github.com/MatterAIOrg/AxonCode/blob/main/.nvmrc) recommended) +2. **Node.js** (version [v20.19.2](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/.nvmrc) recommended) 3. **pnpm** - Package manager (https://pnpm.io/) 4. **Visual Studio Code** - Our recommended IDE for development @@ -38,7 +38,7 @@ Before you begin, choose one of the following development environment options: 1. **Fork and Clone the Repository**: - **Fork the Repository**: - - Visit the [Axon Code GitHub repository](https://github.com/MatterAIOrg/AxonCode) + - Visit the [Axon Code GitHub repository](https://github.com/MatterAIOrg/Orbital-Extension) - Click the "Fork" button in the top-right corner to create your own copy. - **Clone Your Fork**: ```bash @@ -63,7 +63,7 @@ While not strictly necessary for running the extension, these extensions are rec - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) - Integrates ESLint into VS Code. - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - Integrates Prettier into VS Code. -The full list of recommended extensions is [here](https://github.com/MatterAIOrg/AxonCode/blob/main/.vscode/extensions.json) +The full list of recommended extensions is [here](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/.vscode/extensions.json) #### Devcontainer Setup (Recommended for Windows) @@ -264,11 +264,11 @@ This automatically sets the `KILOCODE_BACKEND_BASE_URL` environment variable, ma We welcome contributions to Axon Code! Here's how you can help: -1. **Report an issue** using [GitHub Issues](https://github.com/MatterAIOrg/AxonCode/issues) +1. **Report an issue** using [GitHub Issues](https://github.com/MatterAIOrg/Orbital-Extension/issues) 2. **Find an issue** and submit a Pull Request with your fix 3. **Write tests** to improve Code Coverage 4. **Improve Documentation** at [matterai.so/docs](https://matterai.so/docs) -5. **Suggest a new feature** using [GitHub Discussions](https://github.com/MatterAIOrg/AxonCode/discussions/categories/ideas)! +5. **Suggest a new feature** using [GitHub Discussions](https://github.com/MatterAIOrg/Orbital-Extension/discussions/categories/ideas)! 6. Want to **implement something new**? Awesome! We'd be glad to support you on [Discord](https://discord.gg/Ja6BkfyTzJ)! ## Community diff --git a/apps/kilocode-docs/docs/basic-usage/connecting-providers.md b/apps/kilocode-docs/docs/basic-usage/connecting-providers.md index ef5ad7f9f2..39aec0f5a4 100644 --- a/apps/kilocode-docs/docs/basic-usage/connecting-providers.md +++ b/apps/kilocode-docs/docs/basic-usage/connecting-providers.md @@ -12,7 +12,7 @@ sidebar_label: Overview - VS Code tool you install from the marketplace - Handles UI, file operations, and workflow management -- [Open source](https://github.com/MatterAIOrg/AxonCode) +- [Open source](https://github.com/MatterAIOrg/Orbital-Extension) - Connects to any AI provider ### Kilo Gateway Provider diff --git a/apps/kilocode-docs/docs/cli.md b/apps/kilocode-docs/docs/cli.md index 7e4dd80ff7..b394a0f083 100644 --- a/apps/kilocode-docs/docs/cli.md +++ b/apps/kilocode-docs/docs/cli.md @@ -51,7 +51,7 @@ to start the CLI and begin a new task with your preferred model and relevant mod Kilo gives you the ability to bring your own keys for a number of model providers and AI gateways, like OpenRouter and Vercel AI Gateway. Each provider has unique configuration options and some let you set environment variables. -You can reference the [Provider Configuration Guide](https://github.com/MatterAIOrg/AxonCode/blob/main/cli/docs/PROVIDER_CONFIGURATION.md) for examples if you want to edit .config files manually. You can also run: +You can reference the [Provider Configuration Guide](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/cli/docs/PROVIDER_CONFIGURATION.md) for examples if you want to edit .config files manually. You can also run: `kilocode config` diff --git a/apps/kilocode-docs/docs/extending/contributing-to-kilo.md b/apps/kilocode-docs/docs/extending/contributing-to-kilo.md index 01e43dde5b..88aef96fba 100644 --- a/apps/kilocode-docs/docs/extending/contributing-to-kilo.md +++ b/apps/kilocode-docs/docs/extending/contributing-to-kilo.md @@ -57,7 +57,7 @@ git checkout -b your-branch-name git push origin your-branch-name ``` -2. Go to the [Axon Code repository](https://github.com/MatterAIOrg/AxonCode) +2. Go to the [Axon Code repository](https://github.com/MatterAIOrg/Orbital-Extension) 3. Click "New Pull Request" and select "compare across forks" @@ -77,7 +77,7 @@ Custom modes are a powerful way to extend Axon Code's capabilities. To create an 2. Test your mode thoroughly -3. Share your mode with the community by submitting a [GitHub Discussion](https://github.com/MatterAIOrg/AxonCode/discussions) +3. Share your mode with the community by submitting a [GitHub Discussion](https://github.com/MatterAIOrg/Orbital-Extension/discussions) ## Documentation Contributions @@ -107,14 +107,14 @@ When participating in the Axon Code community: - Be respectful and inclusive - Provide constructive feedback - Help newcomers get started -- Follow the [Code of Conduct](https://github.com/MatterAIOrg/AxonCode/blob/main/CODE_OF_CONDUCT.md) +- Follow the [Code of Conduct](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/CODE_OF_CONDUCT.md) ## Getting Help If you need help with your contribution: - Join our [Discord community](https://discord.gg/fJU5DvanU3) for real-time support -- Ask questions on [GitHub Discussions](https://github.com/MatterAIOrg/AxonCode/discussions) +- Ask questions on [GitHub Discussions](https://github.com/MatterAIOrg/Orbital-Extension/discussions) - Visit our [Reddit community](https://www.reddit.com/r/matter_ai) ## Recognition diff --git a/apps/kilocode-docs/docs/extending/development-environment.md b/apps/kilocode-docs/docs/extending/development-environment.md index 07fa9131a8..a426901865 100644 --- a/apps/kilocode-docs/docs/extending/development-environment.md +++ b/apps/kilocode-docs/docs/extending/development-environment.md @@ -1,6 +1,6 @@ # Development Environment - + This document will help you set up your development environment and understand how to work with the codebase. Whether you're fixing bugs, adding features, or just exploring the code, this guide will get you started. @@ -9,7 +9,7 @@ This document will help you set up your development environment and understand h Before you begin, make sure you have the following installed: 1. **Git** - For version control -2. **Node.js** (version [v20.18.1](https://github.com/MatterAIOrg/AxonCode/blob/main/.nvmrc) or higher recommended) and npm +2. **Node.js** (version [v20.18.1](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/.nvmrc) or higher recommended) and npm 3. **Visual Studio Code** - Our recommended IDE for development ## Getting Started @@ -19,7 +19,7 @@ Before you begin, make sure you have the following installed: 1. **Fork and Clone the Repository**: - **Fork the Repository**: - - Visit the [Axon Code GitHub repository](https://github.com/MatterAIOrg/AxonCode) + - Visit the [Axon Code GitHub repository](https://github.com/MatterAIOrg/Orbital-Extension) - Click the "Fork" button in the top-right corner to create your own copy. - **Clone Your Fork**: ```bash @@ -44,7 +44,7 @@ While not strictly necessary for running the extension, these extensions are rec - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) - Integrates ESLint into VS Code. - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - Integrates Prettier into VS Code. -The full list of recommended extensions is [here](https://github.com/MatterAIOrg/AxonCode/blob/main/.vscode/extensions.json) +The full list of recommended extensions is [here](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/.vscode/extensions.json) ### Project Structure @@ -143,7 +143,7 @@ E2E tests verify the extension works correctly within VSCode: npm run test:integration ``` -For more details on E2E tests, see [e2e/VSCODE_INTEGRATION_TESTS.md](https://github.com/MatterAIOrg/AxonCode/blob/main/e2e/VSCODE_INTEGRATION_TESTS.md). +For more details on E2E tests, see [e2e/VSCODE_INTEGRATION_TESTS.md](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/e2e/VSCODE_INTEGRATION_TESTS.md). ## Linting and Type Checking diff --git a/apps/kilocode-docs/docs/faq.md b/apps/kilocode-docs/docs/faq.md index 83403cdf8d..468f8d9530 100644 --- a/apps/kilocode-docs/docs/faq.md +++ b/apps/kilocode-docs/docs/faq.md @@ -175,7 +175,7 @@ Yes, you can create your own MCP servers to add custom functionality to Axon Cod - Check your internet connection. - Check the status of your chosen API provider. - Try restarting VS Code. -- If the problem persists, report the issue on [GitHub](https://github.com/MatterAIOrg/AxonCode/issues) or [Discord](https://discord.gg/fJU5DvanU3). +- If the problem persists, report the issue on [GitHub](https://github.com/MatterAIOrg/Orbital-Extension/issues) or [Discord](https://discord.gg/fJU5DvanU3). ### I'm seeing an error message. What does it mean? @@ -187,4 +187,4 @@ Axon Code uses VS Code's built-in file editing capabilities. You can use the sta ### How do I report a bug or suggest a feature? -Please report bugs or suggest features on the Axon Code [Issues page](https://github.com/MatterAIOrg/AxonCode/issues) and [Feature Requests page](https://github.com/MatterAIOrg/AxonCode/discussions/categories/ideas). +Please report bugs or suggest features on the Axon Code [Issues page](https://github.com/MatterAIOrg/Orbital-Extension/issues) and [Feature Requests page](https://github.com/MatterAIOrg/Orbital-Extension/discussions/categories/ideas). diff --git a/apps/kilocode-docs/docs/features/custom-modes.md b/apps/kilocode-docs/docs/features/custom-modes.md index fb712bae22..bfe78bc4a6 100644 --- a/apps/kilocode-docs/docs/features/custom-modes.md +++ b/apps/kilocode-docs/docs/features/custom-modes.md @@ -491,4 +491,4 @@ customModes: ## Community Gallery -Ready to explore more? Check out the [Show and Tell](https://github.com/MatterAIOrg/AxonCode/discussions/categories/show-and-tell) to discover and share custom modes created by the community! +Ready to explore more? Check out the [Show and Tell](https://github.com/MatterAIOrg/Orbital-Extension/discussions/categories/show-and-tell) to discover and share custom modes created by the community! diff --git a/apps/kilocode-docs/docs/features/experimental/experimental-features.md b/apps/kilocode-docs/docs/features/experimental/experimental-features.md index 79708d5318..13d8b29d26 100644 --- a/apps/kilocode-docs/docs/features/experimental/experimental-features.md +++ b/apps/kilocode-docs/docs/features/experimental/experimental-features.md @@ -40,6 +40,6 @@ When enabled, Axon Code will remind the model about the details of its current m ## Providing Feedback -If you encounter any issues with experimental features, or if you have suggestions for improvements, please report them on the [Axon Code Code GitHub Issues page](https://github.com/MatterAIOrg/AxonCode) or join our [Discord server](https://kilo.love/discord) where we have channels dedciated to many experimental features. +If you encounter any issues with experimental features, or if you have suggestions for improvements, please report them on the [Axon Code Code GitHub Issues page](https://github.com/MatterAIOrg/Orbital-Extension) or join our [Discord server](https://kilo.love/discord) where we have channels dedciated to many experimental features. Your feedback is valuable and helps us improve Axon Code! diff --git a/apps/kilocode-docs/docs/features/shell-integration.md b/apps/kilocode-docs/docs/features/shell-integration.md index 2ec2c1e847..361548ecbb 100644 --- a/apps/kilocode-docs/docs/features/shell-integration.md +++ b/apps/kilocode-docs/docs/features/shell-integration.md @@ -409,7 +409,7 @@ The [VSCode Terminal Integration Test Extension](https://github.com/KJ7LNW/vsce- If you've followed these steps and are still experiencing problems, please: -1. Check the [Axon Code GitHub Issues](https://github.com/MatterAIOrg/AxonCode/issues) to see if others have reported similar problems +1. Check the [Axon Code GitHub Issues](https://github.com/MatterAIOrg/Orbital-Extension/issues) to see if others have reported similar problems 2. If not, create a new issue with details about your operating system, VSCode/Cursor version, and the steps you've tried For additional help, join our [Discord](https://discord.gg/fJU5DvanU3). diff --git a/apps/kilocode-docs/docs/getting-started/installing.md b/apps/kilocode-docs/docs/getting-started/installing.md index e9cbfb60eb..7a68a8f6fe 100644 --- a/apps/kilocode-docs/docs/getting-started/installing.md +++ b/apps/kilocode-docs/docs/getting-started/installing.md @@ -73,8 +73,8 @@ If you prefer to download and install the VSIX file directly: 1. **Download the VSIX file:** - - Find official releases on the [Axon Code GitHub Releases page](https://github.com/MatterAIOrg/AxonCode/releases) - - Download the `.vsix` file from the [latest release](https://github.com/MatterAIOrg/AxonCode/releases/latest) + - Find official releases on the [Axon Code GitHub Releases page](https://github.com/MatterAIOrg/Orbital-Extension/releases) + - Download the `.vsix` file from the [latest release](https://github.com/MatterAIOrg/Orbital-Extension/releases/latest) 2. **Install in VS Code:** - Open VS Code @@ -106,5 +106,5 @@ If you prefer to download and install the VSIX file directly: If you encounter issues not covered here: - Join our [Discord community](https://discord.gg/fJU5DvanU3) for real-time support -- Submit issues on [GitHub](https://github.com/MatterAIOrg/AxonCode/issues) +- Submit issues on [GitHub](https://github.com/MatterAIOrg/Orbital-Extension/issues) - Visit our [Reddit community](https://www.reddit.com/r/matter_ai) diff --git a/apps/kilocode-docs/docs/jetbrains-troubleshooting.md b/apps/kilocode-docs/docs/jetbrains-troubleshooting.md index ff50b31528..f4c9afbbf8 100644 --- a/apps/kilocode-docs/docs/jetbrains-troubleshooting.md +++ b/apps/kilocode-docs/docs/jetbrains-troubleshooting.md @@ -9,7 +9,7 @@ The following features, available in the VS Code version of Axon Code, are not c - **Autocomplete/QuickTasks** - **Git Commit Message Generation** This feature is missing but will be added soon! -We're actively working on bringing feature parity between the VS Code and JetBrains versions. Check our [GitHub repository](https://github.com/MatterAIOrg/AxonCode) for updates on development progress. +We're actively working on bringing feature parity between the VS Code and JetBrains versions. Check our [GitHub repository](https://github.com/MatterAIOrg/Orbital-Extension) for updates on development progress. ## Node.js Requirements diff --git a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/connecting-providers.md b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/connecting-providers.md index 183b781eac..66dc81806c 100644 --- a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/connecting-providers.md +++ b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/basic-usage/connecting-providers.md @@ -12,7 +12,7 @@ sidebar_label: Overview - 您从市场安装的 VS Code 工具 - 处理 UI、文件操作和工作流管理 -- [开源](https://github.com/MatterAIOrg/AxonCode) +- [开源](https://github.com/MatterAIOrg/Orbital-Extension) - 连接到任何 AI 提供商 ### Axon Code API 提供商 diff --git a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/contributing-to-kilo.md b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/contributing-to-kilo.md index 2dab8c614a..983eafc7be 100644 --- a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/contributing-to-kilo.md +++ b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/contributing-to-kilo.md @@ -57,7 +57,7 @@ git checkout -b your-branch-name git push origin your-branch-name ``` -2. 前往 [Axon Code 仓库](https://github.com/MatterAIOrg/AxonCode) +2. 前往 [Axon Code 仓库](https://github.com/MatterAIOrg/Orbital-Extension) 3. 点击 "New Pull Request" 并选择 "compare across forks" @@ -77,7 +77,7 @@ git checkout -b your-branch-name 2. 彻底测试你的模式 -3. 通过提交 [GitHub Discussion](https://github.com/MatterAIOrg/AxonCode/discussions) 与社区分享你的模式 +3. 通过提交 [GitHub Discussion](https://github.com/MatterAIOrg/Orbital-Extension/discussions) 与社区分享你的模式 ## 文档贡献 @@ -107,14 +107,14 @@ git checkout -b your-branch-name - 保持尊重和包容 - 提供建设性的反馈 - 帮助新手入门 -- 遵守 [行为准则](https://github.com/MatterAIOrg/AxonCode/blob/main/CODE_OF_CONDUCT.md) +- 遵守 [行为准则](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/CODE_OF_CONDUCT.md) ## 获取帮助 如果你需要帮助: - 加入我们的 [Discord 社区](https://discord.gg/fJU5DvanU3) 获取实时支持 -- 在 [GitHub Discussions](https://github.com/MatterAIOrg/AxonCode/discussions) 上提问 +- 在 [GitHub Discussions](https://github.com/MatterAIOrg/Orbital-Extension/discussions) 上提问 - 访问我们的 [Reddit 社区](https://www.reddit.com/r/matter_ai) ## 致谢 diff --git a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/development-environment.md b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/development-environment.md index 90cf2697c8..f7e34c4142 100644 --- a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/development-environment.md +++ b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/extending/development-environment.md @@ -1,6 +1,6 @@ # 开发环境 - + 本文档将帮助你设置开发环境,并了解如何与代码库一起工作。无论你是修复错误、添加功能,还是仅仅探索代码,本指南都将帮助你入门。 @@ -9,7 +9,7 @@ 在开始之前,请确保已安装以下内容: 1. **Git** - 用于版本控制 -2. **Node.js**(建议使用 [v20.18.1](https://github.com/MatterAIOrg/AxonCode/blob/main/.nvmrc) 或更高版本)和 npm +2. **Node.js**(建议使用 [v20.18.1](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/.nvmrc) 或更高版本)和 npm 3. **Visual Studio Code** - 我们推荐的开发 IDE ## 入门 @@ -19,7 +19,7 @@ 1. **Fork 并克隆仓库**: - **Fork 仓库**: - - 访问 [Axon Code GitHub 仓库](https://github.com/MatterAIOrg/AxonCode) + - 访问 [Axon Code GitHub 仓库](https://github.com/MatterAIOrg/Orbital-Extension) - 点击右上角的 "Fork" 按钮,创建你自己的副本。 - **克隆你的 Fork**: ```bash @@ -44,7 +44,7 @@ - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) - 将 ESLint 集成到 VS Code 中。 - [Prettier - Code formatter](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - 将 Prettier 集成到 VS Code 中。 -推荐的扩展完整列表在[这里](https://github.com/MatterAIOrg/AxonCode/blob/main/.vscode/extensions.json) +推荐的扩展完整列表在[这里](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/.vscode/extensions.json) ### 项目结构 @@ -143,7 +143,7 @@ E2E 测试验证扩展在 VSCode 中是否正确工作: npm run test:integration ``` -有关 E2E 测试的更多详细信息,请参阅 [e2e/VSCODE_INTEGRATION_TESTS.md](https://github.com/MatterAIOrg/AxonCode/blob/main/e2e/VSCODE_INTEGRATION_TESTS.md)。 +有关 E2E 测试的更多详细信息,请参阅 [e2e/VSCODE_INTEGRATION_TESTS.md](https://github.com/MatterAIOrg/Orbital-Extension/blob/main/e2e/VSCODE_INTEGRATION_TESTS.md)。 ## 代码检查和类型检查 diff --git a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/faq.md b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/faq.md index fb6be3370e..8d6b995200 100644 --- a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/faq.md +++ b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/faq.md @@ -162,7 +162,7 @@ Kilo Code支持多种API提供商,包括: - 检查你的互联网连接 - 检查你选择的API提供商的状态 - 尝试重启VS Code -- 如果问题仍然存在,请在[GitHub](https://github.com/MatterAIOrg/AxonCode/issues)或[Discord](https://discord.gg/fJU5DvanU3)上报告问题 +- 如果问题仍然存在,请在[GitHub](https://github.com/MatterAIOrg/Orbital-Extension/issues)或[Discord](https://discord.gg/fJU5DvanU3)上报告问题 ### 我看到错误消息。这是什么意思? @@ -174,4 +174,4 @@ Kilo Code使用VS Code内置的文件编辑功能。你可以使用标准的"撤 ### 如何报告bug或建议功能? -请在Kilo Code的[问题页面](https://github.com/MatterAIOrg/AxonCode/issues)和[功能请求页面](https://github.com/MatterAIOrg/AxonCode/discussions/categories/ideas)上报告bug或建议功能。 +请在Kilo Code的[问题页面](https://github.com/MatterAIOrg/Orbital-Extension/issues)和[功能请求页面](https://github.com/MatterAIOrg/Orbital-Extension/discussions/categories/ideas)上报告bug或建议功能。 diff --git a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/custom-modes.md b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/custom-modes.md index a82dc61f26..25237ca3f6 100644 --- a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/custom-modes.md +++ b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/custom-modes.md @@ -9,8 +9,8 @@ Axon Code 允许您创建**自定义模式**,以根据特定任务或工作流 - **实验:** 安全地尝试不同的提示和配置,而不会影响其他模式 - **团队协作:** 与您的团队共享自定义模式以标准化工作流 - 自定义模式界面概述 - *Axon Code 用于创建和管理自定义模式的界面。* + 自定义模式界面概述 + *Axon Code 用于创建和管理自定义模式的界面。* ## 自定义模式中包含什么? @@ -304,4 +304,4 @@ Kilo will generate the appropriate pattern with proper escaping for JSON configu ## Community Gallery -Ready to explore more? Check out the [Show and Tell](https://github.com/MatterAIOrg/AxonCode/discussions/categories/show-and-tell) to discover and share custom modes created by the community! +Ready to explore more? Check out the [Show and Tell](https://github.com/MatterAIOrg/Orbital-Extension/discussions/categories/show-and-tell) to discover and share custom modes created by the community! diff --git a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/experimental/experimental-features.md b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/experimental/experimental-features.md index b01d58125e..0ad06838a2 100644 --- a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/experimental/experimental-features.md +++ b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/experimental/experimental-features.md @@ -34,6 +34,6 @@ Axon Code 包含一些仍在开发中的实验性功能。这些功能可能不 ## 提供反馈 -如果你在使用实验性功能时遇到任何问题,或有改进建议,请在 [Axon Code Code GitHub Issues 页面](https://github.com/MatterAIOrg/AxonCode) 上报告。 +如果你在使用实验性功能时遇到任何问题,或有改进建议,请在 [Axon Code Code GitHub Issues 页面](https://github.com/MatterAIOrg/Orbital-Extension) 上报告。 你的反馈对我们非常宝贵,将帮助我们改进 Axon Code! diff --git a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/shell-integration.md b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/shell-integration.md index e44c07adaa..1e3e3186fa 100644 --- a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/shell-integration.md +++ b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/features/shell-integration.md @@ -409,7 +409,7 @@ functions fish_prompt | grep -i vsc 如果您已遵循上述步骤但仍遇到问题,请: -1. 查看 [Axon Code GitHub Issues](https://github.com/MatterAIOrg/AxonCode/issues) 页面,看是否有人报告了类似的问题。 +1. 查看 [Axon Code GitHub Issues](https://github.com/MatterAIOrg/Orbital-Extension/issues) 页面,看是否有人报告了类似的问题。 2. 如果没有,请创建一个新 issue,并提供有关您的操作系统、VSCode/Cursor 版本以及您已尝试过的步骤的详细信息。 如需更多帮助,请加入我们的 [Discord](https://discord.gg/fJU5DvanU3)。如需其他帮助,请加入我们的 [Discord](https://discord.gg/fJU5DvanU3)。 diff --git a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installing.md b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installing.md index e34bb35f8d..34f77cdf0d 100644 --- a/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installing.md +++ b/apps/kilocode-docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/getting-started/installing.md @@ -73,8 +73,8 @@ Kilo Code是一款VS Code扩展,可将AI编程助手直接集成到编辑器 1. **下载VSIX文件:** - - 在[Axon Code GitHub Releases页面](https://github.com/MatterAIOrg/AxonCode/releases)查找正式版本 - - 从[最新版本](https://github.com/MatterAIOrg/AxonCode/releases/latest)下载`.vsix`文件 + - 在[Axon Code GitHub Releases页面](https://github.com/MatterAIOrg/Orbital-Extension/releases)查找正式版本 + - 从[最新版本](https://github.com/MatterAIOrg/Orbital-Extension/releases/latest)下载`.vsix`文件 2. **在VS Code中安装:** - 打开VS Code @@ -106,5 +106,5 @@ Kilo Code是一款VS Code扩展,可将AI编程助手直接集成到编辑器 若遇到其他问题: - 加入[Discord社区](https://discord.gg/fJU5DvanU3)获取实时支持 -- 在[GitHub](https://github.com/MatterAIOrg/AxonCode/issues)提交问题报告 +- 在[GitHub](https://github.com/MatterAIOrg/Orbital-Extension/issues)提交问题报告 - 访问[Reddit社区](https://www.reddit.com/r/matter_ai) diff --git a/apps/kilocode-docs/i18n/zh-CN/docusaurus-theme-classic/footer.json b/apps/kilocode-docs/i18n/zh-CN/docusaurus-theme-classic/footer.json index 286d6c3309..38c523d5f7 100644 --- a/apps/kilocode-docs/i18n/zh-CN/docusaurus-theme-classic/footer.json +++ b/apps/kilocode-docs/i18n/zh-CN/docusaurus-theme-classic/footer.json @@ -29,11 +29,11 @@ }, "link.item.label.Issues": { "message": "问题与反馈", - "description": "The label of footer link with label=Issues linking to https://github.com/MatterAIOrg/AxonCode/issues" + "description": "The label of footer link with label=Issues linking to https://github.com/MatterAIOrg/Orbital-Extension/issues" }, "link.item.label.Feature Requests": { "message": "功能建议", - "description": "The label of footer link with label=Feature Requests linking to https://github.com/MatterAIOrg/AxonCode/discussions/categories/ideas" + "description": "The label of footer link with label=Feature Requests linking to https://github.com/MatterAIOrg/Orbital-Extension/discussions/categories/ideas" }, "link.item.label.VS Code Marketplace": { "message": "VS Code 扩展市场", @@ -57,6 +57,6 @@ }, "link.item.label.Extension Privacy Policy": { "message": "扩展隐私政策", - "description": "The label of footer link with label=Extension Privacy Policy linking to https://github.com/MatterAIOrg/AxonCode/blob/main/PRIVACY.md" + "description": "The label of footer link with label=Extension Privacy Policy linking to https://github.com/MatterAIOrg/Orbital-Extension/blob/main/PRIVACY.md" } } diff --git a/apps/kilocode-docs/src/constants.ts b/apps/kilocode-docs/src/constants.ts index bc8c567d61..519faa3516 100644 --- a/apps/kilocode-docs/src/constants.ts +++ b/apps/kilocode-docs/src/constants.ts @@ -14,7 +14,7 @@ export const TWITTER_URL = "https://x.com/kilocode" export const YOUTUBE_URL = "https://www.youtube.com/@Kilo-Code" // GitHub links -export const GITHUB_MAIN_REPO_URL = "https://github.com/MatterAIOrg/AxonCode" +export const GITHUB_MAIN_REPO_URL = "https://github.com/MatterAIOrg/Orbital-Extension" export const GITHUB_ISSUES_MAIN_URL = `${GITHUB_MAIN_REPO_URL}/issues` export const GITHUB_FEATURES_URL = `${GITHUB_MAIN_REPO_URL}/discussions/categories/ideas` diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index 6f5a33a6cb..552f24d209 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -4,25 +4,25 @@ ### Patch Changes -- [#3355](https://github.com/MatterAIOrg/AxonCode/pull/3355) [`e366e4c`](https://github.com/MatterAIOrg/AxonCode/commit/e366e4ce61deb98c587dbc9ef4527b9c04bc2e32) Thanks [@iscekic](https://github.com/iscekic)! - add parallel mode support +- [#3355](https://github.com/MatterAIOrg/Orbital-Extension/pull/3355) [`e366e4c`](https://github.com/MatterAIOrg/Orbital-Extension/commit/e366e4ce61deb98c587dbc9ef4527b9c04bc2e32) Thanks [@iscekic](https://github.com/iscekic)! - add parallel mode support ## 0.0.14 ### Patch Changes -- [#3371](https://github.com/MatterAIOrg/AxonCode/pull/3371) [`e0e01b2`](https://github.com/MatterAIOrg/AxonCode/commit/e0e01b2ea03e84ee7447b546231ebed530d5aac8) Thanks [@RSO](https://github.com/RSO)! - Add a --json flag to render a stream of JSON objects while in --auto mode +- [#3371](https://github.com/MatterAIOrg/Orbital-Extension/pull/3371) [`e0e01b2`](https://github.com/MatterAIOrg/Orbital-Extension/commit/e0e01b2ea03e84ee7447b546231ebed530d5aac8) Thanks [@RSO](https://github.com/RSO)! - Add a --json flag to render a stream of JSON objects while in --auto mode ## 0.0.13 ### Patch Changes -- [#3369](https://github.com/MatterAIOrg/AxonCode/pull/3369) [`e41556e`](https://github.com/MatterAIOrg/AxonCode/commit/e41556e81a190cafa123e84bd804f7fbede36419) Thanks [@RSO](https://github.com/RSO)! - Add support for showing Axon Code notifications +- [#3369](https://github.com/MatterAIOrg/Orbital-Extension/pull/3369) [`e41556e`](https://github.com/MatterAIOrg/Orbital-Extension/commit/e41556e81a190cafa123e84bd804f7fbede36419) Thanks [@RSO](https://github.com/RSO)! - Add support for showing Axon Code notifications ## 0.0.12 ### Patch Changes -- [#3352](https://github.com/MatterAIOrg/AxonCode/pull/3352) [`c89bd23`](https://github.com/MatterAIOrg/AxonCode/commit/c89bd23be4196e95f6577c37b149690832d0be97) Thanks [@Sureshkumars](https://github.com/Sureshkumars)! - MCP operations were being auto-rejected in CI mode (autonomous mode) even when `autoApproval.mcp.enabled: true`, breaking GitHub Actions workflows and other autonomous operations that rely on MCP servers. +- [#3352](https://github.com/MatterAIOrg/Orbital-Extension/pull/3352) [`c89bd23`](https://github.com/MatterAIOrg/Orbital-Extension/commit/c89bd23be4196e95f6577c37b149690832d0be97) Thanks [@Sureshkumars](https://github.com/Sureshkumars)! - MCP operations were being auto-rejected in CI mode (autonomous mode) even when `autoApproval.mcp.enabled: true`, breaking GitHub Actions workflows and other autonomous operations that rely on MCP servers. **Root Cause:** The extension sends MCP requests with the ask type set to the operation name (e.g., `"use_mcp_server"`, `"access_mcp_resource"`), but the approval decision logic only handled these as tool names within the `"tool"` ask type. This caused MCP requests to fall through to the default case and get auto-rejected. @@ -93,72 +93,72 @@ ### Patch Changes -- [#3278](https://github.com/MatterAIOrg/AxonCode/pull/3278) [`cba3d00`](https://github.com/MatterAIOrg/AxonCode/commit/cba3d005766c88200a2d170770dcaeaef172dfbd) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Improved stability of the approval menu, preventing it from showing when you don't expect it +- [#3278](https://github.com/MatterAIOrg/Orbital-Extension/pull/3278) [`cba3d00`](https://github.com/MatterAIOrg/Orbital-Extension/commit/cba3d005766c88200a2d170770dcaeaef172dfbd) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Improved stability of the approval menu, preventing it from showing when you don't expect it ## 0.0.10 ### Patch Changes -- [#3260](https://github.com/MatterAIOrg/AxonCode/pull/3260) [`0f71526`](https://github.com/MatterAIOrg/AxonCode/commit/0f715267745a0458caa396736551b4b3bb374259) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Improved stability of the approval menu, preventing it from showing when you don't expect it +- [#3260](https://github.com/MatterAIOrg/Orbital-Extension/pull/3260) [`0f71526`](https://github.com/MatterAIOrg/Orbital-Extension/commit/0f715267745a0458caa396736551b4b3bb374259) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Improved stability of the approval menu, preventing it from showing when you don't expect it -- [#3262](https://github.com/MatterAIOrg/AxonCode/pull/3262) [`e6b62d4`](https://github.com/MatterAIOrg/AxonCode/commit/e6b62d45597aba9f08015fac9ced1c34ae779998) Thanks [@catrielmuller](https://github.com/catrielmuller)! - 'Added /clear command' +- [#3262](https://github.com/MatterAIOrg/Orbital-Extension/pull/3262) [`e6b62d4`](https://github.com/MatterAIOrg/Orbital-Extension/commit/e6b62d45597aba9f08015fac9ced1c34ae779998) Thanks [@catrielmuller](https://github.com/catrielmuller)! - 'Added /clear command' ## 0.0.9 ### Patch Changes -- [#3255](https://github.com/MatterAIOrg/AxonCode/pull/3255) [`55430b7`](https://github.com/MatterAIOrg/AxonCode/commit/55430b7965ae2aef12517375a0e0c0e7d8f2367c) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Fix suggestion selection with arrow keys +- [#3255](https://github.com/MatterAIOrg/Orbital-Extension/pull/3255) [`55430b7`](https://github.com/MatterAIOrg/Orbital-Extension/commit/55430b7965ae2aef12517375a0e0c0e7d8f2367c) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Fix suggestion selection with arrow keys -- [#3253](https://github.com/MatterAIOrg/AxonCode/pull/3253) [`db9cb43`](https://github.com/MatterAIOrg/AxonCode/commit/db9cb4355ae0e4559e99066c78315ee3635a3543) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Terminal resize support +- [#3253](https://github.com/MatterAIOrg/Orbital-Extension/pull/3253) [`db9cb43`](https://github.com/MatterAIOrg/Orbital-Extension/commit/db9cb4355ae0e4559e99066c78315ee3635a3543) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Terminal resize support ## 0.0.8 ### Patch Changes -- [#3201](https://github.com/MatterAIOrg/AxonCode/pull/3201) [`c44f948`](https://github.com/MatterAIOrg/AxonCode/commit/c44f9482fd024f38b7216a7f74b20a96445461a7) Thanks [@RSO](https://github.com/RSO)! - Added an onboarding wizard that helps you get set up in the CLI. +- [#3201](https://github.com/MatterAIOrg/Orbital-Extension/pull/3201) [`c44f948`](https://github.com/MatterAIOrg/Orbital-Extension/commit/c44f9482fd024f38b7216a7f74b20a96445461a7) Thanks [@RSO](https://github.com/RSO)! - Added an onboarding wizard that helps you get set up in the CLI. -- [#3208](https://github.com/MatterAIOrg/AxonCode/pull/3208) [`cdc007c`](https://github.com/MatterAIOrg/AxonCode/commit/cdc007c1150d5210cc0b9c8e5c2b4c57efadfd44) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Allow auto-approval of commands straight from the approval menu +- [#3208](https://github.com/MatterAIOrg/Orbital-Extension/pull/3208) [`cdc007c`](https://github.com/MatterAIOrg/Orbital-Extension/commit/cdc007c1150d5210cc0b9c8e5c2b4c57efadfd44) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Allow auto-approval of commands straight from the approval menu -- [#3202](https://github.com/MatterAIOrg/AxonCode/pull/3202) [`6ab57f4`](https://github.com/MatterAIOrg/AxonCode/commit/6ab57f441847e07dd6868a87913a41e0cb137fa8) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Added prompt history. Use your up/down keys to navigate through previous prompts! +- [#3202](https://github.com/MatterAIOrg/Orbital-Extension/pull/3202) [`6ab57f4`](https://github.com/MatterAIOrg/Orbital-Extension/commit/6ab57f441847e07dd6868a87913a41e0cb137fa8) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Added prompt history. Use your up/down keys to navigate through previous prompts! ## 0.0.7 ### Patch Changes -- [#3176](https://github.com/MatterAIOrg/AxonCode/pull/3176) [`4bcc1ee`](https://github.com/MatterAIOrg/AxonCode/commit/4bcc1ee557ae4b4244365a72679ec1f13332e856) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Support Axon Code for Teams +- [#3176](https://github.com/MatterAIOrg/Orbital-Extension/pull/3176) [`4bcc1ee`](https://github.com/MatterAIOrg/Orbital-Extension/commit/4bcc1ee557ae4b4244365a72679ec1f13332e856) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Support Axon Code for Teams -- [#3168](https://github.com/MatterAIOrg/AxonCode/pull/3168) [`476d835`](https://github.com/MatterAIOrg/AxonCode/commit/476d835b7ab9fee35e2832fe329b2256b36b78c7) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Fix compatibility with extension v4.107.0 +- [#3168](https://github.com/MatterAIOrg/Orbital-Extension/pull/3168) [`476d835`](https://github.com/MatterAIOrg/Orbital-Extension/commit/476d835b7ab9fee35e2832fe329b2256b36b78c7) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Fix compatibility with extension v4.107.0 -- [#3161](https://github.com/MatterAIOrg/AxonCode/pull/3161) [`712b104`](https://github.com/MatterAIOrg/AxonCode/commit/712b104acb323da51ac271b7eb95741b3cfa6d9d) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Improved install speed and fixed the outdated dependencies +- [#3161](https://github.com/MatterAIOrg/Orbital-Extension/pull/3161) [`712b104`](https://github.com/MatterAIOrg/Orbital-Extension/commit/712b104acb323da51ac271b7eb95741b3cfa6d9d) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Improved install speed and fixed the outdated dependencies ## 0.0.6 ### Patch Changes -- [#3128](https://github.com/MatterAIOrg/AxonCode/pull/3128) [`04a8de4`](https://github.com/MatterAIOrg/AxonCode/commit/04a8de4367cdac6401001a906b01755373be5a80) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Support all providers that are supported by the VS Code extension +- [#3128](https://github.com/MatterAIOrg/Orbital-Extension/pull/3128) [`04a8de4`](https://github.com/MatterAIOrg/Orbital-Extension/commit/04a8de4367cdac6401001a906b01755373be5a80) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Support all providers that are supported by the VS Code extension ## 0.0.5 ### Patch Changes -- [#3094](https://github.com/MatterAIOrg/AxonCode/pull/3094) [`b55f3a8`](https://github.com/MatterAIOrg/AxonCode/commit/b55f3a8784df8efc1ff5f06d53a7c5998b4794ea) Thanks [@RSO](https://github.com/RSO)! - Rename -ci flag to -a (longform --auto) +- [#3094](https://github.com/MatterAIOrg/Orbital-Extension/pull/3094) [`b55f3a8`](https://github.com/MatterAIOrg/Orbital-Extension/commit/b55f3a8784df8efc1ff5f06d53a7c5998b4794ea) Thanks [@RSO](https://github.com/RSO)! - Rename -ci flag to -a (longform --auto) -- [#3080](https://github.com/MatterAIOrg/AxonCode/pull/3080) [`021c91c`](https://github.com/MatterAIOrg/AxonCode/commit/021c91c98ac8959f1de0f651d9bfd0e0ab885b17) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Added support for multi-line prompts +- [#3080](https://github.com/MatterAIOrg/Orbital-Extension/pull/3080) [`021c91c`](https://github.com/MatterAIOrg/Orbital-Extension/commit/021c91c98ac8959f1de0f651d9bfd0e0ab885b17) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Added support for multi-line prompts -- [#3109](https://github.com/MatterAIOrg/AxonCode/pull/3109) [`2ed8e2e`](https://github.com/MatterAIOrg/AxonCode/commit/2ed8e2ec655efd22a081fe299b02d05e95227637) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Update notification message at startup +- [#3109](https://github.com/MatterAIOrg/Orbital-Extension/pull/3109) [`2ed8e2e`](https://github.com/MatterAIOrg/Orbital-Extension/commit/2ed8e2ec655efd22a081fe299b02d05e95227637) Thanks [@catrielmuller](https://github.com/catrielmuller)! - Update notification message at startup ## 0.0.4 ### Patch Changes -- [#3066](https://github.com/MatterAIOrg/AxonCode/pull/3066) [`263741a`](https://github.com/MatterAIOrg/AxonCode/commit/263741a88054cf57591e5e240dfcafc8bb5c97ee) Thanks [@RSO](https://github.com/RSO)! - Made Logo responsive so that it better fits smaller screens +- [#3066](https://github.com/MatterAIOrg/Orbital-Extension/pull/3066) [`263741a`](https://github.com/MatterAIOrg/Orbital-Extension/commit/263741a88054cf57591e5e240dfcafc8bb5c97ee) Thanks [@RSO](https://github.com/RSO)! - Made Logo responsive so that it better fits smaller screens ## 0.0.3 ### Patch Changes -- [#3051](https://github.com/MatterAIOrg/AxonCode/pull/3051) [`c46bcff`](https://github.com/MatterAIOrg/AxonCode/commit/c46bcffc3e02b114042c96929c151206f26b412c) Thanks [@catrielmuller](https://github.com/catrielmuller)! - CLI - Fix deprecated dependencies +- [#3051](https://github.com/MatterAIOrg/Orbital-Extension/pull/3051) [`c46bcff`](https://github.com/MatterAIOrg/Orbital-Extension/commit/c46bcffc3e02b114042c96929c151206f26b412c) Thanks [@catrielmuller](https://github.com/catrielmuller)! - CLI - Fix deprecated dependencies -- [#3047](https://github.com/MatterAIOrg/AxonCode/pull/3047) [`b82b576`](https://github.com/MatterAIOrg/AxonCode/commit/b82b5765cb2a8334b06d98df992bb6763ef1d786) Thanks [@RSO](https://github.com/RSO)! - Initial pre-release of the CLI. +- [#3047](https://github.com/MatterAIOrg/Orbital-Extension/pull/3047) [`b82b576`](https://github.com/MatterAIOrg/Orbital-Extension/commit/b82b5765cb2a8334b06d98df992bb6763ef1d786) Thanks [@RSO](https://github.com/RSO)! - Initial pre-release of the CLI. -- [#3049](https://github.com/MatterAIOrg/AxonCode/pull/3049) [`88954dc`](https://github.com/MatterAIOrg/AxonCode/commit/88954dc4cca1b59aa7dc145eb86861960e3a20e1) Thanks [@RSO](https://github.com/RSO)! - Fixed the --version flag +- [#3049](https://github.com/MatterAIOrg/Orbital-Extension/pull/3049) [`88954dc`](https://github.com/MatterAIOrg/Orbital-Extension/commit/88954dc4cca1b59aa7dc145eb86861960e3a20e1) Thanks [@RSO](https://github.com/RSO)! - Fixed the --version flag diff --git a/cli/Dockerfile b/cli/Dockerfile index c2b0f32fe1..7c68c7f6c9 100644 --- a/cli/Dockerfile +++ b/cli/Dockerfile @@ -15,7 +15,7 @@ LABEL org.opencontainers.image.description="Docker image for Axon Code CLI with LABEL org.opencontainers.image.vendor="Orbital" LABEL org.opencontainers.image.url="https://matterai.so/docs/cli" LABEL org.opencontainers.image.documentation="https://matterai.so/docs/cli" -LABEL org.opencontainers.image.source="https://github.com/MatterAIOrg/AxonCode" +LABEL org.opencontainers.image.source="https://github.com/MatterAIOrg/Orbital-Extension" LABEL org.opencontainers.image.licenses="Apache-2.0" # Install system dependencies and clean up in one layer diff --git a/cli/docs/PROVIDER_CONFIGURATION.md b/cli/docs/PROVIDER_CONFIGURATION.md index 5cefe9d121..a4079ea428 100644 --- a/cli/docs/PROVIDER_CONFIGURATION.md +++ b/cli/docs/PROVIDER_CONFIGURATION.md @@ -1331,6 +1331,6 @@ Fake AI provider for testing and development. For issues or questions about provider configuration: -- Open an issue on [GitHub](https://github.com/MatterAIOrg/AxonCode) +- Open an issue on [GitHub](https://github.com/MatterAIOrg/Orbital-Extension) - Join our [Discord community](https://discord.gg/kilocode) - Check the [FAQ](https://docs.kilocode.com/faq) diff --git a/cli/package.dist.json b/cli/package.dist.json index b981bea0e6..b15b454c11 100644 --- a/cli/package.dist.json +++ b/cli/package.dist.json @@ -132,11 +132,11 @@ }, "homepage": "https://matterai.so/cli", "bugs": { - "url": "https://github.com/MatterAIOrg/AxonCode/issues" + "url": "https://github.com/MatterAIOrg/Orbital-Extension/issues" }, "repository": { "type": "git", - "url": "git+https://github.com/MatterAIOrg/AxonCode.git", + "url": "git+https://github.com/MatterAIOrg/Orbital-Extension.git", "directory": "cli" }, "license": "Apache-2.0", diff --git a/src/api/providers/__tests__/openrouter.spec.ts b/src/api/providers/__tests__/openrouter.spec.ts index ebc8606144..28f90c3df3 100644 --- a/src/api/providers/__tests__/openrouter.spec.ts +++ b/src/api/providers/__tests__/openrouter.spec.ts @@ -187,6 +187,38 @@ describe("OpenRouterHandler", () => { ) }) + it("yields reasoning chunks from reasoning_content deltas", async () => { + const handler = new OpenRouterHandler(mockOptions) + + const mockStream = { + async *[Symbol.asyncIterator]() { + yield { + id: "test-id", + choices: [{ delta: { reasoning_content: "Working through the answer." } }], + } + yield { + id: "test-id", + choices: [{ delta: { content: "Final answer" } }], + } + }, + } + + const mockCreate = vitest.fn().mockResolvedValue(mockStream) + ;(OpenAI as any).prototype.chat = { + completions: { create: mockCreate }, + } as any + + const chunks = [] + for await (const chunk of handler.createMessage("test system prompt", [])) { + chunks.push(chunk) + } + + expect(chunks).toEqual([ + { type: "reasoning", text: "Working through the answer." }, + { type: "text", text: "Final answer" }, + ]) + }) + it("supports the middle-out transform", async () => { const handler = new OpenRouterHandler({ ...mockOptions, diff --git a/src/api/providers/kilocode-openrouter.ts b/src/api/providers/kilocode-openrouter.ts index d9bd6004ae..368dff5fbf 100644 --- a/src/api/providers/kilocode-openrouter.ts +++ b/src/api/providers/kilocode-openrouter.ts @@ -75,7 +75,7 @@ export class KilocodeOpenrouterHandler extends OpenRouterHandler { if (!model.inputPrice && !model.outputPrice) { return 0 } - // https://github.com/MatterAIOrg/AxonCode-backend/blob/eb3d382df1e933a089eea95b9c4387db0c676e35/src/lib/processUsage.ts#L281 + // https://github.com/MatterAIOrg/Orbital-Extension-backend/blob/eb3d382df1e933a089eea95b9c4387db0c676e35/src/lib/processUsage.ts#L281 if (lastUsage.is_byok) { return lastUsage.cost_details?.upstream_inference_cost || 0 } diff --git a/src/api/providers/openrouter.ts b/src/api/providers/openrouter.ts index c9b4cf080a..9970a660b3 100644 --- a/src/api/providers/openrouter.ts +++ b/src/api/providers/openrouter.ts @@ -297,9 +297,6 @@ export class OpenRouterHandler extends BaseProvider implements SingleCompletionH isThinking = false } - // newText = newText.replace(/<\/?think>/g, "") - // newText = newText.replace(//g, "") - yield { type: "reasoning", text: newText, diff --git a/src/core/prompts/commands.ts b/src/core/prompts/commands.ts index b3f3213510..145f1208dc 100644 --- a/src/core/prompts/commands.ts +++ b/src/core/prompts/commands.ts @@ -122,7 +122,7 @@ Usage: Title of the issue Detailed description of the issue, including steps to reproduce if relevant. -When you call the report_bug tool, the issue will be created at @https://github.com/MatterAIOrg/AxonCode/issues +When you call the report_bug tool, the issue will be created at @https://github.com/MatterAIOrg/Orbital-Extension/issues The user provided the following input when they indicated that they wanted to submit a bug report. ${userInput} diff --git a/src/core/task/Task.ts b/src/core/task/Task.ts index 83c95d1b31..ac689c5695 100644 --- a/src/core/task/Task.ts +++ b/src/core/task/Task.ts @@ -2289,9 +2289,8 @@ export class Task extends EventEmitter implements TaskLike { "$1\n\n**$2**", ) } - if (formattedReasoning.includes("")) { - formattedReasoning = formattedReasoning.replace(/<\/?think>/g, "") - formattedReasoning = formattedReasoning.replace(//g, "") + formattedReasoning = formattedReasoning.replace(/<\/?think>/g, "") + if (formattedReasoning.trim()) { await this.say("reasoning", formattedReasoning, undefined, true) } break diff --git a/src/core/task/__tests__/Task.spec.ts b/src/core/task/__tests__/Task.spec.ts index 2544a9ce58..5bf311c2d4 100644 --- a/src/core/task/__tests__/Task.spec.ts +++ b/src/core/task/__tests__/Task.spec.ts @@ -82,6 +82,7 @@ vi.mock("vscode", () => { return { TabInputTextDiff: vi.fn(), + ThemeColor: vi.fn((id: string) => ({ id })), CodeActionKind: { QuickFix: { value: "quickfix" }, RefactorRewrite: { value: "refactor.rewrite" }, @@ -95,6 +96,7 @@ vi.mock("vscode", () => { dispose: vi.fn(), }), visibleTextEditors: [mockTextEditor], + onDidChangeWindowState: vi.fn(() => mockDisposable), tabGroups: { all: [mockTabGroup], close: vi.fn(), @@ -1722,6 +1724,46 @@ describe("Cline", () => { // The skip flag should be reset after the call expect((task as any).skipPrevResponseIdOnce).toBe(false) }) + + it("should render plain reasoning chunks without think tags", async () => { + const task = new Task({ + provider: mockProvider, + apiConfiguration: mockApiConfig, + task: "test task", + startTask: false, + context: mockExtensionContext, + }) + + mockProvider.getState = vi.fn().mockResolvedValue({ + apiConfiguration: mockApiConfig, + }) + + const saySpy = vi.spyOn(task, "say") + + const mockStream = { + async *[Symbol.asyncIterator]() { + yield { type: "reasoning", text: "Working through the answer." } + yield { type: "text", text: "Done." } + }, + async next() { + return { done: true, value: undefined } + }, + async return() { + return { done: true, value: undefined } + }, + async throw(e: any) { + throw e + }, + [Symbol.asyncDispose]: async () => {}, + } as AsyncGenerator + + vi.spyOn(task.api, "createMessage").mockReturnValue(mockStream) + + const iterator = task.attemptApiRequest(0) + await iterator.next() + + expect(saySpy).toHaveBeenCalledWith("reasoning", "Working through the answer.", undefined, true) + }) }) describe("abortTask", () => { it("should set abort flag and emit TaskAborted event", async () => { diff --git a/src/core/webview/ClineProvider.ts b/src/core/webview/ClineProvider.ts index 5bdc7c18b4..c4ea8b8289 100644 --- a/src/core/webview/ClineProvider.ts +++ b/src/core/webview/ClineProvider.ts @@ -561,6 +561,33 @@ export class ClineProvider await this.postStateToWebview() } + + public async dismissBackgroundTask(taskId: string) { + const bgStack = this.backgroundTasks.get(taskId) + if (!bgStack || bgStack.length === 0) { + this.log(`[dismissBackgroundTask] Task ${taskId} not found in background map`) + return + } + + for (const task of [...bgStack].reverse()) { + try { + await task.abortTask(true) + } catch (e) { + this.log( + `[dismissBackgroundTask] background task abort failed: ${e instanceof Error ? e.message : String(e)}`, + ) + } + + const cleanupFunctions = this.taskEventListeners.get(task) + if (cleanupFunctions) { + cleanupFunctions.forEach((cleanup) => cleanup()) + } + this.taskEventListeners.delete(task) + } + + this.backgroundTasks.delete(taskId) + await this.postStateToWebview() + } // kilocode_change: multi-chat support end getTaskStackSize(): number { @@ -1995,6 +2022,45 @@ ${prompt} return this.mergeCommandLists("deniedCommands", "denied", globalStateCommands) } + private getBackgroundTaskStatus(task: Task): "running" | "completed" | "waiting_approval" | "waiting_input" { + const askType = task.taskAsk?.ask + + if (task.abort || task.abandoned) { + return "completed" + } + + if ( + askType === "tool" || + askType === "command" || + askType === "browser_action_launch" || + askType === "use_mcp_server" || + askType === "auto_approval_max_req_reached" + ) { + return "waiting_approval" + } + + if (askType === "completion_result" || askType === "resume_completed_task") { + return "completed" + } + + if (askType) { + return "waiting_input" + } + + const hasPendingAssistantWork = + task.isStreaming || + task.isWaitingForAskResponse || + task.presentAssistantMessageLocked || + task.currentStreamingContentIndex < task.assistantMessageContent.length || + !task.didCompleteReadingStream + + if (hasPendingAssistantWork) { + return "running" + } + + return "completed" + } + /** * Common utility for merging command lists from global state and workspace configuration. * Implements the Command Denylist feature's merging strategy with proper validation. @@ -2201,10 +2267,7 @@ ${prompt} : "Image Task" : "New Task") - const isCompleted = - rootTask.abandoned || - rootTask.abort || - rootTask.clineMessages.some((msg) => msg.type === "say" && msg.say === "completion_result") + const status = this.getBackgroundTaskStatus(rootTask) // Get model information from task's API configuration const apiProvider = rootTask.apiConfiguration?.apiProvider @@ -2256,13 +2319,13 @@ ${prompt} } } - return { taskId, taskLabel, isCompleted, apiProvider, apiModelId, ts: historyItem?.ts || 0 } + return { taskId, taskLabel, status, apiProvider, apiModelId, ts: historyItem?.ts || 0 } }) .sort((a, b) => (b.ts as number) - (a.ts as number)) - .map(({ taskId, taskLabel, isCompleted, apiProvider, apiModelId }) => ({ + .map(({ taskId, taskLabel, status, apiProvider, apiModelId }) => ({ taskId, taskLabel, - isCompleted, + status, apiProvider, apiModelId, })) diff --git a/src/core/webview/__tests__/ClineProvider.spec.ts b/src/core/webview/__tests__/ClineProvider.spec.ts index 770b4a1099..656f0b5345 100644 --- a/src/core/webview/__tests__/ClineProvider.spec.ts +++ b/src/core/webview/__tests__/ClineProvider.spec.ts @@ -156,6 +156,7 @@ vi.mock("vscode", () => ({ showInformationMessage: vi.fn(), showWarningMessage: vi.fn(), showErrorMessage: vi.fn(), + onDidChangeWindowState: vi.fn(() => ({ dispose: vi.fn() })), onDidChangeActiveTextEditor: vi.fn(() => ({ dispose: vi.fn() })), createTextEditorDecorationType: vi.fn(() => ({ dispose: vi.fn() })), // kilocode_change }, @@ -744,6 +745,56 @@ describe("ClineProvider", () => { }) }) + describe("background task status", () => { + test("marks approval asks as waiting on approval", () => { + const status = (provider as any).getBackgroundTaskStatus({ + abort: false, + abandoned: false, + taskAsk: { ask: "tool" }, + isStreaming: false, + isWaitingForAskResponse: true, + presentAssistantMessageLocked: false, + currentStreamingContentIndex: 0, + assistantMessageContent: [], + didCompleteReadingStream: true, + }) + + expect(status).toBe("waiting_approval") + }) + + test("marks quiescent tasks as completed", () => { + const status = (provider as any).getBackgroundTaskStatus({ + abort: false, + abandoned: false, + taskAsk: undefined, + isStreaming: false, + isWaitingForAskResponse: false, + presentAssistantMessageLocked: false, + currentStreamingContentIndex: 0, + assistantMessageContent: [], + didCompleteReadingStream: true, + }) + + expect(status).toBe("completed") + }) + + test("marks active background work as running", () => { + const status = (provider as any).getBackgroundTaskStatus({ + abort: false, + abandoned: false, + taskAsk: undefined, + isStreaming: true, + isWaitingForAskResponse: false, + presentAssistantMessageLocked: false, + currentStreamingContentIndex: 0, + assistantMessageContent: [], + didCompleteReadingStream: false, + }) + + expect(status).toBe("running") + }) + }) + test("addClineToStack adds multiple Cline instances to the stack", async () => { // Setup Cline instance with auto-mock from the top of the file const mockCline1 = new Task(defaultTaskOptions) // Create a new mocked instance diff --git a/src/core/webview/webviewMessageHandler.ts b/src/core/webview/webviewMessageHandler.ts index 20887bf19d..e3e59d7db4 100644 --- a/src/core/webview/webviewMessageHandler.ts +++ b/src/core/webview/webviewMessageHandler.ts @@ -1041,6 +1041,11 @@ export const webviewMessageHandler = async ( await provider.bringTaskToForeground(message.taskId) } break + case "dismissBackgroundTask": + if (message.taskId) { + await provider.dismissBackgroundTask(message.taskId) + } + break case "webviewDidLaunch": // Load custom modes first const customModes = await provider.customModesManager.getCustomModes() @@ -2878,7 +2883,9 @@ ${comment.suggestion} ) if (answer === githubIssuesText) { - await vscode.env.openExternal(vscode.Uri.parse("https://github.com/MatterAIOrg/AxonCode/issues")) + await vscode.env.openExternal( + vscode.Uri.parse("https://github.com/MatterAIOrg/Orbital-Extension/issues"), + ) } else if (answer === discordText) { await vscode.env.openExternal(vscode.Uri.parse("https://discord.gg/fxrhCFGhkP")) } else if (answer === customerSupport) { diff --git a/src/extension.ts b/src/extension.ts index 8ea100d663..baf6d9d27b 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -63,6 +63,40 @@ let authStateChangedHandler: ((data: { state: AuthState; previousState: AuthStat let settingsUpdatedHandler: (() => void) | undefined let userInfoHandler: ((data: { userInfo: CloudUserInfo }) => Promise) | undefined +const CODE_INDEX_STARTUP_DELAY_MS = 10_000 + +function scheduleCodeIndexInitialization( + context: vscode.ExtensionContext, + contextProxy: ContextProxy, + outputChannel: vscode.OutputChannel, +) { + if (!vscode.workspace.workspaceFolders?.length) { + return + } + + const timeout = setTimeout(async () => { + for (const folder of vscode.workspace.workspaceFolders ?? []) { + const manager = CodeIndexManager.getInstance(context, folder.uri.fsPath) + + if (!manager) { + continue + } + + try { + await manager.initialize(contextProxy) + } catch (error) { + outputChannel.appendLine( + `[CodeIndexManager] Error during deferred initialization for ${folder.uri.fsPath}: ${error instanceof Error ? error.message : String(error)}`, + ) + } + } + }, CODE_INDEX_STARTUP_DELAY_MS) + + context.subscriptions.push({ + dispose: () => clearTimeout(timeout), + }) +} + // This method is called when your extension is activated. // Your extension is activated the very first time the command is executed. export async function activate(context: vscode.ExtensionContext) { @@ -131,24 +165,12 @@ export async function activate(context: vscode.ExtensionContext) { const contextProxy = await ContextProxy.getInstance(context) - // Initialize code index managers for all workspace folders. - const codeIndexManagers: CodeIndexManager[] = [] - + // Create code index managers now, but defer initialization until after startup settles. if (vscode.workspace.workspaceFolders) { for (const folder of vscode.workspace.workspaceFolders) { const manager = CodeIndexManager.getInstance(context, folder.uri.fsPath) if (manager) { - codeIndexManagers.push(manager) - - try { - await manager.initialize(contextProxy) - } catch (error) { - outputChannel.appendLine( - `[CodeIndexManager] Error during background CodeIndexManager configuration/indexing for ${folder.uri.fsPath}: ${error.message || error}`, - ) - } - context.subscriptions.push(manager) } } @@ -397,6 +419,8 @@ export async function activate(context: vscode.ExtensionContext) { }) } + scheduleCodeIndexInitialization(context, contextProxy, outputChannel) + await checkAndRunAutoLaunchingTask(context) // kilocode_change return new API(outputChannel, provider, socketPath, enableLogging) diff --git a/src/package.json b/src/package.json index 7f1de5d7ad..045a5c2741 100644 --- a/src/package.json +++ b/src/package.json @@ -3,7 +3,7 @@ "displayName": "%extension.displayName%", "description": "%extension.description%", "publisher": "matterai", - "version": "5.6.4", + "version": "5.6.5", "icon": "assets/icons/matterai-ic.png", "galleryBanner": { "color": "#FFFFFF", @@ -24,7 +24,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/MatterAIOrg/AxonCode" + "url": "https://github.com/MatterAIOrg/Orbital-Extension" }, "homepage": "https://matterai.so", "categories": [ diff --git a/src/shared/ExtensionMessage.ts b/src/shared/ExtensionMessage.ts index cb8ecddc58..3f60126b33 100644 --- a/src/shared/ExtensionMessage.ts +++ b/src/shared/ExtensionMessage.ts @@ -466,7 +466,7 @@ export type ExtensionState = Pick< backgroundRunningTasks?: Array<{ taskId: string taskLabel: string - isCompleted: boolean + status: "running" | "completed" | "waiting_approval" | "waiting_input" apiProvider?: string apiModelId?: string }> diff --git a/src/shared/WebviewMessage.ts b/src/shared/WebviewMessage.ts index d3d6d69537..e68fe7d895 100644 --- a/src/shared/WebviewMessage.ts +++ b/src/shared/WebviewMessage.ts @@ -80,6 +80,7 @@ export interface WebviewMessage { | "shareCurrentTask" | "showTaskWithId" | "deleteTaskWithId" + | "dismissBackgroundTask" | "exportTaskWithId" | "importSettings" | "toggleToolAutoApprove" @@ -193,6 +194,7 @@ export interface WebviewMessage { | "maxOpenTabsContext" | "maxWorkspaceFiles" | "switchToBackgroundTask" // multi-chat + | "dismissBackgroundTask" // multi-chat | "humanRelayResponse" | "updateTaskModel" // Task-local model update for isolation | "humanRelayCancel" @@ -388,7 +390,7 @@ export interface WebviewMessage { hasSystemPromptOverride?: boolean terminalOperation?: "continue" | "abort" messageTs?: number - taskId?: string // For switchToBackgroundTask + taskId?: string // For switchToBackgroundTask and dismissBackgroundTask restoreCheckpoint?: boolean historyPreviewCollapsed?: boolean filters?: { type?: string; search?: string; tags?: string[] } diff --git a/src/shared/kilocode/errorUtils.ts b/src/shared/kilocode/errorUtils.ts index efbad5eb63..1f3bac9e87 100644 --- a/src/shared/kilocode/errorUtils.ts +++ b/src/shared/kilocode/errorUtils.ts @@ -49,7 +49,7 @@ function isOpenRouterInvalidModelError(error: any) { } export function isModelNotAllowedForTeamError(error: any) { - //https://github.com/MatterAIOrg/AxonCode-backend/blob/66489e1b0f6f996338acf8bcc1b3558252e20e9d/src/app/api/openrouter/%5B...path%5D/route.ts#L371 + //https://github.com/MatterAIOrg/Orbital-Extension-backend/blob/66489e1b0f6f996338acf8bcc1b3558252e20e9d/src/app/api/openrouter/%5B...path%5D/route.ts#L371 return !!(error && error.status === 404 && (error.message?.indexOf("not allowed for your team") ?? -1) >= 0) } diff --git a/webview-ui/src/__tests__/ErrorBoundary.spec.tsx b/webview-ui/src/__tests__/ErrorBoundary.spec.tsx index 8c36ebae09..ea59834ea1 100644 --- a/webview-ui/src/__tests__/ErrorBoundary.spec.tsx +++ b/webview-ui/src/__tests__/ErrorBoundary.spec.tsx @@ -71,7 +71,7 @@ describe("ErrorBoundary", () => { // Check for the GitHub link const githubLink = screen.getByRole("link", { name: /errorBoundary.githubText/ }) expect(githubLink).toBeInTheDocument() - expect(githubLink).toHaveAttribute("href", "https://github.com/MatterAIOrg/AxonCode/issues") + expect(githubLink).toHaveAttribute("href", "https://github.com/MatterAIOrg/Orbital-Extension/issues") // Check for other error boundary elements expect(screen.getByText(/errorBoundary.copyInstructions/)).toBeInTheDocument() diff --git a/webview-ui/src/components/ErrorBoundary.tsx b/webview-ui/src/components/ErrorBoundary.tsx index b3402af0ce..926941206a 100644 --- a/webview-ui/src/components/ErrorBoundary.tsx +++ b/webview-ui/src/components/ErrorBoundary.tsx @@ -71,7 +71,7 @@ class ErrorBoundary extends Component {

{t("errorBoundary.reportText")}{" "} - + {t("errorBoundary.githubText")}

diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index b4f49b095d..e75d5bd18d 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -97,40 +97,82 @@ const headerStyle: React.CSSProperties = { } // Build a GitHub-style unified diff for fileEdit when backend doesn't supply one +const stripTruncationMarker = (value: string) => + value + .replace(/\n?\.\.\.\(truncated\)\s*$/g, "") + .replace(/\n?\.\.\. \(truncated\)\s*$/g, "") + .trimEnd() + const buildFileEditDiff = (tool: ClineSayTool): string | undefined => { const path = tool.path || "file" - const oldText = (tool.search ?? "").trimEnd() - const newText = (tool.replace ?? tool.content ?? "").trimEnd() + const oldText = stripTruncationMarker((tool.search ?? "").trimEnd()) + const newText = stripTruncationMarker((tool.replace ?? tool.content ?? "").trimEnd()) if (!oldText && !newText) return undefined const oldLines = oldText.split(/\r?\n/) const newLines = newText.split(/\r?\n/) + let leadingContext = 0 + + while ( + leadingContext < oldLines.length && + leadingContext < newLines.length && + oldLines[leadingContext] === newLines[leadingContext] + ) { + leadingContext += 1 + } + + let trailingContext = 0 + while ( + trailingContext < oldLines.length - leadingContext && + trailingContext < newLines.length - leadingContext && + oldLines[oldLines.length - 1 - trailingContext] === newLines[newLines.length - 1 - trailingContext] + ) { + trailingContext += 1 + } + + const contextBefore = leadingContext > 0 ? [oldLines[leadingContext - 1]] : [] + const contextAfter = trailingContext > 0 ? [oldLines[oldLines.length - trailingContext]] : [] + const changedOldLines = oldLines.slice(leadingContext, Math.max(leadingContext, oldLines.length - trailingContext)) + const changedNewLines = newLines.slice(leadingContext, Math.max(leadingContext, newLines.length - trailingContext)) + const visibleOldLines = [...contextBefore, ...changedOldLines, ...contextAfter] + const visibleNewLines = [...contextBefore, ...changedNewLines, ...contextAfter] const lines: string[] = [] lines.push(`--- a/${path}`) lines.push(`+++ b/${path}`) // Calculate hunk header with line numbers - const oldStart = 1 - const oldCount = oldLines.length - const newStart = 1 - const newCount = newLines.length + const contextOffset = contextBefore.length + const hunkStart = Math.max(1, (tool.startLine ?? 1) + leadingContext - contextOffset) + const oldStart = hunkStart + const oldCount = visibleOldLines.length + const newStart = hunkStart + const newCount = visibleNewLines.length lines.push(`@@ -${oldStart},${oldCount} +${newStart},${newCount} @@`) - // Add old lines with - prefix - for (const line of oldLines) { + for (const line of contextBefore) { + lines.push(` ${line}`) + } + + for (const line of changedOldLines) { lines.push(`-${line}`) } - // Add new lines with + prefix - for (const line of newLines) { + for (const line of changedNewLines) { lines.push(`+${line}`) } + for (const line of contextAfter) { + lines.push(` ${line}`) + } + return lines.join("\n") } +const hasTruncatedDiffContent = (diff?: string | null) => + Boolean(diff && (diff.includes("...(truncated)") || diff.includes("... (truncated)"))) + const computeDiffStats = (diff?: string | null) => { if (!diff) return null let added = 0 @@ -551,7 +593,9 @@ export const ChatRowContent = ({ ) case "fileEdit": { - const fileEditDiff = tool.diff ?? buildFileEditDiff(tool) + const fallbackFileEditDiff = buildFileEditDiff(tool) + const fileEditDiff = + tool.diff && !hasTruncatedDiffContent(tool.diff) ? tool.diff : (fallbackFileEditDiff ?? tool.diff) const diffStats = computeDiffStats(fileEditDiff) // Use startLine from tool if available, otherwise extract from diff const editLineNumber = tool.startLine ?? extractFirstLineNumberFromDiff(fileEditDiff) diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx index 4ba97fb191..61ba30460d 100644 --- a/webview-ui/src/components/chat/ChatView.tsx +++ b/webview-ui/src/components/chat/ChatView.tsx @@ -68,8 +68,9 @@ import StickyUserMessage from "../kilocode/StickyUserMessage" // kilocode_change import AutoApproveMenu from "./AutoApproveMenu" import SystemPromptWarning from "./SystemPromptWarning" // import ProfileViolationWarning from "./ProfileViolationWarning" kilocode_change: unused -import { LinkSquare01Icon, PlayCircleIcon } from "@/utils/customIcons" +import { ListVideoIcon } from "@/utils/customIcons" import { VSCodeButton } from "@vscode/webview-ui-toolkit/react" +import { X } from "lucide-react" import { KilocodeNotifications } from "../kilocode/KilocodeNotifications" // kilocode_change import { CheckpointWarning } from "./CheckpointWarning" import { QueuedMessages } from "./QueuedMessages" @@ -657,6 +658,28 @@ const ChatViewComponent: React.ForwardRefRenderFunction ({ + running: { + dotClassName: "bg-[var(--vscode-charts-blue)] animate-pulse", + label: "Running in background", + }, + completed: { + dotClassName: "bg-[var(--vscode-testing-iconPassed)]", + label: "Completed", + }, + waiting_approval: { + dotClassName: "bg-[var(--vscode-charts-yellow)]", + label: "Waiting on approval", + }, + waiting_input: { + dotClassName: "bg-[var(--vscode-charts-yellow)]", + label: "Waiting for input", + }, + }), + [], + ) + const markFollowUpAsAnswered = useCallback(() => { const lastFollowUpMessage = messagesRef.current.findLast((msg: ClineMessage) => msg.ask === "followup") if (lastFollowUpMessage) { @@ -2449,66 +2472,78 @@ const ChatViewComponent: React.ForwardRefRenderFunction